[2026-06-18 00:00:03] local.INFO: TCP Data received {"connection_id":105496,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6d755e8012d696780061bcd000008014f30..."} 
[2026-06-18 00:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6d755e8012d696780061bcd000008014f30..."} 
[2026-06-18 00:00:03] local.INFO: Processing buffer {"connection_id":105496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6d755e8012d696780061bcd000008014f30..."} 
[2026-06-18 00:00:03] local.INFO: Packet analysis {"connection_id":105496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6d7"} 
[2026-06-18 00:00:03] local.INFO: Extracted packet for processing {"connection_id":105496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6d7"} 
[2026-06-18 00:00:03] local.INFO: GPS Element Parsed {"raw_longitude":761882496,"raw_latitude":102485248,"longitude_deg":76.1882496,"latitude_deg":10.2485248,"altitude":8,"angle":335,"satellites":48,"speed":23,"hex_longitude":"2d696780","hex_latitude":"061bcd00","is_valid_coordinates":true} 
[2026-06-18 00:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120548608001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317445516793217024,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595672641516883968,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781720897000,"timestamp_ms":1781720897000,"timestamp_seconds":1781720897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6d755e8"} 
[2026-06-18 00:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120548608001,"66":27343,"55":206,"19":40704,"24":23,"16":317445516793217024,"45":7595672641516883968},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-06-18 00:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120548608001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:00:03] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-06-18 00:00:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317445516793217024,"km_value":317445516793217.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595672641516883968,"description":"Unknown IO ID 45"} 
[2026-06-18 00:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120548608001,"power":27343,"unknown_55":206,"unknown_19":40704,"ignition":23,"odometer":null,"unknown_45":7595672641516883968}} 
[2026-06-18 00:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":105496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:00:03] local.INFO: GPS data processed {"connection_id":105496,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:00:03] local.INFO: Acknowledgment sent {"connection_id":105496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:00:05] local.INFO: TCP Data received {"connection_id":106991,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:00:05] local.INFO: Processing buffer {"connection_id":106991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:00:05] local.INFO: IMEI packet received {"connection_id":106991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":106991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:00:31] local.INFO: TCP Data received {"connection_id":105263,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:31] local.INFO: Processing buffer {"connection_id":105263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:31] local.INFO: IMEI packet received {"connection_id":105263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":105263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:00:32] local.INFO: TCP Data received {"connection_id":105263,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:32] local.INFO: Processing buffer {"connection_id":105263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:32] local.INFO: IMEI packet received {"connection_id":105263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":105263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:00:37] local.INFO: TCP Data received {"connection_id":105263,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:37] local.INFO: Processing buffer {"connection_id":105263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:00:37] local.INFO: IMEI packet received {"connection_id":105263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":105263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:00:39] local.INFO: TCP Data received {"connection_id":105263,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6d780e0012d695640061beca00008014b33..."} 
[2026-06-18 00:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6d780e0012d695640061beca00008014b33..."} 
[2026-06-18 00:00:39] local.INFO: Processing buffer {"connection_id":105263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6d780e0012d695640061beca00008014b33..."} 
[2026-06-18 00:00:39] local.INFO: Packet analysis {"connection_id":105263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6d7"} 
[2026-06-18 00:00:39] local.INFO: Extracted packet for processing {"connection_id":105263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6d7"} 
[2026-06-18 00:00:39] local.INFO: GPS Element Parsed {"raw_longitude":761878080,"raw_latitude":102493344,"longitude_deg":76.187808,"latitude_deg":10.2493344,"altitude":8,"angle":331,"satellites":51,"speed":42,"hex_longitude":"2d695640","hex_latitude":"061beca0","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120549632001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317445963469815808,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7595180060308209664,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781720908000,"timestamp_ms":1781720908000,"timestamp_seconds":1781720908,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6d780e0"} 
[2026-06-18 00:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:00:39] 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-06-18 00: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-06-18 00:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120549632001,"66":27213,"55":206,"19":40704,"24":42,"16":317445963469815808,"45":7595180060308209664},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-06-18 00:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120549632001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:00:39] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-06-18 00:00:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317445963469815808,"km_value":317445963469815.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7595180060308209664,"description":"Unknown IO ID 45"} 
[2026-06-18 00:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120549632001,"power":27213,"unknown_55":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7595180060308209664}} 
[2026-06-18 00:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":105263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:00:39] local.INFO: GPS data processed {"connection_id":105263,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:00:39] local.INFO: Acknowledgment sent {"connection_id":105263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:00:40] local.INFO: TCP Data received {"connection_id":105264,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:00:40] local.INFO: Processing buffer {"connection_id":105264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:00:40] local.INFO: IMEI packet received {"connection_id":105264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":105264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:00:42] local.INFO: TCP Data received {"connection_id":105263,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6d7a020012d694540061c0ba00007014d32..."} 
[2026-06-18 00:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6d7a020012d694540061c0ba00007014d32..."} 
[2026-06-18 00:00:42] local.INFO: Processing buffer {"connection_id":105263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6d7a020012d694540061c0ba00007014d32..."} 
[2026-06-18 00:00:42] local.INFO: Packet analysis {"connection_id":105263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6d7"} 
[2026-06-18 00:00:42] local.INFO: Extracted packet for processing {"connection_id":105263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6d7"} 
[2026-06-18 00:00:42] local.INFO: GPS Element Parsed {"raw_longitude":761873728,"raw_latitude":102501280,"longitude_deg":76.1873728,"latitude_deg":10.250128,"altitude":7,"angle":333,"satellites":50,"speed":46,"hex_longitude":"2d694540","hex_latitude":"061c0ba0","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120552448001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317446401556480000,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7590324616962023424,"note":"Value kept but may cause issues"} 
[2026-06-18 00:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781720916000,"timestamp_ms":1781720916000,"timestamp_seconds":1781720916,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6d7a020"} 
[2026-06-18 00:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 00:00:42] 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-06-18 00: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-06-18 00:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120552448001,"66":27169,"55":206,"19":40704,"24":46,"16":317446401556480000,"45":7590324616962023424},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,19,24,16,45]} 
[2026-06-18 00:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120552448001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:00:42] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-06-18 00:00:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317446401556480000,"km_value":317446401556480,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7590324616962023424,"description":"Unknown IO ID 45"} 
[2026-06-18 00:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120552448001,"power":27169,"unknown_55":206,"unknown_19":40704,"ignition":46,"odometer":null,"unknown_45":7590324616962023424}} 
[2026-06-18 00:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":105263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:00:42] local.INFO: GPS data processed {"connection_id":105263,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:00:42] local.INFO: Acknowledgment sent {"connection_id":105263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:01:27] local.INFO: TCP Data received {"connection_id":105265,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:01:27] local.INFO: Processing buffer {"connection_id":105265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:01:27] local.INFO: IMEI packet received {"connection_id":105265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":105265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:01:28] local.INFO: TCP Data received {"connection_id":105265,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:01:28] local.INFO: Processing buffer {"connection_id":105265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:01:28] local.INFO: IMEI packet received {"connection_id":105265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":105265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:01:30] local.INFO: TCP Data received {"connection_id":105265,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6d95d70012d68ab40061d78e8000c014d2c..."} 
[2026-06-18 00:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6d95d70012d68ab40061d78e8000c014d2c..."} 
[2026-06-18 00:01:30] local.INFO: Processing buffer {"connection_id":105265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6d95d70012d68ab40061d78e8000c014d2c..."} 
[2026-06-18 00:01:30] local.INFO: Packet analysis {"connection_id":105265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:01:30] local.INFO: Extracted packet for processing {"connection_id":105265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:01:30] local.INFO: GPS Element Parsed {"raw_longitude":761834304,"raw_latitude":102594792,"longitude_deg":76.1834304,"latitude_deg":10.2594792,"altitude":12,"angle":333,"satellites":44,"speed":34,"hex_longitude":"2d68ab40","hex_latitude":"061d78e8","is_valid_coordinates":true} 
[2026-06-18 00:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120581120001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317451340768870400,"note":"Value kept but may cause issues"} 
[2026-06-18 00:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7545570095688886272,"note":"Value kept but may cause issues"} 
[2026-06-18 00:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781721030000,"timestamp_ms":1781721030000,"timestamp_seconds":1781721030,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6d95d70"} 
[2026-06-18 00:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:01: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-06-18 00:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:01: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-06-18 00:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120581120001,"66":27376,"210":206,"19":40704,"24":34,"16":317451340768870400,"45":7545570095688886272},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-06-18 00:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120581120001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:01:30] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-18 00:01:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317451340768870400,"km_value":317451340768870.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7545570095688886272,"description":"Unknown IO ID 45"} 
[2026-06-18 00:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120581120001,"power":27376,"unknown_210":206,"unknown_19":40704,"ignition":34,"odometer":null,"unknown_45":7545570095688886272}} 
[2026-06-18 00:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":105265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:01:30] local.INFO: GPS data processed {"connection_id":105265,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:01:30] local.INFO: Acknowledgment sent {"connection_id":105265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:02:03] local.INFO: TCP Data received {"connection_id":105265,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6d98480012d6899c0061d96d8000c01452e..."} 
[2026-06-18 00:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6d98480012d6899c0061d96d8000c01452e..."} 
[2026-06-18 00:02:03] local.INFO: Processing buffer {"connection_id":105265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6d98480012d6899c0061d96d8000c01452e..."} 
[2026-06-18 00:02:03] local.INFO: Packet analysis {"connection_id":105265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:02:03] local.INFO: Extracted packet for processing {"connection_id":105265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":761829824,"raw_latitude":102602456,"longitude_deg":76.1829824,"latitude_deg":10.2602456,"altitude":12,"angle":325,"satellites":46,"speed":36,"hex_longitude":"2d6899c0","hex_latitude":"061d96d8","is_valid_coordinates":true} 
[2026-06-18 00:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120583680001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317451770265600000,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7542192395970471936,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781721040000,"timestamp_ms":1781721040000,"timestamp_seconds":1781721040,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6d98480"} 
[2026-06-18 00:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:02: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-06-18 00:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120583680001,"66":27300,"210":206,"19":40704,"24":36,"16":317451770265600000,"45":7542192395970471936},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-06-18 00:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120583680001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:02:03] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-18 00:02:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317451770265600000,"km_value":317451770265600,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7542192395970471936,"description":"Unknown IO ID 45"} 
[2026-06-18 00:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120583680001,"power":27300,"unknown_210":206,"unknown_19":40704,"ignition":36,"odometer":null,"unknown_45":7542192395970471936}} 
[2026-06-18 00:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":105265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:02:03] local.INFO: GPS data processed {"connection_id":105265,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:02:03] local.INFO: Acknowledgment sent {"connection_id":105265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:02:27] local.INFO: TCP Data received {"connection_id":106992,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:27] local.INFO: Processing buffer {"connection_id":106992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:27] local.INFO: IMEI packet received {"connection_id":106992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":106992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:02:29] local.INFO: TCP Data received {"connection_id":106992,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:29] local.INFO: Processing buffer {"connection_id":106992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:29] local.INFO: IMEI packet received {"connection_id":106992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":106992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:02:34] local.INFO: TCP Data received {"connection_id":106992,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:34] local.INFO: Processing buffer {"connection_id":106992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:02:34] local.INFO: IMEI packet received {"connection_id":106992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":106992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:02:40] local.INFO: TCP Data received {"connection_id":106992,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6d9ab90012d688540061db500000c014531..."} 
[2026-06-18 00:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6d9ab90012d688540061db500000c014531..."} 
[2026-06-18 00:02:40] local.INFO: Processing buffer {"connection_id":106992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6d9ab90012d688540061db500000c014531..."} 
[2026-06-18 00:02:40] local.INFO: Packet analysis {"connection_id":106992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:02:40] local.INFO: Extracted packet for processing {"connection_id":106992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:02:40] local.INFO: GPS Element Parsed {"raw_longitude":761824576,"raw_latitude":102610176,"longitude_deg":76.1824576,"latitude_deg":10.2610176,"altitude":12,"angle":325,"satellites":49,"speed":37,"hex_longitude":"2d688540","hex_latitude":"061db500","is_valid_coordinates":true} 
[2026-06-18 00:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120586240001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317452221237166080,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7537266583879997440,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781721050000,"timestamp_ms":1781721050000,"timestamp_seconds":1781721050,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6d9ab90"} 
[2026-06-18 00:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 00:02:40] 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-06-18 00:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120586240001,"66":27376,"210":206,"19":40704,"24":37,"16":317452221237166080,"45":7537266583879997440},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,19,24,16,45]} 
[2026-06-18 00:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120586240001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:02:40] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-18 00:02:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317452221237166080,"km_value":317452221237166.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7537266583879997440,"description":"Unknown IO ID 45"} 
[2026-06-18 00:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120586240001,"power":27376,"unknown_210":206,"unknown_19":40704,"ignition":37,"odometer":null,"unknown_45":7537266583879997440}} 
[2026-06-18 00:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":106992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:02:40] local.INFO: GPS data processed {"connection_id":106992,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:02:40] local.INFO: Acknowledgment sent {"connection_id":106992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:02:46] local.INFO: TCP Data received {"connection_id":106992,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6d9d2a0012d687000061dd360000a01462f..."} 
[2026-06-18 00:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6d9d2a0012d687000061dd360000a01462f..."} 
[2026-06-18 00:02:46] local.INFO: Processing buffer {"connection_id":106992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6d9d2a0012d687000061dd360000a01462f..."} 
[2026-06-18 00:02:46] local.INFO: Packet analysis {"connection_id":106992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:02:46] local.INFO: Extracted packet for processing {"connection_id":106992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:02:46] local.INFO: GPS Element Parsed {"raw_longitude":761819136,"raw_latitude":102617952,"longitude_deg":76.1819136,"latitude_deg":10.2617952,"altitude":10,"angle":326,"satellites":47,"speed":39,"hex_longitude":"2d687000","hex_latitude":"061dd360","is_valid_coordinates":true} 
[2026-06-18 00:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120588800001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317452680798666752,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7531496346859405312,"note":"Value kept but may cause issues"} 
[2026-06-18 00:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781721060000,"timestamp_ms":1781721060000,"timestamp_seconds":1781721060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6d9d2a0"} 
[2026-06-18 00:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120588800001,"66":27332,"209":206,"19":40704,"24":39,"16":317452680798666752,"45":7531496346859405312},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-06-18 00:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120588800001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:02:46] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 00:02:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317452680798666752,"km_value":317452680798666.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7531496346859405312,"description":"Unknown IO ID 45"} 
[2026-06-18 00:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120588800001,"power":27332,"unknown_209":206,"unknown_19":40704,"ignition":39,"odometer":null,"unknown_45":7531496346859405312}} 
[2026-06-18 00:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":106992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:02:46] local.INFO: GPS data processed {"connection_id":106992,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:02:46] local.INFO: Acknowledgment sent {"connection_id":106992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:03:26] local.INFO: TCP Data received {"connection_id":106020,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:03:26] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:03:26] local.INFO: IMEI packet received {"connection_id":106020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":106020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:03:31] local.INFO: TCP Data received {"connection_id":106020,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:03:31] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:03:31] local.INFO: IMEI packet received {"connection_id":106020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":106020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:03:32] local.INFO: TCP Data received {"connection_id":106020,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6d9f5c8012d685c80061df2200008014830..."} 
[2026-06-18 00:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6d9f5c8012d685c80061df2200008014830..."} 
[2026-06-18 00:03:32] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6d9f5c8012d685c80061df2200008014830..."} 
[2026-06-18 00:03:32] local.INFO: Packet analysis {"connection_id":106020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:03:32] local.INFO: Extracted packet for processing {"connection_id":106020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6d9"} 
[2026-06-18 00:03:32] local.INFO: GPS Element Parsed {"raw_longitude":761814144,"raw_latitude":102625824,"longitude_deg":76.1814144,"latitude_deg":10.2625824,"altitude":8,"angle":328,"satellites":48,"speed":42,"hex_longitude":"2d685c80","hex_latitude":"061df220","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120591360001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317453131770232832,"note":"Value kept but may cause issues"} 
[2026-06-18 00:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7525515003606294528,"note":"Value kept but may cause issues"} 
[2026-06-18 00:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781721069000,"timestamp_ms":1781721069000,"timestamp_seconds":1781721069,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6d9f5c8"} 
[2026-06-18 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-06-18 00:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:03: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-06-18 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-06-18 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-06-18 00:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120591360001,"66":27463,"209":206,"19":40704,"24":42,"16":317453131770232832,"45":7525515003606294528},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-06-18 00:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120591360001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:03:32] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 00:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317453131770232832,"km_value":317453131770232.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7525515003606294528,"description":"Unknown IO ID 45"} 
[2026-06-18 00:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120591360001,"power":27463,"unknown_209":206,"unknown_19":40704,"ignition":42,"odometer":null,"unknown_45":7525515003606294528}} 
[2026-06-18 00:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":106020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:03:32] local.INFO: GPS data processed {"connection_id":106020,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:03:32] local.INFO: Acknowledgment sent {"connection_id":106020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:04:04] local.INFO: TCP Data received {"connection_id":106020,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6da18f0012d684b00061e11280008014d2f..."} 
[2026-06-18 00:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6da18f0012d684b00061e11280008014d2f..."} 
[2026-06-18 00:04:04] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6da18f0012d684b00061e11280008014d2f..."} 
[2026-06-18 00:04:04] local.INFO: Packet analysis {"connection_id":106020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6da"} 
[2026-06-18 00:04:04] local.INFO: Extracted packet for processing {"connection_id":106020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6da"} 
[2026-06-18 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":761809664,"raw_latitude":102633768,"longitude_deg":76.1809664,"latitude_deg":10.2633768,"altitude":8,"angle":333,"satellites":47,"speed":34,"hex_longitude":"2d684b00","hex_latitude":"061e1128","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120593664001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317453569856897024,"note":"Value kept but may cause issues"} 
[2026-06-18 00:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7520026241562451968,"note":"Value kept but may cause issues"} 
[2026-06-18 00:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781721078000,"timestamp_ms":1781721078000,"timestamp_seconds":1781721078,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6da18f0"} 
[2026-06-18 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-06-18 00:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 00:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120593664001,"66":27332,"209":206,"19":40704,"24":34,"16":317453569856897024,"45":7520026241562451968},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,19,24,16,45]} 
[2026-06-18 00:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120593664001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:04:04] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 00:04:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317453569856897024,"km_value":317453569856897.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7520026241562451968,"description":"Unknown IO ID 45"} 
[2026-06-18 00:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120593664001,"power":27332,"unknown_209":206,"unknown_19":40704,"ignition":34,"odometer":null,"unknown_45":7520026241562451968}} 
[2026-06-18 00:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":106020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:04:04] local.INFO: GPS data processed {"connection_id":106020,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:04:04] local.INFO: Acknowledgment sent {"connection_id":106020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:04:26] local.INFO: TCP Data received {"connection_id":106993,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:04:26] local.INFO: Processing buffer {"connection_id":106993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:04:26] local.INFO: IMEI packet received {"connection_id":106993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":106993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:04:31] local.INFO: TCP Data received {"connection_id":106993,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:04:31] local.INFO: Processing buffer {"connection_id":106993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:04:31] local.INFO: IMEI packet received {"connection_id":106993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":106993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:04:32] local.INFO: TCP Data received {"connection_id":106993,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6dc0908012d678340061f5be00009013430..."} 
[2026-06-18 00:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6dc0908012d678340061f5be00009013430..."} 
[2026-06-18 00:04:32] local.INFO: Processing buffer {"connection_id":106993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6dc0908012d678340061f5be00009013430..."} 
[2026-06-18 00:04:32] local.INFO: Packet analysis {"connection_id":106993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6dc"} 
[2026-06-18 00:04:32] local.INFO: Extracted packet for processing {"connection_id":106993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6dc"} 
[2026-06-18 00:04:32] local.INFO: GPS Element Parsed {"raw_longitude":761758528,"raw_latitude":102718432,"longitude_deg":76.1758528,"latitude_deg":10.2718432,"altitude":9,"angle":308,"satellites":48,"speed":31,"hex_longitude":"2d678340","hex_latitude":"061f5be0","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120625664001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317458401695105024,"note":"Value kept but may cause issues"} 
[2026-06-18 00:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7466616364753827840,"note":"Value kept but may cause issues"} 
[2026-06-18 00:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781721205000,"timestamp_ms":1781721205000,"timestamp_seconds":1781721205,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6dc0908"} 
[2026-06-18 00:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 00:04: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-06-18 00: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-06-18 00:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120625664001,"66":27463,"237":206,"19":40704,"24":31,"16":317458401695105024,"45":7466616364753827840},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 00:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120625664001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:04:32] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 00:04:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317458401695105024,"km_value":317458401695105.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":7466616364753827840,"description":"Unknown IO ID 45"} 
[2026-06-18 00:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120625664001,"power":27463,"unknown_237":206,"unknown_19":40704,"ignition":31,"odometer":null,"unknown_45":7466616364753827840}} 
[2026-06-18 00:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":106993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:04:32] local.INFO: GPS data processed {"connection_id":106993,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:04:32] local.INFO: Acknowledgment sent {"connection_id":106993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:05:04] local.INFO: TCP Data received {"connection_id":106993,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6dc3018012d676880061f74a00008013c2d..."} 
[2026-06-18 00:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6dc3018012d676880061f74a00008013c2d..."} 
[2026-06-18 00:05:04] local.INFO: Processing buffer {"connection_id":106993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6dc3018012d676880061f74a00008013c2d..."} 
[2026-06-18 00:05:04] local.INFO: Packet analysis {"connection_id":106993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6dc"} 
[2026-06-18 00:05:04] local.INFO: Extracted packet for processing {"connection_id":106993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6dc"} 
[2026-06-18 00:05:04] local.INFO: GPS Element Parsed {"raw_longitude":761751680,"raw_latitude":102724768,"longitude_deg":76.175168,"latitude_deg":10.2724768,"altitude":8,"angle":316,"satellites":45,"speed":39,"hex_longitude":"2d676880","hex_latitude":"061f74a0","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120628480001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317458848371703808,"note":"Value kept but may cause issues"} 
[2026-06-18 00:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7458875802895769600,"note":"Value kept but may cause issues"} 
[2026-06-18 00:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781721215000,"timestamp_ms":1781721215000,"timestamp_seconds":1781721215,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6dc3018"} 
[2026-06-18 00:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120628480001,"66":27463,"237":206,"19":40704,"24":39,"16":317458848371703808,"45":7458875802895769600},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 00:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120628480001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:05:04] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 00:05:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317458848371703808,"km_value":317458848371703.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7458875802895769600,"description":"Unknown IO ID 45"} 
[2026-06-18 00:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120628480001,"power":27463,"unknown_237":206,"unknown_19":40704,"ignition":39,"odometer":null,"unknown_45":7458875802895769600}} 
[2026-06-18 00:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":106993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:05:04] local.INFO: GPS data processed {"connection_id":106993,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:05:04] local.INFO: Acknowledgment sent {"connection_id":106993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:05:26] local.INFO: TCP Data received {"connection_id":105266,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:05:26] local.INFO: Processing buffer {"connection_id":105266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:05:26] local.INFO: IMEI packet received {"connection_id":105266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":105266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:05:32] local.INFO: TCP Data received {"connection_id":105266,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:05:32] local.INFO: Processing buffer {"connection_id":105266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:05:32] local.INFO: IMEI packet received {"connection_id":105266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":105266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:05:33] local.INFO: TCP Data received {"connection_id":105266,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6dc5728012d675100061f8fa8000a01402c..."} 
[2026-06-18 00:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6dc5728012d675100061f8fa8000a01402c..."} 
[2026-06-18 00:05:33] local.INFO: Processing buffer {"connection_id":105266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6dc5728012d675100061f8fa8000a01402c..."} 
[2026-06-18 00:05:33] local.INFO: Packet analysis {"connection_id":105266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6dc"} 
[2026-06-18 00:05:33] local.INFO: Extracted packet for processing {"connection_id":105266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6dc"} 
[2026-06-18 00:05:33] local.INFO: GPS Element Parsed {"raw_longitude":761745664,"raw_latitude":102731688,"longitude_deg":76.1745664,"latitude_deg":10.2731688,"altitude":10,"angle":320,"satellites":44,"speed":31,"hex_longitude":"2d675100","hex_latitude":"061f8fa8","is_valid_coordinates":true} 
[2026-06-18 00:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120631040001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317459290753335296,"note":"Value kept but may cause issues"} 
[2026-06-18 00:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7451346347270381568,"note":"Value kept but may cause issues"} 
[2026-06-18 00:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781721225000,"timestamp_ms":1781721225000,"timestamp_seconds":1781721225,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6dc5728"} 
[2026-06-18 00:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120631040001,"66":27484,"237":206,"19":40704,"24":31,"16":317459290753335296,"45":7451346347270381568},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 00:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120631040001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:05:33] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 00:05:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317459290753335296,"km_value":317459290753335.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7451346347270381568,"description":"Unknown IO ID 45"} 
[2026-06-18 00:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120631040001,"power":27484,"unknown_237":206,"unknown_19":40704,"ignition":31,"odometer":null,"unknown_45":7451346347270381568}} 
[2026-06-18 00:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":105266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:05:33] local.INFO: GPS data processed {"connection_id":105266,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:05:33] local.INFO: Acknowledgment sent {"connection_id":105266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:06:05] local.INFO: TCP Data received {"connection_id":105266,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ddab00012d66c240062027500007013b30..."} 
[2026-06-18 00:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ddab00012d66c240062027500007013b30..."} 
[2026-06-18 00:06:05] local.INFO: Processing buffer {"connection_id":105266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ddab00012d66c240062027500007013b30..."} 
[2026-06-18 00:06:05] local.INFO: Packet analysis {"connection_id":105266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6dd"} 
[2026-06-18 00:06:05] local.INFO: Extracted packet for processing {"connection_id":105266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6dd"} 
[2026-06-18 00:06:05] local.INFO: GPS Element Parsed {"raw_longitude":761709120,"raw_latitude":102770512,"longitude_deg":76.170912,"latitude_deg":10.2770512,"altitude":7,"angle":315,"satellites":48,"speed":23,"hex_longitude":"2d66c240","hex_latitude":"06202750","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120655616001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317462022352535552,"note":"Value kept but may cause issues"} 
[2026-06-18 00:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7405043713613094912,"note":"Value kept but may cause issues"} 
[2026-06-18 00:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781721312000,"timestamp_ms":1781721312000,"timestamp_seconds":1781721312,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ddab00"} 
[2026-06-18 00:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 00:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120655616001,"66":27234,"237":206,"19":40704,"24":23,"16":317462022352535552,"45":7405043713613094912},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 00:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120655616001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:06:05] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 00:06:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317462022352535552,"km_value":317462022352535.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7405043713613094912,"description":"Unknown IO ID 45"} 
[2026-06-18 00:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120655616001,"power":27234,"unknown_237":206,"unknown_19":40704,"ignition":23,"odometer":null,"unknown_45":7405043713613094912}} 
[2026-06-18 00:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":105266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:06:05] local.INFO: GPS data processed {"connection_id":105266,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:06:05] local.INFO: Acknowledgment sent {"connection_id":105266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:06:10] local.INFO: TCP Data received {"connection_id":105267,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:06:10] local.INFO: Processing buffer {"connection_id":105267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:06:10] local.INFO: IMEI packet received {"connection_id":105267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":105267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:06:35] local.INFO: TCP Data received {"connection_id":106023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:06:35] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:06:35] local.INFO: IMEI packet received {"connection_id":106023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":106023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:06:36] local.INFO: TCP Data received {"connection_id":106994,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:06:36] local.INFO: Processing buffer {"connection_id":106994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:06:36] local.INFO: IMEI packet received {"connection_id":106994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":106994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:06:40] local.INFO: TCP Data received {"connection_id":106994,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:06:40] local.INFO: Processing buffer {"connection_id":106994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:06:40] local.INFO: IMEI packet received {"connection_id":106994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":106994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:06:41] local.INFO: TCP Data received {"connection_id":106994,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ddaee8012d66c100062029100007014d2f..."} 
[2026-06-18 00:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ddaee8012d66c100062029100007014d2f..."} 
[2026-06-18 00:06:41] local.INFO: Processing buffer {"connection_id":106994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ddaee8012d66c100062029100007014d2f..."} 
[2026-06-18 00:06:41] local.INFO: Packet analysis {"connection_id":106994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6dd"} 
[2026-06-18 00:06:41] local.INFO: Extracted packet for processing {"connection_id":106994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6dd"} 
[2026-06-18 00:06:41] local.INFO: GPS Element Parsed {"raw_longitude":761708800,"raw_latitude":102770960,"longitude_deg":76.17088,"latitude_deg":10.277096,"altitude":7,"angle":333,"satellites":47,"speed":23,"hex_longitude":"2d66c100","hex_latitude":"06202910","is_valid_coordinates":true} 
[2026-06-18 00:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120655872001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317462048122339328,"note":"Value kept but may cause issues"} 
[2026-06-18 00:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7404551132403945472,"note":"Value kept but may cause issues"} 
[2026-06-18 00:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781721313000,"timestamp_ms":1781721313000,"timestamp_seconds":1781721313,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ddaee8"} 
[2026-06-18 00:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 00:06:41] 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-06-18 00:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120655872001,"66":27397,"237":206,"19":40704,"24":23,"16":317462048122339328,"45":7404551132403945472},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 00:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120655872001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:06:41] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 00:06:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317462048122339328,"km_value":317462048122339.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":7404551132403945472,"description":"Unknown IO ID 45"} 
[2026-06-18 00:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120655872001,"power":27397,"unknown_237":206,"unknown_19":40704,"ignition":23,"odometer":null,"unknown_45":7404551132403945472}} 
[2026-06-18 00:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":106994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:06:41] local.INFO: GPS data processed {"connection_id":106994,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:06:41] local.INFO: Acknowledgment sent {"connection_id":106994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:07:28] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:28] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:28] local.INFO: IMEI packet received {"connection_id":106995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:07:28] local.INFO: IMEI acknowledgment sent {"connection_id":106995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:07:29] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:29] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:29] local.INFO: IMEI packet received {"connection_id":106995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":106995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:07:31] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:31] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:07:31] local.INFO: IMEI packet received {"connection_id":106995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":106995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:07:33] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6decff8012d66b6800620f968000b01572e..."} 
[2026-06-18 00:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6decff8012d66b6800620f968000b01572e..."} 
[2026-06-18 00:07:33] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6decff8012d66b6800620f968000b01572e..."} 
[2026-06-18 00:07:33] local.INFO: Packet analysis {"connection_id":106995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6de"} 
[2026-06-18 00:07:33] local.INFO: Extracted packet for processing {"connection_id":106995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6de"} 
[2026-06-18 00:07:33] local.INFO: GPS Element Parsed {"raw_longitude":761706112,"raw_latitude":102824296,"longitude_deg":76.1706112,"latitude_deg":10.2824296,"altitude":11,"angle":343,"satellites":46,"speed":28,"hex_longitude":"2d66b680","hex_latitude":"0620f968","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120673536001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317464723886964736,"note":"Value kept but may cause issues"} 
[2026-06-18 00:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7403143757533106176,"note":"Value kept but may cause issues"} 
[2026-06-18 00:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781721387000,"timestamp_ms":1781721387000,"timestamp_seconds":1781721387,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6decff8"} 
[2026-06-18 00:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:07: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-06-18 00: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-06-18 00:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120673536001,"66":27463,"239":206,"19":40704,"24":28,"16":317464723886964736,"45":7403143757533106176},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,19,24,16,45]} 
[2026-06-18 00:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120673536001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:07:33] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 00:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317464723886964736,"km_value":317464723886964.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7403143757533106176,"description":"Unknown IO ID 45"} 
[2026-06-18 00:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120673536001,"power":27463,"unknown_239":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7403143757533106176}} 
[2026-06-18 00:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":106995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:07:33] local.INFO: GPS data processed {"connection_id":106995,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:07:33] local.INFO: Acknowledgment sent {"connection_id":106995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:07:37] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6df06a8012d66acc006211b88000b01572c..."} 
[2026-06-18 00:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6df06a8012d66acc006211b88000b01572c..."} 
[2026-06-18 00:07:37] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6df06a8012d66acc006211b88000b01572c..."} 
[2026-06-18 00:07:37] local.INFO: Packet analysis {"connection_id":106995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:07:37] local.INFO: Extracted packet for processing {"connection_id":106995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:07:37] local.INFO: GPS Element Parsed {"raw_longitude":761703616,"raw_latitude":102833032,"longitude_deg":76.1703616,"latitude_deg":10.2833032,"altitude":11,"angle":343,"satellites":44,"speed":24,"hex_longitude":"2d66acc0","hex_latitude":"06211b88","is_valid_coordinates":true} 
[2026-06-18 00:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120675072001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317465161973628928,"note":"Value kept but may cause issues"} 
[2026-06-18 00:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7401243801441363968,"note":"Value kept but may cause issues"} 
[2026-06-18 00:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781721401000,"timestamp_ms":1781721401000,"timestamp_seconds":1781721401,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6df06a8"} 
[2026-06-18 00:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:07:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120675072001,"66":27463,"239":206,"19":40704,"24":24,"16":317465161973628928,"45":7401243801441363968},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,19,24,16,45]} 
[2026-06-18 00:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120675072001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:07:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 00:07:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317465161973628928,"km_value":317465161973628.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7401243801441363968,"description":"Unknown IO ID 45"} 
[2026-06-18 00:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120675072001,"power":27463,"unknown_239":206,"unknown_19":40704,"ignition":24,"odometer":null,"unknown_45":7401243801441363968}} 
[2026-06-18 00:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":106995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:07:37] local.INFO: GPS data processed {"connection_id":106995,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:07:37] local.INFO: Acknowledgment sent {"connection_id":106995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:08:10] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6df25e8012d66a80006212e58000c01622e..."} 
[2026-06-18 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6df25e8012d66a80006212e58000c01622e..."} 
[2026-06-18 00:08:10] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6df25e8012d66a80006212e58000c01622e..."} 
[2026-06-18 00:08:10] local.INFO: Packet analysis {"connection_id":106995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:08:10] local.INFO: Extracted packet for processing {"connection_id":106995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:08:10] local.INFO: GPS Element Parsed {"raw_longitude":761702400,"raw_latitude":102837848,"longitude_deg":76.17024,"latitude_deg":10.2837848,"altitude":12,"angle":354,"satellites":46,"speed":25,"hex_longitude":"2d66a800","hex_latitude":"06212e58","is_valid_coordinates":true} 
[2026-06-18 00:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120678656001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317465402491797504,"note":"Value kept but may cause issues"} 
[2026-06-18 00:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7398499420420671488,"note":"Value kept but may cause issues"} 
[2026-06-18 00:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781721409000,"timestamp_ms":1781721409000,"timestamp_seconds":1781721409,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6df25e8"} 
[2026-06-18 00:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120678656001,"66":27463,"239":206,"19":40704,"24":25,"16":317465402491797504,"45":7398499420420671488},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,19,24,16,45]} 
[2026-06-18 00:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120678656001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:08:10] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 00:08:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317465402491797504,"km_value":317465402491797.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7398499420420671488,"description":"Unknown IO ID 45"} 
[2026-06-18 00:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120678656001,"power":27463,"unknown_239":206,"unknown_19":40704,"ignition":25,"odometer":null,"unknown_45":7398499420420671488}} 
[2026-06-18 00:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":106995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:08:10] local.INFO: GPS data processed {"connection_id":106995,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:08:10] local.INFO: Acknowledgment sent {"connection_id":106995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:08:26] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:26] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:26] local.INFO: IMEI packet received {"connection_id":105498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":105498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:08:27] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:27] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:27] local.INFO: IMEI packet received {"connection_id":105498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":105498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:08:32] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:32] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:08:32] local.INFO: IMEI packet received {"connection_id":105498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":105498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:08:33] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6df58b0012d66a60006215160000d00002f..."} 
[2026-06-18 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6df58b0012d66a60006215160000d00002f..."} 
[2026-06-18 00:08:33] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6df58b0012d66a60006215160000d00002f..."} 
[2026-06-18 00:08:33] local.INFO: Packet analysis {"connection_id":105498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:08:33] local.INFO: Extracted packet for processing {"connection_id":105498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":761701888,"raw_latitude":102846816,"longitude_deg":76.1701888,"latitude_deg":10.2846816,"altitude":13,"angle":0,"satellites":47,"speed":28,"hex_longitude":"2d66a600","hex_latitude":"06215160","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120680704001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317465840578461696,"note":"Value kept but may cause issues"} 
[2026-06-18 00:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7397162414282528768,"note":"Value kept but may cause issues"} 
[2026-06-18 00:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781721422000,"timestamp_ms":1781721422000,"timestamp_seconds":1781721422,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6df58b0"} 
[2026-06-18 00:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120680704001,"66":27343,"82":206,"19":40704,"24":28,"16":317465840578461696,"45":7397162414282528768},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-06-18 00:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120680704001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:08:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-18 00:08:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317465840578461696,"km_value":317465840578461.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7397162414282528768,"description":"Unknown IO ID 45"} 
[2026-06-18 00:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120680704001,"power":27343,"unknown_82":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7397162414282528768}} 
[2026-06-18 00:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":105498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:08:33] local.INFO: GPS data processed {"connection_id":105498,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:08:33] local.INFO: Acknowledgment sent {"connection_id":105498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:09:06] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6df8790012d66a50006217040000d015c30..."} 
[2026-06-18 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6df8790012d66a50006217040000d015c30..."} 
[2026-06-18 00:09:06] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6df8790012d66a50006217040000d015c30..."} 
[2026-06-18 00:09:06] local.INFO: Packet analysis {"connection_id":105498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:09:06] local.INFO: Extracted packet for processing {"connection_id":105498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:09:06] local.INFO: GPS Element Parsed {"raw_longitude":761701632,"raw_latitude":102854720,"longitude_deg":76.1701632,"latitude_deg":10.285472,"altitude":13,"angle":348,"satellites":48,"speed":25,"hex_longitude":"2d66a500","hex_latitude":"06217040","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120684032001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317466227125518336,"note":"Value kept but may cause issues"} 
[2026-06-18 00:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7396599464331403264,"note":"Value kept but may cause issues"} 
[2026-06-18 00:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781721434000,"timestamp_ms":1781721434000,"timestamp_seconds":1781721434,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6df8790"} 
[2026-06-18 00:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:09:06] 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-06-18 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:09: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-06-18 00: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-06-18 00:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120684032001,"66":27517,"82":206,"19":40704,"24":25,"16":317466227125518336,"45":7396599464331403264},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-06-18 00:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120684032001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:09:06] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-18 00:09:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317466227125518336,"km_value":317466227125518.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7396599464331403264,"description":"Unknown IO ID 45"} 
[2026-06-18 00:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120684032001,"power":27517,"unknown_82":206,"unknown_19":40704,"ignition":25,"odometer":null,"unknown_45":7396599464331403264}} 
[2026-06-18 00:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":105498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:09:06] local.INFO: GPS data processed {"connection_id":105498,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:09:06] local.INFO: Acknowledgment sent {"connection_id":105498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:09:26] local.INFO: TCP Data received {"connection_id":106997,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:09:26] local.INFO: Processing buffer {"connection_id":106997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:09:26] local.INFO: IMEI packet received {"connection_id":106997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":106997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:09:32] local.INFO: TCP Data received {"connection_id":106997,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:09:32] local.INFO: Processing buffer {"connection_id":106997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:09:32] local.INFO: IMEI packet received {"connection_id":106997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":106997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:09:33] local.INFO: TCP Data received {"connection_id":106997,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6dfb670012d669e8006219350000d015c30..."} 
[2026-06-18 00:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6dfb670012d669e8006219350000d015c30..."} 
[2026-06-18 00:09:33] local.INFO: Processing buffer {"connection_id":106997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6dfb670012d669e8006219350000d015c30..."} 
[2026-06-18 00:09:33] local.INFO: Packet analysis {"connection_id":106997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:09:33] local.INFO: Extracted packet for processing {"connection_id":106997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:09:33] local.INFO: GPS Element Parsed {"raw_longitude":761699968,"raw_latitude":102863696,"longitude_deg":76.1699968,"latitude_deg":10.2863696,"altitude":13,"angle":348,"satellites":48,"speed":32,"hex_longitude":"2d669e80","hex_latitude":"06219350","is_valid_coordinates":true} 
[2026-06-18 00:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120687104001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317466669507149824,"note":"Value kept but may cause issues"} 
[2026-06-18 00:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7396317989356716032,"note":"Value kept but may cause issues"} 
[2026-06-18 00:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781721446000,"timestamp_ms":1781721446000,"timestamp_seconds":1781721446,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6dfb670"} 
[2026-06-18 00:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 00:09: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-06-18 00:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120687104001,"66":27365,"82":206,"19":40704,"24":32,"16":317466669507149824,"45":7396317989356716032},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-06-18 00:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120687104001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:09:33] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-18 00:09:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317466669507149824,"km_value":317466669507149.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7396317989356716032,"description":"Unknown IO ID 45"} 
[2026-06-18 00:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120687104001,"power":27365,"unknown_82":206,"unknown_19":40704,"ignition":32,"odometer":null,"unknown_45":7396317989356716032}} 
[2026-06-18 00:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":106997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:09:33] local.INFO: GPS data processed {"connection_id":106997,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:09:33] local.INFO: Acknowledgment sent {"connection_id":106997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:10:04] local.INFO: TCP Data received {"connection_id":106997,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6dfdd80012d6696c00621b0b8000c01502d..."} 
[2026-06-18 00:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6dfdd80012d6696c00621b0b8000c01502d..."} 
[2026-06-18 00:10:04] local.INFO: Processing buffer {"connection_id":106997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6dfdd80012d6696c00621b0b8000c01502d..."} 
[2026-06-18 00:10:04] local.INFO: Packet analysis {"connection_id":106997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:10:04] local.INFO: Extracted packet for processing {"connection_id":106997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6df"} 
[2026-06-18 00:10:04] local.INFO: GPS Element Parsed {"raw_longitude":761697984,"raw_latitude":102871224,"longitude_deg":76.1697984,"latitude_deg":10.2871224,"altitude":12,"angle":336,"satellites":45,"speed":28,"hex_longitude":"2d6696c0","hex_latitude":"0621b0b8","is_valid_coordinates":true} 
[2026-06-18 00:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120690176001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317467047464271872,"note":"Value kept but may cause issues"} 
[2026-06-18 00:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7394488402010394624,"note":"Value kept but may cause issues"} 
[2026-06-18 00:10:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781721456000,"timestamp_ms":1781721456000,"timestamp_seconds":1781721456,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6dfdd80"} 
[2026-06-18 00:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:10:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:10: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-06-18 00:10:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120690176001,"66":27397,"82":206,"19":40704,"24":28,"16":317467047464271872,"45":7394488402010394624},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,19,24,16,45]} 
[2026-06-18 00:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120690176001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:10:04] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-06-18 00:10:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317467047464271872,"km_value":317467047464271.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7394488402010394624,"description":"Unknown IO ID 45"} 
[2026-06-18 00:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120690176001,"power":27397,"unknown_82":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7394488402010394624}} 
[2026-06-18 00:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":106997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:10:04] local.INFO: GPS data processed {"connection_id":106997,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:10:04] local.INFO: Acknowledgment sent {"connection_id":106997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:10:20] local.INFO: TCP Data received {"connection_id":105269,"ip":"194.164.107.4","data_length":241,"data_hex":"16030100ec010000e803031df883a01b3b276b3ab008c6b01e2e53a11c263cd4..."} 
[2026-06-18 00:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105269,"packet_length":241,"packet_hex":"16030100ec010000e803031df883a01b3b276b3ab008c6b01e2e53a11c263cd4..."} 
[2026-06-18 00:10:20] local.INFO: Processing buffer {"connection_id":105269,"buffer_length":241,"buffer_hex":"16030100ec010000e803031df883a01b3b276b3ab008c6b01e2e53a11c263cd4..."} 
[2026-06-18 00:10:20] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":105269,"buffer_length":241,"first_bytes_hex":"16030100ec010000e803031df883a01b"} 
[2026-06-18 00:10:30] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:30] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:30] local.INFO: IMEI packet received {"connection_id":105499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":105499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:10:31] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:31] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:31] local.INFO: IMEI packet received {"connection_id":105499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":105499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:10:36] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:36] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:10:36] local.INFO: IMEI packet received {"connection_id":105499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":105499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:10:37] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e17b90012d65e14006228a680009012931..."} 
[2026-06-18 00:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e17b90012d65e14006228a680009012931..."} 
[2026-06-18 00:10:37] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e17b90012d65e14006228a680009012931..."} 
[2026-06-18 00:10:37] local.INFO: Packet analysis {"connection_id":105499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e1"} 
[2026-06-18 00:10:37] local.INFO: Extracted packet for processing {"connection_id":105499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e1"} 
[2026-06-18 00:10:37] local.INFO: GPS Element Parsed {"raw_longitude":761651520,"raw_latitude":102926952,"longitude_deg":76.165152,"latitude_deg":10.2926952,"altitude":9,"angle":297,"satellites":49,"speed":23,"hex_longitude":"2d65e140","hex_latitude":"06228a68","is_valid_coordinates":true} 
[2026-06-18 00:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120719104001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317470577927389184,"note":"Value kept but may cause issues"} 
[2026-06-18 00:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7342908112544098304,"note":"Value kept but may cause issues"} 
[2026-06-18 00:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781721562000,"timestamp_ms":1781721562000,"timestamp_seconds":1781721562,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e17b90"} 
[2026-06-18 00:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:10:37] 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-06-18 00: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-06-18 00:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120719104001,"66":27343,"83":206,"19":40704,"24":23,"16":317470577927389184,"45":7342908112544098304},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-06-18 00:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120719104001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:10:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 00:10:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317470577927389184,"km_value":317470577927389.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7342908112544098304,"description":"Unknown IO ID 45"} 
[2026-06-18 00:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120719104001,"power":27343,"unknown_83":206,"unknown_19":40704,"ignition":23,"odometer":null,"unknown_45":7342908112544098304}} 
[2026-06-18 00:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":105499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:10:37] local.INFO: GPS data processed {"connection_id":105499,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:10:37] local.INFO: Acknowledgment sent {"connection_id":105499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:11:09] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e1a2a0012d65cc40062293c8000a011a2d..."} 
[2026-06-18 00:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e1a2a0012d65cc40062293c8000a011a2d..."} 
[2026-06-18 00:11:09] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e1a2a0012d65cc40062293c8000a011a2d..."} 
[2026-06-18 00:11:09] local.INFO: Packet analysis {"connection_id":105499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e1"} 
[2026-06-18 00:11:09] local.INFO: Extracted packet for processing {"connection_id":105499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e1"} 
[2026-06-18 00:11:09] local.INFO: GPS Element Parsed {"raw_longitude":761646144,"raw_latitude":102929352,"longitude_deg":76.1646144,"latitude_deg":10.2929352,"altitude":10,"angle":282,"satellites":45,"speed":24,"hex_longitude":"2d65cc40","hex_latitude":"062293c8","is_valid_coordinates":true} 
[2026-06-18 00:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120719872001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317470861395230720,"note":"Value kept but may cause issues"} 
[2026-06-18 00:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7341219262684096512,"note":"Value kept but may cause issues"} 
[2026-06-18 00:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781721572000,"timestamp_ms":1781721572000,"timestamp_seconds":1781721572,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e1a2a0"} 
[2026-06-18 00:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:11: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-06-18 00:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120719872001,"66":27365,"83":206,"19":40704,"24":24,"16":317470861395230720,"45":7341219262684096512},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-06-18 00:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120719872001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:11:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 00:11:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317470861395230720,"km_value":317470861395230.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7341219262684096512,"description":"Unknown IO ID 45"} 
[2026-06-18 00:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120719872001,"power":27365,"unknown_83":206,"unknown_19":40704,"ignition":24,"odometer":null,"unknown_45":7341219262684096512}} 
[2026-06-18 00:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":105499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:11:09] local.INFO: GPS data processed {"connection_id":105499,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:11:09] local.INFO: Acknowledgment sent {"connection_id":105499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:11:26] local.INFO: TCP Data received {"connection_id":107000,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:11:26] local.INFO: Processing buffer {"connection_id":107000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:11:26] local.INFO: IMEI packet received {"connection_id":107000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":107000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:11:32] local.INFO: TCP Data received {"connection_id":107000,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:11:32] local.INFO: Processing buffer {"connection_id":107000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:11:32] local.INFO: IMEI packet received {"connection_id":107000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":107000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:11:35] local.INFO: TCP Data received {"connection_id":107000,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e1b240012d65c240062294b8000b010d2b..."} 
[2026-06-18 00:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e1b240012d65c240062294b8000b010d2b..."} 
[2026-06-18 00:11:35] local.INFO: Processing buffer {"connection_id":107000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e1b240012d65c240062294b8000b010d2b..."} 
[2026-06-18 00:11:35] local.INFO: Packet analysis {"connection_id":107000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e1"} 
[2026-06-18 00:11:35] local.INFO: Extracted packet for processing {"connection_id":107000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e1"} 
[2026-06-18 00:11:35] local.INFO: GPS Element Parsed {"raw_longitude":761643584,"raw_latitude":102929592,"longitude_deg":76.1643584,"latitude_deg":10.2929592,"altitude":11,"angle":269,"satellites":43,"speed":24,"hex_longitude":"2d65c240","hex_latitude":"062294b8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:11:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120722432001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:11:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317470981654315008,"note":"Value kept but may cause issues"} 
[2026-06-18 00:11:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7335308288173787136,"note":"Value kept but may cause issues"} 
[2026-06-18 00:11:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:11:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781721576000,"timestamp_ms":1781721576000,"timestamp_seconds":1781721576,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e1b240"} 
[2026-06-18 00:11:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:11: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-06-18 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:11: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-06-18 00: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-06-18 00:11:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:11:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:11:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:11:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:11:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:11:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:11:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:11:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:11:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120722432001,"66":27267,"83":206,"19":40704,"24":24,"16":317470981654315008,"45":7335308288173787136},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-06-18 00:11:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:11:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:11:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120722432001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:11:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 00:11:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:11:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317470981654315008,"km_value":317470981654315.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:11:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7335308288173787136,"description":"Unknown IO ID 45"} 
[2026-06-18 00:11:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120722432001,"power":27267,"unknown_83":206,"unknown_19":40704,"ignition":24,"odometer":null,"unknown_45":7335308288173787136}} 
[2026-06-18 00:11:35] local.INFO: DEBUG: GPS processor result {"connection_id":107000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:11:35] local.INFO: GPS data processed {"connection_id":107000,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:11:35] local.INFO: Acknowledgment sent {"connection_id":107000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:12:05] local.INFO: TCP Data received {"connection_id":105270,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:12:05] local.INFO: Processing buffer {"connection_id":105270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:12:05] local.INFO: IMEI packet received {"connection_id":105270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":105270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:12:07] local.INFO: TCP Data received {"connection_id":107000,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e32940012d64cb000622c2100009012f2b..."} 
[2026-06-18 00:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e32940012d64cb000622c2100009012f2b..."} 
[2026-06-18 00:12:07] local.INFO: Processing buffer {"connection_id":107000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e32940012d64cb000622c2100009012f2b..."} 
[2026-06-18 00:12:07] local.INFO: Packet analysis {"connection_id":107000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e3"} 
[2026-06-18 00:12:07] local.INFO: Extracted packet for processing {"connection_id":107000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e3"} 
[2026-06-18 00:12:07] local.INFO: GPS Element Parsed {"raw_longitude":761580288,"raw_latitude":102941200,"longitude_deg":76.1580288,"latitude_deg":10.29412,"altitude":9,"angle":303,"satellites":43,"speed":26,"hex_longitude":"2d64cb00","hex_latitude":"0622c210","is_valid_coordinates":true} 
[2026-06-18 00:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120747264001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317474168520048640,"note":"Value kept but may cause issues"} 
[2026-06-18 00:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7264658069022119936,"note":"Value kept but may cause issues"} 
[2026-06-18 00:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781721672000,"timestamp_ms":1781721672000,"timestamp_seconds":1781721672,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e32940"} 
[2026-06-18 00:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:12:07] 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-06-18 00:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120747264001,"66":27463,"83":206,"19":40704,"24":26,"16":317474168520048640,"45":7264658069022119936},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-06-18 00:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120747264001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:12:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 00:12:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317474168520048640,"km_value":317474168520048.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":7264658069022119936,"description":"Unknown IO ID 45"} 
[2026-06-18 00:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120747264001,"power":27463,"unknown_83":206,"unknown_19":40704,"ignition":26,"odometer":null,"unknown_45":7264658069022119936}} 
[2026-06-18 00:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":107000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:12:07] local.INFO: GPS data processed {"connection_id":107000,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:12:07] local.INFO: Acknowledgment sent {"connection_id":107000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:12:26] local.INFO: TCP Data received {"connection_id":105271,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:12:26] local.INFO: Processing buffer {"connection_id":105271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:12:26] local.INFO: IMEI packet received {"connection_id":105271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":105271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:12:33] local.INFO: TCP Data received {"connection_id":105271,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:12:33] local.INFO: Processing buffer {"connection_id":105271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:12:33] local.INFO: IMEI packet received {"connection_id":105271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":105271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:12:35] local.INFO: TCP Data received {"connection_id":105271,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e334f8012d64c3400622c5b80009011f2b..."} 
[2026-06-18 00:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e334f8012d64c3400622c5b80009011f2b..."} 
[2026-06-18 00:12:35] local.INFO: Processing buffer {"connection_id":105271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e334f8012d64c3400622c5b80009011f2b..."} 
[2026-06-18 00:12:35] local.INFO: Packet analysis {"connection_id":105271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e3"} 
[2026-06-18 00:12:35] local.INFO: Extracted packet for processing {"connection_id":105271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e3"} 
[2026-06-18 00:12:35] local.INFO: GPS Element Parsed {"raw_longitude":761578304,"raw_latitude":102942136,"longitude_deg":76.1578304,"latitude_deg":10.2942136,"altitude":9,"angle":287,"satellites":43,"speed":28,"hex_longitude":"2d64c340","hex_latitude":"0622c5b8","is_valid_coordinates":true} 
[2026-06-18 00:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120748032001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317474275894231040,"note":"Value kept but may cause issues"} 
[2026-06-18 00:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7262898850418003968,"note":"Value kept but may cause issues"} 
[2026-06-18 00:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781721675000,"timestamp_ms":1781721675000,"timestamp_seconds":1781721675,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e334f8"} 
[2026-06-18 00:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120748032001,"66":27397,"83":206,"19":40704,"24":28,"16":317474275894231040,"45":7262898850418003968},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-06-18 00:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120748032001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:12:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 00:12:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317474275894231040,"km_value":317474275894231.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":7262898850418003968,"description":"Unknown IO ID 45"} 
[2026-06-18 00:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120748032001,"power":27397,"unknown_83":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7262898850418003968}} 
[2026-06-18 00:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":105271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:12:35] local.INFO: GPS data processed {"connection_id":105271,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:12:35] local.INFO: Acknowledgment sent {"connection_id":105271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:12:35] local.INFO: TCP Data received {"connection_id":105500,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:12:35] local.INFO: Processing buffer {"connection_id":105500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:12:35] local.INFO: IMEI packet received {"connection_id":105500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":105500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:13:06] local.INFO: TCP Data received {"connection_id":105271,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e34c68012d64b2c00622c910000901142d..."} 
[2026-06-18 00:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e34c68012d64b2c00622c910000901142d..."} 
[2026-06-18 00:13:06] local.INFO: Processing buffer {"connection_id":105271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e34c68012d64b2c00622c910000901142d..."} 
[2026-06-18 00:13:06] local.INFO: Packet analysis {"connection_id":105271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e3"} 
[2026-06-18 00:13:06] local.INFO: Extracted packet for processing {"connection_id":105271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e3"} 
[2026-06-18 00:13:06] local.INFO: GPS Element Parsed {"raw_longitude":761574080,"raw_latitude":102942992,"longitude_deg":76.157408,"latitude_deg":10.2942992,"altitude":9,"angle":276,"satellites":45,"speed":27,"hex_longitude":"2d64b2c0","hex_latitude":"0622c910","is_valid_coordinates":true} 
[2026-06-18 00:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120748800001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317474477757693952,"note":"Value kept but may cause issues"} 
[2026-06-18 00:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7260717419348736000,"note":"Value kept but may cause issues"} 
[2026-06-18 00:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781721681000,"timestamp_ms":1781721681000,"timestamp_seconds":1781721681,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e34c68"} 
[2026-06-18 00:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:13:06] 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-06-18 00:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 00:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120748800001,"66":27484,"83":206,"19":40704,"24":27,"16":317474477757693952,"45":7260717419348736000},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-06-18 00:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120748800001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:13:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 00:13:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317474477757693952,"km_value":317474477757693.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7260717419348736000,"description":"Unknown IO ID 45"} 
[2026-06-18 00:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120748800001,"power":27484,"unknown_83":206,"unknown_19":40704,"ignition":27,"odometer":null,"unknown_45":7260717419348736000}} 
[2026-06-18 00:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":105271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:13:06] local.INFO: GPS data processed {"connection_id":105271,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:13:06] local.INFO: Acknowledgment sent {"connection_id":105271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:13:26] local.INFO: TCP Data received {"connection_id":105272,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:13:26] local.INFO: Processing buffer {"connection_id":105272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:13:26] local.INFO: IMEI packet received {"connection_id":105272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":105272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:13:32] local.INFO: TCP Data received {"connection_id":105272,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:13:32] local.INFO: Processing buffer {"connection_id":105272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:13:32] local.INFO: IMEI packet received {"connection_id":105272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":105272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:13:33] local.INFO: TCP Data received {"connection_id":105272,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e37f30012d648fc00622cbd00009010f2e..."} 
[2026-06-18 00:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e37f30012d648fc00622cbd00009010f2e..."} 
[2026-06-18 00:13:33] local.INFO: Processing buffer {"connection_id":105272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e37f30012d648fc00622cbd00009010f2e..."} 
[2026-06-18 00:13:33] local.INFO: Packet analysis {"connection_id":105272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e3"} 
[2026-06-18 00:13:33] local.INFO: Extracted packet for processing {"connection_id":105272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e3"} 
[2026-06-18 00:13:33] local.INFO: GPS Element Parsed {"raw_longitude":761565120,"raw_latitude":102943696,"longitude_deg":76.156512,"latitude_deg":10.2943696,"altitude":9,"angle":271,"satellites":46,"speed":30,"hex_longitude":"2d648fc0","hex_latitude":"0622cbd0","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120750336001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317474911549390848,"note":"Value kept but may cause issues"} 
[2026-06-18 00:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7256073082233229312,"note":"Value kept but may cause issues"} 
[2026-06-18 00:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781721694000,"timestamp_ms":1781721694000,"timestamp_seconds":1781721694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e37f30"} 
[2026-06-18 00:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 00:13: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-06-18 00: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-06-18 00:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120750336001,"66":27397,"83":206,"19":40704,"24":30,"16":317474911549390848,"45":7256073082233229312},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,19,24,16,45]} 
[2026-06-18 00:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120750336001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:13:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 00:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317474911549390848,"km_value":317474911549390.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7256073082233229312,"description":"Unknown IO ID 45"} 
[2026-06-18 00:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120750336001,"power":27397,"unknown_83":206,"unknown_19":40704,"ignition":30,"odometer":null,"unknown_45":7256073082233229312}} 
[2026-06-18 00:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":105272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:13:33] local.INFO: GPS data processed {"connection_id":105272,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:13:33] local.INFO: Acknowledgment sent {"connection_id":105272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:14:05] local.INFO: TCP Data received {"connection_id":105272,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e501e8012d640fc006236248000901552f..."} 
[2026-06-18 00:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e501e8012d640fc006236248000901552f..."} 
[2026-06-18 00:14:05] local.INFO: Processing buffer {"connection_id":105272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e501e8012d640fc006236248000901552f..."} 
[2026-06-18 00:14:05] local.INFO: Packet analysis {"connection_id":105272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:14:05] local.INFO: Extracted packet for processing {"connection_id":105272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:14:05] local.INFO: GPS Element Parsed {"raw_longitude":761532352,"raw_latitude":102982216,"longitude_deg":76.1532352,"latitude_deg":10.2982216,"altitude":9,"angle":341,"satellites":47,"speed":14,"hex_longitude":"2d640fc0","hex_latitude":"06236248","is_valid_coordinates":true} 
[2026-06-18 00:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120776448001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317477849307021312,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7212162985875509248,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781721793000,"timestamp_ms":1781721793000,"timestamp_seconds":1781721793,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e501e8"} 
[2026-06-18 00:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:14:05] 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-06-18 00:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 00:14: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-06-18 00:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120776448001,"66":27365,"254":206,"19":40704,"24":14,"16":317477849307021312,"45":7212162985875509248},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120776448001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:14:05] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:14:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317477849307021312,"km_value":317477849307021.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7212162985875509248,"description":"Unknown IO ID 45"} 
[2026-06-18 00:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120776448001,"power":27365,"unknown_254":206,"unknown_19":40704,"ignition":14,"odometer":null,"unknown_45":7212162985875509248}} 
[2026-06-18 00:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":105272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:14:05] local.INFO: GPS data processed {"connection_id":105272,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:14:05] local.INFO: Acknowledgment sent {"connection_id":105272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:14:32] local.INFO: TCP Data received {"connection_id":107002,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:32] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:32] local.INFO: IMEI packet received {"connection_id":107002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":107002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:14:33] local.INFO: TCP Data received {"connection_id":107002,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:33] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:33] local.INFO: IMEI packet received {"connection_id":107002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":107002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:14:36] local.INFO: TCP Data received {"connection_id":107002,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:36] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:14:36] local.INFO: IMEI packet received {"connection_id":107002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":107002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:14:38] local.INFO: TCP Data received {"connection_id":107002,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e51958012d640cc006236a38000801472e..."} 
[2026-06-18 00:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e51958012d640cc006236a38000801472e..."} 
[2026-06-18 00:14:38] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e51958012d640cc006236a38000801472e..."} 
[2026-06-18 00:14:38] local.INFO: Packet analysis {"connection_id":107002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:14:38] local.INFO: Extracted packet for processing {"connection_id":107002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:14:38] local.INFO: GPS Element Parsed {"raw_longitude":761531584,"raw_latitude":102984248,"longitude_deg":76.1531584,"latitude_deg":10.2984248,"altitude":8,"angle":327,"satellites":46,"speed":17,"hex_longitude":"2d640cc0","hex_latitude":"06236a38","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120779008001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317477952386236416,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7210192661039433728,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781721799000,"timestamp_ms":1781721799000,"timestamp_seconds":1781721799,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e51958"} 
[2026-06-18 00:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:14: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-06-18 00: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-06-18 00:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120779008001,"66":27463,"254":206,"19":40704,"24":17,"16":317477952386236416,"45":7210192661039433728},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120779008001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:14:38] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:14:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317477952386236416,"km_value":317477952386236.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7210192661039433728,"description":"Unknown IO ID 45"} 
[2026-06-18 00:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120779008001,"power":27463,"unknown_254":206,"unknown_19":40704,"ignition":17,"odometer":null,"unknown_45":7210192661039433728}} 
[2026-06-18 00:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":107002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:14:38] local.INFO: GPS data processed {"connection_id":107002,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:14:38] local.INFO: Acknowledgment sent {"connection_id":107002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:14:42] local.INFO: TCP Data received {"connection_id":107002,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e52ce0012d64084006237390000901542d..."} 
[2026-06-18 00:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e52ce0012d64084006237390000901542d..."} 
[2026-06-18 00:14:42] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e52ce0012d64084006237390000901542d..."} 
[2026-06-18 00:14:42] local.INFO: Packet analysis {"connection_id":107002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:14:42] local.INFO: Extracted packet for processing {"connection_id":107002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:14:42] local.INFO: GPS Element Parsed {"raw_longitude":761530432,"raw_latitude":102986640,"longitude_deg":76.1530432,"latitude_deg":10.298664,"altitude":9,"angle":340,"satellites":45,"speed":21,"hex_longitude":"2d640840","hex_latitude":"06237390","is_valid_coordinates":true} 
[2026-06-18 00:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120780544001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317478081235255296,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7209348236109821952,"note":"Value kept but may cause issues"} 
[2026-06-18 00:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781721804000,"timestamp_ms":1781721804000,"timestamp_seconds":1781721804,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e52ce0"} 
[2026-06-18 00:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120780544001,"66":27343,"254":206,"19":40704,"24":21,"16":317478081235255296,"45":7209348236109821952},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120780544001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:14:42] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:14:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317478081235255296,"km_value":317478081235255.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":7209348236109821952,"description":"Unknown IO ID 45"} 
[2026-06-18 00:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120780544001,"power":27343,"unknown_254":206,"unknown_19":40704,"ignition":21,"odometer":null,"unknown_45":7209348236109821952}} 
[2026-06-18 00:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":107002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:14:42] local.INFO: GPS data processed {"connection_id":107002,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:14:42] local.INFO: Acknowledgment sent {"connection_id":107002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:15:27] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:15:27] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:15:27] local.INFO: IMEI packet received {"connection_id":105501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":105501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:15:32] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:15:32] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:15:32] local.INFO: IMEI packet received {"connection_id":105501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":105501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:15:33] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e56390012d63fd80062395b80009015828..."} 
[2026-06-18 00:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e56390012d63fd80062395b80009015828..."} 
[2026-06-18 00:15:33] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e56390012d63fd80062395b80009015828..."} 
[2026-06-18 00:15:33] local.INFO: Packet analysis {"connection_id":105501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:15:33] local.INFO: Extracted packet for processing {"connection_id":105501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:15:33] local.INFO: GPS Element Parsed {"raw_longitude":761527680,"raw_latitude":102995384,"longitude_deg":76.152768,"latitude_deg":10.2995384,"altitude":9,"angle":344,"satellites":40,"speed":28,"hex_longitude":"2d63fd80","hex_latitude":"062395b8","is_valid_coordinates":true} 
[2026-06-18 00:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120781824001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317478527911854080,"note":"Value kept but may cause issues"} 
[2026-06-18 00:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7208081598715236352,"note":"Value kept but may cause issues"} 
[2026-06-18 00:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781721818000,"timestamp_ms":1781721818000,"timestamp_seconds":1781721818,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e56390"} 
[2026-06-18 00:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:15: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-06-18 00:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120781824001,"66":27376,"254":206,"19":40704,"24":28,"16":317478527911854080,"45":7208081598715236352},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120781824001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:15:33] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:15:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317478527911854080,"km_value":317478527911854.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7208081598715236352,"description":"Unknown IO ID 45"} 
[2026-06-18 00:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120781824001,"power":27376,"unknown_254":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7208081598715236352}} 
[2026-06-18 00:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":105501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:15:33] local.INFO: GPS data processed {"connection_id":105501,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:15:33] local.INFO: Acknowledgment sent {"connection_id":105501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:15:38] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e59e28012d63f4000623b898000a015a2b..."} 
[2026-06-18 00:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e59e28012d63f4000623b898000a015a2b..."} 
[2026-06-18 00:15:38] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e59e28012d63f4000623b898000a015a2b..."} 
[2026-06-18 00:15:38] local.INFO: Packet analysis {"connection_id":105501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:15:38] local.INFO: Extracted packet for processing {"connection_id":105501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:15:38] local.INFO: GPS Element Parsed {"raw_longitude":761525248,"raw_latitude":103004312,"longitude_deg":76.1525248,"latitude_deg":10.3004312,"altitude":10,"angle":346,"satellites":43,"speed":23,"hex_longitude":"2d63f400","hex_latitude":"0623b898","is_valid_coordinates":true} 
[2026-06-18 00:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120785408001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317478974588452864,"note":"Value kept but may cause issues"} 
[2026-06-18 00:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7205055742717835264,"note":"Value kept but may cause issues"} 
[2026-06-18 00:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781721833000,"timestamp_ms":1781721833000,"timestamp_seconds":1781721833,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e59e28"} 
[2026-06-18 00:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120785408001,"66":27267,"254":206,"19":40704,"24":23,"16":317478974588452864,"45":7205055742717835264},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120785408001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:15:38] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:15:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317478974588452864,"km_value":317478974588452.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7205055742717835264,"description":"Unknown IO ID 45"} 
[2026-06-18 00:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120785408001,"power":27267,"unknown_254":206,"unknown_19":40704,"ignition":23,"odometer":null,"unknown_45":7205055742717835264}} 
[2026-06-18 00:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":105501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:15:38] local.INFO: GPS data processed {"connection_id":105501,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:15:38] local.INFO: Acknowledgment sent {"connection_id":105501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:16:09] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e5d8c0012d63eac00623db60000b015b2c..."} 
[2026-06-18 00:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e5d8c0012d63eac00623db60000b015b2c..."} 
[2026-06-18 00:16:09] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e5d8c0012d63eac00623db60000b015b2c..."} 
[2026-06-18 00:16:09] local.INFO: Packet analysis {"connection_id":105501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:16:09] local.INFO: Extracted packet for processing {"connection_id":105501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e5"} 
[2026-06-18 00:16:09] local.INFO: GPS Element Parsed {"raw_longitude":761522880,"raw_latitude":103013216,"longitude_deg":76.152288,"latitude_deg":10.3013216,"altitude":11,"angle":347,"satellites":44,"speed":24,"hex_longitude":"2d63eac0","hex_latitude":"0623db60","is_valid_coordinates":true} 
[2026-06-18 00:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120789248001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317479421265051648,"note":"Value kept but may cause issues"} 
[2026-06-18 00:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7202381730441369600,"note":"Value kept but may cause issues"} 
[2026-06-18 00:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781721848000,"timestamp_ms":1781721848000,"timestamp_seconds":1781721848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e5d8c0"} 
[2026-06-18 00:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 00:16:09] 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-06-18 00:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120789248001,"66":27767,"254":206,"19":40704,"24":24,"16":317479421265051648,"45":7202381730441369600},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120789248001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:16:09] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:16:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317479421265051648,"km_value":317479421265051.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7202381730441369600,"description":"Unknown IO ID 45"} 
[2026-06-18 00:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120789248001,"power":27767,"unknown_254":206,"unknown_19":40704,"ignition":24,"odometer":null,"unknown_45":7202381730441369600}} 
[2026-06-18 00:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":105501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:16:09] local.INFO: GPS data processed {"connection_id":105501,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:16:09] local.INFO: Acknowledgment sent {"connection_id":105501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:16:27] local.INFO: TCP Data received {"connection_id":105273,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:16:27] local.INFO: Processing buffer {"connection_id":105273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:16:27] local.INFO: IMEI packet received {"connection_id":105273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":105273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:16:32] local.INFO: TCP Data received {"connection_id":105273,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:16:32] local.INFO: Processing buffer {"connection_id":105273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:16:32] local.INFO: IMEI packet received {"connection_id":105273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":105273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:16:34] local.INFO: TCP Data received {"connection_id":105273,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e61358012d63e2000623fd70000a01552f..."} 
[2026-06-18 00:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e61358012d63e2000623fd70000a01552f..."} 
[2026-06-18 00:16:34] local.INFO: Processing buffer {"connection_id":105273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e61358012d63e2000623fd70000a01552f..."} 
[2026-06-18 00:16:34] local.INFO: Packet analysis {"connection_id":105273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:16:34] local.INFO: Extracted packet for processing {"connection_id":105273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:16:34] local.INFO: GPS Element Parsed {"raw_longitude":761520640,"raw_latitude":103021936,"longitude_deg":76.152064,"latitude_deg":10.3021936,"altitude":10,"angle":341,"satellites":47,"speed":25,"hex_longitude":"2d63e200","hex_latitude":"0623fd70","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120793088001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317479859351715840,"note":"Value kept but may cause issues"} 
[2026-06-18 00:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7199778086909075456,"note":"Value kept but may cause issues"} 
[2026-06-18 00:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781721863000,"timestamp_ms":1781721863000,"timestamp_seconds":1781721863,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e61358"} 
[2026-06-18 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-06-18 00:16: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-06-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 00:16: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-06-18 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-06-18 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-06-18 00:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120793088001,"66":27223,"254":206,"19":40704,"24":25,"16":317479859351715840,"45":7199778086909075456},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120793088001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:16:34] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:16:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317479859351715840,"km_value":317479859351715.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7199778086909075456,"description":"Unknown IO ID 45"} 
[2026-06-18 00:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120793088001,"power":27223,"unknown_254":206,"unknown_19":40704,"ignition":25,"odometer":null,"unknown_45":7199778086909075456}} 
[2026-06-18 00:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":105273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:16:34] local.INFO: GPS data processed {"connection_id":105273,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:16:34] local.INFO: Acknowledgment sent {"connection_id":105273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:17:05] local.INFO: TCP Data received {"connection_id":105273,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:17:05] local.INFO: Processing buffer {"connection_id":105273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:17:05] local.INFO: Packet analysis {"connection_id":105273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:17:05] local.INFO: Extracted packet for processing {"connection_id":105273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:17:05] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103024864,"longitude_deg":76.1519552,"latitude_deg":10.3024864,"altitude":10,"angle":340,"satellites":47,"speed":8,"hex_longitude":"2d63ddc0","hex_latitude":"062408e0","is_valid_coordinates":true} 
[2026-06-18 00:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120796928001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7197315180865089536,"note":"Value kept but may cause issues"} 
[2026-06-18 00:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781721870000,"timestamp_ms":1781721870000,"timestamp_seconds":1781721870,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e62eb0"} 
[2026-06-18 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-06-18 00:17:05] 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-06-18 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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 00:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 00:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120796928001,"66":27800,"254":206,"19":40704,"24":8,"16":317480009675571200,"45":7197315180865089536},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120796928001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:17:05] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:17:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7197315180865089536,"description":"Unknown IO ID 45"} 
[2026-06-18 00:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120796928001,"power":27800,"unknown_254":206,"unknown_19":40704,"ignition":8,"odometer":null,"unknown_45":7197315180865089536}} 
[2026-06-18 00:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":105273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:17:05] local.INFO: GPS data processed {"connection_id":105273,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:17:05] local.INFO: Acknowledgment sent {"connection_id":105273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:17:26] local.INFO: TCP Data received {"connection_id":105274,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:17:26] local.INFO: Processing buffer {"connection_id":105274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:17:26] local.INFO: IMEI packet received {"connection_id":105274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":105274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:17:32] local.INFO: TCP Data received {"connection_id":105274,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:17:32] local.INFO: Processing buffer {"connection_id":105274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:17:32] local.INFO: IMEI packet received {"connection_id":105274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":105274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:17:33] local.INFO: TCP Data received {"connection_id":105274,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:17:33] local.INFO: Processing buffer {"connection_id":105274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:17:33] local.INFO: Packet analysis {"connection_id":105274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:17:33] local.INFO: Extracted packet for processing {"connection_id":105274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103024864,"longitude_deg":76.1519552,"latitude_deg":10.3024864,"altitude":10,"angle":340,"satellites":47,"speed":8,"hex_longitude":"2d63ddc0","hex_latitude":"062408e0","is_valid_coordinates":true} 
[2026-06-18 00:17: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-06-18 00:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120796928001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7197315180865089536,"note":"Value kept but may cause issues"} 
[2026-06-18 00:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781721870000,"timestamp_ms":1781721870000,"timestamp_seconds":1781721870,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e62eb0"} 
[2026-06-18 00:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 00:17:33] 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-06-18 00:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120796928001,"66":27800,"254":206,"19":40704,"24":8,"16":317480009675571200,"45":7197315180865089536},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120796928001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:17:33] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7197315180865089536,"description":"Unknown IO ID 45"} 
[2026-06-18 00:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120796928001,"power":27800,"unknown_254":206,"unknown_19":40704,"ignition":8,"odometer":null,"unknown_45":7197315180865089536}} 
[2026-06-18 00:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":105274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:17:33] local.INFO: GPS data processed {"connection_id":105274,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:17:33] local.INFO: Acknowledgment sent {"connection_id":105274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:17:50] local.INFO: TCP Data received {"connection_id":105275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:17:50] local.INFO: Processing buffer {"connection_id":105275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:17:50] local.INFO: IMEI packet received {"connection_id":105275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":105275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:18:05] local.INFO: TCP Data received {"connection_id":105274,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:18:05] local.INFO: Processing buffer {"connection_id":105274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:18:05] local.INFO: Packet analysis {"connection_id":105274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:18:05] local.INFO: Extracted packet for processing {"connection_id":105274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:18:05] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103024864,"longitude_deg":76.1519552,"latitude_deg":10.3024864,"altitude":10,"angle":340,"satellites":47,"speed":8,"hex_longitude":"2d63ddc0","hex_latitude":"062408e0","is_valid_coordinates":true} 
[2026-06-18 00:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120796928001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7197315180865089536,"note":"Value kept but may cause issues"} 
[2026-06-18 00:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781721870000,"timestamp_ms":1781721870000,"timestamp_seconds":1781721870,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e62eb0"} 
[2026-06-18 00:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:18:05] 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-06-18 00:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 00:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120796928001,"66":27800,"254":206,"19":40704,"24":8,"16":317480009675571200,"45":7197315180865089536},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120796928001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:18:05] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:18:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7197315180865089536,"description":"Unknown IO ID 45"} 
[2026-06-18 00:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120796928001,"power":27800,"unknown_254":206,"unknown_19":40704,"ignition":8,"odometer":null,"unknown_45":7197315180865089536}} 
[2026-06-18 00:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":105274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:18:05] local.INFO: GPS data processed {"connection_id":105274,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:18:05] local.INFO: Acknowledgment sent {"connection_id":105274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:18:26] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:18:26] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:18:26] local.INFO: IMEI packet received {"connection_id":105503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":105503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:18:32] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:18:32] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:18:32] local.INFO: IMEI packet received {"connection_id":105503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":105503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:18:33] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:18:33] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:18:33] local.INFO: Packet analysis {"connection_id":105503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:18:33] local.INFO: Extracted packet for processing {"connection_id":105503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:18:33] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103024864,"longitude_deg":76.1519552,"latitude_deg":10.3024864,"altitude":10,"angle":340,"satellites":47,"speed":8,"hex_longitude":"2d63ddc0","hex_latitude":"062408e0","is_valid_coordinates":true} 
[2026-06-18 00:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120796928001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7197315180865089536,"note":"Value kept but may cause issues"} 
[2026-06-18 00:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781721870000,"timestamp_ms":1781721870000,"timestamp_seconds":1781721870,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e62eb0"} 
[2026-06-18 00:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 00:18:33] 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-06-18 00:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120796928001,"66":27800,"254":206,"19":40704,"24":8,"16":317480009675571200,"45":7197315180865089536},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120796928001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:18:33] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7197315180865089536,"description":"Unknown IO ID 45"} 
[2026-06-18 00:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120796928001,"power":27800,"unknown_254":206,"unknown_19":40704,"ignition":8,"odometer":null,"unknown_45":7197315180865089536}} 
[2026-06-18 00:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":105503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:18:33] local.INFO: GPS data processed {"connection_id":105503,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:18:33] local.INFO: Acknowledgment sent {"connection_id":105503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:18:35] local.INFO: TCP Data received {"connection_id":107004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:18:35] local.INFO: Processing buffer {"connection_id":107004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:18:35] local.INFO: IMEI packet received {"connection_id":107004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":107004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:19:05] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:19:05] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:19:05] local.INFO: Packet analysis {"connection_id":105503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:19:05] local.INFO: Extracted packet for processing {"connection_id":105503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:19:05] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103024864,"longitude_deg":76.1519552,"latitude_deg":10.3024864,"altitude":10,"angle":340,"satellites":47,"speed":8,"hex_longitude":"2d63ddc0","hex_latitude":"062408e0","is_valid_coordinates":true} 
[2026-06-18 00:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120796928001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7197315180865089536,"note":"Value kept but may cause issues"} 
[2026-06-18 00:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781721870000,"timestamp_ms":1781721870000,"timestamp_seconds":1781721870,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e62eb0"} 
[2026-06-18 00:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:19:05] 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-06-18 00:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 00:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:19: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-06-18 00:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120796928001,"66":27800,"254":206,"19":40704,"24":8,"16":317480009675571200,"45":7197315180865089536},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120796928001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:19:05] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:19:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7197315180865089536,"description":"Unknown IO ID 45"} 
[2026-06-18 00:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120796928001,"power":27800,"unknown_254":206,"unknown_19":40704,"ignition":8,"odometer":null,"unknown_45":7197315180865089536}} 
[2026-06-18 00:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":105503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:19:05] local.INFO: GPS data processed {"connection_id":105503,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:19:05] local.INFO: Acknowledgment sent {"connection_id":105503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:19:26] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:19:26] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:19:26] local.INFO: IMEI packet received {"connection_id":106026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":106026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:19:32] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:19:32] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:19:32] local.INFO: IMEI packet received {"connection_id":106026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":106026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:19:34] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:19:34] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:19:34] local.INFO: Packet analysis {"connection_id":106026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:19:34] local.INFO: Extracted packet for processing {"connection_id":106026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:19:34] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103024864,"longitude_deg":76.1519552,"latitude_deg":10.3024864,"altitude":10,"angle":340,"satellites":47,"speed":8,"hex_longitude":"2d63ddc0","hex_latitude":"062408e0","is_valid_coordinates":true} 
[2026-06-18 00:19: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-06-18 00:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120796928001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7197315180865089536,"note":"Value kept but may cause issues"} 
[2026-06-18 00:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781721870000,"timestamp_ms":1781721870000,"timestamp_seconds":1781721870,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e62eb0"} 
[2026-06-18 00:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:19: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-06-18 00:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 00:19:34] 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-06-18 00:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120796928001,"66":27800,"254":206,"19":40704,"24":8,"16":317480009675571200,"45":7197315180865089536},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120796928001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:19:34] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:19:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7197315180865089536,"description":"Unknown IO ID 45"} 
[2026-06-18 00:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120796928001,"power":27800,"unknown_254":206,"unknown_19":40704,"ignition":8,"odometer":null,"unknown_45":7197315180865089536}} 
[2026-06-18 00:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":106026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:19:34] local.INFO: GPS data processed {"connection_id":106026,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:19:34] local.INFO: Acknowledgment sent {"connection_id":106026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:20:06] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:20:06] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6e62eb0012d63ddc0062408e0000a01542f..."} 
[2026-06-18 00:20:06] local.INFO: Packet analysis {"connection_id":106026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:20:06] local.INFO: Extracted packet for processing {"connection_id":106026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6e6"} 
[2026-06-18 00:20:06] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103024864,"longitude_deg":76.1519552,"latitude_deg":10.3024864,"altitude":10,"angle":340,"satellites":47,"speed":8,"hex_longitude":"2d63ddc0","hex_latitude":"062408e0","is_valid_coordinates":true} 
[2026-06-18 00:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120796928001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7197315180865089536,"note":"Value kept but may cause issues"} 
[2026-06-18 00:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781721870000,"timestamp_ms":1781721870000,"timestamp_seconds":1781721870,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6e62eb0"} 
[2026-06-18 00:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:20:06] 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-06-18 00: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 00:20:06] 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-06-18 00: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-06-18 00:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120796928001,"66":27800,"254":206,"19":40704,"24":8,"16":317480009675571200,"45":7197315180865089536},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120796928001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:20:06] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:20:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7197315180865089536,"description":"Unknown IO ID 45"} 
[2026-06-18 00:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120796928001,"power":27800,"unknown_254":206,"unknown_19":40704,"ignition":8,"odometer":null,"unknown_45":7197315180865089536}} 
[2026-06-18 00:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":106026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:20:06] local.INFO: GPS data processed {"connection_id":106026,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:20:06] local.INFO: Acknowledgment sent {"connection_id":106026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:20:32] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:20:32] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:20:32] local.INFO: IMEI packet received {"connection_id":107005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":107005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:20:37] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:20:37] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:20:37] local.INFO: IMEI packet received {"connection_id":107005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:20:37] local.INFO: IMEI acknowledgment sent {"connection_id":107005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:20:40] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ead230012d63dbc006240ad8000a01572e..."} 
[2026-06-18 00:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ead230012d63dbc006240ad8000a01572e..."} 
[2026-06-18 00:20:40] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ead230012d63dbc006240ad8000a01572e..."} 
[2026-06-18 00:20:40] local.INFO: Packet analysis {"connection_id":107005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ea"} 
[2026-06-18 00:20:40] local.INFO: Extracted packet for processing {"connection_id":107005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ea"} 
[2026-06-18 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":761519040,"raw_latitude":103025368,"longitude_deg":76.151904,"latitude_deg":10.3025368,"altitude":10,"angle":343,"satellites":46,"speed":0,"hex_longitude":"2d63dbc0","hex_latitude":"06240ad8","is_valid_coordinates":true} 
[2026-06-18 00:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120798720001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7196118912214818816,"note":"Value kept but may cause issues"} 
[2026-06-18 00:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781722174000,"timestamp_ms":1781722174000,"timestamp_seconds":1781722174,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ead230"} 
[2026-06-18 00:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 00:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 00:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120798720001,"66":25462,"254":206,"19":40704,"24":0,"16":317480009675571200,"45":7196118912214818816},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120798720001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:20:40] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:20:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7196118912214818816,"description":"Unknown IO ID 45"} 
[2026-06-18 00:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120798720001,"power":25462,"unknown_254":206,"unknown_19":40704,"ignition":0,"odometer":null,"unknown_45":7196118912214818816}} 
[2026-06-18 00:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":107005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:20:40] local.INFO: GPS data processed {"connection_id":107005,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:20:40] local.INFO: Acknowledgment sent {"connection_id":107005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:21:12] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6eb6a88012d63dbc006240ad8000a015730..."} 
[2026-06-18 00:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6eb6a88012d63dbc006240ad8000a015730..."} 
[2026-06-18 00:21:12] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6eb6a88012d63dbc006240ad8000a015730..."} 
[2026-06-18 00:21:12] local.INFO: Packet analysis {"connection_id":107005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6eb"} 
[2026-06-18 00:21:12] local.INFO: Extracted packet for processing {"connection_id":107005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6eb"} 
[2026-06-18 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":761519040,"raw_latitude":103025368,"longitude_deg":76.151904,"latitude_deg":10.3025368,"altitude":10,"angle":343,"satellites":48,"speed":0,"hex_longitude":"2d63dbc0","hex_latitude":"06240ad8","is_valid_coordinates":true} 
[2026-06-18 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120876544001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7195555962261526528,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781722213000,"timestamp_ms":1781722213000,"timestamp_seconds":1781722213,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6eb6a88"} 
[2026-06-18 00:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:21:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 00:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 00:21:12] 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-06-18 00:21:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120876544001,"66":25321,"254":206,"19":40704,"24":0,"16":317480009675571200,"45":7195555962261526528},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120876544001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:21:12] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:21:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7195555962261526528,"description":"Unknown IO ID 45"} 
[2026-06-18 00:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120876544001,"power":25321,"unknown_254":206,"unknown_19":40704,"ignition":0,"odometer":null,"unknown_45":7195555962261526528}} 
[2026-06-18 00:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":107005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:21:12] local.INFO: GPS data processed {"connection_id":107005,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:21:12] local.INFO: Acknowledgment sent {"connection_id":107005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:21:32] local.INFO: TCP Data received {"connection_id":106028,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:21:32] local.INFO: Processing buffer {"connection_id":106028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:21:32] local.INFO: IMEI packet received {"connection_id":106028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":106028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:21:34] local.INFO: TCP Data received {"connection_id":106028,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:21:34] local.INFO: Processing buffer {"connection_id":106028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:21:34] local.INFO: IMEI packet received {"connection_id":106028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":106028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:21:37] local.INFO: TCP Data received {"connection_id":106028,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ebbc90012d63dd4006240ad8000a01572f..."} 
[2026-06-18 00:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ebbc90012d63dd4006240ad8000a01572f..."} 
[2026-06-18 00:21:37] local.INFO: Processing buffer {"connection_id":106028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ebbc90012d63dd4006240ad8000a01572f..."} 
[2026-06-18 00:21:37] local.INFO: Packet analysis {"connection_id":106028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6eb"} 
[2026-06-18 00:21:37] local.INFO: Extracted packet for processing {"connection_id":106028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6eb"} 
[2026-06-18 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":761519424,"raw_latitude":103025368,"longitude_deg":76.1519424,"latitude_deg":10.3025368,"altitude":10,"angle":343,"satellites":47,"speed":0,"hex_longitude":"2d63dd40","hex_latitude":"06240ad8","is_valid_coordinates":true} 
[2026-06-18 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120886528001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7195555962261526528,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781722234000,"timestamp_ms":1781722234000,"timestamp_seconds":1781722234,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ebbc90"} 
[2026-06-18 00:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:21:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 00:21: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-06-18 00:21:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120886528001,"66":27321,"254":206,"19":40704,"24":0,"16":317480009675571200,"45":7195555962261526528},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120886528001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:21:37] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:21:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7195555962261526528,"description":"Unknown IO ID 45"} 
[2026-06-18 00:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120886528001,"power":27321,"unknown_254":206,"unknown_19":40704,"ignition":0,"odometer":null,"unknown_45":7195555962261526528}} 
[2026-06-18 00:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":106028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:21:37] local.INFO: GPS data processed {"connection_id":106028,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:21:37] local.INFO: Acknowledgment sent {"connection_id":106028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:21:38] local.INFO: TCP Data received {"connection_id":106028,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ec0e98012d63dd4006240ad8000a01572f..."} 
[2026-06-18 00:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ec0e98012d63dd4006240ad8000a01572f..."} 
[2026-06-18 00:21:38] local.INFO: Processing buffer {"connection_id":106028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ec0e98012d63dd4006240ad8000a01572f..."} 
[2026-06-18 00:21:38] local.INFO: Packet analysis {"connection_id":106028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ec"} 
[2026-06-18 00:21:38] local.INFO: Extracted packet for processing {"connection_id":106028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ec"} 
[2026-06-18 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":761519424,"raw_latitude":103025368,"longitude_deg":76.1519424,"latitude_deg":10.3025368,"altitude":10,"angle":343,"satellites":47,"speed":0,"hex_longitude":"2d63dd40","hex_latitude":"06240ad8","is_valid_coordinates":true} 
[2026-06-18 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120891904001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480009675571200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7195978174726592512,"note":"Value kept but may cause issues"} 
[2026-06-18 00:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781722255000,"timestamp_ms":1781722255000,"timestamp_seconds":1781722255,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ec0e98"} 
[2026-06-18 00:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 00:21:38] 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-06-18 00:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120891904001,"66":27300,"254":206,"19":40704,"24":0,"16":317480009675571200,"45":7195978174726592512},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,19,24,16,45]} 
[2026-06-18 00:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120891904001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:21:38] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 00:21:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480009675571200,"km_value":317480009675571.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7195978174726592512,"description":"Unknown IO ID 45"} 
[2026-06-18 00:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120891904001,"power":27300,"unknown_254":206,"unknown_19":40704,"ignition":0,"odometer":null,"unknown_45":7195978174726592512}} 
[2026-06-18 00:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":106028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:21:38] local.INFO: GPS data processed {"connection_id":106028,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:21:38] local.INFO: Acknowledgment sent {"connection_id":106028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:22:09] local.INFO: TCP Data received {"connection_id":106028,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ec31c0012d63ddc006240c080009001032..."} 
[2026-06-18 00:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ec31c0012d63ddc006240c080009001032..."} 
[2026-06-18 00:22:09] local.INFO: Processing buffer {"connection_id":106028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ec31c0012d63ddc006240c080009001032..."} 
[2026-06-18 00:22:09] local.INFO: Packet analysis {"connection_id":106028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ec"} 
[2026-06-18 00:22:09] local.INFO: Extracted packet for processing {"connection_id":106028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ec"} 
[2026-06-18 00:22:09] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103025672,"longitude_deg":76.1519552,"latitude_deg":10.3025672,"altitude":9,"angle":16,"satellites":50,"speed":5,"hex_longitude":"2d63ddc0","hex_latitude":"06240c08","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120897280001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480026855440384,"note":"Value kept but may cause issues"} 
[2026-06-18 00:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7195978174726592512,"note":"Value kept but may cause issues"} 
[2026-06-18 00:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781722264000,"timestamp_ms":1781722264000,"timestamp_seconds":1781722264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ec31c0"} 
[2026-06-18 00:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 00:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120897280001,"66":27343,"253":206,"19":40704,"24":5,"16":317480026855440384,"45":7195978174726592512},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-06-18 00:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120897280001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:22:09] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 00:22:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480026855440384,"km_value":317480026855440.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7195978174726592512,"description":"Unknown IO ID 45"} 
[2026-06-18 00:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120897280001,"power":27343,"unknown_253":206,"unknown_19":40704,"ignition":5,"odometer":null,"unknown_45":7195978174726592512}} 
[2026-06-18 00:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":106028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:22:09] local.INFO: GPS data processed {"connection_id":106028,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:22:09] local.INFO: Acknowledgment sent {"connection_id":106028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:22:23] local.INFO: TCP Data received {"connection_id":105276,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:23] local.INFO: Processing buffer {"connection_id":105276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:23] local.INFO: IMEI packet received {"connection_id":105276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":105276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:22:26] local.INFO: TCP Data received {"connection_id":105276,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:26] local.INFO: Processing buffer {"connection_id":105276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:26] local.INFO: IMEI packet received {"connection_id":105276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":105276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:22:32] local.INFO: TCP Data received {"connection_id":105276,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:32] local.INFO: Processing buffer {"connection_id":105276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:22:32] local.INFO: IMEI packet received {"connection_id":105276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":105276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:22:33] local.INFO: TCP Data received {"connection_id":105276,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ec3990012d63ddc006240dc00009016032..."} 
[2026-06-18 00:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ec3990012d63ddc006240dc00009016032..."} 
[2026-06-18 00:22:33] local.INFO: Processing buffer {"connection_id":105276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ec3990012d63ddc006240dc00009016032..."} 
[2026-06-18 00:22:33] local.INFO: Packet analysis {"connection_id":105276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ec"} 
[2026-06-18 00:22:33] local.INFO: Extracted packet for processing {"connection_id":105276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ec"} 
[2026-06-18 00:22:33] local.INFO: GPS Element Parsed {"raw_longitude":761519552,"raw_latitude":103026112,"longitude_deg":76.1519552,"latitude_deg":10.3026112,"altitude":9,"angle":352,"satellites":50,"speed":12,"hex_longitude":"2d63ddc0","hex_latitude":"06240dc0","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120899584001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480048330276864,"note":"Value kept but may cause issues"} 
[2026-06-18 00:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7196118912215025664,"note":"Value kept but may cause issues"} 
[2026-06-18 00:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781722266000,"timestamp_ms":1781722266000,"timestamp_seconds":1781722266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ec3990"} 
[2026-06-18 00:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:22: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-06-18 00: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-06-18 00:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120899584001,"66":27300,"253":206,"19":40704,"24":12,"16":317480048330276864,"45":7196118912215025664},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-06-18 00:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120899584001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:22:33] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 00:22:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480048330276864,"km_value":317480048330276.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7196118912215025664,"description":"Unknown IO ID 45"} 
[2026-06-18 00:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120899584001,"power":27300,"unknown_253":206,"unknown_19":40704,"ignition":12,"odometer":null,"unknown_45":7196118912215025664}} 
[2026-06-18 00:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":105276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:22:33] local.INFO: GPS data processed {"connection_id":105276,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:22:33] local.INFO: Acknowledgment sent {"connection_id":105276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:23:04] local.INFO: TCP Data received {"connection_id":105276,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ec7428012d63d48006243038000a01592e..."} 
[2026-06-18 00:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ec7428012d63d48006243038000a01592e..."} 
[2026-06-18 00:23:04] local.INFO: Processing buffer {"connection_id":105276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ec7428012d63d48006243038000a01592e..."} 
[2026-06-18 00:23:04] local.INFO: Packet analysis {"connection_id":105276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ec"} 
[2026-06-18 00:23:04] local.INFO: Extracted packet for processing {"connection_id":105276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ec"} 
[2026-06-18 00:23:04] local.INFO: GPS Element Parsed {"raw_longitude":761517184,"raw_latitude":103034936,"longitude_deg":76.1517184,"latitude_deg":10.3034936,"altitude":10,"angle":345,"satellites":46,"speed":31,"hex_longitude":"2d63d480","hex_latitude":"06243038","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120900096001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317480495006875648,"note":"Value kept but may cause issues"} 
[2026-06-18 00:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7196118912215138304,"note":"Value kept but may cause issues"} 
[2026-06-18 00:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781722281000,"timestamp_ms":1781722281000,"timestamp_seconds":1781722281,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ec7428"} 
[2026-06-18 00:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":164,"data_length":795,"current_offset":136} 
[2026-06-18 00:23:04] 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-06-18 00: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-06-18 00:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120900096001,"66":27397,"253":206,"19":40704,"24":31,"16":317480495006875648,"45":7196118912215138304},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-06-18 00:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120900096001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:23:04] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 00:23:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317480495006875648,"km_value":317480495006875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7196118912215138304,"description":"Unknown IO ID 45"} 
[2026-06-18 00:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120900096001,"power":27397,"unknown_253":206,"unknown_19":40704,"ignition":31,"odometer":null,"unknown_45":7196118912215138304}} 
[2026-06-18 00:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":105276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:23:04] local.INFO: GPS data processed {"connection_id":105276,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:23:04] local.INFO: Acknowledgment sent {"connection_id":105276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:23:26] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:23:26] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:23:26] local.INFO: IMEI packet received {"connection_id":107007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":107007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:23:32] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:23:32] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:23:32] local.INFO: IMEI packet received {"connection_id":107007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":107007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:23:33] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ed9150012d63bd000624bd380008001032..."} 
[2026-06-18 00:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ed9150012d63bd000624bd380008001032..."} 
[2026-06-18 00:23:33] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ed9150012d63bd000624bd380008001032..."} 
[2026-06-18 00:23:33] local.INFO: Packet analysis {"connection_id":107007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ed"} 
[2026-06-18 00:23:33] local.INFO: Extracted packet for processing {"connection_id":107007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ed"} 
[2026-06-18 00:23:33] local.INFO: GPS Element Parsed {"raw_longitude":761511168,"raw_latitude":103071032,"longitude_deg":76.1511168,"latitude_deg":10.3071032,"altitude":8,"angle":16,"satellites":50,"speed":12,"hex_longitude":"2d63bd00","hex_latitude":"0624bd38","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120922368001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317482384792485888,"note":"Value kept but may cause issues"} 
[2026-06-18 00:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186830237995118592,"note":"Value kept but may cause issues"} 
[2026-06-18 00:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781722354000,"timestamp_ms":1781722354000,"timestamp_seconds":1781722354,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ed9150"} 
[2026-06-18 00:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:23: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-06-18 00: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-06-18 00:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120922368001,"66":27376,"253":206,"19":40704,"24":12,"16":317482384792485888,"45":7186830237995118592},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-06-18 00:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120922368001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:23:33] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 00:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317482384792485888,"km_value":317482384792485.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186830237995118592,"description":"Unknown IO ID 45"} 
[2026-06-18 00:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120922368001,"power":27376,"unknown_253":206,"unknown_19":40704,"ignition":12,"odometer":null,"unknown_45":7186830237995118592}} 
[2026-06-18 00:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":107007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:23:33] local.INFO: GPS data processed {"connection_id":107007,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:23:33] local.INFO: Acknowledgment sent {"connection_id":107007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:23:50] local.INFO: TCP Data received {"connection_id":107008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:23:50] local.INFO: Processing buffer {"connection_id":107008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:23:50] local.INFO: IMEI packet received {"connection_id":107008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":107008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:24:05] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ed9920012d63bd400624bfb80009016533..."} 
[2026-06-18 00:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ed9920012d63bd400624bfb80009016533..."} 
[2026-06-18 00:24:05] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ed9920012d63bd400624bfb80009016533..."} 
[2026-06-18 00:24:05] local.INFO: Packet analysis {"connection_id":107007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ed"} 
[2026-06-18 00:24:05] local.INFO: Extracted packet for processing {"connection_id":107007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ed"} 
[2026-06-18 00:24:05] local.INFO: GPS Element Parsed {"raw_longitude":761511232,"raw_latitude":103071672,"longitude_deg":76.1511232,"latitude_deg":10.3071672,"altitude":9,"angle":357,"satellites":51,"speed":13,"hex_longitude":"2d63bd40","hex_latitude":"0624bfb8","is_valid_coordinates":true} 
[2026-06-18 00:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120922624001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317482414857256960,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186900606739363840,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781722356000,"timestamp_ms":1781722356000,"timestamp_seconds":1781722356,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ed9920"} 
[2026-06-18 00:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:24:05] 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-06-18 00:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120922624001,"66":27397,"253":206,"19":40704,"24":13,"16":317482414857256960,"45":7186900606739363840},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-06-18 00:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120922624001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:24:05] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 00:24:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317482414857256960,"km_value":317482414857256.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186900606739363840,"description":"Unknown IO ID 45"} 
[2026-06-18 00:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120922624001,"power":27397,"unknown_253":206,"unknown_19":40704,"ignition":13,"odometer":null,"unknown_45":7186900606739363840}} 
[2026-06-18 00:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":107007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:24:05] local.INFO: GPS data processed {"connection_id":107007,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:24:05] local.INFO: Acknowledgment sent {"connection_id":107007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:24:26] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:26] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:26] local.INFO: IMEI packet received {"connection_id":106029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":106029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:24:30] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:30] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:30] local.INFO: IMEI packet received {"connection_id":106029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":106029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:24:32] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:32] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:24:32] local.INFO: IMEI packet received {"connection_id":106029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":106029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:24:33] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6eda4d8012d63bcc00624c4000009015833..."} 
[2026-06-18 00:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6eda4d8012d63bcc00624c4000009015833..."} 
[2026-06-18 00:24:33] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6eda4d8012d63bcc00624c4000009015833..."} 
[2026-06-18 00:24:33] local.INFO: Packet analysis {"connection_id":106029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ed"} 
[2026-06-18 00:24:33] local.INFO: Extracted packet for processing {"connection_id":106029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ed"} 
[2026-06-18 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":761511104,"raw_latitude":103072768,"longitude_deg":76.1511104,"latitude_deg":10.3072768,"altitude":9,"angle":344,"satellites":51,"speed":17,"hex_longitude":"2d63bcc0","hex_latitude":"0624c400","is_valid_coordinates":true} 
[2026-06-18 00:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120923136001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317482466396864512,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186970975483705344,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781722359000,"timestamp_ms":1781722359000,"timestamp_seconds":1781722359,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6eda4d8"} 
[2026-06-18 00:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 00:24: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-06-18 00:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120923136001,"66":27137,"253":206,"19":40704,"24":17,"16":317482466396864512,"45":7186970975483705344},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-06-18 00:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120923136001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:24:33] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 00:24:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317482466396864512,"km_value":317482466396864.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186970975483705344,"description":"Unknown IO ID 45"} 
[2026-06-18 00:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120923136001,"power":27137,"unknown_253":206,"unknown_19":40704,"ignition":17,"odometer":null,"unknown_45":7186970975483705344}} 
[2026-06-18 00:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":106029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:24:33] local.INFO: GPS data processed {"connection_id":106029,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:24:33] local.INFO: Acknowledgment sent {"connection_id":106029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:24:34] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6eddf70012d63b1000624e538000a015330..."} 
[2026-06-18 00:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6eddf70012d63b1000624e538000a015330..."} 
[2026-06-18 00:24:34] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6eddf70012d63b1000624e538000a015330..."} 
[2026-06-18 00:24:34] local.INFO: Packet analysis {"connection_id":106029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ed"} 
[2026-06-18 00:24:34] local.INFO: Extracted packet for processing {"connection_id":106029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ed"} 
[2026-06-18 00:24:34] local.INFO: GPS Element Parsed {"raw_longitude":761508096,"raw_latitude":103081272,"longitude_deg":76.1508096,"latitude_deg":10.3081272,"altitude":10,"angle":339,"satellites":48,"speed":28,"hex_longitude":"2d63b100","hex_latitude":"0624e538","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120923904001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317482904483528704,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7186830237995630592,"note":"Value kept but may cause issues"} 
[2026-06-18 00:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781722374000,"timestamp_ms":1781722374000,"timestamp_seconds":1781722374,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6eddf70"} 
[2026-06-18 00:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:24: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-06-18 00: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-06-18 00:24:34] 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-06-18 00: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-06-18 00:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120923904001,"66":27463,"253":206,"19":40704,"24":28,"16":317482904483528704,"45":7186830237995630592},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,19,24,16,45]} 
[2026-06-18 00:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120923904001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:24:34] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 00:24:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40704,"description":"Unknown IO ID 19"} 
[2026-06-18 00:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317482904483528704,"km_value":317482904483528.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7186830237995630592,"description":"Unknown IO ID 45"} 
[2026-06-18 00:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120923904001,"power":27463,"unknown_253":206,"unknown_19":40704,"ignition":28,"odometer":null,"unknown_45":7186830237995630592}} 
[2026-06-18 00:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":106029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:24:34] local.INFO: GPS data processed {"connection_id":106029,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:24:34] local.INFO: Acknowledgment sent {"connection_id":106029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:24:35] local.INFO: TCP Data received {"connection_id":105278,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:24:35] local.INFO: Processing buffer {"connection_id":105278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:24:35] local.INFO: IMEI packet received {"connection_id":105278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":105278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:25:05] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ef1fc0012d6324c00625f748000a014c2c..."} 
[2026-06-18 00:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ef1fc0012d6324c00625f748000a014c2c..."} 
[2026-06-18 00:25:05] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ef1fc0012d6324c00625f748000a014c2c..."} 
[2026-06-18 00:25:05] local.INFO: Packet analysis {"connection_id":106029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:25:05] local.INFO: Extracted packet for processing {"connection_id":106029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:25:05] local.INFO: GPS Element Parsed {"raw_longitude":761472192,"raw_latitude":103151432,"longitude_deg":76.1472192,"latitude_deg":10.3151432,"altitude":10,"angle":332,"satellites":44,"speed":46,"hex_longitude":"2d6324c0","hex_latitude":"0625f748","is_valid_coordinates":true} 
[2026-06-18 00:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120946688001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317486774249062400,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7148971853646151680,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781722456000,"timestamp_ms":1781722456000,"timestamp_seconds":1781722456,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ef1fc0"} 
[2026-06-18 00:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:25:05] 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-06-18 00:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120946688001,"66":27463,"11":206,"19":40192,"24":46,"16":317486774249062400,"45":7148971853646151680},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-06-18 00:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120946688001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:25:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 00:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317486774249062400,"km_value":317486774249062.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7148971853646151680,"description":"Unknown IO ID 45"} 
[2026-06-18 00:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120946688001,"power":27463,"unknown_11":206,"unknown_19":40192,"ignition":46,"odometer":null,"unknown_45":7148971853646151680}} 
[2026-06-18 00:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":106029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:25:05] local.INFO: GPS data processed {"connection_id":106029,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:25:05] local.INFO: Acknowledgment sent {"connection_id":106029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:25:31] local.INFO: TCP Data received {"connection_id":105280,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:25:31] local.INFO: Processing buffer {"connection_id":105280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:25:31] local.INFO: IMEI packet received {"connection_id":105280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":105280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:25:36] local.INFO: TCP Data received {"connection_id":105280,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:25:36] local.INFO: Processing buffer {"connection_id":105280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:25:36] local.INFO: IMEI packet received {"connection_id":105280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":105280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:25:37] local.INFO: TCP Data received {"connection_id":105280,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ef3f00012d63170006261ac0000a01582b..."} 
[2026-06-18 00:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ef3f00012d63170006261ac0000a01582b..."} 
[2026-06-18 00:25:37] local.INFO: Processing buffer {"connection_id":105280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ef3f00012d63170006261ac0000a01582b..."} 
[2026-06-18 00:25:37] local.INFO: Packet analysis {"connection_id":105280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:25:37] local.INFO: Extracted packet for processing {"connection_id":105280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:25:37] local.INFO: GPS Element Parsed {"raw_longitude":761468672,"raw_latitude":103160512,"longitude_deg":76.1468672,"latitude_deg":10.3160512,"altitude":10,"angle":344,"satellites":43,"speed":48,"hex_longitude":"2d631700","hex_latitude":"06261ac0","is_valid_coordinates":true} 
[2026-06-18 00:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120948736001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317487246695464960,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7144046041555748864,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781722464000,"timestamp_ms":1781722464000,"timestamp_seconds":1781722464,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ef3f00"} 
[2026-06-18 00:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120948736001,"66":27365,"12":206,"19":40192,"24":48,"16":317487246695464960,"45":7144046041555748864},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 00:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120948736001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:25:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 00:25:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317487246695464960,"km_value":317487246695464.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7144046041555748864,"description":"Unknown IO ID 45"} 
[2026-06-18 00:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120948736001,"power":27365,"unknown_12":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":7144046041555748864}} 
[2026-06-18 00:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":105280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:25:37] local.INFO: GPS data processed {"connection_id":105280,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:25:37] local.INFO: Acknowledgment sent {"connection_id":105280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:25:38] local.INFO: TCP Data received {"connection_id":105280,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ef3f00012d63170006261ac0000a01582b..."} 
[2026-06-18 00:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ef3f00012d63170006261ac0000a01582b..."} 
[2026-06-18 00:25:38] local.INFO: Processing buffer {"connection_id":105280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ef3f00012d63170006261ac0000a01582b..."} 
[2026-06-18 00:25:38] local.INFO: Packet analysis {"connection_id":105280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:25:38] local.INFO: Extracted packet for processing {"connection_id":105280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:25:38] local.INFO: GPS Element Parsed {"raw_longitude":761468672,"raw_latitude":103160512,"longitude_deg":76.1468672,"latitude_deg":10.3160512,"altitude":10,"angle":344,"satellites":43,"speed":48,"hex_longitude":"2d631700","hex_latitude":"06261ac0","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120950784001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317487246695464960,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7140175760628301824,"note":"Value kept but may cause issues"} 
[2026-06-18 00:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781722464000,"timestamp_ms":1781722464000,"timestamp_seconds":1781722464,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ef3f00"} 
[2026-06-18 00:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00: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-06-18 00: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-06-18 00:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120950784001,"66":27365,"12":206,"19":40192,"24":48,"16":317487246695464960,"45":7140175760628301824},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 00:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120950784001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:25:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 00:25:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317487246695464960,"km_value":317487246695464.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7140175760628301824,"description":"Unknown IO ID 45"} 
[2026-06-18 00:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120950784001,"power":27365,"unknown_12":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":7140175760628301824}} 
[2026-06-18 00:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":105280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:25:38] local.INFO: GPS data processed {"connection_id":105280,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:25:38] local.INFO: Acknowledgment sent {"connection_id":105280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:26:10] local.INFO: TCP Data received {"connection_id":105280,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ef5e40012d630d8006263fc8000a01552c..."} 
[2026-06-18 00:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ef5e40012d630d8006263fc8000a01552c..."} 
[2026-06-18 00:26:10] local.INFO: Processing buffer {"connection_id":105280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ef5e40012d630d8006263fc8000a01552c..."} 
[2026-06-18 00:26:10] local.INFO: Packet analysis {"connection_id":105280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:26:10] local.INFO: Extracted packet for processing {"connection_id":105280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:26:10] local.INFO: GPS Element Parsed {"raw_longitude":761466240,"raw_latitude":103169992,"longitude_deg":76.146624,"latitude_deg":10.3169992,"altitude":10,"angle":341,"satellites":44,"speed":48,"hex_longitude":"2d630d80","hex_latitude":"06263fc8","is_valid_coordinates":true} 
[2026-06-18 00:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120950784001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317487719141867520,"note":"Value kept but may cause issues"} 
[2026-06-18 00:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7140175760628301824,"note":"Value kept but may cause issues"} 
[2026-06-18 00:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781722472000,"timestamp_ms":1781722472000,"timestamp_seconds":1781722472,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ef5e40"} 
[2026-06-18 00:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:26:10] 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-06-18 00:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120950784001,"66":27484,"12":206,"19":40192,"24":48,"16":317487719141867520,"45":7140175760628301824},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 00:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120950784001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:26:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 00:26:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317487719141867520,"km_value":317487719141867.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7140175760628301824,"description":"Unknown IO ID 45"} 
[2026-06-18 00:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120950784001,"power":27484,"unknown_12":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":7140175760628301824}} 
[2026-06-18 00:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":105280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:26:10] local.INFO: GPS data processed {"connection_id":105280,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:26:10] local.INFO: Acknowledgment sent {"connection_id":105280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:26:24] local.INFO: TCP Data received {"connection_id":105282,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:24] local.INFO: Processing buffer {"connection_id":105282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:24] local.INFO: IMEI packet received {"connection_id":105282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":105282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:26:26] local.INFO: TCP Data received {"connection_id":105282,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:26] local.INFO: Processing buffer {"connection_id":105282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:26] local.INFO: IMEI packet received {"connection_id":105282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":105282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:26:31] local.INFO: TCP Data received {"connection_id":105282,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:31] local.INFO: Processing buffer {"connection_id":105282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:26:31] local.INFO: IMEI packet received {"connection_id":105282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":105282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:26:33] local.INFO: TCP Data received {"connection_id":105282,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ef7d80012d62ff0006266218000a015130..."} 
[2026-06-18 00:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ef7d80012d62ff0006266218000a015130..."} 
[2026-06-18 00:26:33] local.INFO: Processing buffer {"connection_id":105282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ef7d80012d62ff0006266218000a015130..."} 
[2026-06-18 00:26:33] local.INFO: Packet analysis {"connection_id":105282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:26:33] local.INFO: Extracted packet for processing {"connection_id":105282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ef"} 
[2026-06-18 00:26:33] local.INFO: GPS Element Parsed {"raw_longitude":761462528,"raw_latitude":103178776,"longitude_deg":76.1462528,"latitude_deg":10.3178776,"altitude":10,"angle":337,"satellites":48,"speed":46,"hex_longitude":"2d62ff00","hex_latitude":"06266218","is_valid_coordinates":true} 
[2026-06-18 00:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120952832001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317488178703368192,"note":"Value kept but may cause issues"} 
[2026-06-18 00:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7137501748351977472,"note":"Value kept but may cause issues"} 
[2026-06-18 00:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781722480000,"timestamp_ms":1781722480000,"timestamp_seconds":1781722480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ef7d80"} 
[2026-06-18 00:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 00:26: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-06-18 00: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-06-18 00:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120952832001,"66":27397,"12":206,"19":40192,"24":46,"16":317488178703368192,"45":7137501748351977472},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 00:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120952832001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:26:33] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 00:26:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317488178703368192,"km_value":317488178703368.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7137501748351977472,"description":"Unknown IO ID 45"} 
[2026-06-18 00:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120952832001,"power":27397,"unknown_12":206,"unknown_19":40192,"ignition":46,"odometer":null,"unknown_45":7137501748351977472}} 
[2026-06-18 00:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":105282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:26:33] local.INFO: GPS data processed {"connection_id":105282,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:26:33] local.INFO: Acknowledgment sent {"connection_id":105282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:27:05] local.INFO: TCP Data received {"connection_id":105282,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f0e8c8012d627e00062797080009014926..."} 
[2026-06-18 00:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f0e8c8012d627e00062797080009014926..."} 
[2026-06-18 00:27:05] local.INFO: Processing buffer {"connection_id":105282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f0e8c8012d627e00062797080009014926..."} 
[2026-06-18 00:27:05] local.INFO: Packet analysis {"connection_id":105282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f0"} 
[2026-06-18 00:27:05] local.INFO: Extracted packet for processing {"connection_id":105282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f0"} 
[2026-06-18 00:27:05] local.INFO: GPS Element Parsed {"raw_longitude":761429504,"raw_latitude":103257864,"longitude_deg":76.1429504,"latitude_deg":10.3257864,"altitude":9,"angle":329,"satellites":38,"speed":10,"hex_longitude":"2d627e00","hex_latitude":"06279708","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120978432001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317492430720991232,"note":"Value kept but may cause issues"} 
[2026-06-18 00:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097180457960617984,"note":"Value kept but may cause issues"} 
[2026-06-18 00:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781722573000,"timestamp_ms":1781722573000,"timestamp_seconds":1781722573,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f0e8c8"} 
[2026-06-18 00:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":174,"data_length":795,"current_offset":136} 
[2026-06-18 00:27:05] 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-06-18 00: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-06-18 00:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120978432001,"66":27267,"13":206,"19":40192,"24":10,"16":317492430720991232,"45":7097180457960617984},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-06-18 00:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120978432001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:27:05] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 00:27:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317492430720991232,"km_value":317492430720991.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097180457960617984,"description":"Unknown IO ID 45"} 
[2026-06-18 00:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120978432001,"power":27267,"unknown_13":206,"unknown_19":40192,"ignition":10,"odometer":null,"unknown_45":7097180457960617984}} 
[2026-06-18 00:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":105282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:27:05] local.INFO: GPS data processed {"connection_id":105282,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:27:05] local.INFO: Acknowledgment sent {"connection_id":105282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:27:26] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:27:26] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:27:26] local.INFO: IMEI packet received {"connection_id":106030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":106030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:27:32] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:27:32] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:27:32] local.INFO: IMEI packet received {"connection_id":106030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":106030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:27:34] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f0f098012d627d40062798f00008015829..."} 
[2026-06-18 00:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f0f098012d627d40062798f00008015829..."} 
[2026-06-18 00:27:34] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f0f098012d627d40062798f00008015829..."} 
[2026-06-18 00:27:34] local.INFO: Packet analysis {"connection_id":106030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f0"} 
[2026-06-18 00:27:34] local.INFO: Extracted packet for processing {"connection_id":106030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f0"} 
[2026-06-18 00:27:34] local.INFO: GPS Element Parsed {"raw_longitude":761429312,"raw_latitude":103258352,"longitude_deg":76.1429312,"latitude_deg":10.3258352,"altitude":8,"angle":344,"satellites":41,"speed":9,"hex_longitude":"2d627d40","hex_latitude":"062798f0","is_valid_coordinates":true} 
[2026-06-18 00:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120978688001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317492456490795008,"note":"Value kept but may cause issues"} 
[2026-06-18 00:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097110089216493568,"note":"Value kept but may cause issues"} 
[2026-06-18 00:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781722575000,"timestamp_ms":1781722575000,"timestamp_seconds":1781722575,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f0f098"} 
[2026-06-18 00:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:27: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-06-18 00:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 00:27: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-06-18 00:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120978688001,"66":27343,"13":206,"19":40192,"24":9,"16":317492456490795008,"45":7097110089216493568},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-06-18 00:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120978688001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:27:34] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 00:27:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317492456490795008,"km_value":317492456490795.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097110089216493568,"description":"Unknown IO ID 45"} 
[2026-06-18 00:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120978688001,"power":27343,"unknown_13":206,"unknown_19":40192,"ignition":9,"odometer":null,"unknown_45":7097110089216493568}} 
[2026-06-18 00:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":106030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:27:34] local.INFO: GPS data processed {"connection_id":106030,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:27:34] local.INFO: Acknowledgment sent {"connection_id":106030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:28:06] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f0fc50012d627c8006279c380007016426..."} 
[2026-06-18 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f0fc50012d627c8006279c380007016426..."} 
[2026-06-18 00:28:06] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f0fc50012d627c8006279c380007016426..."} 
[2026-06-18 00:28:06] local.INFO: Packet analysis {"connection_id":106030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f0"} 
[2026-06-18 00:28:06] local.INFO: Extracted packet for processing {"connection_id":106030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f0"} 
[2026-06-18 00:28:06] local.INFO: GPS Element Parsed {"raw_longitude":761429120,"raw_latitude":103259192,"longitude_deg":76.142912,"latitude_deg":10.3259192,"altitude":7,"angle":356,"satellites":38,"speed":13,"hex_longitude":"2d627c80","hex_latitude":"06279c38","is_valid_coordinates":true} 
[2026-06-18 00:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120979200001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317492499440467968,"note":"Value kept but may cause issues"} 
[2026-06-18 00:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096898982984085504,"note":"Value kept but may cause issues"} 
[2026-06-18 00:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781722578000,"timestamp_ms":1781722578000,"timestamp_seconds":1781722578,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f0fc50"} 
[2026-06-18 00:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:28:06] 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-06-18 00:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:28: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-06-18 00:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:28:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120979200001,"66":27332,"13":206,"19":40192,"24":13,"16":317492499440467968,"45":7096898982984085504},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-06-18 00:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120979200001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:28:06] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 00:28:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317492499440467968,"km_value":317492499440467.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096898982984085504,"description":"Unknown IO ID 45"} 
[2026-06-18 00:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120979200001,"power":27332,"unknown_13":206,"unknown_19":40192,"ignition":13,"odometer":null,"unknown_45":7096898982984085504}} 
[2026-06-18 00:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":106030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:28:06] local.INFO: GPS data processed {"connection_id":106030,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:28:06] local.INFO: Acknowledgment sent {"connection_id":106030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:28:26] local.INFO: TCP Data received {"connection_id":105506,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:28:26] local.INFO: Processing buffer {"connection_id":105506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:28:26] local.INFO: IMEI packet received {"connection_id":105506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":105506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:28:30] local.INFO: TCP Data received {"connection_id":105506,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:28:30] local.INFO: Processing buffer {"connection_id":105506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:28:30] local.INFO: IMEI packet received {"connection_id":105506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":105506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:28:31] local.INFO: TCP Data received {"connection_id":105506,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f11f78012d6278c00627af000006015728..."} 
[2026-06-18 00:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f11f78012d6278c00627af000006015728..."} 
[2026-06-18 00:28:31] local.INFO: Processing buffer {"connection_id":105506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f11f78012d6278c00627af000006015728..."} 
[2026-06-18 00:28:31] local.INFO: Packet analysis {"connection_id":105506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f1"} 
[2026-06-18 00:28:31] local.INFO: Extracted packet for processing {"connection_id":105506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f1"} 
[2026-06-18 00:28:31] local.INFO: GPS Element Parsed {"raw_longitude":761428160,"raw_latitude":103264000,"longitude_deg":76.142816,"latitude_deg":10.3264,"altitude":6,"angle":343,"satellites":40,"speed":25,"hex_longitude":"2d6278c0","hex_latitude":"0627af00","is_valid_coordinates":true} 
[2026-06-18 00:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120979968001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317492735663669248,"note":"Value kept but may cause issues"} 
[2026-06-18 00:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7096687876751767552,"note":"Value kept but may cause issues"} 
[2026-06-18 00:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781722587000,"timestamp_ms":1781722587000,"timestamp_seconds":1781722587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f11f78"} 
[2026-06-18 00:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:28: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-06-18 00:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:28: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-06-18 00:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120979968001,"66":27397,"13":206,"19":40192,"24":25,"16":317492735663669248,"45":7096687876751767552},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-06-18 00:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120979968001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:28:31] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 00:28:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317492735663669248,"km_value":317492735663669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7096687876751767552,"description":"Unknown IO ID 45"} 
[2026-06-18 00:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120979968001,"power":27397,"unknown_13":206,"unknown_19":40192,"ignition":25,"odometer":null,"unknown_45":7096687876751767552}} 
[2026-06-18 00:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":105506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:28:31] local.INFO: GPS data processed {"connection_id":105506,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:28:31] local.INFO: Acknowledgment sent {"connection_id":105506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:29:02] local.INFO: TCP Data received {"connection_id":105506,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f15628012d626c400627d0b80005015524..."} 
[2026-06-18 00:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f15628012d626c400627d0b80005015524..."} 
[2026-06-18 00:29:02] local.INFO: Processing buffer {"connection_id":105506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f15628012d626c400627d0b80005015524..."} 
[2026-06-18 00:29:02] local.INFO: Packet analysis {"connection_id":105506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f1"} 
[2026-06-18 00:29:02] local.INFO: Extracted packet for processing {"connection_id":105506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f1"} 
[2026-06-18 00:29:02] local.INFO: GPS Element Parsed {"raw_longitude":761424960,"raw_latitude":103272632,"longitude_deg":76.142496,"latitude_deg":10.3272632,"altitude":5,"angle":341,"satellites":36,"speed":17,"hex_longitude":"2d626c40","hex_latitude":"0627d0b8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456120982272001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317493182340268032,"note":"Value kept but may cause issues"} 
[2026-06-18 00:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7095632345590333440,"note":"Value kept but may cause issues"} 
[2026-06-18 00:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781722601000,"timestamp_ms":1781722601000,"timestamp_seconds":1781722601,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f15628"} 
[2026-06-18 00:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 00:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456120982272001,"66":27463,"13":206,"19":40192,"24":17,"16":317493182340268032,"45":7095632345590333440},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-06-18 00:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456120982272001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:29:02] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 00:29:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317493182340268032,"km_value":317493182340268.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7095632345590333440,"description":"Unknown IO ID 45"} 
[2026-06-18 00:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456120982272001,"power":27463,"unknown_13":206,"unknown_19":40192,"ignition":17,"odometer":null,"unknown_45":7095632345590333440}} 
[2026-06-18 00:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":105506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:29:02] local.INFO: GPS data processed {"connection_id":105506,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:29:02] local.INFO: Acknowledgment sent {"connection_id":105506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:29:26] local.INFO: TCP Data received {"connection_id":105284,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:26] local.INFO: Processing buffer {"connection_id":105284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:26] local.INFO: IMEI packet received {"connection_id":105284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":105284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:29:29] local.INFO: TCP Data received {"connection_id":105284,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:29] local.INFO: Processing buffer {"connection_id":105284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:29] local.INFO: IMEI packet received {"connection_id":105284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":105284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:29:32] local.INFO: TCP Data received {"connection_id":105284,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:32] local.INFO: Processing buffer {"connection_id":105284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:29:32] local.INFO: IMEI packet received {"connection_id":105284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":105284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:29:33] local.INFO: TCP Data received {"connection_id":105284,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f2f820012d61dd80062913b8000c014d2f..."} 
[2026-06-18 00:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f2f820012d61dd80062913b8000c014d2f..."} 
[2026-06-18 00:29:33] local.INFO: Processing buffer {"connection_id":105284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f2f820012d61dd80062913b8000c014d2f..."} 
[2026-06-18 00:29:33] local.INFO: Packet analysis {"connection_id":105284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f2"} 
[2026-06-18 00:29:33] local.INFO: Extracted packet for processing {"connection_id":105284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f2"} 
[2026-06-18 00:29:33] local.INFO: GPS Element Parsed {"raw_longitude":761388416,"raw_latitude":103355320,"longitude_deg":76.1388416,"latitude_deg":10.335532,"altitude":12,"angle":333,"satellites":47,"speed":47,"hex_longitude":"2d61dd80","hex_latitude":"062913b8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121011200001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317497567501877248,"note":"Value kept but may cause issues"} 
[2026-06-18 00:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7056366586360502272,"note":"Value kept but may cause issues"} 
[2026-06-18 00:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781722708000,"timestamp_ms":1781722708000,"timestamp_seconds":1781722708,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f2f820"} 
[2026-06-18 00:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121011200001,"66":27343,"71":206,"19":40192,"24":47,"16":317497567501877248,"45":7056366586360502272},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,19,24,16,45]} 
[2026-06-18 00:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121011200001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:29:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 00:29:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317497567501877248,"km_value":317497567501877.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7056366586360502272,"description":"Unknown IO ID 45"} 
[2026-06-18 00:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121011200001,"power":27343,"unknown_71":206,"unknown_19":40192,"ignition":47,"odometer":null,"unknown_45":7056366586360502272}} 
[2026-06-18 00:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":105284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:29:33] local.INFO: GPS data processed {"connection_id":105284,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:29:33] local.INFO: Acknowledgment sent {"connection_id":105284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:30:00] local.INFO: TCP Data received {"connection_id":106031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:30:00] local.INFO: Processing buffer {"connection_id":106031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:30:00] local.INFO: IMEI packet received {"connection_id":106031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":106031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:30:05] local.INFO: TCP Data received {"connection_id":105284,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f31760012d61cd00062936e8000c015030..."} 
[2026-06-18 00:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f31760012d61cd00062936e8000c015030..."} 
[2026-06-18 00:30:05] local.INFO: Processing buffer {"connection_id":105284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f31760012d61cd00062936e8000c015030..."} 
[2026-06-18 00:30:05] local.INFO: Packet analysis {"connection_id":105284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f3"} 
[2026-06-18 00:30:05] local.INFO: Extracted packet for processing {"connection_id":105284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f3"} 
[2026-06-18 00:30:05] local.INFO: GPS Element Parsed {"raw_longitude":761384192,"raw_latitude":103364328,"longitude_deg":76.1384192,"latitude_deg":10.3364328,"altitude":12,"angle":336,"satellites":48,"speed":50,"hex_longitude":"2d61cd00","hex_latitude":"062936e8","is_valid_coordinates":true} 
[2026-06-18 00:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121013248001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317498048538214400,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7051933355479382016,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781722716000,"timestamp_ms":1781722716000,"timestamp_seconds":1781722716,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f31760"} 
[2026-06-18 00:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121013248001,"66":27343,"71":206,"19":40192,"24":50,"16":317498048538214400,"45":7051933355479382016},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,19,24,16,45]} 
[2026-06-18 00:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121013248001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:30:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 00:30:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317498048538214400,"km_value":317498048538214.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7051933355479382016,"description":"Unknown IO ID 45"} 
[2026-06-18 00:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121013248001,"power":27343,"unknown_71":206,"unknown_19":40192,"ignition":50,"odometer":null,"unknown_45":7051933355479382016}} 
[2026-06-18 00:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":105284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:30:05] local.INFO: GPS data processed {"connection_id":105284,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:30:05] local.INFO: Acknowledgment sent {"connection_id":105284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:30:28] local.INFO: TCP Data received {"connection_id":107009,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:28] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:28] local.INFO: IMEI packet received {"connection_id":107009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":107009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:30:32] local.INFO: TCP Data received {"connection_id":107009,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:32] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:32] local.INFO: IMEI packet received {"connection_id":107009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":107009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:30:35] local.INFO: TCP Data received {"connection_id":107010,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:30:35] local.INFO: Processing buffer {"connection_id":107010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:30:35] local.INFO: IMEI packet received {"connection_id":107010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":107010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:30:37] local.INFO: TCP Data received {"connection_id":107009,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:37] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:30:37] local.INFO: IMEI packet received {"connection_id":107009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:30:37] local.INFO: IMEI acknowledgment sent {"connection_id":107009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:30:38] local.INFO: TCP Data received {"connection_id":107009,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f332b8012d61bf80062958d80009015430..."} 
[2026-06-18 00:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f332b8012d61bf80062958d80009015430..."} 
[2026-06-18 00:30:38] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f332b8012d61bf80062958d80009015430..."} 
[2026-06-18 00:30:38] local.INFO: Packet analysis {"connection_id":107009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f3"} 
[2026-06-18 00:30:38] local.INFO: Extracted packet for processing {"connection_id":107009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f3"} 
[2026-06-18 00:30:38] local.INFO: GPS Element Parsed {"raw_longitude":761380736,"raw_latitude":103373016,"longitude_deg":76.1380736,"latitude_deg":10.3373016,"altitude":9,"angle":340,"satellites":48,"speed":53,"hex_longitude":"2d61bf80","hex_latitude":"062958d8","is_valid_coordinates":true} 
[2026-06-18 00:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:30:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121015296001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317498499509780480,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7047289018365962240,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:30:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781722723000,"timestamp_ms":1781722723000,"timestamp_seconds":1781722723,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f332b8"} 
[2026-06-18 00:30:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:30:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:30:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:30: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-06-18 00:30:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:30:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:30:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:30:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:30:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:30:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:30:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:30:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:30:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:30:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121015296001,"66":27104,"71":206,"19":40192,"24":53,"16":317498499509780480,"45":7047289018365962240},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,19,24,16,45]} 
[2026-06-18 00:30:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:30:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:30:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121015296001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:30:38] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 00:30:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:30:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317498499509780480,"km_value":317498499509780.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:30:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":7047289018365962240,"description":"Unknown IO ID 45"} 
[2026-06-18 00:30:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121015296001,"power":27104,"unknown_71":206,"unknown_19":40192,"ignition":53,"odometer":null,"unknown_45":7047289018365962240}} 
[2026-06-18 00:30:38] local.INFO: DEBUG: GPS processor result {"connection_id":107009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:30:38] local.INFO: GPS data processed {"connection_id":107009,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:30:38] local.INFO: Acknowledgment sent {"connection_id":107009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:30:39] local.INFO: TCP Data received {"connection_id":107009,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f34e10012d61b38006297c980006015530..."} 
[2026-06-18 00:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f34e10012d61b38006297c980006015530..."} 
[2026-06-18 00:30:39] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f34e10012d61b38006297c980006015530..."} 
[2026-06-18 00:30:39] local.INFO: Packet analysis {"connection_id":107009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f3"} 
[2026-06-18 00:30:39] local.INFO: Extracted packet for processing {"connection_id":107009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f3"} 
[2026-06-18 00:30:39] local.INFO: GPS Element Parsed {"raw_longitude":761377664,"raw_latitude":103382168,"longitude_deg":76.1377664,"latitude_deg":10.3382168,"altitude":6,"angle":341,"satellites":48,"speed":55,"hex_longitude":"2d61b380","hex_latitude":"06297c98","is_valid_coordinates":true} 
[2026-06-18 00:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121017088001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317498967661215744,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7043489106182592512,"note":"Value kept but may cause issues"} 
[2026-06-18 00:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781722730000,"timestamp_ms":1781722730000,"timestamp_seconds":1781722730,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f34e10"} 
[2026-06-18 00:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-18 00:30:39] 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-06-18 00:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121017088001,"66":27267,"71":206,"19":40192,"24":55,"16":317498967661215744,"45":7043489106182592512},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,19,24,16,45]} 
[2026-06-18 00:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121017088001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:30:39] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 00:30:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317498967661215744,"km_value":317498967661215.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7043489106182592512,"description":"Unknown IO ID 45"} 
[2026-06-18 00:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121017088001,"power":27267,"unknown_71":206,"unknown_19":40192,"ignition":55,"odometer":null,"unknown_45":7043489106182592512}} 
[2026-06-18 00:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":107009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:30:39] local.INFO: GPS data processed {"connection_id":107009,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:30:39] local.INFO: Acknowledgment sent {"connection_id":107009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:31:12] local.INFO: TCP Data received {"connection_id":107009,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f36968012d61a78006299ff80006015630..."} 
[2026-06-18 00:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f36968012d61a78006299ff80006015630..."} 
[2026-06-18 00:31:12] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f36968012d61a78006299ff80006015630..."} 
[2026-06-18 00:31:12] local.INFO: Packet analysis {"connection_id":107009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f3"} 
[2026-06-18 00:31:12] local.INFO: Extracted packet for processing {"connection_id":107009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f3"} 
[2026-06-18 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":761374592,"raw_latitude":103391224,"longitude_deg":76.1374592,"latitude_deg":10.3391224,"altitude":6,"angle":342,"satellites":48,"speed":52,"hex_longitude":"2d61a780","hex_latitude":"06299ff8","is_valid_coordinates":true} 
[2026-06-18 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121018880001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317499431517683712,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7040111406464407552,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781722737000,"timestamp_ms":1781722737000,"timestamp_seconds":1781722737,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f36968"} 
[2026-06-18 00:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 00:31:12] 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-06-18 00:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121018880001,"66":27397,"71":206,"19":40192,"24":52,"16":317499431517683712,"45":7040111406464407552},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,19,24,16,45]} 
[2026-06-18 00:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121018880001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:31:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 00:31:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317499431517683712,"km_value":317499431517683.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7040111406464407552,"description":"Unknown IO ID 45"} 
[2026-06-18 00:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121018880001,"power":27397,"unknown_71":206,"unknown_19":40192,"ignition":52,"odometer":null,"unknown_45":7040111406464407552}} 
[2026-06-18 00:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":107009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:31:12] local.INFO: GPS data processed {"connection_id":107009,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:31:12] local.INFO: Acknowledgment sent {"connection_id":107009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:31:27] local.INFO: TCP Data received {"connection_id":105508,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:27] local.INFO: Processing buffer {"connection_id":105508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:27] local.INFO: IMEI packet received {"connection_id":105508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":105508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:31:28] local.INFO: TCP Data received {"connection_id":105508,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:28] local.INFO: Processing buffer {"connection_id":105508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:28] local.INFO: IMEI packet received {"connection_id":105508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":105508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:31:33] local.INFO: TCP Data received {"connection_id":105508,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:33] local.INFO: Processing buffer {"connection_id":105508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:31:33] local.INFO: IMEI packet received {"connection_id":105508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":105508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:31:34] local.INFO: TCP Data received {"connection_id":105508,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f4e068012d60ef80062b0698000701472e..."} 
[2026-06-18 00:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f4e068012d60ef80062b0698000701472e..."} 
[2026-06-18 00:31:34] local.INFO: Processing buffer {"connection_id":105508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f4e068012d60ef80062b0698000701472e..."} 
[2026-06-18 00:31:34] local.INFO: Packet analysis {"connection_id":105508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f4"} 
[2026-06-18 00:31:34] local.INFO: Extracted packet for processing {"connection_id":105508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f4"} 
[2026-06-18 00:31:34] local.INFO: GPS Element Parsed {"raw_longitude":761327488,"raw_latitude":103483032,"longitude_deg":76.1327488,"latitude_deg":10.3483032,"altitude":7,"angle":327,"satellites":46,"speed":45,"hex_longitude":"2d60ef80","hex_latitude":"062b0698","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121042944001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317504430859616256,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6991064391796262912,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781722833000,"timestamp_ms":1781722833000,"timestamp_seconds":1781722833,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f4e068"} 
[2026-06-18 00:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:31: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-06-18 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 00:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121042944001,"66":27376,"122":206,"19":40192,"24":45,"16":317504430859616256,"45":6991064391796262912},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-18 00:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121042944001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:31:34] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 00:31:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317504430859616256,"km_value":317504430859616.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6991064391796262912,"description":"Unknown IO ID 45"} 
[2026-06-18 00:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121042944001,"power":27376,"unknown_122":206,"unknown_19":40192,"ignition":45,"odometer":null,"unknown_45":6991064391796262912}} 
[2026-06-18 00:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":105508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:31:34] local.INFO: GPS data processed {"connection_id":105508,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:31:34] local.INFO: Acknowledgment sent {"connection_id":105508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:31:35] local.INFO: TCP Data received {"connection_id":105508,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f4ffa8012d60dc00062b2540000701492c..."} 
[2026-06-18 00:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f4ffa8012d60dc00062b2540000701492c..."} 
[2026-06-18 00:31:35] local.INFO: Processing buffer {"connection_id":105508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f4ffa8012d60dc00062b2540000701492c..."} 
[2026-06-18 00:31:35] local.INFO: Packet analysis {"connection_id":105508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f4"} 
[2026-06-18 00:31:35] local.INFO: Extracted packet for processing {"connection_id":105508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f4"} 
[2026-06-18 00:31:35] local.INFO: GPS Element Parsed {"raw_longitude":761322496,"raw_latitude":103490880,"longitude_deg":76.1322496,"latitude_deg":10.349088,"altitude":7,"angle":329,"satellites":44,"speed":46,"hex_longitude":"2d60dc00","hex_latitude":"062b2540","is_valid_coordinates":true} 
[2026-06-18 00:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121045248001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317504881831182336,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6984942311054940160,"note":"Value kept but may cause issues"} 
[2026-06-18 00:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781722841000,"timestamp_ms":1781722841000,"timestamp_seconds":1781722841,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f4ffa8"} 
[2026-06-18 00:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:31:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:31:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121045248001,"66":27332,"122":206,"19":40192,"24":46,"16":317504881831182336,"45":6984942311054940160},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-18 00:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121045248001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:31:35] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 00:31:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317504881831182336,"km_value":317504881831182.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6984942311054940160,"description":"Unknown IO ID 45"} 
[2026-06-18 00:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121045248001,"power":27332,"unknown_122":206,"unknown_19":40192,"ignition":46,"odometer":null,"unknown_45":6984942311054940160}} 
[2026-06-18 00:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":105508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:31:35] local.INFO: GPS data processed {"connection_id":105508,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:31:35] local.INFO: Acknowledgment sent {"connection_id":105508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:32:07] local.INFO: TCP Data received {"connection_id":105508,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f51ee8012d60cc80062b44680007014e29..."} 
[2026-06-18 00:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f51ee8012d60cc80062b44680007014e29..."} 
[2026-06-18 00:32:07] local.INFO: Processing buffer {"connection_id":105508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f51ee8012d60cc80062b44680007014e29..."} 
[2026-06-18 00:32:07] local.INFO: Packet analysis {"connection_id":105508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f5"} 
[2026-06-18 00:32:07] local.INFO: Extracted packet for processing {"connection_id":105508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f5"} 
[2026-06-18 00:32:07] local.INFO: GPS Element Parsed {"raw_longitude":761318528,"raw_latitude":103498856,"longitude_deg":76.1318528,"latitude_deg":10.3498856,"altitude":7,"angle":334,"satellites":41,"speed":42,"hex_longitude":"2d60cc80","hex_latitude":"062b4468","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121047296001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317505311327911936,"note":"Value kept but may cause issues"} 
[2026-06-18 00:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6979453549011091456,"note":"Value kept but may cause issues"} 
[2026-06-18 00:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781722849000,"timestamp_ms":1781722849000,"timestamp_seconds":1781722849,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f51ee8"} 
[2026-06-18 00:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:32: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-06-18 00: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-06-18 00:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121047296001,"66":27343,"122":206,"19":40192,"24":42,"16":317505311327911936,"45":6979453549011091456},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-18 00:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121047296001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:32:07] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 00:32:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317505311327911936,"km_value":317505311327911.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6979453549011091456,"description":"Unknown IO ID 45"} 
[2026-06-18 00:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121047296001,"power":27343,"unknown_122":206,"unknown_19":40192,"ignition":42,"odometer":null,"unknown_45":6979453549011091456}} 
[2026-06-18 00:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":105508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:32:07] local.INFO: GPS data processed {"connection_id":105508,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:32:07] local.INFO: Acknowledgment sent {"connection_id":105508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:32:27] local.INFO: TCP Data received {"connection_id":105286,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:32:27] local.INFO: Processing buffer {"connection_id":105286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:32:27] local.INFO: IMEI packet received {"connection_id":105286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":105286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:32:31] local.INFO: TCP Data received {"connection_id":105286,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:32:31] local.INFO: Processing buffer {"connection_id":105286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:32:31] local.INFO: IMEI packet received {"connection_id":105286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":105286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:32:32] local.INFO: TCP Data received {"connection_id":105286,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f52e88012d60c840062b4f300008015925..."} 
[2026-06-18 00:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f52e88012d60c840062b4f300008015925..."} 
[2026-06-18 00:32:32] local.INFO: Processing buffer {"connection_id":105286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f52e88012d60c840062b4f300008015925..."} 
[2026-06-18 00:32:32] local.INFO: Packet analysis {"connection_id":105286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f5"} 
[2026-06-18 00:32:32] local.INFO: Extracted packet for processing {"connection_id":105286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f5"} 
[2026-06-18 00:32:32] local.INFO: GPS Element Parsed {"raw_longitude":761317440,"raw_latitude":103501616,"longitude_deg":76.131744,"latitude_deg":10.3501616,"altitude":8,"angle":345,"satellites":37,"speed":17,"hex_longitude":"2d60c840","hex_latitude":"062b4f30","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121049344001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317505457356800000,"note":"Value kept but may cause issues"} 
[2026-06-18 00:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6975090686874118144,"note":"Value kept but may cause issues"} 
[2026-06-18 00:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781722853000,"timestamp_ms":1781722853000,"timestamp_seconds":1781722853,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f52e88"} 
[2026-06-18 00:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:32: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-06-18 00: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-06-18 00:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121049344001,"66":27484,"122":206,"19":40192,"24":17,"16":317505457356800000,"45":6975090686874118144},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-18 00:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121049344001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:32:32] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 00:32:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317505457356800000,"km_value":317505457356800,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6975090686874118144,"description":"Unknown IO ID 45"} 
[2026-06-18 00:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121049344001,"power":27484,"unknown_122":206,"unknown_19":40192,"ignition":17,"odometer":null,"unknown_45":6975090686874118144}} 
[2026-06-18 00:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":105286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:32:32] local.INFO: GPS data processed {"connection_id":105286,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:32:32] local.INFO: Acknowledgment sent {"connection_id":105286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:33:03] local.INFO: TCP Data received {"connection_id":105286,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f58090012d60bf80062b6dd80006015b26..."} 
[2026-06-18 00:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f58090012d60bf80062b6dd80006015b26..."} 
[2026-06-18 00:33:03] local.INFO: Processing buffer {"connection_id":105286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f58090012d60bf80062b6dd80006015b26..."} 
[2026-06-18 00:33:03] local.INFO: Packet analysis {"connection_id":105286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f5"} 
[2026-06-18 00:33:03] local.INFO: Extracted packet for processing {"connection_id":105286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f5"} 
[2026-06-18 00:33:03] local.INFO: GPS Element Parsed {"raw_longitude":761315200,"raw_latitude":103509464,"longitude_deg":76.13152,"latitude_deg":10.3509464,"altitude":6,"angle":347,"satellites":38,"speed":24,"hex_longitude":"2d60bf80","hex_latitude":"062b6dd8","is_valid_coordinates":true} 
[2026-06-18 00:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121050368001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317505852493791232,"note":"Value kept but may cause issues"} 
[2026-06-18 00:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6973894418223804416,"note":"Value kept but may cause issues"} 
[2026-06-18 00:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781722874000,"timestamp_ms":1781722874000,"timestamp_seconds":1781722874,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f58090"} 
[2026-06-18 00:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:33: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-06-18 00:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 00:33: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-06-18 00:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121050368001,"66":27376,"122":206,"19":40192,"24":24,"16":317505852493791232,"45":6973894418223804416},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,19,24,16,45]} 
[2026-06-18 00:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121050368001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:33:03] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 00:33:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317505852493791232,"km_value":317505852493791.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6973894418223804416,"description":"Unknown IO ID 45"} 
[2026-06-18 00:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121050368001,"power":27376,"unknown_122":206,"unknown_19":40192,"ignition":24,"odometer":null,"unknown_45":6973894418223804416}} 
[2026-06-18 00:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":105286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:33:03] local.INFO: GPS data processed {"connection_id":105286,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:33:03] local.INFO: Acknowledgment sent {"connection_id":105286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:33:26] local.INFO: TCP Data received {"connection_id":106032,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:33:26] local.INFO: Processing buffer {"connection_id":106032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:33:26] local.INFO: IMEI packet received {"connection_id":106032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":106032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:33:30] local.INFO: TCP Data received {"connection_id":106032,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:33:30] local.INFO: Processing buffer {"connection_id":106032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:33:30] local.INFO: IMEI packet received {"connection_id":106032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":106032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:33:33] local.INFO: TCP Data received {"connection_id":106032,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f6b528012d603080062c4fe8000d014f29..."} 
[2026-06-18 00:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f6b528012d603080062c4fe8000d014f29..."} 
[2026-06-18 00:33:33] local.INFO: Processing buffer {"connection_id":106032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f6b528012d603080062c4fe8000d014f29..."} 
[2026-06-18 00:33:33] local.INFO: Packet analysis {"connection_id":106032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f6"} 
[2026-06-18 00:33:33] local.INFO: Extracted packet for processing {"connection_id":106032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f6"} 
[2026-06-18 00:33:33] local.INFO: GPS Element Parsed {"raw_longitude":761278592,"raw_latitude":103567336,"longitude_deg":76.1278592,"latitude_deg":10.3567336,"altitude":13,"angle":335,"satellites":41,"speed":38,"hex_longitude":"2d603080","hex_latitude":"062c4fe8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121073408001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317509262697824256,"note":"Value kept but may cause issues"} 
[2026-06-18 00:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6934839765219756032,"note":"Value kept but may cause issues"} 
[2026-06-18 00:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781722953000,"timestamp_ms":1781722953000,"timestamp_seconds":1781722953,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f6b528"} 
[2026-06-18 00:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:33:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 00:33: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-06-18 00: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-06-18 00:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121073408001,"66":27397,"114":206,"19":40192,"24":38,"16":317509262697824256,"45":6934839765219756032},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,19,24,16,45]} 
[2026-06-18 00:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121073408001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:33:33] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-18 00:33:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317509262697824256,"km_value":317509262697824.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6934839765219756032,"description":"Unknown IO ID 45"} 
[2026-06-18 00:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121073408001,"power":27397,"unknown_114":206,"unknown_19":40192,"ignition":38,"odometer":null,"unknown_45":6934839765219756032}} 
[2026-06-18 00:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":106032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:33:33] local.INFO: GPS data processed {"connection_id":106032,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:33:33] local.INFO: Acknowledgment sent {"connection_id":106032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:34:04] local.INFO: TCP Data received {"connection_id":106032,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f6d850012d602440062c7030000c015b2a..."} 
[2026-06-18 00:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f6d850012d602440062c7030000c015b2a..."} 
[2026-06-18 00:34:04] local.INFO: Processing buffer {"connection_id":106032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f6d850012d602440062c7030000c015b2a..."} 
[2026-06-18 00:34:04] local.INFO: Packet analysis {"connection_id":106032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f6"} 
[2026-06-18 00:34:04] local.INFO: Extracted packet for processing {"connection_id":106032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f6"} 
[2026-06-18 00:34:04] local.INFO: GPS Element Parsed {"raw_longitude":761275456,"raw_latitude":103575600,"longitude_deg":76.1275456,"latitude_deg":10.35756,"altitude":12,"angle":347,"satellites":42,"speed":40,"hex_longitude":"2d602440","hex_latitude":"062c7030","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121075968001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317509687899586560,"note":"Value kept but may cause issues"} 
[2026-06-18 00:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6931180590524786688,"note":"Value kept but may cause issues"} 
[2026-06-18 00:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781722962000,"timestamp_ms":1781722962000,"timestamp_seconds":1781722962,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f6d850"} 
[2026-06-18 00:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 00:34:04] 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-06-18 00: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-06-18 00:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121075968001,"66":27463,"114":206,"19":40192,"24":40,"16":317509687899586560,"45":6931180590524786688},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,19,24,16,45]} 
[2026-06-18 00:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121075968001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:34:04] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-18 00:34:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317509687899586560,"km_value":317509687899586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6931180590524786688,"description":"Unknown IO ID 45"} 
[2026-06-18 00:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121075968001,"power":27463,"unknown_114":206,"unknown_19":40192,"ignition":40,"odometer":null,"unknown_45":6931180590524786688}} 
[2026-06-18 00:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":106032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:34:04] local.INFO: GPS data processed {"connection_id":106032,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:34:04] local.INFO: Acknowledgment sent {"connection_id":106032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:34:26] local.INFO: TCP Data received {"connection_id":107013,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:34:26] local.INFO: Processing buffer {"connection_id":107013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:34:26] local.INFO: IMEI packet received {"connection_id":107013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":107013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:34:32] local.INFO: TCP Data received {"connection_id":107013,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:34:32] local.INFO: Processing buffer {"connection_id":107013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:34:32] local.INFO: IMEI packet received {"connection_id":107013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":107013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:34:33] local.INFO: TCP Data received {"connection_id":107013,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f6fb78012d601a00062c9238000d01522b..."} 
[2026-06-18 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f6fb78012d601a00062c9238000d01522b..."} 
[2026-06-18 00:34:33] local.INFO: Processing buffer {"connection_id":107013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f6fb78012d601a00062c9238000d01522b..."} 
[2026-06-18 00:34:33] local.INFO: Packet analysis {"connection_id":107013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f6"} 
[2026-06-18 00:34:33] local.INFO: Extracted packet for processing {"connection_id":107013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f6"} 
[2026-06-18 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":761272832,"raw_latitude":103584312,"longitude_deg":76.1272832,"latitude_deg":10.3584312,"altitude":13,"angle":338,"satellites":43,"speed":41,"hex_longitude":"2d601a00","hex_latitude":"062c9238","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121078272001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317510130281218048,"note":"Value kept but may cause issues"} 
[2026-06-18 00:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6927732522062196736,"note":"Value kept but may cause issues"} 
[2026-06-18 00:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781722971000,"timestamp_ms":1781722971000,"timestamp_seconds":1781722971,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f6fb78"} 
[2026-06-18 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-06-18 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 00:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121078272001,"66":27463,"114":206,"19":40192,"24":41,"16":317510130281218048,"45":6927732522062196736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,19,24,16,45]} 
[2026-06-18 00:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121078272001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:34:33] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-18 00:34:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317510130281218048,"km_value":317510130281218.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6927732522062196736,"description":"Unknown IO ID 45"} 
[2026-06-18 00:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121078272001,"power":27463,"unknown_114":206,"unknown_19":40192,"ignition":41,"odometer":null,"unknown_45":6927732522062196736}} 
[2026-06-18 00:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":107013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:34:33] local.INFO: GPS data processed {"connection_id":107013,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:34:33] local.INFO: Acknowledgment sent {"connection_id":107013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:35:04] local.INFO: TCP Data received {"connection_id":107013,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f83fb0012d5f7d80062de0f8000900202e..."} 
[2026-06-18 00:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f83fb0012d5f7d80062de0f8000900202e..."} 
[2026-06-18 00:35:04] local.INFO: Processing buffer {"connection_id":107013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f83fb0012d5f7d80062de0f8000900202e..."} 
[2026-06-18 00:35:04] local.INFO: Packet analysis {"connection_id":107013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:35:04] local.INFO: Extracted packet for processing {"connection_id":107013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:35:04] local.INFO: GPS Element Parsed {"raw_longitude":761232768,"raw_latitude":103670008,"longitude_deg":76.1232768,"latitude_deg":10.3670008,"altitude":9,"angle":32,"satellites":46,"speed":34,"hex_longitude":"2d5f7d80","hex_latitude":"062de0f8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121101568001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317514790320734208,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6880303988510418944,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781723054000,"timestamp_ms":1781723054000,"timestamp_seconds":1781723054,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f83fb0"} 
[2026-06-18 00:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121101568001,"66":27463,"113":206,"19":40192,"24":34,"16":317514790320734208,"45":6880303988510418944},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,19,24,16,45]} 
[2026-06-18 00:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121101568001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:35:04] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 00:35:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317514790320734208,"km_value":317514790320734.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6880303988510418944,"description":"Unknown IO ID 45"} 
[2026-06-18 00:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121101568001,"power":27463,"unknown_113":206,"unknown_19":40192,"ignition":34,"odometer":null,"unknown_45":6880303988510418944}} 
[2026-06-18 00:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":107013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:35:04] local.INFO: GPS data processed {"connection_id":107013,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:35:04] local.INFO: Acknowledgment sent {"connection_id":107013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:35:32] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:35:32] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:35:32] local.INFO: IMEI packet received {"connection_id":106033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":106033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:35:37] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:35:37] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:35:37] local.INFO: IMEI packet received {"connection_id":106033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":106033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:35:38] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f85ef0012d5f9080062df7b8000800312d..."} 
[2026-06-18 00:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f85ef0012d5f9080062df7b8000800312d..."} 
[2026-06-18 00:35:38] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f85ef0012d5f9080062df7b8000800312d..."} 
[2026-06-18 00:35:38] local.INFO: Packet analysis {"connection_id":106033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:35:38] local.INFO: Extracted packet for processing {"connection_id":106033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:35:38] local.INFO: GPS Element Parsed {"raw_longitude":761237632,"raw_latitude":103675832,"longitude_deg":76.1237632,"latitude_deg":10.3675832,"altitude":8,"angle":49,"satellites":45,"speed":38,"hex_longitude":"2d5f9080","hex_latitude":"062df7b8","is_valid_coordinates":true} 
[2026-06-18 00:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121101824001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317515159687921664,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6880796569719863296,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781723062000,"timestamp_ms":1781723062000,"timestamp_seconds":1781723062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f85ef0"} 
[2026-06-18 00:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121101824001,"66":27365,"113":206,"19":40192,"24":38,"16":317515159687921664,"45":6880796569719863296},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,19,24,16,45]} 
[2026-06-18 00:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121101824001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:35:38] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 00:35:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317515159687921664,"km_value":317515159687921.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6880796569719863296,"description":"Unknown IO ID 45"} 
[2026-06-18 00:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121101824001,"power":27365,"unknown_113":206,"unknown_19":40192,"ignition":38,"odometer":null,"unknown_45":6880796569719863296}} 
[2026-06-18 00:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":106033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:35:38] local.INFO: GPS data processed {"connection_id":106033,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:35:38] local.INFO: Acknowledgment sent {"connection_id":106033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:35:40] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f866c0012d5f9700062dfbb8000800412e..."} 
[2026-06-18 00:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f866c0012d5f9700062dfbb8000800412e..."} 
[2026-06-18 00:35:40] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f866c0012d5f9700062dfbb8000800412e..."} 
[2026-06-18 00:35:40] local.INFO: Packet analysis {"connection_id":106033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:35:40] local.INFO: Extracted packet for processing {"connection_id":106033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:35:40] local.INFO: GPS Element Parsed {"raw_longitude":761239296,"raw_latitude":103676856,"longitude_deg":76.1239296,"latitude_deg":10.3676856,"altitude":8,"angle":65,"satellites":46,"speed":38,"hex_longitude":"2d5f9700","hex_latitude":"062dfbb8","is_valid_coordinates":true} 
[2026-06-18 00:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121103872001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317515254177202176,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6886144594278856704,"note":"Value kept but may cause issues"} 
[2026-06-18 00:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781723064000,"timestamp_ms":1781723064000,"timestamp_seconds":1781723064,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f866c0"} 
[2026-06-18 00:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:35: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-06-18 00:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121103872001,"66":27321,"113":206,"19":40192,"24":38,"16":317515254177202176,"45":6886144594278856704},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,19,24,16,45]} 
[2026-06-18 00:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121103872001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:35:40] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 00:35:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317515254177202176,"km_value":317515254177202.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6886144594278856704,"description":"Unknown IO ID 45"} 
[2026-06-18 00:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121103872001,"power":27321,"unknown_113":206,"unknown_19":40192,"ignition":38,"odometer":null,"unknown_45":6886144594278856704}} 
[2026-06-18 00:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":106033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:35:40] local.INFO: GPS data processed {"connection_id":106033,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:35:40] local.INFO: Acknowledgment sent {"connection_id":106033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:35:50] local.INFO: TCP Data received {"connection_id":105288,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:35:50] local.INFO: Processing buffer {"connection_id":105288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:35:50] local.INFO: IMEI packet received {"connection_id":105288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":105288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:36:12] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f88dd0012d5fb600062e0828000900352c..."} 
[2026-06-18 00:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f88dd0012d5fb600062e0828000900352c..."} 
[2026-06-18 00:36:12] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f88dd0012d5fb600062e0828000900352c..."} 
[2026-06-18 00:36:12] local.INFO: Packet analysis {"connection_id":106033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:36:12] local.INFO: Extracted packet for processing {"connection_id":106033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:36:12] local.INFO: GPS Element Parsed {"raw_longitude":761247232,"raw_latitude":103680040,"longitude_deg":76.1247232,"latitude_deg":10.368004,"altitude":9,"angle":53,"satellites":44,"speed":19,"hex_longitude":"2d5fb600","hex_latitude":"062e0828","is_valid_coordinates":true} 
[2026-06-18 00:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121104384001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317515662199095296,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6887974181627738112,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781723074000,"timestamp_ms":1781723074000,"timestamp_seconds":1781723074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f88dd0"} 
[2026-06-18 00:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 00:36:12] 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-06-18 00:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121104384001,"66":27463,"175":206,"19":40192,"24":19,"16":317515662199095296,"45":6887974181627738112},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-06-18 00:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121104384001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:36:12] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-18 00:36:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317515662199095296,"km_value":317515662199095.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6887974181627738112,"description":"Unknown IO ID 45"} 
[2026-06-18 00:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121104384001,"power":27463,"unknown_175":206,"unknown_19":40192,"ignition":19,"odometer":null,"unknown_45":6887974181627738112}} 
[2026-06-18 00:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":106033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:36:12] local.INFO: GPS data processed {"connection_id":106033,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:36:12] local.INFO: Acknowledgment sent {"connection_id":106033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:36:27] local.INFO: TCP Data received {"connection_id":105289,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:36:27] local.INFO: Processing buffer {"connection_id":105289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:36:27] local.INFO: IMEI packet received {"connection_id":105289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":105289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:36:33] local.INFO: TCP Data received {"connection_id":105289,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:36:33] local.INFO: Processing buffer {"connection_id":105289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:36:33] local.INFO: IMEI packet received {"connection_id":105289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":105289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:36:34] local.INFO: TCP Data received {"connection_id":105289,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f895a0012d5fb880062e0a480009002a2c..."} 
[2026-06-18 00:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f895a0012d5fb880062e0a480009002a2c..."} 
[2026-06-18 00:36:34] local.INFO: Processing buffer {"connection_id":105289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f895a0012d5fb880062e0a480009002a2c..."} 
[2026-06-18 00:36:34] local.INFO: Packet analysis {"connection_id":105289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:36:34] local.INFO: Extracted packet for processing {"connection_id":105289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:36:34] local.INFO: GPS Element Parsed {"raw_longitude":761247872,"raw_latitude":103680584,"longitude_deg":76.1247872,"latitude_deg":10.3680584,"altitude":9,"angle":42,"satellites":44,"speed":14,"hex_longitude":"2d5fb880","hex_latitude":"062e0a48","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121106944001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317515700853800960,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6896699905906583552,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781723076000,"timestamp_ms":1781723076000,"timestamp_seconds":1781723076,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f895a0"} 
[2026-06-18 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-06-18 00:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:36: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-06-18 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-06-18 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-06-18 00:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121106944001,"66":27234,"175":206,"19":40192,"24":14,"16":317515700853800960,"45":6896699905906583552},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-06-18 00:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121106944001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:36:34] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-18 00:36:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317515700853800960,"km_value":317515700853800.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6896699905906583552,"description":"Unknown IO ID 45"} 
[2026-06-18 00:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121106944001,"power":27234,"unknown_175":206,"unknown_19":40192,"ignition":14,"odometer":null,"unknown_45":6896699905906583552}} 
[2026-06-18 00:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":105289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:36:34] local.INFO: GPS data processed {"connection_id":105289,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:36:34] local.INFO: Acknowledgment sent {"connection_id":105289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:36:35] local.INFO: TCP Data received {"connection_id":105290,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:36:35] local.INFO: Processing buffer {"connection_id":105290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:36:35] local.INFO: IMEI packet received {"connection_id":105290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":105290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:36:36] local.INFO: TCP Data received {"connection_id":105289,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f89988012d5fb940062e0b78000900162c..."} 
[2026-06-18 00:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f89988012d5fb940062e0b78000900162c..."} 
[2026-06-18 00:36:36] local.INFO: Processing buffer {"connection_id":105289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f89988012d5fb940062e0b78000900162c..."} 
[2026-06-18 00:36:36] local.INFO: Packet analysis {"connection_id":105289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:36:36] local.INFO: Extracted packet for processing {"connection_id":105289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:36:36] local.INFO: GPS Element Parsed {"raw_longitude":761248064,"raw_latitude":103680888,"longitude_deg":76.1248064,"latitude_deg":10.3680888,"altitude":9,"angle":22,"satellites":44,"speed":14,"hex_longitude":"2d5fb940","hex_latitude":"062e0b78","is_valid_coordinates":true} 
[2026-06-18 00:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121107456001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317515722328637440,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6897403593348499456,"note":"Value kept but may cause issues"} 
[2026-06-18 00:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781723077000,"timestamp_ms":1781723077000,"timestamp_seconds":1781723077,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f89988"} 
[2026-06-18 00:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 00:36: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-06-18 00:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121107456001,"66":27376,"175":206,"19":40192,"24":14,"16":317515722328637440,"45":6897403593348499456},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-06-18 00:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121107456001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:36:36] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-18 00:36:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317515722328637440,"km_value":317515722328637.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6897403593348499456,"description":"Unknown IO ID 45"} 
[2026-06-18 00:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121107456001,"power":27376,"unknown_175":206,"unknown_19":40192,"ignition":14,"odometer":null,"unknown_45":6897403593348499456}} 
[2026-06-18 00:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":105289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:36:36] local.INFO: GPS data processed {"connection_id":105289,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:36:36] local.INFO: Acknowledgment sent {"connection_id":105289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:37:07] local.INFO: TCP Data received {"connection_id":105289,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6f89d70012d5fb9c0062e0cd0000900012c..."} 
[2026-06-18 00:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6f89d70012d5fb9c0062e0cd0000900012c..."} 
[2026-06-18 00:37:07] local.INFO: Processing buffer {"connection_id":105289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6f89d70012d5fb9c0062e0cd0000900012c..."} 
[2026-06-18 00:37:07] local.INFO: Packet analysis {"connection_id":105289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:37:07] local.INFO: Extracted packet for processing {"connection_id":105289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6f8"} 
[2026-06-18 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":761248192,"raw_latitude":103681232,"longitude_deg":76.1248192,"latitude_deg":10.3681232,"altitude":9,"angle":1,"satellites":44,"speed":13,"hex_longitude":"2d5fb9c0","hex_latitude":"062e0cd0","is_valid_coordinates":true} 
[2026-06-18 00:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121107712001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317515739508506624,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6897614699581110272,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781723078000,"timestamp_ms":1781723078000,"timestamp_seconds":1781723078,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6f89d70"} 
[2026-06-18 00:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:37:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121107712001,"66":27376,"175":206,"19":40192,"24":13,"16":317515739508506624,"45":6897614699581110272},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,19,24,16,45]} 
[2026-06-18 00:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121107712001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:37:07] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-06-18 00:37:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317515739508506624,"km_value":317515739508506.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6897614699581110272,"description":"Unknown IO ID 45"} 
[2026-06-18 00:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121107712001,"power":27376,"unknown_175":206,"unknown_19":40192,"ignition":13,"odometer":null,"unknown_45":6897614699581110272}} 
[2026-06-18 00:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":105289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:37:07] local.INFO: GPS data processed {"connection_id":105289,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:37:07] local.INFO: Acknowledgment sent {"connection_id":105289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:37:27] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:37:27] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:37:27] local.INFO: IMEI packet received {"connection_id":106034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":106034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:37:31] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:37:31] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:37:31] local.INFO: IMEI packet received {"connection_id":106034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":106034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:37:33] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6fa5ea8012d5f7a80062f2f38000701542b..."} 
[2026-06-18 00:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6fa5ea8012d5f7a80062f2f38000701542b..."} 
[2026-06-18 00:37:33] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6fa5ea8012d5f7a80062f2f38000701542b..."} 
[2026-06-18 00:37:33] local.INFO: Packet analysis {"connection_id":106034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:37:33] local.INFO: Extracted packet for processing {"connection_id":106034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:37:33] local.INFO: GPS Element Parsed {"raw_longitude":761232000,"raw_latitude":103755576,"longitude_deg":76.1232,"latitude_deg":10.3755576,"altitude":7,"angle":340,"satellites":43,"speed":30,"hex_longitude":"2d5f7a80","hex_latitude":"062f2f38","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121134080001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317519441770315776,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6883189107041540096,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781723193000,"timestamp_ms":1781723193000,"timestamp_seconds":1781723193,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6fa5ea8"} 
[2026-06-18 00:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-18 00:37: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-06-18 00: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-06-18 00:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121134080001,"66":27463,"174":206,"19":40192,"24":30,"16":317519441770315776,"45":6883189107041540096},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-18 00:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121134080001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:37:33] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-18 00:37:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317519441770315776,"km_value":317519441770315.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6883189107041540096,"description":"Unknown IO ID 45"} 
[2026-06-18 00:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121134080001,"power":27463,"unknown_174":206,"unknown_19":40192,"ignition":30,"odometer":null,"unknown_45":6883189107041540096}} 
[2026-06-18 00:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":106034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:37:33] local.INFO: GPS data processed {"connection_id":106034,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:37:33] local.INFO: Acknowledgment sent {"connection_id":106034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:37:34] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6fa85b8012d5f6ec0062f5048000701552d..."} 
[2026-06-18 00:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6fa85b8012d5f6ec0062f5048000701552d..."} 
[2026-06-18 00:37:34] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6fa85b8012d5f6ec0062f5048000701552d..."} 
[2026-06-18 00:37:34] local.INFO: Packet analysis {"connection_id":106034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:37:34] local.INFO: Extracted packet for processing {"connection_id":106034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:37:34] local.INFO: GPS Element Parsed {"raw_longitude":761228992,"raw_latitude":103764040,"longitude_deg":76.1228992,"latitude_deg":10.376404,"altitude":7,"angle":341,"satellites":45,"speed":40,"hex_longitude":"2d5f6ec0","hex_latitude":"062f5048","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121137408001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317519875562012672,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6879952144811636736,"note":"Value kept but may cause issues"} 
[2026-06-18 00:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781723203000,"timestamp_ms":1781723203000,"timestamp_seconds":1781723203,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6fa85b8"} 
[2026-06-18 00:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:37: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-06-18 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:37: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-06-18 00: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-06-18 00:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121137408001,"66":27332,"174":206,"19":40192,"24":40,"16":317519875562012672,"45":6879952144811636736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-18 00:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121137408001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:37:34] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-18 00:37:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317519875562012672,"km_value":317519875562012.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6879952144811636736,"description":"Unknown IO ID 45"} 
[2026-06-18 00:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121137408001,"power":27332,"unknown_174":206,"unknown_19":40192,"ignition":40,"odometer":null,"unknown_45":6879952144811636736}} 
[2026-06-18 00:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":106034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:37:34] local.INFO: GPS data processed {"connection_id":106034,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:37:34] local.INFO: Acknowledgment sent {"connection_id":106034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:38:05] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6faa8e0012d5f6240062f72380007014f2f..."} 
[2026-06-18 00:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6faa8e0012d5f6240062f72380007014f2f..."} 
[2026-06-18 00:38:05] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6faa8e0012d5f6240062f72380007014f2f..."} 
[2026-06-18 00:38:05] local.INFO: Packet analysis {"connection_id":106034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:38:05] local.INFO: Extracted packet for processing {"connection_id":106034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:38:05] local.INFO: GPS Element Parsed {"raw_longitude":761225792,"raw_latitude":103772728,"longitude_deg":76.1225792,"latitude_deg":10.3772728,"altitude":7,"angle":335,"satellites":47,"speed":40,"hex_longitude":"2d5f6240","hex_latitude":"062f7238","is_valid_coordinates":true} 
[2026-06-18 00:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121139968001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317520326533578752,"note":"Value kept but may cause issues"} 
[2026-06-18 00:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6876644813837453312,"note":"Value kept but may cause issues"} 
[2026-06-18 00:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781723212000,"timestamp_ms":1781723212000,"timestamp_seconds":1781723212,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6faa8e0"} 
[2026-06-18 00:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:38:05] 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-06-18 00:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:38: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-06-18 00:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121139968001,"66":27300,"174":206,"19":40192,"24":40,"16":317520326533578752,"45":6876644813837453312},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-18 00:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121139968001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:38:05] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-18 00:38:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317520326533578752,"km_value":317520326533578.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6876644813837453312,"description":"Unknown IO ID 45"} 
[2026-06-18 00:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121139968001,"power":27300,"unknown_174":206,"unknown_19":40192,"ignition":40,"odometer":null,"unknown_45":6876644813837453312}} 
[2026-06-18 00:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":106034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:38:05] local.INFO: GPS data processed {"connection_id":106034,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:38:05] local.INFO: Acknowledgment sent {"connection_id":106034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:38:24] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:24] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:24] local.INFO: IMEI packet received {"connection_id":105509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":105509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:38:26] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:26] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:26] local.INFO: IMEI packet received {"connection_id":105509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":105509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:38:31] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:31] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:38:31] local.INFO: IMEI packet received {"connection_id":105509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":105509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:38:32] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6facc08012d5f5440062f9358000701552f..."} 
[2026-06-18 00:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6facc08012d5f5440062f9358000701552f..."} 
[2026-06-18 00:38:32] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6facc08012d5f5440062f9358000701552f..."} 
[2026-06-18 00:38:32] local.INFO: Packet analysis {"connection_id":105509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:38:32] local.INFO: Extracted packet for processing {"connection_id":105509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:38:32] local.INFO: GPS Element Parsed {"raw_longitude":761222208,"raw_latitude":103781208,"longitude_deg":76.1222208,"latitude_deg":10.3781208,"altitude":7,"angle":341,"satellites":47,"speed":41,"hex_longitude":"2d5f5440","hex_latitude":"062f9358","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121142272001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317520768915210240,"note":"Value kept but may cause issues"} 
[2026-06-18 00:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6873126376630794240,"note":"Value kept but may cause issues"} 
[2026-06-18 00:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781723221000,"timestamp_ms":1781723221000,"timestamp_seconds":1781723221,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6facc08"} 
[2026-06-18 00:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 00:38: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-06-18 00: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-06-18 00:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121142272001,"66":27376,"174":206,"19":40192,"24":41,"16":317520768915210240,"45":6873126376630794240},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-18 00:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121142272001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:38:32] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-18 00:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317520768915210240,"km_value":317520768915210.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6873126376630794240,"description":"Unknown IO ID 45"} 
[2026-06-18 00:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121142272001,"power":27376,"unknown_174":206,"unknown_19":40192,"ignition":41,"odometer":null,"unknown_45":6873126376630794240}} 
[2026-06-18 00:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":105509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:38:32] local.INFO: GPS data processed {"connection_id":105509,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:38:32] local.INFO: Acknowledgment sent {"connection_id":105509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:39:04] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6faef30012d5f4740062fb668000801552f..."} 
[2026-06-18 00:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6faef30012d5f4740062fb668000801552f..."} 
[2026-06-18 00:39:04] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6faef30012d5f4740062fb668000801552f..."} 
[2026-06-18 00:39:04] local.INFO: Packet analysis {"connection_id":105509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:39:04] local.INFO: Extracted packet for processing {"connection_id":105509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fa"} 
[2026-06-18 00:39:04] local.INFO: GPS Element Parsed {"raw_longitude":761218880,"raw_latitude":103790184,"longitude_deg":76.121888,"latitude_deg":10.3790184,"altitude":8,"angle":341,"satellites":47,"speed":44,"hex_longitude":"2d5f4740","hex_latitude":"062fb668","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121144576001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317521237066645504,"note":"Value kept but may cause issues"} 
[2026-06-18 00:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6869185726959015936,"note":"Value kept but may cause issues"} 
[2026-06-18 00:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781723230000,"timestamp_ms":1781723230000,"timestamp_seconds":1781723230,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6faef30"} 
[2026-06-18 00:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121144576001,"66":27539,"174":206,"19":40192,"24":44,"16":317521237066645504,"45":6869185726959015936},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-18 00:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121144576001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:39:04] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-18 00:39:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317521237066645504,"km_value":317521237066645.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6869185726959015936,"description":"Unknown IO ID 45"} 
[2026-06-18 00:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121144576001,"power":27539,"unknown_174":206,"unknown_19":40192,"ignition":44,"odometer":null,"unknown_45":6869185726959015936}} 
[2026-06-18 00:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":105509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:39:04] local.INFO: GPS data processed {"connection_id":105509,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:39:04] local.INFO: Acknowledgment sent {"connection_id":105509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:39:26] local.INFO: TCP Data received {"connection_id":106036,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:26] local.INFO: Processing buffer {"connection_id":106036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:26] local.INFO: IMEI packet received {"connection_id":106036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":106036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:39:28] local.INFO: TCP Data received {"connection_id":106036,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:28] local.INFO: Processing buffer {"connection_id":106036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:28] local.INFO: IMEI packet received {"connection_id":106036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:39:28] local.INFO: IMEI acknowledgment sent {"connection_id":106036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:39:42] local.INFO: TCP Data received {"connection_id":106036,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:42] local.INFO: Processing buffer {"connection_id":106036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:39:42] local.INFO: IMEI packet received {"connection_id":106036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":106036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:39:43] local.INFO: TCP Data received {"connection_id":106036,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6fb0e70012d5f3c80062fd808000801572f..."} 
[2026-06-18 00:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6fb0e70012d5f3c80062fd808000801572f..."} 
[2026-06-18 00:39:43] local.INFO: Processing buffer {"connection_id":106036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6fb0e70012d5f3c80062fd808000801572f..."} 
[2026-06-18 00:39:43] local.INFO: Packet analysis {"connection_id":106036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fb"} 
[2026-06-18 00:39:43] local.INFO: Extracted packet for processing {"connection_id":106036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fb"} 
[2026-06-18 00:39:43] local.INFO: GPS Element Parsed {"raw_longitude":761216128,"raw_latitude":103798792,"longitude_deg":76.1216128,"latitude_deg":10.3798792,"altitude":8,"angle":343,"satellites":47,"speed":44,"hex_longitude":"2d5f3c80","hex_latitude":"062fd808","is_valid_coordinates":true} 
[2026-06-18 00:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121146880001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317521670858342400,"note":"Value kept but may cause issues"} 
[2026-06-18 00:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6865526552264075264,"note":"Value kept but may cause issues"} 
[2026-06-18 00:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781723238000,"timestamp_ms":1781723238000,"timestamp_seconds":1781723238,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6fb0e70"} 
[2026-06-18 00:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:39:43] 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-06-18 00:39:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-18 00:39:43] 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-06-18 00:39:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121146880001,"66":27397,"174":206,"19":40192,"24":44,"16":317521670858342400,"45":6865526552264075264},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,19,24,16,45]} 
[2026-06-18 00:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121146880001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:39:43] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-06-18 00:39:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317521670858342400,"km_value":317521670858342.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6865526552264075264,"description":"Unknown IO ID 45"} 
[2026-06-18 00:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121146880001,"power":27397,"unknown_174":206,"unknown_19":40192,"ignition":44,"odometer":null,"unknown_45":6865526552264075264}} 
[2026-06-18 00:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":106036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:39:43] local.INFO: GPS data processed {"connection_id":106036,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:39:43] local.INFO: Acknowledgment sent {"connection_id":106036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:40:26] local.INFO: TCP Data received {"connection_id":105292,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:40:26] local.INFO: Processing buffer {"connection_id":105292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:40:26] local.INFO: IMEI packet received {"connection_id":105292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":105292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:40:31] local.INFO: TCP Data received {"connection_id":105292,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:40:31] local.INFO: Processing buffer {"connection_id":105292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:40:31] local.INFO: IMEI packet received {"connection_id":105292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":105292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:40:32] local.INFO: TCP Data received {"connection_id":105292,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6fcdf48012d5ed0400631a6a0000c00042e..."} 
[2026-06-18 00:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6fcdf48012d5ed0400631a6a0000c00042e..."} 
[2026-06-18 00:40:32] local.INFO: Processing buffer {"connection_id":105292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6fcdf48012d5ed0400631a6a0000c00042e..."} 
[2026-06-18 00:40:32] local.INFO: Packet analysis {"connection_id":105292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fc"} 
[2026-06-18 00:40:32] local.INFO: Extracted packet for processing {"connection_id":105292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fc"} 
[2026-06-18 00:40:32] local.INFO: GPS Element Parsed {"raw_longitude":761188416,"raw_latitude":103917216,"longitude_deg":76.1188416,"latitude_deg":10.3917216,"altitude":12,"angle":4,"satellites":46,"speed":47,"hex_longitude":"2d5ed040","hex_latitude":"0631a6a0","is_valid_coordinates":true} 
[2026-06-18 00:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121177344001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317527610798112768,"note":"Value kept but may cause issues"} 
[2026-06-18 00:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6831186605135620096,"note":"Value kept but may cause issues"} 
[2026-06-18 00:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781723357000,"timestamp_ms":1781723357000,"timestamp_seconds":1781723357,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6fcdf48"} 
[2026-06-18 00:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 00:40: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-06-18 00:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121177344001,"66":27463,"43":206,"19":40192,"24":47,"16":317527610798112768,"45":6831186605135620096},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,19,24,16,45]} 
[2026-06-18 00:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121177344001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:40:32] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 00:40:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317527610798112768,"km_value":317527610798112.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6831186605135620096,"description":"Unknown IO ID 45"} 
[2026-06-18 00:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121177344001,"power":27463,"unknown_43":206,"unknown_19":40192,"ignition":47,"odometer":null,"unknown_45":6831186605135620096}} 
[2026-06-18 00:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":105292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:40:32] local.INFO: GPS data processed {"connection_id":105292,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:40:32] local.INFO: Acknowledgment sent {"connection_id":105292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:41:04] local.INFO: TCP Data received {"connection_id":105292,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6fcfe88012d5ed3800631ccf0000c00042e..."} 
[2026-06-18 00:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6fcfe88012d5ed3800631ccf0000c00042e..."} 
[2026-06-18 00:41:04] local.INFO: Processing buffer {"connection_id":105292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6fcfe88012d5ed3800631ccf0000c00042e..."} 
[2026-06-18 00:41:04] local.INFO: Packet analysis {"connection_id":105292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fc"} 
[2026-06-18 00:41:04] local.INFO: Extracted packet for processing {"connection_id":105292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fc"} 
[2026-06-18 00:41:04] local.INFO: GPS Element Parsed {"raw_longitude":761189248,"raw_latitude":103927024,"longitude_deg":76.1189248,"latitude_deg":10.3927024,"altitude":12,"angle":4,"satellites":46,"speed":49,"hex_longitude":"2d5ed380","hex_latitude":"0631ccf0","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121179392001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317528087539482624,"note":"Value kept but may cause issues"} 
[2026-06-18 00:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832031030068027392,"note":"Value kept but may cause issues"} 
[2026-06-18 00:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781723365000,"timestamp_ms":1781723365000,"timestamp_seconds":1781723365,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6fcfe88"} 
[2026-06-18 00:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:41:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121179392001,"66":27539,"112":206,"19":40192,"24":49,"16":317528087539482624,"45":6832031030068027392},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-06-18 00:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121179392001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:41:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 00:41:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317528087539482624,"km_value":317528087539482.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832031030068027392,"description":"Unknown IO ID 45"} 
[2026-06-18 00:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121179392001,"power":27539,"unknown_112":206,"unknown_19":40192,"ignition":49,"odometer":null,"unknown_45":6832031030068027392}} 
[2026-06-18 00:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":105292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:41:04] local.INFO: GPS data processed {"connection_id":105292,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:41:04] local.INFO: Acknowledgment sent {"connection_id":105292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:41:26] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:26] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:26] local.INFO: IMEI packet received {"connection_id":107015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":107015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:41:27] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:27] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:27] local.INFO: IMEI packet received {"connection_id":107015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":107015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:41:32] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:32] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:41:32] local.INFO: IMEI packet received {"connection_id":107015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":107015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:41:33] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6fd19e0012d5ed4c00631efb8000a016430..."} 
[2026-06-18 00:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6fd19e0012d5ed4c00631efb8000a016430..."} 
[2026-06-18 00:41:33] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6fd19e0012d5ed4c00631efb8000a016430..."} 
[2026-06-18 00:41:33] local.INFO: Packet analysis {"connection_id":107015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fd"} 
[2026-06-18 00:41:33] local.INFO: Extracted packet for processing {"connection_id":107015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fd"} 
[2026-06-18 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":761189568,"raw_latitude":103935928,"longitude_deg":76.1189568,"latitude_deg":10.3935928,"altitude":10,"angle":356,"satellites":48,"speed":52,"hex_longitude":"2d5ed4c0","hex_latitude":"0631efb8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121181440001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317528521331179520,"note":"Value kept but may cause issues"} 
[2026-06-18 00:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832945823744847872,"note":"Value kept but may cause issues"} 
[2026-06-18 00:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781723372000,"timestamp_ms":1781723372000,"timestamp_seconds":1781723372,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6fd19e0"} 
[2026-06-18 00:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-18 00:41: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-06-18 00: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-06-18 00:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121181440001,"66":27571,"112":206,"19":40192,"24":52,"16":317528521331179520,"45":6832945823744847872},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,19,24,16,45]} 
[2026-06-18 00:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121181440001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:41:33] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 00:41:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317528521331179520,"km_value":317528521331179.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832945823744847872,"description":"Unknown IO ID 45"} 
[2026-06-18 00:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121181440001,"power":27571,"unknown_112":206,"unknown_19":40192,"ignition":52,"odometer":null,"unknown_45":6832945823744847872}} 
[2026-06-18 00:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":107015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:41:33] local.INFO: GPS data processed {"connection_id":107015,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:41:33] local.INFO: Acknowledgment sent {"connection_id":107015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:42:00] local.INFO: TCP Data received {"connection_id":105511,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:42:00] local.INFO: Processing buffer {"connection_id":105511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:42:00] local.INFO: IMEI packet received {"connection_id":105511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":105511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:42:04] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6fe8cf8012d5e2f80063358d80006014d2f..."} 
[2026-06-18 00:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6fe8cf8012d5e2f80063358d80006014d2f..."} 
[2026-06-18 00:42:04] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6fe8cf8012d5e2f80063358d80006014d2f..."} 
[2026-06-18 00:42:04] local.INFO: Packet analysis {"connection_id":107015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fe"} 
[2026-06-18 00:42:04] local.INFO: Extracted packet for processing {"connection_id":107015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fe"} 
[2026-06-18 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":761147264,"raw_latitude":104028376,"longitude_deg":76.1147264,"latitude_deg":10.4028376,"altitude":6,"angle":333,"satellites":47,"speed":45,"hex_longitude":"2d5e2f80","hex_latitude":"063358d8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121205248001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317533456248602624,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6791709739680413696,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781723467000,"timestamp_ms":1781723467000,"timestamp_seconds":1781723467,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6fe8cf8"} 
[2026-06-18 00:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:42: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-06-18 00: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-06-18 00:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121205248001,"66":27463,"2":206,"19":40192,"24":45,"16":317533456248602624,"45":6791709739680413696},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-18 00:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121205248001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:42:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317533456248602624,"km_value":317533456248602.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6791709739680413696,"description":"Unknown IO ID 45"} 
[2026-06-18 00:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121205248001,"power":27463,"power_alt":206,"unknown_19":40192,"ignition":45,"odometer":null,"unknown_45":6791709739680413696}} 
[2026-06-18 00:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":107015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:42:04] local.INFO: GPS data processed {"connection_id":107015,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:42:04] local.INFO: Acknowledgment sent {"connection_id":107015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:42:32] local.INFO: TCP Data received {"connection_id":107016,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:42:32] local.INFO: Processing buffer {"connection_id":107016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:42:32] local.INFO: IMEI packet received {"connection_id":107016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":107016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:42:33] local.INFO: TCP Data received {"connection_id":107016,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:42:33] local.INFO: Processing buffer {"connection_id":107016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:42:33] local.INFO: IMEI packet received {"connection_id":107016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":107016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:42:34] local.INFO: TCP Data received {"connection_id":107016,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6feac38012d5e1f8006337a98000401502f..."} 
[2026-06-18 00:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6feac38012d5e1f8006337a98000401502f..."} 
[2026-06-18 00:42:34] local.INFO: Processing buffer {"connection_id":107016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6feac38012d5e1f8006337a98000401502f..."} 
[2026-06-18 00:42:34] local.INFO: Packet analysis {"connection_id":107016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fe"} 
[2026-06-18 00:42:34] local.INFO: Extracted packet for processing {"connection_id":107016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fe"} 
[2026-06-18 00:42:34] local.INFO: GPS Element Parsed {"raw_longitude":761143168,"raw_latitude":104037016,"longitude_deg":76.1143168,"latitude_deg":10.4037016,"altitude":4,"angle":336,"satellites":47,"speed":48,"hex_longitude":"2d5e1f80","hex_latitude":"06337a98","is_valid_coordinates":true} 
[2026-06-18 00:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121207552001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317533915810103296,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6786783927590246400,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781723475000,"timestamp_ms":1781723475000,"timestamp_seconds":1781723475,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6feac38"} 
[2026-06-18 00:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:42: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-06-18 00:42:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:42: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-06-18 00:42:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121207552001,"66":27484,"2":206,"19":40192,"24":48,"16":317533915810103296,"45":6786783927590246400},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-18 00:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121207552001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:42:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317533915810103296,"km_value":317533915810103.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6786783927590246400,"description":"Unknown IO ID 45"} 
[2026-06-18 00:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121207552001,"power":27484,"power_alt":206,"unknown_19":40192,"ignition":48,"odometer":null,"unknown_45":6786783927590246400}} 
[2026-06-18 00:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":107016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:42:34] local.INFO: GPS data processed {"connection_id":107016,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:42:34] local.INFO: Acknowledgment sent {"connection_id":107016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:42:35] local.INFO: TCP Data received {"connection_id":106037,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:42:35] local.INFO: Processing buffer {"connection_id":106037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:42:35] local.INFO: IMEI packet received {"connection_id":106037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":106037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:42:36] local.INFO: TCP Data received {"connection_id":107016,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6fecb78012d5e0f8006339c28000401512e..."} 
[2026-06-18 00:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6fecb78012d5e0f8006339c28000401512e..."} 
[2026-06-18 00:42:36] local.INFO: Processing buffer {"connection_id":107016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6fecb78012d5e0f8006339c28000401512e..."} 
[2026-06-18 00:42:36] local.INFO: Packet analysis {"connection_id":107016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fe"} 
[2026-06-18 00:42:36] local.INFO: Extracted packet for processing {"connection_id":107016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fe"} 
[2026-06-18 00:42:36] local.INFO: GPS Element Parsed {"raw_longitude":761139072,"raw_latitude":104045608,"longitude_deg":76.1139072,"latitude_deg":10.4045608,"altitude":4,"angle":337,"satellites":46,"speed":46,"hex_longitude":"2d5e0f80","hex_latitude":"06339c28","is_valid_coordinates":true} 
[2026-06-18 00:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121209600001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317534379666571264,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6782280327965087744,"note":"Value kept but may cause issues"} 
[2026-06-18 00:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781723483000,"timestamp_ms":1781723483000,"timestamp_seconds":1781723483,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6fecb78"} 
[2026-06-18 00:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:42: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-06-18 00:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 00:42:36] 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-06-18 00:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121209600001,"66":27463,"2":206,"19":40192,"24":46,"16":317534379666571264,"45":6782280327965087744},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-18 00:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121209600001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:42:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317534379666571264,"km_value":317534379666571.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6782280327965087744,"description":"Unknown IO ID 45"} 
[2026-06-18 00:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121209600001,"power":27463,"power_alt":206,"unknown_19":40192,"ignition":46,"odometer":null,"unknown_45":6782280327965087744}} 
[2026-06-18 00:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":107016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:42:36] local.INFO: GPS data processed {"connection_id":107016,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:42:36] local.INFO: Acknowledgment sent {"connection_id":107016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:43:08] local.INFO: TCP Data received {"connection_id":107016,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6feeab8012d5e02400633be20000301532e..."} 
[2026-06-18 00:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6feeab8012d5e02400633be20000301532e..."} 
[2026-06-18 00:43:08] local.INFO: Processing buffer {"connection_id":107016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6feeab8012d5e02400633be20000301532e..."} 
[2026-06-18 00:43:08] local.INFO: Packet analysis {"connection_id":107016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6fe"} 
[2026-06-18 00:43:08] local.INFO: Extracted packet for processing {"connection_id":107016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6fe"} 
[2026-06-18 00:43:08] local.INFO: GPS Element Parsed {"raw_longitude":761135680,"raw_latitude":104054304,"longitude_deg":76.113568,"latitude_deg":10.4054304,"altitude":3,"angle":339,"satellites":46,"speed":46,"hex_longitude":"2d5e0240","hex_latitude":"0633be20","is_valid_coordinates":true} 
[2026-06-18 00:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121211648001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317534830638137344,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6777776728339916800,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781723491000,"timestamp_ms":1781723491000,"timestamp_seconds":1781723491,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6feeab8"} 
[2026-06-18 00:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121211648001,"66":27463,"2":206,"19":40192,"24":46,"16":317534830638137344,"45":6777776728339916800},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-18 00:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121211648001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:43:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317534830638137344,"km_value":317534830638137.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6777776728339916800,"description":"Unknown IO ID 45"} 
[2026-06-18 00:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121211648001,"power":27463,"power_alt":206,"unknown_19":40192,"ignition":46,"odometer":null,"unknown_45":6777776728339916800}} 
[2026-06-18 00:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":107016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:43:08] local.INFO: GPS data processed {"connection_id":107016,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:43:08] local.INFO: Acknowledgment sent {"connection_id":107016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:43:27] local.INFO: TCP Data received {"connection_id":105512,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:43:27] local.INFO: Processing buffer {"connection_id":105512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:43:27] local.INFO: IMEI packet received {"connection_id":105512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":105512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:43:29] local.INFO: TCP Data received {"connection_id":105512,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:43:29] local.INFO: Processing buffer {"connection_id":105512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:43:29] local.INFO: IMEI packet received {"connection_id":105512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":105512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:43:31] local.INFO: TCP Data received {"connection_id":105512,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ff09f8012d5df5c00633e008000301552f..."} 
[2026-06-18 00:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ff09f8012d5df5c00633e008000301552f..."} 
[2026-06-18 00:43:31] local.INFO: Processing buffer {"connection_id":105512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ff09f8012d5df5c00633e008000301552f..."} 
[2026-06-18 00:43:31] local.INFO: Packet analysis {"connection_id":105512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ff"} 
[2026-06-18 00:43:31] local.INFO: Extracted packet for processing {"connection_id":105512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ff"} 
[2026-06-18 00:43:31] local.INFO: GPS Element Parsed {"raw_longitude":761132480,"raw_latitude":104062984,"longitude_deg":76.113248,"latitude_deg":10.4062984,"altitude":3,"angle":341,"satellites":47,"speed":45,"hex_longitude":"2d5df5c0","hex_latitude":"0633e008","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121213696001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317535277314736128,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6774047184900726784,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781723499000,"timestamp_ms":1781723499000,"timestamp_seconds":1781723499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ff09f8"} 
[2026-06-18 00:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:43: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-06-18 00: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-06-18 00:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121213696001,"66":27365,"2":206,"19":40192,"24":45,"16":317535277314736128,"45":6774047184900726784},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-18 00:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121213696001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:43:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317535277314736128,"km_value":317535277314736.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6774047184900726784,"description":"Unknown IO ID 45"} 
[2026-06-18 00:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121213696001,"power":27365,"power_alt":206,"unknown_19":40192,"ignition":45,"odometer":null,"unknown_45":6774047184900726784}} 
[2026-06-18 00:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":105512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:43:31] local.INFO: GPS data processed {"connection_id":105512,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:43:31] local.INFO: Acknowledgment sent {"connection_id":105512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:43:32] local.INFO: TCP Data received {"connection_id":105512,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ff2938012d5de8c0063401380003014f2f..."} 
[2026-06-18 00:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ff2938012d5de8c0063401380003014f2f..."} 
[2026-06-18 00:43:32] local.INFO: Processing buffer {"connection_id":105512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ff2938012d5de8c0063401380003014f2f..."} 
[2026-06-18 00:43:32] local.INFO: Packet analysis {"connection_id":105512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ff"} 
[2026-06-18 00:43:32] local.INFO: Extracted packet for processing {"connection_id":105512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ff"} 
[2026-06-18 00:43:32] local.INFO: GPS Element Parsed {"raw_longitude":761129152,"raw_latitude":104071480,"longitude_deg":76.1129152,"latitude_deg":10.407148,"altitude":3,"angle":335,"satellites":47,"speed":44,"hex_longitude":"2d5de8c0","hex_latitude":"06340138","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121215744001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317535719696367616,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6770528747694065664,"note":"Value kept but may cause issues"} 
[2026-06-18 00:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781723507000,"timestamp_ms":1781723507000,"timestamp_seconds":1781723507,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ff2938"} 
[2026-06-18 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-06-18 00:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:43: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-06-18 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-06-18 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-06-18 00:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121215744001,"66":27397,"2":206,"19":40192,"24":44,"16":317535719696367616,"45":6770528747694065664},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-18 00:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121215744001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:43:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317535719696367616,"km_value":317535719696367.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6770528747694065664,"description":"Unknown IO ID 45"} 
[2026-06-18 00:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121215744001,"power":27397,"power_alt":206,"unknown_19":40192,"ignition":44,"odometer":null,"unknown_45":6770528747694065664}} 
[2026-06-18 00:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":105512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:43:32] local.INFO: GPS data processed {"connection_id":105512,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:43:32] local.INFO: Acknowledgment sent {"connection_id":105512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:44:04] local.INFO: TCP Data received {"connection_id":105512,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ff4878012d5dd90006342038000301492f..."} 
[2026-06-18 00:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ff4878012d5dd90006342038000301492f..."} 
[2026-06-18 00:44:04] local.INFO: Processing buffer {"connection_id":105512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ff4878012d5dd90006342038000301492f..."} 
[2026-06-18 00:44:04] local.INFO: Packet analysis {"connection_id":105512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ff"} 
[2026-06-18 00:44:04] local.INFO: Extracted packet for processing {"connection_id":105512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ff"} 
[2026-06-18 00:44:04] local.INFO: GPS Element Parsed {"raw_longitude":761125120,"raw_latitude":104079416,"longitude_deg":76.112512,"latitude_deg":10.4079416,"altitude":3,"angle":329,"satellites":47,"speed":44,"hex_longitude":"2d5dd900","hex_latitude":"06342038","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121217792001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317536149193097216,"note":"Value kept but may cause issues"} 
[2026-06-18 00:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6766869572999002112,"note":"Value kept but may cause issues"} 
[2026-06-18 00:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781723515000,"timestamp_ms":1781723515000,"timestamp_seconds":1781723515,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ff4878"} 
[2026-06-18 00:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 00:44:04] 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-06-18 00: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-06-18 00:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121217792001,"66":27332,"2":206,"19":40192,"24":44,"16":317536149193097216,"45":6766869572999002112},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-18 00:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121217792001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:44:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317536149193097216,"km_value":317536149193097.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6766869572999002112,"description":"Unknown IO ID 45"} 
[2026-06-18 00:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121217792001,"power":27332,"power_alt":206,"unknown_19":40192,"ignition":44,"odometer":null,"unknown_45":6766869572999002112}} 
[2026-06-18 00:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":105512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:44:04] local.INFO: GPS data processed {"connection_id":105512,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:44:04] local.INFO: Acknowledgment sent {"connection_id":105512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:44:26] local.INFO: TCP Data received {"connection_id":105293,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:44:26] local.INFO: Processing buffer {"connection_id":105293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:44:26] local.INFO: IMEI packet received {"connection_id":105293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":105293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:44:34] local.INFO: TCP Data received {"connection_id":105293,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:44:34] local.INFO: Processing buffer {"connection_id":105293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:44:34] local.INFO: IMEI packet received {"connection_id":105293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":105293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:44:35] local.INFO: TCP Data received {"connection_id":105293,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed6ff67b8012d5dc54006343d70000301442f..."} 
[2026-06-18 00:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed6ff67b8012d5dc54006343d70000301442f..."} 
[2026-06-18 00:44:35] local.INFO: Processing buffer {"connection_id":105293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed6ff67b8012d5dc54006343d70000301442f..."} 
[2026-06-18 00:44:35] local.INFO: Packet analysis {"connection_id":105293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed6ff"} 
[2026-06-18 00:44:35] local.INFO: Extracted packet for processing {"connection_id":105293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed6ff"} 
[2026-06-18 00:44:35] local.INFO: GPS Element Parsed {"raw_longitude":761120064,"raw_latitude":104086896,"longitude_deg":76.1120064,"latitude_deg":10.4086896,"altitude":3,"angle":324,"satellites":47,"speed":44,"hex_longitude":"2d5dc540","hex_latitude":"06343d70","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121219840001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317536587279761408,"note":"Value kept but may cause issues"} 
[2026-06-18 00:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6762436342117840896,"note":"Value kept but may cause issues"} 
[2026-06-18 00:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781723523000,"timestamp_ms":1781723523000,"timestamp_seconds":1781723523,"priority":1,"record_length":96,"hex_timestamp":"0000019ed6ff67b8"} 
[2026-06-18 00:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:44:35] 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-06-18 00: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-06-18 00:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121219840001,"66":27343,"2":206,"19":40192,"24":44,"16":317536587279761408,"45":6762436342117840896},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,19,24,16,45]} 
[2026-06-18 00:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121219840001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:44:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317536587279761408,"km_value":317536587279761.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6762436342117840896,"description":"Unknown IO ID 45"} 
[2026-06-18 00:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121219840001,"power":27343,"power_alt":206,"unknown_19":40192,"ignition":44,"odometer":null,"unknown_45":6762436342117840896}} 
[2026-06-18 00:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":105293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:44:35] local.INFO: GPS data processed {"connection_id":105293,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:44:35] local.INFO: Acknowledgment sent {"connection_id":105293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:45:08] local.INFO: TCP Data received {"connection_id":105293,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7013c78012d5ccec00635d2880007014530..."} 
[2026-06-18 00:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7013c78012d5ccec00635d2880007014530..."} 
[2026-06-18 00:45:08] local.INFO: Processing buffer {"connection_id":105293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7013c78012d5ccec00635d2880007014530..."} 
[2026-06-18 00:45:08] local.INFO: Packet analysis {"connection_id":105293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:45:08] local.INFO: Extracted packet for processing {"connection_id":105293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":761056960,"raw_latitude":104190600,"longitude_deg":76.105696,"latitude_deg":10.41906,"altitude":7,"angle":325,"satellites":48,"speed":35,"hex_longitude":"2d5ccec0","hex_latitude":"0635d288","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121250048001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317542467089989632,"note":"Value kept but may cause issues"} 
[2026-06-18 00:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6693545341594441728,"note":"Value kept but may cause issues"} 
[2026-06-18 00:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781723643000,"timestamp_ms":1781723643000,"timestamp_seconds":1781723643,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7013c78"} 
[2026-06-18 00:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121250048001,"66":27332,"4":206,"19":40192,"24":35,"16":317542467089989632,"45":6693545341594441728},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-06-18 00:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121250048001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:45:08] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-18 00:45:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317542467089989632,"km_value":317542467089989.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6693545341594441728,"description":"Unknown IO ID 45"} 
[2026-06-18 00:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121250048001,"power":27332,"unknown_4":206,"unknown_19":40192,"ignition":35,"odometer":null,"unknown_45":6693545341594441728}} 
[2026-06-18 00:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":105293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:45:08] local.INFO: GPS data processed {"connection_id":105293,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:45:08] local.INFO: Acknowledgment sent {"connection_id":105293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:45:26] local.INFO: TCP Data received {"connection_id":105514,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:26] local.INFO: Processing buffer {"connection_id":105514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:26] local.INFO: IMEI packet received {"connection_id":105514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":105514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:45:27] local.INFO: TCP Data received {"connection_id":105514,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:27] local.INFO: Processing buffer {"connection_id":105514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:27] local.INFO: IMEI packet received {"connection_id":105514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":105514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:45:32] local.INFO: TCP Data received {"connection_id":105514,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:32] local.INFO: Processing buffer {"connection_id":105514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:45:32] local.INFO: IMEI packet received {"connection_id":105514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":105514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:45:34] local.INFO: TCP Data received {"connection_id":105514,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7016388012d5cba400635f1980007014830..."} 
[2026-06-18 00:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7016388012d5cba400635f1980007014830..."} 
[2026-06-18 00:45:34] local.INFO: Processing buffer {"connection_id":105514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7016388012d5cba400635f1980007014830..."} 
[2026-06-18 00:45:34] local.INFO: Packet analysis {"connection_id":105514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:45:34] local.INFO: Extracted packet for processing {"connection_id":105514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:45:34] local.INFO: GPS Element Parsed {"raw_longitude":761051712,"raw_latitude":104198552,"longitude_deg":76.1051712,"latitude_deg":10.4198552,"altitude":7,"angle":328,"satellites":48,"speed":39,"hex_longitude":"2d5cba40","hex_latitude":"0635f198","is_valid_coordinates":true} 
[2026-06-18 00:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121252608001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317542930946457600,"note":"Value kept but may cause issues"} 
[2026-06-18 00:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6687493629597091840,"note":"Value kept but may cause issues"} 
[2026-06-18 00:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781723653000,"timestamp_ms":1781723653000,"timestamp_seconds":1781723653,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7016388"} 
[2026-06-18 00:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:45: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-06-18 00:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:45: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-06-18 00:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121252608001,"66":27376,"4":206,"19":40192,"24":39,"16":317542930946457600,"45":6687493629597091840},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-06-18 00:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121252608001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:45:34] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-18 00:45:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317542930946457600,"km_value":317542930946457.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6687493629597091840,"description":"Unknown IO ID 45"} 
[2026-06-18 00:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121252608001,"power":27376,"unknown_4":206,"unknown_19":40192,"ignition":39,"odometer":null,"unknown_45":6687493629597091840}} 
[2026-06-18 00:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":105514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:45:34] local.INFO: GPS data processed {"connection_id":105514,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:45:34] local.INFO: Acknowledgment sent {"connection_id":105514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:46:05] local.INFO: TCP Data received {"connection_id":105514,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70186b0012d5ca800063611080006014a30..."} 
[2026-06-18 00:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70186b0012d5ca800063611080006014a30..."} 
[2026-06-18 00:46:05] local.INFO: Processing buffer {"connection_id":105514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70186b0012d5ca800063611080006014a30..."} 
[2026-06-18 00:46:05] local.INFO: Packet analysis {"connection_id":105514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:46:05] local.INFO: Extracted packet for processing {"connection_id":105514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:46:05] local.INFO: GPS Element Parsed {"raw_longitude":761047040,"raw_latitude":104206600,"longitude_deg":76.104704,"latitude_deg":10.42066,"altitude":6,"angle":330,"satellites":48,"speed":42,"hex_longitude":"2d5ca800","hex_latitude":"06361108","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121255168001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317543377623056384,"note":"Value kept but may cause issues"} 
[2026-06-18 00:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6681723392576559104,"note":"Value kept but may cause issues"} 
[2026-06-18 00:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781723662000,"timestamp_ms":1781723662000,"timestamp_seconds":1781723662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70186b0"} 
[2026-06-18 00:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:46:05] 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-06-18 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121255168001,"66":27321,"4":206,"19":40192,"24":42,"16":317543377623056384,"45":6681723392576559104},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-06-18 00:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121255168001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:46:05] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-18 00:46:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317543377623056384,"km_value":317543377623056.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6681723392576559104,"description":"Unknown IO ID 45"} 
[2026-06-18 00:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121255168001,"power":27321,"unknown_4":206,"unknown_19":40192,"ignition":42,"odometer":null,"unknown_45":6681723392576559104}} 
[2026-06-18 00:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":105514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:46:05] local.INFO: GPS data processed {"connection_id":105514,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:46:05] local.INFO: Acknowledgment sent {"connection_id":105514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:46:26] local.INFO: TCP Data received {"connection_id":105294,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:46:26] local.INFO: Processing buffer {"connection_id":105294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:46:26] local.INFO: IMEI packet received {"connection_id":105294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":105294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:46:31] local.INFO: TCP Data received {"connection_id":105294,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:46:31] local.INFO: Processing buffer {"connection_id":105294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:46:31] local.INFO: IMEI packet received {"connection_id":105294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":105294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:46:32] local.INFO: TCP Data received {"connection_id":105294,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed701a9d8012d5c9680063631180006014d30..."} 
[2026-06-18 00:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed701a9d8012d5c9680063631180006014d30..."} 
[2026-06-18 00:46:32] local.INFO: Processing buffer {"connection_id":105294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed701a9d8012d5c9680063631180006014d30..."} 
[2026-06-18 00:46:32] local.INFO: Packet analysis {"connection_id":105294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:46:32] local.INFO: Extracted packet for processing {"connection_id":105294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:46:32] local.INFO: GPS Element Parsed {"raw_longitude":761042560,"raw_latitude":104214808,"longitude_deg":76.104256,"latitude_deg":10.4214808,"altitude":6,"angle":333,"satellites":48,"speed":40,"hex_longitude":"2d5c9680","hex_latitude":"06363118","is_valid_coordinates":true} 
[2026-06-18 00:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121257472001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317543828594622464,"note":"Value kept but may cause issues"} 
[2026-06-18 00:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6676586474253649920,"note":"Value kept but may cause issues"} 
[2026-06-18 00:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781723671000,"timestamp_ms":1781723671000,"timestamp_seconds":1781723671,"priority":1,"record_length":96,"hex_timestamp":"0000019ed701a9d8"} 
[2026-06-18 00:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 00:46: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-06-18 00:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121257472001,"66":27343,"4":206,"19":40192,"24":40,"16":317543828594622464,"45":6676586474253649920},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-06-18 00:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121257472001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:46:32] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-18 00:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317543828594622464,"km_value":317543828594622.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6676586474253649920,"description":"Unknown IO ID 45"} 
[2026-06-18 00:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121257472001,"power":27343,"unknown_4":206,"unknown_19":40192,"ignition":40,"odometer":null,"unknown_45":6676586474253649920}} 
[2026-06-18 00:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":105294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:46:32] local.INFO: GPS data processed {"connection_id":105294,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:46:32] local.INFO: Acknowledgment sent {"connection_id":105294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:47:03] local.INFO: TCP Data received {"connection_id":105294,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed701cd00012d5c86c0063651700006014e30..."} 
[2026-06-18 00:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed701cd00012d5c86c0063651700006014e30..."} 
[2026-06-18 00:47:03] local.INFO: Processing buffer {"connection_id":105294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed701cd00012d5c86c0063651700006014e30..."} 
[2026-06-18 00:47:03] local.INFO: Packet analysis {"connection_id":105294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:47:03] local.INFO: Extracted packet for processing {"connection_id":105294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed701"} 
[2026-06-18 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":761038528,"raw_latitude":104223088,"longitude_deg":76.1038528,"latitude_deg":10.4223088,"altitude":6,"angle":334,"satellites":48,"speed":41,"hex_longitude":"2d5c86c0","hex_latitude":"06365170","is_valid_coordinates":true} 
[2026-06-18 00:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121259776001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317544275271221248,"note":"Value kept but may cause issues"} 
[2026-06-18 00:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6671660662163314688,"note":"Value kept but may cause issues"} 
[2026-06-18 00:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,4,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781723680000,"timestamp_ms":1781723680000,"timestamp_seconds":1781723680,"priority":1,"record_length":96,"hex_timestamp":"0000019ed701cd00"} 
[2026-06-18 00:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:47: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-06-18 00:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121259776001,"66":27463,"4":206,"19":40192,"24":41,"16":317544275271221248,"45":6671660662163314688},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-06-18 00:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121259776001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:47:03] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-18 00:47:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":40192,"description":"Unknown IO ID 19"} 
[2026-06-18 00:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317544275271221248,"km_value":317544275271221.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6671660662163314688,"description":"Unknown IO ID 45"} 
[2026-06-18 00:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121259776001,"power":27463,"unknown_4":206,"unknown_19":40192,"ignition":41,"odometer":null,"unknown_45":6671660662163314688}} 
[2026-06-18 00:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":105294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:47:03] local.INFO: GPS data processed {"connection_id":105294,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:47:03] local.INFO: Acknowledgment sent {"connection_id":105294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:47:26] local.INFO: TCP Data received {"connection_id":107019,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:47:26] local.INFO: Processing buffer {"connection_id":107019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:47:26] local.INFO: IMEI packet received {"connection_id":107019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":107019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:47:31] local.INFO: TCP Data received {"connection_id":107019,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:47:31] local.INFO: Processing buffer {"connection_id":107019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:47:31] local.INFO: IMEI packet received {"connection_id":107019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":107019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:47:32] local.INFO: TCP Data received {"connection_id":107019,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7035788012d5bf68006377a800005015030..."} 
[2026-06-18 00:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7035788012d5bf68006377a800005015030..."} 
[2026-06-18 00:47:32] local.INFO: Processing buffer {"connection_id":107019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7035788012d5bf68006377a800005015030..."} 
[2026-06-18 00:47:32] local.INFO: Packet analysis {"connection_id":107019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed703"} 
[2026-06-18 00:47:32] local.INFO: Extracted packet for processing {"connection_id":107019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed703"} 
[2026-06-18 00:47:32] local.INFO: GPS Element Parsed {"raw_longitude":761001600,"raw_latitude":104299136,"longitude_deg":76.10016,"latitude_deg":10.4299136,"altitude":5,"angle":336,"satellites":48,"speed":32,"hex_longitude":"2d5bf680","hex_latitude":"06377a80","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121285120001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317548372670021632,"note":"Value kept but may cause issues"} 
[2026-06-18 00:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6630917159303841792,"note":"Value kept but may cause issues"} 
[2026-06-18 00:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781723781000,"timestamp_ms":1781723781000,"timestamp_seconds":1781723781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7035788"} 
[2026-06-18 00:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:47: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-06-18 00: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-06-18 00:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121285120001,"66":27463,"115":206,"19":38400,"24":32,"16":317548372670021632,"45":6630917159303841792},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-18 00:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121285120001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:47:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-18 00:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317548372670021632,"km_value":317548372670021.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6630917159303841792,"description":"Unknown IO ID 45"} 
[2026-06-18 00:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121285120001,"power":27463,"unknown_115":206,"unknown_19":38400,"ignition":32,"odometer":null,"unknown_45":6630917159303841792}} 
[2026-06-18 00:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":107019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:47:32] local.INFO: GPS data processed {"connection_id":107019,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:47:32] local.INFO: Acknowledgment sent {"connection_id":107019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:48:00] local.INFO: TCP Data received {"connection_id":105295,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:48:00] local.INFO: Processing buffer {"connection_id":105295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:48:00] local.INFO: IMEI packet received {"connection_id":105295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":105295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:48:03] local.INFO: TCP Data received {"connection_id":107019,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7038280012d5be78006379b100005014f30..."} 
[2026-06-18 00:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7038280012d5be78006379b100005014f30..."} 
[2026-06-18 00:48:03] local.INFO: Processing buffer {"connection_id":107019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7038280012d5be78006379b100005014f30..."} 
[2026-06-18 00:48:03] local.INFO: Packet analysis {"connection_id":107019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed703"} 
[2026-06-18 00:48:03] local.INFO: Extracted packet for processing {"connection_id":107019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed703"} 
[2026-06-18 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":760997760,"raw_latitude":104307472,"longitude_deg":76.099776,"latitude_deg":10.4307472,"altitude":5,"angle":335,"satellites":48,"speed":33,"hex_longitude":"2d5be780","hex_latitude":"06379b10","is_valid_coordinates":true} 
[2026-06-18 00:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121287936001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317548815051653120,"note":"Value kept but may cause issues"} 
[2026-06-18 00:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6626624665911197696,"note":"Value kept but may cause issues"} 
[2026-06-18 00:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781723792000,"timestamp_ms":1781723792000,"timestamp_seconds":1781723792,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7038280"} 
[2026-06-18 00:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:48:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121287936001,"66":27517,"115":206,"19":38400,"24":33,"16":317548815051653120,"45":6626624665911197696},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-18 00:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121287936001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:48:03] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-18 00:48:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317548815051653120,"km_value":317548815051653.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6626624665911197696,"description":"Unknown IO ID 45"} 
[2026-06-18 00:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121287936001,"power":27517,"unknown_115":206,"unknown_19":38400,"ignition":33,"odometer":null,"unknown_45":6626624665911197696}} 
[2026-06-18 00:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":107019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:48:03] local.INFO: GPS data processed {"connection_id":107019,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:48:03] local.INFO: Acknowledgment sent {"connection_id":107019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:48:26] local.INFO: TCP Data received {"connection_id":107020,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:48:26] local.INFO: Processing buffer {"connection_id":107020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:48:26] local.INFO: IMEI packet received {"connection_id":107020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":107020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:48:31] local.INFO: TCP Data received {"connection_id":107020,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:48:31] local.INFO: Processing buffer {"connection_id":107020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:48:31] local.INFO: IMEI packet received {"connection_id":107020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":107020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:48:32] local.INFO: TCP Data received {"connection_id":107020,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed703ad78012d5bd8400637ba700006014f31..."} 
[2026-06-18 00:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed703ad78012d5bd8400637ba700006014f31..."} 
[2026-06-18 00:48:32] local.INFO: Processing buffer {"connection_id":107020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed703ad78012d5bd8400637ba700006014f31..."} 
[2026-06-18 00:48:32] local.INFO: Packet analysis {"connection_id":107020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed703"} 
[2026-06-18 00:48:32] local.INFO: Extracted packet for processing {"connection_id":107020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed703"} 
[2026-06-18 00:48:32] local.INFO: GPS Element Parsed {"raw_longitude":760993856,"raw_latitude":104315504,"longitude_deg":76.0993856,"latitude_deg":10.4315504,"altitude":6,"angle":335,"satellites":49,"speed":30,"hex_longitude":"2d5bd840","hex_latitude":"0637ba70","is_valid_coordinates":true} 
[2026-06-18 00:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121290752001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317549248843350016,"note":"Value kept but may cause issues"} 
[2026-06-18 00:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6622402541262671872,"note":"Value kept but may cause issues"} 
[2026-06-18 00:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781723803000,"timestamp_ms":1781723803000,"timestamp_seconds":1781723803,"priority":1,"record_length":96,"hex_timestamp":"0000019ed703ad78"} 
[2026-06-18 00:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 00:48: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-06-18 00:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121290752001,"66":27376,"115":206,"19":38400,"24":30,"16":317549248843350016,"45":6622402541262671872},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-18 00:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121290752001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:48:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-18 00:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317549248843350016,"km_value":317549248843350.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6622402541262671872,"description":"Unknown IO ID 45"} 
[2026-06-18 00:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121290752001,"power":27376,"unknown_115":206,"unknown_19":38400,"ignition":30,"odometer":null,"unknown_45":6622402541262671872}} 
[2026-06-18 00:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":107020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:48:32] local.INFO: GPS data processed {"connection_id":107020,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:48:32] local.INFO: Acknowledgment sent {"connection_id":107020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:48:35] local.INFO: TCP Data received {"connection_id":106038,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:48:35] local.INFO: Processing buffer {"connection_id":106038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:48:35] local.INFO: IMEI packet received {"connection_id":106038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":106038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:49:05] local.INFO: TCP Data received {"connection_id":107020,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed703d870012d5bc9c00637da780006014e2f..."} 
[2026-06-18 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed703d870012d5bc9c00637da780006014e2f..."} 
[2026-06-18 00:49:05] local.INFO: Processing buffer {"connection_id":107020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed703d870012d5bc9c00637da780006014e2f..."} 
[2026-06-18 00:49:05] local.INFO: Packet analysis {"connection_id":107020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed703"} 
[2026-06-18 00:49:05] local.INFO: Extracted packet for processing {"connection_id":107020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed703"} 
[2026-06-18 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":760990144,"raw_latitude":104323704,"longitude_deg":76.0990144,"latitude_deg":10.4323704,"altitude":6,"angle":334,"satellites":47,"speed":32,"hex_longitude":"2d5bc9c0","hex_latitude":"0637da78","is_valid_coordinates":true} 
[2026-06-18 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121293568001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317549682635046912,"note":"Value kept but may cause issues"} 
[2026-06-18 00:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6618110047869890560,"note":"Value kept but may cause issues"} 
[2026-06-18 00:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781723814000,"timestamp_ms":1781723814000,"timestamp_seconds":1781723814,"priority":1,"record_length":96,"hex_timestamp":"0000019ed703d870"} 
[2026-06-18 00:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:49:05] 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-06-18 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121293568001,"66":27180,"115":206,"19":38400,"24":32,"16":317549682635046912,"45":6618110047869890560},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-18 00:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121293568001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:49:05] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-18 00:49:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317549682635046912,"km_value":317549682635046.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6618110047869890560,"description":"Unknown IO ID 45"} 
[2026-06-18 00:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121293568001,"power":27180,"unknown_115":206,"unknown_19":38400,"ignition":32,"odometer":null,"unknown_45":6618110047869890560}} 
[2026-06-18 00:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":107020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:49:05] local.INFO: GPS data processed {"connection_id":107020,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:49:05] local.INFO: Acknowledgment sent {"connection_id":107020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:49:26] local.INFO: TCP Data received {"connection_id":107021,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:49:26] local.INFO: Processing buffer {"connection_id":107021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:49:26] local.INFO: IMEI packet received {"connection_id":107021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":107021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:49:31] local.INFO: TCP Data received {"connection_id":107021,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:49:31] local.INFO: Processing buffer {"connection_id":107021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:49:31] local.INFO: IMEI packet received {"connection_id":107021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":107021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:49:32] local.INFO: TCP Data received {"connection_id":107021,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7040750012d5bba800637fbd80006014d2e..."} 
[2026-06-18 00:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7040750012d5bba800637fbd80006014d2e..."} 
[2026-06-18 00:49:32] local.INFO: Processing buffer {"connection_id":107021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7040750012d5bba800637fbd80006014d2e..."} 
[2026-06-18 00:49:32] local.INFO: Packet analysis {"connection_id":107021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed704"} 
[2026-06-18 00:49:32] local.INFO: Extracted packet for processing {"connection_id":107021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed704"} 
[2026-06-18 00:49:32] local.INFO: GPS Element Parsed {"raw_longitude":760986240,"raw_latitude":104332248,"longitude_deg":76.098624,"latitude_deg":10.4332248,"altitude":6,"angle":333,"satellites":46,"speed":29,"hex_longitude":"2d5bba80","hex_latitude":"0637fbd8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121296384001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317550137901580288,"note":"Value kept but may cause issues"} 
[2026-06-18 00:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6614028660709685248,"note":"Value kept but may cause issues"} 
[2026-06-18 00:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781723826000,"timestamp_ms":1781723826000,"timestamp_seconds":1781723826,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7040750"} 
[2026-06-18 00:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-18 00:49:32] 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-06-18 00: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-06-18 00:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121296384001,"66":27484,"115":206,"19":38400,"24":29,"16":317550137901580288,"45":6614028660709685248},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,19,24,16,45]} 
[2026-06-18 00:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121296384001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:49:32] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-18 00:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317550137901580288,"km_value":317550137901580.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6614028660709685248,"description":"Unknown IO ID 45"} 
[2026-06-18 00:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121296384001,"power":27484,"unknown_115":206,"unknown_19":38400,"ignition":29,"odometer":null,"unknown_45":6614028660709685248}} 
[2026-06-18 00:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":107021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:49:32] local.INFO: GPS data processed {"connection_id":107021,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:49:32] local.INFO: Acknowledgment sent {"connection_id":107021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:50:04] local.INFO: TCP Data received {"connection_id":107021,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed705d440012d5af7c0063950c80009014c30..."} 
[2026-06-18 00:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed705d440012d5af7c0063950c80009014c30..."} 
[2026-06-18 00:50:04] local.INFO: Processing buffer {"connection_id":107021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed705d440012d5af7c0063950c80009014c30..."} 
[2026-06-18 00:50:04] local.INFO: Packet analysis {"connection_id":107021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed705"} 
[2026-06-18 00:50:04] local.INFO: Extracted packet for processing {"connection_id":107021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed705"} 
[2026-06-18 00:50:04] local.INFO: GPS Element Parsed {"raw_longitude":760936384,"raw_latitude":104419528,"longitude_deg":76.0936384,"latitude_deg":10.4419528,"altitude":9,"angle":332,"satellites":48,"speed":42,"hex_longitude":"2d5af7c0","hex_latitude":"063950c8","is_valid_coordinates":true} 
[2026-06-18 00:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121327360001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317555021279395840,"note":"Value kept but may cause issues"} 
[2026-06-18 00:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6559774358971258880,"note":"Value kept but may cause issues"} 
[2026-06-18 00:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781723944000,"timestamp_ms":1781723944000,"timestamp_seconds":1781723944,"priority":1,"record_length":96,"hex_timestamp":"0000019ed705d440"} 
[2026-06-18 00:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:50:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 00:50:04] 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-06-18 00:50:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121327360001,"66":27332,"117":206,"19":38400,"24":42,"16":317555021279395840,"45":6559774358971258880},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-18 00:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121327360001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:50:04] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 00:50:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317555021279395840,"km_value":317555021279395.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6559774358971258880,"description":"Unknown IO ID 45"} 
[2026-06-18 00:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121327360001,"power":27332,"unknown_117":206,"unknown_19":38400,"ignition":42,"odometer":null,"unknown_45":6559774358971258880}} 
[2026-06-18 00:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":107021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:50:04] local.INFO: GPS data processed {"connection_id":107021,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:50:04] local.INFO: Acknowledgment sent {"connection_id":107021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:50:31] local.INFO: TCP Data received {"connection_id":105297,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:50:31] local.INFO: Processing buffer {"connection_id":105297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:50:31] local.INFO: IMEI packet received {"connection_id":105297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":105297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:50:34] local.INFO: TCP Data received {"connection_id":105297,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:50:34] local.INFO: Processing buffer {"connection_id":105297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:50:34] local.INFO: IMEI packet received {"connection_id":105297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":105297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:50:35] local.INFO: TCP Data received {"connection_id":105297,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed705f380012d5ae900063970700006015032..."} 
[2026-06-18 00:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed705f380012d5ae900063970700006015032..."} 
[2026-06-18 00:50:35] local.INFO: Processing buffer {"connection_id":105297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed705f380012d5ae900063970700006015032..."} 
[2026-06-18 00:50:35] local.INFO: Packet analysis {"connection_id":105297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed705"} 
[2026-06-18 00:50:35] local.INFO: Extracted packet for processing {"connection_id":105297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed705"} 
[2026-06-18 00:50:35] local.INFO: GPS Element Parsed {"raw_longitude":760932608,"raw_latitude":104427632,"longitude_deg":76.0932608,"latitude_deg":10.4427632,"altitude":6,"angle":336,"satellites":50,"speed":46,"hex_longitude":"2d5ae900","hex_latitude":"06397070","is_valid_coordinates":true} 
[2026-06-18 00:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121329664001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317555450776125440,"note":"Value kept but may cause issues"} 
[2026-06-18 00:50:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6554918915624978432,"note":"Value kept but may cause issues"} 
[2026-06-18 00:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781723952000,"timestamp_ms":1781723952000,"timestamp_seconds":1781723952,"priority":1,"record_length":96,"hex_timestamp":"0000019ed705f380"} 
[2026-06-18 00:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:50:35] 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-06-18 00:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121329664001,"66":27376,"117":206,"19":38400,"24":46,"16":317555450776125440,"45":6554918915624978432},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-18 00:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121329664001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:50:35] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 00:50:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317555450776125440,"km_value":317555450776125.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:50:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6554918915624978432,"description":"Unknown IO ID 45"} 
[2026-06-18 00:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121329664001,"power":27376,"unknown_117":206,"unknown_19":38400,"ignition":46,"odometer":null,"unknown_45":6554918915624978432}} 
[2026-06-18 00:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":105297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:50:35] local.INFO: GPS data processed {"connection_id":105297,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:50:35] local.INFO: Acknowledgment sent {"connection_id":105297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:51:08] local.INFO: TCP Data received {"connection_id":105297,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70612c0012d5ada40063991f00005014f31..."} 
[2026-06-18 00:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70612c0012d5ada40063991f00005014f31..."} 
[2026-06-18 00:51:08] local.INFO: Processing buffer {"connection_id":105297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70612c0012d5ada40063991f00005014f31..."} 
[2026-06-18 00:51:08] local.INFO: Packet analysis {"connection_id":105297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed706"} 
[2026-06-18 00:51:08] local.INFO: Extracted packet for processing {"connection_id":105297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed706"} 
[2026-06-18 00:51:08] local.INFO: GPS Element Parsed {"raw_longitude":760928832,"raw_latitude":104436208,"longitude_deg":76.0928832,"latitude_deg":10.4436208,"altitude":5,"angle":335,"satellites":49,"speed":46,"hex_longitude":"2d5ada40","hex_latitude":"063991f0","is_valid_coordinates":true} 
[2026-06-18 00:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121331712001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317555906042658816,"note":"Value kept but may cause issues"} 
[2026-06-18 00:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6550767159720570880,"note":"Value kept but may cause issues"} 
[2026-06-18 00:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781723960000,"timestamp_ms":1781723960000,"timestamp_seconds":1781723960,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70612c0"} 
[2026-06-18 00:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121331712001,"66":27484,"117":206,"19":38400,"24":46,"16":317555906042658816,"45":6550767159720570880},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-18 00:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121331712001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:51:08] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 00:51:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317555906042658816,"km_value":317555906042658.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6550767159720570880,"description":"Unknown IO ID 45"} 
[2026-06-18 00:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121331712001,"power":27484,"unknown_117":206,"unknown_19":38400,"ignition":46,"odometer":null,"unknown_45":6550767159720570880}} 
[2026-06-18 00:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":105297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:51:08] local.INFO: GPS data processed {"connection_id":105297,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:51:08] local.INFO: Acknowledgment sent {"connection_id":105297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:51:31] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:31] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:31] local.INFO: IMEI packet received {"connection_id":106040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":106040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:51:33] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:33] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:33] local.INFO: IMEI packet received {"connection_id":106040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":106040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:51:36] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:36] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:51:36] local.INFO: IMEI packet received {"connection_id":106040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":106040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:51:37] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70635e8012d5acac00639b4800007015032..."} 
[2026-06-18 00:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70635e8012d5acac00639b4800007015032..."} 
[2026-06-18 00:51:37] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70635e8012d5acac00639b4800007015032..."} 
[2026-06-18 00:51:37] local.INFO: Packet analysis {"connection_id":106040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed706"} 
[2026-06-18 00:51:37] local.INFO: Extracted packet for processing {"connection_id":106040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed706"} 
[2026-06-18 00:51:37] local.INFO: GPS Element Parsed {"raw_longitude":760924864,"raw_latitude":104445056,"longitude_deg":76.0924864,"latitude_deg":10.4445056,"altitude":7,"angle":336,"satellites":50,"speed":39,"hex_longitude":"2d5acac0","hex_latitude":"0639b480","is_valid_coordinates":true} 
[2026-06-18 00:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121333760001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317556374194094080,"note":"Value kept but may cause issues"} 
[2026-06-18 00:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546615403816284160,"note":"Value kept but may cause issues"} 
[2026-06-18 00:51:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781723969000,"timestamp_ms":1781723969000,"timestamp_seconds":1781723969,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70635e8"} 
[2026-06-18 00:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 00:51: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-06-18 00:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121333760001,"66":27484,"117":206,"19":38400,"24":39,"16":317556374194094080,"45":6546615403816284160},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-18 00:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121333760001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:51:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 00:51:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317556374194094080,"km_value":317556374194094.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546615403816284160,"description":"Unknown IO ID 45"} 
[2026-06-18 00:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121333760001,"power":27484,"unknown_117":206,"unknown_19":38400,"ignition":39,"odometer":null,"unknown_45":6546615403816284160}} 
[2026-06-18 00:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":106040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:51:37] local.INFO: GPS data processed {"connection_id":106040,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:51:37] local.INFO: Acknowledgment sent {"connection_id":106040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:52:10] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed707cc28012d5adb80063b2970000600002f..."} 
[2026-06-18 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed707cc28012d5adb80063b2970000600002f..."} 
[2026-06-18 00:52:10] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed707cc28012d5adb80063b2970000600002f..."} 
[2026-06-18 00:52:10] local.INFO: Packet analysis {"connection_id":106040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed707"} 
[2026-06-18 00:52:10] local.INFO: Extracted packet for processing {"connection_id":106040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed707"} 
[2026-06-18 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":760929152,"raw_latitude":104540528,"longitude_deg":76.0929152,"latitude_deg":10.4540528,"altitude":6,"angle":0,"satellites":47,"speed":50,"hex_longitude":"2d5adb80","hex_latitude":"063b2970","is_valid_coordinates":true} 
[2026-06-18 00:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121361152001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317561253276942336,"note":"Value kept but may cause issues"} 
[2026-06-18 00:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546193191375919104,"note":"Value kept but may cause issues"} 
[2026-06-18 00:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781724073000,"timestamp_ms":1781724073000,"timestamp_seconds":1781724073,"priority":1,"record_length":96,"hex_timestamp":"0000019ed707cc28"} 
[2026-06-18 00:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121361152001,"66":27300,"117":206,"19":38400,"24":50,"16":317561253276942336,"45":6546193191375919104},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-18 00:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121361152001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:52:10] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 00:52:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317561253276942336,"km_value":317561253276942.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546193191375919104,"description":"Unknown IO ID 45"} 
[2026-06-18 00:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121361152001,"power":27300,"unknown_117":206,"unknown_19":38400,"ignition":50,"odometer":null,"unknown_45":6546193191375919104}} 
[2026-06-18 00:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":106040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:52:10] local.INFO: GPS data processed {"connection_id":106040,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:52:10] local.INFO: Acknowledgment sent {"connection_id":106040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:53:33] local.INFO: TCP Data received {"connection_id":105299,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:33] local.INFO: Processing buffer {"connection_id":105299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:33] local.INFO: IMEI packet received {"connection_id":105299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":105299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:53:38] local.INFO: TCP Data received {"connection_id":105299,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:38] local.INFO: Processing buffer {"connection_id":105299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:38] local.INFO: IMEI packet received {"connection_id":105299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":105299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:53:43] local.INFO: TCP Data received {"connection_id":105299,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:43] local.INFO: Processing buffer {"connection_id":105299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:53:43] local.INFO: IMEI packet received {"connection_id":105299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":105299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:54:01] local.INFO: TCP Data received {"connection_id":105516,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:54:01] local.INFO: Processing buffer {"connection_id":105516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:54:01] local.INFO: IMEI packet received {"connection_id":105516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":105516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:54:33] local.INFO: TCP Data received {"connection_id":105299,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed707e398012d5ad900063b46480006015c2f..."} 
[2026-06-18 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed707e398012d5ad900063b46480006015c2f..."} 
[2026-06-18 00:54:33] local.INFO: Processing buffer {"connection_id":105299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed707e398012d5ad900063b46480006015c2f..."} 
[2026-06-18 00:54:33] local.INFO: Packet analysis {"connection_id":105299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed707"} 
[2026-06-18 00:54:33] local.INFO: Extracted packet for processing {"connection_id":105299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed707"} 
[2026-06-18 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":760928512,"raw_latitude":104547912,"longitude_deg":76.0928512,"latitude_deg":10.4547912,"altitude":6,"angle":348,"satellites":47,"speed":47,"hex_longitude":"2d5ad900","hex_latitude":"063b4648","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121362688001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317561614054195200,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6546967247563878400,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724079000,"timestamp_ms":1781724079000,"timestamp_seconds":1781724079,"priority":1,"record_length":96,"hex_timestamp":"0000019ed707e398"} 
[2026-06-18 00:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 00:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121362688001,"66":27365,"117":206,"19":38400,"24":47,"16":317561614054195200,"45":6546967247563878400},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,19,24,16,45]} 
[2026-06-18 00:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121362688001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:54:33] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 00:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317561614054195200,"km_value":317561614054195.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6546967247563878400,"description":"Unknown IO ID 45"} 
[2026-06-18 00:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121362688001,"power":27365,"unknown_117":206,"unknown_19":38400,"ignition":47,"odometer":null,"unknown_45":6546967247563878400}} 
[2026-06-18 00:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":105299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:54:33] local.INFO: GPS data processed {"connection_id":105299,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:54:33] local.INFO: Acknowledgment sent {"connection_id":105299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:54:35] local.INFO: TCP Data received {"connection_id":106043,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:54:35] local.INFO: Processing buffer {"connection_id":106043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 00:54:35] local.INFO: IMEI packet received {"connection_id":106043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 00:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":106043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:54:37] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:37] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:37] local.INFO: IMEI packet received {"connection_id":106044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":106044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:54:41] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:41] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:41] local.INFO: IMEI packet received {"connection_id":106044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":106044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:54:46] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:46] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:54:46] local.INFO: IMEI packet received {"connection_id":106044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":106044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:54:47] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed709a0e8012d5a5080063ce3400002015430..."} 
[2026-06-18 00:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed709a0e8012d5a5080063ce3400002015430..."} 
[2026-06-18 00:54:47] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed709a0e8012d5a5080063ce3400002015430..."} 
[2026-06-18 00:54:47] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed709"} 
[2026-06-18 00:54:47] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed709"} 
[2026-06-18 00:54:47] local.INFO: GPS Element Parsed {"raw_longitude":760893568,"raw_latitude":104653632,"longitude_deg":76.0893568,"latitude_deg":10.4653632,"altitude":2,"angle":340,"satellites":48,"speed":42,"hex_longitude":"2d5a5080","hex_latitude":"063ce340","is_valid_coordinates":true} 
[2026-06-18 00:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121391104001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317567004238151680,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6511149556804089856,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781724193000,"timestamp_ms":1781724193000,"timestamp_seconds":1781724193,"priority":1,"record_length":96,"hex_timestamp":"0000019ed709a0e8"} 
[2026-06-18 00:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:54:47] 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-06-18 00:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 00:54:47] 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-06-18 00:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:54:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:54:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:54:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:54:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:54:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:54:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:54:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121391104001,"66":27376,"85":206,"19":38400,"24":42,"16":317567004238151680,"45":6511149556804089856},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-06-18 00:54:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:54:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:54:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121391104001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:54:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-18 00:54:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:54:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317567004238151680,"km_value":317567004238151.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:54:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6511149556804089856,"description":"Unknown IO ID 45"} 
[2026-06-18 00:54:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121391104001,"power":27376,"unknown_85":206,"unknown_19":38400,"ignition":42,"odometer":null,"unknown_45":6511149556804089856}} 
[2026-06-18 00:54:47] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:54:47] local.INFO: GPS data processed {"connection_id":106044,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:54:47] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:54:52] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed709c410012d5a4500063d06f00002015530..."} 
[2026-06-18 00:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed709c410012d5a4500063d06f00002015530..."} 
[2026-06-18 00:54:52] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed709c410012d5a4500063d06f00002015530..."} 
[2026-06-18 00:54:52] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed709"} 
[2026-06-18 00:54:52] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed709"} 
[2026-06-18 00:54:52] local.INFO: GPS Element Parsed {"raw_longitude":760890624,"raw_latitude":104662768,"longitude_deg":76.0890624,"latitude_deg":10.4662768,"altitude":2,"angle":341,"satellites":48,"speed":40,"hex_longitude":"2d5a4500","hex_latitude":"063d06f0","is_valid_coordinates":true} 
[2026-06-18 00:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121393408001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317567468094619648,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6507842225830051840,"note":"Value kept but may cause issues"} 
[2026-06-18 00:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781724202000,"timestamp_ms":1781724202000,"timestamp_seconds":1781724202,"priority":1,"record_length":96,"hex_timestamp":"0000019ed709c410"} 
[2026-06-18 00:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:54:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:54: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-06-18 00:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121393408001,"66":27332,"85":206,"19":38400,"24":40,"16":317567468094619648,"45":6507842225830051840},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-06-18 00:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121393408001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:54:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-18 00:54:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317567468094619648,"km_value":317567468094619.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6507842225830051840,"description":"Unknown IO ID 45"} 
[2026-06-18 00:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121393408001,"power":27332,"unknown_85":206,"unknown_19":38400,"ignition":40,"odometer":null,"unknown_45":6507842225830051840}} 
[2026-06-18 00:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:54:52] local.INFO: GPS data processed {"connection_id":106044,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:54:52] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:55:54] local.INFO: TCP Data received {"connection_id":105517,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:55:54] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:55:54] local.INFO: IMEI packet received {"connection_id":105517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":105517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:55:56] local.INFO: TCP Data received {"connection_id":105517,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 00:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 00:55:56] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 00:55:56] local.INFO: IMEI packet received {"connection_id":105517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":105517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:55:57] local.INFO: TCP Data received {"connection_id":105517,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed709eb20012d5a3840063d27c80001015032..."} 
[2026-06-18 00:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed709eb20012d5a3840063d27c80001015032..."} 
[2026-06-18 00:55:57] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed7..."} 
[2026-06-18 00:55:57] local.INFO: IMEI packet received {"connection_id":105517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":105517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:55:58] local.INFO: TCP Data received {"connection_id":105517,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70a1de8012d5a2bc0063d4a38000001542d..."} 
[2026-06-18 00:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70a1de8012d5a2bc0063d4a38000001542d..."} 
[2026-06-18 00:55:58] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed709eb20012d5a3840063d27c80001015032..."} 
[2026-06-18 00:55:58] local.INFO: Packet analysis {"connection_id":105517,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed709"} 
[2026-06-18 00:55:58] local.INFO: Extracted packet for processing {"connection_id":105517,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed709"} 
[2026-06-18 00:55:58] local.INFO: GPS Element Parsed {"raw_longitude":760887360,"raw_latitude":104671176,"longitude_deg":76.088736,"latitude_deg":10.4671176,"altitude":1,"angle":336,"satellites":50,"speed":28,"hex_longitude":"2d5a3840","hex_latitude":"063d27c8","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121395712001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317567906181283840,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6504605263600218112,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781724212000,"timestamp_ms":1781724212000,"timestamp_seconds":1781724212,"priority":1,"record_length":96,"hex_timestamp":"0000019ed709eb20"} 
[2026-06-18 00:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:55: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-06-18 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 00:55: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-06-18 00: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-06-18 00:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121395712001,"66":27376,"85":206,"19":38400,"24":28,"16":317567906181283840,"45":6504605263600218112},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-06-18 00:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121395712001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-18 00:55:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317567906181283840,"km_value":317567906181283.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6504605263600218112,"description":"Unknown IO ID 45"} 
[2026-06-18 00:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121395712001,"power":27376,"unknown_85":206,"unknown_19":38400,"ignition":28,"odometer":null,"unknown_45":6504605263600218112}} 
[2026-06-18 00:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":105517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:55:58] local.INFO: GPS data processed {"connection_id":105517,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:55:58] local.INFO: Acknowledgment sent {"connection_id":105517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:55:58] local.INFO: Packet analysis {"connection_id":105517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70a"} 
[2026-06-18 00:55:58] local.INFO: Extracted packet for processing {"connection_id":105517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70a"} 
[2026-06-18 00:55:58] local.INFO: GPS Element Parsed {"raw_longitude":760884160,"raw_latitude":104679992,"longitude_deg":76.088416,"latitude_deg":10.4679992,"altitude":0,"angle":340,"satellites":45,"speed":29,"hex_longitude":"2d5a2bc0","hex_latitude":"063d4a38","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121398272001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317568361447817216,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6501016457649309696,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781724225000,"timestamp_ms":1781724225000,"timestamp_seconds":1781724225,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70a1de8"} 
[2026-06-18 00:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:55: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-06-18 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121398272001,"66":27365,"85":206,"19":38400,"24":29,"16":317568361447817216,"45":6501016457649309696},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-06-18 00:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121398272001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:55:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-18 00:55:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317568361447817216,"km_value":317568361447817.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6501016457649309696,"description":"Unknown IO ID 45"} 
[2026-06-18 00:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121398272001,"power":27365,"unknown_85":206,"unknown_19":38400,"ignition":29,"odometer":null,"unknown_45":6501016457649309696}} 
[2026-06-18 00:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":105517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:55:58] local.INFO: GPS data processed {"connection_id":105517,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:55:58] local.INFO: Acknowledgment sent {"connection_id":105517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:55:59] local.INFO: TCP Data received {"connection_id":105517,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70a5498012d5a1d80063d6af8000201522d..."} 
[2026-06-18 00:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70a5498012d5a1d80063d6af8000201522d..."} 
[2026-06-18 00:55:59] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70a5498012d5a1d80063d6af8000201522d..."} 
[2026-06-18 00:55:59] local.INFO: Packet analysis {"connection_id":105517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70a"} 
[2026-06-18 00:55:59] local.INFO: Extracted packet for processing {"connection_id":105517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70a"} 
[2026-06-18 00:55:59] local.INFO: GPS Element Parsed {"raw_longitude":760880512,"raw_latitude":104688376,"longitude_deg":76.0880512,"latitude_deg":10.4688376,"altitude":2,"angle":338,"satellites":45,"speed":23,"hex_longitude":"2d5a1d80","hex_latitude":"063d6af8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121401600001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317568803829448704,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6497498020442683392,"note":"Value kept but may cause issues"} 
[2026-06-18 00:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781724239000,"timestamp_ms":1781724239000,"timestamp_seconds":1781724239,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70a5498"} 
[2026-06-18 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-06-18 00:55: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-06-18 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 00:55: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-06-18 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-06-18 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-06-18 00:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":105517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":105517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":105517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121401600001,"66":27343,"85":206,"19":38400,"24":23,"16":317568803829448704,"45":6497498020442683392},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,19,24,16,45]} 
[2026-06-18 00:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121401600001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:55:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-06-18 00:55:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317568803829448704,"km_value":317568803829448.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6497498020442683392,"description":"Unknown IO ID 45"} 
[2026-06-18 00:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121401600001,"power":27343,"unknown_85":206,"unknown_19":38400,"ignition":23,"odometer":null,"unknown_45":6497498020442683392}} 
[2026-06-18 00:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":105517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:55:59] local.INFO: GPS data processed {"connection_id":105517,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:55:59] local.INFO: Acknowledgment sent {"connection_id":105517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:56:26] local.INFO: TCP Data received {"connection_id":105300,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:56:26] local.INFO: Processing buffer {"connection_id":105300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:56:26] local.INFO: IMEI packet received {"connection_id":105300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":105300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:56:32] local.INFO: TCP Data received {"connection_id":105300,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:56:32] local.INFO: Processing buffer {"connection_id":105300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:56:32] local.INFO: IMEI packet received {"connection_id":105300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":105300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:56:33] local.INFO: TCP Data received {"connection_id":105300,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70a9700012d5a0fc0063d8d580002015031..."} 
[2026-06-18 00:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70a9700012d5a0fc0063d8d580002015031..."} 
[2026-06-18 00:56:33] local.INFO: Processing buffer {"connection_id":105300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70a9700012d5a0fc0063d8d580002015031..."} 
[2026-06-18 00:56:33] local.INFO: Packet analysis {"connection_id":105300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70a"} 
[2026-06-18 00:56:33] local.INFO: Extracted packet for processing {"connection_id":105300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70a"} 
[2026-06-18 00:56:33] local.INFO: GPS Element Parsed {"raw_longitude":760876992,"raw_latitude":104697176,"longitude_deg":76.0876992,"latitude_deg":10.4697176,"altitude":2,"angle":336,"satellites":49,"speed":26,"hex_longitude":"2d5a0fc0","hex_latitude":"063d8d58","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121405184001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317569263390949376,"note":"Value kept but may cause issues"} 
[2026-06-18 00:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6493487002026702848,"note":"Value kept but may cause issues"} 
[2026-06-18 00:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724256000,"timestamp_ms":1781724256000,"timestamp_seconds":1781724256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70a9700"} 
[2026-06-18 00:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 00:56: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-06-18 00: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-06-18 00:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121405184001,"66":27376,"218":206,"19":38400,"24":26,"16":317569263390949376,"45":6493487002026702848},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 00:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121405184001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:56:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 00:56:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317569263390949376,"km_value":317569263390949.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6493487002026702848,"description":"Unknown IO ID 45"} 
[2026-06-18 00:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121405184001,"power":27376,"unknown_218":206,"unknown_19":38400,"ignition":26,"odometer":null,"unknown_45":6493487002026702848}} 
[2026-06-18 00:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":105300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:56:33] local.INFO: GPS data processed {"connection_id":105300,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:56:33] local.INFO: Acknowledgment sent {"connection_id":105300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:57:07] local.INFO: TCP Data received {"connection_id":105300,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70ac1f8012d5a05c0063da3580001014530..."} 
[2026-06-18 00:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70ac1f8012d5a05c0063da3580001014530..."} 
[2026-06-18 00:57:07] local.INFO: Processing buffer {"connection_id":105300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70ac1f8012d5a05c0063da3580001014530..."} 
[2026-06-18 00:57:07] local.INFO: Packet analysis {"connection_id":105300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70a"} 
[2026-06-18 00:57:07] local.INFO: Extracted packet for processing {"connection_id":105300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70a"} 
[2026-06-18 00:57:07] local.INFO: GPS Element Parsed {"raw_longitude":760874432,"raw_latitude":104702808,"longitude_deg":76.0874432,"latitude_deg":10.4702808,"altitude":1,"angle":325,"satellites":48,"speed":15,"hex_longitude":"2d5a05c0","hex_latitude":"063da358","is_valid_coordinates":true} 
[2026-06-18 00: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-06-18 00:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121409536001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317569564038660096,"note":"Value kept but may cause issues"} 
[2026-06-18 00:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6489616721099184128,"note":"Value kept but may cause issues"} 
[2026-06-18 00:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781724267000,"timestamp_ms":1781724267000,"timestamp_seconds":1781724267,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70ac1f8"} 
[2026-06-18 00:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 00:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121409536001,"66":27463,"218":206,"19":38400,"24":15,"16":317569564038660096,"45":6489616721099184128},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 00:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121409536001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:57:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 00:57:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317569564038660096,"km_value":317569564038660.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6489616721099184128,"description":"Unknown IO ID 45"} 
[2026-06-18 00:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121409536001,"power":27463,"unknown_218":206,"unknown_19":38400,"ignition":15,"odometer":null,"unknown_45":6489616721099184128}} 
[2026-06-18 00:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":105300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:57:07] local.INFO: GPS data processed {"connection_id":105300,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:57:07] local.INFO: Acknowledgment sent {"connection_id":105300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:57:26] local.INFO: TCP Data received {"connection_id":107023,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:57:26] local.INFO: Processing buffer {"connection_id":107023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:57:26] local.INFO: IMEI packet received {"connection_id":107023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":107023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:57:32] local.INFO: TCP Data received {"connection_id":107023,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:57:32] local.INFO: Processing buffer {"connection_id":107023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:57:32] local.INFO: IMEI packet received {"connection_id":107023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":107023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:57:33] local.INFO: TCP Data received {"connection_id":107023,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70b1018012d59f500063dc4300000014c32..."} 
[2026-06-18 00:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70b1018012d59f500063dc4300000014c32..."} 
[2026-06-18 00:57:33] local.INFO: Processing buffer {"connection_id":107023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70b1018012d59f500063dc4300000014c32..."} 
[2026-06-18 00:57:33] local.INFO: Packet analysis {"connection_id":107023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:57:33] local.INFO: Extracted packet for processing {"connection_id":107023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:57:33] local.INFO: GPS Element Parsed {"raw_longitude":760870144,"raw_latitude":104711216,"longitude_deg":76.0870144,"latitude_deg":10.4711216,"altitude":0,"angle":332,"satellites":50,"speed":27,"hex_longitude":"2d59f500","hex_latitude":"063dc430","is_valid_coordinates":true} 
[2026-06-18 00:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121412352001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317570023600160768,"note":"Value kept but may cause issues"} 
[2026-06-18 00:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6486801971333519360,"note":"Value kept but may cause issues"} 
[2026-06-18 00:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724287000,"timestamp_ms":1781724287000,"timestamp_seconds":1781724287,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70b1018"} 
[2026-06-18 00:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121412352001,"66":27463,"218":206,"19":38400,"24":27,"16":317570023600160768,"45":6486801971333519360},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 00:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121412352001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:57:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 00:57:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317570023600160768,"km_value":317570023600160.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6486801971333519360,"description":"Unknown IO ID 45"} 
[2026-06-18 00:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121412352001,"power":27463,"unknown_218":206,"unknown_19":38400,"ignition":27,"odometer":null,"unknown_45":6486801971333519360}} 
[2026-06-18 00:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":107023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:57:33] local.INFO: GPS data processed {"connection_id":107023,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:57:33] local.INFO: Acknowledgment sent {"connection_id":107023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:58:05] local.INFO: TCP Data received {"connection_id":107023,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70b42e0012d59e2c0063de4d80000014a28..."} 
[2026-06-18 00:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70b42e0012d59e2c0063de4d80000014a28..."} 
[2026-06-18 00:58:05] local.INFO: Processing buffer {"connection_id":107023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70b42e0012d59e2c0063de4d80000014a28..."} 
[2026-06-18 00:58:05] local.INFO: Packet analysis {"connection_id":107023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:58:05] local.INFO: Extracted packet for processing {"connection_id":107023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:58:05] local.INFO: GPS Element Parsed {"raw_longitude":760865472,"raw_latitude":104719576,"longitude_deg":76.0865472,"latitude_deg":10.4719576,"altitude":0,"angle":330,"satellites":40,"speed":29,"hex_longitude":"2d59e2c0","hex_latitude":"063de4d8","is_valid_coordinates":true} 
[2026-06-18 00:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121417472001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317570483161661440,"note":"Value kept but may cause issues"} 
[2026-06-18 00:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6482087265475768320,"note":"Value kept but may cause issues"} 
[2026-06-18 00:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781724300000,"timestamp_ms":1781724300000,"timestamp_seconds":1781724300,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70b42e0"} 
[2026-06-18 00:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:58:05] 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-06-18 00:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 00:58: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-06-18 00:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121417472001,"66":27397,"218":206,"19":38400,"24":29,"16":317570483161661440,"45":6482087265475768320},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 00:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121417472001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:58:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 00:58:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317570483161661440,"km_value":317570483161661.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6482087265475768320,"description":"Unknown IO ID 45"} 
[2026-06-18 00:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121417472001,"power":27397,"unknown_218":206,"unknown_19":38400,"ignition":29,"odometer":null,"unknown_45":6482087265475768320}} 
[2026-06-18 00:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":107023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:58:05] local.INFO: GPS data processed {"connection_id":107023,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:58:05] local.INFO: Acknowledgment sent {"connection_id":107023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:58:26] local.INFO: TCP Data received {"connection_id":105302,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:58:26] local.INFO: Processing buffer {"connection_id":105302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:58:26] local.INFO: IMEI packet received {"connection_id":105302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":105302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:58:32] local.INFO: TCP Data received {"connection_id":105302,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:58:32] local.INFO: Processing buffer {"connection_id":105302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:58:32] local.INFO: IMEI packet received {"connection_id":105302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":105302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:58:33] local.INFO: TCP Data received {"connection_id":105302,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70b71c0012d59d140063e0350000101482c..."} 
[2026-06-18 00:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70b71c0012d59d140063e0350000101482c..."} 
[2026-06-18 00:58:33] local.INFO: Processing buffer {"connection_id":105302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70b71c0012d59d140063e0350000101482c..."} 
[2026-06-18 00:58:33] local.INFO: Packet analysis {"connection_id":105302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:58:33] local.INFO: Extracted packet for processing {"connection_id":105302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:58:33] local.INFO: GPS Element Parsed {"raw_longitude":760860992,"raw_latitude":104727376,"longitude_deg":76.0860992,"latitude_deg":10.4727376,"altitude":1,"angle":328,"satellites":44,"speed":28,"hex_longitude":"2d59d140","hex_latitude":"063e0350","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121420800001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317570916953358336,"note":"Value kept but may cause issues"} 
[2026-06-18 00:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6476950347152939008,"note":"Value kept but may cause issues"} 
[2026-06-18 00:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724312000,"timestamp_ms":1781724312000,"timestamp_seconds":1781724312,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70b71c0"} 
[2026-06-18 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-06-18 00:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 00:58: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-06-18 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-06-18 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-06-18 00:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121420800001,"66":27767,"218":206,"19":38400,"24":28,"16":317570916953358336,"45":6476950347152939008},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 00:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121420800001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:58:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 00:58:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317570916953358336,"km_value":317570916953358.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6476950347152939008,"description":"Unknown IO ID 45"} 
[2026-06-18 00:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121420800001,"power":27767,"unknown_218":206,"unknown_19":38400,"ignition":28,"odometer":null,"unknown_45":6476950347152939008}} 
[2026-06-18 00:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":105302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:58:33] local.INFO: GPS data processed {"connection_id":105302,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:58:33] local.INFO: Acknowledgment sent {"connection_id":105302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:59:05] local.INFO: TCP Data received {"connection_id":105302,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70ba488012d59bf80063e21400001014730..."} 
[2026-06-18 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70ba488012d59bf80063e21400001014730..."} 
[2026-06-18 00:59:05] local.INFO: Processing buffer {"connection_id":105302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70ba488012d59bf80063e21400001014730..."} 
[2026-06-18 00:59:05] local.INFO: Packet analysis {"connection_id":105302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:59:05] local.INFO: Extracted packet for processing {"connection_id":105302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":760856448,"raw_latitude":104735040,"longitude_deg":76.0856448,"latitude_deg":10.473504,"altitude":1,"angle":327,"satellites":48,"speed":25,"hex_longitude":"2d59bf80","hex_latitude":"063e2140","is_valid_coordinates":true} 
[2026-06-18 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-06-18 00:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121423872001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571350745055232,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6472024535062499328,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781724325000,"timestamp_ms":1781724325000,"timestamp_seconds":1781724325,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70ba488"} 
[2026-06-18 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-06-18 00:59:05] 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-06-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 00:59: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-06-18 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-06-18 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-06-18 00:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121423872001,"66":27821,"218":206,"19":38400,"24":25,"16":317571350745055232,"45":6472024535062499328},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 00:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121423872001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:59:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 00:59:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571350745055232,"km_value":317571350745055.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6472024535062499328,"description":"Unknown IO ID 45"} 
[2026-06-18 00:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121423872001,"power":27821,"unknown_218":206,"unknown_19":38400,"ignition":25,"odometer":null,"unknown_45":6472024535062499328}} 
[2026-06-18 00:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":105302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:59:05] local.INFO: GPS data processed {"connection_id":105302,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:59:05] local.INFO: Acknowledgment sent {"connection_id":105302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:59:32] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:59:32] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:59:32] local.INFO: IMEI packet received {"connection_id":106046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 00:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":106046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 00:59:37] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:59:37] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 00:59:37] local.INFO: IMEI packet received {"connection_id":106046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 00:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":106046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 00:59:38] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 00:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 00:59:38] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 00:59:38] local.INFO: Packet analysis {"connection_id":106046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:59:38] local.INFO: Extracted packet for processing {"connection_id":106046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":760855232,"raw_latitude":104736904,"longitude_deg":76.0855232,"latitude_deg":10.4736904,"altitude":1,"angle":327,"satellites":49,"speed":20,"hex_longitude":"2d59bac0","hex_latitude":"063e2888","is_valid_coordinates":true} 
[2026-06-18 00:59: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-06-18 00:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121427200001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6467028354227847168,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781724329000,"timestamp_ms":1781724329000,"timestamp_seconds":1781724329,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70bb428"} 
[2026-06-18 00:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 00: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 00:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00: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-06-18 00:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121427200001,"66":27745,"218":206,"19":38400,"24":20,"16":317571458119237632,"45":6467028354227847168},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 00:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121427200001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:59:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 00:59:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6467028354227847168,"description":"Unknown IO ID 45"} 
[2026-06-18 00:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121427200001,"power":27745,"unknown_218":206,"unknown_19":38400,"ignition":20,"odometer":null,"unknown_45":6467028354227847168}} 
[2026-06-18 00:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":106046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:59:38] local.INFO: GPS data processed {"connection_id":106046,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:59:38] local.INFO: Acknowledgment sent {"connection_id":106046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 00:59:47] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 00:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 00:59:47] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 00:59:47] local.INFO: Packet analysis {"connection_id":106046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:59:47] local.INFO: Extracted packet for processing {"connection_id":106046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 00:59:47] local.INFO: GPS Element Parsed {"raw_longitude":760855232,"raw_latitude":104736904,"longitude_deg":76.0855232,"latitude_deg":10.4736904,"altitude":1,"angle":327,"satellites":49,"speed":20,"hex_longitude":"2d59bac0","hex_latitude":"063e2888","is_valid_coordinates":true} 
[2026-06-18 00:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 00:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121427200001,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6467028354227847168,"note":"Value kept but may cause issues"} 
[2026-06-18 00:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 00:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781724329000,"timestamp_ms":1781724329000,"timestamp_seconds":1781724329,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70bb428"} 
[2026-06-18 00:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 00:59:47] 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-06-18 00:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 00:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 00:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 00:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 00:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 00:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 00:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 00:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 00:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 00:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 00:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121427200001,"66":27745,"218":206,"19":38400,"24":20,"16":317571458119237632,"45":6467028354227847168},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 00:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 00:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 00:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121427200001,"description":"Unknown IO ID 0"} 
[2026-06-18 00:59:47] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 00:59:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 00:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 00:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6467028354227847168,"description":"Unknown IO ID 45"} 
[2026-06-18 00:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121427200001,"power":27745,"unknown_218":206,"unknown_19":38400,"ignition":20,"odometer":null,"unknown_45":6467028354227847168}} 
[2026-06-18 00:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":106046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 00:59:47] local.INFO: GPS data processed {"connection_id":106046,"processed":1,"errors":0,"total":1} 
[2026-06-18 00:59:47] local.INFO: Acknowledgment sent {"connection_id":106046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:00:00] local.INFO: TCP Data received {"connection_id":105519,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:00:00] local.INFO: Processing buffer {"connection_id":105519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:00:00] local.INFO: IMEI packet received {"connection_id":105519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":105519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:00:26] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:00:26] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:00:26] local.INFO: IMEI packet received {"connection_id":106047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":106047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:00:32] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:00:32] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:00:32] local.INFO: IMEI packet received {"connection_id":106047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":106047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:00:35] local.INFO: TCP Data received {"connection_id":105303,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:00:35] local.INFO: Processing buffer {"connection_id":105303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:00:35] local.INFO: IMEI packet received {"connection_id":105303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":105303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:00:36] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 01:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 01:00:36] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 01:00:36] local.INFO: Packet analysis {"connection_id":106047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 01:00:36] local.INFO: Extracted packet for processing {"connection_id":106047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 01:00:36] local.INFO: GPS Element Parsed {"raw_longitude":760855232,"raw_latitude":104736904,"longitude_deg":76.0855232,"latitude_deg":10.4736904,"altitude":1,"angle":327,"satellites":49,"speed":20,"hex_longitude":"2d59bac0","hex_latitude":"063e2888","is_valid_coordinates":true} 
[2026-06-18 01:00: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-06-18 01:00:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121427200001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:00:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:00:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6467028354227847168,"note":"Value kept but may cause issues"} 
[2026-06-18 01:00:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:00:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781724329000,"timestamp_ms":1781724329000,"timestamp_seconds":1781724329,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70bb428"} 
[2026-06-18 01:00:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:00: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-06-18 01:00:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 01:00:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:00:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:00:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:00:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:00:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:00:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:00:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:00:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:00:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:00:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:00:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121427200001,"66":27745,"218":206,"19":38400,"24":20,"16":317571458119237632,"45":6467028354227847168},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:00:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:00:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:00:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121427200001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:00:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:00:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:00:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:00:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6467028354227847168,"description":"Unknown IO ID 45"} 
[2026-06-18 01:00:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121427200001,"power":27745,"unknown_218":206,"unknown_19":38400,"ignition":20,"odometer":null,"unknown_45":6467028354227847168}} 
[2026-06-18 01:00:36] local.INFO: DEBUG: GPS processor result {"connection_id":106047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:00:36] local.INFO: GPS data processed {"connection_id":106047,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:00:36] local.INFO: Acknowledgment sent {"connection_id":106047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:01:08] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 01:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 01:01:08] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed70bb428012d59bac0063e28880001014731..."} 
[2026-06-18 01:01:08] local.INFO: Packet analysis {"connection_id":106047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 01:01:08] local.INFO: Extracted packet for processing {"connection_id":106047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed70b"} 
[2026-06-18 01:01:08] local.INFO: GPS Element Parsed {"raw_longitude":760855232,"raw_latitude":104736904,"longitude_deg":76.0855232,"latitude_deg":10.4736904,"altitude":1,"angle":327,"satellites":49,"speed":20,"hex_longitude":"2d59bac0","hex_latitude":"063e2888","is_valid_coordinates":true} 
[2026-06-18 01:01: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-06-18 01:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121427200001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6467028354227847168,"note":"Value kept but may cause issues"} 
[2026-06-18 01:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781724329000,"timestamp_ms":1781724329000,"timestamp_seconds":1781724329,"priority":1,"record_length":96,"hex_timestamp":"0000019ed70bb428"} 
[2026-06-18 01:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 01:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 01:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121427200001,"66":27745,"218":206,"19":38400,"24":20,"16":317571458119237632,"45":6467028354227847168},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121427200001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:01:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:01:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6467028354227847168,"description":"Unknown IO ID 45"} 
[2026-06-18 01:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121427200001,"power":27745,"unknown_218":206,"unknown_19":38400,"ignition":20,"odometer":null,"unknown_45":6467028354227847168}} 
[2026-06-18 01:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":106047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:01:08] local.INFO: GPS data processed {"connection_id":106047,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:01:08] local.INFO: Acknowledgment sent {"connection_id":106047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:01:26] local.INFO: TCP Data received {"connection_id":107024,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:01:26] local.INFO: Processing buffer {"connection_id":107024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:01:26] local.INFO: IMEI packet received {"connection_id":107024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":107024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:01:31] local.INFO: TCP Data received {"connection_id":107024,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:01:31] local.INFO: Processing buffer {"connection_id":107024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:01:31] local.INFO: IMEI packet received {"connection_id":107024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":107024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:01:32] local.INFO: TCP Data received {"connection_id":107024,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:01:32] local.INFO: Processing buffer {"connection_id":107024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:01:32] local.INFO: Packet analysis {"connection_id":107024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:01:32] local.INFO: Extracted packet for processing {"connection_id":107024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:01:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":107024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:01:32] local.INFO: GPS data processed {"connection_id":107024,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:01:32] local.INFO: Acknowledgment sent {"connection_id":107024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:02:04] local.INFO: TCP Data received {"connection_id":107024,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:02:04] local.INFO: Processing buffer {"connection_id":107024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:02:04] local.INFO: Packet analysis {"connection_id":107024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:02:04] local.INFO: Extracted packet for processing {"connection_id":107024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:02:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:02:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:02:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":107024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:02:04] local.INFO: GPS data processed {"connection_id":107024,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:02:04] local.INFO: Acknowledgment sent {"connection_id":107024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:02:26] local.INFO: TCP Data received {"connection_id":105521,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:02:26] local.INFO: Processing buffer {"connection_id":105521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:02:26] local.INFO: IMEI packet received {"connection_id":105521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":105521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:02:32] local.INFO: TCP Data received {"connection_id":105521,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:02:32] local.INFO: Processing buffer {"connection_id":105521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:02:32] local.INFO: IMEI packet received {"connection_id":105521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":105521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:02:33] local.INFO: TCP Data received {"connection_id":105521,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:02:33] local.INFO: Processing buffer {"connection_id":105521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:02:33] local.INFO: Packet analysis {"connection_id":105521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:02:33] local.INFO: Extracted packet for processing {"connection_id":105521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:02:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:02: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-06-18 01: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-06-18 01:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:02:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:02:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:02:33] local.INFO: DEBUG: GPS processor result {"connection_id":105521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:02:33] local.INFO: GPS data processed {"connection_id":105521,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:02:33] local.INFO: Acknowledgment sent {"connection_id":105521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:03:05] local.INFO: TCP Data received {"connection_id":105521,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:03:05] local.INFO: Processing buffer {"connection_id":105521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:03:05] local.INFO: Packet analysis {"connection_id":105521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:03:05] local.INFO: Extracted packet for processing {"connection_id":105521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:03:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:03:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:03:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":105521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:03:05] local.INFO: GPS data processed {"connection_id":105521,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:03:05] local.INFO: Acknowledgment sent {"connection_id":105521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:04:09] local.INFO: TCP Data received {"connection_id":105304,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:09] local.INFO: Processing buffer {"connection_id":105304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:09] local.INFO: IMEI packet received {"connection_id":105304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":105304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:04:10] local.INFO: TCP Data received {"connection_id":105304,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105304,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 01:04:10] local.INFO: Processing buffer {"connection_id":105304,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 01:04:10] local.INFO: IMEI packet received {"connection_id":105304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":105304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:04:10] local.INFO: TCP Data received {"connection_id":105304,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:10] local.INFO: Processing buffer {"connection_id":105304,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed7..."} 
[2026-06-18 01:04:10] local.INFO: IMEI packet received {"connection_id":105304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":105304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:04:11] local.INFO: TCP Data received {"connection_id":105304,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:11] local.INFO: Processing buffer {"connection_id":105304,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:11] local.INFO: Packet analysis {"connection_id":105304,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:04:11] local.INFO: Extracted packet for processing {"connection_id":105304,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":105304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":105304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":105304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:04:11] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:04:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":105304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:04:11] local.INFO: GPS data processed {"connection_id":105304,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:04:11] local.INFO: Acknowledgment sent {"connection_id":105304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:04:11] local.INFO: Packet analysis {"connection_id":105304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:04:11] local.INFO: Extracted packet for processing {"connection_id":105304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":105304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":105304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":105304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:04:11] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:04:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":105304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:04:11] local.INFO: GPS data processed {"connection_id":105304,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:04:11] local.INFO: Acknowledgment sent {"connection_id":105304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:04:12] local.INFO: TCP Data received {"connection_id":105304,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:12] local.INFO: Processing buffer {"connection_id":105304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:12] local.INFO: Packet analysis {"connection_id":105304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:04:12] local.INFO: Extracted packet for processing {"connection_id":105304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:04:12] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:04:12] 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-06-18 01:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:04:12] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:04:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":105304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:04:12] local.INFO: GPS data processed {"connection_id":105304,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:04:12] local.INFO: Acknowledgment sent {"connection_id":105304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:04:26] local.INFO: TCP Data received {"connection_id":105306,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:26] local.INFO: Processing buffer {"connection_id":105306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:26] local.INFO: IMEI packet received {"connection_id":105306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":105306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:04:32] local.INFO: TCP Data received {"connection_id":105306,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:32] local.INFO: Processing buffer {"connection_id":105306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:04:32] local.INFO: IMEI packet received {"connection_id":105306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":105306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:04:35] local.INFO: TCP Data received {"connection_id":105306,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:35] local.INFO: Processing buffer {"connection_id":105306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:04:35] local.INFO: Packet analysis {"connection_id":105306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:04:35] local.INFO: Extracted packet for processing {"connection_id":105306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:04:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:04:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:04:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:04: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-06-18 01:04:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:04:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:04:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:04:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:04:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":105306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:04:35] local.INFO: GPS data processed {"connection_id":105306,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:04:35] local.INFO: Acknowledgment sent {"connection_id":105306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:05:07] local.INFO: TCP Data received {"connection_id":105306,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:05:07] local.INFO: Processing buffer {"connection_id":105306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:05:07] local.INFO: Packet analysis {"connection_id":105306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:05:07] local.INFO: Extracted packet for processing {"connection_id":105306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:05:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:05: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-06-18 01:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:05:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:05:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":105306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:05:07] local.INFO: GPS data processed {"connection_id":105306,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:05:07] local.INFO: Acknowledgment sent {"connection_id":105306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:05:26] local.INFO: TCP Data received {"connection_id":107026,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:05:26] local.INFO: Processing buffer {"connection_id":107026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:05:26] local.INFO: IMEI packet received {"connection_id":107026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":107026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:05:32] local.INFO: TCP Data received {"connection_id":107026,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:05:32] local.INFO: Processing buffer {"connection_id":107026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:05:32] local.INFO: IMEI packet received {"connection_id":107026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":107026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:05:33] local.INFO: TCP Data received {"connection_id":107026,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:05:33] local.INFO: Processing buffer {"connection_id":107026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:05:33] local.INFO: Packet analysis {"connection_id":107026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:05:33] local.INFO: Extracted packet for processing {"connection_id":107026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:05:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:05: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-06-18 01:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:05:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:05:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":107026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:05:33] local.INFO: GPS data processed {"connection_id":107026,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:05:33] local.INFO: Acknowledgment sent {"connection_id":107026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:06:05] local.INFO: TCP Data received {"connection_id":105522,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:06:05] local.INFO: Processing buffer {"connection_id":105522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:06:05] local.INFO: IMEI packet received {"connection_id":105522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":105522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:06:06] local.INFO: TCP Data received {"connection_id":107026,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:06:06] local.INFO: Processing buffer {"connection_id":107026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7105b90012d59b000063e3ac80001014832..."} 
[2026-06-18 01:06:06] local.INFO: Packet analysis {"connection_id":107026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:06:06] local.INFO: Extracted packet for processing {"connection_id":107026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed710"} 
[2026-06-18 01:06:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121428224001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6465691348088948736,"note":"Value kept but may cause issues"} 
[2026-06-18 01:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781724634000,"timestamp_ms":1781724634000,"timestamp_seconds":1781724634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7105b90"} 
[2026-06-18 01:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121428224001,"66":25441,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6465691348088948736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121428224001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:06:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:06:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6465691348088948736,"description":"Unknown IO ID 45"} 
[2026-06-18 01:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121428224001,"power":25441,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6465691348088948736}} 
[2026-06-18 01:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":107026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:06:06] local.INFO: GPS data processed {"connection_id":107026,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:06:06] local.INFO: Acknowledgment sent {"connection_id":107026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:06:26] local.INFO: TCP Data received {"connection_id":106048,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:06:26] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:06:26] local.INFO: IMEI packet received {"connection_id":106048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":106048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:06:32] local.INFO: TCP Data received {"connection_id":106048,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:06:32] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:06:32] local.INFO: IMEI packet received {"connection_id":106048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":106048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:06:33] local.INFO: TCP Data received {"connection_id":106048,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:06:33] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:06:33] local.INFO: Packet analysis {"connection_id":106048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:06:33] local.INFO: Extracted packet for processing {"connection_id":106048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:06:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:06:33] 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-06-18 01:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:06:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":106048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:06:33] local.INFO: GPS data processed {"connection_id":106048,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:06:33] local.INFO: Acknowledgment sent {"connection_id":106048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:06:35] local.INFO: TCP Data received {"connection_id":105523,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:06:35] local.INFO: Processing buffer {"connection_id":105523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:06:35] local.INFO: IMEI packet received {"connection_id":105523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":105523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:07:04] local.INFO: TCP Data received {"connection_id":106048,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:07:04] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:07:04] local.INFO: Packet analysis {"connection_id":106048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:07:04] local.INFO: Extracted packet for processing {"connection_id":106048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:07:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:07:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:07:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":106048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:07:05] local.INFO: GPS data processed {"connection_id":106048,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:07:05] local.INFO: Acknowledgment sent {"connection_id":106048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:07:26] local.INFO: TCP Data received {"connection_id":107027,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:07:26] local.INFO: Processing buffer {"connection_id":107027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:07:26] local.INFO: IMEI packet received {"connection_id":107027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":107027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:07:32] local.INFO: TCP Data received {"connection_id":107027,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:07:32] local.INFO: Processing buffer {"connection_id":107027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:07:32] local.INFO: IMEI packet received {"connection_id":107027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":107027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:07:36] local.INFO: TCP Data received {"connection_id":107027,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:07:36] local.INFO: Processing buffer {"connection_id":107027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:07:36] local.INFO: Packet analysis {"connection_id":107027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:07:36] local.INFO: Extracted packet for processing {"connection_id":107027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:07:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:07:36] 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-06-18 01:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:07:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:07:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":107027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:07:36] local.INFO: GPS data processed {"connection_id":107027,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:07:36] local.INFO: Acknowledgment sent {"connection_id":107027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:08:08] local.INFO: TCP Data received {"connection_id":107027,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:08:08] local.INFO: Processing buffer {"connection_id":107027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:08:08] local.INFO: Packet analysis {"connection_id":107027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:08:08] local.INFO: Extracted packet for processing {"connection_id":107027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:08:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:08:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:08:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":107027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:08:08] local.INFO: GPS data processed {"connection_id":107027,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:08:08] local.INFO: Acknowledgment sent {"connection_id":107027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:08:26] local.INFO: TCP Data received {"connection_id":107029,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:08:26] local.INFO: Processing buffer {"connection_id":107029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:08:26] local.INFO: IMEI packet received {"connection_id":107029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":107029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:08:32] local.INFO: TCP Data received {"connection_id":107029,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:08:32] local.INFO: Processing buffer {"connection_id":107029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:08:32] local.INFO: IMEI packet received {"connection_id":107029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":107029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:08:33] local.INFO: TCP Data received {"connection_id":107029,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:08:33] local.INFO: Processing buffer {"connection_id":107029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:08:33] local.INFO: Packet analysis {"connection_id":107029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:08:33] local.INFO: Extracted packet for processing {"connection_id":107029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:08:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:08:33] 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-06-18 01:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:08:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:08:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":107029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:08:33] local.INFO: GPS data processed {"connection_id":107029,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:08:33] local.INFO: Acknowledgment sent {"connection_id":107029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:09:05] local.INFO: TCP Data received {"connection_id":107029,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:05] local.INFO: Processing buffer {"connection_id":107029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:05] local.INFO: Packet analysis {"connection_id":107029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:09:05] local.INFO: Extracted packet for processing {"connection_id":107029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:09:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:09:05] 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-06-18 01:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:09:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:09:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":107029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:09:05] local.INFO: GPS data processed {"connection_id":107029,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:09:05] local.INFO: Acknowledgment sent {"connection_id":107029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:09:32] local.INFO: TCP Data received {"connection_id":105308,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:09:32] local.INFO: Processing buffer {"connection_id":105308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:09:32] local.INFO: IMEI packet received {"connection_id":105308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":105308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:09:37] local.INFO: TCP Data received {"connection_id":105308,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:09:37] local.INFO: Processing buffer {"connection_id":105308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:09:37] local.INFO: IMEI packet received {"connection_id":105308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":105308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:09:38] local.INFO: TCP Data received {"connection_id":105308,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:38] local.INFO: Processing buffer {"connection_id":105308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:38] local.INFO: Packet analysis {"connection_id":105308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:09:38] local.INFO: Extracted packet for processing {"connection_id":105308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:09:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:09:38] 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-06-18 01:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:09:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:09:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:09:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":105308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:09:38] local.INFO: GPS data processed {"connection_id":105308,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:09:38] local.INFO: Acknowledgment sent {"connection_id":105308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:09:42] local.INFO: TCP Data received {"connection_id":105308,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:42] local.INFO: Processing buffer {"connection_id":105308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:09:42] local.INFO: Packet analysis {"connection_id":105308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:09:42] local.INFO: Extracted packet for processing {"connection_id":105308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:09:42] 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-06-18 01:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:09:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:09:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":105308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:09:42] local.INFO: GPS data processed {"connection_id":105308,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:09:42] local.INFO: Acknowledgment sent {"connection_id":105308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:10:26] local.INFO: TCP Data received {"connection_id":107030,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:10:26] local.INFO: Processing buffer {"connection_id":107030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:10:26] local.INFO: IMEI packet received {"connection_id":107030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":107030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:10:32] local.INFO: TCP Data received {"connection_id":107030,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:10:32] local.INFO: Processing buffer {"connection_id":107030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:10:32] local.INFO: IMEI packet received {"connection_id":107030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":107030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:10:33] local.INFO: TCP Data received {"connection_id":107030,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:10:33] local.INFO: Processing buffer {"connection_id":107030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:10:33] local.INFO: Packet analysis {"connection_id":107030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:10:33] local.INFO: Extracted packet for processing {"connection_id":107030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:10:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:10:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:10:33] 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-06-18 01: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-06-18 01:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:10:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:10:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":107030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:10:33] local.INFO: GPS data processed {"connection_id":107030,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:10:33] local.INFO: Acknowledgment sent {"connection_id":107030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:11:05] local.INFO: TCP Data received {"connection_id":107030,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:11:05] local.INFO: Processing buffer {"connection_id":107030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed714f358012d59b000063e3ac80001014832..."} 
[2026-06-18 01:11:05] local.INFO: Packet analysis {"connection_id":107030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:11:05] local.INFO: Extracted packet for processing {"connection_id":107030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed714"} 
[2026-06-18 01:11:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121506304001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781724935000,"timestamp_ms":1781724935000,"timestamp_seconds":1781724935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed714f358"} 
[2026-06-18 01:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 01:11:05] 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-06-18 01:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121506304001,"66":24451,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121506304001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:11:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:11:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121506304001,"power":24451,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":107030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:11:05] local.INFO: GPS data processed {"connection_id":107030,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:11:05] local.INFO: Acknowledgment sent {"connection_id":107030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:11:26] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:11:26] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:11:26] local.INFO: IMEI packet received {"connection_id":106050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":106050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:11:31] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:11:31] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:11:31] local.INFO: IMEI packet received {"connection_id":106050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":106050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:11:33] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:11:33] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:11:33] local.INFO: Packet analysis {"connection_id":106050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:11:33] local.INFO: Extracted packet for processing {"connection_id":106050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:11:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 01:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:11:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":106050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:11:33] local.INFO: GPS data processed {"connection_id":106050,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:11:33] local.INFO: Acknowledgment sent {"connection_id":106050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:11:55] local.INFO: TCP Data received {"connection_id":105310,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:11:55] local.INFO: Processing buffer {"connection_id":105310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:11:55] local.INFO: IMEI packet received {"connection_id":105310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":105310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:12:10] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:12:10] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:12:10] local.INFO: Packet analysis {"connection_id":106050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:12:10] local.INFO: Extracted packet for processing {"connection_id":106050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:12:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 01:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:12:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:12:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":106050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:12:10] local.INFO: GPS data processed {"connection_id":106050,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:12:10] local.INFO: Acknowledgment sent {"connection_id":106050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:12:27] local.INFO: TCP Data received {"connection_id":107031,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:12:27] local.INFO: Processing buffer {"connection_id":107031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:12:27] local.INFO: IMEI packet received {"connection_id":107031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":107031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:12:32] local.INFO: TCP Data received {"connection_id":107031,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:12:32] local.INFO: Processing buffer {"connection_id":107031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:12:32] local.INFO: IMEI packet received {"connection_id":107031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":107031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:12:33] local.INFO: TCP Data received {"connection_id":107031,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:12:33] local.INFO: Processing buffer {"connection_id":107031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:12:33] local.INFO: Packet analysis {"connection_id":107031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:12:33] local.INFO: Extracted packet for processing {"connection_id":107031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:12:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 01:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:12:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":107031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:12:33] local.INFO: GPS data processed {"connection_id":107031,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:12:33] local.INFO: Acknowledgment sent {"connection_id":107031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:12:35] local.INFO: TCP Data received {"connection_id":105311,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:12:35] local.INFO: Processing buffer {"connection_id":105311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:12:35] local.INFO: IMEI packet received {"connection_id":105311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":105311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:13:04] local.INFO: TCP Data received {"connection_id":107031,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:13:04] local.INFO: Processing buffer {"connection_id":107031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:13:04] local.INFO: Packet analysis {"connection_id":107031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:13:04] local.INFO: Extracted packet for processing {"connection_id":107031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:13:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 01:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:13:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:13:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":107031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:13:04] local.INFO: GPS data processed {"connection_id":107031,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:13:04] local.INFO: Acknowledgment sent {"connection_id":107031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:13:26] local.INFO: TCP Data received {"connection_id":105312,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:13:26] local.INFO: Processing buffer {"connection_id":105312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:13:26] local.INFO: IMEI packet received {"connection_id":105312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":105312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:13:32] local.INFO: TCP Data received {"connection_id":105312,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:13:32] local.INFO: Processing buffer {"connection_id":105312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:13:32] local.INFO: IMEI packet received {"connection_id":105312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":105312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:13:33] local.INFO: TCP Data received {"connection_id":105312,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:13:33] local.INFO: Processing buffer {"connection_id":105312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:13:33] local.INFO: Packet analysis {"connection_id":105312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:13:33] local.INFO: Extracted packet for processing {"connection_id":105312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:13:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 01:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 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-06-18 01:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 01:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:13:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":105312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:13:33] local.INFO: GPS data processed {"connection_id":105312,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:13:33] local.INFO: Acknowledgment sent {"connection_id":105312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:14:04] local.INFO: TCP Data received {"connection_id":105312,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:14:04] local.INFO: Processing buffer {"connection_id":105312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:14:04] local.INFO: Packet analysis {"connection_id":105312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:14:04] local.INFO: Extracted packet for processing {"connection_id":105312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:14:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 01:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:14:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:14:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":105312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:14:04] local.INFO: GPS data processed {"connection_id":105312,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:14:04] local.INFO: Acknowledgment sent {"connection_id":105312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:14:26] local.INFO: TCP Data received {"connection_id":105525,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:14:26] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:14:26] local.INFO: IMEI packet received {"connection_id":105525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":105525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:14:32] local.INFO: TCP Data received {"connection_id":105525,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:14:32] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:14:32] local.INFO: IMEI packet received {"connection_id":105525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":105525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:14:33] local.INFO: TCP Data received {"connection_id":105525,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:14:33] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:14:33] local.INFO: Packet analysis {"connection_id":105525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:14:33] local.INFO: Extracted packet for processing {"connection_id":105525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 01:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:14:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:14:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":105525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:14:33] local.INFO: GPS data processed {"connection_id":105525,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:14:33] local.INFO: Acknowledgment sent {"connection_id":105525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:15:05] local.INFO: TCP Data received {"connection_id":105525,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:05] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:05] local.INFO: Packet analysis {"connection_id":105525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:15:05] local.INFO: Extracted packet for processing {"connection_id":105525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:15:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 01:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 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-06-18 01:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 01:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:15:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:15:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":105525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:15:05] local.INFO: GPS data processed {"connection_id":105525,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:15:05] local.INFO: Acknowledgment sent {"connection_id":105525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:15:32] local.INFO: TCP Data received {"connection_id":107032,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:15:32] local.INFO: Processing buffer {"connection_id":107032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:15:32] local.INFO: IMEI packet received {"connection_id":107032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":107032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:15:37] local.INFO: TCP Data received {"connection_id":107032,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:15:37] local.INFO: Processing buffer {"connection_id":107032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:15:37] local.INFO: IMEI packet received {"connection_id":107032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":107032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:15:38] local.INFO: TCP Data received {"connection_id":107032,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:38] local.INFO: Processing buffer {"connection_id":107032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:38] local.INFO: Packet analysis {"connection_id":107032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:15:38] local.INFO: Extracted packet for processing {"connection_id":107032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:15:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 01:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:15:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:15:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:15:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":107032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:15:38] local.INFO: GPS data processed {"connection_id":107032,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:15:38] local.INFO: Acknowledgment sent {"connection_id":107032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:15:42] local.INFO: TCP Data received {"connection_id":107032,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:42] local.INFO: Processing buffer {"connection_id":107032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7198b20012d59b000063e3ac80001014831..."} 
[2026-06-18 01:15:42] local.INFO: Packet analysis {"connection_id":107032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:15:42] local.INFO: Extracted packet for processing {"connection_id":107032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed719"} 
[2026-06-18 01:15:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121583360001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781725236000,"timestamp_ms":1781725236000,"timestamp_seconds":1781725236,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7198b20"} 
[2026-06-18 01:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 01:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121583360001,"66":25147,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 01:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121583360001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:15:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 01:15:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121583360001,"power":25147,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":107032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:15:42] local.INFO: GPS data processed {"connection_id":107032,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:15:42] local.INFO: Acknowledgment sent {"connection_id":107032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:16:27] local.INFO: TCP Data received {"connection_id":106054,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:16:27] local.INFO: Processing buffer {"connection_id":106054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:16:27] local.INFO: IMEI packet received {"connection_id":106054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":106054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:16:32] local.INFO: TCP Data received {"connection_id":106054,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:16:32] local.INFO: Processing buffer {"connection_id":106054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:16:32] local.INFO: IMEI packet received {"connection_id":106054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":106054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:16:33] local.INFO: TCP Data received {"connection_id":106054,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:16:33] local.INFO: Processing buffer {"connection_id":106054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:16:33] local.INFO: Packet analysis {"connection_id":106054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:16:33] local.INFO: Extracted packet for processing {"connection_id":106054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:16:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 01:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 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-06-18 01:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:16:33] 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-06-18 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-06-18 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-06-18 01:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:16:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":106054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:16:33] local.INFO: GPS data processed {"connection_id":106054,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:16:33] local.INFO: Acknowledgment sent {"connection_id":106054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:17:05] local.INFO: TCP Data received {"connection_id":106054,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:17:05] local.INFO: Processing buffer {"connection_id":106054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:17:05] local.INFO: Packet analysis {"connection_id":106054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:17:05] local.INFO: Extracted packet for processing {"connection_id":106054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:17:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 01:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:17:05] 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-06-18 01: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-06-18 01:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:17:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:17:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":106054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:17:05] local.INFO: GPS data processed {"connection_id":106054,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:17:05] local.INFO: Acknowledgment sent {"connection_id":106054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:17:26] local.INFO: TCP Data received {"connection_id":105526,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:17:26] local.INFO: Processing buffer {"connection_id":105526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:17:26] local.INFO: IMEI packet received {"connection_id":105526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":105526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:17:32] local.INFO: TCP Data received {"connection_id":105526,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:17:32] local.INFO: Processing buffer {"connection_id":105526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:17:32] local.INFO: IMEI packet received {"connection_id":105526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":105526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:17:33] local.INFO: TCP Data received {"connection_id":105526,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:17:33] local.INFO: Processing buffer {"connection_id":105526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:17:33] local.INFO: Packet analysis {"connection_id":105526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:17:33] local.INFO: Extracted packet for processing {"connection_id":105526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:17:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 01:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:17:33] 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-06-18 01: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-06-18 01:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:17:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":105526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:17:33] local.INFO: GPS data processed {"connection_id":105526,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:17:33] local.INFO: Acknowledgment sent {"connection_id":105526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:18:05] local.INFO: TCP Data received {"connection_id":105527,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:18:05] local.INFO: Processing buffer {"connection_id":105527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:18:05] local.INFO: IMEI packet received {"connection_id":105527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":105527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:18:05] local.INFO: TCP Data received {"connection_id":105526,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:18:05] local.INFO: Processing buffer {"connection_id":105526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:18:05] local.INFO: Packet analysis {"connection_id":105526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:18:05] local.INFO: Extracted packet for processing {"connection_id":105526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:18:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 01:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:18:05] 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-06-18 01:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:18:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:18:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":105526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:18:05] local.INFO: GPS data processed {"connection_id":105526,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:18:05] local.INFO: Acknowledgment sent {"connection_id":105526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:18:32] local.INFO: TCP Data received {"connection_id":106055,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:18:32] local.INFO: Processing buffer {"connection_id":106055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:18:32] local.INFO: IMEI packet received {"connection_id":106055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":106055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:18:33] local.INFO: TCP Data received {"connection_id":106055,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:18:33] local.INFO: Processing buffer {"connection_id":106055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:18:33] local.INFO: Packet analysis {"connection_id":106055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:18:33] local.INFO: Extracted packet for processing {"connection_id":106055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:18:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 01:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:18:33] 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-06-18 01:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:18:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":106055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:18:33] local.INFO: GPS data processed {"connection_id":106055,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:18:33] local.INFO: Acknowledgment sent {"connection_id":106055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:18:35] local.INFO: TCP Data received {"connection_id":105313,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:18:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:18:35] local.INFO: Processing buffer {"connection_id":105313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:18:35] local.INFO: IMEI packet received {"connection_id":105313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:18:35] local.INFO: IMEI acknowledgment sent {"connection_id":105313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:19:04] local.INFO: TCP Data received {"connection_id":106055,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:19:04] local.INFO: Processing buffer {"connection_id":106055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:19:04] local.INFO: Packet analysis {"connection_id":106055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:19:04] local.INFO: Extracted packet for processing {"connection_id":106055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 01:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:19:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:19:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":106055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:19:04] local.INFO: GPS data processed {"connection_id":106055,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:19:04] local.INFO: Acknowledgment sent {"connection_id":106055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:19:26] local.INFO: TCP Data received {"connection_id":106056,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:19:26] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:19:26] local.INFO: IMEI packet received {"connection_id":106056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":106056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:19:32] local.INFO: TCP Data received {"connection_id":106056,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:19:32] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:19:32] local.INFO: IMEI packet received {"connection_id":106056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":106056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:19:33] local.INFO: TCP Data received {"connection_id":106056,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:19:33] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:19:33] local.INFO: Packet analysis {"connection_id":106056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:19:33] local.INFO: Extracted packet for processing {"connection_id":106056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:19:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 01:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:19:33] 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-06-18 01: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-06-18 01:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:19:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:19:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":106056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:19:33] local.INFO: GPS data processed {"connection_id":106056,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:19:33] local.INFO: Acknowledgment sent {"connection_id":106056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:20:04] local.INFO: TCP Data received {"connection_id":106056,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:20:04] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:20:04] local.INFO: Packet analysis {"connection_id":106056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:20:04] local.INFO: Extracted packet for processing {"connection_id":106056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:20:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 01:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:20:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:20:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":106056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:20:04] local.INFO: GPS data processed {"connection_id":106056,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:20:04] local.INFO: Acknowledgment sent {"connection_id":106056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:20:26] local.INFO: TCP Data received {"connection_id":107034,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:20:26] local.INFO: Processing buffer {"connection_id":107034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:20:26] local.INFO: IMEI packet received {"connection_id":107034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":107034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:20:32] local.INFO: TCP Data received {"connection_id":107034,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:20:32] local.INFO: Processing buffer {"connection_id":107034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:20:32] local.INFO: IMEI packet received {"connection_id":107034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":107034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:20:33] local.INFO: TCP Data received {"connection_id":107034,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:20:33] local.INFO: Processing buffer {"connection_id":107034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:20:33] local.INFO: Packet analysis {"connection_id":107034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:20:33] local.INFO: Extracted packet for processing {"connection_id":107034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:20:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 01:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 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-06-18 01:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:20:33] 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-06-18 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-06-18 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-06-18 01:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:20:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":107034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:20:33] local.INFO: GPS data processed {"connection_id":107034,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:20:33] local.INFO: Acknowledgment sent {"connection_id":107034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:21:04] local.INFO: TCP Data received {"connection_id":107034,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:21:04] local.INFO: Processing buffer {"connection_id":107034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed71e22e8012d59b000063e3ac80001014833..."} 
[2026-06-18 01:21:04] local.INFO: Packet analysis {"connection_id":107034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:21:04] local.INFO: Extracted packet for processing {"connection_id":107034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed71e"} 
[2026-06-18 01:21:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":51,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121660416001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781725537000,"timestamp_ms":1781725537000,"timestamp_seconds":1781725537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed71e22e8"} 
[2026-06-18 01:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121660416001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121660416001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:21:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:21:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121660416001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":107034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:21:04] local.INFO: GPS data processed {"connection_id":107034,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:21:04] local.INFO: Acknowledgment sent {"connection_id":107034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:21:26] local.INFO: TCP Data received {"connection_id":106057,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:21:26] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:21:26] local.INFO: IMEI packet received {"connection_id":106057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":106057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:21:32] local.INFO: TCP Data received {"connection_id":106057,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:21:32] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:21:32] local.INFO: IMEI packet received {"connection_id":106057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":106057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:21:33] local.INFO: TCP Data received {"connection_id":106057,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:21:33] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:21:33] local.INFO: Packet analysis {"connection_id":106057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:21:33] local.INFO: Extracted packet for processing {"connection_id":106057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:21:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 01:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 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-06-18 01:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 01:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:21:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":106057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:21:33] local.INFO: GPS data processed {"connection_id":106057,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:21:33] local.INFO: Acknowledgment sent {"connection_id":106057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:22:04] local.INFO: TCP Data received {"connection_id":106057,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:22:04] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:22:04] local.INFO: Packet analysis {"connection_id":106057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:22:04] local.INFO: Extracted packet for processing {"connection_id":106057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:22:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:22:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:22:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":106057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:22:04] local.INFO: GPS data processed {"connection_id":106057,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:22:04] local.INFO: Acknowledgment sent {"connection_id":106057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:22:26] local.INFO: TCP Data received {"connection_id":105530,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:22:26] local.INFO: Processing buffer {"connection_id":105530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:22:26] local.INFO: IMEI packet received {"connection_id":105530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":105530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:22:32] local.INFO: TCP Data received {"connection_id":105530,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:22:32] local.INFO: Processing buffer {"connection_id":105530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:22:32] local.INFO: IMEI packet received {"connection_id":105530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":105530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:22:34] local.INFO: TCP Data received {"connection_id":105530,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:22:34] local.INFO: Processing buffer {"connection_id":105530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:22:34] local.INFO: Packet analysis {"connection_id":105530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:22:34] local.INFO: Extracted packet for processing {"connection_id":105530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:22:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:22:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:22:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:22:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":105530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:22:34] local.INFO: GPS data processed {"connection_id":105530,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:22:34] local.INFO: Acknowledgment sent {"connection_id":105530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:23:05] local.INFO: TCP Data received {"connection_id":105530,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:23:05] local.INFO: Processing buffer {"connection_id":105530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:23:05] local.INFO: Packet analysis {"connection_id":105530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:23:05] local.INFO: Extracted packet for processing {"connection_id":105530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:23:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:23:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":105530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:23:05] local.INFO: GPS data processed {"connection_id":105530,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:23:05] local.INFO: Acknowledgment sent {"connection_id":105530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:23:26] local.INFO: TCP Data received {"connection_id":106059,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:23:26] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:23:26] local.INFO: IMEI packet received {"connection_id":106059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":106059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:23:32] local.INFO: TCP Data received {"connection_id":106059,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:23:32] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:23:32] local.INFO: IMEI packet received {"connection_id":106059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":106059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:23:33] local.INFO: TCP Data received {"connection_id":106059,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:23:33] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:23:33] local.INFO: Packet analysis {"connection_id":106059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:23:33] local.INFO: Extracted packet for processing {"connection_id":106059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:23:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:23:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":106059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:23:33] local.INFO: GPS data processed {"connection_id":106059,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:23:33] local.INFO: Acknowledgment sent {"connection_id":106059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:24:04] local.INFO: TCP Data received {"connection_id":106059,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:24:04] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:24:04] local.INFO: Packet analysis {"connection_id":106059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:24:04] local.INFO: Extracted packet for processing {"connection_id":106059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:24:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:24:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:24:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":106059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:24:04] local.INFO: GPS data processed {"connection_id":106059,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:24:04] local.INFO: Acknowledgment sent {"connection_id":106059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:24:05] local.INFO: TCP Data received {"connection_id":105315,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:24:05] local.INFO: Processing buffer {"connection_id":105315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:24:05] local.INFO: IMEI packet received {"connection_id":105315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":105315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:24:32] local.INFO: TCP Data received {"connection_id":106060,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:24:32] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:24:32] local.INFO: IMEI packet received {"connection_id":106060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":106060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:24:35] local.INFO: TCP Data received {"connection_id":107035,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:24:35] local.INFO: Processing buffer {"connection_id":107035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:24:35] local.INFO: IMEI packet received {"connection_id":107035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":107035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:24:37] local.INFO: TCP Data received {"connection_id":106060,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:24:37] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:24:37] local.INFO: IMEI packet received {"connection_id":106060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":106060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:24:38] local.INFO: TCP Data received {"connection_id":106060,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:24:38] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:24:38] local.INFO: Packet analysis {"connection_id":106060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:24:38] local.INFO: Extracted packet for processing {"connection_id":106060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:24:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:24:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:24:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:24:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:24:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:24:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":106060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:24:38] local.INFO: GPS data processed {"connection_id":106060,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:24:38] local.INFO: Acknowledgment sent {"connection_id":106060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:25:06] local.INFO: TCP Data received {"connection_id":106060,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:25:06] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:25:06] local.INFO: Packet analysis {"connection_id":106060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:25:06] local.INFO: Extracted packet for processing {"connection_id":106060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:25:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:25:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":106060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:25:06] local.INFO: GPS data processed {"connection_id":106060,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:25:06] local.INFO: Acknowledgment sent {"connection_id":106060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:25:27] local.INFO: TCP Data received {"connection_id":106061,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:25:27] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:25:27] local.INFO: IMEI packet received {"connection_id":106061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":106061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:25:32] local.INFO: TCP Data received {"connection_id":106061,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:25:32] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:25:32] local.INFO: IMEI packet received {"connection_id":106061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":106061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:25:33] local.INFO: TCP Data received {"connection_id":106061,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:25:33] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:25:33] local.INFO: Packet analysis {"connection_id":106061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:25:33] local.INFO: Extracted packet for processing {"connection_id":106061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:25:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:25:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":106061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:25:33] local.INFO: GPS data processed {"connection_id":106061,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:25:33] local.INFO: Acknowledgment sent {"connection_id":106061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:26:05] local.INFO: TCP Data received {"connection_id":106061,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:26:05] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed722bab0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:26:05] local.INFO: Packet analysis {"connection_id":106061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:26:05] local.INFO: Extracted packet for processing {"connection_id":106061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed722"} 
[2026-06-18 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781725838000,"timestamp_ms":1781725838000,"timestamp_seconds":1781725838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed722bab0"} 
[2026-06-18 01:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121737472001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:26:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:26:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121737472001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":106061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:26:05] local.INFO: GPS data processed {"connection_id":106061,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:26:05] local.INFO: Acknowledgment sent {"connection_id":106061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:26:26] local.INFO: TCP Data received {"connection_id":105531,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:26:26] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:26:26] local.INFO: IMEI packet received {"connection_id":105531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":105531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:26:32] local.INFO: TCP Data received {"connection_id":105531,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:26:32] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:26:32] local.INFO: IMEI packet received {"connection_id":105531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":105531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:26:33] local.INFO: TCP Data received {"connection_id":105531,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:26:33] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:26:33] local.INFO: Packet analysis {"connection_id":105531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:26:33] local.INFO: Extracted packet for processing {"connection_id":105531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:26:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:26:33] 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-06-18 01: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-06-18 01:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:26:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:26:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":105531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:26:33] local.INFO: GPS data processed {"connection_id":105531,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:26:33] local.INFO: Acknowledgment sent {"connection_id":105531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:27:04] local.INFO: TCP Data received {"connection_id":105531,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:27:04] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:27:04] local.INFO: Packet analysis {"connection_id":105531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:27:04] local.INFO: Extracted packet for processing {"connection_id":105531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:27:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:27:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:27:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":105531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:27:04] local.INFO: GPS data processed {"connection_id":105531,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:27:04] local.INFO: Acknowledgment sent {"connection_id":105531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:27:26] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:27:26] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:27:26] local.INFO: IMEI packet received {"connection_id":106062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":106062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:27:32] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:27:32] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:27:32] local.INFO: IMEI packet received {"connection_id":106062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":106062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:27:33] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:27:33] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:27:33] local.INFO: Packet analysis {"connection_id":106062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:27:33] local.INFO: Extracted packet for processing {"connection_id":106062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:27:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:27:33] 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-06-18 01:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:27:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":106062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:27:33] local.INFO: GPS data processed {"connection_id":106062,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:27:33] local.INFO: Acknowledgment sent {"connection_id":106062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:28:05] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:05] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:05] local.INFO: Packet analysis {"connection_id":106062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:28:05] local.INFO: Extracted packet for processing {"connection_id":106062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:28:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:28:05] 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-06-18 01:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:28:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:28:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":106062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:28:05] local.INFO: GPS data processed {"connection_id":106062,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:28:05] local.INFO: Acknowledgment sent {"connection_id":106062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:28:32] local.INFO: TCP Data received {"connection_id":105533,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:28:32] local.INFO: Processing buffer {"connection_id":105533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:28:32] local.INFO: IMEI packet received {"connection_id":105533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":105533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:28:37] local.INFO: TCP Data received {"connection_id":105533,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:28:37] local.INFO: Processing buffer {"connection_id":105533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:28:37] local.INFO: IMEI packet received {"connection_id":105533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":105533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:28:38] local.INFO: TCP Data received {"connection_id":105533,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:38] local.INFO: Processing buffer {"connection_id":105533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:38] local.INFO: Packet analysis {"connection_id":105533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:28:38] local.INFO: Extracted packet for processing {"connection_id":105533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:28: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-06-18 01:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:28:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:28:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":105533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:28:38] local.INFO: GPS data processed {"connection_id":105533,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:28:38] local.INFO: Acknowledgment sent {"connection_id":105533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:28:43] local.INFO: TCP Data received {"connection_id":105533,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:43] local.INFO: Processing buffer {"connection_id":105533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:28:43] local.INFO: Packet analysis {"connection_id":105533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:28:43] local.INFO: Extracted packet for processing {"connection_id":105533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:28:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:28: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-06-18 01:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:28:43] 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-06-18 01:28: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-06-18 01:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:28:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:28:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":105533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:28:43] local.INFO: GPS data processed {"connection_id":105533,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:28:43] local.INFO: Acknowledgment sent {"connection_id":105533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:29:27] local.INFO: TCP Data received {"connection_id":105318,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:29:27] local.INFO: Processing buffer {"connection_id":105318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:29:27] local.INFO: IMEI packet received {"connection_id":105318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":105318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:29:32] local.INFO: TCP Data received {"connection_id":105318,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:29:32] local.INFO: Processing buffer {"connection_id":105318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:29:32] local.INFO: IMEI packet received {"connection_id":105318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":105318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:29:33] local.INFO: TCP Data received {"connection_id":105318,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:29:33] local.INFO: Processing buffer {"connection_id":105318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:29:33] local.INFO: Packet analysis {"connection_id":105318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:29:33] local.INFO: Extracted packet for processing {"connection_id":105318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:29:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:29:33] 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-06-18 01: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-06-18 01:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:29:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:29:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":105318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:29:33] local.INFO: GPS data processed {"connection_id":105318,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:29:33] local.INFO: Acknowledgment sent {"connection_id":105318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:30:05] local.INFO: TCP Data received {"connection_id":105535,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:30:05] local.INFO: Processing buffer {"connection_id":105535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:30:05] local.INFO: IMEI packet received {"connection_id":105535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":105535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:30:06] local.INFO: TCP Data received {"connection_id":105318,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:30:06] local.INFO: Processing buffer {"connection_id":105318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:30:06] local.INFO: Packet analysis {"connection_id":105318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:30:06] local.INFO: Extracted packet for processing {"connection_id":105318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:30:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:30:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:30:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:30:06] 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-06-18 01:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:30:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:30:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":105318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:30:06] local.INFO: GPS data processed {"connection_id":105318,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:30:06] local.INFO: Acknowledgment sent {"connection_id":105318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:30:26] local.INFO: TCP Data received {"connection_id":105536,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:30:26] local.INFO: Processing buffer {"connection_id":105536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:30:26] local.INFO: IMEI packet received {"connection_id":105536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":105536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:30:32] local.INFO: TCP Data received {"connection_id":105536,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:30:32] local.INFO: Processing buffer {"connection_id":105536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:30:32] local.INFO: IMEI packet received {"connection_id":105536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":105536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:30:33] local.INFO: TCP Data received {"connection_id":105536,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:30:33] local.INFO: Processing buffer {"connection_id":105536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:30:33] local.INFO: Packet analysis {"connection_id":105536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:30:33] local.INFO: Extracted packet for processing {"connection_id":105536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:30:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:30:33] 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-06-18 01:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:30:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":105536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:30:33] local.INFO: GPS data processed {"connection_id":105536,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:30:33] local.INFO: Acknowledgment sent {"connection_id":105536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:30:35] local.INFO: TCP Data received {"connection_id":105537,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:30:35] local.INFO: Processing buffer {"connection_id":105537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:30:35] local.INFO: IMEI packet received {"connection_id":105537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":105537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:31:05] local.INFO: TCP Data received {"connection_id":105536,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:31:05] local.INFO: Processing buffer {"connection_id":105536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7275278012d59b000063e3ac80001014830..."} 
[2026-06-18 01:31:05] local.INFO: Packet analysis {"connection_id":105536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:31:05] local.INFO: Extracted packet for processing {"connection_id":105536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed727"} 
[2026-06-18 01:31:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121814528001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781726139000,"timestamp_ms":1781726139000,"timestamp_seconds":1781726139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7275278"} 
[2026-06-18 01:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:31:05] 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-06-18 01: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-06-18 01:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:31:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121814528001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121814528001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:31:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:31:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121814528001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":105536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:31:05] local.INFO: GPS data processed {"connection_id":105536,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:31:05] local.INFO: Acknowledgment sent {"connection_id":105536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:31:26] local.INFO: TCP Data received {"connection_id":105538,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:31:26] local.INFO: Processing buffer {"connection_id":105538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:31:26] local.INFO: IMEI packet received {"connection_id":105538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":105538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:31:32] local.INFO: TCP Data received {"connection_id":105538,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:31:32] local.INFO: Processing buffer {"connection_id":105538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:31:32] local.INFO: IMEI packet received {"connection_id":105538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":105538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:31:33] local.INFO: TCP Data received {"connection_id":105538,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:31:33] local.INFO: Processing buffer {"connection_id":105538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:31:33] local.INFO: Packet analysis {"connection_id":105538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:31:33] local.INFO: Extracted packet for processing {"connection_id":105538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:31:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:31:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:31:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":105538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:31:33] local.INFO: GPS data processed {"connection_id":105538,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:31:33] local.INFO: Acknowledgment sent {"connection_id":105538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:32:04] local.INFO: TCP Data received {"connection_id":105538,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:32:04] local.INFO: Processing buffer {"connection_id":105538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:32:04] local.INFO: Packet analysis {"connection_id":105538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:32:04] local.INFO: Extracted packet for processing {"connection_id":105538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:32:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:32:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:32:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":105538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:32:04] local.INFO: GPS data processed {"connection_id":105538,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:32:04] local.INFO: Acknowledgment sent {"connection_id":105538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:32:26] local.INFO: TCP Data received {"connection_id":105319,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:32:26] local.INFO: Processing buffer {"connection_id":105319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:32:26] local.INFO: IMEI packet received {"connection_id":105319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":105319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:32:32] local.INFO: TCP Data received {"connection_id":105319,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:32:32] local.INFO: Processing buffer {"connection_id":105319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:32:32] local.INFO: IMEI packet received {"connection_id":105319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":105319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:32:33] local.INFO: TCP Data received {"connection_id":105319,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:32:33] local.INFO: Processing buffer {"connection_id":105319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:32:33] local.INFO: Packet analysis {"connection_id":105319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:32:33] local.INFO: Extracted packet for processing {"connection_id":105319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:32:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:32:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:32:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:32:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":105319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:32:33] local.INFO: GPS data processed {"connection_id":105319,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:32:33] local.INFO: Acknowledgment sent {"connection_id":105319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:33:05] local.INFO: TCP Data received {"connection_id":105319,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:33:05] local.INFO: Processing buffer {"connection_id":105319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:33:05] local.INFO: Packet analysis {"connection_id":105319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:33:05] local.INFO: Extracted packet for processing {"connection_id":105319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:33:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:33:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:33:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":105319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:33:05] local.INFO: GPS data processed {"connection_id":105319,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:33:05] local.INFO: Acknowledgment sent {"connection_id":105319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:33:26] local.INFO: TCP Data received {"connection_id":107036,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:33:26] local.INFO: Processing buffer {"connection_id":107036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:33:26] local.INFO: IMEI packet received {"connection_id":107036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":107036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:33:32] local.INFO: TCP Data received {"connection_id":107036,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:33:32] local.INFO: Processing buffer {"connection_id":107036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:33:32] local.INFO: IMEI packet received {"connection_id":107036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":107036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:33:33] local.INFO: TCP Data received {"connection_id":107036,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:33:33] local.INFO: Processing buffer {"connection_id":107036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:33:33] local.INFO: Packet analysis {"connection_id":107036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:33:33] local.INFO: Extracted packet for processing {"connection_id":107036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:33:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:33:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:33:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":107036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:33:33] local.INFO: GPS data processed {"connection_id":107036,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:33:33] local.INFO: Acknowledgment sent {"connection_id":107036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:34:04] local.INFO: TCP Data received {"connection_id":107036,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:04] local.INFO: Processing buffer {"connection_id":107036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:04] local.INFO: Packet analysis {"connection_id":107036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:34:04] local.INFO: Extracted packet for processing {"connection_id":107036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:34:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:34:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:34:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:34:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:34:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":107036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:34:04] local.INFO: GPS data processed {"connection_id":107036,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:34:04] local.INFO: Acknowledgment sent {"connection_id":107036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:34:32] local.INFO: TCP Data received {"connection_id":106064,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:34:32] local.INFO: Processing buffer {"connection_id":106064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:34:32] local.INFO: IMEI packet received {"connection_id":106064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":106064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:34:37] local.INFO: TCP Data received {"connection_id":106064,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:34:37] local.INFO: Processing buffer {"connection_id":106064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:34:37] local.INFO: IMEI packet received {"connection_id":106064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:34:37] local.INFO: IMEI acknowledgment sent {"connection_id":106064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:34:38] local.INFO: TCP Data received {"connection_id":106064,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:38] local.INFO: Processing buffer {"connection_id":106064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:38] local.INFO: Packet analysis {"connection_id":106064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:34:38] local.INFO: Extracted packet for processing {"connection_id":106064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:34:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:34:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:34:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:34:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:34:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:34:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:34:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:34:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:34:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:34:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:34:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:34:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:34:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:34:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:34:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:34:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:34:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:34:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:34:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:34:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:34:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:34:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:34:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:34:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":106064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:34:38] local.INFO: GPS data processed {"connection_id":106064,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:34:38] local.INFO: Acknowledgment sent {"connection_id":106064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:34:42] local.INFO: TCP Data received {"connection_id":106064,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:42] local.INFO: Processing buffer {"connection_id":106064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:34:42] local.INFO: Packet analysis {"connection_id":106064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:34:42] local.INFO: Extracted packet for processing {"connection_id":106064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:34:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:34:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:34:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":106064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:34:42] local.INFO: GPS data processed {"connection_id":106064,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:34:42] local.INFO: Acknowledgment sent {"connection_id":106064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:35:27] local.INFO: TCP Data received {"connection_id":105541,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:35:27] local.INFO: Processing buffer {"connection_id":105541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:35:27] local.INFO: IMEI packet received {"connection_id":105541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":105541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:35:32] local.INFO: TCP Data received {"connection_id":105541,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:35:32] local.INFO: Processing buffer {"connection_id":105541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:35:32] local.INFO: IMEI packet received {"connection_id":105541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":105541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:35:33] local.INFO: TCP Data received {"connection_id":105541,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:35:33] local.INFO: Processing buffer {"connection_id":105541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:35:33] local.INFO: Packet analysis {"connection_id":105541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:35:33] local.INFO: Extracted packet for processing {"connection_id":105541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:35:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:35:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":105541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:35:33] local.INFO: GPS data processed {"connection_id":105541,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:35:33] local.INFO: Acknowledgment sent {"connection_id":105541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:36:00] local.INFO: TCP Data received {"connection_id":107038,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:36:00] local.INFO: Processing buffer {"connection_id":107038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:36:00] local.INFO: IMEI packet received {"connection_id":107038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":107038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:36:04] local.INFO: TCP Data received {"connection_id":105541,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:36:04] local.INFO: Processing buffer {"connection_id":105541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed72bea40012d59b000063e3ac80001014832..."} 
[2026-06-18 01:36:04] local.INFO: Packet analysis {"connection_id":105541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:36:04] local.INFO: Extracted packet for processing {"connection_id":105541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed72b"} 
[2026-06-18 01:36:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":50,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781726440000,"timestamp_ms":1781726440000,"timestamp_seconds":1781726440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed72bea40"} 
[2026-06-18 01:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:36:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121891584001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:36:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:36:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121891584001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":105541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:36:04] local.INFO: GPS data processed {"connection_id":105541,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:36:04] local.INFO: Acknowledgment sent {"connection_id":105541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:36:26] local.INFO: TCP Data received {"connection_id":105542,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:36:26] local.INFO: Processing buffer {"connection_id":105542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:36:26] local.INFO: IMEI packet received {"connection_id":105542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":105542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:36:32] local.INFO: TCP Data received {"connection_id":105542,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:36:32] local.INFO: Processing buffer {"connection_id":105542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:36:32] local.INFO: IMEI packet received {"connection_id":105542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":105542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:36:33] local.INFO: TCP Data received {"connection_id":105542,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:36:33] local.INFO: Processing buffer {"connection_id":105542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:36:33] local.INFO: Packet analysis {"connection_id":105542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:36:33] local.INFO: Extracted packet for processing {"connection_id":105542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:36:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:36:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:36:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:36:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:36:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:36:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:36:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:36:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:36:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:36:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:36:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:36:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:36:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:36:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:36:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:36:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:36:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:36:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:36:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:36:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":105542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:36:33] local.INFO: GPS data processed {"connection_id":105542,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:36:33] local.INFO: Acknowledgment sent {"connection_id":105542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:36:35] local.INFO: TCP Data received {"connection_id":105320,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:36:35] local.INFO: Processing buffer {"connection_id":105320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:36:35] local.INFO: IMEI packet received {"connection_id":105320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":105320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:37:04] local.INFO: TCP Data received {"connection_id":105542,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:04] local.INFO: Processing buffer {"connection_id":105542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:04] local.INFO: Packet analysis {"connection_id":105542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:37:04] local.INFO: Extracted packet for processing {"connection_id":105542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:37:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:37:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:37:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:37:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":105542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:37:04] local.INFO: GPS data processed {"connection_id":105542,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:37:04] local.INFO: Acknowledgment sent {"connection_id":105542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:37:32] local.INFO: TCP Data received {"connection_id":107039,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:37:32] local.INFO: Processing buffer {"connection_id":107039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:37:32] local.INFO: IMEI packet received {"connection_id":107039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":107039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:37:37] local.INFO: TCP Data received {"connection_id":107039,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:37:37] local.INFO: Processing buffer {"connection_id":107039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:37:37] local.INFO: IMEI packet received {"connection_id":107039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":107039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:37:38] local.INFO: TCP Data received {"connection_id":107039,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:38] local.INFO: Processing buffer {"connection_id":107039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:38] local.INFO: Packet analysis {"connection_id":107039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:37:38] local.INFO: Extracted packet for processing {"connection_id":107039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:37:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:37:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":107039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:37:38] local.INFO: GPS data processed {"connection_id":107039,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:37:38] local.INFO: Acknowledgment sent {"connection_id":107039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:37:42] local.INFO: TCP Data received {"connection_id":107039,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:42] local.INFO: Processing buffer {"connection_id":107039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:37:42] local.INFO: Packet analysis {"connection_id":107039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:37:42] local.INFO: Extracted packet for processing {"connection_id":107039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:37:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:37:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:37:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":107039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:37:42] local.INFO: GPS data processed {"connection_id":107039,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:37:42] local.INFO: Acknowledgment sent {"connection_id":107039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:38:27] local.INFO: TCP Data received {"connection_id":105321,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:38:27] local.INFO: Processing buffer {"connection_id":105321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:38:27] local.INFO: IMEI packet received {"connection_id":105321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":105321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:38:32] local.INFO: TCP Data received {"connection_id":105321,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:38:32] local.INFO: Processing buffer {"connection_id":105321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:38:32] local.INFO: IMEI packet received {"connection_id":105321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:38:32] local.INFO: IMEI acknowledgment sent {"connection_id":105321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:38:33] local.INFO: TCP Data received {"connection_id":105321,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:38:33] local.INFO: Processing buffer {"connection_id":105321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:38:33] local.INFO: Packet analysis {"connection_id":105321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:38:33] local.INFO: Extracted packet for processing {"connection_id":105321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:38:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:38:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:38:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":105321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:38:33] local.INFO: GPS data processed {"connection_id":105321,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:38:33] local.INFO: Acknowledgment sent {"connection_id":105321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:39:05] local.INFO: TCP Data received {"connection_id":105321,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:39:05] local.INFO: Processing buffer {"connection_id":105321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:39:05] local.INFO: Packet analysis {"connection_id":105321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:39:05] local.INFO: Extracted packet for processing {"connection_id":105321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:39:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:39:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:39:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:39:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":105321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:39:05] local.INFO: GPS data processed {"connection_id":105321,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:39:05] local.INFO: Acknowledgment sent {"connection_id":105321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:39:26] local.INFO: TCP Data received {"connection_id":105543,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:39:26] local.INFO: Processing buffer {"connection_id":105543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:39:26] local.INFO: IMEI packet received {"connection_id":105543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":105543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:39:32] local.INFO: TCP Data received {"connection_id":105543,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:39:32] local.INFO: Processing buffer {"connection_id":105543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:39:32] local.INFO: IMEI packet received {"connection_id":105543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":105543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:39:33] local.INFO: TCP Data received {"connection_id":105543,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:39:33] local.INFO: Processing buffer {"connection_id":105543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:39:33] local.INFO: Packet analysis {"connection_id":105543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:39:33] local.INFO: Extracted packet for processing {"connection_id":105543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:39:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:39:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:39:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":105543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:39:33] local.INFO: GPS data processed {"connection_id":105543,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:39:33] local.INFO: Acknowledgment sent {"connection_id":105543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:40:04] local.INFO: TCP Data received {"connection_id":105543,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:40:04] local.INFO: Processing buffer {"connection_id":105543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:40:04] local.INFO: Packet analysis {"connection_id":105543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:40:04] local.INFO: Extracted packet for processing {"connection_id":105543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:40:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:40:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:40:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":105543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:40:04] local.INFO: GPS data processed {"connection_id":105543,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:40:04] local.INFO: Acknowledgment sent {"connection_id":105543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:40:26] local.INFO: TCP Data received {"connection_id":107042,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:40:26] local.INFO: Processing buffer {"connection_id":107042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:40:26] local.INFO: IMEI packet received {"connection_id":107042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":107042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:40:32] local.INFO: TCP Data received {"connection_id":107042,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:40:32] local.INFO: Processing buffer {"connection_id":107042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:40:32] local.INFO: IMEI packet received {"connection_id":107042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":107042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:40:33] local.INFO: TCP Data received {"connection_id":107042,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:40:33] local.INFO: Processing buffer {"connection_id":107042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:40:33] local.INFO: Packet analysis {"connection_id":107042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:40:33] local.INFO: Extracted packet for processing {"connection_id":107042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:40:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:40:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:40:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":107042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:40:33] local.INFO: GPS data processed {"connection_id":107042,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:40:33] local.INFO: Acknowledgment sent {"connection_id":107042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:41:04] local.INFO: TCP Data received {"connection_id":107042,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:04] local.INFO: Processing buffer {"connection_id":107042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7308208012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:04] local.INFO: Packet analysis {"connection_id":107042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:41:04] local.INFO: Extracted packet for processing {"connection_id":107042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed730"} 
[2026-06-18 01:41:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456121968640001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781726741000,"timestamp_ms":1781726741000,"timestamp_seconds":1781726741,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7308208"} 
[2026-06-18 01:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456121968640001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456121968640001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:41:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:41:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456121968640001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":107042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:41:04] local.INFO: GPS data processed {"connection_id":107042,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:41:04] local.INFO: Acknowledgment sent {"connection_id":107042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:41:32] local.INFO: TCP Data received {"connection_id":105323,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:41:32] local.INFO: Processing buffer {"connection_id":105323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:41:32] local.INFO: IMEI packet received {"connection_id":105323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":105323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:41:37] local.INFO: TCP Data received {"connection_id":105323,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:41:37] local.INFO: Processing buffer {"connection_id":105323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:41:37] local.INFO: IMEI packet received {"connection_id":105323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":105323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:41:38] local.INFO: TCP Data received {"connection_id":105323,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:38] local.INFO: Processing buffer {"connection_id":105323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:38] local.INFO: Packet analysis {"connection_id":105323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:41:38] local.INFO: Extracted packet for processing {"connection_id":105323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:41:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:41:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":105323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:41:38] local.INFO: GPS data processed {"connection_id":105323,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:41:38] local.INFO: Acknowledgment sent {"connection_id":105323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:41:43] local.INFO: TCP Data received {"connection_id":105323,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:43] local.INFO: Processing buffer {"connection_id":105323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:41:43] local.INFO: Packet analysis {"connection_id":105323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:41:43] local.INFO: Extracted packet for processing {"connection_id":105323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:41:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:41:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:41:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":105323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:41:43] local.INFO: GPS data processed {"connection_id":105323,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:41:43] local.INFO: Acknowledgment sent {"connection_id":105323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:41:59] local.INFO: TCP Data received {"connection_id":106066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:41:59] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:41:59] local.INFO: IMEI packet received {"connection_id":106066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":106066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:42:26] local.INFO: TCP Data received {"connection_id":105324,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:42:26] local.INFO: Processing buffer {"connection_id":105324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:42:26] local.INFO: IMEI packet received {"connection_id":105324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":105324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:42:32] local.INFO: TCP Data received {"connection_id":105324,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:42:32] local.INFO: Processing buffer {"connection_id":105324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:42:32] local.INFO: IMEI packet received {"connection_id":105324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":105324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:42:33] local.INFO: TCP Data received {"connection_id":105324,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:42:33] local.INFO: Processing buffer {"connection_id":105324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:42:33] local.INFO: Packet analysis {"connection_id":105324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:42:33] local.INFO: Extracted packet for processing {"connection_id":105324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:42:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:42:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":105324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:42:33] local.INFO: GPS data processed {"connection_id":105324,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:42:33] local.INFO: Acknowledgment sent {"connection_id":105324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:42:35] local.INFO: TCP Data received {"connection_id":105544,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:42:35] local.INFO: Processing buffer {"connection_id":105544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:42:35] local.INFO: IMEI packet received {"connection_id":105544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":105544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:43:05] local.INFO: TCP Data received {"connection_id":105324,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:43:05] local.INFO: Processing buffer {"connection_id":105324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:43:05] local.INFO: Packet analysis {"connection_id":105324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:43:05] local.INFO: Extracted packet for processing {"connection_id":105324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:43:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:43:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:43:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":105324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:43:05] local.INFO: GPS data processed {"connection_id":105324,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:43:05] local.INFO: Acknowledgment sent {"connection_id":105324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:43:26] local.INFO: TCP Data received {"connection_id":106067,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:43:26] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:43:26] local.INFO: IMEI packet received {"connection_id":106067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":106067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:43:32] local.INFO: TCP Data received {"connection_id":106067,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:43:32] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:43:32] local.INFO: IMEI packet received {"connection_id":106067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":106067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:43:33] local.INFO: TCP Data received {"connection_id":106067,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:43:33] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:43:33] local.INFO: Packet analysis {"connection_id":106067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:43:33] local.INFO: Extracted packet for processing {"connection_id":106067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:43:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:43:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":106067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:43:33] local.INFO: GPS data processed {"connection_id":106067,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:43:33] local.INFO: Acknowledgment sent {"connection_id":106067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:44:05] local.INFO: TCP Data received {"connection_id":106067,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:05] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:05] local.INFO: Packet analysis {"connection_id":106067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:44:05] local.INFO: Extracted packet for processing {"connection_id":106067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:44:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:44:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:44:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":106067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:44:05] local.INFO: GPS data processed {"connection_id":106067,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:44:05] local.INFO: Acknowledgment sent {"connection_id":106067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:44:32] local.INFO: TCP Data received {"connection_id":105326,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:44:32] local.INFO: Processing buffer {"connection_id":105326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:44:32] local.INFO: IMEI packet received {"connection_id":105326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":105326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:44:37] local.INFO: TCP Data received {"connection_id":105326,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:44:37] local.INFO: Processing buffer {"connection_id":105326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:44:37] local.INFO: IMEI packet received {"connection_id":105326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":105326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:44:38] local.INFO: TCP Data received {"connection_id":105326,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:38] local.INFO: Processing buffer {"connection_id":105326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:38] local.INFO: Packet analysis {"connection_id":105326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:44:38] local.INFO: Extracted packet for processing {"connection_id":105326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:44:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:44:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:44:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:44:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":105326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:44:38] local.INFO: GPS data processed {"connection_id":105326,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:44:38] local.INFO: Acknowledgment sent {"connection_id":105326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:44:42] local.INFO: TCP Data received {"connection_id":105326,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:42] local.INFO: Processing buffer {"connection_id":105326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:44:42] local.INFO: Packet analysis {"connection_id":105326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:44:42] local.INFO: Extracted packet for processing {"connection_id":105326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:44:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:44:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:44:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:44:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":105326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:44:42] local.INFO: GPS data processed {"connection_id":105326,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:44:42] local.INFO: Acknowledgment sent {"connection_id":105326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:45:27] local.INFO: TCP Data received {"connection_id":105328,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:45:27] local.INFO: Processing buffer {"connection_id":105328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:45:27] local.INFO: IMEI packet received {"connection_id":105328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":105328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:45:31] local.INFO: TCP Data received {"connection_id":105328,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:45:31] local.INFO: Processing buffer {"connection_id":105328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:45:31] local.INFO: IMEI packet received {"connection_id":105328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":105328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:45:32] local.INFO: TCP Data received {"connection_id":105328,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:45:32] local.INFO: Processing buffer {"connection_id":105328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:45:32] local.INFO: Packet analysis {"connection_id":105328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:45:32] local.INFO: Extracted packet for processing {"connection_id":105328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:45:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:45:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":105328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:45:32] local.INFO: GPS data processed {"connection_id":105328,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:45:32] local.INFO: Acknowledgment sent {"connection_id":105328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:46:04] local.INFO: TCP Data received {"connection_id":105328,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:46:04] local.INFO: Processing buffer {"connection_id":105328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73519d0012d59b000063e3ac80001014831..."} 
[2026-06-18 01:46:04] local.INFO: Packet analysis {"connection_id":105328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:46:04] local.INFO: Extracted packet for processing {"connection_id":105328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed735"} 
[2026-06-18 01:46:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:46:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122045696001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:46:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:46:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:46:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:46:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781727042000,"timestamp_ms":1781727042000,"timestamp_seconds":1781727042,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73519d0"} 
[2026-06-18 01:46:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:46:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:46:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:46:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:46:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:46:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:46:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:46:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:46:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:46:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:46:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:46:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122045696001,"66":25180,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:46:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:46:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:46:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122045696001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:46:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:46:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:46:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:46:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:46:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122045696001,"power":25180,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:46:04] local.INFO: DEBUG: GPS processor result {"connection_id":105328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:46:04] local.INFO: GPS data processed {"connection_id":105328,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:46:04] local.INFO: Acknowledgment sent {"connection_id":105328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:46:26] local.INFO: TCP Data received {"connection_id":105546,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:46:26] local.INFO: Processing buffer {"connection_id":105546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:46:26] local.INFO: IMEI packet received {"connection_id":105546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":105546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:46:32] local.INFO: TCP Data received {"connection_id":105546,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:46:32] local.INFO: Processing buffer {"connection_id":105546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:46:32] local.INFO: IMEI packet received {"connection_id":105546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":105546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:46:33] local.INFO: TCP Data received {"connection_id":105546,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:46:33] local.INFO: Processing buffer {"connection_id":105546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:46:33] local.INFO: Packet analysis {"connection_id":105546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:46:33] local.INFO: Extracted packet for processing {"connection_id":105546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:46:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:46:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":105546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:46:33] local.INFO: GPS data processed {"connection_id":105546,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:46:33] local.INFO: Acknowledgment sent {"connection_id":105546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:47:05] local.INFO: TCP Data received {"connection_id":105546,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:05] local.INFO: Processing buffer {"connection_id":105546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:05] local.INFO: Packet analysis {"connection_id":105546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:47:05] local.INFO: Extracted packet for processing {"connection_id":105546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:47:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:47:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:47:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":105546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:47:05] local.INFO: GPS data processed {"connection_id":105546,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:47:05] local.INFO: Acknowledgment sent {"connection_id":105546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:47:32] local.INFO: TCP Data received {"connection_id":105547,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:47:32] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:47:32] local.INFO: IMEI packet received {"connection_id":105547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":105547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:47:37] local.INFO: TCP Data received {"connection_id":105547,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:47:37] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:47:37] local.INFO: IMEI packet received {"connection_id":105547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":105547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:47:39] local.INFO: TCP Data received {"connection_id":105547,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:39] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:39] local.INFO: Packet analysis {"connection_id":105547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:47:39] local.INFO: Extracted packet for processing {"connection_id":105547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:47:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:47:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":105547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:47:39] local.INFO: GPS data processed {"connection_id":105547,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:47:39] local.INFO: Acknowledgment sent {"connection_id":105547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:47:41] local.INFO: TCP Data received {"connection_id":105547,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:41] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:47:41] local.INFO: Packet analysis {"connection_id":105547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:47:41] local.INFO: Extracted packet for processing {"connection_id":105547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:47:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:47:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:47:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:47:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":105547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:47:41] local.INFO: GPS data processed {"connection_id":105547,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:47:41] local.INFO: Acknowledgment sent {"connection_id":105547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:48:00] local.INFO: TCP Data received {"connection_id":105548,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:48:00] local.INFO: Processing buffer {"connection_id":105548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:48:00] local.INFO: IMEI packet received {"connection_id":105548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":105548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:48:26] local.INFO: TCP Data received {"connection_id":105549,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:48:26] local.INFO: Processing buffer {"connection_id":105549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:48:26] local.INFO: IMEI packet received {"connection_id":105549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":105549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:48:32] local.INFO: TCP Data received {"connection_id":105549,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:48:32] local.INFO: Processing buffer {"connection_id":105549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:48:32] local.INFO: IMEI packet received {"connection_id":105549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":105549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:48:33] local.INFO: TCP Data received {"connection_id":105549,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:48:33] local.INFO: Processing buffer {"connection_id":105549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:48:33] local.INFO: Packet analysis {"connection_id":105549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:48:33] local.INFO: Extracted packet for processing {"connection_id":105549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:48:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:48:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:48:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":105549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:48:33] local.INFO: GPS data processed {"connection_id":105549,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:48:33] local.INFO: Acknowledgment sent {"connection_id":105549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:48:35] local.INFO: TCP Data received {"connection_id":105550,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:48:35] local.INFO: Processing buffer {"connection_id":105550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:48:35] local.INFO: IMEI packet received {"connection_id":105550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":105550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:49:04] local.INFO: TCP Data received {"connection_id":105549,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:49:04] local.INFO: Processing buffer {"connection_id":105549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:49:04] local.INFO: Packet analysis {"connection_id":105549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:49:04] local.INFO: Extracted packet for processing {"connection_id":105549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:49:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:49:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:49:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":105549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:49:04] local.INFO: GPS data processed {"connection_id":105549,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:49:04] local.INFO: Acknowledgment sent {"connection_id":105549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:49:26] local.INFO: TCP Data received {"connection_id":106069,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:49:26] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:49:26] local.INFO: IMEI packet received {"connection_id":106069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":106069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:49:32] local.INFO: TCP Data received {"connection_id":106069,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:49:32] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:49:32] local.INFO: IMEI packet received {"connection_id":106069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":106069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:49:33] local.INFO: TCP Data received {"connection_id":106069,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:49:33] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:49:33] local.INFO: Packet analysis {"connection_id":106069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:49:33] local.INFO: Extracted packet for processing {"connection_id":106069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:49:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:49:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":106069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:49:33] local.INFO: GPS data processed {"connection_id":106069,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:49:33] local.INFO: Acknowledgment sent {"connection_id":106069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:50:04] local.INFO: TCP Data received {"connection_id":106069,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:50:04] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:50:04] local.INFO: Packet analysis {"connection_id":106069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:50:04] local.INFO: Extracted packet for processing {"connection_id":106069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:50:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:50:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:50:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":106069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:50:04] local.INFO: GPS data processed {"connection_id":106069,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:50:04] local.INFO: Acknowledgment sent {"connection_id":106069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:50:26] local.INFO: TCP Data received {"connection_id":105329,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:50:26] local.INFO: Processing buffer {"connection_id":105329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:50:26] local.INFO: IMEI packet received {"connection_id":105329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":105329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:50:30] local.INFO: TCP Data received {"connection_id":107043,"ip":"193.32.162.213","data_length":135,"data_hex":"160301007b0100007703038f5268108c059168646f37f05d7671bcceb0af6361..."} 
[2026-06-18 01:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107043,"packet_length":135,"packet_hex":"160301007b0100007703038f5268108c059168646f37f05d7671bcceb0af6361..."} 
[2026-06-18 01:50:30] local.INFO: Processing buffer {"connection_id":107043,"buffer_length":135,"buffer_hex":"160301007b0100007703038f5268108c059168646f37f05d7671bcceb0af6361..."} 
[2026-06-18 01:50:30] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":107043,"buffer_length":135,"first_bytes_hex":"160301007b0100007703038f5268108c"} 
[2026-06-18 01:50:32] local.INFO: TCP Data received {"connection_id":105329,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:50:32] local.INFO: Processing buffer {"connection_id":105329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:50:32] local.INFO: IMEI packet received {"connection_id":105329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":105329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:50:33] local.INFO: TCP Data received {"connection_id":105329,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:50:33] local.INFO: Processing buffer {"connection_id":105329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:50:33] local.INFO: Packet analysis {"connection_id":105329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:50:33] local.INFO: Extracted packet for processing {"connection_id":105329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:50:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:50:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:50:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":105329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:50:33] local.INFO: GPS data processed {"connection_id":105329,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:50:33] local.INFO: Acknowledgment sent {"connection_id":105329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:51:04] local.INFO: TCP Data received {"connection_id":105329,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:04] local.INFO: Processing buffer {"connection_id":105329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed739b198012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:04] local.INFO: Packet analysis {"connection_id":105329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:51:04] local.INFO: Extracted packet for processing {"connection_id":105329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed739"} 
[2026-06-18 01:51:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781727343000,"timestamp_ms":1781727343000,"timestamp_seconds":1781727343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed739b198"} 
[2026-06-18 01:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 01:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122122752001,"66":25158,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:51:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122122752001,"power":25158,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":105329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:51:04] local.INFO: GPS data processed {"connection_id":105329,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:51:04] local.INFO: Acknowledgment sent {"connection_id":105329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:51:32] local.INFO: TCP Data received {"connection_id":105551,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:51:32] local.INFO: Processing buffer {"connection_id":105551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:51:32] local.INFO: IMEI packet received {"connection_id":105551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":105551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:51:37] local.INFO: TCP Data received {"connection_id":105551,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:51:37] local.INFO: Processing buffer {"connection_id":105551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:51:37] local.INFO: IMEI packet received {"connection_id":105551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":105551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:51:38] local.INFO: TCP Data received {"connection_id":105551,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:38] local.INFO: Processing buffer {"connection_id":105551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:38] local.INFO: Packet analysis {"connection_id":105551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:51:38] local.INFO: Extracted packet for processing {"connection_id":105551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:51:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:51:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:51:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:51:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":105551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:51:38] local.INFO: GPS data processed {"connection_id":105551,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:51:38] local.INFO: Acknowledgment sent {"connection_id":105551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:51:43] local.INFO: TCP Data received {"connection_id":105551,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:43] local.INFO: Processing buffer {"connection_id":105551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:51:43] local.INFO: Packet analysis {"connection_id":105551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:51:43] local.INFO: Extracted packet for processing {"connection_id":105551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:51:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:51:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:51:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:51:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":105551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:51:43] local.INFO: GPS data processed {"connection_id":105551,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:51:43] local.INFO: Acknowledgment sent {"connection_id":105551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:52:26] local.INFO: TCP Data received {"connection_id":106072,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:52:26] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:52:26] local.INFO: IMEI packet received {"connection_id":106072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":106072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:52:32] local.INFO: TCP Data received {"connection_id":106072,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:52:32] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:52:32] local.INFO: IMEI packet received {"connection_id":106072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":106072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:52:33] local.INFO: TCP Data received {"connection_id":106072,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:52:33] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:52:33] local.INFO: Packet analysis {"connection_id":106072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:52:33] local.INFO: Extracted packet for processing {"connection_id":106072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:52:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:52:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:52:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:52:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":106072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:52:33] local.INFO: GPS data processed {"connection_id":106072,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:52:33] local.INFO: Acknowledgment sent {"connection_id":106072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:53:04] local.INFO: TCP Data received {"connection_id":106072,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:53:04] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:53:04] local.INFO: Packet analysis {"connection_id":106072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:53:04] local.INFO: Extracted packet for processing {"connection_id":106072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:53:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:53:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:53:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:53:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:53:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:53:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":106072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:53:04] local.INFO: GPS data processed {"connection_id":106072,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:53:04] local.INFO: Acknowledgment sent {"connection_id":106072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:53:26] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:53:26] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:53:26] local.INFO: IMEI packet received {"connection_id":106074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":106074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:53:32] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:53:32] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:53:32] local.INFO: IMEI packet received {"connection_id":106074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":106074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:53:33] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:53:33] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:53:33] local.INFO: Packet analysis {"connection_id":106074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:53:33] local.INFO: Extracted packet for processing {"connection_id":106074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:53:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:53:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":106074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:53:33] local.INFO: GPS data processed {"connection_id":106074,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:53:33] local.INFO: Acknowledgment sent {"connection_id":106074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:54:04] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:54:04] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:54:04] local.INFO: Packet analysis {"connection_id":106074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:54:04] local.INFO: Extracted packet for processing {"connection_id":106074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:54:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:54:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:54:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":106074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:54:04] local.INFO: GPS data processed {"connection_id":106074,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:54:04] local.INFO: Acknowledgment sent {"connection_id":106074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:54:05] local.INFO: TCP Data received {"connection_id":107044,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:54:05] local.INFO: Processing buffer {"connection_id":107044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:54:05] local.INFO: IMEI packet received {"connection_id":107044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":107044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:54:32] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:54:32] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:54:32] local.INFO: IMEI packet received {"connection_id":106075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":106075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:54:35] local.INFO: TCP Data received {"connection_id":106076,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:54:35] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:54:35] local.INFO: IMEI packet received {"connection_id":106076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":106076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:54:37] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:54:37] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:54:37] local.INFO: IMEI packet received {"connection_id":106075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":106075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:54:38] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:54:38] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:54:38] local.INFO: Packet analysis {"connection_id":106075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:54:38] local.INFO: Extracted packet for processing {"connection_id":106075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:54:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:54:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:54:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":106075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:54:38] local.INFO: GPS data processed {"connection_id":106075,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:54:38] local.INFO: Acknowledgment sent {"connection_id":106075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:55:15] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:55:15] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:55:15] local.INFO: Packet analysis {"connection_id":106075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:55:15] local.INFO: Extracted packet for processing {"connection_id":106075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:55:15] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:55:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:55:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:55:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:55:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:55:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:55:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:55:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:55:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:55:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:55:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:55:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:55:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:55:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:55:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:55:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:55:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:55:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:55:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:55:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:55:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:55:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:55:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:55:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:55:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:55:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:55:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:55:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:55:15] local.INFO: DEBUG: GPS processor result {"connection_id":106075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:55:15] local.INFO: GPS data processed {"connection_id":106075,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:55:15] local.INFO: Acknowledgment sent {"connection_id":106075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:55:26] local.INFO: TCP Data received {"connection_id":105553,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:55:26] local.INFO: Processing buffer {"connection_id":105553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:55:26] local.INFO: IMEI packet received {"connection_id":105553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":105553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:55:32] local.INFO: TCP Data received {"connection_id":105553,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:55:32] local.INFO: Processing buffer {"connection_id":105553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:55:32] local.INFO: IMEI packet received {"connection_id":105553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":105553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:55:33] local.INFO: TCP Data received {"connection_id":105553,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:55:33] local.INFO: Processing buffer {"connection_id":105553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:55:33] local.INFO: Packet analysis {"connection_id":105553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:55:33] local.INFO: Extracted packet for processing {"connection_id":105553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:55:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:55:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:55:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:55:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:55:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":105553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:55:33] local.INFO: GPS data processed {"connection_id":105553,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:55:33] local.INFO: Acknowledgment sent {"connection_id":105553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:56:04] local.INFO: TCP Data received {"connection_id":105553,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:56:04] local.INFO: Processing buffer {"connection_id":105553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed73e4960012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:56:04] local.INFO: Packet analysis {"connection_id":105553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:56:04] local.INFO: Extracted packet for processing {"connection_id":105553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed73e"} 
[2026-06-18 01:56:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122199808001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781727644000,"timestamp_ms":1781727644000,"timestamp_seconds":1781727644,"priority":1,"record_length":96,"hex_timestamp":"0000019ed73e4960"} 
[2026-06-18 01:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 01:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01: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-06-18 01:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122199808001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122199808001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:56:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:56:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122199808001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":105553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:56:04] local.INFO: GPS data processed {"connection_id":105553,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:56:04] local.INFO: Acknowledgment sent {"connection_id":105553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:56:26] local.INFO: TCP Data received {"connection_id":106077,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:56:26] local.INFO: Processing buffer {"connection_id":106077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:56:26] local.INFO: IMEI packet received {"connection_id":106077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":106077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:56:32] local.INFO: TCP Data received {"connection_id":106077,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:56:32] local.INFO: Processing buffer {"connection_id":106077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:56:32] local.INFO: IMEI packet received {"connection_id":106077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":106077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:56:33] local.INFO: TCP Data received {"connection_id":106077,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed742e128012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed742e128012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:56:33] local.INFO: Processing buffer {"connection_id":106077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed742e128012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:56:33] local.INFO: Packet analysis {"connection_id":106077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed742"} 
[2026-06-18 01:56:33] local.INFO: Extracted packet for processing {"connection_id":106077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed742"} 
[2026-06-18 01:56:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01: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-06-18 01:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122276864001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781727945000,"timestamp_ms":1781727945000,"timestamp_seconds":1781727945,"priority":1,"record_length":96,"hex_timestamp":"0000019ed742e128"} 
[2026-06-18 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-06-18 01:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:56:33] 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-06-18 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-06-18 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-06-18 01:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122276864001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122276864001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:56:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:56:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122276864001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":106077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:56:33] local.INFO: GPS data processed {"connection_id":106077,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:56:33] local.INFO: Acknowledgment sent {"connection_id":106077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:57:04] local.INFO: TCP Data received {"connection_id":106077,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed742e128012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed742e128012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:57:04] local.INFO: Processing buffer {"connection_id":106077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed742e128012d59b000063e3ac8000101482f..."} 
[2026-06-18 01:57:04] local.INFO: Packet analysis {"connection_id":106077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed742"} 
[2026-06-18 01:57:04] local.INFO: Extracted packet for processing {"connection_id":106077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed742"} 
[2026-06-18 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 01:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 01:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122276864001,"note":"Value kept but may cause issues"} 
[2026-06-18 01:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 01:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 01:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 01:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781727945000,"timestamp_ms":1781727945000,"timestamp_seconds":1781727945,"priority":1,"record_length":96,"hex_timestamp":"0000019ed742e128"} 
[2026-06-18 01:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 01:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 01:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 01:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 01:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 01:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 01:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 01:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 01:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 01:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 01:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 01:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122276864001,"66":25147,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 01:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 01:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 01:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122276864001,"description":"Unknown IO ID 0"} 
[2026-06-18 01:57:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 01:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 01:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 01:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 01:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122276864001,"power":25147,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 01:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":106077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 01:57:04] local.INFO: GPS data processed {"connection_id":106077,"processed":1,"errors":0,"total":1} 
[2026-06-18 01:57:04] local.INFO: Acknowledgment sent {"connection_id":106077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 01:58:14] local.INFO: TCP Data received {"connection_id":105330,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:58:14] local.INFO: Processing buffer {"connection_id":105330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:58:14] local.INFO: IMEI packet received {"connection_id":105330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":105330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:58:14] local.INFO: TCP Data received {"connection_id":105330,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 01:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105330,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 01:58:14] local.INFO: Processing buffer {"connection_id":105330,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 01:58:14] local.INFO: IMEI packet received {"connection_id":105330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 01:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":105330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 01:58:26] local.INFO: TCP Data received {"connection_id":105554,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:58:26] local.INFO: Processing buffer {"connection_id":105554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 01:58:26] local.INFO: IMEI packet received {"connection_id":105554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 01:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":105554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 01:59:50] local.INFO: TCP Data received {"connection_id":105555,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:59:50] local.INFO: Processing buffer {"connection_id":105555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 01:59:50] local.INFO: IMEI packet received {"connection_id":105555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 01:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":105555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:00:35] local.INFO: TCP Data received {"connection_id":105333,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:00:35] local.INFO: Processing buffer {"connection_id":105333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:00:35] local.INFO: IMEI packet received {"connection_id":105333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":105333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:03:32] local.INFO: TCP Data received {"connection_id":107052,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:03:32] local.INFO: Processing buffer {"connection_id":107052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:03:32] local.INFO: IMEI packet received {"connection_id":107052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":107052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:03:37] local.INFO: TCP Data received {"connection_id":107052,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:03:37] local.INFO: Processing buffer {"connection_id":107052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:03:37] local.INFO: IMEI packet received {"connection_id":107052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":107052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:03:39] local.INFO: TCP Data received {"connection_id":107052,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:03:39] local.INFO: Processing buffer {"connection_id":107052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:03:39] local.INFO: Packet analysis {"connection_id":107052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:03:39] local.INFO: Extracted packet for processing {"connection_id":107052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:03:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122353920001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781728246000,"timestamp_ms":1781728246000,"timestamp_seconds":1781728246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74778f0"} 
[2026-06-18 02:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 02:03:39] 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-06-18 02:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122353920001,"66":24810,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122353920001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:03:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:03:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122353920001,"power":24810,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":107052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:03:39] local.INFO: GPS data processed {"connection_id":107052,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:03:39] local.INFO: Acknowledgment sent {"connection_id":107052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:03:42] local.INFO: TCP Data received {"connection_id":107052,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:03:42] local.INFO: Processing buffer {"connection_id":107052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:03:42] local.INFO: Packet analysis {"connection_id":107052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:03:42] local.INFO: Extracted packet for processing {"connection_id":107052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:03:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122353920001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781728246000,"timestamp_ms":1781728246000,"timestamp_seconds":1781728246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74778f0"} 
[2026-06-18 02:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 02:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122353920001,"66":24810,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122353920001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:03:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:03:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122353920001,"power":24810,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":107052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:03:42] local.INFO: GPS data processed {"connection_id":107052,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:03:42] local.INFO: Acknowledgment sent {"connection_id":107052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:04:27] local.INFO: TCP Data received {"connection_id":106079,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:04:27] local.INFO: Processing buffer {"connection_id":106079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:04:27] local.INFO: IMEI packet received {"connection_id":106079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":106079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:04:32] local.INFO: TCP Data received {"connection_id":106079,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:04:32] local.INFO: Processing buffer {"connection_id":106079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:04:32] local.INFO: IMEI packet received {"connection_id":106079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":106079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:04:33] local.INFO: TCP Data received {"connection_id":106079,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:04:33] local.INFO: Processing buffer {"connection_id":106079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:04:33] local.INFO: Packet analysis {"connection_id":106079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:04:33] local.INFO: Extracted packet for processing {"connection_id":106079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:04:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122353920001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781728246000,"timestamp_ms":1781728246000,"timestamp_seconds":1781728246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74778f0"} 
[2026-06-18 02:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 02:04:33] 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-06-18 02: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-06-18 02:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122353920001,"66":24810,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122353920001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:04:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:04:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122353920001,"power":24810,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":106079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:04:33] local.INFO: GPS data processed {"connection_id":106079,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:04:33] local.INFO: Acknowledgment sent {"connection_id":106079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:05:05] local.INFO: TCP Data received {"connection_id":106079,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:05:05] local.INFO: Processing buffer {"connection_id":106079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:05:05] local.INFO: Packet analysis {"connection_id":106079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:05:05] local.INFO: Extracted packet for processing {"connection_id":106079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:05:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122353920001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781728246000,"timestamp_ms":1781728246000,"timestamp_seconds":1781728246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74778f0"} 
[2026-06-18 02:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 02:05:05] 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-06-18 02: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-06-18 02:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122353920001,"66":24810,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122353920001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:05:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:05:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122353920001,"power":24810,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":106079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:05:05] local.INFO: GPS data processed {"connection_id":106079,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:05:05] local.INFO: Acknowledgment sent {"connection_id":106079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:05:26] local.INFO: TCP Data received {"connection_id":107053,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:05:26] local.INFO: Processing buffer {"connection_id":107053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:05:26] local.INFO: IMEI packet received {"connection_id":107053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":107053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:05:32] local.INFO: TCP Data received {"connection_id":107053,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:05:32] local.INFO: Processing buffer {"connection_id":107053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:05:32] local.INFO: IMEI packet received {"connection_id":107053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":107053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:05:33] local.INFO: TCP Data received {"connection_id":107053,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:05:33] local.INFO: Processing buffer {"connection_id":107053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:05:33] local.INFO: Packet analysis {"connection_id":107053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:05:33] local.INFO: Extracted packet for processing {"connection_id":107053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:05:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122353920001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781728246000,"timestamp_ms":1781728246000,"timestamp_seconds":1781728246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74778f0"} 
[2026-06-18 02:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 02:05:33] 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-06-18 02:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122353920001,"66":24810,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122353920001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:05:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:05:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122353920001,"power":24810,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":107053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:05:33] local.INFO: GPS data processed {"connection_id":107053,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:05:33] local.INFO: Acknowledgment sent {"connection_id":107053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:05:50] local.INFO: TCP Data received {"connection_id":105556,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:05:50] local.INFO: Processing buffer {"connection_id":105556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:05:50] local.INFO: IMEI packet received {"connection_id":105556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":105556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:06:05] local.INFO: TCP Data received {"connection_id":107053,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:06:05] local.INFO: Processing buffer {"connection_id":107053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74778f0012d59b000063e3ac80001014831..."} 
[2026-06-18 02:06:05] local.INFO: Packet analysis {"connection_id":107053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:06:05] local.INFO: Extracted packet for processing {"connection_id":107053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed747"} 
[2026-06-18 02:06:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122353920001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:06:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781728246000,"timestamp_ms":1781728246000,"timestamp_seconds":1781728246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74778f0"} 
[2026-06-18 02:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 02:06:05] 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-06-18 02:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122353920001,"66":24810,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122353920001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:06:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:06:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122353920001,"power":24810,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":107053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:06:05] local.INFO: GPS data processed {"connection_id":107053,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:06:05] local.INFO: Acknowledgment sent {"connection_id":107053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:06:26] local.INFO: TCP Data received {"connection_id":106080,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:06:26] local.INFO: Processing buffer {"connection_id":106080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:06:26] local.INFO: IMEI packet received {"connection_id":106080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":106080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:06:32] local.INFO: TCP Data received {"connection_id":106080,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:06:32] local.INFO: Processing buffer {"connection_id":106080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:06:32] local.INFO: IMEI packet received {"connection_id":106080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":106080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:06:33] local.INFO: TCP Data received {"connection_id":106080,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:06:33] local.INFO: Processing buffer {"connection_id":106080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:06:33] local.INFO: Packet analysis {"connection_id":106080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:06:33] local.INFO: Extracted packet for processing {"connection_id":106080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:06:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:06:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":106080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:06:33] local.INFO: GPS data processed {"connection_id":106080,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:06:33] local.INFO: Acknowledgment sent {"connection_id":106080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:06:35] local.INFO: TCP Data received {"connection_id":106081,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:06:35] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:06:35] local.INFO: IMEI packet received {"connection_id":106081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":106081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:07:05] local.INFO: TCP Data received {"connection_id":106080,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:07:05] local.INFO: Processing buffer {"connection_id":106080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:07:05] local.INFO: Packet analysis {"connection_id":106080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:07:05] local.INFO: Extracted packet for processing {"connection_id":106080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:07:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:07:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":106080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:07:05] local.INFO: GPS data processed {"connection_id":106080,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:07:05] local.INFO: Acknowledgment sent {"connection_id":106080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:07:26] local.INFO: TCP Data received {"connection_id":105338,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:07:26] local.INFO: Processing buffer {"connection_id":105338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:07:26] local.INFO: IMEI packet received {"connection_id":105338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":105338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:07:32] local.INFO: TCP Data received {"connection_id":105338,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:07:32] local.INFO: Processing buffer {"connection_id":105338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:07:32] local.INFO: IMEI packet received {"connection_id":105338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":105338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:07:34] local.INFO: TCP Data received {"connection_id":105338,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:07:34] local.INFO: Processing buffer {"connection_id":105338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:07:34] local.INFO: Packet analysis {"connection_id":105338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:07:34] local.INFO: Extracted packet for processing {"connection_id":105338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:07:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:07:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:07:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":105338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:07:34] local.INFO: GPS data processed {"connection_id":105338,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:07:34] local.INFO: Acknowledgment sent {"connection_id":105338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:08:06] local.INFO: TCP Data received {"connection_id":105338,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:08:06] local.INFO: Processing buffer {"connection_id":105338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:08:06] local.INFO: Packet analysis {"connection_id":105338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:08:06] local.INFO: Extracted packet for processing {"connection_id":105338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:08:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:08:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:08:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:08:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":105338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:08:06] local.INFO: GPS data processed {"connection_id":105338,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:08:06] local.INFO: Acknowledgment sent {"connection_id":105338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:08:26] local.INFO: TCP Data received {"connection_id":105339,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:08:26] local.INFO: Processing buffer {"connection_id":105339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:08:26] local.INFO: IMEI packet received {"connection_id":105339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":105339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:08:32] local.INFO: TCP Data received {"connection_id":105339,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:08:32] local.INFO: Processing buffer {"connection_id":105339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:08:32] local.INFO: IMEI packet received {"connection_id":105339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":105339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:08:33] local.INFO: TCP Data received {"connection_id":105339,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:08:33] local.INFO: Processing buffer {"connection_id":105339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:08:33] local.INFO: Packet analysis {"connection_id":105339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:08:33] local.INFO: Extracted packet for processing {"connection_id":105339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:08:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:08:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:08:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:08:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:08:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:08:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":105339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:08:33] local.INFO: GPS data processed {"connection_id":105339,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:08:33] local.INFO: Acknowledgment sent {"connection_id":105339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:09:05] local.INFO: TCP Data received {"connection_id":105339,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:09:05] local.INFO: Processing buffer {"connection_id":105339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:09:05] local.INFO: Packet analysis {"connection_id":105339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:09:05] local.INFO: Extracted packet for processing {"connection_id":105339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:09:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:09:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:09:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":105339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:09:05] local.INFO: GPS data processed {"connection_id":105339,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:09:05] local.INFO: Acknowledgment sent {"connection_id":105339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:09:26] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:09:26] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:09:26] local.INFO: IMEI packet received {"connection_id":106083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":106083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:09:32] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:09:32] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:09:32] local.INFO: IMEI packet received {"connection_id":106083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":106083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:09:35] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:09:35] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:09:35] local.INFO: Packet analysis {"connection_id":106083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:09:35] local.INFO: Extracted packet for processing {"connection_id":106083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:09:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:09:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:09:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":106083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:09:35] local.INFO: GPS data processed {"connection_id":106083,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:09:35] local.INFO: Acknowledgment sent {"connection_id":106083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:10:07] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:07] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:07] local.INFO: Packet analysis {"connection_id":106083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:10:07] local.INFO: Extracted packet for processing {"connection_id":106083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:10:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:10:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:10:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":106083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:10:07] local.INFO: GPS data processed {"connection_id":106083,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:10:07] local.INFO: Acknowledgment sent {"connection_id":106083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:10:32] local.INFO: TCP Data received {"connection_id":105340,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:10:32] local.INFO: Processing buffer {"connection_id":105340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:10:32] local.INFO: IMEI packet received {"connection_id":105340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":105340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:10:37] local.INFO: TCP Data received {"connection_id":105340,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:10:37] local.INFO: Processing buffer {"connection_id":105340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:10:37] local.INFO: IMEI packet received {"connection_id":105340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":105340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:10:38] local.INFO: TCP Data received {"connection_id":105340,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:38] local.INFO: Processing buffer {"connection_id":105340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:38] local.INFO: Packet analysis {"connection_id":105340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:10:38] local.INFO: Extracted packet for processing {"connection_id":105340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:10:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:10:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:10:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":105340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:10:38] local.INFO: GPS data processed {"connection_id":105340,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:10:38] local.INFO: Acknowledgment sent {"connection_id":105340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:10:42] local.INFO: TCP Data received {"connection_id":105340,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:42] local.INFO: Processing buffer {"connection_id":105340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed74c10b8012d59b000063e3ac80001014830..."} 
[2026-06-18 02:10:42] local.INFO: Packet analysis {"connection_id":105340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:10:42] local.INFO: Extracted packet for processing {"connection_id":105340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed74c"} 
[2026-06-18 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122430976001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781728547000,"timestamp_ms":1781728547000,"timestamp_seconds":1781728547,"priority":1,"record_length":96,"hex_timestamp":"0000019ed74c10b8"} 
[2026-06-18 02:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 02:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122430976001,"66":24386,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122430976001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:10:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:10:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122430976001,"power":24386,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":105340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:10:42] local.INFO: GPS data processed {"connection_id":105340,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:10:42] local.INFO: Acknowledgment sent {"connection_id":105340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:11:27] local.INFO: TCP Data received {"connection_id":105558,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:27] local.INFO: Processing buffer {"connection_id":105558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:27] local.INFO: IMEI packet received {"connection_id":105558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":105558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:11:27] local.INFO: TCP Data received {"connection_id":105558,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:27] local.INFO: Processing buffer {"connection_id":105558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:27] local.INFO: IMEI packet received {"connection_id":105558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":105558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:11:32] local.INFO: TCP Data received {"connection_id":105558,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:32] local.INFO: Processing buffer {"connection_id":105558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:11:32] local.INFO: IMEI packet received {"connection_id":105558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":105558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:11:33] local.INFO: TCP Data received {"connection_id":105558,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:11:33] local.INFO: Processing buffer {"connection_id":105558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:11:33] local.INFO: Packet analysis {"connection_id":105558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:11:33] local.INFO: Extracted packet for processing {"connection_id":105558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:11:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:11:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":105558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:11:33] local.INFO: GPS data processed {"connection_id":105558,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:11:33] local.INFO: Acknowledgment sent {"connection_id":105558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:11:37] local.INFO: TCP Data received {"connection_id":105558,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:11:37] local.INFO: Processing buffer {"connection_id":105558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:11:37] local.INFO: Packet analysis {"connection_id":105558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:11:37] local.INFO: Extracted packet for processing {"connection_id":105558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:11:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:11:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:11:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":105558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:11:37] local.INFO: GPS data processed {"connection_id":105558,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:11:37] local.INFO: Acknowledgment sent {"connection_id":105558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:12:05] local.INFO: TCP Data received {"connection_id":105342,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:12:05] local.INFO: Processing buffer {"connection_id":105342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:12:05] local.INFO: IMEI packet received {"connection_id":105342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":105342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:12:09] local.INFO: TCP Data received {"connection_id":105558,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:12:09] local.INFO: Processing buffer {"connection_id":105558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:12:09] local.INFO: Packet analysis {"connection_id":105558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:12:09] local.INFO: Extracted packet for processing {"connection_id":105558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:12:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:12:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:12:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:12:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":105558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:12:09] local.INFO: GPS data processed {"connection_id":105558,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:12:09] local.INFO: Acknowledgment sent {"connection_id":105558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:12:26] local.INFO: TCP Data received {"connection_id":105559,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:12:26] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:12:26] local.INFO: IMEI packet received {"connection_id":105559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":105559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:12:32] local.INFO: TCP Data received {"connection_id":105559,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:12:32] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:12:32] local.INFO: IMEI packet received {"connection_id":105559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":105559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:12:35] local.INFO: TCP Data received {"connection_id":105343,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:12:35] local.INFO: Processing buffer {"connection_id":105343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:12:35] local.INFO: IMEI packet received {"connection_id":105343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":105343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:12:35] local.INFO: TCP Data received {"connection_id":105559,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:12:35] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:12:35] local.INFO: Packet analysis {"connection_id":105559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:12:35] local.INFO: Extracted packet for processing {"connection_id":105559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:12:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:12:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:12:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:12:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:12:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:12:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:12:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":105559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:12:35] local.INFO: GPS data processed {"connection_id":105559,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:12:35] local.INFO: Acknowledgment sent {"connection_id":105559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:13:12] local.INFO: TCP Data received {"connection_id":105559,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:12] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:12] local.INFO: Packet analysis {"connection_id":105559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:13:12] local.INFO: Extracted packet for processing {"connection_id":105559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:13:12] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:13:12] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:13:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":105559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:13:12] local.INFO: GPS data processed {"connection_id":105559,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:13:12] local.INFO: Acknowledgment sent {"connection_id":105559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:13:32] local.INFO: TCP Data received {"connection_id":105344,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:13:32] local.INFO: Processing buffer {"connection_id":105344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:13:32] local.INFO: IMEI packet received {"connection_id":105344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":105344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:13:38] local.INFO: TCP Data received {"connection_id":105344,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:13:38] local.INFO: Processing buffer {"connection_id":105344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:13:38] local.INFO: IMEI packet received {"connection_id":105344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":105344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:13:40] local.INFO: TCP Data received {"connection_id":105344,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:40] local.INFO: Processing buffer {"connection_id":105344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:40] local.INFO: Packet analysis {"connection_id":105344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:13:40] local.INFO: Extracted packet for processing {"connection_id":105344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:13:40] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:13:40] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:13:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":105344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:13:40] local.INFO: GPS data processed {"connection_id":105344,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:13:40] local.INFO: Acknowledgment sent {"connection_id":105344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:13:42] local.INFO: TCP Data received {"connection_id":105344,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:42] local.INFO: Processing buffer {"connection_id":105344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:13:42] local.INFO: Packet analysis {"connection_id":105344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:13:42] local.INFO: Extracted packet for processing {"connection_id":105344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:13:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:13:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:13:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":105344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:13:42] local.INFO: GPS data processed {"connection_id":105344,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:13:42] local.INFO: Acknowledgment sent {"connection_id":105344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:14:27] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:14:27] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:14:27] local.INFO: IMEI packet received {"connection_id":106085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":106085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:14:31] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:14:31] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:14:31] local.INFO: IMEI packet received {"connection_id":106085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":106085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:14:33] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:14:33] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:14:33] local.INFO: Packet analysis {"connection_id":106085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:14:33] local.INFO: Extracted packet for processing {"connection_id":106085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:14:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:14:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:14:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":106085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:14:33] local.INFO: GPS data processed {"connection_id":106085,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:14:33] local.INFO: Acknowledgment sent {"connection_id":106085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:15:05] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:15:05] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:15:05] local.INFO: Packet analysis {"connection_id":106085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:15:05] local.INFO: Extracted packet for processing {"connection_id":106085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:15:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:15:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:15:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:15:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":106085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:15:05] local.INFO: GPS data processed {"connection_id":106085,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:15:05] local.INFO: Acknowledgment sent {"connection_id":106085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:15:26] local.INFO: TCP Data received {"connection_id":107054,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:15:26] local.INFO: Processing buffer {"connection_id":107054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:15:26] local.INFO: IMEI packet received {"connection_id":107054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":107054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:15:32] local.INFO: TCP Data received {"connection_id":107054,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:15:32] local.INFO: Processing buffer {"connection_id":107054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:15:32] local.INFO: IMEI packet received {"connection_id":107054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":107054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:15:36] local.INFO: TCP Data received {"connection_id":107054,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:15:36] local.INFO: Processing buffer {"connection_id":107054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:15:36] local.INFO: Packet analysis {"connection_id":107054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:15:36] local.INFO: Extracted packet for processing {"connection_id":107054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:15:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:15:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:15:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:15:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:15:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:15:36] local.INFO: DEBUG: GPS processor result {"connection_id":107054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:15:36] local.INFO: GPS data processed {"connection_id":107054,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:15:36] local.INFO: Acknowledgment sent {"connection_id":107054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:16:09] local.INFO: TCP Data received {"connection_id":107054,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:16:09] local.INFO: Processing buffer {"connection_id":107054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed750a880012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:16:09] local.INFO: Packet analysis {"connection_id":107054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:16:09] local.INFO: Extracted packet for processing {"connection_id":107054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed750"} 
[2026-06-18 02:16:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122508032001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:16:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781728848000,"timestamp_ms":1781728848000,"timestamp_seconds":1781728848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed750a880"} 
[2026-06-18 02:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":66,"data_length":795,"current_offset":136} 
[2026-06-18 02:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1267,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122508032001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122508032001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:16:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:16:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122508032001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":107054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:16:09] local.INFO: GPS data processed {"connection_id":107054,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:16:09] local.INFO: Acknowledgment sent {"connection_id":107054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:16:26] local.INFO: TCP Data received {"connection_id":107056,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:26] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:26] local.INFO: IMEI packet received {"connection_id":107056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":107056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:16:27] local.INFO: TCP Data received {"connection_id":107056,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:27] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:27] local.INFO: IMEI packet received {"connection_id":107056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":107056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:16:32] local.INFO: TCP Data received {"connection_id":107056,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:32] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:16:32] local.INFO: IMEI packet received {"connection_id":107056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":107056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:16:33] local.INFO: TCP Data received {"connection_id":107056,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:16:33] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:16:33] local.INFO: Packet analysis {"connection_id":107056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:16:33] local.INFO: Extracted packet for processing {"connection_id":107056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:16:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 02:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:16:33] 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-06-18 02: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-06-18 02:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:16:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":107056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:16:33] local.INFO: GPS data processed {"connection_id":107056,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:16:33] local.INFO: Acknowledgment sent {"connection_id":107056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:17:49] local.INFO: TCP Data received {"connection_id":107056,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:17:49] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:17:49] local.INFO: Packet analysis {"connection_id":107056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:17:49] local.INFO: Extracted packet for processing {"connection_id":107056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:17:49] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 02:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:17:49] 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-06-18 02:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:17:49] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:17:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":107056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:17:49] local.INFO: GPS data processed {"connection_id":107056,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:17:49] local.INFO: Acknowledgment sent {"connection_id":107056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:18:02] local.INFO: TCP Data received {"connection_id":106087,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:02] local.INFO: Processing buffer {"connection_id":106087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:02] local.INFO: IMEI packet received {"connection_id":106087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":106087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:18:05] local.INFO: TCP Data received {"connection_id":106086,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:18:05] local.INFO: Processing buffer {"connection_id":106086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:18:05] local.INFO: IMEI packet received {"connection_id":106086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":106086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:18:07] local.INFO: TCP Data received {"connection_id":106087,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:07] local.INFO: Processing buffer {"connection_id":106087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:07] local.INFO: IMEI packet received {"connection_id":106087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":106087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:18:08] local.INFO: TCP Data received {"connection_id":106087,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:18:08] local.INFO: Processing buffer {"connection_id":106087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:18:08] local.INFO: Packet analysis {"connection_id":106087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:18:08] local.INFO: Extracted packet for processing {"connection_id":106087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:18:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 02:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:18:08] 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-06-18 02:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:18:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:18:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":106087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:18:08] local.INFO: GPS data processed {"connection_id":106087,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:18:08] local.INFO: Acknowledgment sent {"connection_id":106087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:18:31] local.INFO: TCP Data received {"connection_id":107057,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:31] local.INFO: Processing buffer {"connection_id":107057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:31] local.INFO: IMEI packet received {"connection_id":107057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":107057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:18:36] local.INFO: TCP Data received {"connection_id":107057,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:36] local.INFO: Processing buffer {"connection_id":107057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:18:36] local.INFO: IMEI packet received {"connection_id":107057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":107057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:18:37] local.INFO: TCP Data received {"connection_id":107057,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:18:37] local.INFO: Processing buffer {"connection_id":107057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:18:37] local.INFO: Packet analysis {"connection_id":107057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:18:37] local.INFO: Extracted packet for processing {"connection_id":107057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:18:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:18:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 02:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:18:37] 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-06-18 02: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-06-18 02:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:18:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:18:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":107057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:18:37] local.INFO: GPS data processed {"connection_id":107057,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:18:37] local.INFO: Acknowledgment sent {"connection_id":107057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:18:40] local.INFO: TCP Data received {"connection_id":107058,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:18:40] local.INFO: Processing buffer {"connection_id":107058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:18:40] local.INFO: IMEI packet received {"connection_id":107058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":107058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:19:09] local.INFO: TCP Data received {"connection_id":107057,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:19:09] local.INFO: Processing buffer {"connection_id":107057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:19:09] local.INFO: Packet analysis {"connection_id":107057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:19:09] local.INFO: Extracted packet for processing {"connection_id":107057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:19:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:19:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 02:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:19:09] 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-06-18 02:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:19:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:19:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":107057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:19:09] local.INFO: GPS data processed {"connection_id":107057,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:19:09] local.INFO: Acknowledgment sent {"connection_id":107057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:19:26] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:19:26] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:19:26] local.INFO: IMEI packet received {"connection_id":106088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":106088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:19:32] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:19:32] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:19:32] local.INFO: IMEI packet received {"connection_id":106088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":106088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:19:33] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:19:33] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:19:33] local.INFO: Packet analysis {"connection_id":106088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:19:33] local.INFO: Extracted packet for processing {"connection_id":106088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:19:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 02:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:19:33] 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-06-18 02: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-06-18 02:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:19:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:19:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":106088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:19:33] local.INFO: GPS data processed {"connection_id":106088,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:19:33] local.INFO: Acknowledgment sent {"connection_id":106088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:20:04] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:20:04] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:20:04] local.INFO: Packet analysis {"connection_id":106088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:20:04] local.INFO: Extracted packet for processing {"connection_id":106088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:20:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 02:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 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-06-18 02:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:20:04] 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-06-18 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-06-18 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-06-18 02:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:20:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:20:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":106088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:20:04] local.INFO: GPS data processed {"connection_id":106088,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:20:04] local.INFO: Acknowledgment sent {"connection_id":106088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:20:26] local.INFO: TCP Data received {"connection_id":105560,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:20:26] local.INFO: Processing buffer {"connection_id":105560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:20:26] local.INFO: IMEI packet received {"connection_id":105560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":105560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:20:32] local.INFO: TCP Data received {"connection_id":105560,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:20:32] local.INFO: Processing buffer {"connection_id":105560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:20:32] local.INFO: IMEI packet received {"connection_id":105560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":105560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:20:33] local.INFO: TCP Data received {"connection_id":105560,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:20:33] local.INFO: Processing buffer {"connection_id":105560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:20:33] local.INFO: Packet analysis {"connection_id":105560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:20:33] local.INFO: Extracted packet for processing {"connection_id":105560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:20:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 02:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:20:33] 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-06-18 02: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-06-18 02:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:20:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":105560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:20:33] local.INFO: GPS data processed {"connection_id":105560,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:20:33] local.INFO: Acknowledgment sent {"connection_id":105560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:21:04] local.INFO: TCP Data received {"connection_id":105560,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:21:04] local.INFO: Processing buffer {"connection_id":105560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7554048012d59b000063e3ac80001014831..."} 
[2026-06-18 02:21:04] local.INFO: Packet analysis {"connection_id":105560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:21:04] local.INFO: Extracted packet for processing {"connection_id":105560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed755"} 
[2026-06-18 02:21:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122585088001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781729149000,"timestamp_ms":1781729149000,"timestamp_seconds":1781729149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7554048"} 
[2026-06-18 02:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:21:04] 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-06-18 02:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122585088001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122585088001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:21:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:21:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122585088001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":105560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:21:04] local.INFO: GPS data processed {"connection_id":105560,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:21:04] local.INFO: Acknowledgment sent {"connection_id":105560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:21:28] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:28] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:28] local.INFO: IMEI packet received {"connection_id":106090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":106090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:21:32] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:32] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:32] local.INFO: IMEI packet received {"connection_id":106090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":106090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:21:37] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:37] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:21:37] local.INFO: IMEI packet received {"connection_id":106090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":106090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:21:38] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:21:38] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:21:38] local.INFO: Packet analysis {"connection_id":106090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:21:38] local.INFO: Extracted packet for processing {"connection_id":106090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:21:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:21:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:21:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:21:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":106090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:21:38] local.INFO: GPS data processed {"connection_id":106090,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:21:38] local.INFO: Acknowledgment sent {"connection_id":106090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:22:20] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:22:20] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:22:20] local.INFO: Packet analysis {"connection_id":106090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:22:20] local.INFO: Extracted packet for processing {"connection_id":106090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:22:20] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":106090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":106090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":106090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:22:20] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:22:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":106090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:22:20] local.INFO: GPS data processed {"connection_id":106090,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:22:20] local.INFO: Acknowledgment sent {"connection_id":106090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:22:32] local.INFO: TCP Data received {"connection_id":105349,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:22:32] local.INFO: Processing buffer {"connection_id":105349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:22:32] local.INFO: IMEI packet received {"connection_id":105349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":105349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:22:36] local.INFO: TCP Data received {"connection_id":105349,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:22:36] local.INFO: Processing buffer {"connection_id":105349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:22:36] local.INFO: IMEI packet received {"connection_id":105349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":105349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:22:37] local.INFO: TCP Data received {"connection_id":105349,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:22:37] local.INFO: Processing buffer {"connection_id":105349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:22:37] local.INFO: Packet analysis {"connection_id":105349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:22:37] local.INFO: Extracted packet for processing {"connection_id":105349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:22:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:22:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:22:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:22:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":105349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:22:37] local.INFO: GPS data processed {"connection_id":105349,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:22:37] local.INFO: Acknowledgment sent {"connection_id":105349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:23:09] local.INFO: TCP Data received {"connection_id":105349,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:09] local.INFO: Processing buffer {"connection_id":105349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:09] local.INFO: Packet analysis {"connection_id":105349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:23:09] local.INFO: Extracted packet for processing {"connection_id":105349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:23:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:23:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:23:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":105349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:23:09] local.INFO: GPS data processed {"connection_id":105349,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:23:09] local.INFO: Acknowledgment sent {"connection_id":105349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:23:32] local.INFO: TCP Data received {"connection_id":105350,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:23:32] local.INFO: Processing buffer {"connection_id":105350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:23:32] local.INFO: IMEI packet received {"connection_id":105350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":105350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:23:37] local.INFO: TCP Data received {"connection_id":105350,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:23:37] local.INFO: Processing buffer {"connection_id":105350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:23:37] local.INFO: IMEI packet received {"connection_id":105350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":105350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:23:38] local.INFO: TCP Data received {"connection_id":105350,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:38] local.INFO: Processing buffer {"connection_id":105350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:38] local.INFO: Packet analysis {"connection_id":105350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:23:38] local.INFO: Extracted packet for processing {"connection_id":105350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:23:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:23:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:23:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:23:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":105350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:23:38] local.INFO: GPS data processed {"connection_id":105350,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:23:38] local.INFO: Acknowledgment sent {"connection_id":105350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:23:42] local.INFO: TCP Data received {"connection_id":105350,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:42] local.INFO: Processing buffer {"connection_id":105350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:23:42] local.INFO: Packet analysis {"connection_id":105350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:23:42] local.INFO: Extracted packet for processing {"connection_id":105350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:23:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:23:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":105350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:23:42] local.INFO: GPS data processed {"connection_id":105350,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:23:42] local.INFO: Acknowledgment sent {"connection_id":105350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:24:00] local.INFO: TCP Data received {"connection_id":107059,"ip":"42.106.6.10","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:24:00] local.INFO: Processing buffer {"connection_id":107059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:24:00] local.INFO: IMEI packet received {"connection_id":107059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":107059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:24:26] local.INFO: TCP Data received {"connection_id":105562,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:24:26] local.INFO: Processing buffer {"connection_id":105562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:24:26] local.INFO: IMEI packet received {"connection_id":105562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":105562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:24:32] local.INFO: TCP Data received {"connection_id":105562,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:24:32] local.INFO: Processing buffer {"connection_id":105562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:24:32] local.INFO: IMEI packet received {"connection_id":105562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":105562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:24:35] local.INFO: TCP Data received {"connection_id":105562,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:24:35] local.INFO: Processing buffer {"connection_id":105562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:24:35] local.INFO: Packet analysis {"connection_id":105562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:24:35] local.INFO: Extracted packet for processing {"connection_id":105562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:24:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:24:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:24:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":105562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:24:35] local.INFO: GPS data processed {"connection_id":105562,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:24:35] local.INFO: Acknowledgment sent {"connection_id":105562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:24:35] local.INFO: TCP Data received {"connection_id":106092,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:24:35] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:24:35] local.INFO: IMEI packet received {"connection_id":106092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":106092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:25:08] local.INFO: TCP Data received {"connection_id":105562,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:25:08] local.INFO: Processing buffer {"connection_id":105562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:25:08] local.INFO: Packet analysis {"connection_id":105562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:25:08] local.INFO: Extracted packet for processing {"connection_id":105562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:25:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:25:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:25:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":105562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:25:08] local.INFO: GPS data processed {"connection_id":105562,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:25:08] local.INFO: Acknowledgment sent {"connection_id":105562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:25:26] local.INFO: TCP Data received {"connection_id":105351,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:25:26] local.INFO: Processing buffer {"connection_id":105351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:25:26] local.INFO: IMEI packet received {"connection_id":105351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":105351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:25:32] local.INFO: TCP Data received {"connection_id":105351,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:25:32] local.INFO: Processing buffer {"connection_id":105351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:25:32] local.INFO: IMEI packet received {"connection_id":105351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":105351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:25:33] local.INFO: TCP Data received {"connection_id":105351,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:25:33] local.INFO: Processing buffer {"connection_id":105351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:25:33] local.INFO: Packet analysis {"connection_id":105351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:25:33] local.INFO: Extracted packet for processing {"connection_id":105351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:25:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:25:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":105351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:25:33] local.INFO: GPS data processed {"connection_id":105351,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:25:33] local.INFO: Acknowledgment sent {"connection_id":105351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:26:05] local.INFO: TCP Data received {"connection_id":105351,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:26:05] local.INFO: Processing buffer {"connection_id":105351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed759d810012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:26:05] local.INFO: Packet analysis {"connection_id":105351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:26:05] local.INFO: Extracted packet for processing {"connection_id":105351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed759"} 
[2026-06-18 02:26:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781729450000,"timestamp_ms":1781729450000,"timestamp_seconds":1781729450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed759d810"} 
[2026-06-18 02:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 02:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122662144001,"66":25125,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 02:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:26:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 02:26:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122662144001,"power":25125,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":105351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:26:05] local.INFO: GPS data processed {"connection_id":105351,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:26:05] local.INFO: Acknowledgment sent {"connection_id":105351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:26:26] local.INFO: TCP Data received {"connection_id":105563,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:26] local.INFO: Processing buffer {"connection_id":105563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:26] local.INFO: IMEI packet received {"connection_id":105563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":105563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:26:29] local.INFO: TCP Data received {"connection_id":105563,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:29] local.INFO: Processing buffer {"connection_id":105563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:29] local.INFO: IMEI packet received {"connection_id":105563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":105563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:26:31] local.INFO: TCP Data received {"connection_id":105563,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:31] local.INFO: Processing buffer {"connection_id":105563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:26:31] local.INFO: IMEI packet received {"connection_id":105563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":105563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:26:32] local.INFO: TCP Data received {"connection_id":105563,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:26:32] local.INFO: Processing buffer {"connection_id":105563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:26:32] local.INFO: Packet analysis {"connection_id":105563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:26:32] local.INFO: Extracted packet for processing {"connection_id":105563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:26:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:26:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:26:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":105563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:26:32] local.INFO: GPS data processed {"connection_id":105563,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:26:32] local.INFO: Acknowledgment sent {"connection_id":105563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:27:03] local.INFO: TCP Data received {"connection_id":105563,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:27:03] local.INFO: Processing buffer {"connection_id":105563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:27:03] local.INFO: Packet analysis {"connection_id":105563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:27:03] local.INFO: Extracted packet for processing {"connection_id":105563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:27:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:27:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:27:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":105563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:27:04] local.INFO: GPS data processed {"connection_id":105563,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:27:04] local.INFO: Acknowledgment sent {"connection_id":105563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:27:26] local.INFO: TCP Data received {"connection_id":107062,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:27:26] local.INFO: Processing buffer {"connection_id":107062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:27:26] local.INFO: IMEI packet received {"connection_id":107062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":107062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:27:32] local.INFO: TCP Data received {"connection_id":107062,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:27:32] local.INFO: Processing buffer {"connection_id":107062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:27:32] local.INFO: IMEI packet received {"connection_id":107062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":107062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:27:36] local.INFO: TCP Data received {"connection_id":107062,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:27:36] local.INFO: Processing buffer {"connection_id":107062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:27:36] local.INFO: Packet analysis {"connection_id":107062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:27:36] local.INFO: Extracted packet for processing {"connection_id":107062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:27:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:27:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:27:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":107062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:27:36] local.INFO: GPS data processed {"connection_id":107062,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:27:36] local.INFO: Acknowledgment sent {"connection_id":107062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:28:08] local.INFO: TCP Data received {"connection_id":107062,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:28:08] local.INFO: Processing buffer {"connection_id":107062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:28:08] local.INFO: Packet analysis {"connection_id":107062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:28:08] local.INFO: Extracted packet for processing {"connection_id":107062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:28:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:28:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:28:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":107062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:28:08] local.INFO: GPS data processed {"connection_id":107062,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:28:08] local.INFO: Acknowledgment sent {"connection_id":107062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:28:26] local.INFO: TCP Data received {"connection_id":105564,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:28:26] local.INFO: Processing buffer {"connection_id":105564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:28:26] local.INFO: IMEI packet received {"connection_id":105564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":105564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:28:32] local.INFO: TCP Data received {"connection_id":105564,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:28:32] local.INFO: Processing buffer {"connection_id":105564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:28:32] local.INFO: IMEI packet received {"connection_id":105564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":105564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:28:35] local.INFO: TCP Data received {"connection_id":105564,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:28:35] local.INFO: Processing buffer {"connection_id":105564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:28:35] local.INFO: Packet analysis {"connection_id":105564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:28:35] local.INFO: Extracted packet for processing {"connection_id":105564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:28:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:28:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:28:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:28:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:28:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:28:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":105564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:28:35] local.INFO: GPS data processed {"connection_id":105564,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:28:35] local.INFO: Acknowledgment sent {"connection_id":105564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:29:07] local.INFO: TCP Data received {"connection_id":105564,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:07] local.INFO: Processing buffer {"connection_id":105564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:07] local.INFO: Packet analysis {"connection_id":105564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:29:07] local.INFO: Extracted packet for processing {"connection_id":105564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:29:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:29:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:29:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":105564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:29:07] local.INFO: GPS data processed {"connection_id":105564,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:29:07] local.INFO: Acknowledgment sent {"connection_id":105564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:29:32] local.INFO: TCP Data received {"connection_id":105352,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:29:32] local.INFO: Processing buffer {"connection_id":105352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:29:32] local.INFO: IMEI packet received {"connection_id":105352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":105352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:29:37] local.INFO: TCP Data received {"connection_id":105352,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:29:37] local.INFO: Processing buffer {"connection_id":105352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:29:37] local.INFO: IMEI packet received {"connection_id":105352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:29:37] local.INFO: IMEI acknowledgment sent {"connection_id":105352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:29:38] local.INFO: TCP Data received {"connection_id":105352,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:38] local.INFO: Processing buffer {"connection_id":105352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:38] local.INFO: Packet analysis {"connection_id":105352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:29:38] local.INFO: Extracted packet for processing {"connection_id":105352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:29:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:29: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-06-18 02:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:29: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":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:29: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-06-18 02:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:29:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:29:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":105352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:29:38] local.INFO: GPS data processed {"connection_id":105352,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:29:38] local.INFO: Acknowledgment sent {"connection_id":105352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:29:56] local.INFO: TCP Data received {"connection_id":105352,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:56] local.INFO: Processing buffer {"connection_id":105352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:29:56] local.INFO: Packet analysis {"connection_id":105352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:29:56] local.INFO: Extracted packet for processing {"connection_id":105352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:29:56] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:29:56] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:29:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":105352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:29:56] local.INFO: GPS data processed {"connection_id":105352,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:29:56] local.INFO: Acknowledgment sent {"connection_id":105352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:30:05] local.INFO: TCP Data received {"connection_id":105353,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:30:05] local.INFO: Processing buffer {"connection_id":105353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:30:05] local.INFO: IMEI packet received {"connection_id":105353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":105353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:30:27] local.INFO: TCP Data received {"connection_id":106093,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:30:27] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:30:27] local.INFO: IMEI packet received {"connection_id":106093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":106093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:30:32] local.INFO: TCP Data received {"connection_id":106093,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:30:32] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:30:32] local.INFO: IMEI packet received {"connection_id":106093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":106093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:30:33] local.INFO: TCP Data received {"connection_id":106093,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:30:33] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:30:33] local.INFO: Packet analysis {"connection_id":106093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:30:33] local.INFO: Extracted packet for processing {"connection_id":106093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:30:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:30:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:30:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":106093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:30:33] local.INFO: GPS data processed {"connection_id":106093,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:30:33] local.INFO: Acknowledgment sent {"connection_id":106093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:30:35] local.INFO: TCP Data received {"connection_id":105566,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:30:35] local.INFO: Processing buffer {"connection_id":105566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:30:35] local.INFO: IMEI packet received {"connection_id":105566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":105566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:31:06] local.INFO: TCP Data received {"connection_id":106093,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:31:06] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed75e6fd8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:31:06] local.INFO: Packet analysis {"connection_id":106093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:31:06] local.INFO: Extracted packet for processing {"connection_id":106093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed75e"} 
[2026-06-18 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781729751000,"timestamp_ms":1781729751000,"timestamp_seconds":1781729751,"priority":1,"record_length":96,"hex_timestamp":"0000019ed75e6fd8"} 
[2026-06-18 02:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 02:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02: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-06-18 02:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122739200001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:31:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:31:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122739200001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":106093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:31:06] local.INFO: GPS data processed {"connection_id":106093,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:31:06] local.INFO: Acknowledgment sent {"connection_id":106093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:31:26] local.INFO: TCP Data received {"connection_id":105567,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:31:26] local.INFO: Processing buffer {"connection_id":105567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:31:26] local.INFO: IMEI packet received {"connection_id":105567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":105567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:31:31] local.INFO: TCP Data received {"connection_id":105567,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:31:31] local.INFO: Processing buffer {"connection_id":105567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:31:31] local.INFO: IMEI packet received {"connection_id":105567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":105567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:31:32] local.INFO: TCP Data received {"connection_id":105567,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:31:32] local.INFO: Processing buffer {"connection_id":105567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:31:32] local.INFO: Packet analysis {"connection_id":105567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:31:32] local.INFO: Extracted packet for processing {"connection_id":105567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:31:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:31: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-06-18 02: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-06-18 02:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:31:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:31:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":105567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:31:32] local.INFO: GPS data processed {"connection_id":105567,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:31:32] local.INFO: Acknowledgment sent {"connection_id":105567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:32:04] local.INFO: TCP Data received {"connection_id":105567,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:04] local.INFO: Processing buffer {"connection_id":105567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:04] local.INFO: Packet analysis {"connection_id":105567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:32:04] local.INFO: Extracted packet for processing {"connection_id":105567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:32:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:32:04] 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-06-18 02:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:32:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:32:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":105567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:32:04] local.INFO: GPS data processed {"connection_id":105567,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:32:04] local.INFO: Acknowledgment sent {"connection_id":105567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:32:32] local.INFO: TCP Data received {"connection_id":105354,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:32:32] local.INFO: Processing buffer {"connection_id":105354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:32:32] local.INFO: IMEI packet received {"connection_id":105354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":105354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:32:37] local.INFO: TCP Data received {"connection_id":105354,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:32:37] local.INFO: Processing buffer {"connection_id":105354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:32:37] local.INFO: IMEI packet received {"connection_id":105354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:32:37] local.INFO: IMEI acknowledgment sent {"connection_id":105354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:32:38] local.INFO: TCP Data received {"connection_id":105354,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:38] local.INFO: Processing buffer {"connection_id":105354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:38] local.INFO: Packet analysis {"connection_id":105354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:32:38] local.INFO: Extracted packet for processing {"connection_id":105354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:32:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:32:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:32:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":105354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:32:38] local.INFO: GPS data processed {"connection_id":105354,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:32:38] local.INFO: Acknowledgment sent {"connection_id":105354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:32:44] local.INFO: TCP Data received {"connection_id":105354,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:44] local.INFO: Processing buffer {"connection_id":105354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:32:44] local.INFO: Packet analysis {"connection_id":105354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:32:44] local.INFO: Extracted packet for processing {"connection_id":105354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:32:44] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:32:44] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:32:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":105354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:32:44] local.INFO: GPS data processed {"connection_id":105354,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:32:44] local.INFO: Acknowledgment sent {"connection_id":105354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:33:26] local.INFO: TCP Data received {"connection_id":105569,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:33:26] local.INFO: Processing buffer {"connection_id":105569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:33:26] local.INFO: IMEI packet received {"connection_id":105569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":105569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:33:32] local.INFO: TCP Data received {"connection_id":105569,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:33:32] local.INFO: Processing buffer {"connection_id":105569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:33:32] local.INFO: IMEI packet received {"connection_id":105569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":105569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:33:33] local.INFO: TCP Data received {"connection_id":105569,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:33:33] local.INFO: Processing buffer {"connection_id":105569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:33:33] local.INFO: Packet analysis {"connection_id":105569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:33:33] local.INFO: Extracted packet for processing {"connection_id":105569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:33:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:33:33] 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-06-18 02: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-06-18 02:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:33:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:33:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":105569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:33:33] local.INFO: GPS data processed {"connection_id":105569,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:33:33] local.INFO: Acknowledgment sent {"connection_id":105569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:34:05] local.INFO: TCP Data received {"connection_id":105569,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:34:05] local.INFO: Processing buffer {"connection_id":105569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:34:05] local.INFO: Packet analysis {"connection_id":105569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:34:05] local.INFO: Extracted packet for processing {"connection_id":105569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:34:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:34:05] 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-06-18 02:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:34:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:34:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":105569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:34:05] local.INFO: GPS data processed {"connection_id":105569,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:34:05] local.INFO: Acknowledgment sent {"connection_id":105569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:34:26] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:34:26] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:34:26] local.INFO: IMEI packet received {"connection_id":106095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":106095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:34:31] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:34:31] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:34:31] local.INFO: IMEI packet received {"connection_id":106095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":106095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:34:33] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:34:33] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:34:33] local.INFO: Packet analysis {"connection_id":106095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:34:33] local.INFO: Extracted packet for processing {"connection_id":106095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:34:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:34:33] 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-06-18 02: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-06-18 02:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:34:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:34:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":106095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:34:33] local.INFO: GPS data processed {"connection_id":106095,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:34:33] local.INFO: Acknowledgment sent {"connection_id":106095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:35:05] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:35:05] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:35:05] local.INFO: Packet analysis {"connection_id":106095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:35:05] local.INFO: Extracted packet for processing {"connection_id":106095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:35:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:35:05] 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-06-18 02: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-06-18 02:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:35:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:35:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":106095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:35:05] local.INFO: GPS data processed {"connection_id":106095,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:35:05] local.INFO: Acknowledgment sent {"connection_id":106095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:35:26] local.INFO: TCP Data received {"connection_id":107065,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:35:26] local.INFO: Processing buffer {"connection_id":107065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:35:26] local.INFO: IMEI packet received {"connection_id":107065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":107065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:35:32] local.INFO: TCP Data received {"connection_id":107065,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:35:32] local.INFO: Processing buffer {"connection_id":107065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:35:32] local.INFO: IMEI packet received {"connection_id":107065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":107065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:35:33] local.INFO: TCP Data received {"connection_id":107065,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:35:33] local.INFO: Processing buffer {"connection_id":107065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:35:33] local.INFO: Packet analysis {"connection_id":107065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:35:33] local.INFO: Extracted packet for processing {"connection_id":107065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:35:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 02:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:35:33] 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-06-18 02:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:35:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:35:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":107065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:35:33] local.INFO: GPS data processed {"connection_id":107065,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:35:33] local.INFO: Acknowledgment sent {"connection_id":107065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:35:55] local.INFO: TCP Data received {"connection_id":105356,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:35:55] local.INFO: Processing buffer {"connection_id":105356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:35:55] local.INFO: IMEI packet received {"connection_id":105356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":105356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:36:05] local.INFO: TCP Data received {"connection_id":107065,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:36:05] local.INFO: Processing buffer {"connection_id":107065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76307a0012d59b000063e3ac80001014830..."} 
[2026-06-18 02:36:05] local.INFO: Packet analysis {"connection_id":107065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:36:05] local.INFO: Extracted packet for processing {"connection_id":107065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed763"} 
[2026-06-18 02:36:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 02:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122816256001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781730052000,"timestamp_ms":1781730052000,"timestamp_seconds":1781730052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76307a0"} 
[2026-06-18 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-06-18 02:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 02:36:05] 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-06-18 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-06-18 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-06-18 02:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122816256001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122816256001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:36:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:36:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122816256001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":107065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:36:05] local.INFO: GPS data processed {"connection_id":107065,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:36:05] local.INFO: Acknowledgment sent {"connection_id":107065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:36:32] local.INFO: TCP Data received {"connection_id":106096,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:32] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:32] local.INFO: IMEI packet received {"connection_id":106096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":106096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:36:33] local.INFO: TCP Data received {"connection_id":106096,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:33] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:33] local.INFO: IMEI packet received {"connection_id":106096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":106096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:36:35] local.INFO: TCP Data received {"connection_id":105357,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:36:35] local.INFO: Processing buffer {"connection_id":105357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:36:35] local.INFO: IMEI packet received {"connection_id":105357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":105357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:36:37] local.INFO: TCP Data received {"connection_id":106096,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:37] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:36:37] local.INFO: IMEI packet received {"connection_id":106096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":106096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:36:38] local.INFO: TCP Data received {"connection_id":106096,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:36:38] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:36:38] local.INFO: Packet analysis {"connection_id":106096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:36:38] local.INFO: Extracted packet for processing {"connection_id":106096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:36:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:36:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:36:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:36:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:36:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:36:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:36:38] 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-06-18 02:36:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:36:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:36:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:36:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:36:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:36:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:36:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:36:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:36:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:36:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:36:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:36:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:36:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:36:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:36:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:36:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:36:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:36:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:36:38] local.INFO: DEBUG: GPS processor result {"connection_id":106096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:36:38] local.INFO: GPS data processed {"connection_id":106096,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:36:38] local.INFO: Acknowledgment sent {"connection_id":106096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:36:43] local.INFO: TCP Data received {"connection_id":106096,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:36:43] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:36:43] local.INFO: Packet analysis {"connection_id":106096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:36:43] local.INFO: Extracted packet for processing {"connection_id":106096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:36:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:36: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-06-18 02:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:36:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:36:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:36:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:36:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:36:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":106096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:36:43] local.INFO: GPS data processed {"connection_id":106096,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:36:43] local.INFO: Acknowledgment sent {"connection_id":106096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:37:26] local.INFO: TCP Data received {"connection_id":105358,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:37:26] local.INFO: Processing buffer {"connection_id":105358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:37:26] local.INFO: IMEI packet received {"connection_id":105358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":105358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:37:32] local.INFO: TCP Data received {"connection_id":105358,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:37:32] local.INFO: Processing buffer {"connection_id":105358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:37:32] local.INFO: IMEI packet received {"connection_id":105358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":105358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:37:33] local.INFO: TCP Data received {"connection_id":105358,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:37:33] local.INFO: Processing buffer {"connection_id":105358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:37:33] local.INFO: Packet analysis {"connection_id":105358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:37:33] local.INFO: Extracted packet for processing {"connection_id":105358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:37:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:37:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:37:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:37:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:37:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:37:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:37:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:37:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:37:33] 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-06-18 02: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-06-18 02:37:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:37:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:37:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:37:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:37:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:37:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:37:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:37:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:37:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:37:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:37:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:37:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:37:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:37:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:37:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:37:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:37:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:37:33] local.INFO: DEBUG: GPS processor result {"connection_id":105358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:37:33] local.INFO: GPS data processed {"connection_id":105358,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:37:33] local.INFO: Acknowledgment sent {"connection_id":105358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:38:05] local.INFO: TCP Data received {"connection_id":105358,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:38:05] local.INFO: Processing buffer {"connection_id":105358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:38:05] local.INFO: Packet analysis {"connection_id":105358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:38:05] local.INFO: Extracted packet for processing {"connection_id":105358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:38:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:38:05] 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-06-18 02:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:38:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:38:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":105358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:38:05] local.INFO: GPS data processed {"connection_id":105358,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:38:05] local.INFO: Acknowledgment sent {"connection_id":105358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:38:31] local.INFO: TCP Data received {"connection_id":106097,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:38:31] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:38:31] local.INFO: IMEI packet received {"connection_id":106097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":106097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:38:36] local.INFO: TCP Data received {"connection_id":106097,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:38:36] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:38:36] local.INFO: IMEI packet received {"connection_id":106097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":106097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:38:37] local.INFO: TCP Data received {"connection_id":106097,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:38:37] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:38:37] local.INFO: Packet analysis {"connection_id":106097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:38:37] local.INFO: Extracted packet for processing {"connection_id":106097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:38:37] 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-06-18 02: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-06-18 02:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:38:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:38:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":106097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:38:37] local.INFO: GPS data processed {"connection_id":106097,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:38:37] local.INFO: Acknowledgment sent {"connection_id":106097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:39:09] local.INFO: TCP Data received {"connection_id":106097,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:39:09] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:39:09] local.INFO: Packet analysis {"connection_id":106097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:39:09] local.INFO: Extracted packet for processing {"connection_id":106097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:39:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:39:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:39:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:39:09] 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-06-18 02:39:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:39:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:39:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":106097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:39:09] local.INFO: GPS data processed {"connection_id":106097,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:39:09] local.INFO: Acknowledgment sent {"connection_id":106097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:39:26] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:39:26] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:39:26] local.INFO: IMEI packet received {"connection_id":105570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":105570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:39:32] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:39:32] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:39:32] local.INFO: IMEI packet received {"connection_id":105570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":105570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:39:34] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:39:34] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:39:34] local.INFO: Packet analysis {"connection_id":105570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:39:34] local.INFO: Extracted packet for processing {"connection_id":105570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:39:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:39:34] 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-06-18 02:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:39:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:39:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":105570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:39:34] local.INFO: GPS data processed {"connection_id":105570,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:39:34] local.INFO: Acknowledgment sent {"connection_id":105570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:40:06] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:40:06] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:40:06] local.INFO: Packet analysis {"connection_id":105570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:40:06] local.INFO: Extracted packet for processing {"connection_id":105570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:40:06] 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-06-18 02:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:40:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:40:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":105570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:40:06] local.INFO: GPS data processed {"connection_id":105570,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:40:06] local.INFO: Acknowledgment sent {"connection_id":105570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:40:26] local.INFO: TCP Data received {"connection_id":105359,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:40:26] local.INFO: Processing buffer {"connection_id":105359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:40:26] local.INFO: IMEI packet received {"connection_id":105359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":105359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:40:31] local.INFO: TCP Data received {"connection_id":105359,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:40:31] local.INFO: Processing buffer {"connection_id":105359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:40:31] local.INFO: IMEI packet received {"connection_id":105359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":105359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:40:33] local.INFO: TCP Data received {"connection_id":105359,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:40:33] local.INFO: Processing buffer {"connection_id":105359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:40:33] local.INFO: Packet analysis {"connection_id":105359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:40:33] local.INFO: Extracted packet for processing {"connection_id":105359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:40:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:40:33] 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-06-18 02:40:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:40:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":105359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:40:33] local.INFO: GPS data processed {"connection_id":105359,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:40:33] local.INFO: Acknowledgment sent {"connection_id":105359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:41:04] local.INFO: TCP Data received {"connection_id":105359,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:41:04] local.INFO: Processing buffer {"connection_id":105359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7679f68012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:41:04] local.INFO: Packet analysis {"connection_id":105359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:41:04] local.INFO: Extracted packet for processing {"connection_id":105359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed767"} 
[2026-06-18 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122893312001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781730353000,"timestamp_ms":1781730353000,"timestamp_seconds":1781730353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7679f68"} 
[2026-06-18 02:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:41:04] 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-06-18 02: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-06-18 02:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122893312001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122893312001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:41:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:41:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122893312001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":105359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:41:04] local.INFO: GPS data processed {"connection_id":105359,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:41:04] local.INFO: Acknowledgment sent {"connection_id":105359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:41:26] local.INFO: TCP Data received {"connection_id":105571,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:41:26] local.INFO: Processing buffer {"connection_id":105571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:41:26] local.INFO: IMEI packet received {"connection_id":105571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":105571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:41:32] local.INFO: TCP Data received {"connection_id":105571,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:41:32] local.INFO: Processing buffer {"connection_id":105571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:41:32] local.INFO: IMEI packet received {"connection_id":105571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":105571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:41:35] local.INFO: TCP Data received {"connection_id":105571,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:41:35] local.INFO: Processing buffer {"connection_id":105571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:41:35] local.INFO: Packet analysis {"connection_id":105571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:41:35] local.INFO: Extracted packet for processing {"connection_id":105571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:41:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:41: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-06-18 02: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-06-18 02:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:41:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:41:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":105571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:41:35] local.INFO: GPS data processed {"connection_id":105571,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:41:35] local.INFO: Acknowledgment sent {"connection_id":105571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:42:00] local.INFO: TCP Data received {"connection_id":107069,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:42:00] local.INFO: Processing buffer {"connection_id":107069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:42:00] local.INFO: IMEI packet received {"connection_id":107069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":107069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:42:07] local.INFO: TCP Data received {"connection_id":105571,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:42:07] local.INFO: Processing buffer {"connection_id":105571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:42:07] local.INFO: Packet analysis {"connection_id":105571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:42:07] local.INFO: Extracted packet for processing {"connection_id":105571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:42:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:42:07] 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-06-18 02: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-06-18 02:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:42:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:42:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":105571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:42:07] local.INFO: GPS data processed {"connection_id":105571,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:42:07] local.INFO: Acknowledgment sent {"connection_id":105571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:42:26] local.INFO: TCP Data received {"connection_id":106099,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:42:26] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:42:26] local.INFO: IMEI packet received {"connection_id":106099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":106099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:42:32] local.INFO: TCP Data received {"connection_id":106099,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:42:32] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:42:32] local.INFO: IMEI packet received {"connection_id":106099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":106099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:42:33] local.INFO: TCP Data received {"connection_id":106099,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:42:33] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:42:33] local.INFO: Packet analysis {"connection_id":106099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:42:33] local.INFO: Extracted packet for processing {"connection_id":106099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:42:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:42:33] 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-06-18 02:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:42:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":106099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:42:33] local.INFO: GPS data processed {"connection_id":106099,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:42:33] local.INFO: Acknowledgment sent {"connection_id":106099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:42:40] local.INFO: TCP Data received {"connection_id":106100,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:42:40] local.INFO: Processing buffer {"connection_id":106100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:42:40] local.INFO: IMEI packet received {"connection_id":106100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":106100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:43:05] local.INFO: TCP Data received {"connection_id":106099,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:43:05] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:43:05] local.INFO: Packet analysis {"connection_id":106099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:43:05] local.INFO: Extracted packet for processing {"connection_id":106099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:43:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:43:05] 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-06-18 02: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-06-18 02:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:43:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:43:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":106099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:43:05] local.INFO: GPS data processed {"connection_id":106099,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:43:05] local.INFO: Acknowledgment sent {"connection_id":106099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:43:26] local.INFO: TCP Data received {"connection_id":105360,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:43:26] local.INFO: Processing buffer {"connection_id":105360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:43:26] local.INFO: IMEI packet received {"connection_id":105360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":105360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:43:32] local.INFO: TCP Data received {"connection_id":105360,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:43:32] local.INFO: Processing buffer {"connection_id":105360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:43:32] local.INFO: IMEI packet received {"connection_id":105360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":105360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:43:35] local.INFO: TCP Data received {"connection_id":105360,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:43:35] local.INFO: Processing buffer {"connection_id":105360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:43:35] local.INFO: Packet analysis {"connection_id":105360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:43:35] local.INFO: Extracted packet for processing {"connection_id":105360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:43:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:43: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-06-18 02:43:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:43:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:43:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":105360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:43:35] local.INFO: GPS data processed {"connection_id":105360,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:43:35] local.INFO: Acknowledgment sent {"connection_id":105360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:44:06] local.INFO: TCP Data received {"connection_id":105360,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:06] local.INFO: Processing buffer {"connection_id":105360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:06] local.INFO: Packet analysis {"connection_id":105360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:44:06] local.INFO: Extracted packet for processing {"connection_id":105360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:44:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:44:06] 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-06-18 02:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:44:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:44:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":105360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:44:06] local.INFO: GPS data processed {"connection_id":105360,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:44:06] local.INFO: Acknowledgment sent {"connection_id":105360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:44:32] local.INFO: TCP Data received {"connection_id":105572,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:44:32] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:44:32] local.INFO: IMEI packet received {"connection_id":105572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":105572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:44:37] local.INFO: TCP Data received {"connection_id":105572,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:44:37] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:44:37] local.INFO: IMEI packet received {"connection_id":105572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":105572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:44:38] local.INFO: TCP Data received {"connection_id":105572,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:38] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:38] local.INFO: Packet analysis {"connection_id":105572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:44:38] local.INFO: Extracted packet for processing {"connection_id":105572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:44:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:44:38] 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-06-18 02:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:44:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:44:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":105572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:44:38] local.INFO: GPS data processed {"connection_id":105572,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:44:38] local.INFO: Acknowledgment sent {"connection_id":105572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:44:52] local.INFO: TCP Data received {"connection_id":105572,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:52] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:44:52] local.INFO: Packet analysis {"connection_id":105572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:44:52] local.INFO: Extracted packet for processing {"connection_id":105572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:44:52] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:44:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:44:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:44:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:44:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:44:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:44:52] 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-06-18 02: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-06-18 02:44:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:44:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:44:52] local.INFO: Teltonika packet parsed successfully {"connection_id":105572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:44:52] local.INFO: Passing IMEI to GPS processor {"connection_id":105572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:44:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":105572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:44:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:44:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:44:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:44:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:44:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:44:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:44:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:44:52] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:44:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:44:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:44:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:44:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:44:52] local.INFO: DEBUG: GPS processor result {"connection_id":105572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:44:52] local.INFO: GPS data processed {"connection_id":105572,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:44:52] local.INFO: Acknowledgment sent {"connection_id":105572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:45:27] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:45:27] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:45:27] local.INFO: IMEI packet received {"connection_id":106101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":106101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:45:32] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:45:32] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:45:32] local.INFO: IMEI packet received {"connection_id":106101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":106101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:45:35] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:45:35] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:45:35] local.INFO: Packet analysis {"connection_id":106101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:45:35] local.INFO: Extracted packet for processing {"connection_id":106101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:45:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:45:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:45: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-06-18 02: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-06-18 02:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:45:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:45:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":106101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:45:35] local.INFO: GPS data processed {"connection_id":106101,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:45:35] local.INFO: Acknowledgment sent {"connection_id":106101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:46:07] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:46:07] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:46:07] local.INFO: Packet analysis {"connection_id":106101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:46:07] local.INFO: Extracted packet for processing {"connection_id":106101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:46:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:46:07] 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-06-18 02:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:46:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:46:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":106101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:46:07] local.INFO: GPS data processed {"connection_id":106101,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:46:07] local.INFO: Acknowledgment sent {"connection_id":106101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:46:26] local.INFO: TCP Data received {"connection_id":105361,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:46:26] local.INFO: Processing buffer {"connection_id":105361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:46:26] local.INFO: IMEI packet received {"connection_id":105361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":105361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:46:32] local.INFO: TCP Data received {"connection_id":105361,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:46:32] local.INFO: Processing buffer {"connection_id":105361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:46:32] local.INFO: IMEI packet received {"connection_id":105361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":105361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:46:35] local.INFO: TCP Data received {"connection_id":105361,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:46:35] local.INFO: Processing buffer {"connection_id":105361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed76c3730012d59b000063e3ac8000101482c..."} 
[2026-06-18 02:46:35] local.INFO: Packet analysis {"connection_id":105361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:46:35] local.INFO: Extracted packet for processing {"connection_id":105361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed76c"} 
[2026-06-18 02:46:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456122970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:46:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781730654000,"timestamp_ms":1781730654000,"timestamp_seconds":1781730654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed76c3730"} 
[2026-06-18 02:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:46: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-06-18 02:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456122970368001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456122970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:46:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:46:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456122970368001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":105361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:46:35] local.INFO: GPS data processed {"connection_id":105361,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:46:35] local.INFO: Acknowledgment sent {"connection_id":105361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:47:07] local.INFO: TCP Data received {"connection_id":105361,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:47:07] local.INFO: Processing buffer {"connection_id":105361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:47:07] local.INFO: Packet analysis {"connection_id":105361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:47:07] local.INFO: Extracted packet for processing {"connection_id":105361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:47:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:47:07] 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-06-18 02: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-06-18 02:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:47:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:47:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":105361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:47:07] local.INFO: GPS data processed {"connection_id":105361,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:47:07] local.INFO: Acknowledgment sent {"connection_id":105361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:47:32] local.INFO: TCP Data received {"connection_id":106102,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:47:32] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:47:32] local.INFO: IMEI packet received {"connection_id":106102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":106102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:47:37] local.INFO: TCP Data received {"connection_id":106102,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:47:37] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:47:37] local.INFO: IMEI packet received {"connection_id":106102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":106102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:47:38] local.INFO: TCP Data received {"connection_id":106102,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:47:38] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:47:38] local.INFO: Packet analysis {"connection_id":106102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:47:38] local.INFO: Extracted packet for processing {"connection_id":106102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:47:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:47:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:47:38] 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-06-18 02: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-06-18 02:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:47:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:47:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:47:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":106102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:47:38] local.INFO: GPS data processed {"connection_id":106102,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:47:38] local.INFO: Acknowledgment sent {"connection_id":106102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:47:55] local.INFO: TCP Data received {"connection_id":107073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:47:55] local.INFO: Processing buffer {"connection_id":107073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:47:55] local.INFO: IMEI packet received {"connection_id":107073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":107073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:48:09] local.INFO: TCP Data received {"connection_id":106102,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:48:09] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:48:09] local.INFO: Packet analysis {"connection_id":106102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:48:09] local.INFO: Extracted packet for processing {"connection_id":106102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:48:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:48:09] 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-06-18 02:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:48:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:48:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":106102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:48:09] local.INFO: GPS data processed {"connection_id":106102,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:48:09] local.INFO: Acknowledgment sent {"connection_id":106102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:48:26] local.INFO: TCP Data received {"connection_id":106103,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:48:26] local.INFO: Processing buffer {"connection_id":106103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:48:26] local.INFO: IMEI packet received {"connection_id":106103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":106103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:48:32] local.INFO: TCP Data received {"connection_id":106103,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:48:32] local.INFO: Processing buffer {"connection_id":106103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:48:32] local.INFO: IMEI packet received {"connection_id":106103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":106103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:48:35] local.INFO: TCP Data received {"connection_id":105574,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:48:35] local.INFO: Processing buffer {"connection_id":105574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:48:35] local.INFO: IMEI packet received {"connection_id":105574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":105574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:48:36] local.INFO: TCP Data received {"connection_id":106103,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:48:36] local.INFO: Processing buffer {"connection_id":106103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:48:36] local.INFO: Packet analysis {"connection_id":106103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:48:36] local.INFO: Extracted packet for processing {"connection_id":106103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:48:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:48:36] 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-06-18 02:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:48:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:48:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":106103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:48:36] local.INFO: GPS data processed {"connection_id":106103,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:48:36] local.INFO: Acknowledgment sent {"connection_id":106103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:49:09] local.INFO: TCP Data received {"connection_id":106103,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:49:09] local.INFO: Processing buffer {"connection_id":106103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:49:09] local.INFO: Packet analysis {"connection_id":106103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:49:09] local.INFO: Extracted packet for processing {"connection_id":106103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:49:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:49:09] 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-06-18 02: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-06-18 02:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:49:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:49:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":106103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:49:09] local.INFO: GPS data processed {"connection_id":106103,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:49:09] local.INFO: Acknowledgment sent {"connection_id":106103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:49:26] local.INFO: TCP Data received {"connection_id":107074,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:49:26] local.INFO: Processing buffer {"connection_id":107074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:49:26] local.INFO: IMEI packet received {"connection_id":107074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":107074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:49:32] local.INFO: TCP Data received {"connection_id":107074,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:49:32] local.INFO: Processing buffer {"connection_id":107074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:49:32] local.INFO: IMEI packet received {"connection_id":107074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":107074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:49:33] local.INFO: TCP Data received {"connection_id":107074,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:49:33] local.INFO: Processing buffer {"connection_id":107074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:49:33] local.INFO: Packet analysis {"connection_id":107074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:49:33] local.INFO: Extracted packet for processing {"connection_id":107074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:49:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:49:33] 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-06-18 02:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:49:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":107074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:49:33] local.INFO: GPS data processed {"connection_id":107074,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:49:33] local.INFO: Acknowledgment sent {"connection_id":107074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:50:05] local.INFO: TCP Data received {"connection_id":107074,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:05] local.INFO: Processing buffer {"connection_id":107074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:05] local.INFO: Packet analysis {"connection_id":107074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:50:05] local.INFO: Extracted packet for processing {"connection_id":107074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:50:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:50:05] 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-06-18 02:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:50:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:50:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":107074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:50:05] local.INFO: GPS data processed {"connection_id":107074,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:50:05] local.INFO: Acknowledgment sent {"connection_id":107074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:50:31] local.INFO: TCP Data received {"connection_id":106104,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:50:31] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:50:31] local.INFO: IMEI packet received {"connection_id":106104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":106104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:50:37] local.INFO: TCP Data received {"connection_id":106104,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:50:37] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:50:37] local.INFO: IMEI packet received {"connection_id":106104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":106104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:50:38] local.INFO: TCP Data received {"connection_id":106104,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:38] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:38] local.INFO: Packet analysis {"connection_id":106104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:50:38] local.INFO: Extracted packet for processing {"connection_id":106104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:50:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:50:38] 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-06-18 02:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:50:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:50:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":106104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:50:38] local.INFO: GPS data processed {"connection_id":106104,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:50:38] local.INFO: Acknowledgment sent {"connection_id":106104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:50:43] local.INFO: TCP Data received {"connection_id":106104,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:43] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:50:43] local.INFO: Packet analysis {"connection_id":106104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:50:43] local.INFO: Extracted packet for processing {"connection_id":106104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:50:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:50:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:50:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:50:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:50:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:50:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":106104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:50:43] local.INFO: GPS data processed {"connection_id":106104,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:50:43] local.INFO: Acknowledgment sent {"connection_id":106104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:51:27] local.INFO: TCP Data received {"connection_id":107076,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:51:27] local.INFO: Processing buffer {"connection_id":107076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:51:27] local.INFO: IMEI packet received {"connection_id":107076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":107076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:51:32] local.INFO: TCP Data received {"connection_id":107076,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:51:32] local.INFO: Processing buffer {"connection_id":107076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:51:32] local.INFO: IMEI packet received {"connection_id":107076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":107076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:51:33] local.INFO: TCP Data received {"connection_id":107076,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:51:33] local.INFO: Processing buffer {"connection_id":107076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed770cef8012d59b000063e3ac8000101482f..."} 
[2026-06-18 02:51:33] local.INFO: Packet analysis {"connection_id":107076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:51:33] local.INFO: Extracted packet for processing {"connection_id":107076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed770"} 
[2026-06-18 02:51:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123047424001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781730955000,"timestamp_ms":1781730955000,"timestamp_seconds":1781730955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed770cef8"} 
[2026-06-18 02:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:51:33] 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-06-18 02:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123047424001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123047424001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:51:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123047424001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":107076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:51:33] local.INFO: GPS data processed {"connection_id":107076,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:51:33] local.INFO: Acknowledgment sent {"connection_id":107076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:52:05] local.INFO: TCP Data received {"connection_id":107076,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:52:05] local.INFO: Processing buffer {"connection_id":107076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:52:05] local.INFO: Packet analysis {"connection_id":107076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:52:05] local.INFO: Extracted packet for processing {"connection_id":107076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:52:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:52:05] 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-06-18 02:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:52:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:52:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":107076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:52:05] local.INFO: GPS data processed {"connection_id":107076,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:52:05] local.INFO: Acknowledgment sent {"connection_id":107076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:52:26] local.INFO: TCP Data received {"connection_id":106105,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:52:26] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:52:26] local.INFO: IMEI packet received {"connection_id":106105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":106105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:52:32] local.INFO: TCP Data received {"connection_id":106105,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:52:32] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:52:32] local.INFO: IMEI packet received {"connection_id":106105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":106105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:52:33] local.INFO: TCP Data received {"connection_id":106105,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:52:33] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:52:33] local.INFO: Packet analysis {"connection_id":106105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:52:33] local.INFO: Extracted packet for processing {"connection_id":106105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:52:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:52:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:52:33] 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-06-18 02:52:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:52:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:52:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":106105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:52:33] local.INFO: GPS data processed {"connection_id":106105,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:52:33] local.INFO: Acknowledgment sent {"connection_id":106105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:53:05] local.INFO: TCP Data received {"connection_id":106105,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:53:05] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:53:05] local.INFO: Packet analysis {"connection_id":106105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:53:05] local.INFO: Extracted packet for processing {"connection_id":106105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:53:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:53:05] 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-06-18 02: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-06-18 02:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:53:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:53:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":106105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:53:05] local.INFO: GPS data processed {"connection_id":106105,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:53:05] local.INFO: Acknowledgment sent {"connection_id":106105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:53:26] local.INFO: TCP Data received {"connection_id":107077,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:53:26] local.INFO: Processing buffer {"connection_id":107077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:53:26] local.INFO: IMEI packet received {"connection_id":107077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":107077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:53:32] local.INFO: TCP Data received {"connection_id":107077,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:53:32] local.INFO: Processing buffer {"connection_id":107077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:53:32] local.INFO: IMEI packet received {"connection_id":107077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":107077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:53:33] local.INFO: TCP Data received {"connection_id":107077,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:53:33] local.INFO: Processing buffer {"connection_id":107077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:53:33] local.INFO: Packet analysis {"connection_id":107077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:53:33] local.INFO: Extracted packet for processing {"connection_id":107077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:53:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:53:33] 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-06-18 02:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:53:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":107077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:53:33] local.INFO: GPS data processed {"connection_id":107077,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:53:33] local.INFO: Acknowledgment sent {"connection_id":107077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:54:04] local.INFO: TCP Data received {"connection_id":105363,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:54:04] local.INFO: Processing buffer {"connection_id":105363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:54:04] local.INFO: IMEI packet received {"connection_id":105363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":105363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:54:05] local.INFO: TCP Data received {"connection_id":107077,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:54:05] local.INFO: Processing buffer {"connection_id":107077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:54:05] local.INFO: Packet analysis {"connection_id":107077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:54:05] local.INFO: Extracted packet for processing {"connection_id":107077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:54:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:54:05] 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-06-18 02: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-06-18 02:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:54:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":107077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:54:05] local.INFO: GPS data processed {"connection_id":107077,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:54:05] local.INFO: Acknowledgment sent {"connection_id":107077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:54:32] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:54:32] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:54:32] local.INFO: IMEI packet received {"connection_id":107078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":107078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:54:34] local.INFO: TCP Data received {"connection_id":105577,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:54:34] local.INFO: Processing buffer {"connection_id":105577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:54:34] local.INFO: IMEI packet received {"connection_id":105577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":105577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:54:37] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:54:37] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:54:37] local.INFO: IMEI packet received {"connection_id":107078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":107078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:54:38] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:54:38] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:54:38] local.INFO: Packet analysis {"connection_id":107078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:54:38] local.INFO: Extracted packet for processing {"connection_id":107078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:54:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:54:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:54:38] 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-06-18 02: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-06-18 02:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:54:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:54:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:54:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":107078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:54:38] local.INFO: GPS data processed {"connection_id":107078,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:54:38] local.INFO: Acknowledgment sent {"connection_id":107078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:55:27] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:55:27] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:55:27] local.INFO: Packet analysis {"connection_id":107078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:55:27] local.INFO: Extracted packet for processing {"connection_id":107078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:55:27] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:55:27] 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-06-18 02:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:55:27] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:55:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":107078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:55:27] local.INFO: GPS data processed {"connection_id":107078,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:55:27] local.INFO: Acknowledgment sent {"connection_id":107078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:55:31] local.INFO: TCP Data received {"connection_id":105578,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:55:31] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:55:31] local.INFO: IMEI packet received {"connection_id":105578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":105578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:55:37] local.INFO: TCP Data received {"connection_id":105578,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:55:37] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:55:37] local.INFO: IMEI packet received {"connection_id":105578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":105578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:55:38] local.INFO: TCP Data received {"connection_id":105578,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:55:38] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:55:38] local.INFO: Packet analysis {"connection_id":105578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:55:38] local.INFO: Extracted packet for processing {"connection_id":105578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:55:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:55:38] 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-06-18 02: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-06-18 02:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:55:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:55:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":105578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:55:38] local.INFO: GPS data processed {"connection_id":105578,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:55:38] local.INFO: Acknowledgment sent {"connection_id":105578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:56:10] local.INFO: TCP Data received {"connection_id":105578,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:56:10] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:56:10] local.INFO: Packet analysis {"connection_id":105578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:56:10] local.INFO: Extracted packet for processing {"connection_id":105578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:56:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:56:10] 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-06-18 02:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:56:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:56:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":105578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:56:10] local.INFO: GPS data processed {"connection_id":105578,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:56:10] local.INFO: Acknowledgment sent {"connection_id":105578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:56:26] local.INFO: TCP Data received {"connection_id":105579,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:56:26] local.INFO: Processing buffer {"connection_id":105579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:56:26] local.INFO: IMEI packet received {"connection_id":105579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":105579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:56:32] local.INFO: TCP Data received {"connection_id":105579,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:56:32] local.INFO: Processing buffer {"connection_id":105579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:56:32] local.INFO: IMEI packet received {"connection_id":105579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":105579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:56:33] local.INFO: TCP Data received {"connection_id":105579,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:56:33] local.INFO: Processing buffer {"connection_id":105579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77566c0012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:56:33] local.INFO: Packet analysis {"connection_id":105579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:56:33] local.INFO: Extracted packet for processing {"connection_id":105579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed775"} 
[2026-06-18 02:56:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123124480001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781731256000,"timestamp_ms":1781731256000,"timestamp_seconds":1781731256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77566c0"} 
[2026-06-18 02:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:56:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:56:33] 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-06-18 02: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-06-18 02:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123124480001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123124480001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:56:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:56:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123124480001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":105579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:56:33] local.INFO: GPS data processed {"connection_id":105579,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:56:33] local.INFO: Acknowledgment sent {"connection_id":105579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:57:04] local.INFO: TCP Data received {"connection_id":105579,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:57:04] local.INFO: Processing buffer {"connection_id":105579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:57:04] local.INFO: Packet analysis {"connection_id":105579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:57:04] local.INFO: Extracted packet for processing {"connection_id":105579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 02:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:57:04] 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-06-18 02:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:57:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":105579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:57:04] local.INFO: GPS data processed {"connection_id":105579,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:57:04] local.INFO: Acknowledgment sent {"connection_id":105579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:57:27] local.INFO: TCP Data received {"connection_id":107080,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:57:27] local.INFO: Processing buffer {"connection_id":107080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:57:27] local.INFO: IMEI packet received {"connection_id":107080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":107080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:57:32] local.INFO: TCP Data received {"connection_id":107080,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:57:32] local.INFO: Processing buffer {"connection_id":107080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:57:32] local.INFO: IMEI packet received {"connection_id":107080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":107080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:57:33] local.INFO: TCP Data received {"connection_id":107080,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:57:33] local.INFO: Processing buffer {"connection_id":107080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:57:33] local.INFO: Packet analysis {"connection_id":107080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:57:33] local.INFO: Extracted packet for processing {"connection_id":107080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:57:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 02:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:57:33] 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-06-18 02:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:57:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:57:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":107080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:57:33] local.INFO: GPS data processed {"connection_id":107080,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:57:33] local.INFO: Acknowledgment sent {"connection_id":107080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:58:06] local.INFO: TCP Data received {"connection_id":107080,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:58:06] local.INFO: Processing buffer {"connection_id":107080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:58:06] local.INFO: Packet analysis {"connection_id":107080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:58:06] local.INFO: Extracted packet for processing {"connection_id":107080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:58:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 02:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:58:06] 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-06-18 02:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:58:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:58:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":107080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:58:06] local.INFO: GPS data processed {"connection_id":107080,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:58:06] local.INFO: Acknowledgment sent {"connection_id":107080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:58:26] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:58:26] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:58:26] local.INFO: IMEI packet received {"connection_id":106106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":106106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:58:31] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:58:31] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:58:31] local.INFO: IMEI packet received {"connection_id":106106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":106106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:58:32] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:58:32] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:58:32] local.INFO: Packet analysis {"connection_id":106106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:58:32] local.INFO: Extracted packet for processing {"connection_id":106106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 02:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:58:32] 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-06-18 02: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-06-18 02:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:58:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":106106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:58:32] local.INFO: GPS data processed {"connection_id":106106,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:58:32] local.INFO: Acknowledgment sent {"connection_id":106106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:59:03] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:03] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:03] local.INFO: Packet analysis {"connection_id":106106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:59:03] local.INFO: Extracted packet for processing {"connection_id":106106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:59:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 02:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:59:03] 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-06-18 02:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:59:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:59:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":106106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:59:03] local.INFO: GPS data processed {"connection_id":106106,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:59:03] local.INFO: Acknowledgment sent {"connection_id":106106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:59:32] local.INFO: TCP Data received {"connection_id":105365,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:59:32] local.INFO: Processing buffer {"connection_id":105365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:59:32] local.INFO: IMEI packet received {"connection_id":105365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 02:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":105365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 02:59:37] local.INFO: TCP Data received {"connection_id":105365,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:59:37] local.INFO: Processing buffer {"connection_id":105365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 02:59:37] local.INFO: IMEI packet received {"connection_id":105365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 02:59:37] local.INFO: IMEI acknowledgment sent {"connection_id":105365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 02:59:38] local.INFO: TCP Data received {"connection_id":105365,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:38] local.INFO: Processing buffer {"connection_id":105365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:38] local.INFO: Packet analysis {"connection_id":105365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:59:38] local.INFO: Extracted packet for processing {"connection_id":105365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:59:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02: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-06-18 02:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 02:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:59:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:59:38] 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-06-18 02: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-06-18 02:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:59:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:59:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":105365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:59:38] local.INFO: GPS data processed {"connection_id":105365,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:59:38] local.INFO: Acknowledgment sent {"connection_id":105365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:59:42] local.INFO: TCP Data received {"connection_id":105365,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:42] local.INFO: Processing buffer {"connection_id":105365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 02:59:42] local.INFO: Packet analysis {"connection_id":105365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:59:42] local.INFO: Extracted packet for processing {"connection_id":105365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 02:59:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 02:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 02:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 02:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 02:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 02:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 02:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 02:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 02:59:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 02:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 02:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 02:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 02:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 02:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 02:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 02:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 02:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 02:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 02:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 02:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 02:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 02:59:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 02:59:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 02:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 02:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 02:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 02:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":105365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 02:59:42] local.INFO: GPS data processed {"connection_id":105365,"processed":1,"errors":0,"total":1} 
[2026-06-18 02:59:42] local.INFO: Acknowledgment sent {"connection_id":105365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 02:59:59] local.INFO: TCP Data received {"connection_id":105581,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:59:59] local.INFO: Processing buffer {"connection_id":105581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 02:59:59] local.INFO: IMEI packet received {"connection_id":105581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 02:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":105581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:00:26] local.INFO: TCP Data received {"connection_id":105582,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:00:26] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:00:26] local.INFO: IMEI packet received {"connection_id":105582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":105582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:00:32] local.INFO: TCP Data received {"connection_id":105582,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:00:32] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:00:32] local.INFO: IMEI packet received {"connection_id":105582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":105582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:00:34] local.INFO: TCP Data received {"connection_id":105366,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:00:34] local.INFO: Processing buffer {"connection_id":105366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:00:34] local.INFO: IMEI packet received {"connection_id":105366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":105366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:00:35] local.INFO: TCP Data received {"connection_id":105582,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:00:35] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:00:35] local.INFO: Packet analysis {"connection_id":105582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 03:00:35] local.INFO: Extracted packet for processing {"connection_id":105582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 03:00:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 03:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:00:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:00: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-06-18 03:00:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:00:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:00:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:00:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":105582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:00:35] local.INFO: GPS data processed {"connection_id":105582,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:00:35] local.INFO: Acknowledgment sent {"connection_id":105582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:01:07] local.INFO: TCP Data received {"connection_id":105582,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:01:07] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:01:07] local.INFO: Packet analysis {"connection_id":105582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 03:01:07] local.INFO: Extracted packet for processing {"connection_id":105582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 03:01:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 03:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:01:07] 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-06-18 03:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:01:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:01:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":105582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:01:07] local.INFO: GPS data processed {"connection_id":105582,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:01:07] local.INFO: Acknowledgment sent {"connection_id":105582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:01:26] local.INFO: TCP Data received {"connection_id":107081,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:01:26] local.INFO: Processing buffer {"connection_id":107081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:01:26] local.INFO: IMEI packet received {"connection_id":107081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":107081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:01:32] local.INFO: TCP Data received {"connection_id":107081,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:01:32] local.INFO: Processing buffer {"connection_id":107081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:01:32] local.INFO: IMEI packet received {"connection_id":107081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":107081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:01:33] local.INFO: TCP Data received {"connection_id":107081,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:01:33] local.INFO: Processing buffer {"connection_id":107081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed779fe88012d59b000063e3ac8000101482b..."} 
[2026-06-18 03:01:33] local.INFO: Packet analysis {"connection_id":107081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 03:01:33] local.INFO: Extracted packet for processing {"connection_id":107081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed779"} 
[2026-06-18 03:01:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 03:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123201536001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781731557000,"timestamp_ms":1781731557000,"timestamp_seconds":1781731557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed779fe88"} 
[2026-06-18 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-06-18 03:01:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:01:33] 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-06-18 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-06-18 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-06-18 03:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123201536001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123201536001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:01:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:01:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123201536001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":107081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:01:33] local.INFO: GPS data processed {"connection_id":107081,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:01:33] local.INFO: Acknowledgment sent {"connection_id":107081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:02:04] local.INFO: TCP Data received {"connection_id":107081,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:02:04] local.INFO: Processing buffer {"connection_id":107081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:02:04] local.INFO: Packet analysis {"connection_id":107081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:02:04] local.INFO: Extracted packet for processing {"connection_id":107081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:02:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:02:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:02:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":107081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:02:04] local.INFO: GPS data processed {"connection_id":107081,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:02:04] local.INFO: Acknowledgment sent {"connection_id":107081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:02:33] local.INFO: TCP Data received {"connection_id":106108,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:02:33] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:02:33] local.INFO: IMEI packet received {"connection_id":106108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":106108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:02:37] local.INFO: TCP Data received {"connection_id":106108,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:02:37] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:02:37] local.INFO: IMEI packet received {"connection_id":106108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":106108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:02:38] local.INFO: TCP Data received {"connection_id":106108,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:02:38] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:02:38] local.INFO: Packet analysis {"connection_id":106108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:02:38] local.INFO: Extracted packet for processing {"connection_id":106108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:02:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:02:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:02:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":106108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:02:38] local.INFO: GPS data processed {"connection_id":106108,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:02:38] local.INFO: Acknowledgment sent {"connection_id":106108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:03:01] local.INFO: TCP Data received {"connection_id":106108,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:03:01] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:03:01] local.INFO: Packet analysis {"connection_id":106108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:03:01] local.INFO: Extracted packet for processing {"connection_id":106108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:03:01] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 03:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 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-06-18 03:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 03:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:03:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:03:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":106108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:03:01] local.INFO: GPS data processed {"connection_id":106108,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:03:01] local.INFO: Acknowledgment sent {"connection_id":106108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:03:27] local.INFO: TCP Data received {"connection_id":105367,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:03:27] local.INFO: Processing buffer {"connection_id":105367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:03:27] local.INFO: IMEI packet received {"connection_id":105367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":105367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:03:32] local.INFO: TCP Data received {"connection_id":105367,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:03:32] local.INFO: Processing buffer {"connection_id":105367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:03:32] local.INFO: IMEI packet received {"connection_id":105367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":105367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:03:33] local.INFO: TCP Data received {"connection_id":105367,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:03:33] local.INFO: Processing buffer {"connection_id":105367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:03:33] local.INFO: Packet analysis {"connection_id":105367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:03:33] local.INFO: Extracted packet for processing {"connection_id":105367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:03:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:03:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:03:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":105367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:03:33] local.INFO: GPS data processed {"connection_id":105367,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:03:33] local.INFO: Acknowledgment sent {"connection_id":105367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:04:05] local.INFO: TCP Data received {"connection_id":105367,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:04:05] local.INFO: Processing buffer {"connection_id":105367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:04:05] local.INFO: Packet analysis {"connection_id":105367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:04:05] local.INFO: Extracted packet for processing {"connection_id":105367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:04:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":105367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:04:05] local.INFO: GPS data processed {"connection_id":105367,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:04:05] local.INFO: Acknowledgment sent {"connection_id":105367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:04:26] local.INFO: TCP Data received {"connection_id":105368,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:04:26] local.INFO: Processing buffer {"connection_id":105368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:04:26] local.INFO: IMEI packet received {"connection_id":105368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":105368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:04:32] local.INFO: TCP Data received {"connection_id":105368,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:04:32] local.INFO: Processing buffer {"connection_id":105368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:04:32] local.INFO: IMEI packet received {"connection_id":105368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":105368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:04:33] local.INFO: TCP Data received {"connection_id":105368,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:04:33] local.INFO: Processing buffer {"connection_id":105368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:04:33] local.INFO: Packet analysis {"connection_id":105368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:04:33] local.INFO: Extracted packet for processing {"connection_id":105368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:04:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:04:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:04:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":105368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:04:33] local.INFO: GPS data processed {"connection_id":105368,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:04:33] local.INFO: Acknowledgment sent {"connection_id":105368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:05:05] local.INFO: TCP Data received {"connection_id":105368,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:05:05] local.INFO: Processing buffer {"connection_id":105368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:05:05] local.INFO: Packet analysis {"connection_id":105368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:05:05] local.INFO: Extracted packet for processing {"connection_id":105368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:05:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:05:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:05:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":105368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:05:05] local.INFO: GPS data processed {"connection_id":105368,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:05:05] local.INFO: Acknowledgment sent {"connection_id":105368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:05:26] local.INFO: TCP Data received {"connection_id":105370,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:05:26] local.INFO: Processing buffer {"connection_id":105370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:05:26] local.INFO: IMEI packet received {"connection_id":105370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":105370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:05:32] local.INFO: TCP Data received {"connection_id":105370,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:05:32] local.INFO: Processing buffer {"connection_id":105370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:05:32] local.INFO: IMEI packet received {"connection_id":105370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":105370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:05:33] local.INFO: TCP Data received {"connection_id":105370,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:05:33] local.INFO: Processing buffer {"connection_id":105370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:05:33] local.INFO: Packet analysis {"connection_id":105370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:05:33] local.INFO: Extracted packet for processing {"connection_id":105370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:05:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:05:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:05:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:05:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":105370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:05:33] local.INFO: GPS data processed {"connection_id":105370,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:05:33] local.INFO: Acknowledgment sent {"connection_id":105370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:05:59] local.INFO: TCP Data received {"connection_id":105584,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:05:59] local.INFO: Processing buffer {"connection_id":105584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:05:59] local.INFO: IMEI packet received {"connection_id":105584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":105584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:06:06] local.INFO: TCP Data received {"connection_id":105370,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:06:06] local.INFO: Processing buffer {"connection_id":105370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:06:06] local.INFO: Packet analysis {"connection_id":105370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:06:06] local.INFO: Extracted packet for processing {"connection_id":105370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:06:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:06:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:06:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":105370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:06:06] local.INFO: GPS data processed {"connection_id":105370,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:06:06] local.INFO: Acknowledgment sent {"connection_id":105370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:06:32] local.INFO: TCP Data received {"connection_id":105585,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:06:32] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:06:32] local.INFO: IMEI packet received {"connection_id":105585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":105585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:06:34] local.INFO: TCP Data received {"connection_id":105586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:06:34] local.INFO: Processing buffer {"connection_id":105586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:06:34] local.INFO: IMEI packet received {"connection_id":105586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":105586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:06:37] local.INFO: TCP Data received {"connection_id":105585,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:06:37] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:06:37] local.INFO: IMEI packet received {"connection_id":105585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":105585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:06:38] local.INFO: TCP Data received {"connection_id":105585,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:06:38] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed77e9650012d59b000063e3ac8000101482d..."} 
[2026-06-18 03:06:38] local.INFO: Packet analysis {"connection_id":105585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:06:38] local.INFO: Extracted packet for processing {"connection_id":105585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed77e"} 
[2026-06-18 03:06:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:06:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123278592001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:06:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781731858000,"timestamp_ms":1781731858000,"timestamp_seconds":1781731858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed77e9650"} 
[2026-06-18 03:06:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:06:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:06:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 03:06:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:06:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:06:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:06:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:06:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:06:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:06:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:06:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:06:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:06:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:06:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123278592001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:06:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:06:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:06:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123278592001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:06:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:06:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:06:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:06:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:06:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123278592001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:06:38] local.INFO: DEBUG: GPS processor result {"connection_id":105585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:06:38] local.INFO: GPS data processed {"connection_id":105585,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:06:38] local.INFO: Acknowledgment sent {"connection_id":105585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:06:40] local.INFO: TCP Data received {"connection_id":105585,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:06:40] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:06:40] local.INFO: Packet analysis {"connection_id":105585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:06:40] local.INFO: Extracted packet for processing {"connection_id":105585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:06:40] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:06:40] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:06:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":105585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:06:40] local.INFO: GPS data processed {"connection_id":105585,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:06:40] local.INFO: Acknowledgment sent {"connection_id":105585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:07:42] local.INFO: TCP Data received {"connection_id":105585,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:07:42] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:07:42] local.INFO: Packet analysis {"connection_id":105585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:07:42] local.INFO: Extracted packet for processing {"connection_id":105585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:07:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:07:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:07:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":105585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:07:42] local.INFO: GPS data processed {"connection_id":105585,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:07:42] local.INFO: Acknowledgment sent {"connection_id":105585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:08:02] local.INFO: TCP Data received {"connection_id":105587,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:02] local.INFO: Processing buffer {"connection_id":105587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:02] local.INFO: IMEI packet received {"connection_id":105587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":105587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:08:07] local.INFO: TCP Data received {"connection_id":105587,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:07] local.INFO: Processing buffer {"connection_id":105587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:07] local.INFO: IMEI packet received {"connection_id":105587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":105587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:08:08] local.INFO: TCP Data received {"connection_id":105587,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:08:08] local.INFO: Processing buffer {"connection_id":105587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:08:08] local.INFO: Packet analysis {"connection_id":105587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:08:08] local.INFO: Extracted packet for processing {"connection_id":105587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:08:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:08:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":105587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:08:08] local.INFO: GPS data processed {"connection_id":105587,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:08:08] local.INFO: Acknowledgment sent {"connection_id":105587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:08:31] local.INFO: TCP Data received {"connection_id":107083,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:31] local.INFO: Processing buffer {"connection_id":107083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:31] local.INFO: IMEI packet received {"connection_id":107083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":107083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:08:36] local.INFO: TCP Data received {"connection_id":107083,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:36] local.INFO: Processing buffer {"connection_id":107083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:08:36] local.INFO: IMEI packet received {"connection_id":107083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":107083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:08:37] local.INFO: TCP Data received {"connection_id":107083,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:08:37] local.INFO: Processing buffer {"connection_id":107083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:08:37] local.INFO: Packet analysis {"connection_id":107083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:08:37] local.INFO: Extracted packet for processing {"connection_id":107083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:08:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:08:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:08:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":107083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:08:37] local.INFO: GPS data processed {"connection_id":107083,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:08:37] local.INFO: Acknowledgment sent {"connection_id":107083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:09:09] local.INFO: TCP Data received {"connection_id":107083,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:09:09] local.INFO: Processing buffer {"connection_id":107083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:09:09] local.INFO: Packet analysis {"connection_id":107083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:09:09] local.INFO: Extracted packet for processing {"connection_id":107083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:09:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:09: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-06-18 03:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:09: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:09: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-06-18 03:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:09:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:09:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":107083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:09:09] local.INFO: GPS data processed {"connection_id":107083,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:09:09] local.INFO: Acknowledgment sent {"connection_id":107083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:09:26] local.INFO: TCP Data received {"connection_id":106110,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:09:26] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:09:26] local.INFO: IMEI packet received {"connection_id":106110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":106110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:09:32] local.INFO: TCP Data received {"connection_id":106110,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:09:32] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:09:32] local.INFO: IMEI packet received {"connection_id":106110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":106110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:09:35] local.INFO: TCP Data received {"connection_id":106110,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:09:35] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:09:35] local.INFO: Packet analysis {"connection_id":106110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:09:35] local.INFO: Extracted packet for processing {"connection_id":106110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:09:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:09:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:09:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:09:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:09:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:09:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:09:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":106110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:09:35] local.INFO: GPS data processed {"connection_id":106110,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:09:35] local.INFO: Acknowledgment sent {"connection_id":106110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:10:07] local.INFO: TCP Data received {"connection_id":106110,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:07] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:07] local.INFO: Packet analysis {"connection_id":106110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:10:07] local.INFO: Extracted packet for processing {"connection_id":106110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:10:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:10:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:10:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:10:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:10:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":106110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:10:07] local.INFO: GPS data processed {"connection_id":106110,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:10:07] local.INFO: Acknowledgment sent {"connection_id":106110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:10:32] local.INFO: TCP Data received {"connection_id":105373,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:10:32] local.INFO: Processing buffer {"connection_id":105373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:10:32] local.INFO: IMEI packet received {"connection_id":105373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":105373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:10:37] local.INFO: TCP Data received {"connection_id":105373,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:10:37] local.INFO: Processing buffer {"connection_id":105373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:10:37] local.INFO: IMEI packet received {"connection_id":105373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":105373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:10:38] local.INFO: TCP Data received {"connection_id":105373,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:38] local.INFO: Processing buffer {"connection_id":105373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:38] local.INFO: Packet analysis {"connection_id":105373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:10:38] local.INFO: Extracted packet for processing {"connection_id":105373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:10:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:10:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:10:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":105373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:10:38] local.INFO: GPS data processed {"connection_id":105373,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:10:38] local.INFO: Acknowledgment sent {"connection_id":105373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:10:42] local.INFO: TCP Data received {"connection_id":105373,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:42] local.INFO: Processing buffer {"connection_id":105373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:10:42] local.INFO: Packet analysis {"connection_id":105373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:10:42] local.INFO: Extracted packet for processing {"connection_id":105373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:10:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:10:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:10:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":105373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:10:42] local.INFO: GPS data processed {"connection_id":105373,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:10:42] local.INFO: Acknowledgment sent {"connection_id":105373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:11:27] local.INFO: TCP Data received {"connection_id":107084,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:11:27] local.INFO: Processing buffer {"connection_id":107084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:11:27] local.INFO: IMEI packet received {"connection_id":107084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":107084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:11:32] local.INFO: TCP Data received {"connection_id":107084,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:11:32] local.INFO: Processing buffer {"connection_id":107084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:11:32] local.INFO: IMEI packet received {"connection_id":107084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":107084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:11:34] local.INFO: TCP Data received {"connection_id":107084,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:11:34] local.INFO: Processing buffer {"connection_id":107084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7832e18012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:11:34] local.INFO: Packet analysis {"connection_id":107084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:11:34] local.INFO: Extracted packet for processing {"connection_id":107084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed783"} 
[2026-06-18 03:11:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123355648001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781732159000,"timestamp_ms":1781732159000,"timestamp_seconds":1781732159,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7832e18"} 
[2026-06-18 03:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:11:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123355648001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123355648001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:11:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:11:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123355648001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":107084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:11:34] local.INFO: GPS data processed {"connection_id":107084,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:11:34] local.INFO: Acknowledgment sent {"connection_id":107084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:12:00] local.INFO: TCP Data received {"connection_id":105374,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:12:00] local.INFO: Processing buffer {"connection_id":105374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:12:00] local.INFO: IMEI packet received {"connection_id":105374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":105374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:12:34] local.INFO: TCP Data received {"connection_id":105590,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:12:34] local.INFO: Processing buffer {"connection_id":105590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:12:34] local.INFO: IMEI packet received {"connection_id":105590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":105590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:12:49] local.INFO: TCP Data received {"connection_id":107084,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:12:49] local.INFO: Processing buffer {"connection_id":107084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:12:49] local.INFO: Packet analysis {"connection_id":107084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:12:49] local.INFO: Extracted packet for processing {"connection_id":107084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:12:49] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:12:49] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:12:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":107084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:12:49] local.INFO: GPS data processed {"connection_id":107084,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:12:49] local.INFO: Acknowledgment sent {"connection_id":107084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:13:01] local.INFO: TCP Data received {"connection_id":105375,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:01] local.INFO: Processing buffer {"connection_id":105375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:01] local.INFO: IMEI packet received {"connection_id":105375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":105375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:13:07] local.INFO: TCP Data received {"connection_id":105375,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:07] local.INFO: Processing buffer {"connection_id":105375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:07] local.INFO: IMEI packet received {"connection_id":105375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":105375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:13:08] local.INFO: TCP Data received {"connection_id":105375,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:13:08] local.INFO: Processing buffer {"connection_id":105375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:13:08] local.INFO: Packet analysis {"connection_id":105375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:13:08] local.INFO: Extracted packet for processing {"connection_id":105375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:13:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:13:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:13:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":105375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:13:08] local.INFO: GPS data processed {"connection_id":105375,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:13:08] local.INFO: Acknowledgment sent {"connection_id":105375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:13:31] local.INFO: TCP Data received {"connection_id":106111,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:31] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:31] local.INFO: IMEI packet received {"connection_id":106111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":106111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:13:37] local.INFO: TCP Data received {"connection_id":106111,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:37] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:13:37] local.INFO: IMEI packet received {"connection_id":106111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:13:37] local.INFO: IMEI acknowledgment sent {"connection_id":106111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:13:38] local.INFO: TCP Data received {"connection_id":106111,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:13:38] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:13:38] local.INFO: Packet analysis {"connection_id":106111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:13:38] local.INFO: Extracted packet for processing {"connection_id":106111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:13:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:13:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:13:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:13:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":106111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:13:38] local.INFO: GPS data processed {"connection_id":106111,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:13:38] local.INFO: Acknowledgment sent {"connection_id":106111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:14:16] local.INFO: TCP Data received {"connection_id":106111,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:16] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:16] local.INFO: Packet analysis {"connection_id":106111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:14:16] local.INFO: Extracted packet for processing {"connection_id":106111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:14:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:14:16] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:14:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":106111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:14:16] local.INFO: GPS data processed {"connection_id":106111,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:14:16] local.INFO: Acknowledgment sent {"connection_id":106111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:14:32] local.INFO: TCP Data received {"connection_id":107085,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:14:32] local.INFO: Processing buffer {"connection_id":107085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:14:32] local.INFO: IMEI packet received {"connection_id":107085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":107085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:14:37] local.INFO: TCP Data received {"connection_id":107085,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:14:37] local.INFO: Processing buffer {"connection_id":107085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:14:37] local.INFO: IMEI packet received {"connection_id":107085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":107085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:14:38] local.INFO: TCP Data received {"connection_id":107085,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:38] local.INFO: Processing buffer {"connection_id":107085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:38] local.INFO: Packet analysis {"connection_id":107085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:14:38] local.INFO: Extracted packet for processing {"connection_id":107085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:14:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:14:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:14:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":107085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:14:38] local.INFO: GPS data processed {"connection_id":107085,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:14:38] local.INFO: Acknowledgment sent {"connection_id":107085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:14:42] local.INFO: TCP Data received {"connection_id":107085,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:42] local.INFO: Processing buffer {"connection_id":107085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:14:42] local.INFO: Packet analysis {"connection_id":107085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:14:42] local.INFO: Extracted packet for processing {"connection_id":107085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:14:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:14:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":107085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:14:42] local.INFO: GPS data processed {"connection_id":107085,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:14:42] local.INFO: Acknowledgment sent {"connection_id":107085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:15:27] local.INFO: TCP Data received {"connection_id":106114,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:15:27] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:15:27] local.INFO: IMEI packet received {"connection_id":106114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":106114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:15:32] local.INFO: TCP Data received {"connection_id":106114,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:15:32] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:15:32] local.INFO: IMEI packet received {"connection_id":106114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":106114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:15:34] local.INFO: TCP Data received {"connection_id":106114,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:15:34] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:15:34] local.INFO: Packet analysis {"connection_id":106114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:15:34] local.INFO: Extracted packet for processing {"connection_id":106114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:15:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:15:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:15:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:15:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":106114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:15:34] local.INFO: GPS data processed {"connection_id":106114,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:15:34] local.INFO: Acknowledgment sent {"connection_id":106114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:16:06] local.INFO: TCP Data received {"connection_id":106114,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:16:06] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:16:06] local.INFO: Packet analysis {"connection_id":106114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:16:06] local.INFO: Extracted packet for processing {"connection_id":106114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:16:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:16:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":106114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:16:06] local.INFO: GPS data processed {"connection_id":106114,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:16:06] local.INFO: Acknowledgment sent {"connection_id":106114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:16:26] local.INFO: TCP Data received {"connection_id":107086,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:16:26] local.INFO: Processing buffer {"connection_id":107086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:16:26] local.INFO: IMEI packet received {"connection_id":107086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":107086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:16:32] local.INFO: TCP Data received {"connection_id":107086,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:16:32] local.INFO: Processing buffer {"connection_id":107086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:16:32] local.INFO: IMEI packet received {"connection_id":107086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":107086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:16:33] local.INFO: TCP Data received {"connection_id":107086,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:16:33] local.INFO: Processing buffer {"connection_id":107086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed787c5e0012d59b000063e3ac80001014831..."} 
[2026-06-18 03:16:33] local.INFO: Packet analysis {"connection_id":107086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:16:33] local.INFO: Extracted packet for processing {"connection_id":107086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed787"} 
[2026-06-18 03:16:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:16:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123432704001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:16:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:16:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:16:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:16:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781732460000,"timestamp_ms":1781732460000,"timestamp_seconds":1781732460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed787c5e0"} 
[2026-06-18 03:16:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:16:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:16:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:16:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:16:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:16:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:16:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:16:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:16:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:16:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:16:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:16:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:16:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:16:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123432704001,"66":24854,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:16:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:16:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:16:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123432704001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:16:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:16:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:16:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:16:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:16:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123432704001,"power":24854,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:16:33] local.INFO: DEBUG: GPS processor result {"connection_id":107086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:16:33] local.INFO: GPS data processed {"connection_id":107086,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:16:33] local.INFO: Acknowledgment sent {"connection_id":107086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:17:06] local.INFO: TCP Data received {"connection_id":107086,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:06] local.INFO: Processing buffer {"connection_id":107086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:06] local.INFO: Packet analysis {"connection_id":107086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:17:06] local.INFO: Extracted packet for processing {"connection_id":107086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 03:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:17:06] 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-06-18 03:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:17:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:17:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":107086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:17:06] local.INFO: GPS data processed {"connection_id":107086,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:17:06] local.INFO: Acknowledgment sent {"connection_id":107086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:17:32] local.INFO: TCP Data received {"connection_id":107087,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:17:32] local.INFO: Processing buffer {"connection_id":107087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:17:32] local.INFO: IMEI packet received {"connection_id":107087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":107087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:17:37] local.INFO: TCP Data received {"connection_id":107087,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:17:37] local.INFO: Processing buffer {"connection_id":107087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:17:37] local.INFO: IMEI packet received {"connection_id":107087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":107087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:17:38] local.INFO: TCP Data received {"connection_id":107087,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:38] local.INFO: Processing buffer {"connection_id":107087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:38] local.INFO: Packet analysis {"connection_id":107087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:17:38] local.INFO: Extracted packet for processing {"connection_id":107087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:17:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:17:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:17:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 03:17:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:17:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:17:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:17:38] 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-06-18 03:17:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:17:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:17:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:17:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:17:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:17:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:17:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:17:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:17:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:17:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:17:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:17:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:17:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:17:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:17:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:17:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:17:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:17:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:17:38] local.INFO: DEBUG: GPS processor result {"connection_id":107087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:17:38] local.INFO: GPS data processed {"connection_id":107087,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:17:38] local.INFO: Acknowledgment sent {"connection_id":107087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:17:41] local.INFO: TCP Data received {"connection_id":107087,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:41] local.INFO: Processing buffer {"connection_id":107087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:17:41] local.INFO: Packet analysis {"connection_id":107087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:17:41] local.INFO: Extracted packet for processing {"connection_id":107087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:17:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 03:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:17:41] 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-06-18 03: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-06-18 03:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:17:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:17:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":107087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:17:41] local.INFO: GPS data processed {"connection_id":107087,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:17:41] local.INFO: Acknowledgment sent {"connection_id":107087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:17:50] local.INFO: TCP Data received {"connection_id":105378,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:17:50] local.INFO: Processing buffer {"connection_id":105378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:17:50] local.INFO: IMEI packet received {"connection_id":105378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":105378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:18:27] local.INFO: TCP Data received {"connection_id":105379,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:18:27] local.INFO: Processing buffer {"connection_id":105379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:18:27] local.INFO: IMEI packet received {"connection_id":105379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":105379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:18:34] local.INFO: TCP Data received {"connection_id":105380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:18:34] local.INFO: Processing buffer {"connection_id":105380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:18:34] local.INFO: IMEI packet received {"connection_id":105380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":105380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:18:46] local.INFO: TCP Data received {"connection_id":105379,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:18:46] local.INFO: Processing buffer {"connection_id":105379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:18:46] local.INFO: IMEI packet received {"connection_id":105379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":105379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:18:48] local.INFO: TCP Data received {"connection_id":105379,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:18:48] local.INFO: Processing buffer {"connection_id":105379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:18:48] local.INFO: Packet analysis {"connection_id":105379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:18:48] local.INFO: Extracted packet for processing {"connection_id":105379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:18:48] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 03:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":105379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":105379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":105379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:18:48] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":105379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:18:48] local.INFO: GPS data processed {"connection_id":105379,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:18:48] local.INFO: Acknowledgment sent {"connection_id":105379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:19:26] local.INFO: TCP Data received {"connection_id":107089,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:19:26] local.INFO: Processing buffer {"connection_id":107089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:19:26] local.INFO: IMEI packet received {"connection_id":107089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":107089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:19:32] local.INFO: TCP Data received {"connection_id":107089,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:19:32] local.INFO: Processing buffer {"connection_id":107089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:19:32] local.INFO: IMEI packet received {"connection_id":107089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":107089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:19:34] local.INFO: TCP Data received {"connection_id":107089,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:19:34] local.INFO: Processing buffer {"connection_id":107089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:19:34] local.INFO: Packet analysis {"connection_id":107089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:19:34] local.INFO: Extracted packet for processing {"connection_id":107089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:19:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 03:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:19:34] 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-06-18 03:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:19:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:19:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":107089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:19:34] local.INFO: GPS data processed {"connection_id":107089,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:19:34] local.INFO: Acknowledgment sent {"connection_id":107089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:20:05] local.INFO: TCP Data received {"connection_id":107089,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:20:05] local.INFO: Processing buffer {"connection_id":107089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:20:05] local.INFO: Packet analysis {"connection_id":107089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:20:05] local.INFO: Extracted packet for processing {"connection_id":107089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:20:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 03:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:20:05] 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-06-18 03:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:20:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:20:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":107089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:20:05] local.INFO: GPS data processed {"connection_id":107089,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:20:05] local.INFO: Acknowledgment sent {"connection_id":107089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:20:26] local.INFO: TCP Data received {"connection_id":105381,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:20:26] local.INFO: Processing buffer {"connection_id":105381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:20:26] local.INFO: IMEI packet received {"connection_id":105381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":105381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:20:32] local.INFO: TCP Data received {"connection_id":105381,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:20:32] local.INFO: Processing buffer {"connection_id":105381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:20:32] local.INFO: IMEI packet received {"connection_id":105381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":105381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:20:33] local.INFO: TCP Data received {"connection_id":105381,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:20:33] local.INFO: Processing buffer {"connection_id":105381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:20:33] local.INFO: Packet analysis {"connection_id":105381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:20:33] local.INFO: Extracted packet for processing {"connection_id":105381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:20:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 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-06-18 03:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:20:33] 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-06-18 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-06-18 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-06-18 03:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:20:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":105381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:20:33] local.INFO: GPS data processed {"connection_id":105381,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:20:33] local.INFO: Acknowledgment sent {"connection_id":105381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:21:05] local.INFO: TCP Data received {"connection_id":105381,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:05] local.INFO: Processing buffer {"connection_id":105381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:05] local.INFO: Packet analysis {"connection_id":105381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:21:05] local.INFO: Extracted packet for processing {"connection_id":105381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:21:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 03:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:21:05] 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-06-18 03: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-06-18 03:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:21:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:21:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":105381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:21:05] local.INFO: GPS data processed {"connection_id":105381,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:21:05] local.INFO: Acknowledgment sent {"connection_id":105381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:21:32] local.INFO: TCP Data received {"connection_id":105592,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:21:32] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:21:32] local.INFO: IMEI packet received {"connection_id":105592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":105592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:21:37] local.INFO: TCP Data received {"connection_id":105592,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:21:37] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:21:37] local.INFO: IMEI packet received {"connection_id":105592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":105592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:21:38] local.INFO: TCP Data received {"connection_id":105592,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:38] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed78c5da8012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:38] local.INFO: Packet analysis {"connection_id":105592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:21:38] local.INFO: Extracted packet for processing {"connection_id":105592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed78c"} 
[2026-06-18 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123509760001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781732761000,"timestamp_ms":1781732761000,"timestamp_seconds":1781732761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed78c5da8"} 
[2026-06-18 03:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 03:21:38] 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-06-18 03:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123509760001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123509760001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:21:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:21:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123509760001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":105592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:21:38] local.INFO: GPS data processed {"connection_id":105592,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:21:38] local.INFO: Acknowledgment sent {"connection_id":105592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:21:40] local.INFO: TCP Data received {"connection_id":105592,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:40] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:21:40] local.INFO: Packet analysis {"connection_id":105592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:21:40] local.INFO: Extracted packet for processing {"connection_id":105592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:21:40] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:21:40] 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-06-18 03:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:21:40] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:21:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":105592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:21:40] local.INFO: GPS data processed {"connection_id":105592,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:21:40] local.INFO: Acknowledgment sent {"connection_id":105592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:22:12] local.INFO: TCP Data received {"connection_id":105592,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:22:12] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:22:12] local.INFO: Packet analysis {"connection_id":105592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:22:12] local.INFO: Extracted packet for processing {"connection_id":105592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:22:12] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:22:12] 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-06-18 03: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-06-18 03:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:22:12] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:22:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":105592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:22:12] local.INFO: GPS data processed {"connection_id":105592,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:22:12] local.INFO: Acknowledgment sent {"connection_id":105592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:22:31] local.INFO: TCP Data received {"connection_id":106116,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:22:31] local.INFO: Processing buffer {"connection_id":106116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:22:31] local.INFO: IMEI packet received {"connection_id":106116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":106116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:22:32] local.INFO: TCP Data received {"connection_id":106116,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:22:32] local.INFO: Processing buffer {"connection_id":106116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:22:32] local.INFO: Packet analysis {"connection_id":106116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:22:32] local.INFO: Extracted packet for processing {"connection_id":106116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:22:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:22:32] 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-06-18 03: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-06-18 03:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:22:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:22:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":106116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:22:32] local.INFO: GPS data processed {"connection_id":106116,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:22:32] local.INFO: Acknowledgment sent {"connection_id":106116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:23:03] local.INFO: TCP Data received {"connection_id":106116,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:03] local.INFO: Processing buffer {"connection_id":106116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:03] local.INFO: Packet analysis {"connection_id":106116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:23:03] local.INFO: Extracted packet for processing {"connection_id":106116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:23:03] 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-06-18 03:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:23:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:23:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":106116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:23:03] local.INFO: GPS data processed {"connection_id":106116,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:23:03] local.INFO: Acknowledgment sent {"connection_id":106116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:23:27] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:23:27] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:23:27] local.INFO: IMEI packet received {"connection_id":107091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":107091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:23:32] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:23:32] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:23:32] local.INFO: IMEI packet received {"connection_id":107091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":107091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:23:34] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:34] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:34] local.INFO: Packet analysis {"connection_id":107091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:23:34] local.INFO: Extracted packet for processing {"connection_id":107091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:23:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:23:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:23:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:23:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:23:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:23:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:23:34] 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-06-18 03:23:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:23:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:23:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:23:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:23:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:23:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:23:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:23:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:23:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:23:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":107091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:23:34] local.INFO: GPS data processed {"connection_id":107091,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:23:34] local.INFO: Acknowledgment sent {"connection_id":107091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:23:36] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:36] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:23:36] local.INFO: Packet analysis {"connection_id":107091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:23:36] local.INFO: Extracted packet for processing {"connection_id":107091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:23:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:23:36] 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-06-18 03: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-06-18 03:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:23:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:23:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":107091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:23:36] local.INFO: GPS data processed {"connection_id":107091,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:23:36] local.INFO: Acknowledgment sent {"connection_id":107091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:24:00] local.INFO: TCP Data received {"connection_id":105382,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105382,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:24:00] local.INFO: Processing buffer {"connection_id":105382,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:24:00] local.INFO: IMEI packet received {"connection_id":105382,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":105382,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:24:08] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:24:08] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:24:08] local.INFO: Packet analysis {"connection_id":107091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:24:08] local.INFO: Extracted packet for processing {"connection_id":107091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:24:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:24:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:24:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:24:08] 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-06-18 03:24:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:24:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:24:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":107091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:24:08] local.INFO: GPS data processed {"connection_id":107091,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:24:08] local.INFO: Acknowledgment sent {"connection_id":107091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:24:26] local.INFO: TCP Data received {"connection_id":107092,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:24:26] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:24:26] local.INFO: IMEI packet received {"connection_id":107092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":107092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:24:32] local.INFO: TCP Data received {"connection_id":107092,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:24:32] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:24:32] local.INFO: IMEI packet received {"connection_id":107092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:24:32] local.INFO: IMEI acknowledgment sent {"connection_id":107092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:24:33] local.INFO: TCP Data received {"connection_id":107092,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:24:33] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:24:33] local.INFO: Packet analysis {"connection_id":107092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:24:33] local.INFO: Extracted packet for processing {"connection_id":107092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:24:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 03:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 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-06-18 03:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:24:33] 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-06-18 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-06-18 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-06-18 03:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:24:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:24:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":107092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:24:33] local.INFO: GPS data processed {"connection_id":107092,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:24:33] local.INFO: Acknowledgment sent {"connection_id":107092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:24:40] local.INFO: TCP Data received {"connection_id":105594,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:24:40] local.INFO: Processing buffer {"connection_id":105594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:24:40] local.INFO: IMEI packet received {"connection_id":105594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":105594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:25:05] local.INFO: TCP Data received {"connection_id":107092,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:25:05] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:25:05] local.INFO: Packet analysis {"connection_id":107092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:25:05] local.INFO: Extracted packet for processing {"connection_id":107092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:25:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:25:05] 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-06-18 03:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:25:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":107092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:25:05] local.INFO: GPS data processed {"connection_id":107092,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:25:05] local.INFO: Acknowledgment sent {"connection_id":107092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:25:26] local.INFO: TCP Data received {"connection_id":106117,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:25:26] local.INFO: Processing buffer {"connection_id":106117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:25:26] local.INFO: IMEI packet received {"connection_id":106117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":106117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:25:32] local.INFO: TCP Data received {"connection_id":106117,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:25:32] local.INFO: Processing buffer {"connection_id":106117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:25:32] local.INFO: IMEI packet received {"connection_id":106117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":106117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:25:34] local.INFO: TCP Data received {"connection_id":106117,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:25:34] local.INFO: Processing buffer {"connection_id":106117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:25:34] local.INFO: Packet analysis {"connection_id":106117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:25:34] local.INFO: Extracted packet for processing {"connection_id":106117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:25:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:25:34] 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-06-18 03:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:25:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:25:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":106117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:25:34] local.INFO: GPS data processed {"connection_id":106117,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:25:34] local.INFO: Acknowledgment sent {"connection_id":106117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:26:06] local.INFO: TCP Data received {"connection_id":106117,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:26:06] local.INFO: Processing buffer {"connection_id":106117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed790f570012d59b000063e3ac80001014830..."} 
[2026-06-18 03:26:06] local.INFO: Packet analysis {"connection_id":106117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:26:06] local.INFO: Extracted packet for processing {"connection_id":106117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed790"} 
[2026-06-18 03:26:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123586816001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781733062000,"timestamp_ms":1781733062000,"timestamp_seconds":1781733062,"priority":1,"record_length":96,"hex_timestamp":"0000019ed790f570"} 
[2026-06-18 03:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 03:26:06] 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-06-18 03:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123586816001,"66":24745,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123586816001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:26:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:26:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123586816001,"power":24745,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":106117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:26:06] local.INFO: GPS data processed {"connection_id":106117,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:26:06] local.INFO: Acknowledgment sent {"connection_id":106117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:26:46] local.INFO: TCP Data received {"connection_id":106118,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:26:46] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:26:46] local.INFO: IMEI packet received {"connection_id":106118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":106118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:26:47] local.INFO: TCP Data received {"connection_id":106118,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:26:47] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:26:47] local.INFO: IMEI packet received {"connection_id":106118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":106118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:26:48] local.INFO: TCP Data received {"connection_id":106118,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:26:48] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:26:48] local.INFO: Packet analysis {"connection_id":106118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:26:48] local.INFO: Extracted packet for processing {"connection_id":106118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:26:48] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:26:48] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:26:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":106118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:26:48] local.INFO: GPS data processed {"connection_id":106118,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:26:48] local.INFO: Acknowledgment sent {"connection_id":106118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:26:48] local.INFO: TCP Data received {"connection_id":106118,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:26:48] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:26:48] local.INFO: Packet analysis {"connection_id":106118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:26:48] local.INFO: Extracted packet for processing {"connection_id":106118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:26:48] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:26:48] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:26:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":106118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:26:48] local.INFO: GPS data processed {"connection_id":106118,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:26:48] local.INFO: Acknowledgment sent {"connection_id":106118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:27:26] local.INFO: TCP Data received {"connection_id":107093,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:27:26] local.INFO: Processing buffer {"connection_id":107093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:27:26] local.INFO: IMEI packet received {"connection_id":107093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":107093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:27:32] local.INFO: TCP Data received {"connection_id":107093,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:27:32] local.INFO: Processing buffer {"connection_id":107093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:27:32] local.INFO: IMEI packet received {"connection_id":107093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":107093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:27:36] local.INFO: TCP Data received {"connection_id":107093,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:27:36] local.INFO: Processing buffer {"connection_id":107093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:27:36] local.INFO: Packet analysis {"connection_id":107093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:27:36] local.INFO: Extracted packet for processing {"connection_id":107093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:27:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:27:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:27:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":107093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:27:36] local.INFO: GPS data processed {"connection_id":107093,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:27:36] local.INFO: Acknowledgment sent {"connection_id":107093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:28:09] local.INFO: TCP Data received {"connection_id":107093,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:09] local.INFO: Processing buffer {"connection_id":107093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:09] local.INFO: Packet analysis {"connection_id":107093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:28:09] local.INFO: Extracted packet for processing {"connection_id":107093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:28:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:28:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:28:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":107093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:28:09] local.INFO: GPS data processed {"connection_id":107093,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:28:09] local.INFO: Acknowledgment sent {"connection_id":107093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:28:32] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:28:32] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:28:32] local.INFO: IMEI packet received {"connection_id":106119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":106119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:28:37] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:28:37] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:28:37] local.INFO: IMEI packet received {"connection_id":106119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:28:37] local.INFO: IMEI acknowledgment sent {"connection_id":106119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:28:38] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:38] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:38] local.INFO: Packet analysis {"connection_id":106119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:28:38] local.INFO: Extracted packet for processing {"connection_id":106119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:28:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:28:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:28:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":106119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:28:39] local.INFO: GPS data processed {"connection_id":106119,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:28:39] local.INFO: Acknowledgment sent {"connection_id":106119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:28:41] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:41] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:28:41] local.INFO: Packet analysis {"connection_id":106119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:28:41] local.INFO: Extracted packet for processing {"connection_id":106119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:28:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:28:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:28:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":106119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:28:41] local.INFO: GPS data processed {"connection_id":106119,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:28:41] local.INFO: Acknowledgment sent {"connection_id":106119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:29:27] local.INFO: TCP Data received {"connection_id":105597,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:29:27] local.INFO: Processing buffer {"connection_id":105597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:29:27] local.INFO: IMEI packet received {"connection_id":105597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":105597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:29:32] local.INFO: TCP Data received {"connection_id":105597,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:29:32] local.INFO: Processing buffer {"connection_id":105597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:29:32] local.INFO: IMEI packet received {"connection_id":105597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":105597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:29:34] local.INFO: TCP Data received {"connection_id":105597,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:29:34] local.INFO: Processing buffer {"connection_id":105597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:29:34] local.INFO: Packet analysis {"connection_id":105597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:29:34] local.INFO: Extracted packet for processing {"connection_id":105597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:29:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:29:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:29:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":105597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:29:34] local.INFO: GPS data processed {"connection_id":105597,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:29:34] local.INFO: Acknowledgment sent {"connection_id":105597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:29:55] local.INFO: TCP Data received {"connection_id":106120,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:29:55] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:29:55] local.INFO: IMEI packet received {"connection_id":106120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":106120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:30:07] local.INFO: TCP Data received {"connection_id":105597,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:30:07] local.INFO: Processing buffer {"connection_id":105597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:30:07] local.INFO: Packet analysis {"connection_id":105597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:30:07] local.INFO: Extracted packet for processing {"connection_id":105597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:30:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:30: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-06-18 03:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:30:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:30:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":105597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:30:07] local.INFO: GPS data processed {"connection_id":105597,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:30:07] local.INFO: Acknowledgment sent {"connection_id":105597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:30:26] local.INFO: TCP Data received {"connection_id":107094,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:30:26] local.INFO: Processing buffer {"connection_id":107094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:30:26] local.INFO: IMEI packet received {"connection_id":107094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":107094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:30:32] local.INFO: TCP Data received {"connection_id":107094,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:30:32] local.INFO: Processing buffer {"connection_id":107094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:30:32] local.INFO: IMEI packet received {"connection_id":107094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":107094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:30:34] local.INFO: TCP Data received {"connection_id":107094,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:30:34] local.INFO: Processing buffer {"connection_id":107094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:30:34] local.INFO: Packet analysis {"connection_id":107094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:30:34] local.INFO: Extracted packet for processing {"connection_id":107094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:30:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:30:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:30:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":107094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:30:34] local.INFO: GPS data processed {"connection_id":107094,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:30:34] local.INFO: Acknowledgment sent {"connection_id":107094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:30:34] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:30:34] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:30:34] local.INFO: IMEI packet received {"connection_id":106121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":106121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:31:07] local.INFO: TCP Data received {"connection_id":107094,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:31:07] local.INFO: Processing buffer {"connection_id":107094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:31:07] local.INFO: Packet analysis {"connection_id":107094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:31:07] local.INFO: Extracted packet for processing {"connection_id":107094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:31:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:31:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:31:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":107094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:31:07] local.INFO: GPS data processed {"connection_id":107094,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:31:07] local.INFO: Acknowledgment sent {"connection_id":107094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:31:26] local.INFO: TCP Data received {"connection_id":105385,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:31:26] local.INFO: Processing buffer {"connection_id":105385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:31:26] local.INFO: IMEI packet received {"connection_id":105385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":105385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:31:32] local.INFO: TCP Data received {"connection_id":105385,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:31:32] local.INFO: Processing buffer {"connection_id":105385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:31:32] local.INFO: IMEI packet received {"connection_id":105385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":105385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:31:36] local.INFO: TCP Data received {"connection_id":105385,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:31:36] local.INFO: Processing buffer {"connection_id":105385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7958d38012d59b000063e3ac8000101482f..."} 
[2026-06-18 03:31:36] local.INFO: Packet analysis {"connection_id":105385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:31:36] local.INFO: Extracted packet for processing {"connection_id":105385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed795"} 
[2026-06-18 03:31:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123663872001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:31:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781733363000,"timestamp_ms":1781733363000,"timestamp_seconds":1781733363,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7958d38"} 
[2026-06-18 03:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 03:31:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2199,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123663872001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123663872001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:31:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:31:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:31:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123663872001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":105385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:31:36] local.INFO: GPS data processed {"connection_id":105385,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:31:36] local.INFO: Acknowledgment sent {"connection_id":105385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:32:12] local.INFO: TCP Data received {"connection_id":105385,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:32:12] local.INFO: Processing buffer {"connection_id":105385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:32:12] local.INFO: Packet analysis {"connection_id":105385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:32:12] local.INFO: Extracted packet for processing {"connection_id":105385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:32:12] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:32:12] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:32:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":105385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:32:12] local.INFO: GPS data processed {"connection_id":105385,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:32:12] local.INFO: Acknowledgment sent {"connection_id":105385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:32:58] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:32:59] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:32:59] local.INFO: IMEI packet received {"connection_id":107095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":107095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:33:00] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:00] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:00] local.INFO: IMEI packet received {"connection_id":107095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":107095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:33:01] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:01] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:01] local.INFO: Packet analysis {"connection_id":107095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:33:01] local.INFO: Extracted packet for processing {"connection_id":107095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:33:01] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:33:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:33:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":107095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:33:01] local.INFO: GPS data processed {"connection_id":107095,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:33:01] local.INFO: Acknowledgment sent {"connection_id":107095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:33:01] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:01] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:01] local.INFO: Packet analysis {"connection_id":107095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:33:01] local.INFO: Extracted packet for processing {"connection_id":107095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:33:01] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:33:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:33:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":107095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:33:01] local.INFO: GPS data processed {"connection_id":107095,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:33:01] local.INFO: Acknowledgment sent {"connection_id":107095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:33:26] local.INFO: TCP Data received {"connection_id":106124,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:26] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:26] local.INFO: IMEI packet received {"connection_id":106124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":106124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:33:31] local.INFO: TCP Data received {"connection_id":106124,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:31] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:33:31] local.INFO: IMEI packet received {"connection_id":106124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":106124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:33:33] local.INFO: TCP Data received {"connection_id":106124,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:33] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:33:33] local.INFO: Packet analysis {"connection_id":106124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:33:33] local.INFO: Extracted packet for processing {"connection_id":106124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:33:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:33:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:33:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":106124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:33:33] local.INFO: GPS data processed {"connection_id":106124,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:33:33] local.INFO: Acknowledgment sent {"connection_id":106124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:34:05] local.INFO: TCP Data received {"connection_id":106124,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:34:05] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:34:05] local.INFO: Packet analysis {"connection_id":106124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:34:05] local.INFO: Extracted packet for processing {"connection_id":106124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:34:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:34:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:34:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":106124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:34:05] local.INFO: GPS data processed {"connection_id":106124,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:34:05] local.INFO: Acknowledgment sent {"connection_id":106124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:34:26] local.INFO: TCP Data received {"connection_id":106125,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:34:26] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:34:26] local.INFO: IMEI packet received {"connection_id":106125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":106125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:34:31] local.INFO: TCP Data received {"connection_id":106125,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:34:31] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:34:31] local.INFO: IMEI packet received {"connection_id":106125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":106125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:34:32] local.INFO: TCP Data received {"connection_id":106125,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:34:32] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:34:32] local.INFO: Packet analysis {"connection_id":106125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:34:32] local.INFO: Extracted packet for processing {"connection_id":106125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 03:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 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-06-18 03:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 03:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:34:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:34:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":106125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:34:32] local.INFO: GPS data processed {"connection_id":106125,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:34:32] local.INFO: Acknowledgment sent {"connection_id":106125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:35:04] local.INFO: TCP Data received {"connection_id":106125,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:04] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:04] local.INFO: Packet analysis {"connection_id":106125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:35:04] local.INFO: Extracted packet for processing {"connection_id":106125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:35:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:35:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:35:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":106125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:35:04] local.INFO: GPS data processed {"connection_id":106125,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:35:04] local.INFO: Acknowledgment sent {"connection_id":106125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:35:32] local.INFO: TCP Data received {"connection_id":105387,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:35:32] local.INFO: Processing buffer {"connection_id":105387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:35:32] local.INFO: IMEI packet received {"connection_id":105387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":105387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:35:37] local.INFO: TCP Data received {"connection_id":105387,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:35:37] local.INFO: Processing buffer {"connection_id":105387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:35:37] local.INFO: IMEI packet received {"connection_id":105387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":105387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:35:38] local.INFO: TCP Data received {"connection_id":105387,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:38] local.INFO: Processing buffer {"connection_id":105387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:38] local.INFO: Packet analysis {"connection_id":105387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:35:38] local.INFO: Extracted packet for processing {"connection_id":105387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:35:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:35:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:35:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":105387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:35:38] local.INFO: GPS data processed {"connection_id":105387,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:35:38] local.INFO: Acknowledgment sent {"connection_id":105387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:35:42] local.INFO: TCP Data received {"connection_id":105387,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:42] local.INFO: Processing buffer {"connection_id":105387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:35:42] local.INFO: Packet analysis {"connection_id":105387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:35:42] local.INFO: Extracted packet for processing {"connection_id":105387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:35:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03: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-06-18 03:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:35:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:35:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":105387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:35:42] local.INFO: GPS data processed {"connection_id":105387,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:35:42] local.INFO: Acknowledgment sent {"connection_id":105387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:36:05] local.INFO: TCP Data received {"connection_id":105388,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:36:05] local.INFO: Processing buffer {"connection_id":105388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:36:05] local.INFO: IMEI packet received {"connection_id":105388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":105388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:36:26] local.INFO: TCP Data received {"connection_id":105389,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:36:26] local.INFO: Processing buffer {"connection_id":105389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:36:26] local.INFO: IMEI packet received {"connection_id":105389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":105389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:36:32] local.INFO: TCP Data received {"connection_id":105389,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:36:32] local.INFO: Processing buffer {"connection_id":105389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:36:32] local.INFO: IMEI packet received {"connection_id":105389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":105389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:36:32] local.INFO: TCP Data received {"connection_id":105389,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:36:32] local.INFO: Processing buffer {"connection_id":105389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79a2500012d59b000063e3ac80001014831..."} 
[2026-06-18 03:36:32] local.INFO: Packet analysis {"connection_id":105389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:36:32] local.INFO: Extracted packet for processing {"connection_id":105389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79a"} 
[2026-06-18 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123740928001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781733664000,"timestamp_ms":1781733664000,"timestamp_seconds":1781733664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79a2500"} 
[2026-06-18 03:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 03:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:36:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:36:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123740928001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:36:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:36:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:36:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123740928001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:36:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:36:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:36:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:36:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:36:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123740928001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:36:33] local.INFO: DEBUG: GPS processor result {"connection_id":105389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:36:33] local.INFO: GPS data processed {"connection_id":105389,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:36:33] local.INFO: Acknowledgment sent {"connection_id":105389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:36:35] local.INFO: TCP Data received {"connection_id":107096,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:36:35] local.INFO: Processing buffer {"connection_id":107096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:36:35] local.INFO: IMEI packet received {"connection_id":107096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":107096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:37:03] local.INFO: TCP Data received {"connection_id":105389,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:03] local.INFO: Processing buffer {"connection_id":105389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:03] local.INFO: Packet analysis {"connection_id":105389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:37:03] local.INFO: Extracted packet for processing {"connection_id":105389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 03:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:37:03] 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-06-18 03:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:37:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:37:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":105389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:37:03] local.INFO: GPS data processed {"connection_id":105389,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:37:03] local.INFO: Acknowledgment sent {"connection_id":105389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:37:32] local.INFO: TCP Data received {"connection_id":105599,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:37:32] local.INFO: Processing buffer {"connection_id":105599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:37:32] local.INFO: IMEI packet received {"connection_id":105599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":105599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:37:37] local.INFO: TCP Data received {"connection_id":105599,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:37:37] local.INFO: Processing buffer {"connection_id":105599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:37:37] local.INFO: IMEI packet received {"connection_id":105599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":105599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:37:38] local.INFO: TCP Data received {"connection_id":105599,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:38] local.INFO: Processing buffer {"connection_id":105599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:38] local.INFO: Packet analysis {"connection_id":105599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:37:38] local.INFO: Extracted packet for processing {"connection_id":105599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:37:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 03:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:37:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:37:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:37:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:37:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":105599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:37:38] local.INFO: GPS data processed {"connection_id":105599,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:37:38] local.INFO: Acknowledgment sent {"connection_id":105599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:37:42] local.INFO: TCP Data received {"connection_id":105599,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:42] local.INFO: Processing buffer {"connection_id":105599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:37:42] local.INFO: Packet analysis {"connection_id":105599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:37:42] local.INFO: Extracted packet for processing {"connection_id":105599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:37:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 03:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:37:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:37:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:37:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":105599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:37:42] local.INFO: GPS data processed {"connection_id":105599,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:37:42] local.INFO: Acknowledgment sent {"connection_id":105599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:39:09] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:09] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:09] local.INFO: IMEI packet received {"connection_id":106126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":106126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:39:13] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 03:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 03:39:13] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 03:39:13] local.INFO: IMEI packet received {"connection_id":106126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":106126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:39:14] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:39:14] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed7..."} 
[2026-06-18 03:39:14] local.INFO: IMEI packet received {"connection_id":106126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":106126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:39:26] local.INFO: TCP Data received {"connection_id":107099,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:26] local.INFO: Processing buffer {"connection_id":107099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:26] local.INFO: IMEI packet received {"connection_id":107099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":107099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:39:32] local.INFO: TCP Data received {"connection_id":107099,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:32] local.INFO: Processing buffer {"connection_id":107099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:39:32] local.INFO: IMEI packet received {"connection_id":107099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":107099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:39:33] local.INFO: TCP Data received {"connection_id":107099,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:39:33] local.INFO: Processing buffer {"connection_id":107099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:39:33] local.INFO: Packet analysis {"connection_id":107099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:39:33] local.INFO: Extracted packet for processing {"connection_id":107099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:39:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 03:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:39:33] 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-06-18 03:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:39:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:39:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":107099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:39:33] local.INFO: GPS data processed {"connection_id":107099,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:39:33] local.INFO: Acknowledgment sent {"connection_id":107099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:40:04] local.INFO: TCP Data received {"connection_id":107099,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:40:04] local.INFO: Processing buffer {"connection_id":107099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:40:04] local.INFO: Packet analysis {"connection_id":107099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:40:04] local.INFO: Extracted packet for processing {"connection_id":107099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:40:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 03:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:40:04] 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-06-18 03: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-06-18 03:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:40:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:40:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":107099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:40:04] local.INFO: GPS data processed {"connection_id":107099,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:40:04] local.INFO: Acknowledgment sent {"connection_id":107099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:40:26] local.INFO: TCP Data received {"connection_id":105600,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:40:26] local.INFO: Processing buffer {"connection_id":105600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:40:26] local.INFO: IMEI packet received {"connection_id":105600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":105600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:40:31] local.INFO: TCP Data received {"connection_id":105600,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:40:31] local.INFO: Processing buffer {"connection_id":105600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:40:31] local.INFO: IMEI packet received {"connection_id":105600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":105600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:40:33] local.INFO: TCP Data received {"connection_id":105600,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:40:33] local.INFO: Processing buffer {"connection_id":105600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:40:33] local.INFO: Packet analysis {"connection_id":105600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:40:33] local.INFO: Extracted packet for processing {"connection_id":105600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 03:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 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-06-18 03:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:40:33] 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-06-18 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-06-18 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-06-18 03:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:40:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:40:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":105600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:40:33] local.INFO: GPS data processed {"connection_id":105600,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:40:33] local.INFO: Acknowledgment sent {"connection_id":105600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:41:05] local.INFO: TCP Data received {"connection_id":105600,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:05] local.INFO: Processing buffer {"connection_id":105600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:05] local.INFO: Packet analysis {"connection_id":105600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:41:05] local.INFO: Extracted packet for processing {"connection_id":105600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:41:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 03:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:41:05] 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-06-18 03:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:41:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:41:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":105600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:41:05] local.INFO: GPS data processed {"connection_id":105600,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:41:05] local.INFO: Acknowledgment sent {"connection_id":105600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:41:32] local.INFO: TCP Data received {"connection_id":107102,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:41:32] local.INFO: Processing buffer {"connection_id":107102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:41:32] local.INFO: IMEI packet received {"connection_id":107102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":107102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:41:37] local.INFO: TCP Data received {"connection_id":107102,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:41:37] local.INFO: Processing buffer {"connection_id":107102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:41:37] local.INFO: IMEI packet received {"connection_id":107102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:41:37] local.INFO: IMEI acknowledgment sent {"connection_id":107102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:41:38] local.INFO: TCP Data received {"connection_id":107102,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:38] local.INFO: Processing buffer {"connection_id":107102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:38] local.INFO: Packet analysis {"connection_id":107102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:41:38] local.INFO: Extracted packet for processing {"connection_id":107102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:41:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 03:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:41:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:41:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":107102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:41:38] local.INFO: GPS data processed {"connection_id":107102,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:41:38] local.INFO: Acknowledgment sent {"connection_id":107102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:41:43] local.INFO: TCP Data received {"connection_id":107102,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:43] local.INFO: Processing buffer {"connection_id":107102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed79ebcc8012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:41:43] local.INFO: Packet analysis {"connection_id":107102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:41:43] local.INFO: Extracted packet for processing {"connection_id":107102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed79e"} 
[2026-06-18 03:41:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123817984001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781733965000,"timestamp_ms":1781733965000,"timestamp_seconds":1781733965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed79ebcc8"} 
[2026-06-18 03:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:41:43] 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-06-18 03:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123817984001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123817984001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:41:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:41:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123817984001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":107102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:41:43] local.INFO: GPS data processed {"connection_id":107102,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:41:43] local.INFO: Acknowledgment sent {"connection_id":107102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:42:00] local.INFO: TCP Data received {"connection_id":107103,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:42:00] local.INFO: Processing buffer {"connection_id":107103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:42:00] local.INFO: IMEI packet received {"connection_id":107103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":107103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:42:35] local.INFO: TCP Data received {"connection_id":106127,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:42:35] local.INFO: Processing buffer {"connection_id":106127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:42:35] local.INFO: IMEI packet received {"connection_id":106127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":106127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:43:01] local.INFO: TCP Data received {"connection_id":105601,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:01] local.INFO: Processing buffer {"connection_id":105601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:01] local.INFO: IMEI packet received {"connection_id":105601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":105601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:43:07] local.INFO: TCP Data received {"connection_id":105601,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:07] local.INFO: Processing buffer {"connection_id":105601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:07] local.INFO: IMEI packet received {"connection_id":105601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":105601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:43:07] local.INFO: TCP Data received {"connection_id":105601,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:43:07] local.INFO: Processing buffer {"connection_id":105601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:43:07] local.INFO: Packet analysis {"connection_id":105601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:43:07] local.INFO: Extracted packet for processing {"connection_id":105601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:43:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123895040001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781734266000,"timestamp_ms":1781734266000,"timestamp_seconds":1781734266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a35490"} 
[2026-06-18 03:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:43:07] 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-06-18 03:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123895040001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123895040001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:43:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:43:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123895040001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":105601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:43:07] local.INFO: GPS data processed {"connection_id":105601,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:43:07] local.INFO: Acknowledgment sent {"connection_id":105601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:43:31] local.INFO: TCP Data received {"connection_id":105390,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:31] local.INFO: Processing buffer {"connection_id":105390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:31] local.INFO: IMEI packet received {"connection_id":105390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":105390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:43:37] local.INFO: TCP Data received {"connection_id":105390,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:37] local.INFO: Processing buffer {"connection_id":105390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:43:37] local.INFO: IMEI packet received {"connection_id":105390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:43:37] local.INFO: IMEI acknowledgment sent {"connection_id":105390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:43:38] local.INFO: TCP Data received {"connection_id":105390,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:43:38] local.INFO: Processing buffer {"connection_id":105390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:43:38] local.INFO: Packet analysis {"connection_id":105390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:43:38] local.INFO: Extracted packet for processing {"connection_id":105390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:43:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123895040001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781734266000,"timestamp_ms":1781734266000,"timestamp_seconds":1781734266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a35490"} 
[2026-06-18 03:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123895040001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123895040001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:43:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:43:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123895040001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":105390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:43:38] local.INFO: GPS data processed {"connection_id":105390,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:43:38] local.INFO: Acknowledgment sent {"connection_id":105390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:44:10] local.INFO: TCP Data received {"connection_id":105390,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:44:10] local.INFO: Processing buffer {"connection_id":105390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:44:10] local.INFO: Packet analysis {"connection_id":105390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:44:10] local.INFO: Extracted packet for processing {"connection_id":105390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:44:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123895040001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781734266000,"timestamp_ms":1781734266000,"timestamp_seconds":1781734266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a35490"} 
[2026-06-18 03:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123895040001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123895040001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:44:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:44:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123895040001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":105390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:44:10] local.INFO: GPS data processed {"connection_id":105390,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:44:10] local.INFO: Acknowledgment sent {"connection_id":105390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:44:26] local.INFO: TCP Data received {"connection_id":107104,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:44:26] local.INFO: Processing buffer {"connection_id":107104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:44:26] local.INFO: IMEI packet received {"connection_id":107104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":107104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:44:31] local.INFO: TCP Data received {"connection_id":107104,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:44:31] local.INFO: Processing buffer {"connection_id":107104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:44:31] local.INFO: IMEI packet received {"connection_id":107104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":107104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:44:32] local.INFO: TCP Data received {"connection_id":107104,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:44:32] local.INFO: Processing buffer {"connection_id":107104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:44:32] local.INFO: Packet analysis {"connection_id":107104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:44:32] local.INFO: Extracted packet for processing {"connection_id":107104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:44:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123895040001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781734266000,"timestamp_ms":1781734266000,"timestamp_seconds":1781734266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a35490"} 
[2026-06-18 03:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:44: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-06-18 03: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-06-18 03:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123895040001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123895040001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:44:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123895040001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":107104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:44:32] local.INFO: GPS data processed {"connection_id":107104,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:44:32] local.INFO: Acknowledgment sent {"connection_id":107104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:45:04] local.INFO: TCP Data received {"connection_id":107104,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:04] local.INFO: Processing buffer {"connection_id":107104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:04] local.INFO: Packet analysis {"connection_id":107104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:45:04] local.INFO: Extracted packet for processing {"connection_id":107104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:45:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123895040001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781734266000,"timestamp_ms":1781734266000,"timestamp_seconds":1781734266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a35490"} 
[2026-06-18 03:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:45:04] 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-06-18 03: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-06-18 03:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123895040001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123895040001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:45:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:45:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123895040001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":107104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:45:04] local.INFO: GPS data processed {"connection_id":107104,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:45:04] local.INFO: Acknowledgment sent {"connection_id":107104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:45:31] local.INFO: TCP Data received {"connection_id":106129,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:45:31] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:45:31] local.INFO: IMEI packet received {"connection_id":106129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":106129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:45:37] local.INFO: TCP Data received {"connection_id":106129,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:45:37] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:45:37] local.INFO: IMEI packet received {"connection_id":106129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":106129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:45:38] local.INFO: TCP Data received {"connection_id":106129,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:38] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:38] local.INFO: Packet analysis {"connection_id":106129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:45:38] local.INFO: Extracted packet for processing {"connection_id":106129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123895040001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781734266000,"timestamp_ms":1781734266000,"timestamp_seconds":1781734266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a35490"} 
[2026-06-18 03:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123895040001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123895040001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:45:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:45:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123895040001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":106129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:45:38] local.INFO: GPS data processed {"connection_id":106129,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:45:38] local.INFO: Acknowledgment sent {"connection_id":106129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:45:42] local.INFO: TCP Data received {"connection_id":106129,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:42] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:45:42] local.INFO: Packet analysis {"connection_id":106129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:45:42] local.INFO: Extracted packet for processing {"connection_id":106129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:45:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123895040001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781734266000,"timestamp_ms":1781734266000,"timestamp_seconds":1781734266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a35490"} 
[2026-06-18 03:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123895040001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123895040001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:45:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:45:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123895040001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":106129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:45:42] local.INFO: GPS data processed {"connection_id":106129,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:45:42] local.INFO: Acknowledgment sent {"connection_id":106129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:46:27] local.INFO: TCP Data received {"connection_id":105392,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:46:27] local.INFO: Processing buffer {"connection_id":105392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:46:27] local.INFO: IMEI packet received {"connection_id":105392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":105392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:46:32] local.INFO: TCP Data received {"connection_id":105392,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:46:32] local.INFO: Processing buffer {"connection_id":105392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:46:32] local.INFO: IMEI packet received {"connection_id":105392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":105392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:46:34] local.INFO: TCP Data received {"connection_id":105392,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:46:34] local.INFO: Processing buffer {"connection_id":105392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a35490012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:46:34] local.INFO: Packet analysis {"connection_id":105392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:46:34] local.INFO: Extracted packet for processing {"connection_id":105392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a3"} 
[2026-06-18 03:46:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123895040001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:46:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:46:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781734266000,"timestamp_ms":1781734266000,"timestamp_seconds":1781734266,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a35490"} 
[2026-06-18 03:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:46: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-06-18 03:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:46:34] 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-06-18 03:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:46:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123895040001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 03:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123895040001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:46:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 03:46:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:46:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123895040001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":105392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:46:34] local.INFO: GPS data processed {"connection_id":105392,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:46:34] local.INFO: Acknowledgment sent {"connection_id":105392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:47:07] local.INFO: TCP Data received {"connection_id":105392,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:47:07] local.INFO: Processing buffer {"connection_id":105392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:47:07] local.INFO: Packet analysis {"connection_id":105392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:47:07] local.INFO: Extracted packet for processing {"connection_id":105392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:47:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:47:07] 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-06-18 03: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-06-18 03:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:47:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:47:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":105392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:47:07] local.INFO: GPS data processed {"connection_id":105392,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:47:07] local.INFO: Acknowledgment sent {"connection_id":105392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:47:26] local.INFO: TCP Data received {"connection_id":105603,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:47:26] local.INFO: Processing buffer {"connection_id":105603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:47:26] local.INFO: IMEI packet received {"connection_id":105603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":105603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:47:31] local.INFO: TCP Data received {"connection_id":105603,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:47:32] local.INFO: Processing buffer {"connection_id":105603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:47:32] local.INFO: IMEI packet received {"connection_id":105603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":105603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:47:33] local.INFO: TCP Data received {"connection_id":105603,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:47:33] local.INFO: Processing buffer {"connection_id":105603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:47:33] local.INFO: Packet analysis {"connection_id":105603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:47:33] local.INFO: Extracted packet for processing {"connection_id":105603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:47:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:47:33] 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-06-18 03: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-06-18 03:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:47:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:47:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":105603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:47:33] local.INFO: GPS data processed {"connection_id":105603,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:47:33] local.INFO: Acknowledgment sent {"connection_id":105603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:47:50] local.INFO: TCP Data received {"connection_id":105393,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:47:50] local.INFO: Processing buffer {"connection_id":105393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:47:50] local.INFO: IMEI packet received {"connection_id":105393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":105393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:48:05] local.INFO: TCP Data received {"connection_id":105603,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:48:05] local.INFO: Processing buffer {"connection_id":105603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:48:05] local.INFO: Packet analysis {"connection_id":105603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:48:05] local.INFO: Extracted packet for processing {"connection_id":105603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:48:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:48:05] 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-06-18 03:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:48:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:48:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":105603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:48:05] local.INFO: GPS data processed {"connection_id":105603,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:48:05] local.INFO: Acknowledgment sent {"connection_id":105603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:48:31] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:48:31] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:48:31] local.INFO: IMEI packet received {"connection_id":107105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":107105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:48:34] local.INFO: TCP Data received {"connection_id":107106,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:48:34] local.INFO: Processing buffer {"connection_id":107106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:48:34] local.INFO: IMEI packet received {"connection_id":107106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":107106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:48:36] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:48:36] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:48:36] local.INFO: IMEI packet received {"connection_id":107105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":107105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:48:37] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:48:37] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:48:37] local.INFO: Packet analysis {"connection_id":107105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:48:37] local.INFO: Extracted packet for processing {"connection_id":107105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:48:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 03:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 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-06-18 03:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:48:37] 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-06-18 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-06-18 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-06-18 03:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:48:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:48:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":107105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:48:37] local.INFO: GPS data processed {"connection_id":107105,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:48:37] local.INFO: Acknowledgment sent {"connection_id":107105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:49:09] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:49:09] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:49:09] local.INFO: Packet analysis {"connection_id":107105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:49:09] local.INFO: Extracted packet for processing {"connection_id":107105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:49:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:49:09] 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-06-18 03: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-06-18 03:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:49:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:49:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":107105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:49:09] local.INFO: GPS data processed {"connection_id":107105,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:49:09] local.INFO: Acknowledgment sent {"connection_id":107105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:49:26] local.INFO: TCP Data received {"connection_id":107107,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:49:26] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:49:26] local.INFO: IMEI packet received {"connection_id":107107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":107107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:49:32] local.INFO: TCP Data received {"connection_id":107107,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:49:32] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:49:32] local.INFO: IMEI packet received {"connection_id":107107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":107107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:49:33] local.INFO: TCP Data received {"connection_id":107107,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:49:33] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:49:33] local.INFO: Packet analysis {"connection_id":107107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:49:33] local.INFO: Extracted packet for processing {"connection_id":107107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:49:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:49:33] 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-06-18 03:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:49:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":107107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:49:33] local.INFO: GPS data processed {"connection_id":107107,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:49:33] local.INFO: Acknowledgment sent {"connection_id":107107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:50:06] local.INFO: TCP Data received {"connection_id":107107,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:50:06] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:50:06] local.INFO: Packet analysis {"connection_id":107107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:50:06] local.INFO: Extracted packet for processing {"connection_id":107107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:50:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:50:06] 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-06-18 03: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-06-18 03:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:50:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:50:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":107107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:50:06] local.INFO: GPS data processed {"connection_id":107107,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:50:06] local.INFO: Acknowledgment sent {"connection_id":107107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:50:26] local.INFO: TCP Data received {"connection_id":106132,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:50:26] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:50:26] local.INFO: IMEI packet received {"connection_id":106132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":106132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:50:32] local.INFO: TCP Data received {"connection_id":106132,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:50:32] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:50:32] local.INFO: IMEI packet received {"connection_id":106132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":106132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:50:33] local.INFO: TCP Data received {"connection_id":106132,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:50:33] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:50:33] local.INFO: Packet analysis {"connection_id":106132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:50:33] local.INFO: Extracted packet for processing {"connection_id":106132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:50:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:50:33] 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-06-18 03: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-06-18 03:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:50:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:50:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":106132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:50:33] local.INFO: GPS data processed {"connection_id":106132,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:50:33] local.INFO: Acknowledgment sent {"connection_id":106132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:51:04] local.INFO: TCP Data received {"connection_id":106132,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:51:04] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:51:04] local.INFO: Packet analysis {"connection_id":106132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:51:04] local.INFO: Extracted packet for processing {"connection_id":106132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:51:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03: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-06-18 03:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 03:51:04] 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-06-18 03: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-06-18 03:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:51:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":106132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:51:04] local.INFO: GPS data processed {"connection_id":106132,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:51:04] local.INFO: Acknowledgment sent {"connection_id":106132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:51:31] local.INFO: TCP Data received {"connection_id":105394,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:51:31] local.INFO: Processing buffer {"connection_id":105394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:51:31] local.INFO: IMEI packet received {"connection_id":105394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":105394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:51:35] local.INFO: TCP Data received {"connection_id":105394,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:51:35] local.INFO: Processing buffer {"connection_id":105394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7a7ec58012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:51:35] local.INFO: Packet analysis {"connection_id":105394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:51:35] local.INFO: Extracted packet for processing {"connection_id":105394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7a7"} 
[2026-06-18 03:51:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456123972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781734567000,"timestamp_ms":1781734567000,"timestamp_seconds":1781734567,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7a7ec58"} 
[2026-06-18 03:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:51:35] local.INFO: IO Element 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-06-18 03:51:35] 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-06-18 03:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456123972096001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456123972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:51:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:51:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456123972096001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":105394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:51:35] local.INFO: GPS data processed {"connection_id":105394,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:51:35] local.INFO: Acknowledgment sent {"connection_id":105394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:52:42] local.INFO: TCP Data received {"connection_id":105394,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:52:42] local.INFO: Processing buffer {"connection_id":105394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:52:42] local.INFO: Packet analysis {"connection_id":105394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ac"} 
[2026-06-18 03:52:42] local.INFO: Extracted packet for processing {"connection_id":105394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ac"} 
[2026-06-18 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 03:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124049152001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781734868000,"timestamp_ms":1781734868000,"timestamp_seconds":1781734868,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ac8420"} 
[2026-06-18 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-06-18 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 03:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124049152001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124049152001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:52:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:52:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124049152001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":105394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:52:42] local.INFO: GPS data processed {"connection_id":105394,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:52:42] local.INFO: Acknowledgment sent {"connection_id":105394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:53:01] local.INFO: TCP Data received {"connection_id":107109,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:01] local.INFO: Processing buffer {"connection_id":107109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:01] local.INFO: IMEI packet received {"connection_id":107109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":107109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:53:06] local.INFO: TCP Data received {"connection_id":107109,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:06] local.INFO: Processing buffer {"connection_id":107109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:06] local.INFO: IMEI packet received {"connection_id":107109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":107109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:53:07] local.INFO: TCP Data received {"connection_id":107109,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:53:07] local.INFO: Processing buffer {"connection_id":107109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:53:07] local.INFO: Packet analysis {"connection_id":107109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ac"} 
[2026-06-18 03:53:07] local.INFO: Extracted packet for processing {"connection_id":107109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ac"} 
[2026-06-18 03:53:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124049152001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781734868000,"timestamp_ms":1781734868000,"timestamp_seconds":1781734868,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ac8420"} 
[2026-06-18 03:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:53:07] 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-06-18 03:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124049152001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124049152001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:53:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:53:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124049152001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":107109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:53:07] local.INFO: GPS data processed {"connection_id":107109,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:53:07] local.INFO: Acknowledgment sent {"connection_id":107109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:53:31] local.INFO: TCP Data received {"connection_id":106134,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:31] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:31] local.INFO: IMEI packet received {"connection_id":106134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":106134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:53:36] local.INFO: TCP Data received {"connection_id":106134,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:36] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:53:36] local.INFO: IMEI packet received {"connection_id":106134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":106134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:53:39] local.INFO: TCP Data received {"connection_id":106134,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:53:39] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:53:39] local.INFO: Packet analysis {"connection_id":106134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ac"} 
[2026-06-18 03:53:39] local.INFO: Extracted packet for processing {"connection_id":106134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ac"} 
[2026-06-18 03:53:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124049152001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781734868000,"timestamp_ms":1781734868000,"timestamp_seconds":1781734868,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ac8420"} 
[2026-06-18 03:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:53: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-06-18 03:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124049152001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124049152001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:53:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:53:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124049152001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":106134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:53:39] local.INFO: GPS data processed {"connection_id":106134,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:53:39] local.INFO: Acknowledgment sent {"connection_id":106134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:53:54] local.INFO: TCP Data received {"connection_id":105606,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:53:54] local.INFO: Processing buffer {"connection_id":105606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:53:54] local.INFO: IMEI packet received {"connection_id":105606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":105606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:54:10] local.INFO: TCP Data received {"connection_id":106134,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:54:10] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ac8420012d59b000063e3ac8000101482e..."} 
[2026-06-18 03:54:10] local.INFO: Packet analysis {"connection_id":106134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ac"} 
[2026-06-18 03:54:10] local.INFO: Extracted packet for processing {"connection_id":106134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ac"} 
[2026-06-18 03:54:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 03:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 03:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124049152001,"note":"Value kept but may cause issues"} 
[2026-06-18 03:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 03:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 03:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 03:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781734868000,"timestamp_ms":1781734868000,"timestamp_seconds":1781734868,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ac8420"} 
[2026-06-18 03:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 03:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 03:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 03:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 03:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 03:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 03:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 03:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 03:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 03:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 03:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 03:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 03:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124049152001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 03:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 03:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 03:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124049152001,"description":"Unknown IO ID 0"} 
[2026-06-18 03:54:11] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 03:54:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 03:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 03:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 03:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124049152001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 03:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":106134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 03:54:11] local.INFO: GPS data processed {"connection_id":106134,"processed":1,"errors":0,"total":1} 
[2026-06-18 03:54:11] local.INFO: Acknowledgment sent {"connection_id":106134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 03:54:26] local.INFO: TCP Data received {"connection_id":107110,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:54:26] local.INFO: Processing buffer {"connection_id":107110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:54:26] local.INFO: IMEI packet received {"connection_id":107110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":107110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:54:34] local.INFO: TCP Data received {"connection_id":105395,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:54:34] local.INFO: Processing buffer {"connection_id":105395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 03:54:34] local.INFO: IMEI packet received {"connection_id":105395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 03:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":105395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 03:55:14] local.INFO: TCP Data received {"connection_id":107110,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:14] local.INFO: Processing buffer {"connection_id":107110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:14] local.INFO: IMEI packet received {"connection_id":107110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":107110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:55:14] local.INFO: TCP Data received {"connection_id":107110,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:14] local.INFO: Processing buffer {"connection_id":107110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:14] local.INFO: IMEI packet received {"connection_id":107110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 03:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":107110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 03:55:31] local.INFO: TCP Data received {"connection_id":105396,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:31] local.INFO: Processing buffer {"connection_id":105396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 03:55:31] local.INFO: IMEI packet received {"connection_id":105396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 03:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":105396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:00:00] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:00:00] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:00:00] local.INFO: IMEI packet received {"connection_id":107115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":107115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:00:35] local.INFO: TCP Data received {"connection_id":105610,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:00:35] local.INFO: Processing buffer {"connection_id":105610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:00:35] local.INFO: IMEI packet received {"connection_id":105610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":105610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:00:37] local.INFO: TCP Data received {"connection_id":107116,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:00:37] local.INFO: Processing buffer {"connection_id":107116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:00:37] local.INFO: IMEI packet received {"connection_id":107116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:00:37] local.INFO: IMEI acknowledgment sent {"connection_id":107116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:00:39] local.INFO: TCP Data received {"connection_id":107116,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:00:39] local.INFO: Processing buffer {"connection_id":107116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:00:39] local.INFO: Packet analysis {"connection_id":107116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b1"} 
[2026-06-18 04:00:39] local.INFO: Extracted packet for processing {"connection_id":107116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b1"} 
[2026-06-18 04:00:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124126208001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781735169000,"timestamp_ms":1781735169000,"timestamp_seconds":1781735169,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b11be8"} 
[2026-06-18 04:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:00:39] 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-06-18 04: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-06-18 04:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124126208001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124126208001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:00:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:00:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124126208001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":107116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:00:39] local.INFO: GPS data processed {"connection_id":107116,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:00:39] local.INFO: Acknowledgment sent {"connection_id":107116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:01:11] local.INFO: TCP Data received {"connection_id":107116,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:01:11] local.INFO: Processing buffer {"connection_id":107116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:01:11] local.INFO: Packet analysis {"connection_id":107116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b1"} 
[2026-06-18 04:01:11] local.INFO: Extracted packet for processing {"connection_id":107116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b1"} 
[2026-06-18 04:01:11] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124126208001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781735169000,"timestamp_ms":1781735169000,"timestamp_seconds":1781735169,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b11be8"} 
[2026-06-18 04:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:01:11] 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-06-18 04:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124126208001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124126208001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:01:11] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:01:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124126208001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":107116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:01:11] local.INFO: GPS data processed {"connection_id":107116,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:01:11] local.INFO: Acknowledgment sent {"connection_id":107116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:01:26] local.INFO: TCP Data received {"connection_id":106135,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:01:26] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:01:26] local.INFO: IMEI packet received {"connection_id":106135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":106135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:01:31] local.INFO: TCP Data received {"connection_id":106135,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:01:31] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:01:31] local.INFO: IMEI packet received {"connection_id":106135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":106135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:01:34] local.INFO: TCP Data received {"connection_id":106135,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:01:34] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b11be8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:01:34] local.INFO: Packet analysis {"connection_id":106135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b1"} 
[2026-06-18 04:01:34] local.INFO: Extracted packet for processing {"connection_id":106135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b1"} 
[2026-06-18 04:01:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124126208001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781735169000,"timestamp_ms":1781735169000,"timestamp_seconds":1781735169,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b11be8"} 
[2026-06-18 04:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:01:34] 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-06-18 04:01:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124126208001,"66":25071,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124126208001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:01:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:01:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124126208001,"power":25071,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":106135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:01:34] local.INFO: GPS data processed {"connection_id":106135,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:01:34] local.INFO: Acknowledgment sent {"connection_id":106135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:02:06] local.INFO: TCP Data received {"connection_id":106135,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:02:06] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:02:06] local.INFO: Packet analysis {"connection_id":106135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:02:06] local.INFO: Extracted packet for processing {"connection_id":106135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:02:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:02:06] 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-06-18 04:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:02:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:02:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":106135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:02:06] local.INFO: GPS data processed {"connection_id":106135,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:02:06] local.INFO: Acknowledgment sent {"connection_id":106135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:02:26] local.INFO: TCP Data received {"connection_id":105611,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:02:26] local.INFO: Processing buffer {"connection_id":105611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:02:26] local.INFO: IMEI packet received {"connection_id":105611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":105611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:02:31] local.INFO: TCP Data received {"connection_id":105611,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:02:31] local.INFO: Processing buffer {"connection_id":105611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:02:31] local.INFO: IMEI packet received {"connection_id":105611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":105611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:02:34] local.INFO: TCP Data received {"connection_id":105611,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:02:34] local.INFO: Processing buffer {"connection_id":105611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:02:34] local.INFO: Packet analysis {"connection_id":105611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:02:34] local.INFO: Extracted packet for processing {"connection_id":105611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:02:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:02:34] 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-06-18 04: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-06-18 04:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:02:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:02:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":105611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:02:34] local.INFO: GPS data processed {"connection_id":105611,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:02:34] local.INFO: Acknowledgment sent {"connection_id":105611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:03:05] local.INFO: TCP Data received {"connection_id":105611,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:03:05] local.INFO: Processing buffer {"connection_id":105611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:03:05] local.INFO: Packet analysis {"connection_id":105611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:03:05] local.INFO: Extracted packet for processing {"connection_id":105611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:03:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:03:05] 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-06-18 04:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:03:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:03:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":105611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:03:05] local.INFO: GPS data processed {"connection_id":105611,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:03:05] local.INFO: Acknowledgment sent {"connection_id":105611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:03:26] local.INFO: TCP Data received {"connection_id":105612,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:03:26] local.INFO: Processing buffer {"connection_id":105612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:03:26] local.INFO: IMEI packet received {"connection_id":105612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":105612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:03:32] local.INFO: TCP Data received {"connection_id":105612,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:03:32] local.INFO: Processing buffer {"connection_id":105612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:03:32] local.INFO: IMEI packet received {"connection_id":105612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":105612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:03:34] local.INFO: TCP Data received {"connection_id":105612,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:03:34] local.INFO: Processing buffer {"connection_id":105612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:03:34] local.INFO: Packet analysis {"connection_id":105612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:03:34] local.INFO: Extracted packet for processing {"connection_id":105612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:03:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:03:34] 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-06-18 04:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:03:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:03:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":105612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:03:34] local.INFO: GPS data processed {"connection_id":105612,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:03:34] local.INFO: Acknowledgment sent {"connection_id":105612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:04:06] local.INFO: TCP Data received {"connection_id":105612,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:04:06] local.INFO: Processing buffer {"connection_id":105612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:04:06] local.INFO: Packet analysis {"connection_id":105612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:04:06] local.INFO: Extracted packet for processing {"connection_id":105612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:04:06] 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-06-18 04: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-06-18 04:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:04:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:04:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":105612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:04:06] local.INFO: GPS data processed {"connection_id":105612,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:04:06] local.INFO: Acknowledgment sent {"connection_id":105612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:04:26] local.INFO: TCP Data received {"connection_id":105400,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:04:26] local.INFO: Processing buffer {"connection_id":105400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:04:26] local.INFO: IMEI packet received {"connection_id":105400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":105400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:04:31] local.INFO: TCP Data received {"connection_id":105400,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:04:31] local.INFO: Processing buffer {"connection_id":105400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:04:31] local.INFO: IMEI packet received {"connection_id":105400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":105400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:04:33] local.INFO: TCP Data received {"connection_id":105400,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:04:33] local.INFO: Processing buffer {"connection_id":105400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:04:33] local.INFO: Packet analysis {"connection_id":105400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:04:33] local.INFO: Extracted packet for processing {"connection_id":105400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:04:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:04:33] 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-06-18 04: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-06-18 04:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:04:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:04:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":105400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:04:33] local.INFO: GPS data processed {"connection_id":105400,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:04:33] local.INFO: Acknowledgment sent {"connection_id":105400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:05:05] local.INFO: TCP Data received {"connection_id":105400,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:05] local.INFO: Processing buffer {"connection_id":105400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:05] local.INFO: Packet analysis {"connection_id":105400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:05:05] local.INFO: Extracted packet for processing {"connection_id":105400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:05:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:05:05] 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-06-18 04: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-06-18 04:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:05:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:05:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":105400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:05:05] local.INFO: GPS data processed {"connection_id":105400,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:05:05] local.INFO: Acknowledgment sent {"connection_id":105400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:05:31] local.INFO: TCP Data received {"connection_id":107117,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:05:31] local.INFO: Processing buffer {"connection_id":107117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:05:31] local.INFO: IMEI packet received {"connection_id":107117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":107117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:05:37] local.INFO: TCP Data received {"connection_id":107117,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:05:37] local.INFO: Processing buffer {"connection_id":107117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:05:37] local.INFO: IMEI packet received {"connection_id":107117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":107117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:05:39] local.INFO: TCP Data received {"connection_id":107117,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:39] local.INFO: Processing buffer {"connection_id":107117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:39] local.INFO: Packet analysis {"connection_id":107117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:05:39] local.INFO: Extracted packet for processing {"connection_id":107117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:05:39] 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-06-18 04:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:05:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:05:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":107117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:05:39] local.INFO: GPS data processed {"connection_id":107117,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:05:39] local.INFO: Acknowledgment sent {"connection_id":107117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:05:43] local.INFO: TCP Data received {"connection_id":107117,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:43] local.INFO: Processing buffer {"connection_id":107117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:05:43] local.INFO: Packet analysis {"connection_id":107117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:05:43] local.INFO: Extracted packet for processing {"connection_id":107117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:05:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:05:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:05:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":107117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:05:43] local.INFO: GPS data processed {"connection_id":107117,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:05:43] local.INFO: Acknowledgment sent {"connection_id":107117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:06:05] local.INFO: TCP Data received {"connection_id":106138,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:06:05] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:06:05] local.INFO: IMEI packet received {"connection_id":106138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":106138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:06:26] local.INFO: TCP Data received {"connection_id":107118,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:06:26] local.INFO: Processing buffer {"connection_id":107118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:06:26] local.INFO: IMEI packet received {"connection_id":107118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":107118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:06:31] local.INFO: TCP Data received {"connection_id":107118,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:06:31] local.INFO: Processing buffer {"connection_id":107118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:06:31] local.INFO: IMEI packet received {"connection_id":107118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":107118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:06:34] local.INFO: TCP Data received {"connection_id":107118,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:06:34] local.INFO: Processing buffer {"connection_id":107118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7b5b3b0012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:06:34] local.INFO: Packet analysis {"connection_id":107118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:06:34] local.INFO: Extracted packet for processing {"connection_id":107118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7b5"} 
[2026-06-18 04:06:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124203264001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781735470000,"timestamp_ms":1781735470000,"timestamp_seconds":1781735470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7b5b3b0"} 
[2026-06-18 04:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 04:06:34] 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-06-18 04:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124203264001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124203264001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:06:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:06:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124203264001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":107118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:06:34] local.INFO: GPS data processed {"connection_id":107118,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:06:34] local.INFO: Acknowledgment sent {"connection_id":107118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:06:35] local.INFO: TCP Data received {"connection_id":105613,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:06:35] local.INFO: Processing buffer {"connection_id":105613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:06:35] local.INFO: IMEI packet received {"connection_id":105613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":105613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:07:05] local.INFO: TCP Data received {"connection_id":107118,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:07:05] local.INFO: Processing buffer {"connection_id":107118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:07:05] local.INFO: Packet analysis {"connection_id":107118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:07:05] local.INFO: Extracted packet for processing {"connection_id":107118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:07:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:07:05] 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-06-18 04:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:07:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":107118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:07:05] local.INFO: GPS data processed {"connection_id":107118,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:07:05] local.INFO: Acknowledgment sent {"connection_id":107118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:07:31] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:07:31] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:07:31] local.INFO: IMEI packet received {"connection_id":105614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":105614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:07:37] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:07:37] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:07:37] local.INFO: IMEI packet received {"connection_id":105614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:07:37] local.INFO: IMEI acknowledgment sent {"connection_id":105614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:07:38] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:07:38] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:07:38] local.INFO: Packet analysis {"connection_id":105614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:07:38] local.INFO: Extracted packet for processing {"connection_id":105614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:07:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:07:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:07:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:07:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:07:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:07:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:07:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:07:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:07:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:07:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:07:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:07:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:07:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:07:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:07:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:07:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:07:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:07:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:07:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:07:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:07:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:07:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:07:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:07:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:07:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:07:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:07:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:07:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:07:38] local.INFO: DEBUG: GPS processor result {"connection_id":105614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:07:38] local.INFO: GPS data processed {"connection_id":105614,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:07:38] local.INFO: Acknowledgment sent {"connection_id":105614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:08:10] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:08:10] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:08:10] local.INFO: Packet analysis {"connection_id":105614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:08:10] local.INFO: Extracted packet for processing {"connection_id":105614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:08:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:08:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":105614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:08:10] local.INFO: GPS data processed {"connection_id":105614,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:08:10] local.INFO: Acknowledgment sent {"connection_id":105614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:08:26] local.INFO: TCP Data received {"connection_id":106139,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:08:26] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:08:26] local.INFO: IMEI packet received {"connection_id":106139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":106139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:08:31] local.INFO: TCP Data received {"connection_id":106139,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:08:31] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:08:31] local.INFO: IMEI packet received {"connection_id":106139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":106139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:08:32] local.INFO: TCP Data received {"connection_id":106139,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:08:32] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:08:32] local.INFO: Packet analysis {"connection_id":106139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:08:32] local.INFO: Extracted packet for processing {"connection_id":106139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:08:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 04:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 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-06-18 04:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:08: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-06-18 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-06-18 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-06-18 04:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:08:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":106139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:08:32] local.INFO: GPS data processed {"connection_id":106139,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:08:32] local.INFO: Acknowledgment sent {"connection_id":106139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:09:05] local.INFO: TCP Data received {"connection_id":106139,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:09:05] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:09:05] local.INFO: Packet analysis {"connection_id":106139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:09:05] local.INFO: Extracted packet for processing {"connection_id":106139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:09:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:09:05] 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-06-18 04:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:09:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:09:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":106139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:09:05] local.INFO: GPS data processed {"connection_id":106139,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:09:05] local.INFO: Acknowledgment sent {"connection_id":106139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:09:26] local.INFO: TCP Data received {"connection_id":106140,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:09:26] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:09:26] local.INFO: IMEI packet received {"connection_id":106140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":106140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:09:31] local.INFO: TCP Data received {"connection_id":106140,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:09:31] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:09:31] local.INFO: IMEI packet received {"connection_id":106140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":106140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:09:33] local.INFO: TCP Data received {"connection_id":106140,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:09:33] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:09:33] local.INFO: Packet analysis {"connection_id":106140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:09:33] local.INFO: Extracted packet for processing {"connection_id":106140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:09:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:09:33] 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-06-18 04:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:09:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:09:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":106140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:09:33] local.INFO: GPS data processed {"connection_id":106140,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:09:33] local.INFO: Acknowledgment sent {"connection_id":106140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:10:05] local.INFO: TCP Data received {"connection_id":106140,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:05] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:05] local.INFO: Packet analysis {"connection_id":106140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:10:05] local.INFO: Extracted packet for processing {"connection_id":106140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:10:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:10:05] 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-06-18 04: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-06-18 04:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:10:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:10:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":106140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:10:05] local.INFO: GPS data processed {"connection_id":106140,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:10:05] local.INFO: Acknowledgment sent {"connection_id":106140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:10:31] local.INFO: TCP Data received {"connection_id":105615,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:10:31] local.INFO: Processing buffer {"connection_id":105615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:10:31] local.INFO: IMEI packet received {"connection_id":105615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":105615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:10:36] local.INFO: TCP Data received {"connection_id":105615,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:10:37] local.INFO: Processing buffer {"connection_id":105615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:10:37] local.INFO: IMEI packet received {"connection_id":105615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":105615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:10:38] local.INFO: TCP Data received {"connection_id":105615,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:38] local.INFO: Processing buffer {"connection_id":105615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:38] local.INFO: Packet analysis {"connection_id":105615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:10:38] local.INFO: Extracted packet for processing {"connection_id":105615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:10:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:10:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:10:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":105615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:10:38] local.INFO: GPS data processed {"connection_id":105615,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:10:38] local.INFO: Acknowledgment sent {"connection_id":105615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:10:43] local.INFO: TCP Data received {"connection_id":105615,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:43] local.INFO: Processing buffer {"connection_id":105615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:10:43] local.INFO: Packet analysis {"connection_id":105615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:10:43] local.INFO: Extracted packet for processing {"connection_id":105615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:10:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:10:43] 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-06-18 04:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:10:43] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:10:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":105615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:10:43] local.INFO: GPS data processed {"connection_id":105615,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:10:43] local.INFO: Acknowledgment sent {"connection_id":105615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:11:27] local.INFO: TCP Data received {"connection_id":106142,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:11:27] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:11:27] local.INFO: IMEI packet received {"connection_id":106142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":106142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:11:32] local.INFO: TCP Data received {"connection_id":106142,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:11:32] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:11:32] local.INFO: IMEI packet received {"connection_id":106142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":106142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:11:33] local.INFO: TCP Data received {"connection_id":106142,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:11:33] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ba4b78012d59b000063e3ac8000101482b..."} 
[2026-06-18 04:11:33] local.INFO: Packet analysis {"connection_id":106142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:11:33] local.INFO: Extracted packet for processing {"connection_id":106142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ba"} 
[2026-06-18 04:11:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124280320001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781735771000,"timestamp_ms":1781735771000,"timestamp_seconds":1781735771,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ba4b78"} 
[2026-06-18 04:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:11:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:11:33] 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-06-18 04:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124280320001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124280320001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:11:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:11:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124280320001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":106142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:11:33] local.INFO: GPS data processed {"connection_id":106142,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:11:33] local.INFO: Acknowledgment sent {"connection_id":106142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:12:04] local.INFO: TCP Data received {"connection_id":105617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105617,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:12:04] local.INFO: Processing buffer {"connection_id":105617,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:12:04] local.INFO: IMEI packet received {"connection_id":105617,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":105617,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:12:05] local.INFO: TCP Data received {"connection_id":106142,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:05] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:05] local.INFO: Packet analysis {"connection_id":106142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:12:05] local.INFO: Extracted packet for processing {"connection_id":106142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:12:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:12:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:12:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":106142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:12:05] local.INFO: GPS data processed {"connection_id":106142,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:12:05] local.INFO: Acknowledgment sent {"connection_id":106142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:12:31] local.INFO: TCP Data received {"connection_id":107120,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:12:31] local.INFO: Processing buffer {"connection_id":107120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:12:31] local.INFO: IMEI packet received {"connection_id":107120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":107120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:12:34] local.INFO: TCP Data received {"connection_id":105402,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:12:34] local.INFO: Processing buffer {"connection_id":105402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:12:34] local.INFO: IMEI packet received {"connection_id":105402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":105402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:12:36] local.INFO: TCP Data received {"connection_id":107120,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:12:36] local.INFO: Processing buffer {"connection_id":107120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:12:36] local.INFO: IMEI packet received {"connection_id":107120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":107120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:12:38] local.INFO: TCP Data received {"connection_id":107120,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:38] local.INFO: Processing buffer {"connection_id":107120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:38] local.INFO: Packet analysis {"connection_id":107120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:12:38] local.INFO: Extracted packet for processing {"connection_id":107120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:12:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:12:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:12:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:12:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":107120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:12:38] local.INFO: GPS data processed {"connection_id":107120,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:12:38] local.INFO: Acknowledgment sent {"connection_id":107120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:12:41] local.INFO: TCP Data received {"connection_id":107120,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:41] local.INFO: Processing buffer {"connection_id":107120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:12:41] local.INFO: Packet analysis {"connection_id":107120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:12:41] local.INFO: Extracted packet for processing {"connection_id":107120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:12:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:12:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:12:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:12:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":107120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:12:41] local.INFO: GPS data processed {"connection_id":107120,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:12:41] local.INFO: Acknowledgment sent {"connection_id":107120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:13:27] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:13:27] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:13:27] local.INFO: IMEI packet received {"connection_id":106143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":106143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:13:31] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:13:31] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:13:31] local.INFO: IMEI packet received {"connection_id":106143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":106143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:13:35] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:13:35] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:13:35] local.INFO: Packet analysis {"connection_id":106143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:13:35] local.INFO: Extracted packet for processing {"connection_id":106143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:13:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:13:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:13:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:13:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:13:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:13:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":106143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:13:35] local.INFO: GPS data processed {"connection_id":106143,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:13:35] local.INFO: Acknowledgment sent {"connection_id":106143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:14:06] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:14:06] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:14:06] local.INFO: Packet analysis {"connection_id":106143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:14:06] local.INFO: Extracted packet for processing {"connection_id":106143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:14:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:14:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:14:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":106143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:14:06] local.INFO: GPS data processed {"connection_id":106143,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:14:06] local.INFO: Acknowledgment sent {"connection_id":106143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:14:26] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:14:26] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:14:26] local.INFO: IMEI packet received {"connection_id":106144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":106144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:14:32] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:14:32] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:14:32] local.INFO: IMEI packet received {"connection_id":106144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":106144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:14:35] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:14:35] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:14:35] local.INFO: Packet analysis {"connection_id":106144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:14:35] local.INFO: Extracted packet for processing {"connection_id":106144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:14:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:14:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:14:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":106144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:14:35] local.INFO: GPS data processed {"connection_id":106144,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:14:35] local.INFO: Acknowledgment sent {"connection_id":106144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:15:07] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:15:07] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:15:07] local.INFO: Packet analysis {"connection_id":106144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:15:07] local.INFO: Extracted packet for processing {"connection_id":106144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:15:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:15:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:15:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":106144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:15:07] local.INFO: GPS data processed {"connection_id":106144,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:15:07] local.INFO: Acknowledgment sent {"connection_id":106144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:15:26] local.INFO: TCP Data received {"connection_id":106145,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:15:26] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:15:26] local.INFO: IMEI packet received {"connection_id":106145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":106145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:15:31] local.INFO: TCP Data received {"connection_id":106145,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:15:31] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:15:31] local.INFO: IMEI packet received {"connection_id":106145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":106145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:15:32] local.INFO: TCP Data received {"connection_id":106145,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:15:32] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:15:32] local.INFO: Packet analysis {"connection_id":106145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:15:32] local.INFO: Extracted packet for processing {"connection_id":106145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:15:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:15:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:15:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":106145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:15:33] local.INFO: GPS data processed {"connection_id":106145,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:15:33] local.INFO: Acknowledgment sent {"connection_id":106145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:16:04] local.INFO: TCP Data received {"connection_id":106145,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:04] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:04] local.INFO: Packet analysis {"connection_id":106145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:16:04] local.INFO: Extracted packet for processing {"connection_id":106145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:16:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:16:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:16:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":106145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:16:04] local.INFO: GPS data processed {"connection_id":106145,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:16:04] local.INFO: Acknowledgment sent {"connection_id":106145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:16:33] local.INFO: TCP Data received {"connection_id":107122,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:16:33] local.INFO: Processing buffer {"connection_id":107122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:16:33] local.INFO: IMEI packet received {"connection_id":107122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":107122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:16:37] local.INFO: TCP Data received {"connection_id":107122,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:16:37] local.INFO: Processing buffer {"connection_id":107122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:16:37] local.INFO: IMEI packet received {"connection_id":107122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":107122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:16:38] local.INFO: TCP Data received {"connection_id":107122,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:38] local.INFO: Processing buffer {"connection_id":107122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:38] local.INFO: Packet analysis {"connection_id":107122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:16:38] local.INFO: Extracted packet for processing {"connection_id":107122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:16:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:16:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:16:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:16:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":107122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:16:38] local.INFO: GPS data processed {"connection_id":107122,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:16:38] local.INFO: Acknowledgment sent {"connection_id":107122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:16:42] local.INFO: TCP Data received {"connection_id":107122,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:42] local.INFO: Processing buffer {"connection_id":107122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7bee340012d59b000063e3ac80001014830..."} 
[2026-06-18 04:16:42] local.INFO: Packet analysis {"connection_id":107122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:16:42] local.INFO: Extracted packet for processing {"connection_id":107122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7be"} 
[2026-06-18 04:16:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124357376001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781736072000,"timestamp_ms":1781736072000,"timestamp_seconds":1781736072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7bee340"} 
[2026-06-18 04:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124357376001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124357376001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:16:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:16:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124357376001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":107122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:16:42] local.INFO: GPS data processed {"connection_id":107122,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:16:42] local.INFO: Acknowledgment sent {"connection_id":107122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:17:26] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:17:26] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:17:26] local.INFO: IMEI packet received {"connection_id":106147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":106147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:17:31] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:17:31] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:17:31] local.INFO: IMEI packet received {"connection_id":106147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":106147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:17:33] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:17:33] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:17:33] local.INFO: Packet analysis {"connection_id":106147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:17:33] local.INFO: Extracted packet for processing {"connection_id":106147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:17:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:17:33] 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-06-18 04: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-06-18 04:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:17:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":106147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:17:33] local.INFO: GPS data processed {"connection_id":106147,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:17:33] local.INFO: Acknowledgment sent {"connection_id":106147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:17:55] local.INFO: TCP Data received {"connection_id":106148,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:17:55] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:17:55] local.INFO: IMEI packet received {"connection_id":106148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":106148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:18:04] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:18:04] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:18:04] local.INFO: Packet analysis {"connection_id":106147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:18:04] local.INFO: Extracted packet for processing {"connection_id":106147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:18:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:18:04] 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-06-18 04: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-06-18 04:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:18:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:18:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":106147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:18:04] local.INFO: GPS data processed {"connection_id":106147,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:18:04] local.INFO: Acknowledgment sent {"connection_id":106147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:18:31] local.INFO: TCP Data received {"connection_id":106149,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:18:31] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:18:31] local.INFO: IMEI packet received {"connection_id":106149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":106149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:18:34] local.INFO: TCP Data received {"connection_id":107124,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:18:34] local.INFO: Processing buffer {"connection_id":107124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:18:34] local.INFO: IMEI packet received {"connection_id":107124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":107124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:18:37] local.INFO: TCP Data received {"connection_id":106149,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:18:37] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:18:37] local.INFO: IMEI packet received {"connection_id":106149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:18:37] local.INFO: IMEI acknowledgment sent {"connection_id":106149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:18:40] local.INFO: TCP Data received {"connection_id":106149,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:18:40] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:18:40] local.INFO: Packet analysis {"connection_id":106149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:18:40] local.INFO: Extracted packet for processing {"connection_id":106149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:18:40] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:18:40] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:18:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":106149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:18:40] local.INFO: GPS data processed {"connection_id":106149,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:18:40] local.INFO: Acknowledgment sent {"connection_id":106149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:19:12] local.INFO: TCP Data received {"connection_id":106149,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:19:12] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:19:12] local.INFO: Packet analysis {"connection_id":106149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:19:12] local.INFO: Extracted packet for processing {"connection_id":106149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:19:12] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:19:12] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:19:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":106149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:19:12] local.INFO: GPS data processed {"connection_id":106149,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:19:12] local.INFO: Acknowledgment sent {"connection_id":106149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:19:27] local.INFO: TCP Data received {"connection_id":105619,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:19:27] local.INFO: Processing buffer {"connection_id":105619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:19:27] local.INFO: IMEI packet received {"connection_id":105619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":105619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:19:31] local.INFO: TCP Data received {"connection_id":105619,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:19:31] local.INFO: Processing buffer {"connection_id":105619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:19:31] local.INFO: IMEI packet received {"connection_id":105619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":105619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:19:32] local.INFO: TCP Data received {"connection_id":105619,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:19:32] local.INFO: Processing buffer {"connection_id":105619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:19:32] local.INFO: Packet analysis {"connection_id":105619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:19:32] local.INFO: Extracted packet for processing {"connection_id":105619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:19:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:19: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-06-18 04: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-06-18 04:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:19:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:19:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":105619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:19:32] local.INFO: GPS data processed {"connection_id":105619,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:19:32] local.INFO: Acknowledgment sent {"connection_id":105619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:20:04] local.INFO: TCP Data received {"connection_id":105619,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:20:04] local.INFO: Processing buffer {"connection_id":105619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:20:04] local.INFO: Packet analysis {"connection_id":105619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:20:04] local.INFO: Extracted packet for processing {"connection_id":105619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:20:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:20:04] 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-06-18 04: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-06-18 04:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:20:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:20:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":105619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:20:04] local.INFO: GPS data processed {"connection_id":105619,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:20:04] local.INFO: Acknowledgment sent {"connection_id":105619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:20:26] local.INFO: TCP Data received {"connection_id":105403,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:20:26] local.INFO: Processing buffer {"connection_id":105403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:20:26] local.INFO: IMEI packet received {"connection_id":105403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":105403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:20:31] local.INFO: TCP Data received {"connection_id":105403,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:20:31] local.INFO: Processing buffer {"connection_id":105403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:20:31] local.INFO: IMEI packet received {"connection_id":105403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":105403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:20:32] local.INFO: TCP Data received {"connection_id":105403,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:20:32] local.INFO: Processing buffer {"connection_id":105403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:20:32] local.INFO: Packet analysis {"connection_id":105403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:20:32] local.INFO: Extracted packet for processing {"connection_id":105403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:20:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:20: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-06-18 04: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-06-18 04:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:20:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":105403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:20:32] local.INFO: GPS data processed {"connection_id":105403,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:20:32] local.INFO: Acknowledgment sent {"connection_id":105403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:21:04] local.INFO: TCP Data received {"connection_id":105403,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:21:04] local.INFO: Processing buffer {"connection_id":105403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:21:04] local.INFO: Packet analysis {"connection_id":105403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:21:04] local.INFO: Extracted packet for processing {"connection_id":105403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:21:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:21:04] 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-06-18 04:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:21:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:21:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":105403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:21:04] local.INFO: GPS data processed {"connection_id":105403,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:21:04] local.INFO: Acknowledgment sent {"connection_id":105403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:21:26] local.INFO: TCP Data received {"connection_id":107125,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:21:26] local.INFO: Processing buffer {"connection_id":107125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:21:26] local.INFO: IMEI packet received {"connection_id":107125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":107125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:21:32] local.INFO: TCP Data received {"connection_id":107125,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:21:32] local.INFO: Processing buffer {"connection_id":107125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:21:32] local.INFO: IMEI packet received {"connection_id":107125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":107125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:21:34] local.INFO: TCP Data received {"connection_id":107125,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:21:34] local.INFO: Processing buffer {"connection_id":107125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c37b08012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:21:34] local.INFO: Packet analysis {"connection_id":107125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:21:34] local.INFO: Extracted packet for processing {"connection_id":107125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c3"} 
[2026-06-18 04:21:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:21:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124434432001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:21:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:21:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:21:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:21:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781736373000,"timestamp_ms":1781736373000,"timestamp_seconds":1781736373,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c37b08"} 
[2026-06-18 04:21:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:21:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:21:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:21:34] 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-06-18 04:21:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:21:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:21:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:21:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:21:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:21:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:21:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:21:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:21:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:21:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124434432001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:21:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:21:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:21:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124434432001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:21:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:21:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:21:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:21:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:21:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124434432001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":107125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:21:34] local.INFO: GPS data processed {"connection_id":107125,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:21:34] local.INFO: Acknowledgment sent {"connection_id":107125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:22:07] local.INFO: TCP Data received {"connection_id":107125,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:07] local.INFO: Processing buffer {"connection_id":107125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:07] local.INFO: Packet analysis {"connection_id":107125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:22:07] local.INFO: Extracted packet for processing {"connection_id":107125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:22:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:22:07] 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-06-18 04: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-06-18 04:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:22:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:22:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":107125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:22:07] local.INFO: GPS data processed {"connection_id":107125,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:22:07] local.INFO: Acknowledgment sent {"connection_id":107125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:22:26] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:22:26] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:22:26] local.INFO: IMEI packet received {"connection_id":106152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":106152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:22:32] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:22:32] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:22:32] local.INFO: IMEI packet received {"connection_id":106152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":106152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:22:34] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:34] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:34] local.INFO: Packet analysis {"connection_id":106152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:22:34] local.INFO: Extracted packet for processing {"connection_id":106152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:22:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:22:34] 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-06-18 04:22:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:22:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:22:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":106152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:22:34] local.INFO: GPS data processed {"connection_id":106152,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:22:34] local.INFO: Acknowledgment sent {"connection_id":106152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:22:39] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:39] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:22:39] local.INFO: Packet analysis {"connection_id":106152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:22:39] local.INFO: Extracted packet for processing {"connection_id":106152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:22:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:22:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:22:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":106152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:22:39] local.INFO: GPS data processed {"connection_id":106152,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:22:39] local.INFO: Acknowledgment sent {"connection_id":106152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:23:12] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:23:12] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:23:12] local.INFO: Packet analysis {"connection_id":106152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:23:12] local.INFO: Extracted packet for processing {"connection_id":106152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:23:12] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:23:12] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:23:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":106152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:23:12] local.INFO: GPS data processed {"connection_id":106152,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:23:12] local.INFO: Acknowledgment sent {"connection_id":106152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:23:26] local.INFO: TCP Data received {"connection_id":105405,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:23:26] local.INFO: Processing buffer {"connection_id":105405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:23:26] local.INFO: IMEI packet received {"connection_id":105405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":105405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:23:31] local.INFO: TCP Data received {"connection_id":105405,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:23:31] local.INFO: Processing buffer {"connection_id":105405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:23:31] local.INFO: IMEI packet received {"connection_id":105405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":105405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:23:33] local.INFO: TCP Data received {"connection_id":105405,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:23:33] local.INFO: Processing buffer {"connection_id":105405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:23:33] local.INFO: Packet analysis {"connection_id":105405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:23:33] local.INFO: Extracted packet for processing {"connection_id":105405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:23:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:23:33] 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-06-18 04: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-06-18 04:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:23:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":105405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:23:33] local.INFO: GPS data processed {"connection_id":105405,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:23:33] local.INFO: Acknowledgment sent {"connection_id":105405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:23:50] local.INFO: TCP Data received {"connection_id":106153,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:23:50] local.INFO: Processing buffer {"connection_id":106153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:23:50] local.INFO: IMEI packet received {"connection_id":106153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":106153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:24:05] local.INFO: TCP Data received {"connection_id":105405,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:24:05] local.INFO: Processing buffer {"connection_id":105405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:24:05] local.INFO: Packet analysis {"connection_id":105405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:24:05] local.INFO: Extracted packet for processing {"connection_id":105405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:24:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:24:05] 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-06-18 04:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:24:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:24:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":105405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:24:05] local.INFO: GPS data processed {"connection_id":105405,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:24:05] local.INFO: Acknowledgment sent {"connection_id":105405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:24:26] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:24:26] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:24:26] local.INFO: IMEI packet received {"connection_id":106154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":106154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:24:31] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:24:31] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:24:31] local.INFO: IMEI packet received {"connection_id":106154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":106154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:24:34] local.INFO: TCP Data received {"connection_id":105621,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:24:34] local.INFO: Processing buffer {"connection_id":105621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:24:34] local.INFO: IMEI packet received {"connection_id":105621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":105621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:24:35] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:24:35] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:24:35] local.INFO: Packet analysis {"connection_id":106154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:24:35] local.INFO: Extracted packet for processing {"connection_id":106154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:24:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:24:35] 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-06-18 04:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:24:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:24:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":106154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:24:35] local.INFO: GPS data processed {"connection_id":106154,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:24:35] local.INFO: Acknowledgment sent {"connection_id":106154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:25:07] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:25:07] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:25:07] local.INFO: Packet analysis {"connection_id":106154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:25:07] local.INFO: Extracted packet for processing {"connection_id":106154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:25:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:25:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:25:07] 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-06-18 04: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-06-18 04:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:25:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:25:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":106154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:25:07] local.INFO: GPS data processed {"connection_id":106154,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:25:07] local.INFO: Acknowledgment sent {"connection_id":106154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:25:26] local.INFO: TCP Data received {"connection_id":105406,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:25:26] local.INFO: Processing buffer {"connection_id":105406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:25:26] local.INFO: IMEI packet received {"connection_id":105406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":105406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:25:31] local.INFO: TCP Data received {"connection_id":105406,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:25:31] local.INFO: Processing buffer {"connection_id":105406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:25:31] local.INFO: IMEI packet received {"connection_id":105406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":105406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:25:34] local.INFO: TCP Data received {"connection_id":105406,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:25:34] local.INFO: Processing buffer {"connection_id":105406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:25:34] local.INFO: Packet analysis {"connection_id":105406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:25:34] local.INFO: Extracted packet for processing {"connection_id":105406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:25:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:25:34] 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-06-18 04:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:25:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:25:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":105406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:25:34] local.INFO: GPS data processed {"connection_id":105406,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:25:34] local.INFO: Acknowledgment sent {"connection_id":105406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:26:06] local.INFO: TCP Data received {"connection_id":105406,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:26:06] local.INFO: Processing buffer {"connection_id":105406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:26:06] local.INFO: Packet analysis {"connection_id":105406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:26:06] local.INFO: Extracted packet for processing {"connection_id":105406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:26:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:26:06] 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-06-18 04:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:26:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:26:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":105406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:26:06] local.INFO: GPS data processed {"connection_id":105406,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:26:06] local.INFO: Acknowledgment sent {"connection_id":105406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:26:31] local.INFO: TCP Data received {"connection_id":105407,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:26:31] local.INFO: Processing buffer {"connection_id":105407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:26:31] local.INFO: IMEI packet received {"connection_id":105407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":105407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:26:37] local.INFO: TCP Data received {"connection_id":105407,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:26:37] local.INFO: Processing buffer {"connection_id":105407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:26:37] local.INFO: IMEI packet received {"connection_id":105407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":105407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:26:39] local.INFO: TCP Data received {"connection_id":105407,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:26:39] local.INFO: Processing buffer {"connection_id":105407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7c812d0012d59b000063e3ac8000101482c..."} 
[2026-06-18 04:26:39] local.INFO: Packet analysis {"connection_id":105407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:26:39] local.INFO: Extracted packet for processing {"connection_id":105407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7c8"} 
[2026-06-18 04:26:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124511488001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781736674000,"timestamp_ms":1781736674000,"timestamp_seconds":1781736674,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7c812d0"} 
[2026-06-18 04:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124511488001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124511488001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:26:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:26:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124511488001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":105407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:26:39] local.INFO: GPS data processed {"connection_id":105407,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:26:39] local.INFO: Acknowledgment sent {"connection_id":105407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:27:10] local.INFO: TCP Data received {"connection_id":105407,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:27:10] local.INFO: Processing buffer {"connection_id":105407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:27:10] local.INFO: Packet analysis {"connection_id":105407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:27:10] local.INFO: Extracted packet for processing {"connection_id":105407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:27:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:27:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:27:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":105407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:27:10] local.INFO: GPS data processed {"connection_id":105407,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:27:10] local.INFO: Acknowledgment sent {"connection_id":105407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:27:26] local.INFO: TCP Data received {"connection_id":105408,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:27:26] local.INFO: Processing buffer {"connection_id":105408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:27:26] local.INFO: IMEI packet received {"connection_id":105408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":105408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:27:31] local.INFO: TCP Data received {"connection_id":105408,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:27:31] local.INFO: Processing buffer {"connection_id":105408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:27:31] local.INFO: IMEI packet received {"connection_id":105408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":105408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:27:35] local.INFO: TCP Data received {"connection_id":105408,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:27:35] local.INFO: Processing buffer {"connection_id":105408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:27:35] local.INFO: Packet analysis {"connection_id":105408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:27:35] local.INFO: Extracted packet for processing {"connection_id":105408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:27:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:27:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:27:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":105408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:27:35] local.INFO: GPS data processed {"connection_id":105408,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:27:35] local.INFO: Acknowledgment sent {"connection_id":105408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:28:07] local.INFO: TCP Data received {"connection_id":105408,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:28:07] local.INFO: Processing buffer {"connection_id":105408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:28:07] local.INFO: Packet analysis {"connection_id":105408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:28:07] local.INFO: Extracted packet for processing {"connection_id":105408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:28:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:28:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:28:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":105408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:28:07] local.INFO: GPS data processed {"connection_id":105408,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:28:07] local.INFO: Acknowledgment sent {"connection_id":105408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:28:31] local.INFO: TCP Data received {"connection_id":105409,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:28:31] local.INFO: Processing buffer {"connection_id":105409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:28:31] local.INFO: IMEI packet received {"connection_id":105409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":105409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:28:36] local.INFO: TCP Data received {"connection_id":105409,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:28:36] local.INFO: Processing buffer {"connection_id":105409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:28:36] local.INFO: IMEI packet received {"connection_id":105409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":105409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:28:37] local.INFO: TCP Data received {"connection_id":105409,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:28:37] local.INFO: Processing buffer {"connection_id":105409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:28:37] local.INFO: Packet analysis {"connection_id":105409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:28:37] local.INFO: Extracted packet for processing {"connection_id":105409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:28:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:28:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":105409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:28:37] local.INFO: GPS data processed {"connection_id":105409,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:28:37] local.INFO: Acknowledgment sent {"connection_id":105409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:29:09] local.INFO: TCP Data received {"connection_id":105409,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:09] local.INFO: Processing buffer {"connection_id":105409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:09] local.INFO: Packet analysis {"connection_id":105409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:29:09] local.INFO: Extracted packet for processing {"connection_id":105409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:29:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:29:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":105409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:29:09] local.INFO: GPS data processed {"connection_id":105409,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:29:09] local.INFO: Acknowledgment sent {"connection_id":105409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:29:55] local.INFO: TCP Data received {"connection_id":105410,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:29:55] local.INFO: Processing buffer {"connection_id":105410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:29:55] local.INFO: IMEI packet received {"connection_id":105410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":105410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:29:55] local.INFO: TCP Data received {"connection_id":105410,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:29:55] local.INFO: Processing buffer {"connection_id":105410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:29:55] local.INFO: IMEI packet received {"connection_id":105410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":105410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:29:56] local.INFO: TCP Data received {"connection_id":105410,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:56] local.INFO: Processing buffer {"connection_id":105410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:56] local.INFO: Packet analysis {"connection_id":105410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:29:56] local.INFO: Extracted packet for processing {"connection_id":105410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:29:56] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:29:56] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:29:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":105410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:29:56] local.INFO: GPS data processed {"connection_id":105410,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:29:56] local.INFO: Acknowledgment sent {"connection_id":105410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:29:57] local.INFO: TCP Data received {"connection_id":105410,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:57] local.INFO: Processing buffer {"connection_id":105410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:29:57] local.INFO: Packet analysis {"connection_id":105410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:29:57] local.INFO: Extracted packet for processing {"connection_id":105410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:29:57] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:29:57] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:29:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":105410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:29:57] local.INFO: GPS data processed {"connection_id":105410,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:29:57] local.INFO: Acknowledgment sent {"connection_id":105410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:29:59] local.INFO: TCP Data received {"connection_id":107127,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:29:59] local.INFO: Processing buffer {"connection_id":107127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:29:59] local.INFO: IMEI packet received {"connection_id":107127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":107127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:30:26] local.INFO: TCP Data received {"connection_id":107128,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:30:26] local.INFO: Processing buffer {"connection_id":107128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:30:26] local.INFO: IMEI packet received {"connection_id":107128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":107128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:30:31] local.INFO: TCP Data received {"connection_id":107128,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:30:31] local.INFO: Processing buffer {"connection_id":107128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:30:31] local.INFO: IMEI packet received {"connection_id":107128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":107128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:30:34] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:30:34] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:30:34] local.INFO: IMEI packet received {"connection_id":106156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":106156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:30:35] local.INFO: TCP Data received {"connection_id":107128,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:30:35] local.INFO: Processing buffer {"connection_id":107128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:30:35] local.INFO: Packet analysis {"connection_id":107128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:30:35] local.INFO: Extracted packet for processing {"connection_id":107128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:30:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:30:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:30:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":107128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:30:35] local.INFO: GPS data processed {"connection_id":107128,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:30:35] local.INFO: Acknowledgment sent {"connection_id":107128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:31:07] local.INFO: TCP Data received {"connection_id":107128,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:31:07] local.INFO: Processing buffer {"connection_id":107128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:31:07] local.INFO: Packet analysis {"connection_id":107128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:31:07] local.INFO: Extracted packet for processing {"connection_id":107128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:31:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:31:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:31:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":107128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:31:07] local.INFO: GPS data processed {"connection_id":107128,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:31:07] local.INFO: Acknowledgment sent {"connection_id":107128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:31:26] local.INFO: TCP Data received {"connection_id":105411,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:31:26] local.INFO: Processing buffer {"connection_id":105411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:31:26] local.INFO: IMEI packet received {"connection_id":105411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":105411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:31:31] local.INFO: TCP Data received {"connection_id":105411,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:31:31] local.INFO: Processing buffer {"connection_id":105411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:31:31] local.INFO: IMEI packet received {"connection_id":105411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":105411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:31:33] local.INFO: TCP Data received {"connection_id":105411,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:31:33] local.INFO: Processing buffer {"connection_id":105411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ccaa98012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:31:33] local.INFO: Packet analysis {"connection_id":105411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:31:33] local.INFO: Extracted packet for processing {"connection_id":105411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7cc"} 
[2026-06-18 04:31:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124588544001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781736975000,"timestamp_ms":1781736975000,"timestamp_seconds":1781736975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ccaa98"} 
[2026-06-18 04:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124588544001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124588544001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:31:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:31:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124588544001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":105411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:31:33] local.INFO: GPS data processed {"connection_id":105411,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:31:33] local.INFO: Acknowledgment sent {"connection_id":105411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:32:07] local.INFO: TCP Data received {"connection_id":105411,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:32:07] local.INFO: Processing buffer {"connection_id":105411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:32:07] local.INFO: Packet analysis {"connection_id":105411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:32:07] local.INFO: Extracted packet for processing {"connection_id":105411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:32:07] 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-06-18 04: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-06-18 04:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:32:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:32:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":105411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:32:08] local.INFO: GPS data processed {"connection_id":105411,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:32:08] local.INFO: Acknowledgment sent {"connection_id":105411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:32:26] local.INFO: TCP Data received {"connection_id":107129,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:32:26] local.INFO: Processing buffer {"connection_id":107129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:32:26] local.INFO: IMEI packet received {"connection_id":107129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":107129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:32:31] local.INFO: TCP Data received {"connection_id":107129,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:32:31] local.INFO: Processing buffer {"connection_id":107129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:32:31] local.INFO: IMEI packet received {"connection_id":107129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":107129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:32:33] local.INFO: TCP Data received {"connection_id":107129,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:32:33] local.INFO: Processing buffer {"connection_id":107129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:32:33] local.INFO: Packet analysis {"connection_id":107129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:32:33] local.INFO: Extracted packet for processing {"connection_id":107129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:32:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:32:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:32:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:32:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:32:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:32:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:32:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:32:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:32:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:32:33] 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-06-18 04:32:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:32:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:32:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:32:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:32:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:32:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:32:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:32:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:32:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:32:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:32:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:32:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:32:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:32:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:32:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:32:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:32:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:32:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:32:33] local.INFO: DEBUG: GPS processor result {"connection_id":107129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:32:33] local.INFO: GPS data processed {"connection_id":107129,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:32:33] local.INFO: Acknowledgment sent {"connection_id":107129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:33:09] local.INFO: TCP Data received {"connection_id":107129,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:09] local.INFO: Processing buffer {"connection_id":107129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:09] local.INFO: Packet analysis {"connection_id":107129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:33:09] local.INFO: Extracted packet for processing {"connection_id":107129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:33:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:33:09] 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-06-18 04:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:33:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:33:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":107129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:33:09] local.INFO: GPS data processed {"connection_id":107129,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:33:09] local.INFO: Acknowledgment sent {"connection_id":107129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:33:32] local.INFO: TCP Data received {"connection_id":106157,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:33:32] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:33:32] local.INFO: IMEI packet received {"connection_id":106157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":106157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:33:36] local.INFO: TCP Data received {"connection_id":106157,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:33:36] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:33:36] local.INFO: IMEI packet received {"connection_id":106157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":106157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:33:38] local.INFO: TCP Data received {"connection_id":106157,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:38] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:38] local.INFO: Packet analysis {"connection_id":106157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:33:38] local.INFO: Extracted packet for processing {"connection_id":106157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:33:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:33:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:33:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:33:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:33:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":106157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:33:39] local.INFO: GPS data processed {"connection_id":106157,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:33:39] local.INFO: Acknowledgment sent {"connection_id":106157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:33:41] local.INFO: TCP Data received {"connection_id":106157,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:41] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:33:41] local.INFO: Packet analysis {"connection_id":106157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:33:41] local.INFO: Extracted packet for processing {"connection_id":106157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:33:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:33:41] 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-06-18 04:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:33:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:33:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":106157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:33:41] local.INFO: GPS data processed {"connection_id":106157,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:33:41] local.INFO: Acknowledgment sent {"connection_id":106157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:34:26] local.INFO: TCP Data received {"connection_id":106158,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:34:26] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:34:26] local.INFO: IMEI packet received {"connection_id":106158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":106158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:34:31] local.INFO: TCP Data received {"connection_id":106158,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:34:31] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:34:31] local.INFO: IMEI packet received {"connection_id":106158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":106158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:34:34] local.INFO: TCP Data received {"connection_id":106158,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:34:34] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:34:34] local.INFO: Packet analysis {"connection_id":106158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:34:34] local.INFO: Extracted packet for processing {"connection_id":106158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:34:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:34:34] 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-06-18 04:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:34:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:34:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":106158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:34:34] local.INFO: GPS data processed {"connection_id":106158,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:34:34] local.INFO: Acknowledgment sent {"connection_id":106158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:35:06] local.INFO: TCP Data received {"connection_id":106158,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:35:06] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:35:06] local.INFO: Packet analysis {"connection_id":106158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:35:06] local.INFO: Extracted packet for processing {"connection_id":106158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:35: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-06-18 04:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:35: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:35:06] 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-06-18 04:35: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-06-18 04:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:35:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:35:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":106158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:35:06] local.INFO: GPS data processed {"connection_id":106158,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:35:06] local.INFO: Acknowledgment sent {"connection_id":106158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:35:27] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:35:27] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:35:27] local.INFO: IMEI packet received {"connection_id":106159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":106159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:35:31] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:35:31] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:35:31] local.INFO: IMEI packet received {"connection_id":106159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":106159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:35:36] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:35:36] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:35:36] local.INFO: Packet analysis {"connection_id":106159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:35:36] local.INFO: Extracted packet for processing {"connection_id":106159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:35:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:35:36] 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-06-18 04:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:35:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:35:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":106159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:35:36] local.INFO: GPS data processed {"connection_id":106159,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:35:36] local.INFO: Acknowledgment sent {"connection_id":106159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:36:05] local.INFO: TCP Data received {"connection_id":105627,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:36:05] local.INFO: Processing buffer {"connection_id":105627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:36:05] local.INFO: IMEI packet received {"connection_id":105627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":105627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:36:08] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:36:08] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:36:08] local.INFO: Packet analysis {"connection_id":106159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:36:08] local.INFO: Extracted packet for processing {"connection_id":106159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:36:08] 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-06-18 04:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:36:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:36:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":106159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:36:08] local.INFO: GPS data processed {"connection_id":106159,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:36:08] local.INFO: Acknowledgment sent {"connection_id":106159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:36:26] local.INFO: TCP Data received {"connection_id":105413,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:36:26] local.INFO: Processing buffer {"connection_id":105413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:36:26] local.INFO: IMEI packet received {"connection_id":105413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":105413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:36:31] local.INFO: TCP Data received {"connection_id":105413,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:36:31] local.INFO: Processing buffer {"connection_id":105413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:36:31] local.INFO: IMEI packet received {"connection_id":105413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":105413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:36:35] local.INFO: TCP Data received {"connection_id":105413,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:36:35] local.INFO: Processing buffer {"connection_id":105413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d14260012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:36:35] local.INFO: Packet analysis {"connection_id":105413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:36:35] local.INFO: Extracted packet for processing {"connection_id":105413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d1"} 
[2026-06-18 04:36:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781737276000,"timestamp_ms":1781737276000,"timestamp_seconds":1781737276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d14260"} 
[2026-06-18 04:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:36:35] 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-06-18 04: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-06-18 04:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124665600001,"66":25060,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:36:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:36:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124665600001,"power":25060,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":105413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:36:35] local.INFO: GPS data processed {"connection_id":105413,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:36:35] local.INFO: Acknowledgment sent {"connection_id":105413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:36:35] local.INFO: TCP Data received {"connection_id":107131,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:36:35] local.INFO: Processing buffer {"connection_id":107131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:36:35] local.INFO: IMEI packet received {"connection_id":107131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":107131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:37:07] local.INFO: TCP Data received {"connection_id":105413,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:37:07] local.INFO: Processing buffer {"connection_id":105413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:37:07] local.INFO: Packet analysis {"connection_id":105413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:37:07] local.INFO: Extracted packet for processing {"connection_id":105413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:37:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:37:07] 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-06-18 04: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-06-18 04:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:37:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:37:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:37:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":105413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:37:07] local.INFO: GPS data processed {"connection_id":105413,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:37:07] local.INFO: Acknowledgment sent {"connection_id":105413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:38:01] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:01] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:01] local.INFO: IMEI packet received {"connection_id":106161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":106161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:38:06] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:06] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:06] local.INFO: IMEI packet received {"connection_id":106161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":106161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:38:09] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:38:09] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:38:09] local.INFO: Packet analysis {"connection_id":106161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:38:09] local.INFO: Extracted packet for processing {"connection_id":106161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:38:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:38:09] 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-06-18 04:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:38:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:38:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":106161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:38:09] local.INFO: GPS data processed {"connection_id":106161,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:38:09] local.INFO: Acknowledgment sent {"connection_id":106161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:38:31] local.INFO: TCP Data received {"connection_id":105629,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:31] local.INFO: Processing buffer {"connection_id":105629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:31] local.INFO: IMEI packet received {"connection_id":105629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":105629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:38:36] local.INFO: TCP Data received {"connection_id":105629,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:36] local.INFO: Processing buffer {"connection_id":105629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:38:36] local.INFO: IMEI packet received {"connection_id":105629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":105629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:38:39] local.INFO: TCP Data received {"connection_id":105629,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:38:39] local.INFO: Processing buffer {"connection_id":105629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:38:39] local.INFO: Packet analysis {"connection_id":105629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:38:39] local.INFO: Extracted packet for processing {"connection_id":105629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:38:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:38:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:38:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":105629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:38:39] local.INFO: GPS data processed {"connection_id":105629,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:38:39] local.INFO: Acknowledgment sent {"connection_id":105629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:39:10] local.INFO: TCP Data received {"connection_id":105629,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:39:10] local.INFO: Processing buffer {"connection_id":105629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:39:10] local.INFO: Packet analysis {"connection_id":105629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:39:10] local.INFO: Extracted packet for processing {"connection_id":105629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:39:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:39:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:39:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":105629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:39:10] local.INFO: GPS data processed {"connection_id":105629,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:39:10] local.INFO: Acknowledgment sent {"connection_id":105629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:39:31] local.INFO: TCP Data received {"connection_id":105414,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:39:31] local.INFO: Processing buffer {"connection_id":105414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:39:31] local.INFO: IMEI packet received {"connection_id":105414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":105414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:39:36] local.INFO: TCP Data received {"connection_id":105414,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:39:36] local.INFO: Processing buffer {"connection_id":105414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:39:36] local.INFO: IMEI packet received {"connection_id":105414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":105414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:39:37] local.INFO: TCP Data received {"connection_id":105414,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:39:37] local.INFO: Processing buffer {"connection_id":105414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:39:37] local.INFO: Packet analysis {"connection_id":105414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:39:37] local.INFO: Extracted packet for processing {"connection_id":105414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:39:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:39: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-06-18 04:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:39:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:39:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":105414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:39:37] local.INFO: GPS data processed {"connection_id":105414,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:39:37] local.INFO: Acknowledgment sent {"connection_id":105414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:40:01] local.INFO: TCP Data received {"connection_id":105414,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:01] local.INFO: Processing buffer {"connection_id":105414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:01] local.INFO: Packet analysis {"connection_id":105414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:40:01] local.INFO: Extracted packet for processing {"connection_id":105414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:40:01] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:40:01] 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-06-18 04:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:40:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:40:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":105414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:40:01] local.INFO: GPS data processed {"connection_id":105414,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:40:01] local.INFO: Acknowledgment sent {"connection_id":105414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:40:31] local.INFO: TCP Data received {"connection_id":105415,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:40:31] local.INFO: Processing buffer {"connection_id":105415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:40:31] local.INFO: IMEI packet received {"connection_id":105415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":105415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:40:32] local.INFO: TCP Data received {"connection_id":105415,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:40:32] local.INFO: Processing buffer {"connection_id":105415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:40:32] local.INFO: IMEI packet received {"connection_id":105415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":105415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:40:35] local.INFO: TCP Data received {"connection_id":105415,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:35] local.INFO: Processing buffer {"connection_id":105415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:35] local.INFO: Packet analysis {"connection_id":105415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:40:35] local.INFO: Extracted packet for processing {"connection_id":105415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:40:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:40:35] 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-06-18 04: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-06-18 04:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:40:35] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:40:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":105415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:40:35] local.INFO: GPS data processed {"connection_id":105415,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:40:35] local.INFO: Acknowledgment sent {"connection_id":105415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:40:36] local.INFO: TCP Data received {"connection_id":105415,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:36] local.INFO: Processing buffer {"connection_id":105415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:40:36] local.INFO: Packet analysis {"connection_id":105415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:40:36] local.INFO: Extracted packet for processing {"connection_id":105415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:40:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:40:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:40:36] 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-06-18 04:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:40:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:40:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":105415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:40:36] local.INFO: GPS data processed {"connection_id":105415,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:40:36] local.INFO: Acknowledgment sent {"connection_id":105415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:41:08] local.INFO: TCP Data received {"connection_id":105415,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:41:08] local.INFO: Processing buffer {"connection_id":105415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:41:08] local.INFO: Packet analysis {"connection_id":105415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:41:08] local.INFO: Extracted packet for processing {"connection_id":105415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:41:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:41:08] 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-06-18 04: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-06-18 04:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:41:08] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:41:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":105415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:41:08] local.INFO: GPS data processed {"connection_id":105415,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:41:08] local.INFO: Acknowledgment sent {"connection_id":105415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:41:26] local.INFO: TCP Data received {"connection_id":105631,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:41:26] local.INFO: Processing buffer {"connection_id":105631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:41:26] local.INFO: IMEI packet received {"connection_id":105631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":105631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:41:31] local.INFO: TCP Data received {"connection_id":105631,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:41:31] local.INFO: Processing buffer {"connection_id":105631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:41:31] local.INFO: IMEI packet received {"connection_id":105631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":105631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:41:33] local.INFO: TCP Data received {"connection_id":105631,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:41:33] local.INFO: Processing buffer {"connection_id":105631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7d5da28012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:41:33] local.INFO: Packet analysis {"connection_id":105631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:41:33] local.INFO: Extracted packet for processing {"connection_id":105631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7d5"} 
[2026-06-18 04:41:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124742656001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781737577000,"timestamp_ms":1781737577000,"timestamp_seconds":1781737577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7d5da28"} 
[2026-06-18 04:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:41:33] 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-06-18 04: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-06-18 04:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124742656001,"66":25038,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 04:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124742656001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:41:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 04:41:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124742656001,"power":25038,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":105631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:41:33] local.INFO: GPS data processed {"connection_id":105631,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:41:33] local.INFO: Acknowledgment sent {"connection_id":105631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:42:00] local.INFO: TCP Data received {"connection_id":107132,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:42:00] local.INFO: Processing buffer {"connection_id":107132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:42:00] local.INFO: IMEI packet received {"connection_id":107132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":107132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:42:05] local.INFO: TCP Data received {"connection_id":105631,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:42:05] local.INFO: Processing buffer {"connection_id":105631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:42:05] local.INFO: Packet analysis {"connection_id":105631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:42:05] local.INFO: Extracted packet for processing {"connection_id":105631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:42:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:42:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:42:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":105631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:42:05] local.INFO: GPS data processed {"connection_id":105631,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:42:05] local.INFO: Acknowledgment sent {"connection_id":105631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:42:26] local.INFO: TCP Data received {"connection_id":107133,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:42:26] local.INFO: Processing buffer {"connection_id":107133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:42:26] local.INFO: IMEI packet received {"connection_id":107133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":107133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:42:31] local.INFO: TCP Data received {"connection_id":107133,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:42:31] local.INFO: Processing buffer {"connection_id":107133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:42:31] local.INFO: IMEI packet received {"connection_id":107133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":107133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:42:33] local.INFO: TCP Data received {"connection_id":107133,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:42:33] local.INFO: Processing buffer {"connection_id":107133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:42:33] local.INFO: Packet analysis {"connection_id":107133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:42:33] local.INFO: Extracted packet for processing {"connection_id":107133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:42:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:42:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:42:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:42:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":107133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:42:33] local.INFO: GPS data processed {"connection_id":107133,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:42:33] local.INFO: Acknowledgment sent {"connection_id":107133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:42:34] local.INFO: TCP Data received {"connection_id":107134,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:42:34] local.INFO: Processing buffer {"connection_id":107134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:42:34] local.INFO: IMEI packet received {"connection_id":107134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":107134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:43:04] local.INFO: TCP Data received {"connection_id":107133,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:04] local.INFO: Processing buffer {"connection_id":107133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:04] local.INFO: Packet analysis {"connection_id":107133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:43:04] local.INFO: Extracted packet for processing {"connection_id":107133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:43:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:43:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:43:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":107133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:43:04] local.INFO: GPS data processed {"connection_id":107133,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:43:04] local.INFO: Acknowledgment sent {"connection_id":107133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:43:31] local.INFO: TCP Data received {"connection_id":107135,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:43:31] local.INFO: Processing buffer {"connection_id":107135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:43:31] local.INFO: IMEI packet received {"connection_id":107135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":107135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:43:36] local.INFO: TCP Data received {"connection_id":107135,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:43:36] local.INFO: Processing buffer {"connection_id":107135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:43:36] local.INFO: IMEI packet received {"connection_id":107135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":107135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:43:38] local.INFO: TCP Data received {"connection_id":107135,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:38] local.INFO: Processing buffer {"connection_id":107135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:38] local.INFO: Packet analysis {"connection_id":107135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:43:38] local.INFO: Extracted packet for processing {"connection_id":107135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:43:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:43:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:43:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:43:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:43:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:43:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:43:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:43:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:43:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:43:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:43:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:43:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:43:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:43:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:43:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:43:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:43:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:43:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:43:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:43:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:43:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:43:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:43:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:43:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:43:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:43:38] local.INFO: DEBUG: GPS processor result {"connection_id":107135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:43:38] local.INFO: GPS data processed {"connection_id":107135,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:43:38] local.INFO: Acknowledgment sent {"connection_id":107135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:43:42] local.INFO: TCP Data received {"connection_id":107135,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:42] local.INFO: Processing buffer {"connection_id":107135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:43:42] local.INFO: Packet analysis {"connection_id":107135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:43:42] local.INFO: Extracted packet for processing {"connection_id":107135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:43:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:43:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:43:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":107135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:43:42] local.INFO: GPS data processed {"connection_id":107135,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:43:42] local.INFO: Acknowledgment sent {"connection_id":107135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:44:26] local.INFO: TCP Data received {"connection_id":105418,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:44:26] local.INFO: Processing buffer {"connection_id":105418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:44:26] local.INFO: IMEI packet received {"connection_id":105418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":105418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:44:31] local.INFO: TCP Data received {"connection_id":105418,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:44:31] local.INFO: Processing buffer {"connection_id":105418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:44:31] local.INFO: IMEI packet received {"connection_id":105418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":105418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:44:33] local.INFO: TCP Data received {"connection_id":105418,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:44:33] local.INFO: Processing buffer {"connection_id":105418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:44:33] local.INFO: Packet analysis {"connection_id":105418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:44:33] local.INFO: Extracted packet for processing {"connection_id":105418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:44:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:44:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:44:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:44:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":105418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:44:33] local.INFO: GPS data processed {"connection_id":105418,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:44:33] local.INFO: Acknowledgment sent {"connection_id":105418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:45:05] local.INFO: TCP Data received {"connection_id":105418,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:45:05] local.INFO: Processing buffer {"connection_id":105418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:45:05] local.INFO: Packet analysis {"connection_id":105418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:45:05] local.INFO: Extracted packet for processing {"connection_id":105418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:45:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:45:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:45:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":105418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:45:05] local.INFO: GPS data processed {"connection_id":105418,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:45:05] local.INFO: Acknowledgment sent {"connection_id":105418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:45:26] local.INFO: TCP Data received {"connection_id":107137,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:45:26] local.INFO: Processing buffer {"connection_id":107137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:45:26] local.INFO: IMEI packet received {"connection_id":107137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":107137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:45:31] local.INFO: TCP Data received {"connection_id":107137,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:45:31] local.INFO: Processing buffer {"connection_id":107137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:45:31] local.INFO: IMEI packet received {"connection_id":107137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":107137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:45:32] local.INFO: TCP Data received {"connection_id":107137,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:45:32] local.INFO: Processing buffer {"connection_id":107137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:45:32] local.INFO: Packet analysis {"connection_id":107137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:45:32] local.INFO: Extracted packet for processing {"connection_id":107137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:45:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:45:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":107137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:45:33] local.INFO: GPS data processed {"connection_id":107137,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:45:33] local.INFO: Acknowledgment sent {"connection_id":107137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:46:05] local.INFO: TCP Data received {"connection_id":107137,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:46:05] local.INFO: Processing buffer {"connection_id":107137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:46:05] local.INFO: Packet analysis {"connection_id":107137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:46:05] local.INFO: Extracted packet for processing {"connection_id":107137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:46:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:46:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:46:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":107137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:46:05] local.INFO: GPS data processed {"connection_id":107137,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:46:05] local.INFO: Acknowledgment sent {"connection_id":107137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:46:26] local.INFO: TCP Data received {"connection_id":106164,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:46:26] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:46:26] local.INFO: IMEI packet received {"connection_id":106164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":106164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:46:31] local.INFO: TCP Data received {"connection_id":106164,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:46:31] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:46:31] local.INFO: IMEI packet received {"connection_id":106164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":106164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:46:33] local.INFO: TCP Data received {"connection_id":106164,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:46:33] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7da71f0012d59b000063e3ac8000101482d..."} 
[2026-06-18 04:46:33] local.INFO: Packet analysis {"connection_id":106164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:46:33] local.INFO: Extracted packet for processing {"connection_id":106164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7da"} 
[2026-06-18 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124819712001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781737878000,"timestamp_ms":1781737878000,"timestamp_seconds":1781737878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7da71f0"} 
[2026-06-18 04:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:46:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 04:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124819712001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124819712001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:46:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124819712001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":106164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:46:33] local.INFO: GPS data processed {"connection_id":106164,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:46:33] local.INFO: Acknowledgment sent {"connection_id":106164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:47:05] local.INFO: TCP Data received {"connection_id":106164,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:47:05] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:47:05] local.INFO: Packet analysis {"connection_id":106164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:47:05] local.INFO: Extracted packet for processing {"connection_id":106164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:47:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 04:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:47:05] 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-06-18 04: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-06-18 04:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:47:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:47:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":106164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:47:05] local.INFO: GPS data processed {"connection_id":106164,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:47:05] local.INFO: Acknowledgment sent {"connection_id":106164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:47:31] local.INFO: TCP Data received {"connection_id":105419,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:47:31] local.INFO: Processing buffer {"connection_id":105419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:47:31] local.INFO: IMEI packet received {"connection_id":105419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":105419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:47:36] local.INFO: TCP Data received {"connection_id":105419,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:47:36] local.INFO: Processing buffer {"connection_id":105419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:47:36] local.INFO: IMEI packet received {"connection_id":105419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":105419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:47:37] local.INFO: TCP Data received {"connection_id":105419,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:47:37] local.INFO: Processing buffer {"connection_id":105419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:47:37] local.INFO: Packet analysis {"connection_id":105419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:47:37] local.INFO: Extracted packet for processing {"connection_id":105419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:47:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 04:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:47: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-06-18 04: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-06-18 04:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:47:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:47:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":105419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:47:37] local.INFO: GPS data processed {"connection_id":105419,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:47:37] local.INFO: Acknowledgment sent {"connection_id":105419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:47:54] local.INFO: TCP Data received {"connection_id":107139,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:47:54] local.INFO: Processing buffer {"connection_id":107139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:47:54] local.INFO: IMEI packet received {"connection_id":107139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":107139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:48:09] local.INFO: TCP Data received {"connection_id":105419,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:48:09] local.INFO: Processing buffer {"connection_id":105419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:48:09] local.INFO: Packet analysis {"connection_id":105419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:48:09] local.INFO: Extracted packet for processing {"connection_id":105419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:48:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 04:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:48:09] 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-06-18 04:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:48:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:48:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":105419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:48:09] local.INFO: GPS data processed {"connection_id":105419,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:48:09] local.INFO: Acknowledgment sent {"connection_id":105419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:48:26] local.INFO: TCP Data received {"connection_id":106165,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:48:26] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:48:26] local.INFO: IMEI packet received {"connection_id":106165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":106165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:48:31] local.INFO: TCP Data received {"connection_id":106165,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:48:31] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:48:31] local.INFO: IMEI packet received {"connection_id":106165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":106165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:48:32] local.INFO: TCP Data received {"connection_id":106165,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:48:32] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:48:32] local.INFO: Packet analysis {"connection_id":106165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:48:32] local.INFO: Extracted packet for processing {"connection_id":106165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:48:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 04:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:48: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-06-18 04:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:48:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":106165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:48:32] local.INFO: GPS data processed {"connection_id":106165,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:48:32] local.INFO: Acknowledgment sent {"connection_id":106165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:48:35] local.INFO: TCP Data received {"connection_id":105420,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:48:35] local.INFO: Processing buffer {"connection_id":105420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:48:35] local.INFO: IMEI packet received {"connection_id":105420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":105420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:49:05] local.INFO: TCP Data received {"connection_id":106165,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:49:05] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:49:05] local.INFO: Packet analysis {"connection_id":106165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:49:05] local.INFO: Extracted packet for processing {"connection_id":106165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:49:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 04:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:49:05] 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-06-18 04:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:49:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:49:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":106165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:49:05] local.INFO: GPS data processed {"connection_id":106165,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:49:05] local.INFO: Acknowledgment sent {"connection_id":106165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:49:26] local.INFO: TCP Data received {"connection_id":105633,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:49:26] local.INFO: Processing buffer {"connection_id":105633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:49:26] local.INFO: IMEI packet received {"connection_id":105633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":105633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:49:31] local.INFO: TCP Data received {"connection_id":105633,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:49:31] local.INFO: Processing buffer {"connection_id":105633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:49:31] local.INFO: IMEI packet received {"connection_id":105633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":105633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:49:32] local.INFO: TCP Data received {"connection_id":105633,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:49:32] local.INFO: Processing buffer {"connection_id":105633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:49:32] local.INFO: Packet analysis {"connection_id":105633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:49:32] local.INFO: Extracted packet for processing {"connection_id":105633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:49:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 04:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 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-06-18 04:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:49: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-06-18 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-06-18 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-06-18 04:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:49:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":105633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:49:32] local.INFO: GPS data processed {"connection_id":105633,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:49:32] local.INFO: Acknowledgment sent {"connection_id":105633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:50:04] local.INFO: TCP Data received {"connection_id":105633,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:50:04] local.INFO: Processing buffer {"connection_id":105633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:50:04] local.INFO: Packet analysis {"connection_id":105633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:50:04] local.INFO: Extracted packet for processing {"connection_id":105633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:50:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 04:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 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-06-18 04:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:50:04] 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-06-18 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-06-18 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-06-18 04:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:50:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:50:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":105633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:50:04] local.INFO: GPS data processed {"connection_id":105633,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:50:04] local.INFO: Acknowledgment sent {"connection_id":105633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:50:31] local.INFO: TCP Data received {"connection_id":105421,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:50:31] local.INFO: Processing buffer {"connection_id":105421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:50:31] local.INFO: IMEI packet received {"connection_id":105421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":105421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:50:36] local.INFO: TCP Data received {"connection_id":105421,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:50:36] local.INFO: Processing buffer {"connection_id":105421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:50:36] local.INFO: IMEI packet received {"connection_id":105421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":105421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:50:38] local.INFO: TCP Data received {"connection_id":105421,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:50:38] local.INFO: Processing buffer {"connection_id":105421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:50:38] local.INFO: Packet analysis {"connection_id":105421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:50:38] local.INFO: Extracted packet for processing {"connection_id":105421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 04:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:50:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:50:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":105421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:50:38] local.INFO: GPS data processed {"connection_id":105421,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:50:38] local.INFO: Acknowledgment sent {"connection_id":105421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:51:10] local.INFO: TCP Data received {"connection_id":105421,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:51:10] local.INFO: Processing buffer {"connection_id":105421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:51:10] local.INFO: Packet analysis {"connection_id":105421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:51:10] local.INFO: Extracted packet for processing {"connection_id":105421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 04:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:51:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:51:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":105421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:51:10] local.INFO: GPS data processed {"connection_id":105421,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:51:10] local.INFO: Acknowledgment sent {"connection_id":105421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:51:26] local.INFO: TCP Data received {"connection_id":106168,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:51:26] local.INFO: Processing buffer {"connection_id":106168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:51:26] local.INFO: IMEI packet received {"connection_id":106168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":106168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:51:31] local.INFO: TCP Data received {"connection_id":106168,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:51:31] local.INFO: Processing buffer {"connection_id":106168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:51:31] local.INFO: IMEI packet received {"connection_id":106168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":106168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:51:34] local.INFO: TCP Data received {"connection_id":106168,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:51:34] local.INFO: Processing buffer {"connection_id":106168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7df09b8012d59b000063e3ac8000101482e..."} 
[2026-06-18 04:51:34] local.INFO: Packet analysis {"connection_id":106168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:51:34] local.INFO: Extracted packet for processing {"connection_id":106168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7df"} 
[2026-06-18 04:51:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124896768001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:51:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:51:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781738179000,"timestamp_ms":1781738179000,"timestamp_seconds":1781738179,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7df09b8"} 
[2026-06-18 04:51:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:51: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-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:51:34] 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-06-18 04: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-06-18 04:51:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:51:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124896768001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124896768001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:51:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:51:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:51:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124896768001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":106168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:51:34] local.INFO: GPS data processed {"connection_id":106168,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:51:34] local.INFO: Acknowledgment sent {"connection_id":106168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:52:06] local.INFO: TCP Data received {"connection_id":106168,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:06] local.INFO: Processing buffer {"connection_id":106168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:06] local.INFO: Packet analysis {"connection_id":106168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:52:06] local.INFO: Extracted packet for processing {"connection_id":106168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:52:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:52:06] 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-06-18 04:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:52:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:52:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":106168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:52:06] local.INFO: GPS data processed {"connection_id":106168,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:52:06] local.INFO: Acknowledgment sent {"connection_id":106168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:52:41] local.INFO: TCP Data received {"connection_id":105636,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:52:41] local.INFO: Processing buffer {"connection_id":105636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:52:41] local.INFO: IMEI packet received {"connection_id":105636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":105636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:52:46] local.INFO: TCP Data received {"connection_id":105636,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:52:46] local.INFO: Processing buffer {"connection_id":105636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:52:46] local.INFO: IMEI packet received {"connection_id":105636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":105636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:52:47] local.INFO: TCP Data received {"connection_id":105636,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:47] local.INFO: Processing buffer {"connection_id":105636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:47] local.INFO: Packet analysis {"connection_id":105636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:52:47] local.INFO: Extracted packet for processing {"connection_id":105636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:52:47] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:52:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:52:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":105636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:52:47] local.INFO: GPS data processed {"connection_id":105636,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:52:47] local.INFO: Acknowledgment sent {"connection_id":105636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:52:51] local.INFO: TCP Data received {"connection_id":105636,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:51] local.INFO: Processing buffer {"connection_id":105636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:52:51] local.INFO: Packet analysis {"connection_id":105636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:52:51] local.INFO: Extracted packet for processing {"connection_id":105636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:52:51] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:52:51] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:52:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":105636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:52:51] local.INFO: GPS data processed {"connection_id":105636,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:52:51] local.INFO: Acknowledgment sent {"connection_id":105636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:53:27] local.INFO: TCP Data received {"connection_id":105637,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:53:27] local.INFO: Processing buffer {"connection_id":105637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:53:27] local.INFO: IMEI packet received {"connection_id":105637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":105637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:53:31] local.INFO: TCP Data received {"connection_id":105637,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:53:31] local.INFO: Processing buffer {"connection_id":105637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:53:31] local.INFO: IMEI packet received {"connection_id":105637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":105637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:53:32] local.INFO: TCP Data received {"connection_id":105637,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:53:32] local.INFO: Processing buffer {"connection_id":105637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:53:32] local.INFO: Packet analysis {"connection_id":105637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:53:32] local.INFO: Extracted packet for processing {"connection_id":105637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:53:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:53:32] 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-06-18 04: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-06-18 04:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:53:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":105637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:53:32] local.INFO: GPS data processed {"connection_id":105637,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:53:32] local.INFO: Acknowledgment sent {"connection_id":105637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:54:00] local.INFO: TCP Data received {"connection_id":106169,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:54:00] local.INFO: Processing buffer {"connection_id":106169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:54:00] local.INFO: IMEI packet received {"connection_id":106169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":106169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:54:04] local.INFO: TCP Data received {"connection_id":105637,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:54:04] local.INFO: Processing buffer {"connection_id":105637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:54:04] local.INFO: Packet analysis {"connection_id":105637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:54:04] local.INFO: Extracted packet for processing {"connection_id":105637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:54:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:54:04] 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-06-18 04:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:54:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:54:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":105637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:54:04] local.INFO: GPS data processed {"connection_id":105637,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:54:04] local.INFO: Acknowledgment sent {"connection_id":105637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:54:26] local.INFO: TCP Data received {"connection_id":107140,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:54:26] local.INFO: Processing buffer {"connection_id":107140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:54:26] local.INFO: IMEI packet received {"connection_id":107140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":107140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:54:35] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:54:35] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 04:54:35] local.INFO: IMEI packet received {"connection_id":106170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 04:54:35] local.INFO: IMEI acknowledgment sent {"connection_id":106170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:55:09] local.INFO: TCP Data received {"connection_id":107140,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:09] local.INFO: Processing buffer {"connection_id":107140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:09] local.INFO: IMEI packet received {"connection_id":107140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":107140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:55:09] local.INFO: TCP Data received {"connection_id":107140,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:09] local.INFO: Processing buffer {"connection_id":107140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:09] local.INFO: IMEI packet received {"connection_id":107140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":107140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:55:10] local.INFO: TCP Data received {"connection_id":107140,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:10] local.INFO: Processing buffer {"connection_id":107140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:10] local.INFO: Packet analysis {"connection_id":107140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:55:10] local.INFO: Extracted packet for processing {"connection_id":107140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:55:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 04: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-06-18 04:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:55:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:55:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":107140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:55:10] local.INFO: GPS data processed {"connection_id":107140,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:55:10] local.INFO: Acknowledgment sent {"connection_id":107140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:55:11] local.INFO: TCP Data received {"connection_id":107140,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:11] local.INFO: Processing buffer {"connection_id":107140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:11] local.INFO: Packet analysis {"connection_id":107140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:55:11] local.INFO: Extracted packet for processing {"connection_id":107140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:55:11] 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-06-18 04: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-06-18 04:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:55:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:55:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":107140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:55:11] local.INFO: GPS data processed {"connection_id":107140,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:55:11] local.INFO: Acknowledgment sent {"connection_id":107140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:55:26] local.INFO: TCP Data received {"connection_id":105638,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:26] local.INFO: Processing buffer {"connection_id":105638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:26] local.INFO: IMEI packet received {"connection_id":105638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":105638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:55:31] local.INFO: TCP Data received {"connection_id":105638,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:31] local.INFO: Processing buffer {"connection_id":105638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:55:31] local.INFO: IMEI packet received {"connection_id":105638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":105638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:55:32] local.INFO: TCP Data received {"connection_id":105638,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:32] local.INFO: Processing buffer {"connection_id":105638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:55:32] local.INFO: Packet analysis {"connection_id":105638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:55:32] local.INFO: Extracted packet for processing {"connection_id":105638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:55:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:55:32] 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-06-18 04: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-06-18 04:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:55:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:55:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":105638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:55:32] local.INFO: GPS data processed {"connection_id":105638,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:55:32] local.INFO: Acknowledgment sent {"connection_id":105638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:56:04] local.INFO: TCP Data received {"connection_id":105638,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:04] local.INFO: Processing buffer {"connection_id":105638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:04] local.INFO: Packet analysis {"connection_id":105638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:56:04] local.INFO: Extracted packet for processing {"connection_id":105638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:56:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:56:04] 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-06-18 04: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-06-18 04:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:56:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:56:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":105638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:56:04] local.INFO: GPS data processed {"connection_id":105638,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:56:04] local.INFO: Acknowledgment sent {"connection_id":105638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:56:31] local.INFO: TCP Data received {"connection_id":106172,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:56:31] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:56:31] local.INFO: IMEI packet received {"connection_id":106172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":106172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:56:36] local.INFO: TCP Data received {"connection_id":106172,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:56:36] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:56:36] local.INFO: IMEI packet received {"connection_id":106172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":106172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:56:37] local.INFO: TCP Data received {"connection_id":106172,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:37] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:37] local.INFO: Packet analysis {"connection_id":106172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:56:37] local.INFO: Extracted packet for processing {"connection_id":106172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:56:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:56:37] 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-06-18 04: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-06-18 04:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:56:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:56:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":106172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:56:37] local.INFO: GPS data processed {"connection_id":106172,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:56:37] local.INFO: Acknowledgment sent {"connection_id":106172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:56:42] local.INFO: TCP Data received {"connection_id":106172,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:42] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e3a180012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:56:42] local.INFO: Packet analysis {"connection_id":106172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:56:42] local.INFO: Extracted packet for processing {"connection_id":106172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e3"} 
[2026-06-18 04:56:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456124973824001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781738480000,"timestamp_ms":1781738480000,"timestamp_seconds":1781738480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e3a180"} 
[2026-06-18 04:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 04:56:42] 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-06-18 04:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456124973824001,"66":25060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456124973824001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:56:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:56:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456124973824001,"power":25060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":106172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:56:42] local.INFO: GPS data processed {"connection_id":106172,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:56:42] local.INFO: Acknowledgment sent {"connection_id":106172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:57:27] local.INFO: TCP Data received {"connection_id":105422,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:57:27] local.INFO: Processing buffer {"connection_id":105422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:57:27] local.INFO: IMEI packet received {"connection_id":105422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":105422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:57:31] local.INFO: TCP Data received {"connection_id":105422,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:57:31] local.INFO: Processing buffer {"connection_id":105422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:57:31] local.INFO: IMEI packet received {"connection_id":105422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":105422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:57:33] local.INFO: TCP Data received {"connection_id":105422,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:57:33] local.INFO: Processing buffer {"connection_id":105422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:57:33] local.INFO: Packet analysis {"connection_id":105422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:57:33] local.INFO: Extracted packet for processing {"connection_id":105422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:57:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 04:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:57:33] 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-06-18 04:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:57:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:57:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":105422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:57:33] local.INFO: GPS data processed {"connection_id":105422,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:57:33] local.INFO: Acknowledgment sent {"connection_id":105422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:58:04] local.INFO: TCP Data received {"connection_id":105422,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:58:04] local.INFO: Processing buffer {"connection_id":105422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:58:04] local.INFO: Packet analysis {"connection_id":105422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:58:04] local.INFO: Extracted packet for processing {"connection_id":105422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:58:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 04:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 04:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:58:04] 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-06-18 04:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 04:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:58:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:58:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":105422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:58:04] local.INFO: GPS data processed {"connection_id":105422,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:58:04] local.INFO: Acknowledgment sent {"connection_id":105422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:58:26] local.INFO: TCP Data received {"connection_id":106174,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:58:26] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:58:26] local.INFO: IMEI packet received {"connection_id":106174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":106174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:58:31] local.INFO: TCP Data received {"connection_id":106174,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:58:31] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:58:31] local.INFO: IMEI packet received {"connection_id":106174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":106174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:58:32] local.INFO: TCP Data received {"connection_id":106174,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:58:32] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:58:32] local.INFO: Packet analysis {"connection_id":106174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:58:32] local.INFO: Extracted packet for processing {"connection_id":106174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:58:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 04:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:58: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-06-18 04: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-06-18 04:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:58:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":106174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:58:32] local.INFO: GPS data processed {"connection_id":106174,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:58:32] local.INFO: Acknowledgment sent {"connection_id":106174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:59:04] local.INFO: TCP Data received {"connection_id":106174,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:59:04] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:59:04] local.INFO: Packet analysis {"connection_id":106174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:59:04] local.INFO: Extracted packet for processing {"connection_id":106174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:59:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 04:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:59:04] 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-06-18 04: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-06-18 04:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:59:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:59:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":106174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:59:04] local.INFO: GPS data processed {"connection_id":106174,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:59:04] local.INFO: Acknowledgment sent {"connection_id":106174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 04:59:26] local.INFO: TCP Data received {"connection_id":107141,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:59:26] local.INFO: Processing buffer {"connection_id":107141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:59:26] local.INFO: IMEI packet received {"connection_id":107141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 04:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":107141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 04:59:31] local.INFO: TCP Data received {"connection_id":107141,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:59:31] local.INFO: Processing buffer {"connection_id":107141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 04:59:31] local.INFO: IMEI packet received {"connection_id":107141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 04:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":107141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 04:59:33] local.INFO: TCP Data received {"connection_id":107141,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:59:33] local.INFO: Processing buffer {"connection_id":107141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 04:59:33] local.INFO: Packet analysis {"connection_id":107141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:59:33] local.INFO: Extracted packet for processing {"connection_id":107141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 04:59:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 04: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-06-18 04:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 04:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 04:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 04:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 04:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 04:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 04:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 04: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 04:59:33] 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-06-18 04: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-06-18 04:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 04:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 04:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 04:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 04:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 04:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 04:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 04:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 04:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 04:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 04:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 04:59:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 04:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 04:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 04:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 04:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 04:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":107141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 04:59:33] local.INFO: GPS data processed {"connection_id":107141,"processed":1,"errors":0,"total":1} 
[2026-06-18 04:59:33] local.INFO: Acknowledgment sent {"connection_id":107141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:00:04] local.INFO: TCP Data received {"connection_id":105423,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:00:04] local.INFO: Processing buffer {"connection_id":105423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:00:04] local.INFO: IMEI packet received {"connection_id":105423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":105423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:00:04] local.INFO: TCP Data received {"connection_id":107141,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:04] local.INFO: Processing buffer {"connection_id":107141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:04] local.INFO: Packet analysis {"connection_id":107141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 05:00:04] local.INFO: Extracted packet for processing {"connection_id":107141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 05:00:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 05:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 05:00:04] 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-06-18 05: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-06-18 05:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:00:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:00:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":107141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:00:05] local.INFO: GPS data processed {"connection_id":107141,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:00:05] local.INFO: Acknowledgment sent {"connection_id":107141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:00:32] local.INFO: TCP Data received {"connection_id":105424,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:00:32] local.INFO: Processing buffer {"connection_id":105424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:00:32] local.INFO: IMEI packet received {"connection_id":105424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":105424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:00:34] local.INFO: TCP Data received {"connection_id":105425,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:00:34] local.INFO: Processing buffer {"connection_id":105425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:00:34] local.INFO: IMEI packet received {"connection_id":105425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":105425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:00:36] local.INFO: TCP Data received {"connection_id":105424,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:00:36] local.INFO: Processing buffer {"connection_id":105424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:00:36] local.INFO: IMEI packet received {"connection_id":105424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":105424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:00:38] local.INFO: TCP Data received {"connection_id":105424,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:38] local.INFO: Processing buffer {"connection_id":105424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:38] local.INFO: Packet analysis {"connection_id":105424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 05:00:38] local.INFO: Extracted packet for processing {"connection_id":105424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 05:00:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 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-06-18 05:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 05:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2735,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 05:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:00:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:00:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":105424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:00:38] local.INFO: GPS data processed {"connection_id":105424,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:00:38] local.INFO: Acknowledgment sent {"connection_id":105424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:00:41] local.INFO: TCP Data received {"connection_id":105424,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:41] local.INFO: Processing buffer {"connection_id":105424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:00:41] local.INFO: Packet analysis {"connection_id":105424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 05:00:41] local.INFO: Extracted packet for processing {"connection_id":105424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 05:00:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 05:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 05:00:41] 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-06-18 05:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:00:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:00:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":105424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:00:41] local.INFO: GPS data processed {"connection_id":105424,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:00:41] local.INFO: Acknowledgment sent {"connection_id":105424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:01:26] local.INFO: TCP Data received {"connection_id":105640,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:01:26] local.INFO: Processing buffer {"connection_id":105640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:01:26] local.INFO: IMEI packet received {"connection_id":105640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":105640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:01:31] local.INFO: TCP Data received {"connection_id":105640,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:01:31] local.INFO: Processing buffer {"connection_id":105640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:01:31] local.INFO: IMEI packet received {"connection_id":105640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":105640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:01:32] local.INFO: TCP Data received {"connection_id":105640,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:01:32] local.INFO: Processing buffer {"connection_id":105640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7e83948012d59b000063e3ac8000101482f..."} 
[2026-06-18 05:01:32] local.INFO: Packet analysis {"connection_id":105640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 05:01:32] local.INFO: Extracted packet for processing {"connection_id":105640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7e8"} 
[2026-06-18 05:01:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125050880001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781738781000,"timestamp_ms":1781738781000,"timestamp_seconds":1781738781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7e83948"} 
[2026-06-18 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-06-18 05:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 05:01: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-06-18 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-06-18 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-06-18 05:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125050880001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125050880001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:01:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125050880001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":105640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:01:32] local.INFO: GPS data processed {"connection_id":105640,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:01:32] local.INFO: Acknowledgment sent {"connection_id":105640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:02:04] local.INFO: TCP Data received {"connection_id":105640,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:02:04] local.INFO: Processing buffer {"connection_id":105640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:02:04] local.INFO: Packet analysis {"connection_id":105640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:02:04] local.INFO: Extracted packet for processing {"connection_id":105640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:02:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:02:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:02:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":105640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:02:04] local.INFO: GPS data processed {"connection_id":105640,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:02:04] local.INFO: Acknowledgment sent {"connection_id":105640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:02:26] local.INFO: TCP Data received {"connection_id":107142,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:02:26] local.INFO: Processing buffer {"connection_id":107142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:02:26] local.INFO: IMEI packet received {"connection_id":107142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":107142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:02:31] local.INFO: TCP Data received {"connection_id":107142,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:02:31] local.INFO: Processing buffer {"connection_id":107142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:02:31] local.INFO: IMEI packet received {"connection_id":107142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":107142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:02:34] local.INFO: TCP Data received {"connection_id":107142,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:02:34] local.INFO: Processing buffer {"connection_id":107142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:02:34] local.INFO: Packet analysis {"connection_id":107142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:02:34] local.INFO: Extracted packet for processing {"connection_id":107142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:02:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:02: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-06-18 05:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:02:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:02:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:02:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":107142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:02:34] local.INFO: GPS data processed {"connection_id":107142,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:02:34] local.INFO: Acknowledgment sent {"connection_id":107142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:03:05] local.INFO: TCP Data received {"connection_id":107142,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:03:05] local.INFO: Processing buffer {"connection_id":107142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:03:05] local.INFO: Packet analysis {"connection_id":107142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:03:05] local.INFO: Extracted packet for processing {"connection_id":107142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:03:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:03:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:03:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":107142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:03:05] local.INFO: GPS data processed {"connection_id":107142,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:03:05] local.INFO: Acknowledgment sent {"connection_id":107142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:03:26] local.INFO: TCP Data received {"connection_id":106178,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:03:26] local.INFO: Processing buffer {"connection_id":106178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:03:26] local.INFO: IMEI packet received {"connection_id":106178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":106178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:03:31] local.INFO: TCP Data received {"connection_id":106178,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:03:31] local.INFO: Processing buffer {"connection_id":106178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:03:31] local.INFO: IMEI packet received {"connection_id":106178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":106178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:03:33] local.INFO: TCP Data received {"connection_id":106178,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:03:33] local.INFO: Processing buffer {"connection_id":106178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:03:33] local.INFO: Packet analysis {"connection_id":106178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:03:33] local.INFO: Extracted packet for processing {"connection_id":106178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:03:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:03:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:03:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":106178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:03:33] local.INFO: GPS data processed {"connection_id":106178,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:03:33] local.INFO: Acknowledgment sent {"connection_id":106178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:04:05] local.INFO: TCP Data received {"connection_id":106178,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:05] local.INFO: Processing buffer {"connection_id":106178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:05] local.INFO: Packet analysis {"connection_id":106178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:04:05] local.INFO: Extracted packet for processing {"connection_id":106178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:04:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:04:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:04:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":106178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:04:05] local.INFO: GPS data processed {"connection_id":106178,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:04:05] local.INFO: Acknowledgment sent {"connection_id":106178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:04:31] local.INFO: TCP Data received {"connection_id":105426,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:04:31] local.INFO: Processing buffer {"connection_id":105426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:04:31] local.INFO: IMEI packet received {"connection_id":105426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":105426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:04:36] local.INFO: TCP Data received {"connection_id":105426,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:04:36] local.INFO: Processing buffer {"connection_id":105426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:04:36] local.INFO: IMEI packet received {"connection_id":105426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":105426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:04:38] local.INFO: TCP Data received {"connection_id":105426,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:38] local.INFO: Processing buffer {"connection_id":105426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:38] local.INFO: Packet analysis {"connection_id":105426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:04:38] local.INFO: Extracted packet for processing {"connection_id":105426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:04:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:04:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:04:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:04:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":105426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:04:38] local.INFO: GPS data processed {"connection_id":105426,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:04:38] local.INFO: Acknowledgment sent {"connection_id":105426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:04:42] local.INFO: TCP Data received {"connection_id":105426,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:42] local.INFO: Processing buffer {"connection_id":105426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:04:42] local.INFO: Packet analysis {"connection_id":105426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:04:42] local.INFO: Extracted packet for processing {"connection_id":105426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:04:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:04:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:04:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:04:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":105426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:04:42] local.INFO: GPS data processed {"connection_id":105426,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:04:42] local.INFO: Acknowledgment sent {"connection_id":105426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:05:26] local.INFO: TCP Data received {"connection_id":105641,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:05:26] local.INFO: Processing buffer {"connection_id":105641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:05:26] local.INFO: IMEI packet received {"connection_id":105641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":105641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:05:31] local.INFO: TCP Data received {"connection_id":105641,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:05:31] local.INFO: Processing buffer {"connection_id":105641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:05:31] local.INFO: IMEI packet received {"connection_id":105641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":105641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:05:32] local.INFO: TCP Data received {"connection_id":105641,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:05:32] local.INFO: Processing buffer {"connection_id":105641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:05:32] local.INFO: Packet analysis {"connection_id":105641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:05:32] local.INFO: Extracted packet for processing {"connection_id":105641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:05:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:05:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:05:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":105641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:05:32] local.INFO: GPS data processed {"connection_id":105641,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:05:32] local.INFO: Acknowledgment sent {"connection_id":105641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:05:54] local.INFO: TCP Data received {"connection_id":106180,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:05:54] local.INFO: Processing buffer {"connection_id":106180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:05:54] local.INFO: IMEI packet received {"connection_id":106180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":106180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:06:04] local.INFO: TCP Data received {"connection_id":105641,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:06:04] local.INFO: Processing buffer {"connection_id":105641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:06:04] local.INFO: Packet analysis {"connection_id":105641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:06:04] local.INFO: Extracted packet for processing {"connection_id":105641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:06:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:06:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:06:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:06:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:06:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":105641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:06:05] local.INFO: GPS data processed {"connection_id":105641,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:06:05] local.INFO: Acknowledgment sent {"connection_id":105641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:06:26] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:06:26] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:06:26] local.INFO: IMEI packet received {"connection_id":106181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":106181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:06:31] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:06:31] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:06:31] local.INFO: IMEI packet received {"connection_id":106181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":106181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:06:33] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:06:33] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ecd110012d59b000063e3ac8000101482e..."} 
[2026-06-18 05:06:33] local.INFO: Packet analysis {"connection_id":106181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:06:33] local.INFO: Extracted packet for processing {"connection_id":106181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ec"} 
[2026-06-18 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125127936001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781739082000,"timestamp_ms":1781739082000,"timestamp_seconds":1781739082,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ecd110"} 
[2026-06-18 05:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125127936001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125127936001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:06:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:06:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125127936001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":106181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:06:33] local.INFO: GPS data processed {"connection_id":106181,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:06:33] local.INFO: Acknowledgment sent {"connection_id":106181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:06:35] local.INFO: TCP Data received {"connection_id":107143,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:06:35] local.INFO: Processing buffer {"connection_id":107143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:06:35] local.INFO: IMEI packet received {"connection_id":107143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":107143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:07:05] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:07:05] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:07:05] local.INFO: Packet analysis {"connection_id":106181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:07:05] local.INFO: Extracted packet for processing {"connection_id":106181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:07:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 05:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:07:05] 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-06-18 05:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:07:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:07:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":106181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:07:05] local.INFO: GPS data processed {"connection_id":106181,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:07:05] local.INFO: Acknowledgment sent {"connection_id":106181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:07:31] local.INFO: TCP Data received {"connection_id":105428,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:07:31] local.INFO: Processing buffer {"connection_id":105428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:07:31] local.INFO: IMEI packet received {"connection_id":105428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":105428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:07:36] local.INFO: TCP Data received {"connection_id":105428,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:07:36] local.INFO: Processing buffer {"connection_id":105428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:07:36] local.INFO: IMEI packet received {"connection_id":105428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":105428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:07:37] local.INFO: TCP Data received {"connection_id":105428,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:07:37] local.INFO: Processing buffer {"connection_id":105428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:07:37] local.INFO: Packet analysis {"connection_id":105428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:07:37] local.INFO: Extracted packet for processing {"connection_id":105428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:07:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 05:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:07:37] 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-06-18 05:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:07:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:07:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:07:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":105428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:07:37] local.INFO: GPS data processed {"connection_id":105428,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:07:37] local.INFO: Acknowledgment sent {"connection_id":105428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:08:09] local.INFO: TCP Data received {"connection_id":105428,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:08:09] local.INFO: Processing buffer {"connection_id":105428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:08:09] local.INFO: Packet analysis {"connection_id":105428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:08:09] local.INFO: Extracted packet for processing {"connection_id":105428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:08:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:08: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-06-18 05:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 05:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:08: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:08:09] 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-06-18 05:08: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-06-18 05:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:08:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:08:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":105428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:08:09] local.INFO: GPS data processed {"connection_id":105428,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:08:09] local.INFO: Acknowledgment sent {"connection_id":105428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:08:26] local.INFO: TCP Data received {"connection_id":107144,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:08:26] local.INFO: Processing buffer {"connection_id":107144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:08:26] local.INFO: IMEI packet received {"connection_id":107144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":107144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:08:31] local.INFO: TCP Data received {"connection_id":107144,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:08:31] local.INFO: Processing buffer {"connection_id":107144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:08:31] local.INFO: IMEI packet received {"connection_id":107144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":107144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:08:32] local.INFO: TCP Data received {"connection_id":107144,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:08:32] local.INFO: Processing buffer {"connection_id":107144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:08:32] local.INFO: Packet analysis {"connection_id":107144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:08:32] local.INFO: Extracted packet for processing {"connection_id":107144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:08:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 05:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:08:32] 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-06-18 05: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-06-18 05:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:08:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":107144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:08:32] local.INFO: GPS data processed {"connection_id":107144,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:08:32] local.INFO: Acknowledgment sent {"connection_id":107144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:09:04] local.INFO: TCP Data received {"connection_id":107144,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:09:04] local.INFO: Processing buffer {"connection_id":107144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:09:04] local.INFO: Packet analysis {"connection_id":107144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:09:04] local.INFO: Extracted packet for processing {"connection_id":107144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:09:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 05:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:09:04] 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-06-18 05: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-06-18 05:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:09:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:09:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":107144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:09:04] local.INFO: GPS data processed {"connection_id":107144,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:09:04] local.INFO: Acknowledgment sent {"connection_id":107144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:09:26] local.INFO: TCP Data received {"connection_id":107145,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:09:26] local.INFO: Processing buffer {"connection_id":107145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:09:26] local.INFO: IMEI packet received {"connection_id":107145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":107145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:09:31] local.INFO: TCP Data received {"connection_id":107145,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:09:31] local.INFO: Processing buffer {"connection_id":107145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:09:31] local.INFO: IMEI packet received {"connection_id":107145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":107145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:09:32] local.INFO: TCP Data received {"connection_id":107145,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:09:32] local.INFO: Processing buffer {"connection_id":107145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:09:32] local.INFO: Packet analysis {"connection_id":107145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:09:32] local.INFO: Extracted packet for processing {"connection_id":107145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:09:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 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-06-18 05:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:09:32] 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-06-18 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-06-18 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-06-18 05:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:09:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:09:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":107145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:09:32] local.INFO: GPS data processed {"connection_id":107145,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:09:32] local.INFO: Acknowledgment sent {"connection_id":107145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:10:03] local.INFO: TCP Data received {"connection_id":107145,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:10:03] local.INFO: Processing buffer {"connection_id":107145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:10:03] local.INFO: Packet analysis {"connection_id":107145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:10:03] local.INFO: Extracted packet for processing {"connection_id":107145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:10:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 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-06-18 05:10:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:10:03] 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-06-18 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-06-18 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-06-18 05:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:10:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:10:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":107145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:10:03] local.INFO: GPS data processed {"connection_id":107145,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:10:03] local.INFO: Acknowledgment sent {"connection_id":107145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:11:09] local.INFO: TCP Data received {"connection_id":106183,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:09] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:09] local.INFO: IMEI packet received {"connection_id":106183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":106183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:11:10] local.INFO: TCP Data received {"connection_id":106183,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 05:11:10] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 05:11:10] local.INFO: IMEI packet received {"connection_id":106183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":106183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:11:10] local.INFO: TCP Data received {"connection_id":106183,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:11:10] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed7..."} 
[2026-06-18 05:11:10] local.INFO: IMEI packet received {"connection_id":106183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":106183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:11:11] local.INFO: TCP Data received {"connection_id":106183,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:11:11] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:11:11] local.INFO: Packet analysis {"connection_id":106183,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:11:11] local.INFO: Extracted packet for processing {"connection_id":106183,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:11:11] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 05:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:11:11] 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-06-18 05:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:11:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:11:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":106183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:11:11] local.INFO: GPS data processed {"connection_id":106183,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:11:11] local.ERROR: TCP Connection error {"connection_id":106183,"code":2,"message":"client closed"} 
[2026-06-18 05:11:11] local.INFO: Acknowledgment sent {"connection_id":106183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:11:11] local.INFO: Packet analysis {"connection_id":106183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:11:11] local.INFO: Extracted packet for processing {"connection_id":106183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:11:11] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 05:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:11:11] 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-06-18 05:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:11:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:11:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":106183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:11:11] local.INFO: GPS data processed {"connection_id":106183,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:11:11] local.INFO: Acknowledgment sent {"connection_id":106183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:11:26] local.INFO: TCP Data received {"connection_id":107146,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:26] local.INFO: Processing buffer {"connection_id":107146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:26] local.INFO: IMEI packet received {"connection_id":107146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":107146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:11:31] local.INFO: TCP Data received {"connection_id":107146,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:31] local.INFO: Processing buffer {"connection_id":107146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:11:31] local.INFO: IMEI packet received {"connection_id":107146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":107146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:11:32] local.INFO: TCP Data received {"connection_id":107146,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:11:32] local.INFO: Processing buffer {"connection_id":107146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f168d8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:11:32] local.INFO: Packet analysis {"connection_id":107146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:11:32] local.INFO: Extracted packet for processing {"connection_id":107146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f1"} 
[2026-06-18 05:11:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125204992001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781739383000,"timestamp_ms":1781739383000,"timestamp_seconds":1781739383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f168d8"} 
[2026-06-18 05:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:11:32] 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-06-18 05: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-06-18 05:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125204992001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125204992001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:11:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:11:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125204992001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":107146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:11:32] local.INFO: GPS data processed {"connection_id":107146,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:11:32] local.INFO: Acknowledgment sent {"connection_id":107146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:12:04] local.INFO: TCP Data received {"connection_id":107146,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:04] local.INFO: Processing buffer {"connection_id":107146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:04] local.INFO: Packet analysis {"connection_id":107146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:12:04] local.INFO: Extracted packet for processing {"connection_id":107146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:12:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:12:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:12:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:12:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":107146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:12:04] local.INFO: GPS data processed {"connection_id":107146,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:12:04] local.INFO: Acknowledgment sent {"connection_id":107146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:12:05] local.INFO: TCP Data received {"connection_id":105642,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:12:05] local.INFO: Processing buffer {"connection_id":105642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:12:05] local.INFO: IMEI packet received {"connection_id":105642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":105642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:12:32] local.INFO: TCP Data received {"connection_id":105432,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:12:32] local.INFO: Processing buffer {"connection_id":105432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:12:32] local.INFO: IMEI packet received {"connection_id":105432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":105432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:12:34] local.INFO: TCP Data received {"connection_id":107147,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:12:34] local.INFO: Processing buffer {"connection_id":107147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:12:34] local.INFO: IMEI packet received {"connection_id":107147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":107147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:12:36] local.INFO: TCP Data received {"connection_id":105432,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:12:36] local.INFO: Processing buffer {"connection_id":105432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:12:36] local.INFO: IMEI packet received {"connection_id":105432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":105432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:12:37] local.INFO: TCP Data received {"connection_id":105432,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:37] local.INFO: Processing buffer {"connection_id":105432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:37] local.INFO: Packet analysis {"connection_id":105432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:12:37] local.INFO: Extracted packet for processing {"connection_id":105432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:12:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:12:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:12:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":105432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:12:37] local.INFO: GPS data processed {"connection_id":105432,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:12:37] local.INFO: Acknowledgment sent {"connection_id":105432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:12:42] local.INFO: TCP Data received {"connection_id":105432,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:42] local.INFO: Processing buffer {"connection_id":105432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:12:42] local.INFO: Packet analysis {"connection_id":105432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:12:42] local.INFO: Extracted packet for processing {"connection_id":105432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:12:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:12:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:12:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:12:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":105432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:12:42] local.INFO: GPS data processed {"connection_id":105432,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:12:42] local.INFO: Acknowledgment sent {"connection_id":105432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:13:27] local.INFO: TCP Data received {"connection_id":107148,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:13:27] local.INFO: Processing buffer {"connection_id":107148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:13:27] local.INFO: IMEI packet received {"connection_id":107148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":107148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:13:31] local.INFO: TCP Data received {"connection_id":107148,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:13:31] local.INFO: Processing buffer {"connection_id":107148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:13:31] local.INFO: IMEI packet received {"connection_id":107148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":107148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:13:33] local.INFO: TCP Data received {"connection_id":107148,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:13:33] local.INFO: Processing buffer {"connection_id":107148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:13:33] local.INFO: Packet analysis {"connection_id":107148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:13:33] local.INFO: Extracted packet for processing {"connection_id":107148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:13:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":107148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:13:33] local.INFO: GPS data processed {"connection_id":107148,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:13:33] local.INFO: Acknowledgment sent {"connection_id":107148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:14:06] local.INFO: TCP Data received {"connection_id":107148,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:14:06] local.INFO: Processing buffer {"connection_id":107148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:14:06] local.INFO: Packet analysis {"connection_id":107148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:14:06] local.INFO: Extracted packet for processing {"connection_id":107148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:14:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:14:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":107148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:14:06] local.INFO: GPS data processed {"connection_id":107148,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:14:06] local.INFO: Acknowledgment sent {"connection_id":107148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:14:26] local.INFO: TCP Data received {"connection_id":107149,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:14:26] local.INFO: Processing buffer {"connection_id":107149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:14:26] local.INFO: IMEI packet received {"connection_id":107149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":107149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:14:31] local.INFO: TCP Data received {"connection_id":107149,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:14:31] local.INFO: Processing buffer {"connection_id":107149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:14:31] local.INFO: IMEI packet received {"connection_id":107149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":107149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:14:32] local.INFO: TCP Data received {"connection_id":107149,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:14:32] local.INFO: Processing buffer {"connection_id":107149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:14:32] local.INFO: Packet analysis {"connection_id":107149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:14:32] local.INFO: Extracted packet for processing {"connection_id":107149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:14:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:14:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:14:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":107149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:14:32] local.INFO: GPS data processed {"connection_id":107149,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:14:32] local.INFO: Acknowledgment sent {"connection_id":107149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:15:04] local.INFO: TCP Data received {"connection_id":107149,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:15:04] local.INFO: Processing buffer {"connection_id":107149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:15:04] local.INFO: Packet analysis {"connection_id":107149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:15:04] local.INFO: Extracted packet for processing {"connection_id":107149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:15:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:15:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:15:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:15:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:15:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":107149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:15:04] local.INFO: GPS data processed {"connection_id":107149,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:15:04] local.INFO: Acknowledgment sent {"connection_id":107149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:15:26] local.INFO: TCP Data received {"connection_id":106185,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:15:26] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:15:26] local.INFO: IMEI packet received {"connection_id":106185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":106185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:15:31] local.INFO: TCP Data received {"connection_id":106185,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:15:31] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:15:31] local.INFO: IMEI packet received {"connection_id":106185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":106185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:15:32] local.INFO: TCP Data received {"connection_id":106185,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:15:32] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:15:32] local.INFO: Packet analysis {"connection_id":106185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:15:32] local.INFO: Extracted packet for processing {"connection_id":106185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:15:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:15:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:15:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":106185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:15:32] local.INFO: GPS data processed {"connection_id":106185,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:15:32] local.INFO: Acknowledgment sent {"connection_id":106185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:16:05] local.INFO: TCP Data received {"connection_id":106185,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:05] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:05] local.INFO: Packet analysis {"connection_id":106185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:16:05] local.INFO: Extracted packet for processing {"connection_id":106185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:16:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:16:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:16:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":106185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:16:05] local.INFO: GPS data processed {"connection_id":106185,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:16:05] local.INFO: Acknowledgment sent {"connection_id":106185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:16:31] local.INFO: TCP Data received {"connection_id":105433,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:16:31] local.INFO: Processing buffer {"connection_id":105433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:16:31] local.INFO: IMEI packet received {"connection_id":105433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":105433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:16:36] local.INFO: TCP Data received {"connection_id":105433,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:16:36] local.INFO: Processing buffer {"connection_id":105433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:16:36] local.INFO: IMEI packet received {"connection_id":105433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":105433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:16:37] local.INFO: TCP Data received {"connection_id":105433,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:37] local.INFO: Processing buffer {"connection_id":105433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:37] local.INFO: Packet analysis {"connection_id":105433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:16:37] local.INFO: Extracted packet for processing {"connection_id":105433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:16:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:16:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:16:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":105433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:16:37] local.INFO: GPS data processed {"connection_id":105433,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:16:37] local.INFO: Acknowledgment sent {"connection_id":105433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:16:42] local.INFO: TCP Data received {"connection_id":105433,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:42] local.INFO: Processing buffer {"connection_id":105433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7f600a0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:16:42] local.INFO: Packet analysis {"connection_id":105433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:16:42] local.INFO: Extracted packet for processing {"connection_id":105433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7f6"} 
[2026-06-18 05:16:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125282048001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781739684000,"timestamp_ms":1781739684000,"timestamp_seconds":1781739684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7f600a0"} 
[2026-06-18 05:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:16:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125282048001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125282048001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:16:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:16:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125282048001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":105433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:16:42] local.INFO: GPS data processed {"connection_id":105433,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:16:42] local.INFO: Acknowledgment sent {"connection_id":105433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:17:26] local.INFO: TCP Data received {"connection_id":107150,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:17:26] local.INFO: Processing buffer {"connection_id":107150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:17:26] local.INFO: IMEI packet received {"connection_id":107150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":107150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:17:31] local.INFO: TCP Data received {"connection_id":107150,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:17:31] local.INFO: Processing buffer {"connection_id":107150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:17:31] local.INFO: IMEI packet received {"connection_id":107150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":107150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:17:32] local.INFO: TCP Data received {"connection_id":107150,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:17:32] local.INFO: Processing buffer {"connection_id":107150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:17:32] local.INFO: Packet analysis {"connection_id":107150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:17:32] local.INFO: Extracted packet for processing {"connection_id":107150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:17:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125359104001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781739985000,"timestamp_ms":1781739985000,"timestamp_seconds":1781739985,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7fa9868"} 
[2026-06-18 05:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125359104001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125359104001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:17:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125359104001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":107150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:17:32] local.INFO: GPS data processed {"connection_id":107150,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:17:32] local.INFO: Acknowledgment sent {"connection_id":107150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:18:00] local.INFO: TCP Data received {"connection_id":106187,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:18:00] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:18:00] local.INFO: IMEI packet received {"connection_id":106187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":106187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:18:07] local.INFO: TCP Data received {"connection_id":107150,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:18:07] local.INFO: Processing buffer {"connection_id":107150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:18:07] local.INFO: Packet analysis {"connection_id":107150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:18:07] local.INFO: Extracted packet for processing {"connection_id":107150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:18:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:18:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125359104001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:18:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:18:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:18:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:18:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781739985000,"timestamp_ms":1781739985000,"timestamp_seconds":1781739985,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7fa9868"} 
[2026-06-18 05:18:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:18:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:18:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:18:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:18:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:18:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:18:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:18:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:18:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:18:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:18:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:18:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:18:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:18:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125359104001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:18:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:18:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:18:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125359104001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:18:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:18:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:18:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:18:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:18:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125359104001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:18:07] local.INFO: DEBUG: GPS processor result {"connection_id":107150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:18:07] local.INFO: GPS data processed {"connection_id":107150,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:18:07] local.INFO: Acknowledgment sent {"connection_id":107150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:18:34] local.INFO: TCP Data received {"connection_id":105435,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:18:34] local.INFO: Processing buffer {"connection_id":105435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:18:34] local.INFO: IMEI packet received {"connection_id":105435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":105435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:19:21] local.INFO: TCP Data received {"connection_id":107151,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:19:21] local.INFO: Processing buffer {"connection_id":107151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:19:21] local.INFO: IMEI packet received {"connection_id":107151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":107151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:19:26] local.INFO: TCP Data received {"connection_id":107151,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:19:26] local.INFO: Processing buffer {"connection_id":107151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:19:26] local.INFO: IMEI packet received {"connection_id":107151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":107151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:19:28] local.INFO: TCP Data received {"connection_id":107151,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:19:28] local.INFO: Processing buffer {"connection_id":107151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:19:28] local.INFO: Packet analysis {"connection_id":107151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:19:28] local.INFO: Extracted packet for processing {"connection_id":107151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:19:28] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125359104001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781739985000,"timestamp_ms":1781739985000,"timestamp_seconds":1781739985,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7fa9868"} 
[2026-06-18 05:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125359104001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125359104001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:19:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:19:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125359104001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":107151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:19:28] local.INFO: GPS data processed {"connection_id":107151,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:19:28] local.INFO: Acknowledgment sent {"connection_id":107151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:20:02] local.INFO: TCP Data received {"connection_id":107151,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:20:02] local.INFO: Processing buffer {"connection_id":107151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:20:02] local.INFO: Packet analysis {"connection_id":107151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:20:02] local.INFO: Extracted packet for processing {"connection_id":107151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:20:02] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125359104001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781739985000,"timestamp_ms":1781739985000,"timestamp_seconds":1781739985,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7fa9868"} 
[2026-06-18 05:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125359104001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125359104001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:20:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:20:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125359104001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":107151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:20:02] local.INFO: GPS data processed {"connection_id":107151,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:20:02] local.INFO: Acknowledgment sent {"connection_id":107151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:20:25] local.INFO: TCP Data received {"connection_id":107152,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:20:25] local.INFO: Processing buffer {"connection_id":107152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:20:25] local.INFO: IMEI packet received {"connection_id":107152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":107152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:20:31] local.INFO: TCP Data received {"connection_id":107152,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:20:31] local.INFO: Processing buffer {"connection_id":107152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:20:31] local.INFO: IMEI packet received {"connection_id":107152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":107152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:20:33] local.INFO: TCP Data received {"connection_id":107152,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:20:33] local.INFO: Processing buffer {"connection_id":107152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:20:33] local.INFO: Packet analysis {"connection_id":107152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:20:33] local.INFO: Extracted packet for processing {"connection_id":107152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:20:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125359104001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781739985000,"timestamp_ms":1781739985000,"timestamp_seconds":1781739985,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7fa9868"} 
[2026-06-18 05:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125359104001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125359104001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:20:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125359104001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":107152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:20:33] local.INFO: GPS data processed {"connection_id":107152,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:20:33] local.INFO: Acknowledgment sent {"connection_id":107152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:21:05] local.INFO: TCP Data received {"connection_id":107152,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:21:05] local.INFO: Processing buffer {"connection_id":107152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:21:05] local.INFO: Packet analysis {"connection_id":107152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:21:05] local.INFO: Extracted packet for processing {"connection_id":107152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:21:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125359104001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781739985000,"timestamp_ms":1781739985000,"timestamp_seconds":1781739985,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7fa9868"} 
[2026-06-18 05:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125359104001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125359104001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:21:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:21:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125359104001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":107152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:21:05] local.INFO: GPS data processed {"connection_id":107152,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:21:05] local.INFO: Acknowledgment sent {"connection_id":107152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:21:26] local.INFO: TCP Data received {"connection_id":107153,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:21:26] local.INFO: Processing buffer {"connection_id":107153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:21:26] local.INFO: IMEI packet received {"connection_id":107153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":107153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:21:31] local.INFO: TCP Data received {"connection_id":107153,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:21:31] local.INFO: Processing buffer {"connection_id":107153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:21:31] local.INFO: IMEI packet received {"connection_id":107153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":107153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:21:32] local.INFO: TCP Data received {"connection_id":107153,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:21:32] local.INFO: Processing buffer {"connection_id":107153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:21:32] local.INFO: Packet analysis {"connection_id":107153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:21:32] local.INFO: Extracted packet for processing {"connection_id":107153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:21:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125359104001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781739985000,"timestamp_ms":1781739985000,"timestamp_seconds":1781739985,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7fa9868"} 
[2026-06-18 05:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125359104001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125359104001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:21:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:21:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125359104001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":107153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:21:32] local.INFO: GPS data processed {"connection_id":107153,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:21:32] local.INFO: Acknowledgment sent {"connection_id":107153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:22:04] local.INFO: TCP Data received {"connection_id":107153,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:22:04] local.INFO: Processing buffer {"connection_id":107153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7fa9868012d59b000063e3ac8000101482a..."} 
[2026-06-18 05:22:04] local.INFO: Packet analysis {"connection_id":107153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:22:04] local.INFO: Extracted packet for processing {"connection_id":107153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7fa"} 
[2026-06-18 05:22:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125359104001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781739985000,"timestamp_ms":1781739985000,"timestamp_seconds":1781739985,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7fa9868"} 
[2026-06-18 05:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125359104001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125359104001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:22:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:22:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125359104001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":107153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:22:04] local.INFO: GPS data processed {"connection_id":107153,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:22:04] local.INFO: Acknowledgment sent {"connection_id":107153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:22:30] local.INFO: TCP Data received {"connection_id":105646,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:22:31] local.INFO: Processing buffer {"connection_id":105646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:22:31] local.INFO: IMEI packet received {"connection_id":105646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":105646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:22:36] local.INFO: TCP Data received {"connection_id":105646,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:22:36] local.INFO: Processing buffer {"connection_id":105646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:22:36] local.INFO: IMEI packet received {"connection_id":105646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":105646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:22:37] local.INFO: TCP Data received {"connection_id":105646,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:22:37] local.INFO: Processing buffer {"connection_id":105646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:22:37] local.INFO: Packet analysis {"connection_id":105646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:22:37] local.INFO: Extracted packet for processing {"connection_id":105646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:22:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:22:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:22:37] 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-06-18 05: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-06-18 05:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:22:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:22:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:22:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":105646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:22:37] local.INFO: GPS data processed {"connection_id":105646,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:22:37] local.INFO: Acknowledgment sent {"connection_id":105646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:23:09] local.INFO: TCP Data received {"connection_id":105646,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:23:09] local.INFO: Processing buffer {"connection_id":105646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:23:09] local.INFO: Packet analysis {"connection_id":105646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:23:09] local.INFO: Extracted packet for processing {"connection_id":105646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:23:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:23:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:23:09] 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-06-18 05:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:23:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:23:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":105646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:23:09] local.INFO: GPS data processed {"connection_id":105646,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:23:09] local.INFO: Acknowledgment sent {"connection_id":105646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:23:26] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:23:26] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:23:26] local.INFO: IMEI packet received {"connection_id":106188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":106188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:23:31] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:23:31] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:23:31] local.INFO: IMEI packet received {"connection_id":106188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":106188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:23:32] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:23:32] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:23:32] local.INFO: Packet analysis {"connection_id":106188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:23:32] local.INFO: Extracted packet for processing {"connection_id":106188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:23:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:23:32] 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-06-18 05: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-06-18 05:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:23:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":106188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:23:33] local.INFO: GPS data processed {"connection_id":106188,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:23:33] local.INFO: Acknowledgment sent {"connection_id":106188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:23:55] local.INFO: TCP Data received {"connection_id":107154,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:23:55] local.INFO: Processing buffer {"connection_id":107154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:23:55] local.INFO: IMEI packet received {"connection_id":107154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":107154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:24:04] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:24:04] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:24:04] local.INFO: Packet analysis {"connection_id":106188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:24:04] local.INFO: Extracted packet for processing {"connection_id":106188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:24:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:24:04] 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-06-18 05: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-06-18 05:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:24:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:24:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":106188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:24:04] local.INFO: GPS data processed {"connection_id":106188,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:24:04] local.INFO: Acknowledgment sent {"connection_id":106188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:24:25] local.INFO: TCP Data received {"connection_id":105438,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:24:25] local.INFO: Processing buffer {"connection_id":105438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:24:25] local.INFO: IMEI packet received {"connection_id":105438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":105438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:24:31] local.INFO: TCP Data received {"connection_id":105438,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:24:31] local.INFO: Processing buffer {"connection_id":105438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:24:31] local.INFO: IMEI packet received {"connection_id":105438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":105438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:24:34] local.INFO: TCP Data received {"connection_id":105438,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:24:34] local.INFO: Processing buffer {"connection_id":105438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:24:34] local.INFO: Packet analysis {"connection_id":105438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:24:34] local.INFO: Extracted packet for processing {"connection_id":105438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:24:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:24: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-06-18 05:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:24:34] 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-06-18 05:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:24:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:24:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":105438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:24:34] local.INFO: GPS data processed {"connection_id":105438,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:24:34] local.INFO: Acknowledgment sent {"connection_id":105438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:24:34] local.INFO: TCP Data received {"connection_id":105647,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:24:34] local.INFO: Processing buffer {"connection_id":105647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:24:34] local.INFO: IMEI packet received {"connection_id":105647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":105647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:25:05] local.INFO: TCP Data received {"connection_id":105438,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:05] local.INFO: Processing buffer {"connection_id":105438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:05] local.INFO: Packet analysis {"connection_id":105438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:25:05] local.INFO: Extracted packet for processing {"connection_id":105438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:25:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:25:05] 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-06-18 05:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:25:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":105438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:25:05] local.INFO: GPS data processed {"connection_id":105438,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:25:05] local.INFO: Acknowledgment sent {"connection_id":105438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:25:31] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:25:31] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:25:31] local.INFO: IMEI packet received {"connection_id":106189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":106189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:25:36] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:25:36] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:25:36] local.INFO: IMEI packet received {"connection_id":106189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":106189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:25:37] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:37] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:37] local.INFO: Packet analysis {"connection_id":106189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:25:37] local.INFO: Extracted packet for processing {"connection_id":106189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:25:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:25:37] 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-06-18 05:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:25:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:25:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:25:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":106189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:25:37] local.INFO: GPS data processed {"connection_id":106189,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:25:37] local.INFO: Acknowledgment sent {"connection_id":106189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:25:42] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:42] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:25:42] local.INFO: Packet analysis {"connection_id":106189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:25:42] local.INFO: Extracted packet for processing {"connection_id":106189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:25:42] 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-06-18 05: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-06-18 05:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:25:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:25:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":106189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:25:42] local.INFO: GPS data processed {"connection_id":106189,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:25:42] local.INFO: Acknowledgment sent {"connection_id":106189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:26:26] local.INFO: TCP Data received {"connection_id":105439,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:26:26] local.INFO: Processing buffer {"connection_id":105439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:26:26] local.INFO: IMEI packet received {"connection_id":105439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":105439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:26:31] local.INFO: TCP Data received {"connection_id":105439,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:26:31] local.INFO: Processing buffer {"connection_id":105439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:26:31] local.INFO: IMEI packet received {"connection_id":105439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":105439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:26:33] local.INFO: TCP Data received {"connection_id":105439,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:26:33] local.INFO: Processing buffer {"connection_id":105439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:26:33] local.INFO: Packet analysis {"connection_id":105439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:26:33] local.INFO: Extracted packet for processing {"connection_id":105439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:26:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:26:33] 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-06-18 05:26:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:26:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:26:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:26:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":105439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:26:33] local.INFO: GPS data processed {"connection_id":105439,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:26:33] local.INFO: Acknowledgment sent {"connection_id":105439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:27:05] local.INFO: TCP Data received {"connection_id":105439,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:27:05] local.INFO: Processing buffer {"connection_id":105439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed7ff3030012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:27:05] local.INFO: Packet analysis {"connection_id":105439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:27:05] local.INFO: Extracted packet for processing {"connection_id":105439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed7ff"} 
[2026-06-18 05:27:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125436160001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781740286000,"timestamp_ms":1781740286000,"timestamp_seconds":1781740286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed7ff3030"} 
[2026-06-18 05:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:27:05] 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-06-18 05: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-06-18 05:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125436160001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125436160001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:27:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:27:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125436160001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":105439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:27:05] local.INFO: GPS data processed {"connection_id":105439,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:27:05] local.INFO: Acknowledgment sent {"connection_id":105439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:27:26] local.INFO: TCP Data received {"connection_id":105648,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:27:26] local.INFO: Processing buffer {"connection_id":105648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:27:26] local.INFO: IMEI packet received {"connection_id":105648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":105648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:27:31] local.INFO: TCP Data received {"connection_id":105648,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:27:31] local.INFO: Processing buffer {"connection_id":105648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:27:31] local.INFO: IMEI packet received {"connection_id":105648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":105648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:27:32] local.INFO: TCP Data received {"connection_id":105648,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:27:32] local.INFO: Processing buffer {"connection_id":105648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:27:32] local.INFO: Packet analysis {"connection_id":105648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:27:32] local.INFO: Extracted packet for processing {"connection_id":105648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:27:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 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-06-18 05:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 05:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:27:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:27:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":105648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:27:32] local.INFO: GPS data processed {"connection_id":105648,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:27:32] local.INFO: Acknowledgment sent {"connection_id":105648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:28:04] local.INFO: TCP Data received {"connection_id":105648,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:04] local.INFO: Processing buffer {"connection_id":105648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:04] local.INFO: Packet analysis {"connection_id":105648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:28:04] local.INFO: Extracted packet for processing {"connection_id":105648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 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-06-18 05:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 05:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:28:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:28:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":105648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:28:04] local.INFO: GPS data processed {"connection_id":105648,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:28:04] local.INFO: Acknowledgment sent {"connection_id":105648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:28:31] local.INFO: TCP Data received {"connection_id":107155,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:28:31] local.INFO: Processing buffer {"connection_id":107155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:28:31] local.INFO: IMEI packet received {"connection_id":107155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":107155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:28:36] local.INFO: TCP Data received {"connection_id":107155,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:28:36] local.INFO: Processing buffer {"connection_id":107155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:28:36] local.INFO: IMEI packet received {"connection_id":107155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":107155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:28:38] local.INFO: TCP Data received {"connection_id":107155,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:38] local.INFO: Processing buffer {"connection_id":107155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:38] local.INFO: Packet analysis {"connection_id":107155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:28:38] local.INFO: Extracted packet for processing {"connection_id":107155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 05:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:28:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:28:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":107155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:28:38] local.INFO: GPS data processed {"connection_id":107155,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:28:38] local.INFO: Acknowledgment sent {"connection_id":107155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:28:41] local.INFO: TCP Data received {"connection_id":107155,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:41] local.INFO: Processing buffer {"connection_id":107155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:28:41] local.INFO: Packet analysis {"connection_id":107155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:28:41] local.INFO: Extracted packet for processing {"connection_id":107155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:28:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 05:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:28:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:28:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":107155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:28:41] local.INFO: GPS data processed {"connection_id":107155,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:28:41] local.INFO: Acknowledgment sent {"connection_id":107155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:29:27] local.INFO: TCP Data received {"connection_id":105650,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:29:27] local.INFO: Processing buffer {"connection_id":105650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:29:27] local.INFO: IMEI packet received {"connection_id":105650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":105650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:29:31] local.INFO: TCP Data received {"connection_id":105650,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:29:31] local.INFO: Processing buffer {"connection_id":105650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:29:31] local.INFO: IMEI packet received {"connection_id":105650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":105650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:29:32] local.INFO: TCP Data received {"connection_id":105650,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:29:32] local.INFO: Processing buffer {"connection_id":105650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:29:32] local.INFO: Packet analysis {"connection_id":105650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:29:32] local.INFO: Extracted packet for processing {"connection_id":105650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:29:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 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-06-18 05:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 05:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:29:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:29:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":105650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:29:32] local.INFO: GPS data processed {"connection_id":105650,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:29:32] local.INFO: Acknowledgment sent {"connection_id":105650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:29:59] local.INFO: TCP Data received {"connection_id":107157,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:29:59] local.INFO: Processing buffer {"connection_id":107157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:29:59] local.INFO: IMEI packet received {"connection_id":107157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":107157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:30:04] local.INFO: TCP Data received {"connection_id":105650,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:30:04] local.INFO: Processing buffer {"connection_id":105650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:30:04] local.INFO: Packet analysis {"connection_id":105650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:30:04] local.INFO: Extracted packet for processing {"connection_id":105650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:30:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 05:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:30:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:30:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":105650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:30:04] local.INFO: GPS data processed {"connection_id":105650,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:30:04] local.INFO: Acknowledgment sent {"connection_id":105650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:30:25] local.INFO: TCP Data received {"connection_id":105440,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:30:25] local.INFO: Processing buffer {"connection_id":105440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:30:25] local.INFO: IMEI packet received {"connection_id":105440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":105440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:30:31] local.INFO: TCP Data received {"connection_id":105440,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:30:31] local.INFO: Processing buffer {"connection_id":105440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:30:31] local.INFO: IMEI packet received {"connection_id":105440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":105440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:30:32] local.INFO: TCP Data received {"connection_id":105440,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:30:32] local.INFO: Processing buffer {"connection_id":105440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:30:32] local.INFO: Packet analysis {"connection_id":105440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:30:32] local.INFO: Extracted packet for processing {"connection_id":105440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:30:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 05:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:30:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":105440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:30:32] local.INFO: GPS data processed {"connection_id":105440,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:30:32] local.INFO: Acknowledgment sent {"connection_id":105440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:30:39] local.INFO: TCP Data received {"connection_id":106192,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:30:39] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:30:39] local.INFO: IMEI packet received {"connection_id":106192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":106192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:31:04] local.INFO: TCP Data received {"connection_id":105440,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:31:04] local.INFO: Processing buffer {"connection_id":105440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:31:04] local.INFO: Packet analysis {"connection_id":105440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:31:04] local.INFO: Extracted packet for processing {"connection_id":105440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:31:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 05:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:31:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:31:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":105440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:31:04] local.INFO: GPS data processed {"connection_id":105440,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:31:04] local.INFO: Acknowledgment sent {"connection_id":105440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:31:25] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:31:25] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:31:25] local.INFO: IMEI packet received {"connection_id":105651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":105651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:31:31] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:31:31] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:31:31] local.INFO: IMEI packet received {"connection_id":105651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":105651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:31:32] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:31:32] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:31:32] local.INFO: Packet analysis {"connection_id":105651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:31:32] local.INFO: Extracted packet for processing {"connection_id":105651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:31:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 05:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:31:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:31:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":105651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:31:32] local.INFO: GPS data processed {"connection_id":105651,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:31:32] local.INFO: Acknowledgment sent {"connection_id":105651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:32:04] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:04] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed803c7f8012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:04] local.INFO: Packet analysis {"connection_id":105651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:32:04] local.INFO: Extracted packet for processing {"connection_id":105651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed803"} 
[2026-06-18 05:32:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125513216001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781740587000,"timestamp_ms":1781740587000,"timestamp_seconds":1781740587,"priority":1,"record_length":96,"hex_timestamp":"0000019ed803c7f8"} 
[2026-06-18 05:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125513216001,"66":24060,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125513216001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:32:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:32:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125513216001,"power":24060,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":105651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:32:04] local.INFO: GPS data processed {"connection_id":105651,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:32:04] local.INFO: Acknowledgment sent {"connection_id":105651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:32:32] local.INFO: TCP Data received {"connection_id":105441,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:32:32] local.INFO: Processing buffer {"connection_id":105441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:32:32] local.INFO: IMEI packet received {"connection_id":105441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":105441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:32:36] local.INFO: TCP Data received {"connection_id":105441,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:32:36] local.INFO: Processing buffer {"connection_id":105441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:32:36] local.INFO: IMEI packet received {"connection_id":105441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":105441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:32:38] local.INFO: TCP Data received {"connection_id":105441,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:38] local.INFO: Processing buffer {"connection_id":105441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:38] local.INFO: Packet analysis {"connection_id":105441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:32:38] local.INFO: Extracted packet for processing {"connection_id":105441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:32:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125590272001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781740888000,"timestamp_ms":1781740888000,"timestamp_seconds":1781740888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8085fc0"} 
[2026-06-18 05:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 05:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125590272001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125590272001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:32:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:32:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125590272001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":105441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:32:38] local.INFO: GPS data processed {"connection_id":105441,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:32:38] local.INFO: Acknowledgment sent {"connection_id":105441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:32:41] local.INFO: TCP Data received {"connection_id":105441,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:41] local.INFO: Processing buffer {"connection_id":105441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:32:41] local.INFO: Packet analysis {"connection_id":105441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:32:41] local.INFO: Extracted packet for processing {"connection_id":105441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:32:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125590272001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781740888000,"timestamp_ms":1781740888000,"timestamp_seconds":1781740888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8085fc0"} 
[2026-06-18 05:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 05:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125590272001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125590272001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:32:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:32:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125590272001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":105441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:32:41] local.INFO: GPS data processed {"connection_id":105441,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:32:41] local.INFO: Acknowledgment sent {"connection_id":105441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:33:25] local.INFO: TCP Data received {"connection_id":107159,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:33:25] local.INFO: Processing buffer {"connection_id":107159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:33:25] local.INFO: IMEI packet received {"connection_id":107159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":107159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:33:31] local.INFO: TCP Data received {"connection_id":107159,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:33:31] local.INFO: Processing buffer {"connection_id":107159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:33:31] local.INFO: IMEI packet received {"connection_id":107159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":107159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:33:33] local.INFO: TCP Data received {"connection_id":107159,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:33:33] local.INFO: Processing buffer {"connection_id":107159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:33:33] local.INFO: Packet analysis {"connection_id":107159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:33:33] local.INFO: Extracted packet for processing {"connection_id":107159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:33:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125590272001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781740888000,"timestamp_ms":1781740888000,"timestamp_seconds":1781740888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8085fc0"} 
[2026-06-18 05:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":93,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 05:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125590272001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125590272001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:33:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:33:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125590272001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":107159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:33:33] local.INFO: GPS data processed {"connection_id":107159,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:33:33] local.INFO: Acknowledgment sent {"connection_id":107159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:34:05] local.INFO: TCP Data received {"connection_id":107159,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:34:05] local.INFO: Processing buffer {"connection_id":107159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:34:05] local.INFO: Packet analysis {"connection_id":107159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:34:05] local.INFO: Extracted packet for processing {"connection_id":107159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:34:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125590272001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781740888000,"timestamp_ms":1781740888000,"timestamp_seconds":1781740888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8085fc0"} 
[2026-06-18 05:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 05:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125590272001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125590272001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:34:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:34:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125590272001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":107159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:34:05] local.INFO: GPS data processed {"connection_id":107159,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:34:05] local.INFO: Acknowledgment sent {"connection_id":107159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:34:25] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:34:25] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:34:25] local.INFO: IMEI packet received {"connection_id":106193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":106193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:34:59] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:34:59] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:34:59] local.INFO: IMEI packet received {"connection_id":106193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":106193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:35:00] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:35:00] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:35:00] local.INFO: Packet analysis {"connection_id":106193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:35:00] local.INFO: Extracted packet for processing {"connection_id":106193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:35:00] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125590272001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:35:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781740888000,"timestamp_ms":1781740888000,"timestamp_seconds":1781740888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8085fc0"} 
[2026-06-18 05:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 05:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125590272001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125590272001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:35:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:35:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125590272001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":106193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:35:00] local.INFO: GPS data processed {"connection_id":106193,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:35:00] local.INFO: Acknowledgment sent {"connection_id":106193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:35:32] local.INFO: TCP Data received {"connection_id":105652,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:35:32] local.INFO: Processing buffer {"connection_id":105652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:35:32] local.INFO: IMEI packet received {"connection_id":105652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":105652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:35:36] local.INFO: TCP Data received {"connection_id":105652,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:35:36] local.INFO: Processing buffer {"connection_id":105652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:35:36] local.INFO: IMEI packet received {"connection_id":105652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":105652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:35:38] local.INFO: TCP Data received {"connection_id":105652,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:35:38] local.INFO: Processing buffer {"connection_id":105652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:35:38] local.INFO: Packet analysis {"connection_id":105652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:35:38] local.INFO: Extracted packet for processing {"connection_id":105652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125590272001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781740888000,"timestamp_ms":1781740888000,"timestamp_seconds":1781740888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8085fc0"} 
[2026-06-18 05:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:35:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 05:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:35:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125590272001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125590272001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:35:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:35:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125590272001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":105652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:35:38] local.INFO: GPS data processed {"connection_id":105652,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:35:38] local.INFO: Acknowledgment sent {"connection_id":105652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:35:59] local.INFO: TCP Data received {"connection_id":107160,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:35:59] local.INFO: Processing buffer {"connection_id":107160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:35:59] local.INFO: IMEI packet received {"connection_id":107160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":107160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:36:09] local.INFO: TCP Data received {"connection_id":105652,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:36:09] local.INFO: Processing buffer {"connection_id":105652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:36:09] local.INFO: Packet analysis {"connection_id":105652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:36:09] local.INFO: Extracted packet for processing {"connection_id":105652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:36:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:36: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-06-18 05:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125590272001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:36:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781740888000,"timestamp_ms":1781740888000,"timestamp_seconds":1781740888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8085fc0"} 
[2026-06-18 05:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:36:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 05:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:36:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125590272001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125590272001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:36:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:36:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125590272001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":105652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:36:09] local.INFO: GPS data processed {"connection_id":105652,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:36:09] local.INFO: Acknowledgment sent {"connection_id":105652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:36:26] local.INFO: TCP Data received {"connection_id":106194,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:36:26] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:36:26] local.INFO: IMEI packet received {"connection_id":106194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":106194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:36:34] local.INFO: TCP Data received {"connection_id":105653,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:36:34] local.INFO: Processing buffer {"connection_id":105653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:36:34] local.INFO: IMEI packet received {"connection_id":105653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":105653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:36:55] local.INFO: TCP Data received {"connection_id":106194,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:36:55] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:36:55] local.INFO: IMEI packet received {"connection_id":106194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":106194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:36:56] local.INFO: TCP Data received {"connection_id":106194,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:36:56] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8085fc0012d59b000063e3ac8000101482c..."} 
[2026-06-18 05:36:56] local.INFO: Packet analysis {"connection_id":106194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:36:56] local.INFO: Extracted packet for processing {"connection_id":106194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed808"} 
[2026-06-18 05:36:56] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125590272001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781740888000,"timestamp_ms":1781740888000,"timestamp_seconds":1781740888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8085fc0"} 
[2026-06-18 05:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:36: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-06-18 05:36:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 05:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2931,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:36:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125590272001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125590272001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:36:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:36:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125590272001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":106194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:36:56] local.INFO: GPS data processed {"connection_id":106194,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:36:56] local.INFO: Acknowledgment sent {"connection_id":106194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:37:26] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:37:26] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:37:26] local.INFO: IMEI packet received {"connection_id":106195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":106195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:37:31] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:37:31] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:37:31] local.INFO: IMEI packet received {"connection_id":106195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":106195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:37:32] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:37:32] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:37:32] local.INFO: Packet analysis {"connection_id":106195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:37:32] local.INFO: Extracted packet for processing {"connection_id":106195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:37:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:37:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":106195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:37:32] local.INFO: GPS data processed {"connection_id":106195,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:37:32] local.INFO: Acknowledgment sent {"connection_id":106195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:37:37] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:37:37] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:37:37] local.INFO: Packet analysis {"connection_id":106195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:37:37] local.INFO: Extracted packet for processing {"connection_id":106195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:37:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:37:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":106195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:37:37] local.INFO: GPS data processed {"connection_id":106195,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:37:37] local.INFO: Acknowledgment sent {"connection_id":106195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:38:08] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:38:08] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:38:08] local.INFO: Packet analysis {"connection_id":106195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:38:08] local.INFO: Extracted packet for processing {"connection_id":106195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:38:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:38:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:38:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":106195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:38:09] local.INFO: GPS data processed {"connection_id":106195,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:38:09] local.INFO: Acknowledgment sent {"connection_id":106195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:38:25] local.INFO: TCP Data received {"connection_id":105654,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:38:25] local.INFO: Processing buffer {"connection_id":105654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:38:25] local.INFO: IMEI packet received {"connection_id":105654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":105654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:38:31] local.INFO: TCP Data received {"connection_id":105654,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:38:31] local.INFO: Processing buffer {"connection_id":105654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:38:31] local.INFO: IMEI packet received {"connection_id":105654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:38:31] local.INFO: IMEI acknowledgment sent {"connection_id":105654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:38:32] local.INFO: TCP Data received {"connection_id":105654,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:38:32] local.INFO: Processing buffer {"connection_id":105654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:38:32] local.INFO: Packet analysis {"connection_id":105654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:38:32] local.INFO: Extracted packet for processing {"connection_id":105654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:38:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:38:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:38:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":105654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:38:32] local.INFO: GPS data processed {"connection_id":105654,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:38:32] local.INFO: Acknowledgment sent {"connection_id":105654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:39:04] local.INFO: TCP Data received {"connection_id":105654,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:39:04] local.INFO: Processing buffer {"connection_id":105654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:39:04] local.INFO: Packet analysis {"connection_id":105654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:39:04] local.INFO: Extracted packet for processing {"connection_id":105654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:39:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:39:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:39:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":105654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:39:04] local.INFO: GPS data processed {"connection_id":105654,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:39:04] local.INFO: Acknowledgment sent {"connection_id":105654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:39:25] local.INFO: TCP Data received {"connection_id":105445,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:39:25] local.INFO: Processing buffer {"connection_id":105445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:39:25] local.INFO: IMEI packet received {"connection_id":105445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":105445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:39:31] local.INFO: TCP Data received {"connection_id":105445,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:39:31] local.INFO: Processing buffer {"connection_id":105445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:39:31] local.INFO: IMEI packet received {"connection_id":105445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":105445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:39:32] local.INFO: TCP Data received {"connection_id":105445,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:39:32] local.INFO: Processing buffer {"connection_id":105445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:39:32] local.INFO: Packet analysis {"connection_id":105445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:39:32] local.INFO: Extracted packet for processing {"connection_id":105445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:39:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 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-06-18 05:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 05:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:39:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:39:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":105445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:39:32] local.INFO: GPS data processed {"connection_id":105445,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:39:32] local.INFO: Acknowledgment sent {"connection_id":105445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:40:04] local.INFO: TCP Data received {"connection_id":105445,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:40:04] local.INFO: Processing buffer {"connection_id":105445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:40:04] local.INFO: Packet analysis {"connection_id":105445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:40:04] local.INFO: Extracted packet for processing {"connection_id":105445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:40:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 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-06-18 05:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 05:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:40:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:40:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":105445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:40:04] local.INFO: GPS data processed {"connection_id":105445,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:40:04] local.INFO: Acknowledgment sent {"connection_id":105445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:40:31] local.INFO: TCP Data received {"connection_id":106198,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:40:31] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:40:31] local.INFO: IMEI packet received {"connection_id":106198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":106198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:40:36] local.INFO: TCP Data received {"connection_id":106198,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:40:36] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:40:36] local.INFO: IMEI packet received {"connection_id":106198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":106198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:40:37] local.INFO: TCP Data received {"connection_id":106198,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:40:37] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:40:37] local.INFO: Packet analysis {"connection_id":106198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:40:37] local.INFO: Extracted packet for processing {"connection_id":106198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:40:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:40:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":106198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:40:37] local.INFO: GPS data processed {"connection_id":106198,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:40:37] local.INFO: Acknowledgment sent {"connection_id":106198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:41:19] local.INFO: TCP Data received {"connection_id":106198,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:19] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:19] local.INFO: Packet analysis {"connection_id":106198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:41:19] local.INFO: Extracted packet for processing {"connection_id":106198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:41:19] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":106198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":106198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":106198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:41:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:41:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":106198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:41:19] local.INFO: GPS data processed {"connection_id":106198,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:41:19] local.INFO: Acknowledgment sent {"connection_id":106198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:41:26] local.INFO: TCP Data received {"connection_id":105656,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:41:26] local.INFO: Processing buffer {"connection_id":105656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:41:26] local.INFO: IMEI packet received {"connection_id":105656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":105656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:41:31] local.INFO: TCP Data received {"connection_id":105656,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:41:31] local.INFO: Processing buffer {"connection_id":105656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:41:31] local.INFO: IMEI packet received {"connection_id":105656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":105656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:41:32] local.INFO: TCP Data received {"connection_id":105656,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:32] local.INFO: Processing buffer {"connection_id":105656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:32] local.INFO: Packet analysis {"connection_id":105656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:41:32] local.INFO: Extracted packet for processing {"connection_id":105656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:41:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:41:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":105656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:41:32] local.INFO: GPS data processed {"connection_id":105656,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:41:32] local.INFO: Acknowledgment sent {"connection_id":105656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:41:37] local.INFO: TCP Data received {"connection_id":105656,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:37] local.INFO: Processing buffer {"connection_id":105656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:41:37] local.INFO: Packet analysis {"connection_id":105656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:41:37] local.INFO: Extracted packet for processing {"connection_id":105656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:41:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:41:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:41:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":105656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:41:37] local.INFO: GPS data processed {"connection_id":105656,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:41:37] local.INFO: Acknowledgment sent {"connection_id":105656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:41:49] local.INFO: TCP Data received {"connection_id":105657,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:41:49] local.INFO: Processing buffer {"connection_id":105657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:41:49] local.INFO: IMEI packet received {"connection_id":105657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":105657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:42:08] local.INFO: TCP Data received {"connection_id":105656,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:42:08] local.INFO: Processing buffer {"connection_id":105656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed80cf788012d59b000063e3ac80001014827..."} 
[2026-06-18 05:42:08] local.INFO: Packet analysis {"connection_id":105656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:42:08] local.INFO: Extracted packet for processing {"connection_id":105656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed80c"} 
[2026-06-18 05:42:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":39,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125667328001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781741189000,"timestamp_ms":1781741189000,"timestamp_seconds":1781741189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed80cf788"} 
[2026-06-18 05:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 05:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125667328001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125667328001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:42:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:42:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125667328001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":105656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:42:08] local.INFO: GPS data processed {"connection_id":105656,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:42:08] local.INFO: Acknowledgment sent {"connection_id":105656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:42:26] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:42:26] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:42:26] local.INFO: IMEI packet received {"connection_id":106199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":106199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:42:31] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:42:31] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:42:31] local.INFO: IMEI packet received {"connection_id":106199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":106199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:42:32] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:42:32] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:42:32] local.INFO: Packet analysis {"connection_id":106199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:42:32] local.INFO: Extracted packet for processing {"connection_id":106199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:42:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:42:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:42:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":106199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:42:32] local.INFO: GPS data processed {"connection_id":106199,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:42:32] local.INFO: Acknowledgment sent {"connection_id":106199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:42:35] local.INFO: TCP Data received {"connection_id":107162,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:42:35] local.INFO: Processing buffer {"connection_id":107162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:42:35] local.INFO: IMEI packet received {"connection_id":107162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":107162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:43:04] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:43:04] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:43:04] local.INFO: Packet analysis {"connection_id":106199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:43:04] local.INFO: Extracted packet for processing {"connection_id":106199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:43:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:43:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:43:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":106199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:43:04] local.INFO: GPS data processed {"connection_id":106199,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:43:04] local.INFO: Acknowledgment sent {"connection_id":106199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:43:25] local.INFO: TCP Data received {"connection_id":105658,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:43:25] local.INFO: Processing buffer {"connection_id":105658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:43:25] local.INFO: IMEI packet received {"connection_id":105658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":105658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:43:31] local.INFO: TCP Data received {"connection_id":105658,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:43:31] local.INFO: Processing buffer {"connection_id":105658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:43:31] local.INFO: IMEI packet received {"connection_id":105658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":105658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:43:32] local.INFO: TCP Data received {"connection_id":105658,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:43:32] local.INFO: Processing buffer {"connection_id":105658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:43:32] local.INFO: Packet analysis {"connection_id":105658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:43:32] local.INFO: Extracted packet for processing {"connection_id":105658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:43:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:43:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:43:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":105658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:43:32] local.INFO: GPS data processed {"connection_id":105658,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:43:32] local.INFO: Acknowledgment sent {"connection_id":105658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:44:04] local.INFO: TCP Data received {"connection_id":105658,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:44:04] local.INFO: Processing buffer {"connection_id":105658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:44:04] local.INFO: Packet analysis {"connection_id":105658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:44:04] local.INFO: Extracted packet for processing {"connection_id":105658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:44:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:44:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:44:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":105658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:44:04] local.INFO: GPS data processed {"connection_id":105658,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:44:04] local.INFO: Acknowledgment sent {"connection_id":105658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:44:25] local.INFO: TCP Data received {"connection_id":105659,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:44:25] local.INFO: Processing buffer {"connection_id":105659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:44:25] local.INFO: IMEI packet received {"connection_id":105659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":105659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:44:31] local.INFO: TCP Data received {"connection_id":105659,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:44:31] local.INFO: Processing buffer {"connection_id":105659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:44:31] local.INFO: IMEI packet received {"connection_id":105659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":105659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:44:32] local.INFO: TCP Data received {"connection_id":105659,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:44:32] local.INFO: Processing buffer {"connection_id":105659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:44:32] local.INFO: Packet analysis {"connection_id":105659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:44:32] local.INFO: Extracted packet for processing {"connection_id":105659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:44:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 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-06-18 05:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 05:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:44:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:44:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":105659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:44:32] local.INFO: GPS data processed {"connection_id":105659,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:44:32] local.INFO: Acknowledgment sent {"connection_id":105659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:45:04] local.INFO: TCP Data received {"connection_id":105659,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:04] local.INFO: Processing buffer {"connection_id":105659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:04] local.INFO: Packet analysis {"connection_id":105659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:45:04] local.INFO: Extracted packet for processing {"connection_id":105659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:45:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:45:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:45:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:45:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:45:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:45:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:45:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:45:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:45:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:45:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:45:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:45:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:45:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:45:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:45:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:45:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:45:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:45:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:45:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:45:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:45:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:45:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:45:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:45:04] local.INFO: DEBUG: GPS processor result {"connection_id":105659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:45:04] local.INFO: GPS data processed {"connection_id":105659,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:45:04] local.INFO: Acknowledgment sent {"connection_id":105659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:45:31] local.INFO: TCP Data received {"connection_id":107166,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:45:31] local.INFO: Processing buffer {"connection_id":107166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:45:31] local.INFO: IMEI packet received {"connection_id":107166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":107166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:45:36] local.INFO: TCP Data received {"connection_id":107166,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:45:36] local.INFO: Processing buffer {"connection_id":107166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:45:36] local.INFO: IMEI packet received {"connection_id":107166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":107166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:45:37] local.INFO: TCP Data received {"connection_id":107166,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:37] local.INFO: Processing buffer {"connection_id":107166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:37] local.INFO: Packet analysis {"connection_id":107166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:45:37] local.INFO: Extracted packet for processing {"connection_id":107166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:45:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:45:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:45:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":107166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:45:37] local.INFO: GPS data processed {"connection_id":107166,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:45:37] local.INFO: Acknowledgment sent {"connection_id":107166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:45:42] local.INFO: TCP Data received {"connection_id":107166,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:42] local.INFO: Processing buffer {"connection_id":107166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:45:42] local.INFO: Packet analysis {"connection_id":107166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:45:42] local.INFO: Extracted packet for processing {"connection_id":107166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:45:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:45:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:45:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":107166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:45:42] local.INFO: GPS data processed {"connection_id":107166,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:45:42] local.INFO: Acknowledgment sent {"connection_id":107166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:46:25] local.INFO: TCP Data received {"connection_id":105660,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:46:25] local.INFO: Processing buffer {"connection_id":105660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:46:25] local.INFO: IMEI packet received {"connection_id":105660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":105660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:46:31] local.INFO: TCP Data received {"connection_id":105660,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:46:31] local.INFO: Processing buffer {"connection_id":105660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:46:31] local.INFO: IMEI packet received {"connection_id":105660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":105660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:46:32] local.INFO: TCP Data received {"connection_id":105660,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:46:32] local.INFO: Processing buffer {"connection_id":105660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:46:32] local.INFO: Packet analysis {"connection_id":105660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:46:32] local.INFO: Extracted packet for processing {"connection_id":105660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:46:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:46:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":105660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:46:32] local.INFO: GPS data processed {"connection_id":105660,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:46:32] local.INFO: Acknowledgment sent {"connection_id":105660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:47:04] local.INFO: TCP Data received {"connection_id":105660,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:47:04] local.INFO: Processing buffer {"connection_id":105660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8118f50012d59b000063e3ac80001014828..."} 
[2026-06-18 05:47:04] local.INFO: Packet analysis {"connection_id":105660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:47:04] local.INFO: Extracted packet for processing {"connection_id":105660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed811"} 
[2026-06-18 05:47:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125744384001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741490000,"timestamp_ms":1781741490000,"timestamp_seconds":1781741490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8118f50"} 
[2026-06-18 05:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 05:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125744384001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125744384001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:47:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:47:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125744384001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":105660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:47:04] local.INFO: GPS data processed {"connection_id":105660,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:47:04] local.INFO: Acknowledgment sent {"connection_id":105660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:47:25] local.INFO: TCP Data received {"connection_id":106200,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:47:25] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:47:25] local.INFO: IMEI packet received {"connection_id":106200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":106200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:47:31] local.INFO: TCP Data received {"connection_id":106200,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:47:31] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:47:31] local.INFO: IMEI packet received {"connection_id":106200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":106200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:47:32] local.INFO: TCP Data received {"connection_id":106200,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:47:32] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:47:32] local.INFO: Packet analysis {"connection_id":106200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:47:32] local.INFO: Extracted packet for processing {"connection_id":106200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:47:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:47:32] 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-06-18 05: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-06-18 05:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:47:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":106200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:47:32] local.INFO: GPS data processed {"connection_id":106200,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:47:32] local.INFO: Acknowledgment sent {"connection_id":106200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:48:04] local.INFO: TCP Data received {"connection_id":106200,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:04] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:04] local.INFO: Packet analysis {"connection_id":106200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:48:04] local.INFO: Extracted packet for processing {"connection_id":106200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:48:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:48:04] 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-06-18 05: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-06-18 05:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:48:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:48:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":106200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:48:04] local.INFO: GPS data processed {"connection_id":106200,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:48:04] local.INFO: Acknowledgment sent {"connection_id":106200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:48:04] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:48:04] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:48:04] local.INFO: IMEI packet received {"connection_id":106201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":106201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:48:31] local.INFO: TCP Data received {"connection_id":105447,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:48:31] local.INFO: Processing buffer {"connection_id":105447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:48:31] local.INFO: IMEI packet received {"connection_id":105447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":105447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:48:34] local.INFO: TCP Data received {"connection_id":105661,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:48:34] local.INFO: Processing buffer {"connection_id":105661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:48:34] local.INFO: IMEI packet received {"connection_id":105661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":105661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:48:36] local.INFO: TCP Data received {"connection_id":105447,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:48:36] local.INFO: Processing buffer {"connection_id":105447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:48:36] local.INFO: IMEI packet received {"connection_id":105447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":105447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:48:38] local.INFO: TCP Data received {"connection_id":105447,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:38] local.INFO: Processing buffer {"connection_id":105447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:38] local.INFO: Packet analysis {"connection_id":105447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:48:38] local.INFO: Extracted packet for processing {"connection_id":105447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:48: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-06-18 05:48:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:48:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:48:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:48:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:48:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:48:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:48: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-06-18 05:48:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:48:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:48:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:48:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:48:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:48:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:48:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:48:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:48:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:48:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:48:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:48:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:48:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:48:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:48:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:48:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:48:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:48:38] local.INFO: DEBUG: GPS processor result {"connection_id":105447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:48:38] local.INFO: GPS data processed {"connection_id":105447,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:48:38] local.INFO: Acknowledgment sent {"connection_id":105447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:48:41] local.INFO: TCP Data received {"connection_id":105447,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:41] local.INFO: Processing buffer {"connection_id":105447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:48:41] local.INFO: Packet analysis {"connection_id":105447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:48:41] local.INFO: Extracted packet for processing {"connection_id":105447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:48:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:48:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:48:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":105447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:48:41] local.INFO: GPS data processed {"connection_id":105447,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:48:41] local.INFO: Acknowledgment sent {"connection_id":105447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:49:26] local.INFO: TCP Data received {"connection_id":105448,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:49:26] local.INFO: Processing buffer {"connection_id":105448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:49:26] local.INFO: IMEI packet received {"connection_id":105448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":105448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:49:31] local.INFO: TCP Data received {"connection_id":105448,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:49:31] local.INFO: Processing buffer {"connection_id":105448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:49:31] local.INFO: IMEI packet received {"connection_id":105448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":105448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:49:32] local.INFO: TCP Data received {"connection_id":105448,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:49:32] local.INFO: Processing buffer {"connection_id":105448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:49:32] local.INFO: Packet analysis {"connection_id":105448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:49:32] local.INFO: Extracted packet for processing {"connection_id":105448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:49:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:49:32] 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-06-18 05: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-06-18 05:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:49:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:49:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":105448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:49:32] local.INFO: GPS data processed {"connection_id":105448,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:49:32] local.INFO: Acknowledgment sent {"connection_id":105448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:50:04] local.INFO: TCP Data received {"connection_id":105448,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:50:04] local.INFO: Processing buffer {"connection_id":105448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:50:04] local.INFO: Packet analysis {"connection_id":105448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:50:04] local.INFO: Extracted packet for processing {"connection_id":105448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:50:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:50:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:50:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:50:04] 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-06-18 05: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-06-18 05:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:50:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:50:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":105448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:50:04] local.INFO: GPS data processed {"connection_id":105448,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:50:04] local.INFO: Acknowledgment sent {"connection_id":105448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:50:25] local.INFO: TCP Data received {"connection_id":106202,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:50:25] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:50:25] local.INFO: IMEI packet received {"connection_id":106202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":106202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:50:31] local.INFO: TCP Data received {"connection_id":106202,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:50:31] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:50:31] local.INFO: IMEI packet received {"connection_id":106202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":106202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:50:32] local.INFO: TCP Data received {"connection_id":106202,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:50:32] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:50:32] local.INFO: Packet analysis {"connection_id":106202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:50:32] local.INFO: Extracted packet for processing {"connection_id":106202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:50:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:50:32] 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-06-18 05: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-06-18 05:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:50:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":106202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:50:32] local.INFO: GPS data processed {"connection_id":106202,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:50:32] local.INFO: Acknowledgment sent {"connection_id":106202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:51:04] local.INFO: TCP Data received {"connection_id":106202,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:04] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:04] local.INFO: Packet analysis {"connection_id":106202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:51:04] local.INFO: Extracted packet for processing {"connection_id":106202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:51:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:51:04] 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-06-18 05: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-06-18 05:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:51:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":106202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:51:04] local.INFO: GPS data processed {"connection_id":106202,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:51:04] local.INFO: Acknowledgment sent {"connection_id":106202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:51:31] local.INFO: TCP Data received {"connection_id":105449,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:51:31] local.INFO: Processing buffer {"connection_id":105449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:51:31] local.INFO: IMEI packet received {"connection_id":105449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":105449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:51:36] local.INFO: TCP Data received {"connection_id":105449,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:51:36] local.INFO: Processing buffer {"connection_id":105449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:51:36] local.INFO: IMEI packet received {"connection_id":105449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":105449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:51:38] local.INFO: TCP Data received {"connection_id":105449,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:38] local.INFO: Processing buffer {"connection_id":105449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:38] local.INFO: Packet analysis {"connection_id":105449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:51:38] local.INFO: Extracted packet for processing {"connection_id":105449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:51:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:51:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:51:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:51:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":105449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:51:38] local.INFO: GPS data processed {"connection_id":105449,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:51:38] local.INFO: Acknowledgment sent {"connection_id":105449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:51:41] local.INFO: TCP Data received {"connection_id":105449,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:41] local.INFO: Processing buffer {"connection_id":105449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8162718012d59b000063e3ac80001014829..."} 
[2026-06-18 05:51:41] local.INFO: Packet analysis {"connection_id":105449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:51:41] local.INFO: Extracted packet for processing {"connection_id":105449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed816"} 
[2026-06-18 05:51:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125821440001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781741791000,"timestamp_ms":1781741791000,"timestamp_seconds":1781741791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8162718"} 
[2026-06-18 05:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125821440001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125821440001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:51:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:51:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125821440001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":105449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:51:41] local.INFO: GPS data processed {"connection_id":105449,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:51:41] local.INFO: Acknowledgment sent {"connection_id":105449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:53:09] local.INFO: TCP Data received {"connection_id":105663,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:09] local.INFO: Processing buffer {"connection_id":105663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:09] local.INFO: IMEI packet received {"connection_id":105663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":105663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:53:10] local.INFO: TCP Data received {"connection_id":105663,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105663,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 05:53:10] local.INFO: Processing buffer {"connection_id":105663,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 05:53:10] local.INFO: IMEI packet received {"connection_id":105663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":105663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:53:12] local.INFO: TCP Data received {"connection_id":105663,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:53:12] local.INFO: Processing buffer {"connection_id":105663,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed8..."} 
[2026-06-18 05:53:12] local.INFO: IMEI packet received {"connection_id":105663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":105663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:53:25] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:25] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:25] local.INFO: IMEI packet received {"connection_id":106205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":106205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:53:31] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:31] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:53:31] local.INFO: IMEI packet received {"connection_id":106205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":106205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:53:32] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:53:32] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:53:32] local.INFO: Packet analysis {"connection_id":106205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:53:32] local.INFO: Extracted packet for processing {"connection_id":106205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:53:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125898496001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781742092000,"timestamp_ms":1781742092000,"timestamp_seconds":1781742092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81abee0"} 
[2026-06-18 05:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:53:32] 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-06-18 05: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-06-18 05:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125898496001,"66":24484,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125898496001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:53:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125898496001,"power":24484,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":106205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:53:32] local.INFO: GPS data processed {"connection_id":106205,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:53:32] local.INFO: Acknowledgment sent {"connection_id":106205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:54:00] local.INFO: TCP Data received {"connection_id":107169,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107169,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:54:00] local.INFO: Processing buffer {"connection_id":107169,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:54:00] local.INFO: IMEI packet received {"connection_id":107169,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":107169,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:54:04] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:04] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:04] local.INFO: Packet analysis {"connection_id":106205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:54:04] local.INFO: Extracted packet for processing {"connection_id":106205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:54:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125898496001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742092000,"timestamp_ms":1781742092000,"timestamp_seconds":1781742092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81abee0"} 
[2026-06-18 05:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:54:04] 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-06-18 05:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125898496001,"66":24484,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125898496001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:54:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:54:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125898496001,"power":24484,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":106205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:54:04] local.INFO: GPS data processed {"connection_id":106205,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:54:04] local.INFO: Acknowledgment sent {"connection_id":106205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:54:31] local.INFO: TCP Data received {"connection_id":105450,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:54:31] local.INFO: Processing buffer {"connection_id":105450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:54:31] local.INFO: IMEI packet received {"connection_id":105450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":105450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:54:36] local.INFO: TCP Data received {"connection_id":105450,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:54:36] local.INFO: Processing buffer {"connection_id":105450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:54:36] local.INFO: IMEI packet received {"connection_id":105450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":105450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:54:37] local.INFO: TCP Data received {"connection_id":105450,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:37] local.INFO: Processing buffer {"connection_id":105450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:37] local.INFO: Packet analysis {"connection_id":105450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:54:37] local.INFO: Extracted packet for processing {"connection_id":105450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:54:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125898496001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781742092000,"timestamp_ms":1781742092000,"timestamp_seconds":1781742092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81abee0"} 
[2026-06-18 05:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:54:37] 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-06-18 05:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125898496001,"66":24484,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125898496001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:54:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:54:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125898496001,"power":24484,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":105450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:54:37] local.INFO: GPS data processed {"connection_id":105450,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:54:37] local.INFO: Acknowledgment sent {"connection_id":105450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:54:40] local.INFO: TCP Data received {"connection_id":107170,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:54:40] local.INFO: Processing buffer {"connection_id":107170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 05:54:40] local.INFO: IMEI packet received {"connection_id":107170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 05:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":107170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:54:42] local.INFO: TCP Data received {"connection_id":105450,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:42] local.INFO: Processing buffer {"connection_id":105450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:54:42] local.INFO: Packet analysis {"connection_id":105450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:54:42] local.INFO: Extracted packet for processing {"connection_id":105450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:54:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125898496001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781742092000,"timestamp_ms":1781742092000,"timestamp_seconds":1781742092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81abee0"} 
[2026-06-18 05:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:54:42] 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-06-18 05: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-06-18 05:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125898496001,"66":24484,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125898496001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:54:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:54:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125898496001,"power":24484,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":105450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:54:42] local.INFO: GPS data processed {"connection_id":105450,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:54:42] local.INFO: Acknowledgment sent {"connection_id":105450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:55:26] local.INFO: TCP Data received {"connection_id":107171,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:55:26] local.INFO: Processing buffer {"connection_id":107171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:55:26] local.INFO: IMEI packet received {"connection_id":107171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":107171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:55:31] local.INFO: TCP Data received {"connection_id":107171,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:55:31] local.INFO: Processing buffer {"connection_id":107171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:55:31] local.INFO: IMEI packet received {"connection_id":107171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":107171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:55:32] local.INFO: TCP Data received {"connection_id":107171,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:55:32] local.INFO: Processing buffer {"connection_id":107171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:55:32] local.INFO: Packet analysis {"connection_id":107171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:55:32] local.INFO: Extracted packet for processing {"connection_id":107171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:55:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125898496001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781742092000,"timestamp_ms":1781742092000,"timestamp_seconds":1781742092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81abee0"} 
[2026-06-18 05:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:55:32] 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-06-18 05: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-06-18 05:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125898496001,"66":24484,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125898496001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:55:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:55:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125898496001,"power":24484,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":107171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:55:32] local.INFO: GPS data processed {"connection_id":107171,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:55:32] local.INFO: Acknowledgment sent {"connection_id":107171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:56:04] local.INFO: TCP Data received {"connection_id":107171,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:56:04] local.INFO: Processing buffer {"connection_id":107171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:56:04] local.INFO: Packet analysis {"connection_id":107171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:56:04] local.INFO: Extracted packet for processing {"connection_id":107171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:56:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125898496001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742092000,"timestamp_ms":1781742092000,"timestamp_seconds":1781742092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81abee0"} 
[2026-06-18 05:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:56:04] 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-06-18 05: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-06-18 05:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125898496001,"66":24484,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125898496001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:56:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:56:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125898496001,"power":24484,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":107171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:56:04] local.INFO: GPS data processed {"connection_id":107171,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:56:04] local.INFO: Acknowledgment sent {"connection_id":107171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:56:25] local.INFO: TCP Data received {"connection_id":105665,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:56:25] local.INFO: Processing buffer {"connection_id":105665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:56:25] local.INFO: IMEI packet received {"connection_id":105665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":105665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:56:31] local.INFO: TCP Data received {"connection_id":105665,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:56:31] local.INFO: Processing buffer {"connection_id":105665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:56:31] local.INFO: IMEI packet received {"connection_id":105665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":105665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:56:32] local.INFO: TCP Data received {"connection_id":105665,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:56:32] local.INFO: Processing buffer {"connection_id":105665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:56:32] local.INFO: Packet analysis {"connection_id":105665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:56:32] local.INFO: Extracted packet for processing {"connection_id":105665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:56:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 05:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125898496001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781742092000,"timestamp_ms":1781742092000,"timestamp_seconds":1781742092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81abee0"} 
[2026-06-18 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-06-18 05:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:56:32] 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-06-18 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-06-18 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-06-18 05:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125898496001,"66":24484,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125898496001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:56:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125898496001,"power":24484,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":105665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:56:32] local.INFO: GPS data processed {"connection_id":105665,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:56:32] local.INFO: Acknowledgment sent {"connection_id":105665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:57:04] local.INFO: TCP Data received {"connection_id":105665,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:57:04] local.INFO: Processing buffer {"connection_id":105665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81abee0012d59b000063e3ac8000101482b..."} 
[2026-06-18 05:57:04] local.INFO: Packet analysis {"connection_id":105665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:57:04] local.INFO: Extracted packet for processing {"connection_id":105665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81a"} 
[2026-06-18 05:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125898496001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742092000,"timestamp_ms":1781742092000,"timestamp_seconds":1781742092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81abee0"} 
[2026-06-18 05:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 05:57:04] 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-06-18 05:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125898496001,"66":24484,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125898496001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:57:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125898496001,"power":24484,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":105665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:57:05] local.INFO: GPS data processed {"connection_id":105665,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:57:05] local.INFO: Acknowledgment sent {"connection_id":105665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:57:31] local.INFO: TCP Data received {"connection_id":107173,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:57:31] local.INFO: Processing buffer {"connection_id":107173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:57:31] local.INFO: IMEI packet received {"connection_id":107173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":107173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:57:36] local.INFO: TCP Data received {"connection_id":107173,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:57:36] local.INFO: Processing buffer {"connection_id":107173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:57:36] local.INFO: IMEI packet received {"connection_id":107173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":107173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:57:37] local.INFO: TCP Data received {"connection_id":107173,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:57:37] local.INFO: Processing buffer {"connection_id":107173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:57:37] local.INFO: Packet analysis {"connection_id":107173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:57:37] local.INFO: Extracted packet for processing {"connection_id":107173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:57:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 05:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:57:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 05:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:57:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:57:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":107173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:57:37] local.INFO: GPS data processed {"connection_id":107173,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:57:37] local.INFO: Acknowledgment sent {"connection_id":107173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:57:42] local.INFO: TCP Data received {"connection_id":107173,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:57:42] local.INFO: Processing buffer {"connection_id":107173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:57:42] local.INFO: Packet analysis {"connection_id":107173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:57:42] local.INFO: Extracted packet for processing {"connection_id":107173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 05:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 05:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 05:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 05:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:57:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:57:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":107173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:57:42] local.INFO: GPS data processed {"connection_id":107173,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:57:42] local.INFO: Acknowledgment sent {"connection_id":107173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:58:27] local.INFO: TCP Data received {"connection_id":105451,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:58:27] local.INFO: Processing buffer {"connection_id":105451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:58:27] local.INFO: IMEI packet received {"connection_id":105451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":105451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:58:31] local.INFO: TCP Data received {"connection_id":105451,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:58:31] local.INFO: Processing buffer {"connection_id":105451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:58:31] local.INFO: IMEI packet received {"connection_id":105451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":105451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:58:33] local.INFO: TCP Data received {"connection_id":105451,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:58:33] local.INFO: Processing buffer {"connection_id":105451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:58:33] local.INFO: Packet analysis {"connection_id":105451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:58:33] local.INFO: Extracted packet for processing {"connection_id":105451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:58:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 05:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 05:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:58:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:58:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":105451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:58:33] local.INFO: GPS data processed {"connection_id":105451,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:58:33] local.INFO: Acknowledgment sent {"connection_id":105451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:58:39] local.INFO: TCP Data received {"connection_id":106207,"ip":"101.36.114.252","data_length":257,"data_hex":"16030100fc010000f803035525996d0658299dd8090aa7e39f3cb341931fcd44..."} 
[2026-06-18 05:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":257,"packet_hex":"16030100fc010000f803035525996d0658299dd8090aa7e39f3cb341931fcd44..."} 
[2026-06-18 05:58:39] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":257,"buffer_hex":"16030100fc010000f803035525996d0658299dd8090aa7e39f3cb341931fcd44..."} 
[2026-06-18 05:58:39] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":106207,"buffer_length":257,"first_bytes_hex":"16030100fc010000f803035525996d06"} 
[2026-06-18 05:58:58] local.INFO: TCP Data received {"connection_id":105666,"ip":"101.36.114.252","data_length":254,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-18 05:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105666,"packet_length":254,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-18 05:58:58] local.INFO: Processing buffer {"connection_id":105666,"buffer_length":254,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-18 05:58:58] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":105666,"buffer_length":254,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-06-18 05:59:04] local.INFO: TCP Data received {"connection_id":105451,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:59:04] local.INFO: Processing buffer {"connection_id":105451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:59:04] local.INFO: Packet analysis {"connection_id":105451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:59:04] local.INFO: Extracted packet for processing {"connection_id":105451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:59:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 05:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 05:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:59:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:59:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":105451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:59:04] local.INFO: GPS data processed {"connection_id":105451,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:59:04] local.INFO: Acknowledgment sent {"connection_id":105451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:59:17] local.INFO: TCP Data received {"connection_id":105667,"ip":"101.36.114.252","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-06-18 05:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105667,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-06-18 05:59:17] local.INFO: Processing buffer {"connection_id":105667,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-06-18 05:59:25] local.INFO: TCP Data received {"connection_id":106208,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:59:25] local.INFO: Processing buffer {"connection_id":106208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:59:25] local.INFO: IMEI packet received {"connection_id":106208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 05:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":106208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 05:59:31] local.INFO: TCP Data received {"connection_id":106208,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:59:31] local.INFO: Processing buffer {"connection_id":106208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 05:59:31] local.INFO: IMEI packet received {"connection_id":106208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 05:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":106208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 05:59:33] local.INFO: TCP Data received {"connection_id":106208,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:59:33] local.INFO: Processing buffer {"connection_id":106208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 05:59:33] local.INFO: Packet analysis {"connection_id":106208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:59:33] local.INFO: Extracted packet for processing {"connection_id":106208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 05:59:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 05: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-06-18 05:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 05:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 05:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 05:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 05:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 05:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 05:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 05: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":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 05:59:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 05: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-06-18 05:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 05:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 05:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 05:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 05:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 05:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 05:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 05:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 05:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 05:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 05:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 05:59:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 05:59:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 05:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 05:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 05:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 05:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":106208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 05:59:33] local.INFO: GPS data processed {"connection_id":106208,"processed":1,"errors":0,"total":1} 
[2026-06-18 05:59:33] local.INFO: Acknowledgment sent {"connection_id":106208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 05:59:36] local.INFO: TCP Data received {"connection_id":105668,"ip":"101.36.114.252","data_length":41,"data_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-06-18 05:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105668,"packet_length":41,"packet_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-06-18 05:59:36] local.INFO: Processing buffer {"connection_id":105668,"buffer_length":41,"buffer_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-06-18 05:59:36] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":105668,"buffer_length":41,"first_bytes_hex":"050400010280050100030a6769746875"} 
[2026-06-18 05:59:54] local.INFO: TCP Data received {"connection_id":107175,"ip":"101.36.114.252","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-06-18 05:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107175,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-06-18 05:59:54] local.INFO: Processing buffer {"connection_id":107175,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-06-18 06:00:05] local.INFO: TCP Data received {"connection_id":106208,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:05] local.INFO: Processing buffer {"connection_id":106208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:05] local.INFO: Packet analysis {"connection_id":106208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:00:05] local.INFO: Extracted packet for processing {"connection_id":106208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:00:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 06:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 06:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:00:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:00:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":106208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:00:05] local.INFO: GPS data processed {"connection_id":106208,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:00:05] local.INFO: Acknowledgment sent {"connection_id":106208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:00:09] local.INFO: TCP Data received {"connection_id":107174,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107174,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:00:09] local.INFO: Processing buffer {"connection_id":107174,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:00:09] local.INFO: IMEI packet received {"connection_id":107174,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":107174,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:00:13] local.INFO: TCP Data received {"connection_id":107176,"ip":"101.36.114.252","data_length":51,"data_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-06-18 06:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107176,"packet_length":51,"packet_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-06-18 06:00:13] local.INFO: Processing buffer {"connection_id":107176,"buffer_length":51,"buffer_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-06-18 06:00:13] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":107176,"buffer_length":51,"first_bytes_hex":"030000332ee00000000000436f6f6b69"} 
[2026-06-18 06:00:31] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:00:31] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:00:31] local.INFO: IMEI packet received {"connection_id":106209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":106209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:00:34] local.INFO: TCP Data received {"connection_id":106210,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:00:34] local.INFO: Processing buffer {"connection_id":106210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:00:34] local.INFO: IMEI packet received {"connection_id":106210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:00:34] local.INFO: IMEI acknowledgment sent {"connection_id":106210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:00:36] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:00:36] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:00:36] local.INFO: IMEI packet received {"connection_id":106209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":106209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:00:38] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:38] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:38] local.INFO: Packet analysis {"connection_id":106209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:00:38] local.INFO: Extracted packet for processing {"connection_id":106209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:00:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 06:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:00:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 06:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:00:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:00:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":106209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:00:38] local.INFO: GPS data processed {"connection_id":106209,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:00:38] local.INFO: Acknowledgment sent {"connection_id":106209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:00:42] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:42] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:00:42] local.INFO: Packet analysis {"connection_id":106209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:00:42] local.INFO: Extracted packet for processing {"connection_id":106209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 06:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 06:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:00:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:00:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":106209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:00:42] local.INFO: GPS data processed {"connection_id":106209,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:00:42] local.INFO: Acknowledgment sent {"connection_id":106209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:01:26] local.INFO: TCP Data received {"connection_id":105454,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:01:26] local.INFO: Processing buffer {"connection_id":105454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:01:26] local.INFO: IMEI packet received {"connection_id":105454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":105454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:01:31] local.INFO: TCP Data received {"connection_id":105454,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:01:31] local.INFO: Processing buffer {"connection_id":105454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:01:31] local.INFO: IMEI packet received {"connection_id":105454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":105454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:01:32] local.INFO: TCP Data received {"connection_id":105454,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:01:32] local.INFO: Processing buffer {"connection_id":105454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:01:32] local.INFO: Packet analysis {"connection_id":105454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:01:32] local.INFO: Extracted packet for processing {"connection_id":105454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:01:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 06:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 06:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:01:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":105454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:01:32] local.INFO: GPS data processed {"connection_id":105454,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:01:32] local.INFO: Acknowledgment sent {"connection_id":105454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:02:04] local.INFO: TCP Data received {"connection_id":105454,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:02:04] local.INFO: Processing buffer {"connection_id":105454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed81f56a8012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:02:04] local.INFO: Packet analysis {"connection_id":105454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:02:04] local.INFO: Extracted packet for processing {"connection_id":105454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed81f"} 
[2026-06-18 06:02:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456125975552001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742393000,"timestamp_ms":1781742393000,"timestamp_seconds":1781742393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed81f56a8"} 
[2026-06-18 06:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 06:02:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2149,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456125975552001,"66":24658,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456125975552001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:02:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:02:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456125975552001,"power":24658,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":105454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:02:04] local.INFO: GPS data processed {"connection_id":105454,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:02:04] local.INFO: Acknowledgment sent {"connection_id":105454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:02:25] local.INFO: TCP Data received {"connection_id":105669,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:02:25] local.INFO: Processing buffer {"connection_id":105669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:02:25] local.INFO: IMEI packet received {"connection_id":105669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":105669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:02:30] local.INFO: TCP Data received {"connection_id":105669,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:02:30] local.INFO: Processing buffer {"connection_id":105669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:02:30] local.INFO: IMEI packet received {"connection_id":105669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":105669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:02:31] local.INFO: TCP Data received {"connection_id":105669,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:02:31] local.INFO: Processing buffer {"connection_id":105669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:02:31] local.INFO: Packet analysis {"connection_id":105669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:02:31] local.INFO: Extracted packet for processing {"connection_id":105669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:02:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:02:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:02:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":105669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:02:31] local.INFO: GPS data processed {"connection_id":105669,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:02:31] local.INFO: Acknowledgment sent {"connection_id":105669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:03:03] local.INFO: TCP Data received {"connection_id":105669,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:03:03] local.INFO: Processing buffer {"connection_id":105669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:03:03] local.INFO: Packet analysis {"connection_id":105669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:03:03] local.INFO: Extracted packet for processing {"connection_id":105669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:03:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:03:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:03:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":105669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:03:03] local.INFO: GPS data processed {"connection_id":105669,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:03:03] local.INFO: Acknowledgment sent {"connection_id":105669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:03:25] local.INFO: TCP Data received {"connection_id":107178,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:03:25] local.INFO: Processing buffer {"connection_id":107178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:03:25] local.INFO: IMEI packet received {"connection_id":107178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":107178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:03:31] local.INFO: TCP Data received {"connection_id":107178,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:03:31] local.INFO: Processing buffer {"connection_id":107178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:03:31] local.INFO: IMEI packet received {"connection_id":107178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":107178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:03:32] local.INFO: TCP Data received {"connection_id":107178,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:03:32] local.INFO: Processing buffer {"connection_id":107178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:03:32] local.INFO: Packet analysis {"connection_id":107178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:03:32] local.INFO: Extracted packet for processing {"connection_id":107178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:03:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:03:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":107178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:03:32] local.INFO: GPS data processed {"connection_id":107178,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:03:32] local.INFO: Acknowledgment sent {"connection_id":107178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:04:04] local.INFO: TCP Data received {"connection_id":107178,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:04:04] local.INFO: Processing buffer {"connection_id":107178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:04:04] local.INFO: Packet analysis {"connection_id":107178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:04:04] local.INFO: Extracted packet for processing {"connection_id":107178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:04:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:04:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":107178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:04:04] local.INFO: GPS data processed {"connection_id":107178,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:04:04] local.INFO: Acknowledgment sent {"connection_id":107178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:04:25] local.INFO: TCP Data received {"connection_id":105456,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:04:25] local.INFO: Processing buffer {"connection_id":105456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:04:25] local.INFO: IMEI packet received {"connection_id":105456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":105456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:04:31] local.INFO: TCP Data received {"connection_id":105456,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:04:31] local.INFO: Processing buffer {"connection_id":105456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:04:31] local.INFO: IMEI packet received {"connection_id":105456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":105456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:04:33] local.INFO: TCP Data received {"connection_id":105456,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:04:33] local.INFO: Processing buffer {"connection_id":105456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:04:33] local.INFO: Packet analysis {"connection_id":105456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:04:33] local.INFO: Extracted packet for processing {"connection_id":105456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:04:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:04:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:04:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:04:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":105456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:04:33] local.INFO: GPS data processed {"connection_id":105456,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:04:33] local.INFO: Acknowledgment sent {"connection_id":105456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:05:04] local.INFO: TCP Data received {"connection_id":105456,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:05:04] local.INFO: Processing buffer {"connection_id":105456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:05:04] local.INFO: Packet analysis {"connection_id":105456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:05:04] local.INFO: Extracted packet for processing {"connection_id":105456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:05:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:05:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:05:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":105456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:05:04] local.INFO: GPS data processed {"connection_id":105456,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:05:04] local.INFO: Acknowledgment sent {"connection_id":105456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:05:31] local.INFO: TCP Data received {"connection_id":107179,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:05:31] local.INFO: Processing buffer {"connection_id":107179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:05:31] local.INFO: IMEI packet received {"connection_id":107179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":107179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:05:36] local.INFO: TCP Data received {"connection_id":107179,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:05:36] local.INFO: Processing buffer {"connection_id":107179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:05:36] local.INFO: IMEI packet received {"connection_id":107179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":107179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:05:37] local.INFO: TCP Data received {"connection_id":107179,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:05:37] local.INFO: Processing buffer {"connection_id":107179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:05:37] local.INFO: Packet analysis {"connection_id":107179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:05:37] local.INFO: Extracted packet for processing {"connection_id":107179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:05:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:05:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:05:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:05:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":107179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:05:37] local.INFO: GPS data processed {"connection_id":107179,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:05:37] local.INFO: Acknowledgment sent {"connection_id":107179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:05:59] local.INFO: TCP Data received {"connection_id":106212,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:05:59] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:05:59] local.INFO: IMEI packet received {"connection_id":106212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":106212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:06:28] local.INFO: TCP Data received {"connection_id":107179,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:06:28] local.INFO: Processing buffer {"connection_id":107179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:06:28] local.INFO: Packet analysis {"connection_id":107179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:06:28] local.INFO: Extracted packet for processing {"connection_id":107179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:06:28] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:06:28] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:06:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":107179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:06:28] local.INFO: GPS data processed {"connection_id":107179,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:06:28] local.INFO: Acknowledgment sent {"connection_id":107179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:06:35] local.INFO: TCP Data received {"connection_id":105457,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105457,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:06:35] local.INFO: Processing buffer {"connection_id":105457,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:06:35] local.INFO: IMEI packet received {"connection_id":105457,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:06:35] local.INFO: IMEI acknowledgment sent {"connection_id":105457,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:06:36] local.INFO: TCP Data received {"connection_id":105671,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:06:36] local.INFO: Processing buffer {"connection_id":105671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:06:36] local.INFO: IMEI packet received {"connection_id":105671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":105671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:06:41] local.INFO: TCP Data received {"connection_id":105671,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:06:41] local.INFO: Processing buffer {"connection_id":105671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:06:41] local.INFO: IMEI packet received {"connection_id":105671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":105671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:06:42] local.INFO: TCP Data received {"connection_id":105671,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:06:42] local.INFO: Processing buffer {"connection_id":105671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:06:42] local.INFO: Packet analysis {"connection_id":105671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:06:42] local.INFO: Extracted packet for processing {"connection_id":105671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:06:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:06:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:06:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":105671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:06:42] local.INFO: GPS data processed {"connection_id":105671,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:06:42] local.INFO: Acknowledgment sent {"connection_id":105671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:07:33] local.INFO: TCP Data received {"connection_id":105671,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:07:33] local.INFO: Processing buffer {"connection_id":105671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed823ee70012d59b000063e3ac8000101482b..."} 
[2026-06-18 06:07:33] local.INFO: Packet analysis {"connection_id":105671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:07:33] local.INFO: Extracted packet for processing {"connection_id":105671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed823"} 
[2026-06-18 06:07:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126052608001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781742694000,"timestamp_ms":1781742694000,"timestamp_seconds":1781742694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed823ee70"} 
[2026-06-18 06:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:07:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 06:07:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126052608001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126052608001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:07:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126052608001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":105671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:07:33] local.INFO: GPS data processed {"connection_id":105671,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:07:33] local.INFO: Acknowledgment sent {"connection_id":105671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:07:35] local.INFO: TCP Data received {"connection_id":105458,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:07:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:07:35] local.INFO: Processing buffer {"connection_id":105458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:07:35] local.INFO: IMEI packet received {"connection_id":105458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:07:35] local.INFO: IMEI acknowledgment sent {"connection_id":105458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:07:41] local.INFO: TCP Data received {"connection_id":105458,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:07:41] local.INFO: Processing buffer {"connection_id":105458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:07:41] local.INFO: IMEI packet received {"connection_id":105458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":105458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:07:42] local.INFO: TCP Data received {"connection_id":105458,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:07:42] local.INFO: Processing buffer {"connection_id":105458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:07:42] local.INFO: Packet analysis {"connection_id":105458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:07:42] local.INFO: Extracted packet for processing {"connection_id":105458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:07:42] 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-06-18 06:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:07:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:07:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":105458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:07:42] local.INFO: GPS data processed {"connection_id":105458,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:07:42] local.INFO: Acknowledgment sent {"connection_id":105458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:08:26] local.INFO: TCP Data received {"connection_id":106213,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:08:26] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:08:26] local.INFO: IMEI packet received {"connection_id":106213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":106213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:08:31] local.INFO: TCP Data received {"connection_id":106213,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:08:31] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:08:31] local.INFO: IMEI packet received {"connection_id":106213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":106213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:08:32] local.INFO: TCP Data received {"connection_id":106213,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:08:32] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:08:32] local.INFO: Packet analysis {"connection_id":106213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:08:32] local.INFO: Extracted packet for processing {"connection_id":106213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:08:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:08:32] 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-06-18 06: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-06-18 06:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:08:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:08:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":106213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:08:32] local.INFO: GPS data processed {"connection_id":106213,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:08:32] local.INFO: Acknowledgment sent {"connection_id":106213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:09:04] local.INFO: TCP Data received {"connection_id":106213,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:09:04] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:09:04] local.INFO: Packet analysis {"connection_id":106213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:09:04] local.INFO: Extracted packet for processing {"connection_id":106213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:09:04] 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-06-18 06: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-06-18 06:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:09:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:09:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":106213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:09:04] local.INFO: GPS data processed {"connection_id":106213,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:09:04] local.INFO: Acknowledgment sent {"connection_id":106213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:09:25] local.INFO: TCP Data received {"connection_id":105460,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:09:25] local.INFO: Processing buffer {"connection_id":105460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:09:25] local.INFO: IMEI packet received {"connection_id":105460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":105460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:09:31] local.INFO: TCP Data received {"connection_id":105460,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:09:31] local.INFO: Processing buffer {"connection_id":105460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:09:31] local.INFO: IMEI packet received {"connection_id":105460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:09:31] local.INFO: IMEI acknowledgment sent {"connection_id":105460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:09:33] local.INFO: TCP Data received {"connection_id":105460,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:09:33] local.INFO: Processing buffer {"connection_id":105460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:09:33] local.INFO: Packet analysis {"connection_id":105460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:09:33] local.INFO: Extracted packet for processing {"connection_id":105460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:09:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:09:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:09:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:09:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:09:33] 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-06-18 06:09:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:09:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:09:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":105460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:09:33] local.INFO: GPS data processed {"connection_id":105460,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:09:33] local.INFO: Acknowledgment sent {"connection_id":105460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:10:05] local.INFO: TCP Data received {"connection_id":105460,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:10:05] local.INFO: Processing buffer {"connection_id":105460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:10:05] local.INFO: Packet analysis {"connection_id":105460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:10:05] local.INFO: Extracted packet for processing {"connection_id":105460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:10:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:10:05] 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-06-18 06: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-06-18 06:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:10:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:10:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":105460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:10:05] local.INFO: GPS data processed {"connection_id":105460,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:10:05] local.INFO: Acknowledgment sent {"connection_id":105460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:10:25] local.INFO: TCP Data received {"connection_id":107182,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:10:25] local.INFO: Processing buffer {"connection_id":107182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:10:25] local.INFO: IMEI packet received {"connection_id":107182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":107182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:10:31] local.INFO: TCP Data received {"connection_id":107182,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:10:31] local.INFO: Processing buffer {"connection_id":107182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:10:31] local.INFO: IMEI packet received {"connection_id":107182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":107182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:10:32] local.INFO: TCP Data received {"connection_id":107182,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:10:32] local.INFO: Processing buffer {"connection_id":107182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:10:32] local.INFO: Packet analysis {"connection_id":107182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:10:32] local.INFO: Extracted packet for processing {"connection_id":107182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:10:32] 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-06-18 06: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-06-18 06:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:10:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:10:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":107182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:10:32] local.INFO: GPS data processed {"connection_id":107182,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:10:32] local.INFO: Acknowledgment sent {"connection_id":107182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:11:04] local.INFO: TCP Data received {"connection_id":107182,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:04] local.INFO: Processing buffer {"connection_id":107182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:04] local.INFO: Packet analysis {"connection_id":107182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:11:04] local.INFO: Extracted packet for processing {"connection_id":107182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:11:04] 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-06-18 06: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-06-18 06:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:11:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:11:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":107182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:11:04] local.INFO: GPS data processed {"connection_id":107182,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:11:04] local.INFO: Acknowledgment sent {"connection_id":107182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:11:31] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:11:31] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:11:31] local.INFO: IMEI packet received {"connection_id":105672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":105672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:11:36] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:11:36] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:11:36] local.INFO: IMEI packet received {"connection_id":105672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":105672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:11:37] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:37] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:37] local.INFO: Packet analysis {"connection_id":105672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:11:37] local.INFO: Extracted packet for processing {"connection_id":105672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:11:37] 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-06-18 06: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-06-18 06:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:11:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:11:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":105672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:11:37] local.INFO: GPS data processed {"connection_id":105672,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:11:37] local.INFO: Acknowledgment sent {"connection_id":105672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:11:42] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:42] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8288638012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:11:42] local.INFO: Packet analysis {"connection_id":105672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:11:42] local.INFO: Extracted packet for processing {"connection_id":105672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed828"} 
[2026-06-18 06:11:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126129664001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781742995000,"timestamp_ms":1781742995000,"timestamp_seconds":1781742995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8288638"} 
[2026-06-18 06:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:11:42] 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-06-18 06: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-06-18 06:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126129664001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126129664001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:11:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:11:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126129664001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":105672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:11:42] local.INFO: GPS data processed {"connection_id":105672,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:11:42] local.INFO: Acknowledgment sent {"connection_id":105672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:11:55] local.INFO: TCP Data received {"connection_id":107183,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:11:55] local.INFO: Processing buffer {"connection_id":107183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:11:55] local.INFO: IMEI packet received {"connection_id":107183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":107183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:12:25] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:12:25] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:12:25] local.INFO: IMEI packet received {"connection_id":105673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":105673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:12:34] local.INFO: TCP Data received {"connection_id":106214,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:12:34] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:12:34] local.INFO: IMEI packet received {"connection_id":106214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":106214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:13:00] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:00] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:00] local.INFO: IMEI packet received {"connection_id":105673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":105673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:13:01] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:01] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:01] local.INFO: IMEI packet received {"connection_id":105673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":105673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:13:01] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:01] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:01] local.INFO: Packet analysis {"connection_id":105673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:13:01] local.INFO: Extracted packet for processing {"connection_id":105673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:13:01] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:13:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:13:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":105673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:13:01] local.INFO: GPS data processed {"connection_id":105673,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:13:01] local.INFO: Acknowledgment sent {"connection_id":105673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:13:02] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:02] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:02] local.INFO: Packet analysis {"connection_id":105673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:13:02] local.INFO: Extracted packet for processing {"connection_id":105673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:13:02] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:13:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:13:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":105673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:13:02] local.INFO: GPS data processed {"connection_id":105673,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:13:02] local.INFO: Acknowledgment sent {"connection_id":105673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:13:25] local.INFO: TCP Data received {"connection_id":105462,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:25] local.INFO: Processing buffer {"connection_id":105462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:25] local.INFO: IMEI packet received {"connection_id":105462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":105462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:13:31] local.INFO: TCP Data received {"connection_id":105462,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:31] local.INFO: Processing buffer {"connection_id":105462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:13:31] local.INFO: IMEI packet received {"connection_id":105462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":105462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:13:32] local.INFO: TCP Data received {"connection_id":105462,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:32] local.INFO: Processing buffer {"connection_id":105462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:13:32] local.INFO: Packet analysis {"connection_id":105462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:13:32] local.INFO: Extracted packet for processing {"connection_id":105462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:13:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 06:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 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-06-18 06:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 06:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:13:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:13:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":105462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:13:32] local.INFO: GPS data processed {"connection_id":105462,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:13:32] local.INFO: Acknowledgment sent {"connection_id":105462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:14:04] local.INFO: TCP Data received {"connection_id":105462,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:04] local.INFO: Processing buffer {"connection_id":105462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:04] local.INFO: Packet analysis {"connection_id":105462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:14:04] local.INFO: Extracted packet for processing {"connection_id":105462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:14:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:14:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:14:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":105462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:14:04] local.INFO: GPS data processed {"connection_id":105462,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:14:04] local.INFO: Acknowledgment sent {"connection_id":105462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:14:31] local.INFO: TCP Data received {"connection_id":105675,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:14:31] local.INFO: Processing buffer {"connection_id":105675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:14:31] local.INFO: IMEI packet received {"connection_id":105675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":105675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:14:36] local.INFO: TCP Data received {"connection_id":105675,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:14:36] local.INFO: Processing buffer {"connection_id":105675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:14:36] local.INFO: IMEI packet received {"connection_id":105675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":105675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:14:37] local.INFO: TCP Data received {"connection_id":105675,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:37] local.INFO: Processing buffer {"connection_id":105675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:37] local.INFO: Packet analysis {"connection_id":105675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:14:37] local.INFO: Extracted packet for processing {"connection_id":105675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:14:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:14:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:14:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":105675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:14:37] local.INFO: GPS data processed {"connection_id":105675,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:14:37] local.INFO: Acknowledgment sent {"connection_id":105675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:14:42] local.INFO: TCP Data received {"connection_id":105675,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:42] local.INFO: Processing buffer {"connection_id":105675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:14:42] local.INFO: Packet analysis {"connection_id":105675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:14:42] local.INFO: Extracted packet for processing {"connection_id":105675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:14:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:14:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:14:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":105675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:14:42] local.INFO: GPS data processed {"connection_id":105675,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:14:42] local.INFO: Acknowledgment sent {"connection_id":105675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:15:26] local.INFO: TCP Data received {"connection_id":107185,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:15:26] local.INFO: Processing buffer {"connection_id":107185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:15:26] local.INFO: IMEI packet received {"connection_id":107185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":107185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:15:31] local.INFO: TCP Data received {"connection_id":107185,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:15:31] local.INFO: Processing buffer {"connection_id":107185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:15:31] local.INFO: IMEI packet received {"connection_id":107185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":107185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:15:32] local.INFO: TCP Data received {"connection_id":107185,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:15:32] local.INFO: Processing buffer {"connection_id":107185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:15:32] local.INFO: Packet analysis {"connection_id":107185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:15:32] local.INFO: Extracted packet for processing {"connection_id":107185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:15:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:15:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:15:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":107185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:15:32] local.INFO: GPS data processed {"connection_id":107185,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:15:32] local.INFO: Acknowledgment sent {"connection_id":107185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:16:04] local.INFO: TCP Data received {"connection_id":107185,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:16:04] local.INFO: Processing buffer {"connection_id":107185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:16:04] local.INFO: Packet analysis {"connection_id":107185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:16:04] local.INFO: Extracted packet for processing {"connection_id":107185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:16:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:16:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":107185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:16:04] local.INFO: GPS data processed {"connection_id":107185,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:16:04] local.INFO: Acknowledgment sent {"connection_id":107185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:16:25] local.INFO: TCP Data received {"connection_id":106216,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:16:25] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:16:25] local.INFO: IMEI packet received {"connection_id":106216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":106216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:16:31] local.INFO: TCP Data received {"connection_id":106216,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:16:31] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:16:31] local.INFO: IMEI packet received {"connection_id":106216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":106216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:16:32] local.INFO: TCP Data received {"connection_id":106216,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:16:32] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:16:32] local.INFO: Packet analysis {"connection_id":106216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:16:32] local.INFO: Extracted packet for processing {"connection_id":106216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:16:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:16:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:16:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":106216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:16:32] local.INFO: GPS data processed {"connection_id":106216,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:16:32] local.INFO: Acknowledgment sent {"connection_id":106216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:17:04] local.INFO: TCP Data received {"connection_id":106216,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:17:04] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82d1e00012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:17:04] local.INFO: Packet analysis {"connection_id":106216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:17:04] local.INFO: Extracted packet for processing {"connection_id":106216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:17:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126206720001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781743296000,"timestamp_ms":1781743296000,"timestamp_seconds":1781743296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82d1e00"} 
[2026-06-18 06:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:17:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:17:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126206720001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126206720001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:17:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:17:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126206720001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":106216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:17:04] local.INFO: GPS data processed {"connection_id":106216,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:17:04] local.INFO: Acknowledgment sent {"connection_id":106216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:17:25] local.INFO: TCP Data received {"connection_id":105463,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:17:25] local.INFO: Processing buffer {"connection_id":105463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:17:25] local.INFO: IMEI packet received {"connection_id":105463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":105463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:17:31] local.INFO: TCP Data received {"connection_id":105463,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:17:31] local.INFO: Processing buffer {"connection_id":105463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:17:31] local.INFO: IMEI packet received {"connection_id":105463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":105463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:17:32] local.INFO: TCP Data received {"connection_id":105463,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:17:32] local.INFO: Processing buffer {"connection_id":105463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:17:32] local.INFO: Packet analysis {"connection_id":105463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:17:32] local.INFO: Extracted packet for processing {"connection_id":105463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:17:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:17:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:17:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":105463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:17:32] local.INFO: GPS data processed {"connection_id":105463,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:17:32] local.INFO: Acknowledgment sent {"connection_id":105463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:17:59] local.INFO: TCP Data received {"connection_id":107186,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107186,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:17:59] local.INFO: Processing buffer {"connection_id":107186,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:17:59] local.INFO: IMEI packet received {"connection_id":107186,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":107186,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:18:04] local.INFO: TCP Data received {"connection_id":105463,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:18:04] local.INFO: Processing buffer {"connection_id":105463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:18:04] local.INFO: Packet analysis {"connection_id":105463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:18:04] local.INFO: Extracted packet for processing {"connection_id":105463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:18:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:18:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:18:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":105463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:18:04] local.INFO: GPS data processed {"connection_id":105463,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:18:04] local.INFO: Acknowledgment sent {"connection_id":105463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:18:25] local.INFO: TCP Data received {"connection_id":105676,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:18:25] local.INFO: Processing buffer {"connection_id":105676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:18:25] local.INFO: IMEI packet received {"connection_id":105676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":105676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:18:31] local.INFO: TCP Data received {"connection_id":105676,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:18:31] local.INFO: Processing buffer {"connection_id":105676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:18:31] local.INFO: IMEI packet received {"connection_id":105676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":105676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:18:32] local.INFO: TCP Data received {"connection_id":105676,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:18:32] local.INFO: Processing buffer {"connection_id":105676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:18:32] local.INFO: Packet analysis {"connection_id":105676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:18:32] local.INFO: Extracted packet for processing {"connection_id":105676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:18:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:18:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:18:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":105676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:18:32] local.INFO: GPS data processed {"connection_id":105676,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:18:32] local.INFO: Acknowledgment sent {"connection_id":105676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:18:34] local.INFO: TCP Data received {"connection_id":107187,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:18:34] local.INFO: Processing buffer {"connection_id":107187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:18:34] local.INFO: IMEI packet received {"connection_id":107187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":107187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:19:04] local.INFO: TCP Data received {"connection_id":105676,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:04] local.INFO: Processing buffer {"connection_id":105676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:04] local.INFO: Packet analysis {"connection_id":105676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:19:04] local.INFO: Extracted packet for processing {"connection_id":105676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:19:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:19:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:19:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":105676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:19:04] local.INFO: GPS data processed {"connection_id":105676,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:19:04] local.INFO: Acknowledgment sent {"connection_id":105676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:19:31] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:19:31] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:19:31] local.INFO: IMEI packet received {"connection_id":106218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":106218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:19:36] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:19:36] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:19:36] local.INFO: IMEI packet received {"connection_id":106218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":106218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:19:37] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:37] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:37] local.INFO: Packet analysis {"connection_id":106218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:19:37] local.INFO: Extracted packet for processing {"connection_id":106218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:19:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:19:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":106218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:19:37] local.INFO: GPS data processed {"connection_id":106218,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:19:37] local.INFO: Acknowledgment sent {"connection_id":106218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:19:42] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:42] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:19:42] local.INFO: Packet analysis {"connection_id":106218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:19:42] local.INFO: Extracted packet for processing {"connection_id":106218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:19:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:19:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":106218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:19:42] local.INFO: GPS data processed {"connection_id":106218,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:19:42] local.INFO: Acknowledgment sent {"connection_id":106218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:20:25] local.INFO: TCP Data received {"connection_id":107189,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:20:25] local.INFO: Processing buffer {"connection_id":107189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:20:25] local.INFO: IMEI packet received {"connection_id":107189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":107189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:20:31] local.INFO: TCP Data received {"connection_id":107189,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107189,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:20:31] local.INFO: Processing buffer {"connection_id":107189,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:20:31] local.INFO: IMEI packet received {"connection_id":107189,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":107189,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:20:32] local.INFO: TCP Data received {"connection_id":107189,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:20:32] local.INFO: Processing buffer {"connection_id":107189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:20:32] local.INFO: Packet analysis {"connection_id":107189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:20:32] local.INFO: Extracted packet for processing {"connection_id":107189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:20:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:20:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":107189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:20:32] local.INFO: GPS data processed {"connection_id":107189,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:20:32] local.INFO: Acknowledgment sent {"connection_id":107189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:21:04] local.INFO: TCP Data received {"connection_id":107189,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:21:04] local.INFO: Processing buffer {"connection_id":107189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:21:04] local.INFO: Packet analysis {"connection_id":107189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:21:04] local.INFO: Extracted packet for processing {"connection_id":107189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:21:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:21:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:21:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107189,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:21:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:21:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":107189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:21:04] local.INFO: GPS data processed {"connection_id":107189,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:21:04] local.INFO: Acknowledgment sent {"connection_id":107189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:21:25] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:21:25] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:21:25] local.INFO: IMEI packet received {"connection_id":106220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":106220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:21:31] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:21:31] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:21:31] local.INFO: IMEI packet received {"connection_id":106220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":106220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:21:33] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:21:33] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:21:33] local.INFO: Packet analysis {"connection_id":106220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:21:33] local.INFO: Extracted packet for processing {"connection_id":106220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:21:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:21:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":106220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:21:33] local.INFO: GPS data processed {"connection_id":106220,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:21:33] local.INFO: Acknowledgment sent {"connection_id":106220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:22:05] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:22:05] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed831b5c8012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:22:05] local.INFO: Packet analysis {"connection_id":106220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:22:05] local.INFO: Extracted packet for processing {"connection_id":106220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed831"} 
[2026-06-18 06:22:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126283776001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781743597000,"timestamp_ms":1781743597000,"timestamp_seconds":1781743597,"priority":1,"record_length":96,"hex_timestamp":"0000019ed831b5c8"} 
[2026-06-18 06:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126283776001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126283776001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:22:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126283776001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":106220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:22:05] local.INFO: GPS data processed {"connection_id":106220,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:22:05] local.INFO: Acknowledgment sent {"connection_id":106220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:22:25] local.INFO: TCP Data received {"connection_id":105678,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:22:25] local.INFO: Processing buffer {"connection_id":105678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:22:25] local.INFO: IMEI packet received {"connection_id":105678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":105678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:22:30] local.INFO: TCP Data received {"connection_id":105678,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:22:30] local.INFO: Processing buffer {"connection_id":105678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:22:30] local.INFO: IMEI packet received {"connection_id":105678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":105678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:22:31] local.INFO: TCP Data received {"connection_id":105678,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:22:31] local.INFO: Processing buffer {"connection_id":105678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:22:31] local.INFO: Packet analysis {"connection_id":105678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:22:31] local.INFO: Extracted packet for processing {"connection_id":105678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:22:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:22:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:22:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":105678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:22:31] local.INFO: GPS data processed {"connection_id":105678,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:22:31] local.INFO: Acknowledgment sent {"connection_id":105678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:23:03] local.INFO: TCP Data received {"connection_id":105678,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:23:03] local.INFO: Processing buffer {"connection_id":105678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:23:03] local.INFO: Packet analysis {"connection_id":105678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:23:03] local.INFO: Extracted packet for processing {"connection_id":105678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:23:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:23:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":105678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:23:03] local.INFO: GPS data processed {"connection_id":105678,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:23:03] local.INFO: Acknowledgment sent {"connection_id":105678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:23:25] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:23:25] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:23:25] local.INFO: IMEI packet received {"connection_id":106221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":106221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:23:31] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:23:31] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:23:31] local.INFO: IMEI packet received {"connection_id":106221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":106221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:23:32] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:23:32] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:23:32] local.INFO: Packet analysis {"connection_id":106221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:23:32] local.INFO: Extracted packet for processing {"connection_id":106221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:23:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:23:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":106221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:23:32] local.INFO: GPS data processed {"connection_id":106221,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:23:32] local.INFO: Acknowledgment sent {"connection_id":106221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:23:49] local.INFO: TCP Data received {"connection_id":105465,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:23:49] local.INFO: Processing buffer {"connection_id":105465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:23:49] local.INFO: IMEI packet received {"connection_id":105465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":105465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:24:04] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:24:04] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:24:04] local.INFO: Packet analysis {"connection_id":106221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:24:04] local.INFO: Extracted packet for processing {"connection_id":106221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:24:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:24:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:24:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":106221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:24:04] local.INFO: GPS data processed {"connection_id":106221,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:24:04] local.INFO: Acknowledgment sent {"connection_id":106221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:24:25] local.INFO: TCP Data received {"connection_id":105466,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:24:25] local.INFO: Processing buffer {"connection_id":105466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:24:25] local.INFO: IMEI packet received {"connection_id":105466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":105466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:24:31] local.INFO: TCP Data received {"connection_id":105466,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:24:31] local.INFO: Processing buffer {"connection_id":105466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:24:31] local.INFO: IMEI packet received {"connection_id":105466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":105466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:24:33] local.INFO: TCP Data received {"connection_id":105466,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:24:33] local.INFO: Processing buffer {"connection_id":105466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:24:33] local.INFO: Packet analysis {"connection_id":105466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:24:33] local.INFO: Extracted packet for processing {"connection_id":105466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:24:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:24:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:24:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":105466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:24:33] local.INFO: GPS data processed {"connection_id":105466,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:24:33] local.INFO: Acknowledgment sent {"connection_id":105466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:24:35] local.INFO: TCP Data received {"connection_id":107190,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:24:35] local.INFO: Processing buffer {"connection_id":107190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:24:35] local.INFO: IMEI packet received {"connection_id":107190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:24:35] local.INFO: IMEI acknowledgment sent {"connection_id":107190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:25:05] local.INFO: TCP Data received {"connection_id":105466,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:25:05] local.INFO: Processing buffer {"connection_id":105466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:25:05] local.INFO: Packet analysis {"connection_id":105466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:25:05] local.INFO: Extracted packet for processing {"connection_id":105466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:25:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:25:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:25:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":105466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:25:05] local.INFO: GPS data processed {"connection_id":105466,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:25:05] local.INFO: Acknowledgment sent {"connection_id":105466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:25:25] local.INFO: TCP Data received {"connection_id":105468,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:25:25] local.INFO: Processing buffer {"connection_id":105468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:25:25] local.INFO: IMEI packet received {"connection_id":105468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":105468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:25:32] local.INFO: TCP Data received {"connection_id":105468,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:25:32] local.INFO: Processing buffer {"connection_id":105468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:25:32] local.INFO: IMEI packet received {"connection_id":105468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":105468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:25:33] local.INFO: TCP Data received {"connection_id":105468,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:25:33] local.INFO: Processing buffer {"connection_id":105468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:25:33] local.INFO: Packet analysis {"connection_id":105468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:25:33] local.INFO: Extracted packet for processing {"connection_id":105468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:25:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":105468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:25:33] local.INFO: GPS data processed {"connection_id":105468,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:25:33] local.INFO: Acknowledgment sent {"connection_id":105468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:26:05] local.INFO: TCP Data received {"connection_id":105468,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:26:05] local.INFO: Processing buffer {"connection_id":105468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:26:05] local.INFO: Packet analysis {"connection_id":105468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:26:05] local.INFO: Extracted packet for processing {"connection_id":105468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:26:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:26:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:26:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":105468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:26:05] local.INFO: GPS data processed {"connection_id":105468,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:26:05] local.INFO: Acknowledgment sent {"connection_id":105468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:26:30] local.INFO: TCP Data received {"connection_id":106222,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:26:30] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:26:30] local.INFO: IMEI packet received {"connection_id":106222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":106222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:26:36] local.INFO: TCP Data received {"connection_id":106222,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:26:36] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:26:36] local.INFO: IMEI packet received {"connection_id":106222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":106222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:26:38] local.INFO: TCP Data received {"connection_id":106222,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:26:38] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:26:38] local.INFO: Packet analysis {"connection_id":106222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:26:38] local.INFO: Extracted packet for processing {"connection_id":106222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:26:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:26:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:26:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":106222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:26:38] local.INFO: GPS data processed {"connection_id":106222,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:26:38] local.INFO: Acknowledgment sent {"connection_id":106222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:27:10] local.INFO: TCP Data received {"connection_id":106222,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:27:10] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8364d90012d59b000063e3ac80001014829..."} 
[2026-06-18 06:27:10] local.INFO: Packet analysis {"connection_id":106222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:27:10] local.INFO: Extracted packet for processing {"connection_id":106222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed836"} 
[2026-06-18 06:27:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126360832001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781743898000,"timestamp_ms":1781743898000,"timestamp_seconds":1781743898,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8364d90"} 
[2026-06-18 06:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 06:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126360832001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126360832001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:27:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:27:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126360832001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":106222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:27:10] local.INFO: GPS data processed {"connection_id":106222,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:27:10] local.INFO: Acknowledgment sent {"connection_id":106222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:27:26] local.INFO: TCP Data received {"connection_id":105469,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:27:26] local.INFO: Processing buffer {"connection_id":105469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:27:26] local.INFO: IMEI packet received {"connection_id":105469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":105469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:27:31] local.INFO: TCP Data received {"connection_id":105469,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:27:31] local.INFO: Processing buffer {"connection_id":105469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:27:31] local.INFO: IMEI packet received {"connection_id":105469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":105469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:27:33] local.INFO: TCP Data received {"connection_id":105469,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:27:33] local.INFO: Processing buffer {"connection_id":105469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:27:33] local.INFO: Packet analysis {"connection_id":105469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:27:33] local.INFO: Extracted packet for processing {"connection_id":105469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:27:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":105469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:27:33] local.INFO: GPS data processed {"connection_id":105469,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:27:33] local.INFO: Acknowledgment sent {"connection_id":105469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:28:05] local.INFO: TCP Data received {"connection_id":105469,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:28:05] local.INFO: Processing buffer {"connection_id":105469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:28:05] local.INFO: Packet analysis {"connection_id":105469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:28:05] local.INFO: Extracted packet for processing {"connection_id":105469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:28:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:28:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:28:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":105469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:28:05] local.INFO: GPS data processed {"connection_id":105469,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:28:05] local.INFO: Acknowledgment sent {"connection_id":105469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:28:25] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:28:25] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:28:25] local.INFO: IMEI packet received {"connection_id":106225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":106225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:28:31] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:28:31] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:28:31] local.INFO: IMEI packet received {"connection_id":106225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":106225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:28:33] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:28:33] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:28:33] local.INFO: Packet analysis {"connection_id":106225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:28:33] local.INFO: Extracted packet for processing {"connection_id":106225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:28:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:28:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:28:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":106225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:28:33] local.INFO: GPS data processed {"connection_id":106225,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:28:33] local.INFO: Acknowledgment sent {"connection_id":106225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:29:05] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:05] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:05] local.INFO: Packet analysis {"connection_id":106225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:29:05] local.INFO: Extracted packet for processing {"connection_id":106225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:29:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:29:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:29:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":106225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:29:05] local.INFO: GPS data processed {"connection_id":106225,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:29:05] local.INFO: Acknowledgment sent {"connection_id":106225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:29:31] local.INFO: TCP Data received {"connection_id":107192,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:29:31] local.INFO: Processing buffer {"connection_id":107192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:29:31] local.INFO: IMEI packet received {"connection_id":107192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":107192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:29:36] local.INFO: TCP Data received {"connection_id":107192,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:29:36] local.INFO: Processing buffer {"connection_id":107192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:29:36] local.INFO: IMEI packet received {"connection_id":107192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":107192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:29:37] local.INFO: TCP Data received {"connection_id":107192,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:37] local.INFO: Processing buffer {"connection_id":107192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:37] local.INFO: Packet analysis {"connection_id":107192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:29:37] local.INFO: Extracted packet for processing {"connection_id":107192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:29:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:29:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":107192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:29:37] local.INFO: GPS data processed {"connection_id":107192,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:29:37] local.INFO: Acknowledgment sent {"connection_id":107192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:29:42] local.INFO: TCP Data received {"connection_id":107192,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:42] local.INFO: Processing buffer {"connection_id":107192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:29:42] local.INFO: Packet analysis {"connection_id":107192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:29:42] local.INFO: Extracted packet for processing {"connection_id":107192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 06:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 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-06-18 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 06:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:29:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:29:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":107192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:29:42] local.INFO: GPS data processed {"connection_id":107192,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:29:42] local.INFO: Acknowledgment sent {"connection_id":107192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:29:49] local.INFO: TCP Data received {"connection_id":105680,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:29:49] local.INFO: Processing buffer {"connection_id":105680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:29:49] local.INFO: IMEI packet received {"connection_id":105680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":105680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:30:26] local.INFO: TCP Data received {"connection_id":105470,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:30:26] local.INFO: Processing buffer {"connection_id":105470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:30:26] local.INFO: IMEI packet received {"connection_id":105470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":105470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:30:30] local.INFO: TCP Data received {"connection_id":105470,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:30:30] local.INFO: Processing buffer {"connection_id":105470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:30:30] local.INFO: IMEI packet received {"connection_id":105470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":105470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:30:31] local.INFO: TCP Data received {"connection_id":105470,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:30:31] local.INFO: Processing buffer {"connection_id":105470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:30:31] local.INFO: Packet analysis {"connection_id":105470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:30:31] local.INFO: Extracted packet for processing {"connection_id":105470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:30:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:30:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:30:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":105470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:30:31] local.INFO: GPS data processed {"connection_id":105470,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:30:31] local.INFO: Acknowledgment sent {"connection_id":105470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:30:34] local.INFO: TCP Data received {"connection_id":105471,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:30:34] local.INFO: Processing buffer {"connection_id":105471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:30:34] local.INFO: IMEI packet received {"connection_id":105471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":105471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:31:03] local.INFO: TCP Data received {"connection_id":105470,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:31:03] local.INFO: Processing buffer {"connection_id":105470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:31:03] local.INFO: Packet analysis {"connection_id":105470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:31:03] local.INFO: Extracted packet for processing {"connection_id":105470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:31:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:31:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:31:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":105470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:31:03] local.INFO: GPS data processed {"connection_id":105470,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:31:03] local.INFO: Acknowledgment sent {"connection_id":105470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:31:25] local.INFO: TCP Data received {"connection_id":107193,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:31:25] local.INFO: Processing buffer {"connection_id":107193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:31:25] local.INFO: IMEI packet received {"connection_id":107193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":107193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:31:31] local.INFO: TCP Data received {"connection_id":107193,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:31:31] local.INFO: Processing buffer {"connection_id":107193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:31:31] local.INFO: IMEI packet received {"connection_id":107193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":107193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:31:32] local.INFO: TCP Data received {"connection_id":107193,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:31:32] local.INFO: Processing buffer {"connection_id":107193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:31:32] local.INFO: Packet analysis {"connection_id":107193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:31:32] local.INFO: Extracted packet for processing {"connection_id":107193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:31:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:31:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:31:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":107193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:31:32] local.INFO: GPS data processed {"connection_id":107193,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:31:32] local.INFO: Acknowledgment sent {"connection_id":107193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:32:05] local.INFO: TCP Data received {"connection_id":107193,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:32:05] local.INFO: Processing buffer {"connection_id":107193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83ae558012d59b000063e3ac80001014828..."} 
[2026-06-18 06:32:05] local.INFO: Packet analysis {"connection_id":107193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:32:05] local.INFO: Extracted packet for processing {"connection_id":107193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83a"} 
[2026-06-18 06:32:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":40,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781744199000,"timestamp_ms":1781744199000,"timestamp_seconds":1781744199,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83ae558"} 
[2026-06-18 06:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 06:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126437888001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:32:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:32:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126437888001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":107193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:32:05] local.INFO: GPS data processed {"connection_id":107193,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:32:05] local.INFO: Acknowledgment sent {"connection_id":107193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:32:25] local.INFO: TCP Data received {"connection_id":105472,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:32:25] local.INFO: Processing buffer {"connection_id":105472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:32:25] local.INFO: IMEI packet received {"connection_id":105472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":105472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:32:31] local.INFO: TCP Data received {"connection_id":105472,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:32:31] local.INFO: Processing buffer {"connection_id":105472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:32:31] local.INFO: IMEI packet received {"connection_id":105472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":105472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:32:32] local.INFO: TCP Data received {"connection_id":105472,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:32:32] local.INFO: Processing buffer {"connection_id":105472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:32:32] local.INFO: Packet analysis {"connection_id":105472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:32:32] local.INFO: Extracted packet for processing {"connection_id":105472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:32:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:32:32] 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-06-18 06: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-06-18 06:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:32:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:32:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":105472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:32:32] local.INFO: GPS data processed {"connection_id":105472,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:32:32] local.INFO: Acknowledgment sent {"connection_id":105472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:33:04] local.INFO: TCP Data received {"connection_id":105472,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:33:04] local.INFO: Processing buffer {"connection_id":105472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:33:04] local.INFO: Packet analysis {"connection_id":105472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:33:04] local.INFO: Extracted packet for processing {"connection_id":105472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:33:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:33:04] 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-06-18 06:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:33:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:33:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":105472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:33:04] local.INFO: GPS data processed {"connection_id":105472,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:33:04] local.INFO: Acknowledgment sent {"connection_id":105472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:33:25] local.INFO: TCP Data received {"connection_id":106229,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:33:25] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:33:25] local.INFO: IMEI packet received {"connection_id":106229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":106229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:33:31] local.INFO: TCP Data received {"connection_id":106229,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:33:31] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:33:31] local.INFO: IMEI packet received {"connection_id":106229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":106229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:33:35] local.INFO: TCP Data received {"connection_id":106229,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:33:35] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:33:35] local.INFO: Packet analysis {"connection_id":106229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:33:35] local.INFO: Extracted packet for processing {"connection_id":106229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:33:35] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:33:35] 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-06-18 06: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-06-18 06:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:33:35] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:33:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":106229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:33:35] local.INFO: GPS data processed {"connection_id":106229,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:33:35] local.INFO: Acknowledgment sent {"connection_id":106229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:34:07] local.INFO: TCP Data received {"connection_id":106229,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:34:07] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:34:07] local.INFO: Packet analysis {"connection_id":106229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:34:07] local.INFO: Extracted packet for processing {"connection_id":106229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:34:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:34:07] 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-06-18 06:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:34:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:34:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":106229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:34:07] local.INFO: GPS data processed {"connection_id":106229,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:34:07] local.INFO: Acknowledgment sent {"connection_id":106229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:34:25] local.INFO: TCP Data received {"connection_id":107195,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:34:25] local.INFO: Processing buffer {"connection_id":107195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:34:25] local.INFO: IMEI packet received {"connection_id":107195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":107195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:34:32] local.INFO: TCP Data received {"connection_id":107195,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:34:32] local.INFO: Processing buffer {"connection_id":107195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:34:32] local.INFO: IMEI packet received {"connection_id":107195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":107195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:34:34] local.INFO: TCP Data received {"connection_id":107195,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:34:34] local.INFO: Processing buffer {"connection_id":107195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:34:34] local.INFO: Packet analysis {"connection_id":107195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:34:34] local.INFO: Extracted packet for processing {"connection_id":107195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:34:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:34: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-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:34:34] 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-06-18 06: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-06-18 06:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:34:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:34:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":107195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:34:34] local.INFO: GPS data processed {"connection_id":107195,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:34:34] local.INFO: Acknowledgment sent {"connection_id":107195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:35:06] local.INFO: TCP Data received {"connection_id":107195,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:35:06] local.INFO: Processing buffer {"connection_id":107195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:35:06] local.INFO: Packet analysis {"connection_id":107195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:35:06] local.INFO: Extracted packet for processing {"connection_id":107195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:35: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-06-18 06:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:35: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:35:06] 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-06-18 06:35: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-06-18 06:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:35:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:35:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":107195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:35:06] local.INFO: GPS data processed {"connection_id":107195,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:35:06] local.INFO: Acknowledgment sent {"connection_id":107195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:35:25] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:35:25] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:35:25] local.INFO: IMEI packet received {"connection_id":106230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":106230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:35:31] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:35:31] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:35:31] local.INFO: IMEI packet received {"connection_id":106230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":106230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:35:32] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:35:32] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:35:32] local.INFO: Packet analysis {"connection_id":106230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:35:32] local.INFO: Extracted packet for processing {"connection_id":106230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:35:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:35:32] 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-06-18 06:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:35:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:35:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":106230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:35:32] local.INFO: GPS data processed {"connection_id":106230,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:35:32] local.INFO: Acknowledgment sent {"connection_id":106230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:35:49] local.INFO: TCP Data received {"connection_id":105473,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:35:49] local.INFO: Processing buffer {"connection_id":105473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:35:49] local.INFO: IMEI packet received {"connection_id":105473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":105473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:36:04] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:36:04] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:36:04] local.INFO: Packet analysis {"connection_id":106230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:36:04] local.INFO: Extracted packet for processing {"connection_id":106230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:36:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:36:04] 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-06-18 06:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:36:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:36:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":106230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:36:04] local.INFO: GPS data processed {"connection_id":106230,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:36:04] local.INFO: Acknowledgment sent {"connection_id":106230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:36:30] local.INFO: TCP Data received {"connection_id":107197,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:36:30] local.INFO: Processing buffer {"connection_id":107197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:36:30] local.INFO: IMEI packet received {"connection_id":107197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":107197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:36:34] local.INFO: TCP Data received {"connection_id":105681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:36:34] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:36:34] local.INFO: IMEI packet received {"connection_id":105681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":105681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:36:36] local.INFO: TCP Data received {"connection_id":107197,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:36:36] local.INFO: Processing buffer {"connection_id":107197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:36:36] local.INFO: IMEI packet received {"connection_id":107197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":107197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:36:37] local.INFO: TCP Data received {"connection_id":107197,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:36:37] local.INFO: Processing buffer {"connection_id":107197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:36:37] local.INFO: Packet analysis {"connection_id":107197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:36:37] local.INFO: Extracted packet for processing {"connection_id":107197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:36:37] 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-06-18 06:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:36:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:36:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":107197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:36:37] local.INFO: GPS data processed {"connection_id":107197,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:36:37] local.INFO: Acknowledgment sent {"connection_id":107197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:36:39] local.INFO: TCP Data received {"connection_id":105681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:36:39] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:36:39] local.INFO: IMEI packet received {"connection_id":105681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 06:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":105681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:36:40] local.INFO: TCP Data received {"connection_id":105681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ed82db270012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 06:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed82db270012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 06:36:40] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed82db270012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 06:36:40] local.INFO: Packet analysis {"connection_id":105681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:36:40] local.INFO: Extracted packet for processing {"connection_id":105681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed82d"} 
[2026-06-18 06:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825352,"longitude_deg":75.8435264,"latitude_deg":11.1825352,"altitude":11,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa51c8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126216448001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057760256,"note":"Value kept but may cause issues"} 
[2026-06-18 06:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781743334000,"timestamp_ms":1781743334000,"timestamp_seconds":1781743334,"priority":1,"record_length":96,"hex_timestamp":"0000019ed82db270"} 
[2026-06-18 06:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 06:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 06:36:40] 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-06-18 06:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 06:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 06:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126216448001,"66":25093,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057760256},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 06:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 06:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 06:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126216448001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 06:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 06:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057760256,"description":"Unknown IO ID 45"} 
[2026-06-18 06:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126216448001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057760256}} 
[2026-06-18 06:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":105681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:36:40] local.INFO: GPS data processed {"connection_id":105681,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:36:40] local.INFO: Acknowledgment sent {"connection_id":105681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:37:09] local.INFO: TCP Data received {"connection_id":107197,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:37:09] local.INFO: Processing buffer {"connection_id":107197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed83f7d20012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:37:09] local.INFO: Packet analysis {"connection_id":107197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:37:09] local.INFO: Extracted packet for processing {"connection_id":107197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed83f"} 
[2026-06-18 06:37:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126514944001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781744500000,"timestamp_ms":1781744500000,"timestamp_seconds":1781744500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed83f7d20"} 
[2026-06-18 06:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:37:09] 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-06-18 06: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-06-18 06:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126514944001,"66":25038,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126514944001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:37:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:37:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126514944001,"power":25038,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":107197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:37:09] local.INFO: GPS data processed {"connection_id":107197,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:37:09] local.INFO: Acknowledgment sent {"connection_id":107197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:37:24] local.INFO: TCP Data received {"connection_id":107198,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:37:24] local.INFO: Processing buffer {"connection_id":107198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:37:24] local.INFO: IMEI packet received {"connection_id":107198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":107198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:37:27] local.INFO: TCP Data received {"connection_id":107199,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:37:27] local.INFO: Processing buffer {"connection_id":107199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:37:27] local.INFO: IMEI packet received {"connection_id":107199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":107199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:37:31] local.INFO: TCP Data received {"connection_id":107199,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:37:31] local.INFO: Processing buffer {"connection_id":107199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:37:31] local.INFO: IMEI packet received {"connection_id":107199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":107199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:37:32] local.INFO: TCP Data received {"connection_id":107199,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:37:32] local.INFO: Processing buffer {"connection_id":107199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:37:32] local.INFO: Packet analysis {"connection_id":107199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:37:32] local.INFO: Extracted packet for processing {"connection_id":107199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:37:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:37:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":107199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:37:32] local.INFO: GPS data processed {"connection_id":107199,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:37:32] local.INFO: Acknowledgment sent {"connection_id":107199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:38:04] local.INFO: TCP Data received {"connection_id":107199,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:38:04] local.INFO: Processing buffer {"connection_id":107199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:38:04] local.INFO: Packet analysis {"connection_id":107199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:38:04] local.INFO: Extracted packet for processing {"connection_id":107199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:38:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:38:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:38:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":107199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:38:04] local.INFO: GPS data processed {"connection_id":107199,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:38:04] local.INFO: Acknowledgment sent {"connection_id":107199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:38:25] local.INFO: TCP Data received {"connection_id":105474,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:38:25] local.INFO: Processing buffer {"connection_id":105474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:38:25] local.INFO: IMEI packet received {"connection_id":105474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":105474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:38:30] local.INFO: TCP Data received {"connection_id":105474,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:38:30] local.INFO: Processing buffer {"connection_id":105474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:38:30] local.INFO: IMEI packet received {"connection_id":105474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":105474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:38:31] local.INFO: TCP Data received {"connection_id":105474,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:38:31] local.INFO: Processing buffer {"connection_id":105474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:38:31] local.INFO: Packet analysis {"connection_id":105474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:38:31] local.INFO: Extracted packet for processing {"connection_id":105474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:38:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:38:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:38:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":105474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:38:31] local.INFO: GPS data processed {"connection_id":105474,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:38:31] local.INFO: Acknowledgment sent {"connection_id":105474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:39:03] local.INFO: TCP Data received {"connection_id":105474,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:03] local.INFO: Processing buffer {"connection_id":105474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:03] local.INFO: Packet analysis {"connection_id":105474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:39:03] local.INFO: Extracted packet for processing {"connection_id":105474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:39:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:39:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:39:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":105474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:39:03] local.INFO: GPS data processed {"connection_id":105474,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:39:03] local.INFO: Acknowledgment sent {"connection_id":105474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:39:31] local.INFO: TCP Data received {"connection_id":107200,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:39:31] local.INFO: Processing buffer {"connection_id":107200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:39:31] local.INFO: IMEI packet received {"connection_id":107200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":107200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:39:36] local.INFO: TCP Data received {"connection_id":107200,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:39:36] local.INFO: Processing buffer {"connection_id":107200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:39:36] local.INFO: IMEI packet received {"connection_id":107200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":107200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:39:37] local.INFO: TCP Data received {"connection_id":107200,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:37] local.INFO: Processing buffer {"connection_id":107200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:37] local.INFO: Packet analysis {"connection_id":107200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:39:37] local.INFO: Extracted packet for processing {"connection_id":107200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:39:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:39:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":107200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:39:37] local.INFO: GPS data processed {"connection_id":107200,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:39:37] local.INFO: Acknowledgment sent {"connection_id":107200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:39:42] local.INFO: TCP Data received {"connection_id":107200,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:42] local.INFO: Processing buffer {"connection_id":107200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:39:42] local.INFO: Packet analysis {"connection_id":107200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:39:42] local.INFO: Extracted packet for processing {"connection_id":107200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:39:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:39:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:39:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":107200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:39:42] local.INFO: GPS data processed {"connection_id":107200,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:39:42] local.INFO: Acknowledgment sent {"connection_id":107200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:40:27] local.INFO: TCP Data received {"connection_id":106231,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:40:27] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:40:27] local.INFO: IMEI packet received {"connection_id":106231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":106231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:40:31] local.INFO: TCP Data received {"connection_id":106231,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:40:31] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:40:31] local.INFO: IMEI packet received {"connection_id":106231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":106231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:40:34] local.INFO: TCP Data received {"connection_id":106231,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:40:34] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:40:34] local.INFO: Packet analysis {"connection_id":106231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:40:34] local.INFO: Extracted packet for processing {"connection_id":106231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:40:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:40: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-06-18 06:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:40:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:40:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":106231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:40:34] local.INFO: GPS data processed {"connection_id":106231,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:40:34] local.INFO: Acknowledgment sent {"connection_id":106231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:41:06] local.INFO: TCP Data received {"connection_id":106231,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:41:06] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:41:06] local.INFO: Packet analysis {"connection_id":106231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:41:06] local.INFO: Extracted packet for processing {"connection_id":106231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:41:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:41:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":106231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:41:06] local.INFO: GPS data processed {"connection_id":106231,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:41:06] local.INFO: Acknowledgment sent {"connection_id":106231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:41:25] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:41:25] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:41:25] local.INFO: IMEI packet received {"connection_id":105683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":105683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:41:31] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:41:31] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:41:31] local.INFO: IMEI packet received {"connection_id":105683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":105683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:41:32] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:41:32] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:41:32] local.INFO: Packet analysis {"connection_id":105683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:41:32] local.INFO: Extracted packet for processing {"connection_id":105683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:41:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:41:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:41:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":105683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:41:32] local.INFO: GPS data processed {"connection_id":105683,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:41:32] local.INFO: Acknowledgment sent {"connection_id":105683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:42:04] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:42:04] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84414e8012d59b000063e3ac80001014829..."} 
[2026-06-18 06:42:04] local.INFO: Packet analysis {"connection_id":105683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:42:04] local.INFO: Extracted packet for processing {"connection_id":105683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 06:42:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":41,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126592000001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781744801000,"timestamp_ms":1781744801000,"timestamp_seconds":1781744801,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84414e8"} 
[2026-06-18 06:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-06-18 06:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126592000001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126592000001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:42:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:42:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126592000001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":105683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:42:04] local.INFO: GPS data processed {"connection_id":105683,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:42:04] local.INFO: Acknowledgment sent {"connection_id":105683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:42:25] local.INFO: TCP Data received {"connection_id":105684,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:42:25] local.INFO: Processing buffer {"connection_id":105684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:42:25] local.INFO: IMEI packet received {"connection_id":105684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":105684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:42:30] local.INFO: TCP Data received {"connection_id":105684,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:42:30] local.INFO: Processing buffer {"connection_id":105684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:42:30] local.INFO: IMEI packet received {"connection_id":105684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":105684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:42:31] local.INFO: TCP Data received {"connection_id":105684,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:42:31] local.INFO: Processing buffer {"connection_id":105684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:42:31] local.INFO: Packet analysis {"connection_id":105684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:42:31] local.INFO: Extracted packet for processing {"connection_id":105684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:42:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:42:31] 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-06-18 06: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-06-18 06:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:42:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:42:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":105684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:42:31] local.INFO: GPS data processed {"connection_id":105684,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:42:31] local.INFO: Acknowledgment sent {"connection_id":105684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:42:49] local.INFO: TCP Data received {"connection_id":105477,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:42:49] local.INFO: Processing buffer {"connection_id":105477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:42:49] local.INFO: IMEI packet received {"connection_id":105477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":105477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:43:03] local.INFO: TCP Data received {"connection_id":105684,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:43:03] local.INFO: Processing buffer {"connection_id":105684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:43:03] local.INFO: Packet analysis {"connection_id":105684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:43:03] local.INFO: Extracted packet for processing {"connection_id":105684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:43:03] 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-06-18 06:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:43:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:43:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":105684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:43:03] local.INFO: GPS data processed {"connection_id":105684,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:43:03] local.INFO: Acknowledgment sent {"connection_id":105684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:43:26] local.INFO: TCP Data received {"connection_id":106233,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:43:26] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:43:26] local.INFO: IMEI packet received {"connection_id":106233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":106233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:43:31] local.INFO: TCP Data received {"connection_id":106233,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:43:31] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:43:31] local.INFO: IMEI packet received {"connection_id":106233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":106233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:43:32] local.INFO: TCP Data received {"connection_id":106233,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:43:32] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:43:32] local.INFO: Packet analysis {"connection_id":106233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:43:32] local.INFO: Extracted packet for processing {"connection_id":106233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:43:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:43:32] 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-06-18 06: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-06-18 06:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:43:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:43:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":106233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:43:32] local.INFO: GPS data processed {"connection_id":106233,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:43:32] local.INFO: Acknowledgment sent {"connection_id":106233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:43:34] local.INFO: TCP Data received {"connection_id":105685,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:43:34] local.INFO: Processing buffer {"connection_id":105685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:43:34] local.INFO: IMEI packet received {"connection_id":105685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:43:34] local.INFO: IMEI acknowledgment sent {"connection_id":105685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:44:04] local.INFO: TCP Data received {"connection_id":106233,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:44:04] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:44:04] local.INFO: Packet analysis {"connection_id":106233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:44:04] local.INFO: Extracted packet for processing {"connection_id":106233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:44:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:44:04] 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-06-18 06: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-06-18 06:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:44:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:44:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":106233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:44:04] local.INFO: GPS data processed {"connection_id":106233,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:44:04] local.INFO: Acknowledgment sent {"connection_id":106233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:44:25] local.INFO: TCP Data received {"connection_id":105686,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:44:25] local.INFO: Processing buffer {"connection_id":105686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:44:25] local.INFO: IMEI packet received {"connection_id":105686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":105686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:44:31] local.INFO: TCP Data received {"connection_id":105686,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:44:31] local.INFO: Processing buffer {"connection_id":105686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:44:31] local.INFO: IMEI packet received {"connection_id":105686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":105686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:44:33] local.INFO: TCP Data received {"connection_id":105686,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:44:33] local.INFO: Processing buffer {"connection_id":105686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:44:33] local.INFO: Packet analysis {"connection_id":105686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:44:33] local.INFO: Extracted packet for processing {"connection_id":105686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:44:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:44:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:44:33] 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-06-18 06: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-06-18 06:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:44:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:44:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":105686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:44:33] local.INFO: GPS data processed {"connection_id":105686,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:44:33] local.INFO: Acknowledgment sent {"connection_id":105686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:45:05] local.INFO: TCP Data received {"connection_id":105686,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:45:05] local.INFO: Processing buffer {"connection_id":105686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:45:05] local.INFO: Packet analysis {"connection_id":105686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:45:05] local.INFO: Extracted packet for processing {"connection_id":105686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:45:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:45:05] 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-06-18 06: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-06-18 06:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:45:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:45:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":105686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:45:05] local.INFO: GPS data processed {"connection_id":105686,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:45:05] local.INFO: Acknowledgment sent {"connection_id":105686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:45:31] local.INFO: TCP Data received {"connection_id":107201,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:45:31] local.INFO: Processing buffer {"connection_id":107201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:45:31] local.INFO: IMEI packet received {"connection_id":107201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":107201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:45:36] local.INFO: TCP Data received {"connection_id":107201,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:45:36] local.INFO: Processing buffer {"connection_id":107201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:45:36] local.INFO: IMEI packet received {"connection_id":107201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":107201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:45:37] local.INFO: TCP Data received {"connection_id":107201,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:45:37] local.INFO: Processing buffer {"connection_id":107201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:45:37] local.INFO: Packet analysis {"connection_id":107201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:45:37] local.INFO: Extracted packet for processing {"connection_id":107201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:45:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:45:37] 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-06-18 06:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:45:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:45:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":107201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:45:37] local.INFO: GPS data processed {"connection_id":107201,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:45:37] local.INFO: Acknowledgment sent {"connection_id":107201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:46:19] local.INFO: TCP Data received {"connection_id":107201,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:46:19] local.INFO: Processing buffer {"connection_id":107201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:46:19] local.INFO: Packet analysis {"connection_id":107201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:46:19] local.INFO: Extracted packet for processing {"connection_id":107201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:46:19] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:46:19] 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-06-18 06:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":107201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":107201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":107201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:46:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:46:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":107201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:46:19] local.INFO: GPS data processed {"connection_id":107201,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:46:19] local.INFO: Acknowledgment sent {"connection_id":107201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:46:26] local.INFO: TCP Data received {"connection_id":107202,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:46:26] local.INFO: Processing buffer {"connection_id":107202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:46:26] local.INFO: IMEI packet received {"connection_id":107202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":107202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:46:31] local.INFO: TCP Data received {"connection_id":107202,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:46:31] local.INFO: Processing buffer {"connection_id":107202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:46:31] local.INFO: IMEI packet received {"connection_id":107202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":107202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:46:32] local.INFO: TCP Data received {"connection_id":107202,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:46:32] local.INFO: Processing buffer {"connection_id":107202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:46:32] local.INFO: Packet analysis {"connection_id":107202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:46:32] local.INFO: Extracted packet for processing {"connection_id":107202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:46:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:46:32] 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-06-18 06:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:46:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":107202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:46:32] local.INFO: GPS data processed {"connection_id":107202,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:46:32] local.INFO: Acknowledgment sent {"connection_id":107202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:47:04] local.INFO: TCP Data received {"connection_id":107202,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:47:04] local.INFO: Processing buffer {"connection_id":107202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed848acb0012d59b000063e3ac8000101482a..."} 
[2026-06-18 06:47:04] local.INFO: Packet analysis {"connection_id":107202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:47:04] local.INFO: Extracted packet for processing {"connection_id":107202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed848"} 
[2026-06-18 06:47:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126669056001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781745102000,"timestamp_ms":1781745102000,"timestamp_seconds":1781745102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed848acb0"} 
[2026-06-18 06:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:47:04] 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-06-18 06:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126669056001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126669056001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:47:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:47:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126669056001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":107202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:47:04] local.INFO: GPS data processed {"connection_id":107202,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:47:04] local.INFO: Acknowledgment sent {"connection_id":107202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:47:25] local.INFO: TCP Data received {"connection_id":105480,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:47:25] local.INFO: Processing buffer {"connection_id":105480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:47:25] local.INFO: IMEI packet received {"connection_id":105480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":105480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:47:31] local.INFO: TCP Data received {"connection_id":105480,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:47:31] local.INFO: Processing buffer {"connection_id":105480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:47:31] local.INFO: IMEI packet received {"connection_id":105480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":105480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:47:32] local.INFO: TCP Data received {"connection_id":105480,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:47:32] local.INFO: Processing buffer {"connection_id":105480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:47:32] local.INFO: Packet analysis {"connection_id":105480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:47:32] local.INFO: Extracted packet for processing {"connection_id":105480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:47:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:47:32] 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-06-18 06: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-06-18 06:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:47:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:47:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":105480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:47:32] local.INFO: GPS data processed {"connection_id":105480,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:47:32] local.INFO: Acknowledgment sent {"connection_id":105480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:48:04] local.INFO: TCP Data received {"connection_id":105480,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:04] local.INFO: Processing buffer {"connection_id":105480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:04] local.INFO: Packet analysis {"connection_id":105480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:48:04] local.INFO: Extracted packet for processing {"connection_id":105480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:48:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:48:04] 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-06-18 06: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-06-18 06:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:48:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:48:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":105480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:48:04] local.INFO: GPS data processed {"connection_id":105480,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:48:04] local.INFO: Acknowledgment sent {"connection_id":105480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:48:31] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:48:31] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:48:31] local.INFO: IMEI packet received {"connection_id":105687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":105687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:48:36] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:48:36] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:48:36] local.INFO: IMEI packet received {"connection_id":105687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":105687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:48:37] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:37] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:37] local.INFO: Packet analysis {"connection_id":105687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:48:37] local.INFO: Extracted packet for processing {"connection_id":105687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:48:37] 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-06-18 06: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-06-18 06:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:48:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:48:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":105687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:48:37] local.INFO: GPS data processed {"connection_id":105687,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:48:37] local.INFO: Acknowledgment sent {"connection_id":105687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:48:41] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:41] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:48:41] local.INFO: Packet analysis {"connection_id":105687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:48:41] local.INFO: Extracted packet for processing {"connection_id":105687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 06:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 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-06-18 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2447,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 06:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:48:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:48:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":105687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:48:41] local.INFO: GPS data processed {"connection_id":105687,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:48:41] local.INFO: Acknowledgment sent {"connection_id":105687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:49:04] local.INFO: TCP Data received {"connection_id":105688,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:49:04] local.INFO: Processing buffer {"connection_id":105688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:49:04] local.INFO: IMEI packet received {"connection_id":105688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":105688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:49:26] local.INFO: TCP Data received {"connection_id":105689,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:49:26] local.INFO: Processing buffer {"connection_id":105689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:49:26] local.INFO: IMEI packet received {"connection_id":105689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":105689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:49:31] local.INFO: TCP Data received {"connection_id":105689,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:49:31] local.INFO: Processing buffer {"connection_id":105689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:49:31] local.INFO: IMEI packet received {"connection_id":105689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":105689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:49:33] local.INFO: TCP Data received {"connection_id":105689,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:49:33] local.INFO: Processing buffer {"connection_id":105689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:49:33] local.INFO: Packet analysis {"connection_id":105689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:49:33] local.INFO: Extracted packet for processing {"connection_id":105689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:49:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:49:33] 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-06-18 06:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:49:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":105689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:49:33] local.INFO: GPS data processed {"connection_id":105689,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:49:33] local.INFO: Acknowledgment sent {"connection_id":105689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:49:34] local.INFO: TCP Data received {"connection_id":107204,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:49:34] local.INFO: Processing buffer {"connection_id":107204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:49:34] local.INFO: IMEI packet received {"connection_id":107204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":107204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:50:05] local.INFO: TCP Data received {"connection_id":105689,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:50:05] local.INFO: Processing buffer {"connection_id":105689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:50:05] local.INFO: Packet analysis {"connection_id":105689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:50:05] local.INFO: Extracted packet for processing {"connection_id":105689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:50:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:50:05] 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-06-18 06:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:50:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:50:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":105689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:50:05] local.INFO: GPS data processed {"connection_id":105689,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:50:05] local.INFO: Acknowledgment sent {"connection_id":105689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:50:25] local.INFO: TCP Data received {"connection_id":105481,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:50:25] local.INFO: Processing buffer {"connection_id":105481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:50:25] local.INFO: IMEI packet received {"connection_id":105481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":105481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:50:31] local.INFO: TCP Data received {"connection_id":105481,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:50:31] local.INFO: Processing buffer {"connection_id":105481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:50:31] local.INFO: IMEI packet received {"connection_id":105481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":105481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:50:32] local.INFO: TCP Data received {"connection_id":105481,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:50:32] local.INFO: Processing buffer {"connection_id":105481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:50:32] local.INFO: Packet analysis {"connection_id":105481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:50:32] local.INFO: Extracted packet for processing {"connection_id":105481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:50:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:50:32] 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-06-18 06: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-06-18 06:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:50:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:50:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":105481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:50:32] local.INFO: GPS data processed {"connection_id":105481,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:50:32] local.INFO: Acknowledgment sent {"connection_id":105481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:51:04] local.INFO: TCP Data received {"connection_id":105481,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:51:04] local.INFO: Processing buffer {"connection_id":105481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:51:04] local.INFO: Packet analysis {"connection_id":105481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:51:04] local.INFO: Extracted packet for processing {"connection_id":105481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:51:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:51:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:51:04] 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-06-18 06: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-06-18 06:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:51:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:51:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":105481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:51:04] local.INFO: GPS data processed {"connection_id":105481,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:51:04] local.INFO: Acknowledgment sent {"connection_id":105481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:51:25] local.INFO: TCP Data received {"connection_id":105482,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:51:25] local.INFO: Processing buffer {"connection_id":105482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:51:25] local.INFO: IMEI packet received {"connection_id":105482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":105482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:51:31] local.INFO: TCP Data received {"connection_id":105482,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:51:31] local.INFO: Processing buffer {"connection_id":105482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:51:31] local.INFO: IMEI packet received {"connection_id":105482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":105482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:51:32] local.INFO: TCP Data received {"connection_id":105482,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:51:32] local.INFO: Processing buffer {"connection_id":105482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:51:32] local.INFO: Packet analysis {"connection_id":105482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:51:32] local.INFO: Extracted packet for processing {"connection_id":105482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:51:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:51:32] 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-06-18 06:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:51:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":105482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:51:32] local.INFO: GPS data processed {"connection_id":105482,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:51:32] local.INFO: Acknowledgment sent {"connection_id":105482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:52:04] local.INFO: TCP Data received {"connection_id":105482,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:04] local.INFO: Processing buffer {"connection_id":105482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed84d4478012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:04] local.INFO: Packet analysis {"connection_id":105482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:52:04] local.INFO: Extracted packet for processing {"connection_id":105482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed84d"} 
[2026-06-18 06:52:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126746112001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781745403000,"timestamp_ms":1781745403000,"timestamp_seconds":1781745403,"priority":1,"record_length":96,"hex_timestamp":"0000019ed84d4478"} 
[2026-06-18 06:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:52:04] 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-06-18 06: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-06-18 06:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126746112001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126746112001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:52:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:52:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126746112001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":105482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:52:04] local.INFO: GPS data processed {"connection_id":105482,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:52:04] local.INFO: Acknowledgment sent {"connection_id":105482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:52:31] local.INFO: TCP Data received {"connection_id":106236,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:52:31] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:52:31] local.INFO: IMEI packet received {"connection_id":106236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":106236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:52:36] local.INFO: TCP Data received {"connection_id":106236,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:52:36] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:52:36] local.INFO: IMEI packet received {"connection_id":106236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":106236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:52:37] local.INFO: TCP Data received {"connection_id":106236,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:37] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:37] local.INFO: Packet analysis {"connection_id":106236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:52:37] local.INFO: Extracted packet for processing {"connection_id":106236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:52:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:52:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":106236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:52:37] local.INFO: GPS data processed {"connection_id":106236,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:52:37] local.INFO: Acknowledgment sent {"connection_id":106236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:52:42] local.INFO: TCP Data received {"connection_id":106236,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:42] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:52:42] local.INFO: Packet analysis {"connection_id":106236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:52:42] local.INFO: Extracted packet for processing {"connection_id":106236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:52:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:52:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:52:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:52:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":106236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:52:42] local.INFO: GPS data processed {"connection_id":106236,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:52:42] local.INFO: Acknowledgment sent {"connection_id":106236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:53:25] local.INFO: TCP Data received {"connection_id":107206,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:53:25] local.INFO: Processing buffer {"connection_id":107206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:53:25] local.INFO: IMEI packet received {"connection_id":107206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":107206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:53:31] local.INFO: TCP Data received {"connection_id":107206,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:53:31] local.INFO: Processing buffer {"connection_id":107206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:53:31] local.INFO: IMEI packet received {"connection_id":107206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":107206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:53:32] local.INFO: TCP Data received {"connection_id":107206,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:53:32] local.INFO: Processing buffer {"connection_id":107206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:53:32] local.INFO: Packet analysis {"connection_id":107206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:53:32] local.INFO: Extracted packet for processing {"connection_id":107206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:53:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":107206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:53:32] local.INFO: GPS data processed {"connection_id":107206,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:53:32] local.INFO: Acknowledgment sent {"connection_id":107206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:54:04] local.INFO: TCP Data received {"connection_id":107206,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:54:04] local.INFO: Processing buffer {"connection_id":107206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:54:04] local.INFO: Packet analysis {"connection_id":107206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:54:04] local.INFO: Extracted packet for processing {"connection_id":107206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:54:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:54:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:54:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":107206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":342999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:54:04] local.INFO: GPS data processed {"connection_id":107206,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:54:04] local.INFO: Acknowledgment sent {"connection_id":107206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:54:25] local.INFO: TCP Data received {"connection_id":105691,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:54:25] local.INFO: Processing buffer {"connection_id":105691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:54:25] local.INFO: IMEI packet received {"connection_id":105691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":105691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:54:30] local.INFO: TCP Data received {"connection_id":105691,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:54:30] local.INFO: Processing buffer {"connection_id":105691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:54:30] local.INFO: IMEI packet received {"connection_id":105691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":105691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:54:31] local.INFO: TCP Data received {"connection_id":105691,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:54:31] local.INFO: Processing buffer {"connection_id":105691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:54:31] local.INFO: Packet analysis {"connection_id":105691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:54:31] local.INFO: Extracted packet for processing {"connection_id":105691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:54:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:54:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:54:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":105691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:54:31] local.INFO: GPS data processed {"connection_id":105691,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:54:31] local.INFO: Acknowledgment sent {"connection_id":105691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:55:00] local.INFO: TCP Data received {"connection_id":105484,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:55:00] local.INFO: Processing buffer {"connection_id":105484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:55:00] local.INFO: IMEI packet received {"connection_id":105484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":105484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:55:03] local.INFO: TCP Data received {"connection_id":105691,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:03] local.INFO: Processing buffer {"connection_id":105691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:03] local.INFO: Packet analysis {"connection_id":105691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:55:03] local.INFO: Extracted packet for processing {"connection_id":105691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:55:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:55:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:55:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:55:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:55:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":105691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:55:03] local.INFO: GPS data processed {"connection_id":105691,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:55:03] local.INFO: Acknowledgment sent {"connection_id":105691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:55:31] local.INFO: TCP Data received {"connection_id":106237,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:55:31] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:55:31] local.INFO: IMEI packet received {"connection_id":106237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":106237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:55:34] local.INFO: TCP Data received {"connection_id":107208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:55:34] local.INFO: Processing buffer {"connection_id":107208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 06:55:34] local.INFO: IMEI packet received {"connection_id":107208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 06:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":107208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:55:36] local.INFO: TCP Data received {"connection_id":106237,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:55:36] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:55:36] local.INFO: IMEI packet received {"connection_id":106237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":106237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:55:37] local.INFO: TCP Data received {"connection_id":106237,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:37] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:37] local.INFO: Packet analysis {"connection_id":106237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:55:37] local.INFO: Extracted packet for processing {"connection_id":106237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:55:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06: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-06-18 06:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:55:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:55:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":106237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:55:37] local.INFO: GPS data processed {"connection_id":106237,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:55:37] local.INFO: Acknowledgment sent {"connection_id":106237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:55:41] local.INFO: TCP Data received {"connection_id":106237,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:41] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:55:41] local.INFO: Packet analysis {"connection_id":106237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:55:41] local.INFO: Extracted packet for processing {"connection_id":106237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:55:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:55:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:55:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":106237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:55:41] local.INFO: GPS data processed {"connection_id":106237,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:55:41] local.INFO: Acknowledgment sent {"connection_id":106237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:56:59] local.INFO: TCP Data received {"connection_id":105485,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:56:59] local.INFO: Processing buffer {"connection_id":105485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:56:59] local.INFO: IMEI packet received {"connection_id":105485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":105485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:57:00] local.INFO: TCP Data received {"connection_id":105485,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:00] local.INFO: Processing buffer {"connection_id":105485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:00] local.INFO: IMEI packet received {"connection_id":105485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":105485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:57:00] local.INFO: TCP Data received {"connection_id":105485,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:57:00] local.INFO: Processing buffer {"connection_id":105485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:57:00] local.INFO: Packet analysis {"connection_id":105485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:57:00] local.INFO: Extracted packet for processing {"connection_id":105485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 06:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 06:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:57:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:57:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":105485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:57:00] local.INFO: GPS data processed {"connection_id":105485,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:57:00] local.INFO: Acknowledgment sent {"connection_id":105485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:57:01] local.INFO: TCP Data received {"connection_id":105485,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:57:01] local.INFO: Processing buffer {"connection_id":105485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed851d858012d59b000063e3ac8000101482c..."} 
[2026-06-18 06:57:01] local.INFO: Packet analysis {"connection_id":105485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:57:01] local.INFO: Extracted packet for processing {"connection_id":105485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed851"} 
[2026-06-18 06:57:01] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126823168001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781745703000,"timestamp_ms":1781745703000,"timestamp_seconds":1781745703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed851d858"} 
[2026-06-18 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-06-18 06:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 06:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 06:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126823168001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126823168001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:57:01] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:57:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126823168001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":105485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:57:01] local.INFO: GPS data processed {"connection_id":105485,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:57:01] local.INFO: Acknowledgment sent {"connection_id":105485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:57:12] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:12] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:12] local.INFO: IMEI packet received {"connection_id":106238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 06:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":106238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:57:13] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:13] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:13] local.INFO: IMEI packet received {"connection_id":106238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 06:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":106238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:57:17] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:17] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 06:57:17] local.INFO: IMEI packet received {"connection_id":106238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 06:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":106238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:57:18] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 06:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 06:57:18] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 06:57:18] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 06:57:18] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 06:57: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-06-18 06:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93672223113478144,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 06:57:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 06:57:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 06:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 06:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 06:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 06:57:18] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 06:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 06:57:18] local.ERROR: GPS data processing failed {"connection_id":106238,"error":"No valid data to process"} 
[2026-06-18 06:57:18] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 06:57:25] local.INFO: TCP Data received {"connection_id":105486,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:25] local.INFO: Processing buffer {"connection_id":105486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:25] local.INFO: IMEI packet received {"connection_id":105486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":105486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:57:31] local.INFO: TCP Data received {"connection_id":105486,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:31] local.INFO: Processing buffer {"connection_id":105486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:57:31] local.INFO: IMEI packet received {"connection_id":105486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":105486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:57:32] local.INFO: TCP Data received {"connection_id":105486,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:57:32] local.INFO: Processing buffer {"connection_id":105486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:57:32] local.INFO: Packet analysis {"connection_id":105486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:57:32] local.INFO: Extracted packet for processing {"connection_id":105486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:57:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 06:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:57:32] 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-06-18 06: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-06-18 06:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:57:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:57:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":105486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:57:32] local.INFO: GPS data processed {"connection_id":105486,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:57:32] local.INFO: Acknowledgment sent {"connection_id":105486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:57:49] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 06:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 06:57:49] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 06:57:49] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 06:57:49] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 06:57: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-06-18 06:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93672223113478144,"note":"Value kept but may cause issues"} 
[2026-06-18 06:57:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 06:57:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 06:57:49] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 06:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 06:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 06:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 06:57:49] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 06:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 06:57:49] local.ERROR: GPS data processing failed {"connection_id":106238,"error":"No valid data to process"} 
[2026-06-18 06:57:49] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 06:58:04] local.INFO: TCP Data received {"connection_id":105486,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:04] local.INFO: Processing buffer {"connection_id":105486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:04] local.INFO: Packet analysis {"connection_id":105486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:58:04] local.INFO: Extracted packet for processing {"connection_id":105486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:58:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 06:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:58:04] 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-06-18 06:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:58:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:58:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":105486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:58:04] local.INFO: GPS data processed {"connection_id":105486,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:58:04] local.INFO: Acknowledgment sent {"connection_id":105486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:58:20] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8577da80100000000000000000000000000..."} 
[2026-06-18 06:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8577da80100000000000000000000000000..."} 
[2026-06-18 06:58:20] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8577da80100000000000000000000000000..."} 
[2026-06-18 06:58:20] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed857"} 
[2026-06-18 06:58:20] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed857"} 
[2026-06-18 06:58: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-06-18 06:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93672223113478144,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 06:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781746073000,"timestamp_ms":1781746073000,"timestamp_seconds":1781746073,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8577da8"} 
[2026-06-18 06:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:58: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-06-18 06:58:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 06:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 06:58:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 06:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 06:58:20] 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-06-18 06:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 06:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 06:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 06:58:20] local.INFO: GPS data processed {"connection_id":106238,"processed":0,"errors":0,"total":1} 
[2026-06-18 06:58:20] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:58:26] local.INFO: TCP Data received {"connection_id":107211,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:58:26] local.INFO: Processing buffer {"connection_id":107211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:58:26] local.INFO: IMEI packet received {"connection_id":107211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":107211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:58:31] local.INFO: TCP Data received {"connection_id":107211,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:58:31] local.INFO: Processing buffer {"connection_id":107211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:58:31] local.INFO: IMEI packet received {"connection_id":107211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":107211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:58:32] local.INFO: TCP Data received {"connection_id":107211,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:32] local.INFO: Processing buffer {"connection_id":107211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:32] local.INFO: Packet analysis {"connection_id":107211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:58:32] local.INFO: Extracted packet for processing {"connection_id":107211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:58:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 06:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:58:32] 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-06-18 06: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-06-18 06:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:58:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:58:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":107211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:58:32] local.INFO: GPS data processed {"connection_id":107211,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:58:32] local.INFO: Acknowledgment sent {"connection_id":107211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:58:36] local.INFO: TCP Data received {"connection_id":107211,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:36] local.INFO: Processing buffer {"connection_id":107211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:58:36] local.INFO: Packet analysis {"connection_id":107211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:58:36] local.INFO: Extracted packet for processing {"connection_id":107211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:58:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06: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-06-18 06:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 06:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:58:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:58:36] 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-06-18 06: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-06-18 06:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:58:36] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:58:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":107211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:58:36] local.INFO: GPS data processed {"connection_id":107211,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:58:36] local.INFO: Acknowledgment sent {"connection_id":107211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:58:52] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed857cfb00100000000000000000000000000..."} 
[2026-06-18 06:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed857cfb00100000000000000000000000000..."} 
[2026-06-18 06:58:52] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed857cfb00100000000000000000000000000..."} 
[2026-06-18 06:58:52] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed857"} 
[2026-06-18 06:58:52] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed857"} 
[2026-06-18 06:58: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-06-18 06:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93672223113478144,"note":"Value kept but may cause issues"} 
[2026-06-18 06:58:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 06:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781746094000,"timestamp_ms":1781746094000,"timestamp_seconds":1781746094,"priority":1,"record_length":96,"hex_timestamp":"0000019ed857cfb0"} 
[2026-06-18 06:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1280,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 06:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 06:58:52] 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-06-18 06:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 06:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 06:58: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-06-18 06:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 06:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 06:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 06:58:52] local.INFO: GPS data processed {"connection_id":106238,"processed":0,"errors":0,"total":1} 
[2026-06-18 06:58:52] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:59:08] local.INFO: TCP Data received {"connection_id":107211,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:59:08] local.INFO: Processing buffer {"connection_id":107211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:59:08] local.INFO: Packet analysis {"connection_id":107211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:59:08] local.INFO: Extracted packet for processing {"connection_id":107211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:59:08] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 06:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:59:08] 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-06-18 06:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:59:08] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:59:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":107211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:59:08] local.INFO: GPS data processed {"connection_id":107211,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:59:08] local.INFO: Acknowledgment sent {"connection_id":107211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:59:23] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85821b80100000000000000000000000000..."} 
[2026-06-18 06:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85821b80100000000000000000000000000..."} 
[2026-06-18 06:59:23] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85821b80100000000000000000000000000..."} 
[2026-06-18 06:59:23] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed858"} 
[2026-06-18 06:59:23] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed858"} 
[2026-06-18 06:59:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 06:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93672223113478144,"note":"Value kept but may cause issues"} 
[2026-06-18 06:59:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 06:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781746115000,"timestamp_ms":1781746115000,"timestamp_seconds":1781746115,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85821b8"} 
[2026-06-18 06:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 06:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 06:59:23] 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-06-18 06:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 06:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 06:59:23] 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-06-18 06:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 06:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 06:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 06:59:23] local.INFO: GPS data processed {"connection_id":106238,"processed":0,"errors":0,"total":1} 
[2026-06-18 06:59:23] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:59:26] local.INFO: TCP Data received {"connection_id":105487,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:59:26] local.INFO: Processing buffer {"connection_id":105487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:59:26] local.INFO: IMEI packet received {"connection_id":105487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 06:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":105487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 06:59:31] local.INFO: TCP Data received {"connection_id":105487,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:59:31] local.INFO: Processing buffer {"connection_id":105487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 06:59:31] local.INFO: IMEI packet received {"connection_id":105487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 06:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":105487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 06:59:32] local.INFO: TCP Data received {"connection_id":105487,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:59:32] local.INFO: Processing buffer {"connection_id":105487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 06:59:32] local.INFO: Packet analysis {"connection_id":105487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:59:32] local.INFO: Extracted packet for processing {"connection_id":105487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 06:59:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 06:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 06:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 06:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 06:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 06:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 06:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 06:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 06:59:32] 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-06-18 06:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 06:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 06:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 06:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 06:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 06:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 06:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 06:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 06:59:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 06:59:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 06:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 06:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 06:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 06:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":105487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 06:59:32] local.INFO: GPS data processed {"connection_id":105487,"processed":1,"errors":0,"total":1} 
[2026-06-18 06:59:32] local.INFO: Acknowledgment sent {"connection_id":105487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 06:59:54] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85873c00100000000000000000000000000..."} 
[2026-06-18 06:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85873c00100000000000000000000000000..."} 
[2026-06-18 06:59:54] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85873c00100000000000000000000000000..."} 
[2026-06-18 06:59:54] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed858"} 
[2026-06-18 06:59:54] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed858"} 
[2026-06-18 06:59:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 06:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 06:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93672223113478144,"note":"Value kept but may cause issues"} 
[2026-06-18 06:59:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,167,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 06:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781746136000,"timestamp_ms":1781746136000,"timestamp_seconds":1781746136,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85873c0"} 
[2026-06-18 06:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 06:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 06:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 06:59: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-06-18 06:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 06:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 06:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 06:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 06:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 06:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 06:59: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-06-18 06:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 06:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 06:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 06:59:54] local.INFO: GPS data processed {"connection_id":106238,"processed":0,"errors":0,"total":1} 
[2026-06-18 06:59:54] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:00:04] local.INFO: TCP Data received {"connection_id":105487,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:00:04] local.INFO: Processing buffer {"connection_id":105487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:00:04] local.INFO: Packet analysis {"connection_id":105487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:00:04] local.INFO: Extracted packet for processing {"connection_id":105487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:00:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 07:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 07:00:04] 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-06-18 07: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-06-18 07:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:00:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:00:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":105487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:00:04] local.INFO: GPS data processed {"connection_id":105487,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:00:04] local.INFO: Acknowledgment sent {"connection_id":105487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:00:25] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed858c5c80100000000000000000000000000..."} 
[2026-06-18 07:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed858c5c80100000000000000000000000000..."} 
[2026-06-18 07:00:25] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed858c5c80100000000000000000000000000..."} 
[2026-06-18 07:00:25] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed858"} 
[2026-06-18 07:00:25] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed858"} 
[2026-06-18 07:00:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93672223113478144,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,167,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 07:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781746157000,"timestamp_ms":1781746157000,"timestamp_seconds":1781746157,"priority":1,"record_length":96,"hex_timestamp":"0000019ed858c5c8"} 
[2026-06-18 07:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-9006973854857245184,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1677721600,"corrected_to":0} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5533345043340853248,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18604299396120576,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2550202368,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391949,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3395551232,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:25] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,167,85,24,241,157,16,202,158,33,10,66,109,207,125,1,240,220,227,4,113,205,183,239,2,51,76],"length":577,"final_offset":707,"validated_count":27,"validation_warnings":[{"io_id":202,"original":1677721600,"validated":0},{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-06-18 07:00:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:00: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-06-18 07:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 07:00:25] local.INFO: GPS data processed {"connection_id":106238,"processed":0,"errors":0,"total":1} 
[2026-06-18 07:00:25] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:00:25] local.INFO: TCP Data received {"connection_id":107212,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:00:25] local.INFO: Processing buffer {"connection_id":107212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:00:25] local.INFO: IMEI packet received {"connection_id":107212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":107212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:00:31] local.INFO: TCP Data received {"connection_id":107212,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:00:31] local.INFO: Processing buffer {"connection_id":107212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:00:31] local.INFO: IMEI packet received {"connection_id":107212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:00:31] local.INFO: IMEI acknowledgment sent {"connection_id":107212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:00:32] local.INFO: TCP Data received {"connection_id":107212,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:00:32] local.INFO: Processing buffer {"connection_id":107212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:00:32] local.INFO: Packet analysis {"connection_id":107212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:00:32] local.INFO: Extracted packet for processing {"connection_id":107212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:00:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 07:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 07:00:32] 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-06-18 07:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:00:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:00:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":107212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:00:32] local.INFO: GPS data processed {"connection_id":107212,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:00:32] local.INFO: Acknowledgment sent {"connection_id":107212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:00:55] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85917d00100000000000000000000000000..."} 
[2026-06-18 07:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85917d00100000000000000000000000000..."} 
[2026-06-18 07:00:55] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85917d00100000000000000000000000000..."} 
[2026-06-18 07:00:55] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed859"} 
[2026-06-18 07:00:55] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed859"} 
[2026-06-18 07:00: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-06-18 07:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93672223113478144,"note":"Value kept but may cause issues"} 
[2026-06-18 07:00:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,167,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 07:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781746178000,"timestamp_ms":1781746178000,"timestamp_seconds":1781746178,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85917d0"} 
[2026-06-18 07:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 07:00:55] 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-06-18 07:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:00: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-06-18 07:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 07:00:55] local.INFO: GPS data processed {"connection_id":106238,"processed":0,"errors":0,"total":1} 
[2026-06-18 07:00:55] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:01:04] local.INFO: TCP Data received {"connection_id":107212,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:01:04] local.INFO: Processing buffer {"connection_id":107212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:01:04] local.INFO: Packet analysis {"connection_id":107212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:01:04] local.INFO: Extracted packet for processing {"connection_id":107212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:01:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 07:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 07:01:04] 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-06-18 07:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:01:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:01:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":107212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:01:04] local.INFO: GPS data processed {"connection_id":107212,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:01:04] local.INFO: Acknowledgment sent {"connection_id":107212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:01:25] local.INFO: TCP Data received {"connection_id":105693,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:01:25] local.INFO: Processing buffer {"connection_id":105693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:01:25] local.INFO: IMEI packet received {"connection_id":105693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":105693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:01:31] local.INFO: TCP Data received {"connection_id":105693,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:01:31] local.INFO: Processing buffer {"connection_id":105693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:01:31] local.INFO: IMEI packet received {"connection_id":105693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":105693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:01:31] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85a7378012d80aec005d36a88000000b010..."} 
[2026-06-18 07:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85a7378012d80aec005d36a88000000b010..."} 
[2026-06-18 07:01:31] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85a7378012d80aec005d36a88000000b010..."} 
[2026-06-18 07:01:31] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85a"} 
[2026-06-18 07:01:31] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85a"} 
[2026-06-18 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":763408064,"raw_latitude":97741448,"longitude_deg":76.3408064,"latitude_deg":9.7741448,"altitude":0,"angle":176,"satellites":16,"speed":19,"hex_longitude":"2d80aec0","hex_latitude":"05d36a88","is_valid_coordinates":true} 
[2026-06-18 07:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127044096001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93674529510916096,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174184259652655104,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:31] 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-06-18 07:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781746267000,"timestamp_ms":1781746267000,"timestamp_seconds":1781746267,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85a7378"} 
[2026-06-18 07:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 07:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:01:31] 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-06-18 07:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127044096001,"66":13102,"167":206,"85":15104,"24":19,"16":93674529510916096,"45":-9174184259652655104},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 07:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127044096001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:01:31] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 07:01:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93674529510916096,"km_value":93674529510916.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174184259652655104,"description":"Unknown IO ID 45"} 
[2026-06-18 07:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127044096001,"power":13102,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9174184259652655104}} 
[2026-06-18 07:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343015,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:01:32] local.INFO: GPS data processed {"connection_id":106238,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:01:32] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:01:32] local.INFO: TCP Data received {"connection_id":105693,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:01:32] local.INFO: Processing buffer {"connection_id":105693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:01:32] local.INFO: Packet analysis {"connection_id":105693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:01:32] local.INFO: Extracted packet for processing {"connection_id":105693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:01:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 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-06-18 07:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 07:01:32] 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-06-18 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-06-18 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-06-18 07:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:01:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:01:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":105693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:01:32] local.INFO: GPS data processed {"connection_id":105693,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:01:32] local.INFO: Acknowledgment sent {"connection_id":105693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:01:39] local.INFO: TCP Data received {"connection_id":105694,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:01:39] local.INFO: Processing buffer {"connection_id":105694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:01:39] local.INFO: IMEI packet received {"connection_id":105694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":105694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:01:51] local.INFO: TCP Data received {"connection_id":107213,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:51] local.INFO: Processing buffer {"connection_id":107213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:51] local.INFO: IMEI packet received {"connection_id":107213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":107213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:01:52] local.INFO: TCP Data received {"connection_id":107213,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:52] local.INFO: Processing buffer {"connection_id":107213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:52] local.INFO: IMEI packet received {"connection_id":107213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":107213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:01:53] local.INFO: TCP Data received {"connection_id":107213,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:53] local.INFO: Processing buffer {"connection_id":107213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:53] local.INFO: IMEI packet received {"connection_id":107213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":107213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:01:54] local.INFO: TCP Data received {"connection_id":107213,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:54] local.INFO: Processing buffer {"connection_id":107213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:01:54] local.INFO: IMEI packet received {"connection_id":107213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":107213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:02:04] local.INFO: TCP Data received {"connection_id":105693,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:02:04] local.INFO: Processing buffer {"connection_id":105693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8567020012d59b000063e3ac8000101482d..."} 
[2026-06-18 07:02:04] local.INFO: Packet analysis {"connection_id":105693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:02:04] local.INFO: Extracted packet for processing {"connection_id":105693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed856"} 
[2026-06-18 07:02:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:02:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126899968001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:02:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:02:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:02:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:02:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781746004000,"timestamp_ms":1781746004000,"timestamp_seconds":1781746004,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8567020"} 
[2026-06-18 07:02:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:02:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:02:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 07:02:04] 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-06-18 07:02:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:02:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:02:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:02:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:02:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:02:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:02:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:02:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:02:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:02:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126899968001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:02:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:02:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:02:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126899968001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:02:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:02:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:02:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:02:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:02:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126899968001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:02:04] local.INFO: DEBUG: GPS processor result {"connection_id":105693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:02:04] local.INFO: GPS data processed {"connection_id":105693,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:02:04] local.INFO: Acknowledgment sent {"connection_id":105693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:02:31] local.INFO: TCP Data received {"connection_id":107214,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:02:31] local.INFO: Processing buffer {"connection_id":107214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:02:31] local.INFO: IMEI packet received {"connection_id":107214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:02:31] local.INFO: IMEI acknowledgment sent {"connection_id":107214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:02:36] local.INFO: TCP Data received {"connection_id":107214,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:02:36] local.INFO: Processing buffer {"connection_id":107214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:02:36] local.INFO: IMEI packet received {"connection_id":107214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":107214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:02:37] local.INFO: TCP Data received {"connection_id":107214,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:02:37] local.INFO: Processing buffer {"connection_id":107214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:02:37] local.INFO: Packet analysis {"connection_id":107214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85b"} 
[2026-06-18 07:02:37] local.INFO: Extracted packet for processing {"connection_id":107214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85b"} 
[2026-06-18 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126977024001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781746305000,"timestamp_ms":1781746305000,"timestamp_seconds":1781746305,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85b07e8"} 
[2026-06-18 07:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:02:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126977024001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126977024001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:02:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:02:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126977024001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":107214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:02:37] local.INFO: GPS data processed {"connection_id":107214,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:02:37] local.INFO: Acknowledgment sent {"connection_id":107214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:03:09] local.INFO: TCP Data received {"connection_id":107214,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:03:09] local.INFO: Processing buffer {"connection_id":107214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:03:09] local.INFO: Packet analysis {"connection_id":107214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85b"} 
[2026-06-18 07:03:09] local.INFO: Extracted packet for processing {"connection_id":107214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85b"} 
[2026-06-18 07:03:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:03: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-06-18 07:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126977024001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781746305000,"timestamp_ms":1781746305000,"timestamp_seconds":1781746305,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85b07e8"} 
[2026-06-18 07:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:03: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:03: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-06-18 07:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126977024001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126977024001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:03:09] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:03:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126977024001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":107214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:03:09] local.INFO: GPS data processed {"connection_id":107214,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:03:09] local.INFO: Acknowledgment sent {"connection_id":107214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:03:25] local.INFO: TCP Data received {"connection_id":107215,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:03:25] local.INFO: Processing buffer {"connection_id":107215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:03:25] local.INFO: IMEI packet received {"connection_id":107215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":107215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:03:31] local.INFO: TCP Data received {"connection_id":107215,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:03:31] local.INFO: Processing buffer {"connection_id":107215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:03:31] local.INFO: IMEI packet received {"connection_id":107215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":107215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:03:32] local.INFO: TCP Data received {"connection_id":107215,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:03:32] local.INFO: Processing buffer {"connection_id":107215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:03:32] local.INFO: Packet analysis {"connection_id":107215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85b"} 
[2026-06-18 07:03:32] local.INFO: Extracted packet for processing {"connection_id":107215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85b"} 
[2026-06-18 07:03:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126977024001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781746305000,"timestamp_ms":1781746305000,"timestamp_seconds":1781746305,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85b07e8"} 
[2026-06-18 07:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126977024001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126977024001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:03:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:03:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126977024001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":107215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:03:32] local.INFO: GPS data processed {"connection_id":107215,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:03:32] local.INFO: Acknowledgment sent {"connection_id":107215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:04:04] local.INFO: TCP Data received {"connection_id":107215,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:04:04] local.INFO: Processing buffer {"connection_id":107215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85b07e8012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:04:04] local.INFO: Packet analysis {"connection_id":107215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85b"} 
[2026-06-18 07:04:04] local.INFO: Extracted packet for processing {"connection_id":107215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85b"} 
[2026-06-18 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126977024001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:04:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781746305000,"timestamp_ms":1781746305000,"timestamp_seconds":1781746305,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85b07e8"} 
[2026-06-18 07:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126977024001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126977024001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:04:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:04:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126977024001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":107215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:04:04] local.INFO: GPS data processed {"connection_id":107215,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:04:04] local.INFO: Acknowledgment sent {"connection_id":107215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:04:25] local.INFO: TCP Data received {"connection_id":105695,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:04:25] local.INFO: Processing buffer {"connection_id":105695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:04:25] local.INFO: IMEI packet received {"connection_id":105695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":105695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:05:18] local.INFO: TCP Data received {"connection_id":105695,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:18] local.INFO: Processing buffer {"connection_id":105695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:18] local.INFO: IMEI packet received {"connection_id":105695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":105695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:05:19] local.INFO: TCP Data received {"connection_id":105695,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:19] local.INFO: Processing buffer {"connection_id":105695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:19] local.INFO: IMEI packet received {"connection_id":105695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":105695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:05:31] local.INFO: TCP Data received {"connection_id":106240,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:31] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:05:31] local.INFO: IMEI packet received {"connection_id":106240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":106240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:06:55] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:06:55] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:06:55] local.INFO: IMEI packet received {"connection_id":106241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":106241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:06:57] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:06:57] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:06:57] local.INFO: IMEI packet received {"connection_id":106241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":106241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:06:57] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85ee430012d8298c005d162280006006512..."} 
[2026-06-18 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85ee430012d8298c005d162280006006512..."} 
[2026-06-18 07:06:57] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85ee430012d8298c005d162280006006512..."} 
[2026-06-18 07:06:57] local.INFO: Packet analysis {"connection_id":106241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85e"} 
[2026-06-18 07:06:57] local.INFO: Extracted packet for processing {"connection_id":106241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85e"} 
[2026-06-18 07:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763533504,"raw_latitude":97608232,"longitude_deg":76.3533504,"latitude_deg":9.7608232,"altitude":6,"angle":101,"satellites":18,"speed":7,"hex_longitude":"2d8298c0","hex_latitude":"05d16228","is_valid_coordinates":true} 
[2026-06-18 07:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127118592001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93686533944508416,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036542996075345920,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] 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-06-18 07:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781746558000,"timestamp_ms":1781746558000,"timestamp_seconds":1781746558,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85ee430"} 
[2026-06-18 07:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3630067456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190770181,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":55297,"corrected_to":0} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":209,"raw_value":7424184011496755712,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040078,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3605921792,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3513098240,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":242,"raw_value":57788411319047483,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.WARNING: Large IO value detected {"io_id":94,"raw_value":7153969303048617989,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,63,85,24,241,157,16,215,158,208,45,64,103,7,18,10,66,204,192,104,200,1,240,221,227,216,209,4,113,205,13,142,116,32,239,51,65,2,76,5,6,48,242,94],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":200,"original":55297,"validated":0},{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-06-18 07:06:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432505070723530752,"timestamp_seconds":432505070723530.75,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127118592001,"66":13059,"63":206,"85":15104,"24":7,"16":93686533944508416,"45":-9036542996075345920},"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-06-18 07:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127118592001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:06:57] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-18 07:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93686533944508416,"km_value":93686533944508.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036542996075345920,"description":"Unknown IO ID 45"} 
[2026-06-18 07:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127118592001,"power":13059,"unknown_63":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9036542996075345920}} 
[2026-06-18 07:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":106241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343022,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:06:58] local.INFO: GPS data processed {"connection_id":106241,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:06:58] local.INFO: Acknowledgment sent {"connection_id":106241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:06:59] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85ee818012d829a8005d162280006005a12..."} 
[2026-06-18 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85ee818012d829a8005d162280006005a12..."} 
[2026-06-18 07:06:59] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85ee818012d829a8005d162280006005a12..."} 
[2026-06-18 07:06:59] local.INFO: Packet analysis {"connection_id":106241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85e"} 
[2026-06-18 07:06:59] local.INFO: Extracted packet for processing {"connection_id":106241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85e"} 
[2026-06-18 07:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763533952,"raw_latitude":97608232,"longitude_deg":76.3533952,"latitude_deg":9.7608232,"altitude":6,"angle":90,"satellites":18,"speed":16,"hex_longitude":"2d829a80","hex_latitude":"05d16228","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127118848001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93686555419344896,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036261521098659840,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] 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-06-18 07:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781746559000,"timestamp_ms":1781746559000,"timestamp_seconds":1781746559,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85ee818"} 
[2026-06-18 07:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517134,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3630075456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190868485,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1312751822,"corrected_to":0} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147864938,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480590,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3612016640,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.WARNING: Large IO value detected {"io_id":65,"raw_value":58077557095399453,"note":"Value kept but may cause issues"} 
[2026-06-18 07:06:59] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,63,85,24,241,157,16,215,158,224,45,192,98,6,18,10,66,208,64,103,7,204,1,240,242,227,216,209,4,113,205,9,193,148,72,239,48,2,76,5,29,65],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1312751822,"validated":0}]} 
[2026-06-18 07:06:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432456692211843072,"timestamp_seconds":432456692211843.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:06:59] 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-06-18 07:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127118848001,"66":13059,"63":206,"85":15104,"24":16,"16":93686555419344896,"45":-9036261521098659840},"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-06-18 07:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127118848001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:06:59] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-18 07:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93686555419344896,"km_value":93686555419344.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036261521098659840,"description":"Unknown IO ID 45"} 
[2026-06-18 07:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127118848001,"power":13059,"unknown_63":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":-9036261521098659840}} 
[2026-06-18 07:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":106241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343023,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:06:59] local.INFO: GPS data processed {"connection_id":106241,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:06:59] local.INFO: Acknowledgment sent {"connection_id":106241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:06:59] local.INFO: TCP Data received {"connection_id":105492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:06:59] local.INFO: Processing buffer {"connection_id":105492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:06:59] local.INFO: IMEI packet received {"connection_id":105492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":105492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:07:30] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8602098012d83368005d154d00003000c13..."} 
[2026-06-18 07:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8602098012d83368005d154d00003000c13..."} 
[2026-06-18 07:07:30] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8602098012d83368005d154d00003000c13..."} 
[2026-06-18 07:07:30] local.INFO: Packet analysis {"connection_id":106241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:07:30] local.INFO: Extracted packet for processing {"connection_id":106241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:07:30] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604816,"longitude_deg":76.3573888,"latitude_deg":9.7604816,"altitude":3,"angle":12,"satellites":19,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d154d0","is_valid_coordinates":true} 
[2026-06-18 07:07: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-06-18 07:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127139584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688681428156416,"note":"Value kept but may cause issues"} 
[2026-06-18 07:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523428352,"note":"Value kept but may cause issues"} 
[2026-06-18 07:07:30] 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-06-18 07:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781746639000,"timestamp_ms":1781746639000,"timestamp_seconds":1781746639,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8602098"} 
[2026-06-18 07:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:07: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-06-18 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-18 07:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:07:30] 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-06-18 07:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127139584001,"66":13200,"63":206,"85":15104,"24":0,"16":93688681428156416,"45":-8991858843523428352},"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-06-18 07:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127139584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:07:30] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-18 07:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688681428156416,"km_value":93688681428156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523428352,"description":"Unknown IO ID 45"} 
[2026-06-18 07:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127139584001,"power":13200,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523428352}} 
[2026-06-18 07:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":106241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:07:30] local.INFO: GPS data processed {"connection_id":106241,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:07:30] local.INFO: Acknowledgment sent {"connection_id":106241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:07:34] local.INFO: TCP Data received {"connection_id":105494,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:07:34] local.INFO: Processing buffer {"connection_id":105494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:07:34] local.INFO: IMEI packet received {"connection_id":105494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":105494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:07:51] local.INFO: TCP Data received {"connection_id":105696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:51] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:51] local.INFO: IMEI packet received {"connection_id":105696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":105696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:07:52] local.INFO: TCP Data received {"connection_id":105696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:52] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:52] local.INFO: IMEI packet received {"connection_id":105696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":105696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:07:57] local.INFO: TCP Data received {"connection_id":105696,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:57] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:07:57] local.INFO: IMEI packet received {"connection_id":105696,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":105696,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:07:57] local.INFO: TCP Data received {"connection_id":105696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8603808012d83368005d154d00003000c13..."} 
[2026-06-18 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8603808012d83368005d154d00003000c13..."} 
[2026-06-18 07:07:57] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8603808012d83368005d154d00003000c13..."} 
[2026-06-18 07:07:57] local.INFO: Packet analysis {"connection_id":105696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:07:57] local.INFO: Extracted packet for processing {"connection_id":105696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604816,"longitude_deg":76.3573888,"latitude_deg":9.7604816,"altitude":3,"angle":12,"satellites":19,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d154d0","is_valid_coordinates":true} 
[2026-06-18 07:07: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-06-18 07:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127139584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688681428156416,"note":"Value kept but may cause issues"} 
[2026-06-18 07:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523428352,"note":"Value kept but may cause issues"} 
[2026-06-18 07:07:57] 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-06-18 07:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781746645000,"timestamp_ms":1781746645000,"timestamp_seconds":1781746645,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8603808"} 
[2026-06-18 07:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-18 07:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127139584001,"66":13254,"63":206,"85":15104,"24":0,"16":93688681428156416,"45":-8991858843523428352},"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-06-18 07:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127139584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:07:57] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-18 07:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688681428156416,"km_value":93688681428156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523428352,"description":"Unknown IO ID 45"} 
[2026-06-18 07:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127139584001,"power":13254,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523428352}} 
[2026-06-18 07:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":105696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:07:57] local.INFO: GPS data processed {"connection_id":105696,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:07:57] local.INFO: Acknowledgment sent {"connection_id":105696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:08:30] local.INFO: TCP Data received {"connection_id":105696,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8603808012d83368005d154d00003000c13..."} 
[2026-06-18 07:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8603808012d83368005d154d00003000c13..."} 
[2026-06-18 07:08:30] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8603808012d83368005d154d00003000c13..."} 
[2026-06-18 07:08:30] local.INFO: Packet analysis {"connection_id":105696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:08:30] local.INFO: Extracted packet for processing {"connection_id":105696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:08:30] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604816,"longitude_deg":76.3573888,"latitude_deg":9.7604816,"altitude":3,"angle":12,"satellites":19,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d154d0","is_valid_coordinates":true} 
[2026-06-18 07:08: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-06-18 07:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127141120001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688681428156416,"note":"Value kept but may cause issues"} 
[2026-06-18 07:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523428352,"note":"Value kept but may cause issues"} 
[2026-06-18 07:08:30] 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-06-18 07:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781746645000,"timestamp_ms":1781746645000,"timestamp_seconds":1781746645,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8603808"} 
[2026-06-18 07:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 07:08:30] 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-06-18 07: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-06-18 07:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105696,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:08:30] 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-06-18 07:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127141120001,"66":13254,"63":206,"85":15104,"24":0,"16":93688681428156416,"45":-8991858843523428352},"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-06-18 07:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127141120001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:08:30] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-18 07:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688681428156416,"km_value":93688681428156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523428352,"description":"Unknown IO ID 45"} 
[2026-06-18 07:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127141120001,"power":13254,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523428352}} 
[2026-06-18 07:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":105696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343026,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:08:30] local.INFO: GPS data processed {"connection_id":105696,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:08:30] local.INFO: Acknowledgment sent {"connection_id":105696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:08:52] local.INFO: TCP Data received {"connection_id":105495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:52] local.INFO: Processing buffer {"connection_id":105495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:52] local.INFO: IMEI packet received {"connection_id":105495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":105495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:08:54] local.INFO: TCP Data received {"connection_id":105495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:54] local.INFO: Processing buffer {"connection_id":105495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:54] local.INFO: IMEI packet received {"connection_id":105495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":105495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:08:57] local.INFO: TCP Data received {"connection_id":105495,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:57] local.INFO: Processing buffer {"connection_id":105495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:08:57] local.INFO: IMEI packet received {"connection_id":105495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":105495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:08:58] local.INFO: TCP Data received {"connection_id":105495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86047a8012d83368005d154c8000300dc14..."} 
[2026-06-18 07:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86047a8012d83368005d154c8000300dc14..."} 
[2026-06-18 07:08:58] local.INFO: Processing buffer {"connection_id":105495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86047a8012d83368005d154c8000300dc14..."} 
[2026-06-18 07:08:58] local.INFO: Packet analysis {"connection_id":105495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:08:58] local.INFO: Extracted packet for processing {"connection_id":105495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604808,"longitude_deg":76.3573888,"latitude_deg":9.7604808,"altitude":3,"angle":220,"satellites":20,"speed":1,"hex_longitude":"2d833680","hex_latitude":"05d154c8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127141120001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688681428156416,"note":"Value kept but may cause issues"} 
[2026-06-18 07:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523428352,"note":"Value kept but may cause issues"} 
[2026-06-18 07:08:58] 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-06-18 07:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781746649000,"timestamp_ms":1781746649000,"timestamp_seconds":1781746649,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86047a8"} 
[2026-06-18 07:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:08: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-06-18 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 07:08: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-06-18 07: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-06-18 07:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:08: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-06-18 07:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127141120001,"66":12613,"63":206,"85":15104,"24":1,"16":93688681428156416,"45":-8991858843523428352},"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-06-18 07:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127141120001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:08:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-18 07:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688681428156416,"km_value":93688681428156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523428352,"description":"Unknown IO ID 45"} 
[2026-06-18 07:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127141120001,"power":12613,"unknown_63":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":-8991858843523428352}} 
[2026-06-18 07:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":105495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:08:58] local.INFO: GPS data processed {"connection_id":105495,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:08:58] local.INFO: Acknowledgment sent {"connection_id":105495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:09:29] local.INFO: TCP Data received {"connection_id":105495,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86099b0012d83368005d15460000300d519..."} 
[2026-06-18 07:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86099b0012d83368005d15460000300d519..."} 
[2026-06-18 07:09:29] local.INFO: Processing buffer {"connection_id":105495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86099b0012d83368005d15460000300d519..."} 
[2026-06-18 07:09:29] local.INFO: Packet analysis {"connection_id":105495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:09:29] local.INFO: Extracted packet for processing {"connection_id":105495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604704,"longitude_deg":76.3573888,"latitude_deg":9.7604704,"altitude":3,"angle":213,"satellites":25,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d15460","is_valid_coordinates":true} 
[2026-06-18 07:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127142144001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523430400,"note":"Value kept but may cause issues"} 
[2026-06-18 07:09: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-06-18 07:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781746670000,"timestamp_ms":1781746670000,"timestamp_seconds":1781746670,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86099b0"} 
[2026-06-18 07:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-18 07:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:09: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-06-18 07:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127142144001,"66":12765,"63":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991858843523430400},"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-06-18 07:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127142144001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:09:29] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-18 07:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523430400,"description":"Unknown IO ID 45"} 
[2026-06-18 07:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127142144001,"power":12765,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523430400}} 
[2026-06-18 07:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":105495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:09:29] local.INFO: GPS data processed {"connection_id":105495,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:09:29] local.INFO: Acknowledgment sent {"connection_id":105495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:09:52] local.INFO: TCP Data received {"connection_id":107221,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:09:52] local.INFO: Processing buffer {"connection_id":107221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:09:52] local.INFO: IMEI packet received {"connection_id":107221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":107221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:09:57] local.INFO: TCP Data received {"connection_id":107221,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107221,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:09:57] local.INFO: Processing buffer {"connection_id":107221,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:09:57] local.INFO: IMEI packet received {"connection_id":107221,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":107221,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:09:58] local.INFO: TCP Data received {"connection_id":107221,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed860ebb8012d83368005d15460000300d51b..."} 
[2026-06-18 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed860ebb8012d83368005d15460000300d51b..."} 
[2026-06-18 07:09:58] local.INFO: Processing buffer {"connection_id":107221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed860ebb8012d83368005d15460000300d51b..."} 
[2026-06-18 07:09:58] local.INFO: Packet analysis {"connection_id":107221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:09:58] local.INFO: Extracted packet for processing {"connection_id":107221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed860"} 
[2026-06-18 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604704,"longitude_deg":76.3573888,"latitude_deg":9.7604704,"altitude":3,"angle":213,"satellites":27,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d15460","is_valid_coordinates":true} 
[2026-06-18 07:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127147520001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523457024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:09:58] 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-06-18 07:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781746691000,"timestamp_ms":1781746691000,"timestamp_seconds":1781746691,"priority":1,"record_length":96,"hex_timestamp":"0000019ed860ebb8"} 
[2026-06-18 07:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:09: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-06-18 07:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 07:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:09: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-06-18 07:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127147520001,"66":12526,"63":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991858843523457024},"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-06-18 07:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127147520001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:09:58] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-06-18 07:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523457024,"description":"Unknown IO ID 45"} 
[2026-06-18 07:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127147520001,"power":12526,"unknown_63":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523457024}} 
[2026-06-18 07:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":107221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:09:58] local.INFO: GPS data processed {"connection_id":107221,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:09:58] local.INFO: Acknowledgment sent {"connection_id":107221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:10:29] local.INFO: TCP Data received {"connection_id":107221,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8613dc0012d83368005d15460000300d51b..."} 
[2026-06-18 07:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8613dc0012d83368005d15460000300d51b..."} 
[2026-06-18 07:10:29] local.INFO: Processing buffer {"connection_id":107221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8613dc0012d83368005d15460000300d51b..."} 
[2026-06-18 07:10:29] local.INFO: Packet analysis {"connection_id":107221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed861"} 
[2026-06-18 07:10:29] local.INFO: Extracted packet for processing {"connection_id":107221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed861"} 
[2026-06-18 07:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604704,"longitude_deg":76.3573888,"latitude_deg":9.7604704,"altitude":3,"angle":213,"satellites":27,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d15460","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127152896001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523457024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:10:29] 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-06-18 07:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781746712000,"timestamp_ms":1781746712000,"timestamp_seconds":1781746712,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8613dc0"} 
[2026-06-18 07:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:10: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-06-18 07: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 07:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107221,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:10: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-06-18 07:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127152896001,"66":12385,"221":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991858843523457024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127152896001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:10:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523457024,"description":"Unknown IO ID 45"} 
[2026-06-18 07:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127152896001,"power":12385,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523457024}} 
[2026-06-18 07:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":107221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343030,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:10:29] local.INFO: GPS data processed {"connection_id":107221,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:10:29] local.INFO: Acknowledgment sent {"connection_id":107221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:10:36] local.INFO: TCP Data received {"connection_id":105698,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:10:36] local.INFO: Processing buffer {"connection_id":105698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:10:36] local.INFO: IMEI packet received {"connection_id":105698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":105698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:10:38] local.INFO: TCP Data received {"connection_id":105698,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:10:38] local.INFO: Processing buffer {"connection_id":105698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:10:38] local.INFO: Packet analysis {"connection_id":105698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85f"} 
[2026-06-18 07:10:38] local.INFO: Extracted packet for processing {"connection_id":105698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85f"} 
[2026-06-18 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127054080001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:10:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781746606000,"timestamp_ms":1781746606000,"timestamp_seconds":1781746606,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85f9fb0"} 
[2026-06-18 07:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:10:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127054080001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127054080001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:10:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:10:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127054080001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":105698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:10:38] local.INFO: GPS data processed {"connection_id":105698,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:10:38] local.INFO: Acknowledgment sent {"connection_id":105698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:10:57] local.INFO: TCP Data received {"connection_id":107222,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:10:57] local.INFO: Processing buffer {"connection_id":107222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:10:57] local.INFO: IMEI packet received {"connection_id":107222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":107222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:11:02] local.INFO: TCP Data received {"connection_id":107222,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107222,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:02] local.INFO: Processing buffer {"connection_id":107222,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:02] local.INFO: IMEI packet received {"connection_id":107222,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":107222,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:11:03] local.INFO: TCP Data received {"connection_id":107222,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8618fc8012d83368005d15460000300d51c..."} 
[2026-06-18 07:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8618fc8012d83368005d15460000300d51c..."} 
[2026-06-18 07:11:03] local.INFO: Processing buffer {"connection_id":107222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8618fc8012d83368005d15460000300d51c..."} 
[2026-06-18 07:11:03] local.INFO: Packet analysis {"connection_id":107222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed861"} 
[2026-06-18 07:11:03] local.INFO: Extracted packet for processing {"connection_id":107222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed861"} 
[2026-06-18 07:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604704,"longitude_deg":76.3573888,"latitude_deg":9.7604704,"altitude":3,"angle":213,"satellites":28,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d15460","is_valid_coordinates":true} 
[2026-06-18 07:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127158272001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523457024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:03] 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-06-18 07:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781746733000,"timestamp_ms":1781746733000,"timestamp_seconds":1781746733,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8618fc8"} 
[2026-06-18 07:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:11: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-06-18 07:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 07:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:11:03] 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-06-18 07:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127158272001,"66":12428,"221":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991858843523457024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127158272001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:11:03] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:11:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523457024,"description":"Unknown IO ID 45"} 
[2026-06-18 07:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127158272001,"power":12428,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523457024}} 
[2026-06-18 07:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":107222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:11:03] local.INFO: GPS data processed {"connection_id":107222,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:11:03] local.INFO: Acknowledgment sent {"connection_id":107222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:11:08] local.INFO: TCP Data received {"connection_id":107222,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed861e1d0012d83368005d15460000300d51d..."} 
[2026-06-18 07:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed861e1d0012d83368005d15460000300d51d..."} 
[2026-06-18 07:11:08] local.INFO: Processing buffer {"connection_id":107222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed861e1d0012d83368005d15460000300d51d..."} 
[2026-06-18 07:11:08] local.INFO: Packet analysis {"connection_id":107222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed861"} 
[2026-06-18 07:11:08] local.INFO: Extracted packet for processing {"connection_id":107222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed861"} 
[2026-06-18 07:11:08] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604704,"longitude_deg":76.3573888,"latitude_deg":9.7604704,"altitude":3,"angle":213,"satellites":29,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d15460","is_valid_coordinates":true} 
[2026-06-18 07:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127163648001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523457024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:08] 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-06-18 07:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781746754000,"timestamp_ms":1781746754000,"timestamp_seconds":1781746754,"priority":1,"record_length":96,"hex_timestamp":"0000019ed861e1d0"} 
[2026-06-18 07:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 07:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107222,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:11:08] 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-06-18 07:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127163648001,"66":12461,"221":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991858843523457024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127163648001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:11:08] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:11:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523457024,"description":"Unknown IO ID 45"} 
[2026-06-18 07:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127163648001,"power":12461,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523457024}} 
[2026-06-18 07:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":107222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343033,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:11:08] local.INFO: GPS data processed {"connection_id":107222,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:11:08] local.INFO: Acknowledgment sent {"connection_id":107222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:11:09] local.INFO: TCP Data received {"connection_id":105698,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:09] local.INFO: Processing buffer {"connection_id":105698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:09] local.INFO: Packet analysis {"connection_id":105698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85f"} 
[2026-06-18 07:11:09] local.INFO: Extracted packet for processing {"connection_id":105698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85f"} 
[2026-06-18 07:11:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127054080001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781746606000,"timestamp_ms":1781746606000,"timestamp_seconds":1781746606,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85f9fb0"} 
[2026-06-18 07:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127054080001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127054080001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:11:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:11:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127054080001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":105698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:11:09] local.INFO: GPS data processed {"connection_id":105698,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:11:09] local.INFO: Acknowledgment sent {"connection_id":105698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:11:31] local.INFO: TCP Data received {"connection_id":105699,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:11:31] local.INFO: Processing buffer {"connection_id":105699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:11:31] local.INFO: IMEI packet received {"connection_id":105699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":105699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:11:36] local.INFO: TCP Data received {"connection_id":105699,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:11:36] local.INFO: Processing buffer {"connection_id":105699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:11:36] local.INFO: IMEI packet received {"connection_id":105699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":105699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:11:39] local.INFO: TCP Data received {"connection_id":105699,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:39] local.INFO: Processing buffer {"connection_id":105699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:39] local.INFO: Packet analysis {"connection_id":105699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85f"} 
[2026-06-18 07:11:39] local.INFO: Extracted packet for processing {"connection_id":105699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85f"} 
[2026-06-18 07:11:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127054080001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781746606000,"timestamp_ms":1781746606000,"timestamp_seconds":1781746606,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85f9fb0"} 
[2026-06-18 07:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:11: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-06-18 07:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127054080001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127054080001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:11:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:11:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127054080001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":105699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:11:39] local.INFO: GPS data processed {"connection_id":105699,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:11:39] local.INFO: Acknowledgment sent {"connection_id":105699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:11:41] local.INFO: TCP Data received {"connection_id":105699,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:41] local.INFO: Processing buffer {"connection_id":105699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed85f9fb0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:11:41] local.INFO: Packet analysis {"connection_id":105699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed85f"} 
[2026-06-18 07:11:41] local.INFO: Extracted packet for processing {"connection_id":105699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed85f"} 
[2026-06-18 07:11:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127054080001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781746606000,"timestamp_ms":1781746606000,"timestamp_seconds":1781746606,"priority":1,"record_length":96,"hex_timestamp":"0000019ed85f9fb0"} 
[2026-06-18 07:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127054080001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127054080001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:11:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:11:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127054080001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":105699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:11:41] local.INFO: GPS data processed {"connection_id":105699,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:11:41] local.INFO: Acknowledgment sent {"connection_id":105699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:11:53] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:53] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:53] local.INFO: IMEI packet received {"connection_id":106242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":106242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:11:57] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:57] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:11:57] local.INFO: IMEI packet received {"connection_id":106242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":106242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:11:58] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8620110012d83368005d15460000300d51d..."} 
[2026-06-18 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8620110012d83368005d15460000300d51d..."} 
[2026-06-18 07:11:58] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8620110012d83368005d15460000300d51d..."} 
[2026-06-18 07:11:58] local.INFO: Packet analysis {"connection_id":106242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed862"} 
[2026-06-18 07:11:58] local.INFO: Extracted packet for processing {"connection_id":106242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed862"} 
[2026-06-18 07:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604704,"longitude_deg":76.3573888,"latitude_deg":9.7604704,"altitude":3,"angle":213,"satellites":29,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d15460","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523457024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:11:58] 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-06-18 07:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781746762000,"timestamp_ms":1781746762000,"timestamp_seconds":1781746762,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8620110"} 
[2026-06-18 07:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 07:11: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-06-18 07:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:11: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-06-18 07:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127169024001,"66":12461,"221":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991858843523457024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:11:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523457024,"description":"Unknown IO ID 45"} 
[2026-06-18 07:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127169024001,"power":12461,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523457024}} 
[2026-06-18 07:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":106242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:11:58] local.INFO: GPS data processed {"connection_id":106242,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:11:58] local.INFO: Acknowledgment sent {"connection_id":106242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:12:26] local.INFO: TCP Data received {"connection_id":105701,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:26] local.INFO: Processing buffer {"connection_id":105701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:26] local.INFO: IMEI packet received {"connection_id":105701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":105701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:12:27] local.INFO: TCP Data received {"connection_id":105701,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:27] local.INFO: Processing buffer {"connection_id":105701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:27] local.INFO: IMEI packet received {"connection_id":105701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":105701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:12:29] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8620110012d83368005d15460000300d51d..."} 
[2026-06-18 07:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8620110012d83368005d15460000300d51d..."} 
[2026-06-18 07:12:29] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8620110012d83368005d15460000300d51d..."} 
[2026-06-18 07:12:29] local.INFO: Packet analysis {"connection_id":106242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed862"} 
[2026-06-18 07:12:29] local.INFO: Extracted packet for processing {"connection_id":106242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed862"} 
[2026-06-18 07:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763573888,"raw_latitude":97604704,"longitude_deg":76.3573888,"latitude_deg":9.7604704,"altitude":3,"angle":213,"satellites":29,"speed":0,"hex_longitude":"2d833680","hex_latitude":"05d15460","is_valid_coordinates":true} 
[2026-06-18 07:12: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-06-18 07:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127171072001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523457024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:29] 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-06-18 07:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781746762000,"timestamp_ms":1781746762000,"timestamp_seconds":1781746762,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8620110"} 
[2026-06-18 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-06-18 07:12: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-06-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 07:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 07:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:12: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-06-18 07:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127171072001,"66":12461,"221":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991858843523457024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127171072001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:12:29] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523457024,"description":"Unknown IO ID 45"} 
[2026-06-18 07:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127171072001,"power":12461,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523457024}} 
[2026-06-18 07:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":106242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343038,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:12:29] local.INFO: GPS data processed {"connection_id":106242,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:12:29] local.INFO: Acknowledgment sent {"connection_id":106242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:12:30] local.INFO: TCP Data received {"connection_id":105701,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:30] local.INFO: Processing buffer {"connection_id":105701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:12:30] local.INFO: IMEI packet received {"connection_id":105701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":105701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:12:33] local.INFO: TCP Data received {"connection_id":105701,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:12:33] local.INFO: Processing buffer {"connection_id":105701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:12:33] local.INFO: Packet analysis {"connection_id":105701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:12:33] local.INFO: Extracted packet for processing {"connection_id":105701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:12:33] 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-06-18 07:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:12:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:12:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":105701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:12:33] local.INFO: GPS data processed {"connection_id":105701,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:12:33] local.INFO: Acknowledgment sent {"connection_id":105701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:12:37] local.INFO: TCP Data received {"connection_id":105701,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:12:37] local.INFO: Processing buffer {"connection_id":105701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:12:37] local.INFO: Packet analysis {"connection_id":105701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:12:37] local.INFO: Extracted packet for processing {"connection_id":105701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:12:37] 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-06-18 07: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-06-18 07:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:12:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:12:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":105701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:12:37] local.INFO: GPS data processed {"connection_id":105701,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:12:37] local.INFO: Acknowledgment sent {"connection_id":105701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:12:52] local.INFO: TCP Data received {"connection_id":107223,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:12:52] local.INFO: Processing buffer {"connection_id":107223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:12:52] local.INFO: IMEI packet received {"connection_id":107223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":107223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:12:57] local.INFO: TCP Data received {"connection_id":107223,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107223,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:12:57] local.INFO: Processing buffer {"connection_id":107223,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:12:57] local.INFO: IMEI packet received {"connection_id":107223,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":107223,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:13:00] local.INFO: TCP Data received {"connection_id":107223,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8650a68012d83378005d15468000300d51d..."} 
[2026-06-18 07:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8650a68012d83378005d15468000300d51d..."} 
[2026-06-18 07:13:00] local.INFO: Processing buffer {"connection_id":107223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8650a68012d83378005d15468000300d51d..."} 
[2026-06-18 07:13:00] local.INFO: Packet analysis {"connection_id":107223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed865"} 
[2026-06-18 07:13:00] local.INFO: Extracted packet for processing {"connection_id":107223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed865"} 
[2026-06-18 07:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763574144,"raw_latitude":97604712,"longitude_deg":76.3574144,"latitude_deg":9.7604712,"altitude":3,"angle":213,"satellites":29,"speed":0,"hex_longitude":"2d833780","hex_latitude":"05d15468","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127171072001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991858843523457024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:00] 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-06-18 07:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781746961000,"timestamp_ms":1781746961000,"timestamp_seconds":1781746961,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8650a68"} 
[2026-06-18 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-06-18 07:13:00] 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-06-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 07:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 07:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:13:00] 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-06-18 07:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127171072001,"66":12906,"221":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991858843523457024},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127171072001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:13:00] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991858843523457024,"description":"Unknown IO ID 45"} 
[2026-06-18 07:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127171072001,"power":12906,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991858843523457024}} 
[2026-06-18 07:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":107223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:13:00] local.INFO: GPS data processed {"connection_id":107223,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:13:00] local.INFO: Acknowledgment sent {"connection_id":107223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:13:04] local.INFO: TCP Data received {"connection_id":106243,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:04] local.INFO: Processing buffer {"connection_id":106243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:04] local.INFO: IMEI packet received {"connection_id":106243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":106243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:13:10] local.INFO: TCP Data received {"connection_id":105701,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:13:10] local.INFO: Processing buffer {"connection_id":105701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:13:10] local.INFO: Packet analysis {"connection_id":105701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:13:10] local.INFO: Extracted packet for processing {"connection_id":105701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:13:10] 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-06-18 07:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:13:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:13:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":105701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:13:10] local.INFO: GPS data processed {"connection_id":105701,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:13:10] local.INFO: Acknowledgment sent {"connection_id":105701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:13:25] local.INFO: TCP Data received {"connection_id":105702,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:13:25] local.INFO: Processing buffer {"connection_id":105702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:13:25] local.INFO: IMEI packet received {"connection_id":105702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":105702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:13:31] local.INFO: TCP Data received {"connection_id":105702,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:13:31] local.INFO: Processing buffer {"connection_id":105702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:13:31] local.INFO: IMEI packet received {"connection_id":105702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":105702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:13:33] local.INFO: TCP Data received {"connection_id":105702,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:13:33] local.INFO: Processing buffer {"connection_id":105702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:13:33] local.INFO: Packet analysis {"connection_id":105702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:13:33] local.INFO: Extracted packet for processing {"connection_id":105702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:13:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:13:33] 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-06-18 07: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-06-18 07:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:13:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:13:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":105702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:13:33] local.INFO: GPS data processed {"connection_id":105702,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:13:33] local.INFO: Acknowledgment sent {"connection_id":105702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:13:33] local.INFO: TCP Data received {"connection_id":107223,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8650a68012d83378005d15468000300d51d..."} 
[2026-06-18 07:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8650a68012d83378005d15468000300d51d..."} 
[2026-06-18 07:13:33] local.INFO: Processing buffer {"connection_id":107223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8650a68012d83378005d15468000300d51d..."} 
[2026-06-18 07:13:33] local.INFO: Packet analysis {"connection_id":107223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed865"} 
[2026-06-18 07:13:33] local.INFO: Extracted packet for processing {"connection_id":107223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed865"} 
[2026-06-18 07:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763574144,"raw_latitude":97604712,"longitude_deg":76.3574144,"latitude_deg":9.7604712,"altitude":3,"angle":213,"satellites":29,"speed":0,"hex_longitude":"2d833780","hex_latitude":"05d15468","is_valid_coordinates":true} 
[2026-06-18 07:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127222016001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93688690018091008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8991577368546744320,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:33] 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-06-18 07:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781746961000,"timestamp_ms":1781746961000,"timestamp_seconds":1781746961,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8650a68"} 
[2026-06-18 07:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:13:33] 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-06-18 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 07:13:33] 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-06-18 07: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-06-18 07:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107223,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:13:33] 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-06-18 07:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127222016001,"66":12906,"221":206,"85":15104,"24":0,"16":93688690018091008,"45":-8991577368546744320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127222016001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:13:33] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93688690018091008,"km_value":93688690018091.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8991577368546744320,"description":"Unknown IO ID 45"} 
[2026-06-18 07:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127222016001,"power":12906,"unknown_221":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":-8991577368546744320}} 
[2026-06-18 07:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":107223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:13:33] local.INFO: GPS data processed {"connection_id":107223,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:13:33] local.INFO: Acknowledgment sent {"connection_id":107223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:13:34] local.INFO: TCP Data received {"connection_id":107224,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:34] local.INFO: Processing buffer {"connection_id":107224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:34] local.INFO: IMEI packet received {"connection_id":107224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:13:34] local.INFO: IMEI acknowledgment sent {"connection_id":107224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:13:39] local.INFO: TCP Data received {"connection_id":107224,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:39] local.INFO: Processing buffer {"connection_id":107224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:13:39] local.INFO: IMEI packet received {"connection_id":107224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 07:13:39] local.INFO: IMEI acknowledgment sent {"connection_id":107224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:13:41] local.INFO: TCP Data received {"connection_id":107224,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed844a958012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 07:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed844a958012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 07:13:41] local.INFO: Processing buffer {"connection_id":107224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed844a958012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 07:13:41] local.INFO: Packet analysis {"connection_id":107224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 07:13:41] local.INFO: Extracted packet for processing {"connection_id":107224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed844"} 
[2026-06-18 07:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825352,"longitude_deg":75.8435264,"latitude_deg":11.1825352,"altitude":11,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa51c8","is_valid_coordinates":true} 
[2026-06-18 07:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456126601728001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057760256,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781744839000,"timestamp_ms":1781744839000,"timestamp_seconds":1781744839,"priority":1,"record_length":96,"hex_timestamp":"0000019ed844a958"} 
[2026-06-18 07:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 07:13:41] 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-06-18 07:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 07:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 07:13:41] 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-06-18 07:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 07:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 07:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456126601728001,"66":25093,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057760256},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 07:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 07:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 07:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456126601728001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 07:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057760256,"description":"Unknown IO ID 45"} 
[2026-06-18 07:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456126601728001,"power":25093,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057760256}} 
[2026-06-18 07:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":107224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343045,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:13:41] local.INFO: GPS data processed {"connection_id":107224,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:13:41] local.INFO: Acknowledgment sent {"connection_id":107224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:13:52] local.INFO: TCP Data received {"connection_id":105497,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:13:52] local.INFO: Processing buffer {"connection_id":105497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:13:52] local.INFO: IMEI packet received {"connection_id":105497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":105497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:13:57] local.INFO: TCP Data received {"connection_id":105497,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105497,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:13:57] local.INFO: Processing buffer {"connection_id":105497,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:13:57] local.INFO: IMEI packet received {"connection_id":105497,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":105497,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:13:58] local.INFO: TCP Data received {"connection_id":105497,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed865f8b0012d8295c005d162e80005014b1f..."} 
[2026-06-18 07:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed865f8b0012d8295c005d162e80005014b1f..."} 
[2026-06-18 07:13:58] local.INFO: Processing buffer {"connection_id":105497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed865f8b0012d8295c005d162e80005014b1f..."} 
[2026-06-18 07:13:58] local.INFO: Packet analysis {"connection_id":105497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed865"} 
[2026-06-18 07:13:58] local.INFO: Extracted packet for processing {"connection_id":105497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed865"} 
[2026-06-18 07:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97608424,"longitude_deg":76.3532736,"latitude_deg":9.7608424,"altitude":5,"angle":331,"satellites":31,"speed":12,"hex_longitude":"2d8295c0","hex_latitude":"05d162e8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127237376001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93690687177883648,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037035577284628480,"note":"Value kept but may cause issues"} 
[2026-06-18 07:13:58] 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-06-18 07:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781747022000,"timestamp_ms":1781747022000,"timestamp_seconds":1781747022,"priority":1,"record_length":96,"hex_timestamp":"0000019ed865f8b0"} 
[2026-06-18 07:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:13: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-06-18 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 07:13: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-06-18 07: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-06-18 07:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:13: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-06-18 07:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127237376001,"66":13048,"221":206,"85":15104,"24":12,"16":93690687177883648,"45":-9037035577284628480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127237376001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:13:58] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:13:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93690687177883648,"km_value":93690687177883.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037035577284628480,"description":"Unknown IO ID 45"} 
[2026-06-18 07:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127237376001,"power":13048,"unknown_221":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":-9037035577284628480}} 
[2026-06-18 07:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":105497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:13:58] local.INFO: GPS data processed {"connection_id":105497,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:13:58] local.INFO: Acknowledgment sent {"connection_id":105497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:14:05] local.INFO: TCP Data received {"connection_id":105702,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:05] local.INFO: Processing buffer {"connection_id":105702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:05] local.INFO: Packet analysis {"connection_id":105702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:14:05] local.INFO: Extracted packet for processing {"connection_id":105702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:14:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:14:05] 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-06-18 07:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:14:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:14:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":105702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:14:05] local.INFO: GPS data processed {"connection_id":105702,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:14:05] local.INFO: Acknowledgment sent {"connection_id":105702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:14:31] local.INFO: TCP Data received {"connection_id":107225,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:14:31] local.INFO: Processing buffer {"connection_id":107225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:14:31] local.INFO: IMEI packet received {"connection_id":107225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":107225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:14:34] local.INFO: TCP Data received {"connection_id":105497,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed865fc98012d82954005d164280006015d1f..."} 
[2026-06-18 07:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed865fc98012d82954005d164280006015d1f..."} 
[2026-06-18 07:14:34] local.INFO: Processing buffer {"connection_id":105497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed865fc98012d82954005d164280006015d1f..."} 
[2026-06-18 07:14:34] local.INFO: Packet analysis {"connection_id":105497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed865"} 
[2026-06-18 07:14:34] local.INFO: Extracted packet for processing {"connection_id":105497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed865"} 
[2026-06-18 07:14:34] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97608744,"longitude_deg":76.3532608,"latitude_deg":9.7608744,"altitude":6,"angle":349,"satellites":31,"speed":14,"hex_longitude":"2d829540","hex_latitude":"05d16428","is_valid_coordinates":true} 
[2026-06-18 07:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127237632001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93690704357752832,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946028742656,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:34] 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-06-18 07:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781747023000,"timestamp_ms":1781747023000,"timestamp_seconds":1781747023,"priority":1,"record_length":96,"hex_timestamp":"0000019ed865fc98"} 
[2026-06-18 07:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:14:34] 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-06-18 07:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 07:14: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-06-18 07:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105497,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:14:34] 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-06-18 07:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127237632001,"66":13059,"221":206,"85":15104,"24":14,"16":93690704357752832,"45":-9037105946028742656},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127237632001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:14:34] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93690704357752832,"km_value":93690704357752.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946028742656,"description":"Unknown IO ID 45"} 
[2026-06-18 07:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127237632001,"power":13059,"unknown_221":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":-9037105946028742656}} 
[2026-06-18 07:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":105497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:14:34] local.INFO: GPS data processed {"connection_id":105497,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:14:34] local.INFO: Acknowledgment sent {"connection_id":105497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:14:34] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:14:34] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:14:34] local.INFO: IMEI packet received {"connection_id":106244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":106244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:14:36] local.INFO: TCP Data received {"connection_id":107225,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:14:36] local.INFO: Processing buffer {"connection_id":107225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:14:36] local.INFO: IMEI packet received {"connection_id":107225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":107225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:14:38] local.INFO: TCP Data received {"connection_id":107225,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:38] local.INFO: Processing buffer {"connection_id":107225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:38] local.INFO: Packet analysis {"connection_id":107225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:14:38] local.INFO: Extracted packet for processing {"connection_id":107225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:14:38] 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-06-18 07:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:14:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:14:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":107225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:14:38] local.INFO: GPS data processed {"connection_id":107225,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:14:38] local.INFO: Acknowledgment sent {"connection_id":107225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:14:41] local.INFO: TCP Data received {"connection_id":107225,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:41] local.INFO: Processing buffer {"connection_id":107225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:14:41] local.INFO: Packet analysis {"connection_id":107225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:14:41] local.INFO: Extracted packet for processing {"connection_id":107225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:14:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:14:41] 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-06-18 07:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:14:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:14:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":107225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:14:41] local.INFO: GPS data processed {"connection_id":107225,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:14:41] local.INFO: Acknowledgment sent {"connection_id":107225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:14:57] local.INFO: TCP Data received {"connection_id":106245,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:14:57] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:14:57] local.INFO: IMEI packet received {"connection_id":106245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":106245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:14:58] local.INFO: TCP Data received {"connection_id":106245,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:14:58] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:14:58] local.INFO: IMEI packet received {"connection_id":106245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":106245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:14:59] local.INFO: TCP Data received {"connection_id":106245,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8660080012d8295c005d165d0000600011f..."} 
[2026-06-18 07:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8660080012d8295c005d165d0000600011f..."} 
[2026-06-18 07:14:59] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8660080012d8295c005d165d0000600011f..."} 
[2026-06-18 07:14:59] local.INFO: Packet analysis {"connection_id":106245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:14:59] local.INFO: Extracted packet for processing {"connection_id":106245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":763532736,"raw_latitude":97609168,"longitude_deg":76.3532736,"latitude_deg":9.7609168,"altitude":6,"angle":1,"satellites":31,"speed":17,"hex_longitude":"2d8295c0","hex_latitude":"05d165d0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127237888001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93690725832589312,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683517016064,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] 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-06-18 07:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781747024000,"timestamp_ms":1781747024000,"timestamp_seconds":1781747024,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8660080"} 
[2026-06-18 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-06-18 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158986329446,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":221,"raw_value":58077557095399476,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3630546456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191572997,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3512516608,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1725759694,"corrected_to":0} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3221606752,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422310,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3675062272,"note":"Value kept but may cause issues"} 
[2026-06-18 07:14:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,221,85,24,241,157,16,219,158,248,45,192,98,5,31,10,66,244,97,4,30,240,128,1,133,227,216,209,113,205,35,160,29,239,51,2,76,52],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1725759694,"validated":0}]} 
[2026-06-18 07:14:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432729426930565120,"timestamp_seconds":432729426930565.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 07:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:14:59] 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-06-18 07:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127237888001,"66":12917,"221":206,"85":15104,"24":17,"16":93690725832589312,"45":-9037246683517016064},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127237888001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:14:59] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:14:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93690725832589312,"km_value":93690725832589.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683517016064,"description":"Unknown IO ID 45"} 
[2026-06-18 07:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127237888001,"power":12917,"unknown_221":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9037246683517016064}} 
[2026-06-18 07:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":106245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:14:59] local.INFO: GPS data processed {"connection_id":106245,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:14:59] local.INFO: Acknowledgment sent {"connection_id":106245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:15:03] local.INFO: TCP Data received {"connection_id":106245,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8662f60012d82980005d18910000901661f..."} 
[2026-06-18 07:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8662f60012d82980005d18910000901661f..."} 
[2026-06-18 07:15:03] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8662f60012d82980005d18910000901661f..."} 
[2026-06-18 07:15:03] local.INFO: Packet analysis {"connection_id":106245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:15:03] local.INFO: Extracted packet for processing {"connection_id":106245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763533312,"raw_latitude":97618192,"longitude_deg":76.3533312,"latitude_deg":9.7618192,"altitude":9,"angle":358,"satellites":31,"speed":32,"hex_longitude":"2d829800","hex_latitude":"05d18910","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127238144001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93691163919253504,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037105946028552192,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:03] 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-06-18 07:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781747036000,"timestamp_ms":1781747036000,"timestamp_seconds":1781747036,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8662f60"} 
[2026-06-18 07:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":117,"data_length":795,"current_offset":136} 
[2026-06-18 07:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:15:03] 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-06-18 07:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127238144001,"66":13189,"221":206,"85":15104,"24":32,"16":93691163919253504,"45":-9037105946028552192},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127238144001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:15:03] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93691163919253504,"km_value":93691163919253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037105946028552192,"description":"Unknown IO ID 45"} 
[2026-06-18 07:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127238144001,"power":13189,"unknown_221":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":-9037105946028552192}} 
[2026-06-18 07:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":106245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343052,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:15:03] local.INFO: GPS data processed {"connection_id":106245,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:15:03] local.INFO: Acknowledgment sent {"connection_id":106245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:15:26] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:15:26] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:15:26] local.INFO: IMEI packet received {"connection_id":105498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":105498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:15:31] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:15:31] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:15:31] local.INFO: IMEI packet received {"connection_id":105498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":105498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:15:33] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:15:33] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:15:33] local.INFO: Packet analysis {"connection_id":105498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:15:33] local.INFO: Extracted packet for processing {"connection_id":105498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:15:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:15:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:15:33] 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-06-18 07:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:15:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:15:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":105498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:15:33] local.INFO: GPS data processed {"connection_id":105498,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:15:33] local.INFO: Acknowledgment sent {"connection_id":105498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:15:35] local.INFO: TCP Data received {"connection_id":106245,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8665a58012d82954005d1adf8000601651f..."} 
[2026-06-18 07:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8665a58012d82954005d1adf8000601651f..."} 
[2026-06-18 07:15:35] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8665a58012d82954005d1adf8000601651f..."} 
[2026-06-18 07:15:35] local.INFO: Packet analysis {"connection_id":106245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:15:35] local.INFO: Extracted packet for processing {"connection_id":106245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:15:35] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97627640,"longitude_deg":76.3532608,"latitude_deg":9.762764,"altitude":6,"angle":357,"satellites":31,"speed":27,"hex_longitude":"2d829540","hex_latitude":"05d1adf8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127241216001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93691623480754176,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036472627328643072,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15: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-06-18 07:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781747047000,"timestamp_ms":1781747047000,"timestamp_seconds":1781747047,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8665a58"} 
[2026-06-18 07:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 07:15:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:15:35] 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-06-18 07:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127241216001,"66":12809,"221":206,"85":15104,"24":27,"16":93691623480754176,"45":-9036472627328643072},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127241216001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:15:35] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:15:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93691623480754176,"km_value":93691623480754.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036472627328643072,"description":"Unknown IO ID 45"} 
[2026-06-18 07:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127241216001,"power":12809,"unknown_221":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9036472627328643072}} 
[2026-06-18 07:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":106245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343054,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:15:35] local.INFO: GPS data processed {"connection_id":106245,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:15:35] local.INFO: Acknowledgment sent {"connection_id":106245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:15:52] local.INFO: TCP Data received {"connection_id":107227,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:15:52] local.INFO: Processing buffer {"connection_id":107227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:15:52] local.INFO: IMEI packet received {"connection_id":107227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":107227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:15:56] local.INFO: TCP Data received {"connection_id":107227,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107227,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:15:56] local.INFO: Processing buffer {"connection_id":107227,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:15:56] local.INFO: IMEI packet received {"connection_id":107227,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":107227,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:15:57] local.INFO: TCP Data received {"connection_id":107227,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86669f8012d82954005d1b558000600071f..."} 
[2026-06-18 07:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86669f8012d82954005d1b558000600071f..."} 
[2026-06-18 07:15:57] local.INFO: Processing buffer {"connection_id":107227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86669f8012d82954005d1b558000600071f..."} 
[2026-06-18 07:15:57] local.INFO: Packet analysis {"connection_id":107227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:15:57] local.INFO: Extracted packet for processing {"connection_id":107227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763532608,"raw_latitude":97629528,"longitude_deg":76.3532608,"latitude_deg":9.7629528,"altitude":6,"angle":7,"satellites":31,"speed":7,"hex_longitude":"2d829540","hex_latitude":"05d1b558","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127244032001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93691713675067392,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683512178688,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] 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-06-18 07:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781747051000,"timestamp_ms":1781747051000,"timestamp_seconds":1781747051,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86669f8"} 
[2026-06-18 07:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:15: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-06-18 07: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2522015791495250944,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3630559456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190852101,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":216,"raw_value":7340119729765523648,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1725759694,"corrected_to":0} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3355520386,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802150,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3677093888,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3359474215752234211,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-8862858224986960299,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-06-18 07:15:57] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,221,85,24,241,157,16,220,158,47,45,137,9,31,10,66,219,192,101,6,252,64,1,240,3,227,216,209,4,113,205,12,244,150,30,239,50,2,76,5,11,51,59,42],"length":535,"final_offset":665,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1725759694,"validated":0}]} 
[2026-06-18 07:15:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432738223024439296,"timestamp_seconds":432738223024439.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":107227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":107227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":107227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127244032001,"66":12906,"221":206,"85":15104,"24":7,"16":93691713675067392,"45":-9037246683512178688},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127244032001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:15:57] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93691713675067392,"km_value":93691713675067.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683512178688,"description":"Unknown IO ID 45"} 
[2026-06-18 07:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127244032001,"power":12906,"unknown_221":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9037246683512178688}} 
[2026-06-18 07:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":107227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:15:57] local.INFO: GPS data processed {"connection_id":107227,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:15:57] local.INFO: Acknowledgment sent {"connection_id":107227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:16:05] local.INFO: TCP Data received {"connection_id":105498,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:16:05] local.INFO: Processing buffer {"connection_id":105498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:16:05] local.INFO: Packet analysis {"connection_id":105498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:16:05] local.INFO: Extracted packet for processing {"connection_id":105498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:16:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:16:05] 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-06-18 07:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:16:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:16:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":105498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:16:05] local.INFO: GPS data processed {"connection_id":105498,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:16:05] local.INFO: Acknowledgment sent {"connection_id":105498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:16:25] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:16:25] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:16:25] local.INFO: IMEI packet received {"connection_id":105499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":105499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:16:28] local.INFO: TCP Data received {"connection_id":107227,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed866bc00012d82974005d1cf18000600021f..."} 
[2026-06-18 07:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed866bc00012d82974005d1cf18000600021f..."} 
[2026-06-18 07:16:28] local.INFO: Processing buffer {"connection_id":107227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed866bc00012d82974005d1cf18000600021f..."} 
[2026-06-18 07:16:28] local.INFO: Packet analysis {"connection_id":107227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:16:28] local.INFO: Extracted packet for processing {"connection_id":107227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed866"} 
[2026-06-18 07:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763533120,"raw_latitude":97636120,"longitude_deg":76.353312,"latitude_deg":9.763612,"altitude":6,"angle":2,"satellites":31,"speed":34,"hex_longitude":"2d829740","hex_latitude":"05d1cf18","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127245056001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93692040092581888,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9037246683511695360,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:28] 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-06-18 07:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781747072000,"timestamp_ms":1781747072000,"timestamp_seconds":1781747072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed866bc00"} 
[2026-06-18 07:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:16:28] 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-06-18 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 07:16:28] 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-06-18 07: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-06-18 07:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107227,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:16:28] 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-06-18 07:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127245056001,"66":13243,"221":206,"85":15104,"24":34,"16":93692040092581888,"45":-9037246683511695360},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127245056001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:16:28] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93692040092581888,"km_value":93692040092581.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9037246683511695360,"description":"Unknown IO ID 45"} 
[2026-06-18 07:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127245056001,"power":13243,"unknown_221":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9037246683511695360}} 
[2026-06-18 07:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":107227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:16:28] local.INFO: GPS data processed {"connection_id":107227,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:16:28] local.INFO: Acknowledgment sent {"connection_id":107227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:16:36] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:16:36] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:16:36] local.INFO: IMEI packet received {"connection_id":105499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":105499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:16:37] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:16:37] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:16:37] local.INFO: Packet analysis {"connection_id":105499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:16:37] local.INFO: Extracted packet for processing {"connection_id":105499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:16:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 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-06-18 07:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:16:37] 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-06-18 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-06-18 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-06-18 07:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:16:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:16:37] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:16:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":105499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:16:37] local.INFO: GPS data processed {"connection_id":105499,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:16:37] local.INFO: Acknowledgment sent {"connection_id":105499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:16:52] local.INFO: TCP Data received {"connection_id":105703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:16:52] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:16:52] local.INFO: IMEI packet received {"connection_id":105703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":105703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:16:55] local.INFO: TCP Data received {"connection_id":105703,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:16:55] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:16:55] local.INFO: IMEI packet received {"connection_id":105703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":105703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:16:56] local.INFO: TCP Data received {"connection_id":105703,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8688508012d82898005d2dca0000601611f..."} 
[2026-06-18 07:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8688508012d82898005d2dca0000601611f..."} 
[2026-06-18 07:16:56] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8688508012d82898005d2dca0000601611f..."} 
[2026-06-18 07:16:56] local.INFO: Packet analysis {"connection_id":105703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:16:56] local.INFO: Extracted packet for processing {"connection_id":105703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763529600,"raw_latitude":97705120,"longitude_deg":76.35296,"latitude_deg":9.770512,"altitude":6,"angle":353,"satellites":31,"speed":39,"hex_longitude":"2d828980","hex_latitude":"05d2dca0","is_valid_coordinates":true} 
[2026-06-18 07:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127277824001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93695420231843840,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9039005902099204096,"note":"Value kept but may cause issues"} 
[2026-06-18 07:16:56] 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-06-18 07:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781747189000,"timestamp_ms":1781747189000,"timestamp_seconds":1781747189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8688508"} 
[2026-06-18 07:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:16: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-06-18 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 07:16: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-06-18 07:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:16: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-06-18 07:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127277824001,"66":12765,"221":206,"85":15104,"24":39,"16":93695420231843840,"45":-9039005902099204096},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127277824001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:16:56] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93695420231843840,"km_value":93695420231843.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9039005902099204096,"description":"Unknown IO ID 45"} 
[2026-06-18 07:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127277824001,"power":12765,"unknown_221":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9039005902099204096}} 
[2026-06-18 07:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":105703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:16:56] local.INFO: GPS data processed {"connection_id":105703,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:16:56] local.INFO: Acknowledgment sent {"connection_id":105703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:17:09] local.INFO: TCP Data received {"connection_id":105499,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:17:09] local.INFO: Processing buffer {"connection_id":105499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8643778012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:17:09] local.INFO: Packet analysis {"connection_id":105499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:17:09] local.INFO: Extracted packet for processing {"connection_id":105499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed864"} 
[2026-06-18 07:17:09] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127131136001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781746907000,"timestamp_ms":1781746907000,"timestamp_seconds":1781746907,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8643778"} 
[2026-06-18 07:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:17:09] 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-06-18 07: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-06-18 07:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127131136001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127131136001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:17:09] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:17:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127131136001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":105499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:17:09] local.INFO: GPS data processed {"connection_id":105499,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:17:09] local.INFO: Acknowledgment sent {"connection_id":105499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:17:25] local.INFO: TCP Data received {"connection_id":106246,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:25] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:25] local.INFO: IMEI packet received {"connection_id":106246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":106246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:17:26] local.INFO: TCP Data received {"connection_id":106246,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:26] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:26] local.INFO: IMEI packet received {"connection_id":106246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":106246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:17:27] local.INFO: TCP Data received {"connection_id":105703,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868b000012d82830005d301500005015e1f..."} 
[2026-06-18 07:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868b000012d82830005d301500005015e1f..."} 
[2026-06-18 07:17:27] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868b000012d82830005d301500005015e1f..."} 
[2026-06-18 07:17:27] local.INFO: Packet analysis {"connection_id":105703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:17:27] local.INFO: Extracted packet for processing {"connection_id":105703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763527936,"raw_latitude":97714512,"longitude_deg":76.3527936,"latitude_deg":9.7714512,"altitude":5,"angle":350,"satellites":31,"speed":35,"hex_longitude":"2d828300","hex_latitude":"05d30150","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127280384001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93695879793344512,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040554014468694016,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:27] 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-06-18 07:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781747200000,"timestamp_ms":1781747200000,"timestamp_seconds":1781747200,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868b000"} 
[2026-06-18 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-06-18 07:17:27] 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-06-18 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 07:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 07:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":105703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":105703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":105703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:17:27] 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-06-18 07:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127280384001,"66":13298,"221":206,"85":15104,"24":35,"16":93695879793344512,"45":-9040554014468694016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 07:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127280384001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:17:27] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 07:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93695879793344512,"km_value":93695879793344.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040554014468694016,"description":"Unknown IO ID 45"} 
[2026-06-18 07:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127280384001,"power":13298,"unknown_221":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":-9040554014468694016}} 
[2026-06-18 07:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":105703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343061,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:17:27] local.INFO: GPS data processed {"connection_id":105703,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:17:27] local.INFO: Acknowledgment sent {"connection_id":105703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:17:32] local.INFO: TCP Data received {"connection_id":106246,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:32] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:17:32] local.INFO: IMEI packet received {"connection_id":106246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":106246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:17:33] local.INFO: TCP Data received {"connection_id":106246,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:17:33] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:17:33] local.INFO: Packet analysis {"connection_id":106246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:17:33] local.INFO: Extracted packet for processing {"connection_id":106246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:17:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:17:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":106246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:17:33] local.INFO: GPS data processed {"connection_id":106246,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:17:33] local.INFO: Acknowledgment sent {"connection_id":106246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:18:03] local.INFO: TCP Data received {"connection_id":106247,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:18:03] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:18:03] local.INFO: IMEI packet received {"connection_id":106247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":106247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:18:03] local.INFO: TCP Data received {"connection_id":106247,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:18:03] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:18:03] local.INFO: IMEI packet received {"connection_id":106247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":106247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:18:04] local.INFO: TCP Data received {"connection_id":106247,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:18:04] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:18:04] local.INFO: IMEI packet received {"connection_id":106247,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":106247,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:18:06] local.INFO: TCP Data received {"connection_id":106246,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:18:06] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:18:06] local.INFO: Packet analysis {"connection_id":106246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:18:06] local.INFO: Extracted packet for processing {"connection_id":106246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:18:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:18:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:18:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":106246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:18:06] local.INFO: GPS data processed {"connection_id":106246,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:18:06] local.INFO: Acknowledgment sent {"connection_id":106246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:18:26] local.INFO: TCP Data received {"connection_id":107229,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:18:26] local.INFO: Processing buffer {"connection_id":107229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:18:26] local.INFO: IMEI packet received {"connection_id":107229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":107229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:18:31] local.INFO: TCP Data received {"connection_id":107229,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:18:31] local.INFO: Processing buffer {"connection_id":107229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:18:31] local.INFO: IMEI packet received {"connection_id":107229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":107229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:18:33] local.INFO: TCP Data received {"connection_id":107229,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:18:33] local.INFO: Processing buffer {"connection_id":107229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:18:33] local.INFO: Packet analysis {"connection_id":107229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:18:33] local.INFO: Extracted packet for processing {"connection_id":107229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:18:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:18:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:18:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":107229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:18:33] local.INFO: GPS data processed {"connection_id":107229,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:18:33] local.INFO: Acknowledgment sent {"connection_id":107229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:19:05] local.INFO: TCP Data received {"connection_id":107229,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:05] local.INFO: Processing buffer {"connection_id":107229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:05] local.INFO: Packet analysis {"connection_id":107229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:19:05] local.INFO: Extracted packet for processing {"connection_id":107229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:19: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-06-18 07:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:19: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-06-18 07:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:19:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:19:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":107229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:19:05] local.INFO: GPS data processed {"connection_id":107229,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:19:05] local.INFO: Acknowledgment sent {"connection_id":107229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:19:31] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:19:31] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:19:31] local.INFO: IMEI packet received {"connection_id":105501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":105501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:19:36] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:19:36] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:19:36] local.INFO: IMEI packet received {"connection_id":105501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":105501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:19:38] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:38] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:38] local.INFO: Packet analysis {"connection_id":105501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:19:38] local.INFO: Extracted packet for processing {"connection_id":105501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:19:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:19:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:19:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:19:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:19:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:19:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:19:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:19:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:19:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:19:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:19:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:19:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:19:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:19:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:19:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:19:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:19:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:19:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:19:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:19:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:19:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:19:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:19:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:19:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:19:38] local.INFO: DEBUG: GPS processor result {"connection_id":105501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:19:38] local.INFO: GPS data processed {"connection_id":105501,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:19:38] local.INFO: Acknowledgment sent {"connection_id":105501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:19:41] local.INFO: TCP Data received {"connection_id":105501,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:41] local.INFO: Processing buffer {"connection_id":105501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:19:41] local.INFO: Packet analysis {"connection_id":105501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:19:41] local.INFO: Extracted packet for processing {"connection_id":105501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:19:41] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:19:41] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:19:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":105501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:19:41] local.INFO: GPS data processed {"connection_id":105501,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:19:41] local.INFO: Acknowledgment sent {"connection_id":105501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:19:59] local.INFO: TCP Data received {"connection_id":107230,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:19:59] local.INFO: Processing buffer {"connection_id":107230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:19:59] local.INFO: IMEI packet received {"connection_id":107230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":107230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:20:26] local.INFO: TCP Data received {"connection_id":107232,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:20:26] local.INFO: Processing buffer {"connection_id":107232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:20:26] local.INFO: IMEI packet received {"connection_id":107232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":107232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:20:31] local.INFO: TCP Data received {"connection_id":107232,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:20:31] local.INFO: Processing buffer {"connection_id":107232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:20:31] local.INFO: IMEI packet received {"connection_id":107232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":107232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:20:33] local.INFO: TCP Data received {"connection_id":107232,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:20:33] local.INFO: Processing buffer {"connection_id":107232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:20:33] local.INFO: Packet analysis {"connection_id":107232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:20:33] local.INFO: Extracted packet for processing {"connection_id":107232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:20:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:20:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:20:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:20:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":107232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:20:33] local.INFO: GPS data processed {"connection_id":107232,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:20:33] local.INFO: Acknowledgment sent {"connection_id":107232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:20:34] local.INFO: TCP Data received {"connection_id":107233,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:20:34] local.INFO: Processing buffer {"connection_id":107233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:20:34] local.INFO: IMEI packet received {"connection_id":107233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":107233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:21:06] local.INFO: TCP Data received {"connection_id":107232,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:21:06] local.INFO: Processing buffer {"connection_id":107232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:21:06] local.INFO: Packet analysis {"connection_id":107232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:21:06] local.INFO: Extracted packet for processing {"connection_id":107232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:21:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:21:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:21:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:21:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:21:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:21:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:21:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:21:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:21:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:21:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:21:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:21:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:21:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:21:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:21:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:21:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:21:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:21:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:21:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:21:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:21:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:21:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:21:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:21:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:21:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:21:06] local.INFO: DEBUG: GPS processor result {"connection_id":107232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:21:06] local.INFO: GPS data processed {"connection_id":107232,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:21:06] local.INFO: Acknowledgment sent {"connection_id":107232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:21:25] local.INFO: TCP Data received {"connection_id":106249,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:21:25] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:21:25] local.INFO: IMEI packet received {"connection_id":106249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":106249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:21:31] local.INFO: TCP Data received {"connection_id":106249,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:21:31] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:21:31] local.INFO: IMEI packet received {"connection_id":106249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":106249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:21:32] local.INFO: TCP Data received {"connection_id":106249,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:21:32] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:21:32] local.INFO: Packet analysis {"connection_id":106249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:21:32] local.INFO: Extracted packet for processing {"connection_id":106249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:21:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:21:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:21:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":106249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:21:32] local.INFO: GPS data processed {"connection_id":106249,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:21:32] local.INFO: Acknowledgment sent {"connection_id":106249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:22:04] local.INFO: TCP Data received {"connection_id":106249,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:22:04] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed868cf40012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:22:04] local.INFO: Packet analysis {"connection_id":106249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:22:04] local.INFO: Extracted packet for processing {"connection_id":106249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed868"} 
[2026-06-18 07:22:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127208192001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781747208000,"timestamp_ms":1781747208000,"timestamp_seconds":1781747208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed868cf40"} 
[2026-06-18 07:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127208192001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127208192001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:22:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:22:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127208192001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":106249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:22:04] local.INFO: GPS data processed {"connection_id":106249,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:22:04] local.INFO: Acknowledgment sent {"connection_id":106249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:22:26] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:26] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:26] local.INFO: IMEI packet received {"connection_id":105503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":105503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:22:27] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:27] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:27] local.INFO: IMEI packet received {"connection_id":105503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":105503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:22:30] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:30] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:22:30] local.INFO: IMEI packet received {"connection_id":105503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":105503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:22:33] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:22:33] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:22:33] local.INFO: Packet analysis {"connection_id":105503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:22:33] local.INFO: Extracted packet for processing {"connection_id":105503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:22:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:22:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:22:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":105503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:22:33] local.INFO: GPS data processed {"connection_id":105503,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:22:33] local.INFO: Acknowledgment sent {"connection_id":105503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:23:05] local.INFO: TCP Data received {"connection_id":107235,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107235,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:05] local.INFO: Processing buffer {"connection_id":107235,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:05] local.INFO: IMEI packet received {"connection_id":107235,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":107235,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:23:05] local.INFO: TCP Data received {"connection_id":105503,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:23:05] local.INFO: Processing buffer {"connection_id":105503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:23:05] local.INFO: Packet analysis {"connection_id":105503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:23:05] local.INFO: Extracted packet for processing {"connection_id":105503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:23:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:23:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:23:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":105503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:23:05] local.INFO: GPS data processed {"connection_id":105503,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:23:05] local.INFO: Acknowledgment sent {"connection_id":105503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:23:06] local.INFO: TCP Data received {"connection_id":107235,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86e16d0012d82978005d5f748000500481f..."} 
[2026-06-18 07:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86e16d0012d82978005d5f748000500481f..."} 
[2026-06-18 07:23:06] local.INFO: Processing buffer {"connection_id":107235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86e16d0012d82978005d5f748000500481f..."} 
[2026-06-18 07:23:06] local.INFO: Packet analysis {"connection_id":107235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86e"} 
[2026-06-18 07:23:06] local.INFO: Extracted packet for processing {"connection_id":107235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86e"} 
[2026-06-18 07:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763533184,"raw_latitude":97908552,"longitude_deg":76.3533184,"latitude_deg":9.7908552,"altitude":5,"angle":72,"satellites":31,"speed":13,"hex_longitude":"2d829780","hex_latitude":"05d5f748","is_valid_coordinates":true} 
[2026-06-18 07:23: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-06-18 07:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127371264001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93710736085221376,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038372583347189760,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:06] 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-06-18 07:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781747554000,"timestamp_ms":1781747554000,"timestamp_seconds":1781747554,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86e16d0"} 
[2026-06-18 07:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:23: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-06-18 07:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 07:23:06] 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-06-18 07:23: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-06-18 07:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:23: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-06-18 07:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127371264001,"66":13319,"157":206,"85":15104,"24":13,"16":93710736085221376,"45":-9038372583347189760},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-18 07:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127371264001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:23:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93710736085221376,"km_value":93710736085221.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038372583347189760,"description":"Unknown IO ID 45"} 
[2026-06-18 07:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127371264001,"power":13319,"unknown_157":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":-9038372583347189760}} 
[2026-06-18 07:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":107235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343074,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:23:06] local.INFO: GPS data processed {"connection_id":107235,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:23:06] local.INFO: Acknowledgment sent {"connection_id":107235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:23:26] local.INFO: TCP Data received {"connection_id":106250,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:23:26] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:23:26] local.INFO: IMEI packet received {"connection_id":106250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":106250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:23:31] local.INFO: TCP Data received {"connection_id":106250,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:23:31] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:23:31] local.INFO: IMEI packet received {"connection_id":106250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":106250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:23:33] local.INFO: TCP Data received {"connection_id":106250,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:23:33] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:23:33] local.INFO: Packet analysis {"connection_id":106250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:23:33] local.INFO: Extracted packet for processing {"connection_id":106250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:23:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:23:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:23:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":106250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:23:33] local.INFO: GPS data processed {"connection_id":106250,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:23:33] local.INFO: Acknowledgment sent {"connection_id":106250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:23:37] local.INFO: TCP Data received {"connection_id":107235,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86eda20012d82b88005d631f0000c001e1e..."} 
[2026-06-18 07:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86eda20012d82b88005d631f0000c001e1e..."} 
[2026-06-18 07:23:37] local.INFO: Processing buffer {"connection_id":107235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86eda20012d82b88005d631f0000c001e1e..."} 
[2026-06-18 07:23:37] local.INFO: Packet analysis {"connection_id":107235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86e"} 
[2026-06-18 07:23:37] local.INFO: Extracted packet for processing {"connection_id":107235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86e"} 
[2026-06-18 07:23:37] local.INFO: GPS Element Parsed {"raw_longitude":763541632,"raw_latitude":97923568,"longitude_deg":76.3541632,"latitude_deg":9.7923568,"altitude":12,"angle":30,"satellites":30,"speed":22,"hex_longitude":"2d82b880","hex_latitude":"05d631f0","is_valid_coordinates":true} 
[2026-06-18 07:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127386112001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93711728222666752,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9028169115437717504,"note":"Value kept but may cause issues"} 
[2026-06-18 07:23:37] 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-06-18 07:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781747604000,"timestamp_ms":1781747604000,"timestamp_seconds":1781747604,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86eda20"} 
[2026-06-18 07:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:23: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-06-18 07: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-06-18 07:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107235,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:23:37] 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-06-18 07:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127386112001,"66":13200,"157":206,"85":15104,"24":22,"16":93711728222666752,"45":-9028169115437717504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-06-18 07:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127386112001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:23:37] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:23:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93711728222666752,"km_value":93711728222666.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9028169115437717504,"description":"Unknown IO ID 45"} 
[2026-06-18 07:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127386112001,"power":13200,"unknown_157":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9028169115437717504}} 
[2026-06-18 07:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":107235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:23:37] local.INFO: GPS data processed {"connection_id":107235,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:23:37] local.INFO: Acknowledgment sent {"connection_id":107235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:23:51] local.INFO: TCP Data received {"connection_id":106251,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:51] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:51] local.INFO: IMEI packet received {"connection_id":106251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":106251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:23:52] local.INFO: TCP Data received {"connection_id":106251,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:52] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:52] local.INFO: IMEI packet received {"connection_id":106251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":106251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:23:53] local.INFO: TCP Data received {"connection_id":106251,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:53] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:53] local.INFO: IMEI packet received {"connection_id":106251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":106251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:23:55] local.INFO: TCP Data received {"connection_id":106251,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:55] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:23:55] local.INFO: IMEI packet received {"connection_id":106251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":106251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:24:04] local.INFO: TCP Data received {"connection_id":106250,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:24:04] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:24:04] local.INFO: Packet analysis {"connection_id":106250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:24:04] local.INFO: Extracted packet for processing {"connection_id":106250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:24:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:24:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:24:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:24:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":106250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:24:04] local.INFO: GPS data processed {"connection_id":106250,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:24:04] local.INFO: Acknowledgment sent {"connection_id":106250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:24:25] local.INFO: TCP Data received {"connection_id":105505,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:24:25] local.INFO: Processing buffer {"connection_id":105505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:24:25] local.INFO: IMEI packet received {"connection_id":105505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":105505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:24:30] local.INFO: TCP Data received {"connection_id":105505,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:24:30] local.INFO: Processing buffer {"connection_id":105505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:24:30] local.INFO: IMEI packet received {"connection_id":105505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":105505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:24:32] local.INFO: TCP Data received {"connection_id":105505,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:24:32] local.INFO: Processing buffer {"connection_id":105505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:24:32] local.INFO: Packet analysis {"connection_id":105505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:24:32] local.INFO: Extracted packet for processing {"connection_id":105505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:24:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:24:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:24:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":105505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:24:32] local.INFO: GPS data processed {"connection_id":105505,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:24:32] local.INFO: Acknowledgment sent {"connection_id":105505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:25:04] local.INFO: TCP Data received {"connection_id":105505,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:25:04] local.INFO: Processing buffer {"connection_id":105505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:25:04] local.INFO: Packet analysis {"connection_id":105505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:25:04] local.INFO: Extracted packet for processing {"connection_id":105505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:25:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:25:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:25:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":105505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:25:04] local.INFO: GPS data processed {"connection_id":105505,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:25:04] local.INFO: Acknowledgment sent {"connection_id":105505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:25:25] local.INFO: TCP Data received {"connection_id":105707,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:25:25] local.INFO: Processing buffer {"connection_id":105707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:25:25] local.INFO: IMEI packet received {"connection_id":105707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":105707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:25:31] local.INFO: TCP Data received {"connection_id":105707,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:25:31] local.INFO: Processing buffer {"connection_id":105707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:25:31] local.INFO: IMEI packet received {"connection_id":105707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":105707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:25:33] local.INFO: TCP Data received {"connection_id":105707,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:25:33] local.INFO: Processing buffer {"connection_id":105707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:25:33] local.INFO: Packet analysis {"connection_id":105707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:25:33] local.INFO: Extracted packet for processing {"connection_id":105707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:25:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:25:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":105707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:25:33] local.INFO: GPS data processed {"connection_id":105707,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:25:33] local.INFO: Acknowledgment sent {"connection_id":105707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:26:04] local.INFO: TCP Data received {"connection_id":105508,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:26:04] local.INFO: Processing buffer {"connection_id":105508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:26:04] local.INFO: IMEI packet received {"connection_id":105508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":105508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:26:06] local.INFO: TCP Data received {"connection_id":105707,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:26:06] local.INFO: Processing buffer {"connection_id":105707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:26:06] local.INFO: Packet analysis {"connection_id":105707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:26:06] local.INFO: Extracted packet for processing {"connection_id":105707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:26:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:26:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:26:06] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:26:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":105707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:26:06] local.INFO: GPS data processed {"connection_id":105707,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:26:06] local.INFO: Acknowledgment sent {"connection_id":105707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:26:30] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:26:30] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:26:30] local.INFO: IMEI packet received {"connection_id":105509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":105509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:26:34] local.INFO: TCP Data received {"connection_id":105510,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:26:34] local.INFO: Processing buffer {"connection_id":105510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:26:34] local.INFO: IMEI packet received {"connection_id":105510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":105510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:26:36] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:26:36] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:26:36] local.INFO: IMEI packet received {"connection_id":105509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:26:36] local.INFO: IMEI acknowledgment sent {"connection_id":105509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:26:38] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:26:38] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:26:38] local.INFO: Packet analysis {"connection_id":105509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:26:38] local.INFO: Extracted packet for processing {"connection_id":105509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:26:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:26:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:26:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:26:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:26:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:26:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:26:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:26:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:26:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:26:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:26:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:26:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:26:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:26:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:26:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:26:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:26:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:26:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:26:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:26:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:26:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:26:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:26:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:26:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:26:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:26:38] local.INFO: DEBUG: GPS processor result {"connection_id":105509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:26:38] local.INFO: GPS data processed {"connection_id":105509,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:26:38] local.INFO: Acknowledgment sent {"connection_id":105509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:27:10] local.INFO: TCP Data received {"connection_id":105509,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:27:10] local.INFO: Processing buffer {"connection_id":105509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed86d6708012d59b000063e3ac80001014830..."} 
[2026-06-18 07:27:10] local.INFO: Packet analysis {"connection_id":105509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:27:10] local.INFO: Extracted packet for processing {"connection_id":105509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed86d"} 
[2026-06-18 07:27:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":48,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127285248001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781747509000,"timestamp_ms":1781747509000,"timestamp_seconds":1781747509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed86d6708"} 
[2026-06-18 07:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127285248001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127285248001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:27:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:27:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127285248001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":105509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:27:10] local.INFO: GPS data processed {"connection_id":105509,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:27:10] local.INFO: Acknowledgment sent {"connection_id":105509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:27:25] local.INFO: TCP Data received {"connection_id":105511,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:27:25] local.INFO: Processing buffer {"connection_id":105511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:27:25] local.INFO: IMEI packet received {"connection_id":105511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":105511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:27:28] local.INFO: TCP Data received {"connection_id":105511,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:27:28] local.INFO: Processing buffer {"connection_id":105511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:27:28] local.INFO: IMEI packet received {"connection_id":105511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":105511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:27:30] local.INFO: TCP Data received {"connection_id":105511,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:27:30] local.INFO: Processing buffer {"connection_id":105511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:27:30] local.INFO: Packet analysis {"connection_id":105511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:27:30] local.INFO: Extracted packet for processing {"connection_id":105511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:27:30] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127362304001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781747810000,"timestamp_ms":1781747810000,"timestamp_seconds":1781747810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed871fed0"} 
[2026-06-18 07:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127362304001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127362304001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:27:30] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:27:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127362304001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":105511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:27:30] local.INFO: GPS data processed {"connection_id":105511,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:27:30] local.INFO: Acknowledgment sent {"connection_id":105511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:28:01] local.INFO: TCP Data received {"connection_id":105511,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:28:01] local.INFO: Processing buffer {"connection_id":105511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:28:01] local.INFO: Packet analysis {"connection_id":105511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:28:01] local.INFO: Extracted packet for processing {"connection_id":105511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:28:01] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127362304001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781747810000,"timestamp_ms":1781747810000,"timestamp_seconds":1781747810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed871fed0"} 
[2026-06-18 07:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127362304001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127362304001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:28:01] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:28:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127362304001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":105511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:28:01] local.INFO: GPS data processed {"connection_id":105511,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:28:01] local.INFO: Acknowledgment sent {"connection_id":105511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:28:30] local.INFO: TCP Data received {"connection_id":105710,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:28:30] local.INFO: Processing buffer {"connection_id":105710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:28:30] local.INFO: IMEI packet received {"connection_id":105710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":105710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:28:36] local.INFO: TCP Data received {"connection_id":105710,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:28:36] local.INFO: Processing buffer {"connection_id":105710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:28:36] local.INFO: IMEI packet received {"connection_id":105710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":105710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:28:38] local.INFO: TCP Data received {"connection_id":105710,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:28:38] local.INFO: Processing buffer {"connection_id":105710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:28:38] local.INFO: Packet analysis {"connection_id":105710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:28:38] local.INFO: Extracted packet for processing {"connection_id":105710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127362304001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781747810000,"timestamp_ms":1781747810000,"timestamp_seconds":1781747810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed871fed0"} 
[2026-06-18 07:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:28:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127362304001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127362304001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:28:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:28:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127362304001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":105710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:28:38] local.INFO: GPS data processed {"connection_id":105710,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:28:38] local.INFO: Acknowledgment sent {"connection_id":105710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:28:57] local.INFO: TCP Data received {"connection_id":105712,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105712,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:28:57] local.INFO: Processing buffer {"connection_id":105712,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:28:57] local.INFO: IMEI packet received {"connection_id":105712,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":105712,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:28:58] local.INFO: TCP Data received {"connection_id":105712,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed873ac80012d8235c005da43980005015e24..."} 
[2026-06-18 07:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed873ac80012d8235c005da43980005015e24..."} 
[2026-06-18 07:28:58] local.INFO: Processing buffer {"connection_id":105712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed873ac80012d8235c005da43980005015e24..."} 
[2026-06-18 07:28:58] local.INFO: Packet analysis {"connection_id":105712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed873"} 
[2026-06-18 07:28:58] local.INFO: Extracted packet for processing {"connection_id":105712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed873"} 
[2026-06-18 07:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763508160,"raw_latitude":98190232,"longitude_deg":76.350816,"latitude_deg":9.8190232,"altitude":5,"angle":350,"satellites":36,"speed":48,"hex_longitude":"2d8235c0","hex_latitude":"05da4398","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127465472001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93725102750826496,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9062368325041952768,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28: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-06-18 07:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781747920000,"timestamp_ms":1781747920000,"timestamp_seconds":1781747920,"priority":1,"record_length":96,"hex_timestamp":"0000019ed873ac80"} 
[2026-06-18 07:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:28: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-06-18 07: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":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3631388456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186706949,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3645073408,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57805934785615163,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3858759680,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2551289218992448000,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040094,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4160946176,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.WARNING: Large IO value detected {"io_id":114,"raw_value":9203107133505814533,"note":"Value kept but may cause issues"} 
[2026-06-18 07:28:58] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,69,85,24,241,157,16,250,158,98,45,128,251,5,33,10,66,249,12,219,6,35,64,1,240,7,227,248,216,217,4,113,205,55,182,95,176,239,51,49,2,76,59,114],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-06-18 07:28:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360672949585903616,"timestamp_seconds":360672949585903.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:28: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-06-18 07:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127465472001,"66":13298,"69":206,"85":15104,"24":48,"16":93725102750826496,"45":-9062368325041952768},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-06-18 07:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127465472001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:28:58] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 07:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93725102750826496,"km_value":93725102750826.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9062368325041952768,"description":"Unknown IO ID 45"} 
[2026-06-18 07:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127465472001,"power":13298,"unknown_69":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":-9062368325041952768}} 
[2026-06-18 07:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":105712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343087,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:28:58] local.INFO: GPS data processed {"connection_id":105712,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:28:58] local.INFO: Acknowledgment sent {"connection_id":105712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:29:10] local.INFO: TCP Data received {"connection_id":105710,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:29:10] local.INFO: Processing buffer {"connection_id":105710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:29:10] local.INFO: Packet analysis {"connection_id":105710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:29:10] local.INFO: Extracted packet for processing {"connection_id":105710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127362304001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781747810000,"timestamp_ms":1781747810000,"timestamp_seconds":1781747810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed871fed0"} 
[2026-06-18 07:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:29:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127362304001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127362304001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:29:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:29:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127362304001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":105710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:29:10] local.INFO: GPS data processed {"connection_id":105710,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:29:10] local.INFO: Acknowledgment sent {"connection_id":105710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:29:26] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:29:26] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:29:26] local.INFO: IMEI packet received {"connection_id":106253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":106253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:29:29] local.INFO: TCP Data received {"connection_id":105712,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed873c3f0012d822ec005da61580006015624..."} 
[2026-06-18 07:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed873c3f0012d822ec005da61580006015624..."} 
[2026-06-18 07:29:29] local.INFO: Processing buffer {"connection_id":105712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed873c3f0012d822ec005da61580006015624..."} 
[2026-06-18 07:29:29] local.INFO: Packet analysis {"connection_id":105712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed873"} 
[2026-06-18 07:29:29] local.INFO: Extracted packet for processing {"connection_id":105712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed873"} 
[2026-06-18 07:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763506368,"raw_latitude":98197848,"longitude_deg":76.3506368,"latitude_deg":9.8197848,"altitude":6,"angle":342,"satellites":36,"speed":53,"hex_longitude":"2d822ec0","hex_latitude":"05da6158","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127467520001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93725545132457984,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9064127543644022784,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29: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-06-18 07:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781747926000,"timestamp_ms":1781747926000,"timestamp_seconds":1781747926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed873c3f0"} 
[2026-06-18 07:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-18 07:29:29] 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-06-18 07: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-06-18 07:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105712,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:29: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-06-18 07:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127467520001,"66":13091,"71":206,"85":15104,"24":53,"16":93725545132457984,"45":-9064127543644022784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-18 07:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127467520001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:29:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 07:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93725545132457984,"km_value":93725545132457.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9064127543644022784,"description":"Unknown IO ID 45"} 
[2026-06-18 07:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127467520001,"power":13091,"unknown_71":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":-9064127543644022784}} 
[2026-06-18 07:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":105712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343089,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:29:29] local.INFO: GPS data processed {"connection_id":105712,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:29:29] local.INFO: Acknowledgment sent {"connection_id":105712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:29:31] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:29:31] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:29:31] local.INFO: IMEI packet received {"connection_id":106253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":106253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:29:33] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:29:33] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:29:33] local.INFO: Packet analysis {"connection_id":106253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:29:33] local.INFO: Extracted packet for processing {"connection_id":106253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:29:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127362304001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781747810000,"timestamp_ms":1781747810000,"timestamp_seconds":1781747810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed871fed0"} 
[2026-06-18 07:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127362304001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127362304001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:29:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:29:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127362304001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":106253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:29:33] local.INFO: GPS data processed {"connection_id":106253,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:29:33] local.INFO: Acknowledgment sent {"connection_id":106253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:29:49] local.INFO: TCP Data received {"connection_id":107238,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:49] local.INFO: Processing buffer {"connection_id":107238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:49] local.INFO: IMEI packet received {"connection_id":107238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":107238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:29:50] local.INFO: TCP Data received {"connection_id":107238,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:50] local.INFO: Processing buffer {"connection_id":107238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:50] local.INFO: IMEI packet received {"connection_id":107238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":107238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:29:52] local.INFO: TCP Data received {"connection_id":107238,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:52] local.INFO: Processing buffer {"connection_id":107238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:52] local.INFO: IMEI packet received {"connection_id":107238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":107238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:29:52] local.INFO: TCP Data received {"connection_id":107238,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107238,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:52] local.INFO: Processing buffer {"connection_id":107238,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:29:52] local.INFO: IMEI packet received {"connection_id":107238,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":107238,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:30:05] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:30:05] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:30:05] local.INFO: Packet analysis {"connection_id":106253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:30:05] local.INFO: Extracted packet for processing {"connection_id":106253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:30:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127362304001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781747810000,"timestamp_ms":1781747810000,"timestamp_seconds":1781747810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed871fed0"} 
[2026-06-18 07:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127362304001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127362304001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:30:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:30:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127362304001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":106253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:30:05] local.INFO: GPS data processed {"connection_id":106253,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:30:05] local.INFO: Acknowledgment sent {"connection_id":106253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:31:36] local.INFO: TCP Data received {"connection_id":105513,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:31:36] local.INFO: Processing buffer {"connection_id":105513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:31:36] local.INFO: IMEI packet received {"connection_id":105513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":105513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:31:41] local.INFO: TCP Data received {"connection_id":105513,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:31:41] local.INFO: Processing buffer {"connection_id":105513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:31:41] local.INFO: IMEI packet received {"connection_id":105513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":105513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:31:42] local.INFO: TCP Data received {"connection_id":105513,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:31:42] local.INFO: Processing buffer {"connection_id":105513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:31:42] local.INFO: Packet analysis {"connection_id":105513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:31:42] local.INFO: Extracted packet for processing {"connection_id":105513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:31:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127362304001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781747810000,"timestamp_ms":1781747810000,"timestamp_seconds":1781747810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed871fed0"} 
[2026-06-18 07:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127362304001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127362304001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:31:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:31:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127362304001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":105513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:31:42] local.INFO: GPS data processed {"connection_id":105513,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:31:42] local.INFO: Acknowledgment sent {"connection_id":105513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:31:47] local.INFO: TCP Data received {"connection_id":105513,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:31:47] local.INFO: Processing buffer {"connection_id":105513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed871fed0012d59b000063e3ac8000101482e..."} 
[2026-06-18 07:31:47] local.INFO: Packet analysis {"connection_id":105513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:31:47] local.INFO: Extracted packet for processing {"connection_id":105513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed871"} 
[2026-06-18 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":46,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127362304001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781747810000,"timestamp_ms":1781747810000,"timestamp_seconds":1781747810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed871fed0"} 
[2026-06-18 07:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127362304001,"66":24962,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127362304001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:31:47] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:31:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127362304001,"power":24962,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":105513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:31:47] local.INFO: GPS data processed {"connection_id":105513,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:31:47] local.INFO: Acknowledgment sent {"connection_id":105513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:32:25] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:32:25] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:32:25] local.INFO: IMEI packet received {"connection_id":106255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":106255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:32:29] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:32:29] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:32:29] local.INFO: IMEI packet received {"connection_id":106255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":106255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:32:30] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:32:30] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:32:30] local.INFO: Packet analysis {"connection_id":106255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed876"} 
[2026-06-18 07:32:30] local.INFO: Extracted packet for processing {"connection_id":106255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed876"} 
[2026-06-18 07:32:30] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127439360001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781748112000,"timestamp_ms":1781748112000,"timestamp_seconds":1781748112,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8769a80"} 
[2026-06-18 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-06-18 07:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:32:30] 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-06-18 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-06-18 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-06-18 07:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127439360001,"66":24854,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127439360001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:32:30] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:32:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127439360001,"power":24854,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":106255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:32:30] local.INFO: GPS data processed {"connection_id":106255,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:32:30] local.INFO: Acknowledgment sent {"connection_id":106255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:32:34] local.INFO: TCP Data received {"connection_id":105515,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:32:34] local.INFO: Processing buffer {"connection_id":105515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:32:34] local.INFO: IMEI packet received {"connection_id":105515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":105515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:33:39] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:33:39] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:33:39] local.INFO: Packet analysis {"connection_id":106255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed876"} 
[2026-06-18 07:33:39] local.INFO: Extracted packet for processing {"connection_id":106255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed876"} 
[2026-06-18 07:33:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127439360001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781748112000,"timestamp_ms":1781748112000,"timestamp_seconds":1781748112,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8769a80"} 
[2026-06-18 07:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:33: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-06-18 07:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:33:39] 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-06-18 07:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127439360001,"66":24854,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127439360001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:33:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:33:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127439360001,"power":24854,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":106255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:33:39] local.INFO: GPS data processed {"connection_id":106255,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:33:39] local.INFO: Acknowledgment sent {"connection_id":106255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:33:45] local.INFO: TCP Data received {"connection_id":107241,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:33:45] local.INFO: Processing buffer {"connection_id":107241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:33:45] local.INFO: IMEI packet received {"connection_id":107241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":107241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:33:51] local.INFO: TCP Data received {"connection_id":107241,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:33:51] local.INFO: Processing buffer {"connection_id":107241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:33:51] local.INFO: IMEI packet received {"connection_id":107241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":107241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:33:56] local.INFO: TCP Data received {"connection_id":107241,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:33:56] local.INFO: Processing buffer {"connection_id":107241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8769a80012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:33:56] local.INFO: Packet analysis {"connection_id":107241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed876"} 
[2026-06-18 07:33:56] local.INFO: Extracted packet for processing {"connection_id":107241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed876"} 
[2026-06-18 07:33:56] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127439360001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781748112000,"timestamp_ms":1781748112000,"timestamp_seconds":1781748112,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8769a80"} 
[2026-06-18 07:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:33: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-06-18 07:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 07:33:56] 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-06-18 07: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-06-18 07:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127439360001,"66":24854,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127439360001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:33:56] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:33:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127439360001,"power":24854,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":107241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:33:56] local.INFO: GPS data processed {"connection_id":107241,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:33:56] local.INFO: Acknowledgment sent {"connection_id":107241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:34:59] local.INFO: TCP Data received {"connection_id":107242,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:34:59] local.INFO: Processing buffer {"connection_id":107242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:34:59] local.INFO: IMEI packet received {"connection_id":107242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":107242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:35:01] local.INFO: TCP Data received {"connection_id":107245,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:01] local.INFO: Processing buffer {"connection_id":107245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:01] local.INFO: IMEI packet received {"connection_id":107245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":107245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:35:03] local.INFO: TCP Data received {"connection_id":107245,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:03] local.INFO: Processing buffer {"connection_id":107245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:03] local.INFO: IMEI packet received {"connection_id":107245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":107245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:35:06] local.INFO: TCP Data received {"connection_id":107245,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107245,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:06] local.INFO: Processing buffer {"connection_id":107245,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:06] local.INFO: IMEI packet received {"connection_id":107245,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":107245,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:35:06] local.INFO: TCP Data received {"connection_id":107242,"ip":"117.224.206.94","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107242,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:35:06] local.INFO: Processing buffer {"connection_id":107242,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:35:06] local.INFO: IMEI packet received {"connection_id":107242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":107242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:35:08] local.INFO: TCP Data received {"connection_id":107245,"ip":"42.106.6.25","data_length":1340,"data_hex":"000000000000030f8e0a0000019ed87959a0012d7f3f0005dd6f580002015a22..."} 
[2026-06-18 07:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107245,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019ed87959a0012d7f3f0005dd6f580002015a22..."} 
[2026-06-18 07:35:08] local.INFO: Processing buffer {"connection_id":107245,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019ed87959a0012d7f3f0005dd6f580002015a22..."} 
[2026-06-18 07:35:08] local.INFO: Packet analysis {"connection_id":107245,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:08] local.INFO: Extracted packet for processing {"connection_id":107245,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:08] local.INFO: GPS Element Parsed {"raw_longitude":763313920,"raw_latitude":98398040,"longitude_deg":76.331392,"latitude_deg":9.839804,"altitude":2,"angle":346,"satellites":34,"speed":37,"hex_longitude":"2d7f3f00","hex_latitude":"05dd6f58","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127559424001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93741891777986560,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171228822606757888,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781748292000,"timestamp_ms":1781748292000,"timestamp_seconds":1781748292,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87959a0"} 
[2026-06-18 07:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 07:35:08] 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-06-18 07: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-06-18 07:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:35:08] 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-06-18 07:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127559424001,"66":13189,"111":206,"85":15104,"24":37,"16":93741891777986560,"45":9171228822606757888},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-18 07:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127559424001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:35:08] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-18 07:35:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93741891777986560,"km_value":93741891777986.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171228822606757888,"description":"Unknown IO ID 45"} 
[2026-06-18 07:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127559424001,"power":13189,"unknown_111":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9171228822606757888}} 
[2026-06-18 07:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":107245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343097,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:35:08] local.INFO: GPS data processed {"connection_id":107245,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:35:08] local.INFO: Acknowledgment sent {"connection_id":107245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:35:08] local.INFO: Packet analysis {"connection_id":107245,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:08] local.INFO: Incomplete packet, waiting for more data {"connection_id":107245,"needed":795,"available":545} 
[2026-06-18 07:35:21] local.INFO: TCP Data received {"connection_id":107245,"ip":"42.106.6.25","data_length":1045,"data_hex":"e30010014d0849000000000000019ed8786b58012d7f76c005dcd48000090151..."} 
[2026-06-18 07:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107245,"packet_length":1045,"packet_hex":"e30010014d0849000000000000019ed8786b58012d7f76c005dcd48000090151..."} 
[2026-06-18 07:35:21] local.INFO: Processing buffer {"connection_id":107245,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed8797110012d7f3b0005dd87080002016723..."} 
[2026-06-18 07:35:21] local.INFO: Packet analysis {"connection_id":107245,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:21] local.INFO: Extracted packet for processing {"connection_id":107245,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763312896,"raw_latitude":98404104,"longitude_deg":76.3312896,"latitude_deg":9.8404104,"altitude":2,"angle":359,"satellites":35,"speed":44,"hex_longitude":"2d7f3b00","hex_latitude":"05dd8708","is_valid_coordinates":true} 
[2026-06-18 07:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127562752001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93742188130729984,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169047391539517440,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781748298000,"timestamp_ms":1781748298000,"timestamp_seconds":1781748298,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8797110"} 
[2026-06-18 07:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 07:35:21] 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-06-18 07:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:35:21] 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-06-18 07:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127562752001,"66":13341,"111":206,"85":15104,"24":44,"16":93742188130729984,"45":9169047391539517440},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-18 07:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127562752001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:35:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-18 07:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93742188130729984,"km_value":93742188130729.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169047391539517440,"description":"Unknown IO ID 45"} 
[2026-06-18 07:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127562752001,"power":13341,"unknown_111":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9169047391539517440}} 
[2026-06-18 07:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":107245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:35:21] local.INFO: GPS data processed {"connection_id":107245,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:35:21] local.INFO: Acknowledgment sent {"connection_id":107245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:35:21] local.INFO: Packet analysis {"connection_id":107245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:21] local.INFO: Extracted packet for processing {"connection_id":107245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:21] local.INFO: GPS Element Parsed {"raw_longitude":763312896,"raw_latitude":98411344,"longitude_deg":76.3312896,"latitude_deg":9.8411344,"altitude":2,"angle":347,"satellites":32,"speed":49,"hex_longitude":"2d7f3b00","hex_latitude":"05dda350","is_valid_coordinates":true} 
[2026-06-18 07:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127564288001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93742540318048256,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167921491634227200,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781748304000,"timestamp_ms":1781748304000,"timestamp_seconds":1781748304,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8798880"} 
[2026-06-18 07:35:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:35:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:35:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 07:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:35:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:35:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107245,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:35:21] 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-06-18 07:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127564288001,"66":13015,"111":206,"85":15104,"24":49,"16":93742540318048256,"45":9167921491634227200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-18 07:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127564288001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:35:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-18 07:35:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93742540318048256,"km_value":93742540318048.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167921491634227200,"description":"Unknown IO ID 45"} 
[2026-06-18 07:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127564288001,"power":13015,"unknown_111":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9167921491634227200}} 
[2026-06-18 07:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":107245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:35:21] local.INFO: GPS data processed {"connection_id":107245,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:35:21] local.INFO: Acknowledgment sent {"connection_id":107245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:35:52] local.INFO: TCP Data received {"connection_id":105517,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:52] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:52] local.INFO: IMEI packet received {"connection_id":105517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":105517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:35:52] local.INFO: TCP Data received {"connection_id":105517,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:52] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:52] local.INFO: IMEI packet received {"connection_id":105517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":105517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:35:57] local.INFO: TCP Data received {"connection_id":105517,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:57] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:35:57] local.INFO: IMEI packet received {"connection_id":105517,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":105517,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:35:58] local.INFO: TCP Data received {"connection_id":105517,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed879a3d8012d7f304005ddc2a80002014f1e..."} 
[2026-06-18 07:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed879a3d8012d7f304005ddc2a80002014f1e..."} 
[2026-06-18 07:35:58] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed879a3d8012d7f304005ddc2a80002014f1e..."} 
[2026-06-18 07:35:58] local.INFO: Packet analysis {"connection_id":105517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:58] local.INFO: Extracted packet for processing {"connection_id":105517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763310144,"raw_latitude":98419368,"longitude_deg":76.3310144,"latitude_deg":9.8419368,"altitude":2,"angle":335,"satellites":30,"speed":49,"hex_longitude":"2d7f3040","hex_latitude":"05ddc2a8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127565824001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93742952634908672,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167921491636080640,"note":"Value kept but may cause issues"} 
[2026-06-18 07:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781748311000,"timestamp_ms":1781748311000,"timestamp_seconds":1781748311,"priority":1,"record_length":96,"hex_timestamp":"0000019ed879a3d8"} 
[2026-06-18 07:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:35:58] 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-06-18 07: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":215,"data_length":795,"current_offset":136} 
[2026-06-18 07:35: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-06-18 07: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-06-18 07:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:35: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-06-18 07:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127565824001,"66":13091,"111":206,"85":15104,"24":49,"16":93742952634908672,"45":9167921491636080640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-18 07:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127565824001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:35:58] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-18 07:35:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93742952634908672,"km_value":93742952634908.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167921491636080640,"description":"Unknown IO ID 45"} 
[2026-06-18 07:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127565824001,"power":13091,"unknown_111":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9167921491636080640}} 
[2026-06-18 07:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":105517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343100,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:35:58] local.INFO: GPS data processed {"connection_id":105517,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:35:58] local.INFO: Acknowledgment sent {"connection_id":105517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:36:29] local.INFO: TCP Data received {"connection_id":105517,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed879bf30012d7f1cc005dde1480002014821..."} 
[2026-06-18 07:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed879bf30012d7f1cc005dde1480002014821..."} 
[2026-06-18 07:36:29] local.INFO: Processing buffer {"connection_id":105517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed879bf30012d7f1cc005dde1480002014821..."} 
[2026-06-18 07:36:29] local.INFO: Packet analysis {"connection_id":105517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:36:29] local.INFO: Extracted packet for processing {"connection_id":105517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763305152,"raw_latitude":98427208,"longitude_deg":76.3305152,"latitude_deg":9.8427208,"altitude":2,"angle":328,"satellites":33,"speed":46,"hex_longitude":"2d7f1cc0","hex_latitude":"05dde148","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127567616001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93743403606474752,"note":"Value kept but may cause issues"} 
[2026-06-18 07:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164895635638495232,"note":"Value kept but may cause issues"} 
[2026-06-18 07:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781748318000,"timestamp_ms":1781748318000,"timestamp_seconds":1781748318,"priority":1,"record_length":96,"hex_timestamp":"0000019ed879bf30"} 
[2026-06-18 07:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:36:29] 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-06-18 07: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 07:36: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-06-18 07: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-06-18 07:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105517,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:36: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-06-18 07:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127567616001,"66":13015,"111":206,"85":15104,"24":46,"16":93743403606474752,"45":9164895635638495232},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-06-18 07:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127567616001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:36:29] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-06-18 07:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93743403606474752,"km_value":93743403606474.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164895635638495232,"description":"Unknown IO ID 45"} 
[2026-06-18 07:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127567616001,"power":13015,"unknown_111":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9164895635638495232}} 
[2026-06-18 07:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":105517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:36:29] local.INFO: GPS data processed {"connection_id":105517,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:36:29] local.INFO: Acknowledgment sent {"connection_id":105517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:36:51] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:51] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:51] local.INFO: IMEI packet received {"connection_id":106258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":106258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:36:52] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:52] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:52] local.INFO: IMEI packet received {"connection_id":106258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":106258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:36:57] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:57] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:36:57] local.INFO: IMEI packet received {"connection_id":106258,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":106258,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:36:58] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed879e640012d7f0dc005de01400002015722..."} 
[2026-06-18 07:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed879e640012d7f0dc005de01400002015722..."} 
[2026-06-18 07:36:58] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed879e640012d7f0dc005de01400002015722..."} 
[2026-06-18 07:36:58] local.INFO: Packet analysis {"connection_id":106258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:36:58] local.INFO: Extracted packet for processing {"connection_id":106258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed879"} 
[2026-06-18 07:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763301312,"raw_latitude":98435392,"longitude_deg":76.3301312,"latitude_deg":9.8435392,"altitude":2,"angle":343,"satellites":34,"speed":18,"hex_longitude":"2d7f0dc0","hex_latitude":"05de0140","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127569408001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93743841693138944,"note":"Value kept but may cause issues"} 
[2026-06-18 07:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159406873594644480,"note":"Value kept but may cause issues"} 
[2026-06-18 07:36: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-06-18 07:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781748328000,"timestamp_ms":1781748328000,"timestamp_seconds":1781748328,"priority":1,"record_length":96,"hex_timestamp":"0000019ed879e640"} 
[2026-06-18 07:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:36: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-06-18 07: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":215,"data_length":795,"current_offset":136} 
[2026-06-18 07:36: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-06-18 07: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-06-18 07:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:36: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-06-18 07:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127569408001,"66":13167,"205":206,"85":15104,"24":18,"16":93743841693138944,"45":9159406873594644480},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-06-18 07:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127569408001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93743841693138944,"km_value":93743841693138.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159406873594644480,"description":"Unknown IO ID 45"} 
[2026-06-18 07:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127569408001,"power":13167,"cell_id":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9159406873594644480}} 
[2026-06-18 07:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":106258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343102,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:36:58] local.INFO: GPS data processed {"connection_id":106258,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:36:58] local.INFO: Acknowledgment sent {"connection_id":106258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:37:28] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87b68f8012d7eb5c005df08180004013b23..."} 
[2026-06-18 07:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87b68f8012d7eb5c005df08180004013b23..."} 
[2026-06-18 07:37:28] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87b68f8012d7eb5c005df08180004013b23..."} 
[2026-06-18 07:37:28] local.INFO: Packet analysis {"connection_id":106258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:37:28] local.INFO: Extracted packet for processing {"connection_id":106258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":98502680,"longitude_deg":76.3278784,"latitude_deg":9.850268,"altitude":4,"angle":315,"satellites":35,"speed":15,"hex_longitude":"2d7eb5c0","hex_latitude":"05df0818","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127595008001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93747333501550592,"note":"Value kept but may cause issues"} 
[2026-06-18 07:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135129656871442432,"note":"Value kept but may cause issues"} 
[2026-06-18 07:37:28] 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-06-18 07:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781748427000,"timestamp_ms":1781748427000,"timestamp_seconds":1781748427,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87b68f8"} 
[2026-06-18 07:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 07:37: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-06-18 07: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-06-18 07:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106258,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:37:28] 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-06-18 07:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127595008001,"66":13037,"205":206,"85":15104,"24":15,"16":93747333501550592,"45":9135129656871442432},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-06-18 07:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127595008001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93747333501550592,"km_value":93747333501550.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135129656871442432,"description":"Unknown IO ID 45"} 
[2026-06-18 07:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127595008001,"power":13037,"cell_id":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":9135129656871442432}} 
[2026-06-18 07:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":106258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343103,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:37:28] local.INFO: GPS data processed {"connection_id":106258,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:37:28] local.INFO: Acknowledgment sent {"connection_id":106258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:37:50] local.INFO: TCP Data received {"connection_id":105519,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:50] local.INFO: Processing buffer {"connection_id":105519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:50] local.INFO: IMEI packet received {"connection_id":105519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":105519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:37:52] local.INFO: TCP Data received {"connection_id":105519,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:52] local.INFO: Processing buffer {"connection_id":105519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:52] local.INFO: IMEI packet received {"connection_id":105519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":105519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:37:57] local.INFO: TCP Data received {"connection_id":105519,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105519,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:57] local.INFO: Processing buffer {"connection_id":105519,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:37:57] local.INFO: IMEI packet received {"connection_id":105519,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":105519,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:37:58] local.INFO: TCP Data received {"connection_id":105519,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87b9008012d7ea8c005df17680006014724..."} 
[2026-06-18 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87b9008012d7ea8c005df17680006014724..."} 
[2026-06-18 07:37:58] local.INFO: Processing buffer {"connection_id":105519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87b9008012d7ea8c005df17680006014724..."} 
[2026-06-18 07:37:58] local.INFO: Packet analysis {"connection_id":105519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:37:58] local.INFO: Extracted packet for processing {"connection_id":105519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":98506600,"longitude_deg":76.3275456,"latitude_deg":9.85066,"altitude":6,"angle":327,"satellites":36,"speed":31,"hex_longitude":"2d7ea8c0","hex_latitude":"05df1768","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127597312001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93747582609653760,"note":"Value kept but may cause issues"} 
[2026-06-18 07:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414951012767744,"note":"Value kept but may cause issues"} 
[2026-06-18 07:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781748437000,"timestamp_ms":1781748437000,"timestamp_seconds":1781748437,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87b9008"} 
[2026-06-18 07:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:37: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-06-18 07: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":237,"data_length":795,"current_offset":136} 
[2026-06-18 07:37: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-06-18 07: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-06-18 07:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:37: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-06-18 07:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127597312001,"66":13059,"206":206,"85":15104,"24":31,"16":93747582609653760,"45":9130414951012767744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-18 07:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127597312001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:37:58] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 07:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93747582609653760,"km_value":93747582609653.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414951012767744,"description":"Unknown IO ID 45"} 
[2026-06-18 07:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127597312001,"power":13059,"unknown_206":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9130414951012767744}} 
[2026-06-18 07:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":105519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343104,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:37:58] local.INFO: GPS data processed {"connection_id":105519,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:37:58] local.INFO: Acknowledgment sent {"connection_id":105519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:37:59] local.INFO: TCP Data received {"connection_id":105518,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:37:59] local.INFO: Processing buffer {"connection_id":105518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:37:59] local.INFO: IMEI packet received {"connection_id":105518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":105518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:38:29] local.INFO: TCP Data received {"connection_id":105519,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87bb330012d7e984005df36700006014d24..."} 
[2026-06-18 07:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87bb330012d7e984005df36700006014d24..."} 
[2026-06-18 07:38:29] local.INFO: Processing buffer {"connection_id":105519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87bb330012d7e984005df36700006014d24..."} 
[2026-06-18 07:38:29] local.INFO: Packet analysis {"connection_id":105519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:38:29] local.INFO: Extracted packet for processing {"connection_id":105519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763271232,"raw_latitude":98514544,"longitude_deg":76.3271232,"latitude_deg":9.8514544,"altitude":6,"angle":333,"satellites":36,"speed":46,"hex_longitude":"2d7e9840","hex_latitude":"05df3670","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127599872001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93748016401350656,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755776316532736,"note":"Value kept but may cause issues"} 
[2026-06-18 07: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-06-18 07:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781748446000,"timestamp_ms":1781748446000,"timestamp_seconds":1781748446,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87bb330"} 
[2026-06-18 07:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 07:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158080359846,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3631927456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":58077557095399459,"corrected_to":0} 
[2026-06-18 07:38:29] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3602907141,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:29] local.WARNING: Large IO value detected {"io_id":251,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:29] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,206,85,24,241,157,16,14,158,104,45,192,8,4,35,10,66,205,69,128,245,33,58,1,240,182,227,216,222,113,37,251,209,80,32,239,47,2,77,5],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":58077557095399459,"validated":0}]} 
[2026-06-18 07:38:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432705259150704640,"timestamp_seconds":432705259150704.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105519,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:38: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-06-18 07:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127599872001,"66":12667,"206":206,"85":15104,"24":46,"16":93748016401350656,"45":9126755776316532736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-18 07:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127599872001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:38:29] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 07:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93748016401350656,"km_value":93748016401350.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755776316532736,"description":"Unknown IO ID 45"} 
[2026-06-18 07:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127599872001,"power":12667,"unknown_206":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9126755776316532736}} 
[2026-06-18 07:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":105519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:38:29] local.INFO: GPS data processed {"connection_id":105519,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:38:29] local.INFO: Acknowledgment sent {"connection_id":105519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:38:39] local.INFO: TCP Data received {"connection_id":106260,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:38:39] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:38:39] local.INFO: IMEI packet received {"connection_id":106260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":106260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:38:54] local.INFO: TCP Data received {"connection_id":107248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:54] local.INFO: Processing buffer {"connection_id":107248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:54] local.INFO: IMEI packet received {"connection_id":107248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":107248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:38:55] local.INFO: TCP Data received {"connection_id":107248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:55] local.INFO: Processing buffer {"connection_id":107248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:55] local.INFO: IMEI packet received {"connection_id":107248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":107248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:38:56] local.INFO: TCP Data received {"connection_id":107248,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107248,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:56] local.INFO: Processing buffer {"connection_id":107248,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:38:56] local.INFO: IMEI packet received {"connection_id":107248,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":107248,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:38:57] local.INFO: TCP Data received {"connection_id":107248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87bd270012d7e898005df5ad80006015721..."} 
[2026-06-18 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87bd270012d7e898005df5ad80006015721..."} 
[2026-06-18 07:38:57] local.INFO: Processing buffer {"connection_id":107248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87bd270012d7e898005df5ad80006015721..."} 
[2026-06-18 07:38:57] local.INFO: Packet analysis {"connection_id":107248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:38:57] local.INFO: Extracted packet for processing {"connection_id":107248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763267456,"raw_latitude":98523864,"longitude_deg":76.3267456,"latitude_deg":9.8523864,"altitude":6,"angle":343,"satellites":33,"speed":49,"hex_longitude":"2d7e8980","hex_latitude":"05df5ad8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127602176001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93748506027622400,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122111439202840576,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38: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-06-18 07:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781748454000,"timestamp_ms":1781748454000,"timestamp_seconds":1781748454,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87bd270"} 
[2026-06-18 07:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 07:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":107248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":107248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":107248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127602176001,"66":13319,"206":206,"85":15104,"24":49,"16":93748506027622400,"45":9122111439202840576},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-18 07:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127602176001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:38:57] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 07:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93748506027622400,"km_value":93748506027622.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122111439202840576,"description":"Unknown IO ID 45"} 
[2026-06-18 07:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127602176001,"power":13319,"unknown_206":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":9122111439202840576}} 
[2026-06-18 07:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":107248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:38:57] local.INFO: GPS data processed {"connection_id":107248,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:38:57] local.INFO: Acknowledgment sent {"connection_id":107248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:38:59] local.INFO: TCP Data received {"connection_id":107248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87bedc8012d7e7ec005df7d180006015523..."} 
[2026-06-18 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87bedc8012d7e7ec005df7d180006015523..."} 
[2026-06-18 07:38:59] local.INFO: Processing buffer {"connection_id":107248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87bedc8012d7e7ec005df7d180006015523..."} 
[2026-06-18 07:38:59] local.INFO: Packet analysis {"connection_id":107248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:38:59] local.INFO: Extracted packet for processing {"connection_id":107248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":763264704,"raw_latitude":98532632,"longitude_deg":76.3264704,"latitude_deg":9.8532632,"altitude":6,"angle":341,"satellites":35,"speed":54,"hex_longitude":"2d7e7ec0","hex_latitude":"05df7d18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127604224001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93748948409253888,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9117959683298744320,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] 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-06-18 07:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781748461000,"timestamp_ms":1781748461000,"timestamp_seconds":1781748461,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87bedc8"} 
[2026-06-18 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-06-18 07:38: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-06-18 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3631948456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":144,"raw_value":57885769637713211,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3019898880,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":222,"raw_value":-5525916721285816320,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":384748,"corrected_to":0} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505958,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.WARNING: Large IO value detected {"io_id":122,"raw_value":-317502478816837627,"note":"Value kept but may cause issues"} 
[2026-06-18 07:38:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,206,85,24,241,157,16,15,158,179,45,64,54,6,36,10,66,144,192,23,14,104,1,240,237,227,216,222,4,113,205,32,58,203,128,34,239,50,2,77,5,37,122],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":203,"original":384748,"validated":0}]} 
[2026-06-18 07:38:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432722838453026816,"timestamp_seconds":432722838453026.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 07:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":107248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":107248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":107248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:38:59] 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-06-18 07:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127604224001,"66":12874,"206":206,"85":15104,"24":54,"16":93748948409253888,"45":9117959683298744320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-18 07:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127604224001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:38:59] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 07:38:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93748948409253888,"km_value":93748948409253.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9117959683298744320,"description":"Unknown IO ID 45"} 
[2026-06-18 07:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127604224001,"power":12874,"unknown_206":206,"unknown_85":15104,"ignition":54,"odometer":null,"unknown_45":9117959683298744320}} 
[2026-06-18 07:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":107248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343107,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:38:59] local.INFO: GPS data processed {"connection_id":107248,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:38:59] local.INFO: Acknowledgment sent {"connection_id":107248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:39:01] local.INFO: TCP Data received {"connection_id":107248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87c0920012d7e718005dfa2e80005015724..."} 
[2026-06-18 07:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87c0920012d7e718005dfa2e80005015724..."} 
[2026-06-18 07:39:01] local.INFO: Processing buffer {"connection_id":107248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87c0920012d7e718005dfa2e80005015724..."} 
[2026-06-18 07:39:01] local.INFO: Packet analysis {"connection_id":107248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87c"} 
[2026-06-18 07:39:01] local.INFO: Extracted packet for processing {"connection_id":107248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87c"} 
[2026-06-18 07:39:01] local.INFO: GPS Element Parsed {"raw_longitude":763261312,"raw_latitude":98542312,"longitude_deg":76.3261312,"latitude_deg":9.8542312,"altitude":5,"angle":343,"satellites":36,"speed":56,"hex_longitude":"2d7e7180","hex_latitude":"05dfa2e8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127606016001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93749446625460224,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114933827301349376,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:01] 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-06-18 07:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781748468000,"timestamp_ms":1781748468000,"timestamp_seconds":1781748468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87c0920"} 
[2026-06-18 07:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-18 07:39:01] 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-06-18 07: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-06-18 07:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:39:01] 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-06-18 07:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127606016001,"66":12852,"207":206,"85":15104,"24":56,"16":93749446625460224,"45":9114933827301349376},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-18 07:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127606016001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:39:01] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-18 07:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93749446625460224,"km_value":93749446625460.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114933827301349376,"description":"Unknown IO ID 45"} 
[2026-06-18 07:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127606016001,"power":12852,"unknown_207":206,"unknown_85":15104,"ignition":56,"odometer":null,"unknown_45":9114933827301349376}} 
[2026-06-18 07:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":107248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343108,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:39:01] local.INFO: GPS data processed {"connection_id":107248,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:39:01] local.INFO: Acknowledgment sent {"connection_id":107248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:39:33] local.INFO: TCP Data received {"connection_id":107248,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87d64c8012d7e12c005e0e0e00005016721..."} 
[2026-06-18 07:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87d64c8012d7e12c005e0e0e00005016721..."} 
[2026-06-18 07:39:33] local.INFO: Processing buffer {"connection_id":107248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87d64c8012d7e12c005e0e0e00005016721..."} 
[2026-06-18 07:39:33] local.INFO: Packet analysis {"connection_id":107248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87d"} 
[2026-06-18 07:39:33] local.INFO: Extracted packet for processing {"connection_id":107248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87d"} 
[2026-06-18 07:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763237056,"raw_latitude":98623712,"longitude_deg":76.3237056,"latitude_deg":9.8623712,"altitude":5,"angle":359,"satellites":33,"speed":21,"hex_longitude":"2d7e12c0","hex_latitude":"05e0e0e0","is_valid_coordinates":true} 
[2026-06-18 07:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93753707233017856,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083690104908894208,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:33] 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-06-18 07:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781748557000,"timestamp_ms":1781748557000,"timestamp_seconds":1781748557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87d64c8"} 
[2026-06-18 07:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 07:39:33] 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-06-18 07:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107248,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:39:33] 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-06-18 07:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127629056001,"66":13341,"60":206,"85":15104,"24":21,"16":93753707233017856,"45":9083690104908894208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 07:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:39:33] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 07:39:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93753707233017856,"km_value":93753707233017.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083690104908894208,"description":"Unknown IO ID 45"} 
[2026-06-18 07:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127629056001,"power":13341,"unknown_60":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9083690104908894208}} 
[2026-06-18 07:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":107248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343109,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:39:33] local.INFO: GPS data processed {"connection_id":107248,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:39:33] local.INFO: Acknowledgment sent {"connection_id":107248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:39:46] local.INFO: TCP Data received {"connection_id":106261,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:39:46] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:39:46] local.INFO: IMEI packet received {"connection_id":106261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":106261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:39:47] local.INFO: TCP Data received {"connection_id":106261,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87b2e60012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87b2e60012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:39:47] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87b2e60012d59b000063e3ac8000101482a..."} 
[2026-06-18 07:39:47] local.INFO: Packet analysis {"connection_id":106261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:39:47] local.INFO: Extracted packet for processing {"connection_id":106261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87b"} 
[2026-06-18 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127516672001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781748412000,"timestamp_ms":1781748412000,"timestamp_seconds":1781748412,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87b2e60"} 
[2026-06-18 07:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 07:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127516672001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127516672001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:39:47] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:39:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127516672001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":106261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:39:47] local.INFO: GPS data processed {"connection_id":106261,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:39:47] local.INFO: Acknowledgment sent {"connection_id":106261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:39:52] local.INFO: TCP Data received {"connection_id":105714,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:52] local.INFO: Processing buffer {"connection_id":105714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:52] local.INFO: IMEI packet received {"connection_id":105714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":105714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:39:53] local.INFO: TCP Data received {"connection_id":105714,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:53] local.INFO: Processing buffer {"connection_id":105714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:53] local.INFO: IMEI packet received {"connection_id":105714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":105714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:39:57] local.INFO: TCP Data received {"connection_id":105714,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105714,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:57] local.INFO: Processing buffer {"connection_id":105714,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:39:57] local.INFO: IMEI packet received {"connection_id":105714,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":105714,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:39:58] local.INFO: TCP Data received {"connection_id":105714,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87d8fc0012d7e110005e104700003000220..."} 
[2026-06-18 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87d8fc0012d7e110005e104700003000220..."} 
[2026-06-18 07:39:58] local.INFO: Processing buffer {"connection_id":105714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87d8fc0012d7e110005e104700003000220..."} 
[2026-06-18 07:39:58] local.INFO: Packet analysis {"connection_id":105714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87d"} 
[2026-06-18 07:39:58] local.INFO: Extracted packet for processing {"connection_id":105714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87d"} 
[2026-06-18 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763236608,"raw_latitude":98632816,"longitude_deg":76.3236608,"latitude_deg":9.8632816,"altitude":3,"angle":2,"satellites":32,"speed":39,"hex_longitude":"2d7e1100","hex_latitude":"05e10470","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127630592001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93754149614649344,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084534529839915008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:39: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-06-18 07:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781748568000,"timestamp_ms":1781748568000,"timestamp_seconds":1781748568,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87d8fc0"} 
[2026-06-18 07:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 07:39: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-06-18 07: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-06-18 07:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:39: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-06-18 07:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127630592001,"66":13222,"60":206,"85":15104,"24":39,"16":93754149614649344,"45":9084534529839915008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 07:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127630592001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:39:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 07:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93754149614649344,"km_value":93754149614649.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084534529839915008,"description":"Unknown IO ID 45"} 
[2026-06-18 07:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127630592001,"power":13222,"unknown_60":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9084534529839915008}} 
[2026-06-18 07:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":105714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:39:58] local.INFO: GPS data processed {"connection_id":105714,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:39:58] local.INFO: Acknowledgment sent {"connection_id":105714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:40:28] local.INFO: TCP Data received {"connection_id":105714,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87d9b78012d7e138005e10f800003001221..."} 
[2026-06-18 07:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87d9b78012d7e138005e10f800003001221..."} 
[2026-06-18 07:40:28] local.INFO: Processing buffer {"connection_id":105714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87d9b78012d7e138005e10f800003001221..."} 
[2026-06-18 07:40:28] local.INFO: Packet analysis {"connection_id":105714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87d"} 
[2026-06-18 07:40:28] local.INFO: Extracted packet for processing {"connection_id":105714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87d"} 
[2026-06-18 07:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763237248,"raw_latitude":98635648,"longitude_deg":76.3237248,"latitude_deg":9.8635648,"altitude":3,"angle":18,"satellites":33,"speed":37,"hex_longitude":"2d7e1380","hex_latitude":"05e10f80","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127633408001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93754287053602816,"note":"Value kept but may cause issues"} 
[2026-06-18 07:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084041948633001984,"note":"Value kept but may cause issues"} 
[2026-06-18 07:40: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-06-18 07:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781748571000,"timestamp_ms":1781748571000,"timestamp_seconds":1781748571,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87d9b78"} 
[2026-06-18 07:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:40: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-06-18 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 07:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105714,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:40:28] 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-06-18 07:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127633408001,"66":13102,"60":206,"85":15104,"24":37,"16":93754287053602816,"45":9084041948633001984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 07:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127633408001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:40:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 07:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93754287053602816,"km_value":93754287053602.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084041948633001984,"description":"Unknown IO ID 45"} 
[2026-06-18 07:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127633408001,"power":13102,"unknown_60":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9084041948633001984}} 
[2026-06-18 07:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":105714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343112,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:40:29] local.INFO: GPS data processed {"connection_id":105714,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:40:29] local.INFO: Acknowledgment sent {"connection_id":105714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:40:57] local.INFO: TCP Data received {"connection_id":107249,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:40:57] local.INFO: Processing buffer {"connection_id":107249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:40:57] local.INFO: IMEI packet received {"connection_id":107249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":107249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:41:02] local.INFO: TCP Data received {"connection_id":107249,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:02] local.INFO: Processing buffer {"connection_id":107249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:02] local.INFO: IMEI packet received {"connection_id":107249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":107249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:41:03] local.INFO: TCP Data received {"connection_id":107249,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87e6e68012d7e2b8005e1ce380006000321..."} 
[2026-06-18 07:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87e6e68012d7e2b8005e1ce380006000321..."} 
[2026-06-18 07:41:03] local.INFO: Processing buffer {"connection_id":107249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87e6e68012d7e2b8005e1ce380006000321..."} 
[2026-06-18 07:41:03] local.INFO: Packet analysis {"connection_id":107249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87e"} 
[2026-06-18 07:41:03] local.INFO: Extracted packet for processing {"connection_id":107249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87e"} 
[2026-06-18 07:41:03] local.INFO: GPS Element Parsed {"raw_longitude":763243392,"raw_latitude":98684472,"longitude_deg":76.3243392,"latitude_deg":9.8684472,"altitude":6,"angle":3,"satellites":33,"speed":36,"hex_longitude":"2d7e2b80","hex_latitude":"05e1ce38","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127647232001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93756756659798016,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091078823063261184,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] 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-06-18 07:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781748625000,"timestamp_ms":1781748625000,"timestamp_seconds":1781748625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87e6e68"} 
[2026-06-18 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-06-18 07:41: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-06-18 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3632123456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3779299328,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3199807543836877312,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805727438,"corrected_to":0} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":25,"raw_value":2147869031,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040167,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":41,"raw_value":57886246379083067,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.WARNING: Large IO value detected {"io_id":125,"raw_value":-4992238892039012347,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:03] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,60,85,24,241,157,16,23,158,67,45,192,173,5,31,10,66,22,59,128,168,30,47,1,240,220,227,216,225,4,113,205,233,25,8,34,239,51,2,77,50,41,125],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2805727438,"validated":0}]} 
[2026-06-18 07:41:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432361099126702080,"timestamp_seconds":432361099126702.06,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 07:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:41:03] 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-06-18 07:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127647232001,"66":13254,"60":206,"85":15104,"24":36,"16":93756756659798016,"45":9091078823063261184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 07:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127647232001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:41:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 07:41:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93756756659798016,"km_value":93756756659798.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091078823063261184,"description":"Unknown IO ID 45"} 
[2026-06-18 07:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127647232001,"power":13254,"unknown_60":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9091078823063261184}} 
[2026-06-18 07:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":107249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343113,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:41:03] local.INFO: GPS data processed {"connection_id":107249,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:41:03] local.INFO: Acknowledgment sent {"connection_id":107249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:41:07] local.INFO: TCP Data received {"connection_id":107249,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87e9578012d7e2d0005e1f1200006000024..."} 
[2026-06-18 07:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87e9578012d7e2d0005e1f1200006000024..."} 
[2026-06-18 07:41:07] local.INFO: Processing buffer {"connection_id":107249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87e9578012d7e2d0005e1f1200006000024..."} 
[2026-06-18 07:41:07] local.INFO: Packet analysis {"connection_id":107249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87e"} 
[2026-06-18 07:41:07] local.INFO: Extracted packet for processing {"connection_id":107249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87e"} 
[2026-06-18 07:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763243776,"raw_latitude":98693408,"longitude_deg":76.3243776,"latitude_deg":9.8693408,"altitude":6,"angle":0,"satellites":36,"speed":37,"hex_longitude":"2d7e2d00","hex_latitude":"05e1f120","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127648000001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93757190451494912,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091501035529058304,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:07] 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-06-18 07:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781748635000,"timestamp_ms":1781748635000,"timestamp_seconds":1781748635,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87e9578"} 
[2026-06-18 07:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 07:41:07] 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-06-18 07: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-06-18 07:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:41: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-06-18 07:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127648000001,"66":13037,"60":206,"85":15104,"24":37,"16":93757190451494912,"45":9091501035529058304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 07:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127648000001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:41:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 07:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93757190451494912,"km_value":93757190451494.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091501035529058304,"description":"Unknown IO ID 45"} 
[2026-06-18 07:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127648000001,"power":13037,"unknown_60":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9091501035529058304}} 
[2026-06-18 07:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":107249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:41:07] local.INFO: GPS data processed {"connection_id":107249,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:41:07] local.INFO: Acknowledgment sent {"connection_id":107249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:41:23] local.INFO: TCP Data received {"connection_id":105715,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:41:23] local.INFO: Processing buffer {"connection_id":105715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:41:23] local.INFO: IMEI packet received {"connection_id":105715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":105715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:41:24] local.INFO: TCP Data received {"connection_id":105715,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105715,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:41:24] local.INFO: Processing buffer {"connection_id":105715,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:41:24] local.INFO: IMEI packet received {"connection_id":105715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:41:24] local.ERROR: TCP Connection error {"connection_id":105715,"code":2,"message":"client closed"} 
[2026-06-18 07:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":105715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:41:25] local.INFO: TCP Data received {"connection_id":105717,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:41:25] local.INFO: Processing buffer {"connection_id":105717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:41:25] local.INFO: IMEI packet received {"connection_id":105717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":105717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:41:52] local.INFO: TCP Data received {"connection_id":107250,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:52] local.INFO: Processing buffer {"connection_id":107250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:52] local.INFO: IMEI packet received {"connection_id":107250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":107250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:41:57] local.INFO: TCP Data received {"connection_id":107250,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:57] local.INFO: Processing buffer {"connection_id":107250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:41:57] local.INFO: IMEI packet received {"connection_id":107250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":107250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:41:57] local.INFO: TCP Data received {"connection_id":107250,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87f7420012d7dc48005e1fbc80004010d23..."} 
[2026-06-18 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87f7420012d7dc48005e1fbc80004010d23..."} 
[2026-06-18 07:41:57] local.INFO: Processing buffer {"connection_id":107250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87f7420012d7dc48005e1fbc80004010d23..."} 
[2026-06-18 07:41:57] local.INFO: Packet analysis {"connection_id":107250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:41:57] local.INFO: Extracted packet for processing {"connection_id":107250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763217024,"raw_latitude":98696136,"longitude_deg":76.3217024,"latitude_deg":9.8696136,"altitude":4,"angle":269,"satellites":35,"speed":27,"hex_longitude":"2d7dc480","hex_latitude":"05e1fbc8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127664128001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93758839718936576,"note":"Value kept but may cause issues"} 
[2026-06-18 07:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9065675706419056640,"note":"Value kept but may cause issues"} 
[2026-06-18 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-06-18 07:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781748692000,"timestamp_ms":1781748692000,"timestamp_seconds":1781748692,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87f7420"} 
[2026-06-18 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-06-18 07:41: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-06-18 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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 07:41:57] 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-06-18 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-06-18 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-06-18 07:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":107250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":107250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":107250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127664128001,"66":13298,"61":206,"85":15104,"24":27,"16":93758839718936576,"45":9065675706419056640},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 07:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127664128001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:41:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 07:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93758839718936576,"km_value":93758839718936.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9065675706419056640,"description":"Unknown IO ID 45"} 
[2026-06-18 07:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127664128001,"power":13298,"unknown_61":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9065675706419056640}} 
[2026-06-18 07:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":107250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343115,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:41:57] local.INFO: GPS data processed {"connection_id":107250,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:41:57] local.INFO: Acknowledgment sent {"connection_id":107250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:42:28] local.INFO: TCP Data received {"connection_id":107250,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87f7fd8012d7dbbc005e1fc780005011821..."} 
[2026-06-18 07:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87f7fd8012d7dbbc005e1fc780005011821..."} 
[2026-06-18 07:42:28] local.INFO: Processing buffer {"connection_id":107250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87f7fd8012d7dbbc005e1fc780005011821..."} 
[2026-06-18 07:42:28] local.INFO: Packet analysis {"connection_id":107250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:42:28] local.INFO: Extracted packet for processing {"connection_id":107250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763214784,"raw_latitude":98696312,"longitude_deg":76.3214784,"latitude_deg":9.8696312,"altitude":5,"angle":280,"satellites":33,"speed":31,"hex_longitude":"2d7dbbc0","hex_latitude":"05e1fc78","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127665152001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93758942798151680,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9062509112930846720,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42: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-06-18 07:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781748695000,"timestamp_ms":1781748695000,"timestamp_seconds":1781748695,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87f7fd8"} 
[2026-06-18 07:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:42: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-06-18 07: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-18 07:42:28] 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-06-18 07: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-06-18 07:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:42:28] 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-06-18 07:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127665152001,"66":13319,"61":206,"85":15104,"24":31,"16":93758942798151680,"45":9062509112930846720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 07:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127665152001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:42:28] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 07:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93758942798151680,"km_value":93758942798151.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9062509112930846720,"description":"Unknown IO ID 45"} 
[2026-06-18 07:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127665152001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9062509112930846720}} 
[2026-06-18 07:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":107250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:42:28] local.INFO: GPS data processed {"connection_id":107250,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:42:28] local.INFO: Acknowledgment sent {"connection_id":107250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:42:52] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:52] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:52] local.INFO: IMEI packet received {"connection_id":106265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":106265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:42:54] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:54] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:54] local.INFO: IMEI packet received {"connection_id":106265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":106265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:42:57] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:57] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:42:57] local.INFO: IMEI packet received {"connection_id":106265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":106265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:42:58] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87faad0012d7d974005e200280007011023..."} 
[2026-06-18 07:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87faad0012d7d974005e200280007011023..."} 
[2026-06-18 07:42:58] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87faad0012d7d974005e200280007011023..."} 
[2026-06-18 07:42:58] local.INFO: Packet analysis {"connection_id":106265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:42:58] local.INFO: Extracted packet for processing {"connection_id":106265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763205440,"raw_latitude":98697256,"longitude_deg":76.320544,"latitude_deg":9.8697256,"altitude":7,"angle":272,"satellites":35,"speed":25,"hex_longitude":"2d7d9740","hex_latitude":"05e20028","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127665920001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93759393769717760,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9060046206884673536,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] 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-06-18 07:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781748706000,"timestamp_ms":1781748706000,"timestamp_seconds":1781748706,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87faad0"} 
[2026-06-18 07:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:42: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-06-18 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3632187456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":3,"raw_value":3221611026,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":226,"raw_value":1011058142133494528,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040167,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3792615424,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57886246379083067,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.WARNING: Large IO value detected {"io_id":126,"raw_value":-4580159526134218747,"note":"Value kept but may cause issues"} 
[2026-06-18 07:42:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,61,85,24,241,157,16,25,158,116,45,128,251,4,35,10,66,100,192,255,3,57,1,240,7,227,216,226,113,205,20,26,104,33,239,51,2,77,5,6,30,62,126],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-06-18 07:42:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360595975181369344,"timestamp_seconds":360595975181369.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:42: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-06-18 07:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127665920001,"66":13048,"61":206,"85":15104,"24":25,"16":93759393769717760,"45":9060046206884673536},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 07:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127665920001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:42:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 07:42:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93759393769717760,"km_value":93759393769717.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9060046206884673536,"description":"Unknown IO ID 45"} 
[2026-06-18 07:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127665920001,"power":13048,"unknown_61":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":9060046206884673536}} 
[2026-06-18 07:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":106265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343117,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:42:58] local.INFO: GPS data processed {"connection_id":106265,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:42:58] local.INFO: Acknowledgment sent {"connection_id":106265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:43:02] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87fd5c8012d7d714005e203a80009011124..."} 
[2026-06-18 07:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87fd5c8012d7d714005e203a80009011124..."} 
[2026-06-18 07:43:02] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87fd5c8012d7d714005e203a80009011124..."} 
[2026-06-18 07:43:02] local.INFO: Packet analysis {"connection_id":106265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:43:02] local.INFO: Extracted packet for processing {"connection_id":106265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763195712,"raw_latitude":98698152,"longitude_deg":76.3195712,"latitude_deg":9.8698152,"altitude":9,"angle":273,"satellites":36,"speed":44,"hex_longitude":"2d7d7140","hex_latitude":"05e203a8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127668736001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93759861921153024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9049772370234976256,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43:02] 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-06-18 07:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781748717000,"timestamp_ms":1781748717000,"timestamp_seconds":1781748717,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87fd5c8"} 
[2026-06-18 07:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 07:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:43:02] 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-06-18 07:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127668736001,"66":13243,"61":206,"85":15104,"24":44,"16":93759861921153024,"45":9049772370234976256},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 07:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127668736001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:43:02] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 07:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93759861921153024,"km_value":93759861921153.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9049772370234976256,"description":"Unknown IO ID 45"} 
[2026-06-18 07:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127668736001,"power":13243,"unknown_61":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9049772370234976256}} 
[2026-06-18 07:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":106265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343118,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:43:02] local.INFO: GPS data processed {"connection_id":106265,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:43:02] local.INFO: Acknowledgment sent {"connection_id":106265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:43:34] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8811230012d7c594005e20af0000500d61e..."} 
[2026-06-18 07:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8811230012d7c594005e20af0000500d61e..."} 
[2026-06-18 07:43:34] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8811230012d7c594005e20af0000500d61e..."} 
[2026-06-18 07:43:34] local.INFO: Packet analysis {"connection_id":106265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed881"} 
[2026-06-18 07:43:34] local.INFO: Extracted packet for processing {"connection_id":106265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed881"} 
[2026-06-18 07:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763124032,"raw_latitude":98700016,"longitude_deg":76.3124032,"latitude_deg":9.8700016,"altitude":5,"angle":214,"satellites":30,"speed":30,"hex_longitude":"2d7c5940","hex_latitude":"05e20af0","is_valid_coordinates":true} 
[2026-06-18 07:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127692032001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93763358024531968,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960474433874413568,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43:34] 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-06-18 07:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781748798000,"timestamp_ms":1781748798000,"timestamp_seconds":1781748798,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8811230"} 
[2026-06-18 07:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 07:43:34] 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-06-18 07: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-06-18 07:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:43:34] 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-06-18 07:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127692032001,"66":12961,"61":206,"85":15104,"24":30,"16":93763358024531968,"45":8960474433874413568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 07:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127692032001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:43:34] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 07:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93763358024531968,"km_value":93763358024531.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960474433874413568,"description":"Unknown IO ID 45"} 
[2026-06-18 07:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127692032001,"power":12961,"unknown_61":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8960474433874413568}} 
[2026-06-18 07:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":106265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343119,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:43:34] local.INFO: GPS data processed {"connection_id":106265,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:43:34] local.INFO: Acknowledgment sent {"connection_id":106265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:43:52] local.INFO: TCP Data received {"connection_id":105522,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:43:52] local.INFO: Processing buffer {"connection_id":105522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:43:52] local.INFO: IMEI packet received {"connection_id":105522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":105522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:43:56] local.INFO: TCP Data received {"connection_id":105522,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105522,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:43:56] local.INFO: Processing buffer {"connection_id":105522,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:43:56] local.INFO: IMEI packet received {"connection_id":105522,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":105522,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:43:57] local.INFO: TCP Data received {"connection_id":105522,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88129a0012d7c4ec005e1f968000500e31d..."} 
[2026-06-18 07:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88129a0012d7c4ec005e1f968000500e31d..."} 
[2026-06-18 07:43:57] local.INFO: Processing buffer {"connection_id":105522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88129a0012d7c4ec005e1f968000500e31d..."} 
[2026-06-18 07:43:57] local.INFO: Packet analysis {"connection_id":105522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed881"} 
[2026-06-18 07:43:57] local.INFO: Extracted packet for processing {"connection_id":105522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed881"} 
[2026-06-18 07:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763121344,"raw_latitude":98695528,"longitude_deg":76.3121344,"latitude_deg":9.8695528,"altitude":5,"angle":227,"satellites":29,"speed":32,"hex_longitude":"2d7c4ec0","hex_latitude":"05e1f968","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127692288001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93763611427602432,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8960263327641694208,"note":"Value kept but may cause issues"} 
[2026-06-18 07:43: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-06-18 07:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781748804000,"timestamp_ms":1781748804000,"timestamp_seconds":1781748804,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88129a0"} 
[2026-06-18 07:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:43: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-06-18 07: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":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 07:43:57] 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-06-18 07: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-06-18 07:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127692288001,"66":13319,"61":206,"85":15104,"24":32,"16":93763611427602432,"45":8960263327641694208},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 07:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127692288001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:43:57] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 07:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93763611427602432,"km_value":93763611427602.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8960263327641694208,"description":"Unknown IO ID 45"} 
[2026-06-18 07:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127692288001,"power":13319,"unknown_61":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8960263327641694208}} 
[2026-06-18 07:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":105522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343120,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:43:57] local.INFO: GPS data processed {"connection_id":105522,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:43:57] local.INFO: Acknowledgment sent {"connection_id":105522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:44:04] local.INFO: TCP Data received {"connection_id":105718,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:44:04] local.INFO: Processing buffer {"connection_id":105718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:44:04] local.INFO: IMEI packet received {"connection_id":105718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":105718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:44:28] local.INFO: TCP Data received {"connection_id":105522,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8820078012d7bbb4005e1ca70000500e320..."} 
[2026-06-18 07:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8820078012d7bbb4005e1ca70000500e320..."} 
[2026-06-18 07:44:28] local.INFO: Processing buffer {"connection_id":105522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8820078012d7bbb4005e1ca70000500e320..."} 
[2026-06-18 07:44:28] local.INFO: Packet analysis {"connection_id":105522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed882"} 
[2026-06-18 07:44:28] local.INFO: Extracted packet for processing {"connection_id":105522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed882"} 
[2026-06-18 07:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763083584,"raw_latitude":98683504,"longitude_deg":76.3083584,"latitude_deg":9.8683504,"altitude":5,"angle":227,"satellites":32,"speed":38,"hex_longitude":"2d7bbb40","hex_latitude":"05e1ca70","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127705856001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93765673011904512,"note":"Value kept but may cause issues"} 
[2026-06-18 07:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921630887085031424,"note":"Value kept but may cause issues"} 
[2026-06-18 07:44:28] 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-06-18 07:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781748859000,"timestamp_ms":1781748859000,"timestamp_seconds":1781748859,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8820078"} 
[2026-06-18 07:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:44: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-06-18 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 07:44:28] 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-06-18 07: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-06-18 07:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105522,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:44:28] 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-06-18 07:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127705856001,"66":12613,"43":206,"85":15104,"24":38,"16":93765673011904512,"45":8921630887085031424},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 07:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127705856001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:44:28] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 07:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93765673011904512,"km_value":93765673011904.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921630887085031424,"description":"Unknown IO ID 45"} 
[2026-06-18 07:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127705856001,"power":12613,"unknown_43":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8921630887085031424}} 
[2026-06-18 07:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":105522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343121,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:44:28] local.INFO: GPS data processed {"connection_id":105522,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:44:28] local.INFO: Acknowledgment sent {"connection_id":105522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:44:34] local.INFO: TCP Data received {"connection_id":107251,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:44:34] local.INFO: Processing buffer {"connection_id":107251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:44:34] local.INFO: IMEI packet received {"connection_id":107251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":107251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:44:54] local.INFO: TCP Data received {"connection_id":105720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:44:54] local.INFO: Processing buffer {"connection_id":105720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:44:54] local.INFO: IMEI packet received {"connection_id":105720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":105720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:44:57] local.INFO: TCP Data received {"connection_id":105720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:44:57] local.INFO: Processing buffer {"connection_id":105720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:44:57] local.INFO: IMEI packet received {"connection_id":105720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":105720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:45:02] local.INFO: TCP Data received {"connection_id":105720,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105720,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:02] local.INFO: Processing buffer {"connection_id":105720,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:02] local.INFO: IMEI packet received {"connection_id":105720,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":105720,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:45:03] local.INFO: TCP Data received {"connection_id":105720,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8821018012d7bb00005e1c100000400ef21..."} 
[2026-06-18 07:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8821018012d7bb00005e1c100000400ef21..."} 
[2026-06-18 07:45:03] local.INFO: Processing buffer {"connection_id":105720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8821018012d7bb00005e1c100000400ef21..."} 
[2026-06-18 07:45:03] local.INFO: Packet analysis {"connection_id":105720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed882"} 
[2026-06-18 07:45:03] local.INFO: Extracted packet for processing {"connection_id":105720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed882"} 
[2026-06-18 07:45:03] local.INFO: GPS Element Parsed {"raw_longitude":763080704,"raw_latitude":98681088,"longitude_deg":76.3080704,"latitude_deg":9.8681088,"altitude":4,"angle":239,"satellites":33,"speed":32,"hex_longitude":"2d7bb000","hex_latitude":"05e1c100","is_valid_coordinates":true} 
[2026-06-18 07:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127707904001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915790281317183488,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93765853400530944,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 07:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781748863000,"timestamp_ms":1781748863000,"timestamp_seconds":1781748863,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8821018"} 
[2026-06-18 07:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-18 07:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:45:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:45:03] 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-06-18 07:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127707904001,"66":12928,"45":8915790281317183488,"85":15104,"24":32,"16":93765853400530944},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-06-18 07:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127707904001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915790281317183488,"description":"Unknown IO ID 45"} 
[2026-06-18 07:45:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93765853400530944,"km_value":93765853400530.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:45:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456127707904001,"power":12928,"unknown_45":8915790281317183488,"unknown_85":15104,"ignition":32,"odometer":null}} 
[2026-06-18 07:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":105720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:45:03] local.INFO: GPS data processed {"connection_id":105720,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:45:03] local.INFO: Acknowledgment sent {"connection_id":105720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:45:07] local.INFO: TCP Data received {"connection_id":105720,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88217e8012d7ba98005e1be88000400fe21..."} 
[2026-06-18 07:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88217e8012d7ba98005e1be88000400fe21..."} 
[2026-06-18 07:45:07] local.INFO: Processing buffer {"connection_id":105720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88217e8012d7ba98005e1be88000400fe21..."} 
[2026-06-18 07:45:07] local.INFO: Packet analysis {"connection_id":105720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed882"} 
[2026-06-18 07:45:07] local.INFO: Extracted packet for processing {"connection_id":105720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed882"} 
[2026-06-18 07:45:07] local.INFO: GPS Element Parsed {"raw_longitude":763079040,"raw_latitude":98680456,"longitude_deg":76.307904,"latitude_deg":9.8680456,"altitude":4,"angle":254,"satellites":33,"speed":32,"hex_longitude":"2d7ba980","hex_latitude":"05e1be88","is_valid_coordinates":true} 
[2026-06-18 07:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127708928001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912623687828570112,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93765935004909568,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 07:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781748865000,"timestamp_ms":1781748865000,"timestamp_seconds":1781748865,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88217e8"} 
[2026-06-18 07:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-18 07:45:07] 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-06-18 07: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-06-18 07:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105720,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:45: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-06-18 07:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127708928001,"66":12928,"45":8912623687828570112,"85":15104,"24":32,"16":93765935004909568},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,85,24,16]} 
[2026-06-18 07:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127708928001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912623687828570112,"description":"Unknown IO ID 45"} 
[2026-06-18 07:45:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93765935004909568,"km_value":93765935004909.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:45:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456127708928001,"power":12928,"unknown_45":8912623687828570112,"unknown_85":15104,"ignition":32,"odometer":null}} 
[2026-06-18 07:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":105720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343123,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:45:07] local.INFO: GPS data processed {"connection_id":105720,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:45:07] local.INFO: Acknowledgment sent {"connection_id":105720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:45:52] local.INFO: TCP Data received {"connection_id":105721,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:52] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:52] local.INFO: IMEI packet received {"connection_id":105721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":105721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:45:57] local.INFO: TCP Data received {"connection_id":105721,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:57] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:45:57] local.INFO: IMEI packet received {"connection_id":105721,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":105721,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:45:58] local.INFO: TCP Data received {"connection_id":105721,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88315d0012d7b3c8005e1b1b8000d014f1d..."} 
[2026-06-18 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88315d0012d7b3c8005e1b1b8000d014f1d..."} 
[2026-06-18 07:45:58] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88315d0012d7b3c8005e1b1b8000d014f1d..."} 
[2026-06-18 07:45:58] local.INFO: Packet analysis {"connection_id":105721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:45:58] local.INFO: Extracted packet for processing {"connection_id":105721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763051136,"raw_latitude":98677176,"longitude_deg":76.3051136,"latitude_deg":9.8677176,"altitude":13,"angle":335,"satellites":29,"speed":13,"hex_longitude":"2d7b3c80","hex_latitude":"05e1b1b8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127725824001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93767326574313472,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880324434249934848,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:58] 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-06-18 07:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781748930000,"timestamp_ms":1781748930000,"timestamp_seconds":1781748930,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88315d0"} 
[2026-06-18 07:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 07:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:45: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-06-18 07:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127725824001,"66":12906,"169":206,"85":15104,"24":13,"16":93767326574313472,"45":8880324434249934848},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 07:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127725824001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:45:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 07:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93767326574313472,"km_value":93767326574313.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880324434249934848,"description":"Unknown IO ID 45"} 
[2026-06-18 07:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127725824001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8880324434249934848}} 
[2026-06-18 07:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":105721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343124,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:45:58] local.INFO: GPS data processed {"connection_id":105721,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:45:58] local.INFO: Acknowledgment sent {"connection_id":105721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:45:59] local.INFO: TCP Data received {"connection_id":105721,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88319b8012d7b3c0005e1b310000d015b1e..."} 
[2026-06-18 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88319b8012d7b3c0005e1b310000d015b1e..."} 
[2026-06-18 07:45:59] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88319b8012d7b3c0005e1b310000d015b1e..."} 
[2026-06-18 07:45:59] local.INFO: Packet analysis {"connection_id":105721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:45:59] local.INFO: Extracted packet for processing {"connection_id":105721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":763051008,"raw_latitude":98677520,"longitude_deg":76.3051008,"latitude_deg":9.867752,"altitude":13,"angle":347,"satellites":30,"speed":13,"hex_longitude":"2d7b3c00","hex_latitude":"05e1b310","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127726080001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93767343754182656,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880113328017487872,"note":"Value kept but may cause issues"} 
[2026-06-18 07:45: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-06-18 07:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781748931000,"timestamp_ms":1781748931000,"timestamp_seconds":1781748931,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88319b8"} 
[2026-06-18 07:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 07:45:59] 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-06-18 07: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-06-18 07:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":105721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":105721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":105721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:45:59] 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-06-18 07:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127726080001,"66":13059,"169":206,"85":15104,"24":13,"16":93767343754182656,"45":8880113328017487872},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 07:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127726080001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:45:59] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 07:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93767343754182656,"km_value":93767343754182.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880113328017487872,"description":"Unknown IO ID 45"} 
[2026-06-18 07:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127726080001,"power":13059,"unknown_169":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8880113328017487872}} 
[2026-06-18 07:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":105721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343125,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:45:59] local.INFO: GPS data processed {"connection_id":105721,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:45:59] local.INFO: Acknowledgment sent {"connection_id":105721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:46:30] local.INFO: TCP Data received {"connection_id":105721,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8832188012d7b3c0005e1b648000d00001d..."} 
[2026-06-18 07:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8832188012d7b3c0005e1b648000d00001d..."} 
[2026-06-18 07:46:30] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8832188012d7b3c0005e1b648000d00001d..."} 
[2026-06-18 07:46:30] local.INFO: Packet analysis {"connection_id":105721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:46:30] local.INFO: Extracted packet for processing {"connection_id":105721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:46:30] local.INFO: GPS Element Parsed {"raw_longitude":763051008,"raw_latitude":98678344,"longitude_deg":76.3051008,"latitude_deg":9.8678344,"altitude":13,"angle":0,"satellites":29,"speed":17,"hex_longitude":"2d7b3c00","hex_latitude":"05e1b648","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127726336001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93767382408888320,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879972590529220608,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46: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-06-18 07:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781748933000,"timestamp_ms":1781748933000,"timestamp_seconds":1781748933,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8832188"} 
[2026-06-18 07:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:46: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-06-18 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303167744036263,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":169,"raw_value":58077557095399429,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3632458456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":64,"raw_value":2147869102,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2198476801,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Large IO value detected {"io_id":225,"raw_value":2935488525,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-18 07:46:30] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,169,85,24,241,157,16,32,158,21,45,128,177,13,29,10,66,17,64,176,30,14,192,1,240,166,227,216,225,4,113,205,7,254,40,35,239,51,2,77,5],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-18 07:46:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937130381877772288,"timestamp_seconds":937130381877772.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105721,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:46:30] 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-06-18 07:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127726336001,"66":13102,"169":206,"85":15104,"24":17,"16":93767382408888320,"45":8879972590529220608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 07:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127726336001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:46:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 07:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93767382408888320,"km_value":93767382408888.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879972590529220608,"description":"Unknown IO ID 45"} 
[2026-06-18 07:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127726336001,"power":13102,"unknown_169":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8879972590529220608}} 
[2026-06-18 07:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":105721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343126,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:46:30] local.INFO: GPS data processed {"connection_id":105721,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:46:30] local.INFO: Acknowledgment sent {"connection_id":105721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:46:30] local.INFO: TCP Data received {"connection_id":107253,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:46:30] local.INFO: Processing buffer {"connection_id":107253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:46:30] local.INFO: IMEI packet received {"connection_id":107253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":107253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:46:32] local.INFO: TCP Data received {"connection_id":107253,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87fca10012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87fca10012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:46:32] local.INFO: Processing buffer {"connection_id":107253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87fca10012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:46:32] local.INFO: Packet analysis {"connection_id":107253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:46:32] local.INFO: Extracted packet for processing {"connection_id":107253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:46:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127593472001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781748714000,"timestamp_ms":1781748714000,"timestamp_seconds":1781748714,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87fca10"} 
[2026-06-18 07:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127593472001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127593472001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:46:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127593472001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":107253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:46:32] local.INFO: GPS data processed {"connection_id":107253,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:46:32] local.INFO: Acknowledgment sent {"connection_id":107253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:46:52] local.INFO: TCP Data received {"connection_id":106268,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:46:52] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:46:52] local.INFO: IMEI packet received {"connection_id":106268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":106268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:46:55] local.INFO: TCP Data received {"connection_id":106268,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:46:55] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:46:55] local.INFO: IMEI packet received {"connection_id":106268,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":106268,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:46:55] local.INFO: TCP Data received {"connection_id":106268,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8835068012d7b384005e1dad8000c016217..."} 
[2026-06-18 07:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8835068012d7b384005e1dad8000c016217..."} 
[2026-06-18 07:46:55] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8835068012d7b384005e1dad8000c016217..."} 
[2026-06-18 07:46:55] local.INFO: Packet analysis {"connection_id":106268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:46:55] local.INFO: Extracted packet for processing {"connection_id":106268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:46:55] local.INFO: GPS Element Parsed {"raw_longitude":763050048,"raw_latitude":98687704,"longitude_deg":76.3050048,"latitude_deg":9.8687704,"altitude":12,"angle":354,"satellites":23,"speed":33,"hex_longitude":"2d7b3840","hex_latitude":"05e1dad8","is_valid_coordinates":true} 
[2026-06-18 07:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127726848001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93767841970388992,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8879972590529431552,"note":"Value kept but may cause issues"} 
[2026-06-18 07:46:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781748945000,"timestamp_ms":1781748945000,"timestamp_seconds":1781748945,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8835068"} 
[2026-06-18 07:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:46: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-06-18 07:46:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 07:46: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-06-18 07:46:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:46: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-06-18 07:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127726848001,"66":13319,"169":206,"85":15104,"24":33,"16":93767841970388992,"45":8879972590529431552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 07:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127726848001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:46:55] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 07:46:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93767841970388992,"km_value":93767841970388.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8879972590529431552,"description":"Unknown IO ID 45"} 
[2026-06-18 07:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127726848001,"power":13319,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8879972590529431552}} 
[2026-06-18 07:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":106268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343128,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:46:55] local.INFO: GPS data processed {"connection_id":106268,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:46:55] local.INFO: Acknowledgment sent {"connection_id":106268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:47:04] local.INFO: TCP Data received {"connection_id":107253,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed87fca10012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed87fca10012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:47:04] local.INFO: Processing buffer {"connection_id":107253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed87fca10012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:47:04] local.INFO: Packet analysis {"connection_id":107253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:47:04] local.INFO: Extracted packet for processing {"connection_id":107253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed87f"} 
[2026-06-18 07:47:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127593472001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781748714000,"timestamp_ms":1781748714000,"timestamp_seconds":1781748714,"priority":1,"record_length":96,"hex_timestamp":"0000019ed87fca10"} 
[2026-06-18 07:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:47:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 07:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:47:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127593472001,"66":24930,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127593472001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:47:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:47:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127593472001,"power":24930,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":107253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:47:04] local.INFO: GPS data processed {"connection_id":107253,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:47:04] local.INFO: Acknowledgment sent {"connection_id":107253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:47:26] local.INFO: TCP Data received {"connection_id":106268,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8837778012d7b344005e1fdf0000b015c11..."} 
[2026-06-18 07:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8837778012d7b344005e1fdf0000b015c11..."} 
[2026-06-18 07:47:26] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8837778012d7b344005e1fdf0000b015c11..."} 
[2026-06-18 07:47:26] local.INFO: Packet analysis {"connection_id":106268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:47:26] local.INFO: Extracted packet for processing {"connection_id":106268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763049024,"raw_latitude":98696688,"longitude_deg":76.3049024,"latitude_deg":9.8696688,"altitude":11,"angle":348,"satellites":17,"speed":30,"hex_longitude":"2d7b3440","hex_latitude":"05e1fdf0","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127729920001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93768280057053184,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8878917059369162752,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47: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-06-18 07:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781748955000,"timestamp_ms":1781748955000,"timestamp_seconds":1781748955,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8837778"} 
[2026-06-18 07:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:47:26] 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-06-18 07: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3632466456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2198988801,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-5897463656188665088,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":61,"raw_value":3221610927,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070503,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3786340352,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":166,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.WARNING: Large IO value detected {"io_id":130,"raw_value":-117092295458652155,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:26] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,169,85,24,241,157,16,33,158,45,182,13,29,10,66,32,25,179,30,21,128,1,240,106,227,216,225,4,113,205,14,61,136,239,51,2,77,5,7,166,130],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-18 07:47:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":865080454357778432,"timestamp_seconds":865080454357778.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106268,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:47: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-06-18 07:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127729920001,"66":12341,"169":206,"85":15104,"24":30,"16":93768280057053184,"45":8878917059369162752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 07:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127729920001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:47:26] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 07:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93768280057053184,"km_value":93768280057053.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8878917059369162752,"description":"Unknown IO ID 45"} 
[2026-06-18 07:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127729920001,"power":12341,"unknown_169":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8878917059369162752}} 
[2026-06-18 07:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":106268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343130,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:47:27] local.INFO: GPS data processed {"connection_id":106268,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:47:27] local.INFO: Acknowledgment sent {"connection_id":106268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:47:31] local.INFO: TCP Data received {"connection_id":105722,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:47:31] local.INFO: Processing buffer {"connection_id":105722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:47:31] local.INFO: IMEI packet received {"connection_id":105722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":105722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:47:33] local.INFO: TCP Data received {"connection_id":105722,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:47:33] local.INFO: Processing buffer {"connection_id":105722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:47:33] local.INFO: IMEI packet received {"connection_id":105722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":105722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:47:34] local.INFO: TCP Data received {"connection_id":105722,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:47:34] local.INFO: Processing buffer {"connection_id":105722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:47:34] local.INFO: Packet analysis {"connection_id":105722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:47:34] local.INFO: Extracted packet for processing {"connection_id":105722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:47:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 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-06-18 07:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 07:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:47:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:47:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":105722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:47:34] local.INFO: GPS data processed {"connection_id":105722,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:47:34] local.INFO: Acknowledgment sent {"connection_id":105722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:47:36] local.INFO: TCP Data received {"connection_id":105722,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:47:36] local.INFO: Processing buffer {"connection_id":105722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:47:36] local.INFO: Packet analysis {"connection_id":105722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:47:36] local.INFO: Extracted packet for processing {"connection_id":105722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 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-06-18 07:47:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 07:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:47:36] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:47:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":105722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:47:36] local.INFO: GPS data processed {"connection_id":105722,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:47:36] local.INFO: Acknowledgment sent {"connection_id":105722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:47:51] local.INFO: TCP Data received {"connection_id":105523,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:51] local.INFO: Processing buffer {"connection_id":105523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:51] local.INFO: IMEI packet received {"connection_id":105523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":105523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:47:52] local.INFO: TCP Data received {"connection_id":105523,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:52] local.INFO: Processing buffer {"connection_id":105523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:52] local.INFO: IMEI packet received {"connection_id":105523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":105523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:47:57] local.INFO: TCP Data received {"connection_id":105523,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105523,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:57] local.INFO: Processing buffer {"connection_id":105523,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:47:57] local.INFO: IMEI packet received {"connection_id":105523,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":105523,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:47:58] local.INFO: TCP Data received {"connection_id":105523,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed883b5f8012d7b2e4005e22188000801621c..."} 
[2026-06-18 07:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed883b5f8012d7b2e4005e22188000801621c..."} 
[2026-06-18 07:47:58] local.INFO: Processing buffer {"connection_id":105523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed883b5f8012d7b2e4005e22188000801621c..."} 
[2026-06-18 07:47:58] local.INFO: Packet analysis {"connection_id":105523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:47:58] local.INFO: Extracted packet for processing {"connection_id":105523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763047488,"raw_latitude":98705800,"longitude_deg":76.3047488,"latitude_deg":9.87058,"altitude":8,"angle":354,"satellites":28,"speed":25,"hex_longitude":"2d7b2e40","hex_latitude":"05e22188","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127732480001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93768726733651968,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877791159464620032,"note":"Value kept but may cause issues"} 
[2026-06-18 07:47:58] 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-06-18 07:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781748971000,"timestamp_ms":1781748971000,"timestamp_seconds":1781748971,"priority":1,"record_length":96,"hex_timestamp":"0000019ed883b5f8"} 
[2026-06-18 07:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:47: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-06-18 07: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":53,"data_length":795,"current_offset":136} 
[2026-06-18 07:47:58] 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-06-18 07: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-06-18 07:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:47: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-06-18 07:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127732480001,"66":12885,"169":206,"85":15104,"24":25,"16":93768726733651968,"45":8877791159464620032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 07:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127732480001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:47:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 07:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93768726733651968,"km_value":93768726733651.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877791159464620032,"description":"Unknown IO ID 45"} 
[2026-06-18 07:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127732480001,"power":12885,"unknown_169":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8877791159464620032}} 
[2026-06-18 07:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":105523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343133,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:47:58] local.INFO: GPS data processed {"connection_id":105523,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:47:58] local.INFO: Acknowledgment sent {"connection_id":105523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:48:07] local.INFO: TCP Data received {"connection_id":105722,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:48:07] local.INFO: Processing buffer {"connection_id":105722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:48:07] local.INFO: Packet analysis {"connection_id":105722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:48:07] local.INFO: Extracted packet for processing {"connection_id":105722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:48:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:48:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 07:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:48:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:48:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:48:07] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:48:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":105722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:48:07] local.INFO: GPS data processed {"connection_id":105722,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:48:07] local.INFO: Acknowledgment sent {"connection_id":105722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:48:25] local.INFO: TCP Data received {"connection_id":106270,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:48:25] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:48:25] local.INFO: IMEI packet received {"connection_id":106270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":106270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:48:30] local.INFO: TCP Data received {"connection_id":105523,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed883fc48012d7b29c005e243f80008015c21..."} 
[2026-06-18 07:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed883fc48012d7b29c005e243f80008015c21..."} 
[2026-06-18 07:48:30] local.INFO: Processing buffer {"connection_id":105523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed883fc48012d7b29c005e243f80008015c21..."} 
[2026-06-18 07:48:30] local.INFO: Packet analysis {"connection_id":105523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:48:30] local.INFO: Extracted packet for processing {"connection_id":105523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed883"} 
[2026-06-18 07:48:30] local.INFO: GPS Element Parsed {"raw_longitude":763046336,"raw_latitude":98714616,"longitude_deg":76.3046336,"latitude_deg":9.8714616,"altitude":8,"angle":348,"satellites":33,"speed":19,"hex_longitude":"2d7b29c0","hex_latitude":"05e243f8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127736576001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93769160525348864,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876102309606688768,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48: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-06-18 07:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781748989000,"timestamp_ms":1781748989000,"timestamp_seconds":1781748989,"priority":1,"record_length":96,"hex_timestamp":"0000019ed883fc48"} 
[2026-06-18 07:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:48: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-06-18 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 07:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105523,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:48:30] 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-06-18 07:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127736576001,"66":13189,"169":206,"85":15104,"24":19,"16":93769160525348864,"45":8876102309606688768},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 07:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127736576001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:48:30] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 07:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93769160525348864,"km_value":93769160525348.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876102309606688768,"description":"Unknown IO ID 45"} 
[2026-06-18 07:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127736576001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8876102309606688768}} 
[2026-06-18 07:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":105523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343135,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:48:30] local.INFO: GPS data processed {"connection_id":105523,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:48:30] local.INFO: Acknowledgment sent {"connection_id":105523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:48:30] local.INFO: TCP Data received {"connection_id":106270,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:48:30] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:48:30] local.INFO: IMEI packet received {"connection_id":106270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":106270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:48:32] local.INFO: TCP Data received {"connection_id":106270,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:48:32] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:48:32] local.INFO: Packet analysis {"connection_id":106270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:48:32] local.INFO: Extracted packet for processing {"connection_id":106270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 07:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:48:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:48:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":106270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:48:32] local.INFO: GPS data processed {"connection_id":106270,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:48:32] local.INFO: Acknowledgment sent {"connection_id":106270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:48:53] local.INFO: TCP Data received {"connection_id":107254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:53] local.INFO: Processing buffer {"connection_id":107254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:53] local.INFO: IMEI packet received {"connection_id":107254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":107254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:48:53] local.INFO: TCP Data received {"connection_id":107254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:53] local.INFO: Processing buffer {"connection_id":107254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:53] local.INFO: IMEI packet received {"connection_id":107254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":107254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:48:57] local.INFO: TCP Data received {"connection_id":107254,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107254,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:57] local.INFO: Processing buffer {"connection_id":107254,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:48:57] local.INFO: IMEI packet received {"connection_id":107254,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":107254,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:48:58] local.INFO: TCP Data received {"connection_id":107254,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8842b28012d7b254005e267780007016316..."} 
[2026-06-18 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8842b28012d7b254005e267780007016316..."} 
[2026-06-18 07:48:58] local.INFO: Processing buffer {"connection_id":107254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8842b28012d7b254005e267780007016316..."} 
[2026-06-18 07:48:58] local.INFO: Packet analysis {"connection_id":107254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:48:58] local.INFO: Extracted packet for processing {"connection_id":107254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":98723704,"longitude_deg":76.3045184,"latitude_deg":9.8723704,"altitude":7,"angle":355,"satellites":22,"speed":37,"hex_longitude":"2d7b2540","hex_latitude":"05e26778","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127741184001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93769607201947648,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874835672213747712,"note":"Value kept but may cause issues"} 
[2026-06-18 07:48:58] 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-06-18 07:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749001000,"timestamp_ms":1781749001000,"timestamp_seconds":1781749001,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8842b28"} 
[2026-06-18 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-06-18 07:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 07:48: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-06-18 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-06-18 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-06-18 07:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:48: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-06-18 07:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127741184001,"66":13102,"169":206,"85":15104,"24":37,"16":93769607201947648,"45":8874835672213747712},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 07:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127741184001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:48:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 07:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93769607201947648,"km_value":93769607201947.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874835672213747712,"description":"Unknown IO ID 45"} 
[2026-06-18 07:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127741184001,"power":13102,"unknown_169":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8874835672213747712}} 
[2026-06-18 07:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":107254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343137,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:48:58] local.INFO: GPS data processed {"connection_id":107254,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:48:58] local.INFO: Acknowledgment sent {"connection_id":107254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:49:04] local.INFO: TCP Data received {"connection_id":106270,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:49:04] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:49:04] local.INFO: Packet analysis {"connection_id":106270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:49:04] local.INFO: Extracted packet for processing {"connection_id":106270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:49:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 07:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:49:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:49:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":106270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:49:04] local.INFO: GPS data processed {"connection_id":106270,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:49:04] local.INFO: Acknowledgment sent {"connection_id":106270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:49:25] local.INFO: TCP Data received {"connection_id":106271,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:49:25] local.INFO: Processing buffer {"connection_id":106271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:49:25] local.INFO: IMEI packet received {"connection_id":106271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":106271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:49:29] local.INFO: TCP Data received {"connection_id":107254,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8866190012d7acd8005e40ec80005014e22..."} 
[2026-06-18 07:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8866190012d7acd8005e40ec80005014e22..."} 
[2026-06-18 07:49:29] local.INFO: Processing buffer {"connection_id":107254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8866190012d7acd8005e40ec80005014e22..."} 
[2026-06-18 07:49:29] local.INFO: Packet analysis {"connection_id":107254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:49:29] local.INFO: Extracted packet for processing {"connection_id":107254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763022720,"raw_latitude":98832072,"longitude_deg":76.302272,"latitude_deg":9.8832072,"altitude":5,"angle":334,"satellites":34,"speed":27,"hex_longitude":"2d7acd80","hex_latitude":"05e40ec8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127779840001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93775001680871424,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8850347349268836352,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49: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-06-18 07:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781749146000,"timestamp_ms":1781749146000,"timestamp_seconds":1781749146,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8866190"} 
[2026-06-18 07:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:49: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-06-18 07: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158264909222,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3632608456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2239692801,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 07:49:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":262487,"corrected_to":0} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137392038,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812362240,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399444,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:29] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,97,85,24,241,157,16,39,158,35,45,192,218,8,32,10,66,252,64,182,7,33,38,201,1,240,29,227,216,4,113,205,27,80,6,200,23,239,51,2,77,5,20,96],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":200,"original":262487,"validated":0}]} 
[2026-06-18 07:49:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360672936700739584,"timestamp_seconds":360672936700739.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107254,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:49: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-06-18 07:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127779840001,"66":13319,"97":206,"85":15104,"24":27,"16":93775001680871424,"45":8850347349268836352},"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-06-18 07:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127779840001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:49:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93775001680871424,"km_value":93775001680871.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8850347349268836352,"description":"Unknown IO ID 45"} 
[2026-06-18 07:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127779840001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8850347349268836352}} 
[2026-06-18 07:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":107254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:49:29] local.INFO: GPS data processed {"connection_id":107254,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:49:29] local.INFO: Acknowledgment sent {"connection_id":107254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:49:31] local.INFO: TCP Data received {"connection_id":106271,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:49:31] local.INFO: Processing buffer {"connection_id":106271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:49:31] local.INFO: IMEI packet received {"connection_id":106271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":106271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:49:32] local.INFO: TCP Data received {"connection_id":106271,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:49:33] local.INFO: Processing buffer {"connection_id":106271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:49:33] local.INFO: Packet analysis {"connection_id":106271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:49:33] local.INFO: Extracted packet for processing {"connection_id":106271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 07:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:49:33] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":106271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:49:33] local.INFO: GPS data processed {"connection_id":106271,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:49:33] local.INFO: Acknowledgment sent {"connection_id":106271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:49:59] local.INFO: TCP Data received {"connection_id":105724,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:49:59] local.INFO: Processing buffer {"connection_id":105724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:49:59] local.INFO: IMEI packet received {"connection_id":105724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":105724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:50:05] local.INFO: TCP Data received {"connection_id":106271,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:50:05] local.INFO: Processing buffer {"connection_id":106271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:50:05] local.INFO: Packet analysis {"connection_id":106271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:50:05] local.INFO: Extracted packet for processing {"connection_id":106271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:50:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 07:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:50:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:50:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":106271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:50:05] local.INFO: GPS data processed {"connection_id":106271,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:50:05] local.INFO: Acknowledgment sent {"connection_id":106271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:50:06] local.INFO: TCP Data received {"connection_id":105725,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:50:06] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:50:06] local.INFO: IMEI packet received {"connection_id":105725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":105725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:50:09] local.INFO: TCP Data received {"connection_id":105725,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:50:09] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:50:09] local.INFO: IMEI packet received {"connection_id":105725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":105725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:50:26] local.INFO: TCP Data received {"connection_id":105725,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:50:26] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:50:26] local.INFO: IMEI packet received {"connection_id":105725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":105725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:50:27] local.INFO: TCP Data received {"connection_id":105725,"ip":"42.106.6.25","data_length":1340,"data_hex":"000000000000030f8e0a0000019ed8866d48012d7ac84005e415d00005014022..."} 
[2026-06-18 07:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019ed8866d48012d7ac84005e415d00005014022..."} 
[2026-06-18 07:50:27] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":1357,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ed8..."} 
[2026-06-18 07:50:27] local.INFO: IMEI packet received {"connection_id":105725,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":105725,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:50:28] local.INFO: TCP Data received {"connection_id":105725,"ip":"42.106.6.25","data_length":1045,"data_hex":"e30010014d266b000000000000019ed8857f00012d7afb0005e372000003015a..."} 
[2026-06-18 07:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":1045,"packet_hex":"e30010014d266b000000000000019ed8857f00012d7afb0005e372000003015a..."} 
[2026-06-18 07:50:28] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019ed8866d48012d7ac84005e415d00005014022..."} 
[2026-06-18 07:50:28] local.INFO: Packet analysis {"connection_id":105725,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:50:28] local.INFO: Extracted packet for processing {"connection_id":105725,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763021376,"raw_latitude":98833872,"longitude_deg":76.3021376,"latitude_deg":9.8833872,"altitude":5,"angle":320,"satellites":34,"speed":30,"hex_longitude":"2d7ac840","hex_latitude":"05e415d0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127781376001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93775109055053824,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848869605642258432,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50: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-06-18 07:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781749149000,"timestamp_ms":1781749149000,"timestamp_seconds":1781749149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8866d48"} 
[2026-06-18 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-06-18 07:50: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-06-18 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3632615456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3813591040,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4325707459292566016,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":38,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2244556801,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3803291180163563525,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,39,158,74,45,192,253,5,32,10,66,35,218,8,252,64,1,240,227,38,216,4,113,205,19,127,251,33,239,51,2,77,28,187,133],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 07:50:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360655353103974400,"timestamp_seconds":360655353103974.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 07:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:50:28] 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-06-18 07:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127781376001,"66":13178,"97":206,"85":15104,"24":30,"16":93775109055053824,"45":8848869605642258432},"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-06-18 07:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127781376001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93775109055053824,"km_value":93775109055053.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848869605642258432,"description":"Unknown IO ID 45"} 
[2026-06-18 07:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127781376001,"power":13178,"unknown_97":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8848869605642258432}} 
[2026-06-18 07:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":105725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343142,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:50:28] local.INFO: GPS data processed {"connection_id":105725,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:50:28] local.INFO: Acknowledgment sent {"connection_id":105725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:50:28] local.INFO: Packet analysis {"connection_id":105725,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:50:28] local.INFO: Extracted packet for processing {"connection_id":105725,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763014784,"raw_latitude":98840352,"longitude_deg":76.3014784,"latitude_deg":9.8840352,"altitude":2,"angle":311,"satellites":32,"speed":35,"hex_longitude":"2d7aae80","hex_latitude":"05e42f20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127782144001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93775555731652608,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847391862014988288,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50: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-06-18 07:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781749160000,"timestamp_ms":1781749160000,"timestamp_seconds":1781749160,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8869840"} 
[2026-06-18 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-06-18 07:50: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-06-18 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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-18 07:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1551,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 07:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:50:28] 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-06-18 07:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127782144001,"66":13243,"97":206,"85":15104,"24":35,"16":93775555731652608,"45":8847391862014988288},"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-06-18 07:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127782144001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93775555731652608,"km_value":93775555731652.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847391862014988288,"description":"Unknown IO ID 45"} 
[2026-06-18 07:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127782144001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8847391862014988288}} 
[2026-06-18 07:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":105725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:50:28] local.INFO: GPS data processed {"connection_id":105725,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:50:28] local.INFO: Acknowledgment sent {"connection_id":105725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:50:28] local.INFO: Packet analysis {"connection_id":105725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:50:28] local.INFO: Extracted packet for processing {"connection_id":105725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763007552,"raw_latitude":98846232,"longitude_deg":76.3007552,"latitude_deg":9.8846232,"altitude":2,"angle":308,"satellites":32,"speed":35,"hex_longitude":"2d7a9240","hex_latitude":"05e44618","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127784960001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93775998113284096,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8840143881366347776,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50: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-06-18 07:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781749170000,"timestamp_ms":1781749170000,"timestamp_seconds":1781749170,"priority":1,"record_length":96,"hex_timestamp":"0000019ed886bf50"} 
[2026-06-18 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-06-18 07:50: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-06-18 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 07:50:28] 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-06-18 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-06-18 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-06-18 07:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:50:28] 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-06-18 07:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127784960001,"66":13243,"97":206,"85":15104,"24":35,"16":93775998113284096,"45":8840143881366347776},"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-06-18 07:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127784960001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93775998113284096,"km_value":93775998113284.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8840143881366347776,"description":"Unknown IO ID 45"} 
[2026-06-18 07:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127784960001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8840143881366347776}} 
[2026-06-18 07:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":105725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343144,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:50:28] local.INFO: GPS data processed {"connection_id":105725,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:50:28] local.INFO: Acknowledgment sent {"connection_id":105725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:50:29] local.INFO: TCP Data received {"connection_id":105725,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed886e660012d7a75c005e45c90000101331e..."} 
[2026-06-18 07:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed886e660012d7a75c005e45c90000101331e..."} 
[2026-06-18 07:50:29] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed886e660012d7a75c005e45c90000101331e..."} 
[2026-06-18 07:50:29] local.INFO: Packet analysis {"connection_id":105725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:50:29] local.INFO: Extracted packet for processing {"connection_id":105725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed886"} 
[2026-06-18 07:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763000256,"raw_latitude":98851984,"longitude_deg":76.3000256,"latitude_deg":9.8851984,"altitude":1,"angle":307,"satellites":30,"speed":37,"hex_longitude":"2d7a75c0","hex_latitude":"05e45c90","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127787520001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93776449084850176,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8832192213275777024,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50: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-06-18 07:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781749180000,"timestamp_ms":1781749180000,"timestamp_seconds":1781749180,"priority":1,"record_length":96,"hex_timestamp":"0000019ed886e660"} 
[2026-06-18 07:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:50: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-06-18 07: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 07:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105725,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:50: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-06-18 07:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127787520001,"66":12624,"97":206,"85":15104,"24":37,"16":93776449084850176,"45":8832192213275777024},"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-06-18 07:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127787520001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:50:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93776449084850176,"km_value":93776449084850.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8832192213275777024,"description":"Unknown IO ID 45"} 
[2026-06-18 07:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127787520001,"power":12624,"unknown_97":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":8832192213275777024}} 
[2026-06-18 07:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":105725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343145,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:50:29] local.INFO: GPS data processed {"connection_id":105725,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:50:29] local.INFO: Acknowledgment sent {"connection_id":105725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:50:30] local.INFO: TCP Data received {"connection_id":105726,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:50:30] local.INFO: Processing buffer {"connection_id":105726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:50:30] local.INFO: IMEI packet received {"connection_id":105726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":105726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:50:34] local.INFO: TCP Data received {"connection_id":105727,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:50:34] local.INFO: Processing buffer {"connection_id":105727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:50:34] local.INFO: IMEI packet received {"connection_id":105727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":105727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:50:35] local.INFO: TCP Data received {"connection_id":105726,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:50:35] local.INFO: Processing buffer {"connection_id":105726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:50:35] local.INFO: IMEI packet received {"connection_id":105726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":105726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:50:38] local.INFO: TCP Data received {"connection_id":105726,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:50:38] local.INFO: Processing buffer {"connection_id":105726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:50:38] local.INFO: Packet analysis {"connection_id":105726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:50:38] local.INFO: Extracted packet for processing {"connection_id":105726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:50:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:50:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:50:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 07:50:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:50:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:50:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:50:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:50:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:50:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:50:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:50:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:50:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:50:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:50:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:50:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:50:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:50:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:50:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:50:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:50:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:50:38] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:50:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:50:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:50:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:50:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:50:38] local.INFO: DEBUG: GPS processor result {"connection_id":105726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:50:38] local.INFO: GPS data processed {"connection_id":105726,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:50:38] local.INFO: Acknowledgment sent {"connection_id":105726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:50:52] local.INFO: TCP Data received {"connection_id":105524,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:50:52] local.INFO: Processing buffer {"connection_id":105524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:50:52] local.INFO: IMEI packet received {"connection_id":105524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":105524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:51:00] local.INFO: TCP Data received {"connection_id":105524,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105524,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:00] local.INFO: Processing buffer {"connection_id":105524,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:00] local.INFO: IMEI packet received {"connection_id":105524,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":105524,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:51:01] local.INFO: TCP Data received {"connection_id":105524,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88705a0012d7a640005e46a080000012420..."} 
[2026-06-18 07:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88705a0012d7a640005e46a080000012420..."} 
[2026-06-18 07:51:01] local.INFO: Processing buffer {"connection_id":105524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88705a0012d7a640005e46a080000012420..."} 
[2026-06-18 07:51:01] local.INFO: Packet analysis {"connection_id":105524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed887"} 
[2026-06-18 07:51:01] local.INFO: Extracted packet for processing {"connection_id":105524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed887"} 
[2026-06-18 07:51:01] local.INFO: GPS Element Parsed {"raw_longitude":762995712,"raw_latitude":98855432,"longitude_deg":76.2995712,"latitude_deg":9.8855432,"altitude":0,"angle":292,"satellites":32,"speed":15,"hex_longitude":"2d7a6400","hex_latitude":"05e46a08","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127790080001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93776723962757120,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824170176440995840,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51: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-06-18 07:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781749188000,"timestamp_ms":1781749188000,"timestamp_seconds":1781749188,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88705a0"} 
[2026-06-18 07:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:51: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-06-18 07:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-18 07:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1163,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:51:01] 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-06-18 07:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127790080001,"66":13037,"97":206,"85":15104,"24":15,"16":93776723962757120,"45":8824170176440995840},"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-06-18 07:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127790080001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:51:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93776723962757120,"km_value":93776723962757.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824170176440995840,"description":"Unknown IO ID 45"} 
[2026-06-18 07:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127790080001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8824170176440995840}} 
[2026-06-18 07:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":105524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:51:01] local.INFO: GPS data processed {"connection_id":105524,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:51:01] local.INFO: Acknowledgment sent {"connection_id":105524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:51:10] local.INFO: TCP Data received {"connection_id":105726,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:51:10] local.INFO: Processing buffer {"connection_id":105726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:51:10] local.INFO: Packet analysis {"connection_id":105726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:51:10] local.INFO: Extracted packet for processing {"connection_id":105726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 07:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:51:10] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:51:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":105726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:51:10] local.INFO: GPS data processed {"connection_id":105726,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:51:10] local.INFO: Acknowledgment sent {"connection_id":105726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:51:25] local.INFO: TCP Data received {"connection_id":105728,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:51:25] local.INFO: Processing buffer {"connection_id":105728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:51:25] local.INFO: IMEI packet received {"connection_id":105728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":105728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:51:31] local.INFO: TCP Data received {"connection_id":105728,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:51:31] local.INFO: Processing buffer {"connection_id":105728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:51:31] local.INFO: IMEI packet received {"connection_id":105728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":105728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:51:32] local.INFO: TCP Data received {"connection_id":105728,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:51:32] local.INFO: Processing buffer {"connection_id":105728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:51:32] local.INFO: Packet analysis {"connection_id":105728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:51:32] local.INFO: Extracted packet for processing {"connection_id":105728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 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-06-18 07:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 07:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:51:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":105728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:51:32] local.INFO: GPS data processed {"connection_id":105728,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:51:32] local.INFO: Acknowledgment sent {"connection_id":105728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:51:33] local.INFO: TCP Data received {"connection_id":105524,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8870d70012d7a61c005e46a800000010d20..."} 
[2026-06-18 07:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8870d70012d7a61c005e46a800000010d20..."} 
[2026-06-18 07:51:33] local.INFO: Processing buffer {"connection_id":105524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8870d70012d7a61c005e46a800000010d20..."} 
[2026-06-18 07:51:33] local.INFO: Packet analysis {"connection_id":105524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed887"} 
[2026-06-18 07:51:33] local.INFO: Extracted packet for processing {"connection_id":105524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed887"} 
[2026-06-18 07:51:33] local.INFO: GPS Element Parsed {"raw_longitude":762995136,"raw_latitude":98855552,"longitude_deg":76.2995136,"latitude_deg":9.8855552,"altitude":0,"angle":269,"satellites":32,"speed":8,"hex_longitude":"2d7a61c0","hex_latitude":"05e46a80","is_valid_coordinates":true} 
[2026-06-18 07:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127792128001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93776749732560896,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819173995605264384,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:33] 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-06-18 07:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781749190000,"timestamp_ms":1781749190000,"timestamp_seconds":1781749190,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8870d70"} 
[2026-06-18 07:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:51:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 07:51: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-06-18 07:51:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105524,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:51:33] 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-06-18 07:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127792128001,"66":13091,"97":206,"85":15104,"24":8,"16":93776749732560896,"45":8819173995605264384},"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-06-18 07:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127792128001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:51:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:51:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93776749732560896,"km_value":93776749732560.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819173995605264384,"description":"Unknown IO ID 45"} 
[2026-06-18 07:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127792128001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8819173995605264384}} 
[2026-06-18 07:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":105524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:51:33] local.INFO: GPS data processed {"connection_id":105524,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:51:33] local.INFO: Acknowledgment sent {"connection_id":105524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:51:52] local.INFO: TCP Data received {"connection_id":105525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:52] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:52] local.INFO: IMEI packet received {"connection_id":105525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":105525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:51:54] local.INFO: TCP Data received {"connection_id":105525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:54] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:54] local.INFO: IMEI packet received {"connection_id":105525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":105525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:51:57] local.INFO: TCP Data received {"connection_id":105525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:57] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:51:57] local.INFO: IMEI packet received {"connection_id":105525,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":105525,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:51:58] local.INFO: TCP Data received {"connection_id":105525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8885590012d7a288005e463500007014d21..."} 
[2026-06-18 07:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8885590012d7a288005e463500007014d21..."} 
[2026-06-18 07:51:58] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8885590012d7a288005e463500007014d21..."} 
[2026-06-18 07:51:58] local.INFO: Packet analysis {"connection_id":105525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:51:58] local.INFO: Extracted packet for processing {"connection_id":105525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:51:58] local.INFO: GPS Element Parsed {"raw_longitude":762980480,"raw_latitude":98853712,"longitude_deg":76.298048,"latitude_deg":9.8853712,"altitude":7,"angle":333,"satellites":33,"speed":26,"hex_longitude":"2d7a2880","hex_latitude":"05e46350","is_valid_coordinates":true} 
[2026-06-18 07:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127813376001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93777540006543360,"note":"Value kept but may cause issues"} 
[2026-06-18 07:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8803552134396987392,"note":"Value kept but may cause issues"} 
[2026-06-18 07: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-06-18 07:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749274000,"timestamp_ms":1781749274000,"timestamp_seconds":1781749274,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8885590"} 
[2026-06-18 07:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:51: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-06-18 07:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 07:51: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-06-18 07:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:51: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-06-18 07:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127813376001,"66":12798,"157":206,"87":12288,"24":26,"16":93777540006543360,"45":8803552134396987392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127813376001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:51:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:51:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93777540006543360,"km_value":93777540006543.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8803552134396987392,"description":"Unknown IO ID 45"} 
[2026-06-18 07:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127813376001,"power":12798,"unknown_157":206,"unknown_87":12288,"ignition":26,"odometer":null,"unknown_45":8803552134396987392}} 
[2026-06-18 07:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":105525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343151,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:51:58] local.INFO: GPS data processed {"connection_id":105525,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:51:58] local.INFO: Acknowledgment sent {"connection_id":105525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:52:04] local.INFO: TCP Data received {"connection_id":105728,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:52:04] local.INFO: Processing buffer {"connection_id":105728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:52:04] local.INFO: Packet analysis {"connection_id":105728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:52:04] local.INFO: Extracted packet for processing {"connection_id":105728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:52:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 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-06-18 07:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 07:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:52:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:52:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":105728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:52:04] local.INFO: GPS data processed {"connection_id":105728,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:52:04] local.INFO: Acknowledgment sent {"connection_id":105728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:52:25] local.INFO: TCP Data received {"connection_id":105526,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:52:25] local.INFO: Processing buffer {"connection_id":105526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:52:25] local.INFO: IMEI packet received {"connection_id":105526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":105526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:52:29] local.INFO: TCP Data received {"connection_id":105525,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88897f8012d7a170005e481680005014c21..."} 
[2026-06-18 07:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88897f8012d7a170005e481680005014c21..."} 
[2026-06-18 07:52:29] local.INFO: Processing buffer {"connection_id":105525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88897f8012d7a170005e481680005014c21..."} 
[2026-06-18 07:52:29] local.INFO: Packet analysis {"connection_id":105525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:52:29] local.INFO: Extracted packet for processing {"connection_id":105525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:52:29] local.INFO: GPS Element Parsed {"raw_longitude":762976000,"raw_latitude":98861416,"longitude_deg":76.2976,"latitude_deg":9.8861416,"altitude":5,"angle":332,"satellites":33,"speed":24,"hex_longitude":"2d7a1700","hex_latitude":"05e48168","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127814144001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93777969503272960,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8802426234490540032,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52: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-06-18 07:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781749291000,"timestamp_ms":1781749291000,"timestamp_seconds":1781749291,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88897f8"} 
[2026-06-18 07:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:52: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-06-18 07: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-18 07:52: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-06-18 07: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-06-18 07:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105525,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:52: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-06-18 07:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127814144001,"66":13189,"157":206,"87":12288,"24":24,"16":93777969503272960,"45":8802426234490540032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127814144001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:52:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:52:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93777969503272960,"km_value":93777969503272.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8802426234490540032,"description":"Unknown IO ID 45"} 
[2026-06-18 07:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127814144001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":24,"odometer":null,"unknown_45":8802426234490540032}} 
[2026-06-18 07:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":105525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:52:29] local.INFO: GPS data processed {"connection_id":105525,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:52:29] local.INFO: Acknowledgment sent {"connection_id":105525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:52:30] local.INFO: TCP Data received {"connection_id":105526,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:52:30] local.INFO: Processing buffer {"connection_id":105526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:52:30] local.INFO: IMEI packet received {"connection_id":105526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":105526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:52:31] local.INFO: TCP Data received {"connection_id":105526,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:52:31] local.INFO: Processing buffer {"connection_id":105526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8845df0012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:52:31] local.INFO: Packet analysis {"connection_id":105526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:52:31] local.INFO: Extracted packet for processing {"connection_id":105526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed884"} 
[2026-06-18 07:52:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781749014000,"timestamp_ms":1781749014000,"timestamp_seconds":1781749014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8845df0"} 
[2026-06-18 07:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 07:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127670784001,"66":24995,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:52:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:52:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127670784001,"power":24995,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":105526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:52:31] local.INFO: GPS data processed {"connection_id":105526,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:52:31] local.INFO: Acknowledgment sent {"connection_id":105526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:52:58] local.INFO: TCP Data received {"connection_id":107257,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:52:58] local.INFO: Processing buffer {"connection_id":107257,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:52:58] local.INFO: IMEI packet received {"connection_id":107257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":107257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:52:58] local.INFO: TCP Data received {"connection_id":107257,"ip":"42.106.6.25","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107257,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:52:58] local.INFO: Processing buffer {"connection_id":107257,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:52:58] local.INFO: IMEI packet received {"connection_id":107257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":107257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:53:02] local.INFO: TCP Data received {"connection_id":107257,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107257,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:02] local.INFO: Processing buffer {"connection_id":107257,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 07:53:02] local.INFO: IMEI packet received {"connection_id":107257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":107257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:53:02] local.INFO: TCP Data received {"connection_id":105526,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:53:02] local.INFO: Processing buffer {"connection_id":105526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:53:02] local.INFO: Packet analysis {"connection_id":105526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:53:02] local.INFO: Extracted packet for processing {"connection_id":105526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:53:02] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127747584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781749315000,"timestamp_ms":1781749315000,"timestamp_seconds":1781749315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed888f5b8"} 
[2026-06-18 07:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127747584001,"66":24234,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127747584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:53:02] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:53:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127747584001,"power":24234,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":105526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:53:02] local.INFO: GPS data processed {"connection_id":105526,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:53:02] local.INFO: Acknowledgment sent {"connection_id":105526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:53:03] local.INFO: TCP Data received {"connection_id":107257,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed889bcf0012d7a1bc005e47a300005009c20..."} 
[2026-06-18 07:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed889bcf0012d7a1bc005e47a300005009c20..."} 
[2026-06-18 07:53:03] local.INFO: Processing buffer {"connection_id":107257,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ed8..."} 
[2026-06-18 07:53:03] local.INFO: IMEI packet received {"connection_id":107257,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":107257,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:53:07] local.INFO: TCP Data received {"connection_id":107257,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed889d460012d7a21c005e46e88000500911f..."} 
[2026-06-18 07:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed889d460012d7a21c005e46e88000500911f..."} 
[2026-06-18 07:53:07] local.INFO: Processing buffer {"connection_id":107257,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed889bcf0012d7a1bc005e47a300005009c20..."} 
[2026-06-18 07:53:07] local.INFO: Packet analysis {"connection_id":107257,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed889"} 
[2026-06-18 07:53:07] local.INFO: Extracted packet for processing {"connection_id":107257,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed889"} 
[2026-06-18 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":98859568,"longitude_deg":76.2977216,"latitude_deg":9.8859568,"altitude":5,"angle":156,"satellites":32,"speed":23,"hex_longitude":"2d7a1bc0","hex_latitude":"05e47a30","is_valid_coordinates":true} 
[2026-06-18 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127835904001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93778695352745984,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8797500422400137216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53: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-06-18 07:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781749366000,"timestamp_ms":1781749366000,"timestamp_seconds":1781749366,"priority":1,"record_length":96,"hex_timestamp":"0000019ed889bcf0"} 
[2026-06-18 07:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3632865456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2302156801,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-7768709348623244800,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":916259022,"corrected_to":0} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2550214010,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3834963968,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":106,"raw_value":57762418176972592,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":137,"raw_value":2073908923237007365,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,157,87,24,241,16,43,158,114,45,64,148,4,35,10,66,42,91,192,149,3,60,128,1,240,182,227,216,228,113,205,36,15,88,34,239,50,2,77,5,7,106,137],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":916259022,"validated":0}]} 
[2026-06-18 07:53:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288389942777151488,"timestamp_seconds":288389942777151.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:53: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-06-18 07:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127835904001,"66":12939,"157":206,"87":12288,"24":23,"16":93778695352745984,"45":8797500422400137216},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127835904001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:53:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:53:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93778695352745984,"km_value":93778695352745.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8797500422400137216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127835904001,"power":12939,"unknown_157":206,"unknown_87":12288,"ignition":23,"odometer":null,"unknown_45":8797500422400137216}} 
[2026-06-18 07:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":107257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:53:07] local.INFO: GPS data processed {"connection_id":107257,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:53:07] local.INFO: Acknowledgment sent {"connection_id":107257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:53:07] local.INFO: Packet analysis {"connection_id":107257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed889"} 
[2026-06-18 07:53:07] local.INFO: Extracted packet for processing {"connection_id":107257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed889"} 
[2026-06-18 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":762978752,"raw_latitude":98856584,"longitude_deg":76.2978752,"latitude_deg":9.8856584,"altitude":5,"angle":145,"satellites":31,"speed":18,"hex_longitude":"2d7a21c0","hex_latitude":"05e46e88","is_valid_coordinates":true} 
[2026-06-18 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127837696001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93778854266535936,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428538978304,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53: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-06-18 07:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781749372000,"timestamp_ms":1781749372000,"timestamp_seconds":1781749372,"priority":1,"record_length":96,"hex_timestamp":"0000019ed889d460"} 
[2026-06-18 07:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 07:53:07] 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-06-18 07:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:53: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-06-18 07:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127837696001,"66":13091,"157":206,"87":12288,"24":18,"16":93778854266535936,"45":8798837428538978304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127837696001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:53:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:53:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93778854266535936,"km_value":93778854266535.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428538978304,"description":"Unknown IO ID 45"} 
[2026-06-18 07:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127837696001,"power":13091,"unknown_157":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8798837428538978304}} 
[2026-06-18 07:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":107257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343157,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:53:07] local.INFO: GPS data processed {"connection_id":107257,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:53:07] local.INFO: Acknowledgment sent {"connection_id":107257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:53:12] local.INFO: TCP Data received {"connection_id":107257,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed889dc30012d7a228005e46bc8000600a61e..."} 
[2026-06-18 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed889dc30012d7a228005e46bc8000600a61e..."} 
[2026-06-18 07:53:12] local.INFO: Processing buffer {"connection_id":107257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed889dc30012d7a228005e46bc8000600a61e..."} 
[2026-06-18 07:53:12] local.INFO: Packet analysis {"connection_id":107257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed889"} 
[2026-06-18 07:53:12] local.INFO: Extracted packet for processing {"connection_id":107257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed889"} 
[2026-06-18 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":98855880,"longitude_deg":76.2978944,"latitude_deg":9.885588,"altitude":6,"angle":166,"satellites":30,"speed":10,"hex_longitude":"2d7a2280","hex_latitude":"05e46bc8","is_valid_coordinates":true} 
[2026-06-18 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127839232001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93778892921241600,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800526278398478336,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781749374000,"timestamp_ms":1781749374000,"timestamp_seconds":1781749374,"priority":1,"record_length":96,"hex_timestamp":"0000019ed889dc30"} 
[2026-06-18 07:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 07:53:12] 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-06-18 07:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107257,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127839232001,"66":13135,"157":206,"87":12288,"24":10,"16":93778892921241600,"45":8800526278398478336},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127839232001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:53:12] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:53:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93778892921241600,"km_value":93778892921241.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800526278398478336,"description":"Unknown IO ID 45"} 
[2026-06-18 07:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127839232001,"power":13135,"unknown_157":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8800526278398478336}} 
[2026-06-18 07:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":107257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343158,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:53:12] local.INFO: GPS data processed {"connection_id":107257,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:53:12] local.INFO: Acknowledgment sent {"connection_id":107257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:53:25] local.INFO: TCP Data received {"connection_id":105527,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:53:25] local.INFO: Processing buffer {"connection_id":105527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:53:25] local.INFO: IMEI packet received {"connection_id":105527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":105527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:53:31] local.INFO: TCP Data received {"connection_id":105527,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:53:31] local.INFO: Processing buffer {"connection_id":105527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:53:31] local.INFO: IMEI packet received {"connection_id":105527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":105527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:53:32] local.INFO: TCP Data received {"connection_id":105527,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:53:32] local.INFO: Processing buffer {"connection_id":105527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:53:32] local.INFO: Packet analysis {"connection_id":105527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:53:32] local.INFO: Extracted packet for processing {"connection_id":105527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:53:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127747584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781749315000,"timestamp_ms":1781749315000,"timestamp_seconds":1781749315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed888f5b8"} 
[2026-06-18 07:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127747584001,"66":24234,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127747584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:53:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127747584001,"power":24234,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":105527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:53:32] local.INFO: GPS data processed {"connection_id":105527,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:53:32] local.INFO: Acknowledgment sent {"connection_id":105527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:53:52] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:52] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:52] local.INFO: IMEI packet received {"connection_id":106273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":106273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:53:52] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:52] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:52] local.INFO: IMEI packet received {"connection_id":106273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":106273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:53:57] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:57] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:53:57] local.INFO: IMEI packet received {"connection_id":106273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":106273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:54:02] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88a16c8012d7a228005e46a10000500c820..."} 
[2026-06-18 07:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88a16c8012d7a228005e46a10000500c820..."} 
[2026-06-18 07:54:02] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88a16c8012d7a228005e46a10000500c820..."} 
[2026-06-18 07:54:02] local.INFO: Packet analysis {"connection_id":106273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88a"} 
[2026-06-18 07:54:02] local.INFO: Extracted packet for processing {"connection_id":106273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88a"} 
[2026-06-18 07:54:02] local.INFO: GPS Element Parsed {"raw_longitude":762978944,"raw_latitude":98855440,"longitude_deg":76.2978944,"latitude_deg":9.885544,"altitude":5,"angle":200,"satellites":32,"speed":1,"hex_longitude":"2d7a2280","hex_latitude":"05e46a10","is_valid_coordinates":true} 
[2026-06-18 07:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127839744001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93778918691045376,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800737384630831104,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54: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-06-18 07:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781749389000,"timestamp_ms":1781749389000,"timestamp_seconds":1781749389,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88a16c8"} 
[2026-06-18 07:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:54: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-06-18 07:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 07:54: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-06-18 07:54:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:54:02] 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-06-18 07:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127839744001,"66":12917,"157":206,"87":12288,"24":1,"16":93778918691045376,"45":8800737384630831104},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127839744001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:54:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:54:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93778918691045376,"km_value":93778918691045.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800737384630831104,"description":"Unknown IO ID 45"} 
[2026-06-18 07:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127839744001,"power":12917,"unknown_157":206,"unknown_87":12288,"ignition":1,"odometer":null,"unknown_45":8800737384630831104}} 
[2026-06-18 07:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":106273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:54:02] local.INFO: GPS data processed {"connection_id":106273,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:54:02] local.INFO: Acknowledgment sent {"connection_id":106273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:54:05] local.INFO: TCP Data received {"connection_id":105527,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:54:05] local.INFO: Processing buffer {"connection_id":105527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:54:05] local.INFO: Packet analysis {"connection_id":105527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:54:05] local.INFO: Extracted packet for processing {"connection_id":105527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:54:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127747584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781749315000,"timestamp_ms":1781749315000,"timestamp_seconds":1781749315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed888f5b8"} 
[2026-06-18 07:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:54:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127747584001,"66":24234,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127747584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:54:05] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:54:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127747584001,"power":24234,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":105527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:54:05] local.INFO: GPS data processed {"connection_id":105527,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:54:05] local.INFO: Acknowledgment sent {"connection_id":105527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:54:25] local.INFO: TCP Data received {"connection_id":106274,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:54:25] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:54:25] local.INFO: IMEI packet received {"connection_id":106274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":106274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:54:30] local.INFO: TCP Data received {"connection_id":106274,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:54:30] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:54:30] local.INFO: IMEI packet received {"connection_id":106274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":106274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:54:31] local.INFO: TCP Data received {"connection_id":106274,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:54:31] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:54:31] local.INFO: Packet analysis {"connection_id":106274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:54:31] local.INFO: Extracted packet for processing {"connection_id":106274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:54:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127747584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781749315000,"timestamp_ms":1781749315000,"timestamp_seconds":1781749315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed888f5b8"} 
[2026-06-18 07:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127747584001,"66":24234,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127747584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:54:31] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:54:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127747584001,"power":24234,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":106274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:54:31] local.INFO: GPS data processed {"connection_id":106274,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:54:31] local.INFO: Acknowledgment sent {"connection_id":106274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:54:52] local.INFO: TCP Data received {"connection_id":107259,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:54:52] local.INFO: Processing buffer {"connection_id":107259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:54:52] local.INFO: IMEI packet received {"connection_id":107259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":107259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:54:57] local.INFO: TCP Data received {"connection_id":107259,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107259,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:54:57] local.INFO: Processing buffer {"connection_id":107259,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:54:57] local.INFO: IMEI packet received {"connection_id":107259,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":107259,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:54:58] local.INFO: TCP Data received {"connection_id":107259,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88b4390012d7a224005e46be80005015725..."} 
[2026-06-18 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88b4390012d7a224005e46be80005015725..."} 
[2026-06-18 07:54:58] local.INFO: Processing buffer {"connection_id":107259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88b4390012d7a224005e46be80005015725..."} 
[2026-06-18 07:54:58] local.INFO: Packet analysis {"connection_id":107259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88b"} 
[2026-06-18 07:54:58] local.INFO: Extracted packet for processing {"connection_id":107259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88b"} 
[2026-06-18 07:54:58] local.INFO: GPS Element Parsed {"raw_longitude":762978880,"raw_latitude":98855912,"longitude_deg":76.297888,"latitude_deg":9.8855912,"altitude":5,"angle":343,"satellites":37,"speed":9,"hex_longitude":"2d7a2240","hex_latitude":"05e46be8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 07:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127862784001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93779026065227776,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800948490863273984,"note":"Value kept but may cause issues"} 
[2026-06-18 07:54: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-06-18 07:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749466000,"timestamp_ms":1781749466000,"timestamp_seconds":1781749466,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88b4390"} 
[2026-06-18 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-06-18 07:54: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-06-18 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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 07:54: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-06-18 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-06-18 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-06-18 07:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:54: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-06-18 07:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127862784001,"66":12885,"157":206,"87":12288,"24":9,"16":93779026065227776,"45":8800948490863273984},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127862784001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:54:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93779026065227776,"km_value":93779026065227.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800948490863273984,"description":"Unknown IO ID 45"} 
[2026-06-18 07:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127862784001,"power":12885,"unknown_157":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8800948490863273984}} 
[2026-06-18 07:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":107259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:54:58] local.INFO: GPS data processed {"connection_id":107259,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:54:58] local.INFO: Acknowledgment sent {"connection_id":107259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:55:04] local.INFO: TCP Data received {"connection_id":106274,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:55:04] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:55:04] local.INFO: Packet analysis {"connection_id":106274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:55:04] local.INFO: Extracted packet for processing {"connection_id":106274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127747584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781749315000,"timestamp_ms":1781749315000,"timestamp_seconds":1781749315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed888f5b8"} 
[2026-06-18 07:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127747584001,"66":24234,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127747584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:55:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:55:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127747584001,"power":24234,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":106274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:55:04] local.INFO: GPS data processed {"connection_id":106274,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:55:04] local.INFO: Acknowledgment sent {"connection_id":106274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:55:30] local.INFO: TCP Data received {"connection_id":107259,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88b5718012d7a1fc005e470f00006014a24..."} 
[2026-06-18 07:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88b5718012d7a1fc005e470f00006014a24..."} 
[2026-06-18 07:55:30] local.INFO: Processing buffer {"connection_id":107259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88b5718012d7a1fc005e470f00006014a24..."} 
[2026-06-18 07:55:30] local.INFO: Packet analysis {"connection_id":107259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88b"} 
[2026-06-18 07:55:30] local.INFO: Extracted packet for processing {"connection_id":107259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88b"} 
[2026-06-18 07:55:30] local.INFO: GPS Element Parsed {"raw_longitude":762978240,"raw_latitude":98857200,"longitude_deg":76.297824,"latitude_deg":9.88572,"altitude":6,"angle":330,"satellites":36,"speed":17,"hex_longitude":"2d7a1fc0","hex_latitude":"05e470f0","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127863296001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93779094784704512,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8800667015886661632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55: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-06-18 07:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781749471000,"timestamp_ms":1781749471000,"timestamp_seconds":1781749471,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88b5718"} 
[2026-06-18 07:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:55: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-06-18 07: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 07:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107259,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:55:30] 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-06-18 07:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127863296001,"66":13189,"157":206,"87":12288,"24":17,"16":93779094784704512,"45":8800667015886661632},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127863296001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:55:30] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:55:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93779094784704512,"km_value":93779094784704.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8800667015886661632,"description":"Unknown IO ID 45"} 
[2026-06-18 07:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127863296001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":17,"odometer":null,"unknown_45":8800667015886661632}} 
[2026-06-18 07:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":107259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343165,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:55:30] local.INFO: GPS data processed {"connection_id":107259,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:55:30] local.INFO: Acknowledgment sent {"connection_id":107259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:55:55] local.INFO: TCP Data received {"connection_id":106275,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:55:55] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:55:55] local.INFO: IMEI packet received {"connection_id":106275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":106275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:55:57] local.INFO: TCP Data received {"connection_id":106275,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:55:57] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:55:57] local.INFO: IMEI packet received {"connection_id":106275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":106275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:55:58] local.INFO: TCP Data received {"connection_id":106275,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88b8dc8012d7a0fc005e490800008015324..."} 
[2026-06-18 07:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88b8dc8012d7a0fc005e490800008015324..."} 
[2026-06-18 07:55:58] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88b8dc8012d7a0fc005e490800008015324..."} 
[2026-06-18 07:55:58] local.INFO: Packet analysis {"connection_id":106275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88b"} 
[2026-06-18 07:55:58] local.INFO: Extracted packet for processing {"connection_id":106275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88b"} 
[2026-06-18 07:55:58] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":98865280,"longitude_deg":76.2974144,"latitude_deg":9.886528,"altitude":8,"angle":339,"satellites":36,"speed":28,"hex_longitude":"2d7a0fc0","hex_latitude":"05e49080","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127864576001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93779532871368704,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8799963328445214720,"note":"Value kept but may cause issues"} 
[2026-06-18 07:55: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-06-18 07:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749485000,"timestamp_ms":1781749485000,"timestamp_seconds":1781749485,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88b8dc8"} 
[2026-06-18 07:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:55: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-06-18 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 07:55: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-06-18 07: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-06-18 07:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:55: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-06-18 07:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127864576001,"66":13189,"157":206,"87":12288,"24":28,"16":93779532871368704,"45":8799963328445214720},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127864576001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:55:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93779532871368704,"km_value":93779532871368.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8799963328445214720,"description":"Unknown IO ID 45"} 
[2026-06-18 07:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127864576001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8799963328445214720}} 
[2026-06-18 07:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":106275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:55:58] local.INFO: GPS data processed {"connection_id":106275,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:55:58] local.INFO: Acknowledgment sent {"connection_id":106275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:55:59] local.INFO: TCP Data received {"connection_id":105528,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:55:59] local.INFO: Processing buffer {"connection_id":105528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:55:59] local.INFO: IMEI packet received {"connection_id":105528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":105528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:56:01] local.INFO: TCP Data received {"connection_id":106275,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88bdfd0012d7a0a0005e49ea00006014b22..."} 
[2026-06-18 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88bdfd0012d7a0a0005e49ea00006014b22..."} 
[2026-06-18 07:56:01] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88bdfd0012d7a0a0005e49ea00006014b22..."} 
[2026-06-18 07:56:01] local.INFO: Packet analysis {"connection_id":106275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88b"} 
[2026-06-18 07:56:01] local.INFO: Extracted packet for processing {"connection_id":106275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88b"} 
[2026-06-18 07:56:01] local.INFO: GPS Element Parsed {"raw_longitude":762972672,"raw_latitude":98868896,"longitude_deg":76.2972672,"latitude_deg":9.8868896,"altitude":6,"angle":331,"satellites":34,"speed":6,"hex_longitude":"2d7a0a00","hex_latitude":"05e49ea0","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127868160001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93779730439864320,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728819912704,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781749506000,"timestamp_ms":1781749506000,"timestamp_seconds":1781749506,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88bdfd0"} 
[2026-06-18 07:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 07:56: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-06-18 07: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-06-18 07:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:56:01] 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-06-18 07:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127868160001,"66":12156,"157":206,"87":12288,"24":6,"16":93779730439864320,"45":8795459728819912704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127868160001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:56:01] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:56:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93779730439864320,"km_value":93779730439864.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728819912704,"description":"Unknown IO ID 45"} 
[2026-06-18 07:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127868160001,"power":12156,"unknown_157":206,"unknown_87":12288,"ignition":6,"odometer":null,"unknown_45":8795459728819912704}} 
[2026-06-18 07:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":106275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343167,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:56:01] local.INFO: GPS data processed {"connection_id":106275,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:56:01] local.INFO: Acknowledgment sent {"connection_id":106275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:56:21] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:56:21] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:56:21] local.INFO: IMEI packet received {"connection_id":106276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":106276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:56:26] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:56:26] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:56:26] local.INFO: IMEI packet received {"connection_id":106276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":106276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:56:27] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:56:27] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:56:27] local.INFO: Packet analysis {"connection_id":106276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:56:27] local.INFO: Extracted packet for processing {"connection_id":106276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:56:27] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127747584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781749315000,"timestamp_ms":1781749315000,"timestamp_seconds":1781749315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed888f5b8"} 
[2026-06-18 07:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127747584001,"66":24234,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127747584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:56:27] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:56:27] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127747584001,"power":24234,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":106276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:56:27] local.INFO: GPS data processed {"connection_id":106276,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:56:27] local.INFO: Acknowledgment sent {"connection_id":106276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:56:32] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:56:32] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:56:32] local.INFO: Packet analysis {"connection_id":106276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:56:32] local.INFO: Extracted packet for processing {"connection_id":106276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127747584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781749315000,"timestamp_ms":1781749315000,"timestamp_seconds":1781749315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed888f5b8"} 
[2026-06-18 07:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127747584001,"66":24234,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127747584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:56:32] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:56:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127747584001,"power":24234,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":106276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:56:32] local.INFO: GPS data processed {"connection_id":106276,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:56:32] local.INFO: Acknowledgment sent {"connection_id":106276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:56:32] local.INFO: TCP Data received {"connection_id":106275,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88caed8012d79e14005e48c78000800c022..."} 
[2026-06-18 07:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88caed8012d79e14005e48c78000800c022..."} 
[2026-06-18 07:56:32] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88caed8012d79e14005e48c78000800c022..."} 
[2026-06-18 07:56:32] local.INFO: Packet analysis {"connection_id":106275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88c"} 
[2026-06-18 07:56:32] local.INFO: Extracted packet for processing {"connection_id":106275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88c"} 
[2026-06-18 07:56:32] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":98864248,"longitude_deg":76.296224,"latitude_deg":9.8864248,"altitude":8,"angle":192,"satellites":34,"speed":0,"hex_longitude":"2d79e140","hex_latitude":"05e48c78","is_valid_coordinates":true} 
[2026-06-18 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127881728001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93780336030253056,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142402633728,"note":"Value kept but may cause issues"} 
[2026-06-18 07:56:32] 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-06-18 07:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781749559000,"timestamp_ms":1781749559000,"timestamp_seconds":1781749559,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88caed8"} 
[2026-06-18 07:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:56: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-06-18 07:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-18 07:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:56:32] 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-06-18 07:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127881728001,"66":13037,"157":206,"87":12288,"24":0,"16":93780336030253056,"45":8782371142402633728},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127881728001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:56:32] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:56:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93780336030253056,"km_value":93780336030253.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142402633728,"description":"Unknown IO ID 45"} 
[2026-06-18 07:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127881728001,"power":13037,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8782371142402633728}} 
[2026-06-18 07:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":106275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343170,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:56:32] local.INFO: GPS data processed {"connection_id":106275,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:56:32] local.INFO: Acknowledgment sent {"connection_id":106275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:56:34] local.INFO: TCP Data received {"connection_id":105529,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:56:34] local.INFO: Processing buffer {"connection_id":105529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 07:56:34] local.INFO: IMEI packet received {"connection_id":105529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 07:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":105529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:56:59] local.INFO: TCP Data received {"connection_id":107260,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:56:59] local.INFO: Processing buffer {"connection_id":107260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:56:59] local.INFO: IMEI packet received {"connection_id":107260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":107260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:57:02] local.INFO: TCP Data received {"connection_id":107260,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:57:02] local.INFO: Processing buffer {"connection_id":107260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:57:02] local.INFO: IMEI packet received {"connection_id":107260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":107260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:57:04] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:57:04] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed888f5b8012d59b000063e3ac8000101482c..."} 
[2026-06-18 07:57:04] local.INFO: Packet analysis {"connection_id":106276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:57:04] local.INFO: Extracted packet for processing {"connection_id":106276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed888"} 
[2026-06-18 07:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127747584001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781749315000,"timestamp_ms":1781749315000,"timestamp_seconds":1781749315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed888f5b8"} 
[2026-06-18 07:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 07:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127747584001,"66":24234,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 07:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127747584001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:57:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 07:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127747584001,"power":24234,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":106276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:57:04] local.INFO: GPS data processed {"connection_id":106276,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:57:04] local.INFO: Acknowledgment sent {"connection_id":106276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:57:17] local.INFO: TCP Data received {"connection_id":107260,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107260,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:57:17] local.INFO: Processing buffer {"connection_id":107260,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:57:17] local.INFO: IMEI packet received {"connection_id":107260,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":107260,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:57:18] local.INFO: TCP Data received {"connection_id":107260,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d00e0012d79e14005e48c78000800c027..."} 
[2026-06-18 07:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d00e0012d79e14005e48c78000800c027..."} 
[2026-06-18 07:57:18] local.INFO: Processing buffer {"connection_id":107260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d00e0012d79e14005e48c78000800c027..."} 
[2026-06-18 07:57:18] local.INFO: Packet analysis {"connection_id":107260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 07:57:18] local.INFO: Extracted packet for processing {"connection_id":107260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 07:57:18] local.INFO: GPS Element Parsed {"raw_longitude":762962240,"raw_latitude":98864248,"longitude_deg":76.296224,"latitude_deg":9.8864248,"altitude":8,"angle":192,"satellites":39,"speed":0,"hex_longitude":"2d79e140","hex_latitude":"05e48c78","is_valid_coordinates":true} 
[2026-06-18 07:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127887104001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93780336030253056,"note":"Value kept but may cause issues"} 
[2026-06-18 07:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8782371142402603008,"note":"Value kept but may cause issues"} 
[2026-06-18 07:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781749580000,"timestamp_ms":1781749580000,"timestamp_seconds":1781749580,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d00e0"} 
[2026-06-18 07:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:57:18] 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-06-18 07:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 07:57:18] 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-06-18 07:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107260,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127887104001,"66":13189,"157":206,"87":12288,"24":0,"16":93780336030253056,"45":8782371142402603008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127887104001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:57:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:57:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93780336030253056,"km_value":93780336030253.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8782371142402603008,"description":"Unknown IO ID 45"} 
[2026-06-18 07:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127887104001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8782371142402603008}} 
[2026-06-18 07:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":107260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:57:18] local.INFO: GPS data processed {"connection_id":107260,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:57:18] local.INFO: Acknowledgment sent {"connection_id":107260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:58:02] local.INFO: TCP Data received {"connection_id":105729,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:02] local.INFO: Processing buffer {"connection_id":105729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:02] local.INFO: IMEI packet received {"connection_id":105729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":105729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:58:03] local.INFO: TCP Data received {"connection_id":105729,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:03] local.INFO: Processing buffer {"connection_id":105729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:03] local.INFO: IMEI packet received {"connection_id":105729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":105729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:58:07] local.INFO: TCP Data received {"connection_id":105729,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105729,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:07] local.INFO: Processing buffer {"connection_id":105729,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:07] local.INFO: IMEI packet received {"connection_id":105729,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":105729,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:58:08] local.INFO: TCP Data received {"connection_id":105729,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88e2da8012d7a28c005e4b120000d007e27..."} 
[2026-06-18 07:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88e2da8012d7a28c005e4b120000d007e27..."} 
[2026-06-18 07:58:08] local.INFO: Processing buffer {"connection_id":105729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88e2da8012d7a28c005e4b120000d007e27..."} 
[2026-06-18 07:58:08] local.INFO: Packet analysis {"connection_id":105729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88e"} 
[2026-06-18 07:58:08] local.INFO: Extracted packet for processing {"connection_id":105729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88e"} 
[2026-06-18 07:58:08] local.INFO: GPS Element Parsed {"raw_longitude":762980544,"raw_latitude":98873632,"longitude_deg":76.2980544,"latitude_deg":9.8873632,"altitude":13,"angle":126,"satellites":39,"speed":8,"hex_longitude":"2d7a28c0","hex_latitude":"05e4b120","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127909632001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93781366822404096,"note":"Value kept but may cause issues"} 
[2026-06-18 07:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8801792915798052864,"note":"Value kept but may cause issues"} 
[2026-06-18 07:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781749657000,"timestamp_ms":1781749657000,"timestamp_seconds":1781749657,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88e2da8"} 
[2026-06-18 07:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 07:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105729,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:58:08] 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-06-18 07:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127909632001,"66":12939,"157":206,"87":12288,"24":8,"16":93781366822404096,"45":8801792915798052864},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 07:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127909632001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:58:08] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 07:58:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 07:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93781366822404096,"km_value":93781366822404.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8801792915798052864,"description":"Unknown IO ID 45"} 
[2026-06-18 07:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127909632001,"power":12939,"unknown_157":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8801792915798052864}} 
[2026-06-18 07:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":105729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343173,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:58:08] local.INFO: GPS data processed {"connection_id":105729,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:58:08] local.INFO: Acknowledgment sent {"connection_id":105729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:58:09] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:09] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:09] local.INFO: IMEI packet received {"connection_id":106277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":106277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:58:11] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:58:11] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 07:58:11] local.INFO: IMEI packet received {"connection_id":106277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":106277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:58:11] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:58:11] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed8..."} 
[2026-06-18 07:58:11] local.INFO: IMEI packet received {"connection_id":106277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":106277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:58:25] local.INFO: TCP Data received {"connection_id":107261,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:25] local.INFO: Processing buffer {"connection_id":107261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:25] local.INFO: IMEI packet received {"connection_id":107261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":107261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:58:30] local.INFO: TCP Data received {"connection_id":107261,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:30] local.INFO: Processing buffer {"connection_id":107261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:58:30] local.INFO: IMEI packet received {"connection_id":107261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":107261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:58:31] local.INFO: TCP Data received {"connection_id":107261,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:58:31] local.INFO: Processing buffer {"connection_id":107261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:58:31] local.INFO: Packet analysis {"connection_id":107261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 07:58:31] local.INFO: Extracted packet for processing {"connection_id":107261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 07:58:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 07:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07: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":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 07:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:58:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:58:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":107261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:58:31] local.INFO: GPS data processed {"connection_id":107261,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:58:31] local.INFO: Acknowledgment sent {"connection_id":107261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:58:56] local.INFO: TCP Data received {"connection_id":105531,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:56] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:56] local.INFO: IMEI packet received {"connection_id":105531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":105531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:58:57] local.INFO: TCP Data received {"connection_id":105531,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:57] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:58:57] local.INFO: IMEI packet received {"connection_id":105531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":105531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:59:02] local.INFO: TCP Data received {"connection_id":105531,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:02] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:02] local.INFO: IMEI packet received {"connection_id":105531,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":105531,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:59:03] local.INFO: TCP Data received {"connection_id":105531,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88f1808012d7acfc005e40a28000600a228..."} 
[2026-06-18 07:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88f1808012d7acfc005e40a28000600a228..."} 
[2026-06-18 07:59:03] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88f1808012d7acfc005e40a28000600a228..."} 
[2026-06-18 07:59:03] local.INFO: Packet analysis {"connection_id":105531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 07:59:03] local.INFO: Extracted packet for processing {"connection_id":105531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 07:59:03] local.INFO: GPS Element Parsed {"raw_longitude":763023296,"raw_latitude":98830888,"longitude_deg":76.3023296,"latitude_deg":9.8830888,"altitude":6,"angle":162,"satellites":40,"speed":38,"hex_longitude":"2d7acfc0","hex_latitude":"05e40a28","is_valid_coordinates":true} 
[2026-06-18 07:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127927040001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93784304580034560,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848728868154040320,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] 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-06-18 07:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781749717000,"timestamp_ms":1781749717000,"timestamp_seconds":1781749717,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88f1808"} 
[2026-06-18 07:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 07:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3633213456,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2393548801,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":228,"raw_value":-6442399202519472384,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":135,"raw_value":2147560826,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2147869812,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070413,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3834169344,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":181,"raw_value":57762418176972592,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":142,"raw_value":5260205659603845125,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,97,85,24,241,157,16,48,158,4,45,192,7,39,10,66,225,64,49,38,95,87,47,198,1,240,166,227,216,228,113,205,44,135,86,37,239,51,2,77,5,40,181,142],"length":527,"final_offset":657,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-06-18 07:59:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432510658477752320,"timestamp_seconds":432510658477752.3,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 07:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:59:03] 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-06-18 07:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127927040001,"66":13352,"97":206,"85":15104,"24":38,"16":93784304580034560,"45":8848728868154040320},"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-06-18 07:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127927040001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:59:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:59:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93784304580034560,"km_value":93784304580034.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848728868154040320,"description":"Unknown IO ID 45"} 
[2026-06-18 07:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127927040001,"power":13352,"unknown_97":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8848728868154040320}} 
[2026-06-18 07:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":105531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343175,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:59:03] local.INFO: GPS data processed {"connection_id":105531,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:59:03] local.INFO: Acknowledgment sent {"connection_id":105531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:59:03] local.INFO: TCP Data received {"connection_id":107261,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:59:03] local.INFO: Processing buffer {"connection_id":107261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:59:03] local.INFO: Packet analysis {"connection_id":107261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 07:59:03] local.INFO: Extracted packet for processing {"connection_id":107261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 07:59:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 07:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 07:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 07:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 07:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:59:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:59:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":107261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:59:03] local.INFO: GPS data processed {"connection_id":107261,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:59:03] local.INFO: Acknowledgment sent {"connection_id":107261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:59:25] local.INFO: TCP Data received {"connection_id":106278,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:59:25] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:59:25] local.INFO: IMEI packet received {"connection_id":106278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 07:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":106278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:59:31] local.INFO: TCP Data received {"connection_id":106278,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:59:31] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 07:59:31] local.INFO: IMEI packet received {"connection_id":106278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 07:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":106278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:59:34] local.INFO: TCP Data received {"connection_id":105531,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88f3b30012d7ad78005e3e518000600a627..."} 
[2026-06-18 07:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88f3b30012d7ad78005e3e518000600a627..."} 
[2026-06-18 07:59:34] local.INFO: Processing buffer {"connection_id":105531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88f3b30012d7ad78005e3e518000600a627..."} 
[2026-06-18 07:59:34] local.INFO: Packet analysis {"connection_id":105531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 07:59:34] local.INFO: Extracted packet for processing {"connection_id":105531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 07:59:34] local.INFO: GPS Element Parsed {"raw_longitude":763025280,"raw_latitude":98821400,"longitude_deg":76.302528,"latitude_deg":9.88214,"altitude":6,"angle":166,"satellites":39,"speed":42,"hex_longitude":"2d7ad780","hex_latitude":"05e3e518","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127927552001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93784772731469824,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849502924339554304,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59: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-06-18 07:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781749726000,"timestamp_ms":1781749726000,"timestamp_seconds":1781749726,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88f3b30"} 
[2026-06-18 07:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:59: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-06-18 07: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-18 07:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105531,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:59:34] 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-06-18 07:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127927552001,"66":13537,"97":206,"85":15104,"24":42,"16":93784772731469824,"45":8849502924339554304},"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-06-18 07:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127927552001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:59:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93784772731469824,"km_value":93784772731469.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849502924339554304,"description":"Unknown IO ID 45"} 
[2026-06-18 07:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127927552001,"power":13537,"unknown_97":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8849502924339554304}} 
[2026-06-18 07:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":105531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343177,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:59:34] local.INFO: GPS data processed {"connection_id":105531,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:59:34] local.INFO: Acknowledgment sent {"connection_id":105531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:59:34] local.INFO: TCP Data received {"connection_id":106278,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:59:34] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 07:59:34] local.INFO: Packet analysis {"connection_id":106278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 07:59:34] local.INFO: Extracted packet for processing {"connection_id":106278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 07:59:34] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 07:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 07:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:59: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-06-18 07: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":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 07:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 07: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-06-18 07:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 07:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 07:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 07:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 07:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 07:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 07:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 07:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:59:34] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 07:59:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 07:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 07:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 07:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":106278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:59:34] local.INFO: GPS data processed {"connection_id":106278,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:59:34] local.INFO: Acknowledgment sent {"connection_id":106278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 07:59:52] local.INFO: TCP Data received {"connection_id":107264,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:52] local.INFO: Processing buffer {"connection_id":107264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:52] local.INFO: IMEI packet received {"connection_id":107264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 07:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":107264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 07:59:53] local.INFO: TCP Data received {"connection_id":107264,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:53] local.INFO: Processing buffer {"connection_id":107264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:53] local.INFO: IMEI packet received {"connection_id":107264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":107264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:59:57] local.INFO: TCP Data received {"connection_id":107264,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107264,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:57] local.INFO: Processing buffer {"connection_id":107264,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 07:59:57] local.INFO: IMEI packet received {"connection_id":107264,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 07:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":107264,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 07:59:58] local.INFO: TCP Data received {"connection_id":107264,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88f5a70012d7ae20005e3bf20000700a427..."} 
[2026-06-18 07:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88f5a70012d7ae20005e3bf20000700a427..."} 
[2026-06-18 07:59:58] local.INFO: Processing buffer {"connection_id":107264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88f5a70012d7ae20005e3bf20000700a427..."} 
[2026-06-18 07:59:58] local.INFO: Packet analysis {"connection_id":107264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 07:59:58] local.INFO: Extracted packet for processing {"connection_id":107264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 07:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763027968,"raw_latitude":98811680,"longitude_deg":76.3027968,"latitude_deg":9.881168,"altitude":7,"angle":164,"satellites":39,"speed":50,"hex_longitude":"2d7ae200","hex_latitude":"05e3bf20","is_valid_coordinates":true} 
[2026-06-18 07: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-06-18 07:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127929856001,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93785262357741568,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851684355406632960,"note":"Value kept but may cause issues"} 
[2026-06-18 07:59: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-06-18 07:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749734000,"timestamp_ms":1781749734000,"timestamp_seconds":1781749734,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88f5a70"} 
[2026-06-18 07:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 07:59: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-06-18 07: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-06-18 07:59:58] 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-06-18 07: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-06-18 07:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 07:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 07:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 07:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 07:59: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-06-18 07:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 07:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 07:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127929856001,"66":13200,"97":206,"85":15104,"24":50,"16":93785262357741568,"45":8851684355406632960},"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-06-18 07:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 07:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 07:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127929856001,"description":"Unknown IO ID 0"} 
[2026-06-18 07:59:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 07:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 07:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93785262357741568,"km_value":93785262357741.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 07:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851684355406632960,"description":"Unknown IO ID 45"} 
[2026-06-18 07:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127929856001,"power":13200,"unknown_97":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8851684355406632960}} 
[2026-06-18 07:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":107264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 07:59:58] local.INFO: GPS data processed {"connection_id":107264,"processed":1,"errors":0,"total":1} 
[2026-06-18 07:59:58] local.INFO: Acknowledgment sent {"connection_id":107264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:00:02] local.INFO: TCP Data received {"connection_id":107264,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88f8180012d7aec8005e39c80000400a327..."} 
[2026-06-18 08:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88f8180012d7aec8005e39c80000400a327..."} 
[2026-06-18 08:00:02] local.INFO: Processing buffer {"connection_id":107264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88f8180012d7aec8005e39c80000400a327..."} 
[2026-06-18 08:00:02] local.INFO: Packet analysis {"connection_id":107264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 08:00:02] local.INFO: Extracted packet for processing {"connection_id":107264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 08:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98802816,"longitude_deg":76.3030656,"latitude_deg":9.8802816,"altitude":4,"angle":163,"satellites":39,"speed":23,"hex_longitude":"2d7aec80","hex_latitude":"05e39c80","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127931904001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93785709034340352,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854639842659606528,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00: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-06-18 08:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781749744000,"timestamp_ms":1781749744000,"timestamp_seconds":1781749744,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88f8180"} 
[2026-06-18 08:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:00: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-06-18 08:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-18 08:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:00:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:00:02] 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-06-18 08:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127931904001,"66":12689,"97":206,"85":15104,"24":23,"16":93785709034340352,"45":8854639842659606528},"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-06-18 08:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127931904001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:00:02] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93785709034340352,"km_value":93785709034340.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854639842659606528,"description":"Unknown IO ID 45"} 
[2026-06-18 08:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127931904001,"power":12689,"unknown_97":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8854639842659606528}} 
[2026-06-18 08:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":107264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343180,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:00:02] local.INFO: GPS data processed {"connection_id":107264,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:00:02] local.INFO: Acknowledgment sent {"connection_id":107264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:00:06] local.INFO: TCP Data received {"connection_id":106278,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:00:06] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:00:06] local.INFO: Packet analysis {"connection_id":106278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:00:06] local.INFO: Extracted packet for processing {"connection_id":106278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 08:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 08:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:00:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:00:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":106278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:00:06] local.INFO: GPS data processed {"connection_id":106278,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:00:06] local.INFO: Acknowledgment sent {"connection_id":106278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:00:25] local.INFO: TCP Data received {"connection_id":105730,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:00:25] local.INFO: Processing buffer {"connection_id":105730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:00:25] local.INFO: IMEI packet received {"connection_id":105730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":105730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:00:30] local.INFO: TCP Data received {"connection_id":105730,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:00:30] local.INFO: Processing buffer {"connection_id":105730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:00:30] local.INFO: IMEI packet received {"connection_id":105730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":105730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:00:31] local.INFO: TCP Data received {"connection_id":105730,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:00:31] local.INFO: Processing buffer {"connection_id":105730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:00:31] local.INFO: Packet analysis {"connection_id":105730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:00:31] local.INFO: Extracted packet for processing {"connection_id":105730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 08:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 08:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:00:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:00:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":105730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:00:31] local.INFO: GPS data processed {"connection_id":105730,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:00:31] local.INFO: Acknowledgment sent {"connection_id":105730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:00:33] local.INFO: TCP Data received {"connection_id":107264,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88fd388012d7af58005e38168000700a428..."} 
[2026-06-18 08:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88fd388012d7af58005e38168000700a428..."} 
[2026-06-18 08:00:33] local.INFO: Processing buffer {"connection_id":107264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88fd388012d7af58005e38168000700a428..."} 
[2026-06-18 08:00:33] local.INFO: Packet analysis {"connection_id":107264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 08:00:33] local.INFO: Extracted packet for processing {"connection_id":107264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88f"} 
[2026-06-18 08:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763032960,"raw_latitude":98795880,"longitude_deg":76.303296,"latitude_deg":9.879588,"altitude":7,"angle":164,"satellites":40,"speed":14,"hex_longitude":"2d7af580","hex_latitude":"05e38168","is_valid_coordinates":true} 
[2026-06-18 08:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127934464001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93786065516625920,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329912799232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:33] 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-06-18 08:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781749765000,"timestamp_ms":1781749765000,"timestamp_seconds":1781749765,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88fd388"} 
[2026-06-18 08:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:00: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-06-18 08:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 08:00:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107264,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:00:33] 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-06-18 08:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127934464001,"66":13091,"97":206,"85":15104,"24":14,"16":93786065516625920,"45":8857595329912799232},"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-06-18 08:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127934464001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:00:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93786065516625920,"km_value":93786065516625.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329912799232,"description":"Unknown IO ID 45"} 
[2026-06-18 08:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127934464001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8857595329912799232}} 
[2026-06-18 08:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":107264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:00:33] local.INFO: GPS data processed {"connection_id":107264,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:00:33] local.INFO: Acknowledgment sent {"connection_id":107264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:00:51] local.INFO: TCP Data received {"connection_id":107265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:51] local.INFO: Processing buffer {"connection_id":107265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:51] local.INFO: IMEI packet received {"connection_id":107265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":107265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:00:52] local.INFO: TCP Data received {"connection_id":107265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:52] local.INFO: Processing buffer {"connection_id":107265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:52] local.INFO: IMEI packet received {"connection_id":107265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":107265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:00:57] local.INFO: TCP Data received {"connection_id":107265,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107265,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:57] local.INFO: Processing buffer {"connection_id":107265,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:00:57] local.INFO: IMEI packet received {"connection_id":107265,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":107265,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:00:58] local.INFO: TCP Data received {"connection_id":107265,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8900650012d7b014005e35e70000a009c28..."} 
[2026-06-18 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8900650012d7b014005e35e70000a009c28..."} 
[2026-06-18 08:00:58] local.INFO: Processing buffer {"connection_id":107265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8900650012d7b014005e35e70000a009c28..."} 
[2026-06-18 08:00:58] local.INFO: Packet analysis {"connection_id":107265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:00:58] local.INFO: Extracted packet for processing {"connection_id":107265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763035968,"raw_latitude":98786928,"longitude_deg":76.3035968,"latitude_deg":9.8786928,"altitude":10,"angle":156,"satellites":40,"speed":34,"hex_longitude":"2d7b0140","hex_latitude":"05e35e70","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127939840001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93786525078126592,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8860128604701419520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:00: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-06-18 08:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749778000,"timestamp_ms":1781749778000,"timestamp_seconds":1781749778,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8900650"} 
[2026-06-18 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-06-18 08:00: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-06-18 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 08:00: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-06-18 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-06-18 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-06-18 08:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08: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-06-18 08:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127939840001,"66":13080,"97":206,"85":15104,"24":34,"16":93786525078126592,"45":8860128604701419520},"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-06-18 08:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127939840001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:00:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93786525078126592,"km_value":93786525078126.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8860128604701419520,"description":"Unknown IO ID 45"} 
[2026-06-18 08:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127939840001,"power":13080,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8860128604701419520}} 
[2026-06-18 08:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":107265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343184,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:00:58] local.INFO: GPS data processed {"connection_id":107265,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:00:58] local.INFO: Acknowledgment sent {"connection_id":107265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:01:03] local.INFO: TCP Data received {"connection_id":105730,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:03] local.INFO: Processing buffer {"connection_id":105730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:03] local.INFO: Packet analysis {"connection_id":105730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:01:03] local.INFO: Extracted packet for processing {"connection_id":105730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:01:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 08:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 08:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:01:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:01:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":105730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:01:03] local.INFO: GPS data processed {"connection_id":105730,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:01:03] local.INFO: Acknowledgment sent {"connection_id":105730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:01:29] local.INFO: TCP Data received {"connection_id":107265,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8903918012d7b0bc005e34008000c00a923..."} 
[2026-06-18 08:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8903918012d7b0bc005e34008000c00a923..."} 
[2026-06-18 08:01:29] local.INFO: Processing buffer {"connection_id":107265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8903918012d7b0bc005e34008000c00a923..."} 
[2026-06-18 08:01:29] local.INFO: Packet analysis {"connection_id":107265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:01:29] local.INFO: Extracted packet for processing {"connection_id":107265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763038656,"raw_latitude":98779144,"longitude_deg":76.3038656,"latitude_deg":9.8779144,"altitude":12,"angle":169,"satellites":35,"speed":18,"hex_longitude":"2d7b0bc0","hex_latitude":"05e34008","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127943168001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93786924510085120,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863435935675478016,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01: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-06-18 08:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781749791000,"timestamp_ms":1781749791000,"timestamp_seconds":1781749791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8903918"} 
[2026-06-18 08:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:01: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-06-18 08:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 08:01:29] 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-06-18 08: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-06-18 08:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107265,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08: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-06-18 08:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127943168001,"66":13243,"97":206,"85":15104,"24":18,"16":93786924510085120,"45":8863435935675478016},"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-06-18 08:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127943168001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:01:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93786924510085120,"km_value":93786924510085.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863435935675478016,"description":"Unknown IO ID 45"} 
[2026-06-18 08:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127943168001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8863435935675478016}} 
[2026-06-18 08:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":107265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343186,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:01:29] local.INFO: GPS data processed {"connection_id":107265,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:01:29] local.INFO: Acknowledgment sent {"connection_id":107265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:01:31] local.INFO: TCP Data received {"connection_id":105533,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:01:31] local.INFO: Processing buffer {"connection_id":105533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:01:31] local.INFO: IMEI packet received {"connection_id":105533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":105533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:01:36] local.INFO: TCP Data received {"connection_id":105533,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:01:36] local.INFO: Processing buffer {"connection_id":105533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:01:36] local.INFO: IMEI packet received {"connection_id":105533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":105533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:01:37] local.INFO: TCP Data received {"connection_id":105533,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:37] local.INFO: Processing buffer {"connection_id":105533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:37] local.INFO: Packet analysis {"connection_id":105533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:01:37] local.INFO: Extracted packet for processing {"connection_id":105533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 08:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 08:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:01:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:01:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":105533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:01:37] local.INFO: GPS data processed {"connection_id":105533,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:01:37] local.INFO: Acknowledgment sent {"connection_id":105533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:01:43] local.INFO: TCP Data received {"connection_id":105533,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:43] local.INFO: Processing buffer {"connection_id":105533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:01:43] local.INFO: Packet analysis {"connection_id":105533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:01:43] local.INFO: Extracted packet for processing {"connection_id":105533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:01:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 08:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 08:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:01:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:01:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":105533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:01:43] local.INFO: GPS data processed {"connection_id":105533,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:01:43] local.INFO: Acknowledgment sent {"connection_id":105533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:01:49] local.INFO: TCP Data received {"connection_id":105731,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:01:49] local.INFO: Processing buffer {"connection_id":105731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:01:49] local.INFO: IMEI packet received {"connection_id":105731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":105731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:01:52] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:01:52] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:01:52] local.INFO: IMEI packet received {"connection_id":106279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":106279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:01:57] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:01:57] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:01:57] local.INFO: IMEI packet received {"connection_id":106279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":106279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:01:58] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8906fc8012d7b0f4005e31c18000e00a120..."} 
[2026-06-18 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8906fc8012d7b0f4005e31c18000e00a120..."} 
[2026-06-18 08:01:58] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8906fc8012d7b0f4005e31c18000e00a120..."} 
[2026-06-18 08:01:58] local.INFO: Packet analysis {"connection_id":106279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:01:58] local.INFO: Extracted packet for processing {"connection_id":106279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98769944,"longitude_deg":76.3039552,"latitude_deg":9.8769944,"altitude":14,"angle":161,"satellites":32,"speed":21,"hex_longitude":"2d7b0f40","hex_latitude":"05e31c18","is_valid_coordinates":true} 
[2026-06-18 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127946496001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787375481651200,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866391422928947200,"note":"Value kept but may cause issues"} 
[2026-06-18 08:01: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-06-18 08:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749805000,"timestamp_ms":1781749805000,"timestamp_seconds":1781749805,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8906fc8"} 
[2026-06-18 08:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:01: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-06-18 08:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 08:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:01: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-06-18 08:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127946496001,"66":13102,"97":206,"85":15104,"24":21,"16":93787375481651200,"45":8866391422928947200},"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-06-18 08:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127946496001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:01:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:01:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787375481651200,"km_value":93787375481651.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866391422928947200,"description":"Unknown IO ID 45"} 
[2026-06-18 08:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127946496001,"power":13102,"unknown_97":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8866391422928947200}} 
[2026-06-18 08:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":106279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343189,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:01:58] local.INFO: GPS data processed {"connection_id":106279,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:01:58] local.INFO: Acknowledgment sent {"connection_id":106279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:02:26] local.INFO: TCP Data received {"connection_id":105534,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:02:26] local.INFO: Processing buffer {"connection_id":105534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:02:26] local.INFO: IMEI packet received {"connection_id":105534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":105534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:02:28] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8907798012d7b108005e318e0000e009421..."} 
[2026-06-18 08:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8907798012d7b108005e318e0000e009421..."} 
[2026-06-18 08:02:28] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8907798012d7b108005e318e0000e009421..."} 
[2026-06-18 08:02:28] local.INFO: Packet analysis {"connection_id":106279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:02:28] local.INFO: Extracted packet for processing {"connection_id":106279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763039872,"raw_latitude":98769120,"longitude_deg":76.3039872,"latitude_deg":9.876912,"altitude":14,"angle":148,"satellites":33,"speed":17,"hex_longitude":"2d7b1080","hex_latitude":"05e318e0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127950080001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787418431324160,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585345079296,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02: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-06-18 08:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781749807000,"timestamp_ms":1781749807000,"timestamp_seconds":1781749807,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8907798"} 
[2026-06-18 08:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:02: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-06-18 08: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 08:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:02:28] 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-06-18 08:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127950080001,"66":12841,"97":206,"85":15104,"24":17,"16":93787418431324160,"45":8867376585345079296},"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-06-18 08:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127950080001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:02:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787418431324160,"km_value":93787418431324.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585345079296,"description":"Unknown IO ID 45"} 
[2026-06-18 08:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127950080001,"power":12841,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8867376585345079296}} 
[2026-06-18 08:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":106279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343190,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:02:28] local.INFO: GPS data processed {"connection_id":106279,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:02:28] local.INFO: Acknowledgment sent {"connection_id":106279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:02:30] local.INFO: TCP Data received {"connection_id":105534,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:02:30] local.INFO: Processing buffer {"connection_id":105534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:02:30] local.INFO: IMEI packet received {"connection_id":105534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":105534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:02:32] local.INFO: TCP Data received {"connection_id":105534,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:02:32] local.INFO: Processing buffer {"connection_id":105534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed88d8d80012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:02:32] local.INFO: Packet analysis {"connection_id":105534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:02:32] local.INFO: Extracted packet for processing {"connection_id":105534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed88d"} 
[2026-06-18 08:02:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127824640001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781749616000,"timestamp_ms":1781749616000,"timestamp_seconds":1781749616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed88d8d80"} 
[2026-06-18 08:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":94,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 08:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2198,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127824640001,"66":24973,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127824640001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:02:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:02:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127824640001,"power":24973,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":105534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:02:32] local.INFO: GPS data processed {"connection_id":105534,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:02:32] local.INFO: Acknowledgment sent {"connection_id":105534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:02:34] local.INFO: TCP Data received {"connection_id":105732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:02:34] local.INFO: Processing buffer {"connection_id":105732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:02:34] local.INFO: IMEI packet received {"connection_id":105732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":105732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:02:52] local.INFO: TCP Data received {"connection_id":106280,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:02:52] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:02:52] local.INFO: IMEI packet received {"connection_id":106280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":106280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:02:57] local.INFO: TCP Data received {"connection_id":106280,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:02:57] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:02:57] local.INFO: IMEI packet received {"connection_id":106280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":106280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:02:58] local.INFO: TCP Data received {"connection_id":106280,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed890c9a0012d7b148005e31250000d009e21..."} 
[2026-06-18 08:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed890c9a0012d7b148005e31250000d009e21..."} 
[2026-06-18 08:02:58] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed890c9a0012d7b148005e31250000d009e21..."} 
[2026-06-18 08:02:58] local.INFO: Packet analysis {"connection_id":106280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:02:58] local.INFO: Extracted packet for processing {"connection_id":106280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed890"} 
[2026-06-18 08:02:58] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98767440,"longitude_deg":76.3040896,"latitude_deg":9.876744,"altitude":13,"angle":158,"satellites":33,"speed":0,"hex_longitude":"2d7b1480","hex_latitude":"05e31250","is_valid_coordinates":true} 
[2026-06-18 08:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127950592001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867728429065756672,"note":"Value kept but may cause issues"} 
[2026-06-18 08:02: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-06-18 08:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749828000,"timestamp_ms":1781749828000,"timestamp_seconds":1781749828,"priority":1,"record_length":96,"hex_timestamp":"0000019ed890c9a0"} 
[2026-06-18 08:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:02: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-06-18 08:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 08:02: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-06-18 08:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:02: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-06-18 08:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127950592001,"66":13037,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8867728429065756672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127950592001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:02:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:02:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867728429065756672,"description":"Unknown IO ID 45"} 
[2026-06-18 08:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127950592001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8867728429065756672}} 
[2026-06-18 08:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":106280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343192,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:02:58] local.INFO: GPS data processed {"connection_id":106280,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:02:58] local.INFO: Acknowledgment sent {"connection_id":106280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:03:04] local.INFO: TCP Data received {"connection_id":105534,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:04] local.INFO: Processing buffer {"connection_id":105534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:04] local.INFO: Packet analysis {"connection_id":105534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed892"} 
[2026-06-18 08:03:04] local.INFO: Extracted packet for processing {"connection_id":105534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed892"} 
[2026-06-18 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127901696001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781749917000,"timestamp_ms":1781749917000,"timestamp_seconds":1781749917,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8922548"} 
[2026-06-18 08:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 08:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127901696001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 08:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127901696001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:03:04] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 08:03:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127901696001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":105534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:03:04] local.INFO: GPS data processed {"connection_id":105534,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:03:04] local.INFO: Acknowledgment sent {"connection_id":105534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:03:29] local.INFO: TCP Data received {"connection_id":106280,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8911ba8012d7b148005e31250000d009e25..."} 
[2026-06-18 08:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8911ba8012d7b148005e31250000d009e25..."} 
[2026-06-18 08:03:29] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8911ba8012d7b148005e31250000d009e25..."} 
[2026-06-18 08:03:29] local.INFO: Packet analysis {"connection_id":106280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:03:29] local.INFO: Extracted packet for processing {"connection_id":106280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:03:29] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98767440,"longitude_deg":76.3040896,"latitude_deg":9.876744,"altitude":13,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2d7b1480","hex_latitude":"05e31250","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127955968001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972169216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03: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-06-18 08:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781749849000,"timestamp_ms":1781749849000,"timestamp_seconds":1781749849,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8911ba8"} 
[2026-06-18 08:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:03: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-06-18 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 08:03: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-06-18 08: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-06-18 08:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:03: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-06-18 08:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127955968001,"66":13135,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8868854328972169216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127955968001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:03:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972169216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127955968001,"power":13135,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328972169216}} 
[2026-06-18 08:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":106280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343194,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:03:29] local.INFO: GPS data processed {"connection_id":106280,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:03:29] local.INFO: Acknowledgment sent {"connection_id":106280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:03:31] local.INFO: TCP Data received {"connection_id":107266,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:03:31] local.INFO: Processing buffer {"connection_id":107266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:03:31] local.INFO: IMEI packet received {"connection_id":107266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":107266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:03:36] local.INFO: TCP Data received {"connection_id":107266,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:03:36] local.INFO: Processing buffer {"connection_id":107266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:03:36] local.INFO: IMEI packet received {"connection_id":107266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":107266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:03:39] local.INFO: TCP Data received {"connection_id":107266,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:39] local.INFO: Processing buffer {"connection_id":107266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:39] local.INFO: Packet analysis {"connection_id":107266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed892"} 
[2026-06-18 08:03:39] local.INFO: Extracted packet for processing {"connection_id":107266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed892"} 
[2026-06-18 08:03:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127901696001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781749917000,"timestamp_ms":1781749917000,"timestamp_seconds":1781749917,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8922548"} 
[2026-06-18 08:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:03: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-06-18 08:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 08:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127901696001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 08:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127901696001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:03:39] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 08:03:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127901696001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":107266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:03:39] local.INFO: GPS data processed {"connection_id":107266,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:03:39] local.INFO: Acknowledgment sent {"connection_id":107266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:03:42] local.INFO: TCP Data received {"connection_id":107266,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:42] local.INFO: Processing buffer {"connection_id":107266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8922548012d59b000063e3ac8000101482a..."} 
[2026-06-18 08:03:42] local.INFO: Packet analysis {"connection_id":107266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed892"} 
[2026-06-18 08:03:42] local.INFO: Extracted packet for processing {"connection_id":107266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed892"} 
[2026-06-18 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":42,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127901696001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781749917000,"timestamp_ms":1781749917000,"timestamp_seconds":1781749917,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8922548"} 
[2026-06-18 08:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 08:03:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127901696001,"66":25006,"218":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,19,24,16,45]} 
[2026-06-18 08:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127901696001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:03:42] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-06-18 08:03:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127901696001,"power":25006,"unknown_218":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":107266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:03:42] local.INFO: GPS data processed {"connection_id":107266,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:03:42] local.INFO: Acknowledgment sent {"connection_id":107266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:03:52] local.INFO: TCP Data received {"connection_id":105535,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:03:52] local.INFO: Processing buffer {"connection_id":105535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:03:52] local.INFO: IMEI packet received {"connection_id":105535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":105535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:03:57] local.INFO: TCP Data received {"connection_id":105535,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105535,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:03:57] local.INFO: Processing buffer {"connection_id":105535,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:03:57] local.INFO: IMEI packet received {"connection_id":105535,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":105535,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:03:58] local.INFO: TCP Data received {"connection_id":105535,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8916db0012d7b148005e31250000d009e25..."} 
[2026-06-18 08:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8916db0012d7b148005e31250000d009e25..."} 
[2026-06-18 08:03:58] local.INFO: Processing buffer {"connection_id":105535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8916db0012d7b148005e31250000d009e25..."} 
[2026-06-18 08:03:58] local.INFO: Packet analysis {"connection_id":105535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:03:58] local.INFO: Extracted packet for processing {"connection_id":105535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98767440,"longitude_deg":76.3040896,"latitude_deg":9.876744,"altitude":13,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2d7b1480","hex_latitude":"05e31250","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127961344001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972169216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:03: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-06-18 08:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749870000,"timestamp_ms":1781749870000,"timestamp_seconds":1781749870,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8916db0"} 
[2026-06-18 08:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:03: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-06-18 08:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 08:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:03: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-06-18 08:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127961344001,"66":12798,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8868854328972169216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127961344001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:03:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972169216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127961344001,"power":12798,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328972169216}} 
[2026-06-18 08:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":105535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343197,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:03:58] local.INFO: GPS data processed {"connection_id":105535,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:03:58] local.INFO: Acknowledgment sent {"connection_id":105535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:04:29] local.INFO: TCP Data received {"connection_id":105535,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:04:29] local.INFO: Processing buffer {"connection_id":105535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:04:29] local.INFO: Packet analysis {"connection_id":105535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:04:29] local.INFO: Extracted packet for processing {"connection_id":105535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98767440,"longitude_deg":76.3040896,"latitude_deg":9.876744,"altitude":13,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7b1480","hex_latitude":"05e31250","is_valid_coordinates":true} 
[2026-06-18 08:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127966720001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972169216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04: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-06-18 08:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781749878000,"timestamp_ms":1781749878000,"timestamp_seconds":1781749878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8918cf0"} 
[2026-06-18 08:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:04: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-06-18 08:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-18 08:04: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-06-18 08: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-06-18 08:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105535,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:04: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-06-18 08:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127966720001,"66":13059,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8868854328972169216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127966720001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:04:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972169216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127966720001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328972169216}} 
[2026-06-18 08:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":105535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343198,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:04:29] local.INFO: GPS data processed {"connection_id":105535,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:04:29] local.INFO: Acknowledgment sent {"connection_id":105535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:04:52] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:04:52] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:04:52] local.INFO: IMEI packet received {"connection_id":106282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":106282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:04:57] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:04:57] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:04:57] local.INFO: IMEI packet received {"connection_id":106282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":106282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:04:58] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:04:58] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:04:58] local.INFO: Packet analysis {"connection_id":106282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:04:58] local.INFO: Extracted packet for processing {"connection_id":106282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98767440,"longitude_deg":76.3040896,"latitude_deg":9.876744,"altitude":13,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7b1480","hex_latitude":"05e31250","is_valid_coordinates":true} 
[2026-06-18 08:04: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-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127968768001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972169216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04: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-06-18 08:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781749878000,"timestamp_ms":1781749878000,"timestamp_seconds":1781749878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8918cf0"} 
[2026-06-18 08:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869094,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399442,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3633330456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2423756801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812624384,"note":"Value kept but may cause issues"} 
[2026-06-18 08:04:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,97,85,24,241,157,16,51,158,109,45,128,18,13,37,10,66,27,201,1,240,237,227,216,4,113,205,17,111,15,32,239,2,77,5,12],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 08:04:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936922617128943855,"timestamp_seconds":936922617128943.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:04: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-06-18 08:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127968768001,"66":13059,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8868854328972169216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127968768001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:04:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972169216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127968768001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328972169216}} 
[2026-06-18 08:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":106282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343199,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:04:58] local.INFO: GPS data processed {"connection_id":106282,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:04:58] local.INFO: Acknowledgment sent {"connection_id":106282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:05:18] local.INFO: TCP Data received {"connection_id":105734,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:05:18] local.INFO: Processing buffer {"connection_id":105734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:05:18] local.INFO: IMEI packet received {"connection_id":105734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":105734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:05:20] local.INFO: TCP Data received {"connection_id":105734,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105734,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:05:20] local.INFO: Processing buffer {"connection_id":105734,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:05:20] local.INFO: IMEI packet received {"connection_id":105734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:05:20] local.ERROR: TCP Connection error {"connection_id":105734,"code":2,"message":"client closed"} 
[2026-06-18 08:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":105734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:05:26] local.INFO: TCP Data received {"connection_id":105735,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:05:26] local.INFO: Processing buffer {"connection_id":105735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:05:26] local.INFO: IMEI packet received {"connection_id":105735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":105735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:05:29] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:05:29] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:05:29] local.INFO: Packet analysis {"connection_id":106282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:05:29] local.INFO: Extracted packet for processing {"connection_id":106282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98767440,"longitude_deg":76.3040896,"latitude_deg":9.876744,"altitude":13,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7b1480","hex_latitude":"05e31250","is_valid_coordinates":true} 
[2026-06-18 08:05: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-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127968768001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972169216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05: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-06-18 08:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781749878000,"timestamp_ms":1781749878000,"timestamp_seconds":1781749878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8918cf0"} 
[2026-06-18 08:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869094,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399442,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3633330456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2423756801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812624384,"note":"Value kept but may cause issues"} 
[2026-06-18 08:05:29] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,97,85,24,241,157,16,51,158,109,45,128,18,13,37,10,66,27,201,1,240,237,227,216,4,113,205,17,111,15,32,239,2,77,5,12],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 08:05:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936922617128943855,"timestamp_seconds":936922617128943.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:05: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-06-18 08:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127968768001,"66":13059,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8868854328972169216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127968768001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:05:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972169216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127968768001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328972169216}} 
[2026-06-18 08:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":106282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:05:29] local.INFO: GPS data processed {"connection_id":106282,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:05:29] local.INFO: Acknowledgment sent {"connection_id":106282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:05:57] local.INFO: TCP Data received {"connection_id":105736,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:05:57] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:05:57] local.INFO: IMEI packet received {"connection_id":105736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":105736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:06:02] local.INFO: TCP Data received {"connection_id":105736,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:02] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:02] local.INFO: IMEI packet received {"connection_id":105736,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":105736,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:06:03] local.INFO: TCP Data received {"connection_id":105736,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:06:03] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:06:03] local.INFO: Packet analysis {"connection_id":105736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:06:03] local.INFO: Extracted packet for processing {"connection_id":105736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:06:03] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98767440,"longitude_deg":76.3040896,"latitude_deg":9.876744,"altitude":13,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7b1480","hex_latitude":"05e31250","is_valid_coordinates":true} 
[2026-06-18 08:06: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-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127968768001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972169216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] 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-06-18 08:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781749878000,"timestamp_ms":1781749878000,"timestamp_seconds":1781749878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8918cf0"} 
[2026-06-18 08:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869094,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399442,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3633330456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2423756801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812624384,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:03] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,97,85,24,241,157,16,51,158,109,45,128,18,13,37,10,66,27,201,1,240,237,227,216,4,113,205,17,111,15,32,239,2,77,5,12],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 08:06:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936922617128943855,"timestamp_seconds":936922617128943.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:06:03] 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-06-18 08:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127968768001,"66":13059,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8868854328972169216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127968768001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:06:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:06:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972169216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127968768001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328972169216}} 
[2026-06-18 08:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":105736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343201,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:06:03] local.INFO: GPS data processed {"connection_id":105736,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:06:03] local.INFO: Acknowledgment sent {"connection_id":105736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:06:07] local.INFO: TCP Data received {"connection_id":105736,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:06:07] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8918cf0012d7b148005e31250000d009e28..."} 
[2026-06-18 08:06:07] local.INFO: Packet analysis {"connection_id":105736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:06:07] local.INFO: Extracted packet for processing {"connection_id":105736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed891"} 
[2026-06-18 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763040896,"raw_latitude":98767440,"longitude_deg":76.3040896,"latitude_deg":9.876744,"altitude":13,"angle":158,"satellites":40,"speed":0,"hex_longitude":"2d7b1480","hex_latitude":"05e31250","is_valid_coordinates":true} 
[2026-06-18 08:06: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-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127968768001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972169216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06: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-06-18 08:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781749878000,"timestamp_ms":1781749878000,"timestamp_seconds":1781749878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8918cf0"} 
[2026-06-18 08:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869094,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399442,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3633330456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2423756801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3812624384,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:07] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,97,85,24,241,157,16,51,158,109,45,128,18,13,37,10,66,27,201,1,240,237,227,216,4,113,205,17,111,15,32,239,2,77,5,12],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 08:06:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936922617128943855,"timestamp_seconds":936922617128943.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105736,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:06:07] 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-06-18 08:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127968768001,"66":13059,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8868854328972169216},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127968768001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:06:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972169216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127968768001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328972169216}} 
[2026-06-18 08:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":105736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343202,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:06:08] local.INFO: GPS data processed {"connection_id":105736,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:06:08] local.INFO: Acknowledgment sent {"connection_id":105736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:06:52] local.INFO: TCP Data received {"connection_id":106285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:52] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:52] local.INFO: IMEI packet received {"connection_id":106285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":106285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:06:53] local.INFO: TCP Data received {"connection_id":106285,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:53] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:06:53] local.INFO: IMEI packet received {"connection_id":106285,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":106285,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:06:55] local.INFO: TCP Data received {"connection_id":106285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89628a0012d7b16c005e31260000e009e25..."} 
[2026-06-18 08:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89628a0012d7b16c005e31260000e009e25..."} 
[2026-06-18 08:06:55] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89628a0012d7b16c005e31260000e009e25..."} 
[2026-06-18 08:06:55] local.INFO: Packet analysis {"connection_id":106285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:06:55] local.INFO: Extracted packet for processing {"connection_id":106285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98767456,"longitude_deg":76.3041472,"latitude_deg":9.8767456,"altitude":14,"angle":158,"satellites":37,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e31260","is_valid_coordinates":true} 
[2026-06-18 08:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127968768001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868854328972169216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06: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-06-18 08:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781750180000,"timestamp_ms":1781750180000,"timestamp_seconds":1781750180,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89628a0"} 
[2026-06-18 08:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:06:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:06:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163734281638,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399445,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2147869464,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3633344456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2429132801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2550214011,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3810269184,"note":"Value kept but may cause issues"} 
[2026-06-18 08:06:55] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,97,85,24,241,157,16,51,158,140,45,128,18,13,40,10,66,109,37,27,1,240,79,227,216,4,113,205,119,224,33,239,50,2,77,5,14,21],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 08:06:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936922617128943856,"timestamp_seconds":936922617128943.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:06:55] 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-06-18 08:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127968768001,"66":12982,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8868854328972169216},"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-06-18 08:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127968768001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:06:55] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868854328972169216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127968768001,"power":12982,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8868854328972169216}} 
[2026-06-18 08:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":106285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:06:55] local.INFO: GPS data processed {"connection_id":106285,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:06:55] local.INFO: Acknowledgment sent {"connection_id":106285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:07:26] local.INFO: TCP Data received {"connection_id":106285,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019ed896a1b8012d7b16c005e31260000e009e26..."} 
[2026-06-18 08:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed896a1b8012d7b16c005e31260000e009e26..."} 
[2026-06-18 08:07:26] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed896a1b8012d7b16c005e31260000e009e26..."} 
[2026-06-18 08:07:26] local.INFO: Packet analysis {"connection_id":106285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:07:26] local.INFO: Extracted packet for processing {"connection_id":106285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:07:26] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98767456,"longitude_deg":76.3041472,"latitude_deg":9.8767456,"altitude":14,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e31260","is_valid_coordinates":true} 
[2026-06-18 08:07: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-06-18 08:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128046080001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647669772288,"note":"Value kept but may cause issues"} 
[2026-06-18 08:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781750211000,"timestamp_ms":1781750211000,"timestamp_seconds":1781750211,"priority":1,"record_length":96,"hex_timestamp":"0000019ed896a1b8"} 
[2026-06-18 08:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:07:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 08:07:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106285,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:07:26] 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-06-18 08:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128046080001,"66":12939,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8869487647669772288},"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-06-18 08:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128046080001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:07:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:07:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647669772288,"description":"Unknown IO ID 45"} 
[2026-06-18 08:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128046080001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869487647669772288}} 
[2026-06-18 08:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":106285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:07:26] local.INFO: GPS data processed {"connection_id":106285,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:07:26] local.INFO: Acknowledgment sent {"connection_id":106285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:07:49] local.INFO: TCP Data received {"connection_id":105738,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:07:49] local.INFO: Processing buffer {"connection_id":105738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:07:49] local.INFO: IMEI packet received {"connection_id":105738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":105738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:07:52] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:07:52] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:07:52] local.INFO: IMEI packet received {"connection_id":106286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":106286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:07:57] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:07:57] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:07:57] local.INFO: IMEI packet received {"connection_id":106286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":106286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:07:58] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ed896a1b8012d7b16c005e31260000e009e26..."} 
[2026-06-18 08:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed896a1b8012d7b16c005e31260000e009e26..."} 
[2026-06-18 08:07:58] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed896a1b8012d7b16c005e31260000e009e26..."} 
[2026-06-18 08:07:58] local.INFO: Packet analysis {"connection_id":106286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:07:58] local.INFO: Extracted packet for processing {"connection_id":106286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98767456,"longitude_deg":76.3041472,"latitude_deg":9.8767456,"altitude":14,"angle":158,"satellites":38,"speed":0,"hex_longitude":"2d7b16c0","hex_latitude":"05e31260","is_valid_coordinates":true} 
[2026-06-18 08:07: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-06-18 08:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128054016001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93787525805506560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647669772288,"note":"Value kept but may cause issues"} 
[2026-06-18 08:07: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-06-18 08:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781750211000,"timestamp_ms":1781750211000,"timestamp_seconds":1781750211,"priority":1,"record_length":96,"hex_timestamp":"0000019ed896a1b8"} 
[2026-06-18 08:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:07: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-06-18 08: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 08:07: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-06-18 08: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-06-18 08:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128054016001,"66":12939,"97":206,"85":15104,"24":0,"16":93787525805506560,"45":8869487647669772288},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128054016001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:07:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93787525805506560,"km_value":93787525805506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647669772288,"description":"Unknown IO ID 45"} 
[2026-06-18 08:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128054016001,"power":12939,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8869487647669772288}} 
[2026-06-18 08:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":106286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343205,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:07:58] local.INFO: GPS data processed {"connection_id":106286,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:07:58] local.INFO: Acknowledgment sent {"connection_id":106286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:08:29] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ed897c2c8012d7b258005e29ad0000c00b322..."} 
[2026-06-18 08:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed897c2c8012d7b258005e29ad0000c00b322..."} 
[2026-06-18 08:08:29] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed897c2c8012d7b258005e29ad0000c00b322..."} 
[2026-06-18 08:08:29] local.INFO: Packet analysis {"connection_id":106286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed897"} 
[2026-06-18 08:08:29] local.INFO: Extracted packet for processing {"connection_id":106286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed897"} 
[2026-06-18 08:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763045248,"raw_latitude":98736848,"longitude_deg":76.3045248,"latitude_deg":9.8736848,"altitude":12,"angle":179,"satellites":34,"speed":4,"hex_longitude":"2d7b2580","hex_latitude":"05e29ad0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128068096001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93789067698765824,"note":"Value kept but may cause issues"} 
[2026-06-18 08:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873357928592332800,"note":"Value kept but may cause issues"} 
[2026-06-18 08:08: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-06-18 08:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781750285000,"timestamp_ms":1781750285000,"timestamp_seconds":1781750285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed897c2c8"} 
[2026-06-18 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-06-18 08:08: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-06-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 08:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 08:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128068096001,"66":12743,"96":206,"85":15104,"24":4,"16":93789067698765824,"45":8873357928592332800},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 08:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128068096001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:08:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93789067698765824,"km_value":93789067698765.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873357928592332800,"description":"Unknown IO ID 45"} 
[2026-06-18 08:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128068096001,"power":12743,"unknown_96":206,"unknown_85":15104,"ignition":4,"odometer":null,"unknown_45":8873357928592332800}} 
[2026-06-18 08:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":106286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343206,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:08:29] local.INFO: GPS data processed {"connection_id":106286,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:08:29] local.INFO: Acknowledgment sent {"connection_id":106286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:08:34] local.INFO: TCP Data received {"connection_id":105536,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:08:34] local.INFO: Processing buffer {"connection_id":105536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:08:34] local.INFO: IMEI packet received {"connection_id":105536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":105536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:08:52] local.INFO: TCP Data received {"connection_id":105537,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:08:52] local.INFO: Processing buffer {"connection_id":105537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:08:52] local.INFO: IMEI packet received {"connection_id":105537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":105537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:08:55] local.INFO: TCP Data received {"connection_id":105537,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105537,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:08:55] local.INFO: Processing buffer {"connection_id":105537,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:08:55] local.INFO: IMEI packet received {"connection_id":105537,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":105537,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:08:56] local.INFO: TCP Data received {"connection_id":105537,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ed897e208012d7b254005e29200000b00c725..."} 
[2026-06-18 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed897e208012d7b254005e29200000b00c725..."} 
[2026-06-18 08:08:56] local.INFO: Processing buffer {"connection_id":105537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed897e208012d7b254005e29200000b00c725..."} 
[2026-06-18 08:08:56] local.INFO: Packet analysis {"connection_id":105537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed897"} 
[2026-06-18 08:08:56] local.INFO: Extracted packet for processing {"connection_id":105537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed897"} 
[2026-06-18 08:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763045184,"raw_latitude":98734592,"longitude_deg":76.3045184,"latitude_deg":9.8734592,"altitude":11,"angle":199,"satellites":37,"speed":11,"hex_longitude":"2d7b2540","hex_latitude":"05e29200","is_valid_coordinates":true} 
[2026-06-18 08:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128072960001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93789179367915520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873639403568418816,"note":"Value kept but may cause issues"} 
[2026-06-18 08:08: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-06-18 08:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781750293000,"timestamp_ms":1781750293000,"timestamp_seconds":1781750293,"priority":1,"record_length":96,"hex_timestamp":"0000019ed897e208"} 
[2026-06-18 08:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:08: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-06-18 08:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 08:08:56] 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-06-18 08:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128072960001,"66":12689,"96":206,"85":15104,"24":11,"16":93789179367915520,"45":8873639403568418816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 08:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128072960001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:08:56] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93789179367915520,"km_value":93789179367915.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873639403568418816,"description":"Unknown IO ID 45"} 
[2026-06-18 08:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128072960001,"power":12689,"unknown_96":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8873639403568418816}} 
[2026-06-18 08:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":105537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:08:56] local.INFO: GPS data processed {"connection_id":105537,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:08:56] local.INFO: Acknowledgment sent {"connection_id":105537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:09:28] local.INFO: TCP Data received {"connection_id":105537,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ed897e9d8012d7b24c005e29058000b00da25..."} 
[2026-06-18 08:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed897e9d8012d7b24c005e29058000b00da25..."} 
[2026-06-18 08:09:28] local.INFO: Processing buffer {"connection_id":105537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed897e9d8012d7b24c005e29058000b00da25..."} 
[2026-06-18 08:09:28] local.INFO: Packet analysis {"connection_id":105537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed897"} 
[2026-06-18 08:09:28] local.INFO: Extracted packet for processing {"connection_id":105537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed897"} 
[2026-06-18 08:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763045056,"raw_latitude":98734168,"longitude_deg":76.3045056,"latitude_deg":9.8734168,"altitude":11,"angle":218,"satellites":37,"speed":6,"hex_longitude":"2d7b24c0","hex_latitude":"05e29058","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128075008001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93789200842752000,"note":"Value kept but may cause issues"} 
[2026-06-18 08:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873569034823663616,"note":"Value kept but may cause issues"} 
[2026-06-18 08:09: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-06-18 08:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781750295000,"timestamp_ms":1781750295000,"timestamp_seconds":1781750295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed897e9d8"} 
[2026-06-18 08:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:09: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-06-18 08:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 08:09: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-06-18 08: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-06-18 08:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105537,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128075008001,"66":12515,"96":206,"85":15104,"24":6,"16":93789200842752000,"45":8873569034823663616},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 08:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128075008001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:09:28] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93789200842752000,"km_value":93789200842752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873569034823663616,"description":"Unknown IO ID 45"} 
[2026-06-18 08:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128075008001,"power":12515,"unknown_96":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8873569034823663616}} 
[2026-06-18 08:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":105537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:09:28] local.INFO: GPS data processed {"connection_id":105537,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:09:28] local.INFO: Acknowledgment sent {"connection_id":105537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:09:52] local.INFO: TCP Data received {"connection_id":105740,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:09:52] local.INFO: Processing buffer {"connection_id":105740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:09:52] local.INFO: IMEI packet received {"connection_id":105740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":105740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:09:57] local.INFO: TCP Data received {"connection_id":105740,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105740,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:09:57] local.INFO: Processing buffer {"connection_id":105740,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:09:57] local.INFO: IMEI packet received {"connection_id":105740,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":105740,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:09:58] local.INFO: TCP Data received {"connection_id":105740,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8990318012d7b0b4005e30e100006015c1b..."} 
[2026-06-18 08:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8990318012d7b0b4005e30e100006015c1b..."} 
[2026-06-18 08:09:58] local.INFO: Processing buffer {"connection_id":105740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8990318012d7b0b4005e30e100006015c1b..."} 
[2026-06-18 08:09:58] local.INFO: Packet analysis {"connection_id":105740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:09:58] local.INFO: Extracted packet for processing {"connection_id":105740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98766352,"longitude_deg":76.3038528,"latitude_deg":9.8766352,"altitude":6,"angle":348,"satellites":27,"speed":21,"hex_longitude":"2d7b0b40","hex_latitude":"05e30e10","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128092160001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93790854405160960,"note":"Value kept but may cause issues"} 
[2026-06-18 08:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866954372878188544,"note":"Value kept but may cause issues"} 
[2026-06-18 08:09: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-06-18 08:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781750367000,"timestamp_ms":1781750367000,"timestamp_seconds":1781750367,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8990318"} 
[2026-06-18 08:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:09: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-06-18 08: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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 08:09: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-06-18 08: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-06-18 08:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128092160001,"66":13091,"96":206,"85":15104,"24":21,"16":93790854405160960,"45":8866954372878188544},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 08:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128092160001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:09:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93790854405160960,"km_value":93790854405160.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866954372878188544,"description":"Unknown IO ID 45"} 
[2026-06-18 08:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128092160001,"power":13091,"unknown_96":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8866954372878188544}} 
[2026-06-18 08:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":105740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343209,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:09:58] local.INFO: GPS data processed {"connection_id":105740,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:09:58] local.INFO: Acknowledgment sent {"connection_id":105740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:10:29] local.INFO: TCP Data received {"connection_id":105740,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8994968012d7b058005e330400005000017..."} 
[2026-06-18 08:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8994968012d7b058005e330400005000017..."} 
[2026-06-18 08:10:29] local.INFO: Processing buffer {"connection_id":105740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8994968012d7b058005e330400005000017..."} 
[2026-06-18 08:10:29] local.INFO: Packet analysis {"connection_id":105740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:10:29] local.INFO: Extracted packet for processing {"connection_id":105740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98775104,"longitude_deg":76.3037056,"latitude_deg":9.8775104,"altitude":5,"angle":0,"satellites":23,"speed":17,"hex_longitude":"2d7b0580","hex_latitude":"05e33040","is_valid_coordinates":true} 
[2026-06-18 08:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128093952001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93791283901890560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685437317120,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10: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-06-18 08:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781750385000,"timestamp_ms":1781750385000,"timestamp_seconds":1781750385,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8994968"} 
[2026-06-18 08:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:10: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-06-18 08:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 08:10: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-06-18 08:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105740,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128093952001,"66":13222,"97":206,"85":15104,"24":17,"16":93791283901890560,"45":8866250685437317120},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128093952001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:10:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93791283901890560,"km_value":93791283901890.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685437317120,"description":"Unknown IO ID 45"} 
[2026-06-18 08:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128093952001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8866250685437317120}} 
[2026-06-18 08:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":105740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:10:30] local.INFO: GPS data processed {"connection_id":105740,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:10:30] local.INFO: Acknowledgment sent {"connection_id":105740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:10:31] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:10:31] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:10:31] local.INFO: IMEI packet received {"connection_id":106288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":106288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:10:36] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:10:36] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:10:36] local.INFO: IMEI packet received {"connection_id":106288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":106288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:10:37] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:10:37] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:10:37] local.INFO: Packet analysis {"connection_id":106288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:10:37] local.INFO: Extracted packet for processing {"connection_id":106288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:10:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127978752001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781750218000,"timestamp_ms":1781750218000,"timestamp_seconds":1781750218,"priority":1,"record_length":96,"hex_timestamp":"0000019ed896bd10"} 
[2026-06-18 08:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127978752001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127978752001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:10:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:10:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127978752001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":106288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:10:37] local.INFO: GPS data processed {"connection_id":106288,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:10:37] local.INFO: Acknowledgment sent {"connection_id":106288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:10:52] local.INFO: TCP Data received {"connection_id":106290,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:10:52] local.INFO: Processing buffer {"connection_id":106290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:10:52] local.INFO: IMEI packet received {"connection_id":106290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":106290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:10:57] local.INFO: TCP Data received {"connection_id":106290,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:10:57] local.INFO: Processing buffer {"connection_id":106290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:10:57] local.INFO: IMEI packet received {"connection_id":106290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":106290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:10:58] local.INFO: TCP Data received {"connection_id":106290,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8994968012d7b058005e330400005000017..."} 
[2026-06-18 08:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8994968012d7b058005e330400005000017..."} 
[2026-06-18 08:10:58] local.INFO: Processing buffer {"connection_id":106290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8994968012d7b058005e330400005000017..."} 
[2026-06-18 08:10:58] local.INFO: Packet analysis {"connection_id":106290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:10:58] local.INFO: Extracted packet for processing {"connection_id":106290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763037056,"raw_latitude":98775104,"longitude_deg":76.3037056,"latitude_deg":9.8775104,"altitude":5,"angle":0,"satellites":23,"speed":17,"hex_longitude":"2d7b0580","hex_latitude":"05e33040","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128098560001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93791283901890560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204323471360,"note":"Value kept but may cause issues"} 
[2026-06-18 08:10: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-06-18 08:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781750385000,"timestamp_ms":1781750385000,"timestamp_seconds":1781750385,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8994968"} 
[2026-06-18 08:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:10: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-06-18 08: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 08:10: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-06-18 08: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-06-18 08:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128098560001,"66":13222,"97":206,"85":15104,"24":17,"16":93791283901890560,"45":8864632204323471360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128098560001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:10:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93791283901890560,"km_value":93791283901890.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204323471360,"description":"Unknown IO ID 45"} 
[2026-06-18 08:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128098560001,"power":13222,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8864632204323471360}} 
[2026-06-18 08:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":106290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:10:58] local.INFO: GPS data processed {"connection_id":106290,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:10:58] local.INFO: Acknowledgment sent {"connection_id":106290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:11:15] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:11:15] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:11:15] local.INFO: Packet analysis {"connection_id":106288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:11:15] local.INFO: Extracted packet for processing {"connection_id":106288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:11:15] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127978752001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781750218000,"timestamp_ms":1781750218000,"timestamp_seconds":1781750218,"priority":1,"record_length":96,"hex_timestamp":"0000019ed896bd10"} 
[2026-06-18 08:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127978752001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127978752001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:11:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:11:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127978752001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":106288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:11:15] local.INFO: GPS data processed {"connection_id":106288,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:11:15] local.INFO: Acknowledgment sent {"connection_id":106288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:11:26] local.INFO: TCP Data received {"connection_id":105741,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:11:26] local.INFO: Processing buffer {"connection_id":105741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:11:26] local.INFO: IMEI packet received {"connection_id":105741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":105741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:11:29] local.INFO: TCP Data received {"connection_id":106290,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8998018012d7b05c005e343900003015d1d..."} 
[2026-06-18 08:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8998018012d7b05c005e343900003015d1d..."} 
[2026-06-18 08:11:29] local.INFO: Processing buffer {"connection_id":106290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8998018012d7b05c005e343900003015d1d..."} 
[2026-06-18 08:11:29] local.INFO: Packet analysis {"connection_id":106290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:11:29] local.INFO: Extracted packet for processing {"connection_id":106290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98780048,"longitude_deg":76.303712,"latitude_deg":9.8780048,"altitude":3,"angle":349,"satellites":29,"speed":17,"hex_longitude":"2d7b05c0","hex_latitude":"05e34390","is_valid_coordinates":true} 
[2026-06-18 08:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128098560001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93791528715026432,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864632204323471360,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11: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-06-18 08:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781750399000,"timestamp_ms":1781750399000,"timestamp_seconds":1781750399,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8998018"} 
[2026-06-18 08:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:11: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-06-18 08:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 08:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128098560001,"66":12917,"97":206,"85":15104,"24":17,"16":93791528715026432,"45":8864632204323471360},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128098560001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:11:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93791528715026432,"km_value":93791528715026.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864632204323471360,"description":"Unknown IO ID 45"} 
[2026-06-18 08:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128098560001,"power":12917,"unknown_97":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":8864632204323471360}} 
[2026-06-18 08:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":106290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:11:29] local.INFO: GPS data processed {"connection_id":106290,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:11:29] local.INFO: Acknowledgment sent {"connection_id":106290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:11:31] local.INFO: TCP Data received {"connection_id":105741,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:11:31] local.INFO: Processing buffer {"connection_id":105741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:11:31] local.INFO: IMEI packet received {"connection_id":105741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":105741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:11:32] local.INFO: TCP Data received {"connection_id":105741,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:11:32] local.INFO: Processing buffer {"connection_id":105741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:11:32] local.INFO: Packet analysis {"connection_id":105741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:11:32] local.INFO: Extracted packet for processing {"connection_id":105741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127978752001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781750218000,"timestamp_ms":1781750218000,"timestamp_seconds":1781750218,"priority":1,"record_length":96,"hex_timestamp":"0000019ed896bd10"} 
[2026-06-18 08:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127978752001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127978752001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:11:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:11:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127978752001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":105741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:11:32] local.INFO: GPS data processed {"connection_id":105741,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:11:32] local.INFO: Acknowledgment sent {"connection_id":105741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:11:57] local.INFO: TCP Data received {"connection_id":105742,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:11:57] local.INFO: Processing buffer {"connection_id":105742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:11:57] local.INFO: IMEI packet received {"connection_id":105742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":105742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:12:02] local.INFO: TCP Data received {"connection_id":105742,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105742,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:02] local.INFO: Processing buffer {"connection_id":105742,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:02] local.INFO: IMEI packet received {"connection_id":105742,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":105742,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:12:03] local.INFO: TCP Data received {"connection_id":105742,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed899b2e0012d7afc8005e365d80007015727..."} 
[2026-06-18 08:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed899b2e0012d7afc8005e365d80007015727..."} 
[2026-06-18 08:12:03] local.INFO: Processing buffer {"connection_id":105742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed899b2e0012d7afc8005e365d80007015727..."} 
[2026-06-18 08:12:03] local.INFO: Packet analysis {"connection_id":105742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:12:03] local.INFO: Extracted packet for processing {"connection_id":105742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed899"} 
[2026-06-18 08:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763034752,"raw_latitude":98788824,"longitude_deg":76.3034752,"latitude_deg":9.8788824,"altitude":7,"angle":343,"satellites":39,"speed":29,"hex_longitude":"2d7afc80","hex_latitude":"05e365d8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128102144001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93791971096657920,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573068914688,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:03] 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-06-18 08:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781750412000,"timestamp_ms":1781750412000,"timestamp_seconds":1781750412,"priority":1,"record_length":96,"hex_timestamp":"0000019ed899b2e0"} 
[2026-06-18 08:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":117,"data_length":795,"current_offset":136} 
[2026-06-18 08:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:12: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-06-18 08:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128102144001,"66":13276,"97":206,"85":15104,"24":29,"16":93791971096657920,"45":8864702573068914688},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128102144001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:12:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93791971096657920,"km_value":93791971096657.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573068914688,"description":"Unknown IO ID 45"} 
[2026-06-18 08:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128102144001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8864702573068914688}} 
[2026-06-18 08:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":105742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343216,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:12:03] local.INFO: GPS data processed {"connection_id":105742,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:12:03] local.INFO: Acknowledgment sent {"connection_id":105742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:12:04] local.INFO: TCP Data received {"connection_id":105741,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:12:04] local.INFO: Processing buffer {"connection_id":105741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:12:04] local.INFO: Packet analysis {"connection_id":105741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:12:04] local.INFO: Extracted packet for processing {"connection_id":105741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:12:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127978752001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781750218000,"timestamp_ms":1781750218000,"timestamp_seconds":1781750218,"priority":1,"record_length":96,"hex_timestamp":"0000019ed896bd10"} 
[2026-06-18 08:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127978752001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127978752001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:12:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:12:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127978752001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":105741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:12:04] local.INFO: GPS data processed {"connection_id":105741,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:12:04] local.INFO: Acknowledgment sent {"connection_id":105741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:12:25] local.INFO: TCP Data received {"connection_id":105743,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:12:25] local.INFO: Processing buffer {"connection_id":105743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:12:25] local.INFO: IMEI packet received {"connection_id":105743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":105743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:12:30] local.INFO: TCP Data received {"connection_id":105743,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:12:30] local.INFO: Processing buffer {"connection_id":105743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:12:30] local.INFO: IMEI packet received {"connection_id":105743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":105743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:12:31] local.INFO: TCP Data received {"connection_id":105743,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:12:31] local.INFO: Processing buffer {"connection_id":105743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed896bd10012d59b000063e3ac8000101482c..."} 
[2026-06-18 08:12:31] local.INFO: Packet analysis {"connection_id":105743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:12:31] local.INFO: Extracted packet for processing {"connection_id":105743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed896"} 
[2026-06-18 08:12:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456127978752001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781750218000,"timestamp_ms":1781750218000,"timestamp_seconds":1781750218,"priority":1,"record_length":96,"hex_timestamp":"0000019ed896bd10"} 
[2026-06-18 08:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456127978752001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456127978752001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:12:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:12:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456127978752001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":105743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:12:31] local.INFO: GPS data processed {"connection_id":105743,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:12:31] local.INFO: Acknowledgment sent {"connection_id":105743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:12:34] local.INFO: TCP Data received {"connection_id":105742,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89a04e8012d7af34005e386600009015726..."} 
[2026-06-18 08:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89a04e8012d7af34005e386600009015726..."} 
[2026-06-18 08:12:34] local.INFO: Processing buffer {"connection_id":105742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89a04e8012d7af34005e386600009015726..."} 
[2026-06-18 08:12:34] local.INFO: Packet analysis {"connection_id":105742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89a"} 
[2026-06-18 08:12:34] local.INFO: Extracted packet for processing {"connection_id":105742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89a"} 
[2026-06-18 08:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763032384,"raw_latitude":98797152,"longitude_deg":76.3032384,"latitude_deg":9.8797152,"altitude":9,"angle":343,"satellites":38,"speed":15,"hex_longitude":"2d7af340","hex_latitude":"05e38660","is_valid_coordinates":true} 
[2026-06-18 08:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128105472001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93792392003452928,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862098929536587776,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12: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-06-18 08:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781750433000,"timestamp_ms":1781750433000,"timestamp_seconds":1781750433,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89a04e8"} 
[2026-06-18 08:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 08:12:34] 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-06-18 08:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105742,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:12: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-06-18 08:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128105472001,"66":13396,"97":206,"85":15104,"24":15,"16":93792392003452928,"45":8862098929536587776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128105472001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:12:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93792392003452928,"km_value":93792392003452.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862098929536587776,"description":"Unknown IO ID 45"} 
[2026-06-18 08:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128105472001,"power":13396,"unknown_97":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8862098929536587776}} 
[2026-06-18 08:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":105742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343219,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:12:34] local.INFO: GPS data processed {"connection_id":105742,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:12:34] local.INFO: Acknowledgment sent {"connection_id":105742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:12:52] local.INFO: TCP Data received {"connection_id":105744,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:52] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:52] local.INFO: IMEI packet received {"connection_id":105744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":105744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:12:54] local.INFO: TCP Data received {"connection_id":105744,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:54] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:54] local.INFO: IMEI packet received {"connection_id":105744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":105744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:12:56] local.INFO: TCP Data received {"connection_id":105744,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:56] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:12:56] local.INFO: IMEI packet received {"connection_id":105744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":105744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:12:56] local.INFO: TCP Data received {"connection_id":105744,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b9f10012d7aca8005e41148000600fc29..."} 
[2026-06-18 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b9f10012d7aca8005e41148000600fc29..."} 
[2026-06-18 08:12:57] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b9f10012d7aca8005e41148000600fc29..."} 
[2026-06-18 08:12:57] local.INFO: Packet analysis {"connection_id":105744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:12:57] local.INFO: Extracted packet for processing {"connection_id":105744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763021952,"raw_latitude":98832712,"longitude_deg":76.3021952,"latitude_deg":9.8832712,"altitude":6,"angle":252,"satellites":41,"speed":11,"hex_longitude":"2d7aca80","hex_latitude":"05e41148","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128137216001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93794230249455616,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848447393177372672,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12: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-06-18 08:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781750538000,"timestamp_ms":1781750538000,"timestamp_seconds":1781750538,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b9f10"} 
[2026-06-18 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-06-18 08:12: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-06-18 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 08:12: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-06-18 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-06-18 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-06-18 08:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:12: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-06-18 08:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128137216001,"66":13319,"97":206,"85":15104,"24":11,"16":93794230249455616,"45":8848447393177372672},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128137216001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:12:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93794230249455616,"km_value":93794230249455.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848447393177372672,"description":"Unknown IO ID 45"} 
[2026-06-18 08:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128137216001,"power":13319,"unknown_97":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8848447393177372672}} 
[2026-06-18 08:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":105744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343220,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:12:57] local.INFO: GPS data processed {"connection_id":105744,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:12:57] local.INFO: Acknowledgment sent {"connection_id":105744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:12:57] local.INFO: TCP Data received {"connection_id":105744,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89be178012d7aa60005e40b200001010624..."} 
[2026-06-18 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89be178012d7aa60005e40b200001010624..."} 
[2026-06-18 08:12:57] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89be178012d7aa60005e40b200001010624..."} 
[2026-06-18 08:12:57] local.INFO: Packet analysis {"connection_id":105744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:12:57] local.INFO: Extracted packet for processing {"connection_id":105744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763012608,"raw_latitude":98831136,"longitude_deg":76.3012608,"latitude_deg":9.8831136,"altitude":1,"angle":262,"satellites":36,"speed":28,"hex_longitude":"2d7aa600","hex_latitude":"05e40b20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128137728001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93794681221021696,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848025180712290304,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12: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-06-18 08:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781750555000,"timestamp_ms":1781750555000,"timestamp_seconds":1781750555,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89be178"} 
[2026-06-18 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-06-18 08:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3634019456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":227,"raw_value":-7000845582070306560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2147869657,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":590158,"corrected_to":0} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802214,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3821023232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":198,"raw_value":57885305781245243,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.WARNING: Large IO value detected {"io_id":154,"raw_value":-8241586023240679419,"note":"Value kept but may cause issues"} 
[2026-06-18 08:12:57] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,57,158,151,45,17,6,41,10,66,127,192,7,96,64,1,240,205,227,216,4,113,200,38,239,50,2,77,5,9,31,198,154],"length":527,"final_offset":657,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0},{"io_id":200,"original":590158,"validated":0}]} 
[2026-06-18 08:12:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432622817252147200,"timestamp_seconds":432622817252147.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 08:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:12: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-06-18 08:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128137728001,"66":13276,"97":206,"85":15104,"24":28,"16":93794681221021696,"45":8848025180712290304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128137728001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:12:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93794681221021696,"km_value":93794681221021.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848025180712290304,"description":"Unknown IO ID 45"} 
[2026-06-18 08:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128137728001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8848025180712290304}} 
[2026-06-18 08:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":105744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:12:57] local.INFO: GPS data processed {"connection_id":105744,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:12:57] local.INFO: Acknowledgment sent {"connection_id":105744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:13:02] local.INFO: TCP Data received {"connection_id":105743,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:13:02] local.INFO: Processing buffer {"connection_id":105743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:13:02] local.INFO: Packet analysis {"connection_id":105743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:13:02] local.INFO: Extracted packet for processing {"connection_id":105743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:13:02] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:13:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:13:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":105743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:13:02] local.INFO: GPS data processed {"connection_id":105743,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:13:02] local.INFO: Acknowledgment sent {"connection_id":105743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:13:28] local.INFO: TCP Data received {"connection_id":105744,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89bf118012d7a9e0005e40980000000fa26..."} 
[2026-06-18 08:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89bf118012d7a9e0005e40980000000fa26..."} 
[2026-06-18 08:13:28] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89bf118012d7a9e0005e40980000000fa26..."} 
[2026-06-18 08:13:28] local.INFO: Packet analysis {"connection_id":105744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:13:28] local.INFO: Extracted packet for processing {"connection_id":105744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763010560,"raw_latitude":98830720,"longitude_deg":76.301056,"latitude_deg":9.883072,"altitude":0,"angle":250,"satellites":38,"speed":12,"hex_longitude":"2d7a9e00","hex_latitude":"05e40980","is_valid_coordinates":true} 
[2026-06-18 08:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128142080001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93794780005269504,"note":"Value kept but may cause issues"} 
[2026-06-18 08:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8837751344061947904,"note":"Value kept but may cause issues"} 
[2026-06-18 08:13: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-06-18 08:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781750559000,"timestamp_ms":1781750559000,"timestamp_seconds":1781750559,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89bf118"} 
[2026-06-18 08:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 08:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:13: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-06-18 08:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128142080001,"66":13276,"97":206,"85":15104,"24":12,"16":93794780005269504,"45":8837751344061947904},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128142080001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:13:28] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93794780005269504,"km_value":93794780005269.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8837751344061947904,"description":"Unknown IO ID 45"} 
[2026-06-18 08:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128142080001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8837751344061947904}} 
[2026-06-18 08:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":105744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343223,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:13:28] local.INFO: GPS data processed {"connection_id":105744,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:13:28] local.INFO: Acknowledgment sent {"connection_id":105744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:13:52] local.INFO: TCP Data received {"connection_id":105539,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:13:52] local.INFO: Processing buffer {"connection_id":105539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:13:52] local.INFO: IMEI packet received {"connection_id":105539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":105539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:13:58] local.INFO: TCP Data received {"connection_id":105539,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105539,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:13:58] local.INFO: Processing buffer {"connection_id":105539,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:13:58] local.INFO: IMEI packet received {"connection_id":105539,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":105539,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:13:59] local.INFO: TCP Data received {"connection_id":105538,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:13:59] local.INFO: Processing buffer {"connection_id":105538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:13:59] local.INFO: IMEI packet received {"connection_id":105538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":105538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:14:00] local.INFO: TCP Data received {"connection_id":105539,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89bf8e8012d7a9c8005e409a80000011125..."} 
[2026-06-18 08:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89bf8e8012d7a9c8005e409a80000011125..."} 
[2026-06-18 08:14:00] local.INFO: Processing buffer {"connection_id":105539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89bf8e8012d7a9c8005e409a80000011125..."} 
[2026-06-18 08:14:00] local.INFO: Packet analysis {"connection_id":105539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:14:00] local.INFO: Extracted packet for processing {"connection_id":105539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:14:00] local.INFO: GPS Element Parsed {"raw_longitude":763010176,"raw_latitude":98830760,"longitude_deg":76.3010176,"latitude_deg":9.883076,"altitude":0,"angle":273,"satellites":37,"speed":5,"hex_longitude":"2d7a9c80","hex_latitude":"05e409a8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128143104001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93794801480105984,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835499544248156160,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781750561000,"timestamp_ms":1781750561000,"timestamp_seconds":1781750561,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89bf8e8"} 
[2026-06-18 08:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 08:14:00] 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-06-18 08: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-06-18 08:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:14: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-06-18 08:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128143104001,"66":13243,"97":206,"85":15104,"24":5,"16":93794801480105984,"45":8835499544248156160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128143104001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:14:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93794801480105984,"km_value":93794801480105.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835499544248156160,"description":"Unknown IO ID 45"} 
[2026-06-18 08:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128143104001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8835499544248156160}} 
[2026-06-18 08:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":105539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343224,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:14:01] local.INFO: GPS data processed {"connection_id":105539,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:14:01] local.INFO: Acknowledgment sent {"connection_id":105539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:14:04] local.INFO: TCP Data received {"connection_id":107272,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:04] local.INFO: Processing buffer {"connection_id":107272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:04] local.INFO: IMEI packet received {"connection_id":107272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":107272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:14:04] local.INFO: TCP Data received {"connection_id":107272,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:04] local.INFO: Processing buffer {"connection_id":107272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:04] local.INFO: IMEI packet received {"connection_id":107272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":107272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:14:05] local.INFO: TCP Data received {"connection_id":107272,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:14:05] local.INFO: Processing buffer {"connection_id":107272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:14:05] local.INFO: Packet analysis {"connection_id":107272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:14:05] local.INFO: Extracted packet for processing {"connection_id":107272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:14:05] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:14:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:14:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:14:05] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:14:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":107272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:14:05] local.INFO: GPS data processed {"connection_id":107272,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:14:05] local.INFO: Acknowledgment sent {"connection_id":107272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:14:06] local.INFO: TCP Data received {"connection_id":107272,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:14:06] local.INFO: Processing buffer {"connection_id":107272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:14:06] local.INFO: Packet analysis {"connection_id":107272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:14:06] local.INFO: Extracted packet for processing {"connection_id":107272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:14:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:14:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":107272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:14:06] local.INFO: GPS data processed {"connection_id":107272,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:14:06] local.INFO: Acknowledgment sent {"connection_id":107272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:14:26] local.INFO: TCP Data received {"connection_id":105745,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:26] local.INFO: Processing buffer {"connection_id":105745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:14:26] local.INFO: IMEI packet received {"connection_id":105745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":105745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:14:33] local.INFO: TCP Data received {"connection_id":105539,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89c23e0012d7a9dc005e40a880001004327..."} 
[2026-06-18 08:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89c23e0012d7a9dc005e40a880001004327..."} 
[2026-06-18 08:14:33] local.INFO: Processing buffer {"connection_id":105539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89c23e0012d7a9dc005e40a880001004327..."} 
[2026-06-18 08:14:33] local.INFO: Packet analysis {"connection_id":105539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89c"} 
[2026-06-18 08:14:33] local.INFO: Extracted packet for processing {"connection_id":105539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89c"} 
[2026-06-18 08:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763010496,"raw_latitude":98830984,"longitude_deg":76.3010496,"latitude_deg":9.8830984,"altitude":1,"angle":67,"satellites":39,"speed":1,"hex_longitude":"2d7a9dc0","hex_latitude":"05e40a88","is_valid_coordinates":true} 
[2026-06-18 08:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128143616001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93794827249909760,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835077331783100416,"note":"Value kept but may cause issues"} 
[2026-06-18 08:14:33] 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-06-18 08:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781750572000,"timestamp_ms":1781750572000,"timestamp_seconds":1781750572,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89c23e0"} 
[2026-06-18 08:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:14: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-06-18 08:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 08:14:33] 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-06-18 08:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105539,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:14:33] 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-06-18 08:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128143616001,"66":13243,"97":206,"85":15104,"24":1,"16":93794827249909760,"45":8835077331783100416},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128143616001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:14:33] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93794827249909760,"km_value":93794827249909.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835077331783100416,"description":"Unknown IO ID 45"} 
[2026-06-18 08:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128143616001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8835077331783100416}} 
[2026-06-18 08:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":105539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:14:33] local.INFO: GPS data processed {"connection_id":105539,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:14:33] local.INFO: Acknowledgment sent {"connection_id":105539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:14:34] local.INFO: TCP Data received {"connection_id":105746,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:14:34] local.INFO: Processing buffer {"connection_id":105746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:14:34] local.INFO: IMEI packet received {"connection_id":105746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":105746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:14:57] local.INFO: TCP Data received {"connection_id":105747,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:14:57] local.INFO: Processing buffer {"connection_id":105747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:14:57] local.INFO: IMEI packet received {"connection_id":105747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":105747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:15:02] local.INFO: TCP Data received {"connection_id":105747,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105747,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:02] local.INFO: Processing buffer {"connection_id":105747,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:02] local.INFO: IMEI packet received {"connection_id":105747,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":105747,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:15:03] local.INFO: TCP Data received {"connection_id":105747,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89d9ae0012d7ad7c005e3e478000600a427..."} 
[2026-06-18 08:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89d9ae0012d7ad7c005e3e478000600a427..."} 
[2026-06-18 08:15:03] local.INFO: Processing buffer {"connection_id":105747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89d9ae0012d7ad7c005e3e478000600a427..."} 
[2026-06-18 08:15:03] local.INFO: Packet analysis {"connection_id":105747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89d"} 
[2026-06-18 08:15:03] local.INFO: Extracted packet for processing {"connection_id":105747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89d"} 
[2026-06-18 08:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763025344,"raw_latitude":98821240,"longitude_deg":76.3025344,"latitude_deg":9.882124,"altitude":6,"angle":164,"satellites":39,"speed":33,"hex_longitude":"2d7ad7c0","hex_latitude":"05e3e478","is_valid_coordinates":true} 
[2026-06-18 08:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128168192001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93795986891079680,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8849502924339316736,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:03] 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-06-18 08:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781750668000,"timestamp_ms":1781750668000,"timestamp_seconds":1781750668,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89d9ae0"} 
[2026-06-18 08:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-18 08:15:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08: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-06-18 08:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128168192001,"66":13493,"97":206,"85":15104,"24":33,"16":93795986891079680,"45":8849502924339316736},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128168192001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:15:03] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93795986891079680,"km_value":93795986891079.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8849502924339316736,"description":"Unknown IO ID 45"} 
[2026-06-18 08:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128168192001,"power":13493,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8849502924339316736}} 
[2026-06-18 08:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":105747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343228,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:15:03] local.INFO: GPS data processed {"connection_id":105747,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:15:03] local.INFO: Acknowledgment sent {"connection_id":105747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:15:04] local.INFO: TCP Data received {"connection_id":105745,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:04] local.INFO: Processing buffer {"connection_id":105745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:04] local.INFO: IMEI packet received {"connection_id":105745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":105745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:15:04] local.INFO: TCP Data received {"connection_id":105745,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:04] local.INFO: Processing buffer {"connection_id":105745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:04] local.INFO: IMEI packet received {"connection_id":105745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":105745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:15:06] local.INFO: TCP Data received {"connection_id":105745,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:06] local.INFO: Processing buffer {"connection_id":105745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:06] local.INFO: Packet analysis {"connection_id":105745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:15:06] local.INFO: Extracted packet for processing {"connection_id":105745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:15:06] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:15:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":105745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:15:06] local.INFO: GPS data processed {"connection_id":105745,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:15:06] local.INFO: Acknowledgment sent {"connection_id":105745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:15:07] local.INFO: TCP Data received {"connection_id":105745,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:07] local.INFO: Processing buffer {"connection_id":105745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:07] local.INFO: Packet analysis {"connection_id":105745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:15:07] local.INFO: Extracted packet for processing {"connection_id":105745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:15:07] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:15:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":105745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:15:07] local.INFO: GPS data processed {"connection_id":105745,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:15:07] local.INFO: Acknowledgment sent {"connection_id":105745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:15:07] local.INFO: TCP Data received {"connection_id":105747,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89dc9c0012d7ae1c005e3c110000600a426..."} 
[2026-06-18 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89dc9c0012d7ae1c005e3c110000600a426..."} 
[2026-06-18 08:15:07] local.INFO: Processing buffer {"connection_id":105747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89dc9c0012d7ae1c005e3c110000600a426..."} 
[2026-06-18 08:15:07] local.INFO: Packet analysis {"connection_id":105747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89d"} 
[2026-06-18 08:15:07] local.INFO: Extracted packet for processing {"connection_id":105747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89d"} 
[2026-06-18 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763027904,"raw_latitude":98812176,"longitude_deg":76.3027904,"latitude_deg":9.8812176,"altitude":6,"angle":164,"satellites":38,"speed":32,"hex_longitude":"2d7ae1c0","hex_latitude":"05e3c110","is_valid_coordinates":true} 
[2026-06-18 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128171008001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93796442157613056,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8851754724150769664,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15: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-06-18 08:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781750680000,"timestamp_ms":1781750680000,"timestamp_seconds":1781750680,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89dc9c0"} 
[2026-06-18 08:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 08:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105747,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:15: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-06-18 08:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128171008001,"66":13624,"97":206,"85":15104,"24":32,"16":93796442157613056,"45":8851754724150769664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128171008001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:15:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93796442157613056,"km_value":93796442157613.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8851754724150769664,"description":"Unknown IO ID 45"} 
[2026-06-18 08:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128171008001,"power":13624,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8851754724150769664}} 
[2026-06-18 08:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":105747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343231,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:15:07] local.INFO: GPS data processed {"connection_id":105747,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:15:07] local.INFO: Acknowledgment sent {"connection_id":105747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:15:25] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:25] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:25] local.INFO: IMEI packet received {"connection_id":105748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":105748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:15:30] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:30] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:15:30] local.INFO: IMEI packet received {"connection_id":105748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":105748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:15:31] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:31] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:15:31] local.INFO: Packet analysis {"connection_id":105748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:15:31] local.INFO: Extracted packet for processing {"connection_id":105748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:15:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:15:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:15:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":105748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:15:31] local.INFO: GPS data processed {"connection_id":105748,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:15:31] local.INFO: Acknowledgment sent {"connection_id":105748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:15:48] local.INFO: TCP Data received {"connection_id":106292,"ip":"45.156.129.158","data_length":178,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-18 08:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":178,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-18 08:15:48] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":178,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-06-18 08:15:48] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":106292,"buffer_length":178,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-06-18 08:15:52] local.INFO: TCP Data received {"connection_id":105542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:52] local.INFO: Processing buffer {"connection_id":105542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:52] local.INFO: IMEI packet received {"connection_id":105542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":105542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:15:57] local.INFO: TCP Data received {"connection_id":105542,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105542,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:57] local.INFO: Processing buffer {"connection_id":105542,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:15:57] local.INFO: IMEI packet received {"connection_id":105542,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":105542,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:15:58] local.INFO: TCP Data received {"connection_id":105542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89df0d0012d7aec8005e39fa0000500a226..."} 
[2026-06-18 08:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89df0d0012d7aec8005e39fa0000500a226..."} 
[2026-06-18 08:15:58] local.INFO: Processing buffer {"connection_id":105542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89df0d0012d7aec8005e39fa0000500a226..."} 
[2026-06-18 08:15:58] local.INFO: Packet analysis {"connection_id":105542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89d"} 
[2026-06-18 08:15:58] local.INFO: Extracted packet for processing {"connection_id":105542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89d"} 
[2026-06-18 08:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763030656,"raw_latitude":98803616,"longitude_deg":76.3030656,"latitude_deg":9.8803616,"altitude":5,"angle":162,"satellites":38,"speed":30,"hex_longitude":"2d7aec80","hex_latitude":"05e39fa0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128174080001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93796880244277248,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854569473915555840,"note":"Value kept but may cause issues"} 
[2026-06-18 08:15: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-06-18 08:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781750690000,"timestamp_ms":1781750690000,"timestamp_seconds":1781750690,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89df0d0"} 
[2026-06-18 08:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:15: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-06-18 08: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-18 08:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08: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-06-18 08:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128174080001,"66":13396,"97":206,"85":15104,"24":30,"16":93796880244277248,"45":8854569473915555840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128174080001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:15:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93796880244277248,"km_value":93796880244277.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854569473915555840,"description":"Unknown IO ID 45"} 
[2026-06-18 08:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128174080001,"power":13396,"unknown_97":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8854569473915555840}} 
[2026-06-18 08:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":105542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:15:58] local.INFO: GPS data processed {"connection_id":105542,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:15:58] local.INFO: Acknowledgment sent {"connection_id":105542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:16:02] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:16:02] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:16:02] local.INFO: Packet analysis {"connection_id":105748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:16:02] local.INFO: Extracted packet for processing {"connection_id":105748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:16:02] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:16:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:16:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":105748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:16:02] local.INFO: GPS data processed {"connection_id":105748,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:16:02] local.INFO: Acknowledgment sent {"connection_id":105748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:16:25] local.INFO: TCP Data received {"connection_id":105543,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:16:25] local.INFO: Processing buffer {"connection_id":105543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:16:25] local.INFO: IMEI packet received {"connection_id":105543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":105543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:16:29] local.INFO: TCP Data received {"connection_id":105542,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89e2b68012d7aef0005e39610000500b029..."} 
[2026-06-18 08:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89e2b68012d7aef0005e39610000500b029..."} 
[2026-06-18 08:16:29] local.INFO: Processing buffer {"connection_id":105542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89e2b68012d7aef0005e39610000500b029..."} 
[2026-06-18 08:16:29] local.INFO: Packet analysis {"connection_id":105542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89e"} 
[2026-06-18 08:16:29] local.INFO: Extracted packet for processing {"connection_id":105542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89e"} 
[2026-06-18 08:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763031296,"raw_latitude":98801168,"longitude_deg":76.3031296,"latitude_deg":9.8801168,"altitude":5,"angle":176,"satellites":41,"speed":9,"hex_longitude":"2d7aef00","hex_latitude":"05e39610","is_valid_coordinates":true} 
[2026-06-18 08:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128176640001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93797004798328832,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8857595329913004032,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16: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-06-18 08:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781750705000,"timestamp_ms":1781750705000,"timestamp_seconds":1781750705,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89e2b68"} 
[2026-06-18 08:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:16: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-06-18 08:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-18 08:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:16:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105542,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08: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-06-18 08:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128176640001,"66":13341,"97":206,"85":15104,"24":9,"16":93797004798328832,"45":8857595329913004032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128176640001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:16:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93797004798328832,"km_value":93797004798328.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8857595329913004032,"description":"Unknown IO ID 45"} 
[2026-06-18 08:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128176640001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8857595329913004032}} 
[2026-06-18 08:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":105542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343235,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:16:29] local.INFO: GPS data processed {"connection_id":105542,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:16:29] local.INFO: Acknowledgment sent {"connection_id":105542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:16:30] local.INFO: TCP Data received {"connection_id":105543,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:16:30] local.INFO: Processing buffer {"connection_id":105543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:16:30] local.INFO: IMEI packet received {"connection_id":105543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":105543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:16:31] local.INFO: TCP Data received {"connection_id":105543,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:16:31] local.INFO: Processing buffer {"connection_id":105543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:16:31] local.INFO: Packet analysis {"connection_id":105543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:16:31] local.INFO: Extracted packet for processing {"connection_id":105543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:16:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:16:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:16:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":105543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:16:31] local.INFO: GPS data processed {"connection_id":105543,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:16:31] local.INFO: Acknowledgment sent {"connection_id":105543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:16:52] local.INFO: TCP Data received {"connection_id":106293,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:16:52] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:16:52] local.INFO: IMEI packet received {"connection_id":106293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":106293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:16:55] local.INFO: TCP Data received {"connection_id":106293,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:16:55] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:16:55] local.INFO: IMEI packet received {"connection_id":106293,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":106293,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:16:56] local.INFO: TCP Data received {"connection_id":106293,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89f4c78012d7b0d8005e356200008002123..."} 
[2026-06-18 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89f4c78012d7b0d8005e356200008002123..."} 
[2026-06-18 08:16:56] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89f4c78012d7b0d8005e356200008002123..."} 
[2026-06-18 08:16:56] local.INFO: Packet analysis {"connection_id":106293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:16:56] local.INFO: Extracted packet for processing {"connection_id":106293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763039104,"raw_latitude":98784800,"longitude_deg":76.3039104,"latitude_deg":9.87848,"altitude":8,"angle":33,"satellites":35,"speed":10,"hex_longitude":"2d7b0d80","hex_latitude":"05e35620","is_valid_coordinates":true} 
[2026-06-18 08:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128198912001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93797962576035840,"note":"Value kept but may cause issues"} 
[2026-06-18 08:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529162844160,"note":"Value kept but may cause issues"} 
[2026-06-18 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-06-18 08:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781750779000,"timestamp_ms":1781750779000,"timestamp_seconds":1781750779,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89f4c78"} 
[2026-06-18 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-06-18 08:16: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-06-18 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":127,"data_length":795,"current_offset":136} 
[2026-06-18 08:16:56] 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-06-18 08:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 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-06-18 08:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:16: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-06-18 08:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128198912001,"66":13439,"97":206,"85":15104,"24":10,"16":93797962576035840,"45":8866602529162844160},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128198912001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:16:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93797962576035840,"km_value":93797962576035.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529162844160,"description":"Unknown IO ID 45"} 
[2026-06-18 08:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128198912001,"power":13439,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8866602529162844160}} 
[2026-06-18 08:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":106293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343237,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:16:56] local.INFO: GPS data processed {"connection_id":106293,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:16:56] local.INFO: Acknowledgment sent {"connection_id":106293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:17:03] local.INFO: TCP Data received {"connection_id":105543,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:17:03] local.INFO: Processing buffer {"connection_id":105543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:17:03] local.INFO: Packet analysis {"connection_id":105543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:17:03] local.INFO: Extracted packet for processing {"connection_id":105543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:17:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:17:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:17:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:17:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":105543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:17:03] local.INFO: GPS data processed {"connection_id":105543,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:17:03] local.INFO: Acknowledgment sent {"connection_id":105543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:17:27] local.INFO: TCP Data received {"connection_id":106293,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89f8710012d7b228005e375180008001d29..."} 
[2026-06-18 08:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89f8710012d7b228005e375180008001d29..."} 
[2026-06-18 08:17:27] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89f8710012d7b228005e375180008001d29..."} 
[2026-06-18 08:17:27] local.INFO: Packet analysis {"connection_id":106293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:17:27] local.INFO: Extracted packet for processing {"connection_id":106293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763044480,"raw_latitude":98792728,"longitude_deg":76.304448,"latitude_deg":9.8792728,"altitude":8,"angle":29,"satellites":41,"speed":31,"hex_longitude":"2d7b2280","hex_latitude":"05e37518","is_valid_coordinates":true} 
[2026-06-18 08:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128199424001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93798426432503808,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866884004139638784,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17: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-06-18 08:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781750794000,"timestamp_ms":1781750794000,"timestamp_seconds":1781750794,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89f8710"} 
[2026-06-18 08:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:17: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-06-18 08:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-06-18 08:17:27] 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-06-18 08:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106293,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:17: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-06-18 08:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128199424001,"66":13363,"97":206,"85":15104,"24":31,"16":93798426432503808,"45":8866884004139638784},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 08:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128199424001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:17:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 08:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93798426432503808,"km_value":93798426432503.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866884004139638784,"description":"Unknown IO ID 45"} 
[2026-06-18 08:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128199424001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8866884004139638784}} 
[2026-06-18 08:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":106293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:17:27] local.INFO: GPS data processed {"connection_id":106293,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:17:27] local.INFO: Acknowledgment sent {"connection_id":106293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:17:31] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:17:31] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:17:31] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:17:36] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:17:36] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:17:36] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:17:37] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:17:37] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89b54d8012d59b000063e3ac8000101482f..."} 
[2026-06-18 08:17:37] local.INFO: Packet analysis {"connection_id":106294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:17:37] local.INFO: Extracted packet for processing {"connection_id":106294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89b"} 
[2026-06-18 08:17:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":47,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128055808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781750519000,"timestamp_ms":1781750519000,"timestamp_seconds":1781750519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89b54d8"} 
[2026-06-18 08:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128055808001,"66":25017,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128055808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:17:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:17:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128055808001,"power":25017,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":106294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:17:37] local.INFO: GPS data processed {"connection_id":106294,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:17:37] local.INFO: Acknowledgment sent {"connection_id":106294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:17:39] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:17:39] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:17:39] local.INFO: Packet analysis {"connection_id":106294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:17:39] local.INFO: Extracted packet for processing {"connection_id":106294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:17:39] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 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-06-18 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-06-18 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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 08:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:17:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:17:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":106294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:17:39] local.INFO: GPS data processed {"connection_id":106294,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:17:39] local.INFO: Acknowledgment sent {"connection_id":106294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:18:02] local.INFO: TCP Data received {"connection_id":107274,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:02] local.INFO: Processing buffer {"connection_id":107274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:02] local.INFO: IMEI packet received {"connection_id":107274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":107274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:18:07] local.INFO: TCP Data received {"connection_id":107274,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:07] local.INFO: Processing buffer {"connection_id":107274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:07] local.INFO: IMEI packet received {"connection_id":107274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":107274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:18:08] local.INFO: TCP Data received {"connection_id":107274,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a0b3d8012d7bf0c005e4a3a8000c00202a..."} 
[2026-06-18 08:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a0b3d8012d7bf0c005e4a3a8000c00202a..."} 
[2026-06-18 08:18:08] local.INFO: Processing buffer {"connection_id":107274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a0b3d8012d7bf0c005e4a3a8000c00202a..."} 
[2026-06-18 08:18:08] local.INFO: Packet analysis {"connection_id":107274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a0"} 
[2026-06-18 08:18:08] local.INFO: Extracted packet for processing {"connection_id":107274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a0"} 
[2026-06-18 08:18:08] local.INFO: GPS Element Parsed {"raw_longitude":763097280,"raw_latitude":98870184,"longitude_deg":76.309728,"latitude_deg":9.8870184,"altitude":12,"angle":32,"satellites":42,"speed":60,"hex_longitude":"2d7bf0c0","hex_latitude":"05e4a3a8","is_valid_coordinates":true} 
[2026-06-18 08:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128221440001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93802953328033792,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925501168059549696,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:08] 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-06-18 08:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781750871000,"timestamp_ms":1781750871000,"timestamp_seconds":1781750871,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a0b3d8"} 
[2026-06-18 08:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 08:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:18:08] 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-06-18 08:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128221440001,"66":13243,"95":206,"85":15104,"24":60,"16":93802953328033792,"45":8925501168059549696},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-18 08:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128221440001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:18:08] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 08:18:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93802953328033792,"km_value":93802953328033.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925501168059549696,"description":"Unknown IO ID 45"} 
[2026-06-18 08:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128221440001,"power":13243,"unknown_95":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8925501168059549696}} 
[2026-06-18 08:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":107274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:18:08] local.INFO: GPS data processed {"connection_id":107274,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:18:08] local.INFO: Acknowledgment sent {"connection_id":107274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:18:11] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:18:11] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:18:11] local.INFO: Packet analysis {"connection_id":106294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:18:11] local.INFO: Extracted packet for processing {"connection_id":106294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:18:11] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:18:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:18:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":106294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:18:11] local.INFO: GPS data processed {"connection_id":106294,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:18:11] local.INFO: Acknowledgment sent {"connection_id":106294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:18:25] local.INFO: TCP Data received {"connection_id":105749,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:18:25] local.INFO: Processing buffer {"connection_id":105749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:18:25] local.INFO: IMEI packet received {"connection_id":105749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":105749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:18:30] local.INFO: TCP Data received {"connection_id":105749,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:18:30] local.INFO: Processing buffer {"connection_id":105749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:18:30] local.INFO: IMEI packet received {"connection_id":105749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":105749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:18:31] local.INFO: TCP Data received {"connection_id":105749,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:18:31] local.INFO: Processing buffer {"connection_id":105749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:18:31] local.INFO: Packet analysis {"connection_id":105749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:18:31] local.INFO: Extracted packet for processing {"connection_id":105749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:18:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:18:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:18:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":105749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:18:31] local.INFO: GPS data processed {"connection_id":105749,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:18:31] local.INFO: Acknowledgment sent {"connection_id":105749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:18:52] local.INFO: TCP Data received {"connection_id":107275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:52] local.INFO: Processing buffer {"connection_id":107275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:52] local.INFO: IMEI packet received {"connection_id":107275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":107275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:18:57] local.INFO: TCP Data received {"connection_id":107275,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107275,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:57] local.INFO: Processing buffer {"connection_id":107275,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:18:57] local.INFO: IMEI packet received {"connection_id":107275,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":107275,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:18:58] local.INFO: TCP Data received {"connection_id":107275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a0cb48012d7c048005e4c158000a00212a..."} 
[2026-06-18 08:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a0cb48012d7c048005e4c158000a00212a..."} 
[2026-06-18 08:18:58] local.INFO: Processing buffer {"connection_id":107275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a0cb48012d7c048005e4c158000a00212a..."} 
[2026-06-18 08:18:58] local.INFO: Packet analysis {"connection_id":107275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a0"} 
[2026-06-18 08:18:58] local.INFO: Extracted packet for processing {"connection_id":107275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a0"} 
[2026-06-18 08:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763102336,"raw_latitude":98877784,"longitude_deg":76.3102336,"latitude_deg":9.8877784,"altitude":10,"angle":33,"satellites":42,"speed":58,"hex_longitude":"2d7c0480","hex_latitude":"05e4c158","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128222976001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93803395709665280,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930849192618993664,"note":"Value kept but may cause issues"} 
[2026-06-18 08:18: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-06-18 08:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781750877000,"timestamp_ms":1781750877000,"timestamp_seconds":1781750877,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a0cb48"} 
[2026-06-18 08:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:18: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-06-18 08:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 08:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:18: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-06-18 08:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128222976001,"66":13048,"95":206,"85":15104,"24":58,"16":93803395709665280,"45":8930849192618993664},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-18 08:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128222976001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:18:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 08:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93803395709665280,"km_value":93803395709665.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930849192618993664,"description":"Unknown IO ID 45"} 
[2026-06-18 08:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128222976001,"power":13048,"unknown_95":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8930849192618993664}} 
[2026-06-18 08:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":107275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343245,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:18:58] local.INFO: GPS data processed {"connection_id":107275,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:18:58] local.INFO: Acknowledgment sent {"connection_id":107275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:19:03] local.INFO: TCP Data received {"connection_id":105749,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:19:03] local.INFO: Processing buffer {"connection_id":105749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:19:03] local.INFO: Packet analysis {"connection_id":105749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:19:03] local.INFO: Extracted packet for processing {"connection_id":105749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 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-06-18 08:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:19:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 08:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:19:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:19:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":105749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:19:03] local.INFO: GPS data processed {"connection_id":105749,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:19:03] local.INFO: Acknowledgment sent {"connection_id":105749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:19:30] local.INFO: TCP Data received {"connection_id":107275,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a0ea88012d7c180005e4de58000600212a..."} 
[2026-06-18 08:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a0ea88012d7c180005e4de58000600212a..."} 
[2026-06-18 08:19:30] local.INFO: Processing buffer {"connection_id":107275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a0ea88012d7c180005e4de58000600212a..."} 
[2026-06-18 08:19:30] local.INFO: Packet analysis {"connection_id":107275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a0"} 
[2026-06-18 08:19:30] local.INFO: Extracted packet for processing {"connection_id":107275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a0"} 
[2026-06-18 08:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763107328,"raw_latitude":98885208,"longitude_deg":76.3107328,"latitude_deg":9.8885208,"altitude":6,"angle":33,"satellites":42,"speed":24,"hex_longitude":"2d7c1800","hex_latitude":"05e4de58","is_valid_coordinates":true} 
[2026-06-18 08:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128224512001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93803825206394880,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936408323410974720,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19: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-06-18 08:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781750885000,"timestamp_ms":1781750885000,"timestamp_seconds":1781750885,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a0ea88"} 
[2026-06-18 08:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:19: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-06-18 08:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 08:19: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-06-18 08:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107275,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:19: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-06-18 08:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128224512001,"66":13091,"95":206,"85":15104,"24":24,"16":93803825206394880,"45":8936408323410974720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-18 08:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128224512001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:19:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 08:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 08:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93803825206394880,"km_value":93803825206394.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936408323410974720,"description":"Unknown IO ID 45"} 
[2026-06-18 08:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128224512001,"power":13091,"unknown_95":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8936408323410974720}} 
[2026-06-18 08:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":107275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343247,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:19:30] local.INFO: GPS data processed {"connection_id":107275,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:19:30] local.INFO: Acknowledgment sent {"connection_id":107275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:19:30] local.INFO: TCP Data received {"connection_id":106295,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:19:30] local.INFO: Processing buffer {"connection_id":106295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:19:30] local.INFO: IMEI packet received {"connection_id":106295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":106295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:19:36] local.INFO: TCP Data received {"connection_id":106295,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:19:36] local.INFO: Processing buffer {"connection_id":106295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:19:36] local.INFO: IMEI packet received {"connection_id":106295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":106295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:19:37] local.INFO: TCP Data received {"connection_id":106295,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:19:37] local.INFO: Processing buffer {"connection_id":106295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:19:37] local.INFO: Packet analysis {"connection_id":106295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:19:37] local.INFO: Extracted packet for processing {"connection_id":106295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:19:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:19:37] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:19:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":106295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:19:37] local.INFO: GPS data processed {"connection_id":106295,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:19:37] local.INFO: Acknowledgment sent {"connection_id":106295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:19:52] local.INFO: TCP Data received {"connection_id":107277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:52] local.INFO: Processing buffer {"connection_id":107277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:52] local.INFO: IMEI packet received {"connection_id":107277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":107277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:19:52] local.INFO: TCP Data received {"connection_id":107277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:52] local.INFO: Processing buffer {"connection_id":107277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:52] local.INFO: IMEI packet received {"connection_id":107277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":107277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:19:56] local.INFO: TCP Data received {"connection_id":107277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:56] local.INFO: Processing buffer {"connection_id":107277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:56] local.INFO: IMEI packet received {"connection_id":107277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":107277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:19:57] local.INFO: TCP Data received {"connection_id":107277,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107277,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:57] local.INFO: Processing buffer {"connection_id":107277,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:19:57] local.INFO: IMEI packet received {"connection_id":107277,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":107277,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:19:57] local.INFO: TCP Data received {"connection_id":107277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a24e00012d7c150005e5acd00007014d27..."} 
[2026-06-18 08:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a24e00012d7c150005e5acd00007014d27..."} 
[2026-06-18 08:19:57] local.INFO: Processing buffer {"connection_id":107277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a24e00012d7c150005e5acd00007014d27..."} 
[2026-06-18 08:19:57] local.INFO: Packet analysis {"connection_id":107277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:19:57] local.INFO: Extracted packet for processing {"connection_id":107277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763106560,"raw_latitude":98938064,"longitude_deg":76.310656,"latitude_deg":9.8938064,"altitude":7,"angle":333,"satellites":39,"speed":7,"hex_longitude":"2d7c1500","hex_latitude":"05e5acd0","is_valid_coordinates":true} 
[2026-06-18 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128249088001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93806616935137280,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941123029286283264,"note":"Value kept but may cause issues"} 
[2026-06-18 08:19:57] 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-06-18 08:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781750976000,"timestamp_ms":1781750976000,"timestamp_seconds":1781750976,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a24e00"} 
[2026-06-18 08:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:19: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-06-18 08:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 08:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":107277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":107277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":107277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:19: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-06-18 08:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128249088001,"66":13363,"39":206,"87":13824,"24":7,"16":93806616935137280,"45":8941123029286283264},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-18 08:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128249088001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:19:57] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 08:19:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93806616935137280,"km_value":93806616935137.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941123029286283264,"description":"Unknown IO ID 45"} 
[2026-06-18 08:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128249088001,"power":13363,"unknown_39":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8941123029286283264}} 
[2026-06-18 08:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":107277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343249,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:19:57] local.INFO: GPS data processed {"connection_id":107277,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:19:57] local.INFO: Acknowledgment sent {"connection_id":107277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:19:59] local.INFO: TCP Data received {"connection_id":107276,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:19:59] local.INFO: Processing buffer {"connection_id":107276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:19:59] local.INFO: IMEI packet received {"connection_id":107276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":107276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:20:03] local.INFO: TCP Data received {"connection_id":107277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a284b0012d7c040005e5cc900007014825..."} 
[2026-06-18 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a284b0012d7c040005e5cc900007014825..."} 
[2026-06-18 08:20:03] local.INFO: Processing buffer {"connection_id":107277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a284b0012d7c040005e5cc900007014825..."} 
[2026-06-18 08:20:03] local.INFO: Packet analysis {"connection_id":107277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:20:03] local.INFO: Extracted packet for processing {"connection_id":107277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:20:03] local.INFO: GPS Element Parsed {"raw_longitude":763102208,"raw_latitude":98946192,"longitude_deg":76.3102208,"latitude_deg":9.8946192,"altitude":7,"angle":328,"satellites":37,"speed":34,"hex_longitude":"2d7c0400","hex_latitude":"05e5cc90","is_valid_coordinates":true} 
[2026-06-18 08:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128249856001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93807059316768768,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941052660542132224,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:03] 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-06-18 08:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781750990000,"timestamp_ms":1781750990000,"timestamp_seconds":1781750990,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a284b0"} 
[2026-06-18 08:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 08:20:03] 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-06-18 08:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:20: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-06-18 08:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128249856001,"66":13243,"40":206,"87":13824,"24":34,"16":93807059316768768,"45":8941052660542132224},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-18 08:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128249856001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:20:03] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 08:20:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93807059316768768,"km_value":93807059316768.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941052660542132224,"description":"Unknown IO ID 45"} 
[2026-06-18 08:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128249856001,"power":13243,"unknown_40":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8941052660542132224}} 
[2026-06-18 08:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":107277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343250,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:20:03] local.INFO: GPS data processed {"connection_id":107277,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:20:03] local.INFO: Acknowledgment sent {"connection_id":107277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:20:15] local.INFO: TCP Data received {"connection_id":106295,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:20:15] local.INFO: Processing buffer {"connection_id":106295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:20:15] local.INFO: Packet analysis {"connection_id":106295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:20:15] local.INFO: Extracted packet for processing {"connection_id":106295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:20:15] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:20:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:20:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:20:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:20:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:20:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:20:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:20:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:20:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:20:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:20:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:20:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:20:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:20:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:20:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:20:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:20:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:20:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:20:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:20:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:20:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:20:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:20:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:20:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:20:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:20:15] local.INFO: DEBUG: GPS processor result {"connection_id":106295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:20:15] local.INFO: GPS data processed {"connection_id":106295,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:20:15] local.INFO: Acknowledgment sent {"connection_id":106295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:20:26] local.INFO: TCP Data received {"connection_id":107278,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:20:26] local.INFO: Processing buffer {"connection_id":107278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:20:26] local.INFO: IMEI packet received {"connection_id":107278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":107278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:20:31] local.INFO: TCP Data received {"connection_id":107278,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:20:31] local.INFO: Processing buffer {"connection_id":107278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:20:31] local.INFO: IMEI packet received {"connection_id":107278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":107278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:20:32] local.INFO: TCP Data received {"connection_id":107278,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:20:32] local.INFO: Processing buffer {"connection_id":107278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:20:32] local.INFO: Packet analysis {"connection_id":107278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:20:32] local.INFO: Extracted packet for processing {"connection_id":107278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:20:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:20:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:20:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":107278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:20:32] local.INFO: GPS data processed {"connection_id":107278,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:20:32] local.INFO: Acknowledgment sent {"connection_id":107278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:20:33] local.INFO: TCP Data received {"connection_id":107277,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a29450012d7bfa8005e5d6e00006013a28..."} 
[2026-06-18 08:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a29450012d7bfa8005e5d6e00006013a28..."} 
[2026-06-18 08:20:33] local.INFO: Processing buffer {"connection_id":107277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a29450012d7bfa8005e5d6e00006013a28..."} 
[2026-06-18 08:20:33] local.INFO: Packet analysis {"connection_id":107277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:20:33] local.INFO: Extracted packet for processing {"connection_id":107277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:20:33] local.INFO: GPS Element Parsed {"raw_longitude":763099776,"raw_latitude":98948832,"longitude_deg":76.3099776,"latitude_deg":9.8948832,"altitude":6,"angle":314,"satellites":40,"speed":36,"hex_longitude":"2d7bfa80","hex_latitude":"05e5d6e0","is_valid_coordinates":true} 
[2026-06-18 08:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128253440001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93807235410427904,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936267585940131840,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:33] 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-06-18 08:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781750994000,"timestamp_ms":1781750994000,"timestamp_seconds":1781750994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a29450"} 
[2026-06-18 08:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:20:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 08:20:33] 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-06-18 08:20:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107277,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:20:33] 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-06-18 08:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128253440001,"66":13135,"40":206,"87":13824,"24":36,"16":93807235410427904,"45":8936267585940131840},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-18 08:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128253440001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:20:33] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 08:20:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93807235410427904,"km_value":93807235410427.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936267585940131840,"description":"Unknown IO ID 45"} 
[2026-06-18 08:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128253440001,"power":13135,"unknown_40":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8936267585940131840}} 
[2026-06-18 08:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":107277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:20:34] local.INFO: GPS data processed {"connection_id":107277,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:20:34] local.INFO: Acknowledgment sent {"connection_id":107277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:20:34] local.INFO: TCP Data received {"connection_id":107279,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:20:34] local.INFO: Processing buffer {"connection_id":107279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:20:34] local.INFO: IMEI packet received {"connection_id":107279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:20:34] local.INFO: IMEI acknowledgment sent {"connection_id":107279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:20:52] local.INFO: TCP Data received {"connection_id":105751,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:20:52] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:20:52] local.INFO: IMEI packet received {"connection_id":105751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":105751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:20:57] local.INFO: TCP Data received {"connection_id":105751,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:20:57] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:20:57] local.INFO: IMEI packet received {"connection_id":105751,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":105751,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:20:58] local.INFO: TCP Data received {"connection_id":105751,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a2b778012d7be8c005e5e6280007012f28..."} 
[2026-06-18 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a2b778012d7be8c005e5e6280007012f28..."} 
[2026-06-18 08:20:58] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a2b778012d7be8c005e5e6280007012f28..."} 
[2026-06-18 08:20:58] local.INFO: Packet analysis {"connection_id":105751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:20:58] local.INFO: Extracted packet for processing {"connection_id":105751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763095232,"raw_latitude":98952744,"longitude_deg":76.3095232,"latitude_deg":9.8952744,"altitude":7,"angle":303,"satellites":40,"speed":22,"hex_longitude":"2d7be8c0","hex_latitude":"05e5e628","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128254464001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93807523173236736,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933593573662056448,"note":"Value kept but may cause issues"} 
[2026-06-18 08:20:58] 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-06-18 08:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781751003000,"timestamp_ms":1781751003000,"timestamp_seconds":1781751003,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a2b778"} 
[2026-06-18 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-06-18 08:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 08:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 08:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:20: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-06-18 08:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128254464001,"66":13396,"40":206,"87":13824,"24":22,"16":93807523173236736,"45":8933593573662056448},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-18 08:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128254464001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:20:58] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 08:20:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93807523173236736,"km_value":93807523173236.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933593573662056448,"description":"Unknown IO ID 45"} 
[2026-06-18 08:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128254464001,"power":13396,"unknown_40":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8933593573662056448}} 
[2026-06-18 08:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":105751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343254,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:20:58] local.INFO: GPS data processed {"connection_id":105751,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:20:58] local.INFO: Acknowledgment sent {"connection_id":105751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:21:03] local.INFO: TCP Data received {"connection_id":107278,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:21:03] local.INFO: Processing buffer {"connection_id":107278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:21:03] local.INFO: Packet analysis {"connection_id":107278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:21:03] local.INFO: Extracted packet for processing {"connection_id":107278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:21:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:21:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:21:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":107278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:21:03] local.INFO: GPS data processed {"connection_id":107278,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:21:03] local.INFO: Acknowledgment sent {"connection_id":107278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:21:25] local.INFO: TCP Data received {"connection_id":107280,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:21:25] local.INFO: Processing buffer {"connection_id":107280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:21:25] local.INFO: IMEI packet received {"connection_id":107280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":107280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:21:29] local.INFO: TCP Data received {"connection_id":105751,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a2c718012d7be04005e5ecd80007014028..."} 
[2026-06-18 08:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a2c718012d7be04005e5ecd80007014028..."} 
[2026-06-18 08:21:29] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a2c718012d7be04005e5ecd80007014028..."} 
[2026-06-18 08:21:29] local.INFO: Packet analysis {"connection_id":105751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:21:29] local.INFO: Extracted packet for processing {"connection_id":105751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a2"} 
[2026-06-18 08:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763093056,"raw_latitude":98954456,"longitude_deg":76.3093056,"latitude_deg":9.8954456,"altitude":7,"angle":320,"satellites":40,"speed":31,"hex_longitude":"2d7be040","hex_latitude":"05e5ecd8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128256768001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93807656317222912,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928597392826443776,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:29] 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-06-18 08:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781751007000,"timestamp_ms":1781751007000,"timestamp_seconds":1781751007,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a2c718"} 
[2026-06-18 08:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:21: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-06-18 08:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-18 08:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105751,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:21: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-06-18 08:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128256768001,"66":13341,"40":206,"87":13824,"24":31,"16":93807656317222912,"45":8928597392826443776},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-18 08:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128256768001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:21:29] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 08:21:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93807656317222912,"km_value":93807656317222.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928597392826443776,"description":"Unknown IO ID 45"} 
[2026-06-18 08:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128256768001,"power":13341,"unknown_40":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8928597392826443776}} 
[2026-06-18 08:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":105751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343256,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:21:29] local.INFO: GPS data processed {"connection_id":105751,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:21:29] local.INFO: Acknowledgment sent {"connection_id":105751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:21:31] local.INFO: TCP Data received {"connection_id":107280,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:21:31] local.INFO: Processing buffer {"connection_id":107280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:21:31] local.INFO: IMEI packet received {"connection_id":107280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":107280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:21:32] local.INFO: TCP Data received {"connection_id":107280,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:21:32] local.INFO: Processing buffer {"connection_id":107280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:21:32] local.INFO: Packet analysis {"connection_id":107280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:21:32] local.INFO: Extracted packet for processing {"connection_id":107280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:21:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:21:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:21:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":107280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:21:32] local.INFO: GPS data processed {"connection_id":107280,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:21:32] local.INFO: Acknowledgment sent {"connection_id":107280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:21:53] local.INFO: TCP Data received {"connection_id":105752,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:53] local.INFO: Processing buffer {"connection_id":105752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:53] local.INFO: IMEI packet received {"connection_id":105752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":105752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:21:57] local.INFO: TCP Data received {"connection_id":105752,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:57] local.INFO: Processing buffer {"connection_id":105752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:57] local.INFO: IMEI packet received {"connection_id":105752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":105752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:21:58] local.INFO: TCP Data received {"connection_id":105752,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:58] local.INFO: Processing buffer {"connection_id":105752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:58] local.INFO: IMEI packet received {"connection_id":105752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":105752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:21:59] local.INFO: TCP Data received {"connection_id":105752,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105752,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:59] local.INFO: Processing buffer {"connection_id":105752,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:21:59] local.INFO: IMEI packet received {"connection_id":105752,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":105752,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:22:00] local.INFO: TCP Data received {"connection_id":105752,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a40768012d7b950005e6bd400008000628..."} 
[2026-06-18 08:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a40768012d7b950005e6bd400008000628..."} 
[2026-06-18 08:22:00] local.INFO: Processing buffer {"connection_id":105752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a40768012d7b950005e6bd400008000628..."} 
[2026-06-18 08:22:00] local.INFO: Packet analysis {"connection_id":105752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:22:00] local.INFO: Extracted packet for processing {"connection_id":105752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763073792,"raw_latitude":99007808,"longitude_deg":76.3073792,"latitude_deg":9.9007808,"altitude":8,"angle":6,"satellites":40,"speed":33,"hex_longitude":"2d7b9500","hex_latitude":"05e6bd40","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128278528001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93810430866096128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905023863540809728,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:00] 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-06-18 08:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781751089000,"timestamp_ms":1781751089000,"timestamp_seconds":1781751089,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a40768"} 
[2026-06-18 08:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:22: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-06-18 08:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-18 08:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:22: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-06-18 08:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128278528001,"66":12809,"95":206,"87":13824,"24":33,"16":93810430866096128,"45":8905023863540809728},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-18 08:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128278528001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:22:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 08:22:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93810430866096128,"km_value":93810430866096.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905023863540809728,"description":"Unknown IO ID 45"} 
[2026-06-18 08:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128278528001,"power":12809,"unknown_95":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8905023863540809728}} 
[2026-06-18 08:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":105752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343258,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:22:00] local.INFO: GPS data processed {"connection_id":105752,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:22:00] local.INFO: Acknowledgment sent {"connection_id":105752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:22:01] local.INFO: TCP Data received {"connection_id":105752,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a422c0012d7b97c005e6d5700006016327..."} 
[2026-06-18 08:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a422c0012d7b97c005e6d5700006016327..."} 
[2026-06-18 08:22:01] local.INFO: Processing buffer {"connection_id":105752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a422c0012d7b97c005e6d5700006016327..."} 
[2026-06-18 08:22:01] local.INFO: Packet analysis {"connection_id":105752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:22:01] local.INFO: Extracted packet for processing {"connection_id":105752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763074496,"raw_latitude":99014000,"longitude_deg":76.3074496,"latitude_deg":9.9014,"altitude":6,"angle":355,"satellites":39,"speed":37,"hex_longitude":"2d7b97c0","hex_latitude":"05e6d570","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128278784001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93810731513806848,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905023863541022720,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22: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-06-18 08:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781751096000,"timestamp_ms":1781751096000,"timestamp_seconds":1781751096,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a422c0"} 
[2026-06-18 08:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:22: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-06-18 08: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3634597456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-6684388577029404608,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":50,"raw_value":7638330700210425431,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1859247774172623833,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755541175107825,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,87,24,241,157,16,72,158,3,45,186,8,40,10,66,216,128,151,38,71,181,64,1,240,51,227,230,4,113,205,142,184,39,239,50,2,77,5,6,33,54,206],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-06-18 08:22:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576467521174044672,"timestamp_seconds":576467521174044.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:22:01] 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-06-18 08:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128278784001,"66":13091,"95":206,"87":13824,"24":37,"16":93810731513806848,"45":8905023863541022720},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-18 08:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128278784001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:22:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 08:22:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93810731513806848,"km_value":93810731513806.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905023863541022720,"description":"Unknown IO ID 45"} 
[2026-06-18 08:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128278784001,"power":13091,"unknown_95":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8905023863541022720}} 
[2026-06-18 08:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":105752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:22:01] local.INFO: GPS data processed {"connection_id":105752,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:22:01] local.INFO: Acknowledgment sent {"connection_id":105752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:22:04] local.INFO: TCP Data received {"connection_id":107280,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:22:04] local.INFO: Processing buffer {"connection_id":107280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:22:04] local.INFO: Packet analysis {"connection_id":107280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:22:04] local.INFO: Extracted packet for processing {"connection_id":107280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:22:04] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:22:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":107280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:22:04] local.INFO: GPS data processed {"connection_id":107280,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:22:04] local.INFO: Acknowledgment sent {"connection_id":107280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:22:25] local.INFO: TCP Data received {"connection_id":106297,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:22:25] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:22:25] local.INFO: IMEI packet received {"connection_id":106297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":106297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:22:31] local.INFO: TCP Data received {"connection_id":106297,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:22:31] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:22:31] local.INFO: IMEI packet received {"connection_id":106297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":106297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:22:32] local.INFO: TCP Data received {"connection_id":106297,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:22:32] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed89feca0012d59b000063e3ac8000101482d..."} 
[2026-06-18 08:22:32] local.INFO: Packet analysis {"connection_id":106297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:22:32] local.INFO: Extracted packet for processing {"connection_id":106297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed89f"} 
[2026-06-18 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":45,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128132864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781750820000,"timestamp_ms":1781750820000,"timestamp_seconds":1781750820,"priority":1,"record_length":96,"hex_timestamp":"0000019ed89feca0"} 
[2026-06-18 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 08:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2348,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128132864001,"66":24995,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128132864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:22:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:22:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128132864001,"power":24995,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":106297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:22:32] local.INFO: GPS data processed {"connection_id":106297,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:22:32] local.INFO: Acknowledgment sent {"connection_id":106297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:22:32] local.INFO: TCP Data received {"connection_id":105752,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a43648012d7b94c005e6e4a80006015725..."} 
[2026-06-18 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a43648012d7b94c005e6e4a80006015725..."} 
[2026-06-18 08:22:32] local.INFO: Processing buffer {"connection_id":105752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a43648012d7b94c005e6e4a80006015725..."} 
[2026-06-18 08:22:32] local.INFO: Packet analysis {"connection_id":105752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:22:32] local.INFO: Extracted packet for processing {"connection_id":105752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763073728,"raw_latitude":99017896,"longitude_deg":76.3073728,"latitude_deg":9.9017896,"altitude":6,"angle":343,"satellites":37,"speed":28,"hex_longitude":"2d7b94c0","hex_latitude":"05e6e4a8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128280576001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93810924787335168,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905797919728562176,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:32] 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-06-18 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781751101000,"timestamp_ms":1781751101000,"timestamp_seconds":1781751101,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a43648"} 
[2026-06-18 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 08:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105752,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:22:32] 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-06-18 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128280576001,"66":13559,"95":206,"87":13824,"24":28,"16":93810924787335168,"45":8905797919728562176},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-18 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128280576001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:22:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 08:22:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93810924787335168,"km_value":93810924787335.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905797919728562176,"description":"Unknown IO ID 45"} 
[2026-06-18 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128280576001,"power":13559,"unknown_95":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8905797919728562176}} 
[2026-06-18 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":105752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:22:32] local.INFO: GPS data processed {"connection_id":105752,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:22:32] local.INFO: Acknowledgment sent {"connection_id":105752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:22:52] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:22:52] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:22:52] local.INFO: IMEI packet received {"connection_id":106298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":106298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:22:57] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:22:57] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:22:57] local.INFO: IMEI packet received {"connection_id":106298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":106298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:22:58] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a45d58012d7b888005e705700006015d25..."} 
[2026-06-18 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a45d58012d7b888005e705700006015d25..."} 
[2026-06-18 08:22:58] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a45d58012d7b888005e705700006015d25..."} 
[2026-06-18 08:22:58] local.INFO: Packet analysis {"connection_id":106298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:22:58] local.INFO: Extracted packet for processing {"connection_id":106298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763070592,"raw_latitude":99026288,"longitude_deg":76.3070592,"latitude_deg":9.9026288,"altitude":6,"angle":349,"satellites":37,"speed":35,"hex_longitude":"2d7b8880","hex_latitude":"05e70570","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93811362873999360,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904953494799427584,"note":"Value kept but may cause issues"} 
[2026-06-18 08:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781751111000,"timestamp_ms":1781751111000,"timestamp_seconds":1781751111,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a45d58"} 
[2026-06-18 08:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:22: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-06-18 08: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-06-18 08:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:22: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-06-18 08:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128281856001,"66":13254,"95":206,"87":13824,"24":35,"16":93811362873999360,"45":8904953494799427584},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-18 08:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:22:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 08:22:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93811362873999360,"km_value":93811362873999.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904953494799427584,"description":"Unknown IO ID 45"} 
[2026-06-18 08:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128281856001,"power":13254,"unknown_95":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8904953494799427584}} 
[2026-06-18 08:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":106298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:22:58] local.INFO: GPS data processed {"connection_id":106298,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:22:58] local.INFO: Acknowledgment sent {"connection_id":106298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:23:03] local.INFO: TCP Data received {"connection_id":106297,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:03] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:03] local.INFO: Packet analysis {"connection_id":106297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:03] local.INFO: Extracted packet for processing {"connection_id":106297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:03] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128209920001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751121000,"timestamp_ms":1781751121000,"timestamp_seconds":1781751121,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a48468"} 
[2026-06-18 08:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 08:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128209920001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128209920001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:23:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:23:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128209920001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":106297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:23:03] local.INFO: GPS data processed {"connection_id":106297,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:23:03] local.INFO: Acknowledgment sent {"connection_id":106297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:23:29] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:29] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:29] local.INFO: IMEI packet received {"connection_id":107282,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":107282,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:23:29] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a46cf8012d7b858005e710a00004014c26..."} 
[2026-06-18 08:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a46cf8012d7b858005e710a00004014c26..."} 
[2026-06-18 08:23:29] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a46cf8012d7b858005e710a00004014c26..."} 
[2026-06-18 08:23:29] local.INFO: Packet analysis {"connection_id":106298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:29] local.INFO: Extracted packet for processing {"connection_id":106298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763069824,"raw_latitude":99029152,"longitude_deg":76.3069824,"latitude_deg":9.9029152,"altitude":4,"angle":332,"satellites":38,"speed":25,"hex_longitude":"2d7b8580","hex_latitude":"05e710a0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93811504607920128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8901505426336870400,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23: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-06-18 08:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781751115000,"timestamp_ms":1781751115000,"timestamp_seconds":1781751115,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a46cf8"} 
[2026-06-18 08:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:23: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-06-18 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 08:23: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-06-18 08: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-06-18 08:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:23: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-06-18 08:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128284416001,"66":13319,"95":206,"87":13824,"24":25,"16":93811504607920128,"45":8901505426336870400},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-18 08:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:23:29] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 08:23:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93811504607920128,"km_value":93811504607920.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8901505426336870400,"description":"Unknown IO ID 45"} 
[2026-06-18 08:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128284416001,"power":13319,"unknown_95":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8901505426336870400}} 
[2026-06-18 08:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":106298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343265,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:23:29] local.INFO: GPS data processed {"connection_id":106298,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:23:29] local.INFO: Acknowledgment sent {"connection_id":106298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:23:30] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:30] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:30] local.INFO: IMEI packet received {"connection_id":107282,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":107282,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:23:35] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:35] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:23:35] local.INFO: IMEI packet received {"connection_id":107282,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":107282,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:23:40] local.INFO: TCP Data received {"connection_id":105545,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:23:40] local.INFO: Processing buffer {"connection_id":105545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:23:40] local.INFO: IMEI packet received {"connection_id":105545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":105545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:23:40] local.INFO: TCP Data received {"connection_id":105545,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:23:40] local.INFO: Processing buffer {"connection_id":105545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:23:40] local.INFO: IMEI packet received {"connection_id":105545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":105545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:23:42] local.INFO: TCP Data received {"connection_id":105545,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:42] local.INFO: Processing buffer {"connection_id":105545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:42] local.INFO: Packet analysis {"connection_id":105545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:42] local.INFO: Extracted packet for processing {"connection_id":105545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128209920001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781751121000,"timestamp_ms":1781751121000,"timestamp_seconds":1781751121,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a48468"} 
[2026-06-18 08:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 08:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128209920001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128209920001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:23:42] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:23:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128209920001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":105545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:23:42] local.INFO: GPS data processed {"connection_id":105545,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:23:42] local.INFO: Acknowledgment sent {"connection_id":105545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:23:43] local.INFO: TCP Data received {"connection_id":105545,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:43] local.INFO: Processing buffer {"connection_id":105545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a48468012d59b000063e3ac8000101482b..."} 
[2026-06-18 08:23:43] local.INFO: Packet analysis {"connection_id":105545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:43] local.INFO: Extracted packet for processing {"connection_id":105545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:43] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":43,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128209920001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781751121000,"timestamp_ms":1781751121000,"timestamp_seconds":1781751121,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a48468"} 
[2026-06-18 08:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 08:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128209920001,"66":25028,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128209920001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:23:43] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:23:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128209920001,"power":25028,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":105545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:23:43] local.INFO: GPS data processed {"connection_id":105545,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:23:43] local.INFO: Acknowledgment sent {"connection_id":105545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:23:52] local.INFO: TCP Data received {"connection_id":106299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:23:52] local.INFO: Processing buffer {"connection_id":106299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:23:52] local.INFO: IMEI packet received {"connection_id":106299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":106299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:23:57] local.INFO: TCP Data received {"connection_id":106299,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106299,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:23:57] local.INFO: Processing buffer {"connection_id":106299,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:23:57] local.INFO: IMEI packet received {"connection_id":106299,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":106299,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:23:59] local.INFO: TCP Data received {"connection_id":106299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a474c8012d7b828005e714380003013a27..."} 
[2026-06-18 08:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a474c8012d7b828005e714380003013a27..."} 
[2026-06-18 08:23:59] local.INFO: Processing buffer {"connection_id":106299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a474c8012d7b828005e714380003013a27..."} 
[2026-06-18 08:23:59] local.INFO: Packet analysis {"connection_id":106299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:59] local.INFO: Extracted packet for processing {"connection_id":106299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":763069056,"raw_latitude":99030072,"longitude_deg":76.3069056,"latitude_deg":9.9030072,"altitude":3,"angle":314,"satellites":39,"speed":24,"hex_longitude":"2d7b8280","hex_latitude":"05e71438","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128285440001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93811564737462272,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8900661001407471616,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781751117000,"timestamp_ms":1781751117000,"timestamp_seconds":1781751117,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a474c8"} 
[2026-06-18 08:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3634616456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3868667904,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2751948801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":230,"raw_value":8264105346312250880,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298071758,"corrected_to":0} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2147560827,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":94,"raw_value":57787440656439094,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.WARNING: Large IO value detected {"io_id":163,"raw_value":-5377296660220788731,"note":"Value kept but may cause issues"} 
[2026-06-18 08:23:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,95,87,24,241,157,16,73,158,93,45,128,5,6,37,10,66,72,54,192,228,34,1,240,35,227,216,230,4,113,205,33,3,149,40,239,51,2,77,8,31,94,163],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1298071758,"validated":0}]} 
[2026-06-18 08:23:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288595577222529024,"timestamp_seconds":288595577222529.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:23: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-06-18 08:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128285440001,"66":13417,"96":206,"87":13824,"24":24,"16":93811564737462272,"45":8900661001407471616},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 08:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128285440001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:23:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:23:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93811564737462272,"km_value":93811564737462.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8900661001407471616,"description":"Unknown IO ID 45"} 
[2026-06-18 08:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128285440001,"power":13417,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8900661001407471616}} 
[2026-06-18 08:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":106299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:23:59] local.INFO: GPS data processed {"connection_id":106299,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:23:59] local.INFO: Acknowledgment sent {"connection_id":106299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:24:14] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:24:14] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:24:14] local.INFO: IMEI packet received {"connection_id":107282,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":107282,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:24:19] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 08:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 08:24:19] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 08:24:19] local.INFO: Packet analysis {"connection_id":107282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 08:24:19] local.INFO: Extracted packet for processing {"connection_id":107282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 08:24:19] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,178,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:24:19] 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-06-18 08:24:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 08:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":107282,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 08:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 08:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 08:24:19] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 08:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":107282,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 08:24:19] local.ERROR: GPS data processing failed {"connection_id":107282,"error":"No valid data to process"} 
[2026-06-18 08:24:19] local.INFO: Acknowledgment sent {"connection_id":107282,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 08:24:22] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-06-18 08:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-06-18 08:24:22] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015ba80100000000000000000000000000..."} 
[2026-06-18 08:24:22] local.INFO: Packet analysis {"connection_id":107282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 08:24:22] local.INFO: Extracted packet for processing {"connection_id":107282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 08:24: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-06-18 08:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:24:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":89000,"timestamp_seconds":89,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:24:22] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 08:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107282,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 08:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 08:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 08:24:22] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 08:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":107282,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 08:24:22] local.ERROR: GPS data processing failed {"connection_id":107282,"error":"No valid data to process"} 
[2026-06-18 08:24:22] local.INFO: Acknowledgment sent {"connection_id":107282,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 08:24:25] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:24:25] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:24:25] local.INFO: IMEI packet received {"connection_id":105753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":105753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:24:30] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:24:30] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:24:30] local.INFO: IMEI packet received {"connection_id":105753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":105753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:24:31] local.INFO: TCP Data received {"connection_id":106299,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a47c98012d7b7f0005e718600003014827..."} 
[2026-06-18 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a47c98012d7b7f0005e718600003014827..."} 
[2026-06-18 08:24:31] local.INFO: Processing buffer {"connection_id":106299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a47c98012d7b7f0005e718600003014827..."} 
[2026-06-18 08:24:31] local.INFO: Packet analysis {"connection_id":106299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:24:31] local.INFO: Extracted packet for processing {"connection_id":106299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":763068160,"raw_latitude":99031136,"longitude_deg":76.306816,"latitude_deg":9.9031136,"altitude":3,"angle":328,"satellites":39,"speed":28,"hex_longitude":"2d7b7f00","hex_latitude":"05e71860","is_valid_coordinates":true} 
[2026-06-18 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128285952001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93811629161971712,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899816576477575168,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:31] 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-06-18 08:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781751119000,"timestamp_ms":1781751119000,"timestamp_seconds":1781751119,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a47c98"} 
[2026-06-18 08:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-18 08:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106299,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:24: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-06-18 08:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128285952001,"66":13417,"96":206,"87":13824,"24":28,"16":93811629161971712,"45":8899816576477575168},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 08:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128285952001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:24:31] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:24:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93811629161971712,"km_value":93811629161971.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899816576477575168,"description":"Unknown IO ID 45"} 
[2026-06-18 08:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128285952001,"power":13417,"unknown_96":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8899816576477575168}} 
[2026-06-18 08:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":106299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:24:31] local.INFO: GPS data processed {"connection_id":106299,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:24:31] local.INFO: Acknowledgment sent {"connection_id":106299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:24:31] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a616c0012d59b000063e3ac80001014831..."} 
[2026-06-18 08:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a616c0012d59b000063e3ac80001014831..."} 
[2026-06-18 08:24:31] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a616c0012d59b000063e3ac80001014831..."} 
[2026-06-18 08:24:31] local.INFO: Packet analysis {"connection_id":105753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a6"} 
[2026-06-18 08:24:31] local.INFO: Extracted packet for processing {"connection_id":105753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a6"} 
[2026-06-18 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":760852480,"raw_latitude":104741576,"longitude_deg":76.085248,"latitude_deg":10.4741576,"altitude":1,"angle":328,"satellites":49,"speed":0,"hex_longitude":"2d59b000","hex_latitude":"063e3ac8","is_valid_coordinates":true} 
[2026-06-18 08:24: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-06-18 08:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128286976001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781751224000,"timestamp_ms":1781751224000,"timestamp_seconds":1781751224,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a616c0"} 
[2026-06-18 08:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 08:24:31] 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-06-18 08:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128286976001,"66":25006,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128286976001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:24:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:24:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128286976001,"power":25006,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":105753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:24:31] local.INFO: GPS data processed {"connection_id":105753,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:24:31] local.INFO: Acknowledgment sent {"connection_id":105753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:24:52] local.INFO: TCP Data received {"connection_id":106301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:24:52] local.INFO: Processing buffer {"connection_id":106301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:24:52] local.INFO: IMEI packet received {"connection_id":106301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":106301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:24:55] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-06-18 08:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-06-18 08:24:55] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001adb00100000000000000000000000000..."} 
[2026-06-18 08:24:55] local.INFO: Packet analysis {"connection_id":107282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 08:24:55] local.INFO: Extracted packet for processing {"connection_id":107282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 08:24: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-06-18 08:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:24:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":110000,"timestamp_seconds":110,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:24:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 08:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107282,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 08:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 08:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 08:24:55] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 08:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":107282,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 08:24:55] local.ERROR: GPS data processing failed {"connection_id":107282,"error":"No valid data to process"} 
[2026-06-18 08:24:55] local.INFO: Acknowledgment sent {"connection_id":107282,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 08:24:57] local.INFO: TCP Data received {"connection_id":106301,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106301,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:24:57] local.INFO: Processing buffer {"connection_id":106301,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:24:57] local.INFO: IMEI packet received {"connection_id":106301,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":106301,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:24:58] local.INFO: TCP Data received {"connection_id":106301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a48468012d7b7c8005e71e100002015427..."} 
[2026-06-18 08:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a48468012d7b7c8005e71e100002015427..."} 
[2026-06-18 08:24:58] local.INFO: Processing buffer {"connection_id":106301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a48468012d7b7c8005e71e100002015427..."} 
[2026-06-18 08:24:58] local.INFO: Packet analysis {"connection_id":106301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:24:58] local.INFO: Extracted packet for processing {"connection_id":106301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763067520,"raw_latitude":99032592,"longitude_deg":76.306752,"latitude_deg":9.9032592,"altitude":2,"angle":340,"satellites":39,"speed":33,"hex_longitude":"2d7b7c80","hex_latitude":"05e71e10","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128286464001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93811706471383040,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898831414059360256,"note":"Value kept but may cause issues"} 
[2026-06-18 08:24: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-06-18 08:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781751121000,"timestamp_ms":1781751121000,"timestamp_seconds":1781751121,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a48468"} 
[2026-06-18 08:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:24: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-06-18 08: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":105,"data_length":795,"current_offset":136} 
[2026-06-18 08:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08: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-06-18 08:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128286464001,"66":13091,"96":206,"87":13824,"24":33,"16":93811706471383040,"45":8898831414059360256},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 08:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128286464001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:24:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:24:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93811706471383040,"km_value":93811706471383.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898831414059360256,"description":"Unknown IO ID 45"} 
[2026-06-18 08:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128286464001,"power":13091,"unknown_96":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8898831414059360256}} 
[2026-06-18 08:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":106301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:24:58] local.INFO: GPS data processed {"connection_id":106301,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:24:58] local.INFO: Acknowledgment sent {"connection_id":106301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:25:03] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a67480012d59ae80063e3bf80001014e31..."} 
[2026-06-18 08:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a67480012d59ae80063e3bf80001014e31..."} 
[2026-06-18 08:25:03] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a67480012d59ae80063e3bf80001014e31..."} 
[2026-06-18 08:25:03] local.INFO: Packet analysis {"connection_id":105753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a6"} 
[2026-06-18 08:25:03] local.INFO: Extracted packet for processing {"connection_id":105753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a6"} 
[2026-06-18 08:25:03] local.INFO: GPS Element Parsed {"raw_longitude":760852096,"raw_latitude":104741880,"longitude_deg":76.0852096,"latitude_deg":10.474188,"altitude":1,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d59ae80","hex_latitude":"063e3bf8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128313344001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462665492090505216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751248000,"timestamp_ms":1781751248000,"timestamp_seconds":1781751248,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a67480"} 
[2026-06-18 08:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 08:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128313344001,"66":27615,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462665492090505216},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128313344001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:25:03] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:25:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462665492090505216,"description":"Unknown IO ID 45"} 
[2026-06-18 08:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128313344001,"power":27615,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462665492090505216}} 
[2026-06-18 08:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":105753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:25:03] local.INFO: GPS data processed {"connection_id":105753,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:25:03] local.INFO: Acknowledgment sent {"connection_id":105753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:25:28] local.INFO: TCP Data received {"connection_id":107283,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:28] local.INFO: Processing buffer {"connection_id":107283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:28] local.INFO: IMEI packet received {"connection_id":107283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":107283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:25:29] local.INFO: TCP Data received {"connection_id":106301,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a4d670012d7b754005e737a80001015d28..."} 
[2026-06-18 08:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a4d670012d7b754005e737a80001015d28..."} 
[2026-06-18 08:25:29] local.INFO: Processing buffer {"connection_id":106301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a4d670012d7b754005e737a80001015d28..."} 
[2026-06-18 08:25:29] local.INFO: Packet analysis {"connection_id":106301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:25:29] local.INFO: Extracted packet for processing {"connection_id":106301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a4"} 
[2026-06-18 08:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763065664,"raw_latitude":99039144,"longitude_deg":76.3065664,"latitude_deg":9.9039144,"altitude":1,"angle":349,"satellites":40,"speed":13,"hex_longitude":"2d7b7540","hex_latitude":"05e737a8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128286976001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93812041478832128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898127726617956352,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25: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-06-18 08:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781751142000,"timestamp_ms":1781751142000,"timestamp_seconds":1781751142,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a4d670"} 
[2026-06-18 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-06-18 08:25: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-06-18 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 08:25: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-06-18 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-06-18 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-06-18 08:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106301,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08: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-06-18 08:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128286976001,"66":13504,"96":206,"87":13824,"24":13,"16":93812041478832128,"45":8898127726617956352},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 08:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128286976001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:25:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:25:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93812041478832128,"km_value":93812041478832.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898127726617956352,"description":"Unknown IO ID 45"} 
[2026-06-18 08:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128286976001,"power":13504,"unknown_96":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8898127726617956352}} 
[2026-06-18 08:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":106301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343273,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:25:29] local.INFO: GPS data processed {"connection_id":106301,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:25:29] local.INFO: Acknowledgment sent {"connection_id":106301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:25:30] local.INFO: TCP Data received {"connection_id":107283,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:30] local.INFO: Processing buffer {"connection_id":107283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:30] local.INFO: IMEI packet received {"connection_id":107283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":107283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:25:31] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a720600100000000000000000000000000..."} 
[2026-06-18 08:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a720600100000000000000000000000000..."} 
[2026-06-18 08:25:31] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a720600100000000000000000000000000..."} 
[2026-06-18 08:25:31] local.INFO: Packet analysis {"connection_id":107282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:25:31] local.INFO: Extracted packet for processing {"connection_id":107282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781751292000,"timestamp_ms":1781751292000,"timestamp_seconds":1781751292,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a72060"} 
[2026-06-18 08:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 08:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":107282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:25:31] local.INFO: GPS data processed {"connection_id":107282,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:25:31] local.INFO: Acknowledgment sent {"connection_id":107282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:25:36] local.INFO: TCP Data received {"connection_id":107283,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:36] local.INFO: Processing buffer {"connection_id":107283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:25:36] local.INFO: IMEI packet received {"connection_id":107283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":107283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:25:38] local.INFO: TCP Data received {"connection_id":107283,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a6c688012d59ae80063e3bf80001014e31..."} 
[2026-06-18 08:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a6c688012d59ae80063e3bf80001014e31..."} 
[2026-06-18 08:25:38] local.INFO: Processing buffer {"connection_id":107283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a6c688012d59ae80063e3bf80001014e31..."} 
[2026-06-18 08:25:38] local.INFO: Packet analysis {"connection_id":107283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a6"} 
[2026-06-18 08:25:38] local.INFO: Extracted packet for processing {"connection_id":107283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a6"} 
[2026-06-18 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":760852096,"raw_latitude":104741880,"longitude_deg":76.0852096,"latitude_deg":10.474188,"altitude":1,"angle":334,"satellites":49,"speed":0,"hex_longitude":"2d59ae80","hex_latitude":"063e3bf8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:25:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128319488001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571458119237632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462243279625517056,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:25:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781751269000,"timestamp_ms":1781751269000,"timestamp_seconds":1781751269,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a6c688"} 
[2026-06-18 08:25:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:25:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 08:25:38] 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-06-18 08: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-06-18 08:25:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:25:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:25:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:25:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:25:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:25:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:25:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:25:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:25:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128319488001,"66":27691,"219":206,"19":38400,"24":0,"16":317571458119237632,"45":6462243279625517056},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:25:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:25:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:25:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128319488001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:25:38] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:25:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:25:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571458119237632,"km_value":317571458119237.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:25:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462243279625517056,"description":"Unknown IO ID 45"} 
[2026-06-18 08:25:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128319488001,"power":27691,"unknown_219":206,"unknown_19":38400,"ignition":0,"odometer":null,"unknown_45":6462243279625517056}} 
[2026-06-18 08:25:38] local.INFO: DEBUG: GPS processor result {"connection_id":107283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:25:38] local.INFO: GPS data processed {"connection_id":107283,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:25:38] local.INFO: Acknowledgment sent {"connection_id":107283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:25:41] local.INFO: TCP Data received {"connection_id":107283,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a71890012d59a140063e54800006014730..."} 
[2026-06-18 08:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a71890012d59a140063e54800006014730..."} 
[2026-06-18 08:25:41] local.INFO: Processing buffer {"connection_id":107283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a71890012d59a140063e54800006014730..."} 
[2026-06-18 08:25:41] local.INFO: Packet analysis {"connection_id":107283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:25:41] local.INFO: Extracted packet for processing {"connection_id":107283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:25:41] local.INFO: GPS Element Parsed {"raw_longitude":760848704,"raw_latitude":104748160,"longitude_deg":76.0848704,"latitude_deg":10.474816,"altitude":6,"angle":327,"satellites":48,"speed":27,"hex_longitude":"2d59a140","hex_latitude":"063e5480","is_valid_coordinates":true} 
[2026-06-18 08:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128324864001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317571806011588608,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6462243279625517056,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781751290000,"timestamp_ms":1781751290000,"timestamp_seconds":1781751290,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a71890"} 
[2026-06-18 08:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 08:25:41] 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-06-18 08:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128324864001,"66":27658,"219":206,"19":38400,"24":27,"16":317571806011588608,"45":6462243279625517056},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128324864001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:25:41] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:25:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317571806011588608,"km_value":317571806011588.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6462243279625517056,"description":"Unknown IO ID 45"} 
[2026-06-18 08:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128324864001,"power":27658,"unknown_219":206,"unknown_19":38400,"ignition":27,"odometer":null,"unknown_45":6462243279625517056}} 
[2026-06-18 08:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":107283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:25:41] local.INFO: GPS data processed {"connection_id":107283,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:25:41] local.INFO: Acknowledgment sent {"connection_id":107283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:25:57] local.INFO: TCP Data received {"connection_id":105547,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:25:57] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:25:57] local.INFO: IMEI packet received {"connection_id":105547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":105547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:25:58] local.INFO: TCP Data received {"connection_id":105547,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:25:58] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:25:58] local.INFO: IMEI packet received {"connection_id":105547,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":105547,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:25:59] local.INFO: TCP Data received {"connection_id":105547,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a785f0012d7b594005e7e2180003016528..."} 
[2026-06-18 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a785f0012d7b594005e7e2180003016528..."} 
[2026-06-18 08:25:59] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a785f0012d7b594005e7e2180003016528..."} 
[2026-06-18 08:25:59] local.INFO: Packet analysis {"connection_id":105547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:25:59] local.INFO: Extracted packet for processing {"connection_id":105547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":763058496,"raw_latitude":99082776,"longitude_deg":76.3058496,"latitude_deg":9.9082776,"altitude":3,"angle":357,"satellites":40,"speed":32,"hex_longitude":"2d7b5940","hex_latitude":"05e7e218","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128333568001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93814201847382016,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889683477327179776,"note":"Value kept but may cause issues"} 
[2026-06-18 08:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781751318000,"timestamp_ms":1781751318000,"timestamp_seconds":1781751318,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a785f0"} 
[2026-06-18 08:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 08:25:59] 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-06-18 08: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-06-18 08:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":105547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":105547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":105547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:25:59] 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-06-18 08:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128333568001,"66":13319,"96":206,"87":13824,"24":32,"16":93814201847382016,"45":8889683477327179776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 08:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128333568001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:25:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:25:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93814201847382016,"km_value":93814201847382.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889683477327179776,"description":"Unknown IO ID 45"} 
[2026-06-18 08:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128333568001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8889683477327179776}} 
[2026-06-18 08:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":105547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:25:59] local.INFO: GPS data processed {"connection_id":105547,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:25:59] local.INFO: Acknowledgment sent {"connection_id":105547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:25:59] local.INFO: TCP Data received {"connection_id":107284,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:25:59] local.INFO: Processing buffer {"connection_id":107284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:25:59] local.INFO: IMEI packet received {"connection_id":107284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":107284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:26:03] local.INFO: TCP Data received {"connection_id":105547,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a7ad00012d7b5b8005e805600003016526..."} 
[2026-06-18 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a7ad00012d7b5b8005e805600003016526..."} 
[2026-06-18 08:26:03] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a7ad00012d7b5b8005e805600003016526..."} 
[2026-06-18 08:26:03] local.INFO: Packet analysis {"connection_id":105547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:03] local.INFO: Extracted packet for processing {"connection_id":105547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":99091808,"longitude_deg":76.3059072,"latitude_deg":9.9091808,"altitude":3,"angle":357,"satellites":38,"speed":37,"hex_longitude":"2d7b5b80","hex_latitude":"05e80560","is_valid_coordinates":true} 
[2026-06-18 08:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128337408001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93814639934046208,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888205733701752832,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751328000,"timestamp_ms":1781751328000,"timestamp_seconds":1781751328,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a7ad00"} 
[2026-06-18 08:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3634743456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":231,"raw_value":-8081709518408767232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298137294,"corrected_to":0} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2818649467,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040077,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3884963840,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":134,"raw_value":57787444951406390,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.WARNING: Large IO value detected {"io_id":165,"raw_value":8545581587790888965,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:03] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,87,24,241,157,16,75,158,45,128,190,3,39,10,66,249,64,173,4,74,167,1,240,46,227,216,231,113,205,26,101,36,239,51,2,77,5,134,165],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298137294,"validated":0}]} 
[2026-06-18 08:26:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216565479565688832,"timestamp_seconds":216565479565688.84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:26:03] 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-06-18 08:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128337408001,"66":12765,"96":206,"87":13824,"24":37,"16":93814639934046208,"45":8888205733701752832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 08:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128337408001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:26:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:26:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93814639934046208,"km_value":93814639934046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888205733701752832,"description":"Unknown IO ID 45"} 
[2026-06-18 08:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128337408001,"power":12765,"unknown_96":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8888205733701752832}} 
[2026-06-18 08:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":105547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:26:03] local.INFO: GPS data processed {"connection_id":105547,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:26:03] local.INFO: Acknowledgment sent {"connection_id":105547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:26:04] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a772680100000000000000000000000000..."} 
[2026-06-18 08:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a772680100000000000000000000000000..."} 
[2026-06-18 08:26:04] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a772680100000000000000000000000000..."} 
[2026-06-18 08:26:04] local.INFO: Packet analysis {"connection_id":107282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:04] local.INFO: Extracted packet for processing {"connection_id":107282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781751313000,"timestamp_ms":1781751313000,"timestamp_seconds":1781751313,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a77268"} 
[2026-06-18 08:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:26: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 08:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":107282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:26:04] local.INFO: GPS data processed {"connection_id":107282,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:26:04] local.INFO: Acknowledgment sent {"connection_id":107282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:26:25] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:25] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:25] local.INFO: IMEI packet received {"connection_id":106302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":106302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:26:26] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:26] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:26] local.INFO: IMEI packet received {"connection_id":106302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":106302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:26:30] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:30] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:26:30] local.INFO: IMEI packet received {"connection_id":106302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":106302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:26:31] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a74388012d598e80063e73a8000501482f..."} 
[2026-06-18 08:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a74388012d598e80063e73a8000501482f..."} 
[2026-06-18 08:26:31] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a74388012d598e80063e73a8000501482f..."} 
[2026-06-18 08:26:31] local.INFO: Packet analysis {"connection_id":106302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:31] local.INFO: Extracted packet for processing {"connection_id":106302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:31] local.INFO: GPS Element Parsed {"raw_longitude":760843904,"raw_latitude":104756136,"longitude_deg":76.0843904,"latitude_deg":10.4756136,"altitude":5,"angle":328,"satellites":47,"speed":39,"hex_longitude":"2d598e80","hex_latitude":"063e73a8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128330240001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317572252688187392,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6458513736185708544,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781751301000,"timestamp_ms":1781751301000,"timestamp_seconds":1781751301,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a74388"} 
[2026-06-18 08:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":10,"data_length":795,"current_offset":136} 
[2026-06-18 08:26: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-06-18 08: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-06-18 08:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128330240001,"66":27658,"219":206,"19":38400,"24":39,"16":317572252688187392,"45":6458513736185708544},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128330240001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:26:31] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:26:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317572252688187392,"km_value":317572252688187.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6458513736185708544,"description":"Unknown IO ID 45"} 
[2026-06-18 08:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128330240001,"power":27658,"unknown_219":206,"unknown_19":38400,"ignition":39,"odometer":null,"unknown_45":6458513736185708544}} 
[2026-06-18 08:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":106302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:26:31] local.INFO: GPS data processed {"connection_id":106302,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:26:31] local.INFO: Acknowledgment sent {"connection_id":106302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:26:32] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a766b0012d597b00063e93400004014630..."} 
[2026-06-18 08:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a766b0012d597b00063e93400004014630..."} 
[2026-06-18 08:26:32] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a766b0012d597b00063e93400004014630..."} 
[2026-06-18 08:26:32] local.INFO: Packet analysis {"connection_id":106302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:32] local.INFO: Extracted packet for processing {"connection_id":106302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:32] local.INFO: GPS Element Parsed {"raw_longitude":760838912,"raw_latitude":104764224,"longitude_deg":76.0838912,"latitude_deg":10.4764224,"altitude":4,"angle":326,"satellites":48,"speed":43,"hex_longitude":"2d597b00","hex_latitude":"063e9340","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128333056001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317572712249688064,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6453236080374425600,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781751310000,"timestamp_ms":1781751310000,"timestamp_seconds":1781751310,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a766b0"} 
[2026-06-18 08:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 08:26: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-06-18 08:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128333056001,"66":27745,"219":206,"19":38400,"24":43,"16":317572712249688064,"45":6453236080374425600},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,19,24,16,45]} 
[2026-06-18 08:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128333056001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:26:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:26:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317572712249688064,"km_value":317572712249688.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6453236080374425600,"description":"Unknown IO ID 45"} 
[2026-06-18 08:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128333056001,"power":27745,"unknown_219":206,"unknown_19":38400,"ignition":43,"odometer":null,"unknown_45":6453236080374425600}} 
[2026-06-18 08:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":106302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:26:32] local.INFO: GPS data processed {"connection_id":106302,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:26:32] local.INFO: Acknowledgment sent {"connection_id":106302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:26:35] local.INFO: TCP Data received {"connection_id":105547,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a7ff08012d7b588005e81d600001015f21..."} 
[2026-06-18 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a7ff08012d7b588005e81d600001015f21..."} 
[2026-06-18 08:26:35] local.INFO: Processing buffer {"connection_id":105547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a7ff08012d7b588005e81d600001015f21..."} 
[2026-06-18 08:26:35] local.INFO: Packet analysis {"connection_id":105547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:35] local.INFO: Extracted packet for processing {"connection_id":105547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763058304,"raw_latitude":99097952,"longitude_deg":76.3058304,"latitude_deg":9.9097952,"altitude":1,"angle":351,"satellites":33,"speed":11,"hex_longitude":"2d7b5880","hex_latitude":"05e81d60","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128339968001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93814953466658816,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052401664000,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781751349000,"timestamp_ms":1781751349000,"timestamp_seconds":1781751349,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a7ff08"} 
[2026-06-18 08:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 08:26: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-06-18 08: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-06-18 08:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105547,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:26:35] 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-06-18 08:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128339968001,"66":13363,"96":206,"87":13824,"24":11,"16":93814953466658816,"45":8888839052401664000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 08:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128339968001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:26:35] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:26:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93814953466658816,"km_value":93814953466658.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052401664000,"description":"Unknown IO ID 45"} 
[2026-06-18 08:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128339968001,"power":13363,"unknown_96":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8888839052401664000}} 
[2026-06-18 08:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":105547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343280,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:26:35] local.INFO: GPS data processed {"connection_id":105547,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:26:35] local.INFO: Acknowledgment sent {"connection_id":105547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:26:35] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a7c4700100000000000000000000000000..."} 
[2026-06-18 08:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a7c4700100000000000000000000000000..."} 
[2026-06-18 08:26:35] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a7c4700100000000000000000000000000..."} 
[2026-06-18 08:26:35] local.INFO: Packet analysis {"connection_id":107282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:35] local.INFO: Extracted packet for processing {"connection_id":107282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781751334000,"timestamp_ms":1781751334000,"timestamp_seconds":1781751334,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a7c470"} 
[2026-06-18 08:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 08:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":107282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:26:35] local.INFO: GPS data processed {"connection_id":107282,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:26:35] local.INFO: Acknowledgment sent {"connection_id":107282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:26:39] local.INFO: TCP Data received {"connection_id":105548,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:26:39] local.INFO: Processing buffer {"connection_id":105548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:26:39] local.INFO: IMEI packet received {"connection_id":105548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":105548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:26:49] local.INFO: TCP Data received {"connection_id":105754,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:49] local.INFO: Processing buffer {"connection_id":105754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:49] local.INFO: IMEI packet received {"connection_id":105754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":105754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:26:52] local.INFO: TCP Data received {"connection_id":105754,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:52] local.INFO: Processing buffer {"connection_id":105754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:52] local.INFO: IMEI packet received {"connection_id":105754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":105754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:26:57] local.INFO: TCP Data received {"connection_id":105754,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:57] local.INFO: Processing buffer {"connection_id":105754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:26:57] local.INFO: IMEI packet received {"connection_id":105754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":105754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:26:58] local.INFO: TCP Data received {"connection_id":105754,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a81a60012d7b580005e82b400002000326..."} 
[2026-06-18 08:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a81a60012d7b580005e82b400002000326..."} 
[2026-06-18 08:26:58] local.INFO: Processing buffer {"connection_id":105754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a81a60012d7b580005e82b400002000326..."} 
[2026-06-18 08:26:58] local.INFO: Packet analysis {"connection_id":105754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:26:58] local.INFO: Extracted packet for processing {"connection_id":105754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:26:58] local.INFO: GPS Element Parsed {"raw_longitude":763058176,"raw_latitude":99101504,"longitude_deg":76.3058176,"latitude_deg":9.9101504,"altitude":2,"angle":3,"satellites":38,"speed":24,"hex_longitude":"2d7b5800","hex_latitude":"05e82b40","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128345344001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93815129560317952,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887994627473104896,"note":"Value kept but may cause issues"} 
[2026-06-18 08:26: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-06-18 08:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781751356000,"timestamp_ms":1781751356000,"timestamp_seconds":1781751356,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a81a60"} 
[2026-06-18 08:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:26: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-06-18 08: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 08:26:58] 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-06-18 08: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-06-18 08:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:26: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-06-18 08:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128345344001,"66":13319,"96":206,"87":13824,"24":24,"16":93815129560317952,"45":8887994627473104896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 08:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128345344001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:26:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 08:26:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93815129560317952,"km_value":93815129560317.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887994627473104896,"description":"Unknown IO ID 45"} 
[2026-06-18 08:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128345344001,"power":13319,"unknown_96":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8887994627473104896}} 
[2026-06-18 08:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":105754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:26:58] local.INFO: GPS data processed {"connection_id":105754,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:26:58] local.INFO: Acknowledgment sent {"connection_id":105754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:27:04] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a785f0012d5967c0063eb1f0000401482e..."} 
[2026-06-18 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a785f0012d5967c0063eb1f0000401482e..."} 
[2026-06-18 08:27:04] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a785f0012d5967c0063eb1f0000401482e..."} 
[2026-06-18 08:27:04] local.INFO: Packet analysis {"connection_id":106302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:27:04] local.INFO: Extracted packet for processing {"connection_id":106302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a7"} 
[2026-06-18 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":760833984,"raw_latitude":104772080,"longitude_deg":76.0833984,"latitude_deg":10.477208,"altitude":4,"angle":328,"satellites":46,"speed":48,"hex_longitude":"2d5967c0","hex_latitude":"063eb1f0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128335360001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317573158926286848,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6447747318330638336,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781751318000,"timestamp_ms":1781751318000,"timestamp_seconds":1781751318,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a785f0"} 
[2026-06-18 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-06-18 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 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-06-18 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128335360001,"66":27713,"135":206,"19":38400,"24":48,"16":317573158926286848,"45":6447747318330638336},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-06-18 08:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128335360001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:27:04] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 08:27:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317573158926286848,"km_value":317573158926286.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6447747318330638336,"description":"Unknown IO ID 45"} 
[2026-06-18 08:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128335360001,"power":27713,"unknown_135":206,"unknown_19":38400,"ignition":48,"odometer":null,"unknown_45":6447747318330638336}} 
[2026-06-18 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":106302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:27:04] local.INFO: GPS data processed {"connection_id":106302,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:27:04] local.INFO: Acknowledgment sent {"connection_id":106302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:27:06] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a816780100000000000000000000000000..."} 
[2026-06-18 08:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a816780100000000000000000000000000..."} 
[2026-06-18 08:27:06] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a816780100000000000000000000000000..."} 
[2026-06-18 08:27:06] local.INFO: Packet analysis {"connection_id":107282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:06] local.INFO: Extracted packet for processing {"connection_id":107282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781751355000,"timestamp_ms":1781751355000,"timestamp_seconds":1781751355,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a81678"} 
[2026-06-18 08:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 08:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":107282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:27:06] local.INFO: GPS data processed {"connection_id":107282,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:27:06] local.INFO: Acknowledgment sent {"connection_id":107282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:27:25] local.INFO: TCP Data received {"connection_id":106303,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:27:25] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:27:25] local.INFO: IMEI packet received {"connection_id":106303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":106303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:27:30] local.INFO: TCP Data received {"connection_id":105754,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a94728012d7b4b8005e92fd80003006125..."} 
[2026-06-18 08:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a94728012d7b4b8005e92fd80003006125..."} 
[2026-06-18 08:27:30] local.INFO: Processing buffer {"connection_id":105754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a94728012d7b4b8005e92fd80003006125..."} 
[2026-06-18 08:27:30] local.INFO: Packet analysis {"connection_id":105754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:27:30] local.INFO: Extracted packet for processing {"connection_id":105754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:27:30] local.INFO: GPS Element Parsed {"raw_longitude":763054976,"raw_latitude":99168216,"longitude_deg":76.3054976,"latitude_deg":9.9168216,"altitude":3,"angle":97,"satellites":37,"speed":5,"hex_longitude":"2d7b4b80","hex_latitude":"05e92fd8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128366336001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93818402325397504,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884053977817143296,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:30] 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-06-18 08:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781751433000,"timestamp_ms":1781751433000,"timestamp_seconds":1781751433,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a94728"} 
[2026-06-18 08:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":53,"data_length":795,"current_offset":136} 
[2026-06-18 08:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128366336001,"66":12341,"201":206,"87":13824,"24":5,"16":93818402325397504,"45":8884053977817143296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 08:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128366336001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:27:30] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 08:27:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93818402325397504,"km_value":93818402325397.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884053977817143296,"description":"Unknown IO ID 45"} 
[2026-06-18 08:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128366336001,"power":12341,"unknown_201":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8884053977817143296}} 
[2026-06-18 08:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":105754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343283,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:27:30] local.INFO: GPS data processed {"connection_id":105754,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:27:30] local.INFO: Acknowledgment sent {"connection_id":105754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:27:38] local.INFO: TCP Data received {"connection_id":107282,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a868800100000000000000000000000000..."} 
[2026-06-18 08:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a868800100000000000000000000000000..."} 
[2026-06-18 08:27:38] local.INFO: Processing buffer {"connection_id":107282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a868800100000000000000000000000000..."} 
[2026-06-18 08:27:38] local.INFO: Packet analysis {"connection_id":107282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:38] local.INFO: Extracted packet for processing {"connection_id":107282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781751376000,"timestamp_ms":1781751376000,"timestamp_seconds":1781751376,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a86880"} 
[2026-06-18 08:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 08:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107282,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:27:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":107282,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:27:38] local.INFO: GPS data processed {"connection_id":107282,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:27:38] local.INFO: Acknowledgment sent {"connection_id":107282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:27:39] local.INFO: TCP Data received {"connection_id":106303,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:27:39] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:27:39] local.INFO: IMEI packet received {"connection_id":106303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":106303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:27:40] local.INFO: TCP Data received {"connection_id":106303,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:27:40] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:27:40] local.INFO: IMEI packet received {"connection_id":106303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:27:40] local.INFO: IMEI acknowledgment sent {"connection_id":106303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:27:41] local.INFO: TCP Data received {"connection_id":106303,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a8a700012d5891c0064019400006014731..."} 
[2026-06-18 08:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a8a700012d5891c0064019400006014731..."} 
[2026-06-18 08:27:41] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed8..."} 
[2026-06-18 08:27:41] local.INFO: IMEI packet received {"connection_id":106303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":106303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:27:42] local.INFO: TCP Data received {"connection_id":106303,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a8be70012d587e40064036800006014330..."} 
[2026-06-18 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a8be70012d587e40064036800006014330..."} 
[2026-06-18 08:27:42] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed8a8a700012d5891c0064019400006014731..."} 
[2026-06-18 08:27:42] local.INFO: Packet analysis {"connection_id":106303,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:42] local.INFO: Extracted packet for processing {"connection_id":106303,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":760779200,"raw_latitude":104864064,"longitude_deg":76.07792,"latitude_deg":10.4864064,"altitude":6,"angle":327,"satellites":49,"speed":60,"hex_longitude":"2d5891c0","hex_latitude":"06401940","is_valid_coordinates":true} 
[2026-06-18 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128354816001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317578330066911232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6387300567105574912,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781751392000,"timestamp_ms":1781751392000,"timestamp_seconds":1781751392,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a8a700"} 
[2026-06-18 08:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 08:27:42] 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-06-18 08:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128354816001,"66":27626,"135":206,"19":38400,"24":60,"16":317578330066911232,"45":6387300567105574912},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-06-18 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128354816001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:27:42] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 08:27:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317578330066911232,"km_value":317578330066911.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6387300567105574912,"description":"Unknown IO ID 45"} 
[2026-06-18 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128354816001,"power":27626,"unknown_135":206,"unknown_19":38400,"ignition":60,"odometer":null,"unknown_45":6387300567105574912}} 
[2026-06-18 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":106303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:27:42] local.INFO: GPS data processed {"connection_id":106303,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:27:42] local.INFO: Acknowledgment sent {"connection_id":106303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:27:42] local.INFO: Packet analysis {"connection_id":106303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:42] local.INFO: Extracted packet for processing {"connection_id":106303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":760774208,"raw_latitude":104871552,"longitude_deg":76.0774208,"latitude_deg":10.4871552,"altitude":6,"angle":323,"satellites":48,"speed":59,"hex_longitude":"2d587e40","hex_latitude":"06403680","is_valid_coordinates":true} 
[2026-06-18 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128356352001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317578759563640832,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6382093280038436864,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781751398000,"timestamp_ms":1781751398000,"timestamp_seconds":1781751398,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a8be70"} 
[2026-06-18 08:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 08:27:42] 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-06-18 08:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128356352001,"66":27713,"135":206,"19":38400,"24":59,"16":317578759563640832,"45":6382093280038436864},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-06-18 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128356352001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:27:42] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 08:27:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317578759563640832,"km_value":317578759563640.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6382093280038436864,"description":"Unknown IO ID 45"} 
[2026-06-18 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128356352001,"power":27713,"unknown_135":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":6382093280038436864}} 
[2026-06-18 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":106303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:27:42] local.INFO: GPS data processed {"connection_id":106303,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:27:42] local.INFO: Acknowledgment sent {"connection_id":106303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:27:43] local.INFO: TCP Data received {"connection_id":106303,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a8d5e0012d5867c0064051100005013c30..."} 
[2026-06-18 08:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a8d5e0012d5867c0064051100005013c30..."} 
[2026-06-18 08:27:43] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a8d5e0012d5867c0064051100005013c30..."} 
[2026-06-18 08:27:43] local.INFO: Packet analysis {"connection_id":106303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:43] local.INFO: Extracted packet for processing {"connection_id":106303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":760768448,"raw_latitude":104878352,"longitude_deg":76.0768448,"latitude_deg":10.4878352,"altitude":5,"angle":316,"satellites":48,"speed":59,"hex_longitude":"2d5867c0","hex_latitude":"06405110","is_valid_coordinates":true} 
[2026-06-18 08:27: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-06-18 08:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128357888001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317579193355337728,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6376604517994496000,"note":"Value kept but may cause issues"} 
[2026-06-18 08:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781751404000,"timestamp_ms":1781751404000,"timestamp_seconds":1781751404,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a8d5e0"} 
[2026-06-18 08:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 08:27:43] 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-06-18 08:27: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-06-18 08:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128357888001,"66":27647,"135":206,"19":38400,"24":59,"16":317579193355337728,"45":6376604517994496000},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-06-18 08:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128357888001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:27:43] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 08:27:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317579193355337728,"km_value":317579193355337.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6376604517994496000,"description":"Unknown IO ID 45"} 
[2026-06-18 08:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128357888001,"power":27647,"unknown_135":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":6376604517994496000}} 
[2026-06-18 08:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":106303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:27:43] local.INFO: GPS data processed {"connection_id":106303,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:27:43] local.INFO: Acknowledgment sent {"connection_id":106303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:27:52] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:27:52] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:27:52] local.INFO: IMEI packet received {"connection_id":106304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":106304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:28:01] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 08:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 08:28:01] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 08:28:01] local.INFO: IMEI packet received {"connection_id":106304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":106304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:28:02] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a95ab0012d7b4f0005e92fe00004004f25..."} 
[2026-06-18 08:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a95ab0012d7b4f0005e92fe00004004f25..."} 
[2026-06-18 08:28:02] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019ed8..."} 
[2026-06-18 08:28:02] local.INFO: IMEI packet received {"connection_id":106304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":106304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:28:03] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a95e98012d7b508005e92fd00004005a25..."} 
[2026-06-18 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a95e98012d7b508005e92fd00004005a25..."} 
[2026-06-18 08:28:03] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed8a95ab0012d7b4f0005e92fe00004004f25..."} 
[2026-06-18 08:28:03] local.INFO: Packet analysis {"connection_id":106304,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:28:03] local.INFO: Extracted packet for processing {"connection_id":106304,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763055872,"raw_latitude":99168224,"longitude_deg":76.3055872,"latitude_deg":9.9168224,"altitude":4,"angle":79,"satellites":37,"speed":11,"hex_longitude":"2d7b4f00","hex_latitude":"05e92fe0","is_valid_coordinates":true} 
[2026-06-18 08:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128366848001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93818449570037760,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884335452793853952,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28: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-06-18 08:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751438000,"timestamp_ms":1781751438000,"timestamp_seconds":1781751438,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a95ab0"} 
[2026-06-18 08:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:28:03] 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-06-18 08:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 08:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:28:03] 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-06-18 08:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128366848001,"66":13428,"201":206,"87":13824,"24":11,"16":93818449570037760,"45":8884335452793853952},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 08:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128366848001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:28:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 08:28:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93818449570037760,"km_value":93818449570037.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884335452793853952,"description":"Unknown IO ID 45"} 
[2026-06-18 08:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128366848001,"power":13428,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8884335452793853952}} 
[2026-06-18 08:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":106304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343287,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:28:03] local.INFO: GPS data processed {"connection_id":106304,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:28:03] local.INFO: Acknowledgment sent {"connection_id":106304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:28:03] local.INFO: Packet analysis {"connection_id":106304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:28:03] local.INFO: Extracted packet for processing {"connection_id":106304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:28:03] local.INFO: GPS Element Parsed {"raw_longitude":763056256,"raw_latitude":99168208,"longitude_deg":76.3056256,"latitude_deg":9.9168208,"altitude":4,"angle":90,"satellites":37,"speed":14,"hex_longitude":"2d7b5080","hex_latitude":"05e92fd0","is_valid_coordinates":true} 
[2026-06-18 08:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128368128001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93818466749906944,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885320615212343296,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28: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-06-18 08:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751439000,"timestamp_ms":1781751439000,"timestamp_seconds":1781751439,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a95e98"} 
[2026-06-18 08:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:28:03] 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-06-18 08:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-18 08:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:28:03] 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-06-18 08:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128368128001,"66":12689,"201":206,"87":13824,"24":14,"16":93818466749906944,"45":8885320615212343296},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 08:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128368128001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:28:03] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 08:28:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93818466749906944,"km_value":93818466749906.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885320615212343296,"description":"Unknown IO ID 45"} 
[2026-06-18 08:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128368128001,"power":12689,"unknown_201":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8885320615212343296}} 
[2026-06-18 08:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":106304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:28:03] local.INFO: GPS data processed {"connection_id":106304,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:28:03] local.INFO: Acknowledgment sent {"connection_id":106304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:28:09] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a985a8012d7b608005e931580005004f25..."} 
[2026-06-18 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a985a8012d7b608005e931580005004f25..."} 
[2026-06-18 08:28:09] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a985a8012d7b608005e931580005004f25..."} 
[2026-06-18 08:28:09] local.INFO: Packet analysis {"connection_id":106304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:28:09] local.INFO: Extracted packet for processing {"connection_id":106304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":763060352,"raw_latitude":99168600,"longitude_deg":76.3060352,"latitude_deg":9.91686,"altitude":5,"angle":79,"satellites":37,"speed":13,"hex_longitude":"2d7b6080","hex_latitude":"05e93158","is_valid_coordinates":true} 
[2026-06-18 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128368384001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93818664318402560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885742827677405184,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:09] 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-06-18 08:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781751449000,"timestamp_ms":1781751449000,"timestamp_seconds":1781751449,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a985a8"} 
[2026-06-18 08:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 08:28:09] 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-06-18 08:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128368384001,"66":13417,"201":206,"87":13824,"24":13,"16":93818664318402560,"45":8885742827677405184},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 08:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128368384001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:28:09] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 08:28:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93818664318402560,"km_value":93818664318402.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885742827677405184,"description":"Unknown IO ID 45"} 
[2026-06-18 08:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128368384001,"power":13417,"unknown_201":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8885742827677405184}} 
[2026-06-18 08:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":106304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343289,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:28:09] local.INFO: GPS data processed {"connection_id":106304,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:28:09] local.INFO: Acknowledgment sent {"connection_id":106304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:28:09] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:28:09] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:28:09] local.INFO: IMEI packet received {"connection_id":106305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":106305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:28:14] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:28:14] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:28:14] local.INFO: IMEI packet received {"connection_id":106305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":106305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:28:15] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a8ba880100000000000000000000000000..."} 
[2026-06-18 08:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a8ba880100000000000000000000000000..."} 
[2026-06-18 08:28:15] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a8ba880100000000000000000000000000..."} 
[2026-06-18 08:28:15] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:28:15] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:28:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781751397000,"timestamp_ms":1781751397000,"timestamp_seconds":1781751397,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a8ba88"} 
[2026-06-18 08:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 08:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:28:15] local.INFO: GPS data processed {"connection_id":106305,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:28:15] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:28:25] local.INFO: TCP Data received {"connection_id":107286,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:25] local.INFO: Processing buffer {"connection_id":107286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:25] local.INFO: IMEI packet received {"connection_id":107286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":107286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:28:27] local.INFO: TCP Data received {"connection_id":107286,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:27] local.INFO: Processing buffer {"connection_id":107286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:27] local.INFO: IMEI packet received {"connection_id":107286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":107286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:28:30] local.INFO: TCP Data received {"connection_id":107286,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:30] local.INFO: Processing buffer {"connection_id":107286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:28:30] local.INFO: IMEI packet received {"connection_id":107286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":107286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:28:31] local.INFO: TCP Data received {"connection_id":107286,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a8ed50012d584c80064067900005013032..."} 
[2026-06-18 08:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a8ed50012d584c80064067900005013032..."} 
[2026-06-18 08:28:31] local.INFO: Processing buffer {"connection_id":107286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a8ed50012d584c80064067900005013032..."} 
[2026-06-18 08:28:31] local.INFO: Packet analysis {"connection_id":107286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:28:31] local.INFO: Extracted packet for processing {"connection_id":107286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a8"} 
[2026-06-18 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":760761472,"raw_latitude":104884112,"longitude_deg":76.0761472,"latitude_deg":10.4884112,"altitude":5,"angle":304,"satellites":50,"speed":59,"hex_longitude":"2d584c80","hex_latitude":"06406790","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128359424001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317579627147034624,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6370271331020247040,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781751410000,"timestamp_ms":1781751410000,"timestamp_seconds":1781751410,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a8ed50"} 
[2026-06-18 08:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":255,"data_length":795,"current_offset":136} 
[2026-06-18 08:28:31] 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-06-18 08: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-06-18 08:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128359424001,"66":27658,"135":206,"19":38400,"24":59,"16":317579627147034624,"45":6370271331020247040},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,19,24,16,45]} 
[2026-06-18 08:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128359424001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:28:31] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 08:28:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38400,"description":"Unknown IO ID 19"} 
[2026-06-18 08:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317579627147034624,"km_value":317579627147034.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6370271331020247040,"description":"Unknown IO ID 45"} 
[2026-06-18 08:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128359424001,"power":27658,"unknown_135":206,"unknown_19":38400,"ignition":59,"odometer":null,"unknown_45":6370271331020247040}} 
[2026-06-18 08:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":107286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:28:31] local.INFO: GPS data processed {"connection_id":107286,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:28:31] local.INFO: Acknowledgment sent {"connection_id":107286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:28:46] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a90c900100000000000000000000000000..."} 
[2026-06-18 08:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a90c900100000000000000000000000000..."} 
[2026-06-18 08:28:46] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a90c900100000000000000000000000000..."} 
[2026-06-18 08:28:46] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:28:46] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:28:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:28:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781751418000,"timestamp_ms":1781751418000,"timestamp_seconds":1781751418,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a90c90"} 
[2026-06-18 08:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:28:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 08:28:46] 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-06-18 08:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:28:46] local.INFO: GPS data processed {"connection_id":106305,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:28:46] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:29:01] local.INFO: TCP Data received {"connection_id":105755,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:01] local.INFO: Processing buffer {"connection_id":105755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:01] local.INFO: IMEI packet received {"connection_id":105755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":105755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:29:02] local.INFO: TCP Data received {"connection_id":105755,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:02] local.INFO: Processing buffer {"connection_id":105755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:02] local.INFO: IMEI packet received {"connection_id":105755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":105755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:29:03] local.INFO: TCP Data received {"connection_id":107286,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aa21e8012d56cd80064140c8000f014732..."} 
[2026-06-18 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aa21e8012d56cd80064140c8000f014732..."} 
[2026-06-18 08:29:03] local.INFO: Processing buffer {"connection_id":107286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aa21e8012d56cd80064140c8000f014732..."} 
[2026-06-18 08:29:03] local.INFO: Packet analysis {"connection_id":107286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:29:03] local.INFO: Extracted packet for processing {"connection_id":107286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:29:03] local.INFO: GPS Element Parsed {"raw_longitude":760663424,"raw_latitude":104939720,"longitude_deg":76.0663424,"latitude_deg":10.493972,"altitude":15,"angle":327,"satellites":50,"speed":60,"hex_longitude":"2d56cd80","hex_latitude":"064140c8","is_valid_coordinates":true} 
[2026-06-18 08:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128379648001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317585090345435136,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6260707196349458432,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751489000,"timestamp_ms":1781751489000,"timestamp_seconds":1781751489,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aa21e8"} 
[2026-06-18 08:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 08:29:03] 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-06-18 08:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128379648001,"66":27745,"186":206,"19":38144,"24":60,"16":317585090345435136,"45":6260707196349458432},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-18 08:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128379648001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:29:03] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-18 08:29:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317585090345435136,"km_value":317585090345435.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6260707196349458432,"description":"Unknown IO ID 45"} 
[2026-06-18 08:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128379648001,"power":27745,"unknown_186":206,"unknown_19":38144,"ignition":60,"odometer":null,"unknown_45":6260707196349458432}} 
[2026-06-18 08:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":107286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:29:03] local.INFO: GPS data processed {"connection_id":107286,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:29:03] local.INFO: Acknowledgment sent {"connection_id":107286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:29:05] local.INFO: TCP Data received {"connection_id":105755,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105755,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:05] local.INFO: Processing buffer {"connection_id":105755,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:05] local.INFO: IMEI packet received {"connection_id":105755,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":105755,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:29:06] local.INFO: TCP Data received {"connection_id":105755,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a9c040012d7b78c005e937100003004026..."} 
[2026-06-18 08:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a9c040012d7b78c005e937100003004026..."} 
[2026-06-18 08:29:06] local.INFO: Processing buffer {"connection_id":105755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a9c040012d7b78c005e937100003004026..."} 
[2026-06-18 08:29:06] local.INFO: Packet analysis {"connection_id":105755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:29:06] local.INFO: Extracted packet for processing {"connection_id":105755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763066560,"raw_latitude":99170064,"longitude_deg":76.306656,"latitude_deg":9.9170064,"altitude":3,"angle":64,"satellites":38,"speed":14,"hex_longitude":"2d7b78c0","hex_latitude":"05e93710","is_valid_coordinates":true} 
[2026-06-18 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128370944001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93818969261080576,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890246427304876032,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:06] 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-06-18 08:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781751464000,"timestamp_ms":1781751464000,"timestamp_seconds":1781751464,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a9c040"} 
[2026-06-18 08:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:29:06] 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-06-18 08:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-18 08:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105755,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:29:06] 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-06-18 08:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128370944001,"66":13450,"201":206,"87":13824,"24":14,"16":93818969261080576,"45":8890246427304876032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 08:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128370944001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:29:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 08:29:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93818969261080576,"km_value":93818969261080.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890246427304876032,"description":"Unknown IO ID 45"} 
[2026-06-18 08:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128370944001,"power":13450,"unknown_201":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8890246427304876032}} 
[2026-06-18 08:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":105755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343292,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:29:06] local.INFO: GPS data processed {"connection_id":105755,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:29:06] local.INFO: Acknowledgment sent {"connection_id":105755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:29:17] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a95e980100000000000000000000000000..."} 
[2026-06-18 08:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a95e980100000000000000000000000000..."} 
[2026-06-18 08:29:17] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a95e980100000000000000000000000000..."} 
[2026-06-18 08:29:17] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:29:17] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781751439000,"timestamp_ms":1781751439000,"timestamp_seconds":1781751439,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a95e98"} 
[2026-06-18 08:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 08:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:29:17] local.INFO: GPS data processed {"connection_id":106305,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:29:17] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:29:30] local.INFO: TCP Data received {"connection_id":107287,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:29:30] local.INFO: Processing buffer {"connection_id":107287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:29:30] local.INFO: IMEI packet received {"connection_id":107287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":107287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:29:33] local.INFO: TCP Data received {"connection_id":107287,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:29:33] local.INFO: Processing buffer {"connection_id":107287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:29:33] local.INFO: IMEI packet received {"connection_id":107287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":107287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:29:36] local.INFO: TCP Data received {"connection_id":107287,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aa3958012d56ba8006415f80000d014830..."} 
[2026-06-18 08:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aa3958012d56ba8006415f80000d014830..."} 
[2026-06-18 08:29:36] local.INFO: Processing buffer {"connection_id":107287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aa3958012d56ba8006415f80000d014830..."} 
[2026-06-18 08:29:36] local.INFO: Packet analysis {"connection_id":107287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:29:36] local.INFO: Extracted packet for processing {"connection_id":107287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:29:36] local.INFO: GPS Element Parsed {"raw_longitude":760658560,"raw_latitude":104947584,"longitude_deg":76.065856,"latitude_deg":10.4947584,"altitude":13,"angle":328,"satellites":48,"speed":61,"hex_longitude":"2d56ba80","hex_latitude":"06415f80","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128381184001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317585537022033920,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6254796221840410624,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781751495000,"timestamp_ms":1781751495000,"timestamp_seconds":1781751495,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aa3958"} 
[2026-06-18 08:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:29: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-06-18 08: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-06-18 08:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128381184001,"66":27745,"186":206,"19":38144,"24":61,"16":317585537022033920,"45":6254796221840410624},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-18 08:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128381184001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:29:36] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-18 08:29:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317585537022033920,"km_value":317585537022033.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6254796221840410624,"description":"Unknown IO ID 45"} 
[2026-06-18 08:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128381184001,"power":27745,"unknown_186":206,"unknown_19":38144,"ignition":61,"odometer":null,"unknown_45":6254796221840410624}} 
[2026-06-18 08:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":107287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:29:36] local.INFO: GPS data processed {"connection_id":107287,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:29:36] local.INFO: Acknowledgment sent {"connection_id":107287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:29:37] local.INFO: TCP Data received {"connection_id":107287,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aa50c8012d56a8c006417ee8000b014c31..."} 
[2026-06-18 08:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aa50c8012d56a8c006417ee8000b014c31..."} 
[2026-06-18 08:29:37] local.INFO: Processing buffer {"connection_id":107287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aa50c8012d56a8c006417ee8000b014c31..."} 
[2026-06-18 08:29:37] local.INFO: Packet analysis {"connection_id":107287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:29:37] local.INFO: Extracted packet for processing {"connection_id":107287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":760654016,"raw_latitude":104955624,"longitude_deg":76.0654016,"latitude_deg":10.4955624,"altitude":11,"angle":332,"satellites":49,"speed":61,"hex_longitude":"2d56a8c0","hex_latitude":"06417ee8","is_valid_coordinates":true} 
[2026-06-18 08:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128382720001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317585983698632704,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6249448197284921344,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781751501000,"timestamp_ms":1781751501000,"timestamp_seconds":1781751501,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aa50c8"} 
[2026-06-18 08:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:29: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-06-18 08:29:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128382720001,"66":27691,"186":206,"19":38144,"24":61,"16":317585983698632704,"45":6249448197284921344},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-18 08:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128382720001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:29:37] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-18 08:29:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317585983698632704,"km_value":317585983698632.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6249448197284921344,"description":"Unknown IO ID 45"} 
[2026-06-18 08:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128382720001,"power":27691,"unknown_186":206,"unknown_19":38144,"ignition":61,"odometer":null,"unknown_45":6249448197284921344}} 
[2026-06-18 08:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":107287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:29:37] local.INFO: GPS data processed {"connection_id":107287,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:29:37] local.INFO: Acknowledgment sent {"connection_id":107287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:29:48] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a9b0a00100000000000000000000000000..."} 
[2026-06-18 08:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a9b0a00100000000000000000000000000..."} 
[2026-06-18 08:29:48] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a9b0a00100000000000000000000000000..."} 
[2026-06-18 08:29:48] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:29:48] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:29:48] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781751460000,"timestamp_ms":1781751460000,"timestamp_seconds":1781751460,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a9b0a0"} 
[2026-06-18 08:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:29:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 08:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:29:48] local.INFO: GPS data processed {"connection_id":106305,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:29:48] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:29:52] local.INFO: TCP Data received {"connection_id":105550,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:52] local.INFO: Processing buffer {"connection_id":105550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:52] local.INFO: IMEI packet received {"connection_id":105550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":105550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:29:57] local.INFO: TCP Data received {"connection_id":105550,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105550,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:57] local.INFO: Processing buffer {"connection_id":105550,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:29:57] local.INFO: IMEI packet received {"connection_id":105550,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":105550,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:29:58] local.INFO: TCP Data received {"connection_id":105550,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8a9d7b0012d7b808005e93ac00003005326..."} 
[2026-06-18 08:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8a9d7b0012d7b808005e93ac00003005326..."} 
[2026-06-18 08:29:58] local.INFO: Processing buffer {"connection_id":105550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8a9d7b0012d7b808005e93ac00003005326..."} 
[2026-06-18 08:29:58] local.INFO: Packet analysis {"connection_id":105550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:29:58] local.INFO: Extracted packet for processing {"connection_id":105550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8a9"} 
[2026-06-18 08:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763068544,"raw_latitude":99171008,"longitude_deg":76.3068544,"latitude_deg":9.9171008,"altitude":3,"angle":83,"satellites":38,"speed":11,"hex_longitude":"2d7b8080","hex_latitude":"05e93ac0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128374784001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93819072340295680,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897072195490484224,"note":"Value kept but may cause issues"} 
[2026-06-18 08:29:58] 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-06-18 08:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781751470000,"timestamp_ms":1781751470000,"timestamp_seconds":1781751470,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8a9d7b0"} 
[2026-06-18 08:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:29: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-06-18 08:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 08:29: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-06-18 08: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-06-18 08:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:29: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-06-18 08:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128374784001,"66":13276,"201":206,"87":13824,"24":11,"16":93819072340295680,"45":8897072195490484224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 08:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128374784001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:29:58] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 08:29:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93819072340295680,"km_value":93819072340295.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897072195490484224,"description":"Unknown IO ID 45"} 
[2026-06-18 08:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128374784001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8897072195490484224}} 
[2026-06-18 08:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":105550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343295,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:29:58] local.INFO: GPS data processed {"connection_id":105550,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:29:58] local.INFO: Acknowledgment sent {"connection_id":105550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:30:09] local.INFO: TCP Data received {"connection_id":105551,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:30:09] local.INFO: Processing buffer {"connection_id":105551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:30:09] local.INFO: IMEI packet received {"connection_id":105551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":105551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:30:10] local.INFO: TCP Data received {"connection_id":107287,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aa6838012d56998006419fa00009015032..."} 
[2026-06-18 08:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aa6838012d56998006419fa00009015032..."} 
[2026-06-18 08:30:10] local.INFO: Processing buffer {"connection_id":107287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aa6838012d56998006419fa00009015032..."} 
[2026-06-18 08:30:10] local.INFO: Packet analysis {"connection_id":107287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:30:10] local.INFO: Extracted packet for processing {"connection_id":107287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:30:10] local.INFO: GPS Element Parsed {"raw_longitude":760650112,"raw_latitude":104964000,"longitude_deg":76.0650112,"latitude_deg":10.4964,"altitude":9,"angle":336,"satellites":50,"speed":61,"hex_longitude":"2d569980","hex_latitude":"06419fa0","is_valid_coordinates":true} 
[2026-06-18 08:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128384256001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317586430375231488,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6244452016450365440,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781751507000,"timestamp_ms":1781751507000,"timestamp_seconds":1781751507,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aa6838"} 
[2026-06-18 08:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:30:10] 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-06-18 08:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 08:30:10] 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-06-18 08:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128384256001,"66":27767,"186":206,"19":38144,"24":61,"16":317586430375231488,"45":6244452016450365440},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-18 08:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128384256001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:30:10] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-18 08:30:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317586430375231488,"km_value":317586430375231.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6244452016450365440,"description":"Unknown IO ID 45"} 
[2026-06-18 08:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128384256001,"power":27767,"unknown_186":206,"unknown_19":38144,"ignition":61,"odometer":null,"unknown_45":6244452016450365440}} 
[2026-06-18 08:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":107287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:30:10] local.INFO: GPS data processed {"connection_id":107287,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:30:10] local.INFO: Acknowledgment sent {"connection_id":107287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:30:14] local.INFO: TCP Data received {"connection_id":105551,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105551,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:30:14] local.INFO: Processing buffer {"connection_id":105551,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:30:14] local.INFO: IMEI packet received {"connection_id":105551,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":105551,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:30:14] local.INFO: TCP Data received {"connection_id":105551,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aa02a80100000000000000000000000000..."} 
[2026-06-18 08:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aa02a80100000000000000000000000000..."} 
[2026-06-18 08:30:14] local.INFO: Processing buffer {"connection_id":105551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aa02a80100000000000000000000000000..."} 
[2026-06-18 08:30:14] local.INFO: Packet analysis {"connection_id":105551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:30:14] local.INFO: Extracted packet for processing {"connection_id":105551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:30:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781751481000,"timestamp_ms":1781751481000,"timestamp_seconds":1781751481,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aa02a8"} 
[2026-06-18 08:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 08:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":105551,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:30:14] local.INFO: GPS data processed {"connection_id":105551,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:30:14] local.INFO: Acknowledgment sent {"connection_id":105551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:30:25] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:25] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:25] local.INFO: IMEI packet received {"connection_id":106307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":106307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:30:26] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:26] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:26] local.INFO: IMEI packet received {"connection_id":106307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":106307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:30:29] local.INFO: TCP Data received {"connection_id":105550,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8abfe78012d7c628005e98ac00005004524..."} 
[2026-06-18 08:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8abfe78012d7c628005e98ac00005004524..."} 
[2026-06-18 08:30:29] local.INFO: Processing buffer {"connection_id":105550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8abfe78012d7c628005e98ac00005004524..."} 
[2026-06-18 08:30:29] local.INFO: Packet analysis {"connection_id":105550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ab"} 
[2026-06-18 08:30:29] local.INFO: Extracted packet for processing {"connection_id":105550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ab"} 
[2026-06-18 08:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763126400,"raw_latitude":99191488,"longitude_deg":76.31264,"latitude_deg":9.9191488,"altitude":5,"angle":69,"satellites":36,"speed":25,"hex_longitude":"2d7c6280","hex_latitude":"05e98ac0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128408576001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93822031572762624,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953296822093035520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30: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-06-18 08:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781751611000,"timestamp_ms":1781751611000,"timestamp_seconds":1781751611,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8abfe78"} 
[2026-06-18 08:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3635078456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2868684801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":233,"raw_value":5451607370410764032,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469841614,"corrected_to":0} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":387417,"corrected_to":0} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3914620928,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57752711550883638,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.WARNING: Large IO value detected {"io_id":170,"raw_value":-6151915796127301627,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:29] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,156,87,24,241,157,16,82,158,133,45,113,11,43,10,66,81,78,192,100,40,59,128,1,240,7,227,216,233,4,205,23,244,204,112,41,239,50,201,2,77,5,22,187,170],"length":527,"final_offset":657,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1469841614,"validated":0},{"io_id":204,"original":387417,"validated":0}]} 
[2026-06-18 08:30:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432421610919952384,"timestamp_seconds":432421610919952.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105550,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:30: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-06-18 08:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128408576001,"66":13450,"156":206,"87":13824,"24":25,"16":93822031572762624,"45":8953296822093035520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-18 08:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128408576001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:30:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 08:30:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93822031572762624,"km_value":93822031572762.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953296822093035520,"description":"Unknown IO ID 45"} 
[2026-06-18 08:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128408576001,"power":13450,"unknown_156":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":8953296822093035520}} 
[2026-06-18 08:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":105550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:30:29] local.INFO: GPS data processed {"connection_id":105550,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:30:29] local.INFO: Acknowledgment sent {"connection_id":105550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:30:31] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:31] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:30:31] local.INFO: IMEI packet received {"connection_id":106307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":106307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:30:32] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aa7fa8012d568a400641c0600007014d30..."} 
[2026-06-18 08:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aa7fa8012d568a400641c0600007014d30..."} 
[2026-06-18 08:30:32] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aa7fa8012d568a400641c0600007014d30..."} 
[2026-06-18 08:30:32] local.INFO: Packet analysis {"connection_id":106307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:30:32] local.INFO: Extracted packet for processing {"connection_id":106307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:30:32] local.INFO: GPS Element Parsed {"raw_longitude":760646208,"raw_latitude":104972384,"longitude_deg":76.0646208,"latitude_deg":10.4972384,"altitude":7,"angle":333,"satellites":48,"speed":60,"hex_longitude":"2d568a40","hex_latitude":"0641c060","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128385792001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317586877051830272,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6240159523057672192,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781751513000,"timestamp_ms":1781751513000,"timestamp_seconds":1781751513,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aa7fa8"} 
[2026-06-18 08:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:30: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-06-18 08: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-06-18 08:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128385792001,"66":27713,"186":206,"19":38144,"24":60,"16":317586877051830272,"45":6240159523057672192},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,19,24,16,45]} 
[2026-06-18 08:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128385792001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:30:32] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-18 08:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317586877051830272,"km_value":317586877051830.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6240159523057672192,"description":"Unknown IO ID 45"} 
[2026-06-18 08:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128385792001,"power":27713,"unknown_186":206,"unknown_19":38144,"ignition":60,"odometer":null,"unknown_45":6240159523057672192}} 
[2026-06-18 08:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":106307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:30:32] local.INFO: GPS data processed {"connection_id":106307,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:30:32] local.INFO: Acknowledgment sent {"connection_id":106307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:30:45] local.INFO: TCP Data received {"connection_id":105551,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aa54b00100000000000000000000000000..."} 
[2026-06-18 08:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aa54b00100000000000000000000000000..."} 
[2026-06-18 08:30:45] local.INFO: Processing buffer {"connection_id":105551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aa54b00100000000000000000000000000..."} 
[2026-06-18 08:30:45] local.INFO: Packet analysis {"connection_id":105551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:30:45] local.INFO: Extracted packet for processing {"connection_id":105551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:30:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781751502000,"timestamp_ms":1781751502000,"timestamp_seconds":1781751502,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aa54b0"} 
[2026-06-18 08:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:30:45] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 08:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105551,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":105551,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:30:45] local.INFO: GPS data processed {"connection_id":105551,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:30:45] local.INFO: Acknowledgment sent {"connection_id":105551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:30:52] local.INFO: TCP Data received {"connection_id":106309,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:52] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:52] local.INFO: IMEI packet received {"connection_id":106309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":106309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:30:57] local.INFO: TCP Data received {"connection_id":106309,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:57] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:57] local.INFO: IMEI packet received {"connection_id":106309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":106309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:30:58] local.INFO: TCP Data received {"connection_id":106309,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:58] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:30:58] local.INFO: IMEI packet received {"connection_id":106309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":106309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:30:59] local.INFO: TCP Data received {"connection_id":106309,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ac2588012d7c788005e993880007003a24..."} 
[2026-06-18 08:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ac2588012d7c788005e993880007003a24..."} 
[2026-06-18 08:30:59] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ac2588012d7c788005e993880007003a24..."} 
[2026-06-18 08:30:59] local.INFO: Packet analysis {"connection_id":106309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:30:59] local.INFO: Extracted packet for processing {"connection_id":106309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:30:59] local.INFO: GPS Element Parsed {"raw_longitude":763132032,"raw_latitude":99193736,"longitude_deg":76.3132032,"latitude_deg":9.9193736,"altitude":7,"angle":58,"satellites":36,"speed":16,"hex_longitude":"2d7c7880","hex_latitude":"05e99388","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128412416001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93822323630538752,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962866971302084608,"note":"Value kept but may cause issues"} 
[2026-06-18 08:30:59] 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-06-18 08:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781751621000,"timestamp_ms":1781751621000,"timestamp_seconds":1781751621,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ac2588"} 
[2026-06-18 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-06-18 08:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 08:30:59] 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-06-18 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-06-18 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-06-18 08:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:30:59] 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-06-18 08:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128412416001,"66":13178,"156":206,"87":13824,"24":16,"16":93822323630538752,"45":8962866971302084608},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-18 08:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128412416001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:30:59] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 08:30:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93822323630538752,"km_value":93822323630538.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962866971302084608,"description":"Unknown IO ID 45"} 
[2026-06-18 08:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128412416001,"power":13178,"unknown_156":206,"unknown_87":13824,"ignition":16,"odometer":null,"unknown_45":8962866971302084608}} 
[2026-06-18 08:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":106309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343299,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:30:59] local.INFO: GPS data processed {"connection_id":106309,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:30:59] local.INFO: Acknowledgment sent {"connection_id":106309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:31:00] local.INFO: TCP Data received {"connection_id":106309,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ac2970012d7c79c005e994880007002b26..."} 
[2026-06-18 08:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ac2970012d7c79c005e994880007002b26..."} 
[2026-06-18 08:31:00] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ac2970012d7c79c005e994880007002b26..."} 
[2026-06-18 08:31:00] local.INFO: Packet analysis {"connection_id":106309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:31:00] local.INFO: Extracted packet for processing {"connection_id":106309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:31:00] local.INFO: GPS Element Parsed {"raw_longitude":763132352,"raw_latitude":99193992,"longitude_deg":76.3132352,"latitude_deg":9.9193992,"altitude":7,"angle":43,"satellites":38,"speed":15,"hex_longitude":"2d7c79c0","hex_latitude":"05e99488","is_valid_coordinates":true} 
[2026-06-18 08:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128414976001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93822345105375232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969059420790294528,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31: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-06-18 08:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781751622000,"timestamp_ms":1781751622000,"timestamp_seconds":1781751622,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ac2970"} 
[2026-06-18 08:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-18 08:31:00] 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-06-18 08:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128414976001,"66":13222,"156":206,"87":13824,"24":15,"16":93822345105375232,"45":8969059420790294528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-18 08:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128414976001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:31:00] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 08:31:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93822345105375232,"km_value":93822345105375.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969059420790294528,"description":"Unknown IO ID 45"} 
[2026-06-18 08:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128414976001,"power":13222,"unknown_156":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":8969059420790294528}} 
[2026-06-18 08:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":106309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:31:00] local.INFO: GPS data processed {"connection_id":106309,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:31:00] local.INFO: Acknowledgment sent {"connection_id":106309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:31:03] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8abf6a8012d5596c006438e58000e014c2f..."} 
[2026-06-18 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8abf6a8012d5596c006438e58000e014c2f..."} 
[2026-06-18 08:31:03] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8abf6a8012d5596c006438e58000e014c2f..."} 
[2026-06-18 08:31:03] local.INFO: Packet analysis {"connection_id":106307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ab"} 
[2026-06-18 08:31:03] local.INFO: Extracted packet for processing {"connection_id":106307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ab"} 
[2026-06-18 08:31:03] local.INFO: GPS Element Parsed {"raw_longitude":760583872,"raw_latitude":105090648,"longitude_deg":76.0583872,"latitude_deg":10.5090648,"altitude":14,"angle":332,"satellites":47,"speed":51,"hex_longitude":"2d5596c0","hex_latitude":"06438e58","is_valid_coordinates":true} 
[2026-06-18 08:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128410112001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317593340977610752,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6171972209979881472,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751609000,"timestamp_ms":1781751609000,"timestamp_seconds":1781751609,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8abf6a8"} 
[2026-06-18 08:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:31: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-06-18 08:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128410112001,"66":27658,"176":206,"19":38144,"24":51,"16":317593340977610752,"45":6171972209979881472},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-18 08:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128410112001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:31:03] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-18 08:31:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317593340977610752,"km_value":317593340977610.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6171972209979881472,"description":"Unknown IO ID 45"} 
[2026-06-18 08:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128410112001,"power":27658,"unknown_176":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6171972209979881472}} 
[2026-06-18 08:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":106307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:31:03] local.INFO: GPS data processed {"connection_id":106307,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:31:03] local.INFO: Acknowledgment sent {"connection_id":106307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:31:09] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:31:09] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:31:09] local.INFO: IMEI packet received {"connection_id":106310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":106310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:31:14] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:31:14] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:31:14] local.INFO: IMEI packet received {"connection_id":106310,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":106310,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:31:15] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aaa6b80100000000000000000000000000..."} 
[2026-06-18 08:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aaa6b80100000000000000000000000000..."} 
[2026-06-18 08:31:15] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aaa6b80100000000000000000000000000..."} 
[2026-06-18 08:31:15] local.INFO: Packet analysis {"connection_id":106310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:31:15] local.INFO: Extracted packet for processing {"connection_id":106310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:31:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781751523000,"timestamp_ms":1781751523000,"timestamp_seconds":1781751523,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aaa6b8"} 
[2026-06-18 08:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:31:15] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 08:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":106310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:31:15] local.INFO: GPS data processed {"connection_id":106310,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:31:15] local.INFO: Acknowledgment sent {"connection_id":106310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:31:25] local.INFO: TCP Data received {"connection_id":105756,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:31:25] local.INFO: Processing buffer {"connection_id":105756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:31:25] local.INFO: IMEI packet received {"connection_id":105756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":105756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:31:31] local.INFO: TCP Data received {"connection_id":105756,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:31:31] local.INFO: Processing buffer {"connection_id":105756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:31:31] local.INFO: IMEI packet received {"connection_id":105756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":105756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:31:31] local.INFO: TCP Data received {"connection_id":106309,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ac5c38012d7c7c0005e996d00009004a27..."} 
[2026-06-18 08:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ac5c38012d7c7c0005e996d00009004a27..."} 
[2026-06-18 08:31:31] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ac5c38012d7c7c0005e996d00009004a27..."} 
[2026-06-18 08:31:31] local.INFO: Packet analysis {"connection_id":106309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:31:31] local.INFO: Extracted packet for processing {"connection_id":106309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:31:31] local.INFO: GPS Element Parsed {"raw_longitude":763132928,"raw_latitude":99194576,"longitude_deg":76.3132928,"latitude_deg":9.9194576,"altitude":9,"angle":74,"satellites":39,"speed":5,"hex_longitude":"2d7c7c00","hex_latitude":"05e996d0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128415232001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93822396644982784,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969411264511248384,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:31] 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-06-18 08:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781751635000,"timestamp_ms":1781751635000,"timestamp_seconds":1781751635,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ac5c38"} 
[2026-06-18 08:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:31: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-06-18 08:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 08:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:31:31] 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-06-18 08:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128415232001,"66":13341,"156":206,"87":13824,"24":5,"16":93822396644982784,"45":8969411264511248384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-18 08:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128415232001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:31:31] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 08:31:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93822396644982784,"km_value":93822396644982.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969411264511248384,"description":"Unknown IO ID 45"} 
[2026-06-18 08:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128415232001,"power":13341,"unknown_156":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8969411264511248384}} 
[2026-06-18 08:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":106309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:31:31] local.INFO: GPS data processed {"connection_id":106309,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:31:31] local.INFO: Acknowledgment sent {"connection_id":106309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:31:32] local.INFO: TCP Data received {"connection_id":105756,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ac1200012d5585000643acf8000d01492e..."} 
[2026-06-18 08:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ac1200012d5585000643acf8000d01492e..."} 
[2026-06-18 08:31:32] local.INFO: Processing buffer {"connection_id":105756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ac1200012d5585000643acf8000d01492e..."} 
[2026-06-18 08:31:32] local.INFO: Packet analysis {"connection_id":105756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:31:32] local.INFO: Extracted packet for processing {"connection_id":105756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":760579328,"raw_latitude":105098488,"longitude_deg":76.0579328,"latitude_deg":10.5098488,"altitude":13,"angle":329,"satellites":46,"speed":51,"hex_longitude":"2d558500","hex_latitude":"0643acf8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128411904001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317593779064274944,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6167327872866211840,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781751616000,"timestamp_ms":1781751616000,"timestamp_seconds":1781751616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ac1200"} 
[2026-06-18 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-06-18 08:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 08:31: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-06-18 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-06-18 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-06-18 08:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128411904001,"66":27745,"176":206,"19":38144,"24":51,"16":317593779064274944,"45":6167327872866211840},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-18 08:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128411904001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:31:32] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-18 08:31:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317593779064274944,"km_value":317593779064274.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6167327872866211840,"description":"Unknown IO ID 45"} 
[2026-06-18 08:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128411904001,"power":27745,"unknown_176":206,"unknown_19":38144,"ignition":51,"odometer":null,"unknown_45":6167327872866211840}} 
[2026-06-18 08:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":105756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:31:32] local.INFO: GPS data processed {"connection_id":105756,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:31:32] local.INFO: Acknowledgment sent {"connection_id":105756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:31:46] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aac2100100000000000000000000000000..."} 
[2026-06-18 08:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aac2100100000000000000000000000000..."} 
[2026-06-18 08:31:46] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aac2100100000000000000000000000000..."} 
[2026-06-18 08:31:46] local.INFO: Packet analysis {"connection_id":106310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:31:46] local.INFO: Extracted packet for processing {"connection_id":106310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:31:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:31: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-06-18 08:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781751530000,"timestamp_ms":1781751530000,"timestamp_seconds":1781751530,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aac210"} 
[2026-06-18 08:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 08:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106310,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":106310,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:31:46] local.INFO: GPS data processed {"connection_id":106310,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:31:46] local.INFO: Acknowledgment sent {"connection_id":106310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:31:52] local.INFO: TCP Data received {"connection_id":107288,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:52] local.INFO: Processing buffer {"connection_id":107288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:52] local.INFO: IMEI packet received {"connection_id":107288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":107288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:31:54] local.INFO: TCP Data received {"connection_id":107288,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:54] local.INFO: Processing buffer {"connection_id":107288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:54] local.INFO: IMEI packet received {"connection_id":107288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":107288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:31:56] local.INFO: TCP Data received {"connection_id":107288,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:56] local.INFO: Processing buffer {"connection_id":107288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:56] local.INFO: IMEI packet received {"connection_id":107288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":107288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:31:57] local.INFO: TCP Data received {"connection_id":107288,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107288,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:57] local.INFO: Processing buffer {"connection_id":107288,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:31:57] local.INFO: IMEI packet received {"connection_id":107288,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":107288,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:31:58] local.INFO: TCP Data received {"connection_id":107288,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ad4698012d7c94c005e9b9280009005125..."} 
[2026-06-18 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ad4698012d7c94c005e9b9280009005125..."} 
[2026-06-18 08:31:58] local.INFO: Processing buffer {"connection_id":107288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ad4698012d7c94c005e9b9280009005125..."} 
[2026-06-18 08:31:58] local.INFO: Packet analysis {"connection_id":107288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:31:58] local.INFO: Extracted packet for processing {"connection_id":107288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763139264,"raw_latitude":99203368,"longitude_deg":76.3139264,"latitude_deg":9.9203368,"altitude":9,"angle":81,"satellites":37,"speed":17,"hex_longitude":"2d7c94c0","hex_latitude":"05e9b928","is_valid_coordinates":true} 
[2026-06-18 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128433408001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93823101019619328,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976096295210467328,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:58] 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-06-18 08:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781751695000,"timestamp_ms":1781751695000,"timestamp_seconds":1781751695,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ad4698"} 
[2026-06-18 08:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:31: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-06-18 08:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-18 08:31:58] 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-06-18 08:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:31: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-06-18 08:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128433408001,"66":13406,"9":206,"87":13824,"24":17,"16":93823101019619328,"45":8976096295210467328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-18 08:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128433408001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:31:58] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-18 08:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93823101019619328,"km_value":93823101019619.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976096295210467328,"description":"Unknown IO ID 45"} 
[2026-06-18 08:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128433408001,"power":13406,"unknown_9":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8976096295210467328}} 
[2026-06-18 08:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":107288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343304,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:31:58] local.INFO: GPS data processed {"connection_id":107288,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:31:58] local.INFO: Acknowledgment sent {"connection_id":107288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:31:59] local.INFO: TCP Data received {"connection_id":107288,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ad5a20012d7c9e4005e9bae00008004325..."} 
[2026-06-18 08:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ad5a20012d7c9e4005e9bae00008004325..."} 
[2026-06-18 08:31:59] local.INFO: Processing buffer {"connection_id":107288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ad5a20012d7c9e4005e9bae00008004325..."} 
[2026-06-18 08:31:59] local.INFO: Packet analysis {"connection_id":107288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:31:59] local.INFO: Extracted packet for processing {"connection_id":107288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:31:59] local.INFO: GPS Element Parsed {"raw_longitude":763141696,"raw_latitude":99203808,"longitude_deg":76.3141696,"latitude_deg":9.9203808,"altitude":8,"angle":67,"satellites":37,"speed":18,"hex_longitude":"2d7c9e40","hex_latitude":"05e9bae0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128433920001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93823221278703616,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977011088884836352,"note":"Value kept but may cause issues"} 
[2026-06-18 08:31:59] 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-06-18 08:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781751700000,"timestamp_ms":1781751700000,"timestamp_seconds":1781751700,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ad5a20"} 
[2026-06-18 08:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-18 08:31:59] 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-06-18 08: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-06-18 08:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":107288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":107288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":107288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:31:59] 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-06-18 08:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128433920001,"66":13135,"9":206,"87":13824,"24":18,"16":93823221278703616,"45":8977011088884836352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-18 08:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128433920001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:31:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-18 08:31:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93823221278703616,"km_value":93823221278703.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977011088884836352,"description":"Unknown IO ID 45"} 
[2026-06-18 08:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128433920001,"power":13135,"unknown_9":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8977011088884836352}} 
[2026-06-18 08:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":107288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:31:59] local.INFO: GPS data processed {"connection_id":107288,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:31:59] local.INFO: Acknowledgment sent {"connection_id":107288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:32:04] local.INFO: TCP Data received {"connection_id":105756,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ac2d58012d5572000643cba0000b01482d..."} 
[2026-06-18 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ac2d58012d5572000643cba0000b01482d..."} 
[2026-06-18 08:32:04] local.INFO: Processing buffer {"connection_id":105756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ac2d58012d5572000643cba0000b01482d..."} 
[2026-06-18 08:32:04] local.INFO: Packet analysis {"connection_id":105756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:32:04] local.INFO: Extracted packet for processing {"connection_id":105756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ac"} 
[2026-06-18 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":760574464,"raw_latitude":105106336,"longitude_deg":76.0574464,"latitude_deg":10.5106336,"altitude":11,"angle":328,"satellites":45,"speed":52,"hex_longitude":"2d557200","hex_latitude":"0643cba0","is_valid_coordinates":true} 
[2026-06-18 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128413696001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317594225740873728,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6162331692031604736,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781751623000,"timestamp_ms":1781751623000,"timestamp_seconds":1781751623,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ac2d58"} 
[2026-06-18 08:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128413696001,"66":27626,"176":206,"19":38144,"24":52,"16":317594225740873728,"45":6162331692031604736},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,19,24,16,45]} 
[2026-06-18 08:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128413696001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:32:04] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-18 08:32:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317594225740873728,"km_value":317594225740873.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6162331692031604736,"description":"Unknown IO ID 45"} 
[2026-06-18 08:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128413696001,"power":27626,"unknown_176":206,"unknown_19":38144,"ignition":52,"odometer":null,"unknown_45":6162331692031604736}} 
[2026-06-18 08:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":105756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:32:04] local.INFO: GPS data processed {"connection_id":105756,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:32:04] local.INFO: Acknowledgment sent {"connection_id":105756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:32:04] local.INFO: TCP Data received {"connection_id":105552,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:32:04] local.INFO: Processing buffer {"connection_id":105552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:32:04] local.INFO: IMEI packet received {"connection_id":105552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":105552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:32:09] local.INFO: TCP Data received {"connection_id":105553,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:32:09] local.INFO: Processing buffer {"connection_id":105553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:32:09] local.INFO: IMEI packet received {"connection_id":105553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":105553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:32:14] local.INFO: TCP Data received {"connection_id":105553,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105553,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:32:14] local.INFO: Processing buffer {"connection_id":105553,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:32:14] local.INFO: IMEI packet received {"connection_id":105553,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":105553,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:32:14] local.INFO: TCP Data received {"connection_id":105553,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aac2100100000000000000000000000000..."} 
[2026-06-18 08:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aac2100100000000000000000000000000..."} 
[2026-06-18 08:32:14] local.INFO: Processing buffer {"connection_id":105553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aac2100100000000000000000000000000..."} 
[2026-06-18 08:32:14] local.INFO: Packet analysis {"connection_id":105553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:32:14] local.INFO: Extracted packet for processing {"connection_id":105553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:32:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 08:32:14] 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-06-18 08:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781751530000,"timestamp_ms":1781751530000,"timestamp_seconds":1781751530,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aac210"} 
[2026-06-18 08:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:32:14] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 08:32:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":105553,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 08:32:14] local.INFO: GPS data processed {"connection_id":105553,"processed":0,"errors":0,"total":1} 
[2026-06-18 08:32:14] local.INFO: Acknowledgment sent {"connection_id":105553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:32:30] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:30] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:30] local.INFO: IMEI packet received {"connection_id":106311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":106311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:32:31] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:31] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:31] local.INFO: IMEI packet received {"connection_id":106311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":106311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:32:32] local.INFO: TCP Data received {"connection_id":107288,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ae0600012d7cf60005e9bc080003005c27..."} 
[2026-06-18 08:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ae0600012d7cf60005e9bc080003005c27..."} 
[2026-06-18 08:32:32] local.INFO: Processing buffer {"connection_id":107288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ae0600012d7cf60005e9bc080003005c27..."} 
[2026-06-18 08:32:32] local.INFO: Packet analysis {"connection_id":107288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:32:32] local.INFO: Extracted packet for processing {"connection_id":107288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:32:32] local.INFO: GPS Element Parsed {"raw_longitude":763164160,"raw_latitude":99204104,"longitude_deg":76.316416,"latitude_deg":9.9204104,"altitude":3,"angle":92,"satellites":39,"speed":27,"hex_longitude":"2d7cf600","hex_latitude":"05e9bc08","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128442880001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93824380919873536,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994181062463979520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32: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-06-18 08:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781751744000,"timestamp_ms":1781751744000,"timestamp_seconds":1781751744,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ae0600"} 
[2026-06-18 08:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":144,"data_length":795,"current_offset":136} 
[2026-06-18 08:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107288,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:32:32] 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-06-18 08:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128442880001,"66":13254,"192":206,"87":13824,"24":27,"16":93824380919873536,"45":8994181062463979520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 08:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128442880001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:32:32] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 08:32:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93824380919873536,"km_value":93824380919873.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994181062463979520,"description":"Unknown IO ID 45"} 
[2026-06-18 08:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128442880001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8994181062463979520}} 
[2026-06-18 08:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":107288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343307,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:32:32] local.INFO: GPS data processed {"connection_id":107288,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:32:32] local.INFO: Acknowledgment sent {"connection_id":107288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:32:34] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:32:34] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:32:34] local.INFO: IMEI packet received {"connection_id":106312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":106312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:32:36] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:36] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:32:36] local.INFO: IMEI packet received {"connection_id":106311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":106311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:32:41] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.206.94","data_length":1360,"data_hex":"000000000000030f8e0a0000019ed8ad5638012d54a78006453480000a014b2e..."} 
[2026-06-18 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ed8ad5638012d54a78006453480000a014b2e..."} 
[2026-06-18 08:32:41] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ed8ad5638012d54a78006453480000a014b2e..."} 
[2026-06-18 08:32:41] local.INFO: Packet analysis {"connection_id":106311,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:32:41] local.INFO: Extracted packet for processing {"connection_id":106311,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":760522624,"raw_latitude":105198720,"longitude_deg":76.0522624,"latitude_deg":10.519872,"altitude":10,"angle":331,"satellites":46,"speed":60,"hex_longitude":"2d54a780","hex_latitude":"06453480","is_valid_coordinates":true} 
[2026-06-18 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128433408001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317599345341890560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6104840428062093312,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781751699000,"timestamp_ms":1781751699000,"timestamp_seconds":1781751699,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ad5638"} 
[2026-06-18 08:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:32:41] 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-06-18 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 08:32:41] 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-06-18 08:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128433408001,"66":27691,"177":206,"19":38144,"24":60,"16":317599345341890560,"45":6104840428062093312},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-18 08:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128433408001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:32:41] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 08:32:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317599345341890560,"km_value":317599345341890.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":6104840428062093312,"description":"Unknown IO ID 45"} 
[2026-06-18 08:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128433408001,"power":27691,"unknown_177":206,"unknown_19":38144,"ignition":60,"odometer":null,"unknown_45":6104840428062093312}} 
[2026-06-18 08:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":106311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:32:41] local.INFO: GPS data processed {"connection_id":106311,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:32:41] local.INFO: Acknowledgment sent {"connection_id":106311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:32:41] local.INFO: Packet analysis {"connection_id":106311,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:32:41] local.INFO: Incomplete packet, waiting for more data {"connection_id":106311,"needed":795,"available":565} 
[2026-06-18 08:32:45] local.INFO: TCP Data received {"connection_id":105553,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8aad980012d0c2a800702ace00005006206..."} 
[2026-06-18 08:32:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8aad980012d0c2a800702ace00005006206..."} 
[2026-06-18 08:32:45] local.INFO: Processing buffer {"connection_id":105553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8aad980012d0c2a800702ace00005006206..."} 
[2026-06-18 08:32:45] local.INFO: Packet analysis {"connection_id":105553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:32:45] local.INFO: Extracted packet for processing {"connection_id":105553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8aa"} 
[2026-06-18 08:32:45] local.INFO: GPS Element Parsed {"raw_longitude":755772032,"raw_latitude":117615840,"longitude_deg":75.5772032,"latitude_deg":11.761584,"altitude":5,"angle":98,"satellites":6,"speed":2,"hex_longitude":"2d0c2a80","hex_latitude":"0702ace0","is_valid_coordinates":true} 
[2026-06-18 08:32:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:32:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048853033648128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,37,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:32:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781751536000,"timestamp_ms":1781751536000,"timestamp_seconds":1781751536,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8aad980"} 
[2026-06-18 08:32:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:32:45] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 08: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 08:32:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:32:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:32:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:32:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:32:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:32:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105553,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:32:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:32:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:32:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:32:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13156,"37":206,"94":11008,"24":2,"16":21048853033648128},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16]} 
[2026-06-18 08:32:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:32:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:32:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 08:32:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 08:32:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:32:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21048853033648128,"km_value":21048853033648.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:32:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13156,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null}} 
[2026-06-18 08:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":105553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343309,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:32:45] local.INFO: GPS data processed {"connection_id":105553,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:32:45] local.INFO: Acknowledgment sent {"connection_id":105553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:32:51] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.206.94","data_length":1025,"data_hex":"2d55180006447600000d014e2d00330000000a000400ef0100715600f0010045..."} 
[2026-06-18 08:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":1025,"packet_hex":"2d55180006447600000d014e2d00330000000a000400ef0100715600f0010045..."} 
[2026-06-18 08:32:51] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed8ad6da8012d549680064553f00009014b2f..."} 
[2026-06-18 08:32:51] local.INFO: Packet analysis {"connection_id":106311,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:32:51] local.INFO: Extracted packet for processing {"connection_id":106311,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":760518272,"raw_latitude":105206768,"longitude_deg":76.0518272,"latitude_deg":10.5206768,"altitude":9,"angle":331,"satellites":47,"speed":60,"hex_longitude":"2d549680","hex_latitude":"064553f0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128434944001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317599787723522048,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6099984984715853824,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781751705000,"timestamp_ms":1781751705000,"timestamp_seconds":1781751705,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ad6da8"} 
[2026-06-18 08:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:32:51] 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-06-18 08:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 08:32:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128434944001,"66":27713,"177":206,"19":38144,"24":60,"16":317599787723522048,"45":6099984984715853824},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-18 08:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128434944001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:32:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 08:32:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317599787723522048,"km_value":317599787723522.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6099984984715853824,"description":"Unknown IO ID 45"} 
[2026-06-18 08:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128434944001,"power":27713,"unknown_177":206,"unknown_19":38144,"ignition":60,"odometer":null,"unknown_45":6099984984715853824}} 
[2026-06-18 08:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":106311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:32:51] local.INFO: GPS data processed {"connection_id":106311,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:32:51] local.INFO: Acknowledgment sent {"connection_id":106311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:32:51] local.INFO: Packet analysis {"connection_id":106311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:32:51] local.INFO: Extracted packet for processing {"connection_id":106311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:32:51] local.INFO: GPS Element Parsed {"raw_longitude":760513984,"raw_latitude":105214664,"longitude_deg":76.0513984,"latitude_deg":10.5214664,"altitude":8,"angle":332,"satellites":45,"speed":57,"hex_longitude":"2d5485c0","hex_latitude":"064572c8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128436480001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317600221515218944,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6095199910113832960,"note":"Value kept but may cause issues"} 
[2026-06-18 08:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781751711000,"timestamp_ms":1781751711000,"timestamp_seconds":1781751711,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ad8518"} 
[2026-06-18 08:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:32:51] 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-06-18 08:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 08:32:51] 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-06-18 08: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-06-18 08:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128436480001,"66":27745,"177":206,"19":38144,"24":57,"16":317600221515218944,"45":6095199910113832960},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-18 08:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128436480001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:32:51] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 08:32:51] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317600221515218944,"km_value":317600221515218.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6095199910113832960,"description":"Unknown IO ID 45"} 
[2026-06-18 08:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128436480001,"power":27745,"unknown_177":206,"unknown_19":38144,"ignition":57,"odometer":null,"unknown_45":6095199910113832960}} 
[2026-06-18 08:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":106311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:32:51] local.INFO: GPS data processed {"connection_id":106311,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:32:51] local.INFO: Acknowledgment sent {"connection_id":106311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:32:53] local.INFO: TCP Data received {"connection_id":105757,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:32:53] local.INFO: Processing buffer {"connection_id":105757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:32:53] local.INFO: IMEI packet received {"connection_id":105757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":105757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:32:57] local.INFO: TCP Data received {"connection_id":105757,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:32:57] local.INFO: Processing buffer {"connection_id":105757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:32:57] local.INFO: IMEI packet received {"connection_id":105757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":105757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:33:02] local.INFO: TCP Data received {"connection_id":105757,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105757,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:02] local.INFO: Processing buffer {"connection_id":105757,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:02] local.INFO: IMEI packet received {"connection_id":105757,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":105757,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:33:03] local.INFO: TCP Data received {"connection_id":105757,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ae0600012d7cf60005e9bc080003005c27..."} 
[2026-06-18 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ae0600012d7cf60005e9bc080003005c27..."} 
[2026-06-18 08:33:03] local.INFO: Processing buffer {"connection_id":105757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ae0600012d7cf60005e9bc080003005c27..."} 
[2026-06-18 08:33:03] local.INFO: Packet analysis {"connection_id":105757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:03] local.INFO: Extracted packet for processing {"connection_id":105757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763164160,"raw_latitude":99204104,"longitude_deg":76.316416,"latitude_deg":9.9204104,"altitude":3,"angle":92,"satellites":39,"speed":27,"hex_longitude":"2d7cf600","hex_latitude":"05e9bc08","is_valid_coordinates":true} 
[2026-06-18 08:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128446464001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93824380919873536,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004384530370136064,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33: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-06-18 08:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751744000,"timestamp_ms":1781751744000,"timestamp_seconds":1781751744,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ae0600"} 
[2026-06-18 08:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 08:33:03] 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-06-18 08:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:33:03] 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-06-18 08:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128446464001,"66":13254,"192":206,"87":13824,"24":27,"16":93824380919873536,"45":9004384530370136064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 08:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128446464001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:33:03] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 08:33:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93824380919873536,"km_value":93824380919873.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004384530370136064,"description":"Unknown IO ID 45"} 
[2026-06-18 08:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128446464001,"power":13254,"unknown_192":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9004384530370136064}} 
[2026-06-18 08:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":105757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343312,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:33:03] local.INFO: GPS data processed {"connection_id":105757,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:33:03] local.INFO: Acknowledgment sent {"connection_id":105757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:33:04] local.INFO: TCP Data received {"connection_id":105757,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ae11b8012d7cfe0005e9bcd80002005026..."} 
[2026-06-18 08:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ae11b8012d7cfe0005e9bcd80002005026..."} 
[2026-06-18 08:33:04] local.INFO: Processing buffer {"connection_id":105757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ae11b8012d7cfe0005e9bcd80002005026..."} 
[2026-06-18 08:33:04] local.INFO: Packet analysis {"connection_id":105757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:04] local.INFO: Extracted packet for processing {"connection_id":105757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:04] local.INFO: GPS Element Parsed {"raw_longitude":763166208,"raw_latitude":99204312,"longitude_deg":76.3166208,"latitude_deg":9.9204312,"altitude":2,"angle":80,"satellites":38,"speed":28,"hex_longitude":"2d7cfe00","hex_latitude":"05e9bcd8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128446464001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93824479704121344,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004384530370136064,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781751747000,"timestamp_ms":1781751747000,"timestamp_seconds":1781751747,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ae11b8"} 
[2026-06-18 08:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:33:04] 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-06-18 08: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 08:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128446464001,"66":13515,"192":206,"87":13824,"24":28,"16":93824479704121344,"45":9004384530370136064},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 08:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128446464001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:33:04] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 08:33:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93824479704121344,"km_value":93824479704121.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004384530370136064,"description":"Unknown IO ID 45"} 
[2026-06-18 08:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128446464001,"power":13515,"unknown_192":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":9004384530370136064}} 
[2026-06-18 08:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":105757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:33:04] local.INFO: GPS data processed {"connection_id":105757,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:33:04] local.INFO: Acknowledgment sent {"connection_id":105757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:33:09] local.INFO: TCP Data received {"connection_id":105554,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:33:09] local.INFO: Processing buffer {"connection_id":105554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:33:09] local.INFO: IMEI packet received {"connection_id":105554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":105554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:33:14] local.INFO: TCP Data received {"connection_id":105554,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105554,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:33:14] local.INFO: Processing buffer {"connection_id":105554,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:33:14] local.INFO: IMEI packet received {"connection_id":105554,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":105554,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:33:14] local.INFO: TCP Data received {"connection_id":105554,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ae7360012d0c28000702adc0002000051d..."} 
[2026-06-18 08:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ae7360012d0c28000702adc0002000051d..."} 
[2026-06-18 08:33:14] local.INFO: Processing buffer {"connection_id":105554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ae7360012d0c28000702adc0002000051d..."} 
[2026-06-18 08:33:14] local.INFO: Packet analysis {"connection_id":105554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:14] local.INFO: Extracted packet for processing {"connection_id":105554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:14] local.INFO: GPS Element Parsed {"raw_longitude":755771392,"raw_latitude":117616064,"longitude_deg":75.5771392,"latitude_deg":11.7616064,"altitude":32,"angle":5,"satellites":29,"speed":2,"hex_longitude":"2d0c2800","hex_latitude":"0702adc0","is_valid_coordinates":true} 
[2026-06-18 08:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128453376001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048917458157568,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879788889077760,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781751772000,"timestamp_ms":1781751772000,"timestamp_seconds":1781751772,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ae7360"} 
[2026-06-18 08:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:33:14] 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-06-18 08:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-18 08:33:14] 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-06-18 08:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128453376001,"66":14233,"37":206,"94":11008,"24":2,"16":21048917458157568,"45":875879788889077760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 08:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128453376001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:33:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 08:33:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21048917458157568,"km_value":21048917458157.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879788889077760,"description":"Unknown IO ID 45"} 
[2026-06-18 08:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128453376001,"power":14233,"unknown_37":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":875879788889077760}} 
[2026-06-18 08:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":105554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343314,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:33:15] local.INFO: GPS data processed {"connection_id":105554,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:33:15] local.INFO: Acknowledgment sent {"connection_id":105554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:33:25] local.INFO: TCP Data received {"connection_id":106313,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:33:25] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:33:25] local.INFO: IMEI packet received {"connection_id":106313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":106313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:33:30] local.INFO: TCP Data received {"connection_id":106313,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:33:30] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:33:30] local.INFO: IMEI packet received {"connection_id":106313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":106313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:33:35] local.INFO: TCP Data received {"connection_id":105757,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ae34e0012d7d11c005e9c1000004003427..."} 
[2026-06-18 08:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ae34e0012d7d11c005e9c1000004003427..."} 
[2026-06-18 08:33:35] local.INFO: Processing buffer {"connection_id":105757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ae34e0012d7d11c005e9c1000004003427..."} 
[2026-06-18 08:33:35] local.INFO: Packet analysis {"connection_id":105757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:35] local.INFO: Extracted packet for processing {"connection_id":105757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763171264,"raw_latitude":99205376,"longitude_deg":76.3171264,"latitude_deg":9.9205376,"altitude":4,"angle":52,"satellites":39,"speed":5,"hex_longitude":"2d7d11c0","hex_latitude":"05e9c100","is_valid_coordinates":true} 
[2026-06-18 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128447232001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93824728812224512,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006636330183874560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781751756000,"timestamp_ms":1781751756000,"timestamp_seconds":1781751756,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ae34e0"} 
[2026-06-18 08:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-18 08:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105757,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:33:35] 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-06-18 08:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128447232001,"66":12885,"192":206,"87":13824,"24":5,"16":93824728812224512,"45":9006636330183874560},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 08:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128447232001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:33:35] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 08:33:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93824728812224512,"km_value":93824728812224.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006636330183874560,"description":"Unknown IO ID 45"} 
[2026-06-18 08:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128447232001,"power":12885,"unknown_192":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9006636330183874560}} 
[2026-06-18 08:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":105757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343315,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:33:36] local.INFO: GPS data processed {"connection_id":105757,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:33:36] local.INFO: Acknowledgment sent {"connection_id":105757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:33:40] local.INFO: TCP Data received {"connection_id":106313,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ada070012d547380064594b80009014b2c..."} 
[2026-06-18 08:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ada070012d547380064594b80009014b2c..."} 
[2026-06-18 08:33:40] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ada070012d547380064594b80009014b2c..."} 
[2026-06-18 08:33:40] local.INFO: Packet analysis {"connection_id":106313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:33:40] local.INFO: Extracted packet for processing {"connection_id":106313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:33:40] local.INFO: GPS Element Parsed {"raw_longitude":760509312,"raw_latitude":105223352,"longitude_deg":76.0509312,"latitude_deg":10.5223352,"altitude":9,"angle":331,"satellites":44,"speed":53,"hex_longitude":"2d547380","hex_latitude":"064594b8","is_valid_coordinates":true} 
[2026-06-18 08:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128438016001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317600698256588800,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6090485204255950848,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781751718000,"timestamp_ms":1781751718000,"timestamp_seconds":1781751718,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ada070"} 
[2026-06-18 08:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:33: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-06-18 08:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128438016001,"66":27604,"177":206,"19":38144,"24":53,"16":317600698256588800,"45":6090485204255950848},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-18 08:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128438016001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:33:40] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 08:33:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317600698256588800,"km_value":317600698256588.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":6090485204255950848,"description":"Unknown IO ID 45"} 
[2026-06-18 08:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128438016001,"power":27604,"unknown_177":206,"unknown_19":38144,"ignition":53,"odometer":null,"unknown_45":6090485204255950848}} 
[2026-06-18 08:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":106313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:33:40] local.INFO: GPS data processed {"connection_id":106313,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:33:40] local.INFO: Acknowledgment sent {"connection_id":106313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:33:45] local.INFO: TCP Data received {"connection_id":105554,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ae7748012d0c28000702ae38002001601d..."} 
[2026-06-18 08:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ae7748012d0c28000702ae38002001601d..."} 
[2026-06-18 08:33:45] local.INFO: Processing buffer {"connection_id":105554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ae7748012d0c28000702ae38002001601d..."} 
[2026-06-18 08:33:45] local.INFO: Packet analysis {"connection_id":105554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:45] local.INFO: Extracted packet for processing {"connection_id":105554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:45] local.INFO: GPS Element Parsed {"raw_longitude":755771392,"raw_latitude":117616184,"longitude_deg":75.5771392,"latitude_deg":11.7616184,"altitude":32,"angle":352,"satellites":29,"speed":4,"hex_longitude":"2d0c2800","hex_latitude":"0702ae38","is_valid_coordinates":true} 
[2026-06-18 08:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128453632001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21048921753124864,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875950157633273856,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781751773000,"timestamp_ms":1781751773000,"timestamp_seconds":1781751773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ae7748"} 
[2026-06-18 08:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:33:45] 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-06-18 08:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-18 08:33:45] 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-06-18 08:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105554,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128453632001,"66":14265,"37":206,"94":11008,"24":4,"16":21048921753124864,"45":875950157633273856},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 08:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128453632001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:33:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 08:33:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21048921753124864,"km_value":21048921753124.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":875950157633273856,"description":"Unknown IO ID 45"} 
[2026-06-18 08:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128453632001,"power":14265,"unknown_37":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":875950157633273856}} 
[2026-06-18 08:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":105554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343317,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:33:45] local.INFO: GPS data processed {"connection_id":105554,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:33:45] local.INFO: Acknowledgment sent {"connection_id":105554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:33:52] local.INFO: TCP Data received {"connection_id":107290,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:52] local.INFO: Processing buffer {"connection_id":107290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:52] local.INFO: IMEI packet received {"connection_id":107290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":107290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:33:57] local.INFO: TCP Data received {"connection_id":107290,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107290,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:57] local.INFO: Processing buffer {"connection_id":107290,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:33:57] local.INFO: IMEI packet received {"connection_id":107290,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":107290,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:33:59] local.INFO: TCP Data received {"connection_id":107290,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ae38c8012d7d120005e9c1800004002828..."} 
[2026-06-18 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ae38c8012d7d120005e9c1800004002828..."} 
[2026-06-18 08:33:59] local.INFO: Processing buffer {"connection_id":107290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ae38c8012d7d120005e9c1800004002828..."} 
[2026-06-18 08:33:59] local.INFO: Packet analysis {"connection_id":107290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:59] local.INFO: Extracted packet for processing {"connection_id":107290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763171328,"raw_latitude":99205504,"longitude_deg":76.3171328,"latitude_deg":9.9205504,"altitude":4,"angle":40,"satellites":40,"speed":7,"hex_longitude":"2d7d1200","hex_latitude":"05e9c180","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128449536001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93824733107191808,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012195460974182400,"note":"Value kept but may cause issues"} 
[2026-06-18 08:33: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-06-18 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781751757000,"timestamp_ms":1781751757000,"timestamp_seconds":1781751757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ae38c8"} 
[2026-06-18 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-06-18 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 08:33: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-06-18 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-06-18 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-06-18 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":107290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":107290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":107290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:33:59] 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-06-18 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128449536001,"66":13515,"192":206,"87":13824,"24":7,"16":93824733107191808,"45":9012195460974182400},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 08:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128449536001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:33:59] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 08:33:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93824733107191808,"km_value":93824733107191.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012195460974182400,"description":"Unknown IO ID 45"} 
[2026-06-18 08:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128449536001,"power":13515,"unknown_192":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9012195460974182400}} 
[2026-06-18 08:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":107290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343318,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:33:59] local.INFO: GPS data processed {"connection_id":107290,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:33:59] local.INFO: Acknowledgment sent {"connection_id":107290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:34:09] local.INFO: TCP Data received {"connection_id":105758,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:34:09] local.INFO: Processing buffer {"connection_id":105758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:34:09] local.INFO: IMEI packet received {"connection_id":105758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":105758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:34:14] local.INFO: TCP Data received {"connection_id":105758,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105758,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:34:14] local.INFO: Processing buffer {"connection_id":105758,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:34:14] local.INFO: IMEI packet received {"connection_id":105758,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":105758,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:34:15] local.INFO: TCP Data received {"connection_id":105758,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8af7918012d0c03c007038530000f000d1c..."} 
[2026-06-18 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8af7918012d0c03c007038530000f000d1c..."} 
[2026-06-18 08:34:15] local.INFO: Processing buffer {"connection_id":105758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8af7918012d0c03c007038530000f000d1c..."} 
[2026-06-18 08:34:15] local.INFO: Packet analysis {"connection_id":105758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8af"} 
[2026-06-18 08:34:15] local.INFO: Extracted packet for processing {"connection_id":105758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8af"} 
[2026-06-18 08:34:15] local.INFO: GPS Element Parsed {"raw_longitude":755762112,"raw_latitude":117671216,"longitude_deg":75.5762112,"latitude_deg":11.7671216,"altitude":15,"angle":13,"satellites":28,"speed":43,"hex_longitude":"2d0c03c0","hex_latitude":"07038530","is_valid_coordinates":true} 
[2026-06-18 08:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128468992001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21051657647292416,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864550421088757760,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781751839000,"timestamp_ms":1781751839000,"timestamp_seconds":1781751839,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8af7918"} 
[2026-06-18 08:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:34:15] 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-06-18 08:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 08:34:15] 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-06-18 08:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128468992001,"66":14439,"37":206,"94":11008,"24":43,"16":21051657647292416,"45":864550421088757760},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 08:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128468992001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:34:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 08:34:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21051657647292416,"km_value":21051657647292.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":864550421088757760,"description":"Unknown IO ID 45"} 
[2026-06-18 08:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128468992001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":43,"odometer":null,"unknown_45":864550421088757760}} 
[2026-06-18 08:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":105758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343319,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:34:15] local.INFO: GPS data processed {"connection_id":105758,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:34:15] local.INFO: Acknowledgment sent {"connection_id":105758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:34:25] local.INFO: TCP Data received {"connection_id":105555,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:34:25] local.INFO: Processing buffer {"connection_id":105555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:34:25] local.INFO: IMEI packet received {"connection_id":105555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":105555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:34:29] local.INFO: TCP Data received {"connection_id":105555,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:34:29] local.INFO: Processing buffer {"connection_id":105555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:34:29] local.INFO: IMEI packet received {"connection_id":105555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":105555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:34:30] local.INFO: TCP Data received {"connection_id":105555,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8adbbc8012d5462400645b4c80009014c2f..."} 
[2026-06-18 08:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8adbbc8012d5462400645b4c80009014c2f..."} 
[2026-06-18 08:34:30] local.INFO: Processing buffer {"connection_id":105555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8adbbc8012d5462400645b4c80009014c2f..."} 
[2026-06-18 08:34:30] local.INFO: Packet analysis {"connection_id":105555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:34:30] local.INFO: Extracted packet for processing {"connection_id":105555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ad"} 
[2026-06-18 08:34:30] local.INFO: GPS Element Parsed {"raw_longitude":760504896,"raw_latitude":105231560,"longitude_deg":76.0504896,"latitude_deg":10.523156,"altitude":9,"angle":332,"satellites":47,"speed":53,"hex_longitude":"2d546240","hex_latitude":"0645b4c8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128439808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317601149228154880,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6085348285933205504,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781751725000,"timestamp_ms":1781751725000,"timestamp_seconds":1781751725,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8adbbc8"} 
[2026-06-18 08:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:34: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-06-18 08: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 08:34: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-06-18 08: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-06-18 08:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128439808001,"66":27789,"177":206,"19":38144,"24":53,"16":317601149228154880,"45":6085348285933205504},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-18 08:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128439808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:34:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 08:34:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317601149228154880,"km_value":317601149228154.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6085348285933205504,"description":"Unknown IO ID 45"} 
[2026-06-18 08:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128439808001,"power":27789,"unknown_177":206,"unknown_19":38144,"ignition":53,"odometer":null,"unknown_45":6085348285933205504}} 
[2026-06-18 08:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":105555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:34:30] local.INFO: GPS data processed {"connection_id":105555,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:34:30] local.INFO: Acknowledgment sent {"connection_id":105555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:34:33] local.INFO: TCP Data received {"connection_id":107290,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ae3cb0012d7d128005e9c2480004001729..."} 
[2026-06-18 08:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ae3cb0012d7d128005e9c2480004001729..."} 
[2026-06-18 08:34:33] local.INFO: Processing buffer {"connection_id":107290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ae3cb0012d7d128005e9c2480004001729..."} 
[2026-06-18 08:34:33] local.INFO: Packet analysis {"connection_id":107290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:34:33] local.INFO: Extracted packet for processing {"connection_id":107290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ae"} 
[2026-06-18 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763171456,"raw_latitude":99205704,"longitude_deg":76.3171456,"latitude_deg":9.9205704,"altitude":4,"angle":23,"satellites":41,"speed":10,"hex_longitude":"2d7d1280","hex_latitude":"05e9c248","is_valid_coordinates":true} 
[2026-06-18 08:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128449792001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93824745992093696,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012265829718392832,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:33] 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-06-18 08:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781751758000,"timestamp_ms":1781751758000,"timestamp_seconds":1781751758,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ae3cb0"} 
[2026-06-18 08:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-18 08:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107290,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:34:33] 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-06-18 08:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128449792001,"66":13515,"192":206,"87":13824,"24":10,"16":93824745992093696,"45":9012265829718392832},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 08:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128449792001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:34:33] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 08:34:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93824745992093696,"km_value":93824745992093.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012265829718392832,"description":"Unknown IO ID 45"} 
[2026-06-18 08:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128449792001,"power":13515,"unknown_192":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9012265829718392832}} 
[2026-06-18 08:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":107290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:34:33] local.INFO: GPS data processed {"connection_id":107290,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:34:33] local.INFO: Acknowledgment sent {"connection_id":107290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:34:46] local.INFO: TCP Data received {"connection_id":105758,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8af9470012d0c0bc007039c18001000181c..."} 
[2026-06-18 08:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8af9470012d0c0bc007039c18001000181c..."} 
[2026-06-18 08:34:46] local.INFO: Processing buffer {"connection_id":105758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8af9470012d0c0bc007039c18001000181c..."} 
[2026-06-18 08:34:46] local.INFO: Packet analysis {"connection_id":105758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8af"} 
[2026-06-18 08:34:46] local.INFO: Extracted packet for processing {"connection_id":105758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8af"} 
[2026-06-18 08:34:46] local.INFO: GPS Element Parsed {"raw_longitude":755764160,"raw_latitude":117677080,"longitude_deg":75.576416,"latitude_deg":11.767708,"altitude":16,"angle":24,"satellites":28,"speed":27,"hex_longitude":"2d0c0bc0","hex_latitude":"07039c18","is_valid_coordinates":true} 
[2026-06-18 08:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128470784001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21051962589970432,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865746689741631488,"note":"Value kept but may cause issues"} 
[2026-06-18 08:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781751846000,"timestamp_ms":1781751846000,"timestamp_seconds":1781751846,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8af9470"} 
[2026-06-18 08:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:34:46] 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-06-18 08:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 08:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105758,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128470784001,"66":14407,"37":206,"94":11008,"24":27,"16":21051962589970432,"45":865746689741631488},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 08:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128470784001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:34:46] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 08:34:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21051962589970432,"km_value":21051962589970.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":865746689741631488,"description":"Unknown IO ID 45"} 
[2026-06-18 08:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128470784001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":27,"odometer":null,"unknown_45":865746689741631488}} 
[2026-06-18 08:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":105758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343322,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:34:46] local.INFO: GPS data processed {"connection_id":105758,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:34:46] local.INFO: Acknowledgment sent {"connection_id":105758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:35:02] local.INFO: TCP Data received {"connection_id":105556,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:02] local.INFO: Processing buffer {"connection_id":105556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:02] local.INFO: IMEI packet received {"connection_id":105556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":105556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:35:04] local.INFO: TCP Data received {"connection_id":105556,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:04] local.INFO: Processing buffer {"connection_id":105556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:04] local.INFO: IMEI packet received {"connection_id":105556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":105556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:35:04] local.INFO: TCP Data received {"connection_id":105555,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8af84d0012d53db4006471fc0000d016729..."} 
[2026-06-18 08:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8af84d0012d53db4006471fc0000d016729..."} 
[2026-06-18 08:35:04] local.INFO: Processing buffer {"connection_id":105555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8af84d0012d53db4006471fc0000d016729..."} 
[2026-06-18 08:35:04] local.INFO: Packet analysis {"connection_id":105555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8af"} 
[2026-06-18 08:35:04] local.INFO: Extracted packet for processing {"connection_id":105555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8af"} 
[2026-06-18 08:35:04] local.INFO: GPS Element Parsed {"raw_longitude":760470336,"raw_latitude":105324480,"longitude_deg":76.0470336,"latitude_deg":10.532448,"altitude":13,"angle":359,"satellites":41,"speed":34,"hex_longitude":"2d53db40","hex_latitude":"06471fc0","is_valid_coordinates":true} 
[2026-06-18 08:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128468480001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317606045490872320,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042493720752506880,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781751842000,"timestamp_ms":1781751842000,"timestamp_seconds":1781751842,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8af84d0"} 
[2026-06-18 08:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:35: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-06-18 08:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 08:35:04] 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-06-18 08:35:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128468480001,"66":27658,"177":206,"19":38144,"24":34,"16":317606045490872320,"45":6042493720752506880},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-18 08:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128468480001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:35:04] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 08:35:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317606045490872320,"km_value":317606045490872.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042493720752506880,"description":"Unknown IO ID 45"} 
[2026-06-18 08:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128468480001,"power":27658,"unknown_177":206,"unknown_19":38144,"ignition":34,"odometer":null,"unknown_45":6042493720752506880}} 
[2026-06-18 08:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":105555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:35:04] local.INFO: GPS data processed {"connection_id":105555,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:35:04] local.INFO: Acknowledgment sent {"connection_id":105555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:35:08] local.INFO: TCP Data received {"connection_id":105556,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105556,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:08] local.INFO: Processing buffer {"connection_id":105556,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:08] local.INFO: IMEI packet received {"connection_id":105556,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":105556,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:35:09] local.INFO: TCP Data received {"connection_id":105556,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8afcb20012d7d1a8005ea71a00006000228..."} 
[2026-06-18 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8afcb20012d7d1a8005ea71a00006000228..."} 
[2026-06-18 08:35:09] local.INFO: Processing buffer {"connection_id":105556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8afcb20012d7d1a8005ea71a00006000228..."} 
[2026-06-18 08:35:09] local.INFO: Packet analysis {"connection_id":105556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8af"} 
[2026-06-18 08:35:09] local.INFO: Extracted packet for processing {"connection_id":105556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8af"} 
[2026-06-18 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763173504,"raw_latitude":99250592,"longitude_deg":76.3173504,"latitude_deg":9.9250592,"altitude":6,"angle":2,"satellites":40,"speed":9,"hex_longitude":"2d7d1a80","hex_latitude":"05ea71a0","is_valid_coordinates":true} 
[2026-06-18 08:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128470784001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93826932130447360,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014658367031390208,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:09] 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-06-18 08:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781751860000,"timestamp_ms":1781751860000,"timestamp_seconds":1781751860,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8afcb20"} 
[2026-06-18 08:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 08:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105556,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128470784001,"66":13059,"154":206,"87":13824,"24":9,"16":93826932130447360,"45":9014658367031390208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 08:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128470784001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:35:09] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 08:35:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93826932130447360,"km_value":93826932130447.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014658367031390208,"description":"Unknown IO ID 45"} 
[2026-06-18 08:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128470784001,"power":13059,"unknown_154":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9014658367031390208}} 
[2026-06-18 08:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":105556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343324,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:35:09] local.INFO: GPS data processed {"connection_id":105556,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:35:09] local.INFO: Acknowledgment sent {"connection_id":105556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:35:09] local.INFO: TCP Data received {"connection_id":105759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:09] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:09] local.INFO: IMEI packet received {"connection_id":105759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":105759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:35:09] local.INFO: TCP Data received {"connection_id":105759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:09] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:09] local.INFO: IMEI packet received {"connection_id":105759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":105759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:35:14] local.INFO: TCP Data received {"connection_id":105759,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:14] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:35:14] local.INFO: IMEI packet received {"connection_id":105759,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":105759,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:35:15] local.INFO: TCP Data received {"connection_id":105759,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b01d28012d0c54400703e7100019002c1d..."} 
[2026-06-18 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b01d28012d0c54400703e7100019002c1d..."} 
[2026-06-18 08:35:15] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b01d28012d0c54400703e7100019002c1d..."} 
[2026-06-18 08:35:15] local.INFO: Packet analysis {"connection_id":105759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:35:15] local.INFO: Extracted packet for processing {"connection_id":105759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:35:15] local.INFO: GPS Element Parsed {"raw_longitude":755782720,"raw_latitude":117696272,"longitude_deg":75.578272,"latitude_deg":11.7696272,"altitude":25,"angle":44,"satellites":29,"speed":37,"hex_longitude":"2d0c5440","hex_latitude":"0703e710","is_valid_coordinates":true} 
[2026-06-18 08:35: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-06-18 08:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128481024001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21053358454341632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":887138787977697280,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781751881000,"timestamp_ms":1781751881000,"timestamp_seconds":1781751881,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b01d28"} 
[2026-06-18 08:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:35:15] 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-06-18 08:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-18 08:35:15] 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-06-18 08:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128481024001,"66":14428,"16":21053358454341632,"94":11008,"24":37,"45":887138787977697280},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 08:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128481024001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21053358454341632,"km_value":21053358454341.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:35:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":887138787977697280,"description":"Unknown IO ID 45"} 
[2026-06-18 08:35:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456128481024001,"power":14428,"odometer":null,"unknown_94":11008,"ignition":37,"unknown_45":887138787977697280}} 
[2026-06-18 08:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":105759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343325,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:35:15] local.INFO: GPS data processed {"connection_id":105759,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:35:15] local.INFO: Acknowledgment sent {"connection_id":105759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:35:44] local.INFO: TCP Data received {"connection_id":106315,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:35:44] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:35:44] local.INFO: IMEI packet received {"connection_id":106315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":106315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:35:46] local.INFO: TCP Data received {"connection_id":105759,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b04050012d0c70000703fd28002000341d..."} 
[2026-06-18 08:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b04050012d0c70000703fd28002000341d..."} 
[2026-06-18 08:35:46] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b04050012d0c70000703fd28002000341d..."} 
[2026-06-18 08:35:46] local.INFO: Packet analysis {"connection_id":105759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:35:46] local.INFO: Extracted packet for processing {"connection_id":105759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:35:46] local.INFO: GPS Element Parsed {"raw_longitude":755789824,"raw_latitude":117701928,"longitude_deg":75.5789824,"latitude_deg":11.7701928,"altitude":32,"angle":52,"satellites":29,"speed":39,"hex_longitude":"2d0c7000","hex_latitude":"0703fd28","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128481536001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21053792246038528,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888405425373253632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 08:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781751890000,"timestamp_ms":1781751890000,"timestamp_seconds":1781751890,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b04050"} 
[2026-06-18 08:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 08:35:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105759,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128481536001,"66":14439,"16":21053792246038528,"94":11008,"24":39,"45":888405425373253632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 08:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128481536001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21053792246038528,"km_value":21053792246038.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:35:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":888405425373253632,"description":"Unknown IO ID 45"} 
[2026-06-18 08:35:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456128481536001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":39,"unknown_45":888405425373253632}} 
[2026-06-18 08:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":105759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343326,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:35:46] local.INFO: GPS data processed {"connection_id":105759,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:35:46] local.INFO: Acknowledgment sent {"connection_id":105759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:35:47] local.INFO: TCP Data received {"connection_id":106315,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:35:47] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:35:47] local.INFO: IMEI packet received {"connection_id":106315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":106315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:35:52] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:52] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:52] local.INFO: IMEI packet received {"connection_id":106316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":106316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:35:57] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:57] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:35:57] local.INFO: IMEI packet received {"connection_id":106316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":106316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:35:58] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b01d28012d7d1b8005ea86980007000027..."} 
[2026-06-18 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b01d28012d7d1b8005ea86980007000027..."} 
[2026-06-18 08:35:58] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b01d28012d7d1b8005ea86980007000027..."} 
[2026-06-18 08:35:58] local.INFO: Packet analysis {"connection_id":106316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:35:58] local.INFO: Extracted packet for processing {"connection_id":106316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99255960,"longitude_deg":76.317376,"latitude_deg":9.925596,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d7d1b80","hex_latitude":"05ea8698","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128476160001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93827194123452416,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014658367031975936,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] 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-06-18 08:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781751881000,"timestamp_ms":1781751881000,"timestamp_seconds":1781751881,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b01d28"} 
[2026-06-18 08:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:35: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-06-18 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547479,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":154,"raw_value":58079734643818504,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3635336456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":86,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2939596801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2147871285,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3929180160,"note":"Value kept but may cause issues"} 
[2026-06-18 08:35:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,154,87,24,241,157,16,158,121,45,128,104,7,40,10,66,86,1,240,116,227,216,234,4,113,205,17,23,42,239,52,2,77,5,8],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-06-18 08:35:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432347935050104832,"timestamp_seconds":432347935050104.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:35: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-06-18 08:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128476160001,"66":13059,"154":206,"87":13824,"24":0,"16":93827194123452416,"45":9014658367031975936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 08:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128476160001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:35:58] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 08:35:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93827194123452416,"km_value":93827194123452.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014658367031975936,"description":"Unknown IO ID 45"} 
[2026-06-18 08:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128476160001,"power":13059,"unknown_154":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014658367031975936}} 
[2026-06-18 08:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":106316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:35:58] local.INFO: GPS data processed {"connection_id":106316,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:35:58] local.INFO: Acknowledgment sent {"connection_id":106316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:35:58] local.INFO: TCP Data received {"connection_id":106315,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:35:58] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:35:58] local.INFO: IMEI packet received {"connection_id":106315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":106315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:36:10] local.INFO: TCP Data received {"connection_id":107292,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:10] local.INFO: Processing buffer {"connection_id":107292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:10] local.INFO: IMEI packet received {"connection_id":107292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":107292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:36:14] local.INFO: TCP Data received {"connection_id":107292,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:14] local.INFO: Processing buffer {"connection_id":107292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:14] local.INFO: IMEI packet received {"connection_id":107292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":107292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:36:22] local.INFO: TCP Data received {"connection_id":107292,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:22] local.INFO: Processing buffer {"connection_id":107292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:22] local.INFO: IMEI packet received {"connection_id":107292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":107292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:36:29] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b06f30012d7d1b8005ea8710000700021f..."} 
[2026-06-18 08:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b06f30012d7d1b8005ea8710000700021f..."} 
[2026-06-18 08:36:29] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b06f30012d7d1b8005ea8710000700021f..."} 
[2026-06-18 08:36:29] local.INFO: Packet analysis {"connection_id":106316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:36:29] local.INFO: Extracted packet for processing {"connection_id":106316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99256080,"longitude_deg":76.317376,"latitude_deg":9.925608,"altitude":7,"angle":2,"satellites":31,"speed":0,"hex_longitude":"2d7d1b80","hex_latitude":"05ea8710","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128481536001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93827202713387008,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842010060800,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] 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-06-18 08:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781751902000,"timestamp_ms":1781751902000,"timestamp_seconds":1781751902,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b06f30"} 
[2026-06-18 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-06-18 08:36: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-06-18 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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169203653975,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":154,"raw_value":58079734643818499,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3635353456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":8193,"corrected_to":0} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":86,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2940364801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407127,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3929346048,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,154,87,24,241,157,16,158,203,45,128,113,6,40,10,66,121,104,7,86,1,240,220,227,216,234,4,205,19,54,224,42,239,52,2,77,5,9,3],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":203,"original":8193,"validated":0},{"io_id":205,"original":1469710542,"validated":0}]} 
[2026-06-18 08:36:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504403325769220096,"timestamp_seconds":504403325769220.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 08:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:36: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-06-18 08:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128481536001,"66":13037,"154":206,"87":13824,"24":0,"16":93827202713387008,"45":9014939842010060800},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 08:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128481536001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:36:29] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 08:36:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93827202713387008,"km_value":93827202713387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842010060800,"description":"Unknown IO ID 45"} 
[2026-06-18 08:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128481536001,"power":13037,"unknown_154":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014939842010060800}} 
[2026-06-18 08:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":106316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343328,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:36:29] local.INFO: GPS data processed {"connection_id":106316,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:36:29] local.INFO: Acknowledgment sent {"connection_id":106316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:36:51] local.INFO: TCP Data received {"connection_id":107292,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107292,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:51] local.INFO: Processing buffer {"connection_id":107292,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:36:51] local.INFO: IMEI packet received {"connection_id":107292,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":107292,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:36:52] local.INFO: TCP Data received {"connection_id":105559,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:52] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:52] local.INFO: IMEI packet received {"connection_id":105559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":105559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:36:54] local.INFO: TCP Data received {"connection_id":105559,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:54] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:54] local.INFO: IMEI packet received {"connection_id":105559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":105559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:36:57] local.INFO: TCP Data received {"connection_id":105559,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:57] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:36:57] local.INFO: IMEI packet received {"connection_id":105559,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":105559,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:36:58] local.INFO: TCP Data received {"connection_id":105559,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b0c138012d7d1b8005ea87100007000225..."} 
[2026-06-18 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b0c138012d7d1b8005ea87100007000225..."} 
[2026-06-18 08:36:58] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b0c138012d7d1b8005ea87100007000225..."} 
[2026-06-18 08:36:58] local.INFO: Packet analysis {"connection_id":105559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:36:58] local.INFO: Extracted packet for processing {"connection_id":105559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b0"} 
[2026-06-18 08:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99256080,"longitude_deg":76.317376,"latitude_deg":9.925608,"altitude":7,"angle":2,"satellites":37,"speed":0,"hex_longitude":"2d7d1b80","hex_latitude":"05ea8710","is_valid_coordinates":true} 
[2026-06-18 08:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128486912001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93827202713387008,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842010091520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:36: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-06-18 08:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781751923000,"timestamp_ms":1781751923000,"timestamp_seconds":1781751923,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b0c138"} 
[2026-06-18 08:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:36: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-06-18 08:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 08:36: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-06-18 08: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-06-18 08:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:36: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-06-18 08:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128486912001,"66":13037,"158":206,"87":13824,"24":0,"16":93827202713387008,"45":9014939842010091520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 08:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128486912001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:36:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 08:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93827202713387008,"km_value":93827202713387.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842010091520,"description":"Unknown IO ID 45"} 
[2026-06-18 08:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128486912001,"power":13037,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9014939842010091520}} 
[2026-06-18 08:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":105559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:36:59] local.INFO: GPS data processed {"connection_id":105559,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:36:59] local.INFO: Acknowledgment sent {"connection_id":105559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:37:30] local.INFO: TCP Data received {"connection_id":105559,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b10f58012d7d1e4005eaaba00006000327..."} 
[2026-06-18 08:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b10f58012d7d1e4005eaaba00006000327..."} 
[2026-06-18 08:37:30] local.INFO: Processing buffer {"connection_id":105559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b10f58012d7d1e4005eaaba00006000327..."} 
[2026-06-18 08:37:30] local.INFO: Packet analysis {"connection_id":105559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b1"} 
[2026-06-18 08:37:30] local.INFO: Extracted packet for processing {"connection_id":105559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b1"} 
[2026-06-18 08:37:30] local.INFO: GPS Element Parsed {"raw_longitude":763174464,"raw_latitude":99265440,"longitude_deg":76.3174464,"latitude_deg":9.926544,"altitude":6,"angle":3,"satellites":39,"speed":22,"hex_longitude":"2d7d1e40","hex_latitude":"05eaaba0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128492288001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93827657979920384,"note":"Value kept but may cause issues"} 
[2026-06-18 08:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842010091520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:37:30] 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-06-18 08:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781751943000,"timestamp_ms":1781751943000,"timestamp_seconds":1781751943,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b10f58"} 
[2026-06-18 08:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:37: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-06-18 08: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":237,"data_length":795,"current_offset":136} 
[2026-06-18 08:37: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-06-18 08: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-06-18 08:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105559,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128492288001,"66":13352,"158":206,"87":13824,"24":22,"16":93827657979920384,"45":9014939842010091520},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 08:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128492288001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:37:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 08:37:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93827657979920384,"km_value":93827657979920.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842010091520,"description":"Unknown IO ID 45"} 
[2026-06-18 08:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128492288001,"power":13352,"unknown_158":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9014939842010091520}} 
[2026-06-18 08:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":105559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:37:30] local.INFO: GPS data processed {"connection_id":105559,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:37:30] local.INFO: Acknowledgment sent {"connection_id":105559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:37:57] local.INFO: TCP Data received {"connection_id":105761,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:37:57] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:37:57] local.INFO: IMEI packet received {"connection_id":105761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":105761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:37:57] local.INFO: TCP Data received {"connection_id":105761,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:37:57] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:37:57] local.INFO: IMEI packet received {"connection_id":105761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":105761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:38:02] local.INFO: TCP Data received {"connection_id":105761,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:02] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:02] local.INFO: IMEI packet received {"connection_id":105761,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":105761,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:38:03] local.INFO: TCP Data received {"connection_id":105761,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b151c0012d7d1fc005eaccb00007015e29..."} 
[2026-06-18 08:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b151c0012d7d1fc005eaccb00007015e29..."} 
[2026-06-18 08:38:03] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b151c0012d7d1fc005eaccb00007015e29..."} 
[2026-06-18 08:38:03] local.INFO: Packet analysis {"connection_id":105761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b1"} 
[2026-06-18 08:38:03] local.INFO: Extracted packet for processing {"connection_id":105761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b1"} 
[2026-06-18 08:38:03] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99273904,"longitude_deg":76.3174848,"latitude_deg":9.9273904,"altitude":7,"angle":350,"satellites":41,"speed":6,"hex_longitude":"2d7d1fc0","hex_latitude":"05eaccb0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128497408001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93828070296780800,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015713898198441984,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38:03] 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-06-18 08:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781751960000,"timestamp_ms":1781751960000,"timestamp_seconds":1781751960,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b151c0"} 
[2026-06-18 08:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-18 08:38:03] 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-06-18 08: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-06-18 08:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:38:03] 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-06-18 08:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128497408001,"66":13189,"158":206,"87":13824,"24":6,"16":93828070296780800,"45":9015713898198441984},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 08:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128497408001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:38:03] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 08:38:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93828070296780800,"km_value":93828070296780.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015713898198441984,"description":"Unknown IO ID 45"} 
[2026-06-18 08:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128497408001,"power":13189,"unknown_158":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":9015713898198441984}} 
[2026-06-18 08:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":105761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:38:03] local.INFO: GPS data processed {"connection_id":105761,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:38:03] local.INFO: Acknowledgment sent {"connection_id":105761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:38:04] local.INFO: TCP Data received {"connection_id":105760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:38:04] local.INFO: Processing buffer {"connection_id":105760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:38:04] local.INFO: IMEI packet received {"connection_id":105760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":105760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:38:08] local.INFO: TCP Data received {"connection_id":105761,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b17cb8012d7d1fc005ead1e80007000429..."} 
[2026-06-18 08:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b17cb8012d7d1fc005ead1e80007000429..."} 
[2026-06-18 08:38:08] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b17cb8012d7d1fc005ead1e80007000429..."} 
[2026-06-18 08:38:08] local.INFO: Packet analysis {"connection_id":105761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b1"} 
[2026-06-18 08:38:08] local.INFO: Extracted packet for processing {"connection_id":105761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b1"} 
[2026-06-18 08:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99275240,"longitude_deg":76.3174848,"latitude_deg":9.927524,"altitude":7,"angle":4,"satellites":41,"speed":10,"hex_longitude":"2d7d1fc0","hex_latitude":"05ead1e8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128501760001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93828139016257536,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110665674752,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781751971000,"timestamp_ms":1781751971000,"timestamp_seconds":1781751971,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b17cb8"} 
[2026-06-18 08:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 08:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105761,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128501760001,"66":13319,"158":206,"87":13824,"24":10,"16":93828139016257536,"45":9016136110665674752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 08:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128501760001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:38:08] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 08:38:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93828139016257536,"km_value":93828139016257.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110665674752,"description":"Unknown IO ID 45"} 
[2026-06-18 08:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128501760001,"power":13319,"unknown_158":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9016136110665674752}} 
[2026-06-18 08:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":105761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343332,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:38:08] local.INFO: GPS data processed {"connection_id":105761,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:38:08] local.INFO: Acknowledgment sent {"connection_id":105761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:38:34] local.INFO: TCP Data received {"connection_id":105562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:38:34] local.INFO: Processing buffer {"connection_id":105562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:38:34] local.INFO: IMEI packet received {"connection_id":105562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":105562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:38:52] local.INFO: TCP Data received {"connection_id":106318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:52] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:52] local.INFO: IMEI packet received {"connection_id":106318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":106318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:38:53] local.INFO: TCP Data received {"connection_id":106318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:53] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:53] local.INFO: IMEI packet received {"connection_id":106318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":106318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:38:57] local.INFO: TCP Data received {"connection_id":106318,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:57] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:38:57] local.INFO: IMEI packet received {"connection_id":106318,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":106318,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:38:58] local.INFO: TCP Data received {"connection_id":106318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b37c70012d7ce80005eaee40000b012223..."} 
[2026-06-18 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b37c70012d7ce80005eaee40000b012223..."} 
[2026-06-18 08:38:58] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b37c70012d7ce80005eaee40000b012223..."} 
[2026-06-18 08:38:58] local.INFO: Packet analysis {"connection_id":106318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b3"} 
[2026-06-18 08:38:58] local.INFO: Extracted packet for processing {"connection_id":106318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b3"} 
[2026-06-18 08:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763160576,"raw_latitude":99282496,"longitude_deg":76.3160576,"latitude_deg":9.9282496,"altitude":11,"angle":290,"satellites":35,"speed":11,"hex_longitude":"2d7ce800","hex_latitude":"05eaee40","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128537344001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93829440391348224,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001851255599763456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:38: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-06-18 08:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781752102000,"timestamp_ms":1781752102000,"timestamp_seconds":1781752102,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b37c70"} 
[2026-06-18 08:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 08:38: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-06-18 08: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-06-18 08:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:38: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-06-18 08:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128537344001,"66":13091,"158":206,"87":13824,"24":11,"16":93829440391348224,"45":9001851255599763456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 08:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128537344001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:38:58] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 08:38:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93829440391348224,"km_value":93829440391348.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001851255599763456,"description":"Unknown IO ID 45"} 
[2026-06-18 08:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128537344001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":9001851255599763456}} 
[2026-06-18 08:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":106318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:38:58] local.INFO: GPS data processed {"connection_id":106318,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:38:58] local.INFO: Acknowledgment sent {"connection_id":106318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:39:02] local.INFO: TCP Data received {"connection_id":106318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b38440012d7ce50005eaeec0000b011024..."} 
[2026-06-18 08:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b38440012d7ce50005eaeec0000b011024..."} 
[2026-06-18 08:39:02] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b38440012d7ce50005eaeec0000b011024..."} 
[2026-06-18 08:39:02] local.INFO: Packet analysis {"connection_id":106318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b3"} 
[2026-06-18 08:39:02] local.INFO: Extracted packet for processing {"connection_id":106318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b3"} 
[2026-06-18 08:39:02] local.INFO: GPS Element Parsed {"raw_longitude":763159808,"raw_latitude":99282624,"longitude_deg":76.3159808,"latitude_deg":9.9282624,"altitude":11,"angle":272,"satellites":36,"speed":13,"hex_longitude":"2d7ce500","hex_latitude":"05eaeec0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128538112001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93829474751086592,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000443880716255232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39: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-06-18 08:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781752104000,"timestamp_ms":1781752104000,"timestamp_seconds":1781752104,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b38440"} 
[2026-06-18 08:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:39: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-06-18 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 08:39: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-06-18 08: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-06-18 08:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:39:02] 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-06-18 08:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128538112001,"66":12069,"158":206,"87":13824,"24":13,"16":93829474751086592,"45":9000443880716255232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 08:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128538112001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:39:02] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 08:39:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93829474751086592,"km_value":93829474751086.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000443880716255232,"description":"Unknown IO ID 45"} 
[2026-06-18 08:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128538112001,"power":12069,"unknown_158":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9000443880716255232}} 
[2026-06-18 08:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":106318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:39:02] local.INFO: GPS data processed {"connection_id":106318,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:39:02] local.INFO: Acknowledgment sent {"connection_id":106318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:39:33] local.INFO: TCP Data received {"connection_id":106318,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b3a380012d7ce0c005eaee40000d010325..."} 
[2026-06-18 08:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b3a380012d7ce0c005eaee40000d010325..."} 
[2026-06-18 08:39:33] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b3a380012d7ce0c005eaee40000d010325..."} 
[2026-06-18 08:39:33] local.INFO: Packet analysis {"connection_id":106318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b3"} 
[2026-06-18 08:39:33] local.INFO: Extracted packet for processing {"connection_id":106318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b3"} 
[2026-06-18 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":763158720,"raw_latitude":99282496,"longitude_deg":76.315872,"latitude_deg":9.9282496,"altitude":13,"angle":259,"satellites":37,"speed":7,"hex_longitude":"2d7ce0c0","hex_latitude":"05eaee40","is_valid_coordinates":true} 
[2026-06-18 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128538624001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93829534880628736,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999599455786156032,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39:33] 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-06-18 08:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781752112000,"timestamp_ms":1781752112000,"timestamp_seconds":1781752112,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b3a380"} 
[2026-06-18 08:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 08:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106318,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:39:33] 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-06-18 08:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128538624001,"66":13374,"158":206,"87":13824,"24":7,"16":93829534880628736,"45":8999599455786156032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 08:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128538624001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:39:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 08:39:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93829534880628736,"km_value":93829534880628.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999599455786156032,"description":"Unknown IO ID 45"} 
[2026-06-18 08:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128538624001,"power":13374,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8999599455786156032}} 
[2026-06-18 08:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":106318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343335,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:39:33] local.INFO: GPS data processed {"connection_id":106318,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:39:33] local.INFO: Acknowledgment sent {"connection_id":106318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:39:48] local.ERROR: TCP Connection error {"connection_id":107296,"code":2,"message":"client closed"} 
[2026-06-18 08:39:52] local.INFO: TCP Data received {"connection_id":105762,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:39:52] local.INFO: Processing buffer {"connection_id":105762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:39:52] local.INFO: IMEI packet received {"connection_id":105762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":105762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:39:55] local.INFO: TCP Data received {"connection_id":105762,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105762,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:39:55] local.INFO: Processing buffer {"connection_id":105762,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:39:55] local.INFO: IMEI packet received {"connection_id":105762,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":105762,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:39:56] local.INFO: TCP Data received {"connection_id":105762,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b3e9d0012d7cbd4005eae8e0000a010023..."} 
[2026-06-18 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b3e9d0012d7cbd4005eae8e0000a010023..."} 
[2026-06-18 08:39:56] local.INFO: Processing buffer {"connection_id":105762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b3e9d0012d7cbd4005eae8e0000a010023..."} 
[2026-06-18 08:39:56] local.INFO: Packet analysis {"connection_id":105762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b3"} 
[2026-06-18 08:39:56] local.INFO: Extracted packet for processing {"connection_id":105762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b3"} 
[2026-06-18 08:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763149632,"raw_latitude":99281120,"longitude_deg":76.3149632,"latitude_deg":9.928112,"altitude":10,"angle":256,"satellites":35,"speed":18,"hex_longitude":"2d7cbd40","hex_latitude":"05eae8e0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128540672001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93829972967292928,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998403187135102976,"note":"Value kept but may cause issues"} 
[2026-06-18 08:39:56] 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-06-18 08:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781752130000,"timestamp_ms":1781752130000,"timestamp_seconds":1781752130,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b3e9d0"} 
[2026-06-18 08:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-18 08:39:56] 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-06-18 08: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-06-18 08:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:39:56] 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-06-18 08:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128540672001,"66":12917,"158":206,"87":13824,"24":18,"16":93829972967292928,"45":8998403187135102976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 08:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128540672001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:39:56] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 08:39:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93829972967292928,"km_value":93829972967292.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998403187135102976,"description":"Unknown IO ID 45"} 
[2026-06-18 08:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128540672001,"power":12917,"unknown_158":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8998403187135102976}} 
[2026-06-18 08:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":105762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343336,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:39:56] local.INFO: GPS data processed {"connection_id":105762,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:39:56] local.INFO: Acknowledgment sent {"connection_id":105762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:40:27] local.INFO: TCP Data received {"connection_id":105762,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b51698012d7c3d4005eadf600007015a26..."} 
[2026-06-18 08:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b51698012d7c3d4005eadf600007015a26..."} 
[2026-06-18 08:40:27] local.INFO: Processing buffer {"connection_id":105762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b51698012d7c3d4005eadf600007015a26..."} 
[2026-06-18 08:40:27] local.INFO: Packet analysis {"connection_id":105762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:40:27] local.INFO: Extracted packet for processing {"connection_id":105762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763116864,"raw_latitude":99278688,"longitude_deg":76.3116864,"latitude_deg":9.9278688,"altitude":7,"angle":346,"satellites":38,"speed":18,"hex_longitude":"2d7c3d40","hex_latitude":"05eadf60","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128562432001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93831897112641536,"note":"Value kept but may cause issues"} 
[2026-06-18 08:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134673108992,"note":"Value kept but may cause issues"} 
[2026-06-18 08:40:27] 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-06-18 08:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781752207000,"timestamp_ms":1781752207000,"timestamp_seconds":1781752207,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b51698"} 
[2026-06-18 08:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:40: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-06-18 08: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 08:40:27] 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-06-18 08: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-06-18 08:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":105762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":105762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":105762,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:40: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-06-18 08:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128562432001,"66":13450,"8":206,"87":13824,"24":18,"16":93831897112641536,"45":8952593134673108992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-18 08:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128562432001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:40:27] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-18 08:40:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93831897112641536,"km_value":93831897112641.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134673108992,"description":"Unknown IO ID 45"} 
[2026-06-18 08:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128562432001,"power":13450,"unknown_8":206,"unknown_87":13824,"ignition":18,"odometer":null,"unknown_45":8952593134673108992}} 
[2026-06-18 08:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":105762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:40:27] local.INFO: GPS data processed {"connection_id":105762,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:40:27] local.INFO: Acknowledgment sent {"connection_id":105762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:40:50] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:50] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:50] local.INFO: IMEI packet received {"connection_id":106320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":106320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:40:52] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:52] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:52] local.INFO: IMEI packet received {"connection_id":106320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":106320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:40:53] local.INFO: TCP Data received {"connection_id":105763,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:40:53] local.INFO: Processing buffer {"connection_id":105763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:40:53] local.INFO: IMEI packet received {"connection_id":105763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":105763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:40:57] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:57] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:40:57] local.INFO: IMEI packet received {"connection_id":106320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":106320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:40:58] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b51e68012d7c3c8005eae3700006000427..."} 
[2026-06-18 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b51e68012d7c3c8005eae3700006000427..."} 
[2026-06-18 08:40:58] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b51e68012d7c3c8005eae3700006000427..."} 
[2026-06-18 08:40:58] local.INFO: Packet analysis {"connection_id":106320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:40:58] local.INFO: Extracted packet for processing {"connection_id":106320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":99279728,"longitude_deg":76.3116672,"latitude_deg":9.9279728,"altitude":6,"angle":4,"satellites":39,"speed":19,"hex_longitude":"2d7c3c80","hex_latitude":"05eae370","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128564992001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93831948652249088,"note":"Value kept but may cause issues"} 
[2026-06-18 08:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028441935872,"note":"Value kept but may cause issues"} 
[2026-06-18 08:40:58] 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-06-18 08:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781752209000,"timestamp_ms":1781752209000,"timestamp_seconds":1781752209,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b51e68"} 
[2026-06-18 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-06-18 08: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-06-18 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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 08:40: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-06-18 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-06-18 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-06-18 08:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:40: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-06-18 08:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128564992001,"66":13450,"8":206,"87":13824,"24":19,"16":93831948652249088,"45":8952382028441935872},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-18 08:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128564992001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:40:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-18 08:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93831948652249088,"km_value":93831948652249.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028441935872,"description":"Unknown IO ID 45"} 
[2026-06-18 08:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128564992001,"power":13450,"unknown_8":206,"unknown_87":13824,"ignition":19,"odometer":null,"unknown_45":8952382028441935872}} 
[2026-06-18 08:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":106320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:40:58] local.INFO: GPS data processed {"connection_id":106320,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:40:58] local.INFO: Acknowledgment sent {"connection_id":106320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:41:00] local.INFO: TCP Data received {"connection_id":105763,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b44b78012d5169c0064c34f00007015f28..."} 
[2026-06-18 08:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b44b78012d5169c0064c34f00007015f28..."} 
[2026-06-18 08:41:00] local.INFO: Processing buffer {"connection_id":105763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b44b78012d5169c0064c34f00007015f28..."} 
[2026-06-18 08:41:00] local.INFO: Packet analysis {"connection_id":105763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b4"} 
[2026-06-18 08:41:00] local.INFO: Extracted packet for processing {"connection_id":105763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b4"} 
[2026-06-18 08:41:00] local.INFO: GPS Element Parsed {"raw_longitude":760310208,"raw_latitude":105657584,"longitude_deg":76.0310208,"latitude_deg":10.5657584,"altitude":7,"angle":351,"satellites":40,"speed":11,"hex_longitude":"2d5169c0","hex_latitude":"064c34f0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128549632001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317624372116324352,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868542185232101376,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781752155000,"timestamp_ms":1781752155000,"timestamp_seconds":1781752155,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b44b78"} 
[2026-06-18 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-06-18 08:41: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-06-18 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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 08:41:00] 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-06-18 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-06-18 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-06-18 08:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128549632001,"66":27745,"89":206,"19":38144,"24":11,"16":317624372116324352,"45":5868542185232101376},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-06-18 08:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128549632001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:41:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 08:41:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317624372116324352,"km_value":317624372116324.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868542185232101376,"description":"Unknown IO ID 45"} 
[2026-06-18 08:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128549632001,"power":27745,"unknown_89":206,"unknown_19":38144,"ignition":11,"odometer":null,"unknown_45":5868542185232101376}} 
[2026-06-18 08:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":105763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:41:00] local.INFO: GPS data processed {"connection_id":105763,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:41:00] local.INFO: Acknowledgment sent {"connection_id":105763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:41:25] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:41:25] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:41:25] local.INFO: IMEI packet received {"connection_id":106321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":106321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:41:30] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b54578012d7c3c8005eaf6c80007016127..."} 
[2026-06-18 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b54578012d7c3c8005eaf6c80007016127..."} 
[2026-06-18 08:41:30] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b54578012d7c3c8005eaf6c80007016127..."} 
[2026-06-18 08:41:30] local.INFO: Packet analysis {"connection_id":106320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:41:30] local.INFO: Extracted packet for processing {"connection_id":106320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:41:30] local.INFO: GPS Element Parsed {"raw_longitude":763116672,"raw_latitude":99284680,"longitude_deg":76.3116672,"latitude_deg":9.928468,"altitude":7,"angle":353,"satellites":39,"speed":20,"hex_longitude":"2d7c3c80","hex_latitude":"05eaf6c8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128565504001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93832189170417664,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952170922209669120,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:30] 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-06-18 08:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781752219000,"timestamp_ms":1781752219000,"timestamp_seconds":1781752219,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b54578"} 
[2026-06-18 08:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:41: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-06-18 08: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 08:41: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-06-18 08: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-06-18 08:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128565504001,"66":13080,"8":206,"87":13824,"24":20,"16":93832189170417664,"45":8952170922209669120},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,87,24,16,45]} 
[2026-06-18 08:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128565504001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:41:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-18 08:41:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93832189170417664,"km_value":93832189170417.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952170922209669120,"description":"Unknown IO ID 45"} 
[2026-06-18 08:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128565504001,"power":13080,"unknown_8":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":8952170922209669120}} 
[2026-06-18 08:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":106320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343340,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:41:30] local.INFO: GPS data processed {"connection_id":106320,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:41:30] local.INFO: Acknowledgment sent {"connection_id":106320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:41:30] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:41:30] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:41:30] local.INFO: IMEI packet received {"connection_id":106321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":106321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:41:33] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b50ae0012d513cc0064c9da0000a014429..."} 
[2026-06-18 08:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b50ae0012d513cc0064c9da0000a014429..."} 
[2026-06-18 08:41:33] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b50ae0012d513cc0064c9da0000a014429..."} 
[2026-06-18 08:41:33] local.INFO: Packet analysis {"connection_id":106321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:41:33] local.INFO: Extracted packet for processing {"connection_id":106321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:41:33] local.INFO: GPS Element Parsed {"raw_longitude":760298688,"raw_latitude":105684384,"longitude_deg":76.0298688,"latitude_deg":10.5684384,"altitude":10,"angle":324,"satellites":41,"speed":38,"hex_longitude":"2d513cc0","hex_latitude":"064c9da0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128561920001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317625879649845248,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5859886829704062976,"note":"Value kept but may cause issues"} 
[2026-06-18 08:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781752204000,"timestamp_ms":1781752204000,"timestamp_seconds":1781752204,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b50ae0"} 
[2026-06-18 08:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:41: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-06-18 08: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 08:41: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-06-18 08: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-06-18 08:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128561920001,"66":27745,"34":206,"19":38144,"24":38,"16":317625879649845248,"45":5859886829704062976},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-18 08:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128561920001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:41:33] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 08:41:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317625879649845248,"km_value":317625879649845.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5859886829704062976,"description":"Unknown IO ID 45"} 
[2026-06-18 08:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128561920001,"power":27745,"unknown_34":206,"unknown_19":38144,"ignition":38,"odometer":null,"unknown_45":5859886829704062976}} 
[2026-06-18 08:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":106321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:41:33] local.INFO: GPS data processed {"connection_id":106321,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:41:33] local.INFO: Acknowledgment sent {"connection_id":106321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:41:50] local.INFO: TCP Data received {"connection_id":105764,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:50] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:50] local.INFO: IMEI packet received {"connection_id":105764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":105764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:41:51] local.INFO: TCP Data received {"connection_id":105764,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:51] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:51] local.INFO: IMEI packet received {"connection_id":105764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":105764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:41:52] local.INFO: TCP Data received {"connection_id":105764,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:52] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:52] local.INFO: IMEI packet received {"connection_id":105764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":105764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:41:53] local.INFO: TCP Data received {"connection_id":105764,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:53] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:41:53] local.INFO: IMEI packet received {"connection_id":105764,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":105764,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:42:06] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b531f0012d512a80064cbe08000a014d28..."} 
[2026-06-18 08:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b531f0012d512a80064cbe08000a014d28..."} 
[2026-06-18 08:42:06] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b531f0012d512a80064cbe08000a014d28..."} 
[2026-06-18 08:42:06] local.INFO: Packet analysis {"connection_id":106321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:42:06] local.INFO: Extracted packet for processing {"connection_id":106321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:42:06] local.INFO: GPS Element Parsed {"raw_longitude":760294016,"raw_latitude":105692680,"longitude_deg":76.0294016,"latitude_deg":10.569268,"altitude":10,"angle":333,"satellites":40,"speed":40,"hex_longitude":"2d512a80","hex_latitude":"064cbe08","is_valid_coordinates":true} 
[2026-06-18 08:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128564224001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317626339211345920,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5853764748962537472,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781752214000,"timestamp_ms":1781752214000,"timestamp_seconds":1781752214,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b531f0"} 
[2026-06-18 08:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:42:06] 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-06-18 08:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128564224001,"66":27484,"34":206,"19":38144,"24":40,"16":317626339211345920,"45":5853764748962537472},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-18 08:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128564224001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:42:06] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 08:42:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317626339211345920,"km_value":317626339211345.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5853764748962537472,"description":"Unknown IO ID 45"} 
[2026-06-18 08:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128564224001,"power":27484,"unknown_34":206,"unknown_19":38144,"ignition":40,"odometer":null,"unknown_45":5853764748962537472}} 
[2026-06-18 08:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":106321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:42:06] local.INFO: GPS data processed {"connection_id":106321,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:42:06] local.INFO: Acknowledgment sent {"connection_id":106321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:42:09] local.INFO: TCP Data received {"connection_id":105765,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105765,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:42:09] local.INFO: Processing buffer {"connection_id":105765,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:42:09] local.INFO: IMEI packet received {"connection_id":105765,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":105765,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:42:14] local.INFO: TCP Data received {"connection_id":105765,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105765,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:42:14] local.INFO: Processing buffer {"connection_id":105765,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:42:14] local.INFO: IMEI packet received {"connection_id":105765,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":105765,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:42:15] local.INFO: TCP Data received {"connection_id":105765,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b6cc18012d0da7000705d0a00016006f1e..."} 
[2026-06-18 08:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b6cc18012d0da7000705d0a00016006f1e..."} 
[2026-06-18 08:42:15] local.INFO: Processing buffer {"connection_id":105765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b6cc18012d0da7000705d0a00016006f1e..."} 
[2026-06-18 08:42:15] local.INFO: Packet analysis {"connection_id":105765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:42:15] local.INFO: Extracted packet for processing {"connection_id":105765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:42:15] local.INFO: GPS Element Parsed {"raw_longitude":755869440,"raw_latitude":117821600,"longitude_deg":75.586944,"latitude_deg":11.78216,"altitude":22,"angle":111,"satellites":30,"speed":20,"hex_longitude":"2d0da700","hex_latitude":"0705d0a0","is_valid_coordinates":true} 
[2026-06-18 08:42: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-06-18 08:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128592640001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21065143844601856,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981855117673598976,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781752319000,"timestamp_ms":1781752319000,"timestamp_seconds":1781752319,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b6cc18"} 
[2026-06-18 08:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 08:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:42: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-06-18 08:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128592640001,"66":14439,"167":206,"94":11008,"24":20,"16":21065143844601856,"45":981855117673598976},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 08:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128592640001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:42:15] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 08:42:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21065143844601856,"km_value":21065143844601.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":981855117673598976,"description":"Unknown IO ID 45"} 
[2026-06-18 08:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128592640001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":981855117673598976}} 
[2026-06-18 08:42:15] local.INFO: DEBUG: GPS processor result {"connection_id":105765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343343,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:42:15] local.INFO: GPS data processed {"connection_id":105765,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:42:15] local.INFO: Acknowledgment sent {"connection_id":105765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:42:26] local.INFO: TCP Data received {"connection_id":105565,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:42:26] local.INFO: Processing buffer {"connection_id":105565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:42:26] local.INFO: IMEI packet received {"connection_id":105565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":105565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:42:31] local.INFO: TCP Data received {"connection_id":105565,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:42:31] local.INFO: Processing buffer {"connection_id":105565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:42:31] local.INFO: IMEI packet received {"connection_id":105565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":105565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:42:34] local.INFO: TCP Data received {"connection_id":105565,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b55518012d511a80064cdec80009014e28..."} 
[2026-06-18 08:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b55518012d511a80064cdec80009014e28..."} 
[2026-06-18 08:42:34] local.INFO: Processing buffer {"connection_id":105565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b55518012d511a80064cdec80009014e28..."} 
[2026-06-18 08:42:34] local.INFO: Packet analysis {"connection_id":105565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:42:34] local.INFO: Extracted packet for processing {"connection_id":105565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:42:34] local.INFO: GPS Element Parsed {"raw_longitude":760289920,"raw_latitude":105701064,"longitude_deg":76.028992,"latitude_deg":10.5701064,"altitude":9,"angle":334,"satellites":40,"speed":35,"hex_longitude":"2d511a80","hex_latitude":"064cdec8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128566784001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317626790182912000,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5848627830639691776,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781752223000,"timestamp_ms":1781752223000,"timestamp_seconds":1781752223,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b55518"} 
[2026-06-18 08:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:42: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-06-18 08: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 08:42: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-06-18 08: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-06-18 08:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128566784001,"66":27691,"34":206,"19":38144,"24":35,"16":317626790182912000,"45":5848627830639691776},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-18 08:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128566784001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:42:34] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 08:42:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317626790182912000,"km_value":317626790182912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5848627830639691776,"description":"Unknown IO ID 45"} 
[2026-06-18 08:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128566784001,"power":27691,"unknown_34":206,"unknown_19":38144,"ignition":35,"odometer":null,"unknown_45":5848627830639691776}} 
[2026-06-18 08:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":105565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:42:34] local.INFO: GPS data processed {"connection_id":105565,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:42:34] local.INFO: Acknowledgment sent {"connection_id":105565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:42:46] local.INFO: TCP Data received {"connection_id":105765,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b6d000012d0da9800705d040001600611e..."} 
[2026-06-18 08:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b6d000012d0da9800705d040001600611e..."} 
[2026-06-18 08:42:46] local.INFO: Processing buffer {"connection_id":105765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b6d000012d0da9800705d040001600611e..."} 
[2026-06-18 08:42:46] local.INFO: Packet analysis {"connection_id":105765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:42:46] local.INFO: Extracted packet for processing {"connection_id":105765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:42:46] local.INFO: GPS Element Parsed {"raw_longitude":755870080,"raw_latitude":117821504,"longitude_deg":75.587008,"latitude_deg":11.7821504,"altitude":22,"angle":97,"satellites":30,"speed":22,"hex_longitude":"2d0da980","hex_latitude":"0705d040","is_valid_coordinates":true} 
[2026-06-18 08:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128593664001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21065173909372928,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":983755073766072320,"note":"Value kept but may cause issues"} 
[2026-06-18 08:42:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781752320000,"timestamp_ms":1781752320000,"timestamp_seconds":1781752320,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b6d000"} 
[2026-06-18 08:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:42:46] 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-06-18 08:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 08:42:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105765,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128593664001,"66":14439,"167":206,"94":11008,"24":22,"16":21065173909372928,"45":983755073766072320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 08:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128593664001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:42:46] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 08:42:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21065173909372928,"km_value":21065173909372.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":983755073766072320,"description":"Unknown IO ID 45"} 
[2026-06-18 08:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128593664001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":22,"odometer":null,"unknown_45":983755073766072320}} 
[2026-06-18 08:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":105765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343345,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:42:46] local.INFO: GPS data processed {"connection_id":105765,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:42:46] local.INFO: Acknowledgment sent {"connection_id":105765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:43:08] local.INFO: TCP Data received {"connection_id":105565,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b58fb0012d510a80064d00100009015229..."} 
[2026-06-18 08:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b58fb0012d510a80064d00100009015229..."} 
[2026-06-18 08:43:08] local.INFO: Processing buffer {"connection_id":105565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b58fb0012d510a80064d00100009015229..."} 
[2026-06-18 08:43:08] local.INFO: Packet analysis {"connection_id":105565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:43:08] local.INFO: Extracted packet for processing {"connection_id":105565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":760285824,"raw_latitude":105709584,"longitude_deg":76.0285824,"latitude_deg":10.5709584,"altitude":9,"angle":338,"satellites":41,"speed":23,"hex_longitude":"2d510a80","hex_latitude":"064d0010","is_valid_coordinates":true} 
[2026-06-18 08:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128569088001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317627249744412672,"note":"Value kept but may cause issues"} 
[2026-06-18 08:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5844124231014467584,"note":"Value kept but may cause issues"} 
[2026-06-18 08:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781752238000,"timestamp_ms":1781752238000,"timestamp_seconds":1781752238,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b58fb0"} 
[2026-06-18 08:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 08:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128569088001,"66":27821,"34":206,"19":38144,"24":23,"16":317627249744412672,"45":5844124231014467584},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-18 08:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128569088001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:43:08] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 08:43:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317627249744412672,"km_value":317627249744412.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5844124231014467584,"description":"Unknown IO ID 45"} 
[2026-06-18 08:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128569088001,"power":27821,"unknown_34":206,"unknown_19":38144,"ignition":23,"odometer":null,"unknown_45":5844124231014467584}} 
[2026-06-18 08:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":105565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:43:08] local.INFO: GPS data processed {"connection_id":105565,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:43:08] local.INFO: Acknowledgment sent {"connection_id":105565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:43:10] local.INFO: TCP Data received {"connection_id":107300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:10] local.INFO: Processing buffer {"connection_id":107300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:10] local.INFO: IMEI packet received {"connection_id":107300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":107300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:43:12] local.INFO: TCP Data received {"connection_id":107300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:12] local.INFO: Processing buffer {"connection_id":107300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:12] local.INFO: IMEI packet received {"connection_id":107300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":107300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:43:14] local.INFO: TCP Data received {"connection_id":107300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:14] local.INFO: Processing buffer {"connection_id":107300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:14] local.INFO: IMEI packet received {"connection_id":107300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":107300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:43:14] local.INFO: TCP Data received {"connection_id":107300,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107300,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:14] local.INFO: Processing buffer {"connection_id":107300,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:43:14] local.INFO: IMEI packet received {"connection_id":107300,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":107300,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:43:25] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:43:25] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:43:25] local.INFO: IMEI packet received {"connection_id":106322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":106322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:43:30] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:43:30] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:43:30] local.INFO: IMEI packet received {"connection_id":106322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":106322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:43:35] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b5d9e8012d50fb40064d21280007014c2a..."} 
[2026-06-18 08:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b5d9e8012d50fb40064d21280007014c2a..."} 
[2026-06-18 08:43:35] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b5d9e8012d50fb40064d21280007014c2a..."} 
[2026-06-18 08:43:35] local.INFO: Packet analysis {"connection_id":106322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:43:35] local.INFO: Extracted packet for processing {"connection_id":106322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b5"} 
[2026-06-18 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":760281920,"raw_latitude":105718056,"longitude_deg":76.028192,"latitude_deg":10.5718056,"altitude":7,"angle":332,"satellites":42,"speed":20,"hex_longitude":"2d50fb40","hex_latitude":"064d2128","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:43:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128572928001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:43:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317627700715978752,"note":"Value kept but may cause issues"} 
[2026-06-18 08:43:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5839620631389278208,"note":"Value kept but may cause issues"} 
[2026-06-18 08:43:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:43:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781752257000,"timestamp_ms":1781752257000,"timestamp_seconds":1781752257,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b5d9e8"} 
[2026-06-18 08:43:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:43:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:43:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 08:43:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:43:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:43:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:43:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:43:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:43:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:43:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:43:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:43:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:43:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128572928001,"66":27767,"34":206,"19":38144,"24":20,"16":317627700715978752,"45":5839620631389278208},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-18 08:43:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:43:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:43:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128572928001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:43:35] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 08:43:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:43:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317627700715978752,"km_value":317627700715978.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:43:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5839620631389278208,"description":"Unknown IO ID 45"} 
[2026-06-18 08:43:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128572928001,"power":27767,"unknown_34":206,"unknown_19":38144,"ignition":20,"odometer":null,"unknown_45":5839620631389278208}} 
[2026-06-18 08:43:35] local.INFO: DEBUG: GPS processor result {"connection_id":106322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:43:35] local.INFO: GPS data processed {"connection_id":106322,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:43:35] local.INFO: Acknowledgment sent {"connection_id":106322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:44:10] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b61098012d50f080064d38900008015829..."} 
[2026-06-18 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b61098012d50f080064d38900008015829..."} 
[2026-06-18 08:44:10] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b61098012d50f080064d38900008015829..."} 
[2026-06-18 08:44:10] local.INFO: Packet analysis {"connection_id":106322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:44:10] local.INFO: Extracted packet for processing {"connection_id":106322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:44:10] local.INFO: GPS Element Parsed {"raw_longitude":760279168,"raw_latitude":105724048,"longitude_deg":76.0279168,"latitude_deg":10.5724048,"altitude":8,"angle":344,"satellites":41,"speed":13,"hex_longitude":"2d50f080","hex_latitude":"064d3890","is_valid_coordinates":true} 
[2026-06-18 08:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128577792001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317628018543558656,"note":"Value kept but may cause issues"} 
[2026-06-18 08:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5835328137996609536,"note":"Value kept but may cause issues"} 
[2026-06-18 08:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781752271000,"timestamp_ms":1781752271000,"timestamp_seconds":1781752271,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b61098"} 
[2026-06-18 08:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128577792001,"66":27767,"34":206,"19":38144,"24":13,"16":317628018543558656,"45":5835328137996609536},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-18 08:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128577792001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:44:10] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 08:44:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317628018543558656,"km_value":317628018543558.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5835328137996609536,"description":"Unknown IO ID 45"} 
[2026-06-18 08:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128577792001,"power":27767,"unknown_34":206,"unknown_19":38144,"ignition":13,"odometer":null,"unknown_45":5835328137996609536}} 
[2026-06-18 08:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":106322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:44:10] local.INFO: GPS data processed {"connection_id":106322,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:44:10] local.INFO: Acknowledgment sent {"connection_id":106322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:44:25] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:44:25] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:44:25] local.INFO: IMEI packet received {"connection_id":105767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":105767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:44:31] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:44:31] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:44:31] local.INFO: IMEI packet received {"connection_id":105767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":105767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:44:34] local.INFO: TCP Data received {"connection_id":105569,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:44:34] local.INFO: Processing buffer {"connection_id":105569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:44:34] local.INFO: IMEI packet received {"connection_id":105569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":105569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:44:36] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b662a0012d50ea80064d5130000a015a29..."} 
[2026-06-18 08:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b662a0012d50ea80064d5130000a015a29..."} 
[2026-06-18 08:44:36] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b662a0012d50ea80064d5130000a015a29..."} 
[2026-06-18 08:44:36] local.INFO: Packet analysis {"connection_id":105767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:44:36] local.INFO: Extracted packet for processing {"connection_id":105767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:44:36] local.INFO: GPS Element Parsed {"raw_longitude":760277632,"raw_latitude":105730352,"longitude_deg":76.0277632,"latitude_deg":10.5730352,"altitude":10,"angle":346,"satellites":41,"speed":10,"hex_longitude":"2d50ea80","hex_latitude":"064d5130","is_valid_coordinates":true} 
[2026-06-18 08:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128581376001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317628336371138560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5832302281998503936,"note":"Value kept but may cause issues"} 
[2026-06-18 08:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781752292000,"timestamp_ms":1781752292000,"timestamp_seconds":1781752292,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b662a0"} 
[2026-06-18 08:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:44: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-06-18 08:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:44: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-06-18 08:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128581376001,"66":27571,"34":206,"19":38144,"24":10,"16":317628336371138560,"45":5832302281998503936},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-18 08:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128581376001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:44:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 08:44:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317628336371138560,"km_value":317628336371138.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5832302281998503936,"description":"Unknown IO ID 45"} 
[2026-06-18 08:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128581376001,"power":27571,"unknown_34":206,"unknown_19":38144,"ignition":10,"odometer":null,"unknown_45":5832302281998503936}} 
[2026-06-18 08:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":105767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:44:36] local.INFO: GPS data processed {"connection_id":105767,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:44:36] local.INFO: Acknowledgment sent {"connection_id":105767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:45:12] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b6b4a8012d50e440064d6ee8000901552a..."} 
[2026-06-18 08:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b6b4a8012d50e440064d6ee8000901552a..."} 
[2026-06-18 08:45:12] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b6b4a8012d50e440064d6ee8000901552a..."} 
[2026-06-18 08:45:12] local.INFO: Packet analysis {"connection_id":105767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:45:12] local.INFO: Extracted packet for processing {"connection_id":105767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b6"} 
[2026-06-18 08:45:12] local.INFO: GPS Element Parsed {"raw_longitude":760276032,"raw_latitude":105737960,"longitude_deg":76.0276032,"latitude_deg":10.573796,"altitude":9,"angle":341,"satellites":42,"speed":16,"hex_longitude":"2d50e440","hex_latitude":"064d6ee8","is_valid_coordinates":true} 
[2026-06-18 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128586752001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317628714328260608,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5830613432139853824,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781752313000,"timestamp_ms":1781752313000,"timestamp_seconds":1781752313,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b6b4a8"} 
[2026-06-18 08:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:45:12] 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-06-18 08:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 08:45:12] 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-06-18 08:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128586752001,"66":27767,"34":206,"19":38144,"24":16,"16":317628714328260608,"45":5830613432139853824},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,19,24,16,45]} 
[2026-06-18 08:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128586752001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:45:12] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 08:45:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317628714328260608,"km_value":317628714328260.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5830613432139853824,"description":"Unknown IO ID 45"} 
[2026-06-18 08:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128586752001,"power":27767,"unknown_34":206,"unknown_19":38144,"ignition":16,"odometer":null,"unknown_45":5830613432139853824}} 
[2026-06-18 08:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":105767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:45:12] local.INFO: GPS data processed {"connection_id":105767,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:45:12] local.INFO: Acknowledgment sent {"connection_id":105767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:45:25] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:25] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:25] local.INFO: IMEI packet received {"connection_id":105570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":105570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:45:29] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:29] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:29] local.INFO: IMEI packet received {"connection_id":105570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":105570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:45:30] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:30] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:45:30] local.INFO: IMEI packet received {"connection_id":105570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":105570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:45:33] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b90668012d504b40064e54b0000b013d27..."} 
[2026-06-18 08:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b90668012d504b40064e54b0000b013d27..."} 
[2026-06-18 08:45:33] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b90668012d504b40064e54b0000b013d27..."} 
[2026-06-18 08:45:33] local.INFO: Packet analysis {"connection_id":105570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b9"} 
[2026-06-18 08:45:33] local.INFO: Extracted packet for processing {"connection_id":105570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b9"} 
[2026-06-18 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":760236864,"raw_latitude":105796784,"longitude_deg":76.0236864,"latitude_deg":10.5796784,"altitude":11,"angle":317,"satellites":39,"speed":36,"hex_longitude":"2d504b40","hex_latitude":"064e54b0","is_valid_coordinates":true} 
[2026-06-18 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:45:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128630016001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317632180366868480,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5789025504347234304,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:45:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781752465000,"timestamp_ms":1781752465000,"timestamp_seconds":1781752465,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b90668"} 
[2026-06-18 08:45:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:45:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:45:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 08:45:33] 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-06-18 08:45:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:45:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:45:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:45:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:45:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:45:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:45:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:45:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:45:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:45:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128630016001,"66":27658,"35":206,"19":38144,"24":36,"16":317632180366868480,"45":5789025504347234304},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-18 08:45:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:45:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:45:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128630016001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:45:33] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 08:45:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:45:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317632180366868480,"km_value":317632180366868.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:45:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5789025504347234304,"description":"Unknown IO ID 45"} 
[2026-06-18 08:45:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128630016001,"power":27658,"unknown_35":206,"unknown_19":38144,"ignition":36,"odometer":null,"unknown_45":5789025504347234304}} 
[2026-06-18 08:45:33] local.INFO: DEBUG: GPS processor result {"connection_id":105570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:45:33] local.INFO: GPS data processed {"connection_id":105570,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:45:33] local.INFO: Acknowledgment sent {"connection_id":105570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:45:36] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b91dd8012d503dc0064e6480000b014b27..."} 
[2026-06-18 08:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b91dd8012d503dc0064e6480000b014b27..."} 
[2026-06-18 08:45:36] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b91dd8012d503dc0064e6480000b014b27..."} 
[2026-06-18 08:45:36] local.INFO: Packet analysis {"connection_id":105570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b9"} 
[2026-06-18 08:45:36] local.INFO: Extracted packet for processing {"connection_id":105570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b9"} 
[2026-06-18 08:45:36] local.INFO: GPS Element Parsed {"raw_longitude":760233408,"raw_latitude":105800832,"longitude_deg":76.0233408,"latitude_deg":10.5800832,"altitude":11,"angle":331,"satellites":39,"speed":32,"hex_longitude":"2d503dc0","hex_latitude":"064e6480","is_valid_coordinates":true} 
[2026-06-18 08:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128631040001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317632438064906240,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5785788542115688448,"note":"Value kept but may cause issues"} 
[2026-06-18 08:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781752471000,"timestamp_ms":1781752471000,"timestamp_seconds":1781752471,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b91dd8"} 
[2026-06-18 08:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:45: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-06-18 08:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 08:45:36] 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-06-18 08:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128631040001,"66":27767,"35":206,"19":38144,"24":32,"16":317632438064906240,"45":5785788542115688448},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-18 08:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128631040001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:45:36] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 08:45:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317632438064906240,"km_value":317632438064906.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5785788542115688448,"description":"Unknown IO ID 45"} 
[2026-06-18 08:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128631040001,"power":27767,"unknown_35":206,"unknown_19":38144,"ignition":32,"odometer":null,"unknown_45":5785788542115688448}} 
[2026-06-18 08:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":105570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:45:36] local.INFO: GPS data processed {"connection_id":105570,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:45:36] local.INFO: Acknowledgment sent {"connection_id":105570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:46:11] local.INFO: TCP Data received {"connection_id":105570,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b93160012d503680064e6f28000c013528..."} 
[2026-06-18 08:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b93160012d503680064e6f28000c013528..."} 
[2026-06-18 08:46:11] local.INFO: Processing buffer {"connection_id":105570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b93160012d503680064e6f28000c013528..."} 
[2026-06-18 08:46:11] local.INFO: Packet analysis {"connection_id":105570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b9"} 
[2026-06-18 08:46:11] local.INFO: Extracted packet for processing {"connection_id":105570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b9"} 
[2026-06-18 08:46:11] local.INFO: GPS Element Parsed {"raw_longitude":760231552,"raw_latitude":105803560,"longitude_deg":76.0231552,"latitude_deg":10.580356,"altitude":12,"angle":309,"satellites":40,"speed":20,"hex_longitude":"2d503680","hex_latitude":"064e6f28","is_valid_coordinates":true} 
[2026-06-18 08:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128632576001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317632596978696192,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5781988629931130880,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781752476000,"timestamp_ms":1781752476000,"timestamp_seconds":1781752476,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b93160"} 
[2026-06-18 08:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":105570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":105570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128632576001,"66":27615,"35":206,"19":38144,"24":20,"16":317632596978696192,"45":5781988629931130880},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-18 08:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128632576001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:46:11] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 08:46:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317632596978696192,"km_value":317632596978696.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5781988629931130880,"description":"Unknown IO ID 45"} 
[2026-06-18 08:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128632576001,"power":27615,"unknown_35":206,"unknown_19":38144,"ignition":20,"odometer":null,"unknown_45":5781988629931130880}} 
[2026-06-18 08:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":105570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:46:11] local.INFO: GPS data processed {"connection_id":105570,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:46:11] local.INFO: Acknowledgment sent {"connection_id":105570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:46:25] local.INFO: TCP Data received {"connection_id":105769,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:25] local.INFO: Processing buffer {"connection_id":105769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:25] local.INFO: IMEI packet received {"connection_id":105769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":105769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:46:26] local.INFO: TCP Data received {"connection_id":105769,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:26] local.INFO: Processing buffer {"connection_id":105769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:26] local.INFO: IMEI packet received {"connection_id":105769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":105769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:46:30] local.INFO: TCP Data received {"connection_id":105769,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:30] local.INFO: Processing buffer {"connection_id":105769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:46:30] local.INFO: IMEI packet received {"connection_id":105769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":105769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:46:31] local.INFO: TCP Data received {"connection_id":105769,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8b93548012d503500064e7028000c012525..."} 
[2026-06-18 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8b93548012d503500064e7028000c012525..."} 
[2026-06-18 08:46:31] local.INFO: Processing buffer {"connection_id":105769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8b93548012d503500064e7028000c012525..."} 
[2026-06-18 08:46:31] local.INFO: Packet analysis {"connection_id":105769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8b9"} 
[2026-06-18 08:46:31] local.INFO: Extracted packet for processing {"connection_id":105769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8b9"} 
[2026-06-18 08:46:31] local.INFO: GPS Element Parsed {"raw_longitude":760231168,"raw_latitude":105803816,"longitude_deg":76.0231168,"latitude_deg":10.5803816,"altitude":12,"angle":293,"satellites":37,"speed":18,"hex_longitude":"2d503500","hex_latitude":"064e7028","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128633856001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317632622748499968,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5779947936350676992,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781752477000,"timestamp_ms":1781752477000,"timestamp_seconds":1781752477,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8b93548"} 
[2026-06-18 08:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 08:46:31] 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-06-18 08: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-06-18 08:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128633856001,"66":27615,"35":206,"19":38144,"24":18,"16":317632622748499968,"45":5779947936350676992},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-18 08:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128633856001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:46:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 08:46:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317632622748499968,"km_value":317632622748499.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5779947936350676992,"description":"Unknown IO ID 45"} 
[2026-06-18 08:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128633856001,"power":27615,"unknown_35":206,"unknown_19":38144,"ignition":18,"odometer":null,"unknown_45":5779947936350676992}} 
[2026-06-18 08:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":105769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:46:31] local.INFO: GPS data processed {"connection_id":105769,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:46:31] local.INFO: Acknowledgment sent {"connection_id":105769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:46:57] local.INFO: TCP Data received {"connection_id":106327,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106327,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:46:57] local.INFO: Processing buffer {"connection_id":106327,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:46:57] local.INFO: IMEI packet received {"connection_id":106327,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":106327,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:46:58] local.INFO: TCP Data received {"connection_id":106327,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8baa090012d7d1d8005ec3f90000a00b427..."} 
[2026-06-18 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8baa090012d7d1d8005ec3f90000a00b427..."} 
[2026-06-18 08:46:58] local.INFO: Processing buffer {"connection_id":106327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8baa090012d7d1d8005ec3f90000a00b427..."} 
[2026-06-18 08:46:58] local.INFO: Packet analysis {"connection_id":106327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:46:58] local.INFO: Extracted packet for processing {"connection_id":106327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99368848,"longitude_deg":76.3174272,"latitude_deg":9.9368848,"altitude":10,"angle":180,"satellites":39,"speed":8,"hex_longitude":"2d7d1d80","hex_latitude":"05ec3f90","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128657664001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93840272298868736,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992432640,"note":"Value kept but may cause issues"} 
[2026-06-18 08:46: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-06-18 08:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781752570000,"timestamp_ms":1781752570000,"timestamp_seconds":1781752570,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8baa090"} 
[2026-06-18 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-06-18 08:46: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-06-18 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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 08:46: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-06-18 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-06-18 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-06-18 08:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:46: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-06-18 08:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128657664001,"66":13341,"110":206,"87":13824,"24":8,"16":93840272298868736,"45":9015502791992432640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 08:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128657664001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:46:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 08:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93840272298868736,"km_value":93840272298868.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992432640,"description":"Unknown IO ID 45"} 
[2026-06-18 08:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128657664001,"power":13341,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015502791992432640}} 
[2026-06-18 08:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":106327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:46:58] local.INFO: GPS data processed {"connection_id":106327,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:46:58] local.INFO: Acknowledgment sent {"connection_id":106327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:47:08] local.INFO: TCP Data received {"connection_id":105769,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ba98c0012d4f9400064e20880007014a28..."} 
[2026-06-18 08:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ba98c0012d4f9400064e20880007014a28..."} 
[2026-06-18 08:47:08] local.INFO: Processing buffer {"connection_id":105769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ba98c0012d4f9400064e20880007014a28..."} 
[2026-06-18 08:47:08] local.INFO: Packet analysis {"connection_id":105769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:47:08] local.INFO: Extracted packet for processing {"connection_id":105769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:47:08] local.INFO: GPS Element Parsed {"raw_longitude":760189952,"raw_latitude":105783432,"longitude_deg":76.0189952,"latitude_deg":10.5783432,"altitude":7,"angle":330,"satellites":40,"speed":19,"hex_longitude":"2d4f9400","hex_latitude":"064e2088","is_valid_coordinates":true} 
[2026-06-18 08:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128657152001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317634899081166848,"note":"Value kept but may cause issues"} 
[2026-06-18 08:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5734560096350830592,"note":"Value kept but may cause issues"} 
[2026-06-18 08:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781752568000,"timestamp_ms":1781752568000,"timestamp_seconds":1781752568,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ba98c0"} 
[2026-06-18 08:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 08:47:08] 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-06-18 08:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128657152001,"66":27691,"35":206,"19":38144,"24":19,"16":317634899081166848,"45":5734560096350830592},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,19,24,16,45]} 
[2026-06-18 08:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128657152001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:47:08] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 08:47:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":38144,"description":"Unknown IO ID 19"} 
[2026-06-18 08:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317634899081166848,"km_value":317634899081166.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5734560096350830592,"description":"Unknown IO ID 45"} 
[2026-06-18 08:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128657152001,"power":27691,"unknown_35":206,"unknown_19":38144,"ignition":19,"odometer":null,"unknown_45":5734560096350830592}} 
[2026-06-18 08:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":105769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:47:08] local.INFO: GPS data processed {"connection_id":105769,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:47:08] local.INFO: Acknowledgment sent {"connection_id":105769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:47:29] local.INFO: TCP Data received {"connection_id":106327,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8baa478012d7d1d8005ec3ea0000b00c727..."} 
[2026-06-18 08:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8baa478012d7d1d8005ec3ea0000b00c727..."} 
[2026-06-18 08:47:29] local.INFO: Processing buffer {"connection_id":106327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8baa478012d7d1d8005ec3ea0000b00c727..."} 
[2026-06-18 08:47:29] local.INFO: Packet analysis {"connection_id":106327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:47:29] local.INFO: Extracted packet for processing {"connection_id":106327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99368608,"longitude_deg":76.3174272,"latitude_deg":9.9368608,"altitude":11,"angle":199,"satellites":39,"speed":9,"hex_longitude":"2d7d1d80","hex_latitude":"05ec3ea0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128657920001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93840285183770624,"note":"Value kept but may cause issues"} 
[2026-06-18 08:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992381440,"note":"Value kept but may cause issues"} 
[2026-06-18 08:47: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-06-18 08:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781752571000,"timestamp_ms":1781752571000,"timestamp_seconds":1781752571,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8baa478"} 
[2026-06-18 08:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:47: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-06-18 08: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 08:47: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-06-18 08: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-06-18 08:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106327,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:47: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-06-18 08:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128657920001,"66":13298,"110":206,"87":13824,"24":9,"16":93840285183770624,"45":9015502791992381440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 08:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128657920001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:47:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 08:47:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93840285183770624,"km_value":93840285183770.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992381440,"description":"Unknown IO ID 45"} 
[2026-06-18 08:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128657920001,"power":13298,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015502791992381440}} 
[2026-06-18 08:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":106327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343357,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:47:29] local.INFO: GPS data processed {"connection_id":106327,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:47:29] local.INFO: Acknowledgment sent {"connection_id":106327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:47:30] local.INFO: TCP Data received {"connection_id":107302,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:47:30] local.INFO: Processing buffer {"connection_id":107302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:47:30] local.INFO: IMEI packet received {"connection_id":107302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":107302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:47:37] local.INFO: TCP Data received {"connection_id":107302,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:47:37] local.INFO: Processing buffer {"connection_id":107302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:47:37] local.INFO: IMEI packet received {"connection_id":107302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":107302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:47:40] local.INFO: TCP Data received {"connection_id":107302,"ip":"117.224.206.94","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107302,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:47:40] local.INFO: Processing buffer {"connection_id":107302,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 08:47:40] local.INFO: IMEI packet received {"connection_id":107302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":107302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:47:49] local.INFO: TCP Data received {"connection_id":105572,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:49] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:49] local.INFO: IMEI packet received {"connection_id":105572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":105572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:47:55] local.INFO: TCP Data received {"connection_id":105572,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:55] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:55] local.INFO: IMEI packet received {"connection_id":105572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":105572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:47:57] local.INFO: TCP Data received {"connection_id":105572,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:57] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:47:57] local.INFO: IMEI packet received {"connection_id":105572,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":105572,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:47:58] local.INFO: TCP Data received {"connection_id":105572,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8baa860012d7d1d0005ec3dd0000b00d927..."} 
[2026-06-18 08:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8baa860012d7d1d0005ec3dd0000b00d927..."} 
[2026-06-18 08:47:58] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8baa860012d7d1d0005ec3dd0000b00d927..."} 
[2026-06-18 08:47:58] local.INFO: Packet analysis {"connection_id":105572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:47:58] local.INFO: Extracted packet for processing {"connection_id":105572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99368400,"longitude_deg":76.3174144,"latitude_deg":9.93684,"altitude":11,"angle":217,"satellites":39,"speed":9,"hex_longitude":"2d7d1d00","hex_latitude":"05ec3dd0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128658176001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93840298068672512,"note":"Value kept but may cause issues"} 
[2026-06-18 08:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015502791992320000,"note":"Value kept but may cause issues"} 
[2026-06-18 08: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-06-18 08:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781752572000,"timestamp_ms":1781752572000,"timestamp_seconds":1781752572,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8baa860"} 
[2026-06-18 08:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-18 08:47:58] 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-06-18 08: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-06-18 08:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:47: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-06-18 08:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128658176001,"66":13298,"110":206,"87":13824,"24":9,"16":93840298068672512,"45":9015502791992320000},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 08:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128658176001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:47:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 08:47:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93840298068672512,"km_value":93840298068672.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015502791992320000,"description":"Unknown IO ID 45"} 
[2026-06-18 08:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128658176001,"power":13298,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015502791992320000}} 
[2026-06-18 08:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":105572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343358,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:47:58] local.INFO: GPS data processed {"connection_id":105572,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:47:58] local.INFO: Acknowledgment sent {"connection_id":105572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:48:02] local.INFO: TCP Data received {"connection_id":105572,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8baac48012d7d1c4005ec3d40000b00e927..."} 
[2026-06-18 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8baac48012d7d1c4005ec3d40000b00e927..."} 
[2026-06-18 08:48:02] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8baac48012d7d1c4005ec3d40000b00e927..."} 
[2026-06-18 08:48:02] local.INFO: Packet analysis {"connection_id":105572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:48:02] local.INFO: Extracted packet for processing {"connection_id":105572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ba"} 
[2026-06-18 08:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99368256,"longitude_deg":76.3173952,"latitude_deg":9.9368256,"altitude":11,"angle":233,"satellites":39,"speed":8,"hex_longitude":"2d7d1c40","hex_latitude":"05ec3d40","is_valid_coordinates":true} 
[2026-06-18 08:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128658432001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93840306658607104,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054503911424,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48: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-06-18 08:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781752573000,"timestamp_ms":1781752573000,"timestamp_seconds":1781752573,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8baac48"} 
[2026-06-18 08:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:48: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-06-18 08:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-18 08:48:02] 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-06-18 08:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:48:02] 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-06-18 08:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128658432001,"66":13048,"110":206,"87":13824,"24":8,"16":93840306658607104,"45":9015362054503911424},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 08:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128658432001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:48:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 08:48:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93840306658607104,"km_value":93840306658607.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054503911424,"description":"Unknown IO ID 45"} 
[2026-06-18 08:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128658432001,"power":13048,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9015362054503911424}} 
[2026-06-18 08:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":105572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:48:03] local.INFO: GPS data processed {"connection_id":105572,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:48:03] local.INFO: Acknowledgment sent {"connection_id":105572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:48:15] local.INFO: TCP Data received {"connection_id":107303,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107303,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:48:15] local.INFO: Processing buffer {"connection_id":107303,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:48:15] local.INFO: IMEI packet received {"connection_id":107303,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":107303,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:48:16] local.INFO: TCP Data received {"connection_id":107303,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bc1790012d0e3140070656380024000b1e..."} 
[2026-06-18 08:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bc1790012d0e3140070656380024000b1e..."} 
[2026-06-18 08:48:16] local.INFO: Processing buffer {"connection_id":107303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bc1790012d0e3140070656380024000b1e..."} 
[2026-06-18 08:48:16] local.INFO: Packet analysis {"connection_id":107303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:48:16] local.INFO: Extracted packet for processing {"connection_id":107303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:48:16] local.INFO: GPS Element Parsed {"raw_longitude":755904832,"raw_latitude":117855800,"longitude_deg":75.5904832,"latitude_deg":11.78558,"altitude":36,"angle":11,"satellites":30,"speed":10,"hex_longitude":"2d0e3140","hex_latitude":"07065638","is_valid_coordinates":true} 
[2026-06-18 08:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128681984001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21069782409281536,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022598620560791552,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781752666000,"timestamp_ms":1781752666000,"timestamp_seconds":1781752666,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bc1790"} 
[2026-06-18 08:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:48:16] 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-06-18 08:48:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 08:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:48:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:48:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128681984001,"66":14439,"165":206,"94":11008,"24":10,"16":21069782409281536,"45":1022598620560791552},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 08:48:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:48:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:48:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128681984001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:48:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 08:48:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:48:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21069782409281536,"km_value":21069782409281.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:48:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022598620560791552,"description":"Unknown IO ID 45"} 
[2026-06-18 08:48:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128681984001,"power":14439,"unknown_165":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":1022598620560791552}} 
[2026-06-18 08:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":107303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343360,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:48:16] local.INFO: GPS data processed {"connection_id":107303,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:48:16] local.INFO: Acknowledgment sent {"connection_id":107303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:48:34] local.INFO: TCP Data received {"connection_id":105572,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bc5228012d7bd04005ec2980001100fe29..."} 
[2026-06-18 08:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bc5228012d7bd04005ec2980001100fe29..."} 
[2026-06-18 08:48:34] local.INFO: Processing buffer {"connection_id":105572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bc5228012d7bd04005ec2980001100fe29..."} 
[2026-06-18 08:48:34] local.INFO: Packet analysis {"connection_id":105572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:48:34] local.INFO: Extracted packet for processing {"connection_id":105572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:48:34] local.INFO: GPS Element Parsed {"raw_longitude":763088960,"raw_latitude":99363200,"longitude_deg":76.308896,"latitude_deg":9.93632,"altitude":17,"angle":254,"satellites":41,"speed":32,"hex_longitude":"2d7bd040","hex_latitude":"05ec2980","is_valid_coordinates":true} 
[2026-06-18 08:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128682752001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93844386877538304,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931482511443294208,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781752681000,"timestamp_ms":1781752681000,"timestamp_seconds":1781752681,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bc5228"} 
[2026-06-18 08:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:48: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-06-18 08:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3636142456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024905,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57783107034437430,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":64,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3143884801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":4161326111542355200,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3221613623,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3963092992,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.WARNING: Large IO value detected {"io_id":186,"raw_value":-121595895057465339,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,198,87,24,241,157,16,102,158,217,45,51,15,40,10,66,174,128,52,101,138,64,1,240,160,227,216,236,4,113,205,32,170,120,41,239,110,2,77,5,42,186],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-06-18 08:48:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153208648941764608,"timestamp_seconds":1153208648941764.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105572,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:48:34] 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-06-18 08:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128682752001,"66":13515,"198":206,"87":13824,"24":32,"16":93844386877538304,"45":8931482511443294208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 08:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128682752001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:48:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 08:48:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93844386877538304,"km_value":93844386877538.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931482511443294208,"description":"Unknown IO ID 45"} 
[2026-06-18 08:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128682752001,"power":13515,"unknown_198":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8931482511443294208}} 
[2026-06-18 08:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":105572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343361,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:48:34] local.INFO: GPS data processed {"connection_id":105572,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:48:34] local.INFO: Acknowledgment sent {"connection_id":105572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:48:47] local.INFO: TCP Data received {"connection_id":107303,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bccb40012d0e2740070680e00023012a1e..."} 
[2026-06-18 08:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bccb40012d0e2740070680e00023012a1e..."} 
[2026-06-18 08:48:47] local.INFO: Processing buffer {"connection_id":107303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bccb40012d0e2740070680e00023012a1e..."} 
[2026-06-18 08:48:47] local.INFO: Packet analysis {"connection_id":107303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:48:47] local.INFO: Extracted packet for processing {"connection_id":107303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:48:47] local.INFO: GPS Element Parsed {"raw_longitude":755902272,"raw_latitude":117866720,"longitude_deg":75.5902272,"latitude_deg":11.786672,"altitude":35,"angle":298,"satellites":30,"speed":8,"hex_longitude":"2d0e2740","hex_latitude":"070680e0","is_valid_coordinates":true} 
[2026-06-18 08:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:48:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128693248001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21070375114768384,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1020346820749897728,"note":"Value kept but may cause issues"} 
[2026-06-18 08:48:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:48:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781752712000,"timestamp_ms":1781752712000,"timestamp_seconds":1781752712,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bccb40"} 
[2026-06-18 08:48:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:48:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:48:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 08:48:47] 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-06-18 08:48:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:48:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:48:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:48:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:48:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:48:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107303,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:48:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:48:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:48:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:48:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128693248001,"66":14515,"165":206,"94":11008,"24":8,"16":21070375114768384,"45":1020346820749897728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 08:48:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:48:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:48:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128693248001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:48:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 08:48:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:48:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21070375114768384,"km_value":21070375114768.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:48:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1020346820749897728,"description":"Unknown IO ID 45"} 
[2026-06-18 08:48:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128693248001,"power":14515,"unknown_165":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":1020346820749897728}} 
[2026-06-18 08:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":107303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343362,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:48:47] local.INFO: GPS data processed {"connection_id":107303,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:48:47] local.INFO: Acknowledgment sent {"connection_id":107303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:49:03] local.INFO: TCP Data received {"connection_id":105770,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:03] local.INFO: Processing buffer {"connection_id":105770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:03] local.INFO: IMEI packet received {"connection_id":105770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":105770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:49:07] local.INFO: TCP Data received {"connection_id":105770,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105770,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:07] local.INFO: Processing buffer {"connection_id":105770,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:07] local.INFO: IMEI packet received {"connection_id":105770,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":105770,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:49:08] local.INFO: TCP Data received {"connection_id":105770,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bc7d20012d7bad8005ec1f38001100fd29..."} 
[2026-06-18 08:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bc7d20012d7bad8005ec1f38001100fd29..."} 
[2026-06-18 08:49:08] local.INFO: Processing buffer {"connection_id":105770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bc7d20012d7bad8005ec1f38001100fd29..."} 
[2026-06-18 08:49:08] local.INFO: Packet analysis {"connection_id":105770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:49:08] local.INFO: Extracted packet for processing {"connection_id":105770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:49:08] local.INFO: GPS Element Parsed {"raw_longitude":763080064,"raw_latitude":99360568,"longitude_deg":76.3080064,"latitude_deg":9.9360568,"altitude":17,"angle":253,"satellites":41,"speed":33,"hex_longitude":"2d7bad80","hex_latitude":"05ec1f38","is_valid_coordinates":true} 
[2026-06-18 08:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128686336001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93844833554137088,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8921701256002109440,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49: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-06-18 08:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781752692000,"timestamp_ms":1781752692000,"timestamp_seconds":1781752692,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bc7d20"} 
[2026-06-18 08:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:49: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-06-18 08:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-18 08:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105770,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128686336001,"66":13602,"198":206,"87":13824,"24":33,"16":93844833554137088,"45":8921701256002109440},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 08:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128686336001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:49:08] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 08:49:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93844833554137088,"km_value":93844833554137.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8921701256002109440,"description":"Unknown IO ID 45"} 
[2026-06-18 08:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128686336001,"power":13602,"unknown_198":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8921701256002109440}} 
[2026-06-18 08:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":105770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:49:08] local.INFO: GPS data processed {"connection_id":105770,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:49:08] local.INFO: Acknowledgment sent {"connection_id":105770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:49:10] local.INFO: TCP Data received {"connection_id":105771,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105771,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:10] local.INFO: Processing buffer {"connection_id":105771,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:10] local.INFO: IMEI packet received {"connection_id":105771,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":105771,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:49:10] local.INFO: TCP Data received {"connection_id":105771,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105771,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:10] local.INFO: Processing buffer {"connection_id":105771,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:10] local.INFO: IMEI packet received {"connection_id":105771,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":105771,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:49:11] local.INFO: TCP Data received {"connection_id":105771,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105771,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:11] local.INFO: Processing buffer {"connection_id":105771,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:11] local.INFO: IMEI packet received {"connection_id":105771,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":105771,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:49:13] local.INFO: TCP Data received {"connection_id":105771,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105771,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:13] local.INFO: Processing buffer {"connection_id":105771,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:49:13] local.INFO: IMEI packet received {"connection_id":105771,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":105771,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:49:14] local.INFO: TCP Data received {"connection_id":105771,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bcdec8012d0e2040070683e00022011e1e..."} 
[2026-06-18 08:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bcdec8012d0e2040070683e00022011e1e..."} 
[2026-06-18 08:49:14] local.INFO: Processing buffer {"connection_id":105771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bcdec8012d0e2040070683e00022011e1e..."} 
[2026-06-18 08:49:14] local.INFO: Packet analysis {"connection_id":105771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:49:14] local.INFO: Extracted packet for processing {"connection_id":105771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:49:14] local.INFO: GPS Element Parsed {"raw_longitude":755900480,"raw_latitude":117867488,"longitude_deg":75.590048,"latitude_deg":11.7867488,"altitude":34,"angle":286,"satellites":30,"speed":20,"hex_longitude":"2d0e2040","hex_latitude":"070683e0","is_valid_coordinates":true} 
[2026-06-18 08:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128694272001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21070465309081600,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1019854239540764672,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781752717000,"timestamp_ms":1781752717000,"timestamp_seconds":1781752717,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bcdec8"} 
[2026-06-18 08:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 08:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105771,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105771,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128694272001,"66":14537,"165":206,"94":11008,"24":20,"16":21070465309081600,"45":1019854239540764672},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 08:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128694272001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:49:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 08:49:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 08:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21070465309081600,"km_value":21070465309081.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1019854239540764672,"description":"Unknown IO ID 45"} 
[2026-06-18 08:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128694272001,"power":14537,"unknown_165":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":1019854239540764672}} 
[2026-06-18 08:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":105771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343364,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:49:14] local.INFO: GPS data processed {"connection_id":105771,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:49:14] local.INFO: Acknowledgment sent {"connection_id":105771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:49:46] local.INFO: TCP Data received {"connection_id":105771,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bdc540012d0e080007068ee8001500a51e..."} 
[2026-06-18 08:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bdc540012d0e080007068ee8001500a51e..."} 
[2026-06-18 08:49:46] local.INFO: Processing buffer {"connection_id":105771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bdc540012d0e080007068ee8001500a51e..."} 
[2026-06-18 08:49:46] local.INFO: Packet analysis {"connection_id":105771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:49:46] local.INFO: Extracted packet for processing {"connection_id":105771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:49:46] local.INFO: GPS Element Parsed {"raw_longitude":755894272,"raw_latitude":117870312,"longitude_deg":75.5894272,"latitude_deg":11.7870312,"altitude":21,"angle":165,"satellites":30,"speed":8,"hex_longitude":"2d0e0800","hex_latitude":"07068ee8","is_valid_coordinates":true} 
[2026-06-18 08:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:49:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128710400001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071045129666560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1010917409031168000,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:49:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781752776000,"timestamp_ms":1781752776000,"timestamp_seconds":1781752776,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bdc540"} 
[2026-06-18 08:49:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:49:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:49:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-18 08:49:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:49:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:49:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:49:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:49:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:49:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105771,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:49:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105771,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:49:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:49:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:49:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:49:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128710400001,"66":13678,"219":206,"94":10240,"24":8,"16":21071045129666560,"45":1010917409031168000},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:49:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:49:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:49:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128710400001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:49:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:49:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:49:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071045129666560,"km_value":21071045129666.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:49:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1010917409031168000,"description":"Unknown IO ID 45"} 
[2026-06-18 08:49:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128710400001,"power":13678,"unknown_219":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":1010917409031168000}} 
[2026-06-18 08:49:46] local.INFO: DEBUG: GPS processor result {"connection_id":105771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343365,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:49:46] local.INFO: GPS data processed {"connection_id":105771,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:49:46] local.INFO: Acknowledgment sent {"connection_id":105771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:49:57] local.INFO: TCP Data received {"connection_id":106330,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:57] local.INFO: Processing buffer {"connection_id":106330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:57] local.INFO: IMEI packet received {"connection_id":106330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":106330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:49:58] local.INFO: TCP Data received {"connection_id":106330,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106330,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:58] local.INFO: Processing buffer {"connection_id":106330,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:49:58] local.INFO: IMEI packet received {"connection_id":106330,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":106330,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:49:59] local.INFO: TCP Data received {"connection_id":106330,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bcafe8012d7b8ac005ec14e0001200fd28..."} 
[2026-06-18 08:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bcafe8012d7b8ac005ec14e0001200fd28..."} 
[2026-06-18 08:49:59] local.INFO: Processing buffer {"connection_id":106330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bcafe8012d7b8ac005ec14e0001200fd28..."} 
[2026-06-18 08:49:59] local.INFO: Packet analysis {"connection_id":106330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:49:59] local.INFO: Extracted packet for processing {"connection_id":106330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:49:59] local.INFO: GPS Element Parsed {"raw_longitude":763071168,"raw_latitude":99357920,"longitude_deg":76.3071168,"latitude_deg":9.935792,"altitude":18,"angle":253,"satellites":40,"speed":22,"hex_longitude":"2d7b8ac0","hex_latitude":"05ec14e0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128689152001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93845280230735872,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911920000560740352,"note":"Value kept but may cause issues"} 
[2026-06-18 08:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781752705000,"timestamp_ms":1781752705000,"timestamp_seconds":1781752705,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bcafe8"} 
[2026-06-18 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-06-18 08: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-06-18 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-06-18 08:49:59] 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-06-18 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-06-18 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-06-18 08:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:49:59] 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-06-18 08:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128689152001,"66":13472,"198":206,"87":13824,"24":22,"16":93845280230735872,"45":8911920000560740352},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 08:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128689152001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:49:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 08:49:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93845280230735872,"km_value":93845280230735.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911920000560740352,"description":"Unknown IO ID 45"} 
[2026-06-18 08:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128689152001,"power":13472,"unknown_198":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8911920000560740352}} 
[2026-06-18 08:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":106330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:49:59] local.INFO: GPS data processed {"connection_id":106330,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:49:59] local.INFO: Acknowledgment sent {"connection_id":106330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:50:05] local.INFO: TCP Data received {"connection_id":106330,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bcea80012d7b690005ec0a68001200fb27..."} 
[2026-06-18 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bcea80012d7b690005ec0a68001200fb27..."} 
[2026-06-18 08:50:05] local.INFO: Processing buffer {"connection_id":106330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bcea80012d7b690005ec0a68001200fb27..."} 
[2026-06-18 08:50:05] local.INFO: Packet analysis {"connection_id":106330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:50:05] local.INFO: Extracted packet for processing {"connection_id":106330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bc"} 
[2026-06-18 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763062528,"raw_latitude":99355240,"longitude_deg":76.3062528,"latitude_deg":9.935524,"altitude":18,"angle":251,"satellites":39,"speed":26,"hex_longitude":"2d7b6900","hex_latitude":"05ec0a68","is_valid_coordinates":true} 
[2026-06-18 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128692480001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93845709727465472,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902138745119367168,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:05] 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-06-18 08:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781752720000,"timestamp_ms":1781752720000,"timestamp_seconds":1781752720,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bcea80"} 
[2026-06-18 08:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:50: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-06-18 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-18 08:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106330,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:50:05] 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-06-18 08:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128692480001,"66":13276,"198":206,"87":13824,"24":26,"16":93845709727465472,"45":8902138745119367168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 08:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128692480001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:50:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 08:50:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93845709727465472,"km_value":93845709727465.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902138745119367168,"description":"Unknown IO ID 45"} 
[2026-06-18 08:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128692480001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8902138745119367168}} 
[2026-06-18 08:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":106330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:50:05] local.INFO: GPS data processed {"connection_id":106330,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:50:05] local.INFO: Acknowledgment sent {"connection_id":106330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:50:09] local.INFO: TCP Data received {"connection_id":106331,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:09] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:09] local.INFO: IMEI packet received {"connection_id":106331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":106331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:50:09] local.INFO: TCP Data received {"connection_id":106331,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:09] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:09] local.INFO: IMEI packet received {"connection_id":106331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":106331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:50:10] local.INFO: TCP Data received {"connection_id":106331,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:10] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:10] local.INFO: IMEI packet received {"connection_id":106331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":106331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:50:14] local.INFO: TCP Data received {"connection_id":106329,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:50:14] local.INFO: Processing buffer {"connection_id":106329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:50:14] local.INFO: IMEI packet received {"connection_id":106329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":106329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:50:14] local.INFO: TCP Data received {"connection_id":106331,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:14] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:50:14] local.INFO: IMEI packet received {"connection_id":106331,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":106331,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:50:15] local.INFO: TCP Data received {"connection_id":106331,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bdd4e0012d0e088007068b68001500b61e..."} 
[2026-06-18 08:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bdd4e0012d0e088007068b68001500b61e..."} 
[2026-06-18 08:50:15] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bdd4e0012d0e088007068b68001500b61e..."} 
[2026-06-18 08:50:15] local.INFO: Packet analysis {"connection_id":106331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:50:15] local.INFO: Extracted packet for processing {"connection_id":106331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:50:15] local.INFO: GPS Element Parsed {"raw_longitude":755894400,"raw_latitude":117869416,"longitude_deg":75.58944,"latitude_deg":11.7869416,"altitude":21,"angle":182,"satellites":30,"speed":6,"hex_longitude":"2d0e0880","hex_latitude":"07068b68","is_valid_coordinates":true} 
[2026-06-18 08:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128710656001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071088079339520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011058146519476224,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781752780000,"timestamp_ms":1781752780000,"timestamp_seconds":1781752780,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bdd4e0"} 
[2026-06-18 08:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-06-18 08:50:15] 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-06-18 08:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128710656001,"66":14428,"219":206,"94":10240,"24":6,"16":21071088079339520,"45":1011058146519476224},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128710656001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:50:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:50:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071088079339520,"km_value":21071088079339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011058146519476224,"description":"Unknown IO ID 45"} 
[2026-06-18 08:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128710656001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":6,"odometer":null,"unknown_45":1011058146519476224}} 
[2026-06-18 08:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":106331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343368,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:50:15] local.INFO: GPS data processed {"connection_id":106331,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:50:15] local.INFO: Acknowledgment sent {"connection_id":106331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:50:34] local.INFO: TCP Data received {"connection_id":106332,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:50:34] local.INFO: Processing buffer {"connection_id":106332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:50:34] local.INFO: IMEI packet received {"connection_id":106332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:50:34] local.INFO: IMEI acknowledgment sent {"connection_id":106332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:50:46] local.INFO: TCP Data received {"connection_id":106331,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bdd8c8012d0e08c007068ac8001500a11e..."} 
[2026-06-18 08:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bdd8c8012d0e08c007068ac8001500a11e..."} 
[2026-06-18 08:50:46] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bdd8c8012d0e08c007068ac8001500a11e..."} 
[2026-06-18 08:50:46] local.INFO: Packet analysis {"connection_id":106331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:50:46] local.INFO: Extracted packet for processing {"connection_id":106331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:50:46] local.INFO: GPS Element Parsed {"raw_longitude":755894464,"raw_latitude":117869256,"longitude_deg":75.5894464,"latitude_deg":11.7869256,"altitude":21,"angle":161,"satellites":30,"speed":7,"hex_longitude":"2d0e08c0","hex_latitude":"07068ac8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071096669274112,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011198884007602176,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781752781000,"timestamp_ms":1781752781000,"timestamp_seconds":1781752781,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bdd8c8"} 
[2026-06-18 08:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 08:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106331,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128711680001,"66":14428,"219":206,"94":10240,"24":7,"16":21071096669274112,"45":1011198884007602176},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:50:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:50:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071096669274112,"km_value":21071096669274.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011198884007602176,"description":"Unknown IO ID 45"} 
[2026-06-18 08:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128711680001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1011198884007602176}} 
[2026-06-18 08:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":106331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343369,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:50:46] local.INFO: GPS data processed {"connection_id":106331,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:50:46] local.INFO: Acknowledgment sent {"connection_id":106331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:50:52] local.INFO: TCP Data received {"connection_id":106333,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:50:52] local.INFO: Processing buffer {"connection_id":106333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:50:52] local.INFO: IMEI packet received {"connection_id":106333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":106333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:50:54] local.INFO: TCP Data received {"connection_id":106333,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106333,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:50:54] local.INFO: Processing buffer {"connection_id":106333,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:50:54] local.INFO: IMEI packet received {"connection_id":106333,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":106333,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:50:54] local.INFO: TCP Data received {"connection_id":106333,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bd1d48012d7b470005ebfd08001000f429..."} 
[2026-06-18 08:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bd1d48012d7b470005ebfd08001000f429..."} 
[2026-06-18 08:50:54] local.INFO: Processing buffer {"connection_id":106333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bd1d48012d7b470005ebfd08001000f429..."} 
[2026-06-18 08:50:54] local.INFO: Packet analysis {"connection_id":106333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:50:54] local.INFO: Extracted packet for processing {"connection_id":106333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:50:54] local.INFO: GPS Element Parsed {"raw_longitude":763053824,"raw_latitude":99351816,"longitude_deg":76.3053824,"latitude_deg":9.9351816,"altitude":16,"angle":244,"satellites":41,"speed":32,"hex_longitude":"2d7b4700","hex_latitude":"05ebfd08","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:50:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128696320001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93846156404064256,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892638964654696448,"note":"Value kept but may cause issues"} 
[2026-06-18 08:50:54] 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-06-18 08:50:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781752733000,"timestamp_ms":1781752733000,"timestamp_seconds":1781752733,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bd1d48"} 
[2026-06-18 08:50:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:50: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-06-18 08: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 08:50:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:50:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:50:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:50:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:50:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:50:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:50:54] 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-06-18 08:50:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:50:54] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:50:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128696320001,"66":13189,"155":206,"87":13824,"24":32,"16":93846156404064256,"45":8892638964654696448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 08:50:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:50:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:50:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128696320001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:50:54] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 08:50:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:50:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93846156404064256,"km_value":93846156404064.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:50:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892638964654696448,"description":"Unknown IO ID 45"} 
[2026-06-18 08:50:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128696320001,"power":13189,"unknown_155":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8892638964654696448}} 
[2026-06-18 08:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":106333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343370,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:50:55] local.INFO: GPS data processed {"connection_id":106333,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:50:55] local.INFO: Acknowledgment sent {"connection_id":106333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:51:09] local.INFO: TCP Data received {"connection_id":107305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:09] local.INFO: Processing buffer {"connection_id":107305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:09] local.INFO: IMEI packet received {"connection_id":107305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":107305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:51:13] local.INFO: TCP Data received {"connection_id":107305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:13] local.INFO: Processing buffer {"connection_id":107305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:13] local.INFO: IMEI packet received {"connection_id":107305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":107305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:51:14] local.INFO: TCP Data received {"connection_id":107305,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107305,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:14] local.INFO: Processing buffer {"connection_id":107305,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:51:14] local.INFO: IMEI packet received {"connection_id":107305,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":107305,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:51:14] local.INFO: TCP Data received {"connection_id":107305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bdf038012d0e0a0007068860001500941e..."} 
[2026-06-18 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bdf038012d0e0a0007068860001500941e..."} 
[2026-06-18 08:51:14] local.INFO: Processing buffer {"connection_id":107305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bdf038012d0e0a0007068860001500941e..."} 
[2026-06-18 08:51:14] local.INFO: Packet analysis {"connection_id":107305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:51:14] local.INFO: Extracted packet for processing {"connection_id":107305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":755894784,"raw_latitude":117868640,"longitude_deg":75.5894784,"latitude_deg":11.786864,"altitude":21,"angle":148,"satellites":30,"speed":1,"hex_longitude":"2d0e0a00","hex_latitude":"07068860","is_valid_coordinates":true} 
[2026-06-18 08:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128711936001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071131029012480,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011269252751738880,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781752787000,"timestamp_ms":1781752787000,"timestamp_seconds":1781752787,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bdf038"} 
[2026-06-18 08:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 08:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128711936001,"66":14537,"219":206,"94":10240,"24":1,"16":21071131029012480,"45":1011269252751738880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128711936001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:51:14] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:51:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071131029012480,"km_value":21071131029012.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011269252751738880,"description":"Unknown IO ID 45"} 
[2026-06-18 08:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128711936001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1011269252751738880}} 
[2026-06-18 08:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":107305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343371,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:51:15] local.INFO: GPS data processed {"connection_id":107305,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:51:15] local.INFO: Acknowledgment sent {"connection_id":107305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:51:25] local.INFO: TCP Data received {"connection_id":106333,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bd4c28012d7b260005ebecb8000e00f228..."} 
[2026-06-18 08:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bd4c28012d7b260005ebecb8000e00f228..."} 
[2026-06-18 08:51:25] local.INFO: Processing buffer {"connection_id":106333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bd4c28012d7b260005ebecb8000e00f228..."} 
[2026-06-18 08:51:25] local.INFO: Packet analysis {"connection_id":106333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:51:25] local.INFO: Extracted packet for processing {"connection_id":106333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:51:25] local.INFO: GPS Element Parsed {"raw_longitude":763045376,"raw_latitude":99347640,"longitude_deg":76.3045376,"latitude_deg":9.934764,"altitude":14,"angle":242,"satellites":40,"speed":37,"hex_longitude":"2d7b2600","hex_latitude":"05ebecb8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128699648001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93846611670597632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883068815445657600,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51: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-06-18 08:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781752745000,"timestamp_ms":1781752745000,"timestamp_seconds":1781752745,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bd4c28"} 
[2026-06-18 08:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08: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-06-18 08: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":133,"data_length":795,"current_offset":136} 
[2026-06-18 08:51: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-06-18 08: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-06-18 08:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106333,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128699648001,"66":13352,"155":206,"87":13824,"24":37,"16":93846611670597632,"45":8883068815445657600},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 08:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128699648001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:51:25] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 08:51:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93846611670597632,"km_value":93846611670597.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883068815445657600,"description":"Unknown IO ID 45"} 
[2026-06-18 08:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128699648001,"power":13352,"unknown_155":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8883068815445657600}} 
[2026-06-18 08:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":106333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343372,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:51:25] local.INFO: GPS data processed {"connection_id":106333,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:51:25] local.INFO: Acknowledgment sent {"connection_id":106333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:51:46] local.INFO: TCP Data received {"connection_id":107305,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bdf808012d0e0a4007068830001400871e..."} 
[2026-06-18 08:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bdf808012d0e0a4007068830001400871e..."} 
[2026-06-18 08:51:46] local.INFO: Processing buffer {"connection_id":107305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bdf808012d0e0a4007068830001400871e..."} 
[2026-06-18 08:51:46] local.INFO: Packet analysis {"connection_id":107305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:51:46] local.INFO: Extracted packet for processing {"connection_id":107305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:51:46] local.INFO: GPS Element Parsed {"raw_longitude":755894848,"raw_latitude":117868592,"longitude_deg":75.5894848,"latitude_deg":11.7868592,"altitude":20,"angle":135,"satellites":30,"speed":1,"hex_longitude":"2d0e0a40","hex_latitude":"07068830","is_valid_coordinates":true} 
[2026-06-18 08:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128713472001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071135323979776,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011621096472469504,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781752789000,"timestamp_ms":1781752789000,"timestamp_seconds":1781752789,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bdf808"} 
[2026-06-18 08:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:51:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 08:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107305,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128713472001,"66":14450,"219":206,"94":10240,"24":1,"16":21071135323979776,"45":1011621096472469504},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128713472001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:51:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:51:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071135323979776,"km_value":21071135323979.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011621096472469504,"description":"Unknown IO ID 45"} 
[2026-06-18 08:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128713472001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":1011621096472469504}} 
[2026-06-18 08:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":107305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343373,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:51:46] local.INFO: GPS data processed {"connection_id":107305,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:51:46] local.INFO: Acknowledgment sent {"connection_id":107305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:51:52] local.INFO: TCP Data received {"connection_id":105574,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:51:52] local.INFO: Processing buffer {"connection_id":105574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:51:52] local.INFO: IMEI packet received {"connection_id":105574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":105574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:51:57] local.INFO: TCP Data received {"connection_id":105574,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105574,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:51:57] local.INFO: Processing buffer {"connection_id":105574,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:51:57] local.INFO: IMEI packet received {"connection_id":105574,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":105574,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:51:57] local.INFO: TCP Data received {"connection_id":105574,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8bd7338012d7b050005ebdc70000d00f327..."} 
[2026-06-18 08:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8bd7338012d7b050005ebdc70000d00f327..."} 
[2026-06-18 08:51:57] local.INFO: Processing buffer {"connection_id":105574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8bd7338012d7b050005ebdc70000d00f327..."} 
[2026-06-18 08:51:57] local.INFO: Packet analysis {"connection_id":105574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:51:57] local.INFO: Extracted packet for processing {"connection_id":105574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8bd"} 
[2026-06-18 08:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763036928,"raw_latitude":99343472,"longitude_deg":76.3036928,"latitude_deg":9.9343472,"altitude":13,"angle":243,"satellites":39,"speed":35,"hex_longitude":"2d7b0500","hex_latitude":"05ebdc70","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128702720001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93847058347196416,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873780141213136896,"note":"Value kept but may cause issues"} 
[2026-06-18 08:51:57] 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-06-18 08:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781752755000,"timestamp_ms":1781752755000,"timestamp_seconds":1781752755,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8bd7338"} 
[2026-06-18 08:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:51: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-06-18 08: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-18 08:51:57] 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-06-18 08: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-06-18 08:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:51: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-06-18 08:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128702720001,"66":13504,"155":206,"87":13824,"24":35,"16":93847058347196416,"45":8873780141213136896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 08:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128702720001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:51:57] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 08:51:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93847058347196416,"km_value":93847058347196.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873780141213136896,"description":"Unknown IO ID 45"} 
[2026-06-18 08:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128702720001,"power":13504,"unknown_155":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8873780141213136896}} 
[2026-06-18 08:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":105574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:51:57] local.INFO: GPS data processed {"connection_id":105574,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:51:57] local.INFO: Acknowledgment sent {"connection_id":105574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:52:14] local.INFO: TCP Data received {"connection_id":105774,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105774,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:52:14] local.INFO: Processing buffer {"connection_id":105774,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:52:14] local.INFO: IMEI packet received {"connection_id":105774,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":105774,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:52:15] local.INFO: TCP Data received {"connection_id":105774,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105774,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:52:15] local.INFO: Processing buffer {"connection_id":105774,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:52:15] local.INFO: IMEI packet received {"connection_id":105774,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":105774,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:52:16] local.INFO: TCP Data received {"connection_id":105774,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8be2ad0012d0e0b80070687e00014006e1e..."} 
[2026-06-18 08:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8be2ad0012d0e0b80070687e00014006e1e..."} 
[2026-06-18 08:52:16] local.INFO: Processing buffer {"connection_id":105774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8be2ad0012d0e0b80070687e00014006e1e..."} 
[2026-06-18 08:52:16] local.INFO: Packet analysis {"connection_id":105774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8be"} 
[2026-06-18 08:52:16] local.INFO: Extracted packet for processing {"connection_id":105774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8be"} 
[2026-06-18 08:52:16] local.INFO: GPS Element Parsed {"raw_longitude":755895168,"raw_latitude":117868512,"longitude_deg":75.5895168,"latitude_deg":11.7868512,"altitude":20,"angle":110,"satellites":30,"speed":2,"hex_longitude":"2d0e0b80","hex_latitude":"070687e0","is_valid_coordinates":true} 
[2026-06-18 08:52: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-06-18 08:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128713984001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071152503848960,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1011691465216634880,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781752802000,"timestamp_ms":1781752802000,"timestamp_seconds":1781752802,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8be2ad0"} 
[2026-06-18 08:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 08:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:52: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-06-18 08:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128713984001,"66":14537,"219":206,"94":10240,"24":2,"16":21071152503848960,"45":1011691465216634880},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128713984001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:52:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:52:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071152503848960,"km_value":21071152503848.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1011691465216634880,"description":"Unknown IO ID 45"} 
[2026-06-18 08:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128713984001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1011691465216634880}} 
[2026-06-18 08:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":105774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343375,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:52:16] local.INFO: GPS data processed {"connection_id":105774,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:52:16] local.INFO: Acknowledgment sent {"connection_id":105774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:52:19] local.INFO: TCP Data received {"connection_id":105774,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8be3e58012d0e0d40070687980014005c1e..."} 
[2026-06-18 08:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8be3e58012d0e0d40070687980014005c1e..."} 
[2026-06-18 08:52:19] local.INFO: Processing buffer {"connection_id":105774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8be3e58012d0e0d40070687980014005c1e..."} 
[2026-06-18 08:52:19] local.INFO: Packet analysis {"connection_id":105774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8be"} 
[2026-06-18 08:52:19] local.INFO: Extracted packet for processing {"connection_id":105774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8be"} 
[2026-06-18 08:52:19] local.INFO: GPS Element Parsed {"raw_longitude":755895616,"raw_latitude":117868440,"longitude_deg":75.5895616,"latitude_deg":11.786844,"altitude":20,"angle":92,"satellites":30,"speed":2,"hex_longitude":"2d0e0d40","hex_latitude":"07068798","is_valid_coordinates":true} 
[2026-06-18 08:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128717312001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071173978685440,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1012043308937502720,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781752807000,"timestamp_ms":1781752807000,"timestamp_seconds":1781752807,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8be3e58"} 
[2026-06-18 08:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 08:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":105774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":105774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":105774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128717312001,"66":14559,"219":206,"94":10240,"24":2,"16":21071173978685440,"45":1012043308937502720},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128717312001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:52:19] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:52:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071173978685440,"km_value":21071173978685.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1012043308937502720,"description":"Unknown IO ID 45"} 
[2026-06-18 08:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128717312001,"power":14559,"unknown_219":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":1012043308937502720}} 
[2026-06-18 08:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":105774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343376,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:52:20] local.INFO: GPS data processed {"connection_id":105774,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:52:20] local.INFO: Acknowledgment sent {"connection_id":105774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:52:28] local.INFO: TCP Data received {"connection_id":105574,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c03258012d7a540005eb93500006011c23..."} 
[2026-06-18 08:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c03258012d7a540005eb93500006011c23..."} 
[2026-06-18 08:52:28] local.INFO: Processing buffer {"connection_id":105574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c03258012d7a540005eb93500006011c23..."} 
[2026-06-18 08:52:28] local.INFO: Packet analysis {"connection_id":105574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:52:28] local.INFO: Extracted packet for processing {"connection_id":105574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:52:28] local.INFO: GPS Element Parsed {"raw_longitude":762991616,"raw_latitude":99324752,"longitude_deg":76.2991616,"latitude_deg":9.9324752,"altitude":6,"angle":284,"satellites":35,"speed":11,"hex_longitude":"2d7a5400","hex_latitude":"05eb9350","is_valid_coordinates":true} 
[2026-06-18 08:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128751104001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93849420579209216,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815022239818913792,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] 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-06-18 08:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781752935000,"timestamp_ms":1781752935000,"timestamp_seconds":1781752935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c03258"} 
[2026-06-18 08:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08: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-06-18 08:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496557,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":161,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3636370456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3208652801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2520776710,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-06-18 08:52:28] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3221613462,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:28] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,161,87,24,241,157,16,107,158,30,45,64,147,6,31,10,66,228,192,150,32,146,1,240,242,227,216,235,4,113,205,238,97,239,50,2,77,5],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-06-18 08:52:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432645881226461184,"timestamp_seconds":432645881226461.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105574,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:52: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-06-18 08:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128751104001,"66":13059,"161":206,"87":13824,"24":11,"16":93849420579209216,"45":8815022239818913792},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-18 08:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128751104001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:52:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 08:52:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93849420579209216,"km_value":93849420579209.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815022239818913792,"description":"Unknown IO ID 45"} 
[2026-06-18 08:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128751104001,"power":13059,"unknown_161":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8815022239818913792}} 
[2026-06-18 08:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":105574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:52:29] local.INFO: GPS data processed {"connection_id":105574,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:52:29] local.INFO: Acknowledgment sent {"connection_id":105574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:52:37] local.INFO: TCP Data received {"connection_id":105575,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:52:37] local.INFO: Processing buffer {"connection_id":105575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:52:37] local.INFO: IMEI packet received {"connection_id":105575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":105575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:52:38] local.INFO: TCP Data received {"connection_id":105575,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8beea38012d4d0840065330d0000b01432b..."} 
[2026-06-18 08:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8beea38012d4d0840065330d0000b01432b..."} 
[2026-06-18 08:52:38] local.INFO: Processing buffer {"connection_id":105575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8beea38012d4d0840065330d0000b01432b..."} 
[2026-06-18 08:52:38] local.INFO: Packet analysis {"connection_id":105575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8be"} 
[2026-06-18 08:52:38] local.INFO: Extracted packet for processing {"connection_id":105575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8be"} 
[2026-06-18 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":760023104,"raw_latitude":106115280,"longitude_deg":76.0023104,"latitude_deg":10.611528,"altitude":11,"angle":323,"satellites":43,"speed":59,"hex_longitude":"2d4d0840","hex_latitude":"065330d0","is_valid_coordinates":true} 
[2026-06-18 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128728320001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317652882109235200,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5556316067431921664,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781752851000,"timestamp_ms":1781752851000,"timestamp_seconds":1781752851,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8beea38"} 
[2026-06-18 08:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:52: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-06-18 08:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128728320001,"66":27745,"135":206,"28":31488,"24":59,"16":317652882109235200,"45":5556316067431921664},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,28,24,16,45]} 
[2026-06-18 08:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128728320001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:52:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 08:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317652882109235200,"km_value":317652882109235.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":5556316067431921664,"description":"Unknown IO ID 45"} 
[2026-06-18 08:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128728320001,"power":27745,"unknown_135":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5556316067431921664}} 
[2026-06-18 08:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":105575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:52:38] local.INFO: GPS data processed {"connection_id":105575,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:52:38] local.INFO: Acknowledgment sent {"connection_id":105575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:52:50] local.INFO: TCP Data received {"connection_id":105774,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c09400012d0e2f40070685280025002b21..."} 
[2026-06-18 08:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c09400012d0e2f40070685280025002b21..."} 
[2026-06-18 08:52:50] local.INFO: Processing buffer {"connection_id":105774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c09400012d0e2f40070685280025002b21..."} 
[2026-06-18 08:52:50] local.INFO: Packet analysis {"connection_id":105774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:52:50] local.INFO: Extracted packet for processing {"connection_id":105774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:52:50] local.INFO: GPS Element Parsed {"raw_longitude":755904320,"raw_latitude":117867816,"longitude_deg":75.590432,"latitude_deg":11.7867816,"altitude":37,"angle":43,"satellites":33,"speed":13,"hex_longitude":"2d0e2f40","hex_latitude":"07068528","is_valid_coordinates":true} 
[2026-06-18 08:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128757504001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071612065349632,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1021754195633784832,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781752960000,"timestamp_ms":1781752960000,"timestamp_seconds":1781752960,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c09400"} 
[2026-06-18 08:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:52: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-06-18 08:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 08:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105774,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128757504001,"66":14407,"219":206,"94":10240,"24":13,"16":21071612065349632,"45":1021754195633784832},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128757504001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:52:50] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:52:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071612065349632,"km_value":21071612065349.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1021754195633784832,"description":"Unknown IO ID 45"} 
[2026-06-18 08:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128757504001,"power":14407,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1021754195633784832}} 
[2026-06-18 08:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":105774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343379,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:52:51] local.INFO: GPS data processed {"connection_id":105774,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:52:51] local.INFO: Acknowledgment sent {"connection_id":105774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:52:54] local.INFO: TCP Data received {"connection_id":106335,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:52:54] local.INFO: Processing buffer {"connection_id":106335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:52:54] local.INFO: IMEI packet received {"connection_id":106335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":106335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:52:57] local.INFO: TCP Data received {"connection_id":106335,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:52:57] local.INFO: Processing buffer {"connection_id":106335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:52:57] local.INFO: IMEI packet received {"connection_id":106335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":106335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:52:58] local.INFO: TCP Data received {"connection_id":106335,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c03a28012d7a524005eb94a80006013c25..."} 
[2026-06-18 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c03a28012d7a524005eb94a80006013c25..."} 
[2026-06-18 08:52:58] local.INFO: Processing buffer {"connection_id":106335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c03a28012d7a524005eb94a80006013c25..."} 
[2026-06-18 08:52:58] local.INFO: Packet analysis {"connection_id":106335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:52:58] local.INFO: Extracted packet for processing {"connection_id":106335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:52:58] local.INFO: GPS Element Parsed {"raw_longitude":762991168,"raw_latitude":99325096,"longitude_deg":76.2991168,"latitude_deg":9.9325096,"altitude":6,"angle":316,"satellites":37,"speed":10,"hex_longitude":"2d7a5240","hex_latitude":"05eb94a8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128751360001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93849446349012992,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396098039808,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52: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-06-18 08:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781752937000,"timestamp_ms":1781752937000,"timestamp_seconds":1781752937,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c03a28"} 
[2026-06-18 08:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:52: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-06-18 08: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160445947181,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":161,"raw_value":58079734643818496,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3636391456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3214028801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2520776710,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765526222,"corrected_to":0} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3221613462,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3707817261,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952492544,"note":"Value kept but may cause issues"} 
[2026-06-18 08:52:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,161,87,24,241,157,16,107,158,46,45,64,147,6,35,10,66,30,31,228,192,1,240,221,227,216,235,4,113,205,97,239,49,2,77,5],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":765526222,"validated":0}]} 
[2026-06-18 08:52:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432657975854432256,"timestamp_seconds":432657975854432.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:52: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-06-18 08:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128751360001,"66":13048,"161":206,"87":13824,"24":10,"16":93849446349012992,"45":8814670396098039808},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-18 08:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128751360001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:52:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 08:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93849446349012992,"km_value":93849446349012.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396098039808,"description":"Unknown IO ID 45"} 
[2026-06-18 08:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128751360001,"power":13048,"unknown_161":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":8814670396098039808}} 
[2026-06-18 08:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":106335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:52:58] local.INFO: GPS data processed {"connection_id":106335,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:52:58] local.INFO: Acknowledgment sent {"connection_id":106335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:53:09] local.INFO: TCP Data received {"connection_id":105576,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:53:09] local.INFO: Processing buffer {"connection_id":105576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:53:09] local.INFO: IMEI packet received {"connection_id":105576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":105576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:53:09] local.INFO: TCP Data received {"connection_id":105575,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c03e10012d4bfd000654ccd0000a014b2a..."} 
[2026-06-18 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c03e10012d4bfd000654ccd0000a014b2a..."} 
[2026-06-18 08:53:09] local.INFO: Processing buffer {"connection_id":105575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c03e10012d4bfd000654ccd0000a014b2a..."} 
[2026-06-18 08:53:09] local.INFO: Packet analysis {"connection_id":105575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:09] local.INFO: Extracted packet for processing {"connection_id":105575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":759954688,"raw_latitude":106220752,"longitude_deg":75.9954688,"latitude_deg":10.6220752,"altitude":10,"angle":331,"satellites":42,"speed":58,"hex_longitude":"2d4bfd00","hex_latitude":"0654ccd0","is_valid_coordinates":true} 
[2026-06-18 08:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128750336001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317658985257762816,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5480951142444347392,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781752938000,"timestamp_ms":1781752938000,"timestamp_seconds":1781752938,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c03e10"} 
[2026-06-18 08:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 08:53:09] 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-06-18 08:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128750336001,"66":27658,"77":206,"28":31488,"24":58,"16":317658985257762816,"45":5480951142444347392},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-18 08:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128750336001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:53:09] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-18 08:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317658985257762816,"km_value":317658985257762.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5480951142444347392,"description":"Unknown IO ID 45"} 
[2026-06-18 08:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128750336001,"power":27658,"unknown_77":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5480951142444347392}} 
[2026-06-18 08:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":105575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:53:09] local.INFO: GPS data processed {"connection_id":105575,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:53:09] local.INFO: Acknowledgment sent {"connection_id":105575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:53:13] local.INFO: TCP Data received {"connection_id":105576,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105576,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:53:13] local.INFO: Processing buffer {"connection_id":105576,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:53:13] local.INFO: IMEI packet received {"connection_id":105576,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":105576,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:53:13] local.INFO: TCP Data received {"connection_id":105576,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c097e8012d0e2fc0070686300025001d21..."} 
[2026-06-18 08:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c097e8012d0e2fc0070686300025001d21..."} 
[2026-06-18 08:53:13] local.INFO: Processing buffer {"connection_id":105576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c097e8012d0e2fc0070686300025001d21..."} 
[2026-06-18 08:53:13] local.INFO: Packet analysis {"connection_id":105576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:13] local.INFO: Extracted packet for processing {"connection_id":105576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:13] local.INFO: GPS Element Parsed {"raw_longitude":755904448,"raw_latitude":117868080,"longitude_deg":75.5904448,"latitude_deg":11.786808,"altitude":37,"angle":29,"satellites":33,"speed":12,"hex_longitude":"2d0e2fc0","hex_latitude":"07068630","is_valid_coordinates":true} 
[2026-06-18 08:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128757760001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071624950251520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022106039354730496,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781752961000,"timestamp_ms":1781752961000,"timestamp_seconds":1781752961,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c097e8"} 
[2026-06-18 08:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 08:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128757760001,"66":14439,"219":206,"94":10240,"24":12,"16":21071624950251520,"45":1022106039354730496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128757760001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:53:13] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:53:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071624950251520,"km_value":21071624950251.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022106039354730496,"description":"Unknown IO ID 45"} 
[2026-06-18 08:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128757760001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":1022106039354730496}} 
[2026-06-18 08:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":105576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343382,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:53:14] local.INFO: GPS data processed {"connection_id":105576,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:53:14] local.INFO: Acknowledgment sent {"connection_id":105576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:53:26] local.INFO: TCP Data received {"connection_id":105577,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:26] local.INFO: Processing buffer {"connection_id":105577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:26] local.INFO: IMEI packet received {"connection_id":105577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":105577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:53:29] local.INFO: TCP Data received {"connection_id":106335,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c03e10012d7a51c005eb95d00006014f26..."} 
[2026-06-18 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c03e10012d7a51c005eb95d00006014f26..."} 
[2026-06-18 08:53:29] local.INFO: Processing buffer {"connection_id":106335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c03e10012d7a51c005eb95d00006014f26..."} 
[2026-06-18 08:53:29] local.INFO: Packet analysis {"connection_id":106335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:29] local.INFO: Extracted packet for processing {"connection_id":106335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":762991040,"raw_latitude":99325392,"longitude_deg":76.299104,"latitude_deg":9.9325392,"altitude":6,"angle":335,"satellites":38,"speed":12,"hex_longitude":"2d7a51c0","hex_latitude":"05eb95d0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128751872001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93849463528882176,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814177814888884224,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53: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-06-18 08:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781752938000,"timestamp_ms":1781752938000,"timestamp_seconds":1781752938,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c03e10"} 
[2026-06-18 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-06-18 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-06-18 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 08:53: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-06-18 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-06-18 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-06-18 08:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:53: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-06-18 08:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128751872001,"66":12722,"161":206,"87":13824,"24":12,"16":93849463528882176,"45":8814177814888884224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-18 08:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128751872001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:53:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 08:53:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93849463528882176,"km_value":93849463528882.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814177814888884224,"description":"Unknown IO ID 45"} 
[2026-06-18 08:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128751872001,"power":12722,"unknown_161":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8814177814888884224}} 
[2026-06-18 08:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":106335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:53:29] local.INFO: GPS data processed {"connection_id":106335,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:53:29] local.INFO: Acknowledgment sent {"connection_id":106335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:53:30] local.INFO: TCP Data received {"connection_id":105577,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:30] local.INFO: Processing buffer {"connection_id":105577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:30] local.INFO: IMEI packet received {"connection_id":105577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":105577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:53:32] local.INFO: TCP Data received {"connection_id":105577,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:32] local.INFO: Processing buffer {"connection_id":105577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:53:32] local.INFO: IMEI packet received {"connection_id":105577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":105577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:53:33] local.INFO: TCP Data received {"connection_id":105577,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c05580012d4bec400654eb70000b014b2a..."} 
[2026-06-18 08:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c05580012d4bec400654eb70000b014b2a..."} 
[2026-06-18 08:53:33] local.INFO: Processing buffer {"connection_id":105577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c05580012d4bec400654eb70000b014b2a..."} 
[2026-06-18 08:53:33] local.INFO: Packet analysis {"connection_id":105577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:33] local.INFO: Extracted packet for processing {"connection_id":105577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:33] local.INFO: GPS Element Parsed {"raw_longitude":759950400,"raw_latitude":106228592,"longitude_deg":75.99504,"latitude_deg":10.6228592,"altitude":11,"angle":331,"satellites":42,"speed":60,"hex_longitude":"2d4bec40","hex_latitude":"0654eb70","is_valid_coordinates":true} 
[2026-06-18 08:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128752128001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317659414754492416,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5475532749144903680,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781752944000,"timestamp_ms":1781752944000,"timestamp_seconds":1781752944,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c05580"} 
[2026-06-18 08:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:53: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-06-18 08:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 08:53: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-06-18 08:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128752128001,"66":27767,"77":206,"28":31488,"24":60,"16":317659414754492416,"45":5475532749144903680},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-18 08:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128752128001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:53:33] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-18 08:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317659414754492416,"km_value":317659414754492.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5475532749144903680,"description":"Unknown IO ID 45"} 
[2026-06-18 08:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128752128001,"power":27767,"unknown_77":206,"unknown_28":31488,"ignition":60,"odometer":null,"unknown_45":5475532749144903680}} 
[2026-06-18 08:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":105577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:53:33] local.INFO: GPS data processed {"connection_id":105577,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:53:33] local.INFO: Acknowledgment sent {"connection_id":105577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:53:35] local.INFO: TCP Data received {"connection_id":105577,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c06cf0012d4bdb4006550af8000b014b2a..."} 
[2026-06-18 08:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c06cf0012d4bdb4006550af8000b014b2a..."} 
[2026-06-18 08:53:35] local.INFO: Processing buffer {"connection_id":105577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c06cf0012d4bdb4006550af8000b014b2a..."} 
[2026-06-18 08:53:35] local.INFO: Packet analysis {"connection_id":105577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:35] local.INFO: Extracted packet for processing {"connection_id":105577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":759946048,"raw_latitude":106236664,"longitude_deg":75.9946048,"latitude_deg":10.6236664,"altitude":11,"angle":331,"satellites":42,"speed":60,"hex_longitude":"2d4bdb40","hex_latitude":"06550af8","is_valid_coordinates":true} 
[2026-06-18 08:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128753664001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317659857136123904,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5470818043287007232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781752950000,"timestamp_ms":1781752950000,"timestamp_seconds":1781752950,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c06cf0"} 
[2026-06-18 08:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:53: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-06-18 08:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128753664001,"66":27745,"77":206,"28":31488,"24":60,"16":317659857136123904,"45":5470818043287007232},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-18 08:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128753664001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:53:35] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-18 08:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317659857136123904,"km_value":317659857136123.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5470818043287007232,"description":"Unknown IO ID 45"} 
[2026-06-18 08:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128753664001,"power":27745,"unknown_77":206,"unknown_28":31488,"ignition":60,"odometer":null,"unknown_45":5470818043287007232}} 
[2026-06-18 08:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":105577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:53:35] local.INFO: GPS data processed {"connection_id":105577,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:53:35] local.INFO: Acknowledgment sent {"connection_id":105577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:53:45] local.INFO: TCP Data received {"connection_id":105576,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c0a788012d0e324007068c500025000f21..."} 
[2026-06-18 08:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c0a788012d0e324007068c500025000f21..."} 
[2026-06-18 08:53:45] local.INFO: Processing buffer {"connection_id":105576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c0a788012d0e324007068c500025000f21..."} 
[2026-06-18 08:53:45] local.INFO: Packet analysis {"connection_id":105576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:45] local.INFO: Extracted packet for processing {"connection_id":105576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:45] local.INFO: GPS Element Parsed {"raw_longitude":755905088,"raw_latitude":117869648,"longitude_deg":75.5905088,"latitude_deg":11.7869648,"altitude":37,"angle":15,"satellites":33,"speed":20,"hex_longitude":"2d0e3240","hex_latitude":"07068c50","is_valid_coordinates":true} 
[2026-06-18 08:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128758016001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21071706554630144,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1022246776843153408,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781752965000,"timestamp_ms":1781752965000,"timestamp_seconds":1781752965,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c0a788"} 
[2026-06-18 08:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:53:45] 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-06-18 08:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 08:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105576,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128758016001,"66":14439,"219":206,"94":10240,"24":20,"16":21071706554630144,"45":1022246776843153408},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128758016001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:53:45] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:53:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21071706554630144,"km_value":21071706554630.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1022246776843153408,"description":"Unknown IO ID 45"} 
[2026-06-18 08:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128758016001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":1022246776843153408}} 
[2026-06-18 08:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":105576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343386,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:53:45] local.INFO: GPS data processed {"connection_id":105576,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:53:45] local.INFO: Acknowledgment sent {"connection_id":105576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:53:52] local.INFO: TCP Data received {"connection_id":106336,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:53:52] local.INFO: Processing buffer {"connection_id":106336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:53:52] local.INFO: IMEI packet received {"connection_id":106336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":106336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:53:57] local.INFO: TCP Data received {"connection_id":106336,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106336,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:53:57] local.INFO: Processing buffer {"connection_id":106336,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:53:57] local.INFO: IMEI packet received {"connection_id":106336,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":106336,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:53:57] local.INFO: TCP Data received {"connection_id":106336,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c078a8012d7a428005ebb6d80006014c20..."} 
[2026-06-18 08:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c078a8012d7a428005ebb6d80006014c20..."} 
[2026-06-18 08:53:57] local.INFO: Processing buffer {"connection_id":106336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c078a8012d7a428005ebb6d80006014c20..."} 
[2026-06-18 08:53:57] local.INFO: Packet analysis {"connection_id":106336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:57] local.INFO: Extracted packet for processing {"connection_id":106336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:53:57] local.INFO: GPS Element Parsed {"raw_longitude":762987136,"raw_latitude":99333848,"longitude_deg":76.2987136,"latitude_deg":9.9333848,"altitude":6,"angle":332,"satellites":32,"speed":21,"hex_longitude":"2d7a4280","hex_latitude":"05ebb6d8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128752128001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93849914500448256,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814037077400604672,"note":"Value kept but may cause issues"} 
[2026-06-18 08:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781752953000,"timestamp_ms":1781752953000,"timestamp_seconds":1781752953,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c078a8"} 
[2026-06-18 08:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08: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-06-18 08: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 08:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:53: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-06-18 08:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128752128001,"66":13091,"161":206,"87":13824,"24":21,"16":93849914500448256,"45":8814037077400604672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-18 08:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128752128001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:53:57] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 08:53:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93849914500448256,"km_value":93849914500448.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814037077400604672,"description":"Unknown IO ID 45"} 
[2026-06-18 08:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128752128001,"power":13091,"unknown_161":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8814037077400604672}} 
[2026-06-18 08:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":106336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:53:57] local.INFO: GPS data processed {"connection_id":106336,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:53:57] local.INFO: Acknowledgment sent {"connection_id":106336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:54:09] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:09] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:09] local.INFO: IMEI packet received {"connection_id":106337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":106337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:54:10] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:10] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:10] local.INFO: IMEI packet received {"connection_id":106337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":106337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:54:10] local.INFO: TCP Data received {"connection_id":105577,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c08460012d4bca40065529f0000b014b2a..."} 
[2026-06-18 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c08460012d4bca40065529f0000b014b2a..."} 
[2026-06-18 08:54:10] local.INFO: Processing buffer {"connection_id":105577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c08460012d4bca40065529f0000b014b2a..."} 
[2026-06-18 08:54:10] local.INFO: Packet analysis {"connection_id":105577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:54:10] local.INFO: Extracted packet for processing {"connection_id":105577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:54:10] local.INFO: GPS Element Parsed {"raw_longitude":759941696,"raw_latitude":106244592,"longitude_deg":75.9941696,"latitude_deg":10.6244592,"altitude":11,"angle":331,"satellites":42,"speed":59,"hex_longitude":"2d4bca40","hex_latitude":"065529f0","is_valid_coordinates":true} 
[2026-06-18 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128755200001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317660295222788096,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5466032968684992512,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781752956000,"timestamp_ms":1781752956000,"timestamp_seconds":1781752956,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c08460"} 
[2026-06-18 08:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:54:10] 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-06-18 08:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128755200001,"66":27767,"77":206,"28":31488,"24":59,"16":317660295222788096,"45":5466032968684992512},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-18 08:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128755200001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:54:10] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-18 08:54:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317660295222788096,"km_value":317660295222788.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5466032968684992512,"description":"Unknown IO ID 45"} 
[2026-06-18 08:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128755200001,"power":27767,"unknown_77":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5466032968684992512}} 
[2026-06-18 08:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":105577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:54:10] local.INFO: GPS data processed {"connection_id":105577,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:54:10] local.INFO: Acknowledgment sent {"connection_id":105577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:54:14] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:14] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:54:14] local.INFO: IMEI packet received {"connection_id":106337,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":106337,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:54:15] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c18a18012d0e3d400706f920002200031f..."} 
[2026-06-18 08:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c18a18012d0e3d400706f920002200031f..."} 
[2026-06-18 08:54:15] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c18a18012d0e3d400706f920002200031f..."} 
[2026-06-18 08:54:15] local.INFO: Packet analysis {"connection_id":106337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c1"} 
[2026-06-18 08:54:15] local.INFO: Extracted packet for processing {"connection_id":106337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c1"} 
[2026-06-18 08:54:15] local.INFO: GPS Element Parsed {"raw_longitude":755907904,"raw_latitude":117897504,"longitude_deg":75.5907904,"latitude_deg":11.7897504,"altitude":34,"angle":3,"satellites":31,"speed":7,"hex_longitude":"2d0e3d40","hex_latitude":"0706f920","is_valid_coordinates":true} 
[2026-06-18 08:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128772352001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21073080944164864,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689035935744,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753023000,"timestamp_ms":1781753023000,"timestamp_seconds":1781753023,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c18a18"} 
[2026-06-18 08:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 08:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128772352001,"66":14428,"219":206,"94":10240,"24":7,"16":21073080944164864,"45":1026046689035935744},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128772352001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:54:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:54:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21073080944164864,"km_value":21073080944164.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689035935744,"description":"Unknown IO ID 45"} 
[2026-06-18 08:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128772352001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":1026046689035935744}} 
[2026-06-18 08:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":106337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343389,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:54:15] local.INFO: GPS data processed {"connection_id":106337,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:54:15] local.INFO: Acknowledgment sent {"connection_id":106337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:54:26] local.INFO: TCP Data received {"connection_id":107308,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:26] local.INFO: Processing buffer {"connection_id":107308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:26] local.INFO: IMEI packet received {"connection_id":107308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":107308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:54:26] local.INFO: TCP Data received {"connection_id":107308,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:26] local.INFO: Processing buffer {"connection_id":107308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:26] local.INFO: IMEI packet received {"connection_id":107308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":107308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:54:28] local.INFO: TCP Data received {"connection_id":106336,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c0af58012d7a32c005ebd6980007014e1e..."} 
[2026-06-18 08:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c0af58012d7a32c005ebd6980007014e1e..."} 
[2026-06-18 08:54:28] local.INFO: Processing buffer {"connection_id":106336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c0af58012d7a32c005ebd6980007014e1e..."} 
[2026-06-18 08:54:28] local.INFO: Packet analysis {"connection_id":106336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:54:28] local.INFO: Extracted packet for processing {"connection_id":106336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:54:28] local.INFO: GPS Element Parsed {"raw_longitude":762983104,"raw_latitude":99341976,"longitude_deg":76.2983104,"latitude_deg":9.9341976,"altitude":7,"angle":334,"satellites":30,"speed":30,"hex_longitude":"2d7a32c0","hex_latitude":"05ebd698","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128755968001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93850352587112448,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8809744584007931904,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:28] 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-06-18 08:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781752967000,"timestamp_ms":1781752967000,"timestamp_seconds":1781752967,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c0af58"} 
[2026-06-18 08:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:54: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-06-18 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 08:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106336,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:54: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-06-18 08:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128755968001,"66":13178,"161":206,"87":13824,"24":30,"16":93850352587112448,"45":8809744584007931904},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-18 08:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128755968001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:54:28] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 08:54:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93850352587112448,"km_value":93850352587112.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8809744584007931904,"description":"Unknown IO ID 45"} 
[2026-06-18 08:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128755968001,"power":13178,"unknown_161":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8809744584007931904}} 
[2026-06-18 08:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":106336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343390,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:54:29] local.INFO: GPS data processed {"connection_id":106336,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:54:29] local.INFO: Acknowledgment sent {"connection_id":106336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:54:30] local.INFO: TCP Data received {"connection_id":107308,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:30] local.INFO: Processing buffer {"connection_id":107308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:54:30] local.INFO: IMEI packet received {"connection_id":107308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":107308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:54:32] local.INFO: TCP Data received {"connection_id":107308,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c09bd0012d4bb980065548d0000b014c2a..."} 
[2026-06-18 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c09bd0012d4bb980065548d0000b014c2a..."} 
[2026-06-18 08:54:32] local.INFO: Processing buffer {"connection_id":107308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c09bd0012d4bb980065548d0000b014c2a..."} 
[2026-06-18 08:54:32] local.INFO: Packet analysis {"connection_id":107308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:54:32] local.INFO: Extracted packet for processing {"connection_id":107308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:54:32] local.INFO: GPS Element Parsed {"raw_longitude":759937408,"raw_latitude":106252496,"longitude_deg":75.9937408,"latitude_deg":10.6252496,"altitude":11,"angle":332,"satellites":42,"speed":59,"hex_longitude":"2d4bb980","hex_latitude":"065548d0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128756736001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317660729014484992,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5461247894082940928,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781752962000,"timestamp_ms":1781752962000,"timestamp_seconds":1781752962,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c09bd0"} 
[2026-06-18 08:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:54: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-06-18 08: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-06-18 08:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128756736001,"66":27647,"77":206,"28":31488,"24":59,"16":317660729014484992,"45":5461247894082940928},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-18 08:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128756736001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:54:32] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-18 08:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317660729014484992,"km_value":317660729014485.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5461247894082940928,"description":"Unknown IO ID 45"} 
[2026-06-18 08:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128756736001,"power":27647,"unknown_77":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5461247894082940928}} 
[2026-06-18 08:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":107308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:54:32] local.INFO: GPS data processed {"connection_id":107308,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:54:32] local.INFO: Acknowledgment sent {"connection_id":107308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:54:35] local.INFO: TCP Data received {"connection_id":107308,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c0b340012d4ba900065567a0000c014c2a..."} 
[2026-06-18 08:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c0b340012d4ba900065567a0000c014c2a..."} 
[2026-06-18 08:54:35] local.INFO: Processing buffer {"connection_id":107308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c0b340012d4ba900065567a0000c014c2a..."} 
[2026-06-18 08:54:35] local.INFO: Packet analysis {"connection_id":107308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:54:35] local.INFO: Extracted packet for processing {"connection_id":107308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c0"} 
[2026-06-18 08:54:35] local.INFO: GPS Element Parsed {"raw_longitude":759933184,"raw_latitude":106260384,"longitude_deg":75.9933184,"latitude_deg":10.6260384,"altitude":12,"angle":332,"satellites":42,"speed":59,"hex_longitude":"2d4ba900","hex_latitude":"065567a0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128758272001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317661162806181888,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5456533188225060864,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781752968000,"timestamp_ms":1781752968000,"timestamp_seconds":1781752968,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c0b340"} 
[2026-06-18 08:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 08:54:35] 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-06-18 08: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-06-18 08:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128758272001,"66":27691,"77":206,"28":31488,"24":59,"16":317661162806181888,"45":5456533188225060864},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,28,24,16,45]} 
[2026-06-18 08:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128758272001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:54:35] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-06-18 08:54:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317661162806181888,"km_value":317661162806181.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5456533188225060864,"description":"Unknown IO ID 45"} 
[2026-06-18 08:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128758272001,"power":27691,"unknown_77":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5456533188225060864}} 
[2026-06-18 08:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":107308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:54:35] local.INFO: GPS data processed {"connection_id":107308,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:54:35] local.INFO: Acknowledgment sent {"connection_id":107308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:54:46] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c1a958012d0e3cc007070070001e015020..."} 
[2026-06-18 08:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c1a958012d0e3cc007070070001e015020..."} 
[2026-06-18 08:54:46] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c1a958012d0e3cc007070070001e015020..."} 
[2026-06-18 08:54:46] local.INFO: Packet analysis {"connection_id":106337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c1"} 
[2026-06-18 08:54:46] local.INFO: Extracted packet for processing {"connection_id":106337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c1"} 
[2026-06-18 08:54:46] local.INFO: GPS Element Parsed {"raw_longitude":755907776,"raw_latitude":117899376,"longitude_deg":75.5907776,"latitude_deg":11.7899376,"altitude":30,"angle":336,"satellites":32,"speed":13,"hex_longitude":"2d0e3cc0","hex_latitude":"07070070","is_valid_coordinates":true} 
[2026-06-18 08:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128773888001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21073175433445376,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1026046689036279808,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781753031000,"timestamp_ms":1781753031000,"timestamp_seconds":1781753031,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c1a958"} 
[2026-06-18 08:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:54:46] 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-06-18 08:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 08:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106337,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128773888001,"66":14439,"219":206,"94":10240,"24":13,"16":21073175433445376,"45":1026046689036279808},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128773888001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:54:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:54:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21073175433445376,"km_value":21073175433445.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1026046689036279808,"description":"Unknown IO ID 45"} 
[2026-06-18 08:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128773888001,"power":14439,"unknown_219":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":1026046689036279808}} 
[2026-06-18 08:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":106337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343393,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:54:46] local.INFO: GPS data processed {"connection_id":106337,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:54:46] local.INFO: Acknowledgment sent {"connection_id":106337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:54:52] local.INFO: TCP Data received {"connection_id":105578,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:52] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:52] local.INFO: IMEI packet received {"connection_id":105578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":105578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:54:55] local.INFO: TCP Data received {"connection_id":105578,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:55] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:55] local.INFO: IMEI packet received {"connection_id":105578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":105578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:54:57] local.INFO: TCP Data received {"connection_id":105578,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:57] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:54:57] local.INFO: IMEI packet received {"connection_id":105578,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":105578,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:54:58] local.INFO: TCP Data received {"connection_id":105578,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c21e88012d79fa8005ec76280009004928..."} 
[2026-06-18 08:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c21e88012d79fa8005ec76280009004928..."} 
[2026-06-18 08:54:58] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c21e88012d79fa8005ec76280009004928..."} 
[2026-06-18 08:54:58] local.INFO: Packet analysis {"connection_id":105578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:54:58] local.INFO: Extracted packet for processing {"connection_id":105578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:54:58] local.INFO: GPS Element Parsed {"raw_longitude":762968704,"raw_latitude":99382824,"longitude_deg":76.2968704,"latitude_deg":9.9382824,"altitude":9,"angle":73,"satellites":40,"speed":6,"hex_longitude":"2d79fa80","hex_latitude":"05ec7628","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128783104001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93852491480825856,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789196910720559104,"note":"Value kept but may cause issues"} 
[2026-06-18 08:54: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-06-18 08:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781753061000,"timestamp_ms":1781753061000,"timestamp_seconds":1781753061,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c21e88"} 
[2026-06-18 08:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08: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-06-18 08: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 08:54: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-06-18 08: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-06-18 08:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:54: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-06-18 08:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128783104001,"66":13178,"157":206,"87":13824,"24":6,"16":93852491480825856,"45":8789196910720559104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 08:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128783104001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:54:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 08:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93852491480825856,"km_value":93852491480825.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789196910720559104,"description":"Unknown IO ID 45"} 
[2026-06-18 08:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128783104001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8789196910720559104}} 
[2026-06-18 08:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":105578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343394,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:54:58] local.INFO: GPS data processed {"connection_id":105578,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:54:58] local.INFO: Acknowledgment sent {"connection_id":105578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:55:06] local.INFO: TCP Data received {"connection_id":107308,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c1efa8012d4aeac006571370000f014d2b..."} 
[2026-06-18 08:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c1efa8012d4aeac006571370000f014d2b..."} 
[2026-06-18 08:55:06] local.INFO: Processing buffer {"connection_id":107308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c1efa8012d4aeac006571370000f014d2b..."} 
[2026-06-18 08:55:06] local.INFO: Packet analysis {"connection_id":107308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c1"} 
[2026-06-18 08:55:06] local.INFO: Extracted packet for processing {"connection_id":107308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c1"} 
[2026-06-18 08:55:06] local.INFO: GPS Element Parsed {"raw_longitude":759884480,"raw_latitude":106369904,"longitude_deg":75.988448,"latitude_deg":10.6369904,"altitude":15,"angle":333,"satellites":43,"speed":58,"hex_longitude":"2d4aeac0","hex_latitude":"06571370","is_valid_coordinates":true} 
[2026-06-18 08:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128778752001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317666986781835264,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5403404786398654464,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781753049000,"timestamp_ms":1781753049000,"timestamp_seconds":1781753049,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c1efa8"} 
[2026-06-18 08:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:55: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-06-18 08:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 08:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128778752001,"66":27647,"76":206,"28":31488,"24":58,"16":317666986781835264,"45":5403404786398654464},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128778752001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:55:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:55:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317666986781835264,"km_value":317666986781835.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5403404786398654464,"description":"Unknown IO ID 45"} 
[2026-06-18 08:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128778752001,"power":27647,"unknown_76":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5403404786398654464}} 
[2026-06-18 08:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":107308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:55:06] local.INFO: GPS data processed {"connection_id":107308,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:55:06] local.INFO: Acknowledgment sent {"connection_id":107308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:55:09] local.INFO: TCP Data received {"connection_id":105579,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:55:09] local.INFO: Processing buffer {"connection_id":105579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:55:09] local.INFO: IMEI packet received {"connection_id":105579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":105579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:55:15] local.INFO: TCP Data received {"connection_id":105579,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:55:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:55:15] local.INFO: Processing buffer {"connection_id":105579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:55:15] local.INFO: IMEI packet received {"connection_id":105579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:55:15] local.INFO: IMEI acknowledgment sent {"connection_id":105579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:55:16] local.INFO: TCP Data received {"connection_id":105579,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c29b88012d0ddc000706feb00028010622..."} 
[2026-06-18 08:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c29b88012d0ddc000706feb00028010622..."} 
[2026-06-18 08:55:16] local.INFO: Processing buffer {"connection_id":105579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c29b88012d0ddc000706feb00028010622..."} 
[2026-06-18 08:55:16] local.INFO: Packet analysis {"connection_id":105579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:16] local.INFO: Extracted packet for processing {"connection_id":105579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:16] local.INFO: GPS Element Parsed {"raw_longitude":755883008,"raw_latitude":117898928,"longitude_deg":75.5883008,"latitude_deg":11.7898928,"altitude":40,"angle":262,"satellites":34,"speed":22,"hex_longitude":"2d0ddc00","hex_latitude":"0706feb0","is_valid_coordinates":true} 
[2026-06-18 08:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128790016001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21074386614222848,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002543528481474560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781753093000,"timestamp_ms":1781753093000,"timestamp_seconds":1781753093,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c29b88"} 
[2026-06-18 08:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:55:16] 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-06-18 08:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146368,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84739609187518211,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":222,"raw_value":2449473536,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3636574456,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3179541384168210442,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503921179557888,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3257036801,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639363509137371,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":802881742,"corrected_to":0} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":235,"raw_value":3221302542,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":40,"raw_value":3221686019,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":2031875,"corrected_to":0} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3727491072,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.WARNING: Large IO value detected {"io_id":14,"raw_value":4233391376415850527,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:16] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,219,94,24,241,157,16,222,158,100,45,6,31,34,10,66,93,64,30,81,128,1,240,71,227,216,7,4,113,205,8,235,40,200,33,239,56,2,74,14,206],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":802881742,"validated":0},{"io_id":200,"original":2031875,"validated":0}]} 
[2026-06-18 08:55:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522290810969784320,"timestamp_seconds":2522290810969784.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 08:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128790016001,"66":14450,"219":206,"94":10240,"24":22,"16":21074386614222848,"45":1002543528481474560},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128790016001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:55:16] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:55:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21074386614222848,"km_value":21074386614222.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002543528481474560,"description":"Unknown IO ID 45"} 
[2026-06-18 08:55:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128790016001,"power":14450,"unknown_219":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":1002543528481474560}} 
[2026-06-18 08:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":105579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343396,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:55:16] local.INFO: GPS data processed {"connection_id":105579,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:55:16] local.INFO: Acknowledgment sent {"connection_id":105579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:55:26] local.INFO: TCP Data received {"connection_id":107309,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:55:26] local.INFO: Processing buffer {"connection_id":107309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:55:26] local.INFO: IMEI packet received {"connection_id":107309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":107309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:55:28] local.INFO: TCP Data received {"connection_id":107309,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:55:28] local.INFO: Processing buffer {"connection_id":107309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:55:28] local.INFO: IMEI packet received {"connection_id":107309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":107309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:55:29] local.INFO: TCP Data received {"connection_id":105578,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c23dc8012d7a040005ec7a200009003727..."} 
[2026-06-18 08:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c23dc8012d7a040005ec7a200009003727..."} 
[2026-06-18 08:55:29] local.INFO: Processing buffer {"connection_id":105578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c23dc8012d7a040005ec7a200009003727..."} 
[2026-06-18 08:55:29] local.INFO: Packet analysis {"connection_id":105578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:29] local.INFO: Extracted packet for processing {"connection_id":105578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:29] local.INFO: GPS Element Parsed {"raw_longitude":762971136,"raw_latitude":99383840,"longitude_deg":76.2971136,"latitude_deg":9.938384,"altitude":9,"angle":55,"satellites":39,"speed":14,"hex_longitude":"2d7a0400","hex_latitude":"05ec7a20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128783616001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93852616034877440,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789478385697302528,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55: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-06-18 08:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781753069000,"timestamp_ms":1781753069000,"timestamp_seconds":1781753069,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c23dc8"} 
[2026-06-18 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-06-18 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-06-18 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-06-18 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-06-18 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-06-18 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-06-18 08:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105578,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:55: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-06-18 08:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128783616001,"66":13037,"157":206,"87":13824,"24":14,"16":93852616034877440,"45":8789478385697302528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 08:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128783616001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:55:29] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 08:55:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93852616034877440,"km_value":93852616034877.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789478385697302528,"description":"Unknown IO ID 45"} 
[2026-06-18 08:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128783616001,"power":13037,"unknown_157":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8789478385697302528}} 
[2026-06-18 08:55:29] local.INFO: TCP Data received {"connection_id":107309,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c20718012d4adb00065732c00010014d2b..."} 
[2026-06-18 08:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c20718012d4adb00065732c00010014d2b..."} 
[2026-06-18 08:55:29] local.INFO: Processing buffer {"connection_id":107309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c20718012d4adb00065732c00010014d2b..."} 
[2026-06-18 08:55:29] local.INFO: Packet analysis {"connection_id":107309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:29] local.INFO: Extracted packet for processing {"connection_id":107309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:29] local.INFO: GPS Element Parsed {"raw_longitude":759880448,"raw_latitude":106377920,"longitude_deg":75.9880448,"latitude_deg":10.637792,"altitude":16,"angle":333,"satellites":43,"speed":59,"hex_longitude":"2d4adb00","hex_latitude":"065732c0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128780544001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317667420573532160,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5398338236820189184,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781753055000,"timestamp_ms":1781753055000,"timestamp_seconds":1781753055,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c20718"} 
[2026-06-18 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-06-18 08:55: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-06-18 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":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 08:55:29] 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-06-18 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-06-18 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-06-18 08:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":105578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343397,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:55:29] local.INFO: GPS data processed {"connection_id":105578,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:55:29] local.INFO: Acknowledgment sent {"connection_id":105578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128780544001,"66":27745,"76":206,"28":31488,"24":59,"16":317667420573532160,"45":5398338236820189184},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128780544001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:55:29] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:55:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317667420573532160,"km_value":317667420573532.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5398338236820189184,"description":"Unknown IO ID 45"} 
[2026-06-18 08:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128780544001,"power":27745,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5398338236820189184}} 
[2026-06-18 08:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":107309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:55:29] local.INFO: GPS data processed {"connection_id":107309,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:55:29] local.INFO: Acknowledgment sent {"connection_id":107309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:55:47] local.INFO: TCP Data received {"connection_id":105579,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c2af10012d0dd2400706fca8002700f622..."} 
[2026-06-18 08:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c2af10012d0dd2400706fca8002700f622..."} 
[2026-06-18 08:55:47] local.INFO: Processing buffer {"connection_id":105579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c2af10012d0dd2400706fca8002700f622..."} 
[2026-06-18 08:55:47] local.INFO: Packet analysis {"connection_id":105579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:47] local.INFO: Extracted packet for processing {"connection_id":105579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:47] local.INFO: GPS Element Parsed {"raw_longitude":755880512,"raw_latitude":117898408,"longitude_deg":75.5880512,"latitude_deg":11.7898408,"altitude":39,"angle":246,"satellites":34,"speed":12,"hex_longitude":"2d0dd240","hex_latitude":"0706fca8","is_valid_coordinates":true} 
[2026-06-18 08:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128791808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21074506873307136,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":998673247551533056,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781753098000,"timestamp_ms":1781753098000,"timestamp_seconds":1781753098,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c2af10"} 
[2026-06-18 08:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:55:47] 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-06-18 08:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 08:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128791808001,"66":14428,"219":206,"94":10240,"24":12,"16":21074506873307136,"45":998673247551533056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128791808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:55:47] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:55:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21074506873307136,"km_value":21074506873307.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":998673247551533056,"description":"Unknown IO ID 45"} 
[2026-06-18 08:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128791808001,"power":14428,"unknown_219":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":998673247551533056}} 
[2026-06-18 08:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":105579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343399,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:55:47] local.INFO: GPS data processed {"connection_id":105579,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:55:47] local.INFO: Acknowledgment sent {"connection_id":105579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:55:57] local.INFO: TCP Data received {"connection_id":106338,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:55:57] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:55:57] local.INFO: IMEI packet received {"connection_id":106338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":106338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:55:58] local.INFO: TCP Data received {"connection_id":106338,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:55:58] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:55:58] local.INFO: IMEI packet received {"connection_id":106338,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":106338,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:55:58] local.INFO: TCP Data received {"connection_id":106338,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c24980012d7a068005ec7be80009004225..."} 
[2026-06-18 08:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c24980012d7a068005ec7be80009004225..."} 
[2026-06-18 08:55:58] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c24980012d7a068005ec7be80009004225..."} 
[2026-06-18 08:55:58] local.INFO: Packet analysis {"connection_id":106338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:58] local.INFO: Extracted packet for processing {"connection_id":106338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:55:58] local.INFO: GPS Element Parsed {"raw_longitude":762971776,"raw_latitude":99384296,"longitude_deg":76.2971776,"latitude_deg":9.9384296,"altitude":9,"angle":66,"satellites":37,"speed":9,"hex_longitude":"2d7a0680","hex_latitude":"05ec7be8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128785664001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93852654689583104,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792152397976313856,"note":"Value kept but may cause issues"} 
[2026-06-18 08:55: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-06-18 08:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781753072000,"timestamp_ms":1781753072000,"timestamp_seconds":1781753072,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c24980"} 
[2026-06-18 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-06-18 08:55: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-06-18 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 08: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-06-18 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-06-18 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-06-18 08:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:55: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-06-18 08:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128785664001,"66":12961,"157":206,"87":13824,"24":9,"16":93852654689583104,"45":8792152397976313856},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 08:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128785664001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:55:58] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 08:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93852654689583104,"km_value":93852654689583.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792152397976313856,"description":"Unknown IO ID 45"} 
[2026-06-18 08:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128785664001,"power":12961,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8792152397976313856}} 
[2026-06-18 08:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":106338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:55:58] local.INFO: GPS data processed {"connection_id":106338,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:55:58] local.INFO: Acknowledgment sent {"connection_id":106338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:55:59] local.INFO: TCP Data received {"connection_id":105777,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:55:59] local.INFO: Processing buffer {"connection_id":105777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:55:59] local.INFO: IMEI packet received {"connection_id":105777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":105777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:56:01] local.INFO: TCP Data received {"connection_id":107309,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c21e88012d4acb80065752300010014d2b..."} 
[2026-06-18 08:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c21e88012d4acb80065752300010014d2b..."} 
[2026-06-18 08:56:01] local.INFO: Processing buffer {"connection_id":107309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c21e88012d4acb80065752300010014d2b..."} 
[2026-06-18 08:56:01] local.INFO: Packet analysis {"connection_id":107309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:56:01] local.INFO: Extracted packet for processing {"connection_id":107309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:56:01] local.INFO: GPS Element Parsed {"raw_longitude":759876480,"raw_latitude":106385968,"longitude_deg":75.987648,"latitude_deg":10.6385968,"altitude":16,"angle":333,"satellites":43,"speed":58,"hex_longitude":"2d4acb80","hex_latitude":"06575230","is_valid_coordinates":true} 
[2026-06-18 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-06-18 08:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128782080001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317667854365229056,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5393905005939048448,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781753061000,"timestamp_ms":1781753061000,"timestamp_seconds":1781753061,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c21e88"} 
[2026-06-18 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-06-18 08:56:01] 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-06-18 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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 08:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128782080001,"66":27658,"76":206,"28":31488,"24":58,"16":317667854365229056,"45":5393905005939048448},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128782080001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:56:01] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:56:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317667854365229056,"km_value":317667854365229.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5393905005939048448,"description":"Unknown IO ID 45"} 
[2026-06-18 08:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128782080001,"power":27658,"unknown_76":206,"unknown_28":31488,"ignition":58,"odometer":null,"unknown_45":5393905005939048448}} 
[2026-06-18 08:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":107309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:56:01] local.INFO: GPS data processed {"connection_id":107309,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:56:01] local.INFO: Acknowledgment sent {"connection_id":107309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:56:02] local.INFO: TCP Data received {"connection_id":106338,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c29b88012d7a07c005ec7cb00009004524..."} 
[2026-06-18 08:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c29b88012d7a07c005ec7cb00009004524..."} 
[2026-06-18 08:56:02] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c29b88012d7a07c005ec7cb00009004524..."} 
[2026-06-18 08:56:02] local.INFO: Packet analysis {"connection_id":106338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:56:02] local.INFO: Extracted packet for processing {"connection_id":106338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:56:02] local.INFO: GPS Element Parsed {"raw_longitude":762972096,"raw_latitude":99384496,"longitude_deg":76.2972096,"latitude_deg":9.9384496,"altitude":9,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7a07c0","hex_latitude":"05ec7cb0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128786432001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93852676164419584,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792856085418207232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56: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-06-18 08:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781753093000,"timestamp_ms":1781753093000,"timestamp_seconds":1781753093,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c29b88"} 
[2026-06-18 08:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:56: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-06-18 08:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 08:56:02] 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-06-18 08: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-06-18 08:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:56:02] 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-06-18 08:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128786432001,"66":12885,"157":206,"87":13824,"24":0,"16":93852676164419584,"45":8792856085418207232},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 08:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128786432001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:56:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 08:56:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93852676164419584,"km_value":93852676164419.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792856085418207232,"description":"Unknown IO ID 45"} 
[2026-06-18 08:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128786432001,"power":12885,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792856085418207232}} 
[2026-06-18 08:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":106338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:56:02] local.INFO: GPS data processed {"connection_id":106338,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:56:02] local.INFO: Acknowledgment sent {"connection_id":106338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:56:08] local.INFO: TCP Data received {"connection_id":105580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:08] local.INFO: Processing buffer {"connection_id":105580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:08] local.INFO: IMEI packet received {"connection_id":105580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":105580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:56:09] local.INFO: TCP Data received {"connection_id":105580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:09] local.INFO: Processing buffer {"connection_id":105580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:09] local.INFO: IMEI packet received {"connection_id":105580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":105580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:56:14] local.INFO: TCP Data received {"connection_id":105580,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105580,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:14] local.INFO: Processing buffer {"connection_id":105580,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:56:14] local.INFO: IMEI packet received {"connection_id":105580,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":105580,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:56:15] local.INFO: TCP Data received {"connection_id":105580,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c35af0012d0d92400706fb70002e012621..."} 
[2026-06-18 08:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c35af0012d0d92400706fb70002e012621..."} 
[2026-06-18 08:56:15] local.INFO: Processing buffer {"connection_id":105580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c35af0012d0d92400706fb70002e012621..."} 
[2026-06-18 08:56:15] local.INFO: Packet analysis {"connection_id":105580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:56:15] local.INFO: Extracted packet for processing {"connection_id":105580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:56:15] local.INFO: GPS Element Parsed {"raw_longitude":755864128,"raw_latitude":117898096,"longitude_deg":75.5864128,"latitude_deg":11.7898096,"altitude":46,"angle":294,"satellites":33,"speed":26,"hex_longitude":"2d0d9240","hex_latitude":"0706fb70","is_valid_coordinates":true} 
[2026-06-18 08:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128802304001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21075387341602816,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":982840280110727168,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753142000,"timestamp_ms":1781753142000,"timestamp_seconds":1781753142,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c35af0"} 
[2026-06-18 08:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:56: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-06-18 08:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 08:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128802304001,"66":14461,"219":206,"94":10240,"24":26,"16":21075387341602816,"45":982840280110727168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128802304001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:56:15] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:56:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21075387341602816,"km_value":21075387341602.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":982840280110727168,"description":"Unknown IO ID 45"} 
[2026-06-18 08:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128802304001,"power":14461,"unknown_219":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":982840280110727168}} 
[2026-06-18 08:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":105580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343403,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:56:15] local.INFO: GPS data processed {"connection_id":105580,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:56:15] local.INFO: Acknowledgment sent {"connection_id":105580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:56:25] local.INFO: TCP Data received {"connection_id":107310,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:25] local.INFO: Processing buffer {"connection_id":107310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:25] local.INFO: IMEI packet received {"connection_id":107310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":107310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:56:27] local.INFO: TCP Data received {"connection_id":107310,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:27] local.INFO: Processing buffer {"connection_id":107310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:27] local.INFO: IMEI packet received {"connection_id":107310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":107310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:56:31] local.INFO: TCP Data received {"connection_id":107310,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:31] local.INFO: Processing buffer {"connection_id":107310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:56:31] local.INFO: IMEI packet received {"connection_id":107310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:56:31] local.INFO: IMEI acknowledgment sent {"connection_id":107310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:56:32] local.INFO: TCP Data received {"connection_id":107310,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c32ff8012d4a1b400658bd68000c014c2a..."} 
[2026-06-18 08:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c32ff8012d4a1b400658bd68000c014c2a..."} 
[2026-06-18 08:56:32] local.INFO: Processing buffer {"connection_id":107310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c32ff8012d4a1b400658bd68000c014c2a..."} 
[2026-06-18 08:56:32] local.INFO: Packet analysis {"connection_id":107310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:56:32] local.INFO: Extracted packet for processing {"connection_id":107310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:56:32] local.INFO: GPS Element Parsed {"raw_longitude":759831360,"raw_latitude":106478952,"longitude_deg":75.983136,"latitude_deg":10.6478952,"altitude":12,"angle":332,"satellites":42,"speed":59,"hex_longitude":"2d4a1b40","hex_latitude":"0658bd68","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128800000001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317672849412194304,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5344576516294338560,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781753131000,"timestamp_ms":1781753131000,"timestamp_seconds":1781753131,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c32ff8"} 
[2026-06-18 08:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 08:56: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-06-18 08: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-06-18 08:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128800000001,"66":27745,"76":206,"28":31488,"24":59,"16":317672849412194304,"45":5344576516294338560},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128800000001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:56:32] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317672849412194304,"km_value":317672849412194.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5344576516294338560,"description":"Unknown IO ID 45"} 
[2026-06-18 08:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128800000001,"power":27745,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5344576516294338560}} 
[2026-06-18 08:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":107310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:56:32] local.INFO: GPS data processed {"connection_id":107310,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:56:32] local.INFO: Acknowledgment sent {"connection_id":107310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:56:33] local.INFO: TCP Data received {"connection_id":106338,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c2ed90012d7a07c005ec7cb00009004524..."} 
[2026-06-18 08:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c2ed90012d7a07c005ec7cb00009004524..."} 
[2026-06-18 08:56:33] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c2ed90012d7a07c005ec7cb00009004524..."} 
[2026-06-18 08:56:33] local.INFO: Packet analysis {"connection_id":106338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:56:33] local.INFO: Extracted packet for processing {"connection_id":106338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c2"} 
[2026-06-18 08:56:33] local.INFO: GPS Element Parsed {"raw_longitude":762972096,"raw_latitude":99384496,"longitude_deg":76.2972096,"latitude_deg":9.9384496,"altitude":9,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d7a07c0","hex_latitude":"05ec7cb0","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128791808001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93852676164419584,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8793207929139146752,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781753114000,"timestamp_ms":1781753114000,"timestamp_seconds":1781753114,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c2ed90"} 
[2026-06-18 08:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:56: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-06-18 08: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 08:56: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-06-18 08: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-06-18 08:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106338,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 08:56:33] 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-06-18 08:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 08:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 08:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128791808001,"66":12917,"157":206,"87":13824,"24":0,"16":93852676164419584,"45":8793207929139146752},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 08:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 08:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 08:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128791808001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:56:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 08:56:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 08:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93852676164419584,"km_value":93852676164419.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8793207929139146752,"description":"Unknown IO ID 45"} 
[2026-06-18 08:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128791808001,"power":12917,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8793207929139146752}} 
[2026-06-18 08:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":106338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:56:33] local.INFO: GPS data processed {"connection_id":106338,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:56:33] local.INFO: Acknowledgment sent {"connection_id":106338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:56:34] local.INFO: TCP Data received {"connection_id":107310,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c34768012d4a0b400658dc78000c014c2a..."} 
[2026-06-18 08:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c34768012d4a0b400658dc78000c014c2a..."} 
[2026-06-18 08:56:34] local.INFO: Processing buffer {"connection_id":107310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c34768012d4a0b400658dc78000c014c2a..."} 
[2026-06-18 08:56:34] local.INFO: Packet analysis {"connection_id":107310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:56:34] local.INFO: Extracted packet for processing {"connection_id":107310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:56:34] local.INFO: GPS Element Parsed {"raw_longitude":759827264,"raw_latitude":106486904,"longitude_deg":75.9827264,"latitude_deg":10.6486904,"altitude":12,"angle":332,"satellites":42,"speed":59,"hex_longitude":"2d4a0b40","hex_latitude":"0658dc78","is_valid_coordinates":true} 
[2026-06-18 08:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128801536001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317673283203891200,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5339932179180644352,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781753137000,"timestamp_ms":1781753137000,"timestamp_seconds":1781753137,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c34768"} 
[2026-06-18 08:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:56: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-06-18 08:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128801536001,"66":27713,"76":206,"28":31488,"24":59,"16":317673283203891200,"45":5339932179180644352},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128801536001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:56:34] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:56:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317673283203891200,"km_value":317673283203891.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5339932179180644352,"description":"Unknown IO ID 45"} 
[2026-06-18 08:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128801536001,"power":27713,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5339932179180644352}} 
[2026-06-18 08:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":107310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:56:34] local.INFO: GPS data processed {"connection_id":107310,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:56:34] local.INFO: Acknowledgment sent {"connection_id":107310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:56:39] local.INFO: TCP Data received {"connection_id":105778,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:56:39] local.INFO: Processing buffer {"connection_id":105778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 08:56:39] local.INFO: IMEI packet received {"connection_id":105778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 08:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":105778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:56:46] local.INFO: TCP Data received {"connection_id":105580,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c391a0012d0d734007070bc80028013421..."} 
[2026-06-18 08:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c391a0012d0d734007070bc80028013421..."} 
[2026-06-18 08:56:46] local.INFO: Processing buffer {"connection_id":105580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c391a0012d0d734007070bc80028013421..."} 
[2026-06-18 08:56:46] local.INFO: Packet analysis {"connection_id":105580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:56:46] local.INFO: Extracted packet for processing {"connection_id":105580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:56:46] local.INFO: GPS Element Parsed {"raw_longitude":755856192,"raw_latitude":117902280,"longitude_deg":75.5856192,"latitude_deg":11.790228,"altitude":40,"angle":308,"satellites":33,"speed":9,"hex_longitude":"2d0d7340","hex_latitude":"07070bc8","is_valid_coordinates":true} 
[2026-06-18 08:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:56:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128804352001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21075816838332416,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":977914468018909184,"note":"Value kept but may cause issues"} 
[2026-06-18 08:56:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:56:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781753156000,"timestamp_ms":1781753156000,"timestamp_seconds":1781753156,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c391a0"} 
[2026-06-18 08:56:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:56: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-06-18 08:56:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 08:56:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:56:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:56:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:56:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:56:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:56:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:56:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105580,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:56:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:56:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:56:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:56:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128804352001,"66":14374,"219":206,"94":10240,"24":9,"16":21075816838332416,"45":977914468018909184},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 08:56:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:56:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:56:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128804352001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:56:46] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 08:56:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:56:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21075816838332416,"km_value":21075816838332.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:56:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":977914468018909184,"description":"Unknown IO ID 45"} 
[2026-06-18 08:56:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128804352001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":977914468018909184}} 
[2026-06-18 08:56:46] local.INFO: DEBUG: GPS processor result {"connection_id":105580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343407,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:56:46] local.INFO: GPS data processed {"connection_id":105580,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:56:46] local.INFO: Acknowledgment sent {"connection_id":105580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:56:48] local.INFO: TCP Data received {"connection_id":107311,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:48] local.INFO: Processing buffer {"connection_id":107311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:48] local.INFO: IMEI packet received {"connection_id":107311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 08:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":107311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:56:49] local.INFO: TCP Data received {"connection_id":107311,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:49] local.INFO: Processing buffer {"connection_id":107311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:49] local.INFO: IMEI packet received {"connection_id":107311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":107311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:56:50] local.INFO: TCP Data received {"connection_id":107311,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:50] local.INFO: Processing buffer {"connection_id":107311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:50] local.INFO: IMEI packet received {"connection_id":107311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":107311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:56:51] local.INFO: TCP Data received {"connection_id":107311,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107311,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:51] local.INFO: Processing buffer {"connection_id":107311,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 08:56:51] local.INFO: IMEI packet received {"connection_id":107311,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 08:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":107311,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:57:06] local.INFO: TCP Data received {"connection_id":107310,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c35ed8012d49fb000658fb68000d014c2a..."} 
[2026-06-18 08:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c35ed8012d49fb000658fb68000d014c2a..."} 
[2026-06-18 08:57:06] local.INFO: Processing buffer {"connection_id":107310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c35ed8012d49fb000658fb68000d014c2a..."} 
[2026-06-18 08:57:06] local.INFO: Packet analysis {"connection_id":107310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:57:06] local.INFO: Extracted packet for processing {"connection_id":107310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:57:06] local.INFO: GPS Element Parsed {"raw_longitude":759823104,"raw_latitude":106494824,"longitude_deg":75.9823104,"latitude_deg":10.6494824,"altitude":13,"angle":332,"satellites":42,"speed":59,"hex_longitude":"2d49fb00","hex_latitude":"0658fb68","is_valid_coordinates":true} 
[2026-06-18 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128803072001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317673716995588096,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5335428579555309568,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781753143000,"timestamp_ms":1781753143000,"timestamp_seconds":1781753143,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c35ed8"} 
[2026-06-18 08:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:57: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-06-18 08:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 08:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128803072001,"66":27745,"76":206,"28":31488,"24":59,"16":317673716995588096,"45":5335428579555309568},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128803072001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:57:06] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317673716995588096,"km_value":317673716995588.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5335428579555309568,"description":"Unknown IO ID 45"} 
[2026-06-18 08:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128803072001,"power":27745,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5335428579555309568}} 
[2026-06-18 08:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":107310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:57:06] local.INFO: GPS data processed {"connection_id":107310,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:57:06] local.INFO: Acknowledgment sent {"connection_id":107310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:57:09] local.INFO: TCP Data received {"connection_id":105779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:09] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:09] local.INFO: IMEI packet received {"connection_id":105779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":105779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:57:10] local.INFO: TCP Data received {"connection_id":105779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:10] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:10] local.INFO: IMEI packet received {"connection_id":105779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":105779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:57:13] local.INFO: TCP Data received {"connection_id":105779,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:13] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:57:13] local.INFO: IMEI packet received {"connection_id":105779,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":105779,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:57:14] local.INFO: TCP Data received {"connection_id":105779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c47818012d0d2ac007072fe80029000421..."} 
[2026-06-18 08:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c47818012d0d2ac007072fe80029000421..."} 
[2026-06-18 08:57:14] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c47818012d0d2ac007072fe80029000421..."} 
[2026-06-18 08:57:14] local.INFO: Packet analysis {"connection_id":105779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c4"} 
[2026-06-18 08:57:14] local.INFO: Extracted packet for processing {"connection_id":105779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c4"} 
[2026-06-18 08:57:14] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117911528,"longitude_deg":75.5837632,"latitude_deg":11.7911528,"altitude":41,"angle":4,"satellites":33,"speed":24,"hex_longitude":"2d0d2ac0","hex_latitude":"07072fe8","is_valid_coordinates":true} 
[2026-06-18 08:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21076997954338816,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807931752448,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781753215000,"timestamp_ms":1781753215000,"timestamp_seconds":1781753215,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c47818"} 
[2026-06-18 08:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 08:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128821248001,"66":14439,"221":206,"94":10240,"24":24,"16":21076997954338816,"45":948781807931752448},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 08:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:57:14] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 08:57:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21076997954338816,"km_value":21076997954338.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807931752448,"description":"Unknown IO ID 45"} 
[2026-06-18 08:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128821248001,"power":14439,"unknown_221":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":948781807931752448}} 
[2026-06-18 08:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":105779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343409,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:57:14] local.INFO: GPS data processed {"connection_id":105779,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:57:14] local.INFO: Acknowledgment sent {"connection_id":105779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:57:36] local.INFO: TCP Data received {"connection_id":105581,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:57:36] local.INFO: Processing buffer {"connection_id":105581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:57:36] local.INFO: IMEI packet received {"connection_id":105581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":105581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:57:37] local.INFO: TCP Data received {"connection_id":105581,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:57:37] local.INFO: Processing buffer {"connection_id":105581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:57:37] local.INFO: IMEI packet received {"connection_id":105581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":105581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:57:39] local.INFO: TCP Data received {"connection_id":105581,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c37648012d49ea8006591a38000d014c2a..."} 
[2026-06-18 08:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c37648012d49ea8006591a38000d014c2a..."} 
[2026-06-18 08:57:39] local.INFO: Processing buffer {"connection_id":105581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c37648012d49ea8006591a38000d014c2a..."} 
[2026-06-18 08:57:39] local.INFO: Packet analysis {"connection_id":105581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:57:39] local.INFO: Extracted packet for processing {"connection_id":105581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:57:39] local.INFO: GPS Element Parsed {"raw_longitude":759818880,"raw_latitude":106502712,"longitude_deg":75.981888,"latitude_deg":10.6502712,"altitude":13,"angle":332,"satellites":42,"speed":59,"hex_longitude":"2d49ea80","hex_latitude":"06591a38","is_valid_coordinates":true} 
[2026-06-18 08:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128804608001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317674146492317696,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5330854611185788928,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781753149000,"timestamp_ms":1781753149000,"timestamp_seconds":1781753149,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c37648"} 
[2026-06-18 08:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:57: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-06-18 08:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128804608001,"66":27767,"76":206,"28":31488,"24":59,"16":317674146492317696,"45":5330854611185788928},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128804608001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:57:39] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317674146492317696,"km_value":317674146492317.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5330854611185788928,"description":"Unknown IO ID 45"} 
[2026-06-18 08:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128804608001,"power":27767,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5330854611185788928}} 
[2026-06-18 08:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":105581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:57:39] local.INFO: GPS data processed {"connection_id":105581,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:57:39] local.INFO: Acknowledgment sent {"connection_id":105581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:57:41] local.INFO: TCP Data received {"connection_id":105581,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c38db8012d49da0006593928000d014c2a..."} 
[2026-06-18 08:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c38db8012d49da0006593928000d014c2a..."} 
[2026-06-18 08:57:41] local.INFO: Processing buffer {"connection_id":105581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c38db8012d49da0006593928000d014c2a..."} 
[2026-06-18 08:57:41] local.INFO: Packet analysis {"connection_id":105581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:57:41] local.INFO: Extracted packet for processing {"connection_id":105581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c3"} 
[2026-06-18 08:57:41] local.INFO: GPS Element Parsed {"raw_longitude":759814656,"raw_latitude":106510632,"longitude_deg":75.9814656,"latitude_deg":10.6510632,"altitude":13,"angle":332,"satellites":42,"speed":59,"hex_longitude":"2d49da00","hex_latitude":"06593928","is_valid_coordinates":true} 
[2026-06-18 08:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128806144001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317674580284014592,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5326210274072082432,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781753155000,"timestamp_ms":1781753155000,"timestamp_seconds":1781753155,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c38db8"} 
[2026-06-18 08:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128806144001,"66":27691,"76":206,"28":31488,"24":59,"16":317674580284014592,"45":5326210274072082432},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128806144001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:57:41] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:57:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317674580284014592,"km_value":317674580284014.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5326210274072082432,"description":"Unknown IO ID 45"} 
[2026-06-18 08:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128806144001,"power":27691,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5326210274072082432}} 
[2026-06-18 08:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":105581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:57:41] local.INFO: GPS data processed {"connection_id":105581,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:57:41] local.INFO: Acknowledgment sent {"connection_id":105581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:57:45] local.INFO: TCP Data received {"connection_id":105779,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c51c28012d0cde4007074e300023010b21..."} 
[2026-06-18 08:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c51c28012d0cde4007074e300023010b21..."} 
[2026-06-18 08:57:45] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c51c28012d0cde4007074e300023010b21..."} 
[2026-06-18 08:57:45] local.INFO: Packet analysis {"connection_id":105779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 08:57:45] local.INFO: Extracted packet for processing {"connection_id":105779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 08:57:45] local.INFO: GPS Element Parsed {"raw_longitude":755818048,"raw_latitude":117919280,"longitude_deg":75.5818048,"latitude_deg":11.791928,"altitude":35,"angle":267,"satellites":33,"speed":13,"hex_longitude":"2d0cde40","hex_latitude":"07074e30","is_valid_coordinates":true} 
[2026-06-18 08:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128833280001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21078234904920064,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927952659658237952,"note":"Value kept but may cause issues"} 
[2026-06-18 08:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781753257000,"timestamp_ms":1781753257000,"timestamp_seconds":1781753257,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c51c28"} 
[2026-06-18 08:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:57: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-06-18 08:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 08:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105779,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128833280001,"66":13961,"221":206,"94":10240,"24":13,"16":21078234904920064,"45":927952659658237952},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 08:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128833280001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:57:45] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 08:57:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21078234904920064,"km_value":21078234904920.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":927952659658237952,"description":"Unknown IO ID 45"} 
[2026-06-18 08:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128833280001,"power":13961,"unknown_221":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":927952659658237952}} 
[2026-06-18 08:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":105779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343412,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:57:45] local.INFO: GPS data processed {"connection_id":105779,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:57:45] local.INFO: Acknowledgment sent {"connection_id":105779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:58:09] local.INFO: TCP Data received {"connection_id":106341,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:58:09] local.INFO: Processing buffer {"connection_id":106341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:58:09] local.INFO: IMEI packet received {"connection_id":106341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":106341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:58:14] local.INFO: TCP Data received {"connection_id":106341,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106341,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:58:14] local.INFO: Processing buffer {"connection_id":106341,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:58:14] local.INFO: IMEI packet received {"connection_id":106341,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":106341,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:58:15] local.INFO: TCP Data received {"connection_id":106341,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c52010012d0cdcc007074e700023011721..."} 
[2026-06-18 08:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c52010012d0cdcc007074e700023011721..."} 
[2026-06-18 08:58:15] local.INFO: Processing buffer {"connection_id":106341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c52010012d0cdcc007074e700023011721..."} 
[2026-06-18 08:58:15] local.INFO: Packet analysis {"connection_id":106341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 08:58:15] local.INFO: Extracted packet for processing {"connection_id":106341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 08:58:15] local.INFO: GPS Element Parsed {"raw_longitude":755817664,"raw_latitude":117919344,"longitude_deg":75.5817664,"latitude_deg":11.7919344,"altitude":35,"angle":279,"satellites":33,"speed":15,"hex_longitude":"2d0cdcc0","hex_latitude":"07074e70","is_valid_coordinates":true} 
[2026-06-18 08:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128833792001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21078256379756544,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":927248972216414208,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753258000,"timestamp_ms":1781753258000,"timestamp_seconds":1781753258,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c52010"} 
[2026-06-18 08:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:58: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-06-18 08:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-18 08:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128833792001,"66":13961,"221":206,"94":10240,"24":15,"16":21078256379756544,"45":927248972216414208},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 08:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128833792001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:58:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 08:58:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21078256379756544,"km_value":21078256379756.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":927248972216414208,"description":"Unknown IO ID 45"} 
[2026-06-18 08:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128833792001,"power":13961,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":927248972216414208}} 
[2026-06-18 08:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":106341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343413,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:58:15] local.INFO: GPS data processed {"connection_id":106341,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:58:15] local.INFO: Acknowledgment sent {"connection_id":106341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:58:22] local.INFO: TCP Data received {"connection_id":106342,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:22] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:22] local.INFO: IMEI packet received {"connection_id":106342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":106342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:58:26] local.INFO: TCP Data received {"connection_id":106342,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:26] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:26] local.INFO: IMEI packet received {"connection_id":106342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":106342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:58:28] local.INFO: TCP Data received {"connection_id":106342,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:28] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:58:28] local.INFO: IMEI packet received {"connection_id":106342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":106342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:58:29] local.INFO: TCP Data received {"connection_id":106342,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c4d5d8012d493040065af2f8000a015629..."} 
[2026-06-18 08:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c4d5d8012d493040065af2f8000a015629..."} 
[2026-06-18 08:58:29] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c4d5d8012d493040065af2f8000a015629..."} 
[2026-06-18 08:58:29] local.INFO: Packet analysis {"connection_id":106342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c4"} 
[2026-06-18 08:58:29] local.INFO: Extracted packet for processing {"connection_id":106342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c4"} 
[2026-06-18 08:58:29] local.INFO: GPS Element Parsed {"raw_longitude":759771200,"raw_latitude":106623736,"longitude_deg":75.97712,"latitude_deg":10.6623736,"altitude":10,"angle":342,"satellites":41,"speed":56,"hex_longitude":"2d493040","hex_latitude":"065af2f8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128827392001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317680541698621440,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5276600309455427584,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781753239000,"timestamp_ms":1781753239000,"timestamp_seconds":1781753239,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c4d5d8"} 
[2026-06-18 08:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:58: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-06-18 08: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08: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-06-18 08:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:58:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128827392001,"66":27745,"76":206,"28":31488,"24":56,"16":317680541698621440,"45":5276600309455427584},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128827392001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:58:29] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:58:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317680541698621440,"km_value":317680541698621.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5276600309455427584,"description":"Unknown IO ID 45"} 
[2026-06-18 08:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128827392001,"power":27745,"unknown_76":206,"unknown_28":31488,"ignition":56,"odometer":null,"unknown_45":5276600309455427584}} 
[2026-06-18 08:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":106342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:58:29] local.INFO: GPS data processed {"connection_id":106342,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:58:29] local.INFO: Acknowledgment sent {"connection_id":106342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:58:31] local.INFO: TCP Data received {"connection_id":106342,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c4f130012d4921c0065b1830000b014f2b..."} 
[2026-06-18 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c4f130012d4921c0065b1830000b014f2b..."} 
[2026-06-18 08:58:31] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c4f130012d4921c0065b1830000b014f2b..."} 
[2026-06-18 08:58:31] local.INFO: Packet analysis {"connection_id":106342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c4"} 
[2026-06-18 08:58:31] local.INFO: Extracted packet for processing {"connection_id":106342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c4"} 
[2026-06-18 08:58:31] local.INFO: GPS Element Parsed {"raw_longitude":759767488,"raw_latitude":106633264,"longitude_deg":75.9767488,"latitude_deg":10.6633264,"altitude":11,"angle":335,"satellites":43,"speed":59,"hex_longitude":"2d4921c0","hex_latitude":"065b1830","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128829184001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317681035619860480,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5273785559690704896,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781753246000,"timestamp_ms":1781753246000,"timestamp_seconds":1781753246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c4f130"} 
[2026-06-18 08:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08: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":97,"data_length":795,"current_offset":136} 
[2026-06-18 08:58: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-06-18 08: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-06-18 08:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128829184001,"66":27767,"76":206,"28":31488,"24":59,"16":317681035619860480,"45":5273785559690704896},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128829184001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:58:31] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317681035619860480,"km_value":317681035619860.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5273785559690704896,"description":"Unknown IO ID 45"} 
[2026-06-18 08:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128829184001,"power":27767,"unknown_76":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5273785559690704896}} 
[2026-06-18 08:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":106342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:58:31] local.INFO: GPS data processed {"connection_id":106342,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:58:31] local.INFO: Acknowledgment sent {"connection_id":106342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:58:46] local.INFO: TCP Data received {"connection_id":106341,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c52bc8012d0cd740070750880023012621..."} 
[2026-06-18 08:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c52bc8012d0cd740070750880023012621..."} 
[2026-06-18 08:58:46] local.INFO: Processing buffer {"connection_id":106341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c52bc8012d0cd740070750880023012621..."} 
[2026-06-18 08:58:46] local.INFO: Packet analysis {"connection_id":106341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 08:58:46] local.INFO: Extracted packet for processing {"connection_id":106341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 08:58:46] local.INFO: GPS Element Parsed {"raw_longitude":755816256,"raw_latitude":117919880,"longitude_deg":75.5816256,"latitude_deg":11.791988,"altitude":35,"angle":294,"satellites":33,"speed":21,"hex_longitude":"2d0cd740","hex_latitude":"07075088","is_valid_coordinates":true} 
[2026-06-18 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128834048001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21078325099233280,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":926826759751364608,"note":"Value kept but may cause issues"} 
[2026-06-18 08:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781753261000,"timestamp_ms":1781753261000,"timestamp_seconds":1781753261,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c52bc8"} 
[2026-06-18 08:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:58: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-06-18 08:58:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-18 08:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:58:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106341,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128834048001,"66":14428,"221":206,"94":10240,"24":21,"16":21078325099233280,"45":926826759751364608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 08:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128834048001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:58:46] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 08:58:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21078325099233280,"km_value":21078325099233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":926826759751364608,"description":"Unknown IO ID 45"} 
[2026-06-18 08:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128834048001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":926826759751364608}} 
[2026-06-18 08:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":106341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343416,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:58:47] local.INFO: GPS data processed {"connection_id":106341,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:58:47] local.INFO: Acknowledgment sent {"connection_id":106341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:59:02] local.INFO: TCP Data received {"connection_id":106342,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c508a0012d491140065b3798000b014a2b..."} 
[2026-06-18 08:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c508a0012d491140065b3798000b014a2b..."} 
[2026-06-18 08:59:02] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c508a0012d491140065b3798000b014a2b..."} 
[2026-06-18 08:59:02] local.INFO: Packet analysis {"connection_id":106342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 08:59:02] local.INFO: Extracted packet for processing {"connection_id":106342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 08:59:02] local.INFO: GPS Element Parsed {"raw_longitude":759763264,"raw_latitude":106641304,"longitude_deg":75.9763264,"latitude_deg":10.6641304,"altitude":11,"angle":330,"satellites":43,"speed":60,"hex_longitude":"2d491140","hex_latitude":"065b3798","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128830976001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317681473706524672,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5269704172530839552,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781753252000,"timestamp_ms":1781753252000,"timestamp_seconds":1781753252,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c508a0"} 
[2026-06-18 08:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:59: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-06-18 08:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 08:59: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-06-18 08: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-06-18 08:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128830976001,"66":27789,"76":206,"28":31488,"24":60,"16":317681473706524672,"45":5269704172530839552},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,28,24,16,45]} 
[2026-06-18 08:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128830976001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:59:02] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-06-18 08:59:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317681473706524672,"km_value":317681473706524.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5269704172530839552,"description":"Unknown IO ID 45"} 
[2026-06-18 08:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128830976001,"power":27789,"unknown_76":206,"unknown_28":31488,"ignition":60,"odometer":null,"unknown_45":5269704172530839552}} 
[2026-06-18 08:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":106342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:59:02] local.INFO: GPS data processed {"connection_id":106342,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:59:02] local.INFO: Acknowledgment sent {"connection_id":106342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:59:12] local.INFO: TCP Data received {"connection_id":105582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:12] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:12] local.INFO: IMEI packet received {"connection_id":105582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 08:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":105582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:59:13] local.INFO: TCP Data received {"connection_id":105582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:13] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:13] local.INFO: IMEI packet received {"connection_id":105582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":105582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:59:14] local.INFO: TCP Data received {"connection_id":105582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:14] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:14] local.INFO: IMEI packet received {"connection_id":105582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":105582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:59:15] local.INFO: TCP Data received {"connection_id":105582,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:15] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 08:59:15] local.INFO: IMEI packet received {"connection_id":105582,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 08:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":105582,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:59:15] local.INFO: TCP Data received {"connection_id":105582,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c64120012d0c9800070777380020010d22..."} 
[2026-06-18 08:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c64120012d0c9800070777380020010d22..."} 
[2026-06-18 08:59:15] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c64120012d0c9800070777380020010d22..."} 
[2026-06-18 08:59:15] local.INFO: Packet analysis {"connection_id":105582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 08:59:15] local.INFO: Extracted packet for processing {"connection_id":105582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 08:59:15] local.INFO: GPS Element Parsed {"raw_longitude":755800064,"raw_latitude":117929784,"longitude_deg":75.5800064,"latitude_deg":11.7929784,"altitude":32,"angle":269,"satellites":34,"speed":14,"hex_longitude":"2d0c9800","hex_latitude":"07077738","is_valid_coordinates":true} 
[2026-06-18 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128852224001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21079416020926464,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908460517523689472,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753332000,"timestamp_ms":1781753332000,"timestamp_seconds":1781753332,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c64120"} 
[2026-06-18 08:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:59: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-06-18 08:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 08:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:59:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128852224001,"66":13852,"221":206,"94":10240,"24":14,"16":21079416020926464,"45":908460517523689472},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 08:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128852224001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:59:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 08:59:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21079416020926464,"km_value":21079416020926.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":908460517523689472,"description":"Unknown IO ID 45"} 
[2026-06-18 08:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128852224001,"power":13852,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":908460517523689472}} 
[2026-06-18 08:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":105582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343418,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:59:16] local.INFO: GPS data processed {"connection_id":105582,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:59:16] local.INFO: Acknowledgment sent {"connection_id":105582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:59:17] local.INFO: TCP Data received {"connection_id":105582,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c654a8012d0c8d0007077670001f010022..."} 
[2026-06-18 08:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c654a8012d0c8d0007077670001f010022..."} 
[2026-06-18 08:59:17] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c654a8012d0c8d0007077670001f010022..."} 
[2026-06-18 08:59:17] local.INFO: Packet analysis {"connection_id":105582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 08:59:17] local.INFO: Extracted packet for processing {"connection_id":105582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 08:59:17] local.INFO: GPS Element Parsed {"raw_longitude":755797248,"raw_latitude":117929584,"longitude_deg":75.5797248,"latitude_deg":11.7929584,"altitude":31,"angle":256,"satellites":34,"speed":25,"hex_longitude":"2d0c8d00","hex_latitude":"07077670","is_valid_coordinates":true} 
[2026-06-18 08:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128852992001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21079553459879936,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907475355105179648,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781753337000,"timestamp_ms":1781753337000,"timestamp_seconds":1781753337,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c654a8"} 
[2026-06-18 08:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-18 08:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":105582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":105582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":105582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128852992001,"66":14450,"221":206,"94":10240,"24":25,"16":21079553459879936,"45":907475355105179648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 08:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128852992001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:59:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 08:59:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21079553459879936,"km_value":21079553459879.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":907475355105179648,"description":"Unknown IO ID 45"} 
[2026-06-18 08:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128852992001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":25,"odometer":null,"unknown_45":907475355105179648}} 
[2026-06-18 08:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":105582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343419,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:59:17] local.INFO: GPS data processed {"connection_id":105582,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:59:17] local.INFO: Acknowledgment sent {"connection_id":105582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:59:22] local.INFO: TCP Data received {"connection_id":107313,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:22] local.INFO: Processing buffer {"connection_id":107313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:22] local.INFO: IMEI packet received {"connection_id":107313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 08:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":107313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 08:59:26] local.INFO: TCP Data received {"connection_id":107313,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:26] local.INFO: Processing buffer {"connection_id":107313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:26] local.INFO: IMEI packet received {"connection_id":107313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":107313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:59:28] local.INFO: TCP Data received {"connection_id":107313,"ip":"117.224.206.94","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:28] local.INFO: Processing buffer {"connection_id":107313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 08:59:28] local.INFO: IMEI packet received {"connection_id":107313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 08:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":107313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 08:59:29] local.INFO: TCP Data received {"connection_id":107313,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c60a70012d484680065c7cc8000c015b29..."} 
[2026-06-18 08:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c60a70012d484680065c7cc8000c015b29..."} 
[2026-06-18 08:59:29] local.INFO: Processing buffer {"connection_id":107313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c60a70012d484680065c7cc8000c015b29..."} 
[2026-06-18 08:59:29] local.INFO: Packet analysis {"connection_id":107313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 08:59:29] local.INFO: Extracted packet for processing {"connection_id":107313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 08:59:29] local.INFO: GPS Element Parsed {"raw_longitude":759711360,"raw_latitude":106724552,"longitude_deg":75.971136,"latitude_deg":10.6724552,"altitude":12,"angle":347,"satellites":41,"speed":59,"hex_longitude":"2d484680","hex_latitude":"065c7cc8","is_valid_coordinates":true} 
[2026-06-18 08: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-06-18 08:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128847872001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317686254005125120,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5210242583721830400,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781753318000,"timestamp_ms":1781753318000,"timestamp_seconds":1781753318,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c60a70"} 
[2026-06-18 08:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:59: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-06-18 08: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":255,"data_length":795,"current_offset":136} 
[2026-06-18 08:59:29] 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-06-18 08: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-06-18 08:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 08:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 08:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 08:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128847872001,"66":27713,"51":206,"28":31488,"24":59,"16":317686254005125120,"45":5210242583721830400},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-06-18 08:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 08:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 08:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128847872001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:59:29] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-06-18 08:59:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 08:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317686254005125120,"km_value":317686254005125.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5210242583721830400,"description":"Unknown IO ID 45"} 
[2026-06-18 08:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128847872001,"power":27713,"unknown_51":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5210242583721830400}} 
[2026-06-18 08:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":107313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:59:29] local.INFO: GPS data processed {"connection_id":107313,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:59:29] local.INFO: Acknowledgment sent {"connection_id":107313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 08:59:48] local.INFO: TCP Data received {"connection_id":105582,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c66c18012d0c8340070773e0001c012322..."} 
[2026-06-18 08:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c66c18012d0c8340070773e0001c012322..."} 
[2026-06-18 08:59:48] local.INFO: Processing buffer {"connection_id":105582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c66c18012d0c8340070773e0001c012322..."} 
[2026-06-18 08:59:48] local.INFO: Packet analysis {"connection_id":105582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 08:59:48] local.INFO: Extracted packet for processing {"connection_id":105582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 08:59:48] local.INFO: GPS Element Parsed {"raw_longitude":755794752,"raw_latitude":117928928,"longitude_deg":75.5794752,"latitude_deg":11.7928928,"altitude":28,"angle":291,"satellites":34,"speed":8,"hex_longitude":"2d0c8340","hex_latitude":"070773e0","is_valid_coordinates":true} 
[2026-06-18 08:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 08:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128854272001,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21079678013931520,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":904379130361311232,"note":"Value kept but may cause issues"} 
[2026-06-18 08:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 08:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781753343000,"timestamp_ms":1781753343000,"timestamp_seconds":1781753343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c66c18"} 
[2026-06-18 08:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 08:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 08:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 08:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 08:59:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 08:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 08:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 08:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":105582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 08:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":105582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":105582,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 08:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 08:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 08:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 08:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128854272001,"66":14428,"221":206,"94":10240,"24":8,"16":21079678013931520,"45":904379130361311232},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 08:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 08:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 08:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128854272001,"description":"Unknown IO ID 0"} 
[2026-06-18 08:59:48] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 08:59:48] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 08:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21079678013931520,"km_value":21079678013931.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 08:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":904379130361311232,"description":"Unknown IO ID 45"} 
[2026-06-18 08:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128854272001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":904379130361311232}} 
[2026-06-18 08:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":105582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343421,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 08:59:48] local.INFO: GPS data processed {"connection_id":105582,"processed":1,"errors":0,"total":1} 
[2026-06-18 08:59:48] local.INFO: Acknowledgment sent {"connection_id":105582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:00:02] local.INFO: TCP Data received {"connection_id":107313,"ip":"117.224.206.94","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c621e0012d483ec0065c9f08000c015b29..."} 
[2026-06-18 09:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c621e0012d483ec0065c9f08000c015b29..."} 
[2026-06-18 09:00:02] local.INFO: Processing buffer {"connection_id":107313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c621e0012d483ec0065c9f08000c015b29..."} 
[2026-06-18 09:00:02] local.INFO: Packet analysis {"connection_id":107313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 09:00:02] local.INFO: Extracted packet for processing {"connection_id":107313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c6"} 
[2026-06-18 09:00:02] local.INFO: GPS Element Parsed {"raw_longitude":759709376,"raw_latitude":106733320,"longitude_deg":75.9709376,"latitude_deg":10.673332,"altitude":12,"angle":347,"satellites":41,"speed":59,"hex_longitude":"2d483ec0","hex_latitude":"065c9f08","is_valid_coordinates":true} 
[2026-06-18 09:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128849408001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317686692091789312,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5207990783910397952,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781753324000,"timestamp_ms":1781753324000,"timestamp_seconds":1781753324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c621e0"} 
[2026-06-18 09:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:00: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-06-18 09:00:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 09:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.206.94","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128849408001,"66":27767,"51":206,"28":31488,"24":59,"16":317686692091789312,"45":5207990783910397952},"client_ip":"117.224.206.94","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,28,24,16,45]} 
[2026-06-18 09:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128849408001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:00:02] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-06-18 09:00:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31488,"description":"Unknown IO ID 28"} 
[2026-06-18 09:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317686692091789312,"km_value":317686692091789.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5207990783910397952,"description":"Unknown IO ID 45"} 
[2026-06-18 09:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128849408001,"power":27767,"unknown_51":206,"unknown_28":31488,"ignition":59,"odometer":null,"unknown_45":5207990783910397952}} 
[2026-06-18 09:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":107313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:00:02] local.INFO: GPS data processed {"connection_id":107313,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:00:02] local.INFO: Acknowledgment sent {"connection_id":107313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:00:14] local.INFO: TCP Data received {"connection_id":106344,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:00:14] local.INFO: Processing buffer {"connection_id":106344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:00:14] local.INFO: IMEI packet received {"connection_id":106344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":106344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:00:18] local.INFO: TCP Data received {"connection_id":106344,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106344,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:00:18] local.INFO: Processing buffer {"connection_id":106344,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:00:18] local.INFO: IMEI packet received {"connection_id":106344,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":106344,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:00:19] local.INFO: TCP Data received {"connection_id":106344,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c72798012d0c370007077208001800d223..."} 
[2026-06-18 09:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c72798012d0c370007077208001800d223..."} 
[2026-06-18 09:00:19] local.INFO: Processing buffer {"connection_id":106344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c72798012d0c370007077208001800d223..."} 
[2026-06-18 09:00:19] local.INFO: Packet analysis {"connection_id":106344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c7"} 
[2026-06-18 09:00:19] local.INFO: Extracted packet for processing {"connection_id":106344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c7"} 
[2026-06-18 09:00:19] local.INFO: GPS Element Parsed {"raw_longitude":755775232,"raw_latitude":117928456,"longitude_deg":75.5775232,"latitude_deg":11.7928456,"altitude":24,"angle":210,"satellites":35,"speed":11,"hex_longitude":"2d0c3700","hex_latitude":"07077208","is_valid_coordinates":true} 
[2026-06-18 09:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128867840001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21080640086605824,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880242651108149248,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781753391000,"timestamp_ms":1781753391000,"timestamp_seconds":1781753391,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c72798"} 
[2026-06-18 09:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-06-18 09:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":106344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":106344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":106344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128867840001,"66":13689,"221":206,"94":10240,"24":11,"16":21080640086605824,"45":880242651108149248},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 09:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128867840001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:00:19] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 09:00:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21080640086605824,"km_value":21080640086605.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":880242651108149248,"description":"Unknown IO ID 45"} 
[2026-06-18 09:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128867840001,"power":13689,"unknown_221":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":880242651108149248}} 
[2026-06-18 09:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":106344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343423,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:00:19] local.INFO: GPS data processed {"connection_id":106344,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:00:19] local.INFO: Acknowledgment sent {"connection_id":106344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:00:50] local.INFO: TCP Data received {"connection_id":106344,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c7df30012d0bb38007074278001900e324..."} 
[2026-06-18 09:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c7df30012d0bb38007074278001900e324..."} 
[2026-06-18 09:00:50] local.INFO: Processing buffer {"connection_id":106344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c7df30012d0bb38007074278001900e324..."} 
[2026-06-18 09:00:50] local.INFO: Packet analysis {"connection_id":106344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c7"} 
[2026-06-18 09:00:50] local.INFO: Extracted packet for processing {"connection_id":106344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c7"} 
[2026-06-18 09:00:50] local.INFO: GPS Element Parsed {"raw_longitude":755741568,"raw_latitude":117916280,"longitude_deg":75.5741568,"latitude_deg":11.791628,"altitude":25,"angle":227,"satellites":36,"speed":15,"hex_longitude":"2d0bb380","hex_latitude":"07074278","is_valid_coordinates":true} 
[2026-06-18 09:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128879872001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21082581411823616,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843439797900115968,"note":"Value kept but may cause issues"} 
[2026-06-18 09:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781753438000,"timestamp_ms":1781753438000,"timestamp_seconds":1781753438,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c7df30"} 
[2026-06-18 09:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:00: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-06-18 09:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 09:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106344,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128879872001,"66":14450,"221":206,"94":10240,"24":15,"16":21082581411823616,"45":843439797900115968},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 09:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128879872001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:00:51] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 09:00:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21082581411823616,"km_value":21082581411823.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":843439797900115968,"description":"Unknown IO ID 45"} 
[2026-06-18 09:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128879872001,"power":14450,"unknown_221":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":843439797900115968}} 
[2026-06-18 09:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":106344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343424,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:00:51] local.INFO: GPS data processed {"connection_id":106344,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:00:51] local.INFO: Acknowledgment sent {"connection_id":106344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:01:09] local.INFO: TCP Data received {"connection_id":105583,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:01:09] local.INFO: Processing buffer {"connection_id":105583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:01:09] local.INFO: IMEI packet received {"connection_id":105583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":105583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:01:14] local.INFO: TCP Data received {"connection_id":105583,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105583,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:01:14] local.INFO: Processing buffer {"connection_id":105583,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:01:14] local.INFO: IMEI packet received {"connection_id":105583,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":105583,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:01:15] local.INFO: TCP Data received {"connection_id":105583,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c7e318012d0bb34007074120001900c524..."} 
[2026-06-18 09:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c7e318012d0bb34007074120001900c524..."} 
[2026-06-18 09:01:15] local.INFO: Processing buffer {"connection_id":105583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c7e318012d0bb34007074120001900c524..."} 
[2026-06-18 09:01:15] local.INFO: Packet analysis {"connection_id":105583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c7"} 
[2026-06-18 09:01:15] local.INFO: Extracted packet for processing {"connection_id":105583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c7"} 
[2026-06-18 09:01:15] local.INFO: GPS Element Parsed {"raw_longitude":755741504,"raw_latitude":117915936,"longitude_deg":75.5741504,"latitude_deg":11.7915936,"altitude":25,"angle":197,"satellites":36,"speed":14,"hex_longitude":"2d0bb340","hex_latitude":"07074120","is_valid_coordinates":true} 
[2026-06-18 09:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128880128001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21082598591692800,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":843158322923337728,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753439000,"timestamp_ms":1781753439000,"timestamp_seconds":1781753439,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c7e318"} 
[2026-06-18 09:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 09:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128880128001,"66":14428,"221":206,"94":10240,"24":14,"16":21082598591692800,"45":843158322923337728},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 09:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128880128001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:01:15] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 09:01:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21082598591692800,"km_value":21082598591692.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":843158322923337728,"description":"Unknown IO ID 45"} 
[2026-06-18 09:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128880128001,"power":14428,"unknown_221":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":843158322923337728}} 
[2026-06-18 09:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":105583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343425,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:01:15] local.INFO: GPS data processed {"connection_id":105583,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:01:15] local.INFO: Acknowledgment sent {"connection_id":105583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:01:46] local.INFO: TCP Data received {"connection_id":105583,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c8aa50012d0b45000706f898001100dc23..."} 
[2026-06-18 09:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c8aa50012d0b45000706f898001100dc23..."} 
[2026-06-18 09:01:46] local.INFO: Processing buffer {"connection_id":105583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c8aa50012d0b45000706f898001100dc23..."} 
[2026-06-18 09:01:46] local.INFO: Packet analysis {"connection_id":105583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:01:46] local.INFO: Extracted packet for processing {"connection_id":105583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:01:46] local.INFO: GPS Element Parsed {"raw_longitude":755713280,"raw_latitude":117897368,"longitude_deg":75.571328,"latitude_deg":11.7897368,"altitude":17,"angle":220,"satellites":35,"speed":34,"hex_longitude":"2d0b4500","hex_latitude":"0706f898","is_valid_coordinates":true} 
[2026-06-18 09:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128892928001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21084522737041408,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813462712875831296,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781753490000,"timestamp_ms":1781753490000,"timestamp_seconds":1781753490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c8aa50"} 
[2026-06-18 09:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:01: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-06-18 09:01:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 09:01:46] 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-06-18 09:01:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105583,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128892928001,"66":14450,"163":206,"94":10240,"24":34,"16":21084522737041408,"45":813462712875831296},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-18 09:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128892928001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:01:46] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 09:01:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21084522737041408,"km_value":21084522737041.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":813462712875831296,"description":"Unknown IO ID 45"} 
[2026-06-18 09:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128892928001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":813462712875831296}} 
[2026-06-18 09:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":105583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343426,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:01:46] local.INFO: GPS data processed {"connection_id":105583,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:01:46] local.INFO: Acknowledgment sent {"connection_id":105583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:01:52] local.INFO: TCP Data received {"connection_id":105782,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:01:52] local.INFO: Processing buffer {"connection_id":105782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:01:52] local.INFO: IMEI packet received {"connection_id":105782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":105782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:01:57] local.INFO: TCP Data received {"connection_id":105782,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:01:57] local.INFO: Processing buffer {"connection_id":105782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:01:57] local.INFO: IMEI packet received {"connection_id":105782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":105782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:01:58] local.INFO: TCP Data received {"connection_id":105782,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c8a668012d7ac0c005ebbc50000900412a..."} 
[2026-06-18 09:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c8a668012d7ac0c005ebbc50000900412a..."} 
[2026-06-18 09:01:58] local.INFO: Processing buffer {"connection_id":105782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c8a668012d7ac0c005ebbc50000900412a..."} 
[2026-06-18 09:01:58] local.INFO: Packet analysis {"connection_id":105782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:01:58] local.INFO: Extracted packet for processing {"connection_id":105782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763019456,"raw_latitude":99335248,"longitude_deg":76.3019456,"latitude_deg":9.9335248,"altitude":9,"angle":65,"satellites":42,"speed":33,"hex_longitude":"2d7ac0c0","hex_latitude":"05ebbc50","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128890112001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93857864484913152,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835921756841515008,"note":"Value kept but may cause issues"} 
[2026-06-18 09:01: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-06-18 09:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781753489000,"timestamp_ms":1781753489000,"timestamp_seconds":1781753489,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c8a668"} 
[2026-06-18 09:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09: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-06-18 09: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 09:01: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-06-18 09: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-06-18 09:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:01: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-06-18 09:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128890112001,"66":13222,"161":206,"87":13824,"24":33,"16":93857864484913152,"45":8835921756841515008},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-18 09:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128890112001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:01:58] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 09:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93857864484913152,"km_value":93857864484913.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835921756841515008,"description":"Unknown IO ID 45"} 
[2026-06-18 09:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128890112001,"power":13222,"unknown_161":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8835921756841515008}} 
[2026-06-18 09:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":105782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:01:58] local.INFO: GPS data processed {"connection_id":105782,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:01:58] local.INFO: Acknowledgment sent {"connection_id":105782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:01:59] local.INFO: TCP Data received {"connection_id":105783,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:01:59] local.INFO: Processing buffer {"connection_id":105783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:01:59] local.INFO: IMEI packet received {"connection_id":105783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":105783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:02:03] local.INFO: TCP Data received {"connection_id":105783,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:03] local.INFO: Processing buffer {"connection_id":105783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:03] local.INFO: IMEI packet received {"connection_id":105783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":105783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:02:05] local.INFO: TCP Data received {"connection_id":105783,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:05] local.INFO: Processing buffer {"connection_id":105783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:05] local.INFO: IMEI packet received {"connection_id":105783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":105783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:02:06] local.INFO: TCP Data received {"connection_id":105783,"ip":"117.225.129.203","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c82968012d470480065f5768000b014a2b..."} 
[2026-06-18 09:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c82968012d470480065f5768000b014a2b..."} 
[2026-06-18 09:02:06] local.INFO: Processing buffer {"connection_id":105783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c82968012d470480065f5768000b014a2b..."} 
[2026-06-18 09:02:06] local.INFO: Packet analysis {"connection_id":105783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:02:06] local.INFO: Extracted packet for processing {"connection_id":105783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:02:06] local.INFO: GPS Element Parsed {"raw_longitude":759628928,"raw_latitude":106911592,"longitude_deg":75.9628928,"latitude_deg":10.6911592,"altitude":11,"angle":330,"satellites":43,"speed":59,"hex_longitude":"2d470480","hex_latitude":"065f5768","is_valid_coordinates":true} 
[2026-06-18 09:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128883456001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317696166789644288,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5122352022292084736,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781753457000,"timestamp_ms":1781753457000,"timestamp_seconds":1781753457,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c82968"} 
[2026-06-18 09:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 09:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.129.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128883456001,"66":27821,"114":206,"18":6656,"24":59,"16":317696166789644288,"45":5122352022292084736},"client_ip":"117.225.129.203","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,18,24,16,45]} 
[2026-06-18 09:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128883456001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:02:06] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-18 09:02:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-06-18 09:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317696166789644288,"km_value":317696166789644.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5122352022292084736,"description":"Unknown IO ID 45"} 
[2026-06-18 09:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128883456001,"power":27821,"unknown_114":206,"unknown_18":6656,"ignition":59,"odometer":null,"unknown_45":5122352022292084736}} 
[2026-06-18 09:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":105783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:02:06] local.INFO: GPS data processed {"connection_id":105783,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:02:06] local.INFO: Acknowledgment sent {"connection_id":105783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:02:09] local.INFO: TCP Data received {"connection_id":106347,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:02:09] local.INFO: Processing buffer {"connection_id":106347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:02:09] local.INFO: IMEI packet received {"connection_id":106347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":106347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:02:12] local.INFO: TCP Data received {"connection_id":106347,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106347,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:02:12] local.INFO: Processing buffer {"connection_id":106347,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:02:12] local.INFO: IMEI packet received {"connection_id":106347,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":106347,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:02:13] local.INFO: TCP Data received {"connection_id":106347,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c8b220012d0b40c00706f2a0001100d123..."} 
[2026-06-18 09:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c8b220012d0b40c00706f2a0001100d123..."} 
[2026-06-18 09:02:13] local.INFO: Processing buffer {"connection_id":106347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c8b220012d0b40c00706f2a0001100d123..."} 
[2026-06-18 09:02:13] local.INFO: Packet analysis {"connection_id":106347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:02:13] local.INFO: Extracted packet for processing {"connection_id":106347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:02:13] local.INFO: GPS Element Parsed {"raw_longitude":755712192,"raw_latitude":117895840,"longitude_deg":75.5712192,"latitude_deg":11.789584,"altitude":17,"angle":209,"satellites":35,"speed":37,"hex_longitude":"2d0b40c0","hex_latitude":"0706f2a0","is_valid_coordinates":true} 
[2026-06-18 09:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128893440001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21084612931354624,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":812055337991968768,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781753492000,"timestamp_ms":1781753492000,"timestamp_seconds":1781753492,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c8b220"} 
[2026-06-18 09:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:02: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-06-18 09:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 09:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128893440001,"66":14450,"163":206,"94":10240,"24":37,"16":21084612931354624,"45":812055337991968768},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-18 09:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128893440001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:02:13] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 09:02:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21084612931354624,"km_value":21084612931354.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":812055337991968768,"description":"Unknown IO ID 45"} 
[2026-06-18 09:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128893440001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":37,"odometer":null,"unknown_45":812055337991968768}} 
[2026-06-18 09:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":106347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343429,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:02:13] local.INFO: GPS data processed {"connection_id":106347,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:02:13] local.INFO: Acknowledgment sent {"connection_id":106347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:02:29] local.INFO: TCP Data received {"connection_id":105782,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c8d160012d7ae28005ebccc8000b003f2c..."} 
[2026-06-18 09:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c8d160012d7ae28005ebccc8000b003f2c..."} 
[2026-06-18 09:02:29] local.INFO: Processing buffer {"connection_id":105782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c8d160012d7ae28005ebccc8000b003f2c..."} 
[2026-06-18 09:02:29] local.INFO: Packet analysis {"connection_id":105782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:02:29] local.INFO: Extracted packet for processing {"connection_id":105782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763028096,"raw_latitude":99339464,"longitude_deg":76.3028096,"latitude_deg":9.9339464,"altitude":11,"angle":63,"satellites":44,"speed":36,"hex_longitude":"2d7ae280","hex_latitude":"05ebccc8","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128893184001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93858324046413824,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8845280799818010624,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02: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-06-18 09:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781753500000,"timestamp_ms":1781753500000,"timestamp_seconds":1781753500,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c8d160"} 
[2026-06-18 09:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09: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-06-18 09: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 09:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:02: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-06-18 09:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128893184001,"66":13037,"161":206,"87":13824,"24":36,"16":93858324046413824,"45":8845280799818010624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,87,24,16,45]} 
[2026-06-18 09:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128893184001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:02:29] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 09:02:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93858324046413824,"km_value":93858324046413.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8845280799818010624,"description":"Unknown IO ID 45"} 
[2026-06-18 09:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128893184001,"power":13037,"unknown_161":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":8845280799818010624}} 
[2026-06-18 09:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":105782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343430,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:02:29] local.INFO: GPS data processed {"connection_id":105782,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:02:29] local.INFO: Acknowledgment sent {"connection_id":105782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:02:30] local.INFO: TCP Data received {"connection_id":107315,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:30] local.INFO: Processing buffer {"connection_id":107315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:30] local.INFO: IMEI packet received {"connection_id":107315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":107315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:02:32] local.INFO: TCP Data received {"connection_id":107315,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:32] local.INFO: Processing buffer {"connection_id":107315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:32] local.INFO: IMEI packet received {"connection_id":107315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":107315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:02:35] local.INFO: TCP Data received {"connection_id":107315,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:35] local.INFO: Processing buffer {"connection_id":107315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:02:35] local.INFO: IMEI packet received {"connection_id":107315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:02:35] local.INFO: IMEI acknowledgment sent {"connection_id":107315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:02:36] local.INFO: TCP Data received {"connection_id":107315,"ip":"117.225.129.203","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c840d8012d46f340065f75b8000c014b2b..."} 
[2026-06-18 09:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c840d8012d46f340065f75b8000c014b2b..."} 
[2026-06-18 09:02:36] local.INFO: Processing buffer {"connection_id":107315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c840d8012d46f340065f75b8000c014b2b..."} 
[2026-06-18 09:02:36] local.INFO: Packet analysis {"connection_id":107315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:02:36] local.INFO: Extracted packet for processing {"connection_id":107315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:02:36] local.INFO: GPS Element Parsed {"raw_longitude":759624512,"raw_latitude":106919352,"longitude_deg":75.9624512,"latitude_deg":10.6919352,"altitude":12,"angle":331,"satellites":43,"speed":59,"hex_longitude":"2d46f340","hex_latitude":"065f75b8","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128884992001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317696596286373888,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5117355841457448960,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781753463000,"timestamp_ms":1781753463000,"timestamp_seconds":1781753463,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c840d8"} 
[2026-06-18 09:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 09:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.129.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128884992001,"66":27745,"114":206,"18":6656,"24":59,"16":317696596286373888,"45":5117355841457448960},"client_ip":"117.225.129.203","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,18,24,16,45]} 
[2026-06-18 09:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128884992001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:02:36] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-18 09:02:36] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-06-18 09:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317696596286373888,"km_value":317696596286373.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5117355841457448960,"description":"Unknown IO ID 45"} 
[2026-06-18 09:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128884992001,"power":27745,"unknown_114":206,"unknown_18":6656,"ignition":59,"odometer":null,"unknown_45":5117355841457448960}} 
[2026-06-18 09:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":107315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:02:36] local.INFO: GPS data processed {"connection_id":107315,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:02:36] local.INFO: Acknowledgment sent {"connection_id":107315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:02:39] local.INFO: TCP Data received {"connection_id":107316,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:02:39] local.INFO: Processing buffer {"connection_id":107316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:02:39] local.INFO: IMEI packet received {"connection_id":107316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":107316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:02:44] local.INFO: TCP Data received {"connection_id":106347,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c98128012d0aefc007066e40001b00b024..."} 
[2026-06-18 09:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c98128012d0aefc007066e40001b00b024..."} 
[2026-06-18 09:02:44] local.INFO: Processing buffer {"connection_id":106347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c98128012d0aefc007066e40001b00b024..."} 
[2026-06-18 09:02:44] local.INFO: Packet analysis {"connection_id":106347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:02:44] local.INFO: Extracted packet for processing {"connection_id":106347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:02:44] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861952,"longitude_deg":75.5691456,"latitude_deg":11.7861952,"altitude":27,"angle":176,"satellites":36,"speed":11,"hex_longitude":"2d0aefc0","hex_latitude":"07066e40","is_valid_coordinates":true} 
[2026-06-18 09:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128907008001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21086558551539712,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218443776,"note":"Value kept but may cause issues"} 
[2026-06-18 09:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781753545000,"timestamp_ms":1781753545000,"timestamp_seconds":1781753545,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c98128"} 
[2026-06-18 09:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 09:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106347,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128907008001,"66":14439,"163":206,"94":10240,"24":11,"16":21086558551539712,"45":788059596218443776},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-18 09:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128907008001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:02:44] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 09:02:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21086558551539712,"km_value":21086558551539.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218443776,"description":"Unknown IO ID 45"} 
[2026-06-18 09:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128907008001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":11,"odometer":null,"unknown_45":788059596218443776}} 
[2026-06-18 09:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":106347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343432,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:02:45] local.INFO: GPS data processed {"connection_id":106347,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:02:45] local.INFO: Acknowledgment sent {"connection_id":106347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:02:57] local.INFO: TCP Data received {"connection_id":105584,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:02:57] local.INFO: Processing buffer {"connection_id":105584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:02:57] local.INFO: IMEI packet received {"connection_id":105584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":105584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:03:02] local.INFO: TCP Data received {"connection_id":105584,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105584,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:02] local.INFO: Processing buffer {"connection_id":105584,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:02] local.INFO: IMEI packet received {"connection_id":105584,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":105584,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:03:03] local.INFO: TCP Data received {"connection_id":105584,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c8f488012d7b04c005ebdce0000d00422d..."} 
[2026-06-18 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c8f488012d7b04c005ebdce0000d00422d..."} 
[2026-06-18 09:03:03] local.INFO: Processing buffer {"connection_id":105584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c8f488012d7b04c005ebdce0000d00422d..."} 
[2026-06-18 09:03:03] local.INFO: Packet analysis {"connection_id":105584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:03:03] local.INFO: Extracted packet for processing {"connection_id":105584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c8"} 
[2026-06-18 09:03:03] local.INFO: GPS Element Parsed {"raw_longitude":763036864,"raw_latitude":99343584,"longitude_deg":76.3036864,"latitude_deg":9.9343584,"altitude":13,"angle":66,"satellites":45,"speed":48,"hex_longitude":"2d7b04c0","hex_latitude":"05ebdce0","is_valid_coordinates":true} 
[2026-06-18 09:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128896000001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93858787902881792,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8854780580283074560,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:03] 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-06-18 09:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781753509000,"timestamp_ms":1781753509000,"timestamp_seconds":1781753509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c8f488"} 
[2026-06-18 09:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:03: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-06-18 09:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 09:03: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-06-18 09:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128896000001,"66":13091,"156":206,"87":13824,"24":48,"16":93858787902881792,"45":8854780580283074560},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-18 09:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128896000001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:03:03] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 09:03:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93858787902881792,"km_value":93858787902881.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8854780580283074560,"description":"Unknown IO ID 45"} 
[2026-06-18 09:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128896000001,"power":13091,"unknown_156":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":8854780580283074560}} 
[2026-06-18 09:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":105584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:03:03] local.INFO: GPS data processed {"connection_id":105584,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:03:03] local.INFO: Acknowledgment sent {"connection_id":105584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:03:08] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:08] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:08] local.INFO: IMEI packet received {"connection_id":106348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":106348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:03:08] local.INFO: TCP Data received {"connection_id":107315,"ip":"117.225.129.203","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c94e60012d4677800660f390000d015328..."} 
[2026-06-18 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c94e60012d4677800660f390000d015328..."} 
[2026-06-18 09:03:09] local.INFO: Processing buffer {"connection_id":107315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c94e60012d4677800660f390000d015328..."} 
[2026-06-18 09:03:09] local.INFO: Packet analysis {"connection_id":107315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:09] local.INFO: Extracted packet for processing {"connection_id":107315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":759592832,"raw_latitude":107017104,"longitude_deg":75.9592832,"latitude_deg":10.7017104,"altitude":13,"angle":339,"satellites":40,"speed":60,"hex_longitude":"2d467780","hex_latitude":"0660f390","is_valid_coordinates":true} 
[2026-06-18 09:03: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-06-18 09:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128902656001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317701587038371840,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5080975200742422528,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781753532000,"timestamp_ms":1781753532000,"timestamp_seconds":1781753532,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c94e60"} 
[2026-06-18 09:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:03: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":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:03:09] 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-06-18 09:03: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-06-18 09:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.129.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128902656001,"66":27767,"51":206,"19":47872,"24":60,"16":317701587038371840,"45":5080975200742422528},"client_ip":"117.225.129.203","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,19,24,16,45]} 
[2026-06-18 09:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128902656001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:03:09] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-06-18 09:03:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317701587038371840,"km_value":317701587038371.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5080975200742422528,"description":"Unknown IO ID 45"} 
[2026-06-18 09:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128902656001,"power":27767,"unknown_51":206,"unknown_19":47872,"ignition":60,"odometer":null,"unknown_45":5080975200742422528}} 
[2026-06-18 09:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":107315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:03:09] local.INFO: GPS data processed {"connection_id":107315,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:03:09] local.INFO: Acknowledgment sent {"connection_id":107315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:03:09] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:09] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:09] local.INFO: IMEI packet received {"connection_id":106348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":106348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:03:14] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:14] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:03:14] local.INFO: IMEI packet received {"connection_id":106348,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":106348,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:03:15] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c98510012d0af00007066cf0001c00a224..."} 
[2026-06-18 09:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c98510012d0af00007066cf0001c00a224..."} 
[2026-06-18 09:03:15] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c98510012d0af00007066cf0001c00a224..."} 
[2026-06-18 09:03:15] local.INFO: Packet analysis {"connection_id":106348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:15] local.INFO: Extracted packet for processing {"connection_id":106348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:15] local.INFO: GPS Element Parsed {"raw_longitude":755691520,"raw_latitude":117861616,"longitude_deg":75.569152,"latitude_deg":11.7861616,"altitude":28,"angle":162,"satellites":36,"speed":15,"hex_longitude":"2d0af000","hex_latitude":"07066cf0","is_valid_coordinates":true} 
[2026-06-18 09:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128907520001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21086575731408896,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218318848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753546000,"timestamp_ms":1781753546000,"timestamp_seconds":1781753546,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c98510"} 
[2026-06-18 09:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128907520001,"66":14439,"163":206,"94":10240,"24":15,"16":21086575731408896,"45":788059596218318848},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-18 09:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128907520001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:03:15] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 09:03:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21086575731408896,"km_value":21086575731408.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218318848,"description":"Unknown IO ID 45"} 
[2026-06-18 09:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128907520001,"power":14439,"unknown_163":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":788059596218318848}} 
[2026-06-18 09:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":106348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343435,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:03:15] local.INFO: GPS data processed {"connection_id":106348,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:03:15] local.INFO: Acknowledgment sent {"connection_id":106348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:03:34] local.INFO: TCP Data received {"connection_id":105584,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c913c8012d7b264005ebeea0000f003e2d..."} 
[2026-06-18 09:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c913c8012d7b264005ebeea0000f003e2d..."} 
[2026-06-18 09:03:34] local.INFO: Processing buffer {"connection_id":105584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c913c8012d7b264005ebeea0000f003e2d..."} 
[2026-06-18 09:03:34] local.INFO: Packet analysis {"connection_id":105584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:34] local.INFO: Extracted packet for processing {"connection_id":105584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763045440,"raw_latitude":99348128,"longitude_deg":76.304544,"latitude_deg":9.9348128,"altitude":15,"angle":62,"satellites":45,"speed":41,"hex_longitude":"2d7b2640","hex_latitude":"05ebeea0","is_valid_coordinates":true} 
[2026-06-18 09:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93859251759349760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864421098236469248,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781753517000,"timestamp_ms":1781753517000,"timestamp_seconds":1781753517,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c913c8"} 
[2026-06-18 09:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:03: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-06-18 09:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 09:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105584,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128898304001,"66":12950,"156":206,"87":13824,"24":41,"16":93859251759349760,"45":8864421098236469248},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,87,24,16,45]} 
[2026-06-18 09:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:03:34] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 09:03:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93859251759349760,"km_value":93859251759349.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864421098236469248,"description":"Unknown IO ID 45"} 
[2026-06-18 09:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128898304001,"power":12950,"unknown_156":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8864421098236469248}} 
[2026-06-18 09:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":105584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:03:34] local.INFO: GPS data processed {"connection_id":105584,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:03:34] local.INFO: Acknowledgment sent {"connection_id":105584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:03:47] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c9a450012d0af780070659880018009624..."} 
[2026-06-18 09:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c9a450012d0af780070659880018009624..."} 
[2026-06-18 09:03:47] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c9a450012d0af780070659880018009624..."} 
[2026-06-18 09:03:47] local.INFO: Packet analysis {"connection_id":106348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:47] local.INFO: Extracted packet for processing {"connection_id":106348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:47] local.INFO: GPS Element Parsed {"raw_longitude":755693440,"raw_latitude":117856648,"longitude_deg":75.569344,"latitude_deg":11.7856648,"altitude":24,"angle":150,"satellites":36,"speed":30,"hex_longitude":"2d0af780","hex_latitude":"07065988","is_valid_coordinates":true} 
[2026-06-18 09:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128907776001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21086837724413952,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788129964962410496,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781753554000,"timestamp_ms":1781753554000,"timestamp_seconds":1781753554,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c9a450"} 
[2026-06-18 09:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106348,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128907776001,"66":14439,"165":206,"94":10240,"24":30,"16":21086837724413952,"45":788129964962410496},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128907776001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:03:47] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:03:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21086837724413952,"km_value":21086837724413.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":788129964962410496,"description":"Unknown IO ID 45"} 
[2026-06-18 09:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128907776001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":788129964962410496}} 
[2026-06-18 09:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":106348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343437,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:03:47] local.INFO: GPS data processed {"connection_id":106348,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:03:47] local.INFO: Acknowledgment sent {"connection_id":106348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:03:52] local.INFO: TCP Data received {"connection_id":107317,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:52] local.INFO: Processing buffer {"connection_id":107317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:52] local.INFO: IMEI packet received {"connection_id":107317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":107317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:03:57] local.INFO: TCP Data received {"connection_id":107317,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:57] local.INFO: Processing buffer {"connection_id":107317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:03:57] local.INFO: IMEI packet received {"connection_id":107317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":107317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:03:58] local.INFO: TCP Data received {"connection_id":107317,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c93ad8012d7b484005ebfe70001000432d..."} 
[2026-06-18 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c93ad8012d7b484005ebfe70001000432d..."} 
[2026-06-18 09:03:58] local.INFO: Processing buffer {"connection_id":107317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c93ad8012d7b484005ebfe70001000432d..."} 
[2026-06-18 09:03:58] local.INFO: Packet analysis {"connection_id":107317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:58] local.INFO: Extracted packet for processing {"connection_id":107317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763054144,"raw_latitude":99352176,"longitude_deg":76.3054144,"latitude_deg":9.9352176,"altitude":16,"angle":67,"satellites":45,"speed":41,"hex_longitude":"2d7b4840","hex_latitude":"05ebfe70","is_valid_coordinates":true} 
[2026-06-18 09:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128900352001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93859711320850432,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873850509957439488,"note":"Value kept but may cause issues"} 
[2026-06-18 09:03:58] 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-06-18 09:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781753527000,"timestamp_ms":1781753527000,"timestamp_seconds":1781753527,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c93ad8"} 
[2026-06-18 09:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09: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-06-18 09:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 09:03: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-06-18 09:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128900352001,"66":13222,"155":206,"87":13824,"24":41,"16":93859711320850432,"45":8873850509957439488},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 09:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128900352001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:03:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 09:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93859711320850432,"km_value":93859711320850.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873850509957439488,"description":"Unknown IO ID 45"} 
[2026-06-18 09:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128900352001,"power":13222,"unknown_155":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8873850509957439488}} 
[2026-06-18 09:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":107317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343438,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:03:58] local.INFO: GPS data processed {"connection_id":107317,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:03:58] local.INFO: Acknowledgment sent {"connection_id":107317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:04:09] local.INFO: TCP Data received {"connection_id":105585,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:04:09] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:04:09] local.INFO: IMEI packet received {"connection_id":105585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":105585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:04:14] local.INFO: TCP Data received {"connection_id":105585,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:04:14] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:04:14] local.INFO: IMEI packet received {"connection_id":105585,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":105585,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:04:15] local.INFO: TCP Data received {"connection_id":105585,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c9d330012d0b09c0070639a80014009623..."} 
[2026-06-18 09:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c9d330012d0b09c0070639a80014009623..."} 
[2026-06-18 09:04:15] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c9d330012d0b09c0070639a80014009623..."} 
[2026-06-18 09:04:15] local.INFO: Packet analysis {"connection_id":105585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:04:15] local.INFO: Extracted packet for processing {"connection_id":105585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":755698112,"raw_latitude":117848488,"longitude_deg":75.5698112,"latitude_deg":11.7848488,"altitude":20,"angle":150,"satellites":35,"speed":28,"hex_longitude":"2d0b09c0","hex_latitude":"070639a8","is_valid_coordinates":true} 
[2026-06-18 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128909824001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21087288695980032,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":790241027286468608,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753566000,"timestamp_ms":1781753566000,"timestamp_seconds":1781753566,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c9d330"} 
[2026-06-18 09:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128909824001,"66":14439,"165":206,"94":10240,"24":28,"16":21087288695980032,"45":790241027286468608},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128909824001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:04:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:04:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21087288695980032,"km_value":21087288695980.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":790241027286468608,"description":"Unknown IO ID 45"} 
[2026-06-18 09:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128909824001,"power":14439,"unknown_165":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":790241027286468608}} 
[2026-06-18 09:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":105585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343439,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:04:15] local.INFO: GPS data processed {"connection_id":105585,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:04:15] local.INFO: Acknowledgment sent {"connection_id":105585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:04:30] local.INFO: TCP Data received {"connection_id":107317,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c961e8012d7b6a8005ec0cc8001100462d..."} 
[2026-06-18 09:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c961e8012d7b6a8005ec0cc8001100462d..."} 
[2026-06-18 09:04:30] local.INFO: Processing buffer {"connection_id":107317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c961e8012d7b6a8005ec0cc8001100462d..."} 
[2026-06-18 09:04:30] local.INFO: Packet analysis {"connection_id":107317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:04:30] local.INFO: Extracted packet for processing {"connection_id":107317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c9"} 
[2026-06-18 09:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763062912,"raw_latitude":99355848,"longitude_deg":76.3062912,"latitude_deg":9.9355848,"altitude":17,"angle":70,"satellites":45,"speed":23,"hex_longitude":"2d7b6a80","hex_latitude":"05ec0cc8","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128902912001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93860166587383808,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883420659166638080,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04: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-06-18 09:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781753537000,"timestamp_ms":1781753537000,"timestamp_seconds":1781753537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c961e8"} 
[2026-06-18 09:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:04: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-06-18 09:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 09:04: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-06-18 09: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-06-18 09:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128902912001,"66":12906,"155":206,"87":13824,"24":23,"16":93860166587383808,"45":8883420659166638080},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 09:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128902912001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:04:30] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 09:04:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93860166587383808,"km_value":93860166587383.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883420659166638080,"description":"Unknown IO ID 45"} 
[2026-06-18 09:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128902912001,"power":12906,"unknown_155":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8883420659166638080}} 
[2026-06-18 09:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":107317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:04:30] local.INFO: GPS data processed {"connection_id":107317,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:04:30] local.INFO: Acknowledgment sent {"connection_id":107317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:04:34] local.INFO: TCP Data received {"connection_id":106350,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:34] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:34] local.INFO: IMEI packet received {"connection_id":106350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":106350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:04:36] local.INFO: TCP Data received {"connection_id":106350,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:36] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:36] local.INFO: IMEI packet received {"connection_id":106350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":106350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:04:41] local.INFO: TCP Data received {"connection_id":106350,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:41] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:04:41] local.INFO: IMEI packet received {"connection_id":106350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":106350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:04:42] local.INFO: TCP Data received {"connection_id":106350,"ip":"117.225.129.203","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ca6b88012d45d500066266c0000c014d2b..."} 
[2026-06-18 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ca6b88012d45d500066266c0000c014d2b..."} 
[2026-06-18 09:04:42] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ca6b88012d45d500066266c0000c014d2b..."} 
[2026-06-18 09:04:42] local.INFO: Packet analysis {"connection_id":106350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:04:42] local.INFO: Extracted packet for processing {"connection_id":106350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":759551232,"raw_latitude":107112128,"longitude_deg":75.9551232,"latitude_deg":10.7112128,"altitude":12,"angle":333,"satellites":43,"speed":59,"hex_longitude":"2d45d500","hex_latitude":"066266c0","is_valid_coordinates":true} 
[2026-06-18 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128921344001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317706603560173568,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5036150310725677056,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781753605000,"timestamp_ms":1781753605000,"timestamp_seconds":1781753605,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ca6b88"} 
[2026-06-18 09:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 09:04:42] 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-06-18 09:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.129.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128921344001,"66":27658,"25":206,"18":6656,"24":59,"16":317706603560173568,"45":5036150310725677056},"client_ip":"117.225.129.203","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,18,24,16,45]} 
[2026-06-18 09:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128921344001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:04:42] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-06-18 09:04:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-06-18 09:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317706603560173568,"km_value":317706603560173.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5036150310725677056,"description":"Unknown IO ID 45"} 
[2026-06-18 09:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128921344001,"power":27658,"unknown_25":206,"unknown_18":6656,"ignition":59,"odometer":null,"unknown_45":5036150310725677056}} 
[2026-06-18 09:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":106350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:04:42] local.INFO: GPS data processed {"connection_id":106350,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:04:42] local.INFO: Acknowledgment sent {"connection_id":106350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:04:43] local.INFO: TCP Data received {"connection_id":106350,"ip":"117.225.129.203","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ca82f8012d45c44006628590000d014a2c..."} 
[2026-06-18 09:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ca82f8012d45c44006628590000d014a2c..."} 
[2026-06-18 09:04:43] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ca82f8012d45c44006628590000d014a2c..."} 
[2026-06-18 09:04:43] local.INFO: Packet analysis {"connection_id":106350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:04:43] local.INFO: Extracted packet for processing {"connection_id":106350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:04:43] local.INFO: GPS Element Parsed {"raw_longitude":759546944,"raw_latitude":107120016,"longitude_deg":75.9546944,"latitude_deg":10.7120016,"altitude":13,"angle":330,"satellites":44,"speed":59,"hex_longitude":"2d45c440","hex_latitude":"06628590","is_valid_coordinates":true} 
[2026-06-18 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128922880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317707037351870464,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5031928186077102080,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781753611000,"timestamp_ms":1781753611000,"timestamp_seconds":1781753611,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ca82f8"} 
[2026-06-18 09:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 09:04:43] 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-06-18 09:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.129.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128922880001,"66":27745,"25":206,"18":6656,"24":59,"16":317707037351870464,"45":5031928186077102080},"client_ip":"117.225.129.203","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,18,24,16,45]} 
[2026-06-18 09:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128922880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:04:43] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-06-18 09:04:43] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-06-18 09:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317707037351870464,"km_value":317707037351870.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5031928186077102080,"description":"Unknown IO ID 45"} 
[2026-06-18 09:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128922880001,"power":27745,"unknown_25":206,"unknown_18":6656,"ignition":59,"odometer":null,"unknown_45":5031928186077102080}} 
[2026-06-18 09:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":106350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:04:43] local.INFO: GPS data processed {"connection_id":106350,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:04:43] local.INFO: Acknowledgment sent {"connection_id":106350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:04:46] local.INFO: TCP Data received {"connection_id":105585,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ca2150012d0b130007062b600014009223..."} 
[2026-06-18 09:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ca2150012d0b130007062b600014009223..."} 
[2026-06-18 09:04:46] local.INFO: Processing buffer {"connection_id":105585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ca2150012d0b130007062b600014009223..."} 
[2026-06-18 09:04:46] local.INFO: Packet analysis {"connection_id":105585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:04:46] local.INFO: Extracted packet for processing {"connection_id":105585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:04:46] local.INFO: GPS Element Parsed {"raw_longitude":755700480,"raw_latitude":117844832,"longitude_deg":75.570048,"latitude_deg":11.7844832,"altitude":20,"angle":146,"satellites":35,"speed":9,"hex_longitude":"2d0b1300","hex_latitude":"07062b60","is_valid_coordinates":true} 
[2026-06-18 09:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128912896001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21087507739312128,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795377945609349120,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781753586000,"timestamp_ms":1781753586000,"timestamp_seconds":1781753586,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ca2150"} 
[2026-06-18 09:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105585,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128912896001,"66":14396,"165":206,"94":10240,"24":9,"16":21087507739312128,"45":795377945609349120},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128912896001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:04:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:04:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21087507739312128,"km_value":21087507739312.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":795377945609349120,"description":"Unknown IO ID 45"} 
[2026-06-18 09:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128912896001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":795377945609349120}} 
[2026-06-18 09:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":105585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343443,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:04:46] local.INFO: GPS data processed {"connection_id":105585,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:04:46] local.INFO: Acknowledgment sent {"connection_id":105585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:04:52] local.INFO: TCP Data received {"connection_id":105586,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:52] local.INFO: Processing buffer {"connection_id":105586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:52] local.INFO: IMEI packet received {"connection_id":105586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":105586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:04:56] local.INFO: TCP Data received {"connection_id":105586,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:56] local.INFO: Processing buffer {"connection_id":105586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:56] local.INFO: IMEI packet received {"connection_id":105586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":105586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:04:57] local.INFO: TCP Data received {"connection_id":105586,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105586,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:57] local.INFO: Processing buffer {"connection_id":105586,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:04:57] local.INFO: IMEI packet received {"connection_id":105586,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":105586,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:04:59] local.INFO: TCP Data received {"connection_id":105586,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8cb4260012d7cfb4005ec3c38000b005731..."} 
[2026-06-18 09:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8cb4260012d7cfb4005ec3c38000b005731..."} 
[2026-06-18 09:04:59] local.INFO: Processing buffer {"connection_id":105586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8cb4260012d7cfb4005ec3c38000b005731..."} 
[2026-06-18 09:04:59] local.INFO: Packet analysis {"connection_id":105586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:04:59] local.INFO: Extracted packet for processing {"connection_id":105586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:04:59] local.INFO: GPS Element Parsed {"raw_longitude":763165504,"raw_latitude":99367992,"longitude_deg":76.3165504,"latitude_deg":9.9367992,"altitude":11,"angle":87,"satellites":49,"speed":31,"hex_longitude":"2d7cfb40","hex_latitude":"05ec3c38","is_valid_coordinates":true} 
[2026-06-18 09:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128934144001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93865135864545280,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8995940281110671360,"note":"Value kept but may cause issues"} 
[2026-06-18 09:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781753660000,"timestamp_ms":1781753660000,"timestamp_seconds":1781753660,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8cb4260"} 
[2026-06-18 09:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:04: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-06-18 09:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 09:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":105586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":105586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":105586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128934144001,"66":12819,"198":206,"87":13824,"24":31,"16":93865135864545280,"45":8995940281110671360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 09:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128934144001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:04:59] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 09:04:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93865135864545280,"km_value":93865135864545.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8995940281110671360,"description":"Unknown IO ID 45"} 
[2026-06-18 09:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128934144001,"power":12819,"unknown_198":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8995940281110671360}} 
[2026-06-18 09:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":105586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:04:59] local.INFO: GPS data processed {"connection_id":105586,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:04:59] local.INFO: Acknowledgment sent {"connection_id":105586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:05:00] local.INFO: TCP Data received {"connection_id":105586,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8cb7140012d7d1f0005ec3e28000a00552f..."} 
[2026-06-18 09:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8cb7140012d7d1f0005ec3e28000a00552f..."} 
[2026-06-18 09:05:00] local.INFO: Processing buffer {"connection_id":105586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8cb7140012d7d1f0005ec3e28000a00552f..."} 
[2026-06-18 09:05:00] local.INFO: Packet analysis {"connection_id":105586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:00] local.INFO: Extracted packet for processing {"connection_id":105586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:00] local.INFO: GPS Element Parsed {"raw_longitude":763174656,"raw_latitude":99368488,"longitude_deg":76.3174656,"latitude_deg":9.9368488,"altitude":10,"angle":85,"satellites":47,"speed":30,"hex_longitude":"2d7d1f00","hex_latitude":"05ec3e28","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128936960001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93865573951209472,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9005862274039822336,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05: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-06-18 09:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781753672000,"timestamp_ms":1781753672000,"timestamp_seconds":1781753672,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8cb7140"} 
[2026-06-18 09:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:05: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-06-18 09: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3637132456,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465429,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505031847444480,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":120,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":216,"raw_value":-3885031972711696128,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6845735320693309696,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6180628424839004184,"corrected_to":0} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":99,"raw_value":3087084924,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182246889488640,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1426805452770880466,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3675163064212180567,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":54,"raw_value":6755554060009713,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195058688,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.WARNING: Large IO value detected {"io_id":136,"raw_value":4503922521680640,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:00] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,198,87,24,241,157,16,121,158,23,45,58,12,49,10,66,232,128,57,13,48,189,1,240,122,227,120,216,236,4,113,205,36,99,56,239,2,77,5,15,52,54,101,69,136],"length":625,"final_offset":755,"validated_count":45,"validation_warnings":[{"io_id":205,"original":6180628424839004184,"validated":0}]} 
[2026-06-18 09:05:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792729402384252928,"timestamp_seconds":792729402384252.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 09:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128936960001,"66":13059,"110":206,"87":13824,"24":30,"16":93865573951209472,"45":9005862274039822336},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128936960001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:05:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:05:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93865573951209472,"km_value":93865573951209.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9005862274039822336,"description":"Unknown IO ID 45"} 
[2026-06-18 09:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128936960001,"power":13059,"unknown_110":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9005862274039822336}} 
[2026-06-18 09:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":105586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:05:00] local.INFO: GPS data processed {"connection_id":105586,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:05:00] local.INFO: Acknowledgment sent {"connection_id":105586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:05:09] local.INFO: TCP Data received {"connection_id":106352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:05:09] local.INFO: Processing buffer {"connection_id":106352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:05:09] local.INFO: IMEI packet received {"connection_id":106352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":106352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:05:14] local.INFO: TCP Data received {"connection_id":106352,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106352,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:05:14] local.INFO: Processing buffer {"connection_id":106352,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:05:14] local.INFO: IMEI packet received {"connection_id":106352,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":106352,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:05:14] local.INFO: TCP Data received {"connection_id":106352,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8cb88b0012d0b5200070607f0001500c424..."} 
[2026-06-18 09:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8cb88b0012d0b5200070607f0001500c424..."} 
[2026-06-18 09:05:14] local.INFO: Processing buffer {"connection_id":106352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8cb88b0012d0b5200070607f0001500c424..."} 
[2026-06-18 09:05:14] local.INFO: Packet analysis {"connection_id":106352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:14] local.INFO: Extracted packet for processing {"connection_id":106352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:14] local.INFO: GPS Element Parsed {"raw_longitude":755716608,"raw_latitude":117835760,"longitude_deg":75.5716608,"latitude_deg":11.783576,"altitude":21,"angle":196,"satellites":36,"speed":3,"hex_longitude":"2d0b5200","hex_latitude":"070607f0","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128938496001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21088658790547456,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815995987650375680,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781753678000,"timestamp_ms":1781753678000,"timestamp_seconds":1781753678,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8cb88b0"} 
[2026-06-18 09:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 09:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128938496001,"66":14428,"165":206,"94":10240,"24":3,"16":21088658790547456,"45":815995987650375680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128938496001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:05:14] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:05:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21088658790547456,"km_value":21088658790547.457,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":815995987650375680,"description":"Unknown IO ID 45"} 
[2026-06-18 09:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128938496001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815995987650375680}} 
[2026-06-18 09:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":106352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343446,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:05:15] local.INFO: GPS data processed {"connection_id":106352,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:05:15] local.INFO: Acknowledgment sent {"connection_id":106352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:05:25] local.INFO: TCP Data received {"connection_id":107318,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:25] local.INFO: Processing buffer {"connection_id":107318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:25] local.INFO: IMEI packet received {"connection_id":107318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":107318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:05:28] local.INFO: TCP Data received {"connection_id":107318,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:28] local.INFO: Processing buffer {"connection_id":107318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:28] local.INFO: IMEI packet received {"connection_id":107318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:05:28] local.INFO: IMEI acknowledgment sent {"connection_id":107318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:05:31] local.INFO: TCP Data received {"connection_id":107318,"ip":"117.225.129.203","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:31] local.INFO: Processing buffer {"connection_id":107318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:05:31] local.INFO: IMEI packet received {"connection_id":107318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":107318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:05:31] local.INFO: TCP Data received {"connection_id":105586,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8cba408012d7d2f8005ec3fc8000800632f..."} 
[2026-06-18 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8cba408012d7d2f8005ec3fc8000800632f..."} 
[2026-06-18 09:05:31] local.INFO: Processing buffer {"connection_id":105586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8cba408012d7d2f8005ec3fc8000800632f..."} 
[2026-06-18 09:05:31] local.INFO: Packet analysis {"connection_id":105586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:31] local.INFO: Extracted packet for processing {"connection_id":105586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763178880,"raw_latitude":99368904,"longitude_deg":76.317888,"latitude_deg":9.9368904,"altitude":8,"angle":99,"satellites":47,"speed":5,"hex_longitude":"2d7d2f80","hex_latitude":"05ec3fc8","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128940032001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93865775814672384,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015925004457355264,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781753685000,"timestamp_ms":1781753685000,"timestamp_seconds":1781753685,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8cba408"} 
[2026-06-18 09:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303158634007893,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3637142456,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":198,"raw_value":58079734643818529,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":216,"raw_value":3401420801,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1439039694,"corrected_to":0} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2550214012,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040085,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3962976256,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:31] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,110,87,24,241,157,16,122,158,66,45,64,60,11,49,10,198,121,23,58,12,232,128,1,240,3,227,216,236,4,113,205,33,146,104,48,239,51,2,77,5,14],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1439039694,"validated":0}]} 
[2026-06-18 09:05:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720669600733069312,"timestamp_seconds":720669600733069.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 09:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105586,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128940032001,"66":13428,"110":206,"87":13824,"24":5,"16":93865775814672384,"45":9015925004457355264},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128940032001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:05:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:05:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93865775814672384,"km_value":93865775814672.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015925004457355264,"description":"Unknown IO ID 45"} 
[2026-06-18 09:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128940032001,"power":13428,"unknown_110":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":9015925004457355264}} 
[2026-06-18 09:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":105586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:05:31] local.INFO: GPS data processed {"connection_id":105586,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:05:31] local.INFO: Acknowledgment sent {"connection_id":105586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:05:32] local.INFO: TCP Data received {"connection_id":107318,"ip":"117.225.129.203","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ca9a68012d45b2800662a3a8000e01482b..."} 
[2026-06-18 09:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ca9a68012d45b2800662a3a8000e01482b..."} 
[2026-06-18 09:05:32] local.INFO: Processing buffer {"connection_id":107318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ca9a68012d45b2800662a3a8000e01482b..."} 
[2026-06-18 09:05:32] local.INFO: Packet analysis {"connection_id":107318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:05:32] local.INFO: Extracted packet for processing {"connection_id":107318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":759542400,"raw_latitude":107127720,"longitude_deg":75.95424,"latitude_deg":10.712772,"altitude":14,"angle":328,"satellites":43,"speed":59,"hex_longitude":"2d45b280","hex_latitude":"0662a3a8","is_valid_coordinates":true} 
[2026-06-18 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128924416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317707466848600064,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5027213480219217920,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781753617000,"timestamp_ms":1781753617000,"timestamp_seconds":1781753617,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ca9a68"} 
[2026-06-18 09:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.129.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128924416001,"66":27745,"25":206,"18":6656,"24":59,"16":317707466848600064,"45":5027213480219217920},"client_ip":"117.225.129.203","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,18,24,16,45]} 
[2026-06-18 09:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128924416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:05:32] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-06-18 09:05:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-06-18 09:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317707466848600064,"km_value":317707466848600.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5027213480219217920,"description":"Unknown IO ID 45"} 
[2026-06-18 09:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128924416001,"power":27745,"unknown_25":206,"unknown_18":6656,"ignition":59,"odometer":null,"unknown_45":5027213480219217920}} 
[2026-06-18 09:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":107318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:05:32] local.INFO: GPS data processed {"connection_id":107318,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:05:32] local.INFO: Acknowledgment sent {"connection_id":107318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:05:35] local.INFO: TCP Data received {"connection_id":107318,"ip":"117.225.129.203","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8cab1d8012d45a0000662c170000e01492a..."} 
[2026-06-18 09:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8cab1d8012d45a0000662c170000e01492a..."} 
[2026-06-18 09:05:35] local.INFO: Processing buffer {"connection_id":107318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8cab1d8012d45a0000662c170000e01492a..."} 
[2026-06-18 09:05:35] local.INFO: Packet analysis {"connection_id":107318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:05:35] local.INFO: Extracted packet for processing {"connection_id":107318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ca"} 
[2026-06-18 09:05:35] local.INFO: GPS Element Parsed {"raw_longitude":759537664,"raw_latitude":107135344,"longitude_deg":75.9537664,"latitude_deg":10.7135344,"altitude":14,"angle":329,"satellites":42,"speed":59,"hex_longitude":"2d45a000","hex_latitude":"0662c170","is_valid_coordinates":true} 
[2026-06-18 09:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128925952001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317707900640296960,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5022217299384576000,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781753623000,"timestamp_ms":1781753623000,"timestamp_seconds":1781753623,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8cab1d8"} 
[2026-06-18 09:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:05: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-06-18 09:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.225.129.203","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128925952001,"66":27647,"224":206,"18":6656,"24":59,"16":317707900640296960,"45":5022217299384576000},"client_ip":"117.225.129.203","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,18,24,16,45]} 
[2026-06-18 09:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128925952001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:05:35] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-06-18 09:05:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-06-18 09:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317707900640296960,"km_value":317707900640296.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5022217299384576000,"description":"Unknown IO ID 45"} 
[2026-06-18 09:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128925952001,"power":27647,"unknown_224":206,"unknown_18":6656,"ignition":59,"odometer":null,"unknown_45":5022217299384576000}} 
[2026-06-18 09:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":107318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:05:35] local.INFO: GPS data processed {"connection_id":107318,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:05:35] local.INFO: Acknowledgment sent {"connection_id":107318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:05:45] local.INFO: TCP Data received {"connection_id":106352,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8cba408012d0b514007060590001500cf24..."} 
[2026-06-18 09:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8cba408012d0b514007060590001500cf24..."} 
[2026-06-18 09:05:45] local.INFO: Processing buffer {"connection_id":106352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8cba408012d0b514007060590001500cf24..."} 
[2026-06-18 09:05:45] local.INFO: Packet analysis {"connection_id":106352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:45] local.INFO: Extracted packet for processing {"connection_id":106352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:45] local.INFO: GPS Element Parsed {"raw_longitude":755716416,"raw_latitude":117835152,"longitude_deg":75.5716416,"latitude_deg":11.7835152,"altitude":21,"angle":207,"satellites":36,"speed":3,"hex_longitude":"2d0b5140","hex_latitude":"07060590","is_valid_coordinates":true} 
[2026-06-18 09:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128941568001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21088693150285824,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815714512673435648,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781753685000,"timestamp_ms":1781753685000,"timestamp_seconds":1781753685,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8cba408"} 
[2026-06-18 09:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:05:45] 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-06-18 09:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 09:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106352,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128941568001,"66":14396,"165":206,"94":10240,"24":3,"16":21088693150285824,"45":815714512673435648},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128941568001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:05:45] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:05:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21088693150285824,"km_value":21088693150285.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":815714512673435648,"description":"Unknown IO ID 45"} 
[2026-06-18 09:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128941568001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":815714512673435648}} 
[2026-06-18 09:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":106352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343450,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:05:46] local.INFO: GPS data processed {"connection_id":106352,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:05:46] local.INFO: Acknowledgment sent {"connection_id":106352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:05:52] local.INFO: TCP Data received {"connection_id":105784,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:05:52] local.INFO: Processing buffer {"connection_id":105784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:05:52] local.INFO: IMEI packet received {"connection_id":105784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":105784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:05:57] local.INFO: TCP Data received {"connection_id":105784,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105784,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:05:57] local.INFO: Processing buffer {"connection_id":105784,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:05:57] local.INFO: IMEI packet received {"connection_id":105784,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":105784,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:05:59] local.INFO: TCP Data received {"connection_id":105784,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8cbc730012d7d394005ec3d48000700762b..."} 
[2026-06-18 09:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8cbc730012d7d394005ec3d48000700762b..."} 
[2026-06-18 09:05:59] local.INFO: Processing buffer {"connection_id":105784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8cbc730012d7d394005ec3d48000700762b..."} 
[2026-06-18 09:05:59] local.INFO: Packet analysis {"connection_id":105784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:59] local.INFO: Extracted packet for processing {"connection_id":105784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cb"} 
[2026-06-18 09:05:59] local.INFO: GPS Element Parsed {"raw_longitude":763181376,"raw_latitude":99368264,"longitude_deg":76.3181376,"latitude_deg":9.9368264,"altitude":7,"angle":118,"satellites":43,"speed":8,"hex_longitude":"2d7d3940","hex_latitude":"05ec3d48","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128943360001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93865900368723968,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020569341573187584,"note":"Value kept but may cause issues"} 
[2026-06-18 09:05: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-06-18 09:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781753694000,"timestamp_ms":1781753694000,"timestamp_seconds":1781753694,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8cbc730"} 
[2026-06-18 09:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-18 09:05:59] 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-06-18 09: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-06-18 09:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":105784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":105784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":105784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128943360001,"66":13189,"110":206,"87":13824,"24":8,"16":93865900368723968,"45":9020569341573187584},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128943360001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:05:59] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:05:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93865900368723968,"km_value":93865900368723.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020569341573187584,"description":"Unknown IO ID 45"} 
[2026-06-18 09:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128943360001,"power":13189,"unknown_110":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9020569341573187584}} 
[2026-06-18 09:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":105784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:05:59] local.INFO: GPS data processed {"connection_id":105784,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:05:59] local.INFO: Acknowledgment sent {"connection_id":105784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:06:09] local.INFO: TCP Data received {"connection_id":105588,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:06:09] local.INFO: Processing buffer {"connection_id":105588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:06:09] local.INFO: IMEI packet received {"connection_id":105588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":105588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:06:14] local.INFO: TCP Data received {"connection_id":105588,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:06:14] local.INFO: Processing buffer {"connection_id":105588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:06:14] local.INFO: IMEI packet received {"connection_id":105588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":105588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:06:15] local.INFO: TCP Data received {"connection_id":105588,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccb960012d0b294007061168001700ce24..."} 
[2026-06-18 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccb960012d0b294007061168001700ce24..."} 
[2026-06-18 09:06:15] local.INFO: Processing buffer {"connection_id":105588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccb960012d0b294007061168001700ce24..."} 
[2026-06-18 09:06:15] local.INFO: Packet analysis {"connection_id":105588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:06:15] local.INFO: Extracted packet for processing {"connection_id":105588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:06:15] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117838184,"longitude_deg":75.5706176,"latitude_deg":11.7838184,"altitude":23,"angle":206,"satellites":36,"speed":2,"hex_longitude":"2d0b2940","hex_latitude":"07061168","is_valid_coordinates":true} 
[2026-06-18 09:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128958464001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21089341690347520,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804596251094085632,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753756000,"timestamp_ms":1781753756000,"timestamp_seconds":1781753756,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccb960"} 
[2026-06-18 09:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 09:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:06: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-06-18 09:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128958464001,"66":14396,"165":206,"94":10240,"24":2,"16":21089341690347520,"45":804596251094085632},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128958464001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:06:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:06:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21089341690347520,"km_value":21089341690347.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":804596251094085632,"description":"Unknown IO ID 45"} 
[2026-06-18 09:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128958464001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":804596251094085632}} 
[2026-06-18 09:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":105588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343452,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:06:15] local.INFO: GPS data processed {"connection_id":105588,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:06:15] local.INFO: Acknowledgment sent {"connection_id":105588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:06:30] local.INFO: TCP Data received {"connection_id":105784,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccb960012d7d368005ec0c18000600e125..."} 
[2026-06-18 09:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccb960012d7d368005ec0c18000600e125..."} 
[2026-06-18 09:06:30] local.INFO: Processing buffer {"connection_id":105784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccb960012d7d368005ec0c18000600e125..."} 
[2026-06-18 09:06:30] local.INFO: Packet analysis {"connection_id":105784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:06:30] local.INFO: Extracted packet for processing {"connection_id":105784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":37,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128956416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328560174352384,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06: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-06-18 09:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781753756000,"timestamp_ms":1781753756000,"timestamp_seconds":1781753756,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccb960"} 
[2026-06-18 09:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:06: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-06-18 09: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-18 09:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105784,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128956416001,"66":12852,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022328560174352384},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128956416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:06:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:06:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328560174352384,"description":"Unknown IO ID 45"} 
[2026-06-18 09:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128956416001,"power":12852,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022328560174352384}} 
[2026-06-18 09:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":105784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:06:30] local.INFO: GPS data processed {"connection_id":105784,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:06:30] local.INFO: Acknowledgment sent {"connection_id":105784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:06:46] local.INFO: TCP Data received {"connection_id":105588,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d0b294007061108001700c124..."} 
[2026-06-18 09:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d0b294007061108001700c124..."} 
[2026-06-18 09:06:46] local.INFO: Processing buffer {"connection_id":105588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d0b294007061108001700c124..."} 
[2026-06-18 09:06:46] local.INFO: Packet analysis {"connection_id":105588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:06:46] local.INFO: Extracted packet for processing {"connection_id":105588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117838088,"longitude_deg":75.5706176,"latitude_deg":11.7838088,"altitude":23,"angle":193,"satellites":36,"speed":3,"hex_longitude":"2d0b2940","hex_latitude":"07061108","is_valid_coordinates":true} 
[2026-06-18 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961536001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21089345985314816,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804244407373096960,"note":"Value kept but may cause issues"} 
[2026-06-18 09:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 09:06:46] 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-06-18 09:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961536001,"66":14461,"165":206,"94":10240,"24":3,"16":21089345985314816,"45":804244407373096960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961536001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:06:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:06:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21089345985314816,"km_value":21089345985314.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":804244407373096960,"description":"Unknown IO ID 45"} 
[2026-06-18 09:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961536001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":804244407373096960}} 
[2026-06-18 09:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":105588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343454,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:06:46] local.INFO: GPS data processed {"connection_id":105588,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:06:46] local.INFO: Acknowledgment sent {"connection_id":105588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:06:57] local.INFO: TCP Data received {"connection_id":106354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:06:57] local.INFO: Processing buffer {"connection_id":106354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:06:57] local.INFO: IMEI packet received {"connection_id":106354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":106354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:07:02] local.INFO: TCP Data received {"connection_id":106354,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:02] local.INFO: Processing buffer {"connection_id":106354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:02] local.INFO: IMEI packet received {"connection_id":106354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":106354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:07:03] local.INFO: TCP Data received {"connection_id":106354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:03] local.INFO: Processing buffer {"connection_id":106354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:03] local.INFO: Packet analysis {"connection_id":106354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:03] local.INFO: Extracted packet for processing {"connection_id":106354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961536001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:07:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 09:07:03] 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-06-18 09: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-06-18 09:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:07:03] 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-06-18 09:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961536001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961536001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:07:03] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:07:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961536001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":106354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:07:03] local.INFO: GPS data processed {"connection_id":106354,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:07:03] local.INFO: Acknowledgment sent {"connection_id":106354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:07:07] local.INFO: TCP Data received {"connection_id":106354,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:07] local.INFO: Processing buffer {"connection_id":106354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:07] local.INFO: Packet analysis {"connection_id":106354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:07] local.INFO: Extracted packet for processing {"connection_id":106354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:07: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-06-18 09:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:07] 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-06-18 09:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:07:07] 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-06-18 09:07:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:07:07] 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-06-18 09:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:07:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:07:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":106354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343456,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:07:07] local.INFO: GPS data processed {"connection_id":106354,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:07:07] local.INFO: Acknowledgment sent {"connection_id":106354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:07:10] local.INFO: TCP Data received {"connection_id":107319,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:10] local.INFO: Processing buffer {"connection_id":107319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:10] local.INFO: IMEI packet received {"connection_id":107319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":107319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:07:14] local.INFO: TCP Data received {"connection_id":107319,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:14] local.INFO: Processing buffer {"connection_id":107319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:14] local.INFO: IMEI packet received {"connection_id":107319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":107319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:07:15] local.INFO: TCP Data received {"connection_id":107319,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107319,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:15] local.INFO: Processing buffer {"connection_id":107319,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:07:15] local.INFO: IMEI packet received {"connection_id":107319,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":107319,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:07:16] local.INFO: TCP Data received {"connection_id":107319,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccc130012d0b294007061088001700b124..."} 
[2026-06-18 09:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccc130012d0b294007061088001700b124..."} 
[2026-06-18 09:07:16] local.INFO: Processing buffer {"connection_id":107319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccc130012d0b294007061088001700b124..."} 
[2026-06-18 09:07:16] local.INFO: Packet analysis {"connection_id":107319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:16] local.INFO: Extracted packet for processing {"connection_id":107319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:16] local.INFO: GPS Element Parsed {"raw_longitude":755706176,"raw_latitude":117837960,"longitude_deg":75.5706176,"latitude_deg":11.783796,"altitude":23,"angle":177,"satellites":36,"speed":4,"hex_longitude":"2d0b2940","hex_latitude":"07061088","is_valid_coordinates":true} 
[2026-06-18 09:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21089350280282112,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804244407373072384,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781753758000,"timestamp_ms":1781753758000,"timestamp_seconds":1781753758,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccc130"} 
[2026-06-18 09:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:07:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:07:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 09:07:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:07:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:07:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":14461,"165":206,"94":10240,"24":4,"16":21089350280282112,"45":804244407373072384},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:07:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:07:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:07:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:07:16] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:07:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:07:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21089350280282112,"km_value":21089350280282.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:07:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":804244407373072384,"description":"Unknown IO ID 45"} 
[2026-06-18 09:07:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":4,"odometer":null,"unknown_45":804244407373072384}} 
[2026-06-18 09:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":107319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343457,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:07:16] local.INFO: GPS data processed {"connection_id":107319,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:07:16] local.INFO: Acknowledgment sent {"connection_id":107319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:07:19] local.INFO: TCP Data received {"connection_id":107319,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccdc88012d0b29c007060670001800c124..."} 
[2026-06-18 09:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccdc88012d0b29c007060670001800c124..."} 
[2026-06-18 09:07:19] local.INFO: Processing buffer {"connection_id":107319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccdc88012d0b29c007060670001800c124..."} 
[2026-06-18 09:07:19] local.INFO: Packet analysis {"connection_id":107319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:19] local.INFO: Extracted packet for processing {"connection_id":107319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:19] local.INFO: GPS Element Parsed {"raw_longitude":755706304,"raw_latitude":117835376,"longitude_deg":75.5706304,"latitude_deg":11.7835376,"altitude":24,"angle":193,"satellites":36,"speed":24,"hex_longitude":"2d0b29c0","hex_latitude":"07060670","is_valid_coordinates":true} 
[2026-06-18 09:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128962048001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21089479129300992,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804244407373039616,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781753765000,"timestamp_ms":1781753765000,"timestamp_seconds":1781753765,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccdc88"} 
[2026-06-18 09:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 09:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":107319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":107319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":107319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128962048001,"66":14428,"165":206,"94":10240,"24":24,"16":21089479129300992,"45":804244407373039616},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128962048001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:07:19] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:07:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21089479129300992,"km_value":21089479129300.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":804244407373039616,"description":"Unknown IO ID 45"} 
[2026-06-18 09:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128962048001,"power":14428,"unknown_165":206,"unknown_94":10240,"ignition":24,"odometer":null,"unknown_45":804244407373039616}} 
[2026-06-18 09:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":107319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343458,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:07:19] local.INFO: GPS data processed {"connection_id":107319,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:07:19] local.INFO: Acknowledgment sent {"connection_id":107319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:07:50] local.INFO: TCP Data received {"connection_id":107319,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ce3c18012d0ae6c0070594380026012e24..."} 
[2026-06-18 09:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ce3c18012d0ae6c0070594380026012e24..."} 
[2026-06-18 09:07:50] local.INFO: Processing buffer {"connection_id":107319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ce3c18012d0ae6c0070594380026012e24..."} 
[2026-06-18 09:07:50] local.INFO: Packet analysis {"connection_id":107319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:07:50] local.INFO: Extracted packet for processing {"connection_id":107319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":755689152,"raw_latitude":117806136,"longitude_deg":75.5689152,"latitude_deg":11.7806136,"altitude":38,"angle":302,"satellites":36,"speed":10,"hex_longitude":"2d0ae6c0","hex_latitude":"07059438","is_valid_coordinates":true} 
[2026-06-18 09:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128986624001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21091545008570368,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785878165134508032,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781753855000,"timestamp_ms":1781753855000,"timestamp_seconds":1781753855,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ce3c18"} 
[2026-06-18 09:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 09:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107319,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128986624001,"66":14494,"165":206,"94":10240,"24":10,"16":21091545008570368,"45":785878165134508032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128986624001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:07:50] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:07:50] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21091545008570368,"km_value":21091545008570.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":785878165134508032,"description":"Unknown IO ID 45"} 
[2026-06-18 09:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128986624001,"power":14494,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":785878165134508032}} 
[2026-06-18 09:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":107319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343459,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:07:50] local.INFO: GPS data processed {"connection_id":107319,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:07:50] local.INFO: Acknowledgment sent {"connection_id":107319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:07:52] local.INFO: TCP Data received {"connection_id":105589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:52] local.INFO: Processing buffer {"connection_id":105589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:52] local.INFO: IMEI packet received {"connection_id":105589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":105589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:07:57] local.INFO: TCP Data received {"connection_id":105589,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:57] local.INFO: Processing buffer {"connection_id":105589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:07:57] local.INFO: IMEI packet received {"connection_id":105589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":105589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:07:58] local.INFO: TCP Data received {"connection_id":105589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:58] local.INFO: Processing buffer {"connection_id":105589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:07:58] local.INFO: Packet analysis {"connection_id":105589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:58] local.INFO: Extracted packet for processing {"connection_id":105589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:07: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-06-18 09:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:07: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-06-18 09:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09: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-06-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:07: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-06-18 09:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:07:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:07:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":105589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:07:58] local.INFO: GPS data processed {"connection_id":105589,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:07:58] local.INFO: Acknowledgment sent {"connection_id":105589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:08:09] local.INFO: TCP Data received {"connection_id":106355,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:08:09] local.INFO: Processing buffer {"connection_id":106355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:08:09] local.INFO: IMEI packet received {"connection_id":106355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":106355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:08:09] local.INFO: TCP Data received {"connection_id":105785,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:08:09] local.INFO: Processing buffer {"connection_id":105785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:08:09] local.INFO: IMEI packet received {"connection_id":105785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":105785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:08:14] local.INFO: TCP Data received {"connection_id":106355,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106355,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:08:14] local.INFO: Processing buffer {"connection_id":106355,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:08:14] local.INFO: IMEI packet received {"connection_id":106355,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":106355,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:08:15] local.INFO: TCP Data received {"connection_id":106355,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ce47d0012d0ae380070595900028011524..."} 
[2026-06-18 09:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ce47d0012d0ae380070595900028011524..."} 
[2026-06-18 09:08:15] local.INFO: Processing buffer {"connection_id":106355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ce47d0012d0ae380070595900028011524..."} 
[2026-06-18 09:08:15] local.INFO: Packet analysis {"connection_id":106355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:08:15] local.INFO: Extracted packet for processing {"connection_id":106355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:08:15] local.INFO: GPS Element Parsed {"raw_longitude":755688320,"raw_latitude":117806480,"longitude_deg":75.568832,"latitude_deg":11.780648,"altitude":40,"angle":277,"satellites":36,"speed":10,"hex_longitude":"2d0ae380","hex_latitude":"07059590","is_valid_coordinates":true} 
[2026-06-18 09:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:08:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128986880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21091587958243328,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785526321413634048,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:08:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753858000,"timestamp_ms":1781753858000,"timestamp_seconds":1781753858,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ce47d0"} 
[2026-06-18 09:08:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:08:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:08:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 09:08:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:08:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:08:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:08:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:08:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:08:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:08:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:08:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:08:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:08:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:08:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128986880001,"66":14407,"165":206,"94":10240,"24":10,"16":21091587958243328,"45":785526321413634048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:08:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:08:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:08:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128986880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:08:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:08:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:08:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21091587958243328,"km_value":21091587958243.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:08:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":785526321413634048,"description":"Unknown IO ID 45"} 
[2026-06-18 09:08:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128986880001,"power":14407,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":785526321413634048}} 
[2026-06-18 09:08:15] local.INFO: DEBUG: GPS processor result {"connection_id":106355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343461,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:08:15] local.INFO: GPS data processed {"connection_id":106355,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:08:15] local.INFO: Acknowledgment sent {"connection_id":106355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:08:29] local.INFO: TCP Data received {"connection_id":105589,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:08:29] local.INFO: Processing buffer {"connection_id":105589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:08:29] local.INFO: Packet analysis {"connection_id":105589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:08:29] local.INFO: Extracted packet for processing {"connection_id":105589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:08: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-06-18 09:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08: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-06-18 09:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 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-06-18 09:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:08:29] 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-06-18 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-06-18 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-06-18 09:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105589,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:08:29] 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-06-18 09:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:08:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:08:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":105589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343462,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:08:29] local.INFO: GPS data processed {"connection_id":105589,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:08:29] local.INFO: Acknowledgment sent {"connection_id":105589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:08:34] local.INFO: TCP Data received {"connection_id":107320,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:08:34] local.INFO: Processing buffer {"connection_id":107320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:08:34] local.INFO: IMEI packet received {"connection_id":107320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":107320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:08:49] local.INFO: TCP Data received {"connection_id":106355,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ce4fa0012d0ae0c0070595400029010424..."} 
[2026-06-18 09:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ce4fa0012d0ae0c0070595400029010424..."} 
[2026-06-18 09:08:49] local.INFO: Processing buffer {"connection_id":106355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ce4fa0012d0ae0c0070595400029010424..."} 
[2026-06-18 09:08:49] local.INFO: Packet analysis {"connection_id":106355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:08:49] local.INFO: Extracted packet for processing {"connection_id":106355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:08:49] local.INFO: GPS Element Parsed {"raw_longitude":755687616,"raw_latitude":117806400,"longitude_deg":75.5687616,"latitude_deg":11.78064,"altitude":41,"angle":260,"satellites":36,"speed":14,"hex_longitude":"2d0ae0c0","hex_latitude":"07059540","is_valid_coordinates":true} 
[2026-06-18 09:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128987648001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21091622317981696,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784611527739412480,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781753860000,"timestamp_ms":1781753860000,"timestamp_seconds":1781753860,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ce4fa0"} 
[2026-06-18 09:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 09:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106355,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128987648001,"66":14450,"165":206,"94":10240,"24":14,"16":21091622317981696,"45":784611527739412480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128987648001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:08:49] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:08:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21091622317981696,"km_value":21091622317981.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":784611527739412480,"description":"Unknown IO ID 45"} 
[2026-06-18 09:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128987648001,"power":14450,"unknown_165":206,"unknown_94":10240,"ignition":14,"odometer":null,"unknown_45":784611527739412480}} 
[2026-06-18 09:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":106355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343463,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:08:50] local.INFO: GPS data processed {"connection_id":106355,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:08:50] local.INFO: Acknowledgment sent {"connection_id":106355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:08:52] local.INFO: TCP Data received {"connection_id":105590,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:08:52] local.INFO: Processing buffer {"connection_id":105590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:08:52] local.INFO: IMEI packet received {"connection_id":105590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":105590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:08:57] local.INFO: TCP Data received {"connection_id":105590,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105590,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:08:57] local.INFO: Processing buffer {"connection_id":105590,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:08:57] local.INFO: IMEI packet received {"connection_id":105590,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":105590,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:08:58] local.INFO: TCP Data received {"connection_id":105590,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:08:58] local.INFO: Processing buffer {"connection_id":105590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:08:58] local.INFO: Packet analysis {"connection_id":105590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:08:58] local.INFO: Extracted packet for processing {"connection_id":105590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:08: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-06-18 09:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:08: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-06-18 09:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09: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-06-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:08: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-06-18 09:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:08:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:08:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":105590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:08:58] local.INFO: GPS data processed {"connection_id":105590,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:08:58] local.INFO: Acknowledgment sent {"connection_id":105590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:09:09] local.INFO: TCP Data received {"connection_id":107321,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:09:09] local.INFO: Processing buffer {"connection_id":107321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:09:09] local.INFO: IMEI packet received {"connection_id":107321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":107321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:09:14] local.INFO: TCP Data received {"connection_id":107321,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107321,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:09:14] local.INFO: Processing buffer {"connection_id":107321,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:09:14] local.INFO: IMEI packet received {"connection_id":107321,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":107321,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:09:15] local.INFO: TCP Data received {"connection_id":107321,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ce95f0012d0abd0007058c300027010524..."} 
[2026-06-18 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ce95f0012d0abd0007058c300027010524..."} 
[2026-06-18 09:09:15] local.INFO: Processing buffer {"connection_id":107321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ce95f0012d0abd0007058c300027010524..."} 
[2026-06-18 09:09:15] local.INFO: Packet analysis {"connection_id":107321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:09:15] local.INFO: Extracted packet for processing {"connection_id":107321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:09:15] local.INFO: GPS Element Parsed {"raw_longitude":755678464,"raw_latitude":117804080,"longitude_deg":75.5678464,"latitude_deg":11.780408,"altitude":39,"angle":261,"satellites":36,"speed":18,"hex_longitude":"2d0abd00","hex_latitude":"07058c30","is_valid_coordinates":true} 
[2026-06-18 09:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128988160001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21092068994580480,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783837471553437696,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753878000,"timestamp_ms":1781753878000,"timestamp_seconds":1781753878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ce95f0"} 
[2026-06-18 09:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 09:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128988160001,"66":14396,"165":206,"94":10240,"24":18,"16":21092068994580480,"45":783837471553437696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128988160001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:09:15] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:09:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21092068994580480,"km_value":21092068994580.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":783837471553437696,"description":"Unknown IO ID 45"} 
[2026-06-18 09:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128988160001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":783837471553437696}} 
[2026-06-18 09:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":107321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343465,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:09:15] local.INFO: GPS data processed {"connection_id":107321,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:09:15] local.INFO: Acknowledgment sent {"connection_id":107321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:09:29] local.INFO: TCP Data received {"connection_id":105590,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:09:29] local.INFO: Processing buffer {"connection_id":105590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:09:29] local.INFO: Packet analysis {"connection_id":105590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:09:29] local.INFO: Extracted packet for processing {"connection_id":105590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:09: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-06-18 09:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09: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-06-18 09:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:09: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-06-18 09:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:09:29] 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-06-18 09:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105590,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:09:29] 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-06-18 09:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:09:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:09:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":105590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:09:29] local.INFO: GPS data processed {"connection_id":105590,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:09:29] local.INFO: Acknowledgment sent {"connection_id":105590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:09:46] local.INFO: TCP Data received {"connection_id":107321,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8cea590012d0ab80007058af8002500f923..."} 
[2026-06-18 09:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8cea590012d0ab80007058af8002500f923..."} 
[2026-06-18 09:09:46] local.INFO: Processing buffer {"connection_id":107321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8cea590012d0ab80007058af8002500f923..."} 
[2026-06-18 09:09:46] local.INFO: Packet analysis {"connection_id":107321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:09:46] local.INFO: Extracted packet for processing {"connection_id":107321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ce"} 
[2026-06-18 09:09:46] local.INFO: GPS Element Parsed {"raw_longitude":755677184,"raw_latitude":117803768,"longitude_deg":75.5677184,"latitude_deg":11.7803768,"altitude":37,"angle":249,"satellites":35,"speed":7,"hex_longitude":"2d0ab800","hex_latitude":"07058af8","is_valid_coordinates":true} 
[2026-06-18 09:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128992768001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21092133419089920,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":773774741135437824,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781753882000,"timestamp_ms":1781753882000,"timestamp_seconds":1781753882,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8cea590"} 
[2026-06-18 09:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:09:46] 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-06-18 09:09:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 09:09:46] 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-06-18 09:09:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107321,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128992768001,"66":14309,"165":206,"94":10240,"24":7,"16":21092133419089920,"45":773774741135437824},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 09:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128992768001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:09:46] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 09:09:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21092133419089920,"km_value":21092133419089.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":773774741135437824,"description":"Unknown IO ID 45"} 
[2026-06-18 09:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128992768001,"power":14309,"unknown_165":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":773774741135437824}} 
[2026-06-18 09:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":107321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343467,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:09:46] local.INFO: GPS data processed {"connection_id":107321,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:09:46] local.INFO: Acknowledgment sent {"connection_id":107321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:09:52] local.INFO: TCP Data received {"connection_id":105786,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:09:52] local.INFO: Processing buffer {"connection_id":105786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:09:52] local.INFO: IMEI packet received {"connection_id":105786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":105786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:09:57] local.INFO: TCP Data received {"connection_id":105786,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:09:57] local.INFO: Processing buffer {"connection_id":105786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:09:57] local.INFO: IMEI packet received {"connection_id":105786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":105786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:09:58] local.INFO: TCP Data received {"connection_id":105786,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:09:58] local.INFO: Processing buffer {"connection_id":105786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:09:58] local.INFO: Packet analysis {"connection_id":105786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:09:58] local.INFO: Extracted packet for processing {"connection_id":105786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:09: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-06-18 09:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:09: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-06-18 09:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09: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-06-18 09:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:09:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:09:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":105786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:09:58] local.INFO: GPS data processed {"connection_id":105786,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:09:58] local.INFO: Acknowledgment sent {"connection_id":105786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:10:09] local.INFO: TCP Data received {"connection_id":107322,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107322,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:09] local.INFO: Processing buffer {"connection_id":107322,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:09] local.INFO: IMEI packet received {"connection_id":107322,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":107322,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:10:12] local.INFO: TCP Data received {"connection_id":107322,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107322,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:12] local.INFO: Processing buffer {"connection_id":107322,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:12] local.INFO: IMEI packet received {"connection_id":107322,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":107322,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:10:14] local.INFO: TCP Data received {"connection_id":107322,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107322,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:14] local.INFO: Processing buffer {"connection_id":107322,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:10:14] local.INFO: IMEI packet received {"connection_id":107322,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:10:14] local.INFO: IMEI acknowledgment sent {"connection_id":107322,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:10:14] local.INFO: TCP Data received {"connection_id":107322,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d04f58012d0a88400705a5400018014a23..."} 
[2026-06-18 09:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d04f58012d0a88400705a5400018014a23..."} 
[2026-06-18 09:10:14] local.INFO: Processing buffer {"connection_id":107322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d04f58012d0a88400705a5400018014a23..."} 
[2026-06-18 09:10:14] local.INFO: Packet analysis {"connection_id":107322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d0"} 
[2026-06-18 09:10:14] local.INFO: Extracted packet for processing {"connection_id":107322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d0"} 
[2026-06-18 09:10:14] local.INFO: GPS Element Parsed {"raw_longitude":755664960,"raw_latitude":117810496,"longitude_deg":75.566496,"latitude_deg":11.7810496,"altitude":24,"angle":330,"satellites":35,"speed":20,"hex_longitude":"2d0a8840","hex_latitude":"0705a540","is_valid_coordinates":true} 
[2026-06-18 09:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129016832001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21092936577974272,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":764556435647885312,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781753991000,"timestamp_ms":1781753991000,"timestamp_seconds":1781753991,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d04f58"} 
[2026-06-18 09:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:10:14] 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-06-18 09:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 09:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129016832001,"66":14374,"153":206,"94":10240,"24":20,"16":21092936577974272,"45":764556435647885312},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129016832001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:10:14] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:10:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21092936577974272,"km_value":21092936577974.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":764556435647885312,"description":"Unknown IO ID 45"} 
[2026-06-18 09:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129016832001,"power":14374,"unknown_153":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":764556435647885312}} 
[2026-06-18 09:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":107322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343469,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:10:14] local.INFO: GPS data processed {"connection_id":107322,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:10:14] local.INFO: Acknowledgment sent {"connection_id":107322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:10:19] local.INFO: TCP Data received {"connection_id":107322,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d05728012d0a86800705a7e00017013824..."} 
[2026-06-18 09:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d05728012d0a86800705a7e00017013824..."} 
[2026-06-18 09:10:19] local.INFO: Processing buffer {"connection_id":107322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d05728012d0a86800705a7e00017013824..."} 
[2026-06-18 09:10:19] local.INFO: Packet analysis {"connection_id":107322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d0"} 
[2026-06-18 09:10:19] local.INFO: Extracted packet for processing {"connection_id":107322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d0"} 
[2026-06-18 09:10:19] local.INFO: GPS Element Parsed {"raw_longitude":755664512,"raw_latitude":117811168,"longitude_deg":75.5664512,"latitude_deg":11.7811168,"altitude":23,"angle":312,"satellites":36,"speed":12,"hex_longitude":"2d0a8680","hex_latitude":"0705a7e0","is_valid_coordinates":true} 
[2026-06-18 09:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129021696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21092975232679936,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758926936115593216,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781753993000,"timestamp_ms":1781753993000,"timestamp_seconds":1781753993,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d05728"} 
[2026-06-18 09:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 09:10:19] 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-06-18 09:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":107322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":107322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":107322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129021696001,"66":13961,"153":206,"94":10240,"24":12,"16":21092975232679936,"45":758926936115593216},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129021696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:10:19] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:10:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21092975232679936,"km_value":21092975232679.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":758926936115593216,"description":"Unknown IO ID 45"} 
[2026-06-18 09:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129021696001,"power":13961,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":758926936115593216}} 
[2026-06-18 09:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":107322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343470,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:10:20] local.INFO: GPS data processed {"connection_id":107322,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:10:20] local.INFO: Acknowledgment sent {"connection_id":107322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:10:30] local.INFO: TCP Data received {"connection_id":105786,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:10:30] local.INFO: Processing buffer {"connection_id":105786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:10:30] local.INFO: Packet analysis {"connection_id":105786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:10:30] local.INFO: Extracted packet for processing {"connection_id":105786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:10: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-06-18 09:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10: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-06-18 09:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:10:30] 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-06-18 09:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:10:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:10:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":105786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343471,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:10:30] local.INFO: GPS data processed {"connection_id":105786,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:10:30] local.INFO: Acknowledgment sent {"connection_id":105786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:10:51] local.INFO: TCP Data received {"connection_id":107322,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d05b10012d0a85400705a8780016012a24..."} 
[2026-06-18 09:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d05b10012d0a85400705a8780016012a24..."} 
[2026-06-18 09:10:51] local.INFO: Processing buffer {"connection_id":107322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d05b10012d0a85400705a8780016012a24..."} 
[2026-06-18 09:10:51] local.INFO: Packet analysis {"connection_id":107322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d0"} 
[2026-06-18 09:10:51] local.INFO: Extracted packet for processing {"connection_id":107322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d0"} 
[2026-06-18 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":755664192,"raw_latitude":117811320,"longitude_deg":75.5664192,"latitude_deg":11.781132,"altitude":22,"angle":298,"satellites":36,"speed":9,"hex_longitude":"2d0a8540","hex_latitude":"0705a878","is_valid_coordinates":true} 
[2026-06-18 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129022208001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21092992412549120,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758434354906521600,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781753994000,"timestamp_ms":1781753994000,"timestamp_seconds":1781753994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d05b10"} 
[2026-06-18 09:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:10:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-18 09:10:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:10:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107322,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129022208001,"66":13961,"153":206,"94":10240,"24":9,"16":21092992412549120,"45":758434354906521600},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129022208001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:10:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:10:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21092992412549120,"km_value":21092992412549.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":758434354906521600,"description":"Unknown IO ID 45"} 
[2026-06-18 09:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129022208001,"power":13961,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":758434354906521600}} 
[2026-06-18 09:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":107322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343472,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:10:51] local.INFO: GPS data processed {"connection_id":107322,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:10:51] local.INFO: Acknowledgment sent {"connection_id":107322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:10:52] local.INFO: TCP Data received {"connection_id":105787,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:10:52] local.INFO: Processing buffer {"connection_id":105787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:10:52] local.INFO: IMEI packet received {"connection_id":105787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":105787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:10:57] local.INFO: TCP Data received {"connection_id":105787,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:10:57] local.INFO: Processing buffer {"connection_id":105787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:10:57] local.INFO: IMEI packet received {"connection_id":105787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":105787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:10:58] local.INFO: TCP Data received {"connection_id":105787,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:10:58] local.INFO: Processing buffer {"connection_id":105787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ccbd48012d7d368005ec0c18000600e126..."} 
[2026-06-18 09:10:58] local.INFO: Packet analysis {"connection_id":105787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:10:58] local.INFO: Extracted packet for processing {"connection_id":105787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8cc"} 
[2026-06-18 09:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763180672,"raw_latitude":99355672,"longitude_deg":76.3180672,"latitude_deg":9.9355672,"altitude":6,"angle":225,"satellites":38,"speed":0,"hex_longitude":"2d7d3680","hex_latitude":"05ec0c18","is_valid_coordinates":true} 
[2026-06-18 09:10: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-06-18 09:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:10: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-06-18 09:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781753757000,"timestamp_ms":1781753757000,"timestamp_seconds":1781753757,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ccbd48"} 
[2026-06-18 09:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:10: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-06-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13135,"110":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 09:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:10:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 09:10:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13135,"unknown_110":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":105787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:10:58] local.INFO: GPS data processed {"connection_id":105787,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:10:58] local.INFO: Acknowledgment sent {"connection_id":105787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:11:09] local.INFO: TCP Data received {"connection_id":105591,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:11:09] local.INFO: Processing buffer {"connection_id":105591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:11:09] local.INFO: IMEI packet received {"connection_id":105591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":105591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:11:14] local.INFO: TCP Data received {"connection_id":105591,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:11:14] local.INFO: Processing buffer {"connection_id":105591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:11:14] local.INFO: IMEI packet received {"connection_id":105591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":105591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:11:15] local.INFO: TCP Data received {"connection_id":105591,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d05ef8012d0a84800705a8b80016011424..."} 
[2026-06-18 09:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d05ef8012d0a84800705a8b80016011424..."} 
[2026-06-18 09:11:15] local.INFO: Processing buffer {"connection_id":105591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d05ef8012d0a84800705a8b80016011424..."} 
[2026-06-18 09:11:15] local.INFO: Packet analysis {"connection_id":105591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d0"} 
[2026-06-18 09:11:15] local.INFO: Extracted packet for processing {"connection_id":105591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d0"} 
[2026-06-18 09:11:15] local.INFO: GPS Element Parsed {"raw_longitude":755664000,"raw_latitude":117811384,"longitude_deg":75.5664,"latitude_deg":11.7811384,"altitude":22,"angle":276,"satellites":36,"speed":9,"hex_longitude":"2d0a8480","hex_latitude":"0705a8b8","is_valid_coordinates":true} 
[2026-06-18 09:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129022464001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21093001002483712,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758082511185672192,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781753995000,"timestamp_ms":1781753995000,"timestamp_seconds":1781753995,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d05ef8"} 
[2026-06-18 09:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:11:15] 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-06-18 09:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-18 09:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129022464001,"66":14450,"153":206,"94":10240,"24":9,"16":21093001002483712,"45":758082511185672192},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129022464001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:11:15] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:11:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21093001002483712,"km_value":21093001002483.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":758082511185672192,"description":"Unknown IO ID 45"} 
[2026-06-18 09:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129022464001,"power":14450,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":758082511185672192}} 
[2026-06-18 09:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":105591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343474,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:11:15] local.INFO: GPS data processed {"connection_id":105591,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:11:15] local.INFO: Acknowledgment sent {"connection_id":105591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:11:29] local.INFO: TCP Data received {"connection_id":105787,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:11:29] local.INFO: Processing buffer {"connection_id":105787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:11:29] local.INFO: Packet analysis {"connection_id":105787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:11:29] local.INFO: Extracted packet for processing {"connection_id":105787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11: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-06-18 09:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:11:29] 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-06-18 09: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-06-18 09:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:11:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:11:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":105787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:11:29] local.INFO: GPS data processed {"connection_id":105787,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:11:29] local.INFO: Acknowledgment sent {"connection_id":105787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:11:46] local.INFO: TCP Data received {"connection_id":105591,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d1ca40012d0a7380070606880014016324..."} 
[2026-06-18 09:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d1ca40012d0a7380070606880014016324..."} 
[2026-06-18 09:11:46] local.INFO: Processing buffer {"connection_id":105591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d1ca40012d0a7380070606880014016324..."} 
[2026-06-18 09:11:46] local.INFO: Packet analysis {"connection_id":105591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:11:46] local.INFO: Extracted packet for processing {"connection_id":105591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:11:46] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835400,"longitude_deg":75.5659648,"latitude_deg":11.78354,"altitude":20,"angle":355,"satellites":36,"speed":1,"hex_longitude":"2d0a7380","hex_latitude":"07060688","is_valid_coordinates":true} 
[2026-06-18 09:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129044224001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21094250837966848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355101696,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781754088000,"timestamp_ms":1781754088000,"timestamp_seconds":1781754088,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d1ca40"} 
[2026-06-18 09:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 09:11:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129044224001,"66":14537,"153":206,"94":10240,"24":1,"16":21094250837966848,"45":753086330355101696},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129044224001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:11:46] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:11:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21094250837966848,"km_value":21094250837966.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355101696,"description":"Unknown IO ID 45"} 
[2026-06-18 09:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129044224001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":1,"odometer":null,"unknown_45":753086330355101696}} 
[2026-06-18 09:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":105591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343476,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:11:46] local.INFO: GPS data processed {"connection_id":105591,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:11:46] local.INFO: Acknowledgment sent {"connection_id":105591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:11:52] local.INFO: TCP Data received {"connection_id":105592,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:11:52] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:11:52] local.INFO: IMEI packet received {"connection_id":105592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":105592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:11:57] local.INFO: TCP Data received {"connection_id":105592,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:11:57] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:11:57] local.INFO: IMEI packet received {"connection_id":105592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":105592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:11:58] local.INFO: TCP Data received {"connection_id":105592,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:11:58] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:11:58] local.INFO: Packet analysis {"connection_id":105592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:11:58] local.INFO: Extracted packet for processing {"connection_id":105592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 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-06-18 09: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-06-18 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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:11:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:11:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":105592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:11:58] local.INFO: GPS data processed {"connection_id":105592,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:11:58] local.INFO: Acknowledgment sent {"connection_id":105592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:12:09] local.INFO: TCP Data received {"connection_id":107324,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:09] local.INFO: Processing buffer {"connection_id":107324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:09] local.INFO: IMEI packet received {"connection_id":107324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":107324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:12:11] local.INFO: TCP Data received {"connection_id":107324,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:11] local.INFO: Processing buffer {"connection_id":107324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:11] local.INFO: IMEI packet received {"connection_id":107324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":107324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:12:15] local.INFO: TCP Data received {"connection_id":107324,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107324,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:15] local.INFO: Processing buffer {"connection_id":107324,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:12:15] local.INFO: IMEI packet received {"connection_id":107324,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":107324,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:12:16] local.INFO: TCP Data received {"connection_id":107324,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d1e598012d0a7380070605f8001500b824..."} 
[2026-06-18 09:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d1e598012d0a7380070605f8001500b824..."} 
[2026-06-18 09:12:16] local.INFO: Processing buffer {"connection_id":107324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d1e598012d0a7380070605f8001500b824..."} 
[2026-06-18 09:12:16] local.INFO: Packet analysis {"connection_id":107324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:12:16] local.INFO: Extracted packet for processing {"connection_id":107324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:12:16] local.INFO: GPS Element Parsed {"raw_longitude":755659648,"raw_latitude":117835256,"longitude_deg":75.5659648,"latitude_deg":11.7835256,"altitude":21,"angle":184,"satellites":36,"speed":2,"hex_longitude":"2d0a7380","hex_latitude":"070605f8","is_valid_coordinates":true} 
[2026-06-18 09:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129046528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21094259427901440,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355222528,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781754095000,"timestamp_ms":1781754095000,"timestamp_seconds":1781754095,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d1e598"} 
[2026-06-18 09:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:12:16] 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-06-18 09:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 09:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129046528001,"66":14537,"153":206,"94":10240,"24":2,"16":21094259427901440,"45":753086330355222528},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129046528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:12:16] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:12:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21094259427901440,"km_value":21094259427901.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355222528,"description":"Unknown IO ID 45"} 
[2026-06-18 09:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129046528001,"power":14537,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753086330355222528}} 
[2026-06-18 09:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":107324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343478,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:12:16] local.INFO: GPS data processed {"connection_id":107324,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:12:16] local.INFO: Acknowledgment sent {"connection_id":107324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:12:30] local.INFO: TCP Data received {"connection_id":105592,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:12:30] local.INFO: Processing buffer {"connection_id":105592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:12:30] local.INFO: Packet analysis {"connection_id":105592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:12:30] local.INFO: Extracted packet for processing {"connection_id":105592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24320,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:12:30] 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-06-18 09:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:12:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:12:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":105592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:12:30] local.INFO: GPS data processed {"connection_id":105592,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:12:30] local.INFO: Acknowledgment sent {"connection_id":105592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:12:49] local.INFO: TCP Data received {"connection_id":107324,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d204d8012d0a740007060420001600aa24..."} 
[2026-06-18 09:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d204d8012d0a740007060420001600aa24..."} 
[2026-06-18 09:12:49] local.INFO: Processing buffer {"connection_id":107324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d204d8012d0a740007060420001600aa24..."} 
[2026-06-18 09:12:49] local.INFO: Packet analysis {"connection_id":107324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d2"} 
[2026-06-18 09:12:49] local.INFO: Extracted packet for processing {"connection_id":107324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d2"} 
[2026-06-18 09:12:49] local.INFO: GPS Element Parsed {"raw_longitude":755659776,"raw_latitude":117834784,"longitude_deg":75.5659776,"latitude_deg":11.7834784,"altitude":22,"angle":170,"satellites":36,"speed":2,"hex_longitude":"2d0a7400","hex_latitude":"07060420","is_valid_coordinates":true} 
[2026-06-18 09:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129048320001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21094285197705216,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753086330355185664,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781754103000,"timestamp_ms":1781754103000,"timestamp_seconds":1781754103,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d204d8"} 
[2026-06-18 09:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 09:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107324,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129048320001,"66":14580,"153":206,"94":10240,"24":2,"16":21094285197705216,"45":753086330355185664},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129048320001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:12:49] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:12:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21094285197705216,"km_value":21094285197705.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":753086330355185664,"description":"Unknown IO ID 45"} 
[2026-06-18 09:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129048320001,"power":14580,"unknown_153":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":753086330355185664}} 
[2026-06-18 09:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":107324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343480,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:12:49] local.INFO: GPS data processed {"connection_id":107324,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:12:49] local.INFO: Acknowledgment sent {"connection_id":107324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:12:52] local.INFO: TCP Data received {"connection_id":107325,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:12:52] local.INFO: Processing buffer {"connection_id":107325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:12:52] local.INFO: IMEI packet received {"connection_id":107325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":107325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:12:57] local.INFO: TCP Data received {"connection_id":107325,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107325,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:12:57] local.INFO: Processing buffer {"connection_id":107325,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:12:57] local.INFO: IMEI packet received {"connection_id":107325,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":107325,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:12:58] local.INFO: TCP Data received {"connection_id":107325,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:12:58] local.INFO: Processing buffer {"connection_id":107325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:12:58] local.INFO: Packet analysis {"connection_id":107325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:12:58] local.INFO: Extracted packet for processing {"connection_id":107325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:12:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:12: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-06-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:12:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:12:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":107325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:12:58] local.INFO: GPS data processed {"connection_id":107325,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:12:58] local.INFO: Acknowledgment sent {"connection_id":107325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:13:14] local.INFO: TCP Data received {"connection_id":105788,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:13:14] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:13:14] local.INFO: IMEI packet received {"connection_id":105788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":105788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:13:16] local.INFO: TCP Data received {"connection_id":105788,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:13:16] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:13:16] local.INFO: IMEI packet received {"connection_id":105788,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":105788,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:13:17] local.INFO: TCP Data received {"connection_id":105788,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d33970012d0a75800705e468001600c824..."} 
[2026-06-18 09:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d33970012d0a75800705e468001600c824..."} 
[2026-06-18 09:13:17] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d33970012d0a75800705e468001600c824..."} 
[2026-06-18 09:13:17] local.INFO: Packet analysis {"connection_id":105788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:13:17] local.INFO: Extracted packet for processing {"connection_id":105788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:13:17] local.INFO: GPS Element Parsed {"raw_longitude":755660160,"raw_latitude":117826664,"longitude_deg":75.566016,"latitude_deg":11.7826664,"altitude":22,"angle":200,"satellites":36,"speed":15,"hex_longitude":"2d0a7580","hex_latitude":"0705e468","is_valid_coordinates":true} 
[2026-06-18 09:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129065472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21094736169271296,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542820014080,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781754182000,"timestamp_ms":1781754182000,"timestamp_seconds":1781754182,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d33970"} 
[2026-06-18 09:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 09:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":105788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":105788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":105788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129065472001,"66":14461,"153":206,"94":10240,"24":15,"16":21094736169271296,"45":753508542820014080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129065472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:13:17] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:13:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21094736169271296,"km_value":21094736169271.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542820014080,"description":"Unknown IO ID 45"} 
[2026-06-18 09:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129065472001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":753508542820014080}} 
[2026-06-18 09:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":105788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343482,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:13:17] local.INFO: GPS data processed {"connection_id":105788,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:13:17] local.INFO: Acknowledgment sent {"connection_id":105788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:13:19] local.INFO: TCP Data received {"connection_id":105788,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d33d58012d0a75000705e318001600d424..."} 
[2026-06-18 09:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d33d58012d0a75000705e318001600d424..."} 
[2026-06-18 09:13:19] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d33d58012d0a75000705e318001600d424..."} 
[2026-06-18 09:13:19] local.INFO: Packet analysis {"connection_id":105788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:13:19] local.INFO: Extracted packet for processing {"connection_id":105788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":755660032,"raw_latitude":117826328,"longitude_deg":75.5660032,"latitude_deg":11.7826328,"altitude":22,"angle":212,"satellites":36,"speed":12,"hex_longitude":"2d0a7500","hex_latitude":"0705e318","is_valid_coordinates":true} 
[2026-06-18 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129070592001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21094753349140480,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753649280306407424,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781754183000,"timestamp_ms":1781754183000,"timestamp_seconds":1781754183,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d33d58"} 
[2026-06-18 09:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 09:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":105788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":105788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":105788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129070592001,"66":14396,"153":206,"94":10240,"24":12,"16":21094753349140480,"45":753649280306407424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129070592001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:13:19] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:13:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21094753349140480,"km_value":21094753349140.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":753649280306407424,"description":"Unknown IO ID 45"} 
[2026-06-18 09:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129070592001,"power":14396,"unknown_153":206,"unknown_94":10240,"ignition":12,"odometer":null,"unknown_45":753649280306407424}} 
[2026-06-18 09:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":105788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343483,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:13:20] local.INFO: GPS data processed {"connection_id":105788,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:13:20] local.INFO: Acknowledgment sent {"connection_id":105788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:13:29] local.INFO: TCP Data received {"connection_id":107325,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:13:29] local.INFO: Processing buffer {"connection_id":107325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:13:29] local.INFO: Packet analysis {"connection_id":107325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:13:29] local.INFO: Extracted packet for processing {"connection_id":107325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:13:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13: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-06-18 09:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:13: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-06-18 09:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:13:29] 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-06-18 09:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107325,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:13:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:13:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":107325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:13:29] local.INFO: GPS data processed {"connection_id":107325,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:13:29] local.INFO: Acknowledgment sent {"connection_id":107325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:13:51] local.INFO: TCP Data received {"connection_id":105788,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d34910012d0a73400705df88001600b724..."} 
[2026-06-18 09:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d34910012d0a73400705df88001600b724..."} 
[2026-06-18 09:13:51] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d34910012d0a73400705df88001600b724..."} 
[2026-06-18 09:13:51] local.INFO: Packet analysis {"connection_id":105788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:13:51] local.INFO: Extracted packet for processing {"connection_id":105788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:13:51] local.INFO: GPS Element Parsed {"raw_longitude":755659584,"raw_latitude":117825416,"longitude_deg":75.5659584,"latitude_deg":11.7825416,"altitude":22,"angle":183,"satellites":36,"speed":13,"hex_longitude":"2d0a7340","hex_latitude":"0705df88","is_valid_coordinates":true} 
[2026-06-18 09:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129070848001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21094804888748032,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753508542817966080,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781754186000,"timestamp_ms":1781754186000,"timestamp_seconds":1781754186,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d34910"} 
[2026-06-18 09:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:13: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-06-18 09:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 09:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105788,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129070848001,"66":14439,"153":206,"94":10240,"24":13,"16":21094804888748032,"45":753508542817966080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129070848001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:13:51] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:13:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21094804888748032,"km_value":21094804888748.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":753508542817966080,"description":"Unknown IO ID 45"} 
[2026-06-18 09:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129070848001,"power":14439,"unknown_153":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":753508542817966080}} 
[2026-06-18 09:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":105788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343485,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:13:51] local.INFO: GPS data processed {"connection_id":105788,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:13:51] local.INFO: Acknowledgment sent {"connection_id":105788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:13:52] local.INFO: TCP Data received {"connection_id":107326,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:13:52] local.INFO: Processing buffer {"connection_id":107326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:13:52] local.INFO: IMEI packet received {"connection_id":107326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":107326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:13:57] local.INFO: TCP Data received {"connection_id":107326,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107326,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:13:57] local.INFO: Processing buffer {"connection_id":107326,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:13:57] local.INFO: IMEI packet received {"connection_id":107326,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":107326,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:13:58] local.INFO: TCP Data received {"connection_id":107326,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:13:58] local.INFO: Processing buffer {"connection_id":107326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:13:58] local.INFO: Packet analysis {"connection_id":107326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:13:58] local.INFO: Extracted packet for processing {"connection_id":107326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:13: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-06-18 09:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:13:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:13:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":107326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343486,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:13:58] local.INFO: GPS data processed {"connection_id":107326,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:13:58] local.INFO: Acknowledgment sent {"connection_id":107326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:14:09] local.INFO: TCP Data received {"connection_id":105593,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:14:09] local.INFO: Processing buffer {"connection_id":105593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:14:09] local.INFO: IMEI packet received {"connection_id":105593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":105593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:14:12] local.INFO: TCP Data received {"connection_id":105593,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105593,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:14:12] local.INFO: Processing buffer {"connection_id":105593,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:14:12] local.INFO: IMEI packet received {"connection_id":105593,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":105593,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:14:13] local.INFO: TCP Data received {"connection_id":105593,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d36850012d0a74400705d0d8001600a924..."} 
[2026-06-18 09:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d36850012d0a74400705d0d8001600a924..."} 
[2026-06-18 09:14:13] local.INFO: Processing buffer {"connection_id":105593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d36850012d0a74400705d0d8001600a924..."} 
[2026-06-18 09:14:13] local.INFO: Packet analysis {"connection_id":105593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:14:13] local.INFO: Extracted packet for processing {"connection_id":105593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:14:13] local.INFO: GPS Element Parsed {"raw_longitude":755659840,"raw_latitude":117821656,"longitude_deg":75.565984,"latitude_deg":11.7821656,"altitude":22,"angle":169,"satellites":36,"speed":21,"hex_longitude":"2d0a7440","hex_latitude":"0705d0d8","is_valid_coordinates":true} 
[2026-06-18 09:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129071616001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21094985277374464,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753015961608488960,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781754194000,"timestamp_ms":1781754194000,"timestamp_seconds":1781754194,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d36850"} 
[2026-06-18 09:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:14: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-06-18 09:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129071616001,"66":14461,"153":206,"94":10240,"24":21,"16":21094985277374464,"45":753015961608488960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129071616001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:14:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:14:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21094985277374464,"km_value":21094985277374.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":753015961608488960,"description":"Unknown IO ID 45"} 
[2026-06-18 09:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129071616001,"power":14461,"unknown_153":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":753015961608488960}} 
[2026-06-18 09:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":105593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343487,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:14:13] local.INFO: GPS data processed {"connection_id":105593,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:14:13] local.INFO: Acknowledgment sent {"connection_id":105593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:14:29] local.INFO: TCP Data received {"connection_id":107326,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:14:29] local.INFO: Processing buffer {"connection_id":107326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:14:29] local.INFO: Packet analysis {"connection_id":107326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:14:29] local.INFO: Extracted packet for processing {"connection_id":107326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14: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-06-18 09:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:14: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-06-18 09:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:14:29] 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-06-18 09:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107326,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:14:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:14:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:14:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":107326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:14:29] local.INFO: GPS data processed {"connection_id":107326,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:14:29] local.INFO: Acknowledgment sent {"connection_id":107326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:14:34] local.INFO: TCP Data received {"connection_id":105789,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:14:34] local.INFO: Processing buffer {"connection_id":105789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:14:34] local.INFO: IMEI packet received {"connection_id":105789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":105789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:14:44] local.INFO: TCP Data received {"connection_id":105593,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d3a2e8012d0a79800705bce00014009d24..."} 
[2026-06-18 09:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d3a2e8012d0a79800705bce00014009d24..."} 
[2026-06-18 09:14:44] local.INFO: Processing buffer {"connection_id":105593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d3a2e8012d0a79800705bce00014009d24..."} 
[2026-06-18 09:14:44] local.INFO: Packet analysis {"connection_id":105593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:14:44] local.INFO: Extracted packet for processing {"connection_id":105593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d3"} 
[2026-06-18 09:14:44] local.INFO: GPS Element Parsed {"raw_longitude":755661184,"raw_latitude":117816544,"longitude_deg":75.5661184,"latitude_deg":11.7816544,"altitude":20,"angle":157,"satellites":36,"speed":9,"hex_longitude":"2d0a7980","hex_latitude":"0705bce0","is_valid_coordinates":true} 
[2026-06-18 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129073664001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21095242975412224,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753297436584237056,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781754209000,"timestamp_ms":1781754209000,"timestamp_seconds":1781754209,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d3a2e8"} 
[2026-06-18 09:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:14: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-06-18 09:14:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 09:14:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:14:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105593,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129073664001,"66":14363,"153":206,"94":10240,"24":9,"16":21095242975412224,"45":753297436584237056},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,94,24,16,45]} 
[2026-06-18 09:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129073664001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:14:44] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 09:14:44] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21095242975412224,"km_value":21095242975412.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":753297436584237056,"description":"Unknown IO ID 45"} 
[2026-06-18 09:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129073664001,"power":14363,"unknown_153":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":753297436584237056}} 
[2026-06-18 09:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":105593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343489,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:14:45] local.INFO: GPS data processed {"connection_id":105593,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:14:45] local.INFO: Acknowledgment sent {"connection_id":105593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:14:52] local.INFO: TCP Data received {"connection_id":105790,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:14:52] local.INFO: Processing buffer {"connection_id":105790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:14:52] local.INFO: IMEI packet received {"connection_id":105790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":105790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:14:57] local.INFO: TCP Data received {"connection_id":105790,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105790,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:14:57] local.INFO: Processing buffer {"connection_id":105790,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:14:57] local.INFO: IMEI packet received {"connection_id":105790,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":105790,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:14:58] local.INFO: TCP Data received {"connection_id":105790,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:14:58] local.INFO: Processing buffer {"connection_id":105790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:14:58] local.INFO: Packet analysis {"connection_id":105790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:14:58] local.INFO: Extracted packet for processing {"connection_id":105790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:14:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:14: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-06-18 09:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:14:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:14:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":105790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343490,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:14:58] local.INFO: GPS data processed {"connection_id":105790,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:14:58] local.INFO: Acknowledgment sent {"connection_id":105790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:15:08] local.INFO: TCP Data received {"connection_id":107327,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:15:08] local.INFO: Processing buffer {"connection_id":107327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:15:08] local.INFO: IMEI packet received {"connection_id":107327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":107327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:15:14] local.INFO: TCP Data received {"connection_id":107327,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107327,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:15:14] local.INFO: Processing buffer {"connection_id":107327,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:15:14] local.INFO: IMEI packet received {"connection_id":107327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":107327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:15:15] local.INFO: TCP Data received {"connection_id":107327,"ip":"42.106.6.26","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 09:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107327,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 09:15:15] local.INFO: Processing buffer {"connection_id":107327,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 09:15:15] local.INFO: IMEI packet received {"connection_id":107327,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":107327,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:15:29] local.INFO: TCP Data received {"connection_id":105790,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:15:29] local.INFO: Processing buffer {"connection_id":105790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:15:29] local.INFO: Packet analysis {"connection_id":105790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:15:29] local.INFO: Extracted packet for processing {"connection_id":105790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:15: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-06-18 09:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:15: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-06-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:15:29] 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-06-18 09: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-06-18 09:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105790,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:15:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:15:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":105790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343491,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:15:29] local.INFO: GPS data processed {"connection_id":105790,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:15:29] local.INFO: Acknowledgment sent {"connection_id":105790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:15:52] local.INFO: TCP Data received {"connection_id":106360,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:15:52] local.INFO: Processing buffer {"connection_id":106360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:15:52] local.INFO: IMEI packet received {"connection_id":106360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":106360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:15:57] local.INFO: TCP Data received {"connection_id":106360,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:15:57] local.INFO: Processing buffer {"connection_id":106360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:15:57] local.INFO: IMEI packet received {"connection_id":106360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":106360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:15:58] local.INFO: TCP Data received {"connection_id":106360,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:15:58] local.INFO: Processing buffer {"connection_id":106360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d15ce0012d7d370005ec0c20000000e12b..."} 
[2026-06-18 09:15:58] local.INFO: Packet analysis {"connection_id":106360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:15:58] local.INFO: Extracted packet for processing {"connection_id":106360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d1"} 
[2026-06-18 09:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":43,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128961792001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539666406774784,"note":"Value kept but may cause issues"} 
[2026-06-18 09:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754060000,"timestamp_ms":1781754060000,"timestamp_seconds":1781754060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d15ce0"} 
[2026-06-18 09:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:15: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-06-18 09: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 09:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128961792001,"66":13048,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022539666406774784},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128961792001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:15:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:15:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539666406774784,"description":"Unknown IO ID 45"} 
[2026-06-18 09:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128961792001,"power":13048,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022539666406774784}} 
[2026-06-18 09:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":106360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:15:58] local.INFO: GPS data processed {"connection_id":106360,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:15:58] local.INFO: Acknowledgment sent {"connection_id":106360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:16:29] local.INFO: TCP Data received {"connection_id":106360,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5dd38012d7d370005ec0c20000000e128..."} 
[2026-06-18 09:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5dd38012d7d370005ec0c20000000e128..."} 
[2026-06-18 09:16:29] local.INFO: Processing buffer {"connection_id":106360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5dd38012d7d370005ec0c20000000e128..."} 
[2026-06-18 09:16:29] local.INFO: Packet analysis {"connection_id":106360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:16:29] local.INFO: Extracted packet for processing {"connection_id":106360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129039360001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:16: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-06-18 09:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754355000,"timestamp_ms":1781754355000,"timestamp_seconds":1781754355,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5dd38"} 
[2026-06-18 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-06-18 09:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 09:16: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-06-18 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-06-18 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-06-18 09:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129039360001,"66":12841,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129039360001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:16:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:16:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129039360001,"power":12841,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":106360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:16:29] local.INFO: GPS data processed {"connection_id":106360,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:16:29] local.INFO: Acknowledgment sent {"connection_id":106360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:16:52] local.INFO: TCP Data received {"connection_id":105793,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:16:52] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:16:52] local.INFO: IMEI packet received {"connection_id":105793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":105793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:16:57] local.INFO: TCP Data received {"connection_id":105793,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:16:57] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:16:57] local.INFO: IMEI packet received {"connection_id":105793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":105793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:16:58] local.INFO: TCP Data received {"connection_id":105793,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5dd38012d7d370005ec0c20000000e128..."} 
[2026-06-18 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5dd38012d7d370005ec0c20000000e128..."} 
[2026-06-18 09:16:58] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5dd38012d7d370005ec0c20000000e128..."} 
[2026-06-18 09:16:58] local.INFO: Packet analysis {"connection_id":105793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:16:58] local.INFO: Extracted packet for processing {"connection_id":105793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":40,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754355000,"timestamp_ms":1781754355000,"timestamp_seconds":1781754355,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5dd38"} 
[2026-06-18 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-06-18 09: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-06-18 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:16: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-06-18 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-06-18 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-06-18 09:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":12841,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:16:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:16:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":12841,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":105793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343494,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:16:58] local.INFO: GPS data processed {"connection_id":105793,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:16:58] local.INFO: Acknowledgment sent {"connection_id":105793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:17:02] local.INFO: TCP Data received {"connection_id":105793,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:02] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:02] local.INFO: Packet analysis {"connection_id":105793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:17:02] local.INFO: Extracted packet for processing {"connection_id":105793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17: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-06-18 09:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 09:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:17:02] 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-06-18 09:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:17:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:17:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":105793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:17:02] local.INFO: GPS data processed {"connection_id":105793,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:17:02] local.INFO: Acknowledgment sent {"connection_id":105793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:17:34] local.INFO: TCP Data received {"connection_id":105793,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:34] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:34] local.INFO: Packet analysis {"connection_id":105793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:17:34] local.INFO: Extracted packet for processing {"connection_id":105793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:17:34] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 09:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:17:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:17: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-06-18 09:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:17:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:17:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:17:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":105793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:17:34] local.INFO: GPS data processed {"connection_id":105793,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:17:34] local.INFO: Acknowledgment sent {"connection_id":105793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:17:38] local.INFO: TCP Data received {"connection_id":107329,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:38] local.INFO: Processing buffer {"connection_id":107329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:38] local.INFO: IMEI packet received {"connection_id":107329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":107329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:17:40] local.INFO: TCP Data received {"connection_id":107329,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:40] local.INFO: Processing buffer {"connection_id":107329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:40] local.INFO: IMEI packet received {"connection_id":107329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":107329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:17:44] local.INFO: TCP Data received {"connection_id":107329,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:44] local.INFO: Processing buffer {"connection_id":107329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:17:44] local.INFO: IMEI packet received {"connection_id":107329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":107329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:17:45] local.INFO: TCP Data received {"connection_id":107329,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f890012d46bec006704fb0000e00242f..."} 
[2026-06-18 09:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f890012d46bec006704fb0000e00242f..."} 
[2026-06-18 09:17:45] local.INFO: Processing buffer {"connection_id":107329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f890012d46bec006704fb0000e00242f..."} 
[2026-06-18 09:17:45] local.INFO: Packet analysis {"connection_id":107329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:17:45] local.INFO: Extracted packet for processing {"connection_id":107329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:17:45] local.INFO: GPS Element Parsed {"raw_longitude":759611072,"raw_latitude":108023728,"longitude_deg":75.9611072,"latitude_deg":10.8023728,"altitude":14,"angle":36,"satellites":47,"speed":60,"hex_longitude":"2d46bec0","hex_latitude":"06704fb0","is_valid_coordinates":true} 
[2026-06-18 09:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129115136001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317760891946795008,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5091811987603808256,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781754362000,"timestamp_ms":1781754362000,"timestamp_seconds":1781754362,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f890"} 
[2026-06-18 09:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 09:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129115136001,"66":27767,"195":206,"80":60160,"24":60,"16":317760891946795008,"45":5091811987603808256},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,80,24,16,45]} 
[2026-06-18 09:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129115136001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:17:45] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-18 09:17:45] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317760891946795008,"km_value":317760891946795.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5091811987603808256,"description":"Unknown IO ID 45"} 
[2026-06-18 09:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129115136001,"power":27767,"unknown_195":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5091811987603808256}} 
[2026-06-18 09:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":107329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:17:45] local.INFO: GPS data processed {"connection_id":107329,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:17:45] local.INFO: Acknowledgment sent {"connection_id":107329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:17:52] local.INFO: TCP Data received {"connection_id":105596,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:17:52] local.INFO: Processing buffer {"connection_id":105596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:17:52] local.INFO: IMEI packet received {"connection_id":105596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":105596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:17:57] local.INFO: TCP Data received {"connection_id":105596,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105596,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:17:57] local.INFO: Processing buffer {"connection_id":105596,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:17:57] local.INFO: IMEI packet received {"connection_id":105596,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":105596,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:17:58] local.INFO: TCP Data received {"connection_id":105596,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:58] local.INFO: Processing buffer {"connection_id":105596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:17:58] local.INFO: Packet analysis {"connection_id":105596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:17:58] local.INFO: Extracted packet for processing {"connection_id":105596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 09:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:17: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-06-18 09: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-06-18 09: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-06-18 09: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-06-18 09:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:17:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:17:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":105596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343498,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:17:58] local.INFO: GPS data processed {"connection_id":105596,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:17:58] local.INFO: Acknowledgment sent {"connection_id":105596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:18:25] local.INFO: TCP Data received {"connection_id":105795,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:18:25] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:18:25] local.INFO: IMEI packet received {"connection_id":105795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":105795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:18:28] local.INFO: TCP Data received {"connection_id":105795,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:18:28] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:18:28] local.INFO: IMEI packet received {"connection_id":105795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":105795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:18:29] local.INFO: TCP Data received {"connection_id":105795,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d72170012d47e48006719b48000d002a2e..."} 
[2026-06-18 09:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d72170012d47e48006719b48000d002a2e..."} 
[2026-06-18 09:18:29] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d72170012d47e48006719b48000d002a2e..."} 
[2026-06-18 09:18:29] local.INFO: Packet analysis {"connection_id":105795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d7"} 
[2026-06-18 09:18:29] local.INFO: Extracted packet for processing {"connection_id":105795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d7"} 
[2026-06-18 09:18:29] local.INFO: GPS Element Parsed {"raw_longitude":759686272,"raw_latitude":108108616,"longitude_deg":75.9686272,"latitude_deg":10.8108616,"altitude":13,"angle":42,"satellites":46,"speed":59,"hex_longitude":"2d47e480","hex_latitude":"06719b48","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129134592001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317766355145195520,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5173650837104338944,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:29] 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-06-18 09:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754438000,"timestamp_ms":1781754438000,"timestamp_seconds":1781754438,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d72170"} 
[2026-06-18 09:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:18: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-06-18 09: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 09:18: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-06-18 09: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-06-18 09:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:18:29] 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-06-18 09:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129134592001,"66":27821,"249":206,"80":60160,"24":59,"16":317766355145195520,"45":5173650837104338944},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-06-18 09:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129134592001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:18:29] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 09:18:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317766355145195520,"km_value":317766355145195.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5173650837104338944,"description":"Unknown IO ID 45"} 
[2026-06-18 09:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129134592001,"power":27821,"unknown_249":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5173650837104338944}} 
[2026-06-18 09:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":105795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:18:29] local.INFO: GPS data processed {"connection_id":105795,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:18:29] local.INFO: Acknowledgment sent {"connection_id":105795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:18:30] local.INFO: TCP Data received {"connection_id":105596,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:18:30] local.INFO: Processing buffer {"connection_id":105596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:18:30] local.INFO: Packet analysis {"connection_id":105596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:18:30] local.INFO: Extracted packet for processing {"connection_id":105596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 09:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105596,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:18:30] 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-06-18 09:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:18:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:18:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":105596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:18:30] local.INFO: GPS data processed {"connection_id":105596,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:18:30] local.INFO: Acknowledgment sent {"connection_id":105596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:18:52] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:18:52] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:18:52] local.INFO: IMEI packet received {"connection_id":106361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":106361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:18:57] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:18:57] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:18:57] local.INFO: IMEI packet received {"connection_id":106361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":106361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:18:58] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:18:58] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:18:58] local.INFO: Packet analysis {"connection_id":106361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:18:58] local.INFO: Extracted packet for processing {"connection_id":106361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 09:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09: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-06-18 09:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:18: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-06-18 09: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-06-18 09:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:18:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:18:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":106361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:18:58] local.INFO: GPS data processed {"connection_id":106361,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:18:58] local.INFO: Acknowledgment sent {"connection_id":106361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:19:00] local.INFO: TCP Data received {"connection_id":105795,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d738e0012d47fc400671b4f0000d002b2e..."} 
[2026-06-18 09:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d738e0012d47fc400671b4f0000d002b2e..."} 
[2026-06-18 09:19:00] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d738e0012d47fc400671b4f0000d002b2e..."} 
[2026-06-18 09:19:00] local.INFO: Packet analysis {"connection_id":105795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d7"} 
[2026-06-18 09:19:00] local.INFO: Extracted packet for processing {"connection_id":105795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d7"} 
[2026-06-18 09:19:00] local.INFO: GPS Element Parsed {"raw_longitude":759692352,"raw_latitude":108115184,"longitude_deg":75.9692352,"latitude_deg":10.8115184,"altitude":13,"angle":43,"satellites":46,"speed":59,"hex_longitude":"2d47fc40","hex_latitude":"0671b4f0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129136128001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317766784641925120,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5180406236547074048,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:00] 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-06-18 09:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781754444000,"timestamp_ms":1781754444000,"timestamp_seconds":1781754444,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d738e0"} 
[2026-06-18 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-06-18 09:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 09:19: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-06-18 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-06-18 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-06-18 09:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:19:00] 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-06-18 09:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129136128001,"66":27713,"249":206,"80":60160,"24":59,"16":317766784641925120,"45":5180406236547074048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,80,24,16,45]} 
[2026-06-18 09:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129136128001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:19:00] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 09:19:00] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317766784641925120,"km_value":317766784641925.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5180406236547074048,"description":"Unknown IO ID 45"} 
[2026-06-18 09:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129136128001,"power":27713,"unknown_249":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5180406236547074048}} 
[2026-06-18 09:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":105795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:19:00] local.INFO: GPS data processed {"connection_id":105795,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:19:00] local.INFO: Acknowledgment sent {"connection_id":105795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:19:25] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:25] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:25] local.INFO: IMEI packet received {"connection_id":106362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":106362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:19:28] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:28] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:28] local.INFO: IMEI packet received {"connection_id":106362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":106362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:19:29] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:19:29] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:19:29] local.INFO: Packet analysis {"connection_id":106361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:19:29] local.INFO: Extracted packet for processing {"connection_id":106361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 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-06-18 09:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 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-06-18 09:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:19:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:19:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":106361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:19:29] local.INFO: GPS data processed {"connection_id":106361,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:19:29] local.INFO: Acknowledgment sent {"connection_id":106361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:19:30] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:30] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:19:30] local.INFO: IMEI packet received {"connection_id":106362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":106362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:19:31] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d84e38012d490a800672e430001000262f..."} 
[2026-06-18 09:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d84e38012d490a800672e430001000262f..."} 
[2026-06-18 09:19:31] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d84e38012d490a800672e430001000262f..."} 
[2026-06-18 09:19:31] local.INFO: Packet analysis {"connection_id":106362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:19:31] local.INFO: Extracted packet for processing {"connection_id":106362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":759761536,"raw_latitude":108192816,"longitude_deg":75.9761536,"latitude_deg":10.8192816,"altitude":16,"angle":38,"satellites":47,"speed":53,"hex_longitude":"2d490a80","hex_latitude":"0672e430","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129154048001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317771788278824960,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5256685955255361536,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:31] 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-06-18 09:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781754515000,"timestamp_ms":1781754515000,"timestamp_seconds":1781754515,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d84e38"} 
[2026-06-18 09:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 09:19: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-06-18 09: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-06-18 09:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:19:31] 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-06-18 09:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129154048001,"66":27908,"83":206,"80":60160,"24":53,"16":317771788278824960,"45":5256685955255361536},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-18 09:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129154048001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:19:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 09:19:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317771788278824960,"km_value":317771788278824.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5256685955255361536,"description":"Unknown IO ID 45"} 
[2026-06-18 09:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129154048001,"power":27908,"unknown_83":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5256685955255361536}} 
[2026-06-18 09:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":106362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:19:31] local.INFO: GPS data processed {"connection_id":106362,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:19:31] local.INFO: Acknowledgment sent {"connection_id":106362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:19:52] local.INFO: TCP Data received {"connection_id":105598,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:19:52] local.INFO: Processing buffer {"connection_id":105598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:19:52] local.INFO: IMEI packet received {"connection_id":105598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":105598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:19:57] local.INFO: TCP Data received {"connection_id":105598,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105598,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:19:57] local.INFO: Processing buffer {"connection_id":105598,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:19:57] local.INFO: IMEI packet received {"connection_id":105598,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":105598,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:19:58] local.INFO: TCP Data received {"connection_id":105598,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:19:58] local.INFO: Processing buffer {"connection_id":105598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:19:58] local.INFO: Packet analysis {"connection_id":105598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:19:58] local.INFO: Extracted packet for processing {"connection_id":105598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 09:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:19: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-06-18 09:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:19: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-06-18 09: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-06-18 09:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:19:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:19:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":105598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343505,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:19:58] local.INFO: GPS data processed {"connection_id":105598,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:19:58] local.INFO: Acknowledgment sent {"connection_id":105598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:19:59] local.INFO: TCP Data received {"connection_id":106363,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:19:59] local.INFO: Processing buffer {"connection_id":106363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:19:59] local.INFO: IMEI packet received {"connection_id":106363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":106363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:20:02] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d86990012d492280067301b0001000262d..."} 
[2026-06-18 09:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d86990012d492280067301b0001000262d..."} 
[2026-06-18 09:20:02] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d86990012d492280067301b0001000262d..."} 
[2026-06-18 09:20:02] local.INFO: Packet analysis {"connection_id":106362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:20:02] local.INFO: Extracted packet for processing {"connection_id":106362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:20:02] local.INFO: GPS Element Parsed {"raw_longitude":759767680,"raw_latitude":108200368,"longitude_deg":75.976768,"latitude_deg":10.8200368,"altitude":16,"angle":38,"satellites":45,"speed":56,"hex_longitude":"2d492280","hex_latitude":"067301b0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129155840001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317772256430260224,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5263159879721562112,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20: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-06-18 09:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781754522000,"timestamp_ms":1781754522000,"timestamp_seconds":1781754522,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d86990"} 
[2026-06-18 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-06-18 09:20: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-06-18 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 09:20: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-06-18 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-06-18 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-06-18 09:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:20:02] 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-06-18 09:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129155840001,"66":27517,"83":206,"80":60160,"24":56,"16":317772256430260224,"45":5263159879721562112},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-06-18 09:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129155840001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:20:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 09:20:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317772256430260224,"km_value":317772256430260.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5263159879721562112,"description":"Unknown IO ID 45"} 
[2026-06-18 09:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129155840001,"power":27517,"unknown_83":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5263159879721562112}} 
[2026-06-18 09:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":106362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:20:02] local.INFO: GPS data processed {"connection_id":106362,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:20:02] local.INFO: Acknowledgment sent {"connection_id":106362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:20:14] local.INFO: TCP Data received {"connection_id":105796,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:20:14] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:20:14] local.INFO: IMEI packet received {"connection_id":105796,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:20:14] local.INFO: IMEI acknowledgment sent {"connection_id":105796,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:20:14] local.INFO: TCP Data received {"connection_id":105796,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d95008012d0a5a400704e6d0001a007922..."} 
[2026-06-18 09:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d95008012d0a5a400704e6d0001a007922..."} 
[2026-06-18 09:20:14] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d95008012d0a5a400704e6d0001a007922..."} 
[2026-06-18 09:20:14] local.INFO: Packet analysis {"connection_id":105796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d9"} 
[2026-06-18 09:20:14] local.INFO: Extracted packet for processing {"connection_id":105796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d9"} 
[2026-06-18 09:20:14] local.INFO: GPS Element Parsed {"raw_longitude":755653184,"raw_latitude":117761744,"longitude_deg":75.5653184,"latitude_deg":11.7761744,"altitude":26,"angle":121,"satellites":34,"speed":20,"hex_longitude":"2d0a5a40","hex_latitude":"0704e6d0","is_valid_coordinates":true} 
[2026-06-18 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129172480001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21099615252119552,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":745416137221083136,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781754581000,"timestamp_ms":1781754581000,"timestamp_seconds":1781754581,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d95008"} 
[2026-06-18 09:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:20: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-06-18 09:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 09:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129172480001,"66":14439,"177":206,"94":10240,"24":20,"16":21099615252119552,"45":745416137221083136},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-18 09:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129172480001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:20:14] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 09:20:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21099615252119552,"km_value":21099615252119.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":745416137221083136,"description":"Unknown IO ID 45"} 
[2026-06-18 09:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129172480001,"power":14439,"unknown_177":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":745416137221083136}} 
[2026-06-18 09:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":105796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343507,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:20:14] local.INFO: GPS data processed {"connection_id":105796,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:20:14] local.INFO: Acknowledgment sent {"connection_id":105796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:20:25] local.INFO: TCP Data received {"connection_id":105599,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:20:25] local.INFO: Processing buffer {"connection_id":105599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:20:25] local.INFO: IMEI packet received {"connection_id":105599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":105599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:20:29] local.INFO: TCP Data received {"connection_id":105598,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:20:29] local.INFO: Processing buffer {"connection_id":105598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:20:29] local.INFO: Packet analysis {"connection_id":105598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:20:29] local.INFO: Extracted packet for processing {"connection_id":105598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 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-06-18 09:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 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-06-18 09:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23040,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105598,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:20:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:20:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":105598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343508,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:20:29] local.INFO: GPS data processed {"connection_id":105598,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:20:29] local.INFO: Acknowledgment sent {"connection_id":105598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:20:30] local.INFO: TCP Data received {"connection_id":105599,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:20:30] local.INFO: Processing buffer {"connection_id":105599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:20:30] local.INFO: IMEI packet received {"connection_id":105599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":105599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:20:31] local.INFO: TCP Data received {"connection_id":105599,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d884e8012d493c40067320f0001000262d..."} 
[2026-06-18 09:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d884e8012d493c40067320f0001000262d..."} 
[2026-06-18 09:20:31] local.INFO: Processing buffer {"connection_id":105599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d884e8012d493c40067320f0001000262d..."} 
[2026-06-18 09:20:31] local.INFO: Packet analysis {"connection_id":105599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:20:31] local.INFO: Extracted packet for processing {"connection_id":105599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:20:31] local.INFO: GPS Element Parsed {"raw_longitude":759774272,"raw_latitude":108208368,"longitude_deg":75.9774272,"latitude_deg":10.8208368,"altitude":16,"angle":38,"satellites":45,"speed":60,"hex_longitude":"2d493c40","hex_latitude":"067320f0","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129157632001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317772754646466560,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5269915279164551168,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781754529000,"timestamp_ms":1781754529000,"timestamp_seconds":1781754529,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d884e8"} 
[2026-06-18 09:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":125,"data_length":795,"current_offset":136} 
[2026-06-18 09:20: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-06-18 09: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-06-18 09:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:20:31] 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-06-18 09:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129157632001,"66":27908,"81":206,"80":60160,"24":60,"16":317772754646466560,"45":5269915279164551168},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-18 09:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129157632001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:20:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 09:20:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317772754646466560,"km_value":317772754646466.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5269915279164551168,"description":"Unknown IO ID 45"} 
[2026-06-18 09:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129157632001,"power":27908,"unknown_81":206,"unknown_80":60160,"ignition":60,"odometer":null,"unknown_45":5269915279164551168}} 
[2026-06-18 09:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":105599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:20:31] local.INFO: GPS data processed {"connection_id":105599,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:20:31] local.INFO: Acknowledgment sent {"connection_id":105599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:20:39] local.INFO: TCP Data received {"connection_id":107331,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107331,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:20:39] local.INFO: Processing buffer {"connection_id":107331,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:20:39] local.INFO: IMEI packet received {"connection_id":107331,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":107331,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:20:45] local.INFO: TCP Data received {"connection_id":105796,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da3298012d0a7d4007047008001100ff23..."} 
[2026-06-18 09:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da3298012d0a7d4007047008001100ff23..."} 
[2026-06-18 09:20:45] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da3298012d0a7d4007047008001100ff23..."} 
[2026-06-18 09:20:45] local.INFO: Packet analysis {"connection_id":105796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:20:45] local.INFO: Extracted packet for processing {"connection_id":105796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:20:45] local.INFO: GPS Element Parsed {"raw_longitude":755662144,"raw_latitude":117731336,"longitude_deg":75.5662144,"latitude_deg":11.7731336,"altitude":17,"angle":255,"satellites":35,"speed":9,"hex_longitude":"2d0a7d40","hex_latitude":"07047008","is_valid_coordinates":true} 
[2026-06-18 09:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129187328001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21101586642108416,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":756112186328238080,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781754639000,"timestamp_ms":1781754639000,"timestamp_seconds":1781754639,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da3298"} 
[2026-06-18 09:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:20:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:20:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 09:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:20:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105796,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129187328001,"66":13906,"177":206,"94":10240,"24":9,"16":21101586642108416,"45":756112186328238080},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,94,24,16,45]} 
[2026-06-18 09:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129187328001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:20:45] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 09:20:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21101586642108416,"km_value":21101586642108.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":756112186328238080,"description":"Unknown IO ID 45"} 
[2026-06-18 09:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129187328001,"power":13906,"unknown_177":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":756112186328238080}} 
[2026-06-18 09:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":105796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343510,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:20:46] local.INFO: GPS data processed {"connection_id":105796,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:20:46] local.INFO: Acknowledgment sent {"connection_id":105796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:20:52] local.INFO: TCP Data received {"connection_id":106364,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:20:52] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:20:52] local.INFO: IMEI packet received {"connection_id":106364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":106364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:20:57] local.INFO: TCP Data received {"connection_id":106364,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:20:57] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:20:57] local.INFO: IMEI packet received {"connection_id":106364,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":106364,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:20:58] local.INFO: TCP Data received {"connection_id":106364,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:20:58] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d5f4a8012d7d370005ec0c20000000e127..."} 
[2026-06-18 09:20:58] local.INFO: Packet analysis {"connection_id":106364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:20:58] local.INFO: Extracted packet for processing {"connection_id":106364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d5"} 
[2026-06-18 09:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":0,"angle":225,"satellites":39,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754361000,"timestamp_ms":1781754361000,"timestamp_seconds":1781754361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d5f4a8"} 
[2026-06-18 09:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:20: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-06-18 09:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 09:20: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-06-18 09:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129114880001,"66":2905,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:20:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:20:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129114880001,"power":2905,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":106364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343511,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:20:58] local.INFO: GPS data processed {"connection_id":106364,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:20:58] local.INFO: Acknowledgment sent {"connection_id":106364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:21:02] local.INFO: TCP Data received {"connection_id":105599,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d89c58012d4952c006733c78000e00262d..."} 
[2026-06-18 09:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d89c58012d4952c006733c78000e00262d..."} 
[2026-06-18 09:21:02] local.INFO: Processing buffer {"connection_id":105599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d89c58012d4952c006733c78000e00262d..."} 
[2026-06-18 09:21:02] local.INFO: Packet analysis {"connection_id":105599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:21:02] local.INFO: Extracted packet for processing {"connection_id":105599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:21:02] local.INFO: GPS Element Parsed {"raw_longitude":759780032,"raw_latitude":108215416,"longitude_deg":75.9780032,"latitude_deg":10.8215416,"altitude":14,"angle":38,"satellites":45,"speed":59,"hex_longitude":"2d4952c0","hex_latitude":"06733c78","is_valid_coordinates":true} 
[2026-06-18 09:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129159424001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317773197028098048,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5277163259816898560,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781754535000,"timestamp_ms":1781754535000,"timestamp_seconds":1781754535,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d89c58"} 
[2026-06-18 09:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:21: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-06-18 09:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 09:21: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-06-18 09:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:21:02] 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-06-18 09:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129159424001,"66":27745,"81":206,"80":60160,"24":59,"16":317773197028098048,"45":5277163259816898560},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-18 09:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129159424001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:21:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 09:21:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317773197028098048,"km_value":317773197028098.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5277163259816898560,"description":"Unknown IO ID 45"} 
[2026-06-18 09:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129159424001,"power":27745,"unknown_81":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5277163259816898560}} 
[2026-06-18 09:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":105599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:21:02] local.INFO: GPS data processed {"connection_id":105599,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:21:02] local.INFO: Acknowledgment sent {"connection_id":105599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:21:18] local.INFO: TCP Data received {"connection_id":107332,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:18] local.INFO: Processing buffer {"connection_id":107332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:18] local.INFO: IMEI packet received {"connection_id":107332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":107332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:21:19] local.INFO: TCP Data received {"connection_id":107332,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:19] local.INFO: Processing buffer {"connection_id":107332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:19] local.INFO: IMEI packet received {"connection_id":107332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":107332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:21:19] local.INFO: TCP Data received {"connection_id":107332,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:19] local.INFO: Processing buffer {"connection_id":107332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:19] local.INFO: IMEI packet received {"connection_id":107332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":107332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:21:20] local.INFO: TCP Data received {"connection_id":107332,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107332,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:20] local.INFO: Processing buffer {"connection_id":107332,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:21:20] local.INFO: IMEI packet received {"connection_id":107332,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:21:20] local.INFO: IMEI acknowledgment sent {"connection_id":107332,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:21:25] local.INFO: TCP Data received {"connection_id":106365,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:21:25] local.INFO: Processing buffer {"connection_id":106365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:21:25] local.INFO: IMEI packet received {"connection_id":106365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":106365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:21:29] local.INFO: TCP Data received {"connection_id":106364,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:21:29] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:21:29] local.INFO: Packet analysis {"connection_id":106364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:21:29] local.INFO: Extracted packet for processing {"connection_id":106364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21: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-06-18 09:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106364,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:21:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:21:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":106364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:21:29] local.INFO: GPS data processed {"connection_id":106364,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:21:29] local.INFO: Acknowledgment sent {"connection_id":106364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:21:30] local.INFO: TCP Data received {"connection_id":106365,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:21:30] local.INFO: Processing buffer {"connection_id":106365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:21:30] local.INFO: IMEI packet received {"connection_id":106365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":106365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:21:31] local.INFO: TCP Data received {"connection_id":106365,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:21:31] local.INFO: Processing buffer {"connection_id":106365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:21:31] local.INFO: Packet analysis {"connection_id":106365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:21:31] local.INFO: Extracted packet for processing {"connection_id":106365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":759785536,"raw_latitude":108222176,"longitude_deg":75.9785536,"latitude_deg":10.8222176,"altitude":13,"angle":38,"satellites":45,"speed":55,"hex_longitude":"2d496840","hex_latitude":"067356e0","is_valid_coordinates":true} 
[2026-06-18 09:21: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-06-18 09:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129160960001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317773613639925760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5283496446794692608,"note":"Value kept but may cause issues"} 
[2026-06-18 09:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781754541000,"timestamp_ms":1781754541000,"timestamp_seconds":1781754541,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d8b3c8"} 
[2026-06-18 09:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:21: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-06-18 09: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-06-18 09:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:21:31] 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-06-18 09:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129160960001,"66":27626,"81":206,"80":60160,"24":55,"16":317773613639925760,"45":5283496446794692608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-18 09:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129160960001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:21:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 09:21:31] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317773613639925760,"km_value":317773613639925.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5283496446794692608,"description":"Unknown IO ID 45"} 
[2026-06-18 09:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129160960001,"power":27626,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5283496446794692608}} 
[2026-06-18 09:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":106365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:21:31] local.INFO: GPS data processed {"connection_id":106365,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:21:31] local.INFO: Acknowledgment sent {"connection_id":106365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:21:57] local.INFO: TCP Data received {"connection_id":105600,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:21:57] local.INFO: Processing buffer {"connection_id":105600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:21:57] local.INFO: IMEI packet received {"connection_id":105600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":105600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:22:02] local.INFO: TCP Data received {"connection_id":105600,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:02] local.INFO: Processing buffer {"connection_id":105600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:02] local.INFO: IMEI packet received {"connection_id":105600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":105600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:22:02] local.INFO: TCP Data received {"connection_id":106365,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:22:02] local.INFO: Processing buffer {"connection_id":106365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:22:02] local.INFO: Packet analysis {"connection_id":106365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:22:02] local.INFO: Extracted packet for processing {"connection_id":106365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:22:02] local.INFO: GPS Element Parsed {"raw_longitude":759785536,"raw_latitude":108222176,"longitude_deg":75.9785536,"latitude_deg":10.8222176,"altitude":13,"angle":38,"satellites":45,"speed":55,"hex_longitude":"2d496840","hex_latitude":"067356e0","is_valid_coordinates":true} 
[2026-06-18 09:22: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-06-18 09:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129160960001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317773613639925760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5283496446794692608,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781754541000,"timestamp_ms":1781754541000,"timestamp_seconds":1781754541,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d8b3c8"} 
[2026-06-18 09:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:22: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-06-18 09: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-06-18 09:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:22:02] 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-06-18 09:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129160960001,"66":27626,"81":206,"80":60160,"24":55,"16":317773613639925760,"45":5283496446794692608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-18 09:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129160960001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:22:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 09:22:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317773613639925760,"km_value":317773613639925.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5283496446794692608,"description":"Unknown IO ID 45"} 
[2026-06-18 09:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129160960001,"power":27626,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5283496446794692608}} 
[2026-06-18 09:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":106365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:22:02] local.INFO: GPS data processed {"connection_id":106365,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:22:02] local.INFO: Acknowledgment sent {"connection_id":106365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:22:03] local.INFO: TCP Data received {"connection_id":105600,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:03] local.INFO: Processing buffer {"connection_id":105600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:03] local.INFO: Packet analysis {"connection_id":105600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:22:03] local.INFO: Extracted packet for processing {"connection_id":105600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:22:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:22: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-06-18 09:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:22:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:22:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":105600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:22:03] local.INFO: GPS data processed {"connection_id":105600,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:22:03] local.INFO: Acknowledgment sent {"connection_id":105600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:22:07] local.INFO: TCP Data received {"connection_id":105600,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:07] local.INFO: Processing buffer {"connection_id":105600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:07] local.INFO: Packet analysis {"connection_id":105600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:22:07] local.INFO: Extracted packet for processing {"connection_id":105600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:22:07] 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-06-18 09:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:22:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:22:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":105600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:22:07] local.INFO: GPS data processed {"connection_id":105600,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:22:07] local.INFO: Acknowledgment sent {"connection_id":105600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:22:40] local.INFO: TCP Data received {"connection_id":107334,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:22:40] local.INFO: Processing buffer {"connection_id":107334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:22:40] local.INFO: IMEI packet received {"connection_id":107334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":107334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:22:45] local.INFO: TCP Data received {"connection_id":107334,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:22:45] local.INFO: Processing buffer {"connection_id":107334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:22:45] local.INFO: IMEI packet received {"connection_id":107334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":107334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:22:46] local.INFO: TCP Data received {"connection_id":107334,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:22:46] local.INFO: Processing buffer {"connection_id":107334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:22:46] local.INFO: Packet analysis {"connection_id":107334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:22:46] local.INFO: Extracted packet for processing {"connection_id":107334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:22:46] local.INFO: GPS Element Parsed {"raw_longitude":759785536,"raw_latitude":108222176,"longitude_deg":75.9785536,"latitude_deg":10.8222176,"altitude":13,"angle":38,"satellites":45,"speed":55,"hex_longitude":"2d496840","hex_latitude":"067356e0","is_valid_coordinates":true} 
[2026-06-18 09:22: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-06-18 09:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129160960001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317773613639925760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5283496446794692608,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781754541000,"timestamp_ms":1781754541000,"timestamp_seconds":1781754541,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d8b3c8"} 
[2026-06-18 09:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:22:46] 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-06-18 09:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:22:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:22:46] 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-06-18 09:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:22:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129160960001,"66":27626,"81":206,"80":60160,"24":55,"16":317773613639925760,"45":5283496446794692608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-18 09:22:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:22:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:22:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129160960001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:22:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 09:22:46] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:22:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317773613639925760,"km_value":317773613639925.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:22:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5283496446794692608,"description":"Unknown IO ID 45"} 
[2026-06-18 09:22:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129160960001,"power":27626,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5283496446794692608}} 
[2026-06-18 09:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":107334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:22:46] local.INFO: GPS data processed {"connection_id":107334,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:22:46] local.INFO: Acknowledgment sent {"connection_id":107334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:22:52] local.INFO: TCP Data received {"connection_id":105601,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:52] local.INFO: Processing buffer {"connection_id":105601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:52] local.INFO: IMEI packet received {"connection_id":105601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":105601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:22:57] local.INFO: TCP Data received {"connection_id":105601,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105601,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:57] local.INFO: Processing buffer {"connection_id":105601,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:22:57] local.INFO: IMEI packet received {"connection_id":105601,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":105601,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:22:58] local.INFO: TCP Data received {"connection_id":105601,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:58] local.INFO: Processing buffer {"connection_id":105601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:22:58] local.INFO: Packet analysis {"connection_id":105601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:22:58] local.INFO: Extracted packet for processing {"connection_id":105601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:22:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:22:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":105601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:22:58] local.INFO: GPS data processed {"connection_id":105601,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:22:58] local.INFO: Acknowledgment sent {"connection_id":105601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:23:25] local.INFO: TCP Data received {"connection_id":105603,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:23:25] local.INFO: Processing buffer {"connection_id":105603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:23:25] local.INFO: IMEI packet received {"connection_id":105603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":105603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:23:29] local.INFO: TCP Data received {"connection_id":105601,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:23:29] local.INFO: Processing buffer {"connection_id":105601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:23:29] local.INFO: Packet analysis {"connection_id":105601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:23:29] local.INFO: Extracted packet for processing {"connection_id":105601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23: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-06-18 09:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105601,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:23:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:23:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":105601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343520,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:23:29] local.INFO: GPS data processed {"connection_id":105601,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:23:29] local.INFO: Acknowledgment sent {"connection_id":105601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:23:30] local.INFO: TCP Data received {"connection_id":105603,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:23:30] local.INFO: Processing buffer {"connection_id":105603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:23:30] local.INFO: IMEI packet received {"connection_id":105603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":105603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:23:49] local.INFO: TCP Data received {"connection_id":105603,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:23:49] local.INFO: Processing buffer {"connection_id":105603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:23:49] local.INFO: Packet analysis {"connection_id":105603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:23:49] local.INFO: Extracted packet for processing {"connection_id":105603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:23:49] local.INFO: GPS Element Parsed {"raw_longitude":759785536,"raw_latitude":108222176,"longitude_deg":75.9785536,"latitude_deg":10.8222176,"altitude":13,"angle":38,"satellites":45,"speed":55,"hex_longitude":"2d496840","hex_latitude":"067356e0","is_valid_coordinates":true} 
[2026-06-18 09:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129160960001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317773613639925760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5283496446794692608,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781754541000,"timestamp_ms":1781754541000,"timestamp_seconds":1781754541,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d8b3c8"} 
[2026-06-18 09:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129160960001,"66":27626,"81":206,"80":60160,"24":55,"16":317773613639925760,"45":5283496446794692608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-18 09:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129160960001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:23:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 09:23:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317773613639925760,"km_value":317773613639925.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5283496446794692608,"description":"Unknown IO ID 45"} 
[2026-06-18 09:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129160960001,"power":27626,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5283496446794692608}} 
[2026-06-18 09:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":105603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:23:49] local.INFO: GPS data processed {"connection_id":105603,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:23:49] local.INFO: Acknowledgment sent {"connection_id":105603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:23:52] local.INFO: TCP Data received {"connection_id":107335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:23:52] local.INFO: Processing buffer {"connection_id":107335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:23:52] local.INFO: IMEI packet received {"connection_id":107335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":107335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:23:57] local.INFO: TCP Data received {"connection_id":107335,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107335,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:23:57] local.INFO: Processing buffer {"connection_id":107335,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:23:57] local.INFO: IMEI packet received {"connection_id":107335,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":107335,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:23:58] local.INFO: TCP Data received {"connection_id":107335,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:23:58] local.INFO: Processing buffer {"connection_id":107335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:23:58] local.INFO: Packet analysis {"connection_id":107335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:23:58] local.INFO: Extracted packet for processing {"connection_id":107335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:23:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:23:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":107335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:23:58] local.INFO: GPS data processed {"connection_id":107335,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:23:58] local.INFO: Acknowledgment sent {"connection_id":107335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:24:25] local.INFO: TCP Data received {"connection_id":106368,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:24:25] local.INFO: Processing buffer {"connection_id":106368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:24:25] local.INFO: IMEI packet received {"connection_id":106368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":106368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:24:29] local.INFO: TCP Data received {"connection_id":107335,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:24:29] local.INFO: Processing buffer {"connection_id":107335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:24:29] local.INFO: Packet analysis {"connection_id":107335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:24:29] local.INFO: Extracted packet for processing {"connection_id":107335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24: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-06-18 09:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107335,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:24:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:24:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":107335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343523,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:24:29] local.INFO: GPS data processed {"connection_id":107335,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:24:29] local.INFO: Acknowledgment sent {"connection_id":107335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:24:30] local.INFO: TCP Data received {"connection_id":106368,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:24:30] local.INFO: Processing buffer {"connection_id":106368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:24:30] local.INFO: IMEI packet received {"connection_id":106368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":106368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:24:32] local.INFO: TCP Data received {"connection_id":106368,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:24:32] local.INFO: Processing buffer {"connection_id":106368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8d8b3c8012d496840067356e0000d00262d..."} 
[2026-06-18 09:24:32] local.INFO: Packet analysis {"connection_id":106368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:24:32] local.INFO: Extracted packet for processing {"connection_id":106368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8d8"} 
[2026-06-18 09:24:32] local.INFO: GPS Element Parsed {"raw_longitude":759785536,"raw_latitude":108222176,"longitude_deg":75.9785536,"latitude_deg":10.8222176,"altitude":13,"angle":38,"satellites":45,"speed":55,"hex_longitude":"2d496840","hex_latitude":"067356e0","is_valid_coordinates":true} 
[2026-06-18 09:24: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-06-18 09:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129160960001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317773613639925760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5283496446794692608,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781754541000,"timestamp_ms":1781754541000,"timestamp_seconds":1781754541,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8d8b3c8"} 
[2026-06-18 09:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129160960001,"66":27626,"81":206,"80":60160,"24":55,"16":317773613639925760,"45":5283496446794692608},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-06-18 09:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129160960001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:24:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 09:24:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317773613639925760,"km_value":317773613639925.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5283496446794692608,"description":"Unknown IO ID 45"} 
[2026-06-18 09:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129160960001,"power":27626,"unknown_81":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5283496446794692608}} 
[2026-06-18 09:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":106368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:24:32] local.INFO: GPS data processed {"connection_id":106368,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:24:32] local.INFO: Acknowledgment sent {"connection_id":106368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:24:52] local.INFO: TCP Data received {"connection_id":105798,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:24:52] local.INFO: Processing buffer {"connection_id":105798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:24:52] local.INFO: IMEI packet received {"connection_id":105798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":105798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:24:57] local.INFO: TCP Data received {"connection_id":105798,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105798,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:24:57] local.INFO: Processing buffer {"connection_id":105798,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:24:57] local.INFO: IMEI packet received {"connection_id":105798,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":105798,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:24:58] local.INFO: TCP Data received {"connection_id":105798,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:24:58] local.INFO: Processing buffer {"connection_id":105798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:24:58] local.INFO: Packet analysis {"connection_id":105798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:24:58] local.INFO: Extracted packet for processing {"connection_id":105798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:24:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:24:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":105798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:24:58] local.INFO: GPS data processed {"connection_id":105798,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:24:58] local.INFO: Acknowledgment sent {"connection_id":105798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:25:17] local.INFO: TCP Data received {"connection_id":106368,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8dd4f78012d49a18006739fd8000b00262e..."} 
[2026-06-18 09:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8dd4f78012d49a18006739fd8000b00262e..."} 
[2026-06-18 09:25:17] local.INFO: Processing buffer {"connection_id":106368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8dd4f78012d49a18006739fd8000b00262e..."} 
[2026-06-18 09:25:17] local.INFO: Packet analysis {"connection_id":106368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8dd"} 
[2026-06-18 09:25:17] local.INFO: Extracted packet for processing {"connection_id":106368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8dd"} 
[2026-06-18 09:25:17] local.INFO: GPS Element Parsed {"raw_longitude":759800192,"raw_latitude":108240856,"longitude_deg":75.9800192,"latitude_deg":10.8240856,"altitude":11,"angle":38,"satellites":46,"speed":0,"hex_longitude":"2d49a180","hex_latitude":"06739fd8","is_valid_coordinates":true} 
[2026-06-18 09:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129162496001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317773613639925760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5289548158795702272,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781754843000,"timestamp_ms":1781754843000,"timestamp_seconds":1781754843,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8dd4f78"} 
[2026-06-18 09:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 09:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129162496001,"66":26115,"178":206,"80":60160,"24":0,"16":317773613639925760,"45":5289548158795702272},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,80,24,16,45]} 
[2026-06-18 09:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129162496001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:25:17] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 09:25:17] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-06-18 09:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317773613639925760,"km_value":317773613639925.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5289548158795702272,"description":"Unknown IO ID 45"} 
[2026-06-18 09:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129162496001,"power":26115,"unknown_178":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5289548158795702272}} 
[2026-06-18 09:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":106368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:25:17] local.INFO: GPS data processed {"connection_id":106368,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:25:17] local.INFO: Acknowledgment sent {"connection_id":106368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:25:29] local.INFO: TCP Data received {"connection_id":105798,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:25:29] local.INFO: Processing buffer {"connection_id":105798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:25:29] local.INFO: Packet analysis {"connection_id":105798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:25:29] local.INFO: Extracted packet for processing {"connection_id":105798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105798,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:25:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:25:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":105798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343527,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:25:29] local.INFO: GPS data processed {"connection_id":105798,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:25:29] local.INFO: Acknowledgment sent {"connection_id":105798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:25:52] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:25:52] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:25:52] local.INFO: IMEI packet received {"connection_id":106370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":106370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:25:57] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:25:57] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:25:57] local.INFO: IMEI packet received {"connection_id":106370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":106370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:25:58] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:25:58] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8da8c70012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:25:58] local.INFO: Packet analysis {"connection_id":106370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:25:58] local.INFO: Extracted packet for processing {"connection_id":106370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8da"} 
[2026-06-18 09:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129116416001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754662000,"timestamp_ms":1781754662000,"timestamp_seconds":1781754662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8da8c70"} 
[2026-06-18 09:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":11,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 09:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1054,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129116416001,"66":2253,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129116416001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:25:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:25:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129116416001,"power":2253,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":106370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:25:58] local.INFO: GPS data processed {"connection_id":106370,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:25:58] local.INFO: Acknowledgment sent {"connection_id":106370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:26:04] local.INFO: TCP Data received {"connection_id":107337,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:26:04] local.INFO: Processing buffer {"connection_id":107337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:26:04] local.INFO: IMEI packet received {"connection_id":107337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":107337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:26:24] local.INFO: TCP Data received {"connection_id":106372,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106372,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:26:24] local.INFO: Processing buffer {"connection_id":106372,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:26:24] local.INFO: IMEI packet received {"connection_id":106372,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":106372,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:26:25] local.INFO: TCP Data received {"connection_id":106372,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2050012d0b8f400704b9000017005d22..."} 
[2026-06-18 09:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2050012d0b8f400704b9000017005d22..."} 
[2026-06-18 09:26:25] local.INFO: Processing buffer {"connection_id":106372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2050012d0b8f400704b9000017005d22..."} 
[2026-06-18 09:26:25] local.INFO: Packet analysis {"connection_id":106372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:26:25] local.INFO: Extracted packet for processing {"connection_id":106372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:26:25] local.INFO: GPS Element Parsed {"raw_longitude":755732288,"raw_latitude":117750016,"longitude_deg":75.5732288,"latitude_deg":11.7750016,"altitude":23,"angle":93,"satellites":34,"speed":35,"hex_longitude":"2d0b8f40","hex_latitude":"0704b900","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129269760001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21109120014745600,"note":"Value kept but may cause issues"} 
[2026-06-18 09:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":831054898882279424,"note":"Value kept but may cause issues"} 
[2026-06-18 09:26:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781754962000,"timestamp_ms":1781754962000,"timestamp_seconds":1781754962,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2050"} 
[2026-06-18 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-06-18 09:26:25] 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-06-18 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 09:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106372,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129269760001,"66":14439,"96":206,"94":10240,"24":35,"16":21109120014745600,"45":831054898882279424},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 09:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129269760001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:26:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 09:26:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21109120014745600,"km_value":21109120014745.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":831054898882279424,"description":"Unknown IO ID 45"} 
[2026-06-18 09:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129269760001,"power":14439,"unknown_96":206,"unknown_94":10240,"ignition":35,"odometer":null,"unknown_45":831054898882279424}} 
[2026-06-18 09:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":106372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343529,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:26:25] local.INFO: GPS data processed {"connection_id":106372,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:26:25] local.INFO: Acknowledgment sent {"connection_id":106372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:26:29] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:26:29] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:26:29] local.INFO: Packet analysis {"connection_id":106370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:26:29] local.INFO: Extracted packet for processing {"connection_id":106370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:26: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-06-18 09:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:26:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:26:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":106370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343530,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:26:29] local.INFO: GPS data processed {"connection_id":106370,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:26:29] local.INFO: Acknowledgment sent {"connection_id":106370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:26:34] local.INFO: TCP Data received {"connection_id":107338,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:26:34] local.INFO: Processing buffer {"connection_id":107338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:26:34] local.INFO: IMEI packet received {"connection_id":107338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":107338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:26:55] local.INFO: TCP Data received {"connection_id":105800,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:26:55] local.INFO: Processing buffer {"connection_id":105800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:26:55] local.INFO: IMEI packet received {"connection_id":105800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":105800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:26:57] local.INFO: TCP Data received {"connection_id":105604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:26:57] local.INFO: Processing buffer {"connection_id":105604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:26:57] local.INFO: IMEI packet received {"connection_id":105604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":105604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:27:02] local.INFO: TCP Data received {"connection_id":105604,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:02] local.INFO: Processing buffer {"connection_id":105604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:02] local.INFO: IMEI packet received {"connection_id":105604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":105604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:27:03] local.INFO: TCP Data received {"connection_id":105604,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:03] local.INFO: Processing buffer {"connection_id":105604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:03] local.INFO: Packet analysis {"connection_id":105604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:27:03] local.INFO: Extracted packet for processing {"connection_id":105604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:27:03] 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-06-18 09:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:27:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:27:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":105604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343531,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:27:03] local.INFO: GPS data processed {"connection_id":105604,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:27:03] local.INFO: Acknowledgment sent {"connection_id":105604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:27:07] local.INFO: TCP Data received {"connection_id":105604,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:07] local.INFO: Processing buffer {"connection_id":105604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:07] local.INFO: Packet analysis {"connection_id":105604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:27:07] local.INFO: Extracted packet for processing {"connection_id":105604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:27:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:27:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:27:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:27:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:27:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:27:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:27:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:27:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:27:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:27:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:27:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:27:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:27:07] 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-06-18 09:27:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:27:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:27:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:27:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:27:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:27:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:27:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:27:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:27:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:27:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:27:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:27:07] local.INFO: DEBUG: GPS processor result {"connection_id":105604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:27:07] local.INFO: GPS data processed {"connection_id":105604,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:27:07] local.INFO: Acknowledgment sent {"connection_id":105604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:27:11] local.INFO: TCP Data received {"connection_id":105800,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:27:11] local.INFO: Processing buffer {"connection_id":105800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:27:11] local.INFO: IMEI packet received {"connection_id":105800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":105800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:27:19] local.INFO: TCP Data received {"connection_id":106373,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:27:19] local.INFO: Processing buffer {"connection_id":106373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:27:19] local.INFO: IMEI packet received {"connection_id":106373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":106373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:27:24] local.INFO: TCP Data received {"connection_id":106373,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106373,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:27:24] local.INFO: Processing buffer {"connection_id":106373,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:27:24] local.INFO: IMEI packet received {"connection_id":106373,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":106373,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:27:25] local.INFO: TCP Data received {"connection_id":106373,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8dfcc30012d0bbec0070504e00020000821..."} 
[2026-06-18 09:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8dfcc30012d0bbec0070504e00020000821..."} 
[2026-06-18 09:27:25] local.INFO: Processing buffer {"connection_id":106373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8dfcc30012d0bbec0070504e00020000821..."} 
[2026-06-18 09:27:25] local.INFO: Packet analysis {"connection_id":106373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:27:25] local.INFO: Extracted packet for processing {"connection_id":106373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":755744448,"raw_latitude":117769440,"longitude_deg":75.5744448,"latitude_deg":11.776944,"altitude":32,"angle":8,"satellites":33,"speed":22,"hex_longitude":"2d0bbec0","hex_latitude":"070504e0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:27:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129280768001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21110563123757056,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845902703908300800,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:27:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781755006000,"timestamp_ms":1781755006000,"timestamp_seconds":1781755006,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8dfcc30"} 
[2026-06-18 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-06-18 09:27:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 09:27:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:27:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:27:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:27:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:27:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106373,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:27:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:27:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:27:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:27:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129280768001,"66":14428,"96":206,"94":10240,"24":22,"16":21110563123757056,"45":845902703908300800},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 09:27:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:27:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:27:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129280768001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:27:25] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 09:27:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:27:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21110563123757056,"km_value":21110563123757.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:27:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":845902703908300800,"description":"Unknown IO ID 45"} 
[2026-06-18 09:27:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129280768001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":22,"odometer":null,"unknown_45":845902703908300800}} 
[2026-06-18 09:27:25] local.INFO: DEBUG: GPS processor result {"connection_id":106373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343533,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:27:25] local.INFO: GPS data processed {"connection_id":106373,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:27:25] local.INFO: Acknowledgment sent {"connection_id":106373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:27:35] local.INFO: TCP Data received {"connection_id":106374,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:27:35] local.INFO: Processing buffer {"connection_id":106374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:27:35] local.INFO: IMEI packet received {"connection_id":106374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":106374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:27:52] local.INFO: TCP Data received {"connection_id":107339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:52] local.INFO: Processing buffer {"connection_id":107339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:52] local.INFO: IMEI packet received {"connection_id":107339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":107339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:27:57] local.INFO: TCP Data received {"connection_id":107339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107339,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:57] local.INFO: Processing buffer {"connection_id":107339,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:27:57] local.INFO: IMEI packet received {"connection_id":107339,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":107339,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:27:58] local.INFO: TCP Data received {"connection_id":107339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:58] local.INFO: Processing buffer {"connection_id":107339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:27:58] local.INFO: Packet analysis {"connection_id":107339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:27:58] local.INFO: Extracted packet for processing {"connection_id":107339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:27:58] 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-06-18 09:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:27:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:27:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":107339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:27:58] local.INFO: GPS data processed {"connection_id":107339,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:27:58] local.INFO: Acknowledgment sent {"connection_id":107339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:28:02] local.INFO: TCP Data received {"connection_id":107339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:02] local.INFO: Processing buffer {"connection_id":107339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:02] local.INFO: Packet analysis {"connection_id":107339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:28:02] local.INFO: Extracted packet for processing {"connection_id":107339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28: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-06-18 09:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:28:02] 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-06-18 09:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:28:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:28:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":107339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343535,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:28:03] local.INFO: GPS data processed {"connection_id":107339,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:28:03] local.INFO: Acknowledgment sent {"connection_id":107339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:28:08] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:08] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:08] local.INFO: IMEI packet received {"connection_id":106375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":106375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:28:09] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:09] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:09] local.INFO: IMEI packet received {"connection_id":106375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":106375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:28:14] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:14] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:28:14] local.INFO: IMEI packet received {"connection_id":106375,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":106375,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:28:15] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e087b0012d0bd24007057ce0001a000e22..."} 
[2026-06-18 09:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e087b0012d0bd24007057ce0001a000e22..."} 
[2026-06-18 09:28:15] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e087b0012d0bd24007057ce0001a000e22..."} 
[2026-06-18 09:28:15] local.INFO: Packet analysis {"connection_id":106375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e0"} 
[2026-06-18 09:28:15] local.INFO: Extracted packet for processing {"connection_id":106375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e0"} 
[2026-06-18 09:28:15] local.INFO: GPS Element Parsed {"raw_longitude":755749440,"raw_latitude":117800160,"longitude_deg":75.574944,"latitude_deg":11.780016,"altitude":26,"angle":14,"satellites":34,"speed":33,"hex_longitude":"2d0bd240","hex_latitude":"07057ce0","is_valid_coordinates":true} 
[2026-06-18 09:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129293824001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21112130786820096,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":851813678427463680,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781755054000,"timestamp_ms":1781755054000,"timestamp_seconds":1781755054,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e087b0"} 
[2026-06-18 09:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 09:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129293824001,"66":14450,"164":206,"94":10240,"24":33,"16":21112130786820096,"45":851813678427463680},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 09:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129293824001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:28:15] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 09:28:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21112130786820096,"km_value":21112130786820.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":851813678427463680,"description":"Unknown IO ID 45"} 
[2026-06-18 09:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129293824001,"power":14450,"unknown_164":206,"unknown_94":10240,"ignition":33,"odometer":null,"unknown_45":851813678427463680}} 
[2026-06-18 09:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":106375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343536,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:28:15] local.INFO: GPS data processed {"connection_id":106375,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:28:15] local.INFO: Acknowledgment sent {"connection_id":106375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:28:34] local.INFO: TCP Data received {"connection_id":107339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:34] local.INFO: Processing buffer {"connection_id":107339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:34] local.INFO: Packet analysis {"connection_id":107339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:28:34] local.INFO: Extracted packet for processing {"connection_id":107339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107339,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:28:34] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":107339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:28:34] local.INFO: GPS data processed {"connection_id":107339,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:28:34] local.INFO: Acknowledgment sent {"connection_id":107339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:28:52] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:28:52] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:28:52] local.INFO: IMEI packet received {"connection_id":106376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":106376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:28:53] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e16270012d0c1580070595c80019002323..."} 
[2026-06-18 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e16270012d0c1580070595c80019002323..."} 
[2026-06-18 09:28:53] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e16270012d0c1580070595c80019002323..."} 
[2026-06-18 09:28:53] local.INFO: Packet analysis {"connection_id":106375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e1"} 
[2026-06-18 09:28:53] local.INFO: Extracted packet for processing {"connection_id":106375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e1"} 
[2026-06-18 09:28:53] local.INFO: GPS Element Parsed {"raw_longitude":755766656,"raw_latitude":117806536,"longitude_deg":75.5766656,"latitude_deg":11.7806536,"altitude":25,"angle":35,"satellites":35,"speed":7,"hex_longitude":"2d0c1580","hex_latitude":"070595c8","is_valid_coordinates":true} 
[2026-06-18 09:28: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-06-18 09:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129307648001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21113419277008896,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870531764380289024,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781755110000,"timestamp_ms":1781755110000,"timestamp_seconds":1781755110,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e16270"} 
[2026-06-18 09:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:28:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:28:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-18 09:28:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2723,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:28: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-06-18 09:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106375,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129307648001,"66":14428,"164":206,"94":10240,"24":7,"16":21113419277008896,"45":870531764380289024},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 09:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129307648001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:28:53] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 09:28:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 09:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21113419277008896,"km_value":21113419277008.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":870531764380289024,"description":"Unknown IO ID 45"} 
[2026-06-18 09:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129307648001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":870531764380289024}} 
[2026-06-18 09:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":106375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343538,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:28:53] local.INFO: GPS data processed {"connection_id":106375,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:28:53] local.INFO: Acknowledgment sent {"connection_id":106375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:28:57] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:28:57] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:28:57] local.INFO: IMEI packet received {"connection_id":106376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":106376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:28:58] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:58] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:28:58] local.INFO: Packet analysis {"connection_id":106376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:28:58] local.INFO: Extracted packet for processing {"connection_id":106376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 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-06-18 09:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:28:58] 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-06-18 09:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:28:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:28:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":106376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:28:58] local.INFO: GPS data processed {"connection_id":106376,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:28:58] local.INFO: Acknowledgment sent {"connection_id":106376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:29:09] local.INFO: TCP Data received {"connection_id":105803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:29:09] local.INFO: Processing buffer {"connection_id":105803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:29:09] local.INFO: IMEI packet received {"connection_id":105803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":105803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:29:22] local.INFO: TCP Data received {"connection_id":105803,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105803,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:29:22] local.INFO: Processing buffer {"connection_id":105803,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:29:22] local.INFO: IMEI packet received {"connection_id":105803,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":105803,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:29:29] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:29:29] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:29:29] local.INFO: Packet analysis {"connection_id":106376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:29:29] local.INFO: Extracted packet for processing {"connection_id":106376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:29: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-06-18 09:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:29:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:29:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":106376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:29:29] local.INFO: GPS data processed {"connection_id":106376,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:29:29] local.INFO: Acknowledgment sent {"connection_id":106376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:29:52] local.INFO: TCP Data received {"connection_id":105806,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:29:52] local.INFO: Processing buffer {"connection_id":105806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:29:52] local.INFO: IMEI packet received {"connection_id":105806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":105806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:29:57] local.INFO: TCP Data received {"connection_id":105806,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105806,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:29:57] local.INFO: Processing buffer {"connection_id":105806,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:29:57] local.INFO: IMEI packet received {"connection_id":105806,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":105806,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:29:58] local.INFO: TCP Data received {"connection_id":105806,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:29:58] local.INFO: Processing buffer {"connection_id":105806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:29:58] local.INFO: Packet analysis {"connection_id":105806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:29:58] local.INFO: Extracted packet for processing {"connection_id":105806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:29:58] 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-06-18 09:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:29:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:29:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":105806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343541,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:29:58] local.INFO: GPS data processed {"connection_id":105806,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:29:58] local.INFO: Acknowledgment sent {"connection_id":105806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:30:29] local.INFO: TCP Data received {"connection_id":105806,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:30:29] local.INFO: Processing buffer {"connection_id":105806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:30:29] local.INFO: Packet analysis {"connection_id":105806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:30:29] local.INFO: Extracted packet for processing {"connection_id":105806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:30: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-06-18 09:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105806,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:30:29] 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-06-18 09:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:30:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:30:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":105806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:30:29] local.INFO: GPS data processed {"connection_id":105806,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:30:29] local.INFO: Acknowledgment sent {"connection_id":105806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:30:52] local.INFO: TCP Data received {"connection_id":107340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:30:52] local.INFO: Processing buffer {"connection_id":107340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:30:52] local.INFO: IMEI packet received {"connection_id":107340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":107340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:30:57] local.INFO: TCP Data received {"connection_id":107340,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107340,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:30:57] local.INFO: Processing buffer {"connection_id":107340,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:30:57] local.INFO: IMEI packet received {"connection_id":107340,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":107340,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:30:58] local.INFO: TCP Data received {"connection_id":107340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:30:58] local.INFO: Processing buffer {"connection_id":107340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8df2438012d7d370005ec0c20000900e121..."} 
[2026-06-18 09:30:58] local.INFO: Packet analysis {"connection_id":107340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:30:58] local.INFO: Extracted packet for processing {"connection_id":107340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8df"} 
[2026-06-18 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":9,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129193472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781754963000,"timestamp_ms":1781754963000,"timestamp_seconds":1781754963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8df2438"} 
[2026-06-18 09:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 09:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:30:58] 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-06-18 09:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129193472001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129193472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:30:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:30:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129193472001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":107340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:30:58] local.INFO: GPS data processed {"connection_id":107340,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:30:58] local.INFO: Acknowledgment sent {"connection_id":107340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:31:29] local.INFO: TCP Data received {"connection_id":107340,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:31:29] local.INFO: Processing buffer {"connection_id":107340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:31:29] local.INFO: Packet analysis {"connection_id":107340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:31:29] local.INFO: Extracted packet for processing {"connection_id":107340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:31: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-06-18 09:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:31: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-06-18 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:31: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-06-18 09: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-06-18 09:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107340,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:31:29] 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-06-18 09:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:31:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:31:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":107340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343544,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:31:29] local.INFO: GPS data processed {"connection_id":107340,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:31:29] local.INFO: Acknowledgment sent {"connection_id":107340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:31:52] local.INFO: TCP Data received {"connection_id":106379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:31:52] local.INFO: Processing buffer {"connection_id":106379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:31:52] local.INFO: IMEI packet received {"connection_id":106379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":106379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:31:57] local.INFO: TCP Data received {"connection_id":106379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106379,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:31:57] local.INFO: Processing buffer {"connection_id":106379,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:31:57] local.INFO: IMEI packet received {"connection_id":106379,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":106379,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:31:58] local.INFO: TCP Data received {"connection_id":106379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:31:58] local.INFO: Processing buffer {"connection_id":106379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:31:58] local.INFO: Packet analysis {"connection_id":106379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:31:58] local.INFO: Extracted packet for processing {"connection_id":106379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:31: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-06-18 09:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:31: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-06-18 09:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:31:58] 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-06-18 09:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:31:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:31:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":106379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:31:58] local.INFO: GPS data processed {"connection_id":106379,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:31:58] local.INFO: Acknowledgment sent {"connection_id":106379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:32:29] local.INFO: TCP Data received {"connection_id":106379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:32:29] local.INFO: Processing buffer {"connection_id":106379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:32:29] local.INFO: Packet analysis {"connection_id":106379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:32:29] local.INFO: Extracted packet for processing {"connection_id":106379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:32: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-06-18 09:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:32: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-06-18 09:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:32: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-06-18 09: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-06-18 09:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106379,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:32:29] 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-06-18 09:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:32:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:32:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":106379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:32:29] local.INFO: GPS data processed {"connection_id":106379,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:32:29] local.INFO: Acknowledgment sent {"connection_id":106379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:32:34] local.INFO: TCP Data received {"connection_id":107343,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107343,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:32:34] local.INFO: Processing buffer {"connection_id":107343,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:32:34] local.INFO: IMEI packet received {"connection_id":107343,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":107343,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:32:34] local.INFO: TCP Data received {"connection_id":105606,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105606,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:32:35] local.INFO: Processing buffer {"connection_id":105606,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:32:35] local.INFO: IMEI packet received {"connection_id":105606,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":105606,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:32:57] local.INFO: TCP Data received {"connection_id":105607,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:32:57] local.INFO: Processing buffer {"connection_id":105607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:32:57] local.INFO: IMEI packet received {"connection_id":105607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":105607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:33:02] local.INFO: TCP Data received {"connection_id":105607,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105607,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:02] local.INFO: Processing buffer {"connection_id":105607,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:02] local.INFO: IMEI packet received {"connection_id":105607,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":105607,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:33:03] local.INFO: TCP Data received {"connection_id":105607,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:03] local.INFO: Processing buffer {"connection_id":105607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:03] local.INFO: Packet analysis {"connection_id":105607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:33:03] local.INFO: Extracted packet for processing {"connection_id":105607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:33:03] 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-06-18 09: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-06-18 09:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:33:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:33:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":105607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:33:03] local.INFO: GPS data processed {"connection_id":105607,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:33:03] local.INFO: Acknowledgment sent {"connection_id":105607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:33:07] local.INFO: TCP Data received {"connection_id":105607,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:07] local.INFO: Processing buffer {"connection_id":105607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:07] local.INFO: Packet analysis {"connection_id":105607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:33:07] local.INFO: Extracted packet for processing {"connection_id":105607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:33:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:33:07] 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-06-18 09:33:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:33:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:33:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105607,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:33:07] 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-06-18 09:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:33:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:33:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":105607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:33:07] local.INFO: GPS data processed {"connection_id":105607,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:33:07] local.INFO: Acknowledgment sent {"connection_id":105607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:33:34] local.INFO: TCP Data received {"connection_id":105808,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:33:34] local.INFO: Processing buffer {"connection_id":105808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:33:34] local.INFO: IMEI packet received {"connection_id":105808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":105808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:33:52] local.INFO: TCP Data received {"connection_id":106381,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:52] local.INFO: Processing buffer {"connection_id":106381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:52] local.INFO: IMEI packet received {"connection_id":106381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":106381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:33:57] local.INFO: TCP Data received {"connection_id":106381,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106381,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:57] local.INFO: Processing buffer {"connection_id":106381,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:33:57] local.INFO: IMEI packet received {"connection_id":106381,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":106381,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:33:58] local.INFO: TCP Data received {"connection_id":106381,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:58] local.INFO: Processing buffer {"connection_id":106381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:33:58] local.INFO: Packet analysis {"connection_id":106381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:33:58] local.INFO: Extracted packet for processing {"connection_id":106381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:33: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-06-18 09:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:33: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-06-18 09:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:33:58] 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-06-18 09:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:33:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:33:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":106381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:33:58] local.INFO: GPS data processed {"connection_id":106381,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:33:58] local.INFO: Acknowledgment sent {"connection_id":106381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:34:29] local.INFO: TCP Data received {"connection_id":106381,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:34:29] local.INFO: Processing buffer {"connection_id":106381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:34:29] local.INFO: Packet analysis {"connection_id":106381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:34:29] local.INFO: Extracted packet for processing {"connection_id":106381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:34: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-06-18 09:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:34: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-06-18 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:34: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-06-18 09: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-06-18 09:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106381,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:34:29] 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-06-18 09:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:34:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:34:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":106381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343550,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:34:29] local.INFO: GPS data processed {"connection_id":106381,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:34:29] local.INFO: Acknowledgment sent {"connection_id":106381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:34:52] local.INFO: TCP Data received {"connection_id":107345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:34:52] local.INFO: Processing buffer {"connection_id":107345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:34:52] local.INFO: IMEI packet received {"connection_id":107345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":107345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:34:57] local.INFO: TCP Data received {"connection_id":107345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107345,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:34:57] local.INFO: Processing buffer {"connection_id":107345,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:34:57] local.INFO: IMEI packet received {"connection_id":107345,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":107345,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:34:58] local.INFO: TCP Data received {"connection_id":107345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:34:58] local.INFO: Processing buffer {"connection_id":107345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:34:58] local.INFO: Packet analysis {"connection_id":107345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:34:58] local.INFO: Extracted packet for processing {"connection_id":107345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:34: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-06-18 09:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:34: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-06-18 09:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:34:58] 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-06-18 09:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:34:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:34:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":107345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343551,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:34:58] local.INFO: GPS data processed {"connection_id":107345,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:34:58] local.INFO: Acknowledgment sent {"connection_id":107345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:35:29] local.INFO: TCP Data received {"connection_id":107345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:35:29] local.INFO: Processing buffer {"connection_id":107345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:35:29] local.INFO: Packet analysis {"connection_id":107345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:35:29] local.INFO: Extracted packet for processing {"connection_id":107345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:35: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-06-18 09:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:35: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-06-18 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:35: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-06-18 09: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-06-18 09:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107345,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:35:29] 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-06-18 09:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:35:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:35:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":107345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:35:29] local.INFO: GPS data processed {"connection_id":107345,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:35:29] local.INFO: Acknowledgment sent {"connection_id":107345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:35:52] local.INFO: TCP Data received {"connection_id":106383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:35:52] local.INFO: Processing buffer {"connection_id":106383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:35:52] local.INFO: IMEI packet received {"connection_id":106383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":106383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:35:57] local.INFO: TCP Data received {"connection_id":106383,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106383,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:35:57] local.INFO: Processing buffer {"connection_id":106383,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:35:57] local.INFO: IMEI packet received {"connection_id":106383,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":106383,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:35:58] local.INFO: TCP Data received {"connection_id":106383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:35:58] local.INFO: Processing buffer {"connection_id":106383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e3bc00012d7d370005ec0c20000400e124..."} 
[2026-06-18 09:35:58] local.INFO: Packet analysis {"connection_id":106383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:35:58] local.INFO: Extracted packet for processing {"connection_id":106383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e3"} 
[2026-06-18 09:35:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755264000,"timestamp_ms":1781755264000,"timestamp_seconds":1781755264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e3bc00"} 
[2026-06-18 09:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:35: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-06-18 09:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:35: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-06-18 09: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-06-18 09:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:35:58] 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-06-18 09:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129270528001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:35:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:35:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129270528001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":106383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:35:58] local.INFO: GPS data processed {"connection_id":106383,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:35:58] local.INFO: Acknowledgment sent {"connection_id":106383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:36:29] local.INFO: TCP Data received {"connection_id":106383,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:36:29] local.INFO: Processing buffer {"connection_id":106383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:36:29] local.INFO: Packet analysis {"connection_id":106383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:36:29] local.INFO: Extracted packet for processing {"connection_id":106383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:36: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-06-18 09:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 09:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106383,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:36:29] 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-06-18 09:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:36:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:36:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":106383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:36:29] local.INFO: GPS data processed {"connection_id":106383,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:36:29] local.INFO: Acknowledgment sent {"connection_id":106383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:36:57] local.INFO: TCP Data received {"connection_id":105810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:36:57] local.INFO: Processing buffer {"connection_id":105810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:36:57] local.INFO: IMEI packet received {"connection_id":105810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":105810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:37:02] local.INFO: TCP Data received {"connection_id":105810,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:02] local.INFO: Processing buffer {"connection_id":105810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:02] local.INFO: IMEI packet received {"connection_id":105810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":105810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:37:03] local.INFO: TCP Data received {"connection_id":105810,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:03] local.INFO: Processing buffer {"connection_id":105810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:03] local.INFO: Packet analysis {"connection_id":105810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:37:03] local.INFO: Extracted packet for processing {"connection_id":105810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 09:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:37:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:37:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":105810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:37:03] local.INFO: GPS data processed {"connection_id":105810,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:37:03] local.INFO: Acknowledgment sent {"connection_id":105810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:37:07] local.INFO: TCP Data received {"connection_id":105810,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:07] local.INFO: Processing buffer {"connection_id":105810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:07] local.INFO: Packet analysis {"connection_id":105810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:37:07] local.INFO: Extracted packet for processing {"connection_id":105810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:37:07] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 09:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:37:07] 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-06-18 09: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:37:07] 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-06-18 09: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-06-18 09:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:37:07] 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-06-18 09:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:37:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:37:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":105810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343556,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:37:07] local.INFO: GPS data processed {"connection_id":105810,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:37:07] local.INFO: Acknowledgment sent {"connection_id":105810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:37:16] local.INFO: TCP Data received {"connection_id":107348,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:37:16] local.INFO: Processing buffer {"connection_id":107348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:37:16] local.INFO: IMEI packet received {"connection_id":107348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":107348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:37:37] local.INFO: TCP Data received {"connection_id":107349,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107349,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:37:37] local.INFO: Processing buffer {"connection_id":107349,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:37:37] local.INFO: IMEI packet received {"connection_id":107349,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:37:37] local.INFO: IMEI acknowledgment sent {"connection_id":107349,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:37:52] local.INFO: TCP Data received {"connection_id":107349,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e91ee8012d0c72400704f8a0001f008c22..."} 
[2026-06-18 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e91ee8012d0c72400704f8a0001f008c22..."} 
[2026-06-18 09:37:52] local.INFO: Processing buffer {"connection_id":107349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e91ee8012d0c72400704f8a0001f008c22..."} 
[2026-06-18 09:37:52] local.INFO: Packet analysis {"connection_id":107349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e9"} 
[2026-06-18 09:37:52] local.INFO: Extracted packet for processing {"connection_id":107349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e9"} 
[2026-06-18 09:37:52] local.INFO: GPS Element Parsed {"raw_longitude":755790400,"raw_latitude":117766304,"longitude_deg":75.57904,"latitude_deg":11.7766304,"altitude":31,"angle":140,"satellites":34,"speed":36,"hex_longitude":"2d0c7240","hex_latitude":"0704f8a0","is_valid_coordinates":true} 
[2026-06-18 09:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:37:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129437440001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21121936197156864,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895794143530213376,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:37:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781755617000,"timestamp_ms":1781755617000,"timestamp_seconds":1781755617,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e91ee8"} 
[2026-06-18 09:37:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:37:52] 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-06-18 09:37:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 09:37:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:37:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:37:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:37:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:37:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:37:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:37:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107349,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:37:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:37:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:37:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:37:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129437440001,"66":14439,"18":206,"28":32256,"24":36,"16":21121936197156864,"45":895794143530213376},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:37:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:37:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:37:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129437440001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:37:52] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:37:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:37:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21121936197156864,"km_value":21121936197156.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:37:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":895794143530213376,"description":"Unknown IO ID 45"} 
[2026-06-18 09:37:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129437440001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":895794143530213376}} 
[2026-06-18 09:37:52] local.INFO: DEBUG: GPS processor result {"connection_id":107349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343557,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:37:52] local.INFO: GPS data processed {"connection_id":107349,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:37:52] local.INFO: Acknowledgment sent {"connection_id":107349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:37:52] local.INFO: TCP Data received {"connection_id":107350,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:52] local.INFO: Processing buffer {"connection_id":107350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:52] local.INFO: IMEI packet received {"connection_id":107350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":107350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:37:57] local.INFO: TCP Data received {"connection_id":107350,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107350,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:57] local.INFO: Processing buffer {"connection_id":107350,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:37:57] local.INFO: IMEI packet received {"connection_id":107350,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":107350,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:37:58] local.INFO: TCP Data received {"connection_id":107350,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:58] local.INFO: Processing buffer {"connection_id":107350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:37:58] local.INFO: Packet analysis {"connection_id":107350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:37:58] local.INFO: Extracted packet for processing {"connection_id":107350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 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-06-18 09:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:37:58] 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-06-18 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-06-18 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-06-18 09:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:37:58] 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-06-18 09:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:37:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:37:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":107350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343558,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:37:58] local.INFO: GPS data processed {"connection_id":107350,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:37:58] local.INFO: Acknowledgment sent {"connection_id":107350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:38:13] local.INFO: TCP Data received {"connection_id":105609,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:13] local.INFO: Processing buffer {"connection_id":105609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:13] local.INFO: IMEI packet received {"connection_id":105609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":105609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:38:14] local.INFO: TCP Data received {"connection_id":105609,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:14] local.INFO: Processing buffer {"connection_id":105609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:14] local.INFO: IMEI packet received {"connection_id":105609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:38:14] local.INFO: IMEI acknowledgment sent {"connection_id":105609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:38:15] local.INFO: TCP Data received {"connection_id":105609,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:15] local.INFO: Processing buffer {"connection_id":105609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:15] local.INFO: IMEI packet received {"connection_id":105609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":105609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:38:19] local.INFO: TCP Data received {"connection_id":105609,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:19] local.INFO: Processing buffer {"connection_id":105609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:38:19] local.INFO: IMEI packet received {"connection_id":105609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:38:19] local.INFO: IMEI acknowledgment sent {"connection_id":105609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:38:25] local.INFO: TCP Data received {"connection_id":105609,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e9b740012d0cc0000704bde00028005020..."} 
[2026-06-18 09:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e9b740012d0cc0000704bde00028005020..."} 
[2026-06-18 09:38:25] local.INFO: Processing buffer {"connection_id":105609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e9b740012d0cc0000704bde00028005020..."} 
[2026-06-18 09:38:25] local.INFO: Packet analysis {"connection_id":105609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e9"} 
[2026-06-18 09:38:25] local.INFO: Extracted packet for processing {"connection_id":105609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e9"} 
[2026-06-18 09:38:25] local.INFO: GPS Element Parsed {"raw_longitude":755810304,"raw_latitude":117751264,"longitude_deg":75.5810304,"latitude_deg":11.7751264,"altitude":40,"angle":80,"satellites":32,"speed":27,"hex_longitude":"2d0cc000","hex_latitude":"0704bde0","is_valid_coordinates":true} 
[2026-06-18 09:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129447424001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21123198917541888,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917256610500149248,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781755656000,"timestamp_ms":1781755656000,"timestamp_seconds":1781755656,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e9b740"} 
[2026-06-18 09:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:38:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:38:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":105609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":105609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":105609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129447424001,"66":14439,"18":206,"28":32256,"24":27,"16":21123198917541888,"45":917256610500149248},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129447424001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:38:25] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:38:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21123198917541888,"km_value":21123198917541.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":917256610500149248,"description":"Unknown IO ID 45"} 
[2026-06-18 09:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129447424001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":27,"odometer":null,"unknown_45":917256610500149248}} 
[2026-06-18 09:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":105609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343559,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:38:25] local.INFO: GPS data processed {"connection_id":105609,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:38:25] local.INFO: Acknowledgment sent {"connection_id":105609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:38:27] local.INFO: TCP Data received {"connection_id":105609,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e9ceb0012d0cd0800704c1480028005e21..."} 
[2026-06-18 09:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e9ceb0012d0cd0800704c1480028005e21..."} 
[2026-06-18 09:38:27] local.INFO: Processing buffer {"connection_id":105609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e9ceb0012d0cd0800704c1480028005e21..."} 
[2026-06-18 09:38:27] local.INFO: Packet analysis {"connection_id":105609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e9"} 
[2026-06-18 09:38:27] local.INFO: Extracted packet for processing {"connection_id":105609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e9"} 
[2026-06-18 09:38:27] local.INFO: GPS Element Parsed {"raw_longitude":755814528,"raw_latitude":117752136,"longitude_deg":75.5814528,"latitude_deg":11.7752136,"altitude":40,"angle":94,"satellites":33,"speed":28,"hex_longitude":"2d0cd080","hex_latitude":"0704c148","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129447936001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21123405075972096,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":918734354127904768,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781755662000,"timestamp_ms":1781755662000,"timestamp_seconds":1781755662,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e9ceb0"} 
[2026-06-18 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-06-18 09:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":105609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":105609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":105609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129447936001,"66":14407,"18":206,"28":32256,"24":28,"16":21123405075972096,"45":918734354127904768},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129447936001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:38:27] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21123405075972096,"km_value":21123405075972.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":918734354127904768,"description":"Unknown IO ID 45"} 
[2026-06-18 09:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129447936001,"power":14407,"unknown_18":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":918734354127904768}} 
[2026-06-18 09:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":105609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343560,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:38:27] local.INFO: GPS data processed {"connection_id":105609,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:38:27] local.INFO: Acknowledgment sent {"connection_id":105609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:38:29] local.INFO: TCP Data received {"connection_id":107350,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:38:29] local.INFO: Processing buffer {"connection_id":107350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:38:29] local.INFO: Packet analysis {"connection_id":107350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:38:29] local.INFO: Extracted packet for processing {"connection_id":107350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38: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-06-18 09:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 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-06-18 09:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107350,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:38:29] 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-06-18 09:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:38:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:38:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":107350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:38:29] local.INFO: GPS data processed {"connection_id":107350,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:38:29] local.INFO: Acknowledgment sent {"connection_id":107350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:38:39] local.INFO: TCP Data received {"connection_id":106385,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:38:39] local.INFO: Processing buffer {"connection_id":106385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:38:39] local.INFO: IMEI packet received {"connection_id":106385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:38:39] local.INFO: IMEI acknowledgment sent {"connection_id":106385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:38:52] local.INFO: TCP Data received {"connection_id":107351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:38:52] local.INFO: Processing buffer {"connection_id":107351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:38:52] local.INFO: IMEI packet received {"connection_id":107351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":107351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:38:57] local.INFO: TCP Data received {"connection_id":107351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107351,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:38:57] local.INFO: Processing buffer {"connection_id":107351,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:38:57] local.INFO: IMEI packet received {"connection_id":107351,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":107351,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:38:58] local.INFO: TCP Data received {"connection_id":107351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:38:58] local.INFO: Processing buffer {"connection_id":107351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:38:58] local.INFO: Packet analysis {"connection_id":107351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:38:58] local.INFO: Extracted packet for processing {"connection_id":107351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 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-06-18 09:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:38:58] 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-06-18 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-06-18 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-06-18 09:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:38:58] 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-06-18 09:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:38:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:38:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":107351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343562,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:38:58] local.INFO: GPS data processed {"connection_id":107351,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:38:58] local.INFO: Acknowledgment sent {"connection_id":107351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:39:07] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:07] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:07] local.INFO: IMEI packet received {"connection_id":106386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":106386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:39:09] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:09] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:09] local.INFO: IMEI packet received {"connection_id":106386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":106386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:39:10] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:10] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:10] local.INFO: IMEI packet received {"connection_id":106386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":106386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:39:14] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:14] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:39:14] local.INFO: IMEI packet received {"connection_id":106386,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":106386,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:39:16] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eac8b0012d0d3a000704ba98001e00a821..."} 
[2026-06-18 09:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eac8b0012d0d3a000704ba98001e00a821..."} 
[2026-06-18 09:39:16] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eac8b0012d0d3a000704ba98001e00a821..."} 
[2026-06-18 09:39:16] local.INFO: Packet analysis {"connection_id":106386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ea"} 
[2026-06-18 09:39:16] local.INFO: Extracted packet for processing {"connection_id":106386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ea"} 
[2026-06-18 09:39:16] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117750424,"longitude_deg":75.5841536,"latitude_deg":11.7750424,"altitude":30,"angle":168,"satellites":33,"speed":7,"hex_longitude":"2d0d3a00","hex_latitude":"0704ba98","is_valid_coordinates":true} 
[2026-06-18 09:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129464064001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21124715040997376,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952440982588923904,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781755726000,"timestamp_ms":1781755726000,"timestamp_seconds":1781755726,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eac8b0"} 
[2026-06-18 09:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:39:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 09:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:39:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129464064001,"66":14494,"18":206,"28":32256,"24":7,"16":21124715040997376,"45":952440982588923904},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129464064001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:39:16] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:39:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21124715040997376,"km_value":21124715040997.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":952440982588923904,"description":"Unknown IO ID 45"} 
[2026-06-18 09:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129464064001,"power":14494,"unknown_18":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":952440982588923904}} 
[2026-06-18 09:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":106386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343563,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:39:16] local.INFO: GPS data processed {"connection_id":106386,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:39:16] local.INFO: Acknowledgment sent {"connection_id":106386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:39:17] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ead468012d0d3a400704b7e0001e00ba21..."} 
[2026-06-18 09:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ead468012d0d3a400704b7e0001e00ba21..."} 
[2026-06-18 09:39:17] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ead468012d0d3a400704b7e0001e00ba21..."} 
[2026-06-18 09:39:17] local.INFO: Packet analysis {"connection_id":106386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ea"} 
[2026-06-18 09:39:17] local.INFO: Extracted packet for processing {"connection_id":106386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ea"} 
[2026-06-18 09:39:17] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117749728,"longitude_deg":75.58416,"latitude_deg":11.7749728,"altitude":30,"angle":186,"satellites":33,"speed":10,"hex_longitude":"2d0d3a40","hex_latitude":"0704b7e0","is_valid_coordinates":true} 
[2026-06-18 09:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129465856001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21124749400735744,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301286389760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781755729000,"timestamp_ms":1781755729000,"timestamp_seconds":1781755729,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ead468"} 
[2026-06-18 09:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:39:17] 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-06-18 09:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 09:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129465856001,"66":14439,"18":206,"28":32256,"24":10,"16":21124749400735744,"45":953074301286389760},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129465856001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:39:17] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:39:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21124749400735744,"km_value":21124749400735.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301286389760,"description":"Unknown IO ID 45"} 
[2026-06-18 09:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129465856001,"power":14439,"unknown_18":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":953074301286389760}} 
[2026-06-18 09:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":106386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343564,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:39:17] local.INFO: GPS data processed {"connection_id":106386,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:39:17] local.INFO: Acknowledgment sent {"connection_id":106386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:39:30] local.INFO: TCP Data received {"connection_id":107351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:39:30] local.INFO: Processing buffer {"connection_id":107351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:39:30] local.INFO: Packet analysis {"connection_id":107351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:39:30] local.INFO: Extracted packet for processing {"connection_id":107351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:39:30] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 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-06-18 09:39:30] 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-06-18 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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:39: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-06-18 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-06-18 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-06-18 09:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107351,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:39: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-06-18 09:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:39:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:39:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":107351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343565,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:39:30] local.INFO: GPS data processed {"connection_id":107351,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:39:30] local.INFO: Acknowledgment sent {"connection_id":107351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:39:50] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eb12e8012d0d3a000704a158001e00ae21..."} 
[2026-06-18 09:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eb12e8012d0d3a000704a158001e00ae21..."} 
[2026-06-18 09:39:50] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eb12e8012d0d3a000704a158001e00ae21..."} 
[2026-06-18 09:39:50] local.INFO: Packet analysis {"connection_id":106386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8eb"} 
[2026-06-18 09:39:50] local.INFO: Extracted packet for processing {"connection_id":106386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8eb"} 
[2026-06-18 09:39:50] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117743960,"longitude_deg":75.5841536,"latitude_deg":11.774396,"altitude":30,"angle":174,"satellites":33,"speed":7,"hex_longitude":"2d0d3a00","hex_latitude":"0704a158","is_valid_coordinates":true} 
[2026-06-18 09:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129466624001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21125028573609984,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670030389248,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781755745000,"timestamp_ms":1781755745000,"timestamp_seconds":1781755745,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eb12e8"} 
[2026-06-18 09:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106386,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129466624001,"66":14374,"18":206,"28":32256,"24":7,"16":21125028573609984,"45":953144670030389248},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129466624001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:39:50] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:39:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21125028573609984,"km_value":21125028573609.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670030389248,"description":"Unknown IO ID 45"} 
[2026-06-18 09:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129466624001,"power":14374,"unknown_18":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":953144670030389248}} 
[2026-06-18 09:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":106386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343566,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:39:50] local.INFO: GPS data processed {"connection_id":106386,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:39:50] local.INFO: Acknowledgment sent {"connection_id":106386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:39:52] local.INFO: TCP Data received {"connection_id":105811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:39:52] local.INFO: Processing buffer {"connection_id":105811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:39:52] local.INFO: IMEI packet received {"connection_id":105811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":105811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:39:57] local.INFO: TCP Data received {"connection_id":105811,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105811,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:39:57] local.INFO: Processing buffer {"connection_id":105811,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:39:57] local.INFO: IMEI packet received {"connection_id":105811,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":105811,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:39:58] local.INFO: TCP Data received {"connection_id":105811,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:39:58] local.INFO: Processing buffer {"connection_id":105811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:39:58] local.INFO: Packet analysis {"connection_id":105811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:39:58] local.INFO: Extracted packet for processing {"connection_id":105811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 09:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:39:58] 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-06-18 09: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-06-18 09:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:39:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:39:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":105811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343567,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:39:58] local.INFO: GPS data processed {"connection_id":105811,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:39:58] local.INFO: Acknowledgment sent {"connection_id":105811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:40:09] local.INFO: TCP Data received {"connection_id":105611,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:40:09] local.INFO: Processing buffer {"connection_id":105611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:40:09] local.INFO: IMEI packet received {"connection_id":105611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":105611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:40:14] local.INFO: TCP Data received {"connection_id":105611,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:40:14] local.INFO: Processing buffer {"connection_id":105611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:40:14] local.INFO: IMEI packet received {"connection_id":105611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":105611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:40:15] local.INFO: TCP Data received {"connection_id":105611,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eb1ea0012d0d3a0007049ee0001d00ba21..."} 
[2026-06-18 09:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eb1ea0012d0d3a0007049ee0001d00ba21..."} 
[2026-06-18 09:40:15] local.INFO: Processing buffer {"connection_id":105611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eb1ea0012d0d3a0007049ee0001d00ba21..."} 
[2026-06-18 09:40:15] local.INFO: Packet analysis {"connection_id":105611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8eb"} 
[2026-06-18 09:40:15] local.INFO: Extracted packet for processing {"connection_id":105611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8eb"} 
[2026-06-18 09:40:15] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117743328,"longitude_deg":75.5841536,"latitude_deg":11.7743328,"altitude":29,"angle":186,"satellites":33,"speed":7,"hex_longitude":"2d0d3a00","hex_latitude":"07049ee0","is_valid_coordinates":true} 
[2026-06-18 09:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129470720001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21125062933348352,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301284734976,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781755748000,"timestamp_ms":1781755748000,"timestamp_seconds":1781755748,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eb1ea0"} 
[2026-06-18 09:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 09:40:15] 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-06-18 09:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129470720001,"66":14548,"18":206,"28":32256,"24":7,"16":21125062933348352,"45":953074301284734976},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129470720001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:40:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21125062933348352,"km_value":21125062933348.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301284734976,"description":"Unknown IO ID 45"} 
[2026-06-18 09:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129470720001,"power":14548,"unknown_18":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":953074301284734976}} 
[2026-06-18 09:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":105611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343568,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:40:15] local.INFO: GPS data processed {"connection_id":105611,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:40:15] local.INFO: Acknowledgment sent {"connection_id":105611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:40:29] local.INFO: TCP Data received {"connection_id":105811,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:40:29] local.INFO: Processing buffer {"connection_id":105811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:40:29] local.INFO: Packet analysis {"connection_id":105811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:40:29] local.INFO: Extracted packet for processing {"connection_id":105811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:40:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40: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-06-18 09:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 09:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105811,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:40:29] 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-06-18 09:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:40:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:40:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":105811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:40:29] local.INFO: GPS data processed {"connection_id":105811,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:40:29] local.INFO: Acknowledgment sent {"connection_id":105811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:40:47] local.INFO: TCP Data received {"connection_id":105611,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eb3228012d0d3a4007049b28001e00aa22..."} 
[2026-06-18 09:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eb3228012d0d3a4007049b28001e00aa22..."} 
[2026-06-18 09:40:47] local.INFO: Processing buffer {"connection_id":105611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eb3228012d0d3a4007049b28001e00aa22..."} 
[2026-06-18 09:40:47] local.INFO: Packet analysis {"connection_id":105611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8eb"} 
[2026-06-18 09:40:47] local.INFO: Extracted packet for processing {"connection_id":105611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8eb"} 
[2026-06-18 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117742376,"longitude_deg":75.58416,"latitude_deg":11.7742376,"altitude":30,"angle":170,"satellites":34,"speed":7,"hex_longitude":"2d0d3a40","hex_latitude":"07049b28","is_valid_coordinates":true} 
[2026-06-18 09:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21125110177988608,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301284573184,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781755753000,"timestamp_ms":1781755753000,"timestamp_seconds":1781755753,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eb3228"} 
[2026-06-18 09:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 09:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129471488001,"66":14450,"18":206,"28":32256,"24":7,"16":21125110177988608,"45":953074301284573184},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:40:47] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21125110177988608,"km_value":21125110177988.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301284573184,"description":"Unknown IO ID 45"} 
[2026-06-18 09:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129471488001,"power":14450,"unknown_18":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_45":953074301284573184}} 
[2026-06-18 09:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":105611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343570,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:40:47] local.INFO: GPS data processed {"connection_id":105611,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:40:47] local.INFO: Acknowledgment sent {"connection_id":105611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:40:52] local.INFO: TCP Data received {"connection_id":105812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:40:52] local.INFO: Processing buffer {"connection_id":105812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:40:52] local.INFO: IMEI packet received {"connection_id":105812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":105812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:40:57] local.INFO: TCP Data received {"connection_id":105812,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105812,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:40:57] local.INFO: Processing buffer {"connection_id":105812,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:40:57] local.INFO: IMEI packet received {"connection_id":105812,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":105812,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:40:58] local.INFO: TCP Data received {"connection_id":105812,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:40:58] local.INFO: Processing buffer {"connection_id":105812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8e853c8012d7d370005ec0c20000400e123..."} 
[2026-06-18 09:40:58] local.INFO: Packet analysis {"connection_id":105812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:40:58] local.INFO: Extracted packet for processing {"connection_id":105812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8e8"} 
[2026-06-18 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":4,"angle":225,"satellites":35,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129347584001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755565000,"timestamp_ms":1781755565000,"timestamp_seconds":1781755565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8e853c8"} 
[2026-06-18 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-06-18 09:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:40:58] 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-06-18 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-06-18 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-06-18 09:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129347584001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129347584001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:40:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:40:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129347584001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":105812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343571,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:40:58] local.INFO: GPS data processed {"connection_id":105812,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:40:58] local.INFO: Acknowledgment sent {"connection_id":105812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:41:09] local.INFO: TCP Data received {"connection_id":105612,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:41:09] local.INFO: Processing buffer {"connection_id":105612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:41:09] local.INFO: IMEI packet received {"connection_id":105612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":105612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:41:14] local.INFO: TCP Data received {"connection_id":105612,"ip":"117.225.208.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105612,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:41:14] local.INFO: Processing buffer {"connection_id":105612,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:41:14] local.INFO: IMEI packet received {"connection_id":105612,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":105612,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:41:15] local.INFO: TCP Data received {"connection_id":105612,"ip":"117.225.208.10","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ec7a48012d0d290007043e78001a00c623..."} 
[2026-06-18 09:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ec7a48012d0d290007043e78001a00c623..."} 
[2026-06-18 09:41:15] local.INFO: Processing buffer {"connection_id":105612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ec7a48012d0d290007043e78001a00c623..."} 
[2026-06-18 09:41:15] local.INFO: Packet analysis {"connection_id":105612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:41:15] local.INFO: Extracted packet for processing {"connection_id":105612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":755837184,"raw_latitude":117718648,"longitude_deg":75.5837184,"latitude_deg":11.7718648,"altitude":26,"angle":198,"satellites":35,"speed":13,"hex_longitude":"2d0d2900","hex_latitude":"07043e78","is_valid_coordinates":true} 
[2026-06-18 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129489152001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21126299883929600,"note":"Value kept but may cause issues"} 
[2026-06-18 09:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601559080960,"note":"Value kept but may cause issues"} 
[2026-06-18 09:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781755837000,"timestamp_ms":1781755837000,"timestamp_seconds":1781755837,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ec7a48"} 
[2026-06-18 09:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-18 09:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105612,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.225.208.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129489152001,"66":14461,"18":206,"28":32256,"24":13,"16":21126299883929600,"45":949696601559080960},"client_ip":"117.225.208.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,28,24,16,45]} 
[2026-06-18 09:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129489152001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:41:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 09:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 09:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21126299883929600,"km_value":21126299883929.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601559080960,"description":"Unknown IO ID 45"} 
[2026-06-18 09:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129489152001,"power":14461,"unknown_18":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":949696601559080960}} 
[2026-06-18 09:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":105612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343572,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:41:15] local.INFO: GPS data processed {"connection_id":105612,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:41:15] local.INFO: Acknowledgment sent {"connection_id":105612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:41:29] local.INFO: TCP Data received {"connection_id":105812,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:41:29] local.INFO: Processing buffer {"connection_id":105812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:41:29] local.INFO: Packet analysis {"connection_id":105812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:41:29] local.INFO: Extracted packet for processing {"connection_id":105812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:41: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-06-18 09:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 09:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:41: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-06-18 09:41:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105812,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:41:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:41:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":105812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343573,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:41:29] local.INFO: GPS data processed {"connection_id":105812,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:41:29] local.INFO: Acknowledgment sent {"connection_id":105812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:41:57] local.INFO: TCP Data received {"connection_id":105613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:41:57] local.INFO: Processing buffer {"connection_id":105613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:41:57] local.INFO: IMEI packet received {"connection_id":105613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":105613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:42:02] local.INFO: TCP Data received {"connection_id":105613,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105613,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:02] local.INFO: Processing buffer {"connection_id":105613,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:02] local.INFO: IMEI packet received {"connection_id":105613,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":105613,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:42:03] local.INFO: TCP Data received {"connection_id":105613,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:03] local.INFO: Processing buffer {"connection_id":105613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:03] local.INFO: Packet analysis {"connection_id":105613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:42:03] local.INFO: Extracted packet for processing {"connection_id":105613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 09:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:42:03] 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-06-18 09:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:42: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-06-18 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:42:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":105613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343574,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:42:03] local.INFO: GPS data processed {"connection_id":105613,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:42:03] local.INFO: Acknowledgment sent {"connection_id":105613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:42:08] local.INFO: TCP Data received {"connection_id":105613,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:08] local.INFO: Processing buffer {"connection_id":105613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:08] local.INFO: Packet analysis {"connection_id":105613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:42:08] local.INFO: Extracted packet for processing {"connection_id":105613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:42:08] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 09:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105613,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:42:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:42:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":105613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:42:08] local.INFO: GPS data processed {"connection_id":105613,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:42:08] local.INFO: Acknowledgment sent {"connection_id":105613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:42:24] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:24] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:24] local.INFO: IMEI packet received {"connection_id":105614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":105614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:42:25] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:25] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:25] local.INFO: IMEI packet received {"connection_id":105614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":105614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:42:30] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:30] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:42:30] local.INFO: IMEI packet received {"connection_id":105614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":105614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:42:33] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ed58f0012d509800067629e80016005a2f..."} 
[2026-06-18 09:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ed58f0012d509800067629e80016005a2f..."} 
[2026-06-18 09:42:33] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ed58f0012d509800067629e80016005a2f..."} 
[2026-06-18 09:42:33] local.INFO: Packet analysis {"connection_id":105614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ed"} 
[2026-06-18 09:42:33] local.INFO: Extracted packet for processing {"connection_id":105614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ed"} 
[2026-06-18 09:42:33] local.INFO: GPS Element Parsed {"raw_longitude":760256512,"raw_latitude":108407272,"longitude_deg":76.0256512,"latitude_deg":10.8407272,"altitude":22,"angle":90,"satellites":47,"speed":60,"hex_longitude":"2d509800","hex_latitude":"067629e8","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129507328001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317800092113305600,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5797258648084955136,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781755894000,"timestamp_ms":1781755894000,"timestamp_seconds":1781755894,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ed58f0"} 
[2026-06-18 09:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:42: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-06-18 09: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":152,"data_length":795,"current_offset":136} 
[2026-06-18 09:42: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-06-18 09: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-06-18 09:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129507328001,"66":27865,"198":206,"19":47872,"24":60,"16":317800092113305600,"45":5797258648084955136},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,19,24,16,45]} 
[2026-06-18 09:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129507328001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:42:33] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 09:42:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317800092113305600,"km_value":317800092113305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5797258648084955136,"description":"Unknown IO ID 45"} 
[2026-06-18 09:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129507328001,"power":27865,"unknown_198":206,"unknown_19":47872,"ignition":60,"odometer":null,"unknown_45":5797258648084955136}} 
[2026-06-18 09:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":105614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:42:33] local.INFO: GPS data processed {"connection_id":105614,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:42:33] local.INFO: Acknowledgment sent {"connection_id":105614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:42:52] local.INFO: TCP Data received {"connection_id":107354,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:52] local.INFO: Processing buffer {"connection_id":107354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:52] local.INFO: IMEI packet received {"connection_id":107354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":107354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:42:57] local.INFO: TCP Data received {"connection_id":107354,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107354,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:57] local.INFO: Processing buffer {"connection_id":107354,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:42:57] local.INFO: IMEI packet received {"connection_id":107354,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":107354,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:42:58] local.INFO: TCP Data received {"connection_id":107354,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:58] local.INFO: Processing buffer {"connection_id":107354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:42:58] local.INFO: Packet analysis {"connection_id":107354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:42:58] local.INFO: Extracted packet for processing {"connection_id":107354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 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-06-18 09:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:42: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-06-18 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-06-18 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-06-18 09:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:42:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:42:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":107354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:42:58] local.INFO: GPS data processed {"connection_id":107354,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:42:58] local.INFO: Acknowledgment sent {"connection_id":107354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:43:06] local.INFO: TCP Data received {"connection_id":105614,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ed7060012d50bb80067629a8001600592f..."} 
[2026-06-18 09:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ed7060012d50bb80067629a8001600592f..."} 
[2026-06-18 09:43:06] local.INFO: Processing buffer {"connection_id":105614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ed7060012d50bb80067629a8001600592f..."} 
[2026-06-18 09:43:06] local.INFO: Packet analysis {"connection_id":105614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ed"} 
[2026-06-18 09:43:06] local.INFO: Extracted packet for processing {"connection_id":105614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ed"} 
[2026-06-18 09:43:06] local.INFO: GPS Element Parsed {"raw_longitude":760265600,"raw_latitude":108407208,"longitude_deg":76.02656,"latitude_deg":10.8407208,"altitude":22,"angle":89,"satellites":47,"speed":59,"hex_longitude":"2d50bb80","hex_latitude":"067629a8","is_valid_coordinates":true} 
[2026-06-18 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129508864001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317800521610035200,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5807391747246516224,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781755900000,"timestamp_ms":1781755900000,"timestamp_seconds":1781755900,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ed7060"} 
[2026-06-18 09:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:43: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-06-18 09:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 09:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129508864001,"66":27821,"198":206,"19":47872,"24":59,"16":317800521610035200,"45":5807391747246516224},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,19,24,16,45]} 
[2026-06-18 09:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129508864001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:43:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 09:43:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317800521610035200,"km_value":317800521610035.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5807391747246516224,"description":"Unknown IO ID 45"} 
[2026-06-18 09:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129508864001,"power":27821,"unknown_198":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5807391747246516224}} 
[2026-06-18 09:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":105614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:43:06] local.INFO: GPS data processed {"connection_id":105614,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:43:06] local.INFO: Acknowledgment sent {"connection_id":105614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:43:24] local.INFO: TCP Data received {"connection_id":106387,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:43:24] local.INFO: Processing buffer {"connection_id":106387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:43:24] local.INFO: IMEI packet received {"connection_id":106387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":106387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:43:25] local.INFO: TCP Data received {"connection_id":106388,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:25] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:25] local.INFO: IMEI packet received {"connection_id":106388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":106388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:43:28] local.INFO: TCP Data received {"connection_id":106388,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:28] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:28] local.INFO: IMEI packet received {"connection_id":106388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":106388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:43:29] local.INFO: TCP Data received {"connection_id":107354,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:43:29] local.INFO: Processing buffer {"connection_id":107354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:43:29] local.INFO: Packet analysis {"connection_id":107354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:43:29] local.INFO: Extracted packet for processing {"connection_id":107354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:43:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43: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-06-18 09:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 09:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:43: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-06-18 09: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-06-18 09:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107354,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:43:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:43:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:43:29] local.INFO: TCP Data received {"connection_id":106387,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106387,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:43:29] local.INFO: Processing buffer {"connection_id":106387,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:43:29] local.INFO: IMEI packet received {"connection_id":106387,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":106387,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":107354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:43:29] local.INFO: GPS data processed {"connection_id":107354,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:43:29] local.INFO: Acknowledgment sent {"connection_id":107354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:43:30] local.INFO: TCP Data received {"connection_id":106387,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ee3b80012d0d2e000703cc280016001e21..."} 
[2026-06-18 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ee3b80012d0d2e000703cc280016001e21..."} 
[2026-06-18 09:43:30] local.INFO: Processing buffer {"connection_id":106387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ee3b80012d0d2e000703cc280016001e21..."} 
[2026-06-18 09:43:30] local.INFO: Packet analysis {"connection_id":106387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:43:30] local.INFO: Extracted packet for processing {"connection_id":106387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":755838464,"raw_latitude":117689384,"longitude_deg":75.5838464,"latitude_deg":11.7689384,"altitude":22,"angle":30,"satellites":33,"speed":2,"hex_longitude":"2d0d2e00","hex_latitude":"0703cc28","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129523200001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21127807417450496,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949626232806027264,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781755952000,"timestamp_ms":1781755952000,"timestamp_seconds":1781755952,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ee3b80"} 
[2026-06-18 09:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 09:43:30] 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-06-18 09: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-06-18 09:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106387,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129523200001,"66":14537,"16":21127807417450496,"94":11008,"24":2,"45":949626232806027264},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129523200001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21127807417450496,"km_value":21127807417450.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:43:30] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":949626232806027264,"description":"Unknown IO ID 45"} 
[2026-06-18 09:43:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129523200001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":2,"unknown_45":949626232806027264}} 
[2026-06-18 09:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":106387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343580,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:43:30] local.INFO: GPS data processed {"connection_id":106387,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:43:30] local.INFO: Acknowledgment sent {"connection_id":106387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:43:30] local.INFO: TCP Data received {"connection_id":106388,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:30] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:43:30] local.INFO: IMEI packet received {"connection_id":106388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":106388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:43:32] local.INFO: TCP Data received {"connection_id":106388,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ed87d0012d50de4006762e200016004b2f..."} 
[2026-06-18 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ed87d0012d50de4006762e200016004b2f..."} 
[2026-06-18 09:43:32] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ed87d0012d50de4006762e200016004b2f..."} 
[2026-06-18 09:43:32] local.INFO: Packet analysis {"connection_id":106388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ed"} 
[2026-06-18 09:43:32] local.INFO: Extracted packet for processing {"connection_id":106388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ed"} 
[2026-06-18 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":760274496,"raw_latitude":108408352,"longitude_deg":76.0274496,"latitude_deg":10.8408352,"altitude":22,"angle":75,"satellites":47,"speed":58,"hex_longitude":"2d50de40","hex_latitude":"06762e20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129510400001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317800951106764800,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5817384108919728128,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781755906000,"timestamp_ms":1781755906000,"timestamp_seconds":1781755906,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ed87d0"} 
[2026-06-18 09:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 09:43: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-06-18 09: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-06-18 09:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129510400001,"66":27865,"198":206,"19":47872,"24":58,"16":317800951106764800,"45":5817384108919728128},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,19,24,16,45]} 
[2026-06-18 09:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129510400001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:43:32] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 09:43:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317800951106764800,"km_value":317800951106764.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5817384108919728128,"description":"Unknown IO ID 45"} 
[2026-06-18 09:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129510400001,"power":27865,"unknown_198":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":5817384108919728128}} 
[2026-06-18 09:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":106388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:43:32] local.INFO: GPS data processed {"connection_id":106388,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:43:32] local.INFO: Acknowledgment sent {"connection_id":106388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:43:37] local.INFO: TCP Data received {"connection_id":106388,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ed9b58012d50fa00067638000017003f2f..."} 
[2026-06-18 09:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ed9b58012d50fa00067638000017003f2f..."} 
[2026-06-18 09:43:37] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ed9b58012d50fa00067638000017003f2f..."} 
[2026-06-18 09:43:37] local.INFO: Packet analysis {"connection_id":106388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ed"} 
[2026-06-18 09:43:37] local.INFO: Extracted packet for processing {"connection_id":106388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ed"} 
[2026-06-18 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":760281600,"raw_latitude":108410880,"longitude_deg":76.02816,"latitude_deg":10.841088,"altitude":23,"angle":63,"satellites":47,"speed":59,"hex_longitude":"2d50fa00","hex_latitude":"06763800","is_valid_coordinates":true} 
[2026-06-18 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129511936001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317801311884017664,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5827165364360716288,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781755911000,"timestamp_ms":1781755911000,"timestamp_seconds":1781755911,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ed9b58"} 
[2026-06-18 09:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 09:43: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-06-18 09:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129511936001,"66":27843,"198":206,"19":47872,"24":59,"16":317801311884017664,"45":5827165364360716288},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,19,24,16,45]} 
[2026-06-18 09:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129511936001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:43:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 09:43:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317801311884017664,"km_value":317801311884017.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5827165364360716288,"description":"Unknown IO ID 45"} 
[2026-06-18 09:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129511936001,"power":27843,"unknown_198":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":5827165364360716288}} 
[2026-06-18 09:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":106388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:43:37] local.INFO: GPS data processed {"connection_id":106388,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:43:37] local.INFO: Acknowledgment sent {"connection_id":106388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:43:52] local.INFO: TCP Data received {"connection_id":105814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:43:52] local.INFO: Processing buffer {"connection_id":105814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:43:52] local.INFO: IMEI packet received {"connection_id":105814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":105814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:43:57] local.INFO: TCP Data received {"connection_id":105814,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105814,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:43:57] local.INFO: Processing buffer {"connection_id":105814,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:43:57] local.INFO: IMEI packet received {"connection_id":105814,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":105814,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:43:58] local.INFO: TCP Data received {"connection_id":105814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:43:58] local.INFO: Processing buffer {"connection_id":105814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:43:58] local.INFO: Packet analysis {"connection_id":105814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:43:58] local.INFO: Extracted packet for processing {"connection_id":105814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 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-06-18 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:43: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-06-18 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-06-18 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-06-18 09:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:43:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":105814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343583,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:43:58] local.INFO: GPS data processed {"connection_id":105814,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:43:58] local.INFO: Acknowledgment sent {"connection_id":105814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:44:08] local.INFO: TCP Data received {"connection_id":106388,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eed7c0012d51c88006779940002700302c..."} 
[2026-06-18 09:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eed7c0012d51c88006779940002700302c..."} 
[2026-06-18 09:44:08] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eed7c0012d51c88006779940002700302c..."} 
[2026-06-18 09:44:08] local.INFO: Packet analysis {"connection_id":106388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:44:08] local.INFO: Extracted packet for processing {"connection_id":106388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":760334464,"raw_latitude":108501312,"longitude_deg":76.0334464,"latitude_deg":10.8501312,"altitude":39,"angle":48,"satellites":44,"speed":44,"hex_longitude":"2d51c880","hex_latitude":"06779940","is_valid_coordinates":true} 
[2026-06-18 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129531904001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317806461549805568,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5886134372003659776,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781755992000,"timestamp_ms":1781755992000,"timestamp_seconds":1781755992,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eed7c0"} 
[2026-06-18 09:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 09:44: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-06-18 09:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129531904001,"66":27713,"138":206,"19":47872,"24":44,"16":317806461549805568,"45":5886134372003659776},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-06-18 09:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129531904001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:44:08] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 09:44:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317806461549805568,"km_value":317806461549805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5886134372003659776,"description":"Unknown IO ID 45"} 
[2026-06-18 09:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129531904001,"power":27713,"unknown_138":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":5886134372003659776}} 
[2026-06-18 09:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":106388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:44:08] local.INFO: GPS data processed {"connection_id":106388,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:44:08] local.INFO: Acknowledgment sent {"connection_id":106388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:44:10] local.INFO: TCP Data received {"connection_id":106389,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:10] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:10] local.INFO: IMEI packet received {"connection_id":106389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":106389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:44:10] local.INFO: TCP Data received {"connection_id":106389,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:10] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:10] local.INFO: IMEI packet received {"connection_id":106389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":106389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:44:14] local.INFO: TCP Data received {"connection_id":107356,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107356,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:14] local.INFO: Processing buffer {"connection_id":107356,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:14] local.INFO: IMEI packet received {"connection_id":107356,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":107356,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:44:14] local.INFO: TCP Data received {"connection_id":106389,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:14] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:44:14] local.INFO: IMEI packet received {"connection_id":106389,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":106389,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:44:15] local.INFO: TCP Data received {"connection_id":106389,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ee89a0012d0d2e000703cc400016002421..."} 
[2026-06-18 09:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ee89a0012d0d2e000703cc400016002421..."} 
[2026-06-18 09:44:15] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ee89a0012d0d2e000703cc400016002421..."} 
[2026-06-18 09:44:15] local.INFO: Packet analysis {"connection_id":106389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:44:15] local.INFO: Extracted packet for processing {"connection_id":106389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:44:15] local.INFO: GPS Element Parsed {"raw_longitude":755838464,"raw_latitude":117689408,"longitude_deg":75.5838464,"latitude_deg":11.7689408,"altitude":22,"angle":36,"satellites":33,"speed":0,"hex_longitude":"2d0d2e00","hex_latitude":"0703cc40","is_valid_coordinates":true} 
[2026-06-18 09:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129523712001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21127807417450496,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601550235648,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781755972000,"timestamp_ms":1781755972000,"timestamp_seconds":1781755972,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ee89a0"} 
[2026-06-18 09:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 09:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:44:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129523712001,"66":14450,"16":21127807417450496,"94":11008,"24":0,"45":949696601550235648},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129523712001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21127807417450496,"km_value":21127807417450.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:44:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601550235648,"description":"Unknown IO ID 45"} 
[2026-06-18 09:44:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129523712001,"power":14450,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":949696601550235648}} 
[2026-06-18 09:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":106389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343585,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:44:15] local.INFO: GPS data processed {"connection_id":106389,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:44:15] local.INFO: Acknowledgment sent {"connection_id":106389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:44:25] local.INFO: TCP Data received {"connection_id":107357,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:25] local.INFO: Processing buffer {"connection_id":107357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:25] local.INFO: IMEI packet received {"connection_id":107357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":107357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:44:29] local.INFO: TCP Data received {"connection_id":105814,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:44:29] local.INFO: Processing buffer {"connection_id":105814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:44:29] local.INFO: Packet analysis {"connection_id":105814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:44:29] local.INFO: Extracted packet for processing {"connection_id":105814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44: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-06-18 09:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 09:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:44: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-06-18 09:44:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105814,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:44:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:44:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":105814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343586,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:44:29] local.INFO: GPS data processed {"connection_id":105814,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:44:29] local.INFO: Acknowledgment sent {"connection_id":105814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:44:31] local.INFO: TCP Data received {"connection_id":107357,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:31] local.INFO: Processing buffer {"connection_id":107357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:31] local.INFO: IMEI packet received {"connection_id":107357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":107357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:44:31] local.INFO: TCP Data received {"connection_id":107357,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:31] local.INFO: Processing buffer {"connection_id":107357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:31] local.INFO: IMEI packet received {"connection_id":107357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":107357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:44:34] local.INFO: TCP Data received {"connection_id":107358,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:34] local.INFO: Processing buffer {"connection_id":107358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:34] local.INFO: IMEI packet received {"connection_id":107358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":107358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:44:34] local.INFO: TCP Data received {"connection_id":107357,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:34] local.INFO: Processing buffer {"connection_id":107357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:44:34] local.INFO: IMEI packet received {"connection_id":107357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":107357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:44:36] local.INFO: TCP Data received {"connection_id":107357,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eed7c0012d51c88006779940002700302c..."} 
[2026-06-18 09:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eed7c0012d51c88006779940002700302c..."} 
[2026-06-18 09:44:36] local.INFO: Processing buffer {"connection_id":107357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eed7c0012d51c88006779940002700302c..."} 
[2026-06-18 09:44:36] local.INFO: Packet analysis {"connection_id":107357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:44:36] local.INFO: Extracted packet for processing {"connection_id":107357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:44:36] local.INFO: GPS Element Parsed {"raw_longitude":760334464,"raw_latitude":108501312,"longitude_deg":76.0334464,"latitude_deg":10.8501312,"altitude":39,"angle":48,"satellites":44,"speed":44,"hex_longitude":"2d51c880","hex_latitude":"06779940","is_valid_coordinates":true} 
[2026-06-18 09:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129533952001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317806461549805568,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5893100877678985216,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781755992000,"timestamp_ms":1781755992000,"timestamp_seconds":1781755992,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eed7c0"} 
[2026-06-18 09:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 09:44:36] 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-06-18 09:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129533952001,"66":27713,"138":206,"19":47872,"24":44,"16":317806461549805568,"45":5893100877678985216},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-06-18 09:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129533952001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:44:36] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 09:44:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317806461549805568,"km_value":317806461549805.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5893100877678985216,"description":"Unknown IO ID 45"} 
[2026-06-18 09:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129533952001,"power":27713,"unknown_138":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":5893100877678985216}} 
[2026-06-18 09:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":107357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:44:36] local.INFO: GPS data processed {"connection_id":107357,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:44:36] local.INFO: Acknowledgment sent {"connection_id":107357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:44:39] local.INFO: TCP Data received {"connection_id":107358,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:39] local.INFO: Processing buffer {"connection_id":107358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:44:39] local.INFO: IMEI packet received {"connection_id":107358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 09:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":107358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:44:40] local.INFO: TCP Data received {"connection_id":107358,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8c54338012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 09:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8c54338012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 09:44:40] local.INFO: Processing buffer {"connection_id":107358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8c54338012d34cdc006aa51c8000b005d31..."} 
[2026-06-18 09:44:40] local.INFO: Packet analysis {"connection_id":107358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 09:44:40] local.INFO: Extracted packet for processing {"connection_id":107358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8c5"} 
[2026-06-18 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825352,"longitude_deg":75.8435264,"latitude_deg":11.1825352,"altitude":11,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa51c8","is_valid_coordinates":true} 
[2026-06-18 09:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456128759296001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057760256,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781753267000,"timestamp_ms":1781753267000,"timestamp_seconds":1781753267,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8c54338"} 
[2026-06-18 09:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 09:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 09:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 09:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 09:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 09:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456128759296001,"66":25419,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057760256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 09:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 09:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 09:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456128759296001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 09:44:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 09:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057760256,"description":"Unknown IO ID 45"} 
[2026-06-18 09:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456128759296001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057760256}} 
[2026-06-18 09:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":107358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:44:41] local.INFO: GPS data processed {"connection_id":107358,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:44:41] local.INFO: Acknowledgment sent {"connection_id":107358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:44:46] local.INFO: TCP Data received {"connection_id":106389,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ee9558012d0d2d800703cc980016012e22..."} 
[2026-06-18 09:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ee9558012d0d2d800703cc980016012e22..."} 
[2026-06-18 09:44:46] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ee9558012d0d2d800703cc980016012e22..."} 
[2026-06-18 09:44:46] local.INFO: Packet analysis {"connection_id":106389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:44:46] local.INFO: Extracted packet for processing {"connection_id":106389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117689496,"longitude_deg":75.5838336,"latitude_deg":11.7689496,"altitude":22,"angle":302,"satellites":34,"speed":3,"hex_longitude":"2d0d2d80","hex_latitude":"0703cc98","is_valid_coordinates":true} 
[2026-06-18 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129528832001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21127816007385088,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949696601550241792,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781755975000,"timestamp_ms":1781755975000,"timestamp_seconds":1781755975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ee9558"} 
[2026-06-18 09:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:44:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 09:44:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:44:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106389,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129528832001,"66":14309,"16":21127816007385088,"94":11008,"24":3,"45":949696601550241792},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129528832001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21127816007385088,"km_value":21127816007385.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:44:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":949696601550241792,"description":"Unknown IO ID 45"} 
[2026-06-18 09:44:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129528832001,"power":14309,"odometer":null,"unknown_94":11008,"ignition":3,"unknown_45":949696601550241792}} 
[2026-06-18 09:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":106389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343589,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:44:46] local.INFO: GPS data processed {"connection_id":106389,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:44:46] local.INFO: Acknowledgment sent {"connection_id":106389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:44:52] local.INFO: TCP Data received {"connection_id":106390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:44:52] local.INFO: Processing buffer {"connection_id":106390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:44:52] local.INFO: IMEI packet received {"connection_id":106390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":106390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:44:57] local.INFO: TCP Data received {"connection_id":106390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:44:57] local.INFO: Processing buffer {"connection_id":106390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:44:57] local.INFO: IMEI packet received {"connection_id":106390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":106390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:44:58] local.INFO: TCP Data received {"connection_id":106390,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:44:58] local.INFO: Processing buffer {"connection_id":106390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:44:58] local.INFO: Packet analysis {"connection_id":106390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:44:58] local.INFO: Extracted packet for processing {"connection_id":106390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 09:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:44: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-06-18 09: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-06-18 09:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:44:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:44:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":106390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343590,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:44:58] local.INFO: GPS data processed {"connection_id":106390,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:44:58] local.INFO: Acknowledgment sent {"connection_id":106390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:45:08] local.INFO: TCP Data received {"connection_id":106391,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:08] local.INFO: Processing buffer {"connection_id":106391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:08] local.INFO: IMEI packet received {"connection_id":106391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":106391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:45:09] local.INFO: TCP Data received {"connection_id":107357,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eefae8012d51e6400677b140002d00322b..."} 
[2026-06-18 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eefae8012d51e6400677b140002d00322b..."} 
[2026-06-18 09:45:09] local.INFO: Processing buffer {"connection_id":107357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eefae8012d51e6400677b140002d00322b..."} 
[2026-06-18 09:45:09] local.INFO: Packet analysis {"connection_id":107357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:45:09] local.INFO: Extracted packet for processing {"connection_id":107357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":760342080,"raw_latitude":108507456,"longitude_deg":76.034208,"latitude_deg":10.8507456,"altitude":45,"angle":50,"satellites":43,"speed":42,"hex_longitude":"2d51e640","hex_latitude":"0677b140","is_valid_coordinates":true} 
[2026-06-18 09:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129533952001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317806933996208128,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5893100877678985216,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781756001000,"timestamp_ms":1781756001000,"timestamp_seconds":1781756001,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eefae8"} 
[2026-06-18 09:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 09:45:09] 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-06-18 09:45:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129533952001,"66":27865,"138":206,"19":47872,"24":42,"16":317806933996208128,"45":5893100877678985216},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-06-18 09:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129533952001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:45:09] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 09:45:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317806933996208128,"km_value":317806933996208.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5893100877678985216,"description":"Unknown IO ID 45"} 
[2026-06-18 09:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129533952001,"power":27865,"unknown_138":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":5893100877678985216}} 
[2026-06-18 09:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":107357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:45:09] local.INFO: GPS data processed {"connection_id":107357,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:45:09] local.INFO: Acknowledgment sent {"connection_id":107357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:45:09] local.INFO: TCP Data received {"connection_id":106391,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:09] local.INFO: Processing buffer {"connection_id":106391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:09] local.INFO: IMEI packet received {"connection_id":106391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":106391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:45:14] local.INFO: TCP Data received {"connection_id":106391,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106391,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:14] local.INFO: Processing buffer {"connection_id":106391,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:45:14] local.INFO: IMEI packet received {"connection_id":106391,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":106391,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:45:15] local.INFO: TCP Data received {"connection_id":106391,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ee9d28012d0d2cc00703cd700017014c21..."} 
[2026-06-18 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ee9d28012d0d2cc00703cd700017014c21..."} 
[2026-06-18 09:45:15] local.INFO: Processing buffer {"connection_id":106391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ee9d28012d0d2cc00703cd700017014c21..."} 
[2026-06-18 09:45:15] local.INFO: Packet analysis {"connection_id":106391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:45:15] local.INFO: Extracted packet for processing {"connection_id":106391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:45:15] local.INFO: GPS Element Parsed {"raw_longitude":755838144,"raw_latitude":117689712,"longitude_deg":75.5838144,"latitude_deg":11.7689712,"altitude":23,"angle":332,"satellites":33,"speed":5,"hex_longitude":"2d0d2cc0","hex_latitude":"0703cd70","is_valid_coordinates":true} 
[2026-06-18 09:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129529600001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21127833187254272,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949555864061908992,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781755977000,"timestamp_ms":1781755977000,"timestamp_seconds":1781755977,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ee9d28"} 
[2026-06-18 09:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 09:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2534,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129529600001,"66":14439,"16":21127833187254272,"94":11008,"24":5,"45":949555864061908992},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129529600001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21127833187254272,"km_value":21127833187254.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:45:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":949555864061908992,"description":"Unknown IO ID 45"} 
[2026-06-18 09:45:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129529600001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":5,"unknown_45":949555864061908992}} 
[2026-06-18 09:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":106391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343592,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:45:15] local.INFO: GPS data processed {"connection_id":106391,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:45:15] local.INFO: Acknowledgment sent {"connection_id":106391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:45:24] local.INFO: TCP Data received {"connection_id":105615,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:45:24] local.INFO: Processing buffer {"connection_id":105615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:45:24] local.INFO: IMEI packet received {"connection_id":105615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":105615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:45:25] local.INFO: TCP Data received {"connection_id":105616,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:45:25] local.INFO: Processing buffer {"connection_id":105616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:45:25] local.INFO: IMEI packet received {"connection_id":105616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":105616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:45:29] local.INFO: TCP Data received {"connection_id":106390,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:45:29] local.INFO: Processing buffer {"connection_id":106390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:45:29] local.INFO: Packet analysis {"connection_id":106390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:45:29] local.INFO: Extracted packet for processing {"connection_id":106390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45: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-06-18 09:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 09:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:45: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-06-18 09: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-06-18 09:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:45:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:45:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":106390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343593,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:45:29] local.INFO: GPS data processed {"connection_id":106390,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:45:29] local.INFO: Acknowledgment sent {"connection_id":106390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:45:31] local.INFO: TCP Data received {"connection_id":105616,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:45:31] local.INFO: Processing buffer {"connection_id":105616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:45:31] local.INFO: IMEI packet received {"connection_id":105616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":105616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:45:32] local.INFO: TCP Data received {"connection_id":105616,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ef1e10012d5202c00677c798003300312d..."} 
[2026-06-18 09:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ef1e10012d5202c00677c798003300312d..."} 
[2026-06-18 09:45:32] local.INFO: Processing buffer {"connection_id":105616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ef1e10012d5202c00677c798003300312d..."} 
[2026-06-18 09:45:32] local.INFO: Packet analysis {"connection_id":105616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ef"} 
[2026-06-18 09:45:32] local.INFO: Extracted packet for processing {"connection_id":105616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ef"} 
[2026-06-18 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":760349376,"raw_latitude":108513176,"longitude_deg":76.0349376,"latitude_deg":10.8513176,"altitude":51,"angle":49,"satellites":45,"speed":39,"hex_longitude":"2d5202c0","hex_latitude":"0677c798","is_valid_coordinates":true} 
[2026-06-18 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129536256001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317807376377839616,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5901474758237700096,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781756010000,"timestamp_ms":1781756010000,"timestamp_seconds":1781756010,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ef1e10"} 
[2026-06-18 09:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 09:45: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-06-18 09:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129536256001,"66":27767,"138":206,"19":47872,"24":39,"16":317807376377839616,"45":5901474758237700096},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-06-18 09:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129536256001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:45:32] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 09:45:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317807376377839616,"km_value":317807376377839.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5901474758237700096,"description":"Unknown IO ID 45"} 
[2026-06-18 09:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129536256001,"power":27767,"unknown_138":206,"unknown_19":47872,"ignition":39,"odometer":null,"unknown_45":5901474758237700096}} 
[2026-06-18 09:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":105616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:45:32] local.INFO: GPS data processed {"connection_id":105616,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:45:32] local.INFO: Acknowledgment sent {"connection_id":105616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:45:46] local.INFO: TCP Data received {"connection_id":106391,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eea110012d0d2c800703ce080017015c22..."} 
[2026-06-18 09:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eea110012d0d2c800703ce080017015c22..."} 
[2026-06-18 09:45:46] local.INFO: Processing buffer {"connection_id":106391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eea110012d0d2c800703ce080017015c22..."} 
[2026-06-18 09:45:46] local.INFO: Packet analysis {"connection_id":106391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:45:46] local.INFO: Extracted packet for processing {"connection_id":106391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ee"} 
[2026-06-18 09:45:46] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117689864,"longitude_deg":75.583808,"latitude_deg":11.7689864,"altitude":23,"angle":348,"satellites":34,"speed":8,"hex_longitude":"2d0d2c80","hex_latitude":"0703ce08","is_valid_coordinates":true} 
[2026-06-18 09:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129530112001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21127841777188864,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949344757829431296,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781755978000,"timestamp_ms":1781755978000,"timestamp_seconds":1781755978,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eea110"} 
[2026-06-18 09:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 09:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106391,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129530112001,"66":14439,"16":21127841777188864,"94":11008,"24":8,"45":949344757829431296},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129530112001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21127841777188864,"km_value":21127841777188.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:45:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":949344757829431296,"description":"Unknown IO ID 45"} 
[2026-06-18 09:45:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129530112001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":949344757829431296}} 
[2026-06-18 09:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":106391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343595,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:45:46] local.INFO: GPS data processed {"connection_id":106391,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:45:46] local.INFO: Acknowledgment sent {"connection_id":106391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:45:52] local.INFO: TCP Data received {"connection_id":107359,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:45:52] local.INFO: Processing buffer {"connection_id":107359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:45:52] local.INFO: IMEI packet received {"connection_id":107359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":107359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:45:57] local.INFO: TCP Data received {"connection_id":107359,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:45:57] local.INFO: Processing buffer {"connection_id":107359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:45:57] local.INFO: IMEI packet received {"connection_id":107359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":107359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:45:58] local.INFO: TCP Data received {"connection_id":107359,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:45:58] local.INFO: Processing buffer {"connection_id":107359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8eceb90012d7d370005ec0c20000500e129..."} 
[2026-06-18 09:45:58] local.INFO: Packet analysis {"connection_id":107359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:45:58] local.INFO: Extracted packet for processing {"connection_id":107359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ec"} 
[2026-06-18 09:45:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":5,"angle":225,"satellites":41,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129424640001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781755866000,"timestamp_ms":1781755866000,"timestamp_seconds":1781755866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8eceb90"} 
[2026-06-18 09:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:45: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-06-18 09: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-06-18 09:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:45:58] 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-06-18 09:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129424640001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129424640001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:45:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:45:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129424640001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":107359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343596,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:45:58] local.INFO: GPS data processed {"connection_id":107359,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:45:58] local.INFO: Acknowledgment sent {"connection_id":107359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:46:03] local.INFO: TCP Data received {"connection_id":105616,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8ef4138012d5219800677ded8003600252d..."} 
[2026-06-18 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8ef4138012d5219800677ded8003600252d..."} 
[2026-06-18 09:46:03] local.INFO: Processing buffer {"connection_id":105616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8ef4138012d5219800677ded8003600252d..."} 
[2026-06-18 09:46:03] local.INFO: Packet analysis {"connection_id":105616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8ef"} 
[2026-06-18 09:46:03] local.INFO: Extracted packet for processing {"connection_id":105616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8ef"} 
[2026-06-18 09:46:03] local.INFO: GPS Element Parsed {"raw_longitude":760355200,"raw_latitude":108519128,"longitude_deg":76.03552,"latitude_deg":10.8519128,"altitude":54,"angle":37,"satellites":45,"speed":35,"hex_longitude":"2d521980","hex_latitude":"0677ded8","is_valid_coordinates":true} 
[2026-06-18 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129538560001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317807775809798144,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5909496795075418112,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781756019000,"timestamp_ms":1781756019000,"timestamp_seconds":1781756019,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8ef4138"} 
[2026-06-18 09:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:46: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-06-18 09:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 09:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129538560001,"66":27767,"138":206,"19":47872,"24":35,"16":317807775809798144,"45":5909496795075418112},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,19,24,16,45]} 
[2026-06-18 09:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129538560001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:46:03] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 09:46:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317807775809798144,"km_value":317807775809798.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5909496795075418112,"description":"Unknown IO ID 45"} 
[2026-06-18 09:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129538560001,"power":27767,"unknown_138":206,"unknown_19":47872,"ignition":35,"odometer":null,"unknown_45":5909496795075418112}} 
[2026-06-18 09:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":105616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:46:03] local.INFO: GPS data processed {"connection_id":105616,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:46:03] local.INFO: Acknowledgment sent {"connection_id":105616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:46:09] local.INFO: TCP Data received {"connection_id":105815,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105815,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:46:09] local.INFO: Processing buffer {"connection_id":105815,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:46:09] local.INFO: IMEI packet received {"connection_id":105815,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":105815,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:46:14] local.INFO: TCP Data received {"connection_id":105815,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105815,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:46:14] local.INFO: Processing buffer {"connection_id":105815,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:46:14] local.INFO: IMEI packet received {"connection_id":105815,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":105815,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:46:15] local.INFO: TCP Data received {"connection_id":105815,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f0e718012d0d2640070439280018000d25..."} 
[2026-06-18 09:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f0e718012d0d2640070439280018000d25..."} 
[2026-06-18 09:46:15] local.INFO: Processing buffer {"connection_id":105815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f0e718012d0d2640070439280018000d25..."} 
[2026-06-18 09:46:15] local.INFO: Packet analysis {"connection_id":105815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f0"} 
[2026-06-18 09:46:15] local.INFO: Extracted packet for processing {"connection_id":105815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f0"} 
[2026-06-18 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":755836480,"raw_latitude":117717288,"longitude_deg":75.583648,"latitude_deg":11.7717288,"altitude":24,"angle":13,"satellites":37,"speed":0,"hex_longitude":"2d0d2640","hex_latitude":"07043928","is_valid_coordinates":true} 
[2026-06-18 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129563136001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21129190396919808,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947515170487871488,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781756127000,"timestamp_ms":1781756127000,"timestamp_seconds":1781756127,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f0e718"} 
[2026-06-18 09:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 09:46:15] 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-06-18 09:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129563136001,"66":14559,"16":21129190396919808,"94":11008,"24":0,"45":947515170487871488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129563136001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21129190396919808,"km_value":21129190396919.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:46:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":947515170487871488,"description":"Unknown IO ID 45"} 
[2026-06-18 09:46:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129563136001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":0,"unknown_45":947515170487871488}} 
[2026-06-18 09:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":105815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343598,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:46:16] local.INFO: GPS data processed {"connection_id":105815,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:46:16] local.INFO: Acknowledgment sent {"connection_id":105815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:46:25] local.INFO: TCP Data received {"connection_id":105617,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:25] local.INFO: Processing buffer {"connection_id":105617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:25] local.INFO: IMEI packet received {"connection_id":105617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":105617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:46:27] local.INFO: TCP Data received {"connection_id":105617,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:27] local.INFO: Processing buffer {"connection_id":105617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:27] local.INFO: IMEI packet received {"connection_id":105617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":105617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:46:29] local.INFO: TCP Data received {"connection_id":107359,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:46:29] local.INFO: Processing buffer {"connection_id":107359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:46:29] local.INFO: Packet analysis {"connection_id":107359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:46:29] local.INFO: Extracted packet for processing {"connection_id":107359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:46:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46: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-06-18 09:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 09:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:46: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-06-18 09: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-06-18 09:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:46:29] 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-06-18 09:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:46:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:46:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":107359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:46:29] local.INFO: GPS data processed {"connection_id":107359,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:46:29] local.INFO: Acknowledgment sent {"connection_id":107359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:46:30] local.INFO: TCP Data received {"connection_id":105617,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:30] local.INFO: Processing buffer {"connection_id":105617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:46:30] local.INFO: IMEI packet received {"connection_id":105617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":105617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:46:33] local.INFO: TCP Data received {"connection_id":105617,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f0cbc0012d526c8006795338005a00122d..."} 
[2026-06-18 09:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f0cbc0012d526c8006795338005a00122d..."} 
[2026-06-18 09:46:33] local.INFO: Processing buffer {"connection_id":105617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f0cbc0012d526c8006795338005a00122d..."} 
[2026-06-18 09:46:33] local.INFO: Packet analysis {"connection_id":105617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f0"} 
[2026-06-18 09:46:33] local.INFO: Extracted packet for processing {"connection_id":105617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f0"} 
[2026-06-18 09:46:33] local.INFO: GPS Element Parsed {"raw_longitude":760376448,"raw_latitude":108614456,"longitude_deg":76.0376448,"latitude_deg":10.8614456,"altitude":90,"angle":18,"satellites":45,"speed":46,"hex_longitude":"2d526c80","hex_latitude":"06795338","is_valid_coordinates":true} 
[2026-06-18 09:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129564672001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317812560403365888,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5935955442909974528,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781756120000,"timestamp_ms":1781756120000,"timestamp_seconds":1781756120,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f0cbc0"} 
[2026-06-18 09:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:46: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-06-18 09:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 09:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129564672001,"66":27908,"137":206,"19":47872,"24":46,"16":317812560403365888,"45":5935955442909974528},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-06-18 09:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129564672001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:46:33] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-18 09:46:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317812560403365888,"km_value":317812560403365.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5935955442909974528,"description":"Unknown IO ID 45"} 
[2026-06-18 09:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129564672001,"power":27908,"unknown_137":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":5935955442909974528}} 
[2026-06-18 09:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":105617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:46:33] local.INFO: GPS data processed {"connection_id":105617,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:46:33] local.INFO: Acknowledgment sent {"connection_id":105617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:46:47] local.INFO: TCP Data received {"connection_id":105815,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f13920012d0d2ac0070449f0001a000d25..."} 
[2026-06-18 09:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f13920012d0d2ac0070449f0001a000d25..."} 
[2026-06-18 09:46:47] local.INFO: Processing buffer {"connection_id":105815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f13920012d0d2ac0070449f0001a000d25..."} 
[2026-06-18 09:46:47] local.INFO: Packet analysis {"connection_id":105815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:46:47] local.INFO: Extracted packet for processing {"connection_id":105815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:46:47] local.INFO: GPS Element Parsed {"raw_longitude":755837632,"raw_latitude":117721584,"longitude_deg":75.5837632,"latitude_deg":11.7721584,"altitude":26,"angle":13,"satellites":37,"speed":6,"hex_longitude":"2d0d2ac0","hex_latitude":"070449f0","is_valid_coordinates":true} 
[2026-06-18 09:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129568512001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21129409440251904,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":947515170487871488,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781756148000,"timestamp_ms":1781756148000,"timestamp_seconds":1781756148,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f13920"} 
[2026-06-18 09:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:46:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 09:46:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105815,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129568512001,"66":14515,"16":21129409440251904,"94":11008,"24":6,"45":947515170487871488},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129568512001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21129409440251904,"km_value":21129409440251.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:46:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":947515170487871488,"description":"Unknown IO ID 45"} 
[2026-06-18 09:46:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129568512001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":6,"unknown_45":947515170487871488}} 
[2026-06-18 09:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":105815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343601,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:46:47] local.INFO: GPS data processed {"connection_id":105815,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:46:47] local.INFO: Acknowledgment sent {"connection_id":105815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:46:52] local.INFO: TCP Data received {"connection_id":107360,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:46:52] local.INFO: Processing buffer {"connection_id":107360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:46:52] local.INFO: IMEI packet received {"connection_id":107360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":107360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:46:57] local.INFO: TCP Data received {"connection_id":107360,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107360,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:46:57] local.INFO: Processing buffer {"connection_id":107360,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:46:57] local.INFO: IMEI packet received {"connection_id":107360,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":107360,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:46:58] local.INFO: TCP Data received {"connection_id":107360,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:46:58] local.INFO: Processing buffer {"connection_id":107360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:46:58] local.INFO: Packet analysis {"connection_id":107360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:46:58] local.INFO: Extracted packet for processing {"connection_id":107360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 09:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:46: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-06-18 09:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:46: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-06-18 09: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-06-18 09:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:46:58] 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-06-18 09:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:46:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":107360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343602,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:46:58] local.INFO: GPS data processed {"connection_id":107360,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:46:58] local.INFO: Acknowledgment sent {"connection_id":107360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:47:08] local.INFO: TCP Data received {"connection_id":105617,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f0eb00012d527980067977e8005b00122e..."} 
[2026-06-18 09:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f0eb00012d527980067977e8005b00122e..."} 
[2026-06-18 09:47:08] local.INFO: Processing buffer {"connection_id":105617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f0eb00012d527980067977e8005b00122e..."} 
[2026-06-18 09:47:08] local.INFO: Packet analysis {"connection_id":105617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f0"} 
[2026-06-18 09:47:08] local.INFO: Extracted packet for processing {"connection_id":105617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f0"} 
[2026-06-18 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":760379776,"raw_latitude":108623848,"longitude_deg":76.0379776,"latitude_deg":10.8623848,"altitude":91,"angle":18,"satellites":46,"speed":51,"hex_longitude":"2d527980","hex_latitude":"067977e8","is_valid_coordinates":true} 
[2026-06-18 09:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129566720001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317813041439703040,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5939262773888497664,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781756128000,"timestamp_ms":1781756128000,"timestamp_seconds":1781756128,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f0eb00"} 
[2026-06-18 09:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 09:47: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-06-18 09:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129566720001,"66":27843,"137":206,"19":47872,"24":51,"16":317813041439703040,"45":5939262773888497664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,19,24,16,45]} 
[2026-06-18 09:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129566720001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:47:08] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-18 09:47:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317813041439703040,"km_value":317813041439703.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5939262773888497664,"description":"Unknown IO ID 45"} 
[2026-06-18 09:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129566720001,"power":27843,"unknown_137":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5939262773888497664}} 
[2026-06-18 09:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":105617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:47:08] local.INFO: GPS data processed {"connection_id":105617,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:47:08] local.INFO: Acknowledgment sent {"connection_id":105617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:47:09] local.INFO: TCP Data received {"connection_id":105618,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105618,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:09] local.INFO: Processing buffer {"connection_id":105618,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:09] local.INFO: IMEI packet received {"connection_id":105618,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":105618,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:47:09] local.INFO: TCP Data received {"connection_id":105618,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105618,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:09] local.INFO: Processing buffer {"connection_id":105618,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:09] local.INFO: IMEI packet received {"connection_id":105618,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":105618,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:47:14] local.INFO: TCP Data received {"connection_id":105618,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105618,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:14] local.INFO: Processing buffer {"connection_id":105618,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:47:14] local.INFO: IMEI packet received {"connection_id":105618,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":105618,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:47:15] local.INFO: TCP Data received {"connection_id":105618,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f15090012d0d2bc007044d88001b001c25..."} 
[2026-06-18 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f15090012d0d2bc007044d88001b001c25..."} 
[2026-06-18 09:47:15] local.INFO: Processing buffer {"connection_id":105618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f15090012d0d2bc007044d88001b001c25..."} 
[2026-06-18 09:47:15] local.INFO: Packet analysis {"connection_id":105618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:47:15] local.INFO: Extracted packet for processing {"connection_id":105618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":755837888,"raw_latitude":117722504,"longitude_deg":75.5837888,"latitude_deg":11.7722504,"altitude":27,"angle":28,"satellites":37,"speed":7,"hex_longitude":"2d0d2bc0","hex_latitude":"07044d88","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129573888001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21129456684892160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948781807884169216,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781756154000,"timestamp_ms":1781756154000,"timestamp_seconds":1781756154,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f15090"} 
[2026-06-18 09:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 09:47:15] 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-06-18 09: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-06-18 09:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129573888001,"66":14374,"16":21129456684892160,"94":11008,"24":7,"45":948781807884169216},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129573888001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21129456684892160,"km_value":21129456684892.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:47:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":948781807884169216,"description":"Unknown IO ID 45"} 
[2026-06-18 09:47:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129573888001,"power":14374,"odometer":null,"unknown_94":11008,"ignition":7,"unknown_45":948781807884169216}} 
[2026-06-18 09:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":105618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343604,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:47:15] local.INFO: GPS data processed {"connection_id":105618,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:47:15] local.INFO: Acknowledgment sent {"connection_id":105618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:47:29] local.INFO: TCP Data received {"connection_id":107360,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:47:29] local.INFO: Processing buffer {"connection_id":107360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:47:29] local.INFO: Packet analysis {"connection_id":107360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:47:29] local.INFO: Extracted packet for processing {"connection_id":107360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47: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-06-18 09:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 09:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:47: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-06-18 09: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-06-18 09:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107360,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:47:29] 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-06-18 09:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:47:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:47:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":107360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:47:29] local.INFO: GPS data processed {"connection_id":107360,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:47:29] local.INFO: Acknowledgment sent {"connection_id":107360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:47:31] local.INFO: TCP Data received {"connection_id":106392,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:47:31] local.INFO: Processing buffer {"connection_id":106392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:47:31] local.INFO: IMEI packet received {"connection_id":106392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":106392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:47:34] local.INFO: TCP Data received {"connection_id":106392,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:47:34] local.INFO: Processing buffer {"connection_id":106392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:47:34] local.INFO: IMEI packet received {"connection_id":106392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":106392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:47:35] local.INFO: TCP Data received {"connection_id":106392,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f20828012d539640067a5af0005c005c24..."} 
[2026-06-18 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f20828012d539640067a5af0005c005c24..."} 
[2026-06-18 09:47:35] local.INFO: Processing buffer {"connection_id":106392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f20828012d539640067a5af0005c005c24..."} 
[2026-06-18 09:47:35] local.INFO: Packet analysis {"connection_id":106392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f2"} 
[2026-06-18 09:47:35] local.INFO: Extracted packet for processing {"connection_id":106392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f2"} 
[2026-06-18 09:47:35] local.INFO: GPS Element Parsed {"raw_longitude":760452672,"raw_latitude":108681968,"longitude_deg":76.0452672,"latitude_deg":10.8681968,"altitude":92,"angle":92,"satellites":36,"speed":59,"hex_longitude":"2d539640","hex_latitude":"067a5af0","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129585920001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317817946292355072,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6013009217804070912,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781756201000,"timestamp_ms":1781756201000,"timestamp_seconds":1781756201,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f20828"} 
[2026-06-18 09:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 09:47:35] 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-06-18 09: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-06-18 09:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129585920001,"66":27745,"15":206,"19":47872,"24":59,"16":317817946292355072,"45":6013009217804070912},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-06-18 09:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129585920001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:47:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 09:47:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317817946292355072,"km_value":317817946292355.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6013009217804070912,"description":"Unknown IO ID 45"} 
[2026-06-18 09:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129585920001,"power":27745,"unknown_15":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":6013009217804070912}} 
[2026-06-18 09:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":106392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:47:35] local.INFO: GPS data processed {"connection_id":106392,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:47:35] local.INFO: Acknowledgment sent {"connection_id":106392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:47:45] local.INFO: TCP Data received {"connection_id":105618,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f15c48012d0d2c8007044fc8001b001125..."} 
[2026-06-18 09:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f15c48012d0d2c8007044fc8001b001125..."} 
[2026-06-18 09:47:45] local.INFO: Processing buffer {"connection_id":105618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f15c48012d0d2c8007044fc8001b001125..."} 
[2026-06-18 09:47:45] local.INFO: Packet analysis {"connection_id":105618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:47:45] local.INFO: Extracted packet for processing {"connection_id":105618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:47:45] local.INFO: GPS Element Parsed {"raw_longitude":755838080,"raw_latitude":117723080,"longitude_deg":75.583808,"latitude_deg":11.772308,"altitude":27,"angle":17,"satellites":37,"speed":8,"hex_longitude":"2d0d2c80","hex_latitude":"07044fc8","is_valid_coordinates":true} 
[2026-06-18 09:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129575424001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21129486749663232,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949063282861115392,"note":"Value kept but may cause issues"} 
[2026-06-18 09:47:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781756157000,"timestamp_ms":1781756157000,"timestamp_seconds":1781756157,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f15c48"} 
[2026-06-18 09:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:47: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-06-18 09:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 09:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105618,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129575424001,"66":13830,"16":21129486749663232,"94":11008,"24":8,"45":949063282861115392},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129575424001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21129486749663232,"km_value":21129486749663.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:47:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":949063282861115392,"description":"Unknown IO ID 45"} 
[2026-06-18 09:47:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129575424001,"power":13830,"odometer":null,"unknown_94":11008,"ignition":8,"unknown_45":949063282861115392}} 
[2026-06-18 09:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":105618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343607,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:47:46] local.INFO: GPS data processed {"connection_id":105618,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:47:46] local.INFO: Acknowledgment sent {"connection_id":105618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:47:57] local.INFO: TCP Data received {"connection_id":105817,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:47:57] local.INFO: Processing buffer {"connection_id":105817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:47:57] local.INFO: IMEI packet received {"connection_id":105817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":105817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:48:02] local.INFO: TCP Data received {"connection_id":105817,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:02] local.INFO: Processing buffer {"connection_id":105817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:02] local.INFO: IMEI packet received {"connection_id":105817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":105817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:48:03] local.INFO: TCP Data received {"connection_id":105817,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:03] local.INFO: Processing buffer {"connection_id":105817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:03] local.INFO: Packet analysis {"connection_id":105817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:48:03] local.INFO: Extracted packet for processing {"connection_id":105817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 09:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:48:03] 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-06-18 09: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-06-18 09:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:48: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-06-18 09:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:48:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":105817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:48:03] local.INFO: GPS data processed {"connection_id":105817,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:48:03] local.INFO: Acknowledgment sent {"connection_id":105817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:48:11] local.INFO: TCP Data received {"connection_id":106392,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f22380012d53bec0067a58b8005c005c27..."} 
[2026-06-18 09:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f22380012d53bec0067a58b8005c005c27..."} 
[2026-06-18 09:48:11] local.INFO: Processing buffer {"connection_id":106392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f22380012d53bec0067a58b8005c005c27..."} 
[2026-06-18 09:48:11] local.INFO: Packet analysis {"connection_id":106392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f2"} 
[2026-06-18 09:48:11] local.INFO: Extracted packet for processing {"connection_id":106392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f2"} 
[2026-06-18 09:48:11] local.INFO: GPS Element Parsed {"raw_longitude":760463040,"raw_latitude":108681400,"longitude_deg":76.046304,"latitude_deg":10.86814,"altitude":92,"angle":92,"satellites":39,"speed":57,"hex_longitude":"2d53bec0","hex_latitude":"067a58b8","is_valid_coordinates":true} 
[2026-06-18 09:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129587456001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317818440213594112,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6023071948221378560,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781756208000,"timestamp_ms":1781756208000,"timestamp_seconds":1781756208,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f22380"} 
[2026-06-18 09:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 09:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129587456001,"66":27919,"15":206,"19":47872,"24":57,"16":317818440213594112,"45":6023071948221378560},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-06-18 09:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129587456001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:48:11] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 09:48:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317818440213594112,"km_value":317818440213594.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6023071948221378560,"description":"Unknown IO ID 45"} 
[2026-06-18 09:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129587456001,"power":27919,"unknown_15":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":6023071948221378560}} 
[2026-06-18 09:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":106392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:48:11] local.INFO: GPS data processed {"connection_id":106392,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:48:11] local.INFO: Acknowledgment sent {"connection_id":106392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:48:13] local.INFO: TCP Data received {"connection_id":106394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:13] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:13] local.INFO: IMEI packet received {"connection_id":106394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":106394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:48:14] local.INFO: TCP Data received {"connection_id":106394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:14] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:14] local.INFO: IMEI packet received {"connection_id":106394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":106394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:48:17] local.INFO: TCP Data received {"connection_id":106394,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:17] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:48:17] local.INFO: IMEI packet received {"connection_id":106394,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":106394,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:48:18] local.INFO: TCP Data received {"connection_id":106394,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f32938012d0d35800704bab8001f00fe24..."} 
[2026-06-18 09:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f32938012d0d35800704bab8001f00fe24..."} 
[2026-06-18 09:48:18] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f32938012d0d35800704bab8001f00fe24..."} 
[2026-06-18 09:48:18] local.INFO: Packet analysis {"connection_id":106394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f3"} 
[2026-06-18 09:48:18] local.INFO: Extracted packet for processing {"connection_id":106394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f3"} 
[2026-06-18 09:48:18] local.INFO: GPS Element Parsed {"raw_longitude":755840384,"raw_latitude":117750456,"longitude_deg":75.5840384,"latitude_deg":11.7750456,"altitude":31,"angle":254,"satellites":36,"speed":12,"hex_longitude":"2d0d3580","hex_latitude":"0704bab8","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129605888001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21130908383838208,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952440982588819456,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781756275000,"timestamp_ms":1781756275000,"timestamp_seconds":1781756275,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f32938"} 
[2026-06-18 09:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 09:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":106394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":106394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":106394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129605888001,"66":13537,"17":206,"94":11008,"24":12,"16":21130908383838208,"45":952440982588819456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 09:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129605888001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:48:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21130908383838208,"km_value":21130908383838.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":952440982588819456,"description":"Unknown IO ID 45"} 
[2026-06-18 09:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129605888001,"power":13537,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":952440982588819456}} 
[2026-06-18 09:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":106394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343610,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:48:18] local.INFO: GPS data processed {"connection_id":106394,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:48:18] local.INFO: Acknowledgment sent {"connection_id":106394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:48:25] local.INFO: TCP Data received {"connection_id":107361,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:25] local.INFO: Processing buffer {"connection_id":107361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:25] local.INFO: IMEI packet received {"connection_id":107361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":107361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:48:26] local.INFO: TCP Data received {"connection_id":107361,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:26] local.INFO: Processing buffer {"connection_id":107361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:26] local.INFO: IMEI packet received {"connection_id":107361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":107361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:48:27] local.INFO: TCP Data received {"connection_id":107361,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:27] local.INFO: Processing buffer {"connection_id":107361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:27] local.INFO: IMEI packet received {"connection_id":107361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":107361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:48:28] local.INFO: TCP Data received {"connection_id":107361,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:28] local.INFO: Processing buffer {"connection_id":107361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:48:28] local.INFO: IMEI packet received {"connection_id":107361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":107361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:48:35] local.INFO: TCP Data received {"connection_id":105817,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:35] local.INFO: Processing buffer {"connection_id":105817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:35] local.INFO: Packet analysis {"connection_id":105817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:48:35] local.INFO: Extracted packet for processing {"connection_id":105817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:48:35] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 09:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:48:35] 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-06-18 09:48:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:48: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-06-18 09:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:48:35] 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-06-18 09:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:48:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:48:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:48:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":105817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:48:35] local.INFO: GPS data processed {"connection_id":105817,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:48:35] local.INFO: Acknowledgment sent {"connection_id":105817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:48:49] local.INFO: TCP Data received {"connection_id":106394,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f33cc0012d0d2d800704b9100020011224..."} 
[2026-06-18 09:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f33cc0012d0d2d800704b9100020011224..."} 
[2026-06-18 09:48:49] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f33cc0012d0d2d800704b9100020011224..."} 
[2026-06-18 09:48:49] local.INFO: Packet analysis {"connection_id":106394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f3"} 
[2026-06-18 09:48:49] local.INFO: Extracted packet for processing {"connection_id":106394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f3"} 
[2026-06-18 09:48:49] local.INFO: GPS Element Parsed {"raw_longitude":755838336,"raw_latitude":117750032,"longitude_deg":75.5838336,"latitude_deg":11.7750032,"altitude":32,"angle":274,"satellites":36,"speed":16,"hex_longitude":"2d0d2d80","hex_latitude":"0704b910","is_valid_coordinates":true} 
[2026-06-18 09:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129606400001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21131011463053312,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951807663891200000,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781756280000,"timestamp_ms":1781756280000,"timestamp_seconds":1781756280,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f33cc0"} 
[2026-06-18 09:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-06-18 09:48:49] 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-06-18 09:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106394,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129606400001,"66":14439,"17":206,"94":11008,"24":16,"16":21131011463053312,"45":951807663891200000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 09:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129606400001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:48:49] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21131011463053312,"km_value":21131011463053.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":951807663891200000,"description":"Unknown IO ID 45"} 
[2026-06-18 09:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129606400001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":951807663891200000}} 
[2026-06-18 09:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":106394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343612,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:48:49] local.INFO: GPS data processed {"connection_id":106394,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:48:49] local.INFO: Acknowledgment sent {"connection_id":106394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:48:52] local.INFO: TCP Data received {"connection_id":105620,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:52] local.INFO: Processing buffer {"connection_id":105620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:52] local.INFO: IMEI packet received {"connection_id":105620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":105620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:48:57] local.INFO: TCP Data received {"connection_id":105620,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105620,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:57] local.INFO: Processing buffer {"connection_id":105620,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:48:57] local.INFO: IMEI packet received {"connection_id":105620,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":105620,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:48:58] local.INFO: TCP Data received {"connection_id":105620,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:58] local.INFO: Processing buffer {"connection_id":105620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:48:58] local.INFO: Packet analysis {"connection_id":105620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:48:58] local.INFO: Extracted packet for processing {"connection_id":105620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 09:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:48: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-06-18 09:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:48: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-06-18 09: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-06-18 09:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:48:58] 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-06-18 09:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:48:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":105620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343613,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:48:58] local.INFO: GPS data processed {"connection_id":105620,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:48:58] local.INFO: Acknowledgment sent {"connection_id":105620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:49:07] local.INFO: TCP Data received {"connection_id":105621,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105621,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:07] local.INFO: Processing buffer {"connection_id":105621,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:07] local.INFO: IMEI packet received {"connection_id":105621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":105621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:49:08] local.INFO: TCP Data received {"connection_id":105621,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105621,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:08] local.INFO: Processing buffer {"connection_id":105621,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:08] local.INFO: IMEI packet received {"connection_id":105621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":105621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:49:09] local.INFO: TCP Data received {"connection_id":105621,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105621,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:09] local.INFO: Processing buffer {"connection_id":105621,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:09] local.INFO: IMEI packet received {"connection_id":105621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":105621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:49:10] local.INFO: TCP Data received {"connection_id":105621,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105621,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:10] local.INFO: Processing buffer {"connection_id":105621,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:49:10] local.INFO: IMEI packet received {"connection_id":105621,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":105621,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:49:29] local.INFO: TCP Data received {"connection_id":105620,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:49:29] local.INFO: Processing buffer {"connection_id":105620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:49:29] local.INFO: Packet analysis {"connection_id":105620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:49:29] local.INFO: Extracted packet for processing {"connection_id":105620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:49: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-06-18 09:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 09:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:49: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-06-18 09: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-06-18 09:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105620,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:49:29] 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-06-18 09:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:49:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:49:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":105620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:49:29] local.INFO: GPS data processed {"connection_id":105620,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:49:29] local.INFO: Acknowledgment sent {"connection_id":105620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:49:52] local.INFO: TCP Data received {"connection_id":107362,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:49:52] local.INFO: Processing buffer {"connection_id":107362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:49:52] local.INFO: IMEI packet received {"connection_id":107362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":107362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:49:57] local.INFO: TCP Data received {"connection_id":107362,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107362,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:49:57] local.INFO: Processing buffer {"connection_id":107362,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:49:57] local.INFO: IMEI packet received {"connection_id":107362,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":107362,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:49:58] local.INFO: TCP Data received {"connection_id":107362,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:49:58] local.INFO: Processing buffer {"connection_id":107362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:49:58] local.INFO: Packet analysis {"connection_id":107362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:49:58] local.INFO: Extracted packet for processing {"connection_id":107362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 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-06-18 09:49: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-06-18 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-06-18 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-06-18 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-06-18 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-06-18 09:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:49:58] 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-06-18 09:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:49:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:49:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":107362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:49:58] local.INFO: GPS data processed {"connection_id":107362,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:49:58] local.INFO: Acknowledgment sent {"connection_id":107362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:50:29] local.INFO: TCP Data received {"connection_id":107362,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:50:29] local.INFO: Processing buffer {"connection_id":107362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:50:29] local.INFO: Packet analysis {"connection_id":107362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:50:29] local.INFO: Extracted packet for processing {"connection_id":107362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:50: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-06-18 09:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 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-06-18 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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-06-18 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-06-18 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-06-18 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-06-18 09:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107362,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:50:29] 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-06-18 09:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:50:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:50:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":107362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:50:29] local.INFO: GPS data processed {"connection_id":107362,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:50:29] local.INFO: Acknowledgment sent {"connection_id":107362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:50:52] local.INFO: TCP Data received {"connection_id":106396,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:50:52] local.INFO: Processing buffer {"connection_id":106396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:50:52] local.INFO: IMEI packet received {"connection_id":106396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":106396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:50:54] local.INFO: TCP Data received {"connection_id":105819,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:50:54] local.INFO: Processing buffer {"connection_id":105819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:50:54] local.INFO: IMEI packet received {"connection_id":105819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":105819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:50:57] local.INFO: TCP Data received {"connection_id":106396,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106396,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:50:57] local.INFO: Processing buffer {"connection_id":106396,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:50:57] local.INFO: IMEI packet received {"connection_id":106396,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":106396,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:50:58] local.INFO: TCP Data received {"connection_id":106396,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:50:58] local.INFO: Processing buffer {"connection_id":106396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f18358012d7d370005ec0c20000600e120..."} 
[2026-06-18 09:50:58] local.INFO: Packet analysis {"connection_id":106396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:50:58] local.INFO: Extracted packet for processing {"connection_id":106396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f1"} 
[2026-06-18 09:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":32,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129501696001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756167000,"timestamp_ms":1781756167000,"timestamp_seconds":1781756167,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f18358"} 
[2026-06-18 09:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09: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-06-18 09:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:50: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-06-18 09:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:50:58] 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-06-18 09:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129501696001,"66":2231,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129501696001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:50:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:50:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129501696001,"power":2231,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":106396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343617,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:50:58] local.INFO: GPS data processed {"connection_id":106396,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:50:58] local.INFO: Acknowledgment sent {"connection_id":106396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:51:30] local.INFO: TCP Data received {"connection_id":106396,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:51:30] local.INFO: Processing buffer {"connection_id":106396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:51:30] local.INFO: Packet analysis {"connection_id":106396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:51:30] local.INFO: Extracted packet for processing {"connection_id":106396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106396,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:51:30] 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-06-18 09:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:51:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:51:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":106396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343618,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:51:30] local.INFO: GPS data processed {"connection_id":106396,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:51:30] local.INFO: Acknowledgment sent {"connection_id":106396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:51:34] local.INFO: TCP Data received {"connection_id":107363,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:51:34] local.INFO: Processing buffer {"connection_id":107363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:51:34] local.INFO: IMEI packet received {"connection_id":107363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":107363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:51:57] local.INFO: TCP Data received {"connection_id":105625,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:51:57] local.INFO: Processing buffer {"connection_id":105625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:51:57] local.INFO: IMEI packet received {"connection_id":105625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":105625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:52:02] local.INFO: TCP Data received {"connection_id":105625,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105625,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:02] local.INFO: Processing buffer {"connection_id":105625,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:02] local.INFO: IMEI packet received {"connection_id":105625,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":105625,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:52:03] local.INFO: TCP Data received {"connection_id":105625,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:03] local.INFO: Processing buffer {"connection_id":105625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:03] local.INFO: Packet analysis {"connection_id":105625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:52:03] local.INFO: Extracted packet for processing {"connection_id":105625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:52:03] 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-06-18 09:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:52:03] 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-06-18 09:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:52:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:52:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":105625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:52:03] local.INFO: GPS data processed {"connection_id":105625,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:52:03] local.INFO: Acknowledgment sent {"connection_id":105625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:52:08] local.INFO: TCP Data received {"connection_id":105625,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:08] local.INFO: Processing buffer {"connection_id":105625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:08] local.INFO: Packet analysis {"connection_id":105625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:52:08] local.INFO: Extracted packet for processing {"connection_id":105625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:52:08] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:52:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:52:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:52:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105625,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:52:08] 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-06-18 09:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:52:08] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:52:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":105625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:52:08] local.INFO: GPS data processed {"connection_id":105625,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:52:08] local.INFO: Acknowledgment sent {"connection_id":105625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:52:52] local.INFO: TCP Data received {"connection_id":106400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:52] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:52] local.INFO: IMEI packet received {"connection_id":106400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":106400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:52:57] local.INFO: TCP Data received {"connection_id":106400,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:57] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:52:57] local.INFO: IMEI packet received {"connection_id":106400,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":106400,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:52:58] local.INFO: TCP Data received {"connection_id":106400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:58] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:52:58] local.INFO: Packet analysis {"connection_id":106400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:52:58] local.INFO: Extracted packet for processing {"connection_id":106400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:52: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-06-18 09:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:52:58] 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-06-18 09:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:52:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":106400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343621,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:52:58] local.INFO: GPS data processed {"connection_id":106400,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:52:58] local.INFO: Acknowledgment sent {"connection_id":106400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:53:02] local.INFO: TCP Data received {"connection_id":106400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:02] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:02] local.INFO: Packet analysis {"connection_id":106400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:53:02] local.INFO: Extracted packet for processing {"connection_id":106400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53: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-06-18 09:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:53:02] 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-06-18 09: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-06-18 09:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:53: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-06-18 09:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:53:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:53:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":106400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343622,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:53:02] local.INFO: GPS data processed {"connection_id":106400,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:53:02] local.INFO: Acknowledgment sent {"connection_id":106400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:53:31] local.INFO: TCP Data received {"connection_id":107364,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:53:31] local.INFO: Processing buffer {"connection_id":107364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:53:31] local.INFO: IMEI packet received {"connection_id":107364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":107364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:53:33] local.INFO: TCP Data received {"connection_id":107364,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f6d2b8012d5531c0067f0718002701462c..."} 
[2026-06-18 09:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f6d2b8012d5531c0067f0718002701462c..."} 
[2026-06-18 09:53:33] local.INFO: Processing buffer {"connection_id":107364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f6d2b8012d5531c0067f0718002701462c..."} 
[2026-06-18 09:53:33] local.INFO: Packet analysis {"connection_id":107364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:53:33] local.INFO: Extracted packet for processing {"connection_id":107364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:53:33] local.INFO: GPS Element Parsed {"raw_longitude":760558016,"raw_latitude":108988184,"longitude_deg":76.0558016,"latitude_deg":10.8988184,"altitude":39,"angle":326,"satellites":44,"speed":49,"hex_longitude":"2d5531c0","hex_latitude":"067f0718","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129666048001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317842504915353600,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6144528400748539904,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781756515000,"timestamp_ms":1781756515000,"timestamp_seconds":1781756515,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f6d2b8"} 
[2026-06-18 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-06-18 09:53: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-06-18 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":217,"data_length":795,"current_offset":136} 
[2026-06-18 09:53: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-06-18 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-06-18 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-06-18 09:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129666048001,"66":27919,"3":206,"19":47872,"24":49,"16":317842504915353600,"45":6144528400748539904},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-18 09:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129666048001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:53:33] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 09:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317842504915353600,"km_value":317842504915353.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6144528400748539904,"description":"Unknown IO ID 45"} 
[2026-06-18 09:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129666048001,"power":27919,"unknown_3":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":6144528400748539904}} 
[2026-06-18 09:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":107364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:53:33] local.INFO: GPS data processed {"connection_id":107364,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:53:33] local.INFO: Acknowledgment sent {"connection_id":107364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:53:35] local.INFO: TCP Data received {"connection_id":106400,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:35] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:35] local.INFO: Packet analysis {"connection_id":106400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:53:35] local.INFO: Extracted packet for processing {"connection_id":106400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:53: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-06-18 09:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106400,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:53:35] 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-06-18 09:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:53:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:53:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":106400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:53:35] local.INFO: GPS data processed {"connection_id":106400,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:53:35] local.INFO: Acknowledgment sent {"connection_id":106400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:53:52] local.INFO: TCP Data received {"connection_id":105822,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:53:52] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:53:52] local.INFO: IMEI packet received {"connection_id":105822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":105822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:53:57] local.INFO: TCP Data received {"connection_id":105822,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:53:57] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:53:57] local.INFO: IMEI packet received {"connection_id":105822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":105822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:53:58] local.INFO: TCP Data received {"connection_id":105822,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:58] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:53:58] local.INFO: Packet analysis {"connection_id":105822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:53:58] local.INFO: Extracted packet for processing {"connection_id":105822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 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-06-18 09:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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-06-18 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-06-18 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-06-18 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-06-18 09:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:53:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:53:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":105822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:53:58] local.INFO: GPS data processed {"connection_id":105822,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:53:58] local.INFO: Acknowledgment sent {"connection_id":105822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:54:11] local.INFO: TCP Data received {"connection_id":107365,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107365,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:54:11] local.INFO: Processing buffer {"connection_id":107365,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:54:11] local.INFO: IMEI packet received {"connection_id":107365,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":107365,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:54:12] local.INFO: TCP Data received {"connection_id":107365,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f76728012d0c614007036fc0001e00ea23..."} 
[2026-06-18 09:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f76728012d0c614007036fc0001e00ea23..."} 
[2026-06-18 09:54:12] local.INFO: Processing buffer {"connection_id":107365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f76728012d0c614007036fc0001e00ea23..."} 
[2026-06-18 09:54:12] local.INFO: Packet analysis {"connection_id":107365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f7"} 
[2026-06-18 09:54:12] local.INFO: Extracted packet for processing {"connection_id":107365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f7"} 
[2026-06-18 09:54:12] local.INFO: GPS Element Parsed {"raw_longitude":755786048,"raw_latitude":117665728,"longitude_deg":75.5786048,"latitude_deg":11.7665728,"altitude":30,"angle":234,"satellites":35,"speed":12,"hex_longitude":"2d0c6140","hex_latitude":"07036fc0","is_valid_coordinates":true} 
[2026-06-18 09:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129677312001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21138235598045184,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":892275706295255040,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 09:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781756553000,"timestamp_ms":1781756553000,"timestamp_seconds":1781756553,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f76728"} 
[2026-06-18 09:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:54:12] 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-06-18 09:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 09:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129677312001,"66":14548,"16":21138235598045184,"94":11008,"24":12,"45":892275706295255040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 09:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129677312001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21138235598045184,"km_value":21138235598045.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:54:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":892275706295255040,"description":"Unknown IO ID 45"} 
[2026-06-18 09:54:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129677312001,"power":14548,"odometer":null,"unknown_94":11008,"ignition":12,"unknown_45":892275706295255040}} 
[2026-06-18 09:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":107365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343626,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:54:12] local.INFO: GPS data processed {"connection_id":107365,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:54:12] local.INFO: Acknowledgment sent {"connection_id":107365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:54:19] local.INFO: TCP Data received {"connection_id":107364,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f6f1f8012d551fc0067f2858002b01512e..."} 
[2026-06-18 09:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f6f1f8012d551fc0067f2858002b01512e..."} 
[2026-06-18 09:54:19] local.INFO: Processing buffer {"connection_id":107364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f6f1f8012d551fc0067f2858002b01512e..."} 
[2026-06-18 09:54:19] local.INFO: Packet analysis {"connection_id":107364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:54:19] local.INFO: Extracted packet for processing {"connection_id":107364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:54:19] local.INFO: GPS Element Parsed {"raw_longitude":760553408,"raw_latitude":108996696,"longitude_deg":76.0553408,"latitude_deg":10.8996696,"altitude":43,"angle":337,"satellites":46,"speed":47,"hex_longitude":"2d551fc0","hex_latitude":"067f2858","is_valid_coordinates":true} 
[2026-06-18 09:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129667840001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317842973066788864,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6138898901216204800,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781756523000,"timestamp_ms":1781756523000,"timestamp_seconds":1781756523,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f6f1f8"} 
[2026-06-18 09:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 09:54:19] 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-06-18 09:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":107364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":107364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":107364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129667840001,"66":27821,"3":206,"19":47872,"24":47,"16":317842973066788864,"45":6138898901216204800},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-18 09:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129667840001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:54:19] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 09:54:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317842973066788864,"km_value":317842973066788.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6138898901216204800,"description":"Unknown IO ID 45"} 
[2026-06-18 09:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129667840001,"power":27821,"unknown_3":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":6138898901216204800}} 
[2026-06-18 09:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":107364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:54:19] local.INFO: GPS data processed {"connection_id":107364,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:54:19] local.INFO: Acknowledgment sent {"connection_id":107364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:54:26] local.INFO: TCP Data received {"connection_id":106402,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:54:26] local.INFO: Processing buffer {"connection_id":106402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:54:26] local.INFO: IMEI packet received {"connection_id":106402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":106402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:54:29] local.INFO: TCP Data received {"connection_id":105822,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:54:29] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:54:29] local.INFO: Packet analysis {"connection_id":105822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:54:29] local.INFO: Extracted packet for processing {"connection_id":105822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54: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-06-18 09:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 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-06-18 09:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1885,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 09:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:54:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:54:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":105822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:54:29] local.INFO: GPS data processed {"connection_id":105822,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:54:29] local.INFO: Acknowledgment sent {"connection_id":105822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:54:31] local.INFO: TCP Data received {"connection_id":106402,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:54:31] local.INFO: Processing buffer {"connection_id":106402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:54:31] local.INFO: IMEI packet received {"connection_id":106402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":106402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:54:32] local.INFO: TCP Data received {"connection_id":106402,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f71138012d551340067f4a88002d01552d..."} 
[2026-06-18 09:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f71138012d551340067f4a88002d01552d..."} 
[2026-06-18 09:54:32] local.INFO: Processing buffer {"connection_id":106402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f71138012d551340067f4a88002d01552d..."} 
[2026-06-18 09:54:32] local.INFO: Packet analysis {"connection_id":106402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f7"} 
[2026-06-18 09:54:32] local.INFO: Extracted packet for processing {"connection_id":106402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f7"} 
[2026-06-18 09:54:32] local.INFO: GPS Element Parsed {"raw_longitude":760550208,"raw_latitude":109005448,"longitude_deg":76.0550208,"latitude_deg":10.9005448,"altitude":45,"angle":341,"satellites":45,"speed":45,"hex_longitude":"2d551340","hex_latitude":"067f4a88","is_valid_coordinates":true} 
[2026-06-18 09:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129669888001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317843424038354944,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6133832351637592064,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781756531000,"timestamp_ms":1781756531000,"timestamp_seconds":1781756531,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f71138"} 
[2026-06-18 09:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:54: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-06-18 09:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 09:54: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-06-18 09:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129669888001,"66":27821,"3":206,"19":47872,"24":45,"16":317843424038354944,"45":6133832351637592064},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-18 09:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129669888001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:54:32] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 09:54:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317843424038354944,"km_value":317843424038354.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6133832351637592064,"description":"Unknown IO ID 45"} 
[2026-06-18 09:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129669888001,"power":27821,"unknown_3":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":6133832351637592064}} 
[2026-06-18 09:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":106402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:54:32] local.INFO: GPS data processed {"connection_id":106402,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:54:32] local.INFO: Acknowledgment sent {"connection_id":106402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:54:43] local.INFO: TCP Data received {"connection_id":107365,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f947a0012d0c204007035398001b00f025..."} 
[2026-06-18 09:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f947a0012d0c204007035398001b00f025..."} 
[2026-06-18 09:54:43] local.INFO: Processing buffer {"connection_id":107365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f947a0012d0c204007035398001b00f025..."} 
[2026-06-18 09:54:43] local.INFO: Packet analysis {"connection_id":107365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:54:43] local.INFO: Extracted packet for processing {"connection_id":107365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":755769408,"raw_latitude":117658520,"longitude_deg":75.5769408,"latitude_deg":11.765852,"altitude":27,"angle":240,"satellites":37,"speed":8,"hex_longitude":"2d0c2040","hex_latitude":"07035398","is_valid_coordinates":true} 
[2026-06-18 09:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129705472001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21139159016013824,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":876794582574577664,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781756676000,"timestamp_ms":1781756676000,"timestamp_seconds":1781756676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f947a0"} 
[2026-06-18 09:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 09:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107365,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129705472001,"66":14537,"37":206,"94":11008,"24":8,"16":21139159016013824,"45":876794582574577664},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 09:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129705472001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:54:43] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 09:54:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21139159016013824,"km_value":21139159016013.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":876794582574577664,"description":"Unknown IO ID 45"} 
[2026-06-18 09:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129705472001,"power":14537,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":876794582574577664}} 
[2026-06-18 09:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":107365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343630,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:54:43] local.INFO: GPS data processed {"connection_id":107365,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:54:43] local.INFO: Acknowledgment sent {"connection_id":107365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:54:52] local.INFO: TCP Data received {"connection_id":105823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:54:52] local.INFO: Processing buffer {"connection_id":105823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:54:52] local.INFO: IMEI packet received {"connection_id":105823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":105823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:54:57] local.INFO: TCP Data received {"connection_id":105823,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105823,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:54:57] local.INFO: Processing buffer {"connection_id":105823,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:54:57] local.INFO: IMEI packet received {"connection_id":105823,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":105823,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:54:58] local.INFO: TCP Data received {"connection_id":105823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:54:58] local.INFO: Processing buffer {"connection_id":105823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:54:58] local.INFO: Packet analysis {"connection_id":105823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:54:58] local.INFO: Extracted packet for processing {"connection_id":105823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:54: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-06-18 09: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-06-18 09:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:54: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-06-18 09:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:54:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":105823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:54:58] local.INFO: GPS data processed {"connection_id":105823,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:54:58] local.INFO: Acknowledgment sent {"connection_id":105823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:55:06] local.INFO: TCP Data received {"connection_id":105626,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:06] local.INFO: Processing buffer {"connection_id":105626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:06] local.INFO: IMEI packet received {"connection_id":105626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":105626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:55:09] local.INFO: TCP Data received {"connection_id":105626,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:09] local.INFO: Processing buffer {"connection_id":105626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:09] local.INFO: IMEI packet received {"connection_id":105626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":105626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:55:10] local.INFO: TCP Data received {"connection_id":105626,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:10] local.INFO: Processing buffer {"connection_id":105626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:10] local.INFO: IMEI packet received {"connection_id":105626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":105626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:55:12] local.INFO: TCP Data received {"connection_id":105626,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:12] local.INFO: Processing buffer {"connection_id":105626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:55:12] local.INFO: IMEI packet received {"connection_id":105626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":105626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:55:13] local.INFO: TCP Data received {"connection_id":105626,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f94f70012d0c1f0007035278001a00df25..."} 
[2026-06-18 09:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f94f70012d0c1f0007035278001a00df25..."} 
[2026-06-18 09:55:13] local.INFO: Processing buffer {"connection_id":105626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f94f70012d0c1f0007035278001a00df25..."} 
[2026-06-18 09:55:13] local.INFO: Packet analysis {"connection_id":105626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:55:13] local.INFO: Extracted packet for processing {"connection_id":105626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":755769088,"raw_latitude":117658232,"longitude_deg":75.5769088,"latitude_deg":11.7658232,"altitude":26,"angle":223,"satellites":37,"speed":7,"hex_longitude":"2d0c1f00","hex_latitude":"07035278","is_valid_coordinates":true} 
[2026-06-18 09:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129709056001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21139176195883008,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873768726574635008,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781756678000,"timestamp_ms":1781756678000,"timestamp_seconds":1781756678,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f94f70"} 
[2026-06-18 09:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 09:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:55:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129709056001,"66":14396,"37":206,"94":11008,"24":7,"16":21139176195883008,"45":873768726574635008},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 09:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129709056001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:55:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 09:55:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21139176195883008,"km_value":21139176195883.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":873768726574635008,"description":"Unknown IO ID 45"} 
[2026-06-18 09:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129709056001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":873768726574635008}} 
[2026-06-18 09:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":105626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343632,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:55:13] local.INFO: GPS data processed {"connection_id":105626,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:55:13] local.INFO: Acknowledgment sent {"connection_id":105626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:55:14] local.INFO: TCP Data received {"connection_id":105626,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f95740012d0c1e0007035118001a00d125..."} 
[2026-06-18 09:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f95740012d0c1e0007035118001a00d125..."} 
[2026-06-18 09:55:14] local.INFO: Processing buffer {"connection_id":105626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f95740012d0c1e0007035118001a00d125..."} 
[2026-06-18 09:55:14] local.INFO: Packet analysis {"connection_id":105626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:55:14] local.INFO: Extracted packet for processing {"connection_id":105626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:55:14] local.INFO: GPS Element Parsed {"raw_longitude":755768832,"raw_latitude":117657880,"longitude_deg":75.5768832,"latitude_deg":11.765788,"altitude":26,"angle":209,"satellites":37,"speed":8,"hex_longitude":"2d0c1e00","hex_latitude":"07035118","is_valid_coordinates":true} 
[2026-06-18 09:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129709568001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21139197670719488,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873416882853672960,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781756680000,"timestamp_ms":1781756680000,"timestamp_seconds":1781756680,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f95740"} 
[2026-06-18 09:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 09:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129709568001,"66":14396,"37":206,"94":11008,"24":8,"16":21139197670719488,"45":873416882853672960},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 09:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129709568001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:55:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 09:55:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21139197670719488,"km_value":21139197670719.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":873416882853672960,"description":"Unknown IO ID 45"} 
[2026-06-18 09:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129709568001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":873416882853672960}} 
[2026-06-18 09:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":105626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343633,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:55:14] local.INFO: GPS data processed {"connection_id":105626,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:55:14] local.INFO: Acknowledgment sent {"connection_id":105626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:55:29] local.INFO: TCP Data received {"connection_id":105823,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:55:29] local.INFO: Processing buffer {"connection_id":105823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:55:29] local.INFO: Packet analysis {"connection_id":105823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:55:29] local.INFO: Extracted packet for processing {"connection_id":105823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:55:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55: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-06-18 09:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:55: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-06-18 09: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-06-18 09:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105823,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:55: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-06-18 09:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:55:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:55:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":105823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:55:29] local.INFO: GPS data processed {"connection_id":105823,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:55:29] local.INFO: Acknowledgment sent {"connection_id":105823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:55:30] local.INFO: TCP Data received {"connection_id":106402,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f73078012d550800067f6b90002f01552d..."} 
[2026-06-18 09:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f73078012d550800067f6b90002f01552d..."} 
[2026-06-18 09:55:30] local.INFO: Processing buffer {"connection_id":106402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f73078012d550800067f6b90002f01552d..."} 
[2026-06-18 09:55:30] local.INFO: Packet analysis {"connection_id":106402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f7"} 
[2026-06-18 09:55:30] local.INFO: Extracted packet for processing {"connection_id":106402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f7"} 
[2026-06-18 09:55:30] local.INFO: GPS Element Parsed {"raw_longitude":760547328,"raw_latitude":109013904,"longitude_deg":76.0547328,"latitude_deg":10.9013904,"altitude":47,"angle":341,"satellites":45,"speed":42,"hex_longitude":"2d550800","hex_latitude":"067f6b90","is_valid_coordinates":true} 
[2026-06-18 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-06-18 09:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129671936001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317843857830051840,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6130313914430949376,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781756539000,"timestamp_ms":1781756539000,"timestamp_seconds":1781756539,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f73078"} 
[2026-06-18 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-06-18 09:55: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-06-18 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 09:55: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-06-18 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-06-18 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-06-18 09:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129671936001,"66":27789,"3":206,"19":47872,"24":42,"16":317843857830051840,"45":6130313914430949376},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-18 09:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129671936001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:55:30] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 09:55:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317843857830051840,"km_value":317843857830051.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6130313914430949376,"description":"Unknown IO ID 45"} 
[2026-06-18 09:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129671936001,"power":27789,"unknown_3":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":6130313914430949376}} 
[2026-06-18 09:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":106402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:55:30] local.INFO: GPS data processed {"connection_id":106402,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:55:30] local.INFO: Acknowledgment sent {"connection_id":106402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:55:35] local.INFO: TCP Data received {"connection_id":107367,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:55:35] local.INFO: Processing buffer {"connection_id":107367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:55:35] local.INFO: IMEI packet received {"connection_id":107367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":107367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:55:41] local.INFO: TCP Data received {"connection_id":107367,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:55:41] local.INFO: Processing buffer {"connection_id":107367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:55:41] local.INFO: IMEI packet received {"connection_id":107367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":107367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:55:42] local.INFO: TCP Data received {"connection_id":107367,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f8f598012d54490006809988005e01332e..."} 
[2026-06-18 09:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f8f598012d54490006809988005e01332e..."} 
[2026-06-18 09:55:42] local.INFO: Processing buffer {"connection_id":107367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f8f598012d54490006809988005e01332e..."} 
[2026-06-18 09:55:42] local.INFO: Packet analysis {"connection_id":107367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f8"} 
[2026-06-18 09:55:42] local.INFO: Extracted packet for processing {"connection_id":107367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f8"} 
[2026-06-18 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":760498432,"raw_latitude":109091208,"longitude_deg":76.0498432,"latitude_deg":10.9091208,"altitude":94,"angle":307,"satellites":46,"speed":31,"hex_longitude":"2d544900","hex_latitude":"06809988","is_valid_coordinates":true} 
[2026-06-18 09:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129700608001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317848333185974272,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6081829849713006592,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781756655000,"timestamp_ms":1781756655000,"timestamp_seconds":1781756655,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f8f598"} 
[2026-06-18 09:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 09:55:42] 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-06-18 09:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129700608001,"66":27865,"3":206,"19":47872,"24":31,"16":317848333185974272,"45":6081829849713006592},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-18 09:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129700608001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:55:42] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 09:55:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317848333185974272,"km_value":317848333185974.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6081829849713006592,"description":"Unknown IO ID 45"} 
[2026-06-18 09:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129700608001,"power":27865,"unknown_3":206,"unknown_19":47872,"ignition":31,"odometer":null,"unknown_45":6081829849713006592}} 
[2026-06-18 09:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":107367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:55:42] local.INFO: GPS data processed {"connection_id":107367,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:55:42] local.INFO: Acknowledgment sent {"connection_id":107367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:55:45] local.INFO: TCP Data received {"connection_id":105626,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f95b28012d0c1dc007035018001a00c025..."} 
[2026-06-18 09:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f95b28012d0c1dc007035018001a00c025..."} 
[2026-06-18 09:55:45] local.INFO: Processing buffer {"connection_id":105626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f95b28012d0c1dc007035018001a00c025..."} 
[2026-06-18 09:55:45] local.INFO: Packet analysis {"connection_id":105626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:55:45] local.INFO: Extracted packet for processing {"connection_id":105626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:55:45] local.INFO: GPS Element Parsed {"raw_longitude":755768768,"raw_latitude":117657624,"longitude_deg":75.5768768,"latitude_deg":11.7657624,"altitude":26,"angle":192,"satellites":37,"speed":10,"hex_longitude":"2d0c1dc0","hex_latitude":"07035018","is_valid_coordinates":true} 
[2026-06-18 09:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129710080001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21139214850588672,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":873135407876872192,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781756681000,"timestamp_ms":1781756681000,"timestamp_seconds":1781756681,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f95b28"} 
[2026-06-18 09:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:55:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 09:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129710080001,"66":14396,"37":206,"94":11008,"24":10,"16":21139214850588672,"45":873135407876872192},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 09:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129710080001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:55:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 09:55:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21139214850588672,"km_value":21139214850588.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":873135407876872192,"description":"Unknown IO ID 45"} 
[2026-06-18 09:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129710080001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":873135407876872192}} 
[2026-06-18 09:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":105626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343637,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:55:45] local.INFO: GPS data processed {"connection_id":105626,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:55:45] local.INFO: Acknowledgment sent {"connection_id":105626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:55:52] local.INFO: TCP Data received {"connection_id":105627,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:55:52] local.INFO: Processing buffer {"connection_id":105627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:55:52] local.INFO: IMEI packet received {"connection_id":105627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":105627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:55:57] local.INFO: TCP Data received {"connection_id":105627,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105627,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:55:57] local.INFO: Processing buffer {"connection_id":105627,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:55:57] local.INFO: IMEI packet received {"connection_id":105627,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":105627,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:55:58] local.INFO: TCP Data received {"connection_id":105627,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:55:58] local.INFO: Processing buffer {"connection_id":105627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f61b20012d7d370005ec0c20000600e124..."} 
[2026-06-18 09:55:58] local.INFO: Packet analysis {"connection_id":105627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:55:58] local.INFO: Extracted packet for processing {"connection_id":105627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f6"} 
[2026-06-18 09:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":6,"angle":225,"satellites":36,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129578752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756468000,"timestamp_ms":1781756468000,"timestamp_seconds":1781756468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f61b20"} 
[2026-06-18 09:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 09:55: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-06-18 09: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-06-18 09:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:55:58] 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-06-18 09:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129578752001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129578752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:55:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129578752001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":105627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343638,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:55:58] local.INFO: GPS data processed {"connection_id":105627,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:55:58] local.INFO: Acknowledgment sent {"connection_id":105627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:56:09] local.INFO: TCP Data received {"connection_id":105628,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:56:09] local.INFO: Processing buffer {"connection_id":105628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:56:09] local.INFO: IMEI packet received {"connection_id":105628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":105628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:56:13] local.INFO: TCP Data received {"connection_id":105628,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105628,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:56:13] local.INFO: Processing buffer {"connection_id":105628,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:56:13] local.INFO: IMEI packet received {"connection_id":105628,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":105628,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:56:14] local.INFO: TCP Data received {"connection_id":105628,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fa68b0012d0c05c0070343100012014d25..."} 
[2026-06-18 09:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fa68b0012d0c05c0070343100012014d25..."} 
[2026-06-18 09:56:14] local.INFO: Processing buffer {"connection_id":105628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fa68b0012d0c05c0070343100012014d25..."} 
[2026-06-18 09:56:14] local.INFO: Packet analysis {"connection_id":105628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:56:14] local.INFO: Extracted packet for processing {"connection_id":105628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:56:14] local.INFO: GPS Element Parsed {"raw_longitude":755762624,"raw_latitude":117654288,"longitude_deg":75.5762624,"latitude_deg":11.7654288,"altitude":18,"angle":333,"satellites":37,"speed":13,"hex_longitude":"2d0c05c0","hex_latitude":"07034310","is_valid_coordinates":true} 
[2026-06-18 09:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129727232001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21139640052350976,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":866731852155664384,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781756750000,"timestamp_ms":1781756750000,"timestamp_seconds":1781756750,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fa68b0"} 
[2026-06-18 09:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 09:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129727232001,"66":14396,"37":206,"94":11008,"24":13,"16":21139640052350976,"45":866731852155664384},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 09:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129727232001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:56:14] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 09:56:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21139640052350976,"km_value":21139640052350.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":866731852155664384,"description":"Unknown IO ID 45"} 
[2026-06-18 09:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129727232001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":866731852155664384}} 
[2026-06-18 09:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":105628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343639,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:56:14] local.INFO: GPS data processed {"connection_id":105628,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:56:14] local.INFO: Acknowledgment sent {"connection_id":105628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:56:25] local.INFO: TCP Data received {"connection_id":105824,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:56:25] local.INFO: Processing buffer {"connection_id":105824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:56:25] local.INFO: IMEI packet received {"connection_id":105824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":105824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:56:29] local.INFO: TCP Data received {"connection_id":105627,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:56:29] local.INFO: Processing buffer {"connection_id":105627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:56:29] local.INFO: Packet analysis {"connection_id":105627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:56:29] local.INFO: Extracted packet for processing {"connection_id":105627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:56:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129655808001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56: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-06-18 09:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756769000,"timestamp_ms":1781756769000,"timestamp_seconds":1781756769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fab2e8"} 
[2026-06-18 09:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105627,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:56:29] 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-06-18 09:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129655808001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129655808001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:56:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:56:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129655808001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":105627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:56:29] local.INFO: GPS data processed {"connection_id":105627,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:56:29] local.INFO: Acknowledgment sent {"connection_id":105627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:56:30] local.INFO: TCP Data received {"connection_id":105824,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:56:30] local.INFO: Processing buffer {"connection_id":105824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:56:30] local.INFO: IMEI packet received {"connection_id":105824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":105824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:56:31] local.INFO: TCP Data received {"connection_id":105824,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f92478012d542b400680afb00064013329..."} 
[2026-06-18 09:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f92478012d542b400680afb00064013329..."} 
[2026-06-18 09:56:31] local.INFO: Processing buffer {"connection_id":105824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f92478012d542b400680afb00064013329..."} 
[2026-06-18 09:56:31] local.INFO: Packet analysis {"connection_id":105824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:56:31] local.INFO: Extracted packet for processing {"connection_id":105824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:56:31] local.INFO: GPS Element Parsed {"raw_longitude":760490816,"raw_latitude":109096880,"longitude_deg":76.0490816,"latitude_deg":10.909688,"altitude":100,"angle":307,"satellites":41,"speed":31,"hex_longitude":"2d542b40","hex_latitude":"0680afb0","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129703680001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317848788452507648,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6073385600413173760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781756667000,"timestamp_ms":1781756667000,"timestamp_seconds":1781756667,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f92478"} 
[2026-06-18 09:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 09:56: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-06-18 09: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-06-18 09:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129703680001,"66":27908,"3":206,"19":47872,"24":31,"16":317848788452507648,"45":6073385600413173760},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-18 09:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129703680001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:56:31] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 09:56:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317848788452507648,"km_value":317848788452507.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6073385600413173760,"description":"Unknown IO ID 45"} 
[2026-06-18 09:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129703680001,"power":27908,"unknown_3":206,"unknown_19":47872,"ignition":31,"odometer":null,"unknown_45":6073385600413173760}} 
[2026-06-18 09:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":105824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:56:31] local.INFO: GPS data processed {"connection_id":105824,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:56:31] local.INFO: Acknowledgment sent {"connection_id":105824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:56:35] local.INFO: TCP Data received {"connection_id":105825,"ip":"35.203.210.24","data_length":1483,"data_hex":"16030105c6010005c20303308d6b0e09e3fa6e18c5f16b28aaa717fe563afa42..."} 
[2026-06-18 09:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105825,"packet_length":1483,"packet_hex":"16030105c6010005c20303308d6b0e09e3fa6e18c5f16b28aaa717fe563afa42..."} 
[2026-06-18 09:56:35] local.INFO: Processing buffer {"connection_id":105825,"buffer_length":1483,"buffer_hex":"16030105c6010005c20303308d6b0e09e3fa6e18c5f16b28aaa717fe563afa42..."} 
[2026-06-18 09:56:35] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":105825,"buffer_length":1483,"first_bytes_hex":"16030105c6010005c20303308d6b0e09"} 
[2026-06-18 09:56:35] local.INFO: TCP Data received {"connection_id":107369,"ip":"35.203.210.24","data_length":207,"data_hex":"16030100ca010000c60303f7cda4bb402e8eca56e903987a04e602b2d6d4cab0..."} 
[2026-06-18 09:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107369,"packet_length":207,"packet_hex":"16030100ca010000c60303f7cda4bb402e8eca56e903987a04e602b2d6d4cab0..."} 
[2026-06-18 09:56:35] local.INFO: Processing buffer {"connection_id":107369,"buffer_length":207,"buffer_hex":"16030100ca010000c60303f7cda4bb402e8eca56e903987a04e602b2d6d4cab0..."} 
[2026-06-18 09:56:35] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":107369,"buffer_length":207,"first_bytes_hex":"16030100ca010000c60303f7cda4bb40"} 
[2026-06-18 09:56:35] local.INFO: TCP Data received {"connection_id":107369,"ip":"35.203.210.24","data_length":7,"data_hex":"1503010002020a..."} 
[2026-06-18 09:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107369,"packet_length":7,"packet_hex":"1503010002020a..."} 
[2026-06-18 09:56:35] local.INFO: Processing buffer {"connection_id":107369,"buffer_length":7,"buffer_hex":"1503010002020a..."} 
[2026-06-18 09:56:45] local.INFO: TCP Data received {"connection_id":105628,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fb08d8012d0be24007035be80016012b25..."} 
[2026-06-18 09:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fb08d8012d0be24007035be80016012b25..."} 
[2026-06-18 09:56:45] local.INFO: Processing buffer {"connection_id":105628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fb08d8012d0be24007035be80016012b25..."} 
[2026-06-18 09:56:45] local.INFO: Packet analysis {"connection_id":105628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:56:45] local.INFO: Extracted packet for processing {"connection_id":105628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":755753536,"raw_latitude":117660648,"longitude_deg":75.5753536,"latitude_deg":11.7660648,"altitude":22,"angle":299,"satellites":37,"speed":14,"hex_longitude":"2d0be240","hex_latitude":"07035be8","is_valid_coordinates":true} 
[2026-06-18 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129737984001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21140301477314560,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857091334204989440,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781756791000,"timestamp_ms":1781756791000,"timestamp_seconds":1781756791,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fb08d8"} 
[2026-06-18 09:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:56:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:56:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 09:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:56:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105628,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129737984001,"66":14407,"37":206,"94":11008,"24":14,"16":21140301477314560,"45":857091334204989440},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 09:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129737984001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:56:45] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 09:56:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21140301477314560,"km_value":21140301477314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":857091334204989440,"description":"Unknown IO ID 45"} 
[2026-06-18 09:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129737984001,"power":14407,"unknown_37":206,"unknown_94":11008,"ignition":14,"odometer":null,"unknown_45":857091334204989440}} 
[2026-06-18 09:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":105628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343642,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:56:45] local.INFO: GPS data processed {"connection_id":105628,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:56:45] local.INFO: Acknowledgment sent {"connection_id":105628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:56:52] local.INFO: TCP Data received {"connection_id":105826,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:56:52] local.INFO: Processing buffer {"connection_id":105826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:56:52] local.INFO: IMEI packet received {"connection_id":105826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":105826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:56:57] local.INFO: TCP Data received {"connection_id":105826,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:56:57] local.INFO: Processing buffer {"connection_id":105826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:56:57] local.INFO: IMEI packet received {"connection_id":105826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":105826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:56:58] local.INFO: TCP Data received {"connection_id":105826,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:56:58] local.INFO: Processing buffer {"connection_id":105826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:56:58] local.INFO: Packet analysis {"connection_id":105826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:56:58] local.INFO: Extracted packet for processing {"connection_id":105826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129655808001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756769000,"timestamp_ms":1781756769000,"timestamp_seconds":1781756769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fab2e8"} 
[2026-06-18 09:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:56:58] 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-06-18 09: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-06-18 09:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:56:58] 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-06-18 09:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129655808001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129655808001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:56:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129655808001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":105826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:56:58] local.INFO: GPS data processed {"connection_id":105826,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:56:58] local.INFO: Acknowledgment sent {"connection_id":105826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:56:59] local.INFO: TCP Data received {"connection_id":107368,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:56:59] local.INFO: Processing buffer {"connection_id":107368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:56:59] local.INFO: IMEI packet received {"connection_id":107368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":107368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:57:04] local.INFO: TCP Data received {"connection_id":105824,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f95358012d540e800680c6b8006901362a..."} 
[2026-06-18 09:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f95358012d540e800680c6b8006901362a..."} 
[2026-06-18 09:57:04] local.INFO: Processing buffer {"connection_id":105824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f95358012d540e800680c6b8006901362a..."} 
[2026-06-18 09:57:04] local.INFO: Packet analysis {"connection_id":105824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:57:04] local.INFO: Extracted packet for processing {"connection_id":105824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760483456,"raw_latitude":109102776,"longitude_deg":76.0483456,"latitude_deg":10.9102776,"altitude":105,"angle":310,"satellites":42,"speed":30,"hex_longitude":"2d540e80","hex_latitude":"0680c6b8","is_valid_coordinates":true} 
[2026-06-18 09:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129706752001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317849239424073728,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6065011719857483776,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781756679000,"timestamp_ms":1781756679000,"timestamp_seconds":1781756679,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f95358"} 
[2026-06-18 09:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:57: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-06-18 09:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 09:57: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-06-18 09:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129706752001,"66":27876,"3":206,"19":47872,"24":30,"16":317849239424073728,"45":6065011719857483776},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-06-18 09:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129706752001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:57:04] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 09:57:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317849239424073728,"km_value":317849239424073.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6065011719857483776,"description":"Unknown IO ID 45"} 
[2026-06-18 09:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129706752001,"power":27876,"unknown_3":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":6065011719857483776}} 
[2026-06-18 09:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":105824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:57:04] local.INFO: GPS data processed {"connection_id":105824,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:57:04] local.INFO: Acknowledgment sent {"connection_id":105824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:57:09] local.INFO: TCP Data received {"connection_id":105629,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:57:09] local.INFO: Processing buffer {"connection_id":105629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:57:09] local.INFO: IMEI packet received {"connection_id":105629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":105629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:57:14] local.INFO: TCP Data received {"connection_id":105629,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105629,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:57:14] local.INFO: Processing buffer {"connection_id":105629,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:57:14] local.INFO: IMEI packet received {"connection_id":105629,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":105629,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:57:15] local.INFO: TCP Data received {"connection_id":105629,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fb10a8012d0bdfc007035ce80016011d25..."} 
[2026-06-18 09:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fb10a8012d0bdfc007035ce80016011d25..."} 
[2026-06-18 09:57:15] local.INFO: Processing buffer {"connection_id":105629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fb10a8012d0bdfc007035ce80016011d25..."} 
[2026-06-18 09:57:15] local.INFO: Packet analysis {"connection_id":105629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:57:15] local.INFO: Extracted packet for processing {"connection_id":105629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:57:15] local.INFO: GPS Element Parsed {"raw_longitude":755752896,"raw_latitude":117660904,"longitude_deg":75.5752896,"latitude_deg":11.7660904,"altitude":22,"angle":285,"satellites":37,"speed":13,"hex_longitude":"2d0bdfc0","hex_latitude":"07035ce8","is_valid_coordinates":true} 
[2026-06-18 09:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129738496001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21140335837052928,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856317278019119104,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781756793000,"timestamp_ms":1781756793000,"timestamp_seconds":1781756793,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fb10a8"} 
[2026-06-18 09:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 09:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129738496001,"66":14428,"37":206,"94":11008,"24":13,"16":21140335837052928,"45":856317278019119104},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 09:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129738496001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:57:15] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 09:57:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21140335837052928,"km_value":21140335837052.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":856317278019119104,"description":"Unknown IO ID 45"} 
[2026-06-18 09:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129738496001,"power":14428,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":856317278019119104}} 
[2026-06-18 09:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":105629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:57:15] local.INFO: GPS data processed {"connection_id":105629,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:57:15] local.INFO: Acknowledgment sent {"connection_id":105629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:57:25] local.INFO: TCP Data received {"connection_id":107370,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:25] local.INFO: Processing buffer {"connection_id":107370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:25] local.INFO: IMEI packet received {"connection_id":107370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":107370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:57:25] local.INFO: TCP Data received {"connection_id":107370,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:25] local.INFO: Processing buffer {"connection_id":107370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:25] local.INFO: IMEI packet received {"connection_id":107370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":107370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:57:29] local.INFO: TCP Data received {"connection_id":105826,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:57:29] local.INFO: Processing buffer {"connection_id":105826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:57:29] local.INFO: Packet analysis {"connection_id":105826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:57:29] local.INFO: Extracted packet for processing {"connection_id":105826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129655808001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57: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-06-18 09:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756769000,"timestamp_ms":1781756769000,"timestamp_seconds":1781756769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fab2e8"} 
[2026-06-18 09:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:57:29] 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-06-18 09:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129655808001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129655808001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:57:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:57:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129655808001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":105826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:57:29] local.INFO: GPS data processed {"connection_id":105826,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:57:29] local.INFO: Acknowledgment sent {"connection_id":105826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:57:30] local.INFO: TCP Data received {"connection_id":107370,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:30] local.INFO: Processing buffer {"connection_id":107370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:57:30] local.INFO: IMEI packet received {"connection_id":107370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":107370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:57:34] local.INFO: TCP Data received {"connection_id":106404,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:57:34] local.INFO: Processing buffer {"connection_id":106404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 09:57:34] local.INFO: IMEI packet received {"connection_id":106404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 09:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":106404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:57:35] local.INFO: TCP Data received {"connection_id":107370,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8f98238012d53f3800680deb0006c01392c..."} 
[2026-06-18 09:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8f98238012d53f3800680deb0006c01392c..."} 
[2026-06-18 09:57:35] local.INFO: Processing buffer {"connection_id":107370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8f98238012d53f3800680deb0006c01392c..."} 
[2026-06-18 09:57:35] local.INFO: Packet analysis {"connection_id":107370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:57:35] local.INFO: Extracted packet for processing {"connection_id":107370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8f9"} 
[2026-06-18 09:57:35] local.INFO: GPS Element Parsed {"raw_longitude":760476544,"raw_latitude":109108912,"longitude_deg":76.0476544,"latitude_deg":10.9108912,"altitude":108,"angle":313,"satellites":44,"speed":30,"hex_longitude":"2d53f380","hex_latitude":"0680deb0","is_valid_coordinates":true} 
[2026-06-18 09:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129709824001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317849686100672512,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6056919314278561792,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781756691000,"timestamp_ms":1781756691000,"timestamp_seconds":1781756691,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8f98238"} 
[2026-06-18 09:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:57: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-06-18 09:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 09:57: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-06-18 09:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129709824001,"66":27832,"202":206,"19":47872,"24":30,"16":317849686100672512,"45":6056919314278561792},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,19,24,16,45]} 
[2026-06-18 09:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129709824001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:57:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317849686100672512,"km_value":317849686100672.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6056919314278561792,"description":"Unknown IO ID 45"} 
[2026-06-18 09:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129709824001,"power":27832,"mcc":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":6056919314278561792}} 
[2026-06-18 09:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":107370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:57:35] local.INFO: GPS data processed {"connection_id":107370,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:57:35] local.INFO: Acknowledgment sent {"connection_id":107370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:57:47] local.INFO: TCP Data received {"connection_id":105629,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fb1878012d0bdc4007035d480016011025..."} 
[2026-06-18 09:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fb1878012d0bdc4007035d480016011025..."} 
[2026-06-18 09:57:47] local.INFO: Processing buffer {"connection_id":105629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fb1878012d0bdc4007035d480016011025..."} 
[2026-06-18 09:57:47] local.INFO: Packet analysis {"connection_id":105629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:57:47] local.INFO: Extracted packet for processing {"connection_id":105629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:57:47] local.INFO: GPS Element Parsed {"raw_longitude":755752000,"raw_latitude":117661000,"longitude_deg":75.5752,"latitude_deg":11.7661,"altitude":22,"angle":272,"satellites":37,"speed":18,"hex_longitude":"2d0bdc40","hex_latitude":"07035d48","is_valid_coordinates":true} 
[2026-06-18 09:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129739008001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21140378786725888,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":855613590577408000,"note":"Value kept but may cause issues"} 
[2026-06-18 09:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781756795000,"timestamp_ms":1781756795000,"timestamp_seconds":1781756795,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fb1878"} 
[2026-06-18 09:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 09:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105629,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 09:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 09:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 09:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129739008001,"66":13754,"37":206,"94":11008,"24":18,"16":21140378786725888,"45":855613590577408000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 09:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 09:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 09:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129739008001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:57:47] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 09:57:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 09:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21140378786725888,"km_value":21140378786725.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":855613590577408000,"description":"Unknown IO ID 45"} 
[2026-06-18 09:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129739008001,"power":13754,"unknown_37":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":855613590577408000}} 
[2026-06-18 09:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":105629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343648,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:57:47] local.INFO: GPS data processed {"connection_id":105629,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:57:47] local.INFO: Acknowledgment sent {"connection_id":105629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:57:57] local.INFO: TCP Data received {"connection_id":105630,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:57:57] local.INFO: Processing buffer {"connection_id":105630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:57:57] local.INFO: IMEI packet received {"connection_id":105630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":105630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:58:02] local.INFO: TCP Data received {"connection_id":105630,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:02] local.INFO: Processing buffer {"connection_id":105630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:02] local.INFO: IMEI packet received {"connection_id":105630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":105630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:58:03] local.INFO: TCP Data received {"connection_id":105630,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:03] local.INFO: Processing buffer {"connection_id":105630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:03] local.INFO: Packet analysis {"connection_id":105630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:58:03] local.INFO: Extracted packet for processing {"connection_id":105630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129655808001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781756769000,"timestamp_ms":1781756769000,"timestamp_seconds":1781756769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fab2e8"} 
[2026-06-18 09:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129655808001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129655808001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:58:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:58:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129655808001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":105630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:58:03] local.INFO: GPS data processed {"connection_id":105630,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:58:03] local.INFO: Acknowledgment sent {"connection_id":105630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:58:07] local.INFO: TCP Data received {"connection_id":105631,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:58:07] local.INFO: Processing buffer {"connection_id":105631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:58:07] local.INFO: IMEI packet received {"connection_id":105631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 09:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":105631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:58:07] local.INFO: TCP Data received {"connection_id":105630,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:07] local.INFO: Processing buffer {"connection_id":105630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:07] local.INFO: Packet analysis {"connection_id":105630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:58:07] local.INFO: Extracted packet for processing {"connection_id":105630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129655808001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781756769000,"timestamp_ms":1781756769000,"timestamp_seconds":1781756769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fab2e8"} 
[2026-06-18 09:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:58:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:58:07] 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-06-18 09:58:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:58:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129655808001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129655808001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:58:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:58:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129655808001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":105630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:58:07] local.INFO: GPS data processed {"connection_id":105630,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:58:07] local.INFO: Acknowledgment sent {"connection_id":105630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:58:08] local.INFO: TCP Data received {"connection_id":105631,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105631,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:58:08] local.INFO: Processing buffer {"connection_id":105631,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 09:58:08] local.INFO: IMEI packet received {"connection_id":105631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":105631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:58:09] local.INFO: TCP Data received {"connection_id":105631,"ip":"42.106.6.29","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105631,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 09:58:09] local.INFO: Processing buffer {"connection_id":105631,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 09:58:09] local.INFO: IMEI packet received {"connection_id":105631,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 09:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":105631,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:58:25] local.INFO: TCP Data received {"connection_id":107370,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fb9578012d5277c006823d50008501352d..."} 
[2026-06-18 09:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fb9578012d5277c006823d50008501352d..."} 
[2026-06-18 09:58:25] local.INFO: Processing buffer {"connection_id":107370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fb9578012d5277c006823d50008501352d..."} 
[2026-06-18 09:58:25] local.INFO: Packet analysis {"connection_id":107370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:58:25] local.INFO: Extracted packet for processing {"connection_id":107370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:58:25] local.INFO: GPS Element Parsed {"raw_longitude":760379328,"raw_latitude":109198672,"longitude_deg":76.0379328,"latitude_deg":10.9198672,"altitude":133,"angle":309,"satellites":45,"speed":54,"hex_longitude":"2d5277c0","hex_latitude":"06823d50","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129745920001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317856038357303296,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5950381035616526336,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781756827000,"timestamp_ms":1781756827000,"timestamp_seconds":1781756827,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fb9578"} 
[2026-06-18 09:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:58: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-06-18 09: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 09:58: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-06-18 09: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-06-18 09:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:58:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129745920001,"66":27789,"201":206,"19":47872,"24":54,"16":317856038357303296,"45":5950381035616526336},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-06-18 09:58:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:58:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:58:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129745920001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:58:25] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 09:58:25] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:58:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317856038357303296,"km_value":317856038357303.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:58:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5950381035616526336,"description":"Unknown IO ID 45"} 
[2026-06-18 09:58:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129745920001,"power":27789,"unknown_201":206,"unknown_19":47872,"ignition":54,"odometer":null,"unknown_45":5950381035616526336}} 
[2026-06-18 09:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":107370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:58:25] local.INFO: GPS data processed {"connection_id":107370,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:58:25] local.INFO: Acknowledgment sent {"connection_id":107370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:58:30] local.INFO: TCP Data received {"connection_id":105827,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:30] local.INFO: Processing buffer {"connection_id":105827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:30] local.INFO: IMEI packet received {"connection_id":105827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":105827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:58:31] local.INFO: TCP Data received {"connection_id":105827,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:31] local.INFO: Processing buffer {"connection_id":105827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:31] local.INFO: IMEI packet received {"connection_id":105827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:58:31] local.INFO: IMEI acknowledgment sent {"connection_id":105827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:58:35] local.INFO: TCP Data received {"connection_id":105827,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:35] local.INFO: Processing buffer {"connection_id":105827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:58:35] local.INFO: IMEI packet received {"connection_id":105827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":105827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:58:36] local.INFO: TCP Data received {"connection_id":105827,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fbb0d0012d52590006825518008301322d..."} 
[2026-06-18 09:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fbb0d0012d52590006825518008301322d..."} 
[2026-06-18 09:58:36] local.INFO: Processing buffer {"connection_id":105827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fbb0d0012d52590006825518008301322d..."} 
[2026-06-18 09:58:36] local.INFO: Packet analysis {"connection_id":105827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:58:36] local.INFO: Extracted packet for processing {"connection_id":105827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:58:36] local.INFO: GPS Element Parsed {"raw_longitude":760371456,"raw_latitude":109204760,"longitude_deg":76.0371456,"latitude_deg":10.920476,"altitude":131,"angle":306,"satellites":45,"speed":56,"hex_longitude":"2d525900","hex_latitude":"06825518","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129747712001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317856515098673152,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5942429367526051840,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781756834000,"timestamp_ms":1781756834000,"timestamp_seconds":1781756834,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fbb0d0"} 
[2026-06-18 09:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:58: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-06-18 09: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":141,"data_length":795,"current_offset":136} 
[2026-06-18 09:58:36] 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-06-18 09: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-06-18 09:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129747712001,"66":27876,"201":206,"19":47872,"24":56,"16":317856515098673152,"45":5942429367526051840},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-06-18 09:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129747712001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:58:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 09:58:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317856515098673152,"km_value":317856515098673.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5942429367526051840,"description":"Unknown IO ID 45"} 
[2026-06-18 09:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129747712001,"power":27876,"unknown_201":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":5942429367526051840}} 
[2026-06-18 09:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":105827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:58:36] local.INFO: GPS data processed {"connection_id":105827,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:58:36] local.INFO: Acknowledgment sent {"connection_id":105827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:58:52] local.INFO: TCP Data received {"connection_id":106405,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:52] local.INFO: Processing buffer {"connection_id":106405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:52] local.INFO: IMEI packet received {"connection_id":106405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 09:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":106405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:58:57] local.INFO: TCP Data received {"connection_id":106405,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106405,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:57] local.INFO: Processing buffer {"connection_id":106405,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 09:58:57] local.INFO: IMEI packet received {"connection_id":106405,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 09:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":106405,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:58:58] local.INFO: TCP Data received {"connection_id":106405,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:58] local.INFO: Processing buffer {"connection_id":106405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:58:58] local.INFO: Packet analysis {"connection_id":106405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:58:58] local.INFO: Extracted packet for processing {"connection_id":106405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129655808001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781756769000,"timestamp_ms":1781756769000,"timestamp_seconds":1781756769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fab2e8"} 
[2026-06-18 09:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:58:58] 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-06-18 09:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:58:58] 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-06-18 09:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129655808001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129655808001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:58:58] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129655808001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":106405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:58:58] local.INFO: GPS data processed {"connection_id":106405,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:58:58] local.INFO: Acknowledgment sent {"connection_id":106405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:59:08] local.INFO: TCP Data received {"connection_id":105827,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fbcc28012d52398006826b280082012f2b..."} 
[2026-06-18 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fbcc28012d52398006826b280082012f2b..."} 
[2026-06-18 09:59:08] local.INFO: Processing buffer {"connection_id":105827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fbcc28012d52398006826b280082012f2b..."} 
[2026-06-18 09:59:08] local.INFO: Packet analysis {"connection_id":105827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:59:08] local.INFO: Extracted packet for processing {"connection_id":105827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":760363392,"raw_latitude":109210408,"longitude_deg":76.0363392,"latitude_deg":10.9210408,"altitude":130,"angle":303,"satellites":43,"speed":54,"hex_longitude":"2d523980","hex_latitude":"06826b28","is_valid_coordinates":true} 
[2026-06-18 09:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129749504001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317856987545075712,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5933774011993757696,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781756841000,"timestamp_ms":1781756841000,"timestamp_seconds":1781756841,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fbcc28"} 
[2026-06-18 09:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 09:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129749504001,"66":27843,"201":206,"19":47872,"24":54,"16":317856987545075712,"45":5933774011993757696},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-06-18 09:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129749504001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:59:08] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 09:59:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317856987545075712,"km_value":317856987545075.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5933774011993757696,"description":"Unknown IO ID 45"} 
[2026-06-18 09:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129749504001,"power":27843,"unknown_201":206,"unknown_19":47872,"ignition":54,"odometer":null,"unknown_45":5933774011993757696}} 
[2026-06-18 09:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":105827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:59:08] local.INFO: GPS data processed {"connection_id":105827,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:59:08] local.INFO: Acknowledgment sent {"connection_id":105827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:59:29] local.INFO: TCP Data received {"connection_id":106405,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:59:29] local.INFO: Processing buffer {"connection_id":106405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fab2e8012d7d370005ec0c20000700e121..."} 
[2026-06-18 09:59:29] local.INFO: Packet analysis {"connection_id":106405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:59:29] local.INFO: Extracted packet for processing {"connection_id":106405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fa"} 
[2026-06-18 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":99355680,"longitude_deg":76.31808,"latitude_deg":9.935568,"altitude":7,"angle":225,"satellites":33,"speed":0,"hex_longitude":"2d7d3700","hex_latitude":"05ec0c20","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129655808001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403895132160,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59: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-06-18 09:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781756769000,"timestamp_ms":1781756769000,"timestamp_seconds":1781756769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fab2e8"} 
[2026-06-18 09:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 09:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 09:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106405,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 09:59:29] 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-06-18 09:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 09:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 09:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129655808001,"66":2242,"109":206,"87":13824,"24":0,"16":93866566088654848,"45":9022680403895132160},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,87,24,16,45]} 
[2026-06-18 09:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 09:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 09:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129655808001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:59:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 09:59:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 09:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403895132160,"description":"Unknown IO ID 45"} 
[2026-06-18 09:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129655808001,"power":2242,"unknown_109":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9022680403895132160}} 
[2026-06-18 09:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":106405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:59:29] local.INFO: GPS data processed {"connection_id":106405,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:59:29] local.INFO: Acknowledgment sent {"connection_id":106405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:59:30] local.INFO: TCP Data received {"connection_id":107373,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:59:30] local.INFO: Processing buffer {"connection_id":107373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:59:30] local.INFO: IMEI packet received {"connection_id":107373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 09:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":107373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 09:59:35] local.INFO: TCP Data received {"connection_id":107373,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:59:35] local.INFO: Processing buffer {"connection_id":107373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 09:59:35] local.INFO: IMEI packet received {"connection_id":107373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 09:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":107373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 09:59:36] local.INFO: TCP Data received {"connection_id":107373,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fbe780012d521b0006827e280083012d2d..."} 
[2026-06-18 09:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fbe780012d521b0006827e280083012d2d..."} 
[2026-06-18 09:59:36] local.INFO: Processing buffer {"connection_id":107373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fbe780012d521b0006827e280083012d2d..."} 
[2026-06-18 09:59:36] local.INFO: Packet analysis {"connection_id":107373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:59:36] local.INFO: Extracted packet for processing {"connection_id":107373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fb"} 
[2026-06-18 09:59:36] local.INFO: GPS Element Parsed {"raw_longitude":760355584,"raw_latitude":109215272,"longitude_deg":76.0355584,"latitude_deg":10.9215272,"altitude":131,"angle":301,"satellites":45,"speed":49,"hex_longitude":"2d521b00","hex_latitude":"06827e28","is_valid_coordinates":true} 
[2026-06-18 09: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-06-18 09:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129751296001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317857425631739904,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5924907550228817920,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781756848000,"timestamp_ms":1781756848000,"timestamp_seconds":1781756848,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fbe780"} 
[2026-06-18 09:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 09:59:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 09: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-06-18 09:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129751296001,"66":27180,"201":206,"19":47872,"24":49,"16":317857425631739904,"45":5924907550228817920},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-06-18 09:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129751296001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:59:36] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 09:59:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317857425631739904,"km_value":317857425631739.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5924907550228817920,"description":"Unknown IO ID 45"} 
[2026-06-18 09:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129751296001,"power":27180,"unknown_201":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5924907550228817920}} 
[2026-06-18 09:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":107373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:59:36] local.INFO: GPS data processed {"connection_id":107373,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:59:36] local.INFO: Acknowledgment sent {"connection_id":107373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 09:59:37] local.INFO: TCP Data received {"connection_id":107373,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fc06c0012d51f980068291c00085012c2b..."} 
[2026-06-18 09:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fc06c0012d51f980068291c00085012c2b..."} 
[2026-06-18 09:59:37] local.INFO: Processing buffer {"connection_id":107373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fc06c0012d51f980068291c00085012c2b..."} 
[2026-06-18 09:59:37] local.INFO: Packet analysis {"connection_id":107373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fc"} 
[2026-06-18 09:59:37] local.INFO: Extracted packet for processing {"connection_id":107373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fc"} 
[2026-06-18 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":760347008,"raw_latitude":109220288,"longitude_deg":76.0347008,"latitude_deg":10.9220288,"altitude":133,"angle":300,"satellites":43,"speed":48,"hex_longitude":"2d51f980","hex_latitude":"068291c0","is_valid_coordinates":true} 
[2026-06-18 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 09:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129753088001,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317857902373109760,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5916322563440388096,"note":"Value kept but may cause issues"} 
[2026-06-18 09:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 09:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781756856000,"timestamp_ms":1781756856000,"timestamp_seconds":1781756856,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fc06c0"} 
[2026-06-18 09:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 09:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 09:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-18 09:59:37] 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-06-18 09:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 09:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 09:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 09:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 09:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 09:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 09:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 09:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 09:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129753088001,"66":27908,"201":206,"19":47872,"24":48,"16":317857902373109760,"45":5916322563440388096},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,19,24,16,45]} 
[2026-06-18 09:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 09:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 09:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129753088001,"description":"Unknown IO ID 0"} 
[2026-06-18 09:59:37] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 09:59:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 09:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317857902373109760,"km_value":317857902373109.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 09:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5916322563440388096,"description":"Unknown IO ID 45"} 
[2026-06-18 09:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129753088001,"power":27908,"unknown_201":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5916322563440388096}} 
[2026-06-18 09:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":107373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 09:59:37] local.INFO: GPS data processed {"connection_id":107373,"processed":1,"errors":0,"total":1} 
[2026-06-18 09:59:37] local.INFO: Acknowledgment sent {"connection_id":107373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:00:10] local.INFO: TCP Data received {"connection_id":107373,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fd9530012d50e04006837620009301272b..."} 
[2026-06-18 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fd9530012d50e04006837620009301272b..."} 
[2026-06-18 10:00:10] local.INFO: Processing buffer {"connection_id":107373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fd9530012d50e04006837620009301272b..."} 
[2026-06-18 10:00:10] local.INFO: Packet analysis {"connection_id":107373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fd"} 
[2026-06-18 10:00:10] local.INFO: Extracted packet for processing {"connection_id":107373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fd"} 
[2026-06-18 10:00:10] local.INFO: GPS Element Parsed {"raw_longitude":760275008,"raw_latitude":109278752,"longitude_deg":76.0275008,"latitude_deg":10.9278752,"altitude":147,"angle":295,"satellites":43,"speed":30,"hex_longitude":"2d50e040","hex_latitude":"06837620","is_valid_coordinates":true} 
[2026-06-18 10:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129778688001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317862399203868672,"note":"Value kept but may cause issues"} 
[2026-06-18 10:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5833639289047042048,"note":"Value kept but may cause issues"} 
[2026-06-18 10:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781756958000,"timestamp_ms":1781756958000,"timestamp_seconds":1781756958,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fd9530"} 
[2026-06-18 10:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 10:00:10] 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-06-18 10:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129778688001,"66":27821,"250":206,"19":47872,"24":30,"16":317862399203868672,"45":5833639289047042048},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-06-18 10:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129778688001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:00:10] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 10:00:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 10:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317862399203868672,"km_value":317862399203868.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5833639289047042048,"description":"Unknown IO ID 45"} 
[2026-06-18 10:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129778688001,"power":27821,"unknown_250":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":5833639289047042048}} 
[2026-06-18 10:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":107373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:00:10] local.INFO: GPS data processed {"connection_id":107373,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:00:10] local.INFO: Acknowledgment sent {"connection_id":107373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:00:22] local.INFO: TCP Data received {"connection_id":105632,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:22] local.INFO: Processing buffer {"connection_id":105632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:22] local.INFO: IMEI packet received {"connection_id":105632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":105632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:00:25] local.INFO: TCP Data received {"connection_id":105632,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:25] local.INFO: Processing buffer {"connection_id":105632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:25] local.INFO: IMEI packet received {"connection_id":105632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":105632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:00:30] local.INFO: TCP Data received {"connection_id":105632,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:30] local.INFO: Processing buffer {"connection_id":105632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:00:30] local.INFO: IMEI packet received {"connection_id":105632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":105632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:00:31] local.INFO: TCP Data received {"connection_id":105632,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fdbc40012d50bd00068381e80092011b2c..."} 
[2026-06-18 10:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fdbc40012d50bd00068381e80092011b2c..."} 
[2026-06-18 10:00:31] local.INFO: Processing buffer {"connection_id":105632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fdbc40012d50bd00068381e80092011b2c..."} 
[2026-06-18 10:00:31] local.INFO: Packet analysis {"connection_id":105632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fd"} 
[2026-06-18 10:00:31] local.INFO: Extracted packet for processing {"connection_id":105632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fd"} 
[2026-06-18 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":760265984,"raw_latitude":109281768,"longitude_deg":76.0265984,"latitude_deg":10.9281768,"altitude":146,"angle":283,"satellites":44,"speed":42,"hex_longitude":"2d50bd00","hex_latitude":"068381e8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129781248001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317862858765369344,"note":"Value kept but may cause issues"} 
[2026-06-18 10:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5827728314536960000,"note":"Value kept but may cause issues"} 
[2026-06-18 10:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781756968000,"timestamp_ms":1781756968000,"timestamp_seconds":1781756968,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fdbc40"} 
[2026-06-18 10:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 10:00: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-06-18 10: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-06-18 10:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129781248001,"66":27908,"250":206,"19":47872,"24":42,"16":317862858765369344,"45":5827728314536960000},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-06-18 10:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129781248001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:00:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 10:00:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 10:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317862858765369344,"km_value":317862858765369.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5827728314536960000,"description":"Unknown IO ID 45"} 
[2026-06-18 10:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129781248001,"power":27908,"unknown_250":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":5827728314536960000}} 
[2026-06-18 10:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":105632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:00:31] local.INFO: GPS data processed {"connection_id":105632,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:00:31] local.INFO: Acknowledgment sent {"connection_id":105632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:01:09] local.INFO: TCP Data received {"connection_id":105632,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed8fdbc40012d50bd00068381e80092011b2c..."} 
[2026-06-18 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed8fdbc40012d50bd00068381e80092011b2c..."} 
[2026-06-18 10:01:09] local.INFO: Processing buffer {"connection_id":105632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed8fdbc40012d50bd00068381e80092011b2c..."} 
[2026-06-18 10:01:09] local.INFO: Packet analysis {"connection_id":105632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed8fd"} 
[2026-06-18 10:01:09] local.INFO: Extracted packet for processing {"connection_id":105632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed8fd"} 
[2026-06-18 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":760265984,"raw_latitude":109281768,"longitude_deg":76.0265984,"latitude_deg":10.9281768,"altitude":146,"angle":283,"satellites":44,"speed":42,"hex_longitude":"2d50bd00","hex_latitude":"068381e8","is_valid_coordinates":true} 
[2026-06-18 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129783808001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317862858765369344,"note":"Value kept but may cause issues"} 
[2026-06-18 10:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5817806321608681472,"note":"Value kept but may cause issues"} 
[2026-06-18 10:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781756968000,"timestamp_ms":1781756968000,"timestamp_seconds":1781756968,"priority":1,"record_length":96,"hex_timestamp":"0000019ed8fdbc40"} 
[2026-06-18 10:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 10:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129783808001,"66":27908,"250":206,"19":47872,"24":42,"16":317862858765369344,"45":5817806321608681472},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-06-18 10:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129783808001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:01:09] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 10:01:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-06-18 10:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317862858765369344,"km_value":317862858765369.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5817806321608681472,"description":"Unknown IO ID 45"} 
[2026-06-18 10:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129783808001,"power":27908,"unknown_250":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":5817806321608681472}} 
[2026-06-18 10:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":105632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:01:09] local.INFO: GPS data processed {"connection_id":105632,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:01:09] local.INFO: Acknowledgment sent {"connection_id":105632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:01:26] local.INFO: TCP Data received {"connection_id":107377,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:01:26] local.INFO: Processing buffer {"connection_id":107377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:01:26] local.INFO: IMEI packet received {"connection_id":107377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":107377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:01:34] local.INFO: TCP Data received {"connection_id":107377,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:01:34] local.INFO: Processing buffer {"connection_id":107377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:01:34] local.INFO: IMEI packet received {"connection_id":107377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":107377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:01:37] local.INFO: TCP Data received {"connection_id":107377,"ip":"117.224.95.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107377,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:01:37] local.INFO: Processing buffer {"connection_id":107377,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:01:37] local.INFO: IMEI packet received {"connection_id":107377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":107377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:03:12] local.INFO: TCP Data received {"connection_id":105829,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105829,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:03:12] local.INFO: Processing buffer {"connection_id":105829,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:03:12] local.INFO: IMEI packet received {"connection_id":105829,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 10:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":105829,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:03:15] local.INFO: TCP Data received {"connection_id":105829,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105829,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:03:15] local.INFO: Processing buffer {"connection_id":105829,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:03:15] local.INFO: IMEI packet received {"connection_id":105829,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":105829,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:03:16] local.INFO: TCP Data received {"connection_id":105829,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9007390012d0b60c0070437c80011007324..."} 
[2026-06-18 10:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9007390012d0b60c0070437c80011007324..."} 
[2026-06-18 10:03:16] local.INFO: Processing buffer {"connection_id":105829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9007390012d0b60c0070437c80011007324..."} 
[2026-06-18 10:03:16] local.INFO: Packet analysis {"connection_id":105829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed900"} 
[2026-06-18 10:03:16] local.INFO: Extracted packet for processing {"connection_id":105829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed900"} 
[2026-06-18 10:03:16] local.INFO: GPS Element Parsed {"raw_longitude":755720384,"raw_latitude":117716936,"longitude_deg":75.5720384,"latitude_deg":11.7716936,"altitude":17,"angle":115,"satellites":36,"speed":7,"hex_longitude":"2d0b60c0","hex_latitude":"070437c8","is_valid_coordinates":true} 
[2026-06-18 10:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129829120001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21146215647281152,"note":"Value kept but may cause issues"} 
[2026-06-18 10:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819655162316980224,"note":"Value kept but may cause issues"} 
[2026-06-18 10:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781757146000,"timestamp_ms":1781757146000,"timestamp_seconds":1781757146,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9007390"} 
[2026-06-18 10:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 10:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129829120001,"66":14428,"96":206,"94":10240,"24":7,"16":21146215647281152,"45":819655162316980224},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129829120001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:03:16] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:03:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21146215647281152,"km_value":21146215647281.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":819655162316980224,"description":"Unknown IO ID 45"} 
[2026-06-18 10:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129829120001,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":819655162316980224}} 
[2026-06-18 10:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":105829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343661,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:03:16] local.INFO: GPS data processed {"connection_id":105829,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:03:16] local.INFO: Acknowledgment sent {"connection_id":105829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:03:38] local.INFO: TCP Data received {"connection_id":105634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:03:38] local.INFO: Processing buffer {"connection_id":105634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:03:38] local.INFO: IMEI packet received {"connection_id":105634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":105634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:03:47] local.INFO: TCP Data received {"connection_id":105829,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9007778012d0b6180070437580012008a24..."} 
[2026-06-18 10:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9007778012d0b6180070437580012008a24..."} 
[2026-06-18 10:03:47] local.INFO: Processing buffer {"connection_id":105829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9007778012d0b6180070437580012008a24..."} 
[2026-06-18 10:03:47] local.INFO: Packet analysis {"connection_id":105829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed900"} 
[2026-06-18 10:03:47] local.INFO: Extracted packet for processing {"connection_id":105829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed900"} 
[2026-06-18 10:03:47] local.INFO: GPS Element Parsed {"raw_longitude":755720576,"raw_latitude":117716824,"longitude_deg":75.5720576,"latitude_deg":11.7716824,"altitude":18,"angle":138,"satellites":36,"speed":7,"hex_longitude":"2d0b6180","hex_latitude":"07043758","is_valid_coordinates":true} 
[2026-06-18 10:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129829376001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21146228532183040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819866268549498880,"note":"Value kept but may cause issues"} 
[2026-06-18 10:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781757147000,"timestamp_ms":1781757147000,"timestamp_seconds":1781757147,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9007778"} 
[2026-06-18 10:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 10:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105829,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129829376001,"66":14407,"96":206,"94":10240,"24":7,"16":21146228532183040,"45":819866268549498880},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129829376001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:03:47] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:03:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21146228532183040,"km_value":21146228532183.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":819866268549498880,"description":"Unknown IO ID 45"} 
[2026-06-18 10:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129829376001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":819866268549498880}} 
[2026-06-18 10:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":105829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:03:47] local.INFO: GPS data processed {"connection_id":105829,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:03:47] local.INFO: Acknowledgment sent {"connection_id":105829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:04:09] local.INFO: TCP Data received {"connection_id":105635,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:09] local.INFO: Processing buffer {"connection_id":105635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:09] local.INFO: IMEI packet received {"connection_id":105635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 10:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":105635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:04:18] local.INFO: TCP Data received {"connection_id":105635,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:18] local.INFO: Processing buffer {"connection_id":105635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:18] local.INFO: IMEI packet received {"connection_id":105635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":105635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:04:19] local.INFO: TCP Data received {"connection_id":105635,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105635,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:19] local.INFO: Processing buffer {"connection_id":105635,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:04:19] local.INFO: IMEI packet received {"connection_id":105635,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":105635,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:04:20] local.INFO: TCP Data received {"connection_id":105635,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed901b7c8012d0b6d800703eca00015006325..."} 
[2026-06-18 10:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed901b7c8012d0b6d800703eca00015006325..."} 
[2026-06-18 10:04:20] local.INFO: Processing buffer {"connection_id":105635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed901b7c8012d0b6d800703eca00015006325..."} 
[2026-06-18 10:04:20] local.INFO: Packet analysis {"connection_id":105635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed901"} 
[2026-06-18 10:04:20] local.INFO: Extracted packet for processing {"connection_id":105635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed901"} 
[2026-06-18 10:04:20] local.INFO: GPS Element Parsed {"raw_longitude":755723648,"raw_latitude":117697696,"longitude_deg":75.5723648,"latitude_deg":11.7697696,"altitude":21,"angle":99,"satellites":37,"speed":7,"hex_longitude":"2d0b6d80","hex_latitude":"0703eca0","is_valid_coordinates":true} 
[2026-06-18 10:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129850368001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21147186309890048,"note":"Value kept but may cause issues"} 
[2026-06-18 10:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823173599520950272,"note":"Value kept but may cause issues"} 
[2026-06-18 10:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781757229000,"timestamp_ms":1781757229000,"timestamp_seconds":1781757229,"priority":1,"record_length":96,"hex_timestamp":"0000019ed901b7c8"} 
[2026-06-18 10:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:04:20] 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-06-18 10:04:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 10:04:20] 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-06-18 10:04:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":105635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":105635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":105635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129850368001,"66":14102,"96":206,"94":10240,"24":7,"16":21147186309890048,"45":823173599520950272},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129850368001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:04:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:04:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21147186309890048,"km_value":21147186309890.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":823173599520950272,"description":"Unknown IO ID 45"} 
[2026-06-18 10:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129850368001,"power":14102,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":823173599520950272}} 
[2026-06-18 10:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":105635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343663,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:04:20] local.INFO: GPS data processed {"connection_id":105635,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:04:20] local.INFO: Acknowledgment sent {"connection_id":105635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:04:21] local.INFO: TCP Data received {"connection_id":105635,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed901bbb0012d0b6e800703ec880015005725..."} 
[2026-06-18 10:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed901bbb0012d0b6e800703ec880015005725..."} 
[2026-06-18 10:04:21] local.INFO: Processing buffer {"connection_id":105635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed901bbb0012d0b6e800703ec880015005725..."} 
[2026-06-18 10:04:21] local.INFO: Packet analysis {"connection_id":105635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed901"} 
[2026-06-18 10:04:21] local.INFO: Extracted packet for processing {"connection_id":105635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed901"} 
[2026-06-18 10:04:21] local.INFO: GPS Element Parsed {"raw_longitude":755723904,"raw_latitude":117697672,"longitude_deg":75.5723904,"latitude_deg":11.7697672,"altitude":21,"angle":87,"satellites":37,"speed":8,"hex_longitude":"2d0b6e80","hex_latitude":"0703ec88","is_valid_coordinates":true} 
[2026-06-18 10:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129850624001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21147199194791936,"note":"Value kept but may cause issues"} 
[2026-06-18 10:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823455074497634304,"note":"Value kept but may cause issues"} 
[2026-06-18 10:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781757230000,"timestamp_ms":1781757230000,"timestamp_seconds":1781757230,"priority":1,"record_length":96,"hex_timestamp":"0000019ed901bbb0"} 
[2026-06-18 10:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:04:21] 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-06-18 10:04:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 10:04:21] 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-06-18 10:04:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":105635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":105635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":105635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129850624001,"66":14102,"96":206,"94":10240,"24":8,"16":21147199194791936,"45":823455074497634304},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129850624001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:04:21] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:04:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21147199194791936,"km_value":21147199194791.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":823455074497634304,"description":"Unknown IO ID 45"} 
[2026-06-18 10:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129850624001,"power":14102,"unknown_96":206,"unknown_94":10240,"ignition":8,"odometer":null,"unknown_45":823455074497634304}} 
[2026-06-18 10:04:21] local.INFO: DEBUG: GPS processor result {"connection_id":105635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343664,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:04:21] local.INFO: GPS data processed {"connection_id":105635,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:04:21] local.INFO: Acknowledgment sent {"connection_id":105635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:05:07] local.INFO: TCP Data received {"connection_id":105635,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90286d0012d0b92400703bd180023009424..."} 
[2026-06-18 10:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90286d0012d0b92400703bd180023009424..."} 
[2026-06-18 10:05:07] local.INFO: Processing buffer {"connection_id":105635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90286d0012d0b92400703bd180023009424..."} 
[2026-06-18 10:05:07] local.INFO: Packet analysis {"connection_id":105635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed902"} 
[2026-06-18 10:05:07] local.INFO: Extracted packet for processing {"connection_id":105635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed902"} 
[2026-06-18 10:05:07] local.INFO: GPS Element Parsed {"raw_longitude":755733056,"raw_latitude":117685528,"longitude_deg":75.5733056,"latitude_deg":11.7685528,"altitude":35,"angle":148,"satellites":36,"speed":13,"hex_longitude":"2d0b9240","hex_latitude":"0703bd18","is_valid_coordinates":true} 
[2026-06-18 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129863936001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21148161267466240,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833517804911980544,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781757282000,"timestamp_ms":1781757282000,"timestamp_seconds":1781757282,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90286d0"} 
[2026-06-18 10:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:05:07] 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-06-18 10:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 10:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105635,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129863936001,"66":14407,"96":206,"94":10240,"24":13,"16":21148161267466240,"45":833517804911980544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129863936001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:05:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:05:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21148161267466240,"km_value":21148161267466.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":833517804911980544,"description":"Unknown IO ID 45"} 
[2026-06-18 10:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129863936001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":833517804911980544}} 
[2026-06-18 10:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":105635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343665,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:05:07] local.INFO: GPS data processed {"connection_id":105635,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:05:07] local.INFO: Acknowledgment sent {"connection_id":105635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:05:17] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:05:17] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:05:17] local.INFO: IMEI packet received {"connection_id":106408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 10:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":106408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:05:17] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:05:17] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:05:17] local.INFO: IMEI packet received {"connection_id":106408,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":106408,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:05:19] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9028ab8012d0b92c00703bbf0002300a824..."} 
[2026-06-18 10:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9028ab8012d0b92c00703bbf0002300a824..."} 
[2026-06-18 10:05:19] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9028ab8012d0b92c00703bbf0002300a824..."} 
[2026-06-18 10:05:19] local.INFO: Packet analysis {"connection_id":106408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed902"} 
[2026-06-18 10:05:19] local.INFO: Extracted packet for processing {"connection_id":106408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed902"} 
[2026-06-18 10:05:19] local.INFO: GPS Element Parsed {"raw_longitude":755733184,"raw_latitude":117685232,"longitude_deg":75.5733184,"latitude_deg":11.7685232,"altitude":35,"angle":168,"satellites":36,"speed":13,"hex_longitude":"2d0b92c0","hex_latitude":"0703bbf0","is_valid_coordinates":true} 
[2026-06-18 10:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129864192001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21148178447335424,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833799279888635904,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781757283000,"timestamp_ms":1781757283000,"timestamp_seconds":1781757283,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9028ab8"} 
[2026-06-18 10:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:05:19] 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-06-18 10:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 10:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":106408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":106408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":106408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129864192001,"66":14407,"96":206,"94":10240,"24":13,"16":21148178447335424,"45":833799279888635904},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129864192001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:05:19] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:05:19] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21148178447335424,"km_value":21148178447335.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":833799279888635904,"description":"Unknown IO ID 45"} 
[2026-06-18 10:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129864192001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":13,"odometer":null,"unknown_45":833799279888635904}} 
[2026-06-18 10:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":106408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343666,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:05:19] local.INFO: GPS data processed {"connection_id":106408,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:05:19] local.INFO: Acknowledgment sent {"connection_id":106408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:05:20] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9028ea0012d0b92c00703ba70002300b424..."} 
[2026-06-18 10:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9028ea0012d0b92c00703ba70002300b424..."} 
[2026-06-18 10:05:20] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9028ea0012d0b92c00703ba70002300b424..."} 
[2026-06-18 10:05:20] local.INFO: Packet analysis {"connection_id":106408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed902"} 
[2026-06-18 10:05:20] local.INFO: Extracted packet for processing {"connection_id":106408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed902"} 
[2026-06-18 10:05:20] local.INFO: GPS Element Parsed {"raw_longitude":755733184,"raw_latitude":117684848,"longitude_deg":75.5733184,"latitude_deg":11.7684848,"altitude":35,"angle":180,"satellites":36,"speed":15,"hex_longitude":"2d0b92c0","hex_latitude":"0703ba70","is_valid_coordinates":true} 
[2026-06-18 10:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129864448001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21148195627204608,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":833940017376915456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781757284000,"timestamp_ms":1781757284000,"timestamp_seconds":1781757284,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9028ea0"} 
[2026-06-18 10:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:05:20] 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-06-18 10:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 10:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":106408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":106408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":106408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129864448001,"66":14407,"96":206,"94":10240,"24":15,"16":21148195627204608,"45":833940017376915456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129864448001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:05:20] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:05:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21148195627204608,"km_value":21148195627204.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":833940017376915456,"description":"Unknown IO ID 45"} 
[2026-06-18 10:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129864448001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":15,"odometer":null,"unknown_45":833940017376915456}} 
[2026-06-18 10:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":106408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343667,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:05:20] local.INFO: GPS data processed {"connection_id":106408,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:05:20] local.INFO: Acknowledgment sent {"connection_id":106408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:05:51] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9037518012d0b57800703ab40001e00fb24..."} 
[2026-06-18 10:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9037518012d0b57800703ab40001e00fb24..."} 
[2026-06-18 10:05:51] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9037518012d0b57800703ab40001e00fb24..."} 
[2026-06-18 10:05:51] local.INFO: Packet analysis {"connection_id":106408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed903"} 
[2026-06-18 10:05:51] local.INFO: Extracted packet for processing {"connection_id":106408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed903"} 
[2026-06-18 10:05:51] local.INFO: GPS Element Parsed {"raw_longitude":755718016,"raw_latitude":117680960,"longitude_deg":75.5718016,"latitude_deg":11.768096,"altitude":30,"angle":251,"satellites":36,"speed":15,"hex_longitude":"2d0b5780","hex_latitude":"0703ab40","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129879296001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149342383472640,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818107049935951872,"note":"Value kept but may cause issues"} 
[2026-06-18 10:05:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781757343000,"timestamp_ms":1781757343000,"timestamp_seconds":1781757343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9037518"} 
[2026-06-18 10:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 10:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106408,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129879296001,"66":14515,"16":21149342383472640,"94":11008,"24":15,"45":818107049935951872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 10:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129879296001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149342383472640,"km_value":21149342383472.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:05:51] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 10:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":818107049935951872,"description":"Unknown IO ID 45"} 
[2026-06-18 10:05:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129879296001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":818107049935951872}} 
[2026-06-18 10:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":106408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:05:51] local.INFO: GPS data processed {"connection_id":106408,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:05:51] local.INFO: Acknowledgment sent {"connection_id":106408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:06:10] local.INFO: TCP Data received {"connection_id":107381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:10] local.INFO: Processing buffer {"connection_id":107381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:10] local.INFO: IMEI packet received {"connection_id":107381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 10:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":107381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:06:10] local.INFO: TCP Data received {"connection_id":107381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:10] local.INFO: Processing buffer {"connection_id":107381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:10] local.INFO: IMEI packet received {"connection_id":107381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":107381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:06:13] local.INFO: TCP Data received {"connection_id":107381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:13] local.INFO: Processing buffer {"connection_id":107381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:13] local.INFO: IMEI packet received {"connection_id":107381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":107381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:06:14] local.INFO: TCP Data received {"connection_id":107381,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107381,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:14] local.INFO: Processing buffer {"connection_id":107381,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:06:14] local.INFO: IMEI packet received {"connection_id":107381,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":107381,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:06:16] local.INFO: TCP Data received {"connection_id":107381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9037900012d0b56000703ab38001e011323..."} 
[2026-06-18 10:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9037900012d0b56000703ab38001e011323..."} 
[2026-06-18 10:06:16] local.INFO: Processing buffer {"connection_id":107381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9037900012d0b56000703ab38001e011323..."} 
[2026-06-18 10:06:16] local.INFO: Packet analysis {"connection_id":107381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed903"} 
[2026-06-18 10:06:16] local.INFO: Extracted packet for processing {"connection_id":107381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed903"} 
[2026-06-18 10:06:16] local.INFO: GPS Element Parsed {"raw_longitude":755717632,"raw_latitude":117680952,"longitude_deg":75.5717632,"latitude_deg":11.7680952,"altitude":30,"angle":275,"satellites":35,"speed":15,"hex_longitude":"2d0b5600","hex_latitude":"0703ab38","is_valid_coordinates":true} 
[2026-06-18 10:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129879808001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149359563341824,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817262625005715456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781757344000,"timestamp_ms":1781757344000,"timestamp_seconds":1781757344,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9037900"} 
[2026-06-18 10:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:06:16] 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-06-18 10:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 10:06:16] 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-06-18 10:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129879808001,"66":14515,"16":21149359563341824,"94":11008,"24":15,"45":817262625005715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 10:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129879808001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149359563341824,"km_value":21149359563341.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:06:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 10:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":817262625005715456,"description":"Unknown IO ID 45"} 
[2026-06-18 10:06:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129879808001,"power":14515,"odometer":null,"unknown_94":11008,"ignition":15,"unknown_45":817262625005715456}} 
[2026-06-18 10:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":107381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343669,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:06:16] local.INFO: GPS data processed {"connection_id":107381,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:06:16] local.INFO: Acknowledgment sent {"connection_id":107381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:06:17] local.INFO: TCP Data received {"connection_id":107381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90380d0012d0b52c00703ac18001d012023..."} 
[2026-06-18 10:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90380d0012d0b52c00703ac18001d012023..."} 
[2026-06-18 10:06:17] local.INFO: Processing buffer {"connection_id":107381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90380d0012d0b52c00703ac18001d012023..."} 
[2026-06-18 10:06:17] local.INFO: Packet analysis {"connection_id":107381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed903"} 
[2026-06-18 10:06:17] local.INFO: Extracted packet for processing {"connection_id":107381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed903"} 
[2026-06-18 10:06:17] local.INFO: GPS Element Parsed {"raw_longitude":755716800,"raw_latitude":117681176,"longitude_deg":75.57168,"latitude_deg":11.7681176,"altitude":29,"angle":288,"satellites":35,"speed":18,"hex_longitude":"2d0b52c0","hex_latitude":"0703ac18","is_valid_coordinates":true} 
[2026-06-18 10:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129880064001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21149402513014784,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816840412540647424,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781757346000,"timestamp_ms":1781757346000,"timestamp_seconds":1781757346,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90380d0"} 
[2026-06-18 10:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 10:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129880064001,"66":14439,"16":21149402513014784,"94":11008,"24":18,"45":816840412540647424},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 10:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129880064001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21149402513014784,"km_value":21149402513014.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:06:17] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 10:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":816840412540647424,"description":"Unknown IO ID 45"} 
[2026-06-18 10:06:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129880064001,"power":14439,"odometer":null,"unknown_94":11008,"ignition":18,"unknown_45":816840412540647424}} 
[2026-06-18 10:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":107381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:06:17] local.INFO: GPS data processed {"connection_id":107381,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:06:17] local.INFO: Acknowledgment sent {"connection_id":107381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:06:36] local.INFO: TCP Data received {"connection_id":105832,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:06:36] local.INFO: Processing buffer {"connection_id":105832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:06:36] local.INFO: IMEI packet received {"connection_id":105832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":105832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:06:41] local.INFO: TCP Data received {"connection_id":105832,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed902ec60012d4ded80068844f00051000c2c..."} 
[2026-06-18 10:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed902ec60012d4ded80068844f00051000c2c..."} 
[2026-06-18 10:06:41] local.INFO: Processing buffer {"connection_id":105832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed902ec60012d4ded80068844f00051000c2c..."} 
[2026-06-18 10:06:41] local.INFO: Packet analysis {"connection_id":105832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed902"} 
[2026-06-18 10:06:41] local.INFO: Extracted packet for processing {"connection_id":105832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed902"} 
[2026-06-18 10:06:41] local.INFO: GPS Element Parsed {"raw_longitude":760081792,"raw_latitude":109593840,"longitude_deg":76.0081792,"latitude_deg":10.959384,"altitude":81,"angle":12,"satellites":44,"speed":76,"hex_longitude":"2d4ded80","hex_latitude":"068844f0","is_valid_coordinates":true} 
[2026-06-18 10:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129869568001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317887799640457216,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5612681432408315904,"note":"Value kept but may cause issues"} 
[2026-06-18 10:06:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781757308000,"timestamp_ms":1781757308000,"timestamp_seconds":1781757308,"priority":1,"record_length":96,"hex_timestamp":"0000019ed902ec60"} 
[2026-06-18 10:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:06:41] 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-06-18 10:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 10:06:41] 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-06-18 10:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129869568001,"66":206,"19":48128,"24":76,"16":317887799640457216,"45":5612681432408315904},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129869568001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:06:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317887799640457216,"km_value":317887799640457.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":5612681432408315904,"description":"Unknown IO ID 45"} 
[2026-06-18 10:06:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456129869568001,"power":206,"unknown_19":48128,"ignition":76,"odometer":null,"unknown_45":5612681432408315904}} 
[2026-06-18 10:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":105832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:06:41] local.INFO: GPS data processed {"connection_id":105832,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:06:41] local.INFO: Acknowledgment sent {"connection_id":105832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:07:00] local.INFO: TCP Data received {"connection_id":107381,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90420f8012d0b38c007037cc0001800de22..."} 
[2026-06-18 10:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90420f8012d0b38c007037cc0001800de22..."} 
[2026-06-18 10:07:00] local.INFO: Processing buffer {"connection_id":107381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90420f8012d0b38c007037cc0001800de22..."} 
[2026-06-18 10:07:00] local.INFO: Packet analysis {"connection_id":107381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:00] local.INFO: Extracted packet for processing {"connection_id":107381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:00] local.INFO: GPS Element Parsed {"raw_longitude":755710144,"raw_latitude":117669056,"longitude_deg":75.5710144,"latitude_deg":11.7669056,"altitude":24,"angle":222,"satellites":34,"speed":18,"hex_longitude":"2d0b38c0","hex_latitude":"07037cc0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 10:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129890816001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21150231441702912,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808959113189789696,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781757387000,"timestamp_ms":1781757387000,"timestamp_seconds":1781757387,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90420f8"} 
[2026-06-18 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-06-18 10:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 10:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 10:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107381,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129890816001,"66":14407,"96":206,"94":10240,"24":18,"16":21150231441702912,"45":808959113189789696},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129890816001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:07:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:07:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21150231441702912,"km_value":21150231441702.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":808959113189789696,"description":"Unknown IO ID 45"} 
[2026-06-18 10:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129890816001,"power":14407,"unknown_96":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":808959113189789696}} 
[2026-06-18 10:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":107381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343672,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:07:00] local.INFO: GPS data processed {"connection_id":107381,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:07:00] local.INFO: Acknowledgment sent {"connection_id":107381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:07:09] local.INFO: TCP Data received {"connection_id":105636,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:07:09] local.INFO: Processing buffer {"connection_id":105636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:07:09] local.INFO: IMEI packet received {"connection_id":105636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 10:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":105636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:07:14] local.INFO: TCP Data received {"connection_id":105636,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:07:14] local.INFO: Processing buffer {"connection_id":105636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:07:14] local.INFO: IMEI packet received {"connection_id":105636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":105636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:07:15] local.INFO: TCP Data received {"connection_id":105636,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90428c8012d0b360007037898001800cf23..."} 
[2026-06-18 10:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90428c8012d0b360007037898001800cf23..."} 
[2026-06-18 10:07:15] local.INFO: Processing buffer {"connection_id":105636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90428c8012d0b360007037898001800cf23..."} 
[2026-06-18 10:07:15] local.INFO: Packet analysis {"connection_id":105636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:15] local.INFO: Extracted packet for processing {"connection_id":105636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:15] local.INFO: GPS Element Parsed {"raw_longitude":755709440,"raw_latitude":117667992,"longitude_deg":75.570944,"latitude_deg":11.7667992,"altitude":24,"angle":207,"satellites":35,"speed":26,"hex_longitude":"2d0b3600","hex_latitude":"07037898","is_valid_coordinates":true} 
[2026-06-18 10:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129891072001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21150291571245056,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808607269468815360,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781757389000,"timestamp_ms":1781757389000,"timestamp_seconds":1781757389,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90428c8"} 
[2026-06-18 10:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:07:15] 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-06-18 10:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 10:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129891072001,"66":14450,"96":206,"94":10240,"24":26,"16":21150291571245056,"45":808607269468815360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 10:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129891072001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:07:15] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 10:07:15] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 10:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21150291571245056,"km_value":21150291571245.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":808607269468815360,"description":"Unknown IO ID 45"} 
[2026-06-18 10:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129891072001,"power":14450,"unknown_96":206,"unknown_94":10240,"ignition":26,"odometer":null,"unknown_45":808607269468815360}} 
[2026-06-18 10:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":105636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:07:15] local.INFO: GPS data processed {"connection_id":105636,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:07:15] local.INFO: Acknowledgment sent {"connection_id":105636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:07:24] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:24] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:24] local.INFO: IMEI packet received {"connection_id":106410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":106410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:07:26] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:26] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:26] local.INFO: IMEI packet received {"connection_id":106410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":106410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:07:29] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:29] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:07:29] local.INFO: IMEI packet received {"connection_id":106410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":106410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:07:30] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9041540012d4e09400689d3d8006900042c..."} 
[2026-06-18 10:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9041540012d4e09400689d3d8006900042c..."} 
[2026-06-18 10:07:30] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9041540012d4e09400689d3d8006900042c..."} 
[2026-06-18 10:07:30] local.INFO: Packet analysis {"connection_id":106410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:30] local.INFO: Extracted packet for processing {"connection_id":106410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:30] local.INFO: GPS Element Parsed {"raw_longitude":760088896,"raw_latitude":109695960,"longitude_deg":76.0088896,"latitude_deg":10.969596,"altitude":105,"angle":4,"satellites":44,"speed":47,"hex_longitude":"2d4e0940","hex_latitude":"0689d3d8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129888256001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317892829047160832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5621477525456640000,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781757384000,"timestamp_ms":1781757384000,"timestamp_seconds":1781757384,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9041540"} 
[2026-06-18 10:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:07: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-06-18 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 10:07: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-06-18 10: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-06-18 10:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129888256001,"66":27995,"68":206,"19":48128,"24":47,"16":317892829047160832,"45":5621477525456640000},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-06-18 10:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129888256001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:07:30] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-06-18 10:07:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317892829047160832,"km_value":317892829047160.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5621477525456640000,"description":"Unknown IO ID 45"} 
[2026-06-18 10:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129888256001,"power":27995,"unknown_68":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":5621477525456640000}} 
[2026-06-18 10:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":106410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:07:30] local.INFO: GPS data processed {"connection_id":106410,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:07:30] local.INFO: Acknowledgment sent {"connection_id":106410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:07:33] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9043480012d4e0ac00689f9d0006b00032c..."} 
[2026-06-18 10:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9043480012d4e0ac00689f9d0006b00032c..."} 
[2026-06-18 10:07:33] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9043480012d4e0ac00689f9d0006b00032c..."} 
[2026-06-18 10:07:33] local.INFO: Packet analysis {"connection_id":106410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:33] local.INFO: Extracted packet for processing {"connection_id":106410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:33] local.INFO: GPS Element Parsed {"raw_longitude":760089280,"raw_latitude":109705680,"longitude_deg":76.008928,"latitude_deg":10.970568,"altitude":107,"angle":3,"satellites":44,"speed":50,"hex_longitude":"2d4e0ac0","hex_latitude":"0689f9d0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:07:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129890304001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317893301493563392,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623096006575118336,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:07:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781757392000,"timestamp_ms":1781757392000,"timestamp_seconds":1781757392,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9043480"} 
[2026-06-18 10:07:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:07: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-06-18 10: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":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:07: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-06-18 10: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-06-18 10:07:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:07:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:07:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:07:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:07:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:07:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:07:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:07:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:07:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129890304001,"66":27919,"68":206,"19":48128,"24":50,"16":317893301493563392,"45":5623096006575118336},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-06-18 10:07:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:07:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:07:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129890304001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:07:33] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-06-18 10:07:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:07:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317893301493563392,"km_value":317893301493563.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:07:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623096006575118336,"description":"Unknown IO ID 45"} 
[2026-06-18 10:07:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129890304001,"power":27919,"unknown_68":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":5623096006575118336}} 
[2026-06-18 10:07:33] local.INFO: DEBUG: GPS processor result {"connection_id":106410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:07:33] local.INFO: GPS data processed {"connection_id":106410,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:07:33] local.INFO: Acknowledgment sent {"connection_id":106410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:07:34] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9044fd8012d4e0c40068a1ce8006d00012b..."} 
[2026-06-18 10:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9044fd8012d4e0c40068a1ce8006d00012b..."} 
[2026-06-18 10:07:34] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9044fd8012d4e0c40068a1ce8006d00012b..."} 
[2026-06-18 10:07:34] local.INFO: Packet analysis {"connection_id":106410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:34] local.INFO: Extracted packet for processing {"connection_id":106410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:34] local.INFO: GPS Element Parsed {"raw_longitude":760089664,"raw_latitude":109714664,"longitude_deg":76.0089664,"latitude_deg":10.9714664,"altitude":109,"angle":1,"satellites":43,"speed":53,"hex_longitude":"2d4e0c40","hex_latitude":"068a1ce8","is_valid_coordinates":true} 
[2026-06-18 10:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129892352001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317893735285260288,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623518219042672640,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781757399000,"timestamp_ms":1781757399000,"timestamp_seconds":1781757399,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9044fd8"} 
[2026-06-18 10:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129892352001,"66":27995,"68":206,"19":48128,"24":53,"16":317893735285260288,"45":5623518219042672640},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-06-18 10:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129892352001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:07:34] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-06-18 10:07:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317893735285260288,"km_value":317893735285260.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623518219042672640,"description":"Unknown IO ID 45"} 
[2026-06-18 10:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129892352001,"power":27995,"unknown_68":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":5623518219042672640}} 
[2026-06-18 10:07:34] local.INFO: DEBUG: GPS processor result {"connection_id":106410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:07:34] local.INFO: GPS data processed {"connection_id":106410,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:07:34] local.INFO: Acknowledgment sent {"connection_id":106410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:07:46] local.INFO: TCP Data received {"connection_id":105636,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9043c50012d0b2f4007036db8001800dc23..."} 
[2026-06-18 10:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9043c50012d0b2f4007036db8001800dc23..."} 
[2026-06-18 10:07:46] local.INFO: Processing buffer {"connection_id":105636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9043c50012d0b2f4007036db8001800dc23..."} 
[2026-06-18 10:07:46] local.INFO: Packet analysis {"connection_id":105636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:46] local.INFO: Extracted packet for processing {"connection_id":105636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:07:46] local.INFO: GPS Element Parsed {"raw_longitude":755707712,"raw_latitude":117665208,"longitude_deg":75.5707712,"latitude_deg":11.7665208,"altitude":24,"angle":220,"satellites":35,"speed":18,"hex_longitude":"2d0b2f40","hex_latitude":"07036db8","is_valid_coordinates":true} 
[2026-06-18 10:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129891584001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21150450485035008,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":807833213282588672,"note":"Value kept but may cause issues"} 
[2026-06-18 10:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781757394000,"timestamp_ms":1781757394000,"timestamp_seconds":1781757394,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9043c50"} 
[2026-06-18 10:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:07:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 10:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129891584001,"66":14537,"17":206,"94":11008,"24":18,"16":21150450485035008,"45":807833213282588672},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 10:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129891584001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:07:46] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 10:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21150450485035008,"km_value":21150450485035.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":807833213282588672,"description":"Unknown IO ID 45"} 
[2026-06-18 10:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129891584001,"power":14537,"axis_x":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":807833213282588672}} 
[2026-06-18 10:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":105636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:07:46] local.INFO: GPS data processed {"connection_id":105636,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:07:46] local.INFO: Acknowledgment sent {"connection_id":105636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:08:07] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9046748012d4e0ac0068a3d08006e015e2b..."} 
[2026-06-18 10:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9046748012d4e0ac0068a3d08006e015e2b..."} 
[2026-06-18 10:08:07] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9046748012d4e0ac0068a3d08006e015e2b..."} 
[2026-06-18 10:08:07] local.INFO: Packet analysis {"connection_id":106410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:08:07] local.INFO: Extracted packet for processing {"connection_id":106410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:08:07] local.INFO: GPS Element Parsed {"raw_longitude":760089280,"raw_latitude":109722888,"longitude_deg":76.008928,"latitude_deg":10.9722888,"altitude":110,"angle":350,"satellites":43,"speed":56,"hex_longitude":"2d4e0ac0","hex_latitude":"068a3d08","is_valid_coordinates":true} 
[2026-06-18 10:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129894144001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317894139012186112,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623940431510038528,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781757405000,"timestamp_ms":1781757405000,"timestamp_seconds":1781757405,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9046748"} 
[2026-06-18 10:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:08:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:08:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:08:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129894144001,"66":28006,"68":206,"19":48128,"24":56,"16":317894139012186112,"45":5623940431510038528},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-06-18 10:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129894144001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:08:07] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-06-18 10:08:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317894139012186112,"km_value":317894139012186.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623940431510038528,"description":"Unknown IO ID 45"} 
[2026-06-18 10:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129894144001,"power":28006,"unknown_68":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":5623940431510038528}} 
[2026-06-18 10:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":106410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:08:07] local.INFO: GPS data processed {"connection_id":106410,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:08:07] local.INFO: Acknowledgment sent {"connection_id":106410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:08:14] local.INFO: TCP Data received {"connection_id":107382,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:14] local.INFO: Processing buffer {"connection_id":107382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:14] local.INFO: IMEI packet received {"connection_id":107382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 10:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":107382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:08:16] local.INFO: TCP Data received {"connection_id":107382,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:16] local.INFO: Processing buffer {"connection_id":107382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:16] local.INFO: IMEI packet received {"connection_id":107382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":107382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:08:19] local.INFO: TCP Data received {"connection_id":107382,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107382,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:19] local.INFO: Processing buffer {"connection_id":107382,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:08:19] local.INFO: IMEI packet received {"connection_id":107382,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:08:19] local.INFO: IMEI acknowledgment sent {"connection_id":107382,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:08:20] local.INFO: TCP Data received {"connection_id":107382,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9048a70012d0b2c8007036928001700d225..."} 
[2026-06-18 10:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9048a70012d0b2c8007036928001700d225..."} 
[2026-06-18 10:08:20] local.INFO: Processing buffer {"connection_id":107382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9048a70012d0b2c8007036928001700d225..."} 
[2026-06-18 10:08:20] local.INFO: Packet analysis {"connection_id":107382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:08:20] local.INFO: Extracted packet for processing {"connection_id":107382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":755707008,"raw_latitude":117664040,"longitude_deg":75.5707008,"latitude_deg":11.766404,"altitude":23,"angle":210,"satellites":37,"speed":0,"hex_longitude":"2d0b2c80","hex_latitude":"07036928","is_valid_coordinates":true} 
[2026-06-18 10:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129892864001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21150519204511744,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805933257189079040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781757414000,"timestamp_ms":1781757414000,"timestamp_seconds":1781757414,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9048a70"} 
[2026-06-18 10:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:08:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 10:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:08:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":107382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":107382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":107382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129892864001,"66":14407,"17":206,"94":11008,"24":0,"16":21150519204511744,"45":805933257189079040},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 10:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129892864001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:08:20] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 10:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21150519204511744,"km_value":21150519204511.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":805933257189079040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129892864001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":805933257189079040}} 
[2026-06-18 10:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":107382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:08:20] local.INFO: GPS data processed {"connection_id":107382,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:08:20] local.INFO: Acknowledgment sent {"connection_id":107382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:08:23] local.INFO: TCP Data received {"connection_id":107382,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed904dc78012d0b1e80070351d0001800ce23..."} 
[2026-06-18 10:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed904dc78012d0b1e80070351d0001800ce23..."} 
[2026-06-18 10:08:23] local.INFO: Processing buffer {"connection_id":107382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed904dc78012d0b1e80070351d0001800ce23..."} 
[2026-06-18 10:08:23] local.INFO: Packet analysis {"connection_id":107382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:08:23] local.INFO: Extracted packet for processing {"connection_id":107382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed904"} 
[2026-06-18 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":755703424,"raw_latitude":117658064,"longitude_deg":75.5703424,"latitude_deg":11.7658064,"altitude":24,"angle":206,"satellites":35,"speed":24,"hex_longitude":"2d0b1e80","hex_latitude":"070351d0","is_valid_coordinates":true} 
[2026-06-18 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129897984001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21150854211960832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":805159201002825728,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781757435000,"timestamp_ms":1781757435000,"timestamp_seconds":1781757435,"priority":1,"record_length":96,"hex_timestamp":"0000019ed904dc78"} 
[2026-06-18 10:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 10:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107382,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129897984001,"66":14450,"17":206,"94":11008,"24":24,"16":21150854211960832,"45":805159201002825728},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 10:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129897984001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:08:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 10:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21150854211960832,"km_value":21150854211960.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":805159201002825728,"description":"Unknown IO ID 45"} 
[2026-06-18 10:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129897984001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":24,"odometer":null,"unknown_45":805159201002825728}} 
[2026-06-18 10:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":107382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343680,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:08:24] local.INFO: GPS data processed {"connection_id":107382,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:08:24] local.INFO: Acknowledgment sent {"connection_id":107382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:08:31] local.INFO: TCP Data received {"connection_id":106411,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:31] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:31] local.INFO: IMEI packet received {"connection_id":106411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":106411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:08:32] local.INFO: TCP Data received {"connection_id":106411,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:32] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:32] local.INFO: IMEI packet received {"connection_id":106411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":106411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:08:41] local.INFO: TCP Data received {"connection_id":106411,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:41] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:08:41] local.INFO: IMEI packet received {"connection_id":106411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":106411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:08:57] local.INFO: TCP Data received {"connection_id":106411,"ip":"117.224.95.96","data_length":1360,"data_hex":"000000000000030f8e0a0000019ed9053a38012d4d0200068adc900052011627..."} 
[2026-06-18 10:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ed9053a38012d4d0200068adc900052011627..."} 
[2026-06-18 10:08:57] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ed9053a38012d4d0200068adc900052011627..."} 
[2026-06-18 10:08:57] local.INFO: Packet analysis {"connection_id":106411,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ed905"} 
[2026-06-18 10:08:57] local.INFO: Extracted packet for processing {"connection_id":106411,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed905"} 
[2026-06-18 10:08:58] local.INFO: GPS Element Parsed {"raw_longitude":760021504,"raw_latitude":109763728,"longitude_deg":76.0021504,"latitude_deg":10.9763728,"altitude":82,"angle":278,"satellites":39,"speed":75,"hex_longitude":"2d4d0200","hex_latitude":"068adc90","is_valid_coordinates":true} 
[2026-06-18 10:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129908224001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317898176281444352,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5559271555622952960,"note":"Value kept but may cause issues"} 
[2026-06-18 10:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781757459000,"timestamp_ms":1781757459000,"timestamp_seconds":1781757459,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9053a38"} 
[2026-06-18 10:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:08: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-06-18 10:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:08: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-06-18 10: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-06-18 10:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129908224001,"66":27974,"68":206,"19":48128,"24":75,"16":317898176281444352,"45":5559271555622952960},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-06-18 10:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129908224001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:08:58] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-06-18 10:08:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317898176281444352,"km_value":317898176281444.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5559271555622952960,"description":"Unknown IO ID 45"} 
[2026-06-18 10:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129908224001,"power":27974,"unknown_68":206,"unknown_19":48128,"ignition":75,"odometer":null,"unknown_45":5559271555622952960}} 
[2026-06-18 10:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":106411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:08:58] local.INFO: GPS data processed {"connection_id":106411,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:08:58] local.INFO: Acknowledgment sent {"connection_id":106411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:08:58] local.INFO: Packet analysis {"connection_id":106411,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed905"} 
[2026-06-18 10:08:58] local.INFO: Incomplete packet, waiting for more data {"connection_id":106411,"needed":795,"available":565} 
[2026-06-18 10:09:04] local.INFO: TCP Data received {"connection_id":106412,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:09:04] local.INFO: Processing buffer {"connection_id":106412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:09:04] local.INFO: IMEI packet received {"connection_id":106412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":106412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:09:13] local.INFO: TCP Data received {"connection_id":106411,"ip":"117.224.95.96","data_length":1025,"data_hex":"2d4dac80068aae100069013429003a0000000a000400ef0100715500f0010045..."} 
[2026-06-18 10:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":1025,"packet_hex":"2d4dac80068aae100069013429003a0000000a000400ef0100715500f0010045..."} 
[2026-06-18 10:09:13] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed9054dc0012d4cdc80068ae270004c011722..."} 
[2026-06-18 10:09:13] local.INFO: Packet analysis {"connection_id":106411,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed905"} 
[2026-06-18 10:09:13] local.INFO: Extracted packet for processing {"connection_id":106411,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed905"} 
[2026-06-18 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":760011904,"raw_latitude":109765232,"longitude_deg":76.0011904,"latitude_deg":10.9765232,"altitude":76,"angle":279,"satellites":34,"speed":77,"hex_longitude":"2d4cdc80","hex_latitude":"068ae270","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129909504001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317898640137912320,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5548997718973386752,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781757464000,"timestamp_ms":1781757464000,"timestamp_seconds":1781757464,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9054dc0"} 
[2026-06-18 10:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:09:13] 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-06-18 10: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 10:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129909504001,"66":27995,"68":206,"19":48128,"24":77,"16":317898640137912320,"45":5548997718973386752},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-06-18 10:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129909504001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:09:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-06-18 10:09:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317898640137912320,"km_value":317898640137912.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5548997718973386752,"description":"Unknown IO ID 45"} 
[2026-06-18 10:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129909504001,"power":27995,"unknown_68":206,"unknown_19":48128,"ignition":77,"odometer":null,"unknown_45":5548997718973386752}} 
[2026-06-18 10:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":106411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:09:13] local.INFO: GPS data processed {"connection_id":106411,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:09:13] local.INFO: Acknowledgment sent {"connection_id":106411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:09:13] local.INFO: Packet analysis {"connection_id":106411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed905"} 
[2026-06-18 10:09:13] local.INFO: Extracted packet for processing {"connection_id":106411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed905"} 
[2026-06-18 10:09:13] local.INFO: GPS Element Parsed {"raw_longitude":760001920,"raw_latitude":109766864,"longitude_deg":76.000192,"latitude_deg":10.9766864,"altitude":72,"angle":279,"satellites":36,"speed":80,"hex_longitude":"2d4cb580","hex_latitude":"068ae8d0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129910784001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317899121174249472,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5538442407347122176,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781757469000,"timestamp_ms":1781757469000,"timestamp_seconds":1781757469,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9056148"} 
[2026-06-18 10:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:09:13] 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-06-18 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129910784001,"66":28050,"68":206,"19":48128,"24":80,"16":317899121174249472,"45":5538442407347122176},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-06-18 10:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129910784001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:09:13] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-06-18 10:09:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317899121174249472,"km_value":317899121174249.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5538442407347122176,"description":"Unknown IO ID 45"} 
[2026-06-18 10:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129910784001,"power":28050,"unknown_68":206,"unknown_19":48128,"ignition":80,"odometer":null,"unknown_45":5538442407347122176}} 
[2026-06-18 10:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":106411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:09:13] local.INFO: GPS data processed {"connection_id":106411,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:09:13] local.INFO: Acknowledgment sent {"connection_id":106411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:09:16] local.INFO: TCP Data received {"connection_id":107383,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:16] local.INFO: Processing buffer {"connection_id":107383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:16] local.INFO: IMEI packet received {"connection_id":107383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 10:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":107383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:09:19] local.INFO: TCP Data received {"connection_id":107383,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:19] local.INFO: Processing buffer {"connection_id":107383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:19] local.INFO: IMEI packet received {"connection_id":107383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":107383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:09:23] local.INFO: TCP Data received {"connection_id":105637,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:09:23] local.INFO: Processing buffer {"connection_id":105637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:09:23] local.INFO: IMEI packet received {"connection_id":105637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":105637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:09:24] local.INFO: TCP Data received {"connection_id":107383,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107383,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:24] local.INFO: Processing buffer {"connection_id":107383,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:09:24] local.INFO: IMEI packet received {"connection_id":107383,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 10:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":107383,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:09:25] local.INFO: TCP Data received {"connection_id":105637,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:09:25] local.INFO: Processing buffer {"connection_id":105637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:09:25] local.INFO: IMEI packet received {"connection_id":105637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":105637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:09:25] local.INFO: TCP Data received {"connection_id":107383,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9063438012d0aff000702c3580010009b26..."} 
[2026-06-18 10:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9063438012d0aff000702c3580010009b26..."} 
[2026-06-18 10:09:25] local.INFO: Processing buffer {"connection_id":107383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9063438012d0aff000702c3580010009b26..."} 
[2026-06-18 10:09:25] local.INFO: Packet analysis {"connection_id":107383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed906"} 
[2026-06-18 10:09:25] local.INFO: Extracted packet for processing {"connection_id":107383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed906"} 
[2026-06-18 10:09:25] local.INFO: GPS Element Parsed {"raw_longitude":755695360,"raw_latitude":117621592,"longitude_deg":75.569536,"latitude_deg":11.7621592,"altitude":16,"angle":155,"satellites":38,"speed":12,"hex_longitude":"2d0aff00","hex_latitude":"0702c358","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:09:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129925632001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21152915796262912,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":792070614574983168,"note":"Value kept but may cause issues"} 
[2026-06-18 10:09:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:09:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781757523000,"timestamp_ms":1781757523000,"timestamp_seconds":1781757523,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9063438"} 
[2026-06-18 10:09:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:09: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-06-18 10: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 10:09:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:09:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:09:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:09:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:09:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:09:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107383,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 10:09:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:09:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 10:09:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 10:09:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129925632001,"66":14407,"17":206,"94":11008,"24":12,"16":21152915796262912,"45":792070614574983168},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 10:09:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 10:09:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 10:09:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129925632001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:09:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 10:09:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21152915796262912,"km_value":21152915796262.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:09:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":792070614574983168,"description":"Unknown IO ID 45"} 
[2026-06-18 10:09:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129925632001,"power":14407,"axis_x":206,"unknown_94":11008,"ignition":12,"odometer":null,"unknown_45":792070614574983168}} 
[2026-06-18 10:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":107383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343684,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:09:25] local.INFO: GPS data processed {"connection_id":107383,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:09:25] local.INFO: Acknowledgment sent {"connection_id":107383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:09:26] local.INFO: TCP Data received {"connection_id":105637,"ip":"117.224.95.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105637,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:09:26] local.INFO: Processing buffer {"connection_id":105637,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:09:26] local.INFO: IMEI packet received {"connection_id":105637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":105637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:09:34] local.INFO: TCP Data received {"connection_id":107384,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:09:34] local.INFO: Processing buffer {"connection_id":107384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:09:34] local.INFO: IMEI packet received {"connection_id":107384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":107384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:10:09] local.INFO: TCP Data received {"connection_id":105638,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105638,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:10:09] local.INFO: Processing buffer {"connection_id":105638,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 10:10:09] local.INFO: IMEI packet received {"connection_id":105638,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 10:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":105638,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:11:57] local.INFO: TCP Data received {"connection_id":105836,"ip":"14.238.9.20","data_length":19,"data_hex":"030000130ee000000000000100080003000000..."} 
[2026-06-18 10:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105836,"packet_length":19,"packet_hex":"030000130ee000000000000100080003000000..."} 
[2026-06-18 10:11:57] local.INFO: Processing buffer {"connection_id":105836,"buffer_length":19,"buffer_hex":"030000130ee000000000000100080003000000..."} 
[2026-06-18 10:11:57] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":105836,"buffer_length":19,"first_bytes_hex":"030000130ee000000000000100080003"} 
[2026-06-18 10:14:40] local.INFO: TCP Data received {"connection_id":105641,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:14:40] local.INFO: Processing buffer {"connection_id":105641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:14:40] local.INFO: IMEI packet received {"connection_id":105641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":105641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:14:54] local.INFO: TCP Data received {"connection_id":105641,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:14:54] local.INFO: Processing buffer {"connection_id":105641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:14:54] local.INFO: IMEI packet received {"connection_id":105641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":105641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:14:59] local.INFO: TCP Data received {"connection_id":107387,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:14:59] local.INFO: Processing buffer {"connection_id":107387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:14:59] local.INFO: IMEI packet received {"connection_id":107387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":107387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:15:10] local.INFO: TCP Data received {"connection_id":105641,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90a85b0012d46b180068de2e8005d011e28..."} 
[2026-06-18 10:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90a85b0012d46b180068de2e8005d011e28..."} 
[2026-06-18 10:15:10] local.INFO: Processing buffer {"connection_id":105641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90a85b0012d46b180068de2e8005d011e28..."} 
[2026-06-18 10:15:10] local.INFO: Packet analysis {"connection_id":105641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90a"} 
[2026-06-18 10:15:10] local.INFO: Extracted packet for processing {"connection_id":105641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90a"} 
[2026-06-18 10:15:10] local.INFO: GPS Element Parsed {"raw_longitude":759607680,"raw_latitude":109961960,"longitude_deg":75.960768,"latitude_deg":10.996196,"altitude":93,"angle":286,"satellites":40,"speed":40,"hex_longitude":"2d46b180","hex_latitude":"068de2e8","is_valid_coordinates":true} 
[2026-06-18 10:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129995776001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317922322587582464,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5104689468285777920,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781757806000,"timestamp_ms":1781757806000,"timestamp_seconds":1781757806,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90a85b0"} 
[2026-06-18 10:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:15:10] 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-06-18 10:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 10:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129995776001,"66":27908,"37":206,"19":48128,"24":40,"16":317922322587582464,"45":5104689468285777920},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-06-18 10:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129995776001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:15:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 10:15:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317922322587582464,"km_value":317922322587582.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5104689468285777920,"description":"Unknown IO ID 45"} 
[2026-06-18 10:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129995776001,"power":27908,"unknown_37":206,"unknown_19":48128,"ignition":40,"odometer":null,"unknown_45":5104689468285777920}} 
[2026-06-18 10:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":105641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:15:10] local.INFO: GPS data processed {"connection_id":105641,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:15:10] local.INFO: Acknowledgment sent {"connection_id":105641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:15:19] local.INFO: TCP Data received {"connection_id":105641,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90a9d20012d469a00068dec08005e012a27..."} 
[2026-06-18 10:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90a9d20012d469a00068dec08005e012a27..."} 
[2026-06-18 10:15:19] local.INFO: Processing buffer {"connection_id":105641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90a9d20012d469a00068dec08005e012a27..."} 
[2026-06-18 10:15:19] local.INFO: Packet analysis {"connection_id":105641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90a"} 
[2026-06-18 10:15:19] local.INFO: Extracted packet for processing {"connection_id":105641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90a"} 
[2026-06-18 10:15:19] local.INFO: GPS Element Parsed {"raw_longitude":759601664,"raw_latitude":109964296,"longitude_deg":75.9601664,"latitude_deg":10.9964296,"altitude":94,"angle":298,"satellites":39,"speed":44,"hex_longitude":"2d469a00","hex_latitude":"068dec08","is_valid_coordinates":true} 
[2026-06-18 10:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456129998336001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317922631825227776,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5093993419171358720,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781757812000,"timestamp_ms":1781757812000,"timestamp_seconds":1781757812,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90a9d20"} 
[2026-06-18 10:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 10:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":105641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":105641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":105641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456129998336001,"66":27908,"37":206,"19":48128,"24":44,"16":317922631825227776,"45":5093993419171358720},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-06-18 10:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456129998336001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:15:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 10:15:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317922631825227776,"km_value":317922631825227.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5093993419171358720,"description":"Unknown IO ID 45"} 
[2026-06-18 10:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456129998336001,"power":27908,"unknown_37":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":5093993419171358720}} 
[2026-06-18 10:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":105641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:15:19] local.INFO: GPS data processed {"connection_id":105641,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:15:19] local.ERROR: TCP Connection error {"connection_id":105641,"code":2,"message":"client closed"} 
[2026-06-18 10:15:19] local.INFO: Acknowledgment sent {"connection_id":105641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:15:28] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:28] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:28] local.INFO: IMEI packet received {"connection_id":105838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":105838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:15:31] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:31] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:31] local.INFO: IMEI packet received {"connection_id":105838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":105838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:15:34] local.INFO: TCP Data received {"connection_id":105839,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:34] local.INFO: Processing buffer {"connection_id":105839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:34] local.INFO: IMEI packet received {"connection_id":105839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":105839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:15:35] local.INFO: TCP Data received {"connection_id":105839,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:35] local.INFO: Processing buffer {"connection_id":105839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:35] local.INFO: IMEI packet received {"connection_id":105839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 10:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":105839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:15:35] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:35] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:15:35] local.INFO: IMEI packet received {"connection_id":105838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":105838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:15:39] local.INFO: TCP Data received {"connection_id":105839,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:39] local.INFO: Processing buffer {"connection_id":105839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:15:39] local.INFO: IMEI packet received {"connection_id":105839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 10:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":105839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:15:40] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90b7bc8012d462780068f2bb0004801582c..."} 
[2026-06-18 10:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90b7bc8012d462780068f2bb0004801582c..."} 
[2026-06-18 10:15:40] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90b7bc8012d462780068f2bb0004801582c..."} 
[2026-06-18 10:15:40] local.INFO: Packet analysis {"connection_id":105838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90b"} 
[2026-06-18 10:15:40] local.INFO: Extracted packet for processing {"connection_id":105838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90b"} 
[2026-06-18 10:15:40] local.INFO: GPS Element Parsed {"raw_longitude":759572352,"raw_latitude":110046128,"longitude_deg":75.9572352,"latitude_deg":11.0046128,"altitude":72,"angle":344,"satellites":44,"speed":66,"hex_longitude":"2d462780","hex_latitude":"068f2bb0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130012928001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317927025576771584,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5058246097148082176,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781757869000,"timestamp_ms":1781757869000,"timestamp_seconds":1781757869,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90b7bc8"} 
[2026-06-18 10:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130012928001,"66":28006,"178":206,"19":48128,"24":66,"16":317927025576771584,"45":5058246097148082176},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-06-18 10:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130012928001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:15:40] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 10:15:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317927025576771584,"km_value":317927025576771.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5058246097148082176,"description":"Unknown IO ID 45"} 
[2026-06-18 10:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130012928001,"power":28006,"unknown_178":206,"unknown_19":48128,"ignition":66,"odometer":null,"unknown_45":5058246097148082176}} 
[2026-06-18 10:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":105838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:15:40] local.INFO: GPS data processed {"connection_id":105838,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:15:40] local.INFO: Acknowledgment sent {"connection_id":105838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:15:42] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90b9338012d461d80068f4f78004901582c..."} 
[2026-06-18 10:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90b9338012d461d80068f4f78004901582c..."} 
[2026-06-18 10:15:42] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90b9338012d461d80068f4f78004901582c..."} 
[2026-06-18 10:15:42] local.INFO: Packet analysis {"connection_id":105838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90b"} 
[2026-06-18 10:15:42] local.INFO: Extracted packet for processing {"connection_id":105838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90b"} 
[2026-06-18 10:15:42] local.INFO: GPS Element Parsed {"raw_longitude":759569792,"raw_latitude":110055288,"longitude_deg":75.9569792,"latitude_deg":11.0055288,"altitude":73,"angle":344,"satellites":44,"speed":60,"hex_longitude":"2d461d80","hex_latitude":"068f4f78","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130014464001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317927485138272256,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5055149872406835200,"note":"Value kept but may cause issues"} 
[2026-06-18 10:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,178,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781757875000,"timestamp_ms":1781757875000,"timestamp_seconds":1781757875,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90b9338"} 
[2026-06-18 10:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 10:15:42] 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-06-18 10: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-06-18 10:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130014464001,"66":27908,"178":206,"19":48128,"24":60,"16":317927485138272256,"45":5055149872406835200},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-06-18 10:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130014464001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:15:42] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 10:15:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317927485138272256,"km_value":317927485138272.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5055149872406835200,"description":"Unknown IO ID 45"} 
[2026-06-18 10:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130014464001,"power":27908,"unknown_178":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":5055149872406835200}} 
[2026-06-18 10:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":105838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:15:42] local.INFO: GPS data processed {"connection_id":105838,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:15:42] local.INFO: Acknowledgment sent {"connection_id":105838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:16:25] local.INFO: TCP Data received {"connection_id":105642,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:16:25] local.INFO: Processing buffer {"connection_id":105642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:16:25] local.INFO: IMEI packet received {"connection_id":105642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":105642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:16:30] local.INFO: TCP Data received {"connection_id":105642,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:16:30] local.INFO: Processing buffer {"connection_id":105642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:16:30] local.INFO: IMEI packet received {"connection_id":105642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":105642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:16:40] local.INFO: TCP Data received {"connection_id":105642,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90c8d38012d455100069079c80043013c2d..."} 
[2026-06-18 10:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90c8d38012d455100069079c80043013c2d..."} 
[2026-06-18 10:16:40] local.INFO: Processing buffer {"connection_id":105642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90c8d38012d455100069079c80043013c2d..."} 
[2026-06-18 10:16:40] local.INFO: Packet analysis {"connection_id":105642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90c"} 
[2026-06-18 10:16:40] local.INFO: Extracted packet for processing {"connection_id":105642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90c"} 
[2026-06-18 10:16:40] local.INFO: GPS Element Parsed {"raw_longitude":759517440,"raw_latitude":110131656,"longitude_deg":75.951744,"latitude_deg":11.0131656,"altitude":67,"angle":316,"satellites":45,"speed":60,"hex_longitude":"2d455100","hex_latitude":"069079c8","is_valid_coordinates":true} 
[2026-06-18 10:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130030848001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317932054983475200,"note":"Value kept but may cause issues"} 
[2026-06-18 10:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5002232576805513216,"note":"Value kept but may cause issues"} 
[2026-06-18 10:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781757939000,"timestamp_ms":1781757939000,"timestamp_seconds":1781757939,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90c8d38"} 
[2026-06-18 10:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 10:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130030848001,"66":27908,"179":206,"19":48128,"24":60,"16":317932054983475200,"45":5002232576805513216},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-06-18 10:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130030848001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:16:40] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-18 10:16:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317932054983475200,"km_value":317932054983475.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5002232576805513216,"description":"Unknown IO ID 45"} 
[2026-06-18 10:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130030848001,"power":27908,"unknown_179":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":5002232576805513216}} 
[2026-06-18 10:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":105642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:16:40] local.INFO: GPS data processed {"connection_id":105642,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:16:40] local.INFO: Acknowledgment sent {"connection_id":105642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:17:42] local.INFO: TCP Data received {"connection_id":105644,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:17:42] local.INFO: Processing buffer {"connection_id":105644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:17:42] local.INFO: IMEI packet received {"connection_id":105644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":105644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:17:46] local.INFO: TCP Data received {"connection_id":105644,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:17:46] local.INFO: Processing buffer {"connection_id":105644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:17:46] local.INFO: IMEI packet received {"connection_id":105644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":105644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:18:03] local.INFO: TCP Data received {"connection_id":105644,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90ca4a8012d453a0006909538004101432f..."} 
[2026-06-18 10:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90ca4a8012d453a0006909538004101432f..."} 
[2026-06-18 10:18:03] local.INFO: Processing buffer {"connection_id":105644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90ca4a8012d453a0006909538004101432f..."} 
[2026-06-18 10:18:03] local.INFO: Packet analysis {"connection_id":105644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90c"} 
[2026-06-18 10:18:03] local.INFO: Extracted packet for processing {"connection_id":105644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90c"} 
[2026-06-18 10:18:03] local.INFO: GPS Element Parsed {"raw_longitude":759511552,"raw_latitude":110138680,"longitude_deg":75.9511552,"latitude_deg":11.013868,"altitude":65,"angle":323,"satellites":47,"speed":60,"hex_longitude":"2d453a00","hex_latitude":"06909538","is_valid_coordinates":true} 
[2026-06-18 10:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130032384001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317932493070139392,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4994773489924294656,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781757945000,"timestamp_ms":1781757945000,"timestamp_seconds":1781757945,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90ca4a8"} 
[2026-06-18 10:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:18: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-06-18 10:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 10:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130032384001,"66":27800,"179":206,"19":48128,"24":60,"16":317932493070139392,"45":4994773489924294656},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16,45]} 
[2026-06-18 10:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130032384001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:18:03] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-06-18 10:18:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317932493070139392,"km_value":317932493070139.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4994773489924294656,"description":"Unknown IO ID 45"} 
[2026-06-18 10:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130032384001,"power":27800,"unknown_179":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4994773489924294656}} 
[2026-06-18 10:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":105644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:18:03] local.INFO: GPS data processed {"connection_id":105644,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:18:03] local.INFO: Acknowledgment sent {"connection_id":105644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:18:04] local.INFO: TCP Data received {"connection_id":105644,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90df880012d44944006927dc8002a013e2d..."} 
[2026-06-18 10:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90df880012d44944006927dc8002a013e2d..."} 
[2026-06-18 10:18:04] local.INFO: Processing buffer {"connection_id":105644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90df880012d44944006927dc8002a013e2d..."} 
[2026-06-18 10:18:04] local.INFO: Packet analysis {"connection_id":105644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90d"} 
[2026-06-18 10:18:04] local.INFO: Extracted packet for processing {"connection_id":105644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90d"} 
[2026-06-18 10:18:04] local.INFO: GPS Element Parsed {"raw_longitude":759469120,"raw_latitude":110263752,"longitude_deg":75.946912,"latitude_deg":11.0263752,"altitude":42,"angle":318,"satellites":45,"speed":63,"hex_longitude":"2d449440","hex_latitude":"06927dc8","is_valid_coordinates":true} 
[2026-06-18 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317939034305331200,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4945796844009111552,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781758032000,"timestamp_ms":1781758032000,"timestamp_seconds":1781758032,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90df880"} 
[2026-06-18 10:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:18: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-06-18 10:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 10:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130055168001,"66":27800,"172":206,"19":48128,"24":63,"16":317939034305331200,"45":4945796844009111552},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,19,24,16,45]} 
[2026-06-18 10:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:18:04] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-06-18 10:18:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317939034305331200,"km_value":317939034305331.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4945796844009111552,"description":"Unknown IO ID 45"} 
[2026-06-18 10:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130055168001,"power":27800,"unknown_172":206,"unknown_19":48128,"ignition":63,"odometer":null,"unknown_45":4945796844009111552}} 
[2026-06-18 10:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":105644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:18:04] local.INFO: GPS data processed {"connection_id":105644,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:18:04] local.INFO: Acknowledgment sent {"connection_id":105644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:18:22] local.INFO: TCP Data received {"connection_id":106415,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:22] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:22] local.INFO: IMEI packet received {"connection_id":106415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":106415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:18:25] local.INFO: TCP Data received {"connection_id":106415,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:25] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:25] local.INFO: IMEI packet received {"connection_id":106415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":106415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:18:26] local.INFO: TCP Data received {"connection_id":106415,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:26] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:18:26] local.INFO: IMEI packet received {"connection_id":106415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":106415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:18:28] local.INFO: TCP Data received {"connection_id":106415,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90e0820012d44820006928e08002a01312d..."} 
[2026-06-18 10:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90e0820012d44820006928e08002a01312d..."} 
[2026-06-18 10:18:28] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90e0820012d44820006928e08002a01312d..."} 
[2026-06-18 10:18:28] local.INFO: Packet analysis {"connection_id":106415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90e"} 
[2026-06-18 10:18:28] local.INFO: Extracted packet for processing {"connection_id":106415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90e"} 
[2026-06-18 10:18:28] local.INFO: GPS Element Parsed {"raw_longitude":759464448,"raw_latitude":110267912,"longitude_deg":75.9464448,"latitude_deg":11.0267912,"altitude":42,"angle":305,"satellites":45,"speed":62,"hex_longitude":"2d448200","hex_latitude":"06928e08","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130056192001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317939334953041920,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4941645088103974912,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781758036000,"timestamp_ms":1781758036000,"timestamp_seconds":1781758036,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90e0820"} 
[2026-06-18 10:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":152,"data_length":795,"current_offset":136} 
[2026-06-18 10:18: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-06-18 10: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-06-18 10:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130056192001,"66":27800,"172":206,"19":48128,"24":62,"16":317939334953041920,"45":4941645088103974912},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,19,24,16,45]} 
[2026-06-18 10:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130056192001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:18:28] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-06-18 10:18:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317939334953041920,"km_value":317939334953041.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":4941645088103974912,"description":"Unknown IO ID 45"} 
[2026-06-18 10:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130056192001,"power":27800,"unknown_172":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":4941645088103974912}} 
[2026-06-18 10:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":106415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:18:28] local.INFO: GPS data processed {"connection_id":106415,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:18:28] local.INFO: Acknowledgment sent {"connection_id":106415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:18:59] local.INFO: TCP Data received {"connection_id":106415,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90e17c0012d446c8006929988002a01252e..."} 
[2026-06-18 10:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90e17c0012d446c8006929988002a01252e..."} 
[2026-06-18 10:18:59] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90e17c0012d446c8006929988002a01252e..."} 
[2026-06-18 10:18:59] local.INFO: Packet analysis {"connection_id":106415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90e"} 
[2026-06-18 10:18:59] local.INFO: Extracted packet for processing {"connection_id":106415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90e"} 
[2026-06-18 10:18:59] local.INFO: GPS Element Parsed {"raw_longitude":759458944,"raw_latitude":110270856,"longitude_deg":75.9458944,"latitude_deg":11.0270856,"altitude":42,"angle":293,"satellites":46,"speed":60,"hex_longitude":"2d446c80","hex_latitude":"06929988","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130057216001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317939635600752640,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4936508169780070400,"note":"Value kept but may cause issues"} 
[2026-06-18 10:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781758040000,"timestamp_ms":1781758040000,"timestamp_seconds":1781758040,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90e17c0"} 
[2026-06-18 10:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":152,"data_length":795,"current_offset":136} 
[2026-06-18 10:18: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-06-18 10: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-06-18 10:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130057216001,"66":27745,"172":206,"19":48128,"24":60,"16":317939635600752640,"45":4936508169780070400},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,19,24,16,45]} 
[2026-06-18 10:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130057216001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:18:59] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-06-18 10:18:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317939635600752640,"km_value":317939635600752.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4936508169780070400,"description":"Unknown IO ID 45"} 
[2026-06-18 10:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130057216001,"power":27745,"unknown_172":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4936508169780070400}} 
[2026-06-18 10:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":106415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:18:59] local.INFO: GPS data processed {"connection_id":106415,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:18:59] local.INFO: Acknowledgment sent {"connection_id":106415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:19:29] local.INFO: TCP Data received {"connection_id":107389,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:29] local.INFO: Processing buffer {"connection_id":107389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:29] local.INFO: IMEI packet received {"connection_id":107389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":107389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:19:32] local.INFO: TCP Data received {"connection_id":107389,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:32] local.INFO: Processing buffer {"connection_id":107389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:32] local.INFO: IMEI packet received {"connection_id":107389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":107389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:19:36] local.INFO: TCP Data received {"connection_id":107389,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:36] local.INFO: Processing buffer {"connection_id":107389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:19:36] local.INFO: IMEI packet received {"connection_id":107389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":107389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:19:36] local.INFO: TCP Data received {"connection_id":107389,"ip":"117.224.95.96","data_length":1360,"data_hex":"000000000000030f8e0a0000019ed90f15a8012d43674006939358002401442e..."} 
[2026-06-18 10:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107389,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ed90f15a8012d43674006939358002401442e..."} 
[2026-06-18 10:19:36] local.INFO: Processing buffer {"connection_id":107389,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ed90f15a8012d43674006939358002401442e..."} 
[2026-06-18 10:19:36] local.INFO: Packet analysis {"connection_id":107389,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ed90f"} 
[2026-06-18 10:19:36] local.INFO: Extracted packet for processing {"connection_id":107389,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed90f"} 
[2026-06-18 10:19:36] local.INFO: GPS Element Parsed {"raw_longitude":759392064,"raw_latitude":110334808,"longitude_deg":75.9392064,"latitude_deg":11.0334808,"altitude":36,"angle":324,"satellites":46,"speed":62,"hex_longitude":"2d436740","hex_latitude":"06939358","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130073344001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317944248395628544,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4863043200873781248,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781758105000,"timestamp_ms":1781758105000,"timestamp_seconds":1781758105,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90f15a8"} 
[2026-06-18 10:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:19: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-06-18 10: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-06-18 10:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130073344001,"66":27995,"238":206,"19":48128,"24":62,"16":317944248395628544,"45":4863043200873781248},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-06-18 10:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130073344001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:19:36] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-06-18 10:19:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317944248395628544,"km_value":317944248395628.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4863043200873781248,"description":"Unknown IO ID 45"} 
[2026-06-18 10:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130073344001,"power":27995,"unknown_238":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":4863043200873781248}} 
[2026-06-18 10:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":107389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:19:36] local.INFO: GPS data processed {"connection_id":107389,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:19:36] local.INFO: Acknowledgment sent {"connection_id":107389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:19:36] local.INFO: Packet analysis {"connection_id":107389,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed90f"} 
[2026-06-18 10:19:36] local.INFO: Incomplete packet, waiting for more data {"connection_id":107389,"needed":795,"available":565} 
[2026-06-18 10:19:37] local.INFO: TCP Data received {"connection_id":107389,"ip":"117.224.95.96","data_length":230,"data_hex":"2d43e1c00692dd58002e013e2c00380000000a000400ef0100715400f0010045..."} 
[2026-06-18 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107389,"packet_length":230,"packet_hex":"2d43e1c00692dd58002e013e2c00380000000a000400ef0100715400f0010045..."} 
[2026-06-18 10:19:37] local.INFO: Processing buffer {"connection_id":107389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90f2d18012d4351400693b198002101432d..."} 
[2026-06-18 10:19:37] local.INFO: Packet analysis {"connection_id":107389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90f"} 
[2026-06-18 10:19:37] local.INFO: Extracted packet for processing {"connection_id":107389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90f"} 
[2026-06-18 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":759386432,"raw_latitude":110342552,"longitude_deg":75.9386432,"latitude_deg":11.0342552,"altitude":33,"angle":323,"satellites":45,"speed":64,"hex_longitude":"2d435140","hex_latitude":"0693b198","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130074880001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317944707957129216,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4856921120132257792,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781758111000,"timestamp_ms":1781758111000,"timestamp_seconds":1781758111,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90f2d18"} 
[2026-06-18 10:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:19: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-06-18 10: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-06-18 10:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130074880001,"66":27908,"238":206,"19":48128,"24":64,"16":317944707957129216,"45":4856921120132257792},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-06-18 10:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130074880001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:19:37] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-06-18 10:19:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317944707957129216,"km_value":317944707957129.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4856921120132257792,"description":"Unknown IO ID 45"} 
[2026-06-18 10:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130074880001,"power":27908,"unknown_238":206,"unknown_19":48128,"ignition":64,"odometer":null,"unknown_45":4856921120132257792}} 
[2026-06-18 10:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":107389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:19:37] local.INFO: GPS data processed {"connection_id":107389,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:19:37] local.INFO: Acknowledgment sent {"connection_id":107389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:19:40] local.INFO: TCP Data received {"connection_id":107389,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed90f4488012d433ac00693d0a8001e01442a..."} 
[2026-06-18 10:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed90f4488012d433ac00693d0a8001e01442a..."} 
[2026-06-18 10:19:41] local.INFO: Processing buffer {"connection_id":107389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed90f4488012d433ac00693d0a8001e01442a..."} 
[2026-06-18 10:19:41] local.INFO: Packet analysis {"connection_id":107389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed90f"} 
[2026-06-18 10:19:41] local.INFO: Extracted packet for processing {"connection_id":107389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed90f"} 
[2026-06-18 10:19:41] local.INFO: GPS Element Parsed {"raw_longitude":759380672,"raw_latitude":110350504,"longitude_deg":75.9380672,"latitude_deg":11.0350504,"altitude":30,"angle":324,"satellites":42,"speed":65,"hex_longitude":"2d433ac0","hex_latitude":"0693d0a8","is_valid_coordinates":true} 
[2026-06-18 10:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130076416001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317945180403531776,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4850728670646605824,"note":"Value kept but may cause issues"} 
[2026-06-18 10:19:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781758117000,"timestamp_ms":1781758117000,"timestamp_seconds":1781758117,"priority":1,"record_length":96,"hex_timestamp":"0000019ed90f4488"} 
[2026-06-18 10:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:19:41] 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-06-18 10:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 10:19: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-06-18 10:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130076416001,"66":27908,"238":206,"19":48128,"24":65,"16":317945180403531776,"45":4850728670646605824},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-06-18 10:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130076416001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:19:41] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-06-18 10:19:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317945180403531776,"km_value":317945180403531.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4850728670646605824,"description":"Unknown IO ID 45"} 
[2026-06-18 10:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130076416001,"power":27908,"unknown_238":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":4850728670646605824}} 
[2026-06-18 10:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":107389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:19:41] local.INFO: GPS data processed {"connection_id":107389,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:19:41] local.INFO: Acknowledgment sent {"connection_id":107389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:20:26] local.INFO: TCP Data received {"connection_id":107390,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:26] local.INFO: Processing buffer {"connection_id":107390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:26] local.INFO: IMEI packet received {"connection_id":107390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":107390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:20:27] local.INFO: TCP Data received {"connection_id":107390,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:27] local.INFO: Processing buffer {"connection_id":107390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:27] local.INFO: IMEI packet received {"connection_id":107390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":107390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:20:30] local.INFO: TCP Data received {"connection_id":107390,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:30] local.INFO: Processing buffer {"connection_id":107390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:30] local.INFO: IMEI packet received {"connection_id":107390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":107390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:20:31] local.INFO: TCP Data received {"connection_id":107390,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:31] local.INFO: Processing buffer {"connection_id":107390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:20:31] local.INFO: IMEI packet received {"connection_id":107390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":107390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:20:34] local.INFO: TCP Data received {"connection_id":107390,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9103e88012d438ac006953548001300102d..."} 
[2026-06-18 10:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9103e88012d438ac006953548001300102d..."} 
[2026-06-18 10:20:34] local.INFO: Processing buffer {"connection_id":107390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9103e88012d438ac006953548001300102d..."} 
[2026-06-18 10:20:34] local.INFO: Packet analysis {"connection_id":107390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:20:34] local.INFO: Extracted packet for processing {"connection_id":107390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:20:34] local.INFO: GPS Element Parsed {"raw_longitude":759401152,"raw_latitude":110441800,"longitude_deg":75.9401152,"latitude_deg":11.04418,"altitude":19,"angle":16,"satellites":45,"speed":49,"hex_longitude":"2d438ac0","hex_latitude":"06953548","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130092288001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317949909162524672,"note":"Value kept but may cause issues"} 
[2026-06-18 10:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4863606150854166528,"note":"Value kept but may cause issues"} 
[2026-06-18 10:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781758181000,"timestamp_ms":1781758181000,"timestamp_seconds":1781758181,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9103e88"} 
[2026-06-18 10:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:20:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:20: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-06-18 10: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-06-18 10:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130092288001,"66":27800,"28":206,"19":48128,"24":49,"16":317949909162524672,"45":4863606150854166528},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130092288001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:20:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:20:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317949909162524672,"km_value":317949909162524.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4863606150854166528,"description":"Unknown IO ID 45"} 
[2026-06-18 10:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130092288001,"power":27800,"unknown_28":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4863606150854166528}} 
[2026-06-18 10:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":107390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:20:34] local.INFO: GPS data processed {"connection_id":107390,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:20:34] local.INFO: Acknowledgment sent {"connection_id":107390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:20:36] local.INFO: TCP Data received {"connection_id":107390,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91059e0012d4391c006955848001300042d..."} 
[2026-06-18 10:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91059e0012d4391c006955848001300042d..."} 
[2026-06-18 10:20:36] local.INFO: Processing buffer {"connection_id":107390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91059e0012d4391c006955848001300042d..."} 
[2026-06-18 10:20:36] local.INFO: Packet analysis {"connection_id":107390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:20:36] local.INFO: Extracted packet for processing {"connection_id":107390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:20:36] local.INFO: GPS Element Parsed {"raw_longitude":759402944,"raw_latitude":110450760,"longitude_deg":75.9402944,"latitude_deg":11.045076,"altitude":19,"angle":4,"satellites":45,"speed":52,"hex_longitude":"2d4391c0","hex_latitude":"06955848","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130094336001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317950355839123456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4866913481832876032,"note":"Value kept but may cause issues"} 
[2026-06-18 10:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781758188000,"timestamp_ms":1781758188000,"timestamp_seconds":1781758188,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91059e0"} 
[2026-06-18 10:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10: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-06-18 10: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-06-18 10:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130094336001,"66":27930,"28":206,"19":48128,"24":52,"16":317950355839123456,"45":4866913481832876032},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130094336001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:20:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317950355839123456,"km_value":317950355839123.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4866913481832876032,"description":"Unknown IO ID 45"} 
[2026-06-18 10:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130094336001,"power":27930,"unknown_28":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4866913481832876032}} 
[2026-06-18 10:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":107390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:20:36] local.INFO: GPS data processed {"connection_id":107390,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:20:36] local.INFO: Acknowledgment sent {"connection_id":107390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:20:59] local.INFO: TCP Data received {"connection_id":105842,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:20:59] local.INFO: Processing buffer {"connection_id":105842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:20:59] local.INFO: IMEI packet received {"connection_id":105842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":105842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:21:07] local.INFO: TCP Data received {"connection_id":107390,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91059e0012d4391c006955848001300042d..."} 
[2026-06-18 10:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91059e0012d4391c006955848001300042d..."} 
[2026-06-18 10:21:07] local.INFO: Processing buffer {"connection_id":107390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91059e0012d4391c006955848001300042d..."} 
[2026-06-18 10:21:07] local.INFO: Packet analysis {"connection_id":107390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:21:07] local.INFO: Extracted packet for processing {"connection_id":107390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:21:07] local.INFO: GPS Element Parsed {"raw_longitude":759402944,"raw_latitude":110450760,"longitude_deg":75.9402944,"latitude_deg":11.045076,"altitude":19,"angle":4,"satellites":45,"speed":52,"hex_longitude":"2d4391c0","hex_latitude":"06955848","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130096128001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317950355839123456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868883806672144384,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781758188000,"timestamp_ms":1781758188000,"timestamp_seconds":1781758188,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91059e0"} 
[2026-06-18 10:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 10:21:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130096128001,"66":27930,"28":206,"19":48128,"24":52,"16":317950355839123456,"45":4868883806672144384},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130096128001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:21:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:21:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317950355839123456,"km_value":317950355839123.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868883806672144384,"description":"Unknown IO ID 45"} 
[2026-06-18 10:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130096128001,"power":27930,"unknown_28":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4868883806672144384}} 
[2026-06-18 10:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":107390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:21:07] local.INFO: GPS data processed {"connection_id":107390,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:21:07] local.INFO: Acknowledgment sent {"connection_id":107390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:21:25] local.INFO: TCP Data received {"connection_id":106416,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:21:25] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:21:25] local.INFO: IMEI packet received {"connection_id":106416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":106416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:21:26] local.INFO: TCP Data received {"connection_id":106416,"ip":"117.224.95.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:21:26] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:21:26] local.INFO: IMEI packet received {"connection_id":106416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":106416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:21:30] local.INFO: TCP Data received {"connection_id":106416,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:21:30] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:21:30] local.INFO: IMEI packet received {"connection_id":106416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":106416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:21:31] local.INFO: TCP Data received {"connection_id":106416,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9106d68012d4391c006957258001601612e..."} 
[2026-06-18 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9106d68012d4391c006957258001601612e..."} 
[2026-06-18 10:21:31] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed9..."} 
[2026-06-18 10:21:31] local.INFO: IMEI packet received {"connection_id":106416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":106416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:21:33] local.INFO: TCP Data received {"connection_id":106416,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91088c0012d43890006959538001801542e..."} 
[2026-06-18 10:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91088c0012d43890006959538001801542e..."} 
[2026-06-18 10:21:33] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed9106d68012d4391c006957258001601612e..."} 
[2026-06-18 10:21:33] local.INFO: Packet analysis {"connection_id":106416,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:21:33] local.INFO: Extracted packet for processing {"connection_id":106416,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:21:33] local.INFO: GPS Element Parsed {"raw_longitude":759402944,"raw_latitude":110457432,"longitude_deg":75.9402944,"latitude_deg":11.0457432,"altitude":22,"angle":353,"satellites":46,"speed":52,"hex_longitude":"2d4391c0","hex_latitude":"06957258","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130096128001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317950677961670656,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868883806672144384,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781758193000,"timestamp_ms":1781758193000,"timestamp_seconds":1781758193,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9106d68"} 
[2026-06-18 10:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 10:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130096128001,"66":27908,"28":206,"19":48128,"24":52,"16":317950677961670656,"45":4868883806672144384},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130096128001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317950677961670656,"km_value":317950677961670.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868883806672144384,"description":"Unknown IO ID 45"} 
[2026-06-18 10:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130096128001,"power":27908,"unknown_28":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4868883806672144384}} 
[2026-06-18 10:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":106416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:21:33] local.INFO: GPS data processed {"connection_id":106416,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:21:33] local.INFO: Acknowledgment sent {"connection_id":106416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:21:33] local.INFO: Packet analysis {"connection_id":106416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:21:33] local.INFO: Extracted packet for processing {"connection_id":106416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:21:33] local.INFO: GPS Element Parsed {"raw_longitude":759400704,"raw_latitude":110466360,"longitude_deg":75.9400704,"latitude_deg":11.046636,"altitude":24,"angle":340,"satellites":46,"speed":51,"hex_longitude":"2d438900","hex_latitude":"06959538","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130097408001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317951124638269440,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868883806673852416,"note":"Value kept but may cause issues"} 
[2026-06-18 10:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781758200000,"timestamp_ms":1781758200000,"timestamp_seconds":1781758200,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91088c0"} 
[2026-06-18 10:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:21: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-06-18 10:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 10:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130097408001,"66":27919,"28":206,"19":48128,"24":51,"16":317951124638269440,"45":4868883806673852416},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130097408001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:21:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317951124638269440,"km_value":317951124638269.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868883806673852416,"description":"Unknown IO ID 45"} 
[2026-06-18 10:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130097408001,"power":27919,"unknown_28":206,"unknown_19":48128,"ignition":51,"odometer":null,"unknown_45":4868883806673852416}} 
[2026-06-18 10:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":106416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:21:33] local.INFO: GPS data processed {"connection_id":106416,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:21:33] local.INFO: Acknowledgment sent {"connection_id":106416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:21:34] local.INFO: TCP Data received {"connection_id":105646,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:21:34] local.INFO: Processing buffer {"connection_id":105646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:21:34] local.INFO: IMEI packet received {"connection_id":105646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":105646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:22:05] local.INFO: TCP Data received {"connection_id":106416,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9119648012d42dfc00696dbb0001b015c2e..."} 
[2026-06-18 10:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9119648012d42dfc00696dbb0001b015c2e..."} 
[2026-06-18 10:22:05] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9119648012d42dfc00696dbb0001b015c2e..."} 
[2026-06-18 10:22:05] local.INFO: Packet analysis {"connection_id":106416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed911"} 
[2026-06-18 10:22:05] local.INFO: Extracted packet for processing {"connection_id":106416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed911"} 
[2026-06-18 10:22:05] local.INFO: GPS Element Parsed {"raw_longitude":759357376,"raw_latitude":110549936,"longitude_deg":75.9357376,"latitude_deg":11.0549936,"altitude":27,"angle":348,"satellites":46,"speed":48,"hex_longitude":"2d42dfc0","hex_latitude":"0696dbb0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130114816001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317955741728112640,"note":"Value kept but may cause issues"} 
[2026-06-18 10:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4821033060654225408,"note":"Value kept but may cause issues"} 
[2026-06-18 10:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781758269000,"timestamp_ms":1781758269000,"timestamp_seconds":1781758269,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9119648"} 
[2026-06-18 10:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 10:22: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-06-18 10: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-06-18 10:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130114816001,"66":27908,"28":206,"19":48128,"24":48,"16":317955741728112640,"45":4821033060654225408},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130114816001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:22:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317955741728112640,"km_value":317955741728112.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4821033060654225408,"description":"Unknown IO ID 45"} 
[2026-06-18 10:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130114816001,"power":27908,"unknown_28":206,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4821033060654225408}} 
[2026-06-18 10:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":106416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:22:05] local.INFO: GPS data processed {"connection_id":106416,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:22:05] local.INFO: Acknowledgment sent {"connection_id":106416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:22:25] local.INFO: TCP Data received {"connection_id":106417,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:22:25] local.INFO: Processing buffer {"connection_id":106417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:22:25] local.INFO: IMEI packet received {"connection_id":106417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":106417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:22:31] local.INFO: TCP Data received {"connection_id":106417,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:22:31] local.INFO: Processing buffer {"connection_id":106417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:22:31] local.INFO: IMEI packet received {"connection_id":106417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:22:31] local.INFO: IMEI acknowledgment sent {"connection_id":106417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:22:35] local.INFO: TCP Data received {"connection_id":106417,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed911b588012d42d9c006970030001e015f2e..."} 
[2026-06-18 10:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed911b588012d42d9c006970030001e015f2e..."} 
[2026-06-18 10:22:35] local.INFO: Processing buffer {"connection_id":106417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed911b588012d42d9c006970030001e015f2e..."} 
[2026-06-18 10:22:35] local.INFO: Packet analysis {"connection_id":106417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed911"} 
[2026-06-18 10:22:35] local.INFO: Extracted packet for processing {"connection_id":106417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed911"} 
[2026-06-18 10:22:35] local.INFO: GPS Element Parsed {"raw_longitude":759355840,"raw_latitude":110559280,"longitude_deg":75.935584,"latitude_deg":11.055928,"altitude":30,"angle":351,"satellites":46,"speed":45,"hex_longitude":"2d42d9c0","hex_latitude":"06970030","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130116864001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317956201289613312,"note":"Value kept but may cause issues"} 
[2026-06-18 10:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4818781260843036672,"note":"Value kept but may cause issues"} 
[2026-06-18 10:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781758277000,"timestamp_ms":1781758277000,"timestamp_seconds":1781758277,"priority":1,"record_length":96,"hex_timestamp":"0000019ed911b588"} 
[2026-06-18 10:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:22: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-06-18 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 10:22:35] 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-06-18 10: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-06-18 10:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130116864001,"66":27876,"28":206,"19":48128,"24":45,"16":317956201289613312,"45":4818781260843036672},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130116864001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:22:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317956201289613312,"km_value":317956201289613.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4818781260843036672,"description":"Unknown IO ID 45"} 
[2026-06-18 10:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130116864001,"power":27876,"unknown_28":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":4818781260843036672}} 
[2026-06-18 10:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":106417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:22:35] local.INFO: GPS data processed {"connection_id":106417,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:22:35] local.INFO: Acknowledgment sent {"connection_id":106417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:23:07] local.INFO: TCP Data received {"connection_id":106417,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed911d4c8012d42d60006972368002101632c..."} 
[2026-06-18 10:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed911d4c8012d42d60006972368002101632c..."} 
[2026-06-18 10:23:07] local.INFO: Processing buffer {"connection_id":106417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed911d4c8012d42d60006972368002101632c..."} 
[2026-06-18 10:23:07] local.INFO: Packet analysis {"connection_id":106417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed911"} 
[2026-06-18 10:23:07] local.INFO: Extracted packet for processing {"connection_id":106417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed911"} 
[2026-06-18 10:23:07] local.INFO: GPS Element Parsed {"raw_longitude":759354880,"raw_latitude":110568296,"longitude_deg":75.935488,"latitude_deg":11.0568296,"altitude":33,"angle":355,"satellites":44,"speed":44,"hex_longitude":"2d42d600","hex_latitude":"06972368","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130118912001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317956643671244800,"note":"Value kept but may cause issues"} 
[2026-06-18 10:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4817092410985164800,"note":"Value kept but may cause issues"} 
[2026-06-18 10:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781758285000,"timestamp_ms":1781758285000,"timestamp_seconds":1781758285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed911d4c8"} 
[2026-06-18 10:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 10:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130118912001,"66":27517,"28":206,"19":48128,"24":44,"16":317956643671244800,"45":4817092410985164800},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130118912001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:23:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317956643671244800,"km_value":317956643671244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4817092410985164800,"description":"Unknown IO ID 45"} 
[2026-06-18 10:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130118912001,"power":27517,"unknown_28":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4817092410985164800}} 
[2026-06-18 10:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":106417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:23:07] local.INFO: GPS data processed {"connection_id":106417,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:23:07] local.INFO: Acknowledgment sent {"connection_id":106417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:23:24] local.INFO: TCP Data received {"connection_id":105647,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:24] local.INFO: Processing buffer {"connection_id":105647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:24] local.INFO: IMEI packet received {"connection_id":105647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":105647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:23:25] local.INFO: TCP Data received {"connection_id":105647,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:25] local.INFO: Processing buffer {"connection_id":105647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:25] local.INFO: IMEI packet received {"connection_id":105647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":105647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:23:31] local.INFO: TCP Data received {"connection_id":105647,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:31] local.INFO: Processing buffer {"connection_id":105647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:23:31] local.INFO: IMEI packet received {"connection_id":105647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":105647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:23:32] local.INFO: TCP Data received {"connection_id":105647,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed911f7f0012d42d44006974970002600012c..."} 
[2026-06-18 10:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed911f7f0012d42d44006974970002600012c..."} 
[2026-06-18 10:23:32] local.INFO: Processing buffer {"connection_id":105647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed911f7f0012d42d44006974970002600012c..."} 
[2026-06-18 10:23:32] local.INFO: Packet analysis {"connection_id":105647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed911"} 
[2026-06-18 10:23:32] local.INFO: Extracted packet for processing {"connection_id":105647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed911"} 
[2026-06-18 10:23:32] local.INFO: GPS Element Parsed {"raw_longitude":759354432,"raw_latitude":110578032,"longitude_deg":75.9354432,"latitude_deg":11.0578032,"altitude":38,"angle":1,"satellites":44,"speed":42,"hex_longitude":"2d42d440","hex_latitude":"06974970","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130120960001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317957116117647360,"note":"Value kept but may cause issues"} 
[2026-06-18 10:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4816036879824807936,"note":"Value kept but may cause issues"} 
[2026-06-18 10:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781758294000,"timestamp_ms":1781758294000,"timestamp_seconds":1781758294,"priority":1,"record_length":96,"hex_timestamp":"0000019ed911f7f0"} 
[2026-06-18 10:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:23: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-06-18 10: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 10:23: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-06-18 10: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-06-18 10:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130120960001,"66":27832,"28":206,"19":48128,"24":42,"16":317957116117647360,"45":4816036879824807936},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 10:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130120960001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 10:23:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317957116117647360,"km_value":317957116117647.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4816036879824807936,"description":"Unknown IO ID 45"} 
[2026-06-18 10:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130120960001,"power":27832,"unknown_28":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4816036879824807936}} 
[2026-06-18 10:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":105647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:23:32] local.INFO: GPS data processed {"connection_id":105647,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:23:32] local.INFO: Acknowledgment sent {"connection_id":105647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:24:24] local.INFO: TCP Data received {"connection_id":105647,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9136ef0012d416580069870c0001f01302f..."} 
[2026-06-18 10:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9136ef0012d416580069870c0001f01302f..."} 
[2026-06-18 10:24:24] local.INFO: Processing buffer {"connection_id":105647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9136ef0012d416580069870c0001f01302f..."} 
[2026-06-18 10:24:24] local.INFO: Packet analysis {"connection_id":105647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:24:24] local.INFO: Extracted packet for processing {"connection_id":105647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:24:24] local.INFO: GPS Element Parsed {"raw_longitude":759260544,"raw_latitude":110653632,"longitude_deg":75.9260544,"latitude_deg":11.0653632,"altitude":31,"angle":304,"satellites":47,"speed":58,"hex_longitude":"2d416580","hex_latitude":"069870c0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130146304001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317963408244736000,"note":"Value kept but may cause issues"} 
[2026-06-18 10:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4721039075205447680,"note":"Value kept but may cause issues"} 
[2026-06-18 10:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781758390000,"timestamp_ms":1781758390000,"timestamp_seconds":1781758390,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9136ef0"} 
[2026-06-18 10:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:24: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-06-18 10:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 10:24:24] 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-06-18 10: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-06-18 10:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":105647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":105647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":105647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130146304001,"66":27995,"29":206,"19":48128,"24":58,"16":317963408244736000,"45":4721039075205447680},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 10:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130146304001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:24:24] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 10:24:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317963408244736000,"km_value":317963408244736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4721039075205447680,"description":"Unknown IO ID 45"} 
[2026-06-18 10:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130146304001,"power":27995,"unknown_29":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4721039075205447680}} 
[2026-06-18 10:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":105647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:24:24] local.INFO: GPS data processed {"connection_id":105647,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:24:24] local.INFO: Acknowledgment sent {"connection_id":105647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:24:37] local.INFO: TCP Data received {"connection_id":107393,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:37] local.INFO: Processing buffer {"connection_id":107393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:37] local.INFO: IMEI packet received {"connection_id":107393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:24:37] local.INFO: IMEI acknowledgment sent {"connection_id":107393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:24:44] local.INFO: TCP Data received {"connection_id":107393,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:44] local.INFO: Processing buffer {"connection_id":107393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:44] local.INFO: IMEI packet received {"connection_id":107393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":107393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:24:46] local.INFO: TCP Data received {"connection_id":107393,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:46] local.INFO: Processing buffer {"connection_id":107393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:24:46] local.INFO: IMEI packet received {"connection_id":107393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":107393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:24:57] local.INFO: TCP Data received {"connection_id":107393,"ip":"117.224.95.96","data_length":1360,"data_hex":"000000000000030f8e0a0000019ed9138a48012d4145c0069886880021012d2e..."} 
[2026-06-18 10:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107393,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ed9138a48012d4145c0069886880021012d2e..."} 
[2026-06-18 10:24:57] local.INFO: Processing buffer {"connection_id":107393,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ed9138a48012d4145c0069886880021012d2e..."} 
[2026-06-18 10:24:57] local.INFO: Packet analysis {"connection_id":107393,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:24:57] local.INFO: Extracted packet for processing {"connection_id":107393,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:24:57] local.INFO: GPS Element Parsed {"raw_longitude":759252416,"raw_latitude":110659208,"longitude_deg":75.9252416,"latitude_deg":11.0659208,"altitude":33,"angle":301,"satellites":46,"speed":55,"hex_longitude":"2d4145c0","hex_latitude":"06988688","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130147840001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317963884986105856,"note":"Value kept but may cause issues"} 
[2026-06-18 10:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4712313350928777216,"note":"Value kept but may cause issues"} 
[2026-06-18 10:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781758397000,"timestamp_ms":1781758397000,"timestamp_seconds":1781758397,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9138a48"} 
[2026-06-18 10:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10: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-06-18 10: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:24: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-06-18 10: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-06-18 10:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":107393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":107393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":107393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130147840001,"66":27930,"29":206,"19":48128,"24":55,"16":317963884986105856,"45":4712313350928777216},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 10:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130147840001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:24:57] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 10:24:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317963884986105856,"km_value":317963884986105.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4712313350928777216,"description":"Unknown IO ID 45"} 
[2026-06-18 10:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130147840001,"power":27930,"unknown_29":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":4712313350928777216}} 
[2026-06-18 10:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":107393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:24:57] local.INFO: GPS data processed {"connection_id":107393,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:24:57] local.INFO: Acknowledgment sent {"connection_id":107393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:24:57] local.INFO: Packet analysis {"connection_id":107393,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:24:57] local.INFO: Incomplete packet, waiting for more data {"connection_id":107393,"needed":795,"available":565} 
[2026-06-18 10:25:04] local.INFO: TCP Data received {"connection_id":107393,"ip":"117.224.95.96","data_length":1025,"data_hex":"2d42134006980e88002901212e00410000000a000400ef0100715400f0010045..."} 
[2026-06-18 10:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107393,"packet_length":1025,"packet_hex":"2d42134006980e88002901212e00410000000a000400ef0100715400f0010045..."} 
[2026-06-18 10:25:04] local.INFO: Processing buffer {"connection_id":107393,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed913a5a0012d41258006989af80023012e30..."} 
[2026-06-18 10:25:04] local.INFO: Packet analysis {"connection_id":107393,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:25:04] local.INFO: Extracted packet for processing {"connection_id":107393,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:25:04] local.INFO: GPS Element Parsed {"raw_longitude":759244160,"raw_latitude":110664440,"longitude_deg":75.924416,"latitude_deg":11.066444,"altitude":35,"angle":302,"satellites":48,"speed":55,"hex_longitude":"2d412580","hex_latitude":"06989af8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130149632001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317964348842573824,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4703376520419641344,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781758404000,"timestamp_ms":1781758404000,"timestamp_seconds":1781758404,"priority":1,"record_length":96,"hex_timestamp":"0000019ed913a5a0"} 
[2026-06-18 10:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 10:25: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-06-18 10: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-06-18 10:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130149632001,"66":27908,"29":206,"19":48128,"24":55,"16":317964348842573824,"45":4703376520419641344},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 10:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130149632001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:25:04] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 10:25:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317964348842573824,"km_value":317964348842573.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4703376520419641344,"description":"Unknown IO ID 45"} 
[2026-06-18 10:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130149632001,"power":27908,"unknown_29":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":4703376520419641344}} 
[2026-06-18 10:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":107393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:25:04] local.INFO: GPS data processed {"connection_id":107393,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:25:04] local.INFO: Acknowledgment sent {"connection_id":107393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:25:04] local.INFO: Packet analysis {"connection_id":107393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:25:04] local.INFO: Extracted packet for processing {"connection_id":107393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed913"} 
[2026-06-18 10:25:04] local.INFO: GPS Element Parsed {"raw_longitude":759235840,"raw_latitude":110669728,"longitude_deg":75.923584,"latitude_deg":11.0669728,"altitude":37,"angle":302,"satellites":48,"speed":56,"hex_longitude":"2d410500","hex_latitude":"0698afa0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130151424001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317964821288976384,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4694298952422062080,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781758411000,"timestamp_ms":1781758411000,"timestamp_seconds":1781758411,"priority":1,"record_length":96,"hex_timestamp":"0000019ed913c0f8"} 
[2026-06-18 10:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 10:25: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-06-18 10: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-06-18 10:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130151424001,"66":27919,"29":206,"19":48128,"24":56,"16":317964821288976384,"45":4694298952422062080},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 10:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130151424001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:25:04] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 10:25:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317964821288976384,"km_value":317964821288976.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4694298952422062080,"description":"Unknown IO ID 45"} 
[2026-06-18 10:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130151424001,"power":27919,"unknown_29":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4694298952422062080}} 
[2026-06-18 10:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":107393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:25:04] local.INFO: GPS data processed {"connection_id":107393,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:25:04] local.INFO: Acknowledgment sent {"connection_id":107393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:25:25] local.INFO: TCP Data received {"connection_id":105843,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:25] local.INFO: Processing buffer {"connection_id":105843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:25] local.INFO: IMEI packet received {"connection_id":105843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":105843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:25:26] local.INFO: TCP Data received {"connection_id":105843,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:26] local.INFO: Processing buffer {"connection_id":105843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:26] local.INFO: IMEI packet received {"connection_id":105843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":105843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:25:30] local.INFO: TCP Data received {"connection_id":105843,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:30] local.INFO: Processing buffer {"connection_id":105843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:25:30] local.INFO: IMEI packet received {"connection_id":105843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":105843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:25:32] local.INFO: TCP Data received {"connection_id":105843,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9149bb8012d3febc006995980001701122d..."} 
[2026-06-18 10:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9149bb8012d3febc006995980001701122d..."} 
[2026-06-18 10:25:32] local.INFO: Processing buffer {"connection_id":105843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9149bb8012d3febc006995980001701122d..."} 
[2026-06-18 10:25:32] local.INFO: Packet analysis {"connection_id":105843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed914"} 
[2026-06-18 10:25:32] local.INFO: Extracted packet for processing {"connection_id":105843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed914"} 
[2026-06-18 10:25:32] local.INFO: GPS Element Parsed {"raw_longitude":759163840,"raw_latitude":110713216,"longitude_deg":75.916384,"latitude_deg":11.0713216,"altitude":23,"angle":274,"satellites":45,"speed":59,"hex_longitude":"2d3febc0","hex_latitude":"06995980","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130167552001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317968897212940288,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4605986178491580416,"note":"Value kept but may cause issues"} 
[2026-06-18 10:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781758467000,"timestamp_ms":1781758467000,"timestamp_seconds":1781758467,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9149bb8"} 
[2026-06-18 10:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 10:25: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-06-18 10: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-06-18 10:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130167552001,"66":27843,"79":206,"19":48128,"24":59,"16":317968897212940288,"45":4605986178491580416},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-06-18 10:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130167552001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:25:32] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 10:25:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317968897212940288,"km_value":317968897212940.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4605986178491580416,"description":"Unknown IO ID 45"} 
[2026-06-18 10:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130167552001,"power":27843,"unknown_79":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4605986178491580416}} 
[2026-06-18 10:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":105843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:25:32] local.INFO: GPS data processed {"connection_id":105843,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:25:32] local.INFO: Acknowledgment sent {"connection_id":105843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:26:05] local.INFO: TCP Data received {"connection_id":105843,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed914b710012d3fc400069957f0001801052f..."} 
[2026-06-18 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed914b710012d3fc400069957f0001801052f..."} 
[2026-06-18 10:26:05] local.INFO: Processing buffer {"connection_id":105843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed914b710012d3fc400069957f0001801052f..."} 
[2026-06-18 10:26:05] local.INFO: Packet analysis {"connection_id":105843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed914"} 
[2026-06-18 10:26:05] local.INFO: Extracted packet for processing {"connection_id":105843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed914"} 
[2026-06-18 10:26:05] local.INFO: GPS Element Parsed {"raw_longitude":759153664,"raw_latitude":110712816,"longitude_deg":75.9153664,"latitude_deg":11.0712816,"altitude":24,"angle":261,"satellites":47,"speed":56,"hex_longitude":"2d3fc400","hex_latitude":"069957f0","is_valid_coordinates":true} 
[2026-06-18 10:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130167552001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317969382544244736,"note":"Value kept but may cause issues"} 
[2026-06-18 10:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4605986178491580416,"note":"Value kept but may cause issues"} 
[2026-06-18 10:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781758474000,"timestamp_ms":1781758474000,"timestamp_seconds":1781758474,"priority":1,"record_length":96,"hex_timestamp":"0000019ed914b710"} 
[2026-06-18 10:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 10:26: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-06-18 10:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130167552001,"66":27843,"79":206,"19":48128,"24":56,"16":317969382544244736,"45":4605986178491580416},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-06-18 10:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130167552001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:26:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 10:26:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317969382544244736,"km_value":317969382544244.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4605986178491580416,"description":"Unknown IO ID 45"} 
[2026-06-18 10:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130167552001,"power":27843,"unknown_79":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4605986178491580416}} 
[2026-06-18 10:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":105843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:26:05] local.INFO: GPS data processed {"connection_id":105843,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:26:05] local.INFO: Acknowledgment sent {"connection_id":105843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:26:25] local.INFO: TCP Data received {"connection_id":106419,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:25] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:25] local.INFO: IMEI packet received {"connection_id":106419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":106419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:26:26] local.INFO: TCP Data received {"connection_id":106419,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:26] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:26] local.INFO: IMEI packet received {"connection_id":106419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":106419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:26:30] local.INFO: TCP Data received {"connection_id":106419,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:30] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:26:30] local.INFO: IMEI packet received {"connection_id":106419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":106419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:26:35] local.INFO: TCP Data received {"connection_id":106419,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91595b8012d3e7f4006993700001001172a..."} 
[2026-06-18 10:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91595b8012d3e7f4006993700001001172a..."} 
[2026-06-18 10:26:35] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91595b8012d3e7f4006993700001001172a..."} 
[2026-06-18 10:26:35] local.INFO: Packet analysis {"connection_id":106419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed915"} 
[2026-06-18 10:26:35] local.INFO: Extracted packet for processing {"connection_id":106419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed915"} 
[2026-06-18 10:26:35] local.INFO: GPS Element Parsed {"raw_longitude":759070528,"raw_latitude":110704384,"longitude_deg":75.9070528,"latitude_deg":11.0704384,"altitude":16,"angle":279,"satellites":42,"speed":60,"hex_longitude":"2d3e7f40","hex_latitude":"06993700","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130182400001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317973471353110528,"note":"Value kept but may cause issues"} 
[2026-06-18 10:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4513380911151142912,"note":"Value kept but may cause issues"} 
[2026-06-18 10:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781758531000,"timestamp_ms":1781758531000,"timestamp_seconds":1781758531,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91595b8"} 
[2026-06-18 10:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:26: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-06-18 10: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:26: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-06-18 10: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-06-18 10:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130182400001,"66":27745,"79":206,"19":48128,"24":60,"16":317973471353110528,"45":4513380911151142912},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-06-18 10:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130182400001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:26:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 10:26:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317973471353110528,"km_value":317973471353110.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4513380911151142912,"description":"Unknown IO ID 45"} 
[2026-06-18 10:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130182400001,"power":27745,"unknown_79":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4513380911151142912}} 
[2026-06-18 10:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":106419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:26:35] local.INFO: GPS data processed {"connection_id":106419,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:26:35] local.INFO: Acknowledgment sent {"connection_id":106419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:27:09] local.INFO: TCP Data received {"connection_id":106420,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:27:09] local.INFO: Processing buffer {"connection_id":106420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:27:09] local.INFO: IMEI packet received {"connection_id":106420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":106420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:27:11] local.INFO: TCP Data received {"connection_id":106419,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed915ad28012d3e5c0006993cd0000f01182a..."} 
[2026-06-18 10:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed915ad28012d3e5c0006993cd0000f01182a..."} 
[2026-06-18 10:27:11] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed915ad28012d3e5c0006993cd0000f01182a..."} 
[2026-06-18 10:27:11] local.INFO: Packet analysis {"connection_id":106419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed915"} 
[2026-06-18 10:27:11] local.INFO: Extracted packet for processing {"connection_id":106419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed915"} 
[2026-06-18 10:27:11] local.INFO: GPS Element Parsed {"raw_longitude":759061504,"raw_latitude":110705872,"longitude_deg":75.9061504,"latitude_deg":11.0705872,"altitude":15,"angle":280,"satellites":42,"speed":59,"hex_longitude":"2d3e5c00","hex_latitude":"06993cd0","is_valid_coordinates":true} 
[2026-06-18 10:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130183936001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317973905144807424,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4503388549478285312,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781758537000,"timestamp_ms":1781758537000,"timestamp_seconds":1781758537,"priority":1,"record_length":96,"hex_timestamp":"0000019ed915ad28"} 
[2026-06-18 10:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 10:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130183936001,"66":27821,"79":206,"19":48128,"24":59,"16":317973905144807424,"45":4503388549478285312},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-06-18 10:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130183936001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:27:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 10:27:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317973905144807424,"km_value":317973905144807.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4503388549478285312,"description":"Unknown IO ID 45"} 
[2026-06-18 10:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130183936001,"power":27821,"unknown_79":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4503388549478285312}} 
[2026-06-18 10:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":106419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:27:11] local.INFO: GPS data processed {"connection_id":106419,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:27:11] local.INFO: Acknowledgment sent {"connection_id":106419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:27:25] local.INFO: TCP Data received {"connection_id":107395,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:25] local.INFO: Processing buffer {"connection_id":107395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:25] local.INFO: IMEI packet received {"connection_id":107395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":107395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:27:30] local.INFO: TCP Data received {"connection_id":107395,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:30] local.INFO: Processing buffer {"connection_id":107395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:30] local.INFO: IMEI packet received {"connection_id":107395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":107395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:27:31] local.INFO: TCP Data received {"connection_id":107395,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:31] local.INFO: Processing buffer {"connection_id":107395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:27:31] local.INFO: IMEI packet received {"connection_id":107395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":107395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:27:33] local.INFO: TCP Data received {"connection_id":107395,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91693a0012d3de640069a3978001b01672f..."} 
[2026-06-18 10:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91693a0012d3de640069a3978001b01672f..."} 
[2026-06-18 10:27:33] local.INFO: Processing buffer {"connection_id":107395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91693a0012d3de640069a3978001b01672f..."} 
[2026-06-18 10:27:33] local.INFO: Packet analysis {"connection_id":107395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed916"} 
[2026-06-18 10:27:33] local.INFO: Extracted packet for processing {"connection_id":107395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed916"} 
[2026-06-18 10:27:33] local.INFO: GPS Element Parsed {"raw_longitude":759031360,"raw_latitude":110770552,"longitude_deg":75.903136,"latitude_deg":11.0770552,"altitude":27,"angle":359,"satellites":47,"speed":52,"hex_longitude":"2d3de640","hex_latitude":"069a3978","is_valid_coordinates":true} 
[2026-06-18 10:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130198784001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317977903759360000,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460393246800226304,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781758596000,"timestamp_ms":1781758596000,"timestamp_seconds":1781758596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91693a0"} 
[2026-06-18 10:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:27: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-06-18 10:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:27: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-06-18 10:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130198784001,"66":27767,"81":206,"19":48128,"24":52,"16":317977903759360000,"45":4460393246800226304},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-06-18 10:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130198784001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:27:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 10:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317977903759360000,"km_value":317977903759360,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460393246800226304,"description":"Unknown IO ID 45"} 
[2026-06-18 10:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130198784001,"power":27767,"unknown_81":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4460393246800226304}} 
[2026-06-18 10:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":107395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:27:33] local.INFO: GPS data processed {"connection_id":107395,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:27:33] local.INFO: Acknowledgment sent {"connection_id":107395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:27:34] local.INFO: TCP Data received {"connection_id":105844,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:27:34] local.INFO: Processing buffer {"connection_id":105844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:27:34] local.INFO: IMEI packet received {"connection_id":105844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:27:34] local.INFO: IMEI acknowledgment sent {"connection_id":105844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:27:36] local.INFO: TCP Data received {"connection_id":107395,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed916aef8012d3de440069a5c60001e015e2e..."} 
[2026-06-18 10:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed916aef8012d3de440069a5c60001e015e2e..."} 
[2026-06-18 10:27:36] local.INFO: Processing buffer {"connection_id":107395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed916aef8012d3de440069a5c60001e015e2e..."} 
[2026-06-18 10:27:36] local.INFO: Packet analysis {"connection_id":107395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed916"} 
[2026-06-18 10:27:36] local.INFO: Extracted packet for processing {"connection_id":107395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed916"} 
[2026-06-18 10:27:36] local.INFO: GPS Element Parsed {"raw_longitude":759030848,"raw_latitude":110779488,"longitude_deg":75.9030848,"latitude_deg":11.0779488,"altitude":30,"angle":350,"satellites":46,"speed":49,"hex_longitude":"2d3de440","hex_latitude":"069a5c60","is_valid_coordinates":true} 
[2026-06-18 10:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130200576001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317978337551056896,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4460322878058493952,"note":"Value kept but may cause issues"} 
[2026-06-18 10:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781758603000,"timestamp_ms":1781758603000,"timestamp_seconds":1781758603,"priority":1,"record_length":96,"hex_timestamp":"0000019ed916aef8"} 
[2026-06-18 10:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:27: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-06-18 10:27:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130200576001,"66":27789,"81":206,"19":48128,"24":49,"16":317978337551056896,"45":4460322878058493952},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-06-18 10:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130200576001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:27:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 10:27:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317978337551056896,"km_value":317978337551056.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4460322878058493952,"description":"Unknown IO ID 45"} 
[2026-06-18 10:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130200576001,"power":27789,"unknown_81":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4460322878058493952}} 
[2026-06-18 10:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":107395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:27:36] local.INFO: GPS data processed {"connection_id":107395,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:27:36] local.INFO: Acknowledgment sent {"connection_id":107395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:28:07] local.INFO: TCP Data received {"connection_id":107395,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed916ce38012d3dda80069a8048002101532c..."} 
[2026-06-18 10:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed916ce38012d3dda80069a8048002101532c..."} 
[2026-06-18 10:28:07] local.INFO: Processing buffer {"connection_id":107395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed916ce38012d3dda80069a8048002101532c..."} 
[2026-06-18 10:28:07] local.INFO: Packet analysis {"connection_id":107395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed916"} 
[2026-06-18 10:28:07] local.INFO: Extracted packet for processing {"connection_id":107395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed916"} 
[2026-06-18 10:28:07] local.INFO: GPS Element Parsed {"raw_longitude":759028352,"raw_latitude":110788680,"longitude_deg":75.9028352,"latitude_deg":11.078868,"altitude":33,"angle":339,"satellites":44,"speed":46,"hex_longitude":"2d3dda80","hex_latitude":"069a8048","is_valid_coordinates":true} 
[2026-06-18 10:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130202368001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317978801407524864,"note":"Value kept but may cause issues"} 
[2026-06-18 10:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4459759928107360256,"note":"Value kept but may cause issues"} 
[2026-06-18 10:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781758611000,"timestamp_ms":1781758611000,"timestamp_seconds":1781758611,"priority":1,"record_length":96,"hex_timestamp":"0000019ed916ce38"} 
[2026-06-18 10:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 10:28:07] 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-06-18 10:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130202368001,"66":27865,"81":206,"19":48128,"24":46,"16":317978801407524864,"45":4459759928107360256},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-06-18 10:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130202368001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:28:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 10:28:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317978801407524864,"km_value":317978801407524.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4459759928107360256,"description":"Unknown IO ID 45"} 
[2026-06-18 10:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130202368001,"power":27865,"unknown_81":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4459759928107360256}} 
[2026-06-18 10:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":107395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:28:07] local.INFO: GPS data processed {"connection_id":107395,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:28:07] local.INFO: Acknowledgment sent {"connection_id":107395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:28:27] local.INFO: TCP Data received {"connection_id":106421,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:27] local.INFO: Processing buffer {"connection_id":106421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:27] local.INFO: IMEI packet received {"connection_id":106421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":106421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:28:30] local.INFO: TCP Data received {"connection_id":106421,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:30] local.INFO: Processing buffer {"connection_id":106421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:30] local.INFO: IMEI packet received {"connection_id":106421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":106421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:28:32] local.INFO: TCP Data received {"connection_id":106421,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:32] local.INFO: Processing buffer {"connection_id":106421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:28:32] local.INFO: IMEI packet received {"connection_id":106421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":106421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:28:33] local.INFO: TCP Data received {"connection_id":106421,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed916ed78012d3dcd00069aa1b8002401522c..."} 
[2026-06-18 10:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed916ed78012d3dcd00069aa1b8002401522c..."} 
[2026-06-18 10:28:34] local.INFO: Processing buffer {"connection_id":106421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed916ed78012d3dcd00069aa1b8002401522c..."} 
[2026-06-18 10:28:34] local.INFO: Packet analysis {"connection_id":106421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed916"} 
[2026-06-18 10:28:34] local.INFO: Extracted packet for processing {"connection_id":106421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed916"} 
[2026-06-18 10:28:34] local.INFO: GPS Element Parsed {"raw_longitude":759024896,"raw_latitude":110797240,"longitude_deg":75.9024896,"latitude_deg":11.079724,"altitude":36,"angle":338,"satellites":44,"speed":46,"hex_longitude":"2d3dcd00","hex_latitude":"069aa1b8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130204416001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317979248084123648,"note":"Value kept but may cause issues"} 
[2026-06-18 10:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4457015547086784512,"note":"Value kept but may cause issues"} 
[2026-06-18 10:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781758619000,"timestamp_ms":1781758619000,"timestamp_seconds":1781758619,"priority":1,"record_length":96,"hex_timestamp":"0000019ed916ed78"} 
[2026-06-18 10:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10: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-06-18 10: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-06-18 10:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130204416001,"66":27745,"81":206,"19":48128,"24":46,"16":317979248084123648,"45":4457015547086784512},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-06-18 10:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130204416001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:28:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 10:28:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317979248084123648,"km_value":317979248084123.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4457015547086784512,"description":"Unknown IO ID 45"} 
[2026-06-18 10:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130204416001,"power":27745,"unknown_81":206,"unknown_19":48128,"ignition":46,"odometer":null,"unknown_45":4457015547086784512}} 
[2026-06-18 10:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":106421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:28:34] local.INFO: GPS data processed {"connection_id":106421,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:28:34] local.INFO: Acknowledgment sent {"connection_id":106421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:29:05] local.INFO: TCP Data received {"connection_id":106421,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9170cb8012d3dbf40069ac3a0002601522e..."} 
[2026-06-18 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9170cb8012d3dbf40069ac3a0002601522e..."} 
[2026-06-18 10:29:05] local.INFO: Processing buffer {"connection_id":106421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9170cb8012d3dbf40069ac3a0002601522e..."} 
[2026-06-18 10:29:05] local.INFO: Packet analysis {"connection_id":106421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed917"} 
[2026-06-18 10:29:05] local.INFO: Extracted packet for processing {"connection_id":106421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed917"} 
[2026-06-18 10:29:05] local.INFO: GPS Element Parsed {"raw_longitude":759021376,"raw_latitude":110805920,"longitude_deg":75.9021376,"latitude_deg":11.080592,"altitude":38,"angle":338,"satellites":46,"speed":47,"hex_longitude":"2d3dbf40","hex_latitude":"069ac3a0","is_valid_coordinates":true} 
[2026-06-18 10:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130206464001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317979699055689728,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4453215634903382016,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781758627000,"timestamp_ms":1781758627000,"timestamp_seconds":1781758627,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9170cb8"} 
[2026-06-18 10:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 10:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130206464001,"66":27800,"81":206,"19":48128,"24":47,"16":317979699055689728,"45":4453215634903382016},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-06-18 10:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130206464001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:29:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 10:29:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317979699055689728,"km_value":317979699055689.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4453215634903382016,"description":"Unknown IO ID 45"} 
[2026-06-18 10:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130206464001,"power":27800,"unknown_81":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4453215634903382016}} 
[2026-06-18 10:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":106421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:29:05] local.INFO: GPS data processed {"connection_id":106421,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:29:05] local.INFO: Acknowledgment sent {"connection_id":106421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:29:26] local.INFO: TCP Data received {"connection_id":107396,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:26] local.INFO: Processing buffer {"connection_id":107396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:26] local.INFO: IMEI packet received {"connection_id":107396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":107396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:29:26] local.INFO: TCP Data received {"connection_id":107396,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:26] local.INFO: Processing buffer {"connection_id":107396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:26] local.INFO: IMEI packet received {"connection_id":107396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":107396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:29:31] local.INFO: TCP Data received {"connection_id":107396,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:31] local.INFO: Processing buffer {"connection_id":107396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:29:31] local.INFO: IMEI packet received {"connection_id":107396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":107396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:29:32] local.INFO: TCP Data received {"connection_id":107396,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9183980012d3d5900069c4c10002b01572f..."} 
[2026-06-18 10:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9183980012d3d5900069c4c10002b01572f..."} 
[2026-06-18 10:29:32] local.INFO: Processing buffer {"connection_id":107396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9183980012d3d5900069c4c10002b01572f..."} 
[2026-06-18 10:29:32] local.INFO: Packet analysis {"connection_id":107396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed918"} 
[2026-06-18 10:29:32] local.INFO: Extracted packet for processing {"connection_id":107396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed918"} 
[2026-06-18 10:29:32] local.INFO: GPS Element Parsed {"raw_longitude":758995200,"raw_latitude":110906384,"longitude_deg":75.89952,"latitude_deg":11.0906384,"altitude":43,"angle":343,"satellites":47,"speed":49,"hex_longitude":"2d3d5900","hex_latitude":"069c4c10","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130226176001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317984758527164416,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4423660762374264832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781758704000,"timestamp_ms":1781758704000,"timestamp_seconds":1781758704,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9183980"} 
[2026-06-18 10:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:29: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-06-18 10: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 10:29: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-06-18 10: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-06-18 10:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130226176001,"66":27789,"19":48128,"24":49,"16":317984758527164416,"45":4423660762374264832},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130226176001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:29:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317984758527164416,"km_value":317984758527164.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4423660762374264832,"description":"Unknown IO ID 45"} 
[2026-06-18 10:29:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456130226176001,"power":27789,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4423660762374264832}} 
[2026-06-18 10:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":107396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:29:32] local.INFO: GPS data processed {"connection_id":107396,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:29:32] local.INFO: Acknowledgment sent {"connection_id":107396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:29:35] local.INFO: TCP Data received {"connection_id":107396,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91858c0012d3d4dc0069c71a8002e01542d..."} 
[2026-06-18 10:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91858c0012d3d4dc0069c71a8002e01542d..."} 
[2026-06-18 10:29:35] local.INFO: Processing buffer {"connection_id":107396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91858c0012d3d4dc0069c71a8002e01542d..."} 
[2026-06-18 10:29:35] local.INFO: Packet analysis {"connection_id":107396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed918"} 
[2026-06-18 10:29:35] local.INFO: Extracted packet for processing {"connection_id":107396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed918"} 
[2026-06-18 10:29:35] local.INFO: GPS Element Parsed {"raw_longitude":758992320,"raw_latitude":110916008,"longitude_deg":75.899232,"latitude_deg":11.0916008,"altitude":46,"angle":340,"satellites":45,"speed":49,"hex_longitude":"2d3d4dc0","hex_latitude":"069c71a8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130228224001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317985243858468864,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4420564537632886784,"note":"Value kept but may cause issues"} 
[2026-06-18 10:29:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781758712000,"timestamp_ms":1781758712000,"timestamp_seconds":1781758712,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91858c0"} 
[2026-06-18 10:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:29: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-06-18 10: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 10:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:29:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130228224001,"66":27843,"19":48128,"24":49,"16":317985243858468864,"45":4420564537632886784},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130228224001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:29:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317985243858468864,"km_value":317985243858468.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4420564537632886784,"description":"Unknown IO ID 45"} 
[2026-06-18 10:29:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456130228224001,"power":27843,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4420564537632886784}} 
[2026-06-18 10:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":107396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:29:35] local.INFO: GPS data processed {"connection_id":107396,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:29:35] local.INFO: Acknowledgment sent {"connection_id":107396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:30:08] local.INFO: TCP Data received {"connection_id":107396,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9187800012d3d3d00069c94a80030014a2d..."} 
[2026-06-18 10:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9187800012d3d3d00069c94a80030014a2d..."} 
[2026-06-18 10:30:08] local.INFO: Processing buffer {"connection_id":107396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9187800012d3d3d00069c94a80030014a2d..."} 
[2026-06-18 10:30:08] local.INFO: Packet analysis {"connection_id":107396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed918"} 
[2026-06-18 10:30:08] local.INFO: Extracted packet for processing {"connection_id":107396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed918"} 
[2026-06-18 10:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758988032,"raw_latitude":110924968,"longitude_deg":75.8988032,"latitude_deg":11.0924968,"altitude":48,"angle":330,"satellites":45,"speed":48,"hex_longitude":"2d3d3d00","hex_latitude":"069c94a8","is_valid_coordinates":true} 
[2026-06-18 10:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130230272001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317985724894806016,"note":"Value kept but may cause issues"} 
[2026-06-18 10:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4417397944147355648,"note":"Value kept but may cause issues"} 
[2026-06-18 10:30:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781758720000,"timestamp_ms":1781758720000,"timestamp_seconds":1781758720,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9187800"} 
[2026-06-18 10:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 10:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130230272001,"66":27767,"19":48128,"24":48,"16":317985724894806016,"45":4417397944147355648},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130230272001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:30:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317985724894806016,"km_value":317985724894806.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4417397944147355648,"description":"Unknown IO ID 45"} 
[2026-06-18 10:30:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456130230272001,"power":27767,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4417397944147355648}} 
[2026-06-18 10:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":107396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:30:08] local.INFO: GPS data processed {"connection_id":107396,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:30:08] local.INFO: Acknowledgment sent {"connection_id":107396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:30:25] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:30:25] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:30:25] local.INFO: IMEI packet received {"connection_id":105845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":105845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:30:30] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:30:30] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:30:30] local.INFO: IMEI packet received {"connection_id":105845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":105845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:30:32] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9189740012d3d2940069cb4e0003201482d..."} 
[2026-06-18 10:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9189740012d3d2940069cb4e0003201482d..."} 
[2026-06-18 10:30:32] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9189740012d3d2940069cb4e0003201482d..."} 
[2026-06-18 10:30:32] local.INFO: Packet analysis {"connection_id":105845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed918"} 
[2026-06-18 10:30:32] local.INFO: Extracted packet for processing {"connection_id":105845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed918"} 
[2026-06-18 10:30:32] local.INFO: GPS Element Parsed {"raw_longitude":758982976,"raw_latitude":110933216,"longitude_deg":75.8982976,"latitude_deg":11.0933216,"altitude":50,"angle":328,"satellites":45,"speed":47,"hex_longitude":"2d3d2940","hex_latitude":"069cb4e0","is_valid_coordinates":true} 
[2026-06-18 10:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130232320001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317986188751273984,"note":"Value kept but may cause issues"} 
[2026-06-18 10:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4412683238289745920,"note":"Value kept but may cause issues"} 
[2026-06-18 10:30:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781758728000,"timestamp_ms":1781758728000,"timestamp_seconds":1781758728,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9189740"} 
[2026-06-18 10:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:30: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-06-18 10:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:30: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-06-18 10:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130232320001,"66":27919,"19":48128,"24":47,"16":317986188751273984,"45":4412683238289745920},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130232320001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:30:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317986188751273984,"km_value":317986188751274.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4412683238289745920,"description":"Unknown IO ID 45"} 
[2026-06-18 10:30:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456130232320001,"power":27919,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4412683238289745920}} 
[2026-06-18 10:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":105845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:30:32] local.INFO: GPS data processed {"connection_id":105845,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:30:32] local.INFO: Acknowledgment sent {"connection_id":105845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:31:03] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed919cbd8012d3c67c0069e01600039014b30..."} 
[2026-06-18 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed919cbd8012d3c67c0069e01600039014b30..."} 
[2026-06-18 10:31:03] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed919cbd8012d3c67c0069e01600039014b30..."} 
[2026-06-18 10:31:03] local.INFO: Packet analysis {"connection_id":105845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed919"} 
[2026-06-18 10:31:03] local.INFO: Extracted packet for processing {"connection_id":105845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed919"} 
[2026-06-18 10:31:03] local.INFO: GPS Element Parsed {"raw_longitude":758933440,"raw_latitude":111018336,"longitude_deg":75.893344,"latitude_deg":11.1018336,"altitude":57,"angle":331,"satellites":48,"speed":45,"hex_longitude":"2d3c67c0","hex_latitude":"069e0160","is_valid_coordinates":true} 
[2026-06-18 10:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130252544001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317991115078762496,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357936355341406208,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781758807000,"timestamp_ms":1781758807000,"timestamp_seconds":1781758807,"priority":1,"record_length":96,"hex_timestamp":"0000019ed919cbd8"} 
[2026-06-18 10:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:31: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-06-18 10:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130252544001,"66":27821,"19":48128,"24":45,"16":317991115078762496,"45":4357936355341406208},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130252544001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:31:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317991115078762496,"km_value":317991115078762.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357936355341406208,"description":"Unknown IO ID 45"} 
[2026-06-18 10:31:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456130252544001,"power":27821,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":4357936355341406208}} 
[2026-06-18 10:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":105845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:31:03] local.INFO: GPS data processed {"connection_id":105845,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:31:03] local.INFO: Acknowledgment sent {"connection_id":105845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:31:25] local.INFO: TCP Data received {"connection_id":107398,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:25] local.INFO: Processing buffer {"connection_id":107398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:25] local.INFO: IMEI packet received {"connection_id":107398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":107398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:31:30] local.INFO: TCP Data received {"connection_id":107398,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:30] local.INFO: Processing buffer {"connection_id":107398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:30] local.INFO: IMEI packet received {"connection_id":107398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":107398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:31:31] local.INFO: TCP Data received {"connection_id":107398,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:31] local.INFO: Processing buffer {"connection_id":107398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:31:31] local.INFO: IMEI packet received {"connection_id":107398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":107398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:31:33] local.INFO: TCP Data received {"connection_id":107398,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed919eb18012d3c5600069e22480039014c31..."} 
[2026-06-18 10:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed919eb18012d3c5600069e22480039014c31..."} 
[2026-06-18 10:31:33] local.INFO: Processing buffer {"connection_id":107398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed919eb18012d3c5600069e22480039014c31..."} 
[2026-06-18 10:31:33] local.INFO: Packet analysis {"connection_id":107398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed919"} 
[2026-06-18 10:31:33] local.INFO: Extracted packet for processing {"connection_id":107398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed919"} 
[2026-06-18 10:31:33] local.INFO: GPS Element Parsed {"raw_longitude":758928896,"raw_latitude":111026760,"longitude_deg":75.8928896,"latitude_deg":11.102676,"altitude":57,"angle":332,"satellites":49,"speed":48,"hex_longitude":"2d3c5600","hex_latitude":"069e2248","is_valid_coordinates":true} 
[2026-06-18 10:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130254592001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317991578935230464,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4352658699530100736,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781758815000,"timestamp_ms":1781758815000,"timestamp_seconds":1781758815,"priority":1,"record_length":96,"hex_timestamp":"0000019ed919eb18"} 
[2026-06-18 10:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 10:31: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-06-18 10:31:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:31:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130254592001,"66":27745,"19":48128,"24":48,"16":317991578935230464,"45":4352658699530100736},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130254592001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:31:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317991578935230464,"km_value":317991578935230.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4352658699530100736,"description":"Unknown IO ID 45"} 
[2026-06-18 10:31:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456130254592001,"power":27745,"unknown_19":48128,"ignition":48,"odometer":null,"unknown_45":4352658699530100736}} 
[2026-06-18 10:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":107398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:31:33] local.INFO: GPS data processed {"connection_id":107398,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:31:33] local.INFO: Acknowledgment sent {"connection_id":107398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:31:36] local.INFO: TCP Data received {"connection_id":107398,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91a0a58012d3c43c0069e44a8003b014b30..."} 
[2026-06-18 10:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91a0a58012d3c43c0069e44a8003b014b30..."} 
[2026-06-18 10:31:36] local.INFO: Processing buffer {"connection_id":107398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91a0a58012d3c43c0069e44a8003b014b30..."} 
[2026-06-18 10:31:36] local.INFO: Packet analysis {"connection_id":107398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91a"} 
[2026-06-18 10:31:36] local.INFO: Extracted packet for processing {"connection_id":107398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91a"} 
[2026-06-18 10:31:36] local.INFO: GPS Element Parsed {"raw_longitude":758924224,"raw_latitude":111035560,"longitude_deg":75.8924224,"latitude_deg":11.103556,"altitude":59,"angle":331,"satellites":48,"speed":50,"hex_longitude":"2d3c43c0","hex_latitude":"069e44a8","is_valid_coordinates":true} 
[2026-06-18 10:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:31:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130256640001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317992059971567616,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4347662518695643136,"note":"Value kept but may cause issues"} 
[2026-06-18 10:31:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:31:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781758823000,"timestamp_ms":1781758823000,"timestamp_seconds":1781758823,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91a0a58"} 
[2026-06-18 10:31:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:31:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:31:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 10:31: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-06-18 10:31:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:31:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:31:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:31:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:31:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:31:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:31:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:31:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:31:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:31:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130256640001,"66":27832,"19":48128,"24":50,"16":317992059971567616,"45":4347662518695643136},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:31:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:31:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:31:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130256640001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:31:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:31:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317992059971567616,"km_value":317992059971567.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:31:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4347662518695643136,"description":"Unknown IO ID 45"} 
[2026-06-18 10:31:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456130256640001,"power":27832,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4347662518695643136}} 
[2026-06-18 10:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":107398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:31:36] local.INFO: GPS data processed {"connection_id":107398,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:31:36] local.INFO: Acknowledgment sent {"connection_id":107398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:32:11] local.INFO: TCP Data received {"connection_id":107398,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91a25b0012d3c3300069e6490003b014c30..."} 
[2026-06-18 10:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91a25b0012d3c3300069e6490003b014c30..."} 
[2026-06-18 10:32:11] local.INFO: Processing buffer {"connection_id":107398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91a25b0012d3c3300069e6490003b014c30..."} 
[2026-06-18 10:32:11] local.INFO: Packet analysis {"connection_id":107398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91a"} 
[2026-06-18 10:32:11] local.INFO: Extracted packet for processing {"connection_id":107398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91a"} 
[2026-06-18 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758919936,"raw_latitude":111043728,"longitude_deg":75.8919936,"latitude_deg":11.1043728,"altitude":59,"angle":332,"satellites":48,"speed":54,"hex_longitude":"2d3c3300","hex_latitude":"069e6490","is_valid_coordinates":true} 
[2026-06-18 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130258688001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317992506648166400,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4342525600372926464,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781758830000,"timestamp_ms":1781758830000,"timestamp_seconds":1781758830,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91a25b0"} 
[2026-06-18 10:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 10:32:11] 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-06-18 10:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130258688001,"66":27843,"19":48128,"24":54,"16":317992506648166400,"45":4342525600372926464},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 10:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130258688001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:32:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317992506648166400,"km_value":317992506648166.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4342525600372926464,"description":"Unknown IO ID 45"} 
[2026-06-18 10:32:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456130258688001,"power":27843,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":4342525600372926464}} 
[2026-06-18 10:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":107398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:32:11] local.INFO: GPS data processed {"connection_id":107398,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:32:11] local.INFO: Acknowledgment sent {"connection_id":107398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:32:29] local.INFO: TCP Data received {"connection_id":105846,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:29] local.INFO: Processing buffer {"connection_id":105846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:29] local.INFO: IMEI packet received {"connection_id":105846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":105846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:32:30] local.INFO: TCP Data received {"connection_id":105846,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:30] local.INFO: Processing buffer {"connection_id":105846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:30] local.INFO: IMEI packet received {"connection_id":105846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":105846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:32:35] local.INFO: TCP Data received {"connection_id":105846,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:35] local.INFO: Processing buffer {"connection_id":105846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:32:35] local.INFO: IMEI packet received {"connection_id":105846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:32:35] local.INFO: IMEI acknowledgment sent {"connection_id":105846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:32:37] local.INFO: TCP Data received {"connection_id":105846,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91b4aa8012d3c0940069ff3b80040000e2c..."} 
[2026-06-18 10:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91b4aa8012d3c0940069ff3b80040000e2c..."} 
[2026-06-18 10:32:37] local.INFO: Processing buffer {"connection_id":105846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91b4aa8012d3c0940069ff3b80040000e2c..."} 
[2026-06-18 10:32:37] local.INFO: Packet analysis {"connection_id":105846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:32:37] local.INFO: Extracted packet for processing {"connection_id":105846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758909248,"raw_latitude":111145912,"longitude_deg":75.8909248,"latitude_deg":11.1145912,"altitude":64,"angle":14,"satellites":44,"speed":57,"hex_longitude":"2d3c0940","hex_latitude":"069ff3b8","is_valid_coordinates":true} 
[2026-06-18 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130277888001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317997707853561856,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4323244564494028800,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781758905000,"timestamp_ms":1781758905000,"timestamp_seconds":1781758905,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91b4aa8"} 
[2026-06-18 10:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:32: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-06-18 10:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130277888001,"66":27974,"17":206,"19":48128,"24":57,"16":317997707853561856,"45":4323244564494028800},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-06-18 10:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130277888001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:32:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317997707853561856,"km_value":317997707853561.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4323244564494028800,"description":"Unknown IO ID 45"} 
[2026-06-18 10:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130277888001,"power":27974,"axis_x":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4323244564494028800}} 
[2026-06-18 10:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":105846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:32:37] local.INFO: GPS data processed {"connection_id":105846,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:32:37] local.INFO: Acknowledgment sent {"connection_id":105846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:32:38] local.INFO: TCP Data received {"connection_id":105846,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91b5e30012d3c12c006a00e90003c001b2e..."} 
[2026-06-18 10:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91b5e30012d3c12c006a00e90003c001b2e..."} 
[2026-06-18 10:32:38] local.INFO: Processing buffer {"connection_id":105846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91b5e30012d3c12c006a00e90003c001b2e..."} 
[2026-06-18 10:32:38] local.INFO: Packet analysis {"connection_id":105846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:32:38] local.INFO: Extracted packet for processing {"connection_id":105846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758911680,"raw_latitude":111152784,"longitude_deg":75.891168,"latitude_deg":11.1152784,"altitude":60,"angle":27,"satellites":46,"speed":59,"hex_longitude":"2d3c12c0","hex_latitude":"06a00e90","is_valid_coordinates":true} 
[2026-06-18 10:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130279680001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317998060040880128,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4326059314263603200,"note":"Value kept but may cause issues"} 
[2026-06-18 10:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781758910000,"timestamp_ms":1781758910000,"timestamp_seconds":1781758910,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91b5e30"} 
[2026-06-18 10:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 10:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130279680001,"66":27767,"17":206,"19":48128,"24":59,"16":317998060040880128,"45":4326059314263603200},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-06-18 10:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130279680001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:32:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317998060040880128,"km_value":317998060040880.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4326059314263603200,"description":"Unknown IO ID 45"} 
[2026-06-18 10:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130279680001,"power":27767,"axis_x":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4326059314263603200}} 
[2026-06-18 10:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":105846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:32:38] local.INFO: GPS data processed {"connection_id":105846,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:32:38] local.INFO: Acknowledgment sent {"connection_id":105846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:32:59] local.INFO: TCP Data received {"connection_id":106424,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:32:59] local.INFO: Processing buffer {"connection_id":106424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:32:59] local.INFO: IMEI packet received {"connection_id":106424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":106424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:33:10] local.INFO: TCP Data received {"connection_id":105846,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91b75a0012d3c270006a02bf0003800262e..."} 
[2026-06-18 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91b75a0012d3c270006a02bf0003800262e..."} 
[2026-06-18 10:33:10] local.INFO: Processing buffer {"connection_id":105846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91b75a0012d3c270006a02bf0003800262e..."} 
[2026-06-18 10:33:10] local.INFO: Packet analysis {"connection_id":105846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:33:10] local.INFO: Extracted packet for processing {"connection_id":105846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758916864,"raw_latitude":111160304,"longitude_deg":75.8916864,"latitude_deg":11.1160304,"altitude":56,"angle":38,"satellites":46,"speed":62,"hex_longitude":"2d3c2700","hex_latitude":"06a02bf0","is_valid_coordinates":true} 
[2026-06-18 10:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130280960001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317998502422511616,"note":"Value kept but may cause issues"} 
[2026-06-18 10:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4328733326544113664,"note":"Value kept but may cause issues"} 
[2026-06-18 10:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781758916000,"timestamp_ms":1781758916000,"timestamp_seconds":1781758916,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91b75a0"} 
[2026-06-18 10:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:33:10] 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-06-18 10:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130280960001,"66":27745,"17":206,"19":48128,"24":62,"16":317998502422511616,"45":4328733326544113664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-06-18 10:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130280960001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:33:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317998502422511616,"km_value":317998502422511.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4328733326544113664,"description":"Unknown IO ID 45"} 
[2026-06-18 10:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130280960001,"power":27745,"axis_x":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":4328733326544113664}} 
[2026-06-18 10:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":105846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:33:10] local.INFO: GPS data processed {"connection_id":105846,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:33:10] local.INFO: Acknowledgment sent {"connection_id":105846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:33:26] local.INFO: TCP Data received {"connection_id":105847,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:33:26] local.INFO: Processing buffer {"connection_id":105847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:33:26] local.INFO: IMEI packet received {"connection_id":105847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":105847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:33:28] local.INFO: TCP Data received {"connection_id":105847,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:33:28] local.INFO: Processing buffer {"connection_id":105847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:33:28] local.INFO: IMEI packet received {"connection_id":105847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":105847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:33:30] local.INFO: TCP Data received {"connection_id":105847,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91b8d10012d3c3e0006a04930003300252f..."} 
[2026-06-18 10:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91b8d10012d3c3e0006a04930003300252f..."} 
[2026-06-18 10:33:30] local.INFO: Processing buffer {"connection_id":105847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91b8d10012d3c3e0006a04930003300252f..."} 
[2026-06-18 10:33:30] local.INFO: Packet analysis {"connection_id":105847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:33:30] local.INFO: Extracted packet for processing {"connection_id":105847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758922752,"raw_latitude":111167792,"longitude_deg":75.8922752,"latitude_deg":11.1167792,"altitude":51,"angle":37,"satellites":47,"speed":64,"hex_longitude":"2d3c3e00","hex_latitude":"06a04930","is_valid_coordinates":true} 
[2026-06-18 10:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130282496001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317998957689044992,"note":"Value kept but may cause issues"} 
[2026-06-18 10:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4334433194824429568,"note":"Value kept but may cause issues"} 
[2026-06-18 10:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781758922000,"timestamp_ms":1781758922000,"timestamp_seconds":1781758922,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91b8d10"} 
[2026-06-18 10:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:33: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-06-18 10:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 10:33: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-06-18 10:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130282496001,"66":27691,"17":206,"19":48128,"24":64,"16":317998957689044992,"45":4334433194824429568},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-06-18 10:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130282496001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:33:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317998957689044992,"km_value":317998957689045.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4334433194824429568,"description":"Unknown IO ID 45"} 
[2026-06-18 10:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130282496001,"power":27691,"axis_x":206,"unknown_19":48128,"ignition":64,"odometer":null,"unknown_45":4334433194824429568}} 
[2026-06-18 10:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":105847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:33:30] local.INFO: GPS data processed {"connection_id":105847,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:33:30] local.INFO: Acknowledgment sent {"connection_id":105847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:33:34] local.INFO: TCP Data received {"connection_id":106425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:33:34] local.INFO: Processing buffer {"connection_id":106425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:33:34] local.INFO: IMEI packet received {"connection_id":106425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":106425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:34:01] local.INFO: TCP Data received {"connection_id":105847,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91ba480012d3c53c006a068f8002f001b2f..."} 
[2026-06-18 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91ba480012d3c53c006a068f8002f001b2f..."} 
[2026-06-18 10:34:01] local.INFO: Processing buffer {"connection_id":105847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91ba480012d3c53c006a068f8002f001b2f..."} 
[2026-06-18 10:34:01] local.INFO: Packet analysis {"connection_id":105847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:34:01] local.INFO: Extracted packet for processing {"connection_id":105847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":758928320,"raw_latitude":111175928,"longitude_deg":75.892832,"latitude_deg":11.1175928,"altitude":47,"angle":27,"satellites":47,"speed":66,"hex_longitude":"2d3c53c0","hex_latitude":"06a068f8","is_valid_coordinates":true} 
[2026-06-18 10:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130284032001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317999434430414848,"note":"Value kept but may cause issues"} 
[2026-06-18 10:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4340907119290691584,"note":"Value kept but may cause issues"} 
[2026-06-18 10:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781758928000,"timestamp_ms":1781758928000,"timestamp_seconds":1781758928,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91ba480"} 
[2026-06-18 10:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 10:34:01] 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-06-18 10:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130284032001,"66":27767,"17":206,"19":48128,"24":66,"16":317999434430414848,"45":4340907119290691584},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-06-18 10:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130284032001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:34:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317999434430414848,"km_value":317999434430414.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4340907119290691584,"description":"Unknown IO ID 45"} 
[2026-06-18 10:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130284032001,"power":27767,"axis_x":206,"unknown_19":48128,"ignition":66,"odometer":null,"unknown_45":4340907119290691584}} 
[2026-06-18 10:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":105847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:34:01] local.INFO: GPS data processed {"connection_id":105847,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:34:01] local.INFO: Acknowledgment sent {"connection_id":105847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:34:25] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:25] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:25] local.INFO: IMEI packet received {"connection_id":106426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":106426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:34:28] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:28] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:28] local.INFO: IMEI packet received {"connection_id":106426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":106426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:34:30] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:30] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:34:30] local.INFO: IMEI packet received {"connection_id":106426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":106426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:34:31] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91bbbf0012d3c61c006a08da0002d001130..."} 
[2026-06-18 10:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91bbbf0012d3c61c006a08da0002d001130..."} 
[2026-06-18 10:34:31] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91bbbf0012d3c61c006a08da0002d001130..."} 
[2026-06-18 10:34:31] local.INFO: Packet analysis {"connection_id":106426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:34:31] local.INFO: Extracted packet for processing {"connection_id":106426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91b"} 
[2026-06-18 10:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758931904,"raw_latitude":111185312,"longitude_deg":75.8931904,"latitude_deg":11.1185312,"altitude":45,"angle":17,"satellites":48,"speed":66,"hex_longitude":"2d3c61c0","hex_latitude":"06a08da0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130285568001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":317999924056686592,"note":"Value kept but may cause issues"} 
[2026-06-18 10:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4347029200036231168,"note":"Value kept but may cause issues"} 
[2026-06-18 10:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781758934000,"timestamp_ms":1781758934000,"timestamp_seconds":1781758934,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91bbbf0"} 
[2026-06-18 10:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:34: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-06-18 10: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-06-18 10:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130285568001,"66":27832,"17":206,"19":48128,"24":66,"16":317999924056686592,"45":4347029200036231168},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-06-18 10:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130285568001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:34:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":317999924056686592,"km_value":317999924056686.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4347029200036231168,"description":"Unknown IO ID 45"} 
[2026-06-18 10:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130285568001,"power":27832,"axis_x":206,"unknown_19":48128,"ignition":66,"odometer":null,"unknown_45":4347029200036231168}} 
[2026-06-18 10:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":106426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:34:31] local.INFO: GPS data processed {"connection_id":106426,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:34:31] local.INFO: Acknowledgment sent {"connection_id":106426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:35:03] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91d6d88012d3c954006a25910004c01572e..."} 
[2026-06-18 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91d6d88012d3c954006a25910004c01572e..."} 
[2026-06-18 10:35:03] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91d6d88012d3c954006a25910004c01572e..."} 
[2026-06-18 10:35:03] local.INFO: Packet analysis {"connection_id":106426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91d"} 
[2026-06-18 10:35:03] local.INFO: Extracted packet for processing {"connection_id":106426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91d"} 
[2026-06-18 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758945088,"raw_latitude":111302928,"longitude_deg":75.8945088,"latitude_deg":11.1302928,"altitude":76,"angle":343,"satellites":46,"speed":47,"hex_longitude":"2d3c9540","hex_latitude":"06a25910","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130313472001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318005765212209152,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367787979598872576,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781759045000,"timestamp_ms":1781759045000,"timestamp_seconds":1781759045,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91d6d88"} 
[2026-06-18 10:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10:35: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-06-18 10: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-06-18 10:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130313472001,"66":27821,"56":206,"19":48128,"24":47,"16":318005765212209152,"45":4367787979598872576},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-06-18 10:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130313472001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:35:03] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-06-18 10:35:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318005765212209152,"km_value":318005765212209.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367787979598872576,"description":"Unknown IO ID 45"} 
[2026-06-18 10:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130313472001,"power":27821,"unknown_56":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":4367787979598872576}} 
[2026-06-18 10:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":106426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:35:03] local.INFO: GPS data processed {"connection_id":106426,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:35:03] local.INFO: Acknowledgment sent {"connection_id":106426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:35:25] local.INFO: TCP Data received {"connection_id":105848,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:25] local.INFO: Processing buffer {"connection_id":105848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:25] local.INFO: IMEI packet received {"connection_id":105848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":105848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:35:28] local.INFO: TCP Data received {"connection_id":105848,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:28] local.INFO: Processing buffer {"connection_id":105848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:28] local.INFO: IMEI packet received {"connection_id":105848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:35:28] local.INFO: IMEI acknowledgment sent {"connection_id":105848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:35:30] local.INFO: TCP Data received {"connection_id":105848,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:30] local.INFO: Processing buffer {"connection_id":105848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:35:30] local.INFO: IMEI packet received {"connection_id":105848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":105848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:35:31] local.INFO: TCP Data received {"connection_id":105848,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91d8cc8012d3c8a0006a27e38004e01562b..."} 
[2026-06-18 10:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91d8cc8012d3c8a0006a27e38004e01562b..."} 
[2026-06-18 10:35:31] local.INFO: Processing buffer {"connection_id":105848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91d8cc8012d3c8a0006a27e38004e01562b..."} 
[2026-06-18 10:35:31] local.INFO: Packet analysis {"connection_id":105848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91d"} 
[2026-06-18 10:35:31] local.INFO: Extracted packet for processing {"connection_id":105848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91d"} 
[2026-06-18 10:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758942208,"raw_latitude":111312440,"longitude_deg":75.8942208,"latitude_deg":11.131244,"altitude":78,"angle":342,"satellites":43,"speed":50,"hex_longitude":"2d3c8a00","hex_latitude":"06a27e38","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130315520001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318006246248546304,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365465811043291136,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781759053000,"timestamp_ms":1781759053000,"timestamp_seconds":1781759053,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91d8cc8"} 
[2026-06-18 10:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:35: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-06-18 10: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-06-18 10: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-06-18 10: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-06-18 10:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130315520001,"66":27832,"56":206,"19":48128,"24":50,"16":318006246248546304,"45":4365465811043291136},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-06-18 10:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130315520001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:35:31] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-06-18 10:35:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318006246248546304,"km_value":318006246248546.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365465811043291136,"description":"Unknown IO ID 45"} 
[2026-06-18 10:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130315520001,"power":27832,"unknown_56":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4365465811043291136}} 
[2026-06-18 10:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":105848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:35:31] local.INFO: GPS data processed {"connection_id":105848,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:35:31] local.INFO: Acknowledgment sent {"connection_id":105848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:35:37] local.INFO: TCP Data received {"connection_id":105848,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91da820012d3c800006a2a1f0004d015b26..."} 
[2026-06-18 10:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91da820012d3c800006a2a1f0004d015b26..."} 
[2026-06-18 10:35:37] local.INFO: Processing buffer {"connection_id":105848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91da820012d3c800006a2a1f0004d015b26..."} 
[2026-06-18 10:35:37] local.INFO: Packet analysis {"connection_id":105848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91d"} 
[2026-06-18 10:35:37] local.INFO: Extracted packet for processing {"connection_id":105848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91d"} 
[2026-06-18 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":758939648,"raw_latitude":111321584,"longitude_deg":75.8939648,"latitude_deg":11.1321584,"altitude":77,"angle":347,"satellites":38,"speed":56,"hex_longitude":"2d3c8000","hex_latitude":"06a2a1f0","is_valid_coordinates":true} 
[2026-06-18 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130317568001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318006705810046976,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4362299217557731328,"note":"Value kept but may cause issues"} 
[2026-06-18 10:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781759060000,"timestamp_ms":1781759060000,"timestamp_seconds":1781759060,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91da820"} 
[2026-06-18 10:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 10:35:37] 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-06-18 10:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130317568001,"66":27865,"56":206,"19":48128,"24":56,"16":318006705810046976,"45":4362299217557731328},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-06-18 10:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130317568001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:35:37] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-06-18 10:35:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318006705810046976,"km_value":318006705810047.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4362299217557731328,"description":"Unknown IO ID 45"} 
[2026-06-18 10:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130317568001,"power":27865,"unknown_56":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":4362299217557731328}} 
[2026-06-18 10:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":105848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:35:37] local.INFO: GPS data processed {"connection_id":105848,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:35:37] local.INFO: Acknowledgment sent {"connection_id":105848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:36:10] local.INFO: TCP Data received {"connection_id":105848,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91dbf90012d3c7c0006a2c4e0004e01662c..."} 
[2026-06-18 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91dbf90012d3c7c0006a2c4e0004e01662c..."} 
[2026-06-18 10:36:10] local.INFO: Processing buffer {"connection_id":105848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91dbf90012d3c7c0006a2c4e0004e01662c..."} 
[2026-06-18 10:36:10] local.INFO: Packet analysis {"connection_id":105848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91d"} 
[2026-06-18 10:36:10] local.INFO: Extracted packet for processing {"connection_id":105848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91d"} 
[2026-06-18 10:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758938624,"raw_latitude":111330528,"longitude_deg":75.8938624,"latitude_deg":11.1330528,"altitude":78,"angle":358,"satellites":44,"speed":62,"hex_longitude":"2d3c7c00","hex_latitude":"06a2c4e0","is_valid_coordinates":true} 
[2026-06-18 10:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130319360001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318007143896711168,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4359484467792965632,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781759066000,"timestamp_ms":1781759066000,"timestamp_seconds":1781759066,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91dbf90"} 
[2026-06-18 10:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:36:10] 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-06-18 10:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 10:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130319360001,"66":27604,"58":206,"19":48128,"24":62,"16":318007143896711168,"45":4359484467792965632},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-06-18 10:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130319360001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:36:10] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-06-18 10:36:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318007143896711168,"km_value":318007143896711.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4359484467792965632,"description":"Unknown IO ID 45"} 
[2026-06-18 10:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130319360001,"power":27604,"unknown_58":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":4359484467792965632}} 
[2026-06-18 10:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":105848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:36:10] local.INFO: GPS data processed {"connection_id":105848,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:36:10] local.INFO: Acknowledgment sent {"connection_id":105848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:36:25] local.INFO: TCP Data received {"connection_id":107400,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:25] local.INFO: Processing buffer {"connection_id":107400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:25] local.INFO: IMEI packet received {"connection_id":107400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":107400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:36:26] local.INFO: TCP Data received {"connection_id":107400,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:26] local.INFO: Processing buffer {"connection_id":107400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:26] local.INFO: IMEI packet received {"connection_id":107400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":107400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:36:30] local.INFO: TCP Data received {"connection_id":107400,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:30] local.INFO: Processing buffer {"connection_id":107400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:30] local.INFO: IMEI packet received {"connection_id":107400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":107400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:36:30] local.INFO: TCP Data received {"connection_id":107400,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:30] local.INFO: Processing buffer {"connection_id":107400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:36:30] local.INFO: IMEI packet received {"connection_id":107400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":107400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:36:32] local.INFO: TCP Data received {"connection_id":107400,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91eb5a8012d3c9d0006a43690003d00072e..."} 
[2026-06-18 10:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91eb5a8012d3c9d0006a43690003d00072e..."} 
[2026-06-18 10:36:32] local.INFO: Processing buffer {"connection_id":107400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91eb5a8012d3c9d0006a43690003d00072e..."} 
[2026-06-18 10:36:32] local.INFO: Packet analysis {"connection_id":107400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:36:32] local.INFO: Extracted packet for processing {"connection_id":107400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758947072,"raw_latitude":111425168,"longitude_deg":75.8947072,"latitude_deg":11.1425168,"altitude":61,"angle":7,"satellites":46,"speed":60,"hex_longitude":"2d3c9d00","hex_latitude":"06a43690","is_valid_coordinates":true} 
[2026-06-18 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130335488001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318011760986554368,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367225029676693504,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781759129000,"timestamp_ms":1781759129000,"timestamp_seconds":1781759129,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91eb5a8"} 
[2026-06-18 10:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:36: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-06-18 10:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-06-18 10:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":927,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:36:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130335488001,"66":27626,"12":206,"19":48128,"24":60,"16":318011760986554368,"45":4367225029676693504},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 10:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130335488001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:36:32] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 10:36:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318011760986554368,"km_value":318011760986554.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367225029676693504,"description":"Unknown IO ID 45"} 
[2026-06-18 10:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130335488001,"power":27626,"unknown_12":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4367225029676693504}} 
[2026-06-18 10:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":107400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:36:32] local.INFO: GPS data processed {"connection_id":107400,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:36:32] local.INFO: Acknowledgment sent {"connection_id":107400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:36:37] local.INFO: TCP Data received {"connection_id":107400,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91ec548012d3ca2c006a44da0003b001230..."} 
[2026-06-18 10:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91ec548012d3ca2c006a44da0003b001230..."} 
[2026-06-18 10:36:37] local.INFO: Processing buffer {"connection_id":107400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91ec548012d3ca2c006a44da0003b001230..."} 
[2026-06-18 10:36:37] local.INFO: Packet analysis {"connection_id":107400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:36:37] local.INFO: Extracted packet for processing {"connection_id":107400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:36:37] local.INFO: GPS Element Parsed {"raw_longitude":758948544,"raw_latitude":111431072,"longitude_deg":75.8948544,"latitude_deg":11.1431072,"altitude":59,"angle":18,"satellites":48,"speed":61,"hex_longitude":"2d3ca2c0","hex_latitude":"06a44da0","is_valid_coordinates":true} 
[2026-06-18 10:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130337024001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318012057339297792,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367647242144092160,"note":"Value kept but may cause issues"} 
[2026-06-18 10:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781759133000,"timestamp_ms":1781759133000,"timestamp_seconds":1781759133,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91ec548"} 
[2026-06-18 10:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 10:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130337024001,"66":27626,"12":206,"19":48128,"24":61,"16":318012057339297792,"45":4367647242144092160},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 10:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130337024001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:36:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 10:36:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318012057339297792,"km_value":318012057339297.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367647242144092160,"description":"Unknown IO ID 45"} 
[2026-06-18 10:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130337024001,"power":27626,"unknown_12":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4367647242144092160}} 
[2026-06-18 10:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":107400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:36:37] local.INFO: GPS data processed {"connection_id":107400,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:36:37] local.INFO: Acknowledgment sent {"connection_id":107400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:37:11] local.INFO: TCP Data received {"connection_id":107400,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91edcb8012d3cb34006a46ea00037001c31..."} 
[2026-06-18 10:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91edcb8012d3cb34006a46ea00037001c31..."} 
[2026-06-18 10:37:11] local.INFO: Processing buffer {"connection_id":107400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91edcb8012d3cb34006a46ea00037001c31..."} 
[2026-06-18 10:37:11] local.INFO: Packet analysis {"connection_id":107400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:37:11] local.INFO: Extracted packet for processing {"connection_id":107400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758952768,"raw_latitude":111439520,"longitude_deg":75.8952768,"latitude_deg":11.143952,"altitude":55,"angle":28,"satellites":49,"speed":64,"hex_longitude":"2d3cb340","hex_latitude":"06a46ea0","is_valid_coordinates":true} 
[2026-06-18 10:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130338048001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318012512605831168,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369265723261689856,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781759139000,"timestamp_ms":1781759139000,"timestamp_seconds":1781759139,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91edcb8"} 
[2026-06-18 10:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 10:37:11] 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-06-18 10:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130338048001,"66":27691,"12":206,"19":48128,"24":64,"16":318012512605831168,"45":4369265723261689856},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 10:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130338048001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:37:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 10:37:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318012512605831168,"km_value":318012512605831.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369265723261689856,"description":"Unknown IO ID 45"} 
[2026-06-18 10:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130338048001,"power":27691,"unknown_12":206,"unknown_19":48128,"ignition":64,"odometer":null,"unknown_45":4369265723261689856}} 
[2026-06-18 10:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":107400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:37:11] local.INFO: GPS data processed {"connection_id":107400,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:37:11] local.INFO: Acknowledgment sent {"connection_id":107400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:37:30] local.INFO: TCP Data received {"connection_id":106427,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:37:30] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:37:30] local.INFO: IMEI packet received {"connection_id":106427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":106427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:37:33] local.INFO: TCP Data received {"connection_id":106427,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:37:33] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:37:33] local.INFO: IMEI packet received {"connection_id":106427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":106427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:37:34] local.INFO: TCP Data received {"connection_id":106427,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91ef428012d3cc54006a490c00033001531..."} 
[2026-06-18 10:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91ef428012d3cc54006a490c00033001531..."} 
[2026-06-18 10:37:34] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91ef428012d3cc54006a490c00033001531..."} 
[2026-06-18 10:37:34] local.INFO: Packet analysis {"connection_id":106427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:37:34] local.INFO: Extracted packet for processing {"connection_id":106427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":758957376,"raw_latitude":111448256,"longitude_deg":75.8957376,"latitude_deg":11.1448256,"altitude":51,"angle":21,"satellites":49,"speed":66,"hex_longitude":"2d3cc540","hex_latitude":"06a490c0","is_valid_coordinates":true} 
[2026-06-18 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130339584001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318012989347201024,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4373910060379578368,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781759145000,"timestamp_ms":1781759145000,"timestamp_seconds":1781759145,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91ef428"} 
[2026-06-18 10:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 10:37:34] 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-06-18 10:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130339584001,"66":27745,"12":206,"19":48128,"24":66,"16":318012989347201024,"45":4373910060379578368},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 10:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130339584001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:37:34] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 10:37:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318012989347201024,"km_value":318012989347201.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4373910060379578368,"description":"Unknown IO ID 45"} 
[2026-06-18 10:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130339584001,"power":27745,"unknown_12":206,"unknown_19":48128,"ignition":66,"odometer":null,"unknown_45":4373910060379578368}} 
[2026-06-18 10:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":106427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:37:34] local.INFO: GPS data processed {"connection_id":106427,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:37:34] local.INFO: Acknowledgment sent {"connection_id":106427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:37:37] local.INFO: TCP Data received {"connection_id":106427,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91effe0012d3cca8006a4a3a80031000931..."} 
[2026-06-18 10:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91effe0012d3cca8006a4a3a80031000931..."} 
[2026-06-18 10:37:37] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91effe0012d3cca8006a4a3a80031000931..."} 
[2026-06-18 10:37:37] local.INFO: Packet analysis {"connection_id":106427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:37:37] local.INFO: Extracted packet for processing {"connection_id":106427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91e"} 
[2026-06-18 10:37:37] local.INFO: GPS Element Parsed {"raw_longitude":758958720,"raw_latitude":111453096,"longitude_deg":75.895872,"latitude_deg":11.1453096,"altitude":49,"angle":9,"satellites":49,"speed":67,"hex_longitude":"2d3cca80","hex_latitude":"06a4a3a8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130341120001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318013234160336896,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378976609962606592,"note":"Value kept but may cause issues"} 
[2026-06-18 10:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781759148000,"timestamp_ms":1781759148000,"timestamp_seconds":1781759148,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91effe0"} 
[2026-06-18 10:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 10:37: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-06-18 10: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-06-18 10:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130341120001,"66":27865,"12":206,"19":48128,"24":67,"16":318013234160336896,"45":4378976609962606592},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 10:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130341120001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:37:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 10:37:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318013234160336896,"km_value":318013234160336.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378976609962606592,"description":"Unknown IO ID 45"} 
[2026-06-18 10:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130341120001,"power":27865,"unknown_12":206,"unknown_19":48128,"ignition":67,"odometer":null,"unknown_45":4378976609962606592}} 
[2026-06-18 10:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":106427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:37:37] local.INFO: GPS data processed {"connection_id":106427,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:37:37] local.INFO: Acknowledgment sent {"connection_id":106427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:37:57] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:37:57] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:37:57] local.INFO: IMEI packet received {"connection_id":107402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":107402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:37:58] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:37:58] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:37:58] local.INFO: IMEI packet received {"connection_id":107402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":107402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:38:01] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:38:01] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:38:01] local.INFO: IMEI packet received {"connection_id":107402,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":107402,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:38:03] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-18 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-18 10:38:03] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-18 10:38:03] local.INFO: Packet analysis {"connection_id":107402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 10:38:03] local.INFO: Extracted packet for processing {"connection_id":107402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 10:38:03] 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-06-18 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289476797300736,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:38:03] 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-06-18 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107402,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 10:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.139","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 10:38:03] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":107402,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 10:38:03] local.ERROR: GPS data processing failed {"connection_id":107402,"error":"No valid data to process"} 
[2026-06-18 10:38:03] local.INFO: Acknowledgment sent {"connection_id":107402,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 10:38:11] local.INFO: TCP Data received {"connection_id":106427,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91f0b98012d3ccbc006a4b7200031016630..."} 
[2026-06-18 10:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91f0b98012d3ccbc006a4b7200031016630..."} 
[2026-06-18 10:38:11] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91f0b98012d3ccbc006a4b7200031016630..."} 
[2026-06-18 10:38:11] local.INFO: Packet analysis {"connection_id":106427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed91f"} 
[2026-06-18 10:38:11] local.INFO: Extracted packet for processing {"connection_id":106427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed91f"} 
[2026-06-18 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758959040,"raw_latitude":111458080,"longitude_deg":75.895904,"latitude_deg":11.145808,"altitude":49,"angle":358,"satellites":48,"speed":65,"hex_longitude":"2d3ccbc0","hex_latitude":"06a4b720","is_valid_coordinates":true} 
[2026-06-18 10:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130341888001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318013478973472768,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4380454353591576576,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781759151000,"timestamp_ms":1781759151000,"timestamp_seconds":1781759151,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91f0b98"} 
[2026-06-18 10:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 10:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130341888001,"66":27604,"12":206,"19":48128,"24":65,"16":318013478973472768,"45":4380454353591576576},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 10:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130341888001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:38:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 10:38:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318013478973472768,"km_value":318013478973472.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4380454353591576576,"description":"Unknown IO ID 45"} 
[2026-06-18 10:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130341888001,"power":27604,"unknown_12":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":4380454353591576576}} 
[2026-06-18 10:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":106427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:38:11] local.INFO: GPS data processed {"connection_id":106427,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:38:11] local.INFO: Acknowledgment sent {"connection_id":106427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:38:26] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:26] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:26] local.INFO: IMEI packet received {"connection_id":106429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":106429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:38:26] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:26] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:26] local.INFO: IMEI packet received {"connection_id":106429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":106429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:38:30] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:30] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:38:30] local.INFO: IMEI packet received {"connection_id":106429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":106429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:38:34] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9213648012d196740071fed80004a014009..."} 
[2026-06-18 10:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9213648012d196740071fed80004a014009..."} 
[2026-06-18 10:38:34] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9213648012d196740071fed80004a014009..."} 
[2026-06-18 10:38:34] local.INFO: Packet analysis {"connection_id":107402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:38:34] local.INFO: Extracted packet for processing {"connection_id":107402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:38:34] local.INFO: GPS Element Parsed {"raw_longitude":756639552,"raw_latitude":119532928,"longitude_deg":75.6639552,"latitude_deg":11.9532928,"altitude":74,"angle":320,"satellites":9,"speed":1,"hex_longitude":"2d196740","hex_latitude":"071fed80","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289476797300736,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 10:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781759293000,"timestamp_ms":1781759293000,"timestamp_seconds":1781759293,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9213648"} 
[2026-06-18 10:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:38:34] 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-06-18 10: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":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 10:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12265,"121":206,"28":31744,"24":1,"16":3289476797300736},"client_ip":"117.224.180.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16]} 
[2026-06-18 10:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 10:38:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:38:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289476797300736,"km_value":3289476797300.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:38:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12265,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null}} 
[2026-06-18 10:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":107402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:38:34] local.INFO: GPS data processed {"connection_id":107402,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:38:34] local.INFO: Acknowledgment sent {"connection_id":107402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:38:37] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9208a68012d3c278006a617d8004c014124..."} 
[2026-06-18 10:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9208a68012d3c278006a617d8004c014124..."} 
[2026-06-18 10:38:37] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9208a68012d3c278006a617d8004c014124..."} 
[2026-06-18 10:38:37] local.INFO: Packet analysis {"connection_id":106429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed920"} 
[2026-06-18 10:38:37] local.INFO: Extracted packet for processing {"connection_id":106429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed920"} 
[2026-06-18 10:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758916992,"raw_latitude":111548376,"longitude_deg":75.8916992,"latitude_deg":11.1548376,"altitude":76,"angle":321,"satellites":36,"speed":53,"hex_longitude":"2d3c2780","hex_latitude":"06a617d8","is_valid_coordinates":true} 
[2026-06-18 10:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130365696001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318018422480830464,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4341610806827892736,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781759249000,"timestamp_ms":1781759249000,"timestamp_seconds":1781759249,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9208a68"} 
[2026-06-18 10:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 10:38:37] 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-06-18 10:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130365696001,"66":27919,"11":206,"19":48128,"24":53,"16":318018422480830464,"45":4341610806827892736},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-06-18 10:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130365696001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318018422480830464,"km_value":318018422480830.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4341610806827892736,"description":"Unknown IO ID 45"} 
[2026-06-18 10:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130365696001,"power":27919,"unknown_11":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4341610806827892736}} 
[2026-06-18 10:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":106429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:38:37] local.INFO: GPS data processed {"connection_id":106429,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:38:37] local.INFO: Acknowledgment sent {"connection_id":106429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:38:37] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.95.96","data_length":1360,"data_hex":"000000000000030f8e0a0000019ed920a5c0012d3c0fc006a63650004a014429..."} 
[2026-06-18 10:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ed920a5c0012d3c0fc006a63650004a014429..."} 
[2026-06-18 10:38:37] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ed920a5c0012d3c0fc006a63650004a014429..."} 
[2026-06-18 10:38:37] local.INFO: Packet analysis {"connection_id":106429,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ed920"} 
[2026-06-18 10:38:37] local.INFO: Extracted packet for processing {"connection_id":106429,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed920"} 
[2026-06-18 10:38:37] local.INFO: GPS Element Parsed {"raw_longitude":758910912,"raw_latitude":111556176,"longitude_deg":75.8910912,"latitude_deg":11.1556176,"altitude":74,"angle":324,"satellites":41,"speed":58,"hex_longitude":"2d3c0fc0","hex_latitude":"06a63650","is_valid_coordinates":true} 
[2026-06-18 10:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130367744001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318018899222200320,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4334573932412131328,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781759256000,"timestamp_ms":1781759256000,"timestamp_seconds":1781759256,"priority":1,"record_length":96,"hex_timestamp":"0000019ed920a5c0"} 
[2026-06-18 10:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10: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-06-18 10:38:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130367744001,"66":27919,"11":206,"19":48128,"24":58,"16":318018899222200320,"45":4334573932412131328},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-06-18 10:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130367744001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318018899222200320,"km_value":318018899222200.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4334573932412131328,"description":"Unknown IO ID 45"} 
[2026-06-18 10:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130367744001,"power":27919,"unknown_11":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4334573932412131328}} 
[2026-06-18 10:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":106429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:38:37] local.INFO: GPS data processed {"connection_id":106429,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:38:37] local.INFO: Acknowledgment sent {"connection_id":106429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:38:37] local.INFO: Packet analysis {"connection_id":106429,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed920"} 
[2026-06-18 10:38:37] local.INFO: Incomplete packet, waiting for more data {"connection_id":106429,"needed":795,"available":565} 
[2026-06-18 10:38:42] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.95.96","data_length":230,"data_hex":"2d3c984006a58340004301482e00240000000a000400ef0100715300f0010045..."} 
[2026-06-18 10:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":230,"packet_hex":"2d3c984006a58340004301482e00240000000a000400ef0100715300f0010045..."} 
[2026-06-18 10:38:42] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed920bd30012d3bfb8006a653d80048014730..."} 
[2026-06-18 10:38:42] local.INFO: Packet analysis {"connection_id":106429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed920"} 
[2026-06-18 10:38:42] local.INFO: Extracted packet for processing {"connection_id":106429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed920"} 
[2026-06-18 10:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758905728,"raw_latitude":111563736,"longitude_deg":75.8905728,"latitude_deg":11.1563736,"altitude":72,"angle":327,"satellites":48,"speed":61,"hex_longitude":"2d3bfb80","hex_latitude":"06a653d8","is_valid_coordinates":true} 
[2026-06-18 10:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130369536001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318019341603831808,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4327888901717250048,"note":"Value kept but may cause issues"} 
[2026-06-18 10:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781759262000,"timestamp_ms":1781759262000,"timestamp_seconds":1781759262,"priority":1,"record_length":96,"hex_timestamp":"0000019ed920bd30"} 
[2026-06-18 10:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:38:42] 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-06-18 10:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10:38:42] 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-06-18 10:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130369536001,"66":27930,"11":206,"19":48128,"24":61,"16":318019341603831808,"45":4327888901717250048},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-06-18 10:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130369536001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:38:42] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 10:38:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318019341603831808,"km_value":318019341603831.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4327888901717250048,"description":"Unknown IO ID 45"} 
[2026-06-18 10:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130369536001,"power":27930,"unknown_11":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4327888901717250048}} 
[2026-06-18 10:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":106429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:38:42] local.INFO: GPS data processed {"connection_id":106429,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:38:42] local.INFO: Acknowledgment sent {"connection_id":106429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:38:59] local.INFO: TCP Data received {"connection_id":105649,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:38:59] local.INFO: Processing buffer {"connection_id":105649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:38:59] local.INFO: IMEI packet received {"connection_id":105649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":105649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:39:06] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9218850012d196700071ff0000042013b0c..."} 
[2026-06-18 10:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9218850012d196700071ff0000042013b0c..."} 
[2026-06-18 10:39:06] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9218850012d196700071ff0000042013b0c..."} 
[2026-06-18 10:39:06] local.INFO: Packet analysis {"connection_id":107402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:39:06] local.INFO: Extracted packet for processing {"connection_id":107402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:39:06] local.INFO: GPS Element Parsed {"raw_longitude":756639488,"raw_latitude":119533568,"longitude_deg":75.6639488,"latitude_deg":11.9533568,"altitude":66,"angle":315,"satellites":12,"speed":1,"hex_longitude":"2d196700","hex_latitude":"071ff000","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130379008001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289515452006400,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830502172894003200,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781759314000,"timestamp_ms":1781759314000,"timestamp_seconds":1781759314,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9218850"} 
[2026-06-18 10:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 10:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130379008001,"66":12211,"121":206,"28":31744,"24":1,"16":3289515452006400,"45":1830502172894003200},"client_ip":"117.224.180.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130379008001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:39:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:39:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289515452006400,"km_value":3289515452006.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830502172894003200,"description":"Unknown IO ID 45"} 
[2026-06-18 10:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130379008001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1830502172894003200}} 
[2026-06-18 10:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":107402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:39:06] local.INFO: GPS data processed {"connection_id":107402,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:39:06] local.INFO: Acknowledgment sent {"connection_id":107402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:39:25] local.INFO: TCP Data received {"connection_id":107403,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:25] local.INFO: Processing buffer {"connection_id":107403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:25] local.INFO: IMEI packet received {"connection_id":107403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":107403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:39:26] local.INFO: TCP Data received {"connection_id":107403,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:26] local.INFO: Processing buffer {"connection_id":107403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:26] local.INFO: IMEI packet received {"connection_id":107403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":107403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:39:31] local.INFO: TCP Data received {"connection_id":107403,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:31] local.INFO: Processing buffer {"connection_id":107403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:39:31] local.INFO: IMEI packet received {"connection_id":107403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":107403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:39:32] local.INFO: TCP Data received {"connection_id":107403,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9218c38012d3b160006a72bc0003001182c..."} 
[2026-06-18 10:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9218c38012d3b160006a72bc0003001182c..."} 
[2026-06-18 10:39:32] local.INFO: Processing buffer {"connection_id":107403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9218c38012d3b160006a72bc0003001182c..."} 
[2026-06-18 10:39:32] local.INFO: Packet analysis {"connection_id":107403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:39:32] local.INFO: Extracted packet for processing {"connection_id":107403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758846976,"raw_latitude":111619008,"longitude_deg":75.8846976,"latitude_deg":11.1619008,"altitude":48,"angle":280,"satellites":44,"speed":66,"hex_longitude":"2d3b1600","hex_latitude":"06a72bc0","is_valid_coordinates":true} 
[2026-06-18 10:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130383104001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318023529196945408,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4268497681646923776,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781759315000,"timestamp_ms":1781759315000,"timestamp_seconds":1781759315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9218c38"} 
[2026-06-18 10:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10:39: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-06-18 10:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130383104001,"66":27821,"154":206,"28":21760,"24":66,"16":318023529196945408,"45":4268497681646923776},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,28,24,16,45]} 
[2026-06-18 10:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130383104001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:39:32] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 10:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318023529196945408,"km_value":318023529196945.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4268497681646923776,"description":"Unknown IO ID 45"} 
[2026-06-18 10:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130383104001,"power":27821,"unknown_154":206,"unknown_28":21760,"ignition":66,"odometer":null,"unknown_45":4268497681646923776}} 
[2026-06-18 10:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":107403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:39:32] local.INFO: GPS data processed {"connection_id":107403,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:39:32] local.INFO: Acknowledgment sent {"connection_id":107403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:39:34] local.INFO: TCP Data received {"connection_id":105650,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:39:34] local.INFO: Processing buffer {"connection_id":105650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:39:34] local.INFO: IMEI packet received {"connection_id":105650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":105650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:39:37] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":795,"data_hex":"000000000000030f8e0a0000019ed921da58012d196680071ff0480040013b0f..."} 
[2026-06-18 10:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed921da58012d196680071ff0480040013b0f..."} 
[2026-06-18 10:39:37] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed921da58012d196680071ff0480040013b0f..."} 
[2026-06-18 10:39:37] local.INFO: Packet analysis {"connection_id":107402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:39:37] local.INFO: Extracted packet for processing {"connection_id":107402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:39:37] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533640,"longitude_deg":75.663936,"latitude_deg":11.953364,"altitude":64,"angle":315,"satellites":15,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-06-18 10:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130384384001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289532631875584,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830431804149989376,"note":"Value kept but may cause issues"} 
[2026-06-18 10:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781759335000,"timestamp_ms":1781759335000,"timestamp_seconds":1781759335,"priority":1,"record_length":96,"hex_timestamp":"0000019ed921da58"} 
[2026-06-18 10:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 10:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130384384001,"66":12178,"121":206,"28":31744,"24":0,"16":3289532631875584,"45":1830431804149989376},"client_ip":"117.224.180.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130384384001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:39:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:39:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289532631875584,"km_value":3289532631875.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830431804149989376,"description":"Unknown IO ID 45"} 
[2026-06-18 10:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130384384001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830431804149989376}} 
[2026-06-18 10:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":107402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:39:37] local.INFO: GPS data processed {"connection_id":107402,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:39:37] local.INFO: Acknowledgment sent {"connection_id":107402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:40:05] local.INFO: TCP Data received {"connection_id":107403,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed921a3a8012d3aef0006a732f8002c01182f..."} 
[2026-06-18 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed921a3a8012d3aef0006a732f8002c01182f..."} 
[2026-06-18 10:40:05] local.INFO: Processing buffer {"connection_id":107403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed921a3a8012d3aef0006a732f8002c01182f..."} 
[2026-06-18 10:40:05] local.INFO: Packet analysis {"connection_id":107403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:40:05] local.INFO: Extracted packet for processing {"connection_id":107403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed921"} 
[2026-06-18 10:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758836992,"raw_latitude":111620856,"longitude_deg":75.8836992,"latitude_deg":11.1620856,"altitude":44,"angle":280,"satellites":47,"speed":67,"hex_longitude":"2d3aef00","hex_latitude":"06a732f8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130384640001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318024014528249856,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4257590526299848704,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781759321000,"timestamp_ms":1781759321000,"timestamp_seconds":1781759321,"priority":1,"record_length":96,"hex_timestamp":"0000019ed921a3a8"} 
[2026-06-18 10:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:40:05] 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-06-18 10: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 10:40: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-06-18 10: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-06-18 10:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130384640001,"66":27876,"193":206,"19":48128,"24":67,"16":318024014528249856,"45":4257590526299848704},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-06-18 10:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130384640001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:40:05] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-18 10:40:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 10:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318024014528249856,"km_value":318024014528249.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4257590526299848704,"description":"Unknown IO ID 45"} 
[2026-06-18 10:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130384640001,"power":27876,"unknown_193":206,"unknown_19":48128,"ignition":67,"odometer":null,"unknown_45":4257590526299848704}} 
[2026-06-18 10:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":107403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:40:05] local.INFO: GPS data processed {"connection_id":107403,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:40:05] local.INFO: Acknowledgment sent {"connection_id":107403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:40:15] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9222c60012d196600071ff0c8003e013b12..."} 
[2026-06-18 10:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9222c60012d196600071ff0c8003e013b12..."} 
[2026-06-18 10:40:15] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9222c60012d196600071ff0c8003e013b12..."} 
[2026-06-18 10:40:15] local.INFO: Packet analysis {"connection_id":107402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:40:15] local.INFO: Extracted packet for processing {"connection_id":107402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:40:15] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533768,"longitude_deg":75.6639232,"latitude_deg":11.9533768,"altitude":62,"angle":315,"satellites":18,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-06-18 10:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130389760001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289562696646656,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830291066661652480,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781759356000,"timestamp_ms":1781759356000,"timestamp_seconds":1781759356,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9222c60"} 
[2026-06-18 10:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 10:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130389760001,"66":12232,"121":206,"28":31744,"24":0,"16":3289562696646656,"45":1830291066661652480},"client_ip":"117.224.180.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130389760001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:40:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:40:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289562696646656,"km_value":3289562696646.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830291066661652480,"description":"Unknown IO ID 45"} 
[2026-06-18 10:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130389760001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830291066661652480}} 
[2026-06-18 10:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":107402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:40:16] local.INFO: GPS data processed {"connection_id":107402,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:40:16] local.INFO: Acknowledgment sent {"connection_id":107402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:40:25] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:25] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:25] local.INFO: IMEI packet received {"connection_id":105850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":105850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:40:27] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:27] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:27] local.INFO: IMEI packet received {"connection_id":105850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":105850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:40:30] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:30] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:40:30] local.INFO: IMEI packet received {"connection_id":105850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":105850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:40:31] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9227e68012d39ca0006a7d1d8001301532b..."} 
[2026-06-18 10:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9227e68012d39ca0006a7d1d8001301532b..."} 
[2026-06-18 10:40:31] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9227e68012d39ca0006a7d1d8001301532b..."} 
[2026-06-18 10:40:31] local.INFO: Packet analysis {"connection_id":105850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:40:31] local.INFO: Extracted packet for processing {"connection_id":105850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758761984,"raw_latitude":111661528,"longitude_deg":75.8761984,"latitude_deg":11.1661528,"altitude":19,"angle":339,"satellites":43,"speed":63,"hex_longitude":"2d39ca00","hex_latitude":"06a7d1d8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130398976001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318028489884172288,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4167729639993550848,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781759377000,"timestamp_ms":1781759377000,"timestamp_seconds":1781759377,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9227e68"} 
[2026-06-18 10:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":217,"data_length":795,"current_offset":136} 
[2026-06-18 10:40: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-06-18 10: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-06-18 10:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130398976001,"66":27821,"250":206,"28":21760,"24":63,"16":318028489884172288,"45":4167729639993550848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 10:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130398976001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:40:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 10:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318028489884172288,"km_value":318028489884172.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4167729639993550848,"description":"Unknown IO ID 45"} 
[2026-06-18 10:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130398976001,"power":27821,"unknown_250":206,"unknown_28":21760,"ignition":63,"odometer":null,"unknown_45":4167729639993550848}} 
[2026-06-18 10:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":105850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:40:31] local.INFO: GPS data processed {"connection_id":105850,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:40:31] local.INFO: Acknowledgment sent {"connection_id":105850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:40:33] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92295d8012d39bd8006a7f4b8001201562f..."} 
[2026-06-18 10:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92295d8012d39bd8006a7f4b8001201562f..."} 
[2026-06-18 10:40:33] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92295d8012d39bd8006a7f4b8001201562f..."} 
[2026-06-18 10:40:33] local.INFO: Packet analysis {"connection_id":105850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:40:33] local.INFO: Extracted packet for processing {"connection_id":105850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":758758784,"raw_latitude":111670456,"longitude_deg":75.8758784,"latitude_deg":11.1670456,"altitude":18,"angle":342,"satellites":47,"speed":62,"hex_longitude":"2d39bd80","hex_latitude":"06a7f4b8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130400512001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318028949445672960,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4164140834042796032,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781759383000,"timestamp_ms":1781759383000,"timestamp_seconds":1781759383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92295d8"} 
[2026-06-18 10:40:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:40:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 10:40: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-06-18 10: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-06-18 10:40:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130400512001,"66":27767,"250":206,"28":21760,"24":62,"16":318028949445672960,"45":4164140834042796032},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 10:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130400512001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:40:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 10:40:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318028949445672960,"km_value":318028949445672.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4164140834042796032,"description":"Unknown IO ID 45"} 
[2026-06-18 10:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130400512001,"power":27767,"unknown_250":206,"unknown_28":21760,"ignition":62,"odometer":null,"unknown_45":4164140834042796032}} 
[2026-06-18 10:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":105850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:40:33] local.INFO: GPS data processed {"connection_id":105850,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:40:33] local.INFO: Acknowledgment sent {"connection_id":105850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:40:48] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9227e68012d196600071ff0c8003e013b14..."} 
[2026-06-18 10:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9227e68012d196600071ff0c8003e013b14..."} 
[2026-06-18 10:40:48] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9227e68012d196600071ff0c8003e013b14..."} 
[2026-06-18 10:40:48] local.INFO: Packet analysis {"connection_id":107402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:40:48] local.INFO: Extracted packet for processing {"connection_id":107402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533768,"longitude_deg":75.6639232,"latitude_deg":11.9533768,"altitude":62,"angle":315,"satellites":20,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff0c8","is_valid_coordinates":true} 
[2026-06-18 10:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130395136001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289566991613952,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173329920,"note":"Value kept but may cause issues"} 
[2026-06-18 10:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781759377000,"timestamp_ms":1781759377000,"timestamp_seconds":1781759377,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9227e68"} 
[2026-06-18 10:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 10:40:48] 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-06-18 10:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130395136001,"66":12156,"121":206,"28":31744,"24":0,"16":3289566991613952,"45":1830150329173329920},"client_ip":"117.224.180.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130395136001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:40:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289566991613952,"km_value":3289566991613.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173329920,"description":"Unknown IO ID 45"} 
[2026-06-18 10:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130395136001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173329920}} 
[2026-06-18 10:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":107402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:40:48] local.INFO: GPS data processed {"connection_id":107402,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:40:48] local.INFO: Acknowledgment sent {"connection_id":107402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:41:06] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed922ad48012d39b2c006a817c8001001582e..."} 
[2026-06-18 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed922ad48012d39b2c006a817c8001001582e..."} 
[2026-06-18 10:41:06] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed922ad48012d39b2c006a817c8001001582e..."} 
[2026-06-18 10:41:06] local.INFO: Packet analysis {"connection_id":105850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:06] local.INFO: Extracted packet for processing {"connection_id":105850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":758756032,"raw_latitude":111679432,"longitude_deg":75.8756032,"latitude_deg":11.1679432,"altitude":16,"angle":344,"satellites":46,"speed":61,"hex_longitude":"2d39b2c0","hex_latitude":"06a817c8","is_valid_coordinates":true} 
[2026-06-18 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130402048001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318029404712206336,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4160622396836198400,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781759389000,"timestamp_ms":1781759389000,"timestamp_seconds":1781759389,"priority":1,"record_length":96,"hex_timestamp":"0000019ed922ad48"} 
[2026-06-18 10:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:41: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-06-18 10:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130402048001,"66":27767,"250":206,"28":21760,"24":61,"16":318029404712206336,"45":4160622396836198400},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 10:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130402048001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:41:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 10:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318029404712206336,"km_value":318029404712206.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4160622396836198400,"description":"Unknown IO ID 45"} 
[2026-06-18 10:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130402048001,"power":27767,"unknown_250":206,"unknown_28":21760,"ignition":61,"odometer":null,"unknown_45":4160622396836198400}} 
[2026-06-18 10:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":105850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:41:06] local.INFO: GPS data processed {"connection_id":105850,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:41:06] local.INFO: Acknowledgment sent {"connection_id":105850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:41:19] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":795,"data_hex":"000000000000030f8e0a0000019ed922d070012d196600071ff0d8003e013b15..."} 
[2026-06-18 10:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed922d070012d196600071ff0d8003e013b15..."} 
[2026-06-18 10:41:19] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed922d070012d196600071ff0d8003e013b15..."} 
[2026-06-18 10:41:19] local.INFO: Packet analysis {"connection_id":107402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:19] local.INFO: Extracted packet for processing {"connection_id":107402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533784,"longitude_deg":75.6639232,"latitude_deg":11.9533784,"altitude":62,"angle":315,"satellites":21,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071ff0d8","is_valid_coordinates":true} 
[2026-06-18 10:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130400512001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289571286581248,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173329920,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781759398000,"timestamp_ms":1781759398000,"timestamp_seconds":1781759398,"priority":1,"record_length":96,"hex_timestamp":"0000019ed922d070"} 
[2026-06-18 10:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 10:41:19] 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-06-18 10:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":107402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130400512001,"66":12156,"121":206,"28":31744,"24":0,"16":3289571286581248,"45":1830150329173329920},"client_ip":"117.224.180.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130400512001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:41:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:41:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289571286581248,"km_value":3289571286581.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173329920,"description":"Unknown IO ID 45"} 
[2026-06-18 10:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130400512001,"power":12156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173329920}} 
[2026-06-18 10:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":107402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:41:19] local.INFO: GPS data processed {"connection_id":107402,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:41:19] local.INFO: Acknowledgment sent {"connection_id":107402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:41:30] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:30] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:30] local.INFO: IMEI packet received {"connection_id":105651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":105651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:41:30] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:30] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:30] local.INFO: IMEI packet received {"connection_id":105651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":105651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:41:35] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:35] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:41:35] local.INFO: IMEI packet received {"connection_id":105651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":105651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:41:36] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed922c4b8012d39a98006a83a98000e01592e..."} 
[2026-06-18 10:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed922c4b8012d39a98006a83a98000e01592e..."} 
[2026-06-18 10:41:36] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed922c4b8012d39a98006a83a98000e01592e..."} 
[2026-06-18 10:41:36] local.INFO: Packet analysis {"connection_id":105651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:36] local.INFO: Extracted packet for processing {"connection_id":105651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758753664,"raw_latitude":111688344,"longitude_deg":75.8753664,"latitude_deg":11.1688344,"altitude":14,"angle":345,"satellites":46,"speed":61,"hex_longitude":"2d39a980","hex_latitude":"06a83a98","is_valid_coordinates":true} 
[2026-06-18 10:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130403584001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318029851388805120,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4157596540838856704,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781759395000,"timestamp_ms":1781759395000,"timestamp_seconds":1781759395,"priority":1,"record_length":96,"hex_timestamp":"0000019ed922c4b8"} 
[2026-06-18 10:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:41: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-06-18 10:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130403584001,"66":27713,"250":206,"28":21760,"24":61,"16":318029851388805120,"45":4157596540838856704},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 10:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130403584001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:41:36] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 10:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318029851388805120,"km_value":318029851388805.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4157596540838856704,"description":"Unknown IO ID 45"} 
[2026-06-18 10:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130403584001,"power":27713,"unknown_250":206,"unknown_28":21760,"ignition":61,"odometer":null,"unknown_45":4157596540838856704}} 
[2026-06-18 10:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":105651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:41:36] local.INFO: GPS data processed {"connection_id":105651,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:41:36] local.INFO: Acknowledgment sent {"connection_id":105651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:41:37] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed922dc28012d39a00006a85d38000c01582d..."} 
[2026-06-18 10:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed922dc28012d39a00006a85d38000c01582d..."} 
[2026-06-18 10:41:37] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed922dc28012d39a00006a85d38000c01582d..."} 
[2026-06-18 10:41:37] local.INFO: Packet analysis {"connection_id":105651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:37] local.INFO: Extracted packet for processing {"connection_id":105651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":758751232,"raw_latitude":111697208,"longitude_deg":75.8751232,"latitude_deg":11.1697208,"altitude":12,"angle":344,"satellites":45,"speed":60,"hex_longitude":"2d39a000","hex_latitude":"06a85d38","is_valid_coordinates":true} 
[2026-06-18 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130405120001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318030293770436608,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4154992897306564608,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781759401000,"timestamp_ms":1781759401000,"timestamp_seconds":1781759401,"priority":1,"record_length":96,"hex_timestamp":"0000019ed922dc28"} 
[2026-06-18 10:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 10:41:37] 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-06-18 10:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130405120001,"66":27767,"250":206,"28":21760,"24":60,"16":318030293770436608,"45":4154992897306564608},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 10:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130405120001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:41:37] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 10:41:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318030293770436608,"km_value":318030293770436.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4154992897306564608,"description":"Unknown IO ID 45"} 
[2026-06-18 10:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130405120001,"power":27767,"unknown_250":206,"unknown_28":21760,"ignition":60,"odometer":null,"unknown_45":4154992897306564608}} 
[2026-06-18 10:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":105651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:41:37] local.INFO: GPS data processed {"connection_id":105651,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:41:37] local.INFO: Acknowledgment sent {"connection_id":105651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:41:41] local.INFO: TCP Data received {"connection_id":105651,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed922f398012d39968006a87f00000b01572f..."} 
[2026-06-18 10:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed922f398012d39968006a87f00000b01572f..."} 
[2026-06-18 10:41:41] local.INFO: Processing buffer {"connection_id":105651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed922f398012d39968006a87f00000b01572f..."} 
[2026-06-18 10:41:41] local.INFO: Packet analysis {"connection_id":105651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:41] local.INFO: Extracted packet for processing {"connection_id":105651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed922"} 
[2026-06-18 10:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758748800,"raw_latitude":111705856,"longitude_deg":75.87488,"latitude_deg":11.1705856,"altitude":11,"angle":343,"satellites":47,"speed":59,"hex_longitude":"2d399680","hex_latitude":"06a87f00","is_valid_coordinates":true} 
[2026-06-18 10:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130406656001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318030731857100800,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4152318885030082560,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781759407000,"timestamp_ms":1781759407000,"timestamp_seconds":1781759407,"priority":1,"record_length":96,"hex_timestamp":"0000019ed922f398"} 
[2026-06-18 10:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:41:41] 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-06-18 10:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130406656001,"66":27767,"90":206,"28":21760,"24":59,"16":318030731857100800,"45":4152318885030082560},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-18 10:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130406656001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:41:41] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 10:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318030731857100800,"km_value":318030731857100.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4152318885030082560,"description":"Unknown IO ID 45"} 
[2026-06-18 10:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130406656001,"power":27767,"unknown_90":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":4152318885030082560}} 
[2026-06-18 10:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":105651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:41:41] local.INFO: GPS data processed {"connection_id":105651,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:41:41] local.INFO: Acknowledgment sent {"connection_id":105651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:41:51] local.INFO: TCP Data received {"connection_id":107402,"ip":"117.224.180.139","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9232278012d196680071ff058003e013b15..."} 
[2026-06-18 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9232278012d196680071ff058003e013b15..."} 
[2026-06-18 10:41:51] local.INFO: Processing buffer {"connection_id":107402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9232278012d196680071ff058003e013b15..."} 
[2026-06-18 10:41:51] local.INFO: Packet analysis {"connection_id":107402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed923"} 
[2026-06-18 10:41:51] local.INFO: Extracted packet for processing {"connection_id":107402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed923"} 
[2026-06-18 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756639360,"raw_latitude":119533656,"longitude_deg":75.663936,"latitude_deg":11.9533656,"altitude":62,"angle":315,"satellites":21,"speed":0,"hex_longitude":"2d196680","hex_latitude":"071ff058","is_valid_coordinates":true} 
[2026-06-18 10:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130405888001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289579876515840,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173334016,"note":"Value kept but may cause issues"} 
[2026-06-18 10:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781759419000,"timestamp_ms":1781759419000,"timestamp_seconds":1781759419,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9232278"} 
[2026-06-18 10:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 10:41:51] 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-06-18 10:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107402,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.180.139","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130405888001,"66":12178,"121":206,"28":31744,"24":0,"16":3289579876515840,"45":1830150329173334016},"client_ip":"117.224.180.139","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130405888001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:41:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:41:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289579876515840,"km_value":3289579876515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173334016,"description":"Unknown IO ID 45"} 
[2026-06-18 10:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130405888001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173334016}} 
[2026-06-18 10:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":107402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:41:51] local.INFO: GPS data processed {"connection_id":107402,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:41:51] local.INFO: Acknowledgment sent {"connection_id":107402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:42:22] local.INFO: TCP Data received {"connection_id":105851,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:22] local.INFO: Processing buffer {"connection_id":105851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:22] local.INFO: IMEI packet received {"connection_id":105851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":105851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:42:25] local.INFO: TCP Data received {"connection_id":105851,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:25] local.INFO: Processing buffer {"connection_id":105851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:25] local.INFO: IMEI packet received {"connection_id":105851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":105851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:42:29] local.INFO: TCP Data received {"connection_id":105851,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:29] local.INFO: Processing buffer {"connection_id":105851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:42:29] local.INFO: IMEI packet received {"connection_id":105851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":105851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:42:30] local.INFO: TCP Data received {"connection_id":105851,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9240120012d392c0006aa09b8000b01582f..."} 
[2026-06-18 10:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9240120012d392c0006aa09b8000b01582f..."} 
[2026-06-18 10:42:30] local.INFO: Processing buffer {"connection_id":105851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9240120012d392c0006aa09b8000b01582f..."} 
[2026-06-18 10:42:30] local.INFO: Packet analysis {"connection_id":105851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:42:30] local.INFO: Extracted packet for processing {"connection_id":105851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758721536,"raw_latitude":111806904,"longitude_deg":75.8721536,"latitude_deg":11.1806904,"altitude":11,"angle":344,"satellites":47,"speed":60,"hex_longitude":"2d392c00","hex_latitude":"06aa09b8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130424320001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318035799918510080,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4122341800036186112,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781759476000,"timestamp_ms":1781759476000,"timestamp_seconds":1781759476,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9240120"} 
[2026-06-18 10:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130424320001,"66":27800,"185":206,"28":21760,"24":60,"16":318035799918510080,"45":4122341800036186112},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-18 10:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130424320001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:42:30] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-18 10:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318035799918510080,"km_value":318035799918510.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4122341800036186112,"description":"Unknown IO ID 45"} 
[2026-06-18 10:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130424320001,"power":27800,"unknown_185":206,"unknown_28":21760,"ignition":60,"odometer":null,"unknown_45":4122341800036186112}} 
[2026-06-18 10:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":105851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:42:30] local.INFO: GPS data processed {"connection_id":105851,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:42:30] local.INFO: Acknowledgment sent {"connection_id":105851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:42:32] local.INFO: TCP Data received {"connection_id":105851,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9241c78012d39218006aa3008000b01582d..."} 
[2026-06-18 10:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9241c78012d39218006aa3008000b01582d..."} 
[2026-06-18 10:42:32] local.INFO: Processing buffer {"connection_id":105851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9241c78012d39218006aa3008000b01582d..."} 
[2026-06-18 10:42:32] local.INFO: Packet analysis {"connection_id":105851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:42:32] local.INFO: Extracted packet for processing {"connection_id":105851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758718848,"raw_latitude":111816712,"longitude_deg":75.8718848,"latitude_deg":11.1816712,"altitude":11,"angle":344,"satellites":45,"speed":55,"hex_longitude":"2d392180","hex_latitude":"06aa3008","is_valid_coordinates":true} 
[2026-06-18 10:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130425856001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318036289544781824,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4119667787759728640,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781759483000,"timestamp_ms":1781759483000,"timestamp_seconds":1781759483,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9241c78"} 
[2026-06-18 10:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 10:42: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-06-18 10:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130425856001,"66":27865,"185":206,"28":21760,"24":55,"16":318036289544781824,"45":4119667787759728640},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-18 10:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130425856001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:42:32] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-18 10:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318036289544781824,"km_value":318036289544781.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4119667787759728640,"description":"Unknown IO ID 45"} 
[2026-06-18 10:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130425856001,"power":27865,"unknown_185":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":4119667787759728640}} 
[2026-06-18 10:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":105851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:42:32] local.INFO: GPS data processed {"connection_id":105851,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:42:32] local.INFO: Acknowledgment sent {"connection_id":105851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:42:43] local.INFO: TCP Data received {"connection_id":107405,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:43] local.INFO: Processing buffer {"connection_id":107405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:43] local.INFO: IMEI packet received {"connection_id":107405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":107405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:42:46] local.INFO: TCP Data received {"connection_id":107405,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:46] local.INFO: Processing buffer {"connection_id":107405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:46] local.INFO: IMEI packet received {"connection_id":107405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":107405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:42:52] local.INFO: TCP Data received {"connection_id":107405,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:52] local.INFO: Processing buffer {"connection_id":107405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:42:52] local.INFO: IMEI packet received {"connection_id":107405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":107405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:42:53] local.INFO: TCP Data received {"connection_id":107405,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9251e48012d1967c0071fed50004000c017..."} 
[2026-06-18 10:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9251e48012d1967c0071fed50004000c017..."} 
[2026-06-18 10:42:53] local.INFO: Processing buffer {"connection_id":107405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9251e48012d1967c0071fed50004000c017..."} 
[2026-06-18 10:42:53] local.INFO: Packet analysis {"connection_id":107405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed925"} 
[2026-06-18 10:42:53] local.INFO: Extracted packet for processing {"connection_id":107405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed925"} 
[2026-06-18 10:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532880,"longitude_deg":75.663968,"latitude_deg":11.953288,"altitude":64,"angle":192,"satellites":23,"speed":1,"hex_longitude":"2d1967c0","hex_latitude":"071fed50","is_valid_coordinates":true} 
[2026-06-18 10:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130443776001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289652890959872,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830783647870728192,"note":"Value kept but may cause issues"} 
[2026-06-18 10:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781759549000,"timestamp_ms":1781759549000,"timestamp_seconds":1781759549,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9251e48"} 
[2026-06-18 10:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:42:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-18 10:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130443776001,"66":12015,"121":206,"28":31744,"24":1,"16":3289652890959872,"45":1830783647870728192},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130443776001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:42:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:42:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289652890959872,"km_value":3289652890959.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830783647870728192,"description":"Unknown IO ID 45"} 
[2026-06-18 10:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130443776001,"power":12015,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1830783647870728192}} 
[2026-06-18 10:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":107405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:42:53] local.INFO: GPS data processed {"connection_id":107405,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:42:53] local.INFO: Acknowledgment sent {"connection_id":107405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:43:03] local.INFO: TCP Data received {"connection_id":105851,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92437d0012d3916c006aa5388000b01572d..."} 
[2026-06-18 10:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92437d0012d3916c006aa5388000b01572d..."} 
[2026-06-18 10:43:03] local.INFO: Processing buffer {"connection_id":105851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92437d0012d3916c006aa5388000b01572d..."} 
[2026-06-18 10:43:03] local.INFO: Packet analysis {"connection_id":105851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:43:03] local.INFO: Extracted packet for processing {"connection_id":105851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758716096,"raw_latitude":111825800,"longitude_deg":75.8716096,"latitude_deg":11.18258,"altitude":11,"angle":343,"satellites":45,"speed":52,"hex_longitude":"2d3916c0","hex_latitude":"06aa5388","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130427648001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318036749106282496,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4116712300506777600,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781759490000,"timestamp_ms":1781759490000,"timestamp_seconds":1781759490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92437d0"} 
[2026-06-18 10:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 10:43: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-06-18 10: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-06-18 10:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130427648001,"66":27800,"185":206,"28":21760,"24":52,"16":318036749106282496,"45":4116712300506777600},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-06-18 10:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130427648001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:43:03] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-18 10:43:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318036749106282496,"km_value":318036749106282.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4116712300506777600,"description":"Unknown IO ID 45"} 
[2026-06-18 10:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130427648001,"power":27800,"unknown_185":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":4116712300506777600}} 
[2026-06-18 10:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":105851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:43:03] local.INFO: GPS data processed {"connection_id":105851,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:43:03] local.INFO: Acknowledgment sent {"connection_id":105851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:43:25] local.INFO: TCP Data received {"connection_id":105852,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:25] local.INFO: Processing buffer {"connection_id":105852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:25] local.INFO: IMEI packet received {"connection_id":105852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":105852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:43:26] local.INFO: TCP Data received {"connection_id":105852,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:26] local.INFO: Processing buffer {"connection_id":105852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:26] local.INFO: IMEI packet received {"connection_id":105852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":105852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:43:27] local.INFO: TCP Data received {"connection_id":107405,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92535b8012d1967c0071fed480040013517..."} 
[2026-06-18 10:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92535b8012d1967c0071fed480040013517..."} 
[2026-06-18 10:43:27] local.INFO: Processing buffer {"connection_id":107405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92535b8012d1967c0071fed480040013517..."} 
[2026-06-18 10:43:27] local.INFO: Packet analysis {"connection_id":107405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed925"} 
[2026-06-18 10:43:27] local.INFO: Extracted packet for processing {"connection_id":107405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed925"} 
[2026-06-18 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756639680,"raw_latitude":119532872,"longitude_deg":75.663968,"latitude_deg":11.9532872,"altitude":64,"angle":309,"satellites":23,"speed":1,"hex_longitude":"2d1967c0","hex_latitude":"071fed48","is_valid_coordinates":true} 
[2026-06-18 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-06-18 10:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130444544001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289657185927168,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830642910382346240,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781759555000,"timestamp_ms":1781759555000,"timestamp_seconds":1781759555,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92535b8"} 
[2026-06-18 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-06-18 10:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 10:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 10:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130444544001,"66":14048,"121":206,"28":31744,"24":1,"16":3289657185927168,"45":1830642910382346240},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130444544001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:43:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:43:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289657185927168,"km_value":3289657185927.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830642910382346240,"description":"Unknown IO ID 45"} 
[2026-06-18 10:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130444544001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1830642910382346240}} 
[2026-06-18 10:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":107405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:43:27] local.INFO: GPS data processed {"connection_id":107405,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:43:27] local.INFO: Acknowledgment sent {"connection_id":107405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:43:30] local.INFO: TCP Data received {"connection_id":105852,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:30] local.INFO: Processing buffer {"connection_id":105852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:43:30] local.INFO: IMEI packet received {"connection_id":105852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":105852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:43:32] local.INFO: TCP Data received {"connection_id":105852,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9245328012d390dc006aa7548000b015830..."} 
[2026-06-18 10:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9245328012d390dc006aa7548000b015830..."} 
[2026-06-18 10:43:32] local.INFO: Processing buffer {"connection_id":105852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9245328012d390dc006aa7548000b015830..."} 
[2026-06-18 10:43:32] local.INFO: Packet analysis {"connection_id":105852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:43:32] local.INFO: Extracted packet for processing {"connection_id":105852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:43:32] local.INFO: GPS Element Parsed {"raw_longitude":758713792,"raw_latitude":111834440,"longitude_deg":75.8713792,"latitude_deg":11.183444,"altitude":11,"angle":344,"satellites":48,"speed":48,"hex_longitude":"2d390dc0","hex_latitude":"06aa7548","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130429440001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318037182897979392,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4113686444509464576,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781759497000,"timestamp_ms":1781759497000,"timestamp_seconds":1781759497,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9245328"} 
[2026-06-18 10:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:43: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-06-18 10: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":152,"data_length":795,"current_offset":136} 
[2026-06-18 10:43: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-06-18 10: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-06-18 10:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130429440001,"66":27843,"186":206,"28":21760,"24":48,"16":318037182897979392,"45":4113686444509464576},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-18 10:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130429440001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:43:32] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-18 10:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318037182897979392,"km_value":318037182897979.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4113686444509464576,"description":"Unknown IO ID 45"} 
[2026-06-18 10:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130429440001,"power":27843,"unknown_186":206,"unknown_28":21760,"ignition":48,"odometer":null,"unknown_45":4113686444509464576}} 
[2026-06-18 10:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":105852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:43:32] local.INFO: GPS data processed {"connection_id":105852,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:43:32] local.INFO: Acknowledgment sent {"connection_id":105852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:43:33] local.INFO: TCP Data received {"connection_id":105852,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9246e80012d3904c006aa96c8000b01592e..."} 
[2026-06-18 10:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9246e80012d3904c006aa96c8000b01592e..."} 
[2026-06-18 10:43:33] local.INFO: Processing buffer {"connection_id":105852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9246e80012d3904c006aa96c8000b01592e..."} 
[2026-06-18 10:43:33] local.INFO: Packet analysis {"connection_id":105852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:43:33] local.INFO: Extracted packet for processing {"connection_id":105852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed924"} 
[2026-06-18 10:43:33] local.INFO: GPS Element Parsed {"raw_longitude":758711488,"raw_latitude":111843016,"longitude_deg":75.8711488,"latitude_deg":11.1843016,"altitude":11,"angle":345,"satellites":46,"speed":52,"hex_longitude":"2d3904c0","hex_latitude":"06aa96c8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130431232001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318037612394708992,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111153169721280512,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781759504000,"timestamp_ms":1781759504000,"timestamp_seconds":1781759504,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9246e80"} 
[2026-06-18 10:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":195,"data_length":795,"current_offset":136} 
[2026-06-18 10:43: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-06-18 10: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-06-18 10:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130431232001,"66":27832,"186":206,"28":21760,"24":52,"16":318037612394708992,"45":4111153169721280512},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-06-18 10:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130431232001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:43:33] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-06-18 10:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318037612394708992,"km_value":318037612394709.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111153169721280512,"description":"Unknown IO ID 45"} 
[2026-06-18 10:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130431232001,"power":27832,"unknown_186":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":4111153169721280512}} 
[2026-06-18 10:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":105852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:43:33] local.INFO: GPS data processed {"connection_id":105852,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:43:33] local.INFO: Acknowledgment sent {"connection_id":105852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:43:58] local.INFO: TCP Data received {"connection_id":107405,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9266280012d19c980071ff5600024001018..."} 
[2026-06-18 10:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9266280012d19c980071ff5600024001018..."} 
[2026-06-18 10:43:58] local.INFO: Processing buffer {"connection_id":107405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9266280012d19c980071ff5600024001018..."} 
[2026-06-18 10:43:58] local.INFO: Packet analysis {"connection_id":107405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed926"} 
[2026-06-18 10:43:58] local.INFO: Extracted packet for processing {"connection_id":107405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed926"} 
[2026-06-18 10:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119534944,"longitude_deg":75.6664704,"latitude_deg":11.9534944,"altitude":36,"angle":16,"satellites":24,"speed":14,"hex_longitude":"2d19c980","hex_latitude":"071ff560","is_valid_coordinates":true} 
[2026-06-18 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-06-18 10:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130465536001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3290902726443008,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858016351867893760,"note":"Value kept but may cause issues"} 
[2026-06-18 10:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781759632000,"timestamp_ms":1781759632000,"timestamp_seconds":1781759632,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9266280"} 
[2026-06-18 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-06-18 10:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3328,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 10:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 10:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130465536001,"66":14189,"121":206,"28":31744,"24":14,"16":3290902726443008,"45":1858016351867893760},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130465536001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:43:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:43:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3290902726443008,"km_value":3290902726443.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858016351867893760,"description":"Unknown IO ID 45"} 
[2026-06-18 10:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130465536001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1858016351867893760}} 
[2026-06-18 10:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":107405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:43:58] local.INFO: GPS data processed {"connection_id":107405,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:43:58] local.INFO: Acknowledgment sent {"connection_id":107405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:44:04] local.INFO: TCP Data received {"connection_id":105852,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed925be70012d38840006ac7948000c015930..."} 
[2026-06-18 10:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed925be70012d38840006ac7948000c015930..."} 
[2026-06-18 10:44:04] local.INFO: Processing buffer {"connection_id":105852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed925be70012d38840006ac7948000c015930..."} 
[2026-06-18 10:44:04] local.INFO: Packet analysis {"connection_id":105852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed925"} 
[2026-06-18 10:44:04] local.INFO: Extracted packet for processing {"connection_id":105852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed925"} 
[2026-06-18 10:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758678528,"raw_latitude":111966536,"longitude_deg":75.8678528,"latitude_deg":11.1966536,"altitude":12,"angle":345,"satellites":48,"speed":59,"hex_longitude":"2d388400","hex_latitude":"06ac7948","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130453504001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318043805737549824,"note":"Value kept but may cause issues"} 
[2026-06-18 10:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4074913266501388288,"note":"Value kept but may cause issues"} 
[2026-06-18 10:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781759590000,"timestamp_ms":1781759590000,"timestamp_seconds":1781759590,"priority":1,"record_length":96,"hex_timestamp":"0000019ed925be70"} 
[2026-06-18 10:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10: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-06-18 10: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-06-18 10:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130453504001,"66":27843,"196":206,"28":21760,"24":59,"16":318043805737549824,"45":4074913266501388288},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-18 10:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130453504001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:44:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 10:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318043805737549824,"km_value":318043805737549.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4074913266501388288,"description":"Unknown IO ID 45"} 
[2026-06-18 10:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130453504001,"power":27843,"unknown_196":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":4074913266501388288}} 
[2026-06-18 10:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":105852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:44:04] local.INFO: GPS data processed {"connection_id":105852,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:44:04] local.INFO: Acknowledgment sent {"connection_id":105852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:44:22] local.INFO: TCP Data received {"connection_id":106432,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:44:22] local.INFO: Processing buffer {"connection_id":106432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:44:22] local.INFO: IMEI packet received {"connection_id":106432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":106432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:44:26] local.INFO: TCP Data received {"connection_id":106432,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:44:26] local.INFO: Processing buffer {"connection_id":106432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:44:26] local.INFO: IMEI packet received {"connection_id":106432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":106432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:44:29] local.INFO: TCP Data received {"connection_id":107405,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9266a50012d19cb00071ff8300023002318..."} 
[2026-06-18 10:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9266a50012d19cb00071ff8300023002318..."} 
[2026-06-18 10:44:29] local.INFO: Processing buffer {"connection_id":107405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9266a50012d19cb00071ff8300023002318..."} 
[2026-06-18 10:44:29] local.INFO: Packet analysis {"connection_id":107405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed926"} 
[2026-06-18 10:44:29] local.INFO: Extracted packet for processing {"connection_id":107405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed926"} 
[2026-06-18 10:44:29] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119535664,"longitude_deg":75.6665088,"latitude_deg":11.9535664,"altitude":35,"angle":35,"satellites":24,"speed":15,"hex_longitude":"2d19cb00","hex_latitude":"071ff830","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130465792001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3290945676115968,"note":"Value kept but may cause issues"} 
[2026-06-18 10:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089356341248,"note":"Value kept but may cause issues"} 
[2026-06-18 10:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781759634000,"timestamp_ms":1781759634000,"timestamp_seconds":1781759634,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9266a50"} 
[2026-06-18 10:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:44:29] 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-06-18 10:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 10:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130465792001,"66":14157,"121":206,"28":31744,"24":15,"16":3290945676115968,"45":1858157089356341248},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130465792001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:44:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:44:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3290945676115968,"km_value":3290945676115.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089356341248,"description":"Unknown IO ID 45"} 
[2026-06-18 10:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130465792001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1858157089356341248}} 
[2026-06-18 10:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":107405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:44:29] local.INFO: GPS data processed {"connection_id":107405,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:44:29] local.INFO: Acknowledgment sent {"connection_id":107405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:44:49] local.INFO: TCP Data received {"connection_id":105653,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:44:49] local.INFO: Processing buffer {"connection_id":105653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:44:49] local.INFO: IMEI packet received {"connection_id":105653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":105653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:45:00] local.INFO: TCP Data received {"connection_id":107405,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9266e38012d19cc40071ff9700023002e18..."} 
[2026-06-18 10:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9266e38012d19cc40071ff9700023002e18..."} 
[2026-06-18 10:45:00] local.INFO: Processing buffer {"connection_id":107405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9266e38012d19cc40071ff9700023002e18..."} 
[2026-06-18 10:45:00] local.INFO: Packet analysis {"connection_id":107405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed926"} 
[2026-06-18 10:45:00] local.INFO: Extracted packet for processing {"connection_id":107405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed926"} 
[2026-06-18 10:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119535984,"longitude_deg":75.6665408,"latitude_deg":11.9535984,"altitude":35,"angle":46,"satellites":24,"speed":16,"hex_longitude":"2d19cc40","hex_latitude":"071ff970","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130466304001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3290962855985152,"note":"Value kept but may cause issues"} 
[2026-06-18 10:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301821591552,"note":"Value kept but may cause issues"} 
[2026-06-18 10:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781759635000,"timestamp_ms":1781759635000,"timestamp_seconds":1781759635,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9266e38"} 
[2026-06-18 10:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:45:00] 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-06-18 10: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 10:45:00] 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-06-18 10: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-06-18 10:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130466304001,"66":14157,"121":206,"28":31744,"24":16,"16":3290962855985152,"45":1858579301821591552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130466304001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:45:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3290962855985152,"km_value":3290962855985.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301821591552,"description":"Unknown IO ID 45"} 
[2026-06-18 10:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130466304001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1858579301821591552}} 
[2026-06-18 10:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":107405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:45:01] local.INFO: GPS data processed {"connection_id":107405,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:45:01] local.INFO: Acknowledgment sent {"connection_id":107405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:45:27] local.INFO: TCP Data received {"connection_id":106432,"ip":"117.224.95.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106432,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:45:27] local.INFO: Processing buffer {"connection_id":106432,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 10:45:27] local.INFO: IMEI packet received {"connection_id":106432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:45:27] local.INFO: IMEI acknowledgment sent {"connection_id":106432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:45:33] local.INFO: TCP Data received {"connection_id":105853,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:45:33] local.INFO: Processing buffer {"connection_id":105853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:45:33] local.INFO: IMEI packet received {"connection_id":105853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":105853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:45:36] local.INFO: TCP Data received {"connection_id":107406,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:45:36] local.INFO: Processing buffer {"connection_id":107406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:45:36] local.INFO: IMEI packet received {"connection_id":107406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:45:36] local.INFO: IMEI acknowledgment sent {"connection_id":107406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:45:41] local.INFO: TCP Data received {"connection_id":107406,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:45:41] local.INFO: Processing buffer {"connection_id":107406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:45:41] local.INFO: IMEI packet received {"connection_id":107406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":107406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:45:46] local.INFO: TCP Data received {"connection_id":107406,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92777d8012d19bdc0072040280022016118..."} 
[2026-06-18 10:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92777d8012d19bdc0072040280022016118..."} 
[2026-06-18 10:45:46] local.INFO: Processing buffer {"connection_id":107406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92777d8012d19bdc0072040280022016118..."} 
[2026-06-18 10:45:46] local.INFO: Packet analysis {"connection_id":107406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed927"} 
[2026-06-18 10:45:46] local.INFO: Extracted packet for processing {"connection_id":107406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed927"} 
[2026-06-18 10:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119554088,"longitude_deg":75.6661696,"latitude_deg":11.9554088,"altitude":34,"angle":353,"satellites":24,"speed":33,"hex_longitude":"2d19bdc0","hex_latitude":"07204028","is_valid_coordinates":true} 
[2026-06-18 10:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130483200001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3292070957547520,"note":"Value kept but may cause issues"} 
[2026-06-18 10:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855483077081917440,"note":"Value kept but may cause issues"} 
[2026-06-18 10:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781759703000,"timestamp_ms":1781759703000,"timestamp_seconds":1781759703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92777d8"} 
[2026-06-18 10:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 10:45:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130483200001,"66":14113,"121":206,"28":31744,"24":33,"16":3292070957547520,"45":1855483077081917440},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130483200001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:45:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3292070957547520,"km_value":3292070957547.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855483077081917440,"description":"Unknown IO ID 45"} 
[2026-06-18 10:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130483200001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1855483077081917440}} 
[2026-06-18 10:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":107406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:45:46] local.INFO: GPS data processed {"connection_id":107406,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:45:46] local.INFO: Acknowledgment sent {"connection_id":107406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:46:18] local.INFO: TCP Data received {"connection_id":107406,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92827a0012d19aa000720b1380035011818..."} 
[2026-06-18 10:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92827a0012d19aa000720b1380035011818..."} 
[2026-06-18 10:46:18] local.INFO: Processing buffer {"connection_id":107406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92827a0012d19aa000720b1380035011818..."} 
[2026-06-18 10:46:18] local.INFO: Packet analysis {"connection_id":107406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed928"} 
[2026-06-18 10:46:18] local.INFO: Extracted packet for processing {"connection_id":107406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed928"} 
[2026-06-18 10:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756656640,"raw_latitude":119583032,"longitude_deg":75.665664,"latitude_deg":11.9583032,"altitude":53,"angle":280,"satellites":24,"speed":24,"hex_longitude":"2d19aa00","hex_latitude":"0720b138","is_valid_coordinates":true} 
[2026-06-18 10:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130494208001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3293694455185408,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852668327322515456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781759748000,"timestamp_ms":1781759748000,"timestamp_seconds":1781759748,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92827a0"} 
[2026-06-18 10:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:46:18] 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-06-18 10:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 10:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130494208001,"66":14276,"121":206,"28":31744,"24":24,"16":3293694455185408,"45":1852668327322515456},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130494208001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:46:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:46:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3293694455185408,"km_value":3293694455185.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852668327322515456,"description":"Unknown IO ID 45"} 
[2026-06-18 10:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130494208001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1852668327322515456}} 
[2026-06-18 10:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":107406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343773,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:46:18] local.INFO: GPS data processed {"connection_id":107406,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:46:18] local.INFO: Acknowledgment sent {"connection_id":107406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:46:39] local.INFO: TCP Data received {"connection_id":105855,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:39] local.INFO: Processing buffer {"connection_id":105855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:39] local.INFO: IMEI packet received {"connection_id":105855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:46:39] local.INFO: IMEI acknowledgment sent {"connection_id":105855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:46:41] local.INFO: TCP Data received {"connection_id":105855,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:41] local.INFO: Processing buffer {"connection_id":105855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:41] local.INFO: IMEI packet received {"connection_id":105855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":105855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:46:46] local.INFO: TCP Data received {"connection_id":105855,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:46] local.INFO: Processing buffer {"connection_id":105855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:46:46] local.INFO: IMEI packet received {"connection_id":105855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":105855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:46:47] local.INFO: TCP Data received {"connection_id":105855,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9285e50012d1988400720b3d00038010a18..."} 
[2026-06-18 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9285e50012d1988400720b3d00038010a18..."} 
[2026-06-18 10:46:47] local.INFO: Processing buffer {"connection_id":105855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9285e50012d1988400720b3d00038010a18..."} 
[2026-06-18 10:46:47] local.INFO: Packet analysis {"connection_id":105855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed928"} 
[2026-06-18 10:46:47] local.INFO: Extracted packet for processing {"connection_id":105855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed928"} 
[2026-06-18 10:46:47] local.INFO: GPS Element Parsed {"raw_longitude":756648000,"raw_latitude":119583696,"longitude_deg":75.6648,"latitude_deg":11.9583696,"altitude":56,"angle":266,"satellites":24,"speed":23,"hex_longitude":"2d198840","hex_latitude":"0720b3d0","is_valid_coordinates":true} 
[2026-06-18 10:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130495488001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294106772045824,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849290627602266112,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781759762000,"timestamp_ms":1781759762000,"timestamp_seconds":1781759762,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9285e50"} 
[2026-06-18 10:46:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:46:47] 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-06-18 10:46:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 10:46:47] 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-06-18 10:46:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:46:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130495488001,"66":14265,"121":206,"28":31744,"24":23,"16":3294106772045824,"45":1849290627602266112},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130495488001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:46:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:46:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294106772045824,"km_value":3294106772045.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849290627602266112,"description":"Unknown IO ID 45"} 
[2026-06-18 10:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130495488001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1849290627602266112}} 
[2026-06-18 10:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":105855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:46:47] local.INFO: GPS data processed {"connection_id":105855,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:46:47] local.INFO: Acknowledgment sent {"connection_id":105855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:46:50] local.INFO: TCP Data received {"connection_id":105855,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92879a8012d1975800720b028003600fd18..."} 
[2026-06-18 10:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92879a8012d1975800720b028003600fd18..."} 
[2026-06-18 10:46:50] local.INFO: Processing buffer {"connection_id":105855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92879a8012d1975800720b028003600fd18..."} 
[2026-06-18 10:46:50] local.INFO: Packet analysis {"connection_id":105855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed928"} 
[2026-06-18 10:46:50] local.INFO: Extracted packet for processing {"connection_id":105855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed928"} 
[2026-06-18 10:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756643200,"raw_latitude":119582760,"longitude_deg":75.66432,"latitude_deg":11.958276,"altitude":54,"angle":253,"satellites":24,"speed":31,"hex_longitude":"2d197580","hex_latitude":"0720b028","is_valid_coordinates":true} 
[2026-06-18 10:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130499072001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294338700279808,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839790847138451456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781759769000,"timestamp_ms":1781759769000,"timestamp_seconds":1781759769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92879a8"} 
[2026-06-18 10:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 10:46:50] 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-06-18 10:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130499072001,"66":14135,"121":206,"28":31744,"24":31,"16":3294338700279808,"45":1839790847138451456},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130499072001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:46:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:46:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294338700279808,"km_value":3294338700279.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839790847138451456,"description":"Unknown IO ID 45"} 
[2026-06-18 10:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130499072001,"power":14135,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1839790847138451456}} 
[2026-06-18 10:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":105855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:46:50] local.INFO: GPS data processed {"connection_id":105855,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:46:50] local.INFO: Acknowledgment sent {"connection_id":105855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:47:22] local.INFO: TCP Data received {"connection_id":105855,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9289cd0012d1962800720abc00033010a18..."} 
[2026-06-18 10:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9289cd0012d1962800720abc00033010a18..."} 
[2026-06-18 10:47:22] local.INFO: Processing buffer {"connection_id":105855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9289cd0012d1962800720abc00033010a18..."} 
[2026-06-18 10:47:22] local.INFO: Packet analysis {"connection_id":105855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed928"} 
[2026-06-18 10:47:22] local.INFO: Extracted packet for processing {"connection_id":105855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed928"} 
[2026-06-18 10:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756638336,"raw_latitude":119581632,"longitude_deg":75.6638336,"latitude_deg":11.9581632,"altitude":51,"angle":266,"satellites":24,"speed":19,"hex_longitude":"2d196280","hex_latitude":"0720abc0","is_valid_coordinates":true} 
[2026-06-18 10:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130500864001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294574923481088,"note":"Value kept but may cause issues"} 
[2026-06-18 10:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834513191324887040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781759778000,"timestamp_ms":1781759778000,"timestamp_seconds":1781759778,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9289cd0"} 
[2026-06-18 10:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5120,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-18 10:47:22] 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-06-18 10:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130500864001,"66":14374,"121":206,"28":31744,"24":19,"16":3294574923481088,"45":1834513191324887040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130500864001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:47:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:47:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294574923481088,"km_value":3294574923481.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834513191324887040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130500864001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1834513191324887040}} 
[2026-06-18 10:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":105855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:47:22] local.INFO: GPS data processed {"connection_id":105855,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:47:22] local.INFO: Acknowledgment sent {"connection_id":105855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:47:33] local.INFO: TCP Data received {"connection_id":106435,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:33] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:33] local.INFO: IMEI packet received {"connection_id":106435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":106435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:47:36] local.INFO: TCP Data received {"connection_id":106435,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:36] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:36] local.INFO: IMEI packet received {"connection_id":106435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":106435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:47:36] local.INFO: TCP Data received {"connection_id":106435,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:36] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:36] local.INFO: IMEI packet received {"connection_id":106435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":106435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:47:38] local.INFO: TCP Data received {"connection_id":106435,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:38] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:47:38] local.INFO: IMEI packet received {"connection_id":106435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":106435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:50:25] local.INFO: TCP Data received {"connection_id":105658,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:50:25] local.INFO: Processing buffer {"connection_id":105658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:50:25] local.INFO: IMEI packet received {"connection_id":105658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":105658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:50:30] local.INFO: TCP Data received {"connection_id":105658,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:50:30] local.INFO: Processing buffer {"connection_id":105658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:50:30] local.INFO: IMEI packet received {"connection_id":105658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":105658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:50:32] local.INFO: TCP Data received {"connection_id":105658,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92b0600012d34dc8006b28330000a012f2e..."} 
[2026-06-18 10:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92b0600012d34dc8006b28330000a012f2e..."} 
[2026-06-18 10:50:32] local.INFO: Processing buffer {"connection_id":105658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92b0600012d34dc8006b28330000a012f2e..."} 
[2026-06-18 10:50:32] local.INFO: Packet analysis {"connection_id":105658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92b"} 
[2026-06-18 10:50:32] local.INFO: Extracted packet for processing {"connection_id":105658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92b"} 
[2026-06-18 10:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758439040,"raw_latitude":112362288,"longitude_deg":75.843904,"latitude_deg":11.2362288,"altitude":10,"angle":303,"satellites":46,"speed":41,"hex_longitude":"2d34dc80","hex_latitude":"06b28330","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130541568001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318066706503172096,"note":"Value kept but may cause issues"} 
[2026-06-18 10:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3817785875378417664,"note":"Value kept but may cause issues"} 
[2026-06-18 10:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781759936000,"timestamp_ms":1781759936000,"timestamp_seconds":1781759936,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92b0600"} 
[2026-06-18 10:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:50: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-06-18 10: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 10:50: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-06-18 10: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-06-18 10:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130541568001,"66":27919,"182":206,"28":21760,"24":41,"16":318066706503172096,"45":3817785875378417664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130541568001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:50:32] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318066706503172096,"km_value":318066706503172.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3817785875378417664,"description":"Unknown IO ID 45"} 
[2026-06-18 10:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130541568001,"power":27919,"unknown_182":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":3817785875378417664}} 
[2026-06-18 10:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":105658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:50:32] local.INFO: GPS data processed {"connection_id":105658,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:50:32] local.INFO: Acknowledgment sent {"connection_id":105658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:50:59] local.INFO: TCP Data received {"connection_id":106437,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:50:59] local.INFO: Processing buffer {"connection_id":106437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:50:59] local.INFO: IMEI packet received {"connection_id":106437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":106437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:51:07] local.INFO: TCP Data received {"connection_id":105658,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92b30f8012d34bdc006b297480009013030..."} 
[2026-06-18 10:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92b30f8012d34bdc006b297480009013030..."} 
[2026-06-18 10:51:07] local.INFO: Processing buffer {"connection_id":105658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92b30f8012d34bdc006b297480009013030..."} 
[2026-06-18 10:51:07] local.INFO: Packet analysis {"connection_id":105658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92b"} 
[2026-06-18 10:51:07] local.INFO: Extracted packet for processing {"connection_id":105658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92b"} 
[2026-06-18 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":112367432,"longitude_deg":75.8431168,"latitude_deg":11.2367432,"altitude":9,"angle":304,"satellites":48,"speed":29,"hex_longitude":"2d34bdc0","hex_latitude":"06b29748","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130543616001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067157474738176,"note":"Value kept but may cause issues"} 
[2026-06-18 10:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3809060151101698048,"note":"Value kept but may cause issues"} 
[2026-06-18 10:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781759947000,"timestamp_ms":1781759947000,"timestamp_seconds":1781759947,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92b30f8"} 
[2026-06-18 10:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130543616001,"66":28017,"182":206,"28":21760,"24":29,"16":318067157474738176,"45":3809060151101698048},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130543616001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:51:07] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067157474738176,"km_value":318067157474738.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3809060151101698048,"description":"Unknown IO ID 45"} 
[2026-06-18 10:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130543616001,"power":28017,"unknown_182":206,"unknown_28":21760,"ignition":29,"odometer":null,"unknown_45":3809060151101698048}} 
[2026-06-18 10:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":105658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:51:07] local.INFO: GPS data processed {"connection_id":105658,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:51:07] local.INFO: Acknowledgment sent {"connection_id":105658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:51:25] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:51:25] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:51:25] local.INFO: IMEI packet received {"connection_id":106438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":106438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:51:30] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:51:30] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:51:30] local.INFO: IMEI packet received {"connection_id":106438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":106438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:51:32] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92b63c0012d349e8006b2aae8000901312f..."} 
[2026-06-18 10:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92b63c0012d349e8006b2aae8000901312f..."} 
[2026-06-18 10:51:32] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92b63c0012d349e8006b2aae8000901312f..."} 
[2026-06-18 10:51:32] local.INFO: Packet analysis {"connection_id":106438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92b"} 
[2026-06-18 10:51:32] local.INFO: Extracted packet for processing {"connection_id":106438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92b"} 
[2026-06-18 10:51:32] local.INFO: GPS Element Parsed {"raw_longitude":758423168,"raw_latitude":112372456,"longitude_deg":75.8423168,"latitude_deg":11.2372456,"altitude":9,"angle":305,"satellites":47,"speed":23,"hex_longitude":"2d349e80","hex_latitude":"06b2aae8","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130546432001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067608446304256,"note":"Value kept but may cause issues"} 
[2026-06-18 10:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795569162240,"note":"Value kept but may cause issues"} 
[2026-06-18 10:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781759960000,"timestamp_ms":1781759960000,"timestamp_seconds":1781759960,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92b63c0"} 
[2026-06-18 10:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-18 10:51: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-06-18 10: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-06-18 10:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130546432001,"66":27767,"182":206,"28":21760,"24":23,"16":318067608446304256,"45":3800404795569162240},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130546432001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:51:32] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067608446304256,"km_value":318067608446304.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795569162240,"description":"Unknown IO ID 45"} 
[2026-06-18 10:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130546432001,"power":27767,"unknown_182":206,"unknown_28":21760,"ignition":23,"odometer":null,"unknown_45":3800404795569162240}} 
[2026-06-18 10:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":106438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:51:32] local.INFO: GPS data processed {"connection_id":106438,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:51:32] local.INFO: Acknowledgment sent {"connection_id":106438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:51:34] local.INFO: TCP Data received {"connection_id":106439,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:51:34] local.INFO: Processing buffer {"connection_id":106439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:51:34] local.INFO: IMEI packet received {"connection_id":106439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:51:34] local.INFO: IMEI acknowledgment sent {"connection_id":106439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:52:04] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92bb5c8012d3498c006b2aef00008013030..."} 
[2026-06-18 10:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92bb5c8012d3498c006b2aef00008013030..."} 
[2026-06-18 10:52:04] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92bb5c8012d3498c006b2aef00008013030..."} 
[2026-06-18 10:52:04] local.INFO: Packet analysis {"connection_id":106438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92b"} 
[2026-06-18 10:52:04] local.INFO: Extracted packet for processing {"connection_id":106438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92b"} 
[2026-06-18 10:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758421696,"raw_latitude":112373488,"longitude_deg":75.8421696,"latitude_deg":11.2373488,"altitude":8,"angle":304,"satellites":48,"speed":0,"hex_longitude":"2d3498c0","hex_latitude":"06b2aef0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130549760001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067694345650176,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791608702548240384,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781759981000,"timestamp_ms":1781759981000,"timestamp_seconds":1781759981,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92bb5c8"} 
[2026-06-18 10:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130549760001,"66":28028,"182":206,"28":21760,"24":0,"16":318067694345650176,"45":3791608702548240384},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130549760001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:52:04] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067694345650176,"km_value":318067694345650.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791608702548240384,"description":"Unknown IO ID 45"} 
[2026-06-18 10:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130549760001,"power":28028,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3791608702548240384}} 
[2026-06-18 10:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":106438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:52:04] local.INFO: GPS data processed {"connection_id":106438,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:52:04] local.INFO: Acknowledgment sent {"connection_id":106438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:52:25] local.INFO: TCP Data received {"connection_id":105858,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:25] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:25] local.INFO: IMEI packet received {"connection_id":105858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":105858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:52:26] local.INFO: TCP Data received {"connection_id":105858,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:26] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:26] local.INFO: IMEI packet received {"connection_id":105858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":105858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:52:30] local.INFO: TCP Data received {"connection_id":105858,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:30] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:52:30] local.INFO: IMEI packet received {"connection_id":105858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":105858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:52:31] local.INFO: TCP Data received {"connection_id":105858,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92c07d0012d34980006b2afb00009012b2f..."} 
[2026-06-18 10:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92c07d0012d34980006b2afb00009012b2f..."} 
[2026-06-18 10:52:31] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92c07d0012d34980006b2afb00009012b2f..."} 
[2026-06-18 10:52:31] local.INFO: Packet analysis {"connection_id":105858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:52:31] local.INFO: Extracted packet for processing {"connection_id":105858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758421504,"raw_latitude":112373680,"longitude_deg":75.8421504,"latitude_deg":11.237368,"altitude":9,"angle":299,"satellites":47,"speed":5,"hex_longitude":"2d349800","hex_latitude":"06b2afb0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130555136001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067711525519360,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789990221432418304,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781760002000,"timestamp_ms":1781760002000,"timestamp_seconds":1781760002,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92c07d0"} 
[2026-06-18 10:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 10:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130555136001,"66":27800,"182":206,"28":21760,"24":5,"16":318067711525519360,"45":3789990221432418304},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130555136001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:52:31] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067711525519360,"km_value":318067711525519.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789990221432418304,"description":"Unknown IO ID 45"} 
[2026-06-18 10:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130555136001,"power":27800,"unknown_182":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3789990221432418304}} 
[2026-06-18 10:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":105858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:52:31] local.INFO: GPS data processed {"connection_id":105858,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:52:31] local.INFO: Acknowledgment sent {"connection_id":105858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:52:40] local.INFO: TCP Data received {"connection_id":107409,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:40] local.INFO: Processing buffer {"connection_id":107409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:40] local.INFO: IMEI packet received {"connection_id":107409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":107409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:52:41] local.INFO: TCP Data received {"connection_id":107409,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:41] local.INFO: Processing buffer {"connection_id":107409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:41] local.INFO: IMEI packet received {"connection_id":107409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":107409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:52:47] local.INFO: TCP Data received {"connection_id":107409,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:47] local.INFO: Processing buffer {"connection_id":107409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:52:47] local.INFO: IMEI packet received {"connection_id":107409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":107409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:52:50] local.INFO: TCP Data received {"connection_id":107409,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92c1388012d1820400721a4c00046012c1b..."} 
[2026-06-18 10:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92c1388012d1820400721a4c00046012c1b..."} 
[2026-06-18 10:52:50] local.INFO: Processing buffer {"connection_id":107409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92c1388012d1820400721a4c00046012c1b..."} 
[2026-06-18 10:52:50] local.INFO: Packet analysis {"connection_id":107409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:52:50] local.INFO: Extracted packet for processing {"connection_id":107409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645376,"longitude_deg":75.655584,"latitude_deg":11.9645376,"altitude":70,"angle":300,"satellites":27,"speed":10,"hex_longitude":"2d182040","hex_latitude":"0721a4c0","is_valid_coordinates":true} 
[2026-06-18 10:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130559232001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300098251423744,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584156672,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781760005000,"timestamp_ms":1781760005000,"timestamp_seconds":1781760005,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92c1388"} 
[2026-06-18 10:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 10:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130559232001,"66":14102,"121":206,"28":31744,"24":10,"16":3300098251423744,"45":1740922761584156672},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 10:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130559232001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:52:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 10:52:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300098251423744,"km_value":3300098251423.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584156672,"description":"Unknown IO ID 45"} 
[2026-06-18 10:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130559232001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1740922761584156672}} 
[2026-06-18 10:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":107409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:52:51] local.INFO: GPS data processed {"connection_id":107409,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:52:51] local.INFO: Acknowledgment sent {"connection_id":107409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:52:52] local.INFO: TCP Data received {"connection_id":107409,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92c3e80012d181cc00721a8d80046015c1b..."} 
[2026-06-18 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92c3e80012d181cc00721a8d80046015c1b..."} 
[2026-06-18 10:52:52] local.INFO: Processing buffer {"connection_id":107409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92c3e80012d181cc00721a8d80046015c1b..."} 
[2026-06-18 10:52:52] local.INFO: Packet analysis {"connection_id":107409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:52:52] local.INFO: Extracted packet for processing {"connection_id":107409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:52:52] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646424,"longitude_deg":75.6554944,"latitude_deg":11.9646424,"altitude":70,"angle":348,"satellites":27,"speed":8,"hex_longitude":"2d181cc0","hex_latitude":"0721a8d8","is_valid_coordinates":true} 
[2026-06-18 10:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130561280001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300166970900480,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538405376,"note":"Value kept but may cause issues"} 
[2026-06-18 10:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781760016000,"timestamp_ms":1781760016000,"timestamp_seconds":1781760016,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92c3e80"} 
[2026-06-18 10:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:52:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 10:52:52] 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-06-18 10:52:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130561280001,"66":14265,"120":206,"28":31744,"24":8,"16":3300166970900480,"45":1738459855538405376},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130561280001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:52:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:52:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300166970900480,"km_value":3300166970900.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538405376,"description":"Unknown IO ID 45"} 
[2026-06-18 10:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130561280001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738459855538405376}} 
[2026-06-18 10:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":107409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:52:52] local.INFO: GPS data processed {"connection_id":107409,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:52:52] local.INFO: Acknowledgment sent {"connection_id":107409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:53:07] local.INFO: TCP Data received {"connection_id":105858,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92c59d8012d34950006b2b1b8000a012c2e..."} 
[2026-06-18 10:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92c59d8012d34950006b2b1b8000a012c2e..."} 
[2026-06-18 10:53:07] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92c59d8012d34950006b2b1b8000a012c2e..."} 
[2026-06-18 10:53:07] local.INFO: Packet analysis {"connection_id":105858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:53:07] local.INFO: Extracted packet for processing {"connection_id":105858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758420736,"raw_latitude":112374200,"longitude_deg":75.8420736,"latitude_deg":11.23742,"altitude":10,"angle":300,"satellites":46,"speed":0,"hex_longitude":"2d349500","hex_latitude":"06b2b1b8","is_valid_coordinates":true} 
[2026-06-18 10:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130560512001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067754475192320,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789779115199934464,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781760023000,"timestamp_ms":1781760023000,"timestamp_seconds":1781760023,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92c59d8"} 
[2026-06-18 10:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 10:53: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-06-18 10:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130560512001,"66":27767,"182":206,"28":21760,"24":0,"16":318067754475192320,"45":3789779115199934464},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130560512001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:53:07] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067754475192320,"km_value":318067754475192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789779115199934464,"description":"Unknown IO ID 45"} 
[2026-06-18 10:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130560512001,"power":27767,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789779115199934464}} 
[2026-06-18 10:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":105858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:53:07] local.INFO: GPS data processed {"connection_id":105858,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:53:07] local.INFO: Acknowledgment sent {"connection_id":105858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:53:28] local.INFO: TCP Data received {"connection_id":105662,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:28] local.INFO: Processing buffer {"connection_id":105662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:28] local.INFO: IMEI packet received {"connection_id":105662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":105662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:53:30] local.INFO: TCP Data received {"connection_id":105662,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:30] local.INFO: Processing buffer {"connection_id":105662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:30] local.INFO: IMEI packet received {"connection_id":105662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":105662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:53:35] local.INFO: TCP Data received {"connection_id":105662,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:35] local.INFO: Processing buffer {"connection_id":105662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:53:35] local.INFO: IMEI packet received {"connection_id":105662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":105662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:53:37] local.INFO: TCP Data received {"connection_id":105859,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:53:37] local.INFO: Processing buffer {"connection_id":105859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:53:37] local.INFO: IMEI packet received {"connection_id":105859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":105859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:53:39] local.INFO: TCP Data received {"connection_id":105662,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92cabe0012d34950006b2b1c0000a012c30..."} 
[2026-06-18 10:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92cabe0012d34950006b2b1c0000a012c30..."} 
[2026-06-18 10:53:39] local.INFO: Processing buffer {"connection_id":105662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92cabe0012d34950006b2b1c0000a012c30..."} 
[2026-06-18 10:53:39] local.INFO: Packet analysis {"connection_id":105662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:53:39] local.INFO: Extracted packet for processing {"connection_id":105662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758420736,"raw_latitude":112374208,"longitude_deg":75.8420736,"latitude_deg":11.2374208,"altitude":10,"angle":300,"satellites":48,"speed":0,"hex_longitude":"2d349500","hex_latitude":"06b2b1c0","is_valid_coordinates":true} 
[2026-06-18 10:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130565888001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067754475192320,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3788934690269935616,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781760044000,"timestamp_ms":1781760044000,"timestamp_seconds":1781760044,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92cabe0"} 
[2026-06-18 10:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:53: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-06-18 10:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 10:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130565888001,"66":27876,"182":206,"28":21760,"24":0,"16":318067754475192320,"45":3788934690269935616},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130565888001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:53:39] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067754475192320,"km_value":318067754475192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3788934690269935616,"description":"Unknown IO ID 45"} 
[2026-06-18 10:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130565888001,"power":27876,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3788934690269935616}} 
[2026-06-18 10:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":105662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:53:39] local.INFO: GPS data processed {"connection_id":105662,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:53:39] local.INFO: Acknowledgment sent {"connection_id":105662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:53:42] local.INFO: TCP Data received {"connection_id":105859,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:53:42] local.INFO: Processing buffer {"connection_id":105859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:53:42] local.INFO: IMEI packet received {"connection_id":105859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":105859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:53:44] local.INFO: TCP Data received {"connection_id":105859,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92c4268012d181cc00721a9d8004600061b..."} 
[2026-06-18 10:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92c4268012d181cc00721a9d8004600061b..."} 
[2026-06-18 10:53:44] local.INFO: Processing buffer {"connection_id":105859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92c4268012d181cc00721a9d8004600061b..."} 
[2026-06-18 10:53:44] local.INFO: Packet analysis {"connection_id":105859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:53:44] local.INFO: Extracted packet for processing {"connection_id":105859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646680,"longitude_deg":75.6554944,"latitude_deg":11.964668,"altitude":70,"angle":6,"satellites":27,"speed":11,"hex_longitude":"2d181cc0","hex_latitude":"0721a9d8","is_valid_coordinates":true} 
[2026-06-18 10:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130564096001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300179855802368,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120186368,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781760017000,"timestamp_ms":1781760017000,"timestamp_seconds":1781760017,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92c4268"} 
[2026-06-18 10:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 10:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:53:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130564096001,"66":14330,"120":206,"28":31744,"24":11,"16":3300179855802368,"45":1737474693120186368},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130564096001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:53:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:53:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300179855802368,"km_value":3300179855802.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120186368,"description":"Unknown IO ID 45"} 
[2026-06-18 10:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130564096001,"power":14330,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1737474693120186368}} 
[2026-06-18 10:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":105859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:53:44] local.INFO: GPS data processed {"connection_id":105859,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:53:44] local.INFO: Acknowledgment sent {"connection_id":105859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:53:45] local.INFO: TCP Data received {"connection_id":105662,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92cfde8012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92cfde8012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:53:45] local.INFO: Processing buffer {"connection_id":105662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92cfde8012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:53:45] local.INFO: Packet analysis {"connection_id":105662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:53:45] local.INFO: Extracted packet for processing {"connection_id":105662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92c"} 
[2026-06-18 10:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758420736,"raw_latitude":112374208,"longitude_deg":75.8420736,"latitude_deg":11.2374208,"altitude":10,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d349500","hex_latitude":"06b2b1c0","is_valid_coordinates":true} 
[2026-06-18 10:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130571264001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067754475192320,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3788934690269937664,"note":"Value kept but may cause issues"} 
[2026-06-18 10:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781760065000,"timestamp_ms":1781760065000,"timestamp_seconds":1781760065,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92cfde8"} 
[2026-06-18 10:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 10:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130571264001,"66":27974,"182":206,"28":21760,"24":0,"16":318067754475192320,"45":3788934690269937664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130571264001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:53:45] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:53:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067754475192320,"km_value":318067754475192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3788934690269937664,"description":"Unknown IO ID 45"} 
[2026-06-18 10:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130571264001,"power":27974,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3788934690269937664}} 
[2026-06-18 10:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":105662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:53:45] local.INFO: GPS data processed {"connection_id":105662,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:53:45] local.INFO: Acknowledgment sent {"connection_id":105662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:54:15] local.INFO: TCP Data received {"connection_id":105859,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92eee00012d1824c00721b818004701561f..."} 
[2026-06-18 10:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92eee00012d1824c00721b818004701561f..."} 
[2026-06-18 10:54:15] local.INFO: Processing buffer {"connection_id":105859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92eee00012d1824c00721b818004701561f..."} 
[2026-06-18 10:54:15] local.INFO: Packet analysis {"connection_id":105859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92e"} 
[2026-06-18 10:54:15] local.INFO: Extracted packet for processing {"connection_id":105859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92e"} 
[2026-06-18 10:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130604032001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781760192000,"timestamp_ms":1781760192000,"timestamp_seconds":1781760192,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92eee00"} 
[2026-06-18 10:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:54:15] 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-06-18 10:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303180696047079,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":120,"raw_value":58015164105490432,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3643589456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3088580679,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692856,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3115974656,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:15] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,185,81,45,192,184,71,29,10,66,255,177,1,240,231,217,33,4,113,205,21,36,27,239,52,2,11,7],"length":486,"final_offset":616,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 10:54:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116465338518601728,"timestamp_seconds":5116465338518602.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 10:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130604032001,"66":13004,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130604032001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:54:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:54:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130604032001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":105859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:54:15] local.INFO: GPS data processed {"connection_id":105859,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:54:15] local.INFO: Acknowledgment sent {"connection_id":105859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:54:25] local.INFO: TCP Data received {"connection_id":105663,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:54:25] local.INFO: Processing buffer {"connection_id":105663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:54:25] local.INFO: IMEI packet received {"connection_id":105663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":105663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:54:30] local.INFO: TCP Data received {"connection_id":105663,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:54:30] local.INFO: Processing buffer {"connection_id":105663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:54:30] local.INFO: IMEI packet received {"connection_id":105663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":105663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:54:36] local.INFO: TCP Data received {"connection_id":105663,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92d4ff0012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92d4ff0012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:54:36] local.INFO: Processing buffer {"connection_id":105663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92d4ff0012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:54:36] local.INFO: Packet analysis {"connection_id":105663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92d"} 
[2026-06-18 10:54:36] local.INFO: Extracted packet for processing {"connection_id":105663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92d"} 
[2026-06-18 10:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758420736,"raw_latitude":112374208,"longitude_deg":75.8420736,"latitude_deg":11.2374208,"altitude":10,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d349500","hex_latitude":"06b2b1c0","is_valid_coordinates":true} 
[2026-06-18 10:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130576640001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067754475192320,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3788934690269937664,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781760086000,"timestamp_ms":1781760086000,"timestamp_seconds":1781760086,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92d4ff0"} 
[2026-06-18 10:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:54: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-06-18 10:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 10:54: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-06-18 10:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130576640001,"66":27745,"182":206,"28":21760,"24":0,"16":318067754475192320,"45":3788934690269937664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130576640001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:54:36] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067754475192320,"km_value":318067754475192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3788934690269937664,"description":"Unknown IO ID 45"} 
[2026-06-18 10:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130576640001,"power":27745,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3788934690269937664}} 
[2026-06-18 10:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":105663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:54:36] local.INFO: GPS data processed {"connection_id":105663,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:54:36] local.INFO: Acknowledgment sent {"connection_id":105663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:54:36] local.INFO: TCP Data received {"connection_id":107411,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:54:36] local.INFO: Processing buffer {"connection_id":107411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:54:36] local.INFO: IMEI packet received {"connection_id":107411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:54:36] local.INFO: IMEI acknowledgment sent {"connection_id":107411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:54:41] local.INFO: TCP Data received {"connection_id":107411,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:54:41] local.INFO: Processing buffer {"connection_id":107411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:54:41] local.INFO: IMEI packet received {"connection_id":107411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":107411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:54:43] local.INFO: TCP Data received {"connection_id":107411,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92f3c20012d1824c00721b818004701561e..."} 
[2026-06-18 10:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92f3c20012d1824c00721b818004701561e..."} 
[2026-06-18 10:54:43] local.INFO: Processing buffer {"connection_id":107411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92f3c20012d1824c00721b818004701561e..."} 
[2026-06-18 10:54:43] local.INFO: Packet analysis {"connection_id":107411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92f"} 
[2026-06-18 10:54:43] local.INFO: Extracted packet for processing {"connection_id":107411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92f"} 
[2026-06-18 10:54:43] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":30,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130609152001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781760212000,"timestamp_ms":1781760212000,"timestamp_seconds":1781760212,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92f3c20"} 
[2026-06-18 10:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 10:54:43] 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-06-18 10:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130609152001,"66":12939,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130609152001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:54:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130609152001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":107411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:54:43] local.INFO: GPS data processed {"connection_id":107411,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:54:43] local.INFO: Acknowledgment sent {"connection_id":107411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:55:07] local.INFO: TCP Data received {"connection_id":105663,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92da1f8012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92da1f8012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:55:07] local.INFO: Processing buffer {"connection_id":105663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92da1f8012d34950006b2b1c0000a012c2f..."} 
[2026-06-18 10:55:07] local.INFO: Packet analysis {"connection_id":105663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92d"} 
[2026-06-18 10:55:07] local.INFO: Extracted packet for processing {"connection_id":105663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92d"} 
[2026-06-18 10:55:07] local.INFO: GPS Element Parsed {"raw_longitude":758420736,"raw_latitude":112374208,"longitude_deg":75.8420736,"latitude_deg":11.2374208,"altitude":10,"angle":300,"satellites":47,"speed":0,"hex_longitude":"2d349500","hex_latitude":"06b2b1c0","is_valid_coordinates":true} 
[2026-06-18 10:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130582016001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067754475192320,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3788934690269937664,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781760107000,"timestamp_ms":1781760107000,"timestamp_seconds":1781760107,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92da1f8"} 
[2026-06-18 10:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 10:55: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-06-18 10:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130582016001,"66":27865,"182":206,"28":21760,"24":0,"16":318067754475192320,"45":3788934690269937664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130582016001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:55:07] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:55:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067754475192320,"km_value":318067754475192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3788934690269937664,"description":"Unknown IO ID 45"} 
[2026-06-18 10:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130582016001,"power":27865,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3788934690269937664}} 
[2026-06-18 10:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":105663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:55:07] local.INFO: GPS data processed {"connection_id":105663,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:55:07] local.INFO: Acknowledgment sent {"connection_id":105663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:55:14] local.INFO: TCP Data received {"connection_id":107411,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92f8a40012d1824c00721b818004701561f..."} 
[2026-06-18 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92f8a40012d1824c00721b818004701561f..."} 
[2026-06-18 10:55:14] local.INFO: Processing buffer {"connection_id":107411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92f8a40012d1824c00721b818004701561f..."} 
[2026-06-18 10:55:14] local.INFO: Packet analysis {"connection_id":107411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92f"} 
[2026-06-18 10:55:14] local.INFO: Extracted packet for processing {"connection_id":107411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92f"} 
[2026-06-18 10:55:14] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130614272001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781760232000,"timestamp_ms":1781760232000,"timestamp_seconds":1781760232,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92f8a40"} 
[2026-06-18 10:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 10:55:14] 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-06-18 10:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130614272001,"66":12928,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130614272001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:55:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130614272001,"power":12928,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":107411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:55:14] local.INFO: GPS data processed {"connection_id":107411,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:55:14] local.INFO: Acknowledgment sent {"connection_id":107411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:55:25] local.INFO: TCP Data received {"connection_id":107412,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:25] local.INFO: Processing buffer {"connection_id":107412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:25] local.INFO: IMEI packet received {"connection_id":107412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":107412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:55:26] local.INFO: TCP Data received {"connection_id":107412,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:26] local.INFO: Processing buffer {"connection_id":107412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:26] local.INFO: IMEI packet received {"connection_id":107412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":107412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:55:31] local.INFO: TCP Data received {"connection_id":107412,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:31] local.INFO: Processing buffer {"connection_id":107412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:55:31] local.INFO: IMEI packet received {"connection_id":107412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":107412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:55:33] local.INFO: TCP Data received {"connection_id":107412,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92df400012d34950006b2b1c0000a012c30..."} 
[2026-06-18 10:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92df400012d34950006b2b1c0000a012c30..."} 
[2026-06-18 10:55:33] local.INFO: Processing buffer {"connection_id":107412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92df400012d34950006b2b1c0000a012c30..."} 
[2026-06-18 10:55:33] local.INFO: Packet analysis {"connection_id":107412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92d"} 
[2026-06-18 10:55:33] local.INFO: Extracted packet for processing {"connection_id":107412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92d"} 
[2026-06-18 10:55:33] local.INFO: GPS Element Parsed {"raw_longitude":758420736,"raw_latitude":112374208,"longitude_deg":75.8420736,"latitude_deg":11.2374208,"altitude":10,"angle":300,"satellites":48,"speed":0,"hex_longitude":"2d349500","hex_latitude":"06b2b1c0","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:55:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130587392001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318067754475192320,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3788934690269937664,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:55:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781760128000,"timestamp_ms":1781760128000,"timestamp_seconds":1781760128,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92df400"} 
[2026-06-18 10:55:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:55: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-06-18 10: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 10:55: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-06-18 10: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-06-18 10:55:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:55:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:55:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:55:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:55:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:55:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:55:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:55:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:55:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130587392001,"66":27767,"182":206,"28":21760,"24":0,"16":318067754475192320,"45":3788934690269937664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-06-18 10:55:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:55:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:55:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130587392001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:55:33] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-06-18 10:55:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:55:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318067754475192320,"km_value":318067754475192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:55:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3788934690269937664,"description":"Unknown IO ID 45"} 
[2026-06-18 10:55:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130587392001,"power":27767,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3788934690269937664}} 
[2026-06-18 10:55:33] local.INFO: DEBUG: GPS processor result {"connection_id":107412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:55:33] local.INFO: GPS data processed {"connection_id":107412,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:55:33] local.INFO: Acknowledgment sent {"connection_id":107412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:55:36] local.INFO: TCP Data received {"connection_id":106440,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:55:36] local.INFO: Processing buffer {"connection_id":106440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:55:36] local.INFO: IMEI packet received {"connection_id":106440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":106440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:55:41] local.INFO: TCP Data received {"connection_id":106440,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106440,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:55:41] local.INFO: Processing buffer {"connection_id":106440,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:55:41] local.INFO: IMEI packet received {"connection_id":106440,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":106440,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:55:45] local.INFO: TCP Data received {"connection_id":106440,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed92fdc48012d1824c00721b818004701561f..."} 
[2026-06-18 10:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed92fdc48012d1824c00721b818004701561f..."} 
[2026-06-18 10:55:45] local.INFO: Processing buffer {"connection_id":106440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed92fdc48012d1824c00721b818004701561f..."} 
[2026-06-18 10:55:45] local.INFO: Packet analysis {"connection_id":106440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed92f"} 
[2026-06-18 10:55:45] local.INFO: Extracted packet for processing {"connection_id":106440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed92f"} 
[2026-06-18 10:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130619392001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:55:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781760253000,"timestamp_ms":1781760253000,"timestamp_seconds":1781760253,"priority":1,"record_length":96,"hex_timestamp":"0000019ed92fdc48"} 
[2026-06-18 10:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:55:45] 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-06-18 10:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-18 10:55:45] 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-06-18 10:55:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130619392001,"66":12841,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130619392001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:55:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:55:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130619392001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":106440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:55:45] local.INFO: GPS data processed {"connection_id":106440,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:55:45] local.INFO: Acknowledgment sent {"connection_id":106440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:56:06] local.INFO: TCP Data received {"connection_id":107412,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed930d648012d33c88006b356980011014b2c..."} 
[2026-06-18 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed930d648012d33c88006b356980011014b2c..."} 
[2026-06-18 10:56:06] local.INFO: Processing buffer {"connection_id":107412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed930d648012d33c88006b356980011014b2c..."} 
[2026-06-18 10:56:06] local.INFO: Packet analysis {"connection_id":107412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:06] local.INFO: Extracted packet for processing {"connection_id":107412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758368384,"raw_latitude":112416408,"longitude_deg":75.8368384,"latitude_deg":11.2416408,"altitude":17,"angle":331,"satellites":44,"speed":58,"hex_longitude":"2d33c880","hex_latitude":"06b35698","is_valid_coordinates":true} 
[2026-06-18 10:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130639616001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318071022945304576,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3736580344610742272,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781760317000,"timestamp_ms":1781760317000,"timestamp_seconds":1781760317,"priority":1,"record_length":96,"hex_timestamp":"0000019ed930d648"} 
[2026-06-18 10:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:56: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-06-18 10:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 10:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130639616001,"66":27789,"211":206,"28":21760,"24":58,"16":318071022945304576,"45":3736580344610742272},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130639616001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:56:06] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318071022945304576,"km_value":318071022945304.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3736580344610742272,"description":"Unknown IO ID 45"} 
[2026-06-18 10:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130639616001,"power":27789,"unknown_211":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3736580344610742272}} 
[2026-06-18 10:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":107412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:56:06] local.INFO: GPS data processed {"connection_id":107412,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:56:06] local.INFO: Acknowledgment sent {"connection_id":107412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:56:16] local.INFO: TCP Data received {"connection_id":106440,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9302e50012d1824c00721b818004701561f..."} 
[2026-06-18 10:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9302e50012d1824c00721b818004701561f..."} 
[2026-06-18 10:56:16] local.INFO: Processing buffer {"connection_id":106440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9302e50012d1824c00721b818004701561f..."} 
[2026-06-18 10:56:16] local.INFO: Packet analysis {"connection_id":106440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:16] local.INFO: Extracted packet for processing {"connection_id":106440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":31,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130624768001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781760274000,"timestamp_ms":1781760274000,"timestamp_seconds":1781760274,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9302e50"} 
[2026-06-18 10:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:56:16] 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-06-18 10:56:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 10:56:16] 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-06-18 10:56:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106440,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130624768001,"66":12809,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130624768001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:56:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:56:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130624768001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":106440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:56:17] local.INFO: GPS data processed {"connection_id":106440,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:56:17] local.INFO: Acknowledgment sent {"connection_id":106440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:56:25] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:25] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:25] local.INFO: IMEI packet received {"connection_id":106441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":106441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:56:25] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:25] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:25] local.INFO: IMEI packet received {"connection_id":106441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":106441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:56:30] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:30] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:30] local.INFO: IMEI packet received {"connection_id":106441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":106441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:56:30] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:30] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:56:30] local.INFO: IMEI packet received {"connection_id":106441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":106441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:56:32] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed930edb8012d33ba8006b37760001001572b..."} 
[2026-06-18 10:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed930edb8012d33ba8006b37760001001572b..."} 
[2026-06-18 10:56:32] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed930edb8012d33ba8006b37760001001572b..."} 
[2026-06-18 10:56:32] local.INFO: Packet analysis {"connection_id":106441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:32] local.INFO: Extracted packet for processing {"connection_id":106441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:32] local.INFO: GPS Element Parsed {"raw_longitude":758364800,"raw_latitude":112424800,"longitude_deg":75.83648,"latitude_deg":11.24248,"altitude":16,"angle":343,"satellites":43,"speed":59,"hex_longitude":"2d33ba80","hex_latitude":"06b37760","is_valid_coordinates":true} 
[2026-06-18 10:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130641152001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318071465326936064,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3731373057543411712,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781760323000,"timestamp_ms":1781760323000,"timestamp_seconds":1781760323,"priority":1,"record_length":96,"hex_timestamp":"0000019ed930edb8"} 
[2026-06-18 10:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 10:56:32] 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-06-18 10:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130641152001,"66":27919,"211":206,"28":21760,"24":59,"16":318071465326936064,"45":3731373057543411712},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130641152001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:56:32] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318071465326936064,"km_value":318071465326936.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3731373057543411712,"description":"Unknown IO ID 45"} 
[2026-06-18 10:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130641152001,"power":27919,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3731373057543411712}} 
[2026-06-18 10:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":106441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:56:32] local.INFO: GPS data processed {"connection_id":106441,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:56:32] local.INFO: Acknowledgment sent {"connection_id":106441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:56:35] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed930edb8012d33ba8006b37760001001572b..."} 
[2026-06-18 10:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed930edb8012d33ba8006b37760001001572b..."} 
[2026-06-18 10:56:35] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed930edb8012d33ba8006b37760001001572b..."} 
[2026-06-18 10:56:35] local.INFO: Packet analysis {"connection_id":106441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:35] local.INFO: Extracted packet for processing {"connection_id":106441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:35] local.INFO: GPS Element Parsed {"raw_longitude":758364800,"raw_latitude":112424800,"longitude_deg":75.83648,"latitude_deg":11.24248,"altitude":16,"angle":343,"satellites":43,"speed":59,"hex_longitude":"2d33ba80","hex_latitude":"06b37760","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130642688001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318071465326936064,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727432407871610880,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781760323000,"timestamp_ms":1781760323000,"timestamp_seconds":1781760323,"priority":1,"record_length":96,"hex_timestamp":"0000019ed930edb8"} 
[2026-06-18 10:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:56: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-06-18 10: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10:56: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-06-18 10: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-06-18 10:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130642688001,"66":27919,"211":206,"28":21760,"24":59,"16":318071465326936064,"45":3727432407871610880},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130642688001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:56:35] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:56:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318071465326936064,"km_value":318071465326936.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727432407871610880,"description":"Unknown IO ID 45"} 
[2026-06-18 10:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130642688001,"power":27919,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3727432407871610880}} 
[2026-06-18 10:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":106441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:56:35] local.INFO: GPS data processed {"connection_id":106441,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:56:35] local.INFO: Acknowledgment sent {"connection_id":106441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:56:36] local.INFO: TCP Data received {"connection_id":105665,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:56:36] local.INFO: Processing buffer {"connection_id":105665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:56:36] local.INFO: IMEI packet received {"connection_id":105665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":105665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:56:42] local.INFO: TCP Data received {"connection_id":105665,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:56:42] local.INFO: Processing buffer {"connection_id":105665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:56:42] local.INFO: IMEI packet received {"connection_id":105665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":105665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:56:43] local.INFO: TCP Data received {"connection_id":105665,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9307c70012d1824c00721b8180047015620..."} 
[2026-06-18 10:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9307c70012d1824c00721b8180047015620..."} 
[2026-06-18 10:56:43] local.INFO: Processing buffer {"connection_id":105665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9307c70012d1824c00721b8180047015620..."} 
[2026-06-18 10:56:43] local.INFO: Packet analysis {"connection_id":105665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:43] local.INFO: Extracted packet for processing {"connection_id":105665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130630144001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781760294000,"timestamp_ms":1781760294000,"timestamp_seconds":1781760294,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9307c70"} 
[2026-06-18 10:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:56:43] 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-06-18 10:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3643691456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3314570165959009472,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3088580679,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692856,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3314875719779143196,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3115974656,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429718388436719133,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-18 10:56:43] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,185,220,45,192,184,71,31,10,66,138,60,1,240,139,217,33,4,113,205,159,36,30,239,51,2,11,7,124,186],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 10:56:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116465342813569024,"timestamp_seconds":5116465342813569.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 10:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130630144001,"66":12798,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130630144001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:56:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130630144001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":105665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:56:43] local.INFO: GPS data processed {"connection_id":105665,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:56:43] local.INFO: Acknowledgment sent {"connection_id":105665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:56:54] local.INFO: TCP Data received {"connection_id":107414,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:56:54] local.INFO: Processing buffer {"connection_id":107414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:56:54] local.INFO: IMEI packet received {"connection_id":107414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":107414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:57:06] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9310528012d33b40006b399a0000e01632a..."} 
[2026-06-18 10:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9310528012d33b40006b399a0000e01632a..."} 
[2026-06-18 10:57:06] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9310528012d33b40006b399a0000e01632a..."} 
[2026-06-18 10:57:06] local.INFO: Packet analysis {"connection_id":106441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:57:06] local.INFO: Extracted packet for processing {"connection_id":106441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758363136,"raw_latitude":112433568,"longitude_deg":75.8363136,"latitude_deg":11.2433568,"altitude":14,"angle":355,"satellites":42,"speed":59,"hex_longitude":"2d33b400","hex_latitude":"06b399a0","is_valid_coordinates":true} 
[2026-06-18 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130642688001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318071894823665664,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3727432407871610880,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781760329000,"timestamp_ms":1781760329000,"timestamp_seconds":1781760329,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9310528"} 
[2026-06-18 10:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:57:06] 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-06-18 10:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10:57: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-06-18 10:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130642688001,"66":27843,"211":206,"28":21760,"24":59,"16":318071894823665664,"45":3727432407871610880},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130642688001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:57:06] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318071894823665664,"km_value":318071894823665.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3727432407871610880,"description":"Unknown IO ID 45"} 
[2026-06-18 10:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130642688001,"power":27843,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3727432407871610880}} 
[2026-06-18 10:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":106441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:57:06] local.INFO: GPS data processed {"connection_id":106441,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:57:06] local.INFO: Acknowledgment sent {"connection_id":106441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:57:15] local.INFO: TCP Data received {"connection_id":105665,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed930ca90012d1824c00721b8180047015620..."} 
[2026-06-18 10:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed930ca90012d1824c00721b8180047015620..."} 
[2026-06-18 10:57:15] local.INFO: Processing buffer {"connection_id":105665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed930ca90012d1824c00721b8180047015620..."} 
[2026-06-18 10:57:15] local.INFO: Packet analysis {"connection_id":105665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:57:15] local.INFO: Extracted packet for processing {"connection_id":105665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 10:57:15] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130635264001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781760314000,"timestamp_ms":1781760314000,"timestamp_seconds":1781760314,"priority":1,"record_length":96,"hex_timestamp":"0000019ed930ca90"} 
[2026-06-18 10:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-18 10:57:15] 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-06-18 10:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130635264001,"66":12558,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130635264001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:57:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:57:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130635264001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":105665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:57:15] local.INFO: GPS data processed {"connection_id":105665,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:57:15] local.INFO: Acknowledgment sent {"connection_id":105665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:57:29] local.INFO: TCP Data received {"connection_id":105666,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:29] local.INFO: Processing buffer {"connection_id":105666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:29] local.INFO: IMEI packet received {"connection_id":105666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":105666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:57:30] local.INFO: TCP Data received {"connection_id":105666,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:30] local.INFO: Processing buffer {"connection_id":105666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:30] local.INFO: IMEI packet received {"connection_id":105666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":105666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:57:34] local.INFO: TCP Data received {"connection_id":107415,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:57:34] local.INFO: Processing buffer {"connection_id":107415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:57:34] local.INFO: IMEI packet received {"connection_id":107415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":107415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:57:35] local.INFO: TCP Data received {"connection_id":105666,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:35] local.INFO: Processing buffer {"connection_id":105666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:57:35] local.INFO: IMEI packet received {"connection_id":105666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:57:35] local.INFO: IMEI acknowledgment sent {"connection_id":105666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:57:36] local.INFO: TCP Data received {"connection_id":105666,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed931f370012d33450006b49a08000d01282f..."} 
[2026-06-18 10:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed931f370012d33450006b49a08000d01282f..."} 
[2026-06-18 10:57:36] local.INFO: Processing buffer {"connection_id":105666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed931f370012d33450006b49a08000d01282f..."} 
[2026-06-18 10:57:36] local.INFO: Packet analysis {"connection_id":105666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:57:36] local.INFO: Extracted packet for processing {"connection_id":105666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:57:36] local.INFO: GPS Element Parsed {"raw_longitude":758334720,"raw_latitude":112499208,"longitude_deg":75.833472,"latitude_deg":11.2499208,"altitude":13,"angle":296,"satellites":47,"speed":52,"hex_longitude":"2d334500","hex_latitude":"06b49a08","is_valid_coordinates":true} 
[2026-06-18 10:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:57:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130657792001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318075661509984256,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3704210722310766592,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:57:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781760390000,"timestamp_ms":1781760390000,"timestamp_seconds":1781760390,"priority":1,"record_length":96,"hex_timestamp":"0000019ed931f370"} 
[2026-06-18 10:57:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:57: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-06-18 10:57:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 10:57: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-06-18 10:57:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:57:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:57:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:57:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:57:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:57:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:57:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:57:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:57:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:57:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130657792001,"66":27604,"211":206,"28":21760,"24":52,"16":318075661509984256,"45":3704210722310766592},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:57:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:57:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:57:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130657792001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:57:36] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:57:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:57:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318075661509984256,"km_value":318075661509984.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:57:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3704210722310766592,"description":"Unknown IO ID 45"} 
[2026-06-18 10:57:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130657792001,"power":27604,"unknown_211":206,"unknown_28":21760,"ignition":52,"odometer":null,"unknown_45":3704210722310766592}} 
[2026-06-18 10:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":105666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:57:36] local.INFO: GPS data processed {"connection_id":105666,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:57:36] local.INFO: Acknowledgment sent {"connection_id":105666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:57:36] local.INFO: TCP Data received {"connection_id":106442,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:57:36] local.INFO: Processing buffer {"connection_id":106442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:57:36] local.INFO: IMEI packet received {"connection_id":106442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":106442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:57:38] local.INFO: TCP Data received {"connection_id":105666,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9320ec8012d3322c006b4a9e8000e01272e..."} 
[2026-06-18 10:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9320ec8012d3322c006b4a9e8000e01272e..."} 
[2026-06-18 10:57:38] local.INFO: Processing buffer {"connection_id":105666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9320ec8012d3322c006b4a9e8000e01272e..."} 
[2026-06-18 10:57:38] local.INFO: Packet analysis {"connection_id":105666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:57:38] local.INFO: Extracted packet for processing {"connection_id":105666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":758325952,"raw_latitude":112503272,"longitude_deg":75.8325952,"latitude_deg":11.2503272,"altitude":14,"angle":295,"satellites":46,"speed":56,"hex_longitude":"2d3322c0","hex_latitude":"06b4a9e8","is_valid_coordinates":true} 
[2026-06-18 10:57: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-06-18 10:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130659840001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318076121071484928,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3694359098127157248,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781760397000,"timestamp_ms":1781760397000,"timestamp_seconds":1781760397,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9320ec8"} 
[2026-06-18 10:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:57: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":212,"data_length":795,"current_offset":136} 
[2026-06-18 10:57:38] 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-06-18 10:57: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-06-18 10:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130659840001,"66":27995,"211":206,"28":21760,"24":56,"16":318076121071484928,"45":3694359098127157248},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130659840001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:57:38] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:57:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318076121071484928,"km_value":318076121071484.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3694359098127157248,"description":"Unknown IO ID 45"} 
[2026-06-18 10:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130659840001,"power":27995,"unknown_211":206,"unknown_28":21760,"ignition":56,"odometer":null,"unknown_45":3694359098127157248}} 
[2026-06-18 10:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":105666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:57:38] local.INFO: GPS data processed {"connection_id":105666,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:57:38] local.INFO: Acknowledgment sent {"connection_id":105666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:57:39] local.INFO: TCP Data received {"connection_id":107415,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:57:39] local.INFO: Processing buffer {"connection_id":107415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:57:39] local.INFO: IMEI packet received {"connection_id":107415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 10:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":107415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:57:40] local.INFO: TCP Data received {"connection_id":107415,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019ed91080f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 10:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed91080f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 10:57:40] local.INFO: Processing buffer {"connection_id":107415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed91080f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 10:57:40] local.INFO: Packet analysis {"connection_id":107415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:57:40] local.INFO: Extracted packet for processing {"connection_id":107415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed910"} 
[2026-06-18 10:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 10:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130021632001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781758198000,"timestamp_ms":1781758198000,"timestamp_seconds":1781758198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed91080f0"} 
[2026-06-18 10:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 10:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 10:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 10:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 10:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 10:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 10:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130021632001,"66":25375,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 10:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 10:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 10:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130021632001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 10:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 10:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 10:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130021632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 10:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":107415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:57:40] local.INFO: GPS data processed {"connection_id":107415,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:57:40] local.INFO: Acknowledgment sent {"connection_id":107415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:57:42] local.INFO: TCP Data received {"connection_id":106442,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:57:42] local.INFO: Processing buffer {"connection_id":106442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:57:42] local.INFO: IMEI packet received {"connection_id":106442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":106442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:57:43] local.INFO: TCP Data received {"connection_id":106442,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93118b0012d1824c00721b8180047015620..."} 
[2026-06-18 10:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93118b0012d1824c00721b8180047015620..."} 
[2026-06-18 10:57:43] local.INFO: Processing buffer {"connection_id":106442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93118b0012d1824c00721b8180047015620..."} 
[2026-06-18 10:57:43] local.INFO: Packet analysis {"connection_id":106442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:57:43] local.INFO: Extracted packet for processing {"connection_id":106442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130640384001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781760334000,"timestamp_ms":1781760334000,"timestamp_seconds":1781760334,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93118b0"} 
[2026-06-18 10:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:57:43] 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-06-18 10:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3643731456,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249387538319783960,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3088580679,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3221692856,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085735,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3115974656,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":34,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-06-18 10:57:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,185,124,45,192,184,71,32,10,66,46,31,220,1,240,41,217,33,4,113,205,60,36,30,239,50,2,11,7,231,34,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 10:57:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116465347108536320,"timestamp_seconds":5116465347108536.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 10:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130640384001,"66":12667,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130640384001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:57:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130640384001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":106442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:57:43] local.INFO: GPS data processed {"connection_id":106442,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:57:43] local.INFO: Acknowledgment sent {"connection_id":106442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:58:10] local.INFO: TCP Data received {"connection_id":105666,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9322a20012d32fe8006b4baf8000f01262f..."} 
[2026-06-18 10:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9322a20012d32fe8006b4baf8000f01262f..."} 
[2026-06-18 10:58:10] local.INFO: Processing buffer {"connection_id":105666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9322a20012d32fe8006b4baf8000f01262f..."} 
[2026-06-18 10:58:10] local.INFO: Packet analysis {"connection_id":105666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:58:10] local.INFO: Extracted packet for processing {"connection_id":105666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758316672,"raw_latitude":112507640,"longitude_deg":75.8316672,"latitude_deg":11.250764,"altitude":15,"angle":294,"satellites":47,"speed":59,"hex_longitude":"2d32fe80","hex_latitude":"06b4baf8","is_valid_coordinates":true} 
[2026-06-18 10:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130661632001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318076610697756672,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3684718580175857664,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781760404000,"timestamp_ms":1781760404000,"timestamp_seconds":1781760404,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9322a20"} 
[2026-06-18 10:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 10:58:10] 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-06-18 10:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130661632001,"66":28017,"211":206,"28":21760,"24":59,"16":318076610697756672,"45":3684718580175857664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130661632001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:58:10] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:58:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318076610697756672,"km_value":318076610697756.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3684718580175857664,"description":"Unknown IO ID 45"} 
[2026-06-18 10:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130661632001,"power":28017,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3684718580175857664}} 
[2026-06-18 10:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":105666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:58:10] local.INFO: GPS data processed {"connection_id":105666,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:58:10] local.INFO: Acknowledgment sent {"connection_id":105666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:58:14] local.INFO: TCP Data received {"connection_id":106442,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93166d0012d1824c00721b8180047015620..."} 
[2026-06-18 10:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93166d0012d1824c00721b8180047015620..."} 
[2026-06-18 10:58:14] local.INFO: Processing buffer {"connection_id":106442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93166d0012d1824c00721b8180047015620..."} 
[2026-06-18 10:58:14] local.INFO: Packet analysis {"connection_id":106442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:58:14] local.INFO: Extracted packet for processing {"connection_id":106442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130645504001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781760354000,"timestamp_ms":1781760354000,"timestamp_seconds":1781760354,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93166d0"} 
[2026-06-18 10:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 10:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130645504001,"66":12645,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130645504001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:58:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130645504001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":106442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:58:14] local.INFO: GPS data processed {"connection_id":106442,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:58:14] local.INFO: Acknowledgment sent {"connection_id":106442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:58:24] local.INFO: TCP Data received {"connection_id":105860,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:58:24] local.INFO: Processing buffer {"connection_id":105860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 10:58:24] local.INFO: IMEI packet received {"connection_id":105860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 10:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":105860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:58:25] local.INFO: TCP Data received {"connection_id":105667,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:25] local.INFO: Processing buffer {"connection_id":105667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:25] local.INFO: IMEI packet received {"connection_id":105667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":105667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:58:25] local.INFO: TCP Data received {"connection_id":105667,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:25] local.INFO: Processing buffer {"connection_id":105667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:25] local.INFO: IMEI packet received {"connection_id":105667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":105667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:58:30] local.INFO: TCP Data received {"connection_id":105667,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:30] local.INFO: Processing buffer {"connection_id":105667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:58:30] local.INFO: IMEI packet received {"connection_id":105667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":105667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:58:31] local.INFO: TCP Data received {"connection_id":105667,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9324190012d32ddc006b4ca30000f012730..."} 
[2026-06-18 10:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9324190012d32ddc006b4ca30000f012730..."} 
[2026-06-18 10:58:31] local.INFO: Processing buffer {"connection_id":105667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9324190012d32ddc006b4ca30000f012730..."} 
[2026-06-18 10:58:31] local.INFO: Packet analysis {"connection_id":105667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:58:31] local.INFO: Extracted packet for processing {"connection_id":105667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758308288,"raw_latitude":112511536,"longitude_deg":75.8308288,"latitude_deg":11.2511536,"altitude":15,"angle":295,"satellites":48,"speed":60,"hex_longitude":"2d32ddc0","hex_latitude":"06b4ca30","is_valid_coordinates":true} 
[2026-06-18 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-06-18 10:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130663424001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318077053079388160,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3674515112271214592,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781760410000,"timestamp_ms":1781760410000,"timestamp_seconds":1781760410,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9324190"} 
[2026-06-18 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-06-18 10:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-18 10:58:31] 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-06-18 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-06-18 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-06-18 10:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130663424001,"66":27821,"211":206,"28":21760,"24":60,"16":318077053079388160,"45":3674515112271214592},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130663424001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:58:31] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318077053079388160,"km_value":318077053079388.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3674515112271214592,"description":"Unknown IO ID 45"} 
[2026-06-18 10:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130663424001,"power":27821,"unknown_211":206,"unknown_28":21760,"ignition":60,"odometer":null,"unknown_45":3674515112271214592}} 
[2026-06-18 10:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":105667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:58:31] local.INFO: GPS data processed {"connection_id":105667,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:58:31] local.INFO: Acknowledgment sent {"connection_id":105667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:58:32] local.INFO: TCP Data received {"connection_id":105667,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9325900012d32bd8006b4d940000f012630..."} 
[2026-06-18 10:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9325900012d32bd8006b4d940000f012630..."} 
[2026-06-18 10:58:32] local.INFO: Processing buffer {"connection_id":105667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9325900012d32bd8006b4d940000f012630..."} 
[2026-06-18 10:58:32] local.INFO: Packet analysis {"connection_id":105667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:58:32] local.INFO: Extracted packet for processing {"connection_id":105667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:58:32] local.INFO: GPS Element Parsed {"raw_longitude":758300032,"raw_latitude":112515392,"longitude_deg":75.8300032,"latitude_deg":11.2515392,"altitude":15,"angle":294,"satellites":48,"speed":59,"hex_longitude":"2d32bd80","hex_latitude":"06b4d940","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130664960001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318077486871085056,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3665296806784937984,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781760416000,"timestamp_ms":1781760416000,"timestamp_seconds":1781760416,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9325900"} 
[2026-06-18 10:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:58: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-06-18 10: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 10:58: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-06-18 10: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-06-18 10:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130664960001,"66":27865,"211":206,"28":21760,"24":59,"16":318077486871085056,"45":3665296806784937984},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-06-18 10:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130664960001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:58:32] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 10:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318077486871085056,"km_value":318077486871085.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3665296806784937984,"description":"Unknown IO ID 45"} 
[2026-06-18 10:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130664960001,"power":27865,"unknown_211":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3665296806784937984}} 
[2026-06-18 10:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":105667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:58:32] local.INFO: GPS data processed {"connection_id":105667,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:58:32] local.INFO: Acknowledgment sent {"connection_id":105667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:58:42] local.INFO: TCP Data received {"connection_id":105861,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:58:42] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:58:42] local.INFO: IMEI packet received {"connection_id":105861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":105861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:58:46] local.INFO: TCP Data received {"connection_id":105861,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:58:46] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:58:46] local.INFO: IMEI packet received {"connection_id":105861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":105861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:58:47] local.INFO: TCP Data received {"connection_id":105861,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed931b4f0012d1824c00721b8180047015620..."} 
[2026-06-18 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed931b4f0012d1824c00721b8180047015620..."} 
[2026-06-18 10:58:47] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed931b4f0012d1824c00721b8180047015620..."} 
[2026-06-18 10:58:47] local.INFO: Packet analysis {"connection_id":105861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:58:47] local.INFO: Extracted packet for processing {"connection_id":105861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650328,"longitude_deg":75.6556992,"latitude_deg":11.9650328,"altitude":71,"angle":342,"satellites":32,"speed":0,"hex_longitude":"2d1824c0","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130650624001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300433258872832,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781760374000,"timestamp_ms":1781760374000,"timestamp_seconds":1781760374,"priority":1,"record_length":96,"hex_timestamp":"0000019ed931b4f0"} 
[2026-06-18 10:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:58:47] 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-06-18 10: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-18 10:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130650624001,"66":14135,"120":206,"28":31744,"24":0,"16":3300433258872832,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130650624001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:58:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300433258872832,"km_value":3300433258872.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130650624001,"power":14135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":105861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:58:48] local.INFO: GPS data processed {"connection_id":105861,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:58:48] local.INFO: Acknowledgment sent {"connection_id":105861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:58:49] local.INFO: TCP Data received {"connection_id":105861,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed931dfe8012d1825000721b6e8004b00d321..."} 
[2026-06-18 10:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed931dfe8012d1825000721b6e8004b00d321..."} 
[2026-06-18 10:58:49] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed931dfe8012d1825000721b6e8004b00d321..."} 
[2026-06-18 10:58:49] local.INFO: Packet analysis {"connection_id":105861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:58:49] local.INFO: Extracted packet for processing {"connection_id":105861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed931"} 
[2026-06-18 10:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650024,"longitude_deg":75.6557056,"latitude_deg":11.9650024,"altitude":75,"angle":211,"satellites":33,"speed":2,"hex_longitude":"2d182500","hex_latitude":"0721b6e8","is_valid_coordinates":true} 
[2026-06-18 10:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130655744001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300450438742016,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934871040,"note":"Value kept but may cause issues"} 
[2026-06-18 10:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781760385000,"timestamp_ms":1781760385000,"timestamp_seconds":1781760385,"priority":1,"record_length":96,"hex_timestamp":"0000019ed931dfe8"} 
[2026-06-18 10:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:58:49] 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-06-18 10:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-18 10:58:49] 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-06-18 10:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130655744001,"66":12711,"120":206,"28":31744,"24":2,"16":3300450438742016,"45":1739726492934871040},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130655744001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:58:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:58:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300450438742016,"km_value":3300450438742.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934871040,"description":"Unknown IO ID 45"} 
[2026-06-18 10:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130655744001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739726492934871040}} 
[2026-06-18 10:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":105861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:58:49] local.INFO: GPS data processed {"connection_id":105861,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:58:49] local.INFO: Acknowledgment sent {"connection_id":105861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:59:04] local.INFO: TCP Data received {"connection_id":105667,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9336a70012d31860006b5da00001101492d..."} 
[2026-06-18 10:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9336a70012d31860006b5da00001101492d..."} 
[2026-06-18 10:59:04] local.INFO: Processing buffer {"connection_id":105667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9336a70012d31860006b5da00001101492d..."} 
[2026-06-18 10:59:04] local.INFO: Packet analysis {"connection_id":105667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 10:59:04] local.INFO: Extracted packet for processing {"connection_id":105667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 10:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758220288,"raw_latitude":112581120,"longitude_deg":75.8220288,"latitude_deg":11.258112,"altitude":17,"angle":329,"satellites":45,"speed":58,"hex_longitude":"2d318600","hex_latitude":"06b5da00","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130682624001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318082554932494336,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3574521126811301888,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781760486000,"timestamp_ms":1781760486000,"timestamp_seconds":1781760486,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9336a70"} 
[2026-06-18 10:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10: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":239,"data_length":795,"current_offset":136} 
[2026-06-18 10:59:04] 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-06-18 10: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-06-18 10:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130682624001,"66":27919,"78":206,"28":21760,"24":58,"16":318082554932494336,"45":3574521126811301888},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-06-18 10:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130682624001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:59:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 10:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318082554932494336,"km_value":318082554932494.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3574521126811301888,"description":"Unknown IO ID 45"} 
[2026-06-18 10:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130682624001,"power":27919,"unknown_78":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3574521126811301888}} 
[2026-06-18 10:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":105667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:59:04] local.INFO: GPS data processed {"connection_id":105667,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:59:04] local.INFO: Acknowledgment sent {"connection_id":105667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:59:20] local.INFO: TCP Data received {"connection_id":105861,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9322e08012d1822800721b3e8004a00d021..."} 
[2026-06-18 10:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9322e08012d1822800721b3e8004a00d021..."} 
[2026-06-18 10:59:20] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9322e08012d1822800721b3e8004a00d021..."} 
[2026-06-18 10:59:20] local.INFO: Packet analysis {"connection_id":105861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:59:20] local.INFO: Extracted packet for processing {"connection_id":105861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":33,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 10:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130658560001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678970880,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781760405000,"timestamp_ms":1781760405000,"timestamp_seconds":1781760405,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9322e08"} 
[2026-06-18 10:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:59:20] 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-06-18 10:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 10:59:20] 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-06-18 10:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":105861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":105861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":105861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130658560001,"66":12722,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739796861678970880},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130658560001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:59:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:59:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678970880,"description":"Unknown IO ID 45"} 
[2026-06-18 10:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130658560001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861678970880}} 
[2026-06-18 10:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":105861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:59:20] local.INFO: GPS data processed {"connection_id":105861,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:59:20] local.INFO: Acknowledgment sent {"connection_id":105861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:59:25] local.INFO: TCP Data received {"connection_id":107416,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:25] local.INFO: Processing buffer {"connection_id":107416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:25] local.INFO: IMEI packet received {"connection_id":107416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 10:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":107416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:59:27] local.INFO: TCP Data received {"connection_id":107416,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:27] local.INFO: Processing buffer {"connection_id":107416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:27] local.INFO: IMEI packet received {"connection_id":107416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":107416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:59:31] local.INFO: TCP Data received {"connection_id":107416,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:31] local.INFO: Processing buffer {"connection_id":107416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 10:59:31] local.INFO: IMEI packet received {"connection_id":107416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 10:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":107416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:59:32] local.INFO: TCP Data received {"connection_id":107416,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93385c8012d31714006b5fc30001301482d..."} 
[2026-06-18 10:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93385c8012d31714006b5fc30001301482d..."} 
[2026-06-18 10:59:32] local.INFO: Processing buffer {"connection_id":107416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93385c8012d31714006b5fc30001301482d..."} 
[2026-06-18 10:59:32] local.INFO: Packet analysis {"connection_id":107416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 10:59:32] local.INFO: Extracted packet for processing {"connection_id":107416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 10:59:32] local.INFO: GPS Element Parsed {"raw_longitude":758214976,"raw_latitude":112589872,"longitude_deg":75.8214976,"latitude_deg":11.2589872,"altitude":19,"angle":328,"satellites":45,"speed":58,"hex_longitude":"2d317140","hex_latitude":"06b5fc30","is_valid_coordinates":true} 
[2026-06-18 10:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130684416001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318083053148700672,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3568539783558463488,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781760493000,"timestamp_ms":1781760493000,"timestamp_seconds":1781760493,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93385c8"} 
[2026-06-18 10:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 10:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 10:59: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-06-18 10:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130684416001,"66":28006,"78":206,"28":21760,"24":58,"16":318083053148700672,"45":3568539783558463488},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-06-18 10:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130684416001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:59:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 10:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318083053148700672,"km_value":318083053148700.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3568539783558463488,"description":"Unknown IO ID 45"} 
[2026-06-18 10:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130684416001,"power":28006,"unknown_78":206,"unknown_28":21760,"ignition":58,"odometer":null,"unknown_45":3568539783558463488}} 
[2026-06-18 10:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":107416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:59:32] local.INFO: GPS data processed {"connection_id":107416,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:59:32] local.INFO: Acknowledgment sent {"connection_id":107416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:59:34] local.INFO: TCP Data received {"connection_id":107416,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9339d38012d315ec006b61a100014014923..."} 
[2026-06-18 10:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9339d38012d315ec006b61a100014014923..."} 
[2026-06-18 10:59:34] local.INFO: Processing buffer {"connection_id":107416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9339d38012d315ec006b61a100014014923..."} 
[2026-06-18 10:59:34] local.INFO: Packet analysis {"connection_id":107416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 10:59:34] local.INFO: Extracted packet for processing {"connection_id":107416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 10:59:34] local.INFO: GPS Element Parsed {"raw_longitude":758210240,"raw_latitude":112597520,"longitude_deg":75.821024,"latitude_deg":11.259752,"altitude":20,"angle":329,"satellites":35,"speed":61,"hex_longitude":"2d315ec0","hex_latitude":"06b61a10","is_valid_coordinates":true} 
[2026-06-18 10: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-06-18 10:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130686208001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318083486940397568,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3562699177793957888,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781760499000,"timestamp_ms":1781760499000,"timestamp_seconds":1781760499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9339d38"} 
[2026-06-18 10:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:59: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-06-18 10:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 10:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 10: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-06-18 10:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 10:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 10:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 10:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130686208001,"66":27995,"83":206,"28":21760,"24":61,"16":318083486940397568,"45":3562699177793957888},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,28,24,16,45]} 
[2026-06-18 10:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 10:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 10:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130686208001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:59:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-06-18 10:59:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 10:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318083486940397568,"km_value":318083486940397.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3562699177793957888,"description":"Unknown IO ID 45"} 
[2026-06-18 10:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130686208001,"power":27995,"unknown_83":206,"unknown_28":21760,"ignition":61,"odometer":null,"unknown_45":3562699177793957888}} 
[2026-06-18 10:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":107416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:59:34] local.INFO: GPS data processed {"connection_id":107416,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:59:34] local.INFO: Acknowledgment sent {"connection_id":107416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 10:59:36] local.INFO: TCP Data received {"connection_id":105668,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:59:36] local.INFO: Processing buffer {"connection_id":105668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:59:36] local.INFO: IMEI packet received {"connection_id":105668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 10:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":105668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 10:59:41] local.INFO: TCP Data received {"connection_id":105668,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:59:41] local.INFO: Processing buffer {"connection_id":105668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 10:59:41] local.INFO: IMEI packet received {"connection_id":105668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 10:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":105668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 10:59:42] local.INFO: TCP Data received {"connection_id":105668,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9327c28012d1822800721b3e8004a00d022..."} 
[2026-06-18 10:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9327c28012d1822800721b3e8004a00d022..."} 
[2026-06-18 10:59:42] local.INFO: Processing buffer {"connection_id":105668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9327c28012d1822800721b3e8004a00d022..."} 
[2026-06-18 10:59:42] local.INFO: Packet analysis {"connection_id":105668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:59:42] local.INFO: Extracted packet for processing {"connection_id":105668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 10:59:42] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":34,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 10:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 10:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130663680001,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 10:59:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 10:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781760425000,"timestamp_ms":1781760425000,"timestamp_seconds":1781760425,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9327c28"} 
[2026-06-18 10:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 10:59:42] 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-06-18 10:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 10:59:42] 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-06-18 10:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 10:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 10:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 10:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 10:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 10:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 10:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 10:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 10:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130663680001,"66":12678,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 10:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 10:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 10:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130663680001,"description":"Unknown IO ID 0"} 
[2026-06-18 10:59:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 10:59:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 10:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 10:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 10:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130663680001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 10:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":105668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 10:59:43] local.INFO: GPS data processed {"connection_id":105668,"processed":1,"errors":0,"total":1} 
[2026-06-18 10:59:43] local.INFO: Acknowledgment sent {"connection_id":105668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:00:06] local.INFO: TCP Data received {"connection_id":107416,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9347028012d304b8006b6af50000e01192b..."} 
[2026-06-18 11:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9347028012d304b8006b6af50000e01192b..."} 
[2026-06-18 11:00:06] local.INFO: Processing buffer {"connection_id":107416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9347028012d304b8006b6af50000e01192b..."} 
[2026-06-18 11:00:06] local.INFO: Packet analysis {"connection_id":107416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed934"} 
[2026-06-18 11:00:06] local.INFO: Extracted packet for processing {"connection_id":107416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed934"} 
[2026-06-18 11:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758139776,"raw_latitude":112635728,"longitude_deg":75.8139776,"latitude_deg":11.2635728,"altitude":14,"angle":281,"satellites":43,"speed":59,"hex_longitude":"2d304b80","hex_latitude":"06b6af50","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130700032001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318087528504623104,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3490008265069764608,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781760553000,"timestamp_ms":1781760553000,"timestamp_seconds":1781760553,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9347028"} 
[2026-06-18 11:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:00:06] 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-06-18 11: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11: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-06-18 11:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130700032001,"66":27995,"172":206,"28":21760,"24":59,"16":318087528504623104,"45":3490008265069764608},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-06-18 11:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130700032001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:00:06] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-06-18 11:00:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 11:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318087528504623104,"km_value":318087528504623.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3490008265069764608,"description":"Unknown IO ID 45"} 
[2026-06-18 11:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130700032001,"power":27995,"unknown_172":206,"unknown_28":21760,"ignition":59,"odometer":null,"unknown_45":3490008265069764608}} 
[2026-06-18 11:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":107416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:00:06] local.INFO: GPS data processed {"connection_id":107416,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:00:06] local.INFO: Acknowledgment sent {"connection_id":107416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:00:15] local.INFO: TCP Data received {"connection_id":105668,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed932c660012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed932c660012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:00:15] local.INFO: Processing buffer {"connection_id":105668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed932c660012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:00:15] local.INFO: Packet analysis {"connection_id":105668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 11:00:15] local.INFO: Extracted packet for processing {"connection_id":105668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed932"} 
[2026-06-18 11:00:15] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":33,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 11:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130668800001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781760444000,"timestamp_ms":1781760444000,"timestamp_seconds":1781760444,"priority":1,"record_length":96,"hex_timestamp":"0000019ed932c660"} 
[2026-06-18 11:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:00:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:00:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 11:00:15] 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-06-18 11:00:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130668800001,"66":12678,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130668800001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:00:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:00:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130668800001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":105668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:00:15] local.INFO: GPS data processed {"connection_id":105668,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:00:15] local.INFO: Acknowledgment sent {"connection_id":105668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:00:25] local.INFO: TCP Data received {"connection_id":105862,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:25] local.INFO: Processing buffer {"connection_id":105862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:25] local.INFO: IMEI packet received {"connection_id":105862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":105862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:00:27] local.INFO: TCP Data received {"connection_id":105862,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:27] local.INFO: Processing buffer {"connection_id":105862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:27] local.INFO: IMEI packet received {"connection_id":105862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":105862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:00:36] local.INFO: TCP Data received {"connection_id":107417,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:00:36] local.INFO: Processing buffer {"connection_id":107417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:00:36] local.INFO: IMEI packet received {"connection_id":107417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":107417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:00:41] local.INFO: TCP Data received {"connection_id":107417,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:00:41] local.INFO: Processing buffer {"connection_id":107417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:00:41] local.INFO: IMEI packet received {"connection_id":107417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":107417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:00:42] local.INFO: TCP Data received {"connection_id":107417,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9331480012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9331480012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:00:42] local.INFO: Processing buffer {"connection_id":107417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9331480012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:00:42] local.INFO: Packet analysis {"connection_id":107417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 11:00:42] local.INFO: Extracted packet for processing {"connection_id":107417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 11:00:42] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":34,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130673664001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:00:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781760464000,"timestamp_ms":1781760464000,"timestamp_seconds":1781760464,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9331480"} 
[2026-06-18 11:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:00:42] 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-06-18 11: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 11:00:42] 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-06-18 11: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-06-18 11:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130673664001,"66":12613,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130673664001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:00:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:00:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130673664001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":107417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:00:43] local.INFO: GPS data processed {"connection_id":107417,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:00:43] local.INFO: Acknowledgment sent {"connection_id":107417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:00:49] local.INFO: TCP Data received {"connection_id":105862,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:49] local.INFO: Processing buffer {"connection_id":105862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:00:49] local.INFO: IMEI packet received {"connection_id":105862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":105862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:01:00] local.INFO: TCP Data received {"connection_id":105862,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:01:00] local.INFO: Processing buffer {"connection_id":105862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:01:00] local.INFO: IMEI packet received {"connection_id":105862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":105862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:01:14] local.INFO: TCP Data received {"connection_id":107417,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93362a0012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93362a0012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:01:14] local.INFO: Processing buffer {"connection_id":107417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93362a0012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:01:14] local.INFO: Packet analysis {"connection_id":107417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 11:01:14] local.INFO: Extracted packet for processing {"connection_id":107417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 11:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":34,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 11:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130678784001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781760484000,"timestamp_ms":1781760484000,"timestamp_seconds":1781760484,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93362a0"} 
[2026-06-18 11:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:01:14] 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-06-18 11:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-18 11:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130678784001,"66":12667,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130678784001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:01:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130678784001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":107417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:01:14] local.INFO: GPS data processed {"connection_id":107417,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:01:14] local.INFO: Acknowledgment sent {"connection_id":107417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:01:36] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:36] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:36] local.INFO: IMEI packet received {"connection_id":105672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":105672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:01:37] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:37] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:37] local.INFO: IMEI packet received {"connection_id":105672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:01:37] local.INFO: IMEI acknowledgment sent {"connection_id":105672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:01:42] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:42] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:01:42] local.INFO: IMEI packet received {"connection_id":105672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":105672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:01:43] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed933b0c0012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed933b0c0012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:01:43] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed933b0c0012d1822800721b3e8004a00d022..."} 
[2026-06-18 11:01:43] local.INFO: Packet analysis {"connection_id":105672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 11:01:43] local.INFO: Extracted packet for processing {"connection_id":105672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 11:01:43] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":34,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 11:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130683904001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781760504000,"timestamp_ms":1781760504000,"timestamp_seconds":1781760504,"priority":1,"record_length":96,"hex_timestamp":"0000019ed933b0c0"} 
[2026-06-18 11:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:01:43] 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-06-18 11:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 11:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130683904001,"66":12613,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130683904001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:01:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130683904001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":105672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:01:43] local.INFO: GPS data processed {"connection_id":105672,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:01:43] local.INFO: Acknowledgment sent {"connection_id":105672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:02:16] local.INFO: TCP Data received {"connection_id":105672,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed933faf8012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed933faf8012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:02:16] local.INFO: Processing buffer {"connection_id":105672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed933faf8012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:02:16] local.INFO: Packet analysis {"connection_id":105672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 11:02:16] local.INFO: Extracted packet for processing {"connection_id":105672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed933"} 
[2026-06-18 11:02:16] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":33,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 11:02: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-06-18 11:02:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130689024001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:02:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:02:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:02:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:02:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781760523000,"timestamp_ms":1781760523000,"timestamp_seconds":1781760523,"priority":1,"record_length":96,"hex_timestamp":"0000019ed933faf8"} 
[2026-06-18 11:02:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:02:16] 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-06-18 11:02:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-18 11:02:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:02: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-06-18 11:02:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:02:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:02:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:02:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:02:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:02:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:02:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:02:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:02:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130689024001,"66":12580,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:02:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:02:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:02:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130689024001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:02:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:02:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:02:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:02:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:02:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130689024001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:02:16] local.INFO: DEBUG: GPS processor result {"connection_id":105672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:02:16] local.INFO: GPS data processed {"connection_id":105672,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:02:16] local.INFO: Acknowledgment sent {"connection_id":105672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:02:36] local.INFO: TCP Data received {"connection_id":106444,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:36] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:36] local.INFO: IMEI packet received {"connection_id":106444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":106444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:02:39] local.INFO: TCP Data received {"connection_id":106444,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:39] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:39] local.INFO: IMEI packet received {"connection_id":106444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":106444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:02:41] local.INFO: TCP Data received {"connection_id":106444,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:41] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:02:41] local.INFO: IMEI packet received {"connection_id":106444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":106444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:02:42] local.INFO: TCP Data received {"connection_id":106444,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9344918012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9344918012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:02:42] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9344918012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:02:42] local.INFO: Packet analysis {"connection_id":106444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed934"} 
[2026-06-18 11:02:42] local.INFO: Extracted packet for processing {"connection_id":106444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed934"} 
[2026-06-18 11:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":33,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 11:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130693888001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781760543000,"timestamp_ms":1781760543000,"timestamp_seconds":1781760543,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9344918"} 
[2026-06-18 11:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:02:42] 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-06-18 11:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-18 11:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130693888001,"66":11906,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130693888001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:02:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130693888001,"power":11906,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":106444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:02:42] local.INFO: GPS data processed {"connection_id":106444,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:02:42] local.INFO: Acknowledgment sent {"connection_id":106444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:03:14] local.INFO: TCP Data received {"connection_id":106444,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9349738012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9349738012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:03:14] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9349738012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:03:14] local.INFO: Packet analysis {"connection_id":106444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed934"} 
[2026-06-18 11:03:14] local.INFO: Extracted packet for processing {"connection_id":106444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed934"} 
[2026-06-18 11:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":33,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 11:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130699008001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781760563000,"timestamp_ms":1781760563000,"timestamp_seconds":1781760563,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9349738"} 
[2026-06-18 11:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:03:14] 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-06-18 11:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 11:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130699008001,"66":12591,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130699008001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:03:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130699008001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":106444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:03:14] local.INFO: GPS data processed {"connection_id":106444,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:03:14] local.INFO: Acknowledgment sent {"connection_id":106444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:03:42] local.INFO: TCP Data received {"connection_id":105865,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:03:42] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:03:42] local.INFO: IMEI packet received {"connection_id":105865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":105865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:03:42] local.INFO: TCP Data received {"connection_id":105865,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:03:42] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:03:42] local.INFO: IMEI packet received {"connection_id":105865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":105865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:03:44] local.INFO: TCP Data received {"connection_id":105865,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed934e170012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed934e170012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:03:44] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed934e170012d1822800721b3e8004a00d021..."} 
[2026-06-18 11:03:44] local.INFO: Packet analysis {"connection_id":105865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed934"} 
[2026-06-18 11:03:44] local.INFO: Extracted packet for processing {"connection_id":105865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed934"} 
[2026-06-18 11:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649256,"longitude_deg":75.6556416,"latitude_deg":11.9649256,"altitude":74,"angle":208,"satellites":33,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3e8","is_valid_coordinates":true} 
[2026-06-18 11:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130704128001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300501978349568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781760582000,"timestamp_ms":1781760582000,"timestamp_seconds":1781760582,"priority":1,"record_length":96,"hex_timestamp":"0000019ed934e170"} 
[2026-06-18 11:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:03:44] 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-06-18 11:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 11:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130704128001,"66":12591,"120":206,"28":31744,"24":0,"16":3300501978349568,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130704128001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:03:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300501978349568,"km_value":3300501978349.568,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130704128001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":105865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:03:44] local.INFO: GPS data processed {"connection_id":105865,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:03:44] local.INFO: Acknowledgment sent {"connection_id":105865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:03:47] local.INFO: TCP Data received {"connection_id":105865,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9352ba8012d1820000721b2d8004700d522..."} 
[2026-06-18 11:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9352ba8012d1820000721b2d8004700d522..."} 
[2026-06-18 11:03:47] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9352ba8012d1820000721b2d8004700d522..."} 
[2026-06-18 11:03:47] local.INFO: Packet analysis {"connection_id":105865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed935"} 
[2026-06-18 11:03:47] local.INFO: Extracted packet for processing {"connection_id":105865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed935"} 
[2026-06-18 11:03:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648984,"longitude_deg":75.6555776,"latitude_deg":11.9648984,"altitude":71,"angle":213,"satellites":34,"speed":3,"hex_longitude":"2d182000","hex_latitude":"0721b2d8","is_valid_coordinates":true} 
[2026-06-18 11:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130708992001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300540633055232,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:03:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781760601000,"timestamp_ms":1781760601000,"timestamp_seconds":1781760601,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9352ba8"} 
[2026-06-18 11:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:03:47] 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-06-18 11:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 11:03:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130708992001,"66":12580,"120":206,"28":31744,"24":3,"16":3300540633055232,"45":1739093174236997632},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130708992001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:03:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:03:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300540633055232,"km_value":3300540633055.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236997632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130708992001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1739093174236997632}} 
[2026-06-18 11:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":105865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:03:47] local.INFO: GPS data processed {"connection_id":105865,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:03:47] local.INFO: Acknowledgment sent {"connection_id":105865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:03:54] local.INFO: TCP Data received {"connection_id":107418,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:03:54] local.INFO: Processing buffer {"connection_id":107418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:03:54] local.INFO: IMEI packet received {"connection_id":107418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":107418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:04:19] local.INFO: TCP Data received {"connection_id":105865,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93579c8012d181fc00721b290004700d821..."} 
[2026-06-18 11:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93579c8012d181fc00721b290004700d821..."} 
[2026-06-18 11:04:19] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93579c8012d181fc00721b290004700d821..."} 
[2026-06-18 11:04:19] local.INFO: Packet analysis {"connection_id":105865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed935"} 
[2026-06-18 11:04:19] local.INFO: Extracted packet for processing {"connection_id":105865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed935"} 
[2026-06-18 11:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648912,"longitude_deg":75.6555712,"latitude_deg":11.9648912,"altitude":71,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b290","is_valid_coordinates":true} 
[2026-06-18 11:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130713856001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300544928022528,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795151360,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781760621000,"timestamp_ms":1781760621000,"timestamp_seconds":1781760621,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93579c8"} 
[2026-06-18 11:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:04:19] 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-06-18 11:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-18 11:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":105865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":105865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":105865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130713856001,"66":12558,"120":206,"28":31744,"24":0,"16":3300544928022528,"45":1738389486795151360},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130713856001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:04:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300544928022528,"km_value":3300544928022.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795151360,"description":"Unknown IO ID 45"} 
[2026-06-18 11:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130713856001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795151360}} 
[2026-06-18 11:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":105865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:04:19] local.INFO: GPS data processed {"connection_id":105865,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:04:19] local.INFO: Acknowledgment sent {"connection_id":105865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:04:34] local.INFO: TCP Data received {"connection_id":105866,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:04:34] local.INFO: Processing buffer {"connection_id":105866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:04:34] local.INFO: IMEI packet received {"connection_id":105866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":105866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:04:37] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:04:37] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:04:37] local.INFO: IMEI packet received {"connection_id":105673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":105673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:04:42] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:04:42] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:04:42] local.INFO: IMEI packet received {"connection_id":105673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":105673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:04:43] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed935c400012d181fc00721b290004700d822..."} 
[2026-06-18 11:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed935c400012d181fc00721b290004700d822..."} 
[2026-06-18 11:04:43] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed935c400012d181fc00721b290004700d822..."} 
[2026-06-18 11:04:43] local.INFO: Packet analysis {"connection_id":105673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed935"} 
[2026-06-18 11:04:43] local.INFO: Extracted packet for processing {"connection_id":105673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed935"} 
[2026-06-18 11:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648912,"longitude_deg":75.6555712,"latitude_deg":11.9648912,"altitude":71,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b290","is_valid_coordinates":true} 
[2026-06-18 11:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130718976001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300544928022528,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050955264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781760640000,"timestamp_ms":1781760640000,"timestamp_seconds":1781760640,"priority":1,"record_length":96,"hex_timestamp":"0000019ed935c400"} 
[2026-06-18 11:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3644043456,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385064418620392,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":250,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3117023232,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":41,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-06-18 11:04:43] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,185,43,45,178,71,34,10,66,225,128,179,74,33,151,1,240,47,217,4,113,205,250,232,239,49,2,11,7,231,41,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 11:04:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116326812938403840,"timestamp_seconds":5116326812938404.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 11:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130718976001,"66":12526,"120":206,"28":31744,"24":0,"16":3300544928022528,"45":1738319118050955264},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130718976001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:04:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300544928022528,"km_value":3300544928022.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050955264,"description":"Unknown IO ID 45"} 
[2026-06-18 11:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130718976001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050955264}} 
[2026-06-18 11:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":105673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:04:43] local.INFO: GPS data processed {"connection_id":105673,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:04:43] local.INFO: Acknowledgment sent {"connection_id":105673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:05:14] local.INFO: TCP Data received {"connection_id":105673,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9361220012d181fc00721b290004700d822..."} 
[2026-06-18 11:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9361220012d181fc00721b290004700d822..."} 
[2026-06-18 11:05:14] local.INFO: Processing buffer {"connection_id":105673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9361220012d181fc00721b290004700d822..."} 
[2026-06-18 11:05:14] local.INFO: Packet analysis {"connection_id":105673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed936"} 
[2026-06-18 11:05:14] local.INFO: Extracted packet for processing {"connection_id":105673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed936"} 
[2026-06-18 11:05:14] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648912,"longitude_deg":75.6555712,"latitude_deg":11.9648912,"altitude":71,"angle":216,"satellites":34,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b290","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130723840001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300544928022528,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050955264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781760660000,"timestamp_ms":1781760660000,"timestamp_seconds":1781760660,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9361220"} 
[2026-06-18 11:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 11:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11: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-06-18 11:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130723840001,"66":12548,"120":206,"28":31744,"24":0,"16":3300544928022528,"45":1738319118050955264},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130723840001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:05:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:05:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300544928022528,"km_value":3300544928022.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050955264,"description":"Unknown IO ID 45"} 
[2026-06-18 11:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130723840001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050955264}} 
[2026-06-18 11:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":105673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:05:14] local.INFO: GPS data processed {"connection_id":105673,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:05:14] local.INFO: Acknowledgment sent {"connection_id":105673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:05:36] local.INFO: TCP Data received {"connection_id":106446,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:05:36] local.INFO: Processing buffer {"connection_id":106446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:05:36] local.INFO: IMEI packet received {"connection_id":106446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":106446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:05:42] local.INFO: TCP Data received {"connection_id":106446,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:05:42] local.INFO: Processing buffer {"connection_id":106446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:05:42] local.INFO: IMEI packet received {"connection_id":106446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":106446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:05:43] local.INFO: TCP Data received {"connection_id":106446,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9365c58012d181fc00721b290004700d821..."} 
[2026-06-18 11:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9365c58012d181fc00721b290004700d821..."} 
[2026-06-18 11:05:43] local.INFO: Processing buffer {"connection_id":106446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9365c58012d181fc00721b290004700d821..."} 
[2026-06-18 11:05:43] local.INFO: Packet analysis {"connection_id":106446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed936"} 
[2026-06-18 11:05:43] local.INFO: Extracted packet for processing {"connection_id":106446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed936"} 
[2026-06-18 11:05:43] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648912,"longitude_deg":75.6555712,"latitude_deg":11.9648912,"altitude":71,"angle":216,"satellites":33,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b290","is_valid_coordinates":true} 
[2026-06-18 11:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130728960001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300544928022528,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050955264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781760679000,"timestamp_ms":1781760679000,"timestamp_seconds":1781760679,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9365c58"} 
[2026-06-18 11:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3644082456,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184154955981,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3117023232,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 11:05:43] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,185,196,45,192,178,71,34,10,66,121,33,43,1,240,36,217,4,113,205,151,232,239,49,2,11,7,74,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 11:05:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116326817233371136,"timestamp_seconds":5116326817233371.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 11:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130728960001,"66":12548,"120":206,"28":31744,"24":0,"16":3300544928022528,"45":1738319118050955264},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130728960001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:05:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300544928022528,"km_value":3300544928022.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050955264,"description":"Unknown IO ID 45"} 
[2026-06-18 11:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130728960001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050955264}} 
[2026-06-18 11:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":106446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:05:43] local.INFO: GPS data processed {"connection_id":106446,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:05:43] local.INFO: Acknowledgment sent {"connection_id":106446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:06:15] local.INFO: TCP Data received {"connection_id":106446,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed936ae60012d181fc00721b290004700d823..."} 
[2026-06-18 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed936ae60012d181fc00721b290004700d823..."} 
[2026-06-18 11:06:15] local.INFO: Processing buffer {"connection_id":106446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed936ae60012d181fc00721b290004700d823..."} 
[2026-06-18 11:06:15] local.INFO: Packet analysis {"connection_id":106446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed936"} 
[2026-06-18 11:06:15] local.INFO: Extracted packet for processing {"connection_id":106446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed936"} 
[2026-06-18 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648912,"longitude_deg":75.6555712,"latitude_deg":11.9648912,"altitude":71,"angle":216,"satellites":35,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b290","is_valid_coordinates":true} 
[2026-06-18 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130733824001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300544928022528,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050955264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781760700000,"timestamp_ms":1781760700000,"timestamp_seconds":1781760700,"priority":1,"record_length":96,"hex_timestamp":"0000019ed936ae60"} 
[2026-06-18 11:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3644102456,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3556769792,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951027,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3117023232,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:15] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,185,18,45,192,178,71,34,10,66,196,121,1,240,14,217,33,4,113,205,3,225,232,239,49,2,11,7,74,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 11:06:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116326812938403840,"timestamp_seconds":5116326812938404.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 11:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130733824001,"66":12526,"120":206,"28":31744,"24":0,"16":3300544928022528,"45":1738319118050955264},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130733824001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:06:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:06:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300544928022528,"km_value":3300544928022.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050955264,"description":"Unknown IO ID 45"} 
[2026-06-18 11:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130733824001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050955264}} 
[2026-06-18 11:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":106446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:06:15] local.INFO: GPS data processed {"connection_id":106446,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:06:15] local.INFO: Acknowledgment sent {"connection_id":106446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:06:25] local.INFO: TCP Data received {"connection_id":106447,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:25] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:25] local.INFO: IMEI packet received {"connection_id":106447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":106447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:06:25] local.INFO: TCP Data received {"connection_id":106447,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:25] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:25] local.INFO: IMEI packet received {"connection_id":106447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":106447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:06:30] local.INFO: TCP Data received {"connection_id":106447,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:30] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:06:30] local.INFO: IMEI packet received {"connection_id":106447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":106447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:06:33] local.INFO: TCP Data received {"connection_id":106447,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93a2900012d2bcac006bdb660000c014030..."} 
[2026-06-18 11:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93a2900012d2bcac006bdb660000c014030..."} 
[2026-06-18 11:06:33] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93a2900012d2bcac006bdb660000c014030..."} 
[2026-06-18 11:06:33] local.INFO: Packet analysis {"connection_id":106447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93a"} 
[2026-06-18 11:06:33] local.INFO: Extracted packet for processing {"connection_id":106447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93a"} 
[2026-06-18 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":757844672,"raw_latitude":113096288,"longitude_deg":75.7844672,"latitude_deg":11.3096288,"altitude":12,"angle":320,"satellites":48,"speed":59,"hex_longitude":"2d2bcac0","hex_latitude":"06bdb660","is_valid_coordinates":true} 
[2026-06-18 11:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130795776001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318114449359634432,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3162371392294737920,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781760928000,"timestamp_ms":1781760928000,"timestamp_seconds":1781760928,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93a2900"} 
[2026-06-18 11:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:06:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 11:06: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-06-18 11:06:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130795776001,"66":27865,"243":206,"2":57088,"24":59,"16":318114449359634432,"45":3162371392294737920},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-06-18 11:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130795776001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:06:33] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-18 11:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318114449359634432,"km_value":318114449359634.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3162371392294737920,"description":"Unknown IO ID 45"} 
[2026-06-18 11:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130795776001,"power":27865,"unknown_243":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3162371392294737920}} 
[2026-06-18 11:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":106447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:06:33] local.INFO: GPS data processed {"connection_id":106447,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:06:33] local.INFO: Acknowledgment sent {"connection_id":106447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:06:36] local.INFO: TCP Data received {"connection_id":105674,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:06:36] local.INFO: Processing buffer {"connection_id":105674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:06:36] local.INFO: IMEI packet received {"connection_id":105674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":105674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:06:42] local.INFO: TCP Data received {"connection_id":105674,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:06:42] local.INFO: Processing buffer {"connection_id":105674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:06:42] local.INFO: IMEI packet received {"connection_id":105674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":105674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:06:43] local.INFO: TCP Data received {"connection_id":105674,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9370068012d181ec00721b188004900d722..."} 
[2026-06-18 11:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9370068012d181ec00721b188004900d722..."} 
[2026-06-18 11:06:43] local.INFO: Processing buffer {"connection_id":105674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9370068012d181ec00721b188004900d722..."} 
[2026-06-18 11:06:43] local.INFO: Packet analysis {"connection_id":105674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed937"} 
[2026-06-18 11:06:43] local.INFO: Extracted packet for processing {"connection_id":105674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed937"} 
[2026-06-18 11:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":34,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130739200001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050955264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781760721000,"timestamp_ms":1781760721000,"timestamp_seconds":1781760721,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9370068"} 
[2026-06-18 11:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:06:43] 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-06-18 11:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 11:06:43] 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-06-18 11:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130739200001,"66":12461,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738319118050955264},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130739200001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:06:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050955264,"description":"Unknown IO ID 45"} 
[2026-06-18 11:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130739200001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050955264}} 
[2026-06-18 11:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":105674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:06:43] local.INFO: GPS data processed {"connection_id":105674,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:06:43] local.INFO: Acknowledgment sent {"connection_id":105674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:07:04] local.INFO: TCP Data received {"connection_id":106447,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93a4070012d2bb20006bdcf40000c013731..."} 
[2026-06-18 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93a4070012d2bb20006bdcf40000c013731..."} 
[2026-06-18 11:07:04] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93a4070012d2bb20006bdcf40000c013731..."} 
[2026-06-18 11:07:04] local.INFO: Packet analysis {"connection_id":106447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93a"} 
[2026-06-18 11:07:04] local.INFO: Extracted packet for processing {"connection_id":106447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93a"} 
[2026-06-18 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":757838336,"raw_latitude":113102656,"longitude_deg":75.7838336,"latitude_deg":11.3102656,"altitude":12,"angle":311,"satellites":49,"speed":59,"hex_longitude":"2d2bb200","hex_latitude":"06bdcf40","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130797568001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318114883151331328,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3155545624111636480,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,243,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781760934000,"timestamp_ms":1781760934000,"timestamp_seconds":1781760934,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93a4070"} 
[2026-06-18 11:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:07: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-06-18 11: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-06-18 11:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130797568001,"66":27843,"243":206,"2":57088,"24":59,"16":318114883151331328,"45":3155545624111636480},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,243,2,24,16,45]} 
[2026-06-18 11:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130797568001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:07:04] local.INFO: Unknown IO ID detected {"io_id":243,"value":206,"description":"Unknown IO ID 243"} 
[2026-06-18 11:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318114883151331328,"km_value":318114883151331.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3155545624111636480,"description":"Unknown IO ID 45"} 
[2026-06-18 11:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130797568001,"power":27843,"unknown_243":206,"power_alt":57088,"ignition":59,"odometer":null,"unknown_45":3155545624111636480}} 
[2026-06-18 11:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":106447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:07:04] local.INFO: GPS data processed {"connection_id":106447,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:07:04] local.INFO: Acknowledgment sent {"connection_id":106447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:07:14] local.INFO: TCP Data received {"connection_id":105674,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93a86c0012d181ec00721b188004900d724..."} 
[2026-06-18 11:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93a86c0012d181ec00721b188004900d724..."} 
[2026-06-18 11:07:14] local.INFO: Processing buffer {"connection_id":105674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93a86c0012d181ec00721b188004900d724..."} 
[2026-06-18 11:07:14] local.INFO: Packet analysis {"connection_id":105674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93a"} 
[2026-06-18 11:07:14] local.INFO: Extracted packet for processing {"connection_id":105674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93a"} 
[2026-06-18 11:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130798336001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781760952000,"timestamp_ms":1781760952000,"timestamp_seconds":1781760952,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93a86c0"} 
[2026-06-18 11:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130798336001,"66":12461,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130798336001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:07:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130798336001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":105674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:07:14] local.INFO: GPS data processed {"connection_id":105674,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:07:14] local.INFO: Acknowledgment sent {"connection_id":105674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:07:30] local.INFO: TCP Data received {"connection_id":105870,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:07:30] local.INFO: Processing buffer {"connection_id":105870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:07:30] local.INFO: IMEI packet received {"connection_id":105870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":105870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:07:36] local.INFO: TCP Data received {"connection_id":105871,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:07:36] local.INFO: Processing buffer {"connection_id":105871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:07:36] local.INFO: IMEI packet received {"connection_id":105871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":105871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:07:42] local.INFO: TCP Data received {"connection_id":105871,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:07:42] local.INFO: Processing buffer {"connection_id":105871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:07:42] local.INFO: IMEI packet received {"connection_id":105871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":105871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:07:43] local.INFO: TCP Data received {"connection_id":105871,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93ad8c8012d181ec00721b188004900d724..."} 
[2026-06-18 11:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93ad8c8012d181ec00721b188004900d724..."} 
[2026-06-18 11:07:43] local.INFO: Processing buffer {"connection_id":105871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93ad8c8012d181ec00721b188004900d724..."} 
[2026-06-18 11:07:43] local.INFO: Packet analysis {"connection_id":105871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93a"} 
[2026-06-18 11:07:43] local.INFO: Extracted packet for processing {"connection_id":105871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93a"} 
[2026-06-18 11:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130803712001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781760973000,"timestamp_ms":1781760973000,"timestamp_seconds":1781760973,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93ad8c8"} 
[2026-06-18 11:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:07:43] 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-06-18 11:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130803712001,"66":12461,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130803712001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:07:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130803712001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":105871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:07:43] local.INFO: GPS data processed {"connection_id":105871,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:07:43] local.INFO: Acknowledgment sent {"connection_id":105871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:08:13] local.INFO: TCP Data received {"connection_id":105870,"ip":"117.224.95.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 11:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105870,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 11:08:13] local.INFO: Processing buffer {"connection_id":105870,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 11:08:13] local.INFO: IMEI packet received {"connection_id":105870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":105870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:08:14] local.INFO: TCP Data received {"connection_id":105871,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93b2ad0012d181ec00721b188004900d724..."} 
[2026-06-18 11:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93b2ad0012d181ec00721b188004900d724..."} 
[2026-06-18 11:08:14] local.INFO: Processing buffer {"connection_id":105871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93b2ad0012d181ec00721b188004900d724..."} 
[2026-06-18 11:08:14] local.INFO: Packet analysis {"connection_id":105871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93b"} 
[2026-06-18 11:08:14] local.INFO: Extracted packet for processing {"connection_id":105871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93b"} 
[2026-06-18 11:08:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":36,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:08:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130809088001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:08:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781760994000,"timestamp_ms":1781760994000,"timestamp_seconds":1781760994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93b2ad0"} 
[2026-06-18 11:08:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:08:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:08:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11: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-06-18 11:08:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:08:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:08:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:08:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:08:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:08:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:08:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:08:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:08:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130809088001,"66":12428,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:08:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:08:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:08:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130809088001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:08:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:08:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:08:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:08:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:08:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130809088001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:08:14] local.INFO: DEBUG: GPS processor result {"connection_id":105871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:08:14] local.INFO: GPS data processed {"connection_id":105871,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:08:14] local.INFO: Acknowledgment sent {"connection_id":105871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:08:35] local.INFO: TCP Data received {"connection_id":105676,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:08:35] local.INFO: Processing buffer {"connection_id":105676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:08:35] local.INFO: IMEI packet received {"connection_id":105676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":105676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:08:42] local.INFO: TCP Data received {"connection_id":107421,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:08:42] local.INFO: Processing buffer {"connection_id":107421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:08:42] local.INFO: IMEI packet received {"connection_id":107421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":107421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:08:46] local.INFO: TCP Data received {"connection_id":107421,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107421,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:08:46] local.INFO: Processing buffer {"connection_id":107421,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:08:46] local.INFO: IMEI packet received {"connection_id":107421,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":107421,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:08:48] local.INFO: TCP Data received {"connection_id":107421,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93b7cd8012d181ec00721b188004900d725..."} 
[2026-06-18 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93b7cd8012d181ec00721b188004900d725..."} 
[2026-06-18 11:08:48] local.INFO: Processing buffer {"connection_id":107421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93b7cd8012d181ec00721b188004900d725..."} 
[2026-06-18 11:08:48] local.INFO: Packet analysis {"connection_id":107421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93b"} 
[2026-06-18 11:08:48] local.INFO: Extracted packet for processing {"connection_id":107421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93b"} 
[2026-06-18 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130814464001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781761015000,"timestamp_ms":1781761015000,"timestamp_seconds":1781761015,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93b7cd8"} 
[2026-06-18 11:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 11:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130814464001,"66":12461,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130814464001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:08:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:08:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130814464001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":107421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:08:48] local.INFO: GPS data processed {"connection_id":107421,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:08:48] local.INFO: Acknowledgment sent {"connection_id":107421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:08:53] local.INFO: TCP Data received {"connection_id":107421,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93bcee0012d181ec00721b188004900d722..."} 
[2026-06-18 11:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93bcee0012d181ec00721b188004900d722..."} 
[2026-06-18 11:08:53] local.INFO: Processing buffer {"connection_id":107421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93bcee0012d181ec00721b188004900d722..."} 
[2026-06-18 11:08:53] local.INFO: Packet analysis {"connection_id":107421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93b"} 
[2026-06-18 11:08:53] local.INFO: Extracted packet for processing {"connection_id":107421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93b"} 
[2026-06-18 11:08:53] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":34,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:08:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130819840001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:08:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:08:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781761036000,"timestamp_ms":1781761036000,"timestamp_seconds":1781761036,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93bcee0"} 
[2026-06-18 11:08:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:08:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:08:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:08:53] 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-06-18 11:08:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:08:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:08:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:08:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:08:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:08:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107421,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:08:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:08:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:08:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:08:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130819840001,"66":12287,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:08:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:08:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:08:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130819840001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:08:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:08:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:08:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:08:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:08:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130819840001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:08:53] local.INFO: DEBUG: GPS processor result {"connection_id":107421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:08:53] local.INFO: GPS data processed {"connection_id":107421,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:08:53] local.INFO: Acknowledgment sent {"connection_id":107421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:09:37] local.INFO: TCP Data received {"connection_id":107422,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:09:37] local.INFO: Processing buffer {"connection_id":107422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:09:37] local.INFO: IMEI packet received {"connection_id":107422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":107422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:09:40] local.INFO: TCP Data received {"connection_id":107422,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:09:40] local.INFO: Processing buffer {"connection_id":107422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:09:40] local.INFO: IMEI packet received {"connection_id":107422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:09:40] local.INFO: IMEI acknowledgment sent {"connection_id":107422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:09:41] local.INFO: TCP Data received {"connection_id":107422,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93c20e8012d181ec00721b188004900d725..."} 
[2026-06-18 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93c20e8012d181ec00721b188004900d725..."} 
[2026-06-18 11:09:41] local.INFO: Processing buffer {"connection_id":107422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93c20e8012d181ec00721b188004900d725..."} 
[2026-06-18 11:09:41] local.INFO: Packet analysis {"connection_id":107422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93c"} 
[2026-06-18 11:09:41] local.INFO: Extracted packet for processing {"connection_id":107422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93c"} 
[2026-06-18 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130825216001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781761057000,"timestamp_ms":1781761057000,"timestamp_seconds":1781761057,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93c20e8"} 
[2026-06-18 11:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:09:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 11:09:41] 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-06-18 11:09:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130825216001,"66":12385,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130825216001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:09:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:09:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130825216001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":107422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:09:41] local.INFO: GPS data processed {"connection_id":107422,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:09:41] local.INFO: Acknowledgment sent {"connection_id":107422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:10:13] local.INFO: TCP Data received {"connection_id":107422,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93c72f0012d181ec00721b188004900d727..."} 
[2026-06-18 11:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93c72f0012d181ec00721b188004900d727..."} 
[2026-06-18 11:10:13] local.INFO: Processing buffer {"connection_id":107422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93c72f0012d181ec00721b188004900d727..."} 
[2026-06-18 11:10:13] local.INFO: Packet analysis {"connection_id":107422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93c"} 
[2026-06-18 11:10:13] local.INFO: Extracted packet for processing {"connection_id":107422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93c"} 
[2026-06-18 11:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130830592001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781761078000,"timestamp_ms":1781761078000,"timestamp_seconds":1781761078,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93c72f0"} 
[2026-06-18 11:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 11:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:10:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130830592001,"66":12461,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130830592001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:10:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:10:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130830592001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":107422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:10:13] local.INFO: GPS data processed {"connection_id":107422,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:10:13] local.INFO: Acknowledgment sent {"connection_id":107422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:10:33] local.INFO: TCP Data received {"connection_id":105872,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:10:33] local.INFO: Processing buffer {"connection_id":105872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:10:33] local.INFO: IMEI packet received {"connection_id":105872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":105872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:10:37] local.INFO: TCP Data received {"connection_id":107423,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:10:37] local.INFO: Processing buffer {"connection_id":107423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:10:37] local.INFO: IMEI packet received {"connection_id":107423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":107423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:10:42] local.INFO: TCP Data received {"connection_id":107423,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:10:42] local.INFO: Processing buffer {"connection_id":107423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:10:42] local.INFO: IMEI packet received {"connection_id":107423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":107423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:10:43] local.INFO: TCP Data received {"connection_id":107423,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93cc4f8012d181ec00721b188004900d727..."} 
[2026-06-18 11:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93cc4f8012d181ec00721b188004900d727..."} 
[2026-06-18 11:10:43] local.INFO: Processing buffer {"connection_id":107423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93cc4f8012d181ec00721b188004900d727..."} 
[2026-06-18 11:10:43] local.INFO: Packet analysis {"connection_id":107423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93c"} 
[2026-06-18 11:10:43] local.INFO: Extracted packet for processing {"connection_id":107423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93c"} 
[2026-06-18 11:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130835968001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781761099000,"timestamp_ms":1781761099000,"timestamp_seconds":1781761099,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93cc4f8"} 
[2026-06-18 11:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:10:43] 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-06-18 11:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130835968001,"66":12461,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130835968001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:10:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130835968001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":107423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:10:43] local.INFO: GPS data processed {"connection_id":107423,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:10:43] local.INFO: Acknowledgment sent {"connection_id":107423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:11:15] local.INFO: TCP Data received {"connection_id":107423,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93d1700012d181ec00721b188004900d727..."} 
[2026-06-18 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93d1700012d181ec00721b188004900d727..."} 
[2026-06-18 11:11:15] local.INFO: Processing buffer {"connection_id":107423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93d1700012d181ec00721b188004900d727..."} 
[2026-06-18 11:11:15] local.INFO: Packet analysis {"connection_id":107423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93d"} 
[2026-06-18 11:11:15] local.INFO: Extracted packet for processing {"connection_id":107423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93d"} 
[2026-06-18 11:11:15] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130841344001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781761120000,"timestamp_ms":1781761120000,"timestamp_seconds":1781761120,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93d1700"} 
[2026-06-18 11:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:11:15] 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-06-18 11:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130841344001,"66":12439,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130841344001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:11:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130841344001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":107423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:11:15] local.INFO: GPS data processed {"connection_id":107423,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:11:15] local.INFO: Acknowledgment sent {"connection_id":107423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:11:36] local.INFO: TCP Data received {"connection_id":107424,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:11:36] local.INFO: Processing buffer {"connection_id":107424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:11:36] local.INFO: IMEI packet received {"connection_id":107424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":107424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:11:42] local.INFO: TCP Data received {"connection_id":107424,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107424,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:11:42] local.INFO: Processing buffer {"connection_id":107424,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:11:42] local.INFO: IMEI packet received {"connection_id":107424,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":107424,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:11:43] local.INFO: TCP Data received {"connection_id":107424,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93d6908012d181ec00721b188004900d727..."} 
[2026-06-18 11:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93d6908012d181ec00721b188004900d727..."} 
[2026-06-18 11:11:43] local.INFO: Processing buffer {"connection_id":107424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93d6908012d181ec00721b188004900d727..."} 
[2026-06-18 11:11:43] local.INFO: Packet analysis {"connection_id":107424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93d"} 
[2026-06-18 11:11:43] local.INFO: Extracted packet for processing {"connection_id":107424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93d"} 
[2026-06-18 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130846720001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781761141000,"timestamp_ms":1781761141000,"timestamp_seconds":1781761141,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93d6908"} 
[2026-06-18 11:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 11:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130846720001,"66":12406,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130846720001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:11:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130846720001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":107424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:11:43] local.INFO: GPS data processed {"connection_id":107424,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:11:43] local.INFO: Acknowledgment sent {"connection_id":107424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:12:15] local.INFO: TCP Data received {"connection_id":107424,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93dbb10012d181ec00721b188004900d727..."} 
[2026-06-18 11:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93dbb10012d181ec00721b188004900d727..."} 
[2026-06-18 11:12:15] local.INFO: Processing buffer {"connection_id":107424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93dbb10012d181ec00721b188004900d727..."} 
[2026-06-18 11:12:15] local.INFO: Packet analysis {"connection_id":107424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93d"} 
[2026-06-18 11:12:15] local.INFO: Extracted packet for processing {"connection_id":107424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93d"} 
[2026-06-18 11:12:15] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130852096001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781761162000,"timestamp_ms":1781761162000,"timestamp_seconds":1781761162,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93dbb10"} 
[2026-06-18 11:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:12:15] 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-06-18 11:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 11:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107424,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130852096001,"66":12428,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130852096001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:12:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:12:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130852096001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":107424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:12:15] local.INFO: GPS data processed {"connection_id":107424,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:12:15] local.INFO: Acknowledgment sent {"connection_id":107424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:12:41] local.INFO: TCP Data received {"connection_id":105679,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:12:41] local.INFO: Processing buffer {"connection_id":105679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:12:41] local.INFO: IMEI packet received {"connection_id":105679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":105679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:12:46] local.INFO: TCP Data received {"connection_id":105679,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:12:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:12:46] local.INFO: Processing buffer {"connection_id":105679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:12:46] local.INFO: IMEI packet received {"connection_id":105679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:12:46] local.INFO: IMEI acknowledgment sent {"connection_id":105679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:12:47] local.INFO: TCP Data received {"connection_id":105679,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93e0d18012d181ec00721b188004900d725..."} 
[2026-06-18 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93e0d18012d181ec00721b188004900d725..."} 
[2026-06-18 11:12:47] local.INFO: Processing buffer {"connection_id":105679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93e0d18012d181ec00721b188004900d725..."} 
[2026-06-18 11:12:47] local.INFO: Packet analysis {"connection_id":105679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93e"} 
[2026-06-18 11:12:47] local.INFO: Extracted packet for processing {"connection_id":105679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93e"} 
[2026-06-18 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130857472001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781761183000,"timestamp_ms":1781761183000,"timestamp_seconds":1781761183,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93e0d18"} 
[2026-06-18 11:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 11:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130857472001,"66":12439,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130857472001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:12:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:12:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130857472001,"power":12439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":105679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:12:48] local.INFO: GPS data processed {"connection_id":105679,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:12:48] local.INFO: Acknowledgment sent {"connection_id":105679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:12:49] local.INFO: TCP Data received {"connection_id":105679,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93e5f20012d181ec00721b188004900d725..."} 
[2026-06-18 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93e5f20012d181ec00721b188004900d725..."} 
[2026-06-18 11:12:49] local.INFO: Processing buffer {"connection_id":105679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93e5f20012d181ec00721b188004900d725..."} 
[2026-06-18 11:12:49] local.INFO: Packet analysis {"connection_id":105679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93e"} 
[2026-06-18 11:12:49] local.INFO: Extracted packet for processing {"connection_id":105679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93e"} 
[2026-06-18 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130862848001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781761204000,"timestamp_ms":1781761204000,"timestamp_seconds":1781761204,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93e5f20"} 
[2026-06-18 11:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:12:49] 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-06-18 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 11:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130862848001,"66":12428,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130862848001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:12:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130862848001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":105679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:12:49] local.INFO: GPS data processed {"connection_id":105679,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:12:49] local.INFO: Acknowledgment sent {"connection_id":105679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:13:21] local.INFO: TCP Data received {"connection_id":105679,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93eb128012d181ec00721b188004900d725..."} 
[2026-06-18 11:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93eb128012d181ec00721b188004900d725..."} 
[2026-06-18 11:13:21] local.INFO: Processing buffer {"connection_id":105679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93eb128012d181ec00721b188004900d725..."} 
[2026-06-18 11:13:21] local.INFO: Packet analysis {"connection_id":105679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93e"} 
[2026-06-18 11:13:21] local.INFO: Extracted packet for processing {"connection_id":105679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93e"} 
[2026-06-18 11:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":37,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130868224001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781761225000,"timestamp_ms":1781761225000,"timestamp_seconds":1781761225,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93eb128"} 
[2026-06-18 11:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:13:21] 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-06-18 11:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 11:13:21] 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-06-18 11:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":105679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":105679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":105679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130868224001,"66":12406,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130868224001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:13:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:13:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130868224001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":105679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:13:21] local.INFO: GPS data processed {"connection_id":105679,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:13:21] local.INFO: Acknowledgment sent {"connection_id":105679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:13:36] local.INFO: TCP Data received {"connection_id":106451,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:13:36] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:13:36] local.INFO: IMEI packet received {"connection_id":106451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":106451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:13:38] local.INFO: TCP Data received {"connection_id":105874,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:13:38] local.INFO: Processing buffer {"connection_id":105874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:13:38] local.INFO: IMEI packet received {"connection_id":105874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":105874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:13:41] local.INFO: TCP Data received {"connection_id":105874,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9402ff8012d2695c006c4e140000b013e32..."} 
[2026-06-18 11:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9402ff8012d2695c006c4e140000b013e32..."} 
[2026-06-18 11:13:41] local.INFO: Processing buffer {"connection_id":105874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9402ff8012d2695c006c4e140000b013e32..."} 
[2026-06-18 11:13:41] local.INFO: Packet analysis {"connection_id":105874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed940"} 
[2026-06-18 11:13:41] local.INFO: Extracted packet for processing {"connection_id":105874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed940"} 
[2026-06-18 11:13:41] local.INFO: GPS Element Parsed {"raw_longitude":757503424,"raw_latitude":113566016,"longitude_deg":75.7503424,"latitude_deg":11.3566016,"altitude":11,"angle":318,"satellites":50,"speed":59,"hex_longitude":"2d2695c0","hex_latitude":"06c4e140","is_valid_coordinates":true} 
[2026-06-18 11:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130897152001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318142675884703744,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2787094879715917824,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781761323000,"timestamp_ms":1781761323000,"timestamp_seconds":1781761323,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9402ff8"} 
[2026-06-18 11:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:13: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-06-18 11:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130897152001,"66":27800,"191":206,"2":56576,"24":59,"16":318142675884703744,"45":2787094879715917824},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-18 11:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130897152001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:13:41] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-18 11:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318142675884703744,"km_value":318142675884703.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":2787094879715917824,"description":"Unknown IO ID 45"} 
[2026-06-18 11:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130897152001,"power":27800,"unknown_191":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2787094879715917824}} 
[2026-06-18 11:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":105874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:13:41] local.INFO: GPS data processed {"connection_id":105874,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:13:41] local.INFO: Acknowledgment sent {"connection_id":105874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:13:41] local.INFO: TCP Data received {"connection_id":106451,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:13:41] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:13:41] local.INFO: IMEI packet received {"connection_id":106451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":106451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:13:43] local.INFO: TCP Data received {"connection_id":106451,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93f0330012d181ec00721b188004900d727..."} 
[2026-06-18 11:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93f0330012d181ec00721b188004900d727..."} 
[2026-06-18 11:13:43] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93f0330012d181ec00721b188004900d727..."} 
[2026-06-18 11:13:43] local.INFO: Packet analysis {"connection_id":106451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93f"} 
[2026-06-18 11:13:43] local.INFO: Extracted packet for processing {"connection_id":106451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93f"} 
[2026-06-18 11:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130873600001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781761246000,"timestamp_ms":1781761246000,"timestamp_seconds":1781761246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93f0330"} 
[2026-06-18 11:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 11:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130873600001,"66":12406,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130873600001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:13:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130873600001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":106451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:13:43] local.INFO: GPS data processed {"connection_id":106451,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:13:43] local.INFO: Acknowledgment sent {"connection_id":106451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:13:46] local.INFO: TCP Data received {"connection_id":106451,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93f5538012d181ec00721b188004900d727..."} 
[2026-06-18 11:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93f5538012d181ec00721b188004900d727..."} 
[2026-06-18 11:13:46] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93f5538012d181ec00721b188004900d727..."} 
[2026-06-18 11:13:46] local.INFO: Packet analysis {"connection_id":106451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93f"} 
[2026-06-18 11:13:46] local.INFO: Extracted packet for processing {"connection_id":106451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93f"} 
[2026-06-18 11:13:46] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130878976001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781761267000,"timestamp_ms":1781761267000,"timestamp_seconds":1781761267,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93f5538"} 
[2026-06-18 11:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:13:46] 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-06-18 11:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 11:13:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130878976001,"66":12385,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130878976001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:13:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:13:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130878976001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":106451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:13:47] local.INFO: GPS data processed {"connection_id":106451,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:13:47] local.INFO: Acknowledgment sent {"connection_id":106451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:14:18] local.INFO: TCP Data received {"connection_id":106451,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93fa740012d181ec00721b188004900d726..."} 
[2026-06-18 11:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93fa740012d181ec00721b188004900d726..."} 
[2026-06-18 11:14:18] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93fa740012d181ec00721b188004900d726..."} 
[2026-06-18 11:14:18] local.INFO: Packet analysis {"connection_id":106451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93f"} 
[2026-06-18 11:14:18] local.INFO: Extracted packet for processing {"connection_id":106451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93f"} 
[2026-06-18 11:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":38,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130884352001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781761288000,"timestamp_ms":1781761288000,"timestamp_seconds":1781761288,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93fa740"} 
[2026-06-18 11:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 11:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":106451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":106451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":106451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130884352001,"66":12406,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130884352001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:14:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:14:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130884352001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":106451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:14:18] local.INFO: GPS data processed {"connection_id":106451,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:14:18] local.INFO: Acknowledgment sent {"connection_id":106451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:14:27] local.INFO: TCP Data received {"connection_id":105681,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:27] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:27] local.INFO: IMEI packet received {"connection_id":105681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":105681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:14:31] local.INFO: TCP Data received {"connection_id":105681,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:31] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:31] local.INFO: IMEI packet received {"connection_id":105681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:14:31] local.INFO: IMEI acknowledgment sent {"connection_id":105681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:14:34] local.INFO: TCP Data received {"connection_id":105876,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:34] local.INFO: Processing buffer {"connection_id":105876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:34] local.INFO: IMEI packet received {"connection_id":105876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":105876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:14:35] local.INFO: TCP Data received {"connection_id":105681,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:35] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:14:35] local.INFO: IMEI packet received {"connection_id":105681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":105681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:14:36] local.INFO: TCP Data received {"connection_id":105681,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94154f0012d25860006c63b68000b014b30..."} 
[2026-06-18 11:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94154f0012d25860006c63b68000b014b30..."} 
[2026-06-18 11:14:36] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94154f0012d25860006c63b68000b014b30..."} 
[2026-06-18 11:14:36] local.INFO: Packet analysis {"connection_id":105681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:14:36] local.INFO: Extracted packet for processing {"connection_id":105681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":757433856,"raw_latitude":113654632,"longitude_deg":75.7433856,"latitude_deg":11.3654632,"altitude":11,"angle":331,"satellites":48,"speed":59,"hex_longitude":"2d258600","hex_latitude":"06c63b68","is_valid_coordinates":true} 
[2026-06-18 11:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130916352001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318148109018333184,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2708774467468584960,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781761398000,"timestamp_ms":1781761398000,"timestamp_seconds":1781761398,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94154f0"} 
[2026-06-18 11:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:14:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130916352001,"66":27300,"249":206,"2":56576,"24":59,"16":318148109018333184,"45":2708774467468584960},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-18 11:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130916352001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:14:36] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 11:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318148109018333184,"km_value":318148109018333.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2708774467468584960,"description":"Unknown IO ID 45"} 
[2026-06-18 11:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130916352001,"power":27300,"unknown_249":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2708774467468584960}} 
[2026-06-18 11:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":105681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:14:36] local.INFO: GPS data processed {"connection_id":105681,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:14:36] local.INFO: Acknowledgment sent {"connection_id":105681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:14:36] local.INFO: TCP Data received {"connection_id":105876,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:36] local.INFO: Processing buffer {"connection_id":105876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:36] local.INFO: IMEI packet received {"connection_id":105876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":105876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:14:37] local.INFO: TCP Data received {"connection_id":105681,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9416c60012d25750006c65a48000b014b30..."} 
[2026-06-18 11:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9416c60012d25750006c65a48000b014b30..."} 
[2026-06-18 11:14:37] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9416c60012d25750006c65a48000b014b30..."} 
[2026-06-18 11:14:37] local.INFO: Packet analysis {"connection_id":105681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:14:37] local.INFO: Extracted packet for processing {"connection_id":105681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:14:37] local.INFO: GPS Element Parsed {"raw_longitude":757429504,"raw_latitude":113662536,"longitude_deg":75.7429504,"latitude_deg":11.3662536,"altitude":11,"angle":331,"satellites":48,"speed":59,"hex_longitude":"2d257500","hex_latitude":"06c65a48","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130917888001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318148542810030080,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2703848655378147328,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781761404000,"timestamp_ms":1781761404000,"timestamp_seconds":1781761404,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9416c60"} 
[2026-06-18 11:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":164,"data_length":795,"current_offset":136} 
[2026-06-18 11:14:37] 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-06-18 11: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-06-18 11:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130917888001,"66":27930,"249":206,"2":56576,"24":59,"16":318148542810030080,"45":2703848655378147328},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-18 11:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130917888001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:14:37] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 11:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318148542810030080,"km_value":318148542810030.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:14:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":2703848655378147328,"description":"Unknown IO ID 45"} 
[2026-06-18 11:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130917888001,"power":27930,"unknown_249":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2703848655378147328}} 
[2026-06-18 11:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":105681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:14:37] local.INFO: GPS data processed {"connection_id":105681,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:14:37] local.INFO: Acknowledgment sent {"connection_id":105681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:14:41] local.INFO: TCP Data received {"connection_id":105876,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105876,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:41] local.INFO: Processing buffer {"connection_id":105876,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:14:41] local.INFO: IMEI packet received {"connection_id":105876,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":105876,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:14:43] local.INFO: TCP Data received {"connection_id":105876,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed93ff948012d181ec00721b188004900d727..."} 
[2026-06-18 11:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed93ff948012d181ec00721b188004900d727..."} 
[2026-06-18 11:14:43] local.INFO: Processing buffer {"connection_id":105876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed93ff948012d181ec00721b188004900d727..."} 
[2026-06-18 11:14:43] local.INFO: Packet analysis {"connection_id":105876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed93f"} 
[2026-06-18 11:14:43] local.INFO: Extracted packet for processing {"connection_id":105876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed93f"} 
[2026-06-18 11:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":39,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130889728001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781761309000,"timestamp_ms":1781761309000,"timestamp_seconds":1781761309,"priority":1,"record_length":96,"hex_timestamp":"0000019ed93ff948"} 
[2026-06-18 11:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:14:43] 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-06-18 11:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 11:14:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130889728001,"66":12385,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130889728001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:14:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130889728001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":105876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:14:43] local.INFO: GPS data processed {"connection_id":105876,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:14:43] local.INFO: Acknowledgment sent {"connection_id":105876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:15:08] local.INFO: TCP Data received {"connection_id":105681,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94183d0012d25640006c67900000a014b30..."} 
[2026-06-18 11:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94183d0012d25640006c67900000a014b30..."} 
[2026-06-18 11:15:08] local.INFO: Processing buffer {"connection_id":105681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94183d0012d25640006c67900000a014b30..."} 
[2026-06-18 11:15:08] local.INFO: Packet analysis {"connection_id":105681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:15:08] local.INFO: Extracted packet for processing {"connection_id":105681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:15:08] local.INFO: GPS Element Parsed {"raw_longitude":757425152,"raw_latitude":113670400,"longitude_deg":75.7425152,"latitude_deg":11.36704,"altitude":10,"angle":331,"satellites":48,"speed":59,"hex_longitude":"2d256400","hex_latitude":"06c67900","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130919424001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318148976601726976,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2699063580776089600,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781761410000,"timestamp_ms":1781761410000,"timestamp_seconds":1781761410,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94183d0"} 
[2026-06-18 11:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 11:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11: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-06-18 11:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130919424001,"66":27821,"249":206,"2":56576,"24":59,"16":318148976601726976,"45":2699063580776089600},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-18 11:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130919424001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:15:08] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 11:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318148976601726976,"km_value":318148976601727.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2699063580776089600,"description":"Unknown IO ID 45"} 
[2026-06-18 11:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130919424001,"power":27821,"unknown_249":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2699063580776089600}} 
[2026-06-18 11:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":105681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:15:08] local.INFO: GPS data processed {"connection_id":105681,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:15:08] local.INFO: Acknowledgment sent {"connection_id":105681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:15:14] local.INFO: TCP Data received {"connection_id":105876,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9404b50012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9404b50012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:14] local.INFO: Processing buffer {"connection_id":105876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9404b50012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:14] local.INFO: Packet analysis {"connection_id":105876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed940"} 
[2026-06-18 11:15:14] local.INFO: Extracted packet for processing {"connection_id":105876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed940"} 
[2026-06-18 11:15:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130895104001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781761330000,"timestamp_ms":1781761330000,"timestamp_seconds":1781761330,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9404b50"} 
[2026-06-18 11:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 11:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105876,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130895104001,"66":12374,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130895104001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:15:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:15:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130895104001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":105876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:15:14] local.INFO: GPS data processed {"connection_id":105876,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:15:14] local.INFO: Acknowledgment sent {"connection_id":105876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:15:25] local.INFO: TCP Data received {"connection_id":106452,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:25] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:25] local.INFO: IMEI packet received {"connection_id":106452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":106452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:15:26] local.INFO: TCP Data received {"connection_id":106452,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:26] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:26] local.INFO: IMEI packet received {"connection_id":106452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":106452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:15:30] local.INFO: TCP Data received {"connection_id":106452,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:30] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:15:30] local.INFO: IMEI packet received {"connection_id":106452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":106452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:15:32] local.INFO: TCP Data received {"connection_id":106452,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94281b8012d24e48006c7d4b8000b015a32..."} 
[2026-06-18 11:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94281b8012d24e48006c7d4b8000b015a32..."} 
[2026-06-18 11:15:32] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94281b8012d24e48006c7d4b8000b015a32..."} 
[2026-06-18 11:15:32] local.INFO: Packet analysis {"connection_id":106452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:15:32] local.INFO: Extracted packet for processing {"connection_id":106452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:15:32] local.INFO: GPS Element Parsed {"raw_longitude":757392512,"raw_latitude":113759416,"longitude_deg":75.7392512,"latitude_deg":11.3759416,"altitude":11,"angle":346,"satellites":50,"speed":67,"hex_longitude":"2d24e480","hex_latitude":"06c7d4b8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 11:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130936064001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318153628051308544,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2660290402756458496,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781761475000,"timestamp_ms":1781761475000,"timestamp_seconds":1781761475,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94281b8"} 
[2026-06-18 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-06-18 11:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":97,"data_length":795,"current_offset":136} 
[2026-06-18 11:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 11:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130936064001,"66":27267,"249":206,"2":56576,"24":67,"16":318153628051308544,"45":2660290402756458496},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-18 11:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130936064001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:15:32] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 11:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318153628051308544,"km_value":318153628051308.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":2660290402756458496,"description":"Unknown IO ID 45"} 
[2026-06-18 11:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130936064001,"power":27267,"unknown_249":206,"power_alt":56576,"ignition":67,"odometer":null,"unknown_45":2660290402756458496}} 
[2026-06-18 11:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":106452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:15:32] local.INFO: GPS data processed {"connection_id":106452,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:15:32] local.INFO: Acknowledgment sent {"connection_id":106452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:15:34] local.INFO: TCP Data received {"connection_id":106452,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9429928012d24d94006c7fb680008015631..."} 
[2026-06-18 11:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9429928012d24d94006c7fb680008015631..."} 
[2026-06-18 11:15:34] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9429928012d24d94006c7fb680008015631..."} 
[2026-06-18 11:15:34] local.INFO: Packet analysis {"connection_id":106452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:15:34] local.INFO: Extracted packet for processing {"connection_id":106452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:15:34] local.INFO: GPS Element Parsed {"raw_longitude":757389632,"raw_latitude":113769320,"longitude_deg":75.7389632,"latitude_deg":11.376932,"altitude":8,"angle":342,"satellites":49,"speed":68,"hex_longitude":"2d24d940","hex_latitude":"06c7fb68","is_valid_coordinates":true} 
[2026-06-18 11:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130937600001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318154130562482176,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2658390446666201088,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781761481000,"timestamp_ms":1781761481000,"timestamp_seconds":1781761481,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9429928"} 
[2026-06-18 11:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:15:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 11:15: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-06-18 11:15:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:15:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130937600001,"66":27919,"249":206,"2":56576,"24":68,"16":318154130562482176,"45":2658390446666201088},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-18 11:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130937600001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:15:34] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 11:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318154130562482176,"km_value":318154130562482.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2658390446666201088,"description":"Unknown IO ID 45"} 
[2026-06-18 11:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130937600001,"power":27919,"unknown_249":206,"power_alt":56576,"ignition":68,"odometer":null,"unknown_45":2658390446666201088}} 
[2026-06-18 11:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":106452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:15:34] local.INFO: GPS data processed {"connection_id":106452,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:15:34] local.INFO: Acknowledgment sent {"connection_id":106452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:15:37] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:37] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:37] local.INFO: IMEI packet received {"connection_id":105683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":105683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:15:37] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:37] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:37] local.INFO: IMEI packet received {"connection_id":105683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":105683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:15:42] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:42] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:15:42] local.INFO: IMEI packet received {"connection_id":105683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":105683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:15:43] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9409d58012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9409d58012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:43] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9409d58012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:43] local.INFO: Packet analysis {"connection_id":105683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed940"} 
[2026-06-18 11:15:43] local.INFO: Extracted packet for processing {"connection_id":105683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed940"} 
[2026-06-18 11:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130900480001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781761351000,"timestamp_ms":1781761351000,"timestamp_seconds":1781761351,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9409d58"} 
[2026-06-18 11:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:15:43] 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-06-18 11:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 11:15:43] 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-06-18 11:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130900480001,"66":12374,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130900480001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:15:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130900480001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":105683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:15:43] local.INFO: GPS data processed {"connection_id":105683,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:15:43] local.INFO: Acknowledgment sent {"connection_id":105683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:15:47] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed940ef60012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed940ef60012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:47] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed940ef60012d181ec00721b188004900d729..."} 
[2026-06-18 11:15:47] local.INFO: Packet analysis {"connection_id":105683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed940"} 
[2026-06-18 11:15:47] local.INFO: Extracted packet for processing {"connection_id":105683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed940"} 
[2026-06-18 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130905856001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781761372000,"timestamp_ms":1781761372000,"timestamp_seconds":1781761372,"priority":1,"record_length":96,"hex_timestamp":"0000019ed940ef60"} 
[2026-06-18 11:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 11:15:47] 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-06-18 11:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130905856001,"66":12385,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130905856001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:15:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:15:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130905856001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":105683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:15:47] local.INFO: GPS data processed {"connection_id":105683,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:15:47] local.INFO: Acknowledgment sent {"connection_id":105683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:16:05] local.INFO: TCP Data received {"connection_id":106452,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed942b098012d24cd0006c821a8000701562f..."} 
[2026-06-18 11:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed942b098012d24cd0006c821a8000701562f..."} 
[2026-06-18 11:16:05] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed942b098012d24cd0006c821a8000701562f..."} 
[2026-06-18 11:16:05] local.INFO: Packet analysis {"connection_id":106452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:16:05] local.INFO: Extracted packet for processing {"connection_id":106452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:16:05] local.INFO: GPS Element Parsed {"raw_longitude":757386496,"raw_latitude":113779112,"longitude_deg":75.7386496,"latitude_deg":11.3779112,"altitude":7,"angle":342,"satellites":47,"speed":66,"hex_longitude":"2d24cd00","hex_latitude":"06c821a8","is_valid_coordinates":true} 
[2026-06-18 11:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130939136001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318154624483721216,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2655223853180741632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781761487000,"timestamp_ms":1781761487000,"timestamp_seconds":1781761487,"priority":1,"record_length":96,"hex_timestamp":"0000019ed942b098"} 
[2026-06-18 11:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130939136001,"66":27865,"249":206,"2":56576,"24":66,"16":318154624483721216,"45":2655223853180741632},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-18 11:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130939136001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:16:05] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 11:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318154624483721216,"km_value":318154624483721.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2655223853180741632,"description":"Unknown IO ID 45"} 
[2026-06-18 11:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130939136001,"power":27865,"unknown_249":206,"power_alt":56576,"ignition":66,"odometer":null,"unknown_45":2655223853180741632}} 
[2026-06-18 11:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":106452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:16:05] local.INFO: GPS data processed {"connection_id":106452,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:16:05] local.INFO: Acknowledgment sent {"connection_id":106452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:16:18] local.INFO: TCP Data received {"connection_id":105683,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9414168012d181ec00721b188004900d729..."} 
[2026-06-18 11:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9414168012d181ec00721b188004900d729..."} 
[2026-06-18 11:16:18] local.INFO: Processing buffer {"connection_id":105683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9414168012d181ec00721b188004900d729..."} 
[2026-06-18 11:16:18] local.INFO: Packet analysis {"connection_id":105683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:16:18] local.INFO: Extracted packet for processing {"connection_id":105683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130911232001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781761393000,"timestamp_ms":1781761393000,"timestamp_seconds":1781761393,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9414168"} 
[2026-06-18 11:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 11:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":105683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":105683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":105683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130911232001,"66":12385,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130911232001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:16:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:16:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130911232001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":105683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:16:19] local.INFO: GPS data processed {"connection_id":105683,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:16:19] local.INFO: Acknowledgment sent {"connection_id":105683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:16:23] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:23] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:23] local.INFO: IMEI packet received {"connection_id":105878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":105878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:16:25] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:25] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:25] local.INFO: IMEI packet received {"connection_id":105878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":105878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:16:30] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:30] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:16:30] local.INFO: IMEI packet received {"connection_id":105878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":105878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:16:31] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed942c808012d24c10006c845a0000801552d..."} 
[2026-06-18 11:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed942c808012d24c10006c845a0000801552d..."} 
[2026-06-18 11:16:31] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed942c808012d24c10006c845a0000801552d..."} 
[2026-06-18 11:16:31] local.INFO: Packet analysis {"connection_id":105878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:16:31] local.INFO: Extracted packet for processing {"connection_id":105878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:16:31] local.INFO: GPS Element Parsed {"raw_longitude":757383424,"raw_latitude":113788320,"longitude_deg":75.7383424,"latitude_deg":11.378832,"altitude":8,"angle":341,"satellites":45,"speed":61,"hex_longitude":"2d24c100","hex_latitude":"06c845a0","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130940672001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318155096930123776,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2651775784718542848,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781761493000,"timestamp_ms":1781761493000,"timestamp_seconds":1781761493,"priority":1,"record_length":96,"hex_timestamp":"0000019ed942c808"} 
[2026-06-18 11:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:16: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-06-18 11: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-06-18 11:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130940672001,"66":27865,"249":206,"2":56576,"24":61,"16":318155096930123776,"45":2651775784718542848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-06-18 11:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130940672001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:16:31] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-06-18 11:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318155096930123776,"km_value":318155096930123.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2651775784718542848,"description":"Unknown IO ID 45"} 
[2026-06-18 11:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130940672001,"power":27865,"unknown_249":206,"power_alt":56576,"ignition":61,"odometer":null,"unknown_45":2651775784718542848}} 
[2026-06-18 11:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":105878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:16:31] local.INFO: GPS data processed {"connection_id":105878,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:16:31] local.INFO: Acknowledgment sent {"connection_id":105878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:16:34] local.INFO: TCP Data received {"connection_id":105879,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:16:34] local.INFO: Processing buffer {"connection_id":105879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:16:34] local.INFO: IMEI packet received {"connection_id":105879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":105879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:16:36] local.INFO: TCP Data received {"connection_id":105880,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:16:36] local.INFO: Processing buffer {"connection_id":105880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:16:36] local.INFO: IMEI packet received {"connection_id":105880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":105880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:16:40] local.INFO: TCP Data received {"connection_id":105880,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:16:40] local.INFO: Processing buffer {"connection_id":105880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:16:40] local.INFO: IMEI packet received {"connection_id":105880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":105880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:16:41] local.INFO: TCP Data received {"connection_id":105880,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9419370012d181ec00721b188004900d728..."} 
[2026-06-18 11:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9419370012d181ec00721b188004900d728..."} 
[2026-06-18 11:16:41] local.INFO: Processing buffer {"connection_id":105880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9419370012d181ec00721b188004900d728..."} 
[2026-06-18 11:16:41] local.INFO: Packet analysis {"connection_id":105880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:16:41] local.INFO: Extracted packet for processing {"connection_id":105880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:16:41] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130916608001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781761414000,"timestamp_ms":1781761414000,"timestamp_seconds":1781761414,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9419370"} 
[2026-06-18 11:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:16:41] 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-06-18 11:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 11:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130916608001,"66":12385,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130916608001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:16:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:16:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130916608001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":105880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:16:42] local.INFO: GPS data processed {"connection_id":105880,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:16:42] local.INFO: Acknowledgment sent {"connection_id":105880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:17:02] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed943f0e8012d24210006c9a508000c015431..."} 
[2026-06-18 11:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed943f0e8012d24210006c9a508000c015431..."} 
[2026-06-18 11:17:02] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed943f0e8012d24210006c9a508000c015431..."} 
[2026-06-18 11:17:02] local.INFO: Packet analysis {"connection_id":105878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed943"} 
[2026-06-18 11:17:02] local.INFO: Extracted packet for processing {"connection_id":105878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed943"} 
[2026-06-18 11:17:02] local.INFO: GPS Element Parsed {"raw_longitude":757342464,"raw_latitude":113878280,"longitude_deg":75.7342464,"latitude_deg":11.387828,"altitude":12,"angle":340,"satellites":49,"speed":59,"hex_longitude":"2d242100","hex_latitude":"06c9a508","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130960128001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318159941653233664,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2606599050979610624,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781761569000,"timestamp_ms":1781761569000,"timestamp_seconds":1781761569,"priority":1,"record_length":96,"hex_timestamp":"0000019ed943f0e8"} 
[2026-06-18 11:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:17: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-06-18 11: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-06-18 11:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130960128001,"66":27821,"248":206,"2":56576,"24":59,"16":318159941653233664,"45":2606599050979610624},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-06-18 11:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130960128001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318159941653233664,"km_value":318159941653233.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2606599050979610624,"description":"Unknown IO ID 45"} 
[2026-06-18 11:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130960128001,"power":27821,"tamper_alert":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2606599050979610624}} 
[2026-06-18 11:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":105878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:17:02] local.INFO: GPS data processed {"connection_id":105878,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:17:02] local.INFO: Acknowledgment sent {"connection_id":105878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:17:13] local.INFO: TCP Data received {"connection_id":105880,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed941e578012d181ec00721b188004900d728..."} 
[2026-06-18 11:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed941e578012d181ec00721b188004900d728..."} 
[2026-06-18 11:17:13] local.INFO: Processing buffer {"connection_id":105880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed941e578012d181ec00721b188004900d728..."} 
[2026-06-18 11:17:13] local.INFO: Packet analysis {"connection_id":105880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:17:13] local.INFO: Extracted packet for processing {"connection_id":105880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed941"} 
[2026-06-18 11:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130921984001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781761435000,"timestamp_ms":1781761435000,"timestamp_seconds":1781761435,"priority":1,"record_length":96,"hex_timestamp":"0000019ed941e578"} 
[2026-06-18 11:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 11:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130921984001,"66":12341,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130921984001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:17:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:17:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130921984001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":105880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:17:13] local.INFO: GPS data processed {"connection_id":105880,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:17:13] local.INFO: Acknowledgment sent {"connection_id":105880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:17:25] local.INFO: TCP Data received {"connection_id":105684,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:17:25] local.INFO: Processing buffer {"connection_id":105684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:17:25] local.INFO: IMEI packet received {"connection_id":105684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":105684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:17:28] local.INFO: TCP Data received {"connection_id":105684,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:17:28] local.INFO: Processing buffer {"connection_id":105684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:17:28] local.INFO: IMEI packet received {"connection_id":105684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":105684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:17:29] local.INFO: TCP Data received {"connection_id":105684,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9440c40012d2413c006c9ca38000c01542f..."} 
[2026-06-18 11:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9440c40012d2413c006c9ca38000c01542f..."} 
[2026-06-18 11:17:29] local.INFO: Processing buffer {"connection_id":105684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9440c40012d2413c006c9ca38000c01542f..."} 
[2026-06-18 11:17:29] local.INFO: Packet analysis {"connection_id":105684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:17:29] local.INFO: Extracted packet for processing {"connection_id":105684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:17:29] local.INFO: GPS Element Parsed {"raw_longitude":757339072,"raw_latitude":113887800,"longitude_deg":75.7339072,"latitude_deg":11.38878,"altitude":12,"angle":340,"satellites":47,"speed":56,"hex_longitude":"2d2413c0","hex_latitude":"06c9ca38","is_valid_coordinates":true} 
[2026-06-18 11:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130961664001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318160431279505408,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2603362088749697024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781761576000,"timestamp_ms":1781761576000,"timestamp_seconds":1781761576,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9440c40"} 
[2026-06-18 11:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:17: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-06-18 11:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:17: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-06-18 11:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130961664001,"66":27995,"118":206,"2":56576,"24":56,"16":318160431279505408,"45":2603362088749697024},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 11:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130961664001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:17:29] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 11:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318160431279505408,"km_value":318160431279505.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2603362088749697024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130961664001,"power":27995,"unknown_118":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":2603362088749697024}} 
[2026-06-18 11:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":105684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:17:29] local.INFO: GPS data processed {"connection_id":105684,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:17:29] local.INFO: Acknowledgment sent {"connection_id":105684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:17:36] local.INFO: TCP Data received {"connection_id":105686,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:17:36] local.INFO: Processing buffer {"connection_id":105686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:17:36] local.INFO: IMEI packet received {"connection_id":105686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":105686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:17:41] local.INFO: TCP Data received {"connection_id":105686,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:17:41] local.INFO: Processing buffer {"connection_id":105686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:17:41] local.INFO: IMEI packet received {"connection_id":105686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":105686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:17:42] local.INFO: TCP Data received {"connection_id":105686,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9423780012d181ec00721b188004900d728..."} 
[2026-06-18 11:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9423780012d181ec00721b188004900d728..."} 
[2026-06-18 11:17:42] local.INFO: Processing buffer {"connection_id":105686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9423780012d181ec00721b188004900d728..."} 
[2026-06-18 11:17:42] local.INFO: Packet analysis {"connection_id":105686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:17:42] local.INFO: Extracted packet for processing {"connection_id":105686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130927360001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781761456000,"timestamp_ms":1781761456000,"timestamp_seconds":1781761456,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9423780"} 
[2026-06-18 11:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:17:42] 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-06-18 11:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 11:17:42] 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-06-18 11:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130927360001,"66":12341,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130927360001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:17:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:17:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130927360001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":105686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:17:43] local.INFO: GPS data processed {"connection_id":105686,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:17:43] local.INFO: Acknowledgment sent {"connection_id":105686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:18:01] local.INFO: TCP Data received {"connection_id":105684,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94423b0012d24068006c9ea38000c014c2f..."} 
[2026-06-18 11:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94423b0012d24068006c9ea38000c014c2f..."} 
[2026-06-18 11:18:01] local.INFO: Processing buffer {"connection_id":105684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94423b0012d24068006c9ea38000c014c2f..."} 
[2026-06-18 11:18:01] local.INFO: Packet analysis {"connection_id":105684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:18:01] local.INFO: Extracted packet for processing {"connection_id":105684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":757335680,"raw_latitude":113895992,"longitude_deg":75.733568,"latitude_deg":11.3895992,"altitude":12,"angle":332,"satellites":47,"speed":60,"hex_longitude":"2d240680","hex_latitude":"06c9ea38","is_valid_coordinates":true} 
[2026-06-18 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130963456001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318160860776235008,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2599632545310717952,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781761582000,"timestamp_ms":1781761582000,"timestamp_seconds":1781761582,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94423b0"} 
[2026-06-18 11:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 11:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130963456001,"66":27908,"118":206,"2":56576,"24":60,"16":318160860776235008,"45":2599632545310717952},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 11:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130963456001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:18:01] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 11:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318160860776235008,"km_value":318160860776235.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":2599632545310717952,"description":"Unknown IO ID 45"} 
[2026-06-18 11:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130963456001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2599632545310717952}} 
[2026-06-18 11:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":105684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:18:01] local.INFO: GPS data processed {"connection_id":105684,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:18:01] local.INFO: Acknowledgment sent {"connection_id":105684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:18:14] local.INFO: TCP Data received {"connection_id":105686,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9428988012d181ec00721b188004900d729..."} 
[2026-06-18 11:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9428988012d181ec00721b188004900d729..."} 
[2026-06-18 11:18:14] local.INFO: Processing buffer {"connection_id":105686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9428988012d181ec00721b188004900d729..."} 
[2026-06-18 11:18:14] local.INFO: Packet analysis {"connection_id":105686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:18:14] local.INFO: Extracted packet for processing {"connection_id":105686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:18: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-06-18 11:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130932736001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781761477000,"timestamp_ms":1781761477000,"timestamp_seconds":1781761477,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9428988"} 
[2026-06-18 11:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 11:18:14] 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-06-18 11:18: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-06-18 11:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130932736001,"66":11711,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130932736001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:18:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130932736001,"power":11711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":105686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:18:14] local.INFO: GPS data processed {"connection_id":105686,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:18:14] local.INFO: Acknowledgment sent {"connection_id":105686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:18:25] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:25] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:25] local.INFO: IMEI packet received {"connection_id":105687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":105687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:18:26] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:26] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:26] local.INFO: IMEI packet received {"connection_id":105687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":105687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:18:30] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:30] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:18:30] local.INFO: IMEI packet received {"connection_id":105687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":105687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:18:31] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9450e10012d22f40006caab900012014932..."} 
[2026-06-18 11:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9450e10012d22f40006caab900012014932..."} 
[2026-06-18 11:18:31] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9450e10012d22f40006caab900012014932..."} 
[2026-06-18 11:18:31] local.INFO: Packet analysis {"connection_id":105687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed945"} 
[2026-06-18 11:18:31] local.INFO: Extracted packet for processing {"connection_id":105687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed945"} 
[2026-06-18 11:18:31] local.INFO: GPS Element Parsed {"raw_longitude":757265408,"raw_latitude":113945488,"longitude_deg":75.7265408,"latitude_deg":11.3945488,"altitude":18,"angle":329,"satellites":50,"speed":55,"hex_longitude":"2d22f400","hex_latitude":"06caab90","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130978560001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318165181513334784,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2524971307750901760,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781761642000,"timestamp_ms":1781761642000,"timestamp_seconds":1781761642,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9450e10"} 
[2026-06-18 11:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:18: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-06-18 11: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-06-18 11:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130978560001,"66":27865,"120":206,"2":56576,"24":55,"16":318165181513334784,"45":2524971307750901760},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-18 11:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130978560001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:18:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318165181513334784,"km_value":318165181513334.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2524971307750901760,"description":"Unknown IO ID 45"} 
[2026-06-18 11:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130978560001,"power":27865,"unknown_120":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":2524971307750901760}} 
[2026-06-18 11:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":105687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:18:32] local.INFO: GPS data processed {"connection_id":105687,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:18:32] local.INFO: Acknowledgment sent {"connection_id":105687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:18:36] local.INFO: TCP Data received {"connection_id":105881,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:18:36] local.INFO: Processing buffer {"connection_id":105881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:18:36] local.INFO: IMEI packet received {"connection_id":105881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":105881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:18:41] local.INFO: TCP Data received {"connection_id":105881,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:18:41] local.INFO: Processing buffer {"connection_id":105881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:18:41] local.INFO: IMEI packet received {"connection_id":105881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":105881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:18:43] local.INFO: TCP Data received {"connection_id":105881,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed942db90012d181ec00721b188004900d729..."} 
[2026-06-18 11:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed942db90012d181ec00721b188004900d729..."} 
[2026-06-18 11:18:43] local.INFO: Processing buffer {"connection_id":105881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed942db90012d181ec00721b188004900d729..."} 
[2026-06-18 11:18:43] local.INFO: Packet analysis {"connection_id":105881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:18:43] local.INFO: Extracted packet for processing {"connection_id":105881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed942"} 
[2026-06-18 11:18:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130938112001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781761498000,"timestamp_ms":1781761498000,"timestamp_seconds":1781761498,"priority":1,"record_length":96,"hex_timestamp":"0000019ed942db90"} 
[2026-06-18 11:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:18:43] 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-06-18 11:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 11:18:43] 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-06-18 11:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130938112001,"66":12341,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130938112001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:18:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130938112001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":105881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:18:43] local.INFO: GPS data processed {"connection_id":105881,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:18:43] local.INFO: Acknowledgment sent {"connection_id":105881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:19:03] local.INFO: TCP Data received {"connection_id":105687,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9452968012d22e4c006cacc080011015632..."} 
[2026-06-18 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9452968012d22e4c006cacc080011015632..."} 
[2026-06-18 11:19:03] local.INFO: Processing buffer {"connection_id":105687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9452968012d22e4c006cacc080011015632..."} 
[2026-06-18 11:19:03] local.INFO: Packet analysis {"connection_id":105687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed945"} 
[2026-06-18 11:19:03] local.INFO: Extracted packet for processing {"connection_id":105687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed945"} 
[2026-06-18 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":757261504,"raw_latitude":113953800,"longitude_deg":75.7261504,"latitude_deg":11.39538,"altitude":17,"angle":342,"satellites":50,"speed":50,"hex_longitude":"2d22e4c0","hex_latitude":"06cacc08","is_valid_coordinates":true} 
[2026-06-18 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130980352001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318165623894966272,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2518638120776994816,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781761649000,"timestamp_ms":1781761649000,"timestamp_seconds":1781761649,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9452968"} 
[2026-06-18 11:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:19: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-06-18 11:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130980352001,"66":27865,"120":206,"2":56576,"24":50,"16":318165623894966272,"45":2518638120776994816},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-18 11:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130980352001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:19:03] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318165623894966272,"km_value":318165623894966.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:19:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2518638120776994816,"description":"Unknown IO ID 45"} 
[2026-06-18 11:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130980352001,"power":27865,"unknown_120":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2518638120776994816}} 
[2026-06-18 11:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":105687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:19:03] local.INFO: GPS data processed {"connection_id":105687,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:19:03] local.INFO: Acknowledgment sent {"connection_id":105687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:19:14] local.INFO: TCP Data received {"connection_id":105881,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9432d98012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9432d98012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:14] local.INFO: Processing buffer {"connection_id":105881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9432d98012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:14] local.INFO: Packet analysis {"connection_id":105881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed943"} 
[2026-06-18 11:19:14] local.INFO: Extracted packet for processing {"connection_id":105881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed943"} 
[2026-06-18 11:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130943488001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781761519000,"timestamp_ms":1781761519000,"timestamp_seconds":1781761519,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9432d98"} 
[2026-06-18 11:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 11:19:14] 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-06-18 11:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130943488001,"66":12341,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130943488001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:19:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130943488001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":105881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:19:14] local.INFO: GPS data processed {"connection_id":105881,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:19:14] local.INFO: Acknowledgment sent {"connection_id":105881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:19:27] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:27] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:27] local.INFO: IMEI packet received {"connection_id":106453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":106453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:19:30] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:30] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:30] local.INFO: IMEI packet received {"connection_id":106453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":106453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:19:33] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:33] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:19:33] local.INFO: IMEI packet received {"connection_id":106453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":106453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:19:34] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9460428012d22398006cbd7a00008013c31..."} 
[2026-06-18 11:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9460428012d22398006cbd7a00008013c31..."} 
[2026-06-18 11:19:34] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9460428012d22398006cbd7a00008013c31..."} 
[2026-06-18 11:19:34] local.INFO: Packet analysis {"connection_id":106453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed946"} 
[2026-06-18 11:19:34] local.INFO: Extracted packet for processing {"connection_id":106453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed946"} 
[2026-06-18 11:19:34] local.INFO: GPS Element Parsed {"raw_longitude":757217664,"raw_latitude":114022304,"longitude_deg":75.7217664,"latitude_deg":11.4022304,"altitude":8,"angle":316,"satellites":49,"speed":60,"hex_longitude":"2d223980","hex_latitude":"06cbd7a0","is_valid_coordinates":true} 
[2026-06-18 11:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130994944001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318169661164224512,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2474094705730740224,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781761705000,"timestamp_ms":1781761705000,"timestamp_seconds":1781761705,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9460428"} 
[2026-06-18 11:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:19:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 11:19: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-06-18 11:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130994944001,"66":27919,"120":206,"2":56576,"24":60,"16":318169661164224512,"45":2474094705730740224},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-18 11:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130994944001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:19:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318169661164224512,"km_value":318169661164224.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2474094705730740224,"description":"Unknown IO ID 45"} 
[2026-06-18 11:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130994944001,"power":27919,"unknown_120":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":2474094705730740224}} 
[2026-06-18 11:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":106453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:19:34] local.INFO: GPS data processed {"connection_id":106453,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:19:34] local.INFO: Acknowledgment sent {"connection_id":106453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:19:35] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9461b98012d22234006cbf3800007014730..."} 
[2026-06-18 11:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9461b98012d22234006cbf3800007014730..."} 
[2026-06-18 11:19:35] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9461b98012d22234006cbf3800007014730..."} 
[2026-06-18 11:19:35] local.INFO: Packet analysis {"connection_id":106453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed946"} 
[2026-06-18 11:19:35] local.INFO: Extracted packet for processing {"connection_id":106453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed946"} 
[2026-06-18 11:19:35] local.INFO: GPS Element Parsed {"raw_longitude":757211968,"raw_latitude":114029440,"longitude_deg":75.7211968,"latitude_deg":11.402944,"altitude":7,"angle":327,"satellites":48,"speed":59,"hex_longitude":"2d222340","hex_latitude":"06cbf380","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130996480001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318170099250888704,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2466143037640122368,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781761711000,"timestamp_ms":1781761711000,"timestamp_seconds":1781761711,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9461b98"} 
[2026-06-18 11:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:19: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-06-18 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:19: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-06-18 11:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130996480001,"66":27908,"120":206,"2":56576,"24":59,"16":318170099250888704,"45":2466143037640122368},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-18 11:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130996480001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:19:35] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318170099250888704,"km_value":318170099250888.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2466143037640122368,"description":"Unknown IO ID 45"} 
[2026-06-18 11:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130996480001,"power":27908,"unknown_120":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2466143037640122368}} 
[2026-06-18 11:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":106453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:19:35] local.INFO: GPS data processed {"connection_id":106453,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:19:35] local.INFO: Acknowledgment sent {"connection_id":106453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:19:42] local.INFO: TCP Data received {"connection_id":106455,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:19:42] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:19:42] local.INFO: IMEI packet received {"connection_id":106455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":106455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:19:46] local.INFO: TCP Data received {"connection_id":106455,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:19:46] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:19:46] local.INFO: IMEI packet received {"connection_id":106455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":106455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:19:47] local.INFO: TCP Data received {"connection_id":106455,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9437fa0012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9437fa0012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:47] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9437fa0012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:47] local.INFO: Packet analysis {"connection_id":106455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed943"} 
[2026-06-18 11:19:47] local.INFO: Extracted packet for processing {"connection_id":106455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed943"} 
[2026-06-18 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130948864001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781761540000,"timestamp_ms":1781761540000,"timestamp_seconds":1781761540,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9437fa0"} 
[2026-06-18 11:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:19:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 11:19:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130948864001,"66":12374,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130948864001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:19:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:19:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130948864001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":106455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:19:47] local.INFO: GPS data processed {"connection_id":106455,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:19:47] local.INFO: Acknowledgment sent {"connection_id":106455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:19:49] local.INFO: TCP Data received {"connection_id":106455,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed943d1a8012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed943d1a8012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:49] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed943d1a8012d181ec00721b188004900d729..."} 
[2026-06-18 11:19:49] local.INFO: Packet analysis {"connection_id":106455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed943"} 
[2026-06-18 11:19:49] local.INFO: Extracted packet for processing {"connection_id":106455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed943"} 
[2026-06-18 11:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130954240001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781761561000,"timestamp_ms":1781761561000,"timestamp_seconds":1781761561,"priority":1,"record_length":96,"hex_timestamp":"0000019ed943d1a8"} 
[2026-06-18 11:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 11:19:49] 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-06-18 11:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130954240001,"66":12319,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130954240001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:19:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:19:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130954240001,"power":12319,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":106455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:19:49] local.INFO: GPS data processed {"connection_id":106455,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:19:49] local.INFO: Acknowledgment sent {"connection_id":106455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:20:06] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9461b98012d22234006cbf3800007014730..."} 
[2026-06-18 11:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9461b98012d22234006cbf3800007014730..."} 
[2026-06-18 11:20:06] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9461b98012d22234006cbf3800007014730..."} 
[2026-06-18 11:20:06] local.INFO: Packet analysis {"connection_id":106453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed946"} 
[2026-06-18 11:20:06] local.INFO: Extracted packet for processing {"connection_id":106453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed946"} 
[2026-06-18 11:20:06] local.INFO: GPS Element Parsed {"raw_longitude":757211968,"raw_latitude":114029440,"longitude_deg":75.7211968,"latitude_deg":11.402944,"altitude":7,"angle":327,"satellites":48,"speed":59,"hex_longitude":"2d222340","hex_latitude":"06cbf380","is_valid_coordinates":true} 
[2026-06-18 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-06-18 11:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130998016001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318170099250888704,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2459880219410137088,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781761711000,"timestamp_ms":1781761711000,"timestamp_seconds":1781761711,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9461b98"} 
[2026-06-18 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-06-18 11:20:06] 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-06-18 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":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 11:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:20:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130998016001,"66":27908,"120":206,"2":56576,"24":59,"16":318170099250888704,"45":2459880219410137088},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-06-18 11:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130998016001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:20:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318170099250888704,"km_value":318170099250888.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2459880219410137088,"description":"Unknown IO ID 45"} 
[2026-06-18 11:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130998016001,"power":27908,"unknown_120":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2459880219410137088}} 
[2026-06-18 11:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":106453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:20:06] local.INFO: GPS data processed {"connection_id":106453,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:20:06] local.INFO: Acknowledgment sent {"connection_id":106453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:20:21] local.INFO: TCP Data received {"connection_id":106455,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94423b0012d181ec00721b188004900d728..."} 
[2026-06-18 11:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94423b0012d181ec00721b188004900d728..."} 
[2026-06-18 11:20:21] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94423b0012d181ec00721b188004900d728..."} 
[2026-06-18 11:20:21] local.INFO: Packet analysis {"connection_id":106455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:20:21] local.INFO: Extracted packet for processing {"connection_id":106455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:20:21] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130959616001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781761582000,"timestamp_ms":1781761582000,"timestamp_seconds":1781761582,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94423b0"} 
[2026-06-18 11:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:20: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-06-18 11:20:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 11:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:20:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130959616001,"66":12341,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130959616001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:20:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:20:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130959616001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":106455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:20:21] local.INFO: GPS data processed {"connection_id":106455,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:20:21] local.INFO: Acknowledgment sent {"connection_id":106455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:20:25] local.INFO: TCP Data received {"connection_id":107425,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:20:25] local.INFO: Processing buffer {"connection_id":107425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:20:25] local.INFO: IMEI packet received {"connection_id":107425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":107425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:20:26] local.INFO: TCP Data received {"connection_id":107425,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:20:26] local.INFO: Processing buffer {"connection_id":107425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:20:26] local.INFO: IMEI packet received {"connection_id":107425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":107425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:20:27] local.INFO: TCP Data received {"connection_id":107425,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9470dc8012d2198c006cd32b8000a014e30..."} 
[2026-06-18 11:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9470dc8012d2198c006cd32b8000a014e30..."} 
[2026-06-18 11:20:27] local.INFO: Processing buffer {"connection_id":107425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9470dc8012d2198c006cd32b8000a014e30..."} 
[2026-06-18 11:20:27] local.INFO: Packet analysis {"connection_id":107425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:20:27] local.INFO: Extracted packet for processing {"connection_id":107425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:20:27] local.INFO: GPS Element Parsed {"raw_longitude":757176512,"raw_latitude":114111160,"longitude_deg":75.7176512,"latitude_deg":11.411116,"altitude":10,"angle":334,"satellites":48,"speed":55,"hex_longitude":"2d2198c0","hex_latitude":"06cd32b8","is_valid_coordinates":true} 
[2026-06-18 11:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131012096001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318174445757792256,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2425540272270241792,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781761773000,"timestamp_ms":1781761773000,"timestamp_seconds":1781761773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9470dc8"} 
[2026-06-18 11:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:20:27] 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-06-18 11:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:20: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-06-18 11:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131012096001,"66":27865,"240":206,"2":56576,"24":55,"16":318174445757792256,"45":2425540272270241792},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-06-18 11:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131012096001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:20:27] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-18 11:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318174445757792256,"km_value":318174445757792.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":2425540272270241792,"description":"Unknown IO ID 45"} 
[2026-06-18 11:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131012096001,"power":27865,"unknown_240":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":2425540272270241792}} 
[2026-06-18 11:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":107425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:20:27] local.INFO: GPS data processed {"connection_id":107425,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:20:27] local.INFO: Acknowledgment sent {"connection_id":107425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:20:30] local.INFO: TCP Data received {"connection_id":107425,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9472920012d21844006cd54e80009014531..."} 
[2026-06-18 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9472920012d21844006cd54e80009014531..."} 
[2026-06-18 11:20:30] local.INFO: Processing buffer {"connection_id":107425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9472920012d21844006cd54e80009014531..."} 
[2026-06-18 11:20:30] local.INFO: Packet analysis {"connection_id":107425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:20:30] local.INFO: Extracted packet for processing {"connection_id":107425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:20:30] local.INFO: GPS Element Parsed {"raw_longitude":757171264,"raw_latitude":114119912,"longitude_deg":75.7171264,"latitude_deg":11.4119912,"altitude":9,"angle":325,"satellites":49,"speed":54,"hex_longitude":"2d218440","hex_latitude":"06cd54e8","is_valid_coordinates":true} 
[2026-06-18 11:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131013888001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318174939679031296,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2420895935156631552,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781761780000,"timestamp_ms":1781761780000,"timestamp_seconds":1781761780,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9472920"} 
[2026-06-18 11:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:20: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-06-18 11:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131013888001,"66":27865,"240":206,"2":56576,"24":54,"16":318174939679031296,"45":2420895935156631552},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-06-18 11:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131013888001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:20:30] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-18 11:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318174939679031296,"km_value":318174939679031.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2420895935156631552,"description":"Unknown IO ID 45"} 
[2026-06-18 11:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131013888001,"power":27865,"unknown_240":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":2420895935156631552}} 
[2026-06-18 11:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":107425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:20:30] local.INFO: GPS data processed {"connection_id":107425,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:20:30] local.INFO: Acknowledgment sent {"connection_id":107425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:20:36] local.INFO: TCP Data received {"connection_id":105689,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:20:36] local.INFO: Processing buffer {"connection_id":105689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:20:36] local.INFO: IMEI packet received {"connection_id":105689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":105689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:20:41] local.INFO: TCP Data received {"connection_id":105689,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:20:41] local.INFO: Processing buffer {"connection_id":105689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:20:41] local.INFO: IMEI packet received {"connection_id":105689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":105689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:20:42] local.INFO: TCP Data received {"connection_id":105689,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94475b8012d181ec00721b188004900d728..."} 
[2026-06-18 11:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94475b8012d181ec00721b188004900d728..."} 
[2026-06-18 11:20:42] local.INFO: Processing buffer {"connection_id":105689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94475b8012d181ec00721b188004900d728..."} 
[2026-06-18 11:20:42] local.INFO: Packet analysis {"connection_id":105689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:20:42] local.INFO: Extracted packet for processing {"connection_id":105689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":40,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130964992001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781761603000,"timestamp_ms":1781761603000,"timestamp_seconds":1781761603,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94475b8"} 
[2026-06-18 11:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:20:42] 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-06-18 11:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 11:20:42] 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-06-18 11:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130964992001,"66":12341,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130964992001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:20:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130964992001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":105689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:20:43] local.INFO: GPS data processed {"connection_id":105689,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:20:43] local.INFO: Acknowledgment sent {"connection_id":105689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:21:17] local.INFO: TCP Data received {"connection_id":107425,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9474860012d216f0006cd7110000a013f32..."} 
[2026-06-18 11:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9474860012d216f0006cd7110000a013f32..."} 
[2026-06-18 11:21:17] local.INFO: Processing buffer {"connection_id":107425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9474860012d216f0006cd7110000a013f32..."} 
[2026-06-18 11:21:17] local.INFO: Packet analysis {"connection_id":107425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:21:17] local.INFO: Extracted packet for processing {"connection_id":107425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:21:17] local.INFO: GPS Element Parsed {"raw_longitude":757165824,"raw_latitude":114127120,"longitude_deg":75.7165824,"latitude_deg":11.412712,"altitude":10,"angle":319,"satellites":50,"speed":45,"hex_longitude":"2d216f00","hex_latitude":"06cd7110","is_valid_coordinates":true} 
[2026-06-18 11:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131015680001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318175373470728192,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2415125698136303616,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781761788000,"timestamp_ms":1781761788000,"timestamp_seconds":1781761788,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9474860"} 
[2026-06-18 11:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131015680001,"66":27887,"240":206,"2":56576,"24":45,"16":318175373470728192,"45":2415125698136303616},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-06-18 11:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131015680001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:21:17] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-18 11:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318175373470728192,"km_value":318175373470728.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2415125698136303616,"description":"Unknown IO ID 45"} 
[2026-06-18 11:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131015680001,"power":27887,"unknown_240":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":2415125698136303616}} 
[2026-06-18 11:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":107425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:21:17] local.INFO: GPS data processed {"connection_id":107425,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:21:17] local.INFO: Acknowledgment sent {"connection_id":107425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:21:17] local.INFO: TCP Data received {"connection_id":105689,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed944c7c0012d181ec00721b188004900d729..."} 
[2026-06-18 11:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed944c7c0012d181ec00721b188004900d729..."} 
[2026-06-18 11:21:17] local.INFO: Processing buffer {"connection_id":105689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed944c7c0012d181ec00721b188004900d729..."} 
[2026-06-18 11:21:17] local.INFO: Packet analysis {"connection_id":105689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:21:17] local.INFO: Extracted packet for processing {"connection_id":105689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed944"} 
[2026-06-18 11:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130970368001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781761624000,"timestamp_ms":1781761624000,"timestamp_seconds":1781761624,"priority":1,"record_length":96,"hex_timestamp":"0000019ed944c7c0"} 
[2026-06-18 11:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 11:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":105689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":105689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":105689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130970368001,"66":12298,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130970368001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:21:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:21:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130970368001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":105689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:21:18] local.INFO: GPS data processed {"connection_id":105689,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:21:18] local.INFO: Acknowledgment sent {"connection_id":105689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:21:25] local.INFO: TCP Data received {"connection_id":107426,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:25] local.INFO: Processing buffer {"connection_id":107426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:25] local.INFO: IMEI packet received {"connection_id":107426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":107426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:21:25] local.INFO: TCP Data received {"connection_id":107426,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:25] local.INFO: Processing buffer {"connection_id":107426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:25] local.INFO: IMEI packet received {"connection_id":107426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":107426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:21:30] local.INFO: TCP Data received {"connection_id":107426,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:30] local.INFO: Processing buffer {"connection_id":107426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:21:30] local.INFO: IMEI packet received {"connection_id":107426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":107426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:21:30] local.INFO: TCP Data received {"connection_id":107426,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94767a0012d21568006cd8a80000a013530..."} 
[2026-06-18 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94767a0012d21568006cd8a80000a013530..."} 
[2026-06-18 11:21:30] local.INFO: Processing buffer {"connection_id":107426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94767a0012d21568006cd8a80000a013530..."} 
[2026-06-18 11:21:30] local.INFO: Packet analysis {"connection_id":107426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:21:30] local.INFO: Extracted packet for processing {"connection_id":107426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":757159552,"raw_latitude":114133632,"longitude_deg":75.7159552,"latitude_deg":11.4133632,"altitude":10,"angle":309,"satellites":48,"speed":35,"hex_longitude":"2d215680","hex_latitude":"06cd8a80","is_valid_coordinates":true} 
[2026-06-18 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-06-18 11:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131017728001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318175807262425088,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2409144354883047424,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781761796000,"timestamp_ms":1781761796000,"timestamp_seconds":1781761796,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94767a0"} 
[2026-06-18 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-06-18 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":239,"data_length":795,"current_offset":136} 
[2026-06-18 11:21: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-06-18 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-06-18 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-06-18 11:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131017728001,"66":27974,"240":206,"2":56576,"24":35,"16":318175807262425088,"45":2409144354883047424},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-06-18 11:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131017728001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:21:30] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-18 11:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318175807262425088,"km_value":318175807262425.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2409144354883047424,"description":"Unknown IO ID 45"} 
[2026-06-18 11:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131017728001,"power":27974,"unknown_240":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2409144354883047424}} 
[2026-06-18 11:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":107426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:21:30] local.INFO: GPS data processed {"connection_id":107426,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:21:30] local.INFO: Acknowledgment sent {"connection_id":107426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:21:36] local.INFO: TCP Data received {"connection_id":105691,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:21:36] local.INFO: Processing buffer {"connection_id":105691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:21:36] local.INFO: IMEI packet received {"connection_id":105691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":105691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:21:42] local.INFO: TCP Data received {"connection_id":105691,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:21:42] local.INFO: Processing buffer {"connection_id":105691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:21:42] local.INFO: IMEI packet received {"connection_id":105691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":105691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:21:43] local.INFO: TCP Data received {"connection_id":105691,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94519c8012d181ec00721b188004900d729..."} 
[2026-06-18 11:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94519c8012d181ec00721b188004900d729..."} 
[2026-06-18 11:21:43] local.INFO: Processing buffer {"connection_id":105691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94519c8012d181ec00721b188004900d729..."} 
[2026-06-18 11:21:43] local.INFO: Packet analysis {"connection_id":105691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed945"} 
[2026-06-18 11:21:43] local.INFO: Extracted packet for processing {"connection_id":105691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed945"} 
[2026-06-18 11:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648648,"longitude_deg":75.6555456,"latitude_deg":11.9648648,"altitude":73,"angle":215,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b188","is_valid_coordinates":true} 
[2026-06-18 11:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300562107891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074177024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781761645000,"timestamp_ms":1781761645000,"timestamp_seconds":1781761645,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94519c8"} 
[2026-06-18 11:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:21:43] 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-06-18 11:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2791517601787996130,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":185,"raw_value":-2882303761517117439,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513887030175400151,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":73,"raw_value":60562199969529856,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937902798,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2978480201,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692849,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3117940736,"note":"Value kept but may cause issues"} 
[2026-06-18 11:21:43] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,185,117,45,192,177,73,40,10,66,35,209,1,240,31,217,33,4,113,205,30,136,41,239,48,2,11,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 11:21:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260440935862370304,"timestamp_seconds":5260440935862370.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 11:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130975744001,"66":12287,"120":206,"28":31744,"24":0,"16":3300562107891712,"45":1738037643074177024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:21:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300562107891712,"km_value":3300562107891.712,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074177024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130975744001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074177024}} 
[2026-06-18 11:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":105691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:21:43] local.INFO: GPS data processed {"connection_id":105691,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:21:43] local.INFO: Acknowledgment sent {"connection_id":105691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:22:02] local.INFO: TCP Data received {"connection_id":107426,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9479680012d213a8006cda2900009013830..."} 
[2026-06-18 11:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9479680012d213a8006cda2900009013830..."} 
[2026-06-18 11:22:02] local.INFO: Processing buffer {"connection_id":107426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9479680012d213a8006cda2900009013830..."} 
[2026-06-18 11:22:02] local.INFO: Packet analysis {"connection_id":107426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:22:02] local.INFO: Extracted packet for processing {"connection_id":107426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed947"} 
[2026-06-18 11:22:02] local.INFO: GPS Element Parsed {"raw_longitude":757152384,"raw_latitude":114139792,"longitude_deg":75.7152384,"latitude_deg":11.4139792,"altitude":9,"angle":312,"satellites":48,"speed":37,"hex_longitude":"2d213a80","hex_latitude":"06cda290","is_valid_coordinates":true} 
[2026-06-18 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-06-18 11:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131019776001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318176262528958464,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2402248217955303424,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781761808000,"timestamp_ms":1781761808000,"timestamp_seconds":1781761808,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9479680"} 
[2026-06-18 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-06-18 11:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 11:22: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-06-18 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-06-18 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-06-18 11:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131019776001,"66":27919,"240":206,"2":56576,"24":37,"16":318176262528958464,"45":2402248217955303424},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-06-18 11:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131019776001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:22:02] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-06-18 11:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318176262528958464,"km_value":318176262528958.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2402248217955303424,"description":"Unknown IO ID 45"} 
[2026-06-18 11:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131019776001,"power":27919,"unknown_240":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":2402248217955303424}} 
[2026-06-18 11:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":107426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:22:02] local.INFO: GPS data processed {"connection_id":107426,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:22:02] local.INFO: Acknowledgment sent {"connection_id":107426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:22:15] local.INFO: TCP Data received {"connection_id":105691,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9489468012d181fc00721ae08004c00442a..."} 
[2026-06-18 11:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9489468012d181fc00721ae08004c00442a..."} 
[2026-06-18 11:22:15] local.INFO: Processing buffer {"connection_id":105691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9489468012d181fc00721ae08004c00442a..."} 
[2026-06-18 11:22:15] local.INFO: Packet analysis {"connection_id":105691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:22:15] local.INFO: Extracted packet for processing {"connection_id":105691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119647752,"longitude_deg":75.6555712,"latitude_deg":11.9647752,"altitude":76,"angle":68,"satellites":42,"speed":3,"hex_longitude":"2d181fc0","hex_latitude":"0721ae08","is_valid_coordinates":true} 
[2026-06-18 11:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131039232001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300617942466560,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306472448,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781761873000,"timestamp_ms":1781761873000,"timestamp_seconds":1781761873,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9489468"} 
[2026-06-18 11:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:22:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 11:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:22:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131039232001,"66":14265,"120":206,"28":31744,"24":3,"16":3300617942466560,"45":1738248749306472448},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131039232001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:22:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:22:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300617942466560,"km_value":3300617942466.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306472448,"description":"Unknown IO ID 45"} 
[2026-06-18 11:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131039232001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1738248749306472448}} 
[2026-06-18 11:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":105691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:22:15] local.INFO: GPS data processed {"connection_id":105691,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:22:15] local.INFO: Acknowledgment sent {"connection_id":105691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:22:25] local.INFO: TCP Data received {"connection_id":105692,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:22:25] local.INFO: Processing buffer {"connection_id":105692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:22:25] local.INFO: IMEI packet received {"connection_id":105692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":105692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:22:30] local.INFO: TCP Data received {"connection_id":105692,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:22:30] local.INFO: Processing buffer {"connection_id":105692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:22:30] local.INFO: IMEI packet received {"connection_id":105692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":105692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:22:31] local.INFO: TCP Data received {"connection_id":105692,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed948a408012d20b04006cecbf8000d015923..."} 
[2026-06-18 11:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed948a408012d20b04006cecbf8000d015923..."} 
[2026-06-18 11:22:31] local.INFO: Processing buffer {"connection_id":105692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed948a408012d20b04006cecbf8000d015923..."} 
[2026-06-18 11:22:31] local.INFO: Packet analysis {"connection_id":105692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:22:31] local.INFO: Extracted packet for processing {"connection_id":105692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:22:31] local.INFO: GPS Element Parsed {"raw_longitude":757116992,"raw_latitude":114215928,"longitude_deg":75.7116992,"latitude_deg":11.4215928,"altitude":13,"angle":345,"satellites":35,"speed":53,"hex_longitude":"2d20b040","hex_latitude":"06cecbf8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131038720001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318180415762333696,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2357634434165348352,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781761877000,"timestamp_ms":1781761877000,"timestamp_seconds":1781761877,"priority":1,"record_length":96,"hex_timestamp":"0000019ed948a408"} 
[2026-06-18 11:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:22: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-06-18 11: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-06-18 11:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131038720001,"66":27908,"196":206,"2":56576,"24":53,"16":318180415762333696,"45":2357634434165348352},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-06-18 11:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131038720001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:22:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 11:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318180415762333696,"km_value":318180415762333.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2357634434165348352,"description":"Unknown IO ID 45"} 
[2026-06-18 11:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131038720001,"power":27908,"unknown_196":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2357634434165348352}} 
[2026-06-18 11:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":105692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:22:31] local.INFO: GPS data processed {"connection_id":105692,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:22:31] local.INFO: Acknowledgment sent {"connection_id":105692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:22:34] local.INFO: TCP Data received {"connection_id":105693,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:22:34] local.INFO: Processing buffer {"connection_id":105693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:22:34] local.INFO: IMEI packet received {"connection_id":105693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":105693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:22:36] local.INFO: TCP Data received {"connection_id":105882,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:22:36] local.INFO: Processing buffer {"connection_id":105882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:22:36] local.INFO: IMEI packet received {"connection_id":105882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":105882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:22:40] local.INFO: TCP Data received {"connection_id":105882,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:22:40] local.INFO: Processing buffer {"connection_id":105882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:22:40] local.INFO: IMEI packet received {"connection_id":105882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":105882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:22:41] local.INFO: TCP Data received {"connection_id":105882,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9489850012d1820400721ae70004b00232a..."} 
[2026-06-18 11:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9489850012d1820400721ae70004b00232a..."} 
[2026-06-18 11:22:41] local.INFO: Processing buffer {"connection_id":105882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9489850012d1820400721ae70004b00232a..."} 
[2026-06-18 11:22:41] local.INFO: Packet analysis {"connection_id":105882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:22:41] local.INFO: Extracted packet for processing {"connection_id":105882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:22:41] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119647856,"longitude_deg":75.655584,"latitude_deg":11.9647856,"altitude":75,"angle":35,"satellites":42,"speed":8,"hex_longitude":"2d182040","hex_latitude":"0721ae70","is_valid_coordinates":true} 
[2026-06-18 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131039488001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300626532401152,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050658304,"note":"Value kept but may cause issues"} 
[2026-06-18 11:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781761874000,"timestamp_ms":1781761874000,"timestamp_seconds":1781761874,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9489850"} 
[2026-06-18 11:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:22:41] 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-06-18 11:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 11:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131039488001,"66":14265,"120":206,"28":31744,"24":8,"16":3300626532401152,"45":1738319118050658304},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131039488001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:22:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:22:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300626532401152,"km_value":3300626532401.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050658304,"description":"Unknown IO ID 45"} 
[2026-06-18 11:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131039488001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1738319118050658304}} 
[2026-06-18 11:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":105882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:22:41] local.INFO: GPS data processed {"connection_id":105882,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:22:41] local.INFO: Acknowledgment sent {"connection_id":105882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:23:04] local.INFO: TCP Data received {"connection_id":105692,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed948cf00012d20a64006ceec68000d014e22..."} 
[2026-06-18 11:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed948cf00012d20a64006ceec68000d014e22..."} 
[2026-06-18 11:23:04] local.INFO: Processing buffer {"connection_id":105692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed948cf00012d20a64006ceec68000d014e22..."} 
[2026-06-18 11:23:04] local.INFO: Packet analysis {"connection_id":105692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:23:04] local.INFO: Extracted packet for processing {"connection_id":105692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:23:04] local.INFO: GPS Element Parsed {"raw_longitude":757114432,"raw_latitude":114224232,"longitude_deg":75.7114432,"latitude_deg":11.4224232,"altitude":13,"angle":334,"satellites":34,"speed":15,"hex_longitude":"2d20a640","hex_latitude":"06ceec68","is_valid_coordinates":true} 
[2026-06-18 11:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131040512001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318180836669128704,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2355453003098224640,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781761888000,"timestamp_ms":1781761888000,"timestamp_seconds":1781761888,"priority":1,"record_length":96,"hex_timestamp":"0000019ed948cf00"} 
[2026-06-18 11:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:23: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-06-18 11:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131040512001,"66":27919,"196":206,"2":56576,"24":15,"16":318180836669128704,"45":2355453003098224640},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-06-18 11:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131040512001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:23:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 11:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318180836669128704,"km_value":318180836669128.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2355453003098224640,"description":"Unknown IO ID 45"} 
[2026-06-18 11:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131040512001,"power":27919,"unknown_196":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":2355453003098224640}} 
[2026-06-18 11:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":105692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:23:04] local.INFO: GPS data processed {"connection_id":105692,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:23:04] local.INFO: Acknowledgment sent {"connection_id":105692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:23:13] local.INFO: TCP Data received {"connection_id":105882,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed948d2e8012d1833000721cc88004d001e29..."} 
[2026-06-18 11:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed948d2e8012d1833000721cc88004d001e29..."} 
[2026-06-18 11:23:13] local.INFO: Processing buffer {"connection_id":105882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed948d2e8012d1833000721cc88004d001e29..."} 
[2026-06-18 11:23:13] local.INFO: Packet analysis {"connection_id":105882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:23:13] local.INFO: Extracted packet for processing {"connection_id":105882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756560640,"raw_latitude":119655560,"longitude_deg":75.656064,"latitude_deg":11.965556,"altitude":77,"angle":30,"satellites":41,"speed":33,"hex_longitude":"2d183300","hex_latitude":"0721cc88","is_valid_coordinates":true} 
[2026-06-18 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131039744001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3301064619065344,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855539040256,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781761889000,"timestamp_ms":1781761889000,"timestamp_seconds":1781761889,"priority":1,"record_length":96,"hex_timestamp":"0000019ed948d2e8"} 
[2026-06-18 11:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 11:23:13] 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-06-18 11:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131039744001,"66":14243,"120":206,"28":31744,"24":33,"16":3301064619065344,"45":1738459855539040256},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131039744001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:23:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:23:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3301064619065344,"km_value":3301064619065.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855539040256,"description":"Unknown IO ID 45"} 
[2026-06-18 11:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131039744001,"power":14243,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1738459855539040256}} 
[2026-06-18 11:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":105882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:23:13] local.INFO: GPS data processed {"connection_id":105882,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:23:13] local.INFO: Acknowledgment sent {"connection_id":105882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:23:25] local.INFO: TCP Data received {"connection_id":105694,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:23:25] local.INFO: Processing buffer {"connection_id":105694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:23:25] local.INFO: IMEI packet received {"connection_id":105694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":105694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:23:30] local.INFO: TCP Data received {"connection_id":105694,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:23:30] local.INFO: Processing buffer {"connection_id":105694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:23:30] local.INFO: IMEI packet received {"connection_id":105694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":105694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:23:31] local.INFO: TCP Data received {"connection_id":105694,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed948ea58012d20a18006cef428000e014028..."} 
[2026-06-18 11:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed948ea58012d20a18006cef428000e014028..."} 
[2026-06-18 11:23:31] local.INFO: Processing buffer {"connection_id":105694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed948ea58012d20a18006cef428000e014028..."} 
[2026-06-18 11:23:31] local.INFO: Packet analysis {"connection_id":105694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:23:31] local.INFO: Extracted packet for processing {"connection_id":105694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed948"} 
[2026-06-18 11:23:31] local.INFO: GPS Element Parsed {"raw_longitude":757113216,"raw_latitude":114226216,"longitude_deg":75.7113216,"latitude_deg":11.4226216,"altitude":14,"angle":320,"satellites":40,"speed":9,"hex_longitude":"2d20a180","hex_latitude":"06cef428","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131043328001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318180948338278400,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2352638253333243904,"note":"Value kept but may cause issues"} 
[2026-06-18 11:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781761895000,"timestamp_ms":1781761895000,"timestamp_seconds":1781761895,"priority":1,"record_length":96,"hex_timestamp":"0000019ed948ea58"} 
[2026-06-18 11:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:23: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-06-18 11: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-06-18 11:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131043328001,"66":27919,"196":206,"2":56576,"24":9,"16":318180948338278400,"45":2352638253333243904},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-06-18 11:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131043328001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:23:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 11:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318180948338278400,"km_value":318180948338278.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2352638253333243904,"description":"Unknown IO ID 45"} 
[2026-06-18 11:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131043328001,"power":27919,"unknown_196":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":2352638253333243904}} 
[2026-06-18 11:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":105694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:23:31] local.INFO: GPS data processed {"connection_id":105694,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:23:31] local.INFO: Acknowledgment sent {"connection_id":105694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:24:03] local.INFO: TCP Data received {"connection_id":105694,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94901c8012d209a4006cefa28000f01352b..."} 
[2026-06-18 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94901c8012d209a4006cefa28000f01352b..."} 
[2026-06-18 11:24:03] local.INFO: Processing buffer {"connection_id":105694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94901c8012d209a4006cefa28000f01352b..."} 
[2026-06-18 11:24:03] local.INFO: Packet analysis {"connection_id":105694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed949"} 
[2026-06-18 11:24:03] local.INFO: Extracted packet for processing {"connection_id":105694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed949"} 
[2026-06-18 11:24:03] local.INFO: GPS Element Parsed {"raw_longitude":757111360,"raw_latitude":114227752,"longitude_deg":75.711136,"latitude_deg":11.4227752,"altitude":15,"angle":309,"satellites":43,"speed":22,"hex_longitude":"2d209a40","hex_latitude":"06cefa28","is_valid_coordinates":true} 
[2026-06-18 11:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131045120001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318181064302395392,"note":"Value kept but may cause issues"} 
[2026-06-18 11:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2351301247194376192,"note":"Value kept but may cause issues"} 
[2026-06-18 11:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781761901000,"timestamp_ms":1781761901000,"timestamp_seconds":1781761901,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94901c8"} 
[2026-06-18 11:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:24: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-06-18 11:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:24: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-06-18 11:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131045120001,"66":27930,"196":206,"2":56576,"24":22,"16":318181064302395392,"45":2351301247194376192},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-06-18 11:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131045120001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:24:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 11:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318181064302395392,"km_value":318181064302395.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2351301247194376192,"description":"Unknown IO ID 45"} 
[2026-06-18 11:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131045120001,"power":27930,"unknown_196":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":2351301247194376192}} 
[2026-06-18 11:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":105694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:24:03] local.INFO: GPS data processed {"connection_id":105694,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:24:03] local.INFO: Acknowledgment sent {"connection_id":105694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:24:09] local.INFO: TCP Data received {"connection_id":106457,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:09] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:09] local.INFO: IMEI packet received {"connection_id":106457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":106457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:24:10] local.INFO: TCP Data received {"connection_id":106457,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:10] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:10] local.INFO: IMEI packet received {"connection_id":106457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":106457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:24:11] local.INFO: TCP Data received {"connection_id":106457,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:11] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:11] local.INFO: IMEI packet received {"connection_id":106457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":106457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:24:12] local.INFO: TCP Data received {"connection_id":106457,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:12] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:24:12] local.INFO: IMEI packet received {"connection_id":106457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":106457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:24:25] local.INFO: TCP Data received {"connection_id":105883,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:24:25] local.INFO: Processing buffer {"connection_id":105883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:24:25] local.INFO: IMEI packet received {"connection_id":105883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":105883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:24:30] local.INFO: TCP Data received {"connection_id":105883,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:24:30] local.INFO: Processing buffer {"connection_id":105883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:24:30] local.INFO: IMEI packet received {"connection_id":105883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":105883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:24:34] local.INFO: TCP Data received {"connection_id":105883,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9493490012d207e0006cf10c8001101342d..."} 
[2026-06-18 11:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9493490012d207e0006cf10c8001101342d..."} 
[2026-06-18 11:24:34] local.INFO: Processing buffer {"connection_id":105883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9493490012d207e0006cf10c8001101342d..."} 
[2026-06-18 11:24:34] local.INFO: Packet analysis {"connection_id":105883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed949"} 
[2026-06-18 11:24:34] local.INFO: Extracted packet for processing {"connection_id":105883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed949"} 
[2026-06-18 11:24:34] local.INFO: GPS Element Parsed {"raw_longitude":757104128,"raw_latitude":114233544,"longitude_deg":75.7104128,"latitude_deg":11.4233544,"altitude":17,"angle":308,"satellites":45,"speed":32,"hex_longitude":"2d207e00","hex_latitude":"06cf10c8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131046656001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318181506684026880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2349260553613617152,"note":"Value kept but may cause issues"} 
[2026-06-18 11:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781761914000,"timestamp_ms":1781761914000,"timestamp_seconds":1781761914,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9493490"} 
[2026-06-18 11:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:24: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-06-18 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 11:24: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-06-18 11: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-06-18 11:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131046656001,"66":27930,"196":206,"2":56576,"24":32,"16":318181506684026880,"45":2349260553613617152},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,2,24,16,45]} 
[2026-06-18 11:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131046656001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:24:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 11:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318181506684026880,"km_value":318181506684026.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2349260553613617152,"description":"Unknown IO ID 45"} 
[2026-06-18 11:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131046656001,"power":27930,"unknown_196":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":2349260553613617152}} 
[2026-06-18 11:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":105883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:24:34] local.INFO: GPS data processed {"connection_id":105883,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:24:34] local.INFO: Acknowledgment sent {"connection_id":105883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:25:11] local.INFO: TCP Data received {"connection_id":105883,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94b6af8012d1f350006cfea48000f014329..."} 
[2026-06-18 11:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94b6af8012d1f350006cfea48000f014329..."} 
[2026-06-18 11:25:11] local.INFO: Processing buffer {"connection_id":105883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94b6af8012d1f350006cfea48000f014329..."} 
[2026-06-18 11:25:11] local.INFO: Packet analysis {"connection_id":105883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:25:11] local.INFO: Extracted packet for processing {"connection_id":105883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:25:11] local.INFO: GPS Element Parsed {"raw_longitude":757019904,"raw_latitude":114289224,"longitude_deg":75.7019904,"latitude_deg":11.4289224,"altitude":15,"angle":323,"satellites":41,"speed":28,"hex_longitude":"2d1f3500","hex_latitude":"06cfea48","is_valid_coordinates":true} 
[2026-06-18 11:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131084544001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318186428716548096,"note":"Value kept but may cause issues"} 
[2026-06-18 11:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2254896067685103616,"note":"Value kept but may cause issues"} 
[2026-06-18 11:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781762059000,"timestamp_ms":1781762059000,"timestamp_seconds":1781762059,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94b6af8"} 
[2026-06-18 11:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":105883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":105883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":105883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131084544001,"66":27974,"78":206,"2":56576,"24":28,"16":318186428716548096,"45":2254896067685103616},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131084544001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:25:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318186428716548096,"km_value":318186428716548.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2254896067685103616,"description":"Unknown IO ID 45"} 
[2026-06-18 11:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131084544001,"power":27974,"unknown_78":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":2254896067685103616}} 
[2026-06-18 11:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":105883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:25:11] local.INFO: GPS data processed {"connection_id":105883,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:25:11] local.INFO: Acknowledgment sent {"connection_id":105883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:25:25] local.INFO: TCP Data received {"connection_id":106458,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:25] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:25] local.INFO: IMEI packet received {"connection_id":106458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":106458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:25:26] local.INFO: TCP Data received {"connection_id":106458,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:26] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:26] local.INFO: IMEI packet received {"connection_id":106458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":106458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:25:30] local.INFO: TCP Data received {"connection_id":106458,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:30] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:25:30] local.INFO: IMEI packet received {"connection_id":106458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":106458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:25:33] local.INFO: TCP Data received {"connection_id":106458,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94b7e80012d1f2f0006cff3c8000f014e2a..."} 
[2026-06-18 11:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94b7e80012d1f2f0006cff3c8000f014e2a..."} 
[2026-06-18 11:25:33] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94b7e80012d1f2f0006cff3c8000f014e2a..."} 
[2026-06-18 11:25:33] local.INFO: Packet analysis {"connection_id":106458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:25:33] local.INFO: Extracted packet for processing {"connection_id":106458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:25:33] local.INFO: GPS Element Parsed {"raw_longitude":757018368,"raw_latitude":114291656,"longitude_deg":75.7018368,"latitude_deg":11.4291656,"altitude":15,"angle":334,"satellites":42,"speed":13,"hex_longitude":"2d1f2f00","hex_latitude":"06cff3c8","is_valid_coordinates":true} 
[2026-06-18 11:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131087104001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318186566155501568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2248703618199472128,"note":"Value kept but may cause issues"} 
[2026-06-18 11:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781762064000,"timestamp_ms":1781762064000,"timestamp_seconds":1781762064,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94b7e80"} 
[2026-06-18 11:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:25: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-06-18 11:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 11:25: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-06-18 11:25:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131087104001,"66":27800,"78":206,"2":56576,"24":13,"16":318186566155501568,"45":2248703618199472128},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131087104001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:25:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318186566155501568,"km_value":318186566155501.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2248703618199472128,"description":"Unknown IO ID 45"} 
[2026-06-18 11:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131087104001,"power":27800,"unknown_78":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":2248703618199472128}} 
[2026-06-18 11:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":106458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:25:33] local.INFO: GPS data processed {"connection_id":106458,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:25:33] local.INFO: Acknowledgment sent {"connection_id":106458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:26:04] local.INFO: TCP Data received {"connection_id":106458,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94b8a38012d1f2c8006cff8400010014229..."} 
[2026-06-18 11:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94b8a38012d1f2c8006cff8400010014229..."} 
[2026-06-18 11:26:04] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94b8a38012d1f2c8006cff8400010014229..."} 
[2026-06-18 11:26:04] local.INFO: Packet analysis {"connection_id":106458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:26:04] local.INFO: Extracted packet for processing {"connection_id":106458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":757017728,"raw_latitude":114292800,"longitude_deg":75.7017728,"latitude_deg":11.42928,"altitude":16,"angle":322,"satellites":41,"speed":20,"hex_longitude":"2d1f2c80","hex_latitude":"06cff840","is_valid_coordinates":true} 
[2026-06-18 11:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131088384001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318186630580011008,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2247014768339830784,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781762067000,"timestamp_ms":1781762067000,"timestamp_seconds":1781762067,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94b8a38"} 
[2026-06-18 11:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:26:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 11:26: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-06-18 11:26:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131088384001,"66":27767,"78":206,"2":56576,"24":20,"16":318186630580011008,"45":2247014768339830784},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131088384001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:26:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318186630580011008,"km_value":318186630580011.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":2247014768339830784,"description":"Unknown IO ID 45"} 
[2026-06-18 11:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131088384001,"power":27767,"unknown_78":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":2247014768339830784}} 
[2026-06-18 11:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":106458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:26:04] local.INFO: GPS data processed {"connection_id":106458,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:26:04] local.INFO: Acknowledgment sent {"connection_id":106458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:26:25] local.INFO: TCP Data received {"connection_id":107428,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:25] local.INFO: Processing buffer {"connection_id":107428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:25] local.INFO: IMEI packet received {"connection_id":107428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":107428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:26:29] local.INFO: TCP Data received {"connection_id":107428,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:29] local.INFO: Processing buffer {"connection_id":107428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:29] local.INFO: IMEI packet received {"connection_id":107428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":107428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:26:30] local.INFO: TCP Data received {"connection_id":107428,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:30] local.INFO: Processing buffer {"connection_id":107428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:26:30] local.INFO: IMEI packet received {"connection_id":107428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":107428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:26:35] local.INFO: TCP Data received {"connection_id":107428,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94bb918012d1f178006d01568000f01472b..."} 
[2026-06-18 11:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94bb918012d1f178006d01568000f01472b..."} 
[2026-06-18 11:26:35] local.INFO: Processing buffer {"connection_id":107428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94bb918012d1f178006d01568000f01472b..."} 
[2026-06-18 11:26:35] local.INFO: Packet analysis {"connection_id":107428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:26:35] local.INFO: Extracted packet for processing {"connection_id":107428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:26:35] local.INFO: GPS Element Parsed {"raw_longitude":757012352,"raw_latitude":114300264,"longitude_deg":75.7012352,"latitude_deg":11.4300264,"altitude":15,"angle":327,"satellites":43,"speed":39,"hex_longitude":"2d1f1780","hex_latitude":"06d01568","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131089152001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318187072961642496,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2246311080898347008,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781762079000,"timestamp_ms":1781762079000,"timestamp_seconds":1781762079,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94bb918"} 
[2026-06-18 11:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 11:26: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-06-18 11: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-06-18 11:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131089152001,"66":27745,"78":206,"2":56576,"24":39,"16":318187072961642496,"45":2246311080898347008},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131089152001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:26:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318187072961642496,"km_value":318187072961642.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2246311080898347008,"description":"Unknown IO ID 45"} 
[2026-06-18 11:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131089152001,"power":27745,"unknown_78":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2246311080898347008}} 
[2026-06-18 11:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":107428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:26:35] local.INFO: GPS data processed {"connection_id":107428,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:26:35] local.INFO: Acknowledgment sent {"connection_id":107428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:26:40] local.INFO: TCP Data received {"connection_id":107428,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94bdc40012d1f024006d03668000d014728..."} 
[2026-06-18 11:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94bdc40012d1f024006d03668000d014728..."} 
[2026-06-18 11:26:40] local.INFO: Processing buffer {"connection_id":107428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94bdc40012d1f024006d03668000d014728..."} 
[2026-06-18 11:26:40] local.INFO: Packet analysis {"connection_id":107428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:26:40] local.INFO: Extracted packet for processing {"connection_id":107428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:26:40] local.INFO: GPS Element Parsed {"raw_longitude":757006912,"raw_latitude":114308712,"longitude_deg":75.7006912,"latitude_deg":11.4308712,"altitude":13,"angle":327,"satellites":40,"speed":46,"hex_longitude":"2d1f0240","hex_latitude":"06d03668","is_valid_coordinates":true} 
[2026-06-18 11:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131092224001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318187558292946944,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2240400106389334016,"note":"Value kept but may cause issues"} 
[2026-06-18 11:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781762088000,"timestamp_ms":1781762088000,"timestamp_seconds":1781762088,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94bdc40"} 
[2026-06-18 11:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 11:26: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-06-18 11:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131092224001,"66":27767,"78":206,"2":56576,"24":46,"16":318187558292946944,"45":2240400106389334016},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131092224001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:26:40] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318187558292946944,"km_value":318187558292946.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":2240400106389334016,"description":"Unknown IO ID 45"} 
[2026-06-18 11:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131092224001,"power":27767,"unknown_78":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":2240400106389334016}} 
[2026-06-18 11:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":107428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:26:40] local.INFO: GPS data processed {"connection_id":107428,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:26:40] local.INFO: Acknowledgment sent {"connection_id":107428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:27:30] local.INFO: TCP Data received {"connection_id":106461,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:27:30] local.INFO: Processing buffer {"connection_id":106461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:27:30] local.INFO: IMEI packet received {"connection_id":106461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":106461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:27:35] local.INFO: TCP Data received {"connection_id":106461,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:27:35] local.INFO: Processing buffer {"connection_id":106461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:27:35] local.INFO: IMEI packet received {"connection_id":106461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":106461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:27:36] local.INFO: TCP Data received {"connection_id":106461,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94bff68012d1eec0006d055d8000c014526..."} 
[2026-06-18 11:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94bff68012d1eec0006d055d8000c014526..."} 
[2026-06-18 11:27:36] local.INFO: Processing buffer {"connection_id":106461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94bff68012d1eec0006d055d8000c014526..."} 
[2026-06-18 11:27:36] local.INFO: Packet analysis {"connection_id":106461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:27:36] local.INFO: Extracted packet for processing {"connection_id":106461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94b"} 
[2026-06-18 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":757001216,"raw_latitude":114316760,"longitude_deg":75.7001216,"latitude_deg":11.431676,"altitude":12,"angle":325,"satellites":38,"speed":43,"hex_longitude":"2d1eec00","hex_latitude":"06d055d8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131094528001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318188035034316800,"note":"Value kept but may cause issues"} 
[2026-06-18 11:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2234418763136395264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781762097000,"timestamp_ms":1781762097000,"timestamp_seconds":1781762097,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94bff68"} 
[2026-06-18 11:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":119,"data_length":795,"current_offset":136} 
[2026-06-18 11:27: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-06-18 11: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-06-18 11:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131094528001,"66":27843,"78":206,"2":56576,"24":43,"16":318188035034316800,"45":2234418763136395264},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131094528001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:27:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318188035034316800,"km_value":318188035034316.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2234418763136395264,"description":"Unknown IO ID 45"} 
[2026-06-18 11:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131094528001,"power":27843,"unknown_78":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":2234418763136395264}} 
[2026-06-18 11:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":106461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:27:36] local.INFO: GPS data processed {"connection_id":106461,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:27:36] local.INFO: Acknowledgment sent {"connection_id":106461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:28:04] local.INFO: TCP Data received {"connection_id":105886,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:28:04] local.INFO: Processing buffer {"connection_id":105886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:28:04] local.INFO: IMEI packet received {"connection_id":105886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":105886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:28:07] local.INFO: TCP Data received {"connection_id":106461,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94c2290012d1ed8c006d074f8000c014a29..."} 
[2026-06-18 11:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94c2290012d1ed8c006d074f8000c014a29..."} 
[2026-06-18 11:28:07] local.INFO: Processing buffer {"connection_id":106461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94c2290012d1ed8c006d074f8000c014a29..."} 
[2026-06-18 11:28:07] local.INFO: Packet analysis {"connection_id":106461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94c"} 
[2026-06-18 11:28:07] local.INFO: Extracted packet for processing {"connection_id":106461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94c"} 
[2026-06-18 11:28:07] local.INFO: GPS Element Parsed {"raw_longitude":756996288,"raw_latitude":114324728,"longitude_deg":75.6996288,"latitude_deg":11.4324728,"altitude":12,"angle":330,"satellites":41,"speed":30,"hex_longitude":"2d1ed8c0","hex_latitude":"06d074f8","is_valid_coordinates":true} 
[2026-06-18 11:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131096832001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318188486005882880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2228155944906643456,"note":"Value kept but may cause issues"} 
[2026-06-18 11:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781762106000,"timestamp_ms":1781762106000,"timestamp_seconds":1781762106,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94c2290"} 
[2026-06-18 11:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 11:28:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131096832001,"66":27767,"78":206,"2":56576,"24":30,"16":318188486005882880,"45":2228155944906643456},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131096832001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:28:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318188486005882880,"km_value":318188486005882.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":2228155944906643456,"description":"Unknown IO ID 45"} 
[2026-06-18 11:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131096832001,"power":27767,"unknown_78":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":2228155944906643456}} 
[2026-06-18 11:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":106461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:28:07] local.INFO: GPS data processed {"connection_id":106461,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:28:07] local.INFO: Acknowledgment sent {"connection_id":106461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:28:25] local.INFO: TCP Data received {"connection_id":105696,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:28:25] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:28:25] local.INFO: IMEI packet received {"connection_id":105696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":105696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:28:31] local.INFO: TCP Data received {"connection_id":105696,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:28:31] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:28:31] local.INFO: IMEI packet received {"connection_id":105696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":105696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:28:34] local.INFO: TCP Data received {"connection_id":105696,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94c5558012d1ec64006d092e8000c01482e..."} 
[2026-06-18 11:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94c5558012d1ec64006d092e8000c01482e..."} 
[2026-06-18 11:28:34] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94c5558012d1ec64006d092e8000c01482e..."} 
[2026-06-18 11:28:34] local.INFO: Packet analysis {"connection_id":105696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94c"} 
[2026-06-18 11:28:34] local.INFO: Extracted packet for processing {"connection_id":105696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94c"} 
[2026-06-18 11:28:34] local.INFO: GPS Element Parsed {"raw_longitude":756991552,"raw_latitude":114332392,"longitude_deg":75.6991552,"latitude_deg":11.4332392,"altitude":12,"angle":328,"satellites":46,"speed":20,"hex_longitude":"2d1ec640","hex_latitude":"06d092e8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131099136001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318188919797579776,"note":"Value kept but may cause issues"} 
[2026-06-18 11:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2222737551607003136,"note":"Value kept but may cause issues"} 
[2026-06-18 11:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781762119000,"timestamp_ms":1781762119000,"timestamp_seconds":1781762119,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94c5558"} 
[2026-06-18 11:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":119,"data_length":795,"current_offset":136} 
[2026-06-18 11:28: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-06-18 11: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-06-18 11:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131099136001,"66":27908,"78":206,"2":56576,"24":20,"16":318188919797579776,"45":2222737551607003136},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131099136001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:28:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318188919797579776,"km_value":318188919797579.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2222737551607003136,"description":"Unknown IO ID 45"} 
[2026-06-18 11:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131099136001,"power":27908,"unknown_78":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":2222737551607003136}} 
[2026-06-18 11:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":105696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:28:34] local.INFO: GPS data processed {"connection_id":105696,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:28:34] local.INFO: Acknowledgment sent {"connection_id":105696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:28:34] local.INFO: TCP Data received {"connection_id":107431,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:28:34] local.INFO: Processing buffer {"connection_id":107431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:28:34] local.INFO: IMEI packet received {"connection_id":107431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":107431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:29:05] local.INFO: TCP Data received {"connection_id":105696,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94ee1b0012d1dedc006d1e550000f01482d..."} 
[2026-06-18 11:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94ee1b0012d1dedc006d1e550000f01482d..."} 
[2026-06-18 11:29:05] local.INFO: Processing buffer {"connection_id":105696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94ee1b0012d1dedc006d1e550000f01482d..."} 
[2026-06-18 11:29:05] local.INFO: Packet analysis {"connection_id":105696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94e"} 
[2026-06-18 11:29:05] local.INFO: Extracted packet for processing {"connection_id":105696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94e"} 
[2026-06-18 11:29:05] local.INFO: GPS Element Parsed {"raw_longitude":756936128,"raw_latitude":114419024,"longitude_deg":75.6936128,"latitude_deg":11.4419024,"altitude":15,"angle":328,"satellites":45,"speed":27,"hex_longitude":"2d1dedc0","hex_latitude":"06d1e550","is_valid_coordinates":true} 
[2026-06-18 11:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131139840001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318193906254610432,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2162009325403891712,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781762286000,"timestamp_ms":1781762286000,"timestamp_seconds":1781762286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94ee1b0"} 
[2026-06-18 11:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 11:29:05] 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-06-18 11:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131139840001,"66":27800,"78":206,"2":56576,"24":27,"16":318193906254610432,"45":2162009325403891712},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131139840001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:29:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318193906254610432,"km_value":318193906254610.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":2162009325403891712,"description":"Unknown IO ID 45"} 
[2026-06-18 11:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131139840001,"power":27800,"unknown_78":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":2162009325403891712}} 
[2026-06-18 11:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":105696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:29:05] local.INFO: GPS data processed {"connection_id":105696,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:29:05] local.INFO: Acknowledgment sent {"connection_id":105696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:29:17] local.INFO: TCP Data received {"connection_id":105697,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:17] local.INFO: Processing buffer {"connection_id":105697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:17] local.INFO: IMEI packet received {"connection_id":105697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":105697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:29:18] local.INFO: TCP Data received {"connection_id":105697,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94f2418012d1b58c007250cc8002800a427..."} 
[2026-06-18 11:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94f2418012d1b58c007250cc8002800a427..."} 
[2026-06-18 11:29:18] local.INFO: Processing buffer {"connection_id":105697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94f2418012d1b58c007250cc8002800a427..."} 
[2026-06-18 11:29:18] local.INFO: Packet analysis {"connection_id":105697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:29:18] local.INFO: Extracted packet for processing {"connection_id":105697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119868616,"longitude_deg":75.6766912,"latitude_deg":11.9868616,"altitude":40,"angle":164,"satellites":39,"speed":3,"hex_longitude":"2d1b58c0","hex_latitude":"07250cc8","is_valid_coordinates":true} 
[2026-06-18 11:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131147008001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3316891573551104,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970184130172635136,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781762303000,"timestamp_ms":1781762303000,"timestamp_seconds":1781762303,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94f2418"} 
[2026-06-18 11:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:29:18] 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-06-18 11:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-18 11:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":105697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":105697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":105697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131147008001,"66":14135,"91":206,"28":31744,"24":3,"16":3316891573551104,"45":1970184130172635136},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-18 11:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131147008001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:29:18] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 11:29:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3316891573551104,"km_value":3316891573551.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970184130172635136,"description":"Unknown IO ID 45"} 
[2026-06-18 11:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131147008001,"power":14135,"unknown_91":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1970184130172635136}} 
[2026-06-18 11:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":105697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:29:18] local.INFO: GPS data processed {"connection_id":105697,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:29:18] local.INFO: Acknowledgment sent {"connection_id":105697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:29:25] local.INFO: TCP Data received {"connection_id":105887,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:29:25] local.INFO: Processing buffer {"connection_id":105887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:29:25] local.INFO: IMEI packet received {"connection_id":105887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":105887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:29:30] local.INFO: TCP Data received {"connection_id":105887,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:29:30] local.INFO: Processing buffer {"connection_id":105887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:29:30] local.INFO: IMEI packet received {"connection_id":105887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":105887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:29:31] local.INFO: TCP Data received {"connection_id":105887,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94ee1b0012d1dedc006d1e550000f01482d..."} 
[2026-06-18 11:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94ee1b0012d1dedc006d1e550000f01482d..."} 
[2026-06-18 11:29:31] local.INFO: Processing buffer {"connection_id":105887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94ee1b0012d1dedc006d1e550000f01482d..."} 
[2026-06-18 11:29:31] local.INFO: Packet analysis {"connection_id":105887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94e"} 
[2026-06-18 11:29:31] local.INFO: Extracted packet for processing {"connection_id":105887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94e"} 
[2026-06-18 11:29:31] local.INFO: GPS Element Parsed {"raw_longitude":756936128,"raw_latitude":114419024,"longitude_deg":75.6936128,"latitude_deg":11.4419024,"altitude":15,"angle":328,"satellites":45,"speed":27,"hex_longitude":"2d1dedc0","hex_latitude":"06d1e550","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131145216001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318193906254610432,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2156590932104138752,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781762286000,"timestamp_ms":1781762286000,"timestamp_seconds":1781762286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94ee1b0"} 
[2026-06-18 11:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 11:29: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-06-18 11: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-06-18 11:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131145216001,"66":27800,"78":206,"2":56576,"24":27,"16":318193906254610432,"45":2156590932104138752},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,2,24,16,45]} 
[2026-06-18 11:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131145216001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:29:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-06-18 11:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318193906254610432,"km_value":318193906254610.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":2156590932104138752,"description":"Unknown IO ID 45"} 
[2026-06-18 11:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131145216001,"power":27800,"unknown_78":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":2156590932104138752}} 
[2026-06-18 11:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":105887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:29:31] local.INFO: GPS data processed {"connection_id":105887,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:29:31] local.INFO: Acknowledgment sent {"connection_id":105887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:29:36] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:36] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:36] local.INFO: IMEI packet received {"connection_id":106462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":106462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:29:41] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:41] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:29:41] local.INFO: IMEI packet received {"connection_id":106462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":106462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:29:42] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94f2be8012d1b590007250be8002800c727..."} 
[2026-06-18 11:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94f2be8012d1b590007250be8002800c727..."} 
[2026-06-18 11:29:42] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94f2be8012d1b590007250be8002800c727..."} 
[2026-06-18 11:29:42] local.INFO: Packet analysis {"connection_id":106462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:29:42] local.INFO: Extracted packet for processing {"connection_id":106462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:29:42] local.INFO: GPS Element Parsed {"raw_longitude":756766976,"raw_latitude":119868392,"longitude_deg":75.6766976,"latitude_deg":11.9868392,"altitude":40,"angle":199,"satellites":39,"speed":4,"hex_longitude":"2d1b5900","hex_latitude":"07250be8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131149568001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3316904458452992,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973893490688,"note":"Value kept but may cause issues"} 
[2026-06-18 11:29:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781762305000,"timestamp_ms":1781762305000,"timestamp_seconds":1781762305,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94f2be8"} 
[2026-06-18 11:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-06-18 11:29:42] 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-06-18 11: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-06-18 11:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131149568001,"66":14102,"91":206,"28":31744,"24":4,"16":3316904458452992,"45":1970535973893490688},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-18 11:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131149568001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:29:42] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 11:29:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3316904458452992,"km_value":3316904458452.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973893490688,"description":"Unknown IO ID 45"} 
[2026-06-18 11:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131149568001,"power":14102,"unknown_91":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1970535973893490688}} 
[2026-06-18 11:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":106462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:29:43] local.INFO: GPS data processed {"connection_id":106462,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:29:43] local.INFO: Acknowledgment sent {"connection_id":106462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:30:03] local.INFO: TCP Data received {"connection_id":105887,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94ef920012d1de5c006d1ef40000f013a2c..."} 
[2026-06-18 11:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94ef920012d1de5c006d1ef40000f013a2c..."} 
[2026-06-18 11:30:03] local.INFO: Processing buffer {"connection_id":105887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94ef920012d1de5c006d1ef40000f013a2c..."} 
[2026-06-18 11:30:03] local.INFO: Packet analysis {"connection_id":105887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94e"} 
[2026-06-18 11:30:03] local.INFO: Extracted packet for processing {"connection_id":105887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94e"} 
[2026-06-18 11:30:03] local.INFO: GPS Element Parsed {"raw_longitude":756934080,"raw_latitude":114421568,"longitude_deg":75.693408,"latitude_deg":11.4421568,"altitude":15,"angle":314,"satellites":44,"speed":22,"hex_longitude":"2d1de5c0","hex_latitude":"06d1ef40","is_valid_coordinates":true} 
[2026-06-18 11:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131145216001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318194060873433088,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2156590932104138752,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781762292000,"timestamp_ms":1781762292000,"timestamp_seconds":1781762292,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94ef920"} 
[2026-06-18 11:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:30: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-06-18 11:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 11:30: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-06-18 11:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131145216001,"66":27887,"79":206,"2":56576,"24":22,"16":318194060873433088,"45":2156590932104138752},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-06-18 11:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131145216001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:30:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 11:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318194060873433088,"km_value":318194060873433.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":2156590932104138752,"description":"Unknown IO ID 45"} 
[2026-06-18 11:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131145216001,"power":27887,"unknown_79":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":2156590932104138752}} 
[2026-06-18 11:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":105887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:30:03] local.INFO: GPS data processed {"connection_id":105887,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:30:03] local.INFO: Acknowledgment sent {"connection_id":105887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:30:14] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94f2fd0012d1b590007250ba8002800d526..."} 
[2026-06-18 11:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94f2fd0012d1b590007250ba8002800d526..."} 
[2026-06-18 11:30:14] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94f2fd0012d1b590007250ba8002800d526..."} 
[2026-06-18 11:30:14] local.INFO: Packet analysis {"connection_id":106462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:30:14] local.INFO: Extracted packet for processing {"connection_id":106462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:30:14] local.INFO: GPS Element Parsed {"raw_longitude":756766976,"raw_latitude":119868328,"longitude_deg":75.6766976,"latitude_deg":11.9868328,"altitude":40,"angle":213,"satellites":38,"speed":2,"hex_longitude":"2d1b5900","hex_latitude":"07250ba8","is_valid_coordinates":true} 
[2026-06-18 11:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131150080001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3316908753420288,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970606342637611008,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781762306000,"timestamp_ms":1781762306000,"timestamp_seconds":1781762306,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94f2fd0"} 
[2026-06-18 11:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:30:14] 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-06-18 11:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 11:30:14] 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-06-18 11:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:30:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131150080001,"66":14102,"91":206,"28":31744,"24":2,"16":3316908753420288,"45":1970606342637611008},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-18 11:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131150080001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:30:14] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 11:30:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3316908753420288,"km_value":3316908753420.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970606342637611008,"description":"Unknown IO ID 45"} 
[2026-06-18 11:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131150080001,"power":14102,"unknown_91":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1970606342637611008}} 
[2026-06-18 11:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":106462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:30:14] local.INFO: GPS data processed {"connection_id":106462,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:30:14] local.INFO: Acknowledgment sent {"connection_id":106462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:30:30] local.INFO: TCP Data received {"connection_id":107432,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:30:30] local.INFO: Processing buffer {"connection_id":107432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:30:30] local.INFO: IMEI packet received {"connection_id":107432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":107432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:30:33] local.INFO: TCP Data received {"connection_id":107432,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:30:33] local.INFO: Processing buffer {"connection_id":107432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:30:33] local.INFO: IMEI packet received {"connection_id":107432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":107432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:30:34] local.INFO: TCP Data received {"connection_id":107432,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94f3f70012d1dcbc006d20748001001382c..."} 
[2026-06-18 11:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94f3f70012d1dcbc006d20748001001382c..."} 
[2026-06-18 11:30:34] local.INFO: Processing buffer {"connection_id":107432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94f3f70012d1dcbc006d20748001001382c..."} 
[2026-06-18 11:30:34] local.INFO: Packet analysis {"connection_id":107432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:30:34] local.INFO: Extracted packet for processing {"connection_id":107432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:30:34] local.INFO: GPS Element Parsed {"raw_longitude":756927424,"raw_latitude":114427720,"longitude_deg":75.6927424,"latitude_deg":11.442772,"altitude":16,"angle":312,"satellites":44,"speed":26,"hex_longitude":"2d1dcbc0","hex_latitude":"06d20748","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131146752001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318194498960097280,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154339132291104768,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781762310000,"timestamp_ms":1781762310000,"timestamp_seconds":1781762310,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94f3f70"} 
[2026-06-18 11:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:30: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-06-18 11:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 11:30:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11: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-06-18 11:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131146752001,"66":27713,"79":206,"2":56576,"24":26,"16":318194498960097280,"45":2154339132291104768},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-06-18 11:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131146752001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:30:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 11:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318194498960097280,"km_value":318194498960097.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2154339132291104768,"description":"Unknown IO ID 45"} 
[2026-06-18 11:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131146752001,"power":27713,"unknown_79":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":2154339132291104768}} 
[2026-06-18 11:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":107432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:30:34] local.INFO: GPS data processed {"connection_id":107432,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:30:34] local.INFO: Acknowledgment sent {"connection_id":107432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:30:35] local.INFO: TCP Data received {"connection_id":107432,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94f6e50012d1db18006d21eb8000f01382e..."} 
[2026-06-18 11:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94f6e50012d1db18006d21eb8000f01382e..."} 
[2026-06-18 11:30:35] local.INFO: Processing buffer {"connection_id":107432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94f6e50012d1db18006d21eb8000f01382e..."} 
[2026-06-18 11:30:35] local.INFO: Packet analysis {"connection_id":107432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:30:35] local.INFO: Extracted packet for processing {"connection_id":107432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:30:35] local.INFO: GPS Element Parsed {"raw_longitude":756920704,"raw_latitude":114433720,"longitude_deg":75.6920704,"latitude_deg":11.443372,"altitude":15,"angle":312,"satellites":46,"speed":29,"hex_longitude":"2d1db180","hex_latitude":"06d21eb8","is_valid_coordinates":true} 
[2026-06-18 11:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131151360001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318194928456826880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2147020782898202624,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781762322000,"timestamp_ms":1781762322000,"timestamp_seconds":1781762322,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94f6e50"} 
[2026-06-18 11:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 11:30:35] 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-06-18 11:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131151360001,"66":27930,"79":206,"2":56576,"24":29,"16":318194928456826880,"45":2147020782898202624},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-06-18 11:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131151360001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:30:35] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 11:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318194928456826880,"km_value":318194928456826.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2147020782898202624,"description":"Unknown IO ID 45"} 
[2026-06-18 11:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131151360001,"power":27930,"unknown_79":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":2147020782898202624}} 
[2026-06-18 11:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":107432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:30:35] local.INFO: GPS data processed {"connection_id":107432,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:30:35] local.INFO: Acknowledgment sent {"connection_id":107432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:30:36] local.INFO: TCP Data received {"connection_id":105699,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:30:36] local.INFO: Processing buffer {"connection_id":105699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:30:36] local.INFO: IMEI packet received {"connection_id":105699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":105699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:30:41] local.INFO: TCP Data received {"connection_id":105699,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:30:41] local.INFO: Processing buffer {"connection_id":105699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:30:41] local.INFO: IMEI packet received {"connection_id":105699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":105699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:30:42] local.INFO: TCP Data received {"connection_id":105699,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94f81d8012d1b58c007250ba8002800d527..."} 
[2026-06-18 11:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94f81d8012d1b58c007250ba8002800d527..."} 
[2026-06-18 11:30:42] local.INFO: Processing buffer {"connection_id":105699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94f81d8012d1b58c007250ba8002800d527..."} 
[2026-06-18 11:30:42] local.INFO: Packet analysis {"connection_id":105699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:30:42] local.INFO: Extracted packet for processing {"connection_id":105699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:30:42] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119868328,"longitude_deg":75.6766912,"latitude_deg":11.9868328,"altitude":40,"angle":213,"satellites":39,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"07250ba8","is_valid_coordinates":true} 
[2026-06-18 11:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131150336001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3316913048387584,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970606342637594624,"note":"Value kept but may cause issues"} 
[2026-06-18 11:30:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781762327000,"timestamp_ms":1781762327000,"timestamp_seconds":1781762327,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94f81d8"} 
[2026-06-18 11:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:30:42] 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-06-18 11:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 11:30:42] 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-06-18 11:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131150336001,"66":14157,"91":206,"28":31744,"24":0,"16":3316913048387584,"45":1970606342637594624},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-18 11:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131150336001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:30:42] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 11:30:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3316913048387584,"km_value":3316913048387.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970606342637594624,"description":"Unknown IO ID 45"} 
[2026-06-18 11:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131150336001,"power":14157,"unknown_91":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1970606342637594624}} 
[2026-06-18 11:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":105699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:30:43] local.INFO: GPS data processed {"connection_id":105699,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:30:43] local.INFO: Acknowledgment sent {"connection_id":105699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:31:06] local.INFO: TCP Data received {"connection_id":107432,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94facd0012d1d970006d23580000e013b2f..."} 
[2026-06-18 11:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94facd0012d1d970006d23580000e013b2f..."} 
[2026-06-18 11:31:06] local.INFO: Processing buffer {"connection_id":107432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94facd0012d1d970006d23580000e013b2f..."} 
[2026-06-18 11:31:06] local.INFO: Packet analysis {"connection_id":107432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:31:06] local.INFO: Extracted packet for processing {"connection_id":107432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756913920,"raw_latitude":114439552,"longitude_deg":75.691392,"latitude_deg":11.4439552,"altitude":14,"angle":315,"satellites":47,"speed":25,"hex_longitude":"2d1d9700","hex_latitude":"06d23580","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131154432001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318195357953556480,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2139632064761083904,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781762338000,"timestamp_ms":1781762338000,"timestamp_seconds":1781762338,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94facd0"} 
[2026-06-18 11:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:31: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-06-18 11: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 11:31: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-06-18 11: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-06-18 11:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131154432001,"66":27919,"79":206,"2":56576,"24":25,"16":318195357953556480,"45":2139632064761083904},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-06-18 11:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131154432001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:31:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 11:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318195357953556480,"km_value":318195357953556.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":2139632064761083904,"description":"Unknown IO ID 45"} 
[2026-06-18 11:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131154432001,"power":27919,"unknown_79":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":2139632064761083904}} 
[2026-06-18 11:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":107432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:31:06] local.INFO: GPS data processed {"connection_id":107432,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:31:06] local.INFO: Acknowledgment sent {"connection_id":107432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:31:14] local.INFO: TCP Data received {"connection_id":105699,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94fd3e0012d1b58c007250ba8002800d528..."} 
[2026-06-18 11:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94fd3e0012d1b58c007250ba8002800d528..."} 
[2026-06-18 11:31:14] local.INFO: Processing buffer {"connection_id":105699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94fd3e0012d1b58c007250ba8002800d528..."} 
[2026-06-18 11:31:14] local.INFO: Packet analysis {"connection_id":105699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:31:14] local.INFO: Extracted packet for processing {"connection_id":105699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119868328,"longitude_deg":75.6766912,"latitude_deg":11.9868328,"altitude":40,"angle":213,"satellites":40,"speed":0,"hex_longitude":"2d1b58c0","hex_latitude":"07250ba8","is_valid_coordinates":true} 
[2026-06-18 11:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131155712001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3316913048387584,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973893416960,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781762348000,"timestamp_ms":1781762348000,"timestamp_seconds":1781762348,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94fd3e0"} 
[2026-06-18 11:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:31:14] 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-06-18 11:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 11:31:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131155712001,"66":14265,"91":206,"28":31744,"24":0,"16":3316913048387584,"45":1970535973893416960},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-18 11:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131155712001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:31:14] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 11:31:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3316913048387584,"km_value":3316913048387.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973893416960,"description":"Unknown IO ID 45"} 
[2026-06-18 11:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131155712001,"power":14265,"unknown_91":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1970535973893416960}} 
[2026-06-18 11:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":105699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:31:15] local.INFO: GPS data processed {"connection_id":105699,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:31:15] local.INFO: Acknowledgment sent {"connection_id":105699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:31:25] local.INFO: TCP Data received {"connection_id":106463,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:31:25] local.INFO: Processing buffer {"connection_id":106463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:31:25] local.INFO: IMEI packet received {"connection_id":106463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":106463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:31:29] local.INFO: TCP Data received {"connection_id":106463,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:31:29] local.INFO: Processing buffer {"connection_id":106463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:31:29] local.INFO: IMEI packet received {"connection_id":106463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":106463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:31:30] local.INFO: TCP Data received {"connection_id":106463,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed94fdf98012d1d7dc006d24fa0000e01442a..."} 
[2026-06-18 11:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed94fdf98012d1d7dc006d24fa0000e01442a..."} 
[2026-06-18 11:31:30] local.INFO: Processing buffer {"connection_id":106463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed94fdf98012d1d7dc006d24fa0000e01442a..."} 
[2026-06-18 11:31:30] local.INFO: Packet analysis {"connection_id":106463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:31:30] local.INFO: Extracted packet for processing {"connection_id":106463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed94f"} 
[2026-06-18 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":756907456,"raw_latitude":114446240,"longitude_deg":75.6907456,"latitude_deg":11.444624,"altitude":14,"angle":324,"satellites":42,"speed":15,"hex_longitude":"2d1d7dc0","hex_latitude":"06d24fa0","is_valid_coordinates":true} 
[2026-06-18 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131158528001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318195804630155264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2132172977879744512,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781762351000,"timestamp_ms":1781762351000,"timestamp_seconds":1781762351,"priority":1,"record_length":96,"hex_timestamp":"0000019ed94fdf98"} 
[2026-06-18 11:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:31: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-06-18 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131158528001,"66":27908,"79":206,"2":56576,"24":15,"16":318195804630155264,"45":2132172977879744512},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-06-18 11:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131158528001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:31:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 11:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318195804630155264,"km_value":318195804630155.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":2132172977879744512,"description":"Unknown IO ID 45"} 
[2026-06-18 11:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131158528001,"power":27908,"unknown_79":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":2132172977879744512}} 
[2026-06-18 11:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":106463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:31:30] local.INFO: GPS data processed {"connection_id":106463,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:31:30] local.INFO: Acknowledgment sent {"connection_id":106463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:31:36] local.INFO: TCP Data received {"connection_id":107434,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:31:36] local.INFO: Processing buffer {"connection_id":107434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:31:36] local.INFO: IMEI packet received {"connection_id":107434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":107434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:31:41] local.INFO: TCP Data received {"connection_id":107434,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107434,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:31:41] local.INFO: Processing buffer {"connection_id":107434,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:31:41] local.INFO: IMEI packet received {"connection_id":107434,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":107434,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:31:43] local.INFO: TCP Data received {"connection_id":107434,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed95002c0012d1b580007250b40002c00b929..."} 
[2026-06-18 11:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed95002c0012d1b580007250b40002c00b929..."} 
[2026-06-18 11:31:43] local.INFO: Processing buffer {"connection_id":107434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed95002c0012d1b580007250b40002c00b929..."} 
[2026-06-18 11:31:43] local.INFO: Packet analysis {"connection_id":107434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed950"} 
[2026-06-18 11:31:43] local.INFO: Extracted packet for processing {"connection_id":107434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed950"} 
[2026-06-18 11:31:43] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":119868224,"longitude_deg":75.676672,"latitude_deg":11.9868224,"altitude":44,"angle":185,"satellites":41,"speed":6,"hex_longitude":"2d1b5800","hex_latitude":"07250b40","is_valid_coordinates":true} 
[2026-06-18 11:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131161088001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3316921638322176,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970535973893416960,"note":"Value kept but may cause issues"} 
[2026-06-18 11:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781762360000,"timestamp_ms":1781762360000,"timestamp_seconds":1781762360,"priority":1,"record_length":96,"hex_timestamp":"0000019ed95002c0"} 
[2026-06-18 11:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:31:43] 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-06-18 11:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 11:31:43] 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-06-18 11:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131161088001,"66":14276,"91":206,"28":31744,"24":6,"16":3316921638322176,"45":1970535973893416960},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-18 11:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131161088001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:31:43] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 11:31:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3316921638322176,"km_value":3316921638322.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970535973893416960,"description":"Unknown IO ID 45"} 
[2026-06-18 11:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131161088001,"power":14276,"unknown_91":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1970535973893416960}} 
[2026-06-18 11:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":107434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:31:43] local.INFO: GPS data processed {"connection_id":107434,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:31:43] local.INFO: Acknowledgment sent {"connection_id":107434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:32:02] local.INFO: TCP Data received {"connection_id":106463,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9502200012d1d6a0006d26e28000e01482c..."} 
[2026-06-18 11:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9502200012d1d6a0006d26e28000e01482c..."} 
[2026-06-18 11:32:02] local.INFO: Processing buffer {"connection_id":106463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9502200012d1d6a0006d26e28000e01482c..."} 
[2026-06-18 11:32:02] local.INFO: Packet analysis {"connection_id":106463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed950"} 
[2026-06-18 11:32:02] local.INFO: Extracted packet for processing {"connection_id":106463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed950"} 
[2026-06-18 11:32:02] local.INFO: GPS Element Parsed {"raw_longitude":756902400,"raw_latitude":114454056,"longitude_deg":75.69024,"latitude_deg":11.4454056,"altitude":14,"angle":328,"satellites":44,"speed":28,"hex_longitude":"2d1d6a00","hex_latitude":"06d26e28","is_valid_coordinates":true} 
[2026-06-18 11:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131161856001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318196255601721344,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125065734719512576,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781762368000,"timestamp_ms":1781762368000,"timestamp_seconds":1781762368,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9502200"} 
[2026-06-18 11:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:32: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-06-18 11:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:32: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-06-18 11:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131161856001,"66":27876,"110":206,"2":56576,"24":28,"16":318196255601721344,"45":2125065734719512576},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-06-18 11:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131161856001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:32:02] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 11:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318196255601721344,"km_value":318196255601721.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":2125065734719512576,"description":"Unknown IO ID 45"} 
[2026-06-18 11:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131161856001,"power":27876,"unknown_110":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":2125065734719512576}} 
[2026-06-18 11:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":106463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:32:02] local.INFO: GPS data processed {"connection_id":106463,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:32:02] local.INFO: Acknowledgment sent {"connection_id":106463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:32:14] local.INFO: TCP Data received {"connection_id":107434,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9503d58012d1b58c0072500d8002f00ab2b..."} 
[2026-06-18 11:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9503d58012d1b58c0072500d8002f00ab2b..."} 
[2026-06-18 11:32:14] local.INFO: Processing buffer {"connection_id":107434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9503d58012d1b58c0072500d8002f00ab2b..."} 
[2026-06-18 11:32:14] local.INFO: Packet analysis {"connection_id":107434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed950"} 
[2026-06-18 11:32:14] local.INFO: Extracted packet for processing {"connection_id":107434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed950"} 
[2026-06-18 11:32:14] local.INFO: GPS Element Parsed {"raw_longitude":756766912,"raw_latitude":119865560,"longitude_deg":75.6766912,"latitude_deg":11.986556,"altitude":47,"angle":171,"satellites":43,"speed":11,"hex_longitude":"2d1b58c0","hex_latitude":"072500d8","is_valid_coordinates":true} 
[2026-06-18 11:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:32:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131164160001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3317054782308352,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324867660857344,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:32:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781762375000,"timestamp_ms":1781762375000,"timestamp_seconds":1781762375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9503d58"} 
[2026-06-18 11:32:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:32:14] 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-06-18 11:32:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 11:32:14] 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-06-18 11:32:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:32:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:32:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:32:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:32:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:32:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107434,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:32:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:32:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:32:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:32:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131164160001,"66":14243,"91":206,"28":31744,"24":11,"16":3317054782308352,"45":1970324867660857344},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-18 11:32:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:32:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:32:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131164160001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:32:14] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 11:32:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:32:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3317054782308352,"km_value":3317054782308.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:32:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324867660857344,"description":"Unknown IO ID 45"} 
[2026-06-18 11:32:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131164160001,"power":14243,"unknown_91":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1970324867660857344}} 
[2026-06-18 11:32:14] local.INFO: DEBUG: GPS processor result {"connection_id":107434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:32:14] local.INFO: GPS data processed {"connection_id":107434,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:32:14] local.INFO: Acknowledgment sent {"connection_id":107434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:32:25] local.INFO: TCP Data received {"connection_id":105700,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:32:25] local.INFO: Processing buffer {"connection_id":105700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:32:25] local.INFO: IMEI packet received {"connection_id":105700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":105700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:32:31] local.INFO: TCP Data received {"connection_id":105700,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:32:31] local.INFO: Processing buffer {"connection_id":105700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:32:31] local.INFO: IMEI packet received {"connection_id":105700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":105700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:32:35] local.INFO: TCP Data received {"connection_id":105700,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9504910012d1d5e0006d28430000c01552e..."} 
[2026-06-18 11:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9504910012d1d5e0006d28430000c01552e..."} 
[2026-06-18 11:32:35] local.INFO: Processing buffer {"connection_id":105700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9504910012d1d5e0006d28430000c01552e..."} 
[2026-06-18 11:32:35] local.INFO: Packet analysis {"connection_id":105700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed950"} 
[2026-06-18 11:32:35] local.INFO: Extracted packet for processing {"connection_id":105700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed950"} 
[2026-06-18 11:32:35] local.INFO: GPS Element Parsed {"raw_longitude":756899328,"raw_latitude":114459696,"longitude_deg":75.6899328,"latitude_deg":11.4459696,"altitude":12,"angle":341,"satellites":46,"speed":18,"hex_longitude":"2d1d5e00","hex_latitude":"06d28430","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131166208001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318196564839366656,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2119506603931478016,"note":"Value kept but may cause issues"} 
[2026-06-18 11:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781762378000,"timestamp_ms":1781762378000,"timestamp_seconds":1781762378,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9504910"} 
[2026-06-18 11:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:32:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":228,"data_length":795,"current_offset":136} 
[2026-06-18 11:32: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-06-18 11: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-06-18 11:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131166208001,"66":27800,"110":206,"2":56576,"24":18,"16":318196564839366656,"45":2119506603931478016},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-06-18 11:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131166208001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:32:35] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 11:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318196564839366656,"km_value":318196564839366.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":2119506603931478016,"description":"Unknown IO ID 45"} 
[2026-06-18 11:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131166208001,"power":27800,"unknown_110":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":2119506603931478016}} 
[2026-06-18 11:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":105700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:32:35] local.INFO: GPS data processed {"connection_id":105700,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:32:35] local.INFO: Acknowledgment sent {"connection_id":105700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:32:41] local.INFO: TCP Data received {"connection_id":105889,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:32:41] local.INFO: Processing buffer {"connection_id":105889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:32:41] local.INFO: IMEI packet received {"connection_id":105889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":105889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:32:56] local.INFO: TCP Data received {"connection_id":105889,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:32:56] local.INFO: Processing buffer {"connection_id":105889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:32:56] local.INFO: IMEI packet received {"connection_id":105889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":105889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:32:56] local.INFO: TCP Data received {"connection_id":105889,"ip":"117.224.70.101","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105889,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:32:56] local.INFO: Processing buffer {"connection_id":105889,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:32:56] local.INFO: IMEI packet received {"connection_id":105889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":105889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:33:09] local.INFO: TCP Data received {"connection_id":105700,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9529eb8012d1c804006d3f768000b014b29..."} 
[2026-06-18 11:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9529eb8012d1c804006d3f768000b014b29..."} 
[2026-06-18 11:33:09] local.INFO: Processing buffer {"connection_id":105700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9529eb8012d1c804006d3f768000b014b29..."} 
[2026-06-18 11:33:09] local.INFO: Packet analysis {"connection_id":105700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed952"} 
[2026-06-18 11:33:09] local.INFO: Extracted packet for processing {"connection_id":105700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed952"} 
[2026-06-18 11:33:09] local.INFO: GPS Element Parsed {"raw_longitude":756842560,"raw_latitude":114554728,"longitude_deg":75.684256,"latitude_deg":11.4554728,"altitude":11,"angle":331,"satellites":41,"speed":50,"hex_longitude":"2d1c8040","hex_latitude":"06d3f768","is_valid_coordinates":true} 
[2026-06-18 11:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131206656001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318201959318290432,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2055541415498285056,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781762531000,"timestamp_ms":1781762531000,"timestamp_seconds":1781762531,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9529eb8"} 
[2026-06-18 11:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:33: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-06-18 11:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131206656001,"66":27995,"11":206,"2":56576,"24":50,"16":318201959318290432,"45":2055541415498285056},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-18 11:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131206656001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:33:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 11:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318201959318290432,"km_value":318201959318290.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2055541415498285056,"description":"Unknown IO ID 45"} 
[2026-06-18 11:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131206656001,"power":27995,"unknown_11":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2055541415498285056}} 
[2026-06-18 11:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":105700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:33:09] local.INFO: GPS data processed {"connection_id":105700,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:33:09] local.INFO: Acknowledgment sent {"connection_id":105700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:33:27] local.INFO: TCP Data received {"connection_id":106464,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:27] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:27] local.INFO: IMEI packet received {"connection_id":106464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":106464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:33:28] local.INFO: TCP Data received {"connection_id":106464,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:28] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:28] local.INFO: IMEI packet received {"connection_id":106464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":106464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:33:30] local.INFO: TCP Data received {"connection_id":106464,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:30] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:33:30] local.INFO: IMEI packet received {"connection_id":106464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":106464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:33:36] local.INFO: TCP Data received {"connection_id":106464,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed952a688012d1c7a0006d3ff50000a013b28..."} 
[2026-06-18 11:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed952a688012d1c7a0006d3ff50000a013b28..."} 
[2026-06-18 11:33:36] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed952a688012d1c7a0006d3ff50000a013b28..."} 
[2026-06-18 11:33:36] local.INFO: Packet analysis {"connection_id":106464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed952"} 
[2026-06-18 11:33:36] local.INFO: Extracted packet for processing {"connection_id":106464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed952"} 
[2026-06-18 11:33:36] local.INFO: GPS Element Parsed {"raw_longitude":756840960,"raw_latitude":114556752,"longitude_deg":75.684096,"latitude_deg":11.4556752,"altitude":10,"angle":315,"satellites":40,"speed":51,"hex_longitude":"2d1c7a00","hex_latitude":"06d3ff50","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131207936001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318202088167309312,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2053711828151134208,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781762533000,"timestamp_ms":1781762533000,"timestamp_seconds":1781762533,"priority":1,"record_length":96,"hex_timestamp":"0000019ed952a688"} 
[2026-06-18 11:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":91,"data_length":795,"current_offset":136} 
[2026-06-18 11:33: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-06-18 11: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-06-18 11:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131207936001,"66":27800,"11":206,"2":56576,"24":51,"16":318202088167309312,"45":2053711828151134208},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-18 11:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131207936001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:33:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 11:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318202088167309312,"km_value":318202088167309.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2053711828151134208,"description":"Unknown IO ID 45"} 
[2026-06-18 11:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131207936001,"power":27800,"unknown_11":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":2053711828151134208}} 
[2026-06-18 11:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":106464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:33:36] local.INFO: GPS data processed {"connection_id":106464,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:33:36] local.INFO: Acknowledgment sent {"connection_id":106464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:33:39] local.INFO: TCP Data received {"connection_id":106464,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed952ae58012d1c720006d40558000a012c29..."} 
[2026-06-18 11:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed952ae58012d1c720006d40558000a012c29..."} 
[2026-06-18 11:33:39] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed952ae58012d1c720006d40558000a012c29..."} 
[2026-06-18 11:33:39] local.INFO: Packet analysis {"connection_id":106464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed952"} 
[2026-06-18 11:33:39] local.INFO: Extracted packet for processing {"connection_id":106464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed952"} 
[2026-06-18 11:33:39] local.INFO: GPS Element Parsed {"raw_longitude":756838912,"raw_latitude":114558296,"longitude_deg":75.6838912,"latitude_deg":11.4558296,"altitude":10,"angle":300,"satellites":41,"speed":48,"hex_longitude":"2d1c7200","hex_latitude":"06d40558","is_valid_coordinates":true} 
[2026-06-18 11:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131208448001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318202208426393600,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2051952609547210752,"note":"Value kept but may cause issues"} 
[2026-06-18 11:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781762535000,"timestamp_ms":1781762535000,"timestamp_seconds":1781762535,"priority":1,"record_length":96,"hex_timestamp":"0000019ed952ae58"} 
[2026-06-18 11:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 11:33:39] 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-06-18 11:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131208448001,"66":27745,"11":206,"2":56576,"24":48,"16":318202208426393600,"45":2051952609547210752},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-18 11:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131208448001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:33:39] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 11:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318202208426393600,"km_value":318202208426393.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":2051952609547210752,"description":"Unknown IO ID 45"} 
[2026-06-18 11:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131208448001,"power":27745,"unknown_11":206,"power_alt":56576,"ignition":48,"odometer":null,"unknown_45":2051952609547210752}} 
[2026-06-18 11:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":106464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:33:39] local.INFO: GPS data processed {"connection_id":106464,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:33:39] local.INFO: Acknowledgment sent {"connection_id":106464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:34:10] local.INFO: TCP Data received {"connection_id":106464,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed95394d0012d1bd98006d48b50000e013826..."} 
[2026-06-18 11:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed95394d0012d1bd98006d48b50000e013826..."} 
[2026-06-18 11:34:10] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed95394d0012d1bd98006d48b50000e013826..."} 
[2026-06-18 11:34:10] local.INFO: Packet analysis {"connection_id":106464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:34:10] local.INFO: Extracted packet for processing {"connection_id":106464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:34:10] local.INFO: GPS Element Parsed {"raw_longitude":756799872,"raw_latitude":114592592,"longitude_deg":75.6799872,"latitude_deg":11.4592592,"altitude":14,"angle":312,"satellites":38,"speed":50,"hex_longitude":"2d1bd980","hex_latitude":"06d48b50","is_valid_coordinates":true} 
[2026-06-18 11:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131223296001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318204781111803904,"note":"Value kept but may cause issues"} 
[2026-06-18 11:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2009590625560723456,"note":"Value kept but may cause issues"} 
[2026-06-18 11:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781762594000,"timestamp_ms":1781762594000,"timestamp_seconds":1781762594,"priority":1,"record_length":96,"hex_timestamp":"0000019ed95394d0"} 
[2026-06-18 11:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:34:10] 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-06-18 11:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131223296001,"66":27919,"11":206,"2":56576,"24":50,"16":318204781111803904,"45":2009590625560723456},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-18 11:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131223296001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:34:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 11:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318204781111803904,"km_value":318204781111803.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":2009590625560723456,"description":"Unknown IO ID 45"} 
[2026-06-18 11:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131223296001,"power":27919,"unknown_11":206,"power_alt":56576,"ignition":50,"odometer":null,"unknown_45":2009590625560723456}} 
[2026-06-18 11:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":106464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:34:10] local.INFO: GPS data processed {"connection_id":106464,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:34:10] local.INFO: Acknowledgment sent {"connection_id":106464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:34:25] local.INFO: TCP Data received {"connection_id":105703,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:25] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:25] local.INFO: IMEI packet received {"connection_id":105703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":105703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:34:29] local.INFO: TCP Data received {"connection_id":105703,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:29] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:29] local.INFO: IMEI packet received {"connection_id":105703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":105703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:34:30] local.INFO: TCP Data received {"connection_id":105703,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:30] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:30] local.INFO: IMEI packet received {"connection_id":105703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":105703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:34:33] local.INFO: TCP Data received {"connection_id":105891,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:34:33] local.INFO: Processing buffer {"connection_id":105891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:34:33] local.INFO: IMEI packet received {"connection_id":105891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":105891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:34:35] local.INFO: TCP Data received {"connection_id":105703,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:35] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:34:35] local.INFO: IMEI packet received {"connection_id":105703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:34:35] local.INFO: IMEI acknowledgment sent {"connection_id":105703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:34:36] local.INFO: TCP Data received {"connection_id":105703,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed953b028012d1bbcc006d4a2100010012f28..."} 
[2026-06-18 11:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed953b028012d1bbcc006d4a2100010012f28..."} 
[2026-06-18 11:34:36] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed953b028012d1bbcc006d4a2100010012f28..."} 
[2026-06-18 11:34:36] local.INFO: Packet analysis {"connection_id":105703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:34:36] local.INFO: Extracted packet for processing {"connection_id":105703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":756792512,"raw_latitude":114598416,"longitude_deg":75.6792512,"latitude_deg":11.4598416,"altitude":16,"angle":303,"satellites":40,"speed":54,"hex_longitude":"2d1bbcc0","hex_latitude":"06d4a210","is_valid_coordinates":true} 
[2026-06-18 11:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131224064001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318205227788402688,"note":"Value kept but may cause issues"} 
[2026-06-18 11:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2006775875794325504,"note":"Value kept but may cause issues"} 
[2026-06-18 11:34:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781762601000,"timestamp_ms":1781762601000,"timestamp_seconds":1781762601,"priority":1,"record_length":96,"hex_timestamp":"0000019ed953b028"} 
[2026-06-18 11:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:34: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-06-18 11:34:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:34:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131224064001,"66":27908,"11":206,"2":56576,"24":54,"16":318205227788402688,"45":2006775875794325504},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-18 11:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131224064001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:34:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 11:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318205227788402688,"km_value":318205227788402.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":2006775875794325504,"description":"Unknown IO ID 45"} 
[2026-06-18 11:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131224064001,"power":27908,"unknown_11":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":2006775875794325504}} 
[2026-06-18 11:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":105703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:34:36] local.INFO: GPS data processed {"connection_id":105703,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:34:36] local.INFO: Acknowledgment sent {"connection_id":105703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:35:07] local.INFO: TCP Data received {"connection_id":105703,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed953c798012d1ba24006d4aea8000f01232a..."} 
[2026-06-18 11:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed953c798012d1ba24006d4aea8000f01232a..."} 
[2026-06-18 11:35:07] local.INFO: Processing buffer {"connection_id":105703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed953c798012d1ba24006d4aea8000f01232a..."} 
[2026-06-18 11:35:07] local.INFO: Packet analysis {"connection_id":105703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:35:07] local.INFO: Extracted packet for processing {"connection_id":105703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:35:07] local.INFO: GPS Element Parsed {"raw_longitude":756785728,"raw_latitude":114601640,"longitude_deg":75.6785728,"latitude_deg":11.460164,"altitude":15,"angle":291,"satellites":42,"speed":45,"hex_longitude":"2d1ba240","hex_latitude":"06d4aea8","is_valid_coordinates":true} 
[2026-06-18 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:35:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131225856001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318205588565655552,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1998683470215385088,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:35:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781762607000,"timestamp_ms":1781762607000,"timestamp_seconds":1781762607,"priority":1,"record_length":96,"hex_timestamp":"0000019ed953c798"} 
[2026-06-18 11:35:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:35:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:35:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:35:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:35:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:35:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:35:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:35:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:35:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:35:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:35:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:35:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:35:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:35:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131225856001,"66":27995,"11":206,"2":56576,"24":45,"16":318205588565655552,"45":1998683470215385088},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-18 11:35:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:35:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:35:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131225856001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:35:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 11:35:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318205588565655552,"km_value":318205588565655.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:35:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1998683470215385088,"description":"Unknown IO ID 45"} 
[2026-06-18 11:35:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131225856001,"power":27995,"unknown_11":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":1998683470215385088}} 
[2026-06-18 11:35:07] local.INFO: DEBUG: GPS processor result {"connection_id":105703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:35:07] local.INFO: GPS data processed {"connection_id":105703,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:35:07] local.INFO: Acknowledgment sent {"connection_id":105703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:35:30] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:35:30] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:35:30] local.INFO: IMEI packet received {"connection_id":106465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":106465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:35:34] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:35:34] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:35:34] local.INFO: IMEI packet received {"connection_id":106465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":106465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:35:37] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed953eac0012d1b7d4006d4bb48000f01212a..."} 
[2026-06-18 11:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed953eac0012d1b7d4006d4bb48000f01212a..."} 
[2026-06-18 11:35:37] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed953eac0012d1b7d4006d4bb48000f01212a..."} 
[2026-06-18 11:35:37] local.INFO: Packet analysis {"connection_id":106465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:35:37] local.INFO: Extracted packet for processing {"connection_id":106465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756776256,"raw_latitude":114604872,"longitude_deg":75.6776256,"latitude_deg":11.4604872,"altitude":15,"angle":289,"satellites":42,"speed":42,"hex_longitude":"2d1b7d40","hex_latitude":"06d4bb48","is_valid_coordinates":true} 
[2026-06-18 11:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131227392001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318206065307025408,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1991224383333378048,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781762616000,"timestamp_ms":1781762616000,"timestamp_seconds":1781762616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed953eac0"} 
[2026-06-18 11:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 11:35: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-06-18 11:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131227392001,"66":27974,"11":206,"2":56576,"24":42,"16":318206065307025408,"45":1991224383333378048},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-18 11:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131227392001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:35:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 11:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318206065307025408,"km_value":318206065307025.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1991224383333378048,"description":"Unknown IO ID 45"} 
[2026-06-18 11:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131227392001,"power":27974,"unknown_11":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":1991224383333378048}} 
[2026-06-18 11:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":106465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:35:37] local.INFO: GPS data processed {"connection_id":106465,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:35:37] local.INFO: Acknowledgment sent {"connection_id":106465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:35:41] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed953f678012d1b728006d4c020000f012d2b..."} 
[2026-06-18 11:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed953f678012d1b728006d4c020000f012d2b..."} 
[2026-06-18 11:35:41] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed953f678012d1b728006d4c020000f012d2b..."} 
[2026-06-18 11:35:41] local.INFO: Packet analysis {"connection_id":106465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:35:41] local.INFO: Extracted packet for processing {"connection_id":106465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed953"} 
[2026-06-18 11:35:41] local.INFO: GPS Element Parsed {"raw_longitude":756773504,"raw_latitude":114606112,"longitude_deg":75.6773504,"latitude_deg":11.4606112,"altitude":15,"angle":301,"satellites":43,"speed":38,"hex_longitude":"2d1b7280","hex_latitude":"06d4c020","is_valid_coordinates":true} 
[2026-06-18 11:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131229696001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318206207040946176,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980809809195911168,"note":"Value kept but may cause issues"} 
[2026-06-18 11:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781762619000,"timestamp_ms":1781762619000,"timestamp_seconds":1781762619,"priority":1,"record_length":96,"hex_timestamp":"0000019ed953f678"} 
[2026-06-18 11:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 11:35:41] 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-06-18 11:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131229696001,"66":27908,"11":206,"2":56576,"24":38,"16":318206207040946176,"45":1980809809195911168},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-06-18 11:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131229696001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:35:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 11:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318206207040946176,"km_value":318206207040946.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980809809195911168,"description":"Unknown IO ID 45"} 
[2026-06-18 11:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131229696001,"power":27908,"unknown_11":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":1980809809195911168}} 
[2026-06-18 11:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":106465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:35:41] local.INFO: GPS data processed {"connection_id":106465,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:35:41] local.INFO: Acknowledgment sent {"connection_id":106465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:36:25] local.INFO: TCP Data received {"connection_id":107435,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:25] local.INFO: Processing buffer {"connection_id":107435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:25] local.INFO: IMEI packet received {"connection_id":107435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":107435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:36:27] local.INFO: TCP Data received {"connection_id":107435,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:27] local.INFO: Processing buffer {"connection_id":107435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:27] local.INFO: IMEI packet received {"connection_id":107435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":107435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:36:30] local.INFO: TCP Data received {"connection_id":107435,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:30] local.INFO: Processing buffer {"connection_id":107435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:36:30] local.INFO: IMEI packet received {"connection_id":107435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":107435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:36:31] local.INFO: TCP Data received {"connection_id":107435,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed95588d0012d1a074006d58040000d013229..."} 
[2026-06-18 11:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed95588d0012d1a074006d58040000d013229..."} 
[2026-06-18 11:36:31] local.INFO: Processing buffer {"connection_id":107435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed95588d0012d1a074006d58040000d013229..."} 
[2026-06-18 11:36:31] local.INFO: Packet analysis {"connection_id":107435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:36:31] local.INFO: Extracted packet for processing {"connection_id":107435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:36:31] local.INFO: GPS Element Parsed {"raw_longitude":756680512,"raw_latitude":114655296,"longitude_deg":75.6680512,"latitude_deg":11.4655296,"altitude":13,"angle":306,"satellites":41,"speed":49,"hex_longitude":"2d1a0740","hex_latitude":"06d58040","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131254784001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318211245037584384,"note":"Value kept but may cause issues"} 
[2026-06-18 11:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884263892195723264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781762722000,"timestamp_ms":1781762722000,"timestamp_seconds":1781762722,"priority":1,"record_length":96,"hex_timestamp":"0000019ed95588d0"} 
[2026-06-18 11:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 11:36: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-06-18 11: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-06-18 11:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131254784001,"66":27876,"13":206,"2":56576,"24":49,"16":318211245037584384,"45":1884263892195723264},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-06-18 11:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131254784001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:36:31] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 11:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318211245037584384,"km_value":318211245037584.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884263892195723264,"description":"Unknown IO ID 45"} 
[2026-06-18 11:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131254784001,"power":27876,"unknown_13":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":1884263892195723264}} 
[2026-06-18 11:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":107435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:36:31] local.INFO: GPS data processed {"connection_id":107435,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:36:31] local.INFO: Acknowledgment sent {"connection_id":107435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:36:32] local.INFO: TCP Data received {"connection_id":107435,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed955a428012d19ea8006d596c0000c013529..."} 
[2026-06-18 11:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed955a428012d19ea8006d596c0000c013529..."} 
[2026-06-18 11:36:32] local.INFO: Processing buffer {"connection_id":107435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed955a428012d19ea8006d596c0000c013529..."} 
[2026-06-18 11:36:32] local.INFO: Packet analysis {"connection_id":107435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:36:32] local.INFO: Extracted packet for processing {"connection_id":107435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756673152,"raw_latitude":114661056,"longitude_deg":75.6673152,"latitude_deg":11.4661056,"altitude":12,"angle":309,"satellites":41,"speed":56,"hex_longitude":"2d19ea80","hex_latitude":"06d596c0","is_valid_coordinates":true} 
[2026-06-18 11:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131256832001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318211696009150464,"note":"Value kept but may cause issues"} 
[2026-06-18 11:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875538167919034368,"note":"Value kept but may cause issues"} 
[2026-06-18 11:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781762729000,"timestamp_ms":1781762729000,"timestamp_seconds":1781762729,"priority":1,"record_length":96,"hex_timestamp":"0000019ed955a428"} 
[2026-06-18 11:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 11:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11: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-06-18 11:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131256832001,"66":27876,"13":206,"2":56576,"24":56,"16":318211696009150464,"45":1875538167919034368},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-06-18 11:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131256832001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:36:32] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 11:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318211696009150464,"km_value":318211696009150.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875538167919034368,"description":"Unknown IO ID 45"} 
[2026-06-18 11:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131256832001,"power":27876,"unknown_13":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":1875538167919034368}} 
[2026-06-18 11:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":107435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:36:32] local.INFO: GPS data processed {"connection_id":107435,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:36:32] local.INFO: Acknowledgment sent {"connection_id":107435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:37:04] local.INFO: TCP Data received {"connection_id":107435,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed955bf80012d19c8c006d5ad00000c012b27..."} 
[2026-06-18 11:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed955bf80012d19c8c006d5ad00000c012b27..."} 
[2026-06-18 11:37:04] local.INFO: Processing buffer {"connection_id":107435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed955bf80012d19c8c006d5ad00000c012b27..."} 
[2026-06-18 11:37:04] local.INFO: Packet analysis {"connection_id":107435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:37:04] local.INFO: Extracted packet for processing {"connection_id":107435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:37:04] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":114666752,"longitude_deg":75.6664512,"latitude_deg":11.4666752,"altitude":12,"angle":299,"satellites":39,"speed":60,"hex_longitude":"2d19c8c0","hex_latitude":"06d5ad00","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131258624001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318212189930389504,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867445762340077568,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781762736000,"timestamp_ms":1781762736000,"timestamp_seconds":1781762736,"priority":1,"record_length":96,"hex_timestamp":"0000019ed955bf80"} 
[2026-06-18 11:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 11:37: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-06-18 11: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-06-18 11:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131258624001,"66":27908,"13":206,"2":56576,"24":60,"16":318212189930389504,"45":1867445762340077568},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-06-18 11:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131258624001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:37:04] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 11:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318212189930389504,"km_value":318212189930389.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867445762340077568,"description":"Unknown IO ID 45"} 
[2026-06-18 11:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131258624001,"power":27908,"unknown_13":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1867445762340077568}} 
[2026-06-18 11:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":107435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:37:04] local.INFO: GPS data processed {"connection_id":107435,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:37:04] local.INFO: Acknowledgment sent {"connection_id":107435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:37:25] local.INFO: TCP Data received {"connection_id":105705,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:25] local.INFO: Processing buffer {"connection_id":105705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:25] local.INFO: IMEI packet received {"connection_id":105705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":105705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:37:28] local.INFO: TCP Data received {"connection_id":105705,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:28] local.INFO: Processing buffer {"connection_id":105705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:28] local.INFO: IMEI packet received {"connection_id":105705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":105705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:37:30] local.INFO: TCP Data received {"connection_id":105705,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:30] local.INFO: Processing buffer {"connection_id":105705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:37:30] local.INFO: IMEI packet received {"connection_id":105705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":105705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:37:34] local.INFO: TCP Data received {"connection_id":105705,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed955d6f0012d19a8c006d5bdb8000b012728..."} 
[2026-06-18 11:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed955d6f0012d19a8c006d5bdb8000b012728..."} 
[2026-06-18 11:37:34] local.INFO: Processing buffer {"connection_id":105705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed955d6f0012d19a8c006d5bdb8000b012728..."} 
[2026-06-18 11:37:34] local.INFO: Packet analysis {"connection_id":105705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:37:34] local.INFO: Extracted packet for processing {"connection_id":105705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:37:34] local.INFO: GPS Element Parsed {"raw_longitude":756656320,"raw_latitude":114671032,"longitude_deg":75.665632,"latitude_deg":11.4671032,"altitude":11,"angle":295,"satellites":40,"speed":60,"hex_longitude":"2d19a8c0","hex_latitude":"06d5bdb8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131260416001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318212628017053696,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857945981877551104,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781762742000,"timestamp_ms":1781762742000,"timestamp_seconds":1781762742,"priority":1,"record_length":96,"hex_timestamp":"0000019ed955d6f0"} 
[2026-06-18 11:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:37: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-06-18 11:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:37: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-06-18 11: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-06-18 11:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131260416001,"66":27919,"13":206,"2":56576,"24":60,"16":318212628017053696,"45":1857945981877551104},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-06-18 11:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131260416001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:37:34] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 11:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318212628017053696,"km_value":318212628017053.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857945981877551104,"description":"Unknown IO ID 45"} 
[2026-06-18 11:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131260416001,"power":27919,"unknown_13":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1857945981877551104}} 
[2026-06-18 11:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":105705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:37:34] local.INFO: GPS data processed {"connection_id":105705,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:37:34] local.INFO: Acknowledgment sent {"connection_id":105705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:37:36] local.INFO: TCP Data received {"connection_id":105705,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed955f248012d1986c006d5cf28000b012828..."} 
[2026-06-18 11:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed955f248012d1986c006d5cf28000b012828..."} 
[2026-06-18 11:37:36] local.INFO: Processing buffer {"connection_id":105705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed955f248012d1986c006d5cf28000b012828..."} 
[2026-06-18 11:37:36] local.INFO: Packet analysis {"connection_id":105705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:37:36] local.INFO: Extracted packet for processing {"connection_id":105705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":756647616,"raw_latitude":114675496,"longitude_deg":75.6647616,"latitude_deg":11.4675496,"altitude":11,"angle":296,"satellites":40,"speed":41,"hex_longitude":"2d1986c0","hex_latitude":"06d5cf28","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131261952001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318213096168488960,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848938782623905792,"note":"Value kept but may cause issues"} 
[2026-06-18 11:37:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781762749000,"timestamp_ms":1781762749000,"timestamp_seconds":1781762749,"priority":1,"record_length":96,"hex_timestamp":"0000019ed955f248"} 
[2026-06-18 11:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:37: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-06-18 11: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-06-18 11:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131261952001,"66":28006,"13":206,"2":56576,"24":41,"16":318213096168488960,"45":1848938782623905792},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,2,24,16,45]} 
[2026-06-18 11:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131261952001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:37:36] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-06-18 11:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318213096168488960,"km_value":318213096168488.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848938782623905792,"description":"Unknown IO ID 45"} 
[2026-06-18 11:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131261952001,"power":28006,"unknown_13":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1848938782623905792}} 
[2026-06-18 11:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":105705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:37:36] local.INFO: GPS data processed {"connection_id":105705,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:37:36] local.INFO: Acknowledgment sent {"connection_id":105705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:38:02] local.INFO: TCP Data received {"connection_id":105707,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:02] local.INFO: Processing buffer {"connection_id":105707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:02] local.INFO: IMEI packet received {"connection_id":105707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":105707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:38:03] local.INFO: TCP Data received {"connection_id":105707,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed954a640012d1a8c4007241af8002f00fc29..."} 
[2026-06-18 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed954a640012d1a8c4007241af8002f00fc29..."} 
[2026-06-18 11:38:03] local.INFO: Processing buffer {"connection_id":105707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed954a640012d1a8c4007241af8002f00fc29..."} 
[2026-06-18 11:38:03] local.INFO: Packet analysis {"connection_id":105707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed954"} 
[2026-06-18 11:38:03] local.INFO: Extracted packet for processing {"connection_id":105707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed954"} 
[2026-06-18 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119806712,"longitude_deg":75.671456,"latitude_deg":11.9806712,"altitude":47,"angle":252,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"07241af8","is_valid_coordinates":true} 
[2026-06-18 11:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131236608001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3321212310650880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341140314112,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781762664000,"timestamp_ms":1781762664000,"timestamp_seconds":1781762664,"priority":1,"record_length":96,"hex_timestamp":"0000019ed954a640"} 
[2026-06-18 11:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 11:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131236608001,"66":13102,"112":206,"28":31744,"24":0,"16":3321212310650880,"45":1912974341140314112},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-06-18 11:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131236608001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:38:03] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 11:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3321212310650880,"km_value":3321212310650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341140314112,"description":"Unknown IO ID 45"} 
[2026-06-18 11:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131236608001,"power":13102,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341140314112}} 
[2026-06-18 11:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":105707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:38:03] local.INFO: GPS data processed {"connection_id":105707,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:38:03] local.INFO: Acknowledgment sent {"connection_id":105707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:38:08] local.INFO: TCP Data received {"connection_id":105705,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9574620012d183ec006d60fa8000c010b28..."} 
[2026-06-18 11:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9574620012d183ec006d60fa8000c010b28..."} 
[2026-06-18 11:38:08] local.INFO: Processing buffer {"connection_id":105705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9574620012d183ec006d60fa8000c010b28..."} 
[2026-06-18 11:38:08] local.INFO: Packet analysis {"connection_id":105705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed957"} 
[2026-06-18 11:38:08] local.INFO: Extracted packet for processing {"connection_id":105705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed957"} 
[2026-06-18 11:38:08] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":114692008,"longitude_deg":75.6563648,"latitude_deg":11.4692008,"altitude":12,"angle":267,"satellites":40,"speed":41,"hex_longitude":"2d183ec0","hex_latitude":"06d60fa8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131284736001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318217292351537152,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752322496873560064,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781762836000,"timestamp_ms":1781762836000,"timestamp_seconds":1781762836,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9574620"} 
[2026-06-18 11:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 11:38: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-06-18 11: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-06-18 11:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131284736001,"66":27876,"191":206,"2":56576,"24":41,"16":318217292351537152,"45":1752322496873560064},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-18 11:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131284736001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:38:08] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-18 11:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318217292351537152,"km_value":318217292351537.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752322496873560064,"description":"Unknown IO ID 45"} 
[2026-06-18 11:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131284736001,"power":27876,"unknown_191":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1752322496873560064}} 
[2026-06-18 11:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":105705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:38:08] local.INFO: GPS data processed {"connection_id":105705,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:38:08] local.INFO: Acknowledgment sent {"connection_id":105705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:38:25] local.INFO: TCP Data received {"connection_id":106467,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:25] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:25] local.INFO: IMEI packet received {"connection_id":106467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":106467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:38:26] local.INFO: TCP Data received {"connection_id":106467,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:26] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:26] local.INFO: IMEI packet received {"connection_id":106467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":106467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:38:30] local.INFO: TCP Data received {"connection_id":106467,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:30] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:38:30] local.INFO: IMEI packet received {"connection_id":106467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":106467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:38:32] local.INFO: TCP Data received {"connection_id":106467,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9574df0012d18360006d61020000c011629..."} 
[2026-06-18 11:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9574df0012d18360006d61020000c011629..."} 
[2026-06-18 11:38:32] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9574df0012d18360006d61020000c011629..."} 
[2026-06-18 11:38:32] local.INFO: Packet analysis {"connection_id":106467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed957"} 
[2026-06-18 11:38:32] local.INFO: Extracted packet for processing {"connection_id":106467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed957"} 
[2026-06-18 11:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756561408,"raw_latitude":114692128,"longitude_deg":75.6561408,"latitude_deg":11.4692128,"altitude":12,"angle":278,"satellites":41,"speed":43,"hex_longitude":"2d183600","hex_latitude":"06d61020","is_valid_coordinates":true} 
[2026-06-18 11:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131286016001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318217399725719552,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044841060018176,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781762838000,"timestamp_ms":1781762838000,"timestamp_seconds":1781762838,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9574df0"} 
[2026-06-18 11:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 11:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131286016001,"66":27865,"191":206,"2":56576,"24":43,"16":318217399725719552,"45":1747044841060018176},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-18 11:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131286016001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:38:32] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-18 11:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318217399725719552,"km_value":318217399725719.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044841060018176,"description":"Unknown IO ID 45"} 
[2026-06-18 11:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131286016001,"power":27865,"unknown_191":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":1747044841060018176}} 
[2026-06-18 11:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":106467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:38:32] local.INFO: GPS data processed {"connection_id":106467,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:38:32] local.INFO: Acknowledgment sent {"connection_id":106467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:38:36] local.INFO: TCP Data received {"connection_id":107436,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:36] local.INFO: Processing buffer {"connection_id":107436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:36] local.INFO: IMEI packet received {"connection_id":107436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":107436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:38:41] local.INFO: TCP Data received {"connection_id":107436,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:41] local.INFO: Processing buffer {"connection_id":107436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:38:41] local.INFO: IMEI packet received {"connection_id":107436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":107436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:38:42] local.INFO: TCP Data received {"connection_id":107436,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed954f848012d1a8c4007241af8002f00fc29..."} 
[2026-06-18 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed954f848012d1a8c4007241af8002f00fc29..."} 
[2026-06-18 11:38:42] local.INFO: Processing buffer {"connection_id":107436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed954f848012d1a8c4007241af8002f00fc29..."} 
[2026-06-18 11:38:42] local.INFO: Packet analysis {"connection_id":107436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed954"} 
[2026-06-18 11:38:42] local.INFO: Extracted packet for processing {"connection_id":107436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed954"} 
[2026-06-18 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119806712,"longitude_deg":75.671456,"latitude_deg":11.9806712,"altitude":47,"angle":252,"satellites":41,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"07241af8","is_valid_coordinates":true} 
[2026-06-18 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131241984001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3321212310650880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341140314112,"note":"Value kept but may cause issues"} 
[2026-06-18 11:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781762685000,"timestamp_ms":1781762685000,"timestamp_seconds":1781762685,"priority":1,"record_length":96,"hex_timestamp":"0000019ed954f848"} 
[2026-06-18 11:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:38:42] 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-06-18 11:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 11:38:42] 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-06-18 11:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131241984001,"66":13080,"112":206,"28":31744,"24":0,"16":3321212310650880,"45":1912974341140314112},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-06-18 11:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131241984001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:38:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 11:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3321212310650880,"km_value":3321212310650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341140314112,"description":"Unknown IO ID 45"} 
[2026-06-18 11:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131241984001,"power":13080,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341140314112}} 
[2026-06-18 11:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":107436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:38:42] local.INFO: GPS data processed {"connection_id":107436,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:38:42] local.INFO: Acknowledgment sent {"connection_id":107436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:39:03] local.INFO: TCP Data received {"connection_id":106467,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9576d30012d1812c006d61800000b011d2b..."} 
[2026-06-18 11:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9576d30012d1812c006d61800000b011d2b..."} 
[2026-06-18 11:39:03] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9576d30012d1812c006d61800000b011d2b..."} 
[2026-06-18 11:39:03] local.INFO: Packet analysis {"connection_id":106467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed957"} 
[2026-06-18 11:39:03] local.INFO: Extracted packet for processing {"connection_id":106467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed957"} 
[2026-06-18 11:39:03] local.INFO: GPS Element Parsed {"raw_longitude":756552384,"raw_latitude":114694144,"longitude_deg":75.6552384,"latitude_deg":11.4694144,"altitude":11,"angle":285,"satellites":43,"speed":49,"hex_longitude":"2d1812c0","hex_latitude":"06d61800","is_valid_coordinates":true} 
[2026-06-18 11:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131286528001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318217842107351040,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1744581935013830656,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781762846000,"timestamp_ms":1781762846000,"timestamp_seconds":1781762846,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9576d30"} 
[2026-06-18 11:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:39: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-06-18 11:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:39: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-06-18 11:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131286528001,"66":27887,"191":206,"2":56576,"24":49,"16":318217842107351040,"45":1744581935013830656},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-18 11:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131286528001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:39:03] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-18 11:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318217842107351040,"km_value":318217842107351.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1744581935013830656,"description":"Unknown IO ID 45"} 
[2026-06-18 11:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131286528001,"power":27887,"unknown_191":206,"power_alt":56576,"ignition":49,"odometer":null,"unknown_45":1744581935013830656}} 
[2026-06-18 11:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":106467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:39:03] local.INFO: GPS data processed {"connection_id":106467,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:39:03] local.INFO: Acknowledgment sent {"connection_id":106467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:39:14] local.INFO: TCP Data received {"connection_id":107436,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9554a50012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9554a50012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:39:14] local.INFO: Processing buffer {"connection_id":107436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9554a50012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:39:14] local.INFO: Packet analysis {"connection_id":107436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:39:14] local.INFO: Extracted packet for processing {"connection_id":107436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119806712,"longitude_deg":75.671456,"latitude_deg":11.9806712,"altitude":47,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"07241af8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131247360001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3321212310650880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341140314112,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781762706000,"timestamp_ms":1781762706000,"timestamp_seconds":1781762706,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9554a50"} 
[2026-06-18 11:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 11:39:14] 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-06-18 11: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-06-18 11:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131247360001,"66":13015,"112":206,"28":31744,"24":0,"16":3321212310650880,"45":1912974341140314112},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-06-18 11:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131247360001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:39:14] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 11:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3321212310650880,"km_value":3321212310650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341140314112,"description":"Unknown IO ID 45"} 
[2026-06-18 11:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131247360001,"power":13015,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341140314112}} 
[2026-06-18 11:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":107436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:39:14] local.INFO: GPS data processed {"connection_id":107436,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:39:14] local.INFO: Acknowledgment sent {"connection_id":107436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:39:32] local.INFO: TCP Data received {"connection_id":105895,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:39:32] local.INFO: Processing buffer {"connection_id":105895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:39:32] local.INFO: IMEI packet received {"connection_id":105895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":105895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:39:36] local.INFO: TCP Data received {"connection_id":105897,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:36] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:36] local.INFO: IMEI packet received {"connection_id":105897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":105897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:39:38] local.INFO: TCP Data received {"connection_id":105897,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:38] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:38] local.INFO: IMEI packet received {"connection_id":105897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":105897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:39:41] local.INFO: TCP Data received {"connection_id":105897,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:41] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:39:41] local.INFO: IMEI packet received {"connection_id":105897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":105897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:39:42] local.INFO: TCP Data received {"connection_id":105897,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9559c58012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9559c58012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:39:42] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9559c58012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:39:42] local.INFO: Packet analysis {"connection_id":105897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:39:42] local.INFO: Extracted packet for processing {"connection_id":105897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119806712,"longitude_deg":75.671456,"latitude_deg":11.9806712,"altitude":47,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"07241af8","is_valid_coordinates":true} 
[2026-06-18 11:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131252736001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3321212310650880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341140314112,"note":"Value kept but may cause issues"} 
[2026-06-18 11:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781762727000,"timestamp_ms":1781762727000,"timestamp_seconds":1781762727,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9559c58"} 
[2026-06-18 11:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 11:39:42] 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-06-18 11:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131252736001,"66":13037,"112":206,"28":31744,"24":0,"16":3321212310650880,"45":1912974341140314112},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-06-18 11:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131252736001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:39:42] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 11:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3321212310650880,"km_value":3321212310650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341140314112,"description":"Unknown IO ID 45"} 
[2026-06-18 11:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131252736001,"power":13037,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341140314112}} 
[2026-06-18 11:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":105897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:39:42] local.INFO: GPS data processed {"connection_id":105897,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:39:42] local.INFO: Acknowledgment sent {"connection_id":105897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:39:46] local.INFO: TCP Data received {"connection_id":105895,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:39:46] local.INFO: Processing buffer {"connection_id":105895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:39:46] local.INFO: IMEI packet received {"connection_id":105895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":105895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:39:54] local.INFO: TCP Data received {"connection_id":105896,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:39:54] local.INFO: Processing buffer {"connection_id":105896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:39:54] local.INFO: IMEI packet received {"connection_id":105896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":105896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:40:02] local.INFO: TCP Data received {"connection_id":105895,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9578c70012d17ecc006d622900009011d2a..."} 
[2026-06-18 11:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9578c70012d17ecc006d622900009011d2a..."} 
[2026-06-18 11:40:02] local.INFO: Processing buffer {"connection_id":105895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9578c70012d17ecc006d622900009011d2a..."} 
[2026-06-18 11:40:02] local.INFO: Packet analysis {"connection_id":105895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed957"} 
[2026-06-18 11:40:02] local.INFO: Extracted packet for processing {"connection_id":105895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed957"} 
[2026-06-18 11:40:02] local.INFO: GPS Element Parsed {"raw_longitude":756542656,"raw_latitude":114696848,"longitude_deg":75.6542656,"latitude_deg":11.4696848,"altitude":9,"angle":285,"satellites":42,"speed":52,"hex_longitude":"2d17ecc0","hex_latitude":"06d62290","is_valid_coordinates":true} 
[2026-06-18 11:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131288576001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318218318848720896,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734659942085296128,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781762854000,"timestamp_ms":1781762854000,"timestamp_seconds":1781762854,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9578c70"} 
[2026-06-18 11:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:40: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-06-18 11:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 11:40:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131288576001,"66":27865,"191":206,"2":56576,"24":52,"16":318218318848720896,"45":1734659942085296128},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-06-18 11:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131288576001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:40:02] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-06-18 11:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318218318848720896,"km_value":318218318848720.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734659942085296128,"description":"Unknown IO ID 45"} 
[2026-06-18 11:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131288576001,"power":27865,"unknown_191":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":1734659942085296128}} 
[2026-06-18 11:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":105895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:40:02] local.INFO: GPS data processed {"connection_id":105895,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:40:02] local.INFO: Acknowledgment sent {"connection_id":105895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:40:16] local.INFO: TCP Data received {"connection_id":105897,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed955ee60012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed955ee60012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:40:16] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed955ee60012d1a8c4007241af8002f00fc2a..."} 
[2026-06-18 11:40:16] local.INFO: Packet analysis {"connection_id":105897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:40:16] local.INFO: Extracted packet for processing {"connection_id":105897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed955"} 
[2026-06-18 11:40:16] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119806712,"longitude_deg":75.671456,"latitude_deg":11.9806712,"altitude":47,"angle":252,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"07241af8","is_valid_coordinates":true} 
[2026-06-18 11:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131258112001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3321212310650880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341140314112,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781762748000,"timestamp_ms":1781762748000,"timestamp_seconds":1781762748,"priority":1,"record_length":96,"hex_timestamp":"0000019ed955ee60"} 
[2026-06-18 11:40:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:40:16] 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-06-18 11:40:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 11:40:16] 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-06-18 11:40:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:40:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131258112001,"66":12993,"112":206,"28":31744,"24":0,"16":3321212310650880,"45":1912974341140314112},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-06-18 11:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131258112001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:40:16] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 11:40:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3321212310650880,"km_value":3321212310650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341140314112,"description":"Unknown IO ID 45"} 
[2026-06-18 11:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131258112001,"power":12993,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341140314112}} 
[2026-06-18 11:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":105897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:40:16] local.INFO: GPS data processed {"connection_id":105897,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:40:16] local.INFO: Acknowledgment sent {"connection_id":105897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:40:21] local.INFO: TCP Data received {"connection_id":105895,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed958d490012d1657c006d67120000f01122d..."} 
[2026-06-18 11:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed958d490012d1657c006d67120000f01122d..."} 
[2026-06-18 11:40:21] local.INFO: Processing buffer {"connection_id":105895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed958d490012d1657c006d67120000f01122d..."} 
[2026-06-18 11:40:21] local.INFO: Packet analysis {"connection_id":105895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed958"} 
[2026-06-18 11:40:21] local.INFO: Extracted packet for processing {"connection_id":105895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed958"} 
[2026-06-18 11:40:21] local.INFO: GPS Element Parsed {"raw_longitude":756438976,"raw_latitude":114716960,"longitude_deg":75.6438976,"latitude_deg":11.471696,"altitude":15,"angle":274,"satellites":45,"speed":33,"hex_longitude":"2d1657c0","hex_latitude":"06d67120","is_valid_coordinates":true} 
[2026-06-18 11:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131309568001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318223361140326400,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1620310732802230272,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781762938000,"timestamp_ms":1781762938000,"timestamp_seconds":1781762938,"priority":1,"record_length":96,"hex_timestamp":"0000019ed958d490"} 
[2026-06-18 11:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:40:21] 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-06-18 11:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 11:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":105895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":105895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":105895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131309568001,"66":28050,"193":206,"2":56576,"24":33,"16":318223361140326400,"45":1620310732802230272},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-06-18 11:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131309568001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:40:21] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-18 11:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318223361140326400,"km_value":318223361140326.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:40:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1620310732802230272,"description":"Unknown IO ID 45"} 
[2026-06-18 11:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131309568001,"power":28050,"unknown_193":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":1620310732802230272}} 
[2026-06-18 11:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":105895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:40:21] local.INFO: GPS data processed {"connection_id":105895,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:40:21] local.INFO: Acknowledgment sent {"connection_id":105895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:40:34] local.INFO: TCP Data received {"connection_id":107437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:40:34] local.INFO: Processing buffer {"connection_id":107437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:40:34] local.INFO: IMEI packet received {"connection_id":107437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":107437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:40:38] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:38] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:38] local.INFO: IMEI packet received {"connection_id":106469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":106469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:40:38] local.INFO: TCP Data received {"connection_id":107438,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:38] local.INFO: Processing buffer {"connection_id":107438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:38] local.INFO: IMEI packet received {"connection_id":107438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":107438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:40:39] local.INFO: TCP Data received {"connection_id":107437,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:40:39] local.INFO: Processing buffer {"connection_id":107437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:40:39] local.INFO: IMEI packet received {"connection_id":107437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 11:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":107437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:40:39] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:39] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:39] local.INFO: IMEI packet received {"connection_id":106469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:40:39] local.INFO: IMEI acknowledgment sent {"connection_id":106469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:40:40] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:40] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:40] local.INFO: IMEI packet received {"connection_id":106469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":106469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:40:41] local.INFO: TCP Data received {"connection_id":107437,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019ed930a768012d34cdc006aa5108000b00002f..."} 
[2026-06-18 11:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed930a768012d34cdc006aa5108000b00002f..."} 
[2026-06-18 11:40:41] local.INFO: Processing buffer {"connection_id":107437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed930a768012d34cdc006aa5108000b00002f..."} 
[2026-06-18 11:40:41] local.INFO: Packet analysis {"connection_id":107437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 11:40:41] local.INFO: Extracted packet for processing {"connection_id":107437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed930"} 
[2026-06-18 11:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 11:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456130561024001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781760305000,"timestamp_ms":1781760305000,"timestamp_seconds":1781760305,"priority":1,"record_length":96,"hex_timestamp":"0000019ed930a768"} 
[2026-06-18 11:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 11:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 11:40:41] 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-06-18 11:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 11:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 11:40:41] 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-06-18 11:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 11:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 11:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456130561024001,"66":25375,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 11:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 11:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 11:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456130561024001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 11:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 11:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 11:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456130561024001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 11:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":107437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:40:41] local.INFO: GPS data processed {"connection_id":107437,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:40:41] local.INFO: Acknowledgment sent {"connection_id":107437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:40:41] local.INFO: TCP Data received {"connection_id":107438,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:41] local.INFO: Processing buffer {"connection_id":107438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:41] local.INFO: IMEI packet received {"connection_id":107438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":107438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:40:45] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:45] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:40:45] local.INFO: IMEI packet received {"connection_id":106469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":106469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:40:46] local.INFO: TCP Data received {"connection_id":107438,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:46] local.INFO: Processing buffer {"connection_id":107438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:40:46] local.INFO: IMEI packet received {"connection_id":107438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":107438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:40:47] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed958ec00012d16440006d674100011011f2c..."} 
[2026-06-18 11:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed958ec00012d16440006d674100011011f2c..."} 
[2026-06-18 11:40:47] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed958ec00012d16440006d674100011011f2c..."} 
[2026-06-18 11:40:47] local.INFO: Packet analysis {"connection_id":106469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed958"} 
[2026-06-18 11:40:47] local.INFO: Extracted packet for processing {"connection_id":106469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed958"} 
[2026-06-18 11:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756433920,"raw_latitude":114717712,"longitude_deg":75.643392,"latitude_deg":11.4717712,"altitude":17,"angle":287,"satellites":44,"speed":32,"hex_longitude":"2d164400","hex_latitude":"06d67410","is_valid_coordinates":true} 
[2026-06-18 11:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131312128001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318223601658494976,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1609966527408316416,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781762944000,"timestamp_ms":1781762944000,"timestamp_seconds":1781762944,"priority":1,"record_length":96,"hex_timestamp":"0000019ed958ec00"} 
[2026-06-18 11:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:40:47] 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-06-18 11:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 11:40:47] 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-06-18 11:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131312128001,"66":27800,"193":206,"2":56576,"24":32,"16":318223601658494976,"45":1609966527408316416},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-06-18 11:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131312128001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:40:47] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-18 11:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318223601658494976,"km_value":318223601658495.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1609966527408316416,"description":"Unknown IO ID 45"} 
[2026-06-18 11:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131312128001,"power":27800,"unknown_193":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":1609966527408316416}} 
[2026-06-18 11:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":106469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:40:47] local.INFO: GPS data processed {"connection_id":106469,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:40:47] local.INFO: Acknowledgment sent {"connection_id":106469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:40:48] local.INFO: TCP Data received {"connection_id":107438,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9564068012d1a8c4007241af8002f00fc2b..."} 
[2026-06-18 11:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9564068012d1a8c4007241af8002f00fc2b..."} 
[2026-06-18 11:40:48] local.INFO: Processing buffer {"connection_id":107438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9564068012d1a8c4007241af8002f00fc2b..."} 
[2026-06-18 11:40:48] local.INFO: Packet analysis {"connection_id":107438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed956"} 
[2026-06-18 11:40:48] local.INFO: Extracted packet for processing {"connection_id":107438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed956"} 
[2026-06-18 11:40:48] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119806712,"longitude_deg":75.671456,"latitude_deg":11.9806712,"altitude":47,"angle":252,"satellites":43,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"07241af8","is_valid_coordinates":true} 
[2026-06-18 11:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131263488001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3321212310650880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341140314112,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781762769000,"timestamp_ms":1781762769000,"timestamp_seconds":1781762769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9564068"} 
[2026-06-18 11:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:40:48] 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-06-18 11:40:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 11:40:48] 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-06-18 11:40:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131263488001,"66":12993,"112":206,"28":31744,"24":0,"16":3321212310650880,"45":1912974341140314112},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-06-18 11:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131263488001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:40:48] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 11:40:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3321212310650880,"km_value":3321212310650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341140314112,"description":"Unknown IO ID 45"} 
[2026-06-18 11:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131263488001,"power":12993,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341140314112}} 
[2026-06-18 11:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":107438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:40:48] local.INFO: GPS data processed {"connection_id":107438,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:40:48] local.INFO: Acknowledgment sent {"connection_id":107438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:40:52] local.INFO: TCP Data received {"connection_id":107438,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9569270012d1a8c4007241af8002f00fc2b..."} 
[2026-06-18 11:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9569270012d1a8c4007241af8002f00fc2b..."} 
[2026-06-18 11:40:52] local.INFO: Processing buffer {"connection_id":107438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9569270012d1a8c4007241af8002f00fc2b..."} 
[2026-06-18 11:40:52] local.INFO: Packet analysis {"connection_id":107438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed956"} 
[2026-06-18 11:40:52] local.INFO: Extracted packet for processing {"connection_id":107438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed956"} 
[2026-06-18 11:40:52] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119806712,"longitude_deg":75.671456,"latitude_deg":11.9806712,"altitude":47,"angle":252,"satellites":43,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"07241af8","is_valid_coordinates":true} 
[2026-06-18 11:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:40:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131268864001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3321212310650880,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341140314112,"note":"Value kept but may cause issues"} 
[2026-06-18 11:40:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:40:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781762790000,"timestamp_ms":1781762790000,"timestamp_seconds":1781762790,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9569270"} 
[2026-06-18 11:40:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:40:52] 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-06-18 11:40:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 11:40:52] 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-06-18 11:40:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:40:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:40:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:40:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:40:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:40:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:40:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:40:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:40:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:40:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131268864001,"66":12939,"112":206,"28":31744,"24":0,"16":3321212310650880,"45":1912974341140314112},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-06-18 11:40:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:40:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:40:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131268864001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:40:52] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 11:40:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:40:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3321212310650880,"km_value":3321212310650.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:40:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341140314112,"description":"Unknown IO ID 45"} 
[2026-06-18 11:40:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131268864001,"power":12939,"unknown_112":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341140314112}} 
[2026-06-18 11:40:52] local.INFO: DEBUG: GPS processor result {"connection_id":107438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:40:52] local.INFO: GPS data processed {"connection_id":107438,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:40:52] local.INFO: Acknowledgment sent {"connection_id":107438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:41:23] local.INFO: TCP Data received {"connection_id":105898,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:23] local.INFO: Processing buffer {"connection_id":105898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:23] local.INFO: IMEI packet received {"connection_id":105898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":105898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:41:25] local.INFO: TCP Data received {"connection_id":105898,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:25] local.INFO: Processing buffer {"connection_id":105898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:25] local.INFO: IMEI packet received {"connection_id":105898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":105898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:41:30] local.INFO: TCP Data received {"connection_id":105898,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:30] local.INFO: Processing buffer {"connection_id":105898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:41:30] local.INFO: IMEI packet received {"connection_id":105898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":105898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:41:33] local.INFO: TCP Data received {"connection_id":105898,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed958ff88012d16358006d67a980013012e2b..."} 
[2026-06-18 11:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed958ff88012d16358006d67a980013012e2b..."} 
[2026-06-18 11:41:33] local.INFO: Processing buffer {"connection_id":105898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed958ff88012d16358006d67a980013012e2b..."} 
[2026-06-18 11:41:33] local.INFO: Packet analysis {"connection_id":105898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed958"} 
[2026-06-18 11:41:33] local.INFO: Extracted packet for processing {"connection_id":105898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed958"} 
[2026-06-18 11:41:33] local.INFO: GPS Element Parsed {"raw_longitude":756430208,"raw_latitude":114719384,"longitude_deg":75.6430208,"latitude_deg":11.4719384,"altitude":19,"angle":302,"satellites":43,"speed":33,"hex_longitude":"2d163580","hex_latitude":"06d67a98","is_valid_coordinates":true} 
[2026-06-18 11:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131313664001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318223799226990592,"note":"Value kept but may cause issues"} 
[2026-06-18 11:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1604407396618473472,"note":"Value kept but may cause issues"} 
[2026-06-18 11:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781762949000,"timestamp_ms":1781762949000,"timestamp_seconds":1781762949,"priority":1,"record_length":96,"hex_timestamp":"0000019ed958ff88"} 
[2026-06-18 11:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:41: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-06-18 11:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 11:41: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-06-18 11:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131313664001,"66":28050,"193":206,"2":56576,"24":33,"16":318223799226990592,"45":1604407396618473472},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-06-18 11:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131313664001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:41:33] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-18 11:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318223799226990592,"km_value":318223799226990.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1604407396618473472,"description":"Unknown IO ID 45"} 
[2026-06-18 11:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131313664001,"power":28050,"unknown_193":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":1604407396618473472}} 
[2026-06-18 11:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":105898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:41:33] local.INFO: GPS data processed {"connection_id":105898,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:41:33] local.INFO: Acknowledgment sent {"connection_id":105898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:41:34] local.INFO: TCP Data received {"connection_id":105899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:41:34] local.INFO: Processing buffer {"connection_id":105899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:41:34] local.INFO: IMEI packet received {"connection_id":105899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":105899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:41:36] local.INFO: TCP Data received {"connection_id":106470,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:41:36] local.INFO: Processing buffer {"connection_id":106470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:41:36] local.INFO: IMEI packet received {"connection_id":106470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:41:36] local.INFO: IMEI acknowledgment sent {"connection_id":106470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:41:55] local.INFO: TCP Data received {"connection_id":106470,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:41:55] local.INFO: Processing buffer {"connection_id":106470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:41:55] local.INFO: IMEI packet received {"connection_id":106470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":106470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:41:55] local.INFO: TCP Data received {"connection_id":106470,"ip":"117.224.70.101","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106470,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:41:55] local.INFO: Processing buffer {"connection_id":106470,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:41:55] local.INFO: IMEI packet received {"connection_id":106470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":106470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:42:06] local.INFO: TCP Data received {"connection_id":105898,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9592e68012d16184006d69198001501362b..."} 
[2026-06-18 11:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9592e68012d16184006d69198001501362b..."} 
[2026-06-18 11:42:06] local.INFO: Processing buffer {"connection_id":105898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9592e68012d16184006d69198001501362b..."} 
[2026-06-18 11:42:06] local.INFO: Packet analysis {"connection_id":105898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed959"} 
[2026-06-18 11:42:06] local.INFO: Extracted packet for processing {"connection_id":105898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed959"} 
[2026-06-18 11:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756422720,"raw_latitude":114725272,"longitude_deg":75.642272,"latitude_deg":11.4725272,"altitude":21,"angle":310,"satellites":43,"speed":34,"hex_longitude":"2d161840","hex_latitude":"06d69198","is_valid_coordinates":true} 
[2026-06-18 11:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131314944001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318224254493523968,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1600326009456596992,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781762961000,"timestamp_ms":1781762961000,"timestamp_seconds":1781762961,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9592e68"} 
[2026-06-18 11:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:42: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-06-18 11:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 11:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131314944001,"66":27800,"193":206,"2":56576,"24":34,"16":318224254493523968,"45":1600326009456596992},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-06-18 11:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131314944001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:42:06] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-18 11:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318224254493523968,"km_value":318224254493523.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1600326009456596992,"description":"Unknown IO ID 45"} 
[2026-06-18 11:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131314944001,"power":27800,"unknown_193":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":1600326009456596992}} 
[2026-06-18 11:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":105898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:42:06] local.INFO: GPS data processed {"connection_id":105898,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:42:06] local.INFO: Acknowledgment sent {"connection_id":105898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:42:26] local.INFO: TCP Data received {"connection_id":107439,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:26] local.INFO: Processing buffer {"connection_id":107439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:26] local.INFO: IMEI packet received {"connection_id":107439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":107439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:42:27] local.INFO: TCP Data received {"connection_id":107439,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:27] local.INFO: Processing buffer {"connection_id":107439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:27] local.INFO: IMEI packet received {"connection_id":107439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":107439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:42:30] local.INFO: TCP Data received {"connection_id":107439,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:30] local.INFO: Processing buffer {"connection_id":107439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:42:30] local.INFO: IMEI packet received {"connection_id":107439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":107439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:42:32] local.INFO: TCP Data received {"connection_id":107439,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed95af770012d1554c006d73870000e013d25..."} 
[2026-06-18 11:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed95af770012d1554c006d73870000e013d25..."} 
[2026-06-18 11:42:32] local.INFO: Processing buffer {"connection_id":107439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed95af770012d1554c006d73870000e013d25..."} 
[2026-06-18 11:42:32] local.INFO: Packet analysis {"connection_id":107439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed95a"} 
[2026-06-18 11:42:32] local.INFO: Extracted packet for processing {"connection_id":107439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed95a"} 
[2026-06-18 11:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756372672,"raw_latitude":114767984,"longitude_deg":75.6372672,"latitude_deg":11.4767984,"altitude":14,"angle":317,"satellites":37,"speed":15,"hex_longitude":"2d1554c0","hex_latitude":"06d73870","is_valid_coordinates":true} 
[2026-06-18 11:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131343616001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318227488603897856,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1543960645380966400,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781763078000,"timestamp_ms":1781763078000,"timestamp_seconds":1781763078,"priority":1,"record_length":96,"hex_timestamp":"0000019ed95af770"} 
[2026-06-18 11:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:42: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-06-18 11:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131343616001,"66":27908,"193":206,"2":56576,"24":15,"16":318227488603897856,"45":1543960645380966400},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-06-18 11:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131343616001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:42:32] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-18 11:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318227488603897856,"km_value":318227488603897.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1543960645380966400,"description":"Unknown IO ID 45"} 
[2026-06-18 11:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131343616001,"power":27908,"unknown_193":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":1543960645380966400}} 
[2026-06-18 11:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":107439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:42:32] local.INFO: GPS data processed {"connection_id":107439,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:42:32] local.INFO: Acknowledgment sent {"connection_id":107439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:42:37] local.INFO: TCP Data received {"connection_id":107439,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed95b35f0012d153c4006d752e8000e013d2d..."} 
[2026-06-18 11:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed95b35f0012d153c4006d752e8000e013d2d..."} 
[2026-06-18 11:42:37] local.INFO: Processing buffer {"connection_id":107439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed95b35f0012d153c4006d752e8000e013d2d..."} 
[2026-06-18 11:42:37] local.INFO: Packet analysis {"connection_id":107439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed95b"} 
[2026-06-18 11:42:37] local.INFO: Extracted packet for processing {"connection_id":107439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed95b"} 
[2026-06-18 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756366400,"raw_latitude":114774760,"longitude_deg":75.63664,"latitude_deg":11.477476,"altitude":14,"angle":317,"satellites":45,"speed":29,"hex_longitude":"2d153c40","hex_latitude":"06d752e8","is_valid_coordinates":true} 
[2026-06-18 11:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131347968001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318227930985529344,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1537064508453318656,"note":"Value kept but may cause issues"} 
[2026-06-18 11:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781763094000,"timestamp_ms":1781763094000,"timestamp_seconds":1781763094,"priority":1,"record_length":96,"hex_timestamp":"0000019ed95b35f0"} 
[2026-06-18 11:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131347968001,"66":27908,"193":206,"2":56576,"24":29,"16":318227930985529344,"45":1537064508453318656},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16,45]} 
[2026-06-18 11:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131347968001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:42:37] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-06-18 11:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318227930985529344,"km_value":318227930985529.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1537064508453318656,"description":"Unknown IO ID 45"} 
[2026-06-18 11:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131347968001,"power":27908,"unknown_193":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":1537064508453318656}} 
[2026-06-18 11:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":107439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:42:37] local.INFO: GPS data processed {"connection_id":107439,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:42:37] local.INFO: Acknowledgment sent {"connection_id":107439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:43:38] local.INFO: TCP Data received {"connection_id":106474,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:43:38] local.INFO: Processing buffer {"connection_id":106474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:43:38] local.INFO: IMEI packet received {"connection_id":106474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":106474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:43:42] local.INFO: TCP Data received {"connection_id":106474,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:43:42] local.INFO: Processing buffer {"connection_id":106474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:43:42] local.INFO: IMEI packet received {"connection_id":106474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":106474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:43:48] local.INFO: TCP Data received {"connection_id":106474,"ip":"117.224.95.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 11:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106474,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 11:43:48] local.INFO: Processing buffer {"connection_id":106474,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 11:43:48] local.INFO: IMEI packet received {"connection_id":106474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":106474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:46:57] local.INFO: TCP Data received {"connection_id":107441,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:46:57] local.INFO: Processing buffer {"connection_id":107441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:46:57] local.INFO: IMEI packet received {"connection_id":107441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":107441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:46:58] local.INFO: TCP Data received {"connection_id":107441,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed95f0298012d18f2c00722f6c8005a010223..."} 
[2026-06-18 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed95f0298012d18f2c00722f6c8005a010223..."} 
[2026-06-18 11:46:58] local.INFO: Processing buffer {"connection_id":107441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed95f0298012d18f2c00722f6c8005a010223..."} 
[2026-06-18 11:46:58] local.INFO: Packet analysis {"connection_id":107441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed95f"} 
[2026-06-18 11:46:58] local.INFO: Extracted packet for processing {"connection_id":107441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed95f"} 
[2026-06-18 11:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756609728,"raw_latitude":119731912,"longitude_deg":75.6609728,"latitude_deg":11.9731912,"altitude":90,"angle":258,"satellites":35,"speed":29,"hex_longitude":"2d18f2c0","hex_latitude":"0722f6c8","is_valid_coordinates":true} 
[2026-06-18 11:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131415296001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3327753545842688,"note":"Value kept but may cause issues"} 
[2026-06-18 11:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799328819274369024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781763343000,"timestamp_ms":1781763343000,"timestamp_seconds":1781763343,"priority":1,"record_length":96,"hex_timestamp":"0000019ed95f0298"} 
[2026-06-18 11:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-18 11:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131415296001,"66":14026,"112":206,"28":31744,"24":29,"16":3327753545842688,"45":1799328819274369024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-06-18 11:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131415296001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:46:58] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-06-18 11:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3327753545842688,"km_value":3327753545842.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799328819274369024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131415296001,"power":14026,"unknown_112":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1799328819274369024}} 
[2026-06-18 11:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":107441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:46:58] local.INFO: GPS data processed {"connection_id":107441,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:46:58] local.INFO: Acknowledgment sent {"connection_id":107441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:47:04] local.INFO: TCP Data received {"connection_id":105900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:47:04] local.INFO: Processing buffer {"connection_id":105900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:47:04] local.INFO: IMEI packet received {"connection_id":105900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":105900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:47:33] local.INFO: TCP Data received {"connection_id":105714,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:47:33] local.INFO: Processing buffer {"connection_id":105714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:47:33] local.INFO: IMEI packet received {"connection_id":105714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":105714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:47:36] local.INFO: TCP Data received {"connection_id":105901,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:47:36] local.INFO: Processing buffer {"connection_id":105901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:47:36] local.INFO: IMEI packet received {"connection_id":105901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":105901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:47:38] local.INFO: TCP Data received {"connection_id":105901,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:47:38] local.INFO: Processing buffer {"connection_id":105901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:47:38] local.INFO: IMEI packet received {"connection_id":105901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":105901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:47:41] local.INFO: TCP Data received {"connection_id":105901,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed95fc9d0012d18a2000722c0b0006a00b32a..."} 
[2026-06-18 11:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed95fc9d0012d18a2000722c0b0006a00b32a..."} 
[2026-06-18 11:47:41] local.INFO: Processing buffer {"connection_id":105901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed95fc9d0012d18a2000722c0b0006a00b32a..."} 
[2026-06-18 11:47:41] local.INFO: Packet analysis {"connection_id":105901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed95f"} 
[2026-06-18 11:47:41] local.INFO: Extracted packet for processing {"connection_id":105901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed95f"} 
[2026-06-18 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":756589056,"raw_latitude":119718064,"longitude_deg":75.6589056,"latitude_deg":11.9718064,"altitude":106,"angle":179,"satellites":42,"speed":8,"hex_longitude":"2d18a200","hex_latitude":"0722c0b0","is_valid_coordinates":true} 
[2026-06-18 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131427328001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329291144134656,"note":"Value kept but may cause issues"} 
[2026-06-18 11:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446250792960,"note":"Value kept but may cause issues"} 
[2026-06-18 11:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781763394000,"timestamp_ms":1781763394000,"timestamp_seconds":1781763394,"priority":1,"record_length":96,"hex_timestamp":"0000019ed95fc9d0"} 
[2026-06-18 11:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-18 11:47:41] 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-06-18 11:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131427328001,"66":14515,"120":206,"28":31744,"24":8,"16":3329291144134656,"45":1775403446250792960},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131427328001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:47:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:47:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329291144134656,"km_value":3329291144134.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446250792960,"description":"Unknown IO ID 45"} 
[2026-06-18 11:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131427328001,"power":14515,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1775403446250792960}} 
[2026-06-18 11:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":105901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:47:42] local.INFO: GPS data processed {"connection_id":105901,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:47:42] local.INFO: Acknowledgment sent {"connection_id":105901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:48:13] local.INFO: TCP Data received {"connection_id":105901,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed95fdd58012d18a2c00722bb10006b00a72a..."} 
[2026-06-18 11:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed95fdd58012d18a2c00722bb10006b00a72a..."} 
[2026-06-18 11:48:13] local.INFO: Processing buffer {"connection_id":105901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed95fdd58012d18a2c00722bb10006b00a72a..."} 
[2026-06-18 11:48:13] local.INFO: Packet analysis {"connection_id":105901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed95f"} 
[2026-06-18 11:48:13] local.INFO: Extracted packet for processing {"connection_id":105901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed95f"} 
[2026-06-18 11:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756589248,"raw_latitude":119716624,"longitude_deg":75.6589248,"latitude_deg":11.9716624,"altitude":107,"angle":167,"satellites":42,"speed":18,"hex_longitude":"2d18a2c0","hex_latitude":"0722bb10","is_valid_coordinates":true} 
[2026-06-18 11:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131428864001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329364158578688,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774981233785221120,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781763399000,"timestamp_ms":1781763399000,"timestamp_seconds":1781763399,"priority":1,"record_length":96,"hex_timestamp":"0000019ed95fdd58"} 
[2026-06-18 11:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 11:48:13] 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-06-18 11:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131428864001,"66":13928,"120":206,"28":31744,"24":18,"16":3329364158578688,"45":1774981233785221120},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131428864001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:48:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:48:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329364158578688,"km_value":3329364158578.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774981233785221120,"description":"Unknown IO ID 45"} 
[2026-06-18 11:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131428864001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1774981233785221120}} 
[2026-06-18 11:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":105901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:48:13] local.INFO: GPS data processed {"connection_id":105901,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:48:13] local.INFO: Acknowledgment sent {"connection_id":105901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:48:36] local.INFO: TCP Data received {"connection_id":106477,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:48:36] local.INFO: Processing buffer {"connection_id":106477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:48:36] local.INFO: IMEI packet received {"connection_id":106477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:48:36] local.INFO: IMEI acknowledgment sent {"connection_id":106477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:48:40] local.INFO: TCP Data received {"connection_id":106477,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106477,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:48:40] local.INFO: Processing buffer {"connection_id":106477,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:48:40] local.INFO: IMEI packet received {"connection_id":106477,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":106477,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:48:42] local.INFO: TCP Data received {"connection_id":106477,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9602f60012d18a88007229f10006f00ac2b..."} 
[2026-06-18 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9602f60012d18a88007229f10006f00ac2b..."} 
[2026-06-18 11:48:42] local.INFO: Processing buffer {"connection_id":106477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9602f60012d18a88007229f10006f00ac2b..."} 
[2026-06-18 11:48:42] local.INFO: Packet analysis {"connection_id":106477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:48:42] local.INFO: Extracted packet for processing {"connection_id":106477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:48:42] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119709456,"longitude_deg":75.659072,"latitude_deg":11.9709456,"altitude":111,"angle":172,"satellites":43,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"07229f10","is_valid_coordinates":true} 
[2026-06-18 11:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131430144001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329720640864256,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775192340017385472,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781763420000,"timestamp_ms":1781763420000,"timestamp_seconds":1781763420,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9602f60"} 
[2026-06-18 11:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 11:48:42] 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-06-18 11:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131430144001,"66":14428,"120":206,"28":31744,"24":0,"16":3329720640864256,"45":1775192340017385472},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131430144001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:48:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:48:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329720640864256,"km_value":3329720640864.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775192340017385472,"description":"Unknown IO ID 45"} 
[2026-06-18 11:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131430144001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1775192340017385472}} 
[2026-06-18 11:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":106477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:48:42] local.INFO: GPS data processed {"connection_id":106477,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:48:42] local.INFO: Acknowledgment sent {"connection_id":106477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:48:42] local.INFO: TCP Data received {"connection_id":107442,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:48:42] local.INFO: Processing buffer {"connection_id":107442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:48:42] local.INFO: IMEI packet received {"connection_id":107442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":107442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:48:43] local.INFO: TCP Data received {"connection_id":107442,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed960a490012d129d8006dd62e8000d014b2b..."} 
[2026-06-18 11:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed960a490012d129d8006dd62e8000d014b2b..."} 
[2026-06-18 11:48:43] local.INFO: Processing buffer {"connection_id":107442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed960a490012d129d8006dd62e8000d014b2b..."} 
[2026-06-18 11:48:43] local.INFO: Packet analysis {"connection_id":107442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:48:43] local.INFO: Extracted packet for processing {"connection_id":107442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":756194688,"raw_latitude":115172072,"longitude_deg":75.6194688,"latitude_deg":11.5172072,"altitude":13,"angle":331,"satellites":43,"speed":55,"hex_longitude":"2d129d80","hex_latitude":"06dd62e8","is_valid_coordinates":true} 
[2026-06-18 11:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131441408001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318249478836453376,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1346154105600731136,"note":"Value kept but may cause issues"} 
[2026-06-18 11:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781763450000,"timestamp_ms":1781763450000,"timestamp_seconds":1781763450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed960a490"} 
[2026-06-18 11:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 11:48:43] 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-06-18 11:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131441408001,"66":27865,"129":206,"2":56576,"24":55,"16":318249478836453376,"45":1346154105600731136},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-18 11:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131441408001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:48:43] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-18 11:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318249478836453376,"km_value":318249478836453.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1346154105600731136,"description":"Unknown IO ID 45"} 
[2026-06-18 11:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131441408001,"power":27865,"unknown_129":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1346154105600731136}} 
[2026-06-18 11:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":107442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:48:43] local.INFO: GPS data processed {"connection_id":107442,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:48:43] local.INFO: Acknowledgment sent {"connection_id":107442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:49:16] local.INFO: TCP Data received {"connection_id":106477,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9607998012d18a7c007229c48006e00fe2a..."} 
[2026-06-18 11:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9607998012d18a7c007229c48006e00fe2a..."} 
[2026-06-18 11:49:16] local.INFO: Processing buffer {"connection_id":106477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9607998012d18a7c007229c48006e00fe2a..."} 
[2026-06-18 11:49:16] local.INFO: Packet analysis {"connection_id":106477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:49:16] local.INFO: Extracted packet for processing {"connection_id":106477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:49:16] local.INFO: GPS Element Parsed {"raw_longitude":756590528,"raw_latitude":119708744,"longitude_deg":75.6590528,"latitude_deg":11.9708744,"altitude":110,"angle":254,"satellites":42,"speed":8,"hex_longitude":"2d18a7c0","hex_latitude":"07229c48","is_valid_coordinates":true} 
[2026-06-18 11:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131435520001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329759295569920,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821131636736,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781763439000,"timestamp_ms":1781763439000,"timestamp_seconds":1781763439,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9607998"} 
[2026-06-18 11:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:49:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:49:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 11:49:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:49:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106477,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131435520001,"66":13341,"120":206,"28":31744,"24":8,"16":3329759295569920,"45":1776810821131636736},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131435520001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:49:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:49:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329759295569920,"km_value":3329759295569.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:49:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821131636736,"description":"Unknown IO ID 45"} 
[2026-06-18 11:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131435520001,"power":13341,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1776810821131636736}} 
[2026-06-18 11:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":106477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:49:16] local.INFO: GPS data processed {"connection_id":106477,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:49:16] local.INFO: Acknowledgment sent {"connection_id":106477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:49:30] local.INFO: TCP Data received {"connection_id":105715,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:49:30] local.INFO: Processing buffer {"connection_id":105715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:49:30] local.INFO: IMEI packet received {"connection_id":105715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":105715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:49:32] local.INFO: TCP Data received {"connection_id":105715,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:49:32] local.INFO: Processing buffer {"connection_id":105715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:49:32] local.INFO: IMEI packet received {"connection_id":105715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":105715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:49:33] local.INFO: TCP Data received {"connection_id":105715,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed960bc00012d128c8006dd8180000b014b2b..."} 
[2026-06-18 11:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed960bc00012d128c8006dd8180000b014b2b..."} 
[2026-06-18 11:49:33] local.INFO: Processing buffer {"connection_id":105715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed960bc00012d128c8006dd8180000b014b2b..."} 
[2026-06-18 11:49:33] local.INFO: Packet analysis {"connection_id":105715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:49:33] local.INFO: Extracted packet for processing {"connection_id":105715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":756190336,"raw_latitude":115179904,"longitude_deg":75.6190336,"latitude_deg":11.5179904,"altitude":11,"angle":331,"satellites":43,"speed":62,"hex_longitude":"2d128c80","hex_latitude":"06dd8180","is_valid_coordinates":true} 
[2026-06-18 11:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131443200001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318249912628150272,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1341369030998681600,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 11:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781763456000,"timestamp_ms":1781763456000,"timestamp_seconds":1781763456,"priority":1,"record_length":96,"hex_timestamp":"0000019ed960bc00"} 
[2026-06-18 11:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131443200001,"66":27745,"2":56576,"24":62,"16":318249912628150272,"45":1341369030998681600},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-06-18 11:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131443200001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318249912628150272,"km_value":318249912628150.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1341369030998681600,"description":"Unknown IO ID 45"} 
[2026-06-18 11:49:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456131443200001,"power":27745,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":1341369030998681600}} 
[2026-06-18 11:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":105715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:49:33] local.INFO: GPS data processed {"connection_id":105715,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:49:33] local.INFO: Acknowledgment sent {"connection_id":105715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:49:35] local.INFO: TCP Data received {"connection_id":105715,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed960d370012d127ac006dda1d00008014d2b..."} 
[2026-06-18 11:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed960d370012d127ac006dda1d00008014d2b..."} 
[2026-06-18 11:49:35] local.INFO: Processing buffer {"connection_id":105715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed960d370012d127ac006dda1d00008014d2b..."} 
[2026-06-18 11:49:35] local.INFO: Packet analysis {"connection_id":105715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:49:35] local.INFO: Extracted packet for processing {"connection_id":105715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:49:35] local.INFO: GPS Element Parsed {"raw_longitude":756185792,"raw_latitude":115188176,"longitude_deg":75.6185792,"latitude_deg":11.5188176,"altitude":8,"angle":333,"satellites":43,"speed":62,"hex_longitude":"2d127ac0","hex_latitude":"06dda1d0","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:49:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131444736001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318250367894683648,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1336583956396605440,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 11:49:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781763462000,"timestamp_ms":1781763462000,"timestamp_seconds":1781763462,"priority":1,"record_length":96,"hex_timestamp":"0000019ed960d370"} 
[2026-06-18 11:49:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:49:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11: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-06-18 11: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-06-18 11:49:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:49:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:49:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:49:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:49:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:49:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:49:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:49:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:49:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131444736001,"66":27745,"2":56576,"24":62,"16":318250367894683648,"45":1336583956396605440},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-06-18 11:49:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:49:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:49:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131444736001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:49:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318250367894683648,"km_value":318250367894683.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:49:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1336583956396605440,"description":"Unknown IO ID 45"} 
[2026-06-18 11:49:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456131444736001,"power":27745,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":1336583956396605440}} 
[2026-06-18 11:49:36] local.INFO: DEBUG: GPS processor result {"connection_id":105715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:49:36] local.INFO: GPS data processed {"connection_id":105715,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:49:36] local.INFO: Acknowledgment sent {"connection_id":105715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:49:36] local.INFO: TCP Data received {"connection_id":105717,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:49:36] local.INFO: Processing buffer {"connection_id":105717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:49:36] local.INFO: IMEI packet received {"connection_id":105717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":105717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:49:41] local.INFO: TCP Data received {"connection_id":105717,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:49:41] local.INFO: Processing buffer {"connection_id":105717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:49:41] local.INFO: IMEI packet received {"connection_id":105717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":105717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:49:43] local.INFO: TCP Data received {"connection_id":105717,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9607d80012d18a6c007229c40006e01192b..."} 
[2026-06-18 11:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9607d80012d18a6c007229c40006e01192b..."} 
[2026-06-18 11:49:43] local.INFO: Processing buffer {"connection_id":105717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9607d80012d18a6c007229c40006e01192b..."} 
[2026-06-18 11:49:43] local.INFO: Packet analysis {"connection_id":105717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:49:43] local.INFO: Extracted packet for processing {"connection_id":105717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756590272,"raw_latitude":119708736,"longitude_deg":75.6590272,"latitude_deg":11.9708736,"altitude":110,"angle":281,"satellites":43,"speed":8,"hex_longitude":"2d18a6c0","hex_latitude":"07229c40","is_valid_coordinates":true} 
[2026-06-18 11:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131440384001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329772180471808,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776599714898921472,"note":"Value kept but may cause issues"} 
[2026-06-18 11:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781763440000,"timestamp_ms":1781763440000,"timestamp_seconds":1781763440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9607d80"} 
[2026-06-18 11:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:49:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 11:49:43] 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-06-18 11:49:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131440384001,"66":13341,"120":206,"28":31744,"24":8,"16":3329772180471808,"45":1776599714898921472},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131440384001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:49:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:49:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329772180471808,"km_value":3329772180471.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776599714898921472,"description":"Unknown IO ID 45"} 
[2026-06-18 11:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131440384001,"power":13341,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1776599714898921472}} 
[2026-06-18 11:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":105717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:49:43] local.INFO: GPS data processed {"connection_id":105717,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:49:43] local.INFO: Acknowledgment sent {"connection_id":105717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:50:08] local.INFO: TCP Data received {"connection_id":105715,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9623eb8012d121f8006df35a80006015b2d..."} 
[2026-06-18 11:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9623eb8012d121f8006df35a80006015b2d..."} 
[2026-06-18 11:50:08] local.INFO: Processing buffer {"connection_id":105715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9623eb8012d121f8006df35a80006015b2d..."} 
[2026-06-18 11:50:08] local.INFO: Packet analysis {"connection_id":105715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:50:08] local.INFO: Extracted packet for processing {"connection_id":105715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":756162432,"raw_latitude":115291560,"longitude_deg":75.6162432,"latitude_deg":11.529156,"altitude":6,"angle":347,"satellites":45,"speed":61,"hex_longitude":"2d121f80","hex_latitude":"06df35a8","is_valid_coordinates":true} 
[2026-06-18 11:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131468544001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318255526150406144,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1307873508798441472,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 11:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781763555000,"timestamp_ms":1781763555000,"timestamp_seconds":1781763555,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9623eb8"} 
[2026-06-18 11:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 11:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131468544001,"66":27919,"2":56576,"24":61,"16":318255526150406144,"45":1307873508798441472},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-06-18 11:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131468544001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318255526150406144,"km_value":318255526150406.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1307873508798441472,"description":"Unknown IO ID 45"} 
[2026-06-18 11:50:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456131468544001,"power":27919,"power_alt":56576,"ignition":61,"odometer":null,"unknown_45":1307873508798441472}} 
[2026-06-18 11:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":105715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:50:08] local.INFO: GPS data processed {"connection_id":105715,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:50:08] local.INFO: Acknowledgment sent {"connection_id":105715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:50:14] local.INFO: TCP Data received {"connection_id":105717,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9608168012d18a5c007229c90006e01292b..."} 
[2026-06-18 11:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9608168012d18a5c007229c90006e01292b..."} 
[2026-06-18 11:50:14] local.INFO: Processing buffer {"connection_id":105717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9608168012d18a5c007229c90006e01292b..."} 
[2026-06-18 11:50:14] local.INFO: Packet analysis {"connection_id":105717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:50:14] local.INFO: Extracted packet for processing {"connection_id":105717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756590016,"raw_latitude":119708816,"longitude_deg":75.6590016,"latitude_deg":11.9708816,"altitude":110,"angle":297,"satellites":43,"speed":8,"hex_longitude":"2d18a5c0","hex_latitude":"07229c90","is_valid_coordinates":true} 
[2026-06-18 11:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131440640001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329785065373696,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776318239922208768,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781763441000,"timestamp_ms":1781763441000,"timestamp_seconds":1781763441,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9608168"} 
[2026-06-18 11:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 11:50:14] 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-06-18 11:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131440640001,"66":12765,"120":206,"28":31744,"24":8,"16":3329785065373696,"45":1776318239922208768},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131440640001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:50:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:50:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329785065373696,"km_value":3329785065373.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776318239922208768,"description":"Unknown IO ID 45"} 
[2026-06-18 11:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131440640001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1776318239922208768}} 
[2026-06-18 11:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":105717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:50:14] local.INFO: GPS data processed {"connection_id":105717,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:50:14] local.INFO: Acknowledgment sent {"connection_id":105717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:50:25] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:25] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:25] local.INFO: IMEI packet received {"connection_id":106478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":106478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:50:25] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:25] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:25] local.INFO: IMEI packet received {"connection_id":106478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":106478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:50:30] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:30] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:50:30] local.INFO: IMEI packet received {"connection_id":106478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":106478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:50:32] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9625628012d12178006df57e80007015a2d..."} 
[2026-06-18 11:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9625628012d12178006df57e80007015a2d..."} 
[2026-06-18 11:50:32] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9625628012d12178006df57e80007015a2d..."} 
[2026-06-18 11:50:32] local.INFO: Packet analysis {"connection_id":106478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:50:32] local.INFO: Extracted packet for processing {"connection_id":106478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756160384,"raw_latitude":115300328,"longitude_deg":75.6160384,"latitude_deg":11.5300328,"altitude":7,"angle":346,"satellites":45,"speed":58,"hex_longitude":"2d121780","hex_latitude":"06df57e8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131470080001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318255964237070336,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1305903183963727872,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 11:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781763561000,"timestamp_ms":1781763561000,"timestamp_seconds":1781763561,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9625628"} 
[2026-06-18 11:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:50: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-06-18 11: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-06-18 11:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131470080001,"66":27919,"2":56576,"24":58,"16":318255964237070336,"45":1305903183963727872},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-06-18 11:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131470080001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318255964237070336,"km_value":318255964237070.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1305903183963727872,"description":"Unknown IO ID 45"} 
[2026-06-18 11:50:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456131470080001,"power":27919,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1305903183963727872}} 
[2026-06-18 11:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":106478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:50:32] local.INFO: GPS data processed {"connection_id":106478,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:50:32] local.INFO: Acknowledgment sent {"connection_id":106478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:50:33] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9627180012d120f0006df7d880008015d2e..."} 
[2026-06-18 11:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9627180012d120f0006df7d880008015d2e..."} 
[2026-06-18 11:50:33] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9627180012d120f0006df7d880008015d2e..."} 
[2026-06-18 11:50:33] local.INFO: Packet analysis {"connection_id":106478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:50:33] local.INFO: Extracted packet for processing {"connection_id":106478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:50:33] local.INFO: GPS Element Parsed {"raw_longitude":756158208,"raw_latitude":115309960,"longitude_deg":75.6158208,"latitude_deg":11.530996,"altitude":8,"angle":349,"satellites":46,"speed":55,"hex_longitude":"2d120f00","hex_latitude":"06df7d88","is_valid_coordinates":true} 
[2026-06-18 11:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131471616001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318256440978440192,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1303651384152287232,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781763568000,"timestamp_ms":1781763568000,"timestamp_seconds":1781763568,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9627180"} 
[2026-06-18 11:50:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11: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-06-18 11:50:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:50:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:50:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:50:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131471616001,"66":27930,"1":206,"2":56576,"24":55,"16":318256440978440192,"45":1303651384152287232},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-18 11:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131471616001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318256440978440192,"km_value":318256440978440.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1303651384152287232,"description":"Unknown IO ID 45"} 
[2026-06-18 11:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131471616001,"power":27930,"imei":206,"power_alt":56576,"ignition":55,"odometer":null,"unknown_45":1303651384152287232}} 
[2026-06-18 11:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":106478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:50:33] local.INFO: GPS data processed {"connection_id":106478,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:50:33] local.INFO: Acknowledgment sent {"connection_id":106478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:50:41] local.INFO: TCP Data received {"connection_id":105903,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:50:41] local.INFO: Processing buffer {"connection_id":105903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:50:41] local.INFO: IMEI packet received {"connection_id":105903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":105903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:50:47] local.INFO: TCP Data received {"connection_id":105903,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:50:47] local.INFO: Processing buffer {"connection_id":105903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:50:47] local.INFO: IMEI packet received {"connection_id":105903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":105903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:50:51] local.INFO: TCP Data received {"connection_id":105903,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9608d20012d18a3c007229d70006e01182b..."} 
[2026-06-18 11:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9608d20012d18a3c007229d70006e01182b..."} 
[2026-06-18 11:50:51] local.INFO: Processing buffer {"connection_id":105903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9608d20012d18a3c007229d70006e01182b..."} 
[2026-06-18 11:50:51] local.INFO: Packet analysis {"connection_id":105903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:50:51] local.INFO: Extracted packet for processing {"connection_id":105903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119709040,"longitude_deg":75.6589504,"latitude_deg":11.970904,"altitude":110,"angle":280,"satellites":43,"speed":9,"hex_longitude":"2d18a3c0","hex_latitude":"07229d70","is_valid_coordinates":true} 
[2026-06-18 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131440896001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329810835177472,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764945518592,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781763444000,"timestamp_ms":1781763444000,"timestamp_seconds":1781763444,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9608d20"} 
[2026-06-18 11:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 11:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131440896001,"66":13330,"120":206,"28":31744,"24":9,"16":3329810835177472,"45":1776036764945518592},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131440896001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:50:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329810835177472,"km_value":3329810835177.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764945518592,"description":"Unknown IO ID 45"} 
[2026-06-18 11:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131440896001,"power":13330,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1776036764945518592}} 
[2026-06-18 11:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":105903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:50:51] local.INFO: GPS data processed {"connection_id":105903,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:50:51] local.INFO: Acknowledgment sent {"connection_id":105903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:50:53] local.INFO: TCP Data received {"connection_id":105903,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed960a0a8012d189f4007229dd0006e010a2a..."} 
[2026-06-18 11:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed960a0a8012d189f4007229dd0006e010a2a..."} 
[2026-06-18 11:50:53] local.INFO: Processing buffer {"connection_id":105903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed960a0a8012d189f4007229dd0006e010a2a..."} 
[2026-06-18 11:50:53] local.INFO: Packet analysis {"connection_id":105903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:50:53] local.INFO: Extracted packet for processing {"connection_id":105903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed960"} 
[2026-06-18 11:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756588352,"raw_latitude":119709136,"longitude_deg":75.6588352,"latitude_deg":11.9709136,"altitude":110,"angle":266,"satellites":42,"speed":6,"hex_longitude":"2d189f40","hex_latitude":"07229dd0","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131441664001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329866669752320,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814992154624,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781763449000,"timestamp_ms":1781763449000,"timestamp_seconds":1781763449,"priority":1,"record_length":96,"hex_timestamp":"0000019ed960a0a8"} 
[2026-06-18 11:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:50:53] 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-06-18 11: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3646933456,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249541195069841320,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-4005951426151634432,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221693115,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3557425152,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":179,"raw_value":57956872821283964,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":95,"raw_value":-5593469443995631609,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":19,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 11:50:53] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,212,129,45,192,156,110,43,10,66,125,121,1,240,29,217,34,4,113,205,221,162,42,239,54,2,11,7,106,8,179,95,19,231,58],"length":626,"final_offset":756,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 11:50:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7926643392112033792,"timestamp_seconds":7926643392112034.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 11:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":105903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":105903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":105903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131441664001,"66":13330,"120":206,"28":31744,"24":6,"16":3329866669752320,"45":1775473814992154624},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131441664001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:50:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:50:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329866669752320,"km_value":3329866669752.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814992154624,"description":"Unknown IO ID 45"} 
[2026-06-18 11:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131441664001,"power":13330,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1775473814992154624}} 
[2026-06-18 11:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":105903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:50:53] local.INFO: GPS data processed {"connection_id":105903,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:50:53] local.INFO: Acknowledgment sent {"connection_id":105903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:51:05] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9628cd8012d12080006dfa4d00009015f2c..."} 
[2026-06-18 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9628cd8012d12080006dfa4d00009015f2c..."} 
[2026-06-18 11:51:05] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9628cd8012d12080006dfa4d00009015f2c..."} 
[2026-06-18 11:51:05] local.INFO: Packet analysis {"connection_id":106478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:51:05] local.INFO: Extracted packet for processing {"connection_id":106478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:51:05] local.INFO: GPS Element Parsed {"raw_longitude":756156416,"raw_latitude":115320016,"longitude_deg":75.6156416,"latitude_deg":11.5320016,"altitude":9,"angle":351,"satellites":44,"speed":60,"hex_longitude":"2d120800","hex_latitude":"06dfa4d0","is_valid_coordinates":true} 
[2026-06-18 11:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131473408001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318256939194646528,"note":"Value kept but may cause issues"} 
[2026-06-18 11:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1301258846852712448,"note":"Value kept but may cause issues"} 
[2026-06-18 11:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781763575000,"timestamp_ms":1781763575000,"timestamp_seconds":1781763575,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9628cd8"} 
[2026-06-18 11:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 11:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131473408001,"66":27919,"1":206,"2":56576,"24":60,"16":318256939194646528,"45":1301258846852712448},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-18 11:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131473408001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318256939194646528,"km_value":318256939194646.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1301258846852712448,"description":"Unknown IO ID 45"} 
[2026-06-18 11:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131473408001,"power":27919,"imei":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1301258846852712448}} 
[2026-06-18 11:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":106478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:51:05] local.INFO: GPS data processed {"connection_id":106478,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:51:05] local.INFO: Acknowledgment sent {"connection_id":106478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:51:25] local.INFO: TCP Data received {"connection_id":105904,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:25] local.INFO: Processing buffer {"connection_id":105904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:25] local.INFO: IMEI packet received {"connection_id":105904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":105904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:51:26] local.INFO: TCP Data received {"connection_id":105904,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:26] local.INFO: Processing buffer {"connection_id":105904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:26] local.INFO: IMEI packet received {"connection_id":105904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":105904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:51:30] local.INFO: TCP Data received {"connection_id":105904,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:30] local.INFO: Processing buffer {"connection_id":105904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:51:30] local.INFO: IMEI packet received {"connection_id":105904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":105904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:51:32] local.INFO: TCP Data received {"connection_id":105904,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed962a448012d1202c006dfc8400009015f2e..."} 
[2026-06-18 11:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed962a448012d1202c006dfc8400009015f2e..."} 
[2026-06-18 11:51:32] local.INFO: Processing buffer {"connection_id":105904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed962a448012d1202c006dfc8400009015f2e..."} 
[2026-06-18 11:51:32] local.INFO: Packet analysis {"connection_id":105904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:51:32] local.INFO: Extracted packet for processing {"connection_id":105904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed962"} 
[2026-06-18 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":756155072,"raw_latitude":115329088,"longitude_deg":75.6155072,"latitude_deg":11.5329088,"altitude":9,"angle":351,"satellites":46,"speed":60,"hex_longitude":"2d1202c0","hex_latitude":"06dfc840","is_valid_coordinates":true} 
[2026-06-18 11:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131475200001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318257381576278016,"note":"Value kept but may cause issues"} 
[2026-06-18 11:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1299288522018312192,"note":"Value kept but may cause issues"} 
[2026-06-18 11:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781763581000,"timestamp_ms":1781763581000,"timestamp_seconds":1781763581,"priority":1,"record_length":96,"hex_timestamp":"0000019ed962a448"} 
[2026-06-18 11:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:51: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-06-18 11:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131475200001,"66":28028,"1":206,"2":56576,"24":60,"16":318257381576278016,"45":1299288522018312192},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,2,24,16,45]} 
[2026-06-18 11:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131475200001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318257381576278016,"km_value":318257381576278.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1299288522018312192,"description":"Unknown IO ID 45"} 
[2026-06-18 11:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131475200001,"power":28028,"imei":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1299288522018312192}} 
[2026-06-18 11:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":105904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:51:32] local.INFO: GPS data processed {"connection_id":105904,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:51:32] local.INFO: Acknowledgment sent {"connection_id":105904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:51:44] local.INFO: TCP Data received {"connection_id":106480,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:51:44] local.INFO: Processing buffer {"connection_id":106480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:51:44] local.INFO: IMEI packet received {"connection_id":106480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":106480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:51:52] local.INFO: TCP Data received {"connection_id":106480,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:51:52] local.INFO: Processing buffer {"connection_id":106480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:51:52] local.INFO: IMEI packet received {"connection_id":106480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":106480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:51:53] local.INFO: TCP Data received {"connection_id":106480,"ip":"117.224.70.101","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106480,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:51:53] local.INFO: Processing buffer {"connection_id":106480,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 11:51:53] local.INFO: IMEI packet received {"connection_id":106480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":106480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:52:05] local.INFO: TCP Data received {"connection_id":105904,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96407c0012d11848006e1cdd00007015e2c..."} 
[2026-06-18 11:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96407c0012d11848006e1cdd00007015e2c..."} 
[2026-06-18 11:52:05] local.INFO: Processing buffer {"connection_id":105904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96407c0012d11848006e1cdd00007015e2c..."} 
[2026-06-18 11:52:05] local.INFO: Packet analysis {"connection_id":105904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed964"} 
[2026-06-18 11:52:05] local.INFO: Extracted packet for processing {"connection_id":105904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed964"} 
[2026-06-18 11:52:05] local.INFO: GPS Element Parsed {"raw_longitude":756122752,"raw_latitude":115461584,"longitude_deg":75.6122752,"latitude_deg":11.5461584,"altitude":7,"angle":350,"satellites":44,"speed":59,"hex_longitude":"2d118480","hex_latitude":"06e1cdd0","is_valid_coordinates":true} 
[2026-06-18 11:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131498496001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318264013005783040,"note":"Value kept but may cause issues"} 
[2026-06-18 11:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263752306242557952,"note":"Value kept but may cause issues"} 
[2026-06-18 11:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781763672000,"timestamp_ms":1781763672000,"timestamp_seconds":1781763672,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96407c0"} 
[2026-06-18 11:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 11:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131498496001,"66":28093,"102":206,"2":56576,"24":59,"16":318264013005783040,"45":1263752306242557952},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-06-18 11:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131498496001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:52:05] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-18 11:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318264013005783040,"km_value":318264013005783.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263752306242557952,"description":"Unknown IO ID 45"} 
[2026-06-18 11:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131498496001,"power":28093,"unknown_102":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1263752306242557952}} 
[2026-06-18 11:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":105904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:52:05] local.INFO: GPS data processed {"connection_id":105904,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:52:05] local.INFO: Acknowledgment sent {"connection_id":105904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:52:28] local.INFO: TCP Data received {"connection_id":105718,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:28] local.INFO: Processing buffer {"connection_id":105718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:28] local.INFO: IMEI packet received {"connection_id":105718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":105718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:52:30] local.INFO: TCP Data received {"connection_id":105718,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:30] local.INFO: Processing buffer {"connection_id":105718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:30] local.INFO: IMEI packet received {"connection_id":105718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":105718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:52:34] local.INFO: TCP Data received {"connection_id":105718,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:34] local.INFO: Processing buffer {"connection_id":105718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:52:34] local.INFO: IMEI packet received {"connection_id":105718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":105718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:52:35] local.INFO: TCP Data received {"connection_id":105718,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9641f30012d117f0006e1f0500008015f2e..."} 
[2026-06-18 11:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9641f30012d117f0006e1f0500008015f2e..."} 
[2026-06-18 11:52:35] local.INFO: Processing buffer {"connection_id":105718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9641f30012d117f0006e1f0500008015f2e..."} 
[2026-06-18 11:52:35] local.INFO: Packet analysis {"connection_id":105718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed964"} 
[2026-06-18 11:52:35] local.INFO: Extracted packet for processing {"connection_id":105718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed964"} 
[2026-06-18 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":756121344,"raw_latitude":115470416,"longitude_deg":75.6121344,"latitude_deg":11.5470416,"altitude":8,"angle":351,"satellites":46,"speed":59,"hex_longitude":"2d117f00","hex_latitude":"06e1f050","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131500032001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318264446797479936,"note":"Value kept but may cause issues"} 
[2026-06-18 11:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1262274562617102336,"note":"Value kept but may cause issues"} 
[2026-06-18 11:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781763678000,"timestamp_ms":1781763678000,"timestamp_seconds":1781763678,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9641f30"} 
[2026-06-18 11:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:52:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 11:52:35] 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-06-18 11: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-06-18 11:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131500032001,"66":27930,"102":206,"2":56576,"24":59,"16":318264446797479936,"45":1262274562617102336},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-06-18 11:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131500032001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:52:35] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-18 11:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318264446797479936,"km_value":318264446797479.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1262274562617102336,"description":"Unknown IO ID 45"} 
[2026-06-18 11:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131500032001,"power":27930,"unknown_102":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1262274562617102336}} 
[2026-06-18 11:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":105718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:52:35] local.INFO: GPS data processed {"connection_id":105718,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:52:35] local.INFO: Acknowledgment sent {"connection_id":105718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:53:02] local.INFO: TCP Data received {"connection_id":105718,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96436a0012d117c0006e212f0000901662d..."} 
[2026-06-18 11:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96436a0012d117c0006e212f0000901662d..."} 
[2026-06-18 11:53:02] local.INFO: Processing buffer {"connection_id":105718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96436a0012d117c0006e212f0000901662d..."} 
[2026-06-18 11:53:02] local.INFO: Packet analysis {"connection_id":105718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed964"} 
[2026-06-18 11:53:02] local.INFO: Extracted packet for processing {"connection_id":105718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed964"} 
[2026-06-18 11:53:02] local.INFO: GPS Element Parsed {"raw_longitude":756120576,"raw_latitude":115479280,"longitude_deg":75.6120576,"latitude_deg":11.547928,"altitude":9,"angle":358,"satellites":45,"speed":58,"hex_longitude":"2d117c00","hex_latitude":"06e212f0","is_valid_coordinates":true} 
[2026-06-18 11:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131501568001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318264876294209536,"note":"Value kept but may cause issues"} 
[2026-06-18 11:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1260726450247454720,"note":"Value kept but may cause issues"} 
[2026-06-18 11:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781763684000,"timestamp_ms":1781763684000,"timestamp_seconds":1781763684,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96436a0"} 
[2026-06-18 11:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:53: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-06-18 11:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 11:53: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-06-18 11:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131501568001,"66":27930,"102":206,"2":56576,"24":58,"16":318264876294209536,"45":1260726450247454720},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-06-18 11:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131501568001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:53:02] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-06-18 11:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318264876294209536,"km_value":318264876294209.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1260726450247454720,"description":"Unknown IO ID 45"} 
[2026-06-18 11:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131501568001,"power":27930,"unknown_102":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1260726450247454720}} 
[2026-06-18 11:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":105718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:53:02] local.INFO: GPS data processed {"connection_id":105718,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:53:02] local.INFO: Acknowledgment sent {"connection_id":105718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:53:26] local.INFO: TCP Data received {"connection_id":105719,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:26] local.INFO: Processing buffer {"connection_id":105719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:26] local.INFO: IMEI packet received {"connection_id":105719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":105719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:53:30] local.INFO: TCP Data received {"connection_id":105719,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:30] local.INFO: Processing buffer {"connection_id":105719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:30] local.INFO: IMEI packet received {"connection_id":105719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":105719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:53:34] local.INFO: TCP Data received {"connection_id":105905,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:53:34] local.INFO: Processing buffer {"connection_id":105905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:53:34] local.INFO: IMEI packet received {"connection_id":105905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":105905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:53:35] local.INFO: TCP Data received {"connection_id":105719,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:35] local.INFO: Processing buffer {"connection_id":105719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:53:35] local.INFO: IMEI packet received {"connection_id":105719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":105719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:53:37] local.INFO: TCP Data received {"connection_id":105719,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9653870012d115ac006e386e8000d016329..."} 
[2026-06-18 11:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9653870012d115ac006e386e8000d016329..."} 
[2026-06-18 11:53:37] local.INFO: Processing buffer {"connection_id":105719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9653870012d115ac006e386e8000d016329..."} 
[2026-06-18 11:53:37] local.INFO: Packet analysis {"connection_id":105719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed965"} 
[2026-06-18 11:53:37] local.INFO: Extracted packet for processing {"connection_id":105719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed965"} 
[2026-06-18 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756112064,"raw_latitude":115574504,"longitude_deg":75.6112064,"latitude_deg":11.5574504,"altitude":13,"angle":355,"satellites":41,"speed":63,"hex_longitude":"2d115ac0","hex_latitude":"06e386e8","is_valid_coordinates":true} 
[2026-06-18 11:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131518464001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318269570693464064,"note":"Value kept but may cause issues"} 
[2026-06-18 11:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1251578513528621056,"note":"Value kept but may cause issues"} 
[2026-06-18 11:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781763750000,"timestamp_ms":1781763750000,"timestamp_seconds":1781763750,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9653870"} 
[2026-06-18 11:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 11:53:37] 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-06-18 11:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131518464001,"66":27843,"136":206,"2":56576,"24":63,"16":318269570693464064,"45":1251578513528621056},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,2,24,16,45]} 
[2026-06-18 11:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131518464001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:53:37] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-18 11:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318269570693464064,"km_value":318269570693464.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1251578513528621056,"description":"Unknown IO ID 45"} 
[2026-06-18 11:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131518464001,"power":27843,"unknown_136":206,"power_alt":56576,"ignition":63,"odometer":null,"unknown_45":1251578513528621056}} 
[2026-06-18 11:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":105719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:53:37] local.INFO: GPS data processed {"connection_id":105719,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:53:37] local.INFO: Acknowledgment sent {"connection_id":105719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:54:15] local.INFO: TCP Data received {"connection_id":105719,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9654fe0012d11580006e3ac68000a01632a..."} 
[2026-06-18 11:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9654fe0012d11580006e3ac68000a01632a..."} 
[2026-06-18 11:54:15] local.INFO: Processing buffer {"connection_id":105719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9654fe0012d11580006e3ac68000a01632a..."} 
[2026-06-18 11:54:15] local.INFO: Packet analysis {"connection_id":105719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed965"} 
[2026-06-18 11:54:15] local.INFO: Extracted packet for processing {"connection_id":105719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed965"} 
[2026-06-18 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":756111360,"raw_latitude":115584104,"longitude_deg":75.611136,"latitude_deg":11.5584104,"altitude":10,"angle":355,"satellites":42,"speed":65,"hex_longitude":"2d115800","hex_latitude":"06e3ac68","is_valid_coordinates":true} 
[2026-06-18 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131520000001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318270034549932032,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1250522982368339968,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781763756000,"timestamp_ms":1781763756000,"timestamp_seconds":1781763756,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9654fe0"} 
[2026-06-18 11:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 11:54:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:54:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131520000001,"66":27974,"138":206,"2":56576,"24":65,"16":318270034549932032,"45":1250522982368339968},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-06-18 11:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131520000001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:54:15] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 11:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318270034549932032,"km_value":318270034549932.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1250522982368339968,"description":"Unknown IO ID 45"} 
[2026-06-18 11:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131520000001,"power":27974,"unknown_138":206,"power_alt":56576,"ignition":65,"odometer":null,"unknown_45":1250522982368339968}} 
[2026-06-18 11:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":105719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:54:15] local.INFO: GPS data processed {"connection_id":105719,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:54:15] local.INFO: Acknowledgment sent {"connection_id":105719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:54:25] local.INFO: TCP Data received {"connection_id":107444,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:25] local.INFO: Processing buffer {"connection_id":107444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:25] local.INFO: IMEI packet received {"connection_id":107444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":107444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:54:27] local.INFO: TCP Data received {"connection_id":107444,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:27] local.INFO: Processing buffer {"connection_id":107444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:27] local.INFO: IMEI packet received {"connection_id":107444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":107444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:54:30] local.INFO: TCP Data received {"connection_id":107444,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:30] local.INFO: Processing buffer {"connection_id":107444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:54:30] local.INFO: IMEI packet received {"connection_id":107444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":107444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:54:31] local.INFO: TCP Data received {"connection_id":107444,"ip":"117.224.95.96","data_length":1360,"data_hex":"000000000000030f8e0a0000019ed9661ee8012d11008006e4c420000a014c2d..."} 
[2026-06-18 11:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107444,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ed9661ee8012d11008006e4c420000a014c2d..."} 
[2026-06-18 11:54:31] local.INFO: Processing buffer {"connection_id":107444,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ed9661ee8012d11008006e4c420000a014c2d..."} 
[2026-06-18 11:54:31] local.INFO: Packet analysis {"connection_id":107444,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:54:31] local.INFO: Extracted packet for processing {"connection_id":107444,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":756088960,"raw_latitude":115655712,"longitude_deg":75.608896,"latitude_deg":11.5655712,"altitude":10,"angle":332,"satellites":45,"speed":62,"hex_longitude":"2d110080","hex_latitude":"06e4c420","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131533568001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318273711041937408,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1228849409180231680,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781763809000,"timestamp_ms":1781763809000,"timestamp_seconds":1781763809,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9661ee8"} 
[2026-06-18 11:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 11:54: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-06-18 11: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-06-18 11:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131533568001,"66":27865,"138":206,"2":56576,"24":62,"16":318273711041937408,"45":1228849409180231680},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-06-18 11:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131533568001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:54:31] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 11:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318273711041937408,"km_value":318273711041937.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1228849409180231680,"description":"Unknown IO ID 45"} 
[2026-06-18 11:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131533568001,"power":27865,"unknown_138":206,"power_alt":56576,"ignition":62,"odometer":null,"unknown_45":1228849409180231680}} 
[2026-06-18 11:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":107444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:54:31] local.INFO: GPS data processed {"connection_id":107444,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:54:31] local.INFO: Acknowledgment sent {"connection_id":107444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:54:31] local.INFO: Packet analysis {"connection_id":107444,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:54:31] local.INFO: Incomplete packet, waiting for more data {"connection_id":107444,"needed":795,"available":565} 
[2026-06-18 11:54:32] local.INFO: TCP Data received {"connection_id":107444,"ip":"117.224.95.96","data_length":230,"data_hex":"2d11370006e43f30000701472e00360000000a000400ef0100715600f0010045..."} 
[2026-06-18 11:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107444,"packet_length":230,"packet_hex":"2d11370006e43f30000701472e00360000000a000400ef0100715600f0010045..."} 
[2026-06-18 11:54:32] local.INFO: Processing buffer {"connection_id":107444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9663658012d10ee8006e4e288000b01482c..."} 
[2026-06-18 11:54:32] local.INFO: Packet analysis {"connection_id":107444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:54:32] local.INFO: Extracted packet for processing {"connection_id":107444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756084352,"raw_latitude":115663496,"longitude_deg":75.6084352,"latitude_deg":11.5663496,"altitude":11,"angle":328,"satellites":44,"speed":58,"hex_longitude":"2d10ee80","hex_latitude":"06e4e288","is_valid_coordinates":true} 
[2026-06-18 11:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131535104001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318274144833634304,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1225119865740992512,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781763815000,"timestamp_ms":1781763815000,"timestamp_seconds":1781763815,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9663658"} 
[2026-06-18 11:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 11:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131535104001,"66":27821,"138":206,"2":56576,"24":58,"16":318274144833634304,"45":1225119865740992512},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,2,24,16,45]} 
[2026-06-18 11:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131535104001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:54:32] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 11:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318274144833634304,"km_value":318274144833634.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1225119865740992512,"description":"Unknown IO ID 45"} 
[2026-06-18 11:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131535104001,"power":27821,"unknown_138":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1225119865740992512}} 
[2026-06-18 11:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":107444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:54:32] local.INFO: GPS data processed {"connection_id":107444,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:54:32] local.INFO: Acknowledgment sent {"connection_id":107444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:54:36] local.INFO: TCP Data received {"connection_id":107444,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96651b0012d10da0006e50558000d014f28..."} 
[2026-06-18 11:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96651b0012d10da0006e50558000d014f28..."} 
[2026-06-18 11:54:36] local.INFO: Processing buffer {"connection_id":107444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96651b0012d10da0006e50558000d014f28..."} 
[2026-06-18 11:54:36] local.INFO: Packet analysis {"connection_id":107444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:54:36] local.INFO: Extracted packet for processing {"connection_id":107444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:54:36] local.INFO: GPS Element Parsed {"raw_longitude":756079104,"raw_latitude":115672408,"longitude_deg":75.6079104,"latitude_deg":11.5672408,"altitude":13,"angle":335,"satellites":40,"speed":58,"hex_longitude":"2d10da00","hex_latitude":"06e50558","is_valid_coordinates":true} 
[2026-06-18 11:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131536640001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318274643049840640,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1220053316162193408,"note":"Value kept but may cause issues"} 
[2026-06-18 11:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781763822000,"timestamp_ms":1781763822000,"timestamp_seconds":1781763822,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96651b0"} 
[2026-06-18 11:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131536640001,"66":27995,"129":206,"2":56576,"24":58,"16":318274643049840640,"45":1220053316162193408},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-18 11:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131536640001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:54:36] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-18 11:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318274643049840640,"km_value":318274643049840.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1220053316162193408,"description":"Unknown IO ID 45"} 
[2026-06-18 11:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131536640001,"power":27995,"unknown_129":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":1220053316162193408}} 
[2026-06-18 11:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":107444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:54:36] local.INFO: GPS data processed {"connection_id":107444,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:54:36] local.INFO: Acknowledgment sent {"connection_id":107444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:55:08] local.INFO: TCP Data received {"connection_id":107444,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9666538012d10d04006e520b8000e015b2b..."} 
[2026-06-18 11:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9666538012d10d04006e520b8000e015b2b..."} 
[2026-06-18 11:55:08] local.INFO: Processing buffer {"connection_id":107444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9666538012d10d04006e520b8000e015b2b..."} 
[2026-06-18 11:55:08] local.INFO: Packet analysis {"connection_id":107444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:55:08] local.INFO: Extracted packet for processing {"connection_id":107444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:55:08] local.INFO: GPS Element Parsed {"raw_longitude":756076608,"raw_latitude":115679416,"longitude_deg":75.6076608,"latitude_deg":11.5679416,"altitude":14,"angle":347,"satellites":43,"speed":59,"hex_longitude":"2d10d040","hex_latitude":"06e520b8","is_valid_coordinates":true} 
[2026-06-18 11:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131538432001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318275003827093504,"note":"Value kept but may cause issues"} 
[2026-06-18 11:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1214283079141906432,"note":"Value kept but may cause issues"} 
[2026-06-18 11:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781763827000,"timestamp_ms":1781763827000,"timestamp_seconds":1781763827,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9666538"} 
[2026-06-18 11:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 11:55: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-06-18 11:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131538432001,"66":27908,"129":206,"2":56576,"24":59,"16":318275003827093504,"45":1214283079141906432},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-18 11:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131538432001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:55:08] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-18 11:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318275003827093504,"km_value":318275003827093.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1214283079141906432,"description":"Unknown IO ID 45"} 
[2026-06-18 11:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131538432001,"power":27908,"unknown_129":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1214283079141906432}} 
[2026-06-18 11:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":107444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:55:08] local.INFO: GPS data processed {"connection_id":107444,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:55:08] local.INFO: Acknowledgment sent {"connection_id":107444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:55:25] local.INFO: TCP Data received {"connection_id":106484,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:55:25] local.INFO: Processing buffer {"connection_id":106484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:55:25] local.INFO: IMEI packet received {"connection_id":106484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":106484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:55:28] local.INFO: TCP Data received {"connection_id":106484,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:55:28] local.INFO: Processing buffer {"connection_id":106484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:55:28] local.INFO: IMEI packet received {"connection_id":106484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":106484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:55:29] local.INFO: TCP Data received {"connection_id":106484,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96678c0012d10cc0006e53e08000d01662a..."} 
[2026-06-18 11:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96678c0012d10cc0006e53e08000d01662a..."} 
[2026-06-18 11:55:29] local.INFO: Processing buffer {"connection_id":106484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96678c0012d10cc0006e53e08000d01662a..."} 
[2026-06-18 11:55:29] local.INFO: Packet analysis {"connection_id":106484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:55:29] local.INFO: Extracted packet for processing {"connection_id":106484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:55:29] local.INFO: GPS Element Parsed {"raw_longitude":756075520,"raw_latitude":115686920,"longitude_deg":75.607552,"latitude_deg":11.568692,"altitude":13,"angle":358,"satellites":42,"speed":60,"hex_longitude":"2d10cc00","hex_latitude":"06e53e08","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131539712001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318275373194280960,"note":"Value kept but may cause issues"} 
[2026-06-18 11:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1211538698120771584,"note":"Value kept but may cause issues"} 
[2026-06-18 11:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781763832000,"timestamp_ms":1781763832000,"timestamp_seconds":1781763832,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96678c0"} 
[2026-06-18 11:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:55: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-06-18 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:55: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-06-18 11: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-06-18 11:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131539712001,"66":27919,"129":206,"2":56576,"24":60,"16":318275373194280960,"45":1211538698120771584},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-18 11:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131539712001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:55:29] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-18 11:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318275373194280960,"km_value":318275373194280.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1211538698120771584,"description":"Unknown IO ID 45"} 
[2026-06-18 11:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131539712001,"power":27919,"unknown_129":206,"power_alt":56576,"ignition":60,"odometer":null,"unknown_45":1211538698120771584}} 
[2026-06-18 11:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":106484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:55:29] local.INFO: GPS data processed {"connection_id":106484,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:55:29] local.INFO: Acknowledgment sent {"connection_id":106484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:56:00] local.INFO: TCP Data received {"connection_id":106484,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9678a30012d0fff0006e68a38000601302a..."} 
[2026-06-18 11:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9678a30012d0fff0006e68a38000601302a..."} 
[2026-06-18 11:56:00] local.INFO: Processing buffer {"connection_id":106484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9678a30012d0fff0006e68a38000601302a..."} 
[2026-06-18 11:56:00] local.INFO: Packet analysis {"connection_id":106484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed967"} 
[2026-06-18 11:56:00] local.INFO: Extracted packet for processing {"connection_id":106484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed967"} 
[2026-06-18 11:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756023040,"raw_latitude":115771960,"longitude_deg":75.602304,"latitude_deg":11.577196,"altitude":6,"angle":304,"satellites":42,"speed":59,"hex_longitude":"2d0fff00","hex_latitude":"06e68a38","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131557376001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318280454140592128,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1160732464846831616,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781763902000,"timestamp_ms":1781763902000,"timestamp_seconds":1781763902,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9678a30"} 
[2026-06-18 11:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":239,"data_length":795,"current_offset":136} 
[2026-06-18 11:56:00] 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-06-18 11: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-06-18 11:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131557376001,"66":27919,"129":206,"2":56576,"24":59,"16":318280454140592128,"45":1160732464846831616},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-18 11:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131557376001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:56:00] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-18 11:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318280454140592128,"km_value":318280454140592.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1160732464846831616,"description":"Unknown IO ID 45"} 
[2026-06-18 11:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131557376001,"power":27919,"unknown_129":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":1160732464846831616}} 
[2026-06-18 11:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":106484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:56:00] local.INFO: GPS data processed {"connection_id":106484,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:56:00] local.INFO: Acknowledgment sent {"connection_id":106484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:56:25] local.INFO: TCP Data received {"connection_id":105908,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:56:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:56:25] local.INFO: Processing buffer {"connection_id":105908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:56:25] local.INFO: IMEI packet received {"connection_id":105908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:56:25] local.INFO: IMEI acknowledgment sent {"connection_id":105908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:56:30] local.INFO: TCP Data received {"connection_id":105908,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:56:30] local.INFO: Processing buffer {"connection_id":105908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:56:30] local.INFO: IMEI packet received {"connection_id":105908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":105908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:56:31] local.INFO: TCP Data received {"connection_id":105908,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed967a1a0012d0fe00006e69b18000501272c..."} 
[2026-06-18 11:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed967a1a0012d0fe00006e69b18000501272c..."} 
[2026-06-18 11:56:31] local.INFO: Processing buffer {"connection_id":105908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed967a1a0012d0fe00006e69b18000501272c..."} 
[2026-06-18 11:56:31] local.INFO: Packet analysis {"connection_id":105908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed967"} 
[2026-06-18 11:56:31] local.INFO: Extracted packet for processing {"connection_id":105908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed967"} 
[2026-06-18 11:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756015104,"raw_latitude":115776280,"longitude_deg":75.6015104,"latitude_deg":11.577628,"altitude":5,"angle":295,"satellites":44,"speed":56,"hex_longitude":"2d0fe000","hex_latitude":"06e69b18","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131558912001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318280883637321728,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1152640059267758080,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781763908000,"timestamp_ms":1781763908000,"timestamp_seconds":1781763908,"priority":1,"record_length":96,"hex_timestamp":"0000019ed967a1a0"} 
[2026-06-18 11:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":15,"data_length":795,"current_offset":136} 
[2026-06-18 11:56: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-06-18 11: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-06-18 11:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131558912001,"66":27908,"129":206,"2":56576,"24":56,"16":318280883637321728,"45":1152640059267758080},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-18 11:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131558912001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:56:31] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-18 11:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318280883637321728,"km_value":318280883637321.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1152640059267758080,"description":"Unknown IO ID 45"} 
[2026-06-18 11:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131558912001,"power":27908,"unknown_129":206,"power_alt":56576,"ignition":56,"odometer":null,"unknown_45":1152640059267758080}} 
[2026-06-18 11:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":105908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:56:31] local.INFO: GPS data processed {"connection_id":105908,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:56:31] local.INFO: Acknowledgment sent {"connection_id":105908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:56:56] local.INFO: TCP Data received {"connection_id":107446,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:56:56] local.INFO: Processing buffer {"connection_id":107446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:56:56] local.INFO: IMEI packet received {"connection_id":107446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":107446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:56:58] local.INFO: TCP Data received {"connection_id":107446,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed966a7a0012d189c00072297f8006e00f826..."} 
[2026-06-18 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed966a7a0012d189c00072297f8006e00f826..."} 
[2026-06-18 11:56:58] local.INFO: Processing buffer {"connection_id":107446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed966a7a0012d189c00072297f8006e00f826..."} 
[2026-06-18 11:56:58] local.INFO: Packet analysis {"connection_id":107446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:56:58] local.INFO: Extracted packet for processing {"connection_id":107446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756587520,"raw_latitude":119707640,"longitude_deg":75.658752,"latitude_deg":11.970764,"altitude":110,"angle":248,"satellites":38,"speed":0,"hex_longitude":"2d189c00","hex_latitude":"072297f8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131538688001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329991223803904,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773292383922288640,"note":"Value kept but may cause issues"} 
[2026-06-18 11:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781763844000,"timestamp_ms":1781763844000,"timestamp_seconds":1781763844,"priority":1,"record_length":96,"hex_timestamp":"0000019ed966a7a0"} 
[2026-06-18 11:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:56: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-06-18 11: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-06-18 11:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131538688001,"66":12461,"120":206,"28":31744,"24":0,"16":3329991223803904,"45":1773292383922288640},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131538688001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:56:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329991223803904,"km_value":3329991223803.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773292383922288640,"description":"Unknown IO ID 45"} 
[2026-06-18 11:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131538688001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1773292383922288640}} 
[2026-06-18 11:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":107446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:56:58] local.INFO: GPS data processed {"connection_id":107446,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:56:58] local.INFO: Acknowledgment sent {"connection_id":107446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:57:03] local.INFO: TCP Data received {"connection_id":105908,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed967c0e0012d0fbf8006e6a8b80005011f29..."} 
[2026-06-18 11:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed967c0e0012d0fbf8006e6a8b80005011f29..."} 
[2026-06-18 11:57:03] local.INFO: Processing buffer {"connection_id":105908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed967c0e0012d0fbf8006e6a8b80005011f29..."} 
[2026-06-18 11:57:03] local.INFO: Packet analysis {"connection_id":105908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed967"} 
[2026-06-18 11:57:03] local.INFO: Extracted packet for processing {"connection_id":105908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed967"} 
[2026-06-18 11:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756006784,"raw_latitude":115779768,"longitude_deg":75.6006784,"latitude_deg":11.5779768,"altitude":5,"angle":287,"satellites":41,"speed":37,"hex_longitude":"2d0fbf80","hex_latitude":"06e6a8b8","is_valid_coordinates":true} 
[2026-06-18 11:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131560448001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318281317429018624,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1143914334990833664,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781763916000,"timestamp_ms":1781763916000,"timestamp_seconds":1781763916,"priority":1,"record_length":96,"hex_timestamp":"0000019ed967c0e0"} 
[2026-06-18 11:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:57: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-06-18 11:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 11:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131560448001,"66":27800,"129":206,"2":56576,"24":37,"16":318281317429018624,"45":1143914334990833664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-18 11:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131560448001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:57:03] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-18 11:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318281317429018624,"km_value":318281317429018.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1143914334990833664,"description":"Unknown IO ID 45"} 
[2026-06-18 11:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131560448001,"power":27800,"unknown_129":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1143914334990833664}} 
[2026-06-18 11:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":105908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:57:03] local.INFO: GPS data processed {"connection_id":105908,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:57:03] local.INFO: Acknowledgment sent {"connection_id":105908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:57:25] local.INFO: TCP Data received {"connection_id":105721,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:25] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:25] local.INFO: IMEI packet received {"connection_id":105721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":105721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:57:27] local.INFO: TCP Data received {"connection_id":105721,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:27] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:27] local.INFO: IMEI packet received {"connection_id":105721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":105721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:57:31] local.INFO: TCP Data received {"connection_id":105721,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:31] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:57:31] local.INFO: IMEI packet received {"connection_id":105721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":105721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:57:32] local.INFO: TCP Data received {"connection_id":105721,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed967e020012d0fa88006e6af000005012b2a..."} 
[2026-06-18 11:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed967e020012d0fa88006e6af000005012b2a..."} 
[2026-06-18 11:57:32] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed967e020012d0fa88006e6af000005012b2a..."} 
[2026-06-18 11:57:32] local.INFO: Packet analysis {"connection_id":105721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed967"} 
[2026-06-18 11:57:32] local.INFO: Extracted packet for processing {"connection_id":105721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed967"} 
[2026-06-18 11:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756000896,"raw_latitude":115781376,"longitude_deg":75.6000896,"latitude_deg":11.5781376,"altitude":5,"angle":299,"satellites":42,"speed":13,"hex_longitude":"2d0fa880","hex_latitude":"06e6af00","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131562496001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318281605191827456,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1134766398248630272,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781763924000,"timestamp_ms":1781763924000,"timestamp_seconds":1781763924,"priority":1,"record_length":96,"hex_timestamp":"0000019ed967e020"} 
[2026-06-18 11:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 11:57: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-06-18 11: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-06-18 11:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131562496001,"66":27919,"129":206,"2":56576,"24":13,"16":318281605191827456,"45":1134766398248630272},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-06-18 11:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131562496001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:57:32] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-06-18 11:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318281605191827456,"km_value":318281605191827.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1134766398248630272,"description":"Unknown IO ID 45"} 
[2026-06-18 11:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131562496001,"power":27919,"unknown_129":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":1134766398248630272}} 
[2026-06-18 11:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":105721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:57:32] local.INFO: GPS data processed {"connection_id":105721,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:57:32] local.INFO: Acknowledgment sent {"connection_id":105721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:57:36] local.INFO: TCP Data received {"connection_id":105910,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:57:36] local.INFO: Processing buffer {"connection_id":105910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:57:36] local.INFO: IMEI packet received {"connection_id":105910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":105910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:57:41] local.INFO: TCP Data received {"connection_id":105910,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:57:41] local.INFO: Processing buffer {"connection_id":105910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:57:41] local.INFO: IMEI packet received {"connection_id":105910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":105910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:57:43] local.INFO: TCP Data received {"connection_id":105910,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed966f9a8012d189c00072297f8006e00f828..."} 
[2026-06-18 11:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed966f9a8012d189c00072297f8006e00f828..."} 
[2026-06-18 11:57:43] local.INFO: Processing buffer {"connection_id":105910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed966f9a8012d189c00072297f8006e00f828..."} 
[2026-06-18 11:57:43] local.INFO: Packet analysis {"connection_id":105910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:57:43] local.INFO: Extracted packet for processing {"connection_id":105910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed966"} 
[2026-06-18 11:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756587520,"raw_latitude":119707640,"longitude_deg":75.658752,"latitude_deg":11.970764,"altitude":110,"angle":248,"satellites":40,"speed":0,"hex_longitude":"2d189c00","hex_latitude":"072297f8","is_valid_coordinates":true} 
[2026-06-18 11:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131544064001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3329991223803904,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1773292383922288640,"note":"Value kept but may cause issues"} 
[2026-06-18 11:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781763865000,"timestamp_ms":1781763865000,"timestamp_seconds":1781763865,"priority":1,"record_length":96,"hex_timestamp":"0000019ed966f9a8"} 
[2026-06-18 11:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:57:43] 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-06-18 11:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131544064001,"66":12504,"120":206,"28":31744,"24":0,"16":3329991223803904,"45":1773292383922288640},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131544064001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:57:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:57:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3329991223803904,"km_value":3329991223803.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1773292383922288640,"description":"Unknown IO ID 45"} 
[2026-06-18 11:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131544064001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1773292383922288640}} 
[2026-06-18 11:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":105910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:57:43] local.INFO: GPS data processed {"connection_id":105910,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:57:43] local.INFO: Acknowledgment sent {"connection_id":105910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:58:04] local.INFO: TCP Data received {"connection_id":105721,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9697278012d0f2bc006e703e8000d01432b..."} 
[2026-06-18 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9697278012d0f2bc006e703e8000d01432b..."} 
[2026-06-18 11:58:04] local.INFO: Processing buffer {"connection_id":105721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9697278012d0f2bc006e703e8000d01432b..."} 
[2026-06-18 11:58:04] local.INFO: Packet analysis {"connection_id":105721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:04] local.INFO: Extracted packet for processing {"connection_id":105721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":755968960,"raw_latitude":115803112,"longitude_deg":75.596896,"latitude_deg":11.5803112,"altitude":13,"angle":323,"satellites":43,"speed":26,"hex_longitude":"2d0f2bc0","hex_latitude":"06e703e8","is_valid_coordinates":true} 
[2026-06-18 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131589888001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318283520747241472,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1093882157886828544,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781764027000,"timestamp_ms":1781764027000,"timestamp_seconds":1781764027,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9697278"} 
[2026-06-18 11:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:58: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-06-18 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 11:58: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-06-18 11:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131589888001,"66":27767,"217":206,"2":56576,"24":26,"16":318283520747241472,"45":1093882157886828544},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 11:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131589888001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:58:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 11:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318283520747241472,"km_value":318283520747241.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1093882157886828544,"description":"Unknown IO ID 45"} 
[2026-06-18 11:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131589888001,"power":27767,"unknown_217":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":1093882157886828544}} 
[2026-06-18 11:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":105721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:58:04] local.INFO: GPS data processed {"connection_id":105721,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:58:04] local.INFO: Acknowledgment sent {"connection_id":105721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:58:15] local.INFO: TCP Data received {"connection_id":105910,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed969b8c8012d18a00007229cc0006d00642b..."} 
[2026-06-18 11:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed969b8c8012d18a00007229cc0006d00642b..."} 
[2026-06-18 11:58:15] local.INFO: Processing buffer {"connection_id":105910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed969b8c8012d18a00007229cc0006d00642b..."} 
[2026-06-18 11:58:15] local.INFO: Packet analysis {"connection_id":105910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:15] local.INFO: Extracted packet for processing {"connection_id":105910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:15] local.INFO: GPS Element Parsed {"raw_longitude":756588544,"raw_latitude":119708864,"longitude_deg":75.6588544,"latitude_deg":11.9708864,"altitude":109,"angle":100,"satellites":43,"speed":11,"hex_longitude":"2d18a000","hex_latitude":"07229cc0","is_valid_coordinates":true} 
[2026-06-18 11:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131595264001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3330098597986304,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774136808852738048,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781764045000,"timestamp_ms":1781764045000,"timestamp_seconds":1781764045,"priority":1,"record_length":96,"hex_timestamp":"0000019ed969b8c8"} 
[2026-06-18 11:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:58:15] 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-06-18 11:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 11:58:15] 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-06-18 11:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131595264001,"66":13352,"120":206,"28":31744,"24":11,"16":3330098597986304,"45":1774136808852738048},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131595264001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:58:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:58:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3330098597986304,"km_value":3330098597986.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774136808852738048,"description":"Unknown IO ID 45"} 
[2026-06-18 11:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131595264001,"power":13352,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1774136808852738048}} 
[2026-06-18 11:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":105910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:58:15] local.INFO: GPS data processed {"connection_id":105910,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:58:15] local.INFO: Acknowledgment sent {"connection_id":105910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:58:29] local.INFO: TCP Data received {"connection_id":106485,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:29] local.INFO: Processing buffer {"connection_id":106485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:29] local.INFO: IMEI packet received {"connection_id":106485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":106485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:58:30] local.INFO: TCP Data received {"connection_id":106485,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:30] local.INFO: Processing buffer {"connection_id":106485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:30] local.INFO: IMEI packet received {"connection_id":106485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":106485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:58:35] local.INFO: TCP Data received {"connection_id":106485,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:35] local.INFO: Processing buffer {"connection_id":106485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:58:35] local.INFO: IMEI packet received {"connection_id":106485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":106485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:58:36] local.INFO: TCP Data received {"connection_id":105723,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:36] local.INFO: Processing buffer {"connection_id":105723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:36] local.INFO: IMEI packet received {"connection_id":105723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":105723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:58:36] local.INFO: TCP Data received {"connection_id":106485,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9699d70012d0f134006e71e60000d01452c..."} 
[2026-06-18 11:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9699d70012d0f134006e71e60000d01452c..."} 
[2026-06-18 11:58:36] local.INFO: Processing buffer {"connection_id":106485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9699d70012d0f134006e71e60000d01452c..."} 
[2026-06-18 11:58:36] local.INFO: Packet analysis {"connection_id":106485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:36] local.INFO: Extracted packet for processing {"connection_id":106485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:36] local.INFO: GPS Element Parsed {"raw_longitude":755962688,"raw_latitude":115809888,"longitude_deg":75.5962688,"latitude_deg":11.5809888,"altitude":13,"angle":325,"satellites":44,"speed":36,"hex_longitude":"2d0f1340","hex_latitude":"06e71e60","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131590912001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318283963128872960,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1093178470445606912,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781764038000,"timestamp_ms":1781764038000,"timestamp_seconds":1781764038,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9699d70"} 
[2026-06-18 11:58:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:58: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-06-18 11: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":119,"data_length":795,"current_offset":136} 
[2026-06-18 11:58: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-06-18 11: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-06-18 11:58:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131590912001,"66":27821,"217":206,"2":56576,"24":36,"16":318283963128872960,"45":1093178470445606912},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 11:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131590912001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:58:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 11:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318283963128872960,"km_value":318283963128872.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1093178470445606912,"description":"Unknown IO ID 45"} 
[2026-06-18 11:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131590912001,"power":27821,"unknown_217":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":1093178470445606912}} 
[2026-06-18 11:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":106485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:58:36] local.INFO: GPS data processed {"connection_id":106485,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:58:36] local.INFO: Acknowledgment sent {"connection_id":106485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:58:38] local.INFO: TCP Data received {"connection_id":105723,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:38] local.INFO: Processing buffer {"connection_id":105723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:38] local.INFO: IMEI packet received {"connection_id":105723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":105723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:58:41] local.INFO: TCP Data received {"connection_id":106485,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed969a928012d0f0c0006e72680000d01372b..."} 
[2026-06-18 11:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed969a928012d0f0c0006e72680000d01372b..."} 
[2026-06-18 11:58:41] local.INFO: Processing buffer {"connection_id":106485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed969a928012d0f0c0006e72680000d01372b..."} 
[2026-06-18 11:58:41] local.INFO: Packet analysis {"connection_id":106485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:41] local.INFO: Extracted packet for processing {"connection_id":106485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:41] local.INFO: GPS Element Parsed {"raw_longitude":755960832,"raw_latitude":115811968,"longitude_deg":75.5960832,"latitude_deg":11.5811968,"altitude":13,"angle":311,"satellites":43,"speed":37,"hex_longitude":"2d0f0c00","hex_latitude":"06e72680","is_valid_coordinates":true} 
[2026-06-18 11:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131593728001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318284096272859136,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1086282333517930496,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781764041000,"timestamp_ms":1781764041000,"timestamp_seconds":1781764041,"priority":1,"record_length":96,"hex_timestamp":"0000019ed969a928"} 
[2026-06-18 11:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:58:41] 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-06-18 11:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 11:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:58:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131593728001,"66":27006,"217":206,"2":56576,"24":37,"16":318284096272859136,"45":1086282333517930496},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 11:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131593728001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:58:41] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 11:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318284096272859136,"km_value":318284096272859.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1086282333517930496,"description":"Unknown IO ID 45"} 
[2026-06-18 11:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131593728001,"power":27006,"unknown_217":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":1086282333517930496}} 
[2026-06-18 11:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":106485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:58:41] local.INFO: GPS data processed {"connection_id":106485,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:58:41] local.INFO: Acknowledgment sent {"connection_id":106485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:58:41] local.INFO: TCP Data received {"connection_id":105723,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:41] local.INFO: Processing buffer {"connection_id":105723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:58:41] local.INFO: IMEI packet received {"connection_id":105723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":105723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:58:42] local.INFO: TCP Data received {"connection_id":105723,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed969d038012d18a40007229c00006e00582b..."} 
[2026-06-18 11:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed969d038012d18a40007229c00006e00582b..."} 
[2026-06-18 11:58:42] local.INFO: Processing buffer {"connection_id":105723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed969d038012d18a40007229c00006e00582b..."} 
[2026-06-18 11:58:42] local.INFO: Packet analysis {"connection_id":105723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:42] local.INFO: Extracted packet for processing {"connection_id":105723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:58:42] local.INFO: GPS Element Parsed {"raw_longitude":756589568,"raw_latitude":119708672,"longitude_deg":75.6589568,"latitude_deg":11.9708672,"altitude":110,"angle":88,"satellites":43,"speed":0,"hex_longitude":"2d18a400","hex_latitude":"07229c00","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131595520001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3330150137593856,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774418283829444608,"note":"Value kept but may cause issues"} 
[2026-06-18 11:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781764051000,"timestamp_ms":1781764051000,"timestamp_seconds":1781764051,"priority":1,"record_length":96,"hex_timestamp":"0000019ed969d038"} 
[2026-06-18 11:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-18 11:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11: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-06-18 11:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131595520001,"66":13787,"120":206,"28":31744,"24":0,"16":3330150137593856,"45":1774418283829444608},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131595520001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:58:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:58:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3330150137593856,"km_value":3330150137593.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774418283829444608,"description":"Unknown IO ID 45"} 
[2026-06-18 11:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131595520001,"power":13787,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1774418283829444608}} 
[2026-06-18 11:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":105723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:58:42] local.INFO: GPS data processed {"connection_id":105723,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:58:42] local.INFO: Acknowledgment sent {"connection_id":105723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:59:04] local.INFO: TCP Data received {"connection_id":105722,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:59:04] local.INFO: Processing buffer {"connection_id":105722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:59:04] local.INFO: IMEI packet received {"connection_id":105722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":105722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:59:16] local.INFO: TCP Data received {"connection_id":105723,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed969dbf0012d18a4c007229c20006f00672a..."} 
[2026-06-18 11:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed969dbf0012d18a4c007229c20006f00672a..."} 
[2026-06-18 11:59:16] local.INFO: Processing buffer {"connection_id":105723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed969dbf0012d18a4c007229c20006f00672a..."} 
[2026-06-18 11:59:16] local.INFO: Packet analysis {"connection_id":105723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:59:16] local.INFO: Extracted packet for processing {"connection_id":105723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756589760,"raw_latitude":119708704,"longitude_deg":75.658976,"latitude_deg":11.9708704,"altitude":111,"angle":103,"satellites":42,"speed":1,"hex_longitude":"2d18a4c0","hex_latitude":"07229c20","is_valid_coordinates":true} 
[2026-06-18 11:59: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-06-18 11:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131597056001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3330158727528448,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775544183736238080,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781764054000,"timestamp_ms":1781764054000,"timestamp_seconds":1781764054,"priority":1,"record_length":96,"hex_timestamp":"0000019ed969dbf0"} 
[2026-06-18 11:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:59:16] 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-06-18 11:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-06-18 11:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2434,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:59: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-06-18 11:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131597056001,"66":13928,"120":206,"28":31744,"24":1,"16":3330158727528448,"45":1775544183736238080},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131597056001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:59:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:59:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3330158727528448,"km_value":3330158727528.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775544183736238080,"description":"Unknown IO ID 45"} 
[2026-06-18 11:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131597056001,"power":13928,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1775544183736238080}} 
[2026-06-18 11:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":105723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:59:16] local.INFO: GPS data processed {"connection_id":105723,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:59:16] local.INFO: Acknowledgment sent {"connection_id":105723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:59:25] local.INFO: TCP Data received {"connection_id":106486,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:59:25] local.INFO: Processing buffer {"connection_id":106486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:59:25] local.INFO: IMEI packet received {"connection_id":106486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 11:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":106486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:59:30] local.INFO: TCP Data received {"connection_id":106486,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:59:30] local.INFO: Processing buffer {"connection_id":106486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 11:59:30] local.INFO: IMEI packet received {"connection_id":106486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 11:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":106486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:59:31] local.INFO: TCP Data received {"connection_id":106486,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed969cc50012d0ef14006e73ec8000a013b2a..."} 
[2026-06-18 11:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed969cc50012d0ef14006e73ec8000a013b2a..."} 
[2026-06-18 11:59:31] local.INFO: Processing buffer {"connection_id":106486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed969cc50012d0ef14006e73ec8000a013b2a..."} 
[2026-06-18 11:59:31] local.INFO: Packet analysis {"connection_id":106486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:59:31] local.INFO: Extracted packet for processing {"connection_id":106486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:59:31] local.INFO: GPS Element Parsed {"raw_longitude":755953984,"raw_latitude":115818184,"longitude_deg":75.5953984,"latitude_deg":11.5818184,"altitude":10,"angle":315,"satellites":42,"speed":35,"hex_longitude":"2d0ef140","hex_latitude":"06e73ec8","is_valid_coordinates":true} 
[2026-06-18 11: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-06-18 11:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131594496001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318284542949457920,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1084241639937310720,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781764050000,"timestamp_ms":1781764050000,"timestamp_seconds":1781764050,"priority":1,"record_length":96,"hex_timestamp":"0000019ed969cc50"} 
[2026-06-18 11:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11: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":105,"n8_eight_byte":126,"data_length":795,"current_offset":136} 
[2026-06-18 11:59:31] 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-06-18 11: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-06-18 11:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 11:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 11:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 11:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131594496001,"66":28050,"217":206,"2":56576,"24":35,"16":318284542949457920,"45":1084241639937310720},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 11:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 11:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 11:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131594496001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:59:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 11:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318284542949457920,"km_value":318284542949457.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1084241639937310720,"description":"Unknown IO ID 45"} 
[2026-06-18 11:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131594496001,"power":28050,"unknown_217":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":1084241639937310720}} 
[2026-06-18 11:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":106486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:59:31] local.INFO: GPS data processed {"connection_id":106486,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:59:31] local.INFO: Acknowledgment sent {"connection_id":106486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:59:33] local.INFO: TCP Data received {"connection_id":105724,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:59:33] local.INFO: Processing buffer {"connection_id":105724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 11:59:33] local.INFO: IMEI packet received {"connection_id":105724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 11:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":105724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:59:41] local.INFO: TCP Data received {"connection_id":105911,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:59:41] local.INFO: Processing buffer {"connection_id":105911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:59:41] local.INFO: IMEI packet received {"connection_id":105911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 11:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":105911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 11:59:46] local.INFO: TCP Data received {"connection_id":105911,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:59:46] local.INFO: Processing buffer {"connection_id":105911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 11:59:46] local.INFO: IMEI packet received {"connection_id":105911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 11:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":105911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 11:59:49] local.INFO: TCP Data received {"connection_id":105911,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed969e7a8012d18a50007229c30006f00592a..."} 
[2026-06-18 11:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed969e7a8012d18a50007229c30006f00592a..."} 
[2026-06-18 11:59:49] local.INFO: Processing buffer {"connection_id":105911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed969e7a8012d18a50007229c30006f00592a..."} 
[2026-06-18 11:59:49] local.INFO: Packet analysis {"connection_id":105911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:59:49] local.INFO: Extracted packet for processing {"connection_id":105911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed969"} 
[2026-06-18 11:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756589824,"raw_latitude":119708720,"longitude_deg":75.6589824,"latitude_deg":11.970872,"altitude":111,"angle":89,"satellites":42,"speed":0,"hex_longitude":"2d18a500","hex_latitude":"07229c30","is_valid_coordinates":true} 
[2026-06-18 11:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131597824001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3330163022495744,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775755289968779264,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781764057000,"timestamp_ms":1781764057000,"timestamp_seconds":1781764057,"priority":1,"record_length":96,"hex_timestamp":"0000019ed969e7a8"} 
[2026-06-18 11:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 11:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 11:59:49] 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-06-18 11:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131597824001,"66":13993,"120":206,"28":31744,"24":0,"16":3330163022495744,"45":1775755289968779264},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131597824001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:59:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:59:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3330163022495744,"km_value":3330163022495.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775755289968779264,"description":"Unknown IO ID 45"} 
[2026-06-18 11:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131597824001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1775755289968779264}} 
[2026-06-18 11:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":105911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:59:49] local.INFO: GPS data processed {"connection_id":105911,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:59:49] local.INFO: Acknowledgment sent {"connection_id":105911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 11:59:50] local.INFO: TCP Data received {"connection_id":105911,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96a0300012d18a5c007229bc8006f009729..."} 
[2026-06-18 11:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96a0300012d18a5c007229bc8006f009729..."} 
[2026-06-18 11:59:50] local.INFO: Processing buffer {"connection_id":105911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96a0300012d18a5c007229bc8006f009729..."} 
[2026-06-18 11:59:50] local.INFO: Packet analysis {"connection_id":105911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 11:59:50] local.INFO: Extracted packet for processing {"connection_id":105911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 11:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756590016,"raw_latitude":119708616,"longitude_deg":75.6590016,"latitude_deg":11.9708616,"altitude":111,"angle":151,"satellites":41,"speed":4,"hex_longitude":"2d18a5c0","hex_latitude":"07229bc8","is_valid_coordinates":true} 
[2026-06-18 11:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 11:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131598592001,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3330175907397632,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775825658712961024,"note":"Value kept but may cause issues"} 
[2026-06-18 11:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 11:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781764064000,"timestamp_ms":1781764064000,"timestamp_seconds":1781764064,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96a0300"} 
[2026-06-18 11:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 11:59:50] 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-06-18 11:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 11:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 11:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 11:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 11:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 11:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 11:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 11:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 11:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 11:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 11:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131598592001,"66":14004,"120":206,"28":31744,"24":4,"16":3330175907397632,"45":1775825658712961024},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 11:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 11:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 11:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131598592001,"description":"Unknown IO ID 0"} 
[2026-06-18 11:59:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 11:59:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 11:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3330175907397632,"km_value":3330175907397.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 11:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775825658712961024,"description":"Unknown IO ID 45"} 
[2026-06-18 11:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131598592001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1775825658712961024}} 
[2026-06-18 11:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":105911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 11:59:50] local.INFO: GPS data processed {"connection_id":105911,"processed":1,"errors":0,"total":1} 
[2026-06-18 11:59:50] local.INFO: Acknowledgment sent {"connection_id":105911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:00:03] local.INFO: TCP Data received {"connection_id":106486,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96a1e58012d0ee48006e74bf00008013e29..."} 
[2026-06-18 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96a1e58012d0ee48006e74bf00008013e29..."} 
[2026-06-18 12:00:03] local.INFO: Processing buffer {"connection_id":106486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96a1e58012d0ee48006e74bf00008013e29..."} 
[2026-06-18 12:00:03] local.INFO: Packet analysis {"connection_id":106486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 12:00:03] local.INFO: Extracted packet for processing {"connection_id":106486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 12:00:03] local.INFO: GPS Element Parsed {"raw_longitude":755950720,"raw_latitude":115821552,"longitude_deg":75.595072,"latitude_deg":11.5821552,"altitude":8,"angle":318,"satellites":41,"speed":14,"hex_longitude":"2d0ee480","hex_latitude":"06e74bf0","is_valid_coordinates":true} 
[2026-06-18 12:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131596800001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318284766287757312,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1076712184311891968,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781764071000,"timestamp_ms":1781764071000,"timestamp_seconds":1781764071,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96a1e58"} 
[2026-06-18 12:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:00: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-06-18 12:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 12:00:03] 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-06-18 12:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131596800001,"66":27908,"217":206,"2":56576,"24":14,"16":318284766287757312,"45":1076712184311891968},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131596800001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:00:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318284766287757312,"km_value":318284766287757.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1076712184311891968,"description":"Unknown IO ID 45"} 
[2026-06-18 12:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131596800001,"power":27908,"unknown_217":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":1076712184311891968}} 
[2026-06-18 12:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":106486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:00:03] local.INFO: GPS data processed {"connection_id":106486,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:00:03] local.INFO: Acknowledgment sent {"connection_id":106486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:00:22] local.INFO: TCP Data received {"connection_id":105911,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96a06e8012d18a64007229b50006f00a52a..."} 
[2026-06-18 12:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96a06e8012d18a64007229b50006f00a52a..."} 
[2026-06-18 12:00:22] local.INFO: Processing buffer {"connection_id":105911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96a06e8012d18a64007229b50006f00a52a..."} 
[2026-06-18 12:00:22] local.INFO: Packet analysis {"connection_id":105911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 12:00:22] local.INFO: Extracted packet for processing {"connection_id":105911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756590144,"raw_latitude":119708496,"longitude_deg":75.6590144,"latitude_deg":11.9708496,"altitude":111,"angle":165,"satellites":42,"speed":6,"hex_longitude":"2d18a640","hex_latitude":"07229b50","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131600384001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3330180202364928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776036764945467392,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781764065000,"timestamp_ms":1781764065000,"timestamp_seconds":1781764065,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96a06e8"} 
[2026-06-18 12:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 12:00:22] 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-06-18 12: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-06-18 12:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131600384001,"66":13993,"120":206,"28":31744,"24":6,"16":3330180202364928,"45":1776036764945467392},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131600384001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:00:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:00:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3330180202364928,"km_value":3330180202364.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776036764945467392,"description":"Unknown IO ID 45"} 
[2026-06-18 12:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131600384001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1776036764945467392}} 
[2026-06-18 12:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":105911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:00:22] local.INFO: GPS data processed {"connection_id":105911,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:00:22] local.INFO: Acknowledgment sent {"connection_id":105911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:00:25] local.INFO: TCP Data received {"connection_id":105725,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:00:25] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:00:25] local.INFO: IMEI packet received {"connection_id":105725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":105725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:00:30] local.INFO: TCP Data received {"connection_id":105725,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:00:30] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:00:30] local.INFO: IMEI packet received {"connection_id":105725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":105725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:00:32] local.INFO: TCP Data received {"connection_id":105725,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96a7060012d0edfc006e751200006013a2b..."} 
[2026-06-18 12:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96a7060012d0edfc006e751200006013a2b..."} 
[2026-06-18 12:00:32] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96a7060012d0edfc006e751200006013a2b..."} 
[2026-06-18 12:00:32] local.INFO: Packet analysis {"connection_id":105725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 12:00:32] local.INFO: Extracted packet for processing {"connection_id":105725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 12:00:32] local.INFO: GPS Element Parsed {"raw_longitude":755949504,"raw_latitude":115822880,"longitude_deg":75.5949504,"latitude_deg":11.582288,"altitude":6,"angle":314,"satellites":43,"speed":0,"hex_longitude":"2d0edfc0","hex_latitude":"06e75120","is_valid_coordinates":true} 
[2026-06-18 12:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131602176001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318284856482070528,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1073123378359693312,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781764092000,"timestamp_ms":1781764092000,"timestamp_seconds":1781764092,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96a7060"} 
[2026-06-18 12:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:00: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-06-18 12:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131602176001,"66":27908,"217":206,"2":56576,"24":0,"16":318284856482070528,"45":1073123378359693312},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131602176001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:00:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318284856482070528,"km_value":318284856482070.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1073123378359693312,"description":"Unknown IO ID 45"} 
[2026-06-18 12:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131602176001,"power":27908,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1073123378359693312}} 
[2026-06-18 12:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":105725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:00:32] local.INFO: GPS data processed {"connection_id":105725,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:00:32] local.INFO: Acknowledgment sent {"connection_id":105725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:00:36] local.INFO: TCP Data received {"connection_id":105726,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:00:36] local.INFO: Processing buffer {"connection_id":105726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:00:36] local.INFO: IMEI packet received {"connection_id":105726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":105726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:00:42] local.INFO: TCP Data received {"connection_id":105726,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:00:42] local.INFO: Processing buffer {"connection_id":105726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:00:42] local.INFO: IMEI packet received {"connection_id":105726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":105726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:00:43] local.INFO: TCP Data received {"connection_id":105726,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96bef30012d185c8007220578005400b626..."} 
[2026-06-18 12:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96bef30012d185c8007220578005400b626..."} 
[2026-06-18 12:00:43] local.INFO: Processing buffer {"connection_id":105726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96bef30012d185c8007220578005400b626..."} 
[2026-06-18 12:00:43] local.INFO: Packet analysis {"connection_id":105726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:00:43] local.INFO: Extracted packet for processing {"connection_id":105726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756571264,"raw_latitude":119670136,"longitude_deg":75.6571264,"latitude_deg":11.9670136,"altitude":84,"angle":182,"satellites":38,"speed":7,"hex_longitude":"2d185c80","hex_latitude":"07220578","is_valid_coordinates":true} 
[2026-06-18 12:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131632384001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332301916209152,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755489091635793920,"note":"Value kept but may cause issues"} 
[2026-06-18 12:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781764190000,"timestamp_ms":1781764190000,"timestamp_seconds":1781764190,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96bef30"} 
[2026-06-18 12:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:00:43] 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-06-18 12:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 12:00:43] 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-06-18 12:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131632384001,"66":12885,"120":206,"28":31744,"24":7,"16":3332301916209152,"45":1755489091635793920},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131632384001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:00:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332301916209152,"km_value":3332301916209.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755489091635793920,"description":"Unknown IO ID 45"} 
[2026-06-18 12:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131632384001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1755489091635793920}} 
[2026-06-18 12:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":105726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343998,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:00:43] local.INFO: GPS data processed {"connection_id":105726,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:00:43] local.INFO: Acknowledgment sent {"connection_id":105726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:01:04] local.INFO: TCP Data received {"connection_id":105725,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96ac268012d0edb8006e754e8000501362c..."} 
[2026-06-18 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96ac268012d0edb8006e754e8000501362c..."} 
[2026-06-18 12:01:04] local.INFO: Processing buffer {"connection_id":105725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96ac268012d0edb8006e754e8000501362c..."} 
[2026-06-18 12:01:04] local.INFO: Packet analysis {"connection_id":105725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 12:01:04] local.INFO: Extracted packet for processing {"connection_id":105725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96a"} 
[2026-06-18 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":755948416,"raw_latitude":115823848,"longitude_deg":75.5948416,"latitude_deg":11.5823848,"altitude":5,"angle":310,"satellites":44,"speed":0,"hex_longitude":"2d0edb80","hex_latitude":"06e754e8","is_valid_coordinates":true} 
[2026-06-18 12:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131607552001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318284929496514560,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1071786372220657664,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781764113000,"timestamp_ms":1781764113000,"timestamp_seconds":1781764113,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96ac268"} 
[2026-06-18 12:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:01: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-06-18 12:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131607552001,"66":27604,"217":206,"2":56576,"24":0,"16":318284929496514560,"45":1071786372220657664},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131607552001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:01:04] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318284929496514560,"km_value":318284929496514.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1071786372220657664,"description":"Unknown IO ID 45"} 
[2026-06-18 12:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131607552001,"power":27604,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1071786372220657664}} 
[2026-06-18 12:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":105725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":343999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:01:04] local.INFO: GPS data processed {"connection_id":105725,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:01:04] local.INFO: Acknowledgment sent {"connection_id":105725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:01:14] local.INFO: TCP Data received {"connection_id":105726,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96bf318012d185c40072204c8005400c825..."} 
[2026-06-18 12:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96bf318012d185c40072204c8005400c825..."} 
[2026-06-18 12:01:14] local.INFO: Processing buffer {"connection_id":105726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96bf318012d185c40072204c8005400c825..."} 
[2026-06-18 12:01:14] local.INFO: Packet analysis {"connection_id":105726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:01:14] local.INFO: Extracted packet for processing {"connection_id":105726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756571200,"raw_latitude":119669960,"longitude_deg":75.65712,"latitude_deg":11.966996,"altitude":84,"angle":200,"satellites":37,"speed":7,"hex_longitude":"2d185c40","hex_latitude":"072204c8","is_valid_coordinates":true} 
[2026-06-18 12:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131632640001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332310506143744,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755418722891560960,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781764191000,"timestamp_ms":1781764191000,"timestamp_seconds":1781764191,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96bf318"} 
[2026-06-18 12:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 12:01:14] 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-06-18 12:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131632640001,"66":13015,"120":206,"28":31744,"24":7,"16":3332310506143744,"45":1755418722891560960},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131632640001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:01:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332310506143744,"km_value":3332310506143.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755418722891560960,"description":"Unknown IO ID 45"} 
[2026-06-18 12:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131632640001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1755418722891560960}} 
[2026-06-18 12:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":105726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:01:14] local.INFO: GPS data processed {"connection_id":105726,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:01:14] local.INFO: Acknowledgment sent {"connection_id":105726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:01:25] local.INFO: TCP Data received {"connection_id":105913,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:01:25] local.INFO: Processing buffer {"connection_id":105913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:01:25] local.INFO: IMEI packet received {"connection_id":105913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":105913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:01:30] local.INFO: TCP Data received {"connection_id":105913,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:01:30] local.INFO: Processing buffer {"connection_id":105913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:01:30] local.INFO: IMEI packet received {"connection_id":105913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":105913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:01:33] local.INFO: TCP Data received {"connection_id":105913,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96b1470012d0eda0006e75690000501362c..."} 
[2026-06-18 12:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96b1470012d0eda0006e75690000501362c..."} 
[2026-06-18 12:01:33] local.INFO: Processing buffer {"connection_id":105913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96b1470012d0eda0006e75690000501362c..."} 
[2026-06-18 12:01:33] local.INFO: Packet analysis {"connection_id":105913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:01:33] local.INFO: Extracted packet for processing {"connection_id":105913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:01:33] local.INFO: GPS Element Parsed {"raw_longitude":755948032,"raw_latitude":115824272,"longitude_deg":75.5948032,"latitude_deg":11.5824272,"altitude":5,"angle":310,"satellites":44,"speed":0,"hex_longitude":"2d0eda00","hex_latitude":"06e75690","is_valid_coordinates":true} 
[2026-06-18 12:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131612928001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318284959561285632,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070590103569885184,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781764134000,"timestamp_ms":1781764134000,"timestamp_seconds":1781764134,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96b1470"} 
[2026-06-18 12:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:01: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-06-18 12:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 12:01: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-06-18 12:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131612928001,"66":27930,"217":206,"2":56576,"24":0,"16":318284959561285632,"45":1070590103569885184},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131612928001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:01:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318284959561285632,"km_value":318284959561285.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1070590103569885184,"description":"Unknown IO ID 45"} 
[2026-06-18 12:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131612928001,"power":27930,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1070590103569885184}} 
[2026-06-18 12:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":105913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:01:33] local.INFO: GPS data processed {"connection_id":105913,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:01:33] local.INFO: Acknowledgment sent {"connection_id":105913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:01:36] local.INFO: TCP Data received {"connection_id":105727,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:01:36] local.INFO: Processing buffer {"connection_id":105727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:01:36] local.INFO: IMEI packet received {"connection_id":105727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":105727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:01:42] local.INFO: TCP Data received {"connection_id":105727,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:01:42] local.INFO: Processing buffer {"connection_id":105727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:01:42] local.INFO: IMEI packet received {"connection_id":105727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":105727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:01:45] local.INFO: TCP Data received {"connection_id":105727,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96bf700012d185c0007220448005400d626..."} 
[2026-06-18 12:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96bf700012d185c0007220448005400d626..."} 
[2026-06-18 12:01:45] local.INFO: Processing buffer {"connection_id":105727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96bf700012d185c0007220448005400d626..."} 
[2026-06-18 12:01:45] local.INFO: Packet analysis {"connection_id":105727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:01:45] local.INFO: Extracted packet for processing {"connection_id":105727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756571136,"raw_latitude":119669832,"longitude_deg":75.6571136,"latitude_deg":11.9669832,"altitude":84,"angle":214,"satellites":38,"speed":6,"hex_longitude":"2d185c00","hex_latitude":"07220448","is_valid_coordinates":true} 
[2026-06-18 12:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131632896001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332319096078336,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755348354147338240,"note":"Value kept but may cause issues"} 
[2026-06-18 12:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781764192000,"timestamp_ms":1781764192000,"timestamp_seconds":1781764192,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96bf700"} 
[2026-06-18 12:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 12:01:45] 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-06-18 12:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131632896001,"66":13015,"120":206,"28":31744,"24":6,"16":3332319096078336,"45":1755348354147338240},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131632896001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:01:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332319096078336,"km_value":3332319096078.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755348354147338240,"description":"Unknown IO ID 45"} 
[2026-06-18 12:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131632896001,"power":13015,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1755348354147338240}} 
[2026-06-18 12:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":105727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:01:45] local.INFO: GPS data processed {"connection_id":105727,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:01:45] local.INFO: Acknowledgment sent {"connection_id":105727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:02:05] local.INFO: TCP Data received {"connection_id":105913,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96b6678012d0eda0006e756900005013629..."} 
[2026-06-18 12:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96b6678012d0eda0006e756900005013629..."} 
[2026-06-18 12:02:05] local.INFO: Processing buffer {"connection_id":105913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96b6678012d0eda0006e756900005013629..."} 
[2026-06-18 12:02:05] local.INFO: Packet analysis {"connection_id":105913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:02:05] local.INFO: Extracted packet for processing {"connection_id":105913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:02:05] local.INFO: GPS Element Parsed {"raw_longitude":755948032,"raw_latitude":115824272,"longitude_deg":75.5948032,"latitude_deg":11.5824272,"altitude":5,"angle":310,"satellites":41,"speed":0,"hex_longitude":"2d0eda00","hex_latitude":"06e75690","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131618304001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318284959561285632,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070167891104927744,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781764155000,"timestamp_ms":1781764155000,"timestamp_seconds":1781764155,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96b6678"} 
[2026-06-18 12:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131618304001,"66":27908,"217":206,"2":56576,"24":0,"16":318284959561285632,"45":1070167891104927744},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131618304001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:02:05] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318284959561285632,"km_value":318284959561285.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1070167891104927744,"description":"Unknown IO ID 45"} 
[2026-06-18 12:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131618304001,"power":27908,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1070167891104927744}} 
[2026-06-18 12:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":105913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:02:05] local.INFO: GPS data processed {"connection_id":105913,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:02:05] local.INFO: Acknowledgment sent {"connection_id":105913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:02:17] local.INFO: TCP Data received {"connection_id":105727,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96c4908012d185bc0072203f0005400d628..."} 
[2026-06-18 12:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96c4908012d185bc0072203f0005400d628..."} 
[2026-06-18 12:02:17] local.INFO: Processing buffer {"connection_id":105727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96c4908012d185bc0072203f0005400d628..."} 
[2026-06-18 12:02:17] local.INFO: Packet analysis {"connection_id":105727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:02:17] local.INFO: Extracted packet for processing {"connection_id":105727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131633152001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755277985403127808,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781764213000,"timestamp_ms":1781764213000,"timestamp_seconds":1781764213,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96c4908"} 
[2026-06-18 12:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:02:17] 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-06-18 12:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 12:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":105727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":105727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":105727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131633152001,"66":12993,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755277985403127808},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131633152001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:02:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:02:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755277985403127808,"description":"Unknown IO ID 45"} 
[2026-06-18 12:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131633152001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755277985403127808}} 
[2026-06-18 12:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":105727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:02:17] local.INFO: GPS data processed {"connection_id":105727,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:02:17] local.INFO: Acknowledgment sent {"connection_id":105727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:02:25] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:02:25] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:02:25] local.INFO: IMEI packet received {"connection_id":105914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":105914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:02:30] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:02:30] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:02:30] local.INFO: IMEI packet received {"connection_id":105914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":105914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:02:31] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96bb880012d0ed98006e757a0000501362b..."} 
[2026-06-18 12:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96bb880012d0ed98006e757a0000501362b..."} 
[2026-06-18 12:02:31] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96bb880012d0ed98006e757a0000501362b..."} 
[2026-06-18 12:02:31] local.INFO: Packet analysis {"connection_id":105914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:02:31] local.INFO: Extracted packet for processing {"connection_id":105914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96b"} 
[2026-06-18 12:02:31] local.INFO: GPS Element Parsed {"raw_longitude":755947904,"raw_latitude":115824544,"longitude_deg":75.5947904,"latitude_deg":11.5824544,"altitude":5,"angle":310,"satellites":43,"speed":0,"hex_longitude":"2d0ed980","hex_latitude":"06e757a0","is_valid_coordinates":true} 
[2026-06-18 12:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131623680001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318284976741154816,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070167891104927744,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781764176000,"timestamp_ms":1781764176000,"timestamp_seconds":1781764176,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96bb880"} 
[2026-06-18 12:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:02: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-06-18 12:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131623680001,"66":27908,"217":206,"2":56576,"24":0,"16":318284976741154816,"45":1070167891104927744},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131623680001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:02:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318284976741154816,"km_value":318284976741154.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1070167891104927744,"description":"Unknown IO ID 45"} 
[2026-06-18 12:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131623680001,"power":27908,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1070167891104927744}} 
[2026-06-18 12:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":105914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:02:31] local.INFO: GPS data processed {"connection_id":105914,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:02:31] local.INFO: Acknowledgment sent {"connection_id":105914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:02:36] local.INFO: TCP Data received {"connection_id":107448,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:36] local.INFO: Processing buffer {"connection_id":107448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:36] local.INFO: IMEI packet received {"connection_id":107448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":107448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:02:37] local.INFO: TCP Data received {"connection_id":107448,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:37] local.INFO: Processing buffer {"connection_id":107448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:37] local.INFO: IMEI packet received {"connection_id":107448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":107448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:02:42] local.INFO: TCP Data received {"connection_id":107448,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107448,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:42] local.INFO: Processing buffer {"connection_id":107448,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:02:42] local.INFO: IMEI packet received {"connection_id":107448,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:02:42] local.INFO: IMEI acknowledgment sent {"connection_id":107448,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:02:43] local.INFO: TCP Data received {"connection_id":107448,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96c9b10012d185bc0072203f0005400d628..."} 
[2026-06-18 12:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96c9b10012d185bc0072203f0005400d628..."} 
[2026-06-18 12:02:43] local.INFO: Processing buffer {"connection_id":107448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96c9b10012d185bc0072203f0005400d628..."} 
[2026-06-18 12:02:43] local.INFO: Packet analysis {"connection_id":107448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:02:43] local.INFO: Extracted packet for processing {"connection_id":107448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131638528001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781764234000,"timestamp_ms":1781764234000,"timestamp_seconds":1781764234,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96c9b10"} 
[2026-06-18 12:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:02:43] 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-06-18 12:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 12:02:43] 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-06-18 12:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131638528001,"66":12961,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131638528001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:02:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131638528001,"power":12961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":107448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:02:43] local.INFO: GPS data processed {"connection_id":107448,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:02:43] local.INFO: Acknowledgment sent {"connection_id":107448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:03:03] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96c0a88012d0ed70006e75a080005013f2b..."} 
[2026-06-18 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96c0a88012d0ed70006e75a080005013f2b..."} 
[2026-06-18 12:03:03] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96c0a88012d0ed70006e75a080005013f2b..."} 
[2026-06-18 12:03:03] local.INFO: Packet analysis {"connection_id":105914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:03:03] local.INFO: Extracted packet for processing {"connection_id":105914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:03:03] local.INFO: GPS Element Parsed {"raw_longitude":755947264,"raw_latitude":115825160,"longitude_deg":75.5947264,"latitude_deg":11.582516,"altitude":5,"angle":319,"satellites":43,"speed":0,"hex_longitude":"2d0ed700","hex_latitude":"06e75a08","is_valid_coordinates":true} 
[2026-06-18 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285019690827776,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1070027153616642048,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781764197000,"timestamp_ms":1781764197000,"timestamp_seconds":1781764197,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96c0a88"} 
[2026-06-18 12:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:03: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-06-18 12:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131629056001,"66":27908,"217":206,"2":56576,"24":0,"16":318285019690827776,"45":1070027153616642048},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:03:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285019690827776,"km_value":318285019690827.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1070027153616642048,"description":"Unknown IO ID 45"} 
[2026-06-18 12:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131629056001,"power":27908,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1070027153616642048}} 
[2026-06-18 12:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":105914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:03:03] local.INFO: GPS data processed {"connection_id":105914,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:03:03] local.INFO: Acknowledgment sent {"connection_id":105914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:03:14] local.INFO: TCP Data received {"connection_id":107448,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96ced18012d185bc0072203f0005400d628..."} 
[2026-06-18 12:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96ced18012d185bc0072203f0005400d628..."} 
[2026-06-18 12:03:14] local.INFO: Processing buffer {"connection_id":107448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96ced18012d185bc0072203f0005400d628..."} 
[2026-06-18 12:03:14] local.INFO: Packet analysis {"connection_id":107448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:03:14] local.INFO: Extracted packet for processing {"connection_id":107448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131643904001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781764255000,"timestamp_ms":1781764255000,"timestamp_seconds":1781764255,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96ced18"} 
[2026-06-18 12:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 12:03:14] 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-06-18 12:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107448,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131643904001,"66":12972,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131643904001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:03:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131643904001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":107448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:03:14] local.INFO: GPS data processed {"connection_id":107448,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:03:14] local.INFO: Acknowledgment sent {"connection_id":107448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:03:27] local.INFO: TCP Data received {"connection_id":106487,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:27] local.INFO: Processing buffer {"connection_id":106487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:27] local.INFO: IMEI packet received {"connection_id":106487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":106487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:03:30] local.INFO: TCP Data received {"connection_id":106487,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:30] local.INFO: Processing buffer {"connection_id":106487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:30] local.INFO: IMEI packet received {"connection_id":106487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":106487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:03:35] local.INFO: TCP Data received {"connection_id":106487,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:35] local.INFO: Processing buffer {"connection_id":106487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:03:35] local.INFO: IMEI packet received {"connection_id":106487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:03:35] local.INFO: IMEI acknowledgment sent {"connection_id":106487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:03:36] local.INFO: TCP Data received {"connection_id":107450,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:36] local.INFO: Processing buffer {"connection_id":107450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:36] local.INFO: IMEI packet received {"connection_id":107450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":107450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:03:37] local.INFO: TCP Data received {"connection_id":106487,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96c5c90012d0ed70006e75a100005013f2c..."} 
[2026-06-18 12:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96c5c90012d0ed70006e75a100005013f2c..."} 
[2026-06-18 12:03:37] local.INFO: Processing buffer {"connection_id":106487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96c5c90012d0ed70006e75a100005013f2c..."} 
[2026-06-18 12:03:37] local.INFO: Packet analysis {"connection_id":106487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:03:37] local.INFO: Extracted packet for processing {"connection_id":106487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:03:37] local.INFO: GPS Element Parsed {"raw_longitude":755947264,"raw_latitude":115825168,"longitude_deg":75.5947264,"latitude_deg":11.5825168,"altitude":5,"angle":319,"satellites":44,"speed":0,"hex_longitude":"2d0ed700","hex_latitude":"06e75a10","is_valid_coordinates":true} 
[2026-06-18 12:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131634432001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285019690827776,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069323466175023104,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781764218000,"timestamp_ms":1781764218000,"timestamp_seconds":1781764218,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96c5c90"} 
[2026-06-18 12:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:03: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-06-18 12:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131634432001,"66":27995,"217":206,"2":56576,"24":0,"16":318285019690827776,"45":1069323466175023104},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131634432001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:03:37] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285019690827776,"km_value":318285019690827.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069323466175023104,"description":"Unknown IO ID 45"} 
[2026-06-18 12:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131634432001,"power":27995,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1069323466175023104}} 
[2026-06-18 12:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":106487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:03:37] local.INFO: GPS data processed {"connection_id":106487,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:03:37] local.INFO: Acknowledgment sent {"connection_id":106487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:03:40] local.INFO: TCP Data received {"connection_id":107450,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:40] local.INFO: Processing buffer {"connection_id":107450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:40] local.INFO: IMEI packet received {"connection_id":107450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":107450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:03:41] local.INFO: TCP Data received {"connection_id":107450,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107450,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:41] local.INFO: Processing buffer {"connection_id":107450,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:03:41] local.INFO: IMEI packet received {"connection_id":107450,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":107450,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:03:42] local.INFO: TCP Data received {"connection_id":107450,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96d3f20012d185bc0072203f0005400d629..."} 
[2026-06-18 12:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96d3f20012d185bc0072203f0005400d629..."} 
[2026-06-18 12:03:42] local.INFO: Processing buffer {"connection_id":107450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96d3f20012d185bc0072203f0005400d629..."} 
[2026-06-18 12:03:42] local.INFO: Packet analysis {"connection_id":107450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:03:42] local.INFO: Extracted packet for processing {"connection_id":107450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131649280001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781764276000,"timestamp_ms":1781764276000,"timestamp_seconds":1781764276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96d3f20"} 
[2026-06-18 12:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-18 12:03:42] 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-06-18 12:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131649280001,"66":12874,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131649280001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:03:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:03:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131649280001,"power":12874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":107450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:03:42] local.INFO: GPS data processed {"connection_id":107450,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:03:42] local.INFO: Acknowledgment sent {"connection_id":107450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:04:09] local.INFO: TCP Data received {"connection_id":106487,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96cae98012d0ed70006e75a100005013f2d..."} 
[2026-06-18 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96cae98012d0ed70006e75a100005013f2d..."} 
[2026-06-18 12:04:09] local.INFO: Processing buffer {"connection_id":106487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96cae98012d0ed70006e75a100005013f2d..."} 
[2026-06-18 12:04:09] local.INFO: Packet analysis {"connection_id":106487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:04:09] local.INFO: Extracted packet for processing {"connection_id":106487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96c"} 
[2026-06-18 12:04:09] local.INFO: GPS Element Parsed {"raw_longitude":755947264,"raw_latitude":115825168,"longitude_deg":75.5947264,"latitude_deg":11.5825168,"altitude":5,"angle":319,"satellites":45,"speed":0,"hex_longitude":"2d0ed700","hex_latitude":"06e75a10","is_valid_coordinates":true} 
[2026-06-18 12:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131639808001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285019690827776,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069323466175025152,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781764239000,"timestamp_ms":1781764239000,"timestamp_seconds":1781764239,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96cae98"} 
[2026-06-18 12:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:04:09] 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-06-18 12:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131639808001,"66":28006,"217":206,"2":56576,"24":0,"16":318285019690827776,"45":1069323466175025152},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131639808001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:04:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285019690827776,"km_value":318285019690827.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069323466175025152,"description":"Unknown IO ID 45"} 
[2026-06-18 12:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131639808001,"power":28006,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1069323466175025152}} 
[2026-06-18 12:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":106487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:04:09] local.INFO: GPS data processed {"connection_id":106487,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:04:09] local.INFO: Acknowledgment sent {"connection_id":106487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:04:14] local.INFO: TCP Data received {"connection_id":107450,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96d9128012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96d9128012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:04:14] local.INFO: Processing buffer {"connection_id":107450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96d9128012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:04:14] local.INFO: Packet analysis {"connection_id":107450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:04:14] local.INFO: Extracted packet for processing {"connection_id":107450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131654656001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781764297000,"timestamp_ms":1781764297000,"timestamp_seconds":1781764297,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96d9128"} 
[2026-06-18 12:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-18 12:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107450,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131654656001,"66":12885,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131654656001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:04:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131654656001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":107450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:04:14] local.INFO: GPS data processed {"connection_id":107450,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:04:14] local.INFO: Acknowledgment sent {"connection_id":107450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:04:26] local.INFO: TCP Data received {"connection_id":106488,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:04:26] local.INFO: Processing buffer {"connection_id":106488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:04:26] local.INFO: IMEI packet received {"connection_id":106488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":106488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:04:30] local.INFO: TCP Data received {"connection_id":106488,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:04:30] local.INFO: Processing buffer {"connection_id":106488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:04:30] local.INFO: IMEI packet received {"connection_id":106488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":106488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:04:31] local.INFO: TCP Data received {"connection_id":106488,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96d00a0012d0ed70006e75a100005013f2e..."} 
[2026-06-18 12:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96d00a0012d0ed70006e75a100005013f2e..."} 
[2026-06-18 12:04:31] local.INFO: Processing buffer {"connection_id":106488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96d00a0012d0ed70006e75a100005013f2e..."} 
[2026-06-18 12:04:31] local.INFO: Packet analysis {"connection_id":106488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:04:31] local.INFO: Extracted packet for processing {"connection_id":106488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:04:31] local.INFO: GPS Element Parsed {"raw_longitude":755947264,"raw_latitude":115825168,"longitude_deg":75.5947264,"latitude_deg":11.5825168,"altitude":5,"angle":319,"satellites":46,"speed":0,"hex_longitude":"2d0ed700","hex_latitude":"06e75a10","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131645184001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285019690827776,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069323466175025152,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781764260000,"timestamp_ms":1781764260000,"timestamp_seconds":1781764260,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96d00a0"} 
[2026-06-18 12:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 12:04:31] 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-06-18 12: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-06-18 12:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131645184001,"66":28006,"217":206,"2":56576,"24":0,"16":318285019690827776,"45":1069323466175025152},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131645184001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:04:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285019690827776,"km_value":318285019690827.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069323466175025152,"description":"Unknown IO ID 45"} 
[2026-06-18 12:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131645184001,"power":28006,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1069323466175025152}} 
[2026-06-18 12:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":106488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:04:31] local.INFO: GPS data processed {"connection_id":106488,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:04:31] local.INFO: Acknowledgment sent {"connection_id":106488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:04:42] local.INFO: TCP Data received {"connection_id":105731,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:42] local.INFO: Processing buffer {"connection_id":105731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:42] local.INFO: IMEI packet received {"connection_id":105731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":105731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:04:42] local.INFO: TCP Data received {"connection_id":105731,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:42] local.INFO: Processing buffer {"connection_id":105731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:42] local.INFO: IMEI packet received {"connection_id":105731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":105731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:04:46] local.INFO: TCP Data received {"connection_id":105731,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:46] local.INFO: Processing buffer {"connection_id":105731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:04:46] local.INFO: IMEI packet received {"connection_id":105731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":105731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:04:48] local.INFO: TCP Data received {"connection_id":105731,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96de330012d185bc0072203f0005400d627..."} 
[2026-06-18 12:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96de330012d185bc0072203f0005400d627..."} 
[2026-06-18 12:04:48] local.INFO: Processing buffer {"connection_id":105731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96de330012d185bc0072203f0005400d627..."} 
[2026-06-18 12:04:48] local.INFO: Packet analysis {"connection_id":105731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:04:48] local.INFO: Extracted packet for processing {"connection_id":105731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:04: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-06-18 12:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131660032001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781764318000,"timestamp_ms":1781764318000,"timestamp_seconds":1781764318,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96de330"} 
[2026-06-18 12:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 12:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":105731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":105731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":105731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131660032001,"66":12863,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131660032001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:04:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:04:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131660032001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":105731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:04:48] local.INFO: GPS data processed {"connection_id":105731,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:04:48] local.INFO: Acknowledgment sent {"connection_id":105731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:04:52] local.INFO: TCP Data received {"connection_id":105731,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96e3538012d185bc0072203f0005400d629..."} 
[2026-06-18 12:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96e3538012d185bc0072203f0005400d629..."} 
[2026-06-18 12:04:52] local.INFO: Processing buffer {"connection_id":105731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96e3538012d185bc0072203f0005400d629..."} 
[2026-06-18 12:04:52] local.INFO: Packet analysis {"connection_id":105731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:04:52] local.INFO: Extracted packet for processing {"connection_id":105731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781764339000,"timestamp_ms":1781764339000,"timestamp_seconds":1781764339,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96e3538"} 
[2026-06-18 12:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:04:52] 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-06-18 12:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-18 12:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":105731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":105731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":105731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131665408001,"66":12852,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:04:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:04:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131665408001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":105731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:04:52] local.INFO: GPS data processed {"connection_id":105731,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:04:52] local.INFO: Acknowledgment sent {"connection_id":105731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:05:03] local.INFO: TCP Data received {"connection_id":106488,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96d52a8012d0ed60006e75ae0000a013f2c..."} 
[2026-06-18 12:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96d52a8012d0ed60006e75ae0000a013f2c..."} 
[2026-06-18 12:05:03] local.INFO: Processing buffer {"connection_id":106488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96d52a8012d0ed60006e75ae0000a013f2c..."} 
[2026-06-18 12:05:03] local.INFO: Packet analysis {"connection_id":106488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:05:03] local.INFO: Extracted packet for processing {"connection_id":106488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:05:03] local.INFO: GPS Element Parsed {"raw_longitude":755947008,"raw_latitude":115825376,"longitude_deg":75.5947008,"latitude_deg":11.5825376,"altitude":10,"angle":319,"satellites":44,"speed":0,"hex_longitude":"2d0ed600","hex_latitude":"06e75ae0","is_valid_coordinates":true} 
[2026-06-18 12:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131650560001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285036870696960,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069323466175025152,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781764281000,"timestamp_ms":1781764281000,"timestamp_seconds":1781764281,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96d52a8"} 
[2026-06-18 12:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:05: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-06-18 12:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 12:05: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-06-18 12:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131650560001,"66":27865,"217":206,"2":56576,"24":0,"16":318285036870696960,"45":1069323466175025152},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131650560001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:05:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285036870696960,"km_value":318285036870696.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069323466175025152,"description":"Unknown IO ID 45"} 
[2026-06-18 12:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131650560001,"power":27865,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1069323466175025152}} 
[2026-06-18 12:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":106488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:05:03] local.INFO: GPS data processed {"connection_id":106488,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:05:03] local.INFO: Acknowledgment sent {"connection_id":106488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:05:04] local.INFO: TCP Data received {"connection_id":105730,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:05:04] local.INFO: Processing buffer {"connection_id":105730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:05:04] local.INFO: IMEI packet received {"connection_id":105730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":105730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:05:25] local.INFO: TCP Data received {"connection_id":107451,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:25] local.INFO: Processing buffer {"connection_id":107451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:25] local.INFO: IMEI packet received {"connection_id":107451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":107451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:05:27] local.INFO: TCP Data received {"connection_id":107451,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:27] local.INFO: Processing buffer {"connection_id":107451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:27] local.INFO: IMEI packet received {"connection_id":107451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":107451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:05:33] local.INFO: TCP Data received {"connection_id":107451,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:33] local.INFO: Processing buffer {"connection_id":107451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:05:33] local.INFO: IMEI packet received {"connection_id":107451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":107451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:05:33] local.INFO: TCP Data received {"connection_id":107452,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:05:33] local.INFO: Processing buffer {"connection_id":107452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:05:33] local.INFO: IMEI packet received {"connection_id":107452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":107452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:05:35] local.INFO: TCP Data received {"connection_id":107451,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96da4b0012d0ed60006e75ae0000a013f2d..."} 
[2026-06-18 12:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96da4b0012d0ed60006e75ae0000a013f2d..."} 
[2026-06-18 12:05:35] local.INFO: Processing buffer {"connection_id":107451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96da4b0012d0ed60006e75ae0000a013f2d..."} 
[2026-06-18 12:05:35] local.INFO: Packet analysis {"connection_id":107451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:05:35] local.INFO: Extracted packet for processing {"connection_id":107451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:05:35] local.INFO: GPS Element Parsed {"raw_longitude":755947008,"raw_latitude":115825376,"longitude_deg":75.5947008,"latitude_deg":11.5825376,"altitude":10,"angle":319,"satellites":45,"speed":0,"hex_longitude":"2d0ed600","hex_latitude":"06e75ae0","is_valid_coordinates":true} 
[2026-06-18 12:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:05:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131655936001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285036870696960,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069041991198367744,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:05:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781764302000,"timestamp_ms":1781764302000,"timestamp_seconds":1781764302,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96da4b0"} 
[2026-06-18 12:05:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:05:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:05:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 12:05:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:05:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:05:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:05:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:05:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:05:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:05:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:05:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:05:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:05:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:05:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131655936001,"66":28017,"217":206,"2":56576,"24":0,"16":318285036870696960,"45":1069041991198367744},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:05:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:05:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:05:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131655936001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:05:35] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:05:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285036870696960,"km_value":318285036870696.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:05:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069041991198367744,"description":"Unknown IO ID 45"} 
[2026-06-18 12:05:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131655936001,"power":28017,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1069041991198367744}} 
[2026-06-18 12:05:35] local.INFO: DEBUG: GPS processor result {"connection_id":107451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:05:35] local.INFO: GPS data processed {"connection_id":107451,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:05:35] local.INFO: Acknowledgment sent {"connection_id":107451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:05:36] local.INFO: TCP Data received {"connection_id":107451,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96df6b8012d0ed28006e75f280008013b2c..."} 
[2026-06-18 12:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96df6b8012d0ed28006e75f280008013b2c..."} 
[2026-06-18 12:05:36] local.INFO: Processing buffer {"connection_id":107451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96df6b8012d0ed28006e75f280008013b2c..."} 
[2026-06-18 12:05:36] local.INFO: Packet analysis {"connection_id":107451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:05:36] local.INFO: Extracted packet for processing {"connection_id":107451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96d"} 
[2026-06-18 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":755946112,"raw_latitude":115826472,"longitude_deg":75.5946112,"latitude_deg":11.5826472,"altitude":8,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d0ed280","hex_latitude":"06e75f28","is_valid_coordinates":true} 
[2026-06-18 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-06-18 12:05:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131661312001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285109885140992,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069041991198367744,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:05:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781764323000,"timestamp_ms":1781764323000,"timestamp_seconds":1781764323,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96df6b8"} 
[2026-06-18 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-06-18 12:05:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-18 12:05: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-06-18 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-06-18 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-06-18 12:05:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:05:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:05:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:05:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:05:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:05:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:05:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:05:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131661312001,"66":27995,"217":206,"2":56576,"24":0,"16":318285109885140992,"45":1069041991198367744},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:05:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:05:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:05:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131661312001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:05:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:05:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285109885140992,"km_value":318285109885141.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:05:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069041991198367744,"description":"Unknown IO ID 45"} 
[2026-06-18 12:05:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131661312001,"power":27995,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1069041991198367744}} 
[2026-06-18 12:05:36] local.INFO: DEBUG: GPS processor result {"connection_id":107451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:05:36] local.INFO: GPS data processed {"connection_id":107451,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:05:36] local.INFO: Acknowledgment sent {"connection_id":107451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:05:37] local.INFO: TCP Data received {"connection_id":107453,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:05:37] local.INFO: Processing buffer {"connection_id":107453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:05:37] local.INFO: IMEI packet received {"connection_id":107453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":107453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:05:41] local.INFO: TCP Data received {"connection_id":107453,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107453,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:05:41] local.INFO: Processing buffer {"connection_id":107453,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:05:41] local.INFO: IMEI packet received {"connection_id":107453,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":107453,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:05:43] local.INFO: TCP Data received {"connection_id":107453,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96e8740012d185bc0072203f0005400d628..."} 
[2026-06-18 12:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96e8740012d185bc0072203f0005400d628..."} 
[2026-06-18 12:05:43] local.INFO: Processing buffer {"connection_id":107453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96e8740012d185bc0072203f0005400d628..."} 
[2026-06-18 12:05:43] local.INFO: Packet analysis {"connection_id":107453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:05:43] local.INFO: Extracted packet for processing {"connection_id":107453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:05:43] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131670784001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781764360000,"timestamp_ms":1781764360000,"timestamp_seconds":1781764360,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96e8740"} 
[2026-06-18 12:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 12:05:43] 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-06-18 12:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131670784001,"66":12841,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131670784001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:05:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:05:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131670784001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":107453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:05:43] local.INFO: GPS data processed {"connection_id":107453,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:05:43] local.INFO: Acknowledgment sent {"connection_id":107453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:06:07] local.INFO: TCP Data received {"connection_id":107451,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96e2980012d0ece0006e764b0000701482c..."} 
[2026-06-18 12:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96e2980012d0ece0006e764b0000701482c..."} 
[2026-06-18 12:06:07] local.INFO: Processing buffer {"connection_id":107451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96e2980012d0ece0006e764b0000701482c..."} 
[2026-06-18 12:06:07] local.INFO: Packet analysis {"connection_id":107451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:06:07] local.INFO: Extracted packet for processing {"connection_id":107451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":755944960,"raw_latitude":115827888,"longitude_deg":75.594496,"latitude_deg":11.5827888,"altitude":7,"angle":328,"satellites":44,"speed":2,"hex_longitude":"2d0ece00","hex_latitude":"06e764b0","is_valid_coordinates":true} 
[2026-06-18 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131666688001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285195784486912,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1068056828780161024,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781764336000,"timestamp_ms":1781764336000,"timestamp_seconds":1781764336,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96e2980"} 
[2026-06-18 12:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131666688001,"66":27995,"217":206,"2":56576,"24":2,"16":318285195784486912,"45":1068056828780161024},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131666688001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:06:07] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285195784486912,"km_value":318285195784486.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1068056828780161024,"description":"Unknown IO ID 45"} 
[2026-06-18 12:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131666688001,"power":27995,"unknown_217":206,"power_alt":56576,"ignition":2,"odometer":null,"unknown_45":1068056828780161024}} 
[2026-06-18 12:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":107451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:06:07] local.INFO: GPS data processed {"connection_id":107451,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:06:07] local.INFO: Acknowledgment sent {"connection_id":107451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:06:17] local.INFO: TCP Data received {"connection_id":107453,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96ed948012d185bc0072203f0005400d627..."} 
[2026-06-18 12:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96ed948012d185bc0072203f0005400d627..."} 
[2026-06-18 12:06:17] local.INFO: Processing buffer {"connection_id":107453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96ed948012d185bc0072203f0005400d627..."} 
[2026-06-18 12:06:17] local.INFO: Packet analysis {"connection_id":107453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:06:17] local.INFO: Extracted packet for processing {"connection_id":107453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131676160001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781764381000,"timestamp_ms":1781764381000,"timestamp_seconds":1781764381,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96ed948"} 
[2026-06-18 12:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:06:17] 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-06-18 12:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 12:06:17] 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-06-18 12:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107453,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131676160001,"66":12798,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131676160001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:06:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:06:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131676160001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":107453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:06:17] local.INFO: GPS data processed {"connection_id":107453,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:06:17] local.INFO: Acknowledgment sent {"connection_id":107453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:06:25] local.INFO: TCP Data received {"connection_id":105915,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:06:25] local.INFO: Processing buffer {"connection_id":105915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:06:25] local.INFO: IMEI packet received {"connection_id":105915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":105915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:06:30] local.INFO: TCP Data received {"connection_id":105915,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:06:30] local.INFO: Processing buffer {"connection_id":105915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:06:30] local.INFO: IMEI packet received {"connection_id":105915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":105915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:06:31] local.INFO: TCP Data received {"connection_id":105915,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96e3150012d0ecdc006e764f00007013a2d..."} 
[2026-06-18 12:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96e3150012d0ecdc006e764f00007013a2d..."} 
[2026-06-18 12:06:31] local.INFO: Processing buffer {"connection_id":105915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96e3150012d0ecdc006e764f00007013a2d..."} 
[2026-06-18 12:06:31] local.INFO: Packet analysis {"connection_id":105915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:06:31] local.INFO: Extracted packet for processing {"connection_id":105915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96e"} 
[2026-06-18 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":755944896,"raw_latitude":115827952,"longitude_deg":75.5944896,"latitude_deg":11.5827952,"altitude":7,"angle":314,"satellites":45,"speed":1,"hex_longitude":"2d0ecdc0","hex_latitude":"06e764f0","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131670016001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318285204374421504,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1066790191385325568,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781764338000,"timestamp_ms":1781764338000,"timestamp_seconds":1781764338,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96e3150"} 
[2026-06-18 12:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:06: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-06-18 12: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-06-18 12:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131670016001,"66":27995,"217":206,"2":56576,"24":1,"16":318285204374421504,"45":1066790191385325568},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131670016001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:06:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318285204374421504,"km_value":318285204374421.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1066790191385325568,"description":"Unknown IO ID 45"} 
[2026-06-18 12:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131670016001,"power":27995,"unknown_217":206,"power_alt":56576,"ignition":1,"odometer":null,"unknown_45":1066790191385325568}} 
[2026-06-18 12:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":105915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:06:32] local.INFO: GPS data processed {"connection_id":105915,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:06:32] local.INFO: Acknowledgment sent {"connection_id":105915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:06:36] local.INFO: TCP Data received {"connection_id":105732,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:06:36] local.INFO: Processing buffer {"connection_id":105732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:06:36] local.INFO: IMEI packet received {"connection_id":105732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":105732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:06:41] local.INFO: TCP Data received {"connection_id":105732,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:06:41] local.INFO: Processing buffer {"connection_id":105732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:06:41] local.INFO: IMEI packet received {"connection_id":105732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":105732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:06:43] local.INFO: TCP Data received {"connection_id":105732,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96f2b50012d185bc0072203f0005400d627..."} 
[2026-06-18 12:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96f2b50012d185bc0072203f0005400d627..."} 
[2026-06-18 12:06:43] local.INFO: Processing buffer {"connection_id":105732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96f2b50012d185bc0072203f0005400d627..."} 
[2026-06-18 12:06:43] local.INFO: Packet analysis {"connection_id":105732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96f"} 
[2026-06-18 12:06:43] local.INFO: Extracted packet for processing {"connection_id":105732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96f"} 
[2026-06-18 12:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":39,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131681536001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781764402000,"timestamp_ms":1781764402000,"timestamp_seconds":1781764402,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96f2b50"} 
[2026-06-18 12:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-18 12:06:43] 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-06-18 12:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131681536001,"66":12776,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131681536001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:06:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131681536001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":105732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:06:43] local.INFO: GPS data processed {"connection_id":105732,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:06:43] local.INFO: Acknowledgment sent {"connection_id":105732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:07:06] local.INFO: TCP Data received {"connection_id":105915,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9718cb0012d0e980006e798900003014a2f..."} 
[2026-06-18 12:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9718cb0012d0e980006e798900003014a2f..."} 
[2026-06-18 12:07:06] local.INFO: Processing buffer {"connection_id":105915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9718cb0012d0e980006e798900003014a2f..."} 
[2026-06-18 12:07:06] local.INFO: Packet analysis {"connection_id":105915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:07:06] local.INFO: Extracted packet for processing {"connection_id":105915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:07:06] local.INFO: GPS Element Parsed {"raw_longitude":755931136,"raw_latitude":115841168,"longitude_deg":75.5931136,"latitude_deg":11.5841168,"altitude":3,"angle":330,"satellites":47,"speed":3,"hex_longitude":"2d0e9800","hex_latitude":"06e79890","is_valid_coordinates":true} 
[2026-06-18 12:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131723776001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318286149267226624,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052434967576260608,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781764558000,"timestamp_ms":1781764558000,"timestamp_seconds":1781764558,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9718cb0"} 
[2026-06-18 12:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 12:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131723776001,"66":28104,"217":206,"2":56576,"24":3,"16":318286149267226624,"45":1052434967576260608},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131723776001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:07:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318286149267226624,"km_value":318286149267226.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052434967576260608,"description":"Unknown IO ID 45"} 
[2026-06-18 12:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131723776001,"power":28104,"unknown_217":206,"power_alt":56576,"ignition":3,"odometer":null,"unknown_45":1052434967576260608}} 
[2026-06-18 12:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":105915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:07:06] local.INFO: GPS data processed {"connection_id":105915,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:07:06] local.INFO: Acknowledgment sent {"connection_id":105915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:07:14] local.INFO: TCP Data received {"connection_id":105732,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96f7d58012d185bc0072203f0005400d626..."} 
[2026-06-18 12:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96f7d58012d185bc0072203f0005400d626..."} 
[2026-06-18 12:07:14] local.INFO: Processing buffer {"connection_id":105732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96f7d58012d185bc0072203f0005400d626..."} 
[2026-06-18 12:07:14] local.INFO: Packet analysis {"connection_id":105732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96f"} 
[2026-06-18 12:07:14] local.INFO: Extracted packet for processing {"connection_id":105732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96f"} 
[2026-06-18 12:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131686912001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781764423000,"timestamp_ms":1781764423000,"timestamp_seconds":1781764423,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96f7d58"} 
[2026-06-18 12:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:07:14] 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-06-18 12:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 12:07:14] 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-06-18 12:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131686912001,"66":12776,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131686912001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:07:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131686912001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":105732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:07:14] local.INFO: GPS data processed {"connection_id":105732,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:07:14] local.INFO: Acknowledgment sent {"connection_id":105732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:07:25] local.INFO: TCP Data received {"connection_id":107454,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:25] local.INFO: Processing buffer {"connection_id":107454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:25] local.INFO: IMEI packet received {"connection_id":107454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":107454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:07:26] local.INFO: TCP Data received {"connection_id":107454,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:26] local.INFO: Processing buffer {"connection_id":107454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:26] local.INFO: IMEI packet received {"connection_id":107454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":107454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:07:30] local.INFO: TCP Data received {"connection_id":107454,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:30] local.INFO: Processing buffer {"connection_id":107454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:07:30] local.INFO: IMEI packet received {"connection_id":107454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":107454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:07:31] local.INFO: TCP Data received {"connection_id":107454,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9719098012d0e97c006e798e0000301382f..."} 
[2026-06-18 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9719098012d0e97c006e798e0000301382f..."} 
[2026-06-18 12:07:31] local.INFO: Processing buffer {"connection_id":107454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9719098012d0e97c006e798e0000301382f..."} 
[2026-06-18 12:07:31] local.INFO: Packet analysis {"connection_id":107454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:07:31] local.INFO: Extracted packet for processing {"connection_id":107454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":755931072,"raw_latitude":115841248,"longitude_deg":75.5931072,"latitude_deg":11.5841248,"altitude":3,"angle":312,"satellites":47,"speed":4,"hex_longitude":"2d0e97c0","hex_latitude":"06e798e0","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131726848001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318286153562193920,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1051590542646349824,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781764559000,"timestamp_ms":1781764559000,"timestamp_seconds":1781764559,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9719098"} 
[2026-06-18 12:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 12:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131726848001,"66":28104,"217":206,"2":56576,"24":4,"16":318286153562193920,"45":1051590542646349824},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131726848001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:07:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318286153562193920,"km_value":318286153562193.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1051590542646349824,"description":"Unknown IO ID 45"} 
[2026-06-18 12:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131726848001,"power":28104,"unknown_217":206,"power_alt":56576,"ignition":4,"odometer":null,"unknown_45":1051590542646349824}} 
[2026-06-18 12:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":107454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:07:31] local.INFO: GPS data processed {"connection_id":107454,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:07:31] local.INFO: Acknowledgment sent {"connection_id":107454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:07:41] local.INFO: TCP Data received {"connection_id":106490,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:07:41] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:07:41] local.INFO: IMEI packet received {"connection_id":106490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":106490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:07:46] local.INFO: TCP Data received {"connection_id":106490,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:07:46] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:07:46] local.INFO: IMEI packet received {"connection_id":106490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":106490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:07:48] local.INFO: TCP Data received {"connection_id":106490,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed96fcf60012d185bc0072203f0005400d628..."} 
[2026-06-18 12:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed96fcf60012d185bc0072203f0005400d628..."} 
[2026-06-18 12:07:48] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed96fcf60012d185bc0072203f0005400d628..."} 
[2026-06-18 12:07:48] local.INFO: Packet analysis {"connection_id":106490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed96f"} 
[2026-06-18 12:07:48] local.INFO: Extracted packet for processing {"connection_id":106490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed96f"} 
[2026-06-18 12:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131692288001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781764444000,"timestamp_ms":1781764444000,"timestamp_seconds":1781764444,"priority":1,"record_length":96,"hex_timestamp":"0000019ed96fcf60"} 
[2026-06-18 12:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:07:48] 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-06-18 12:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 12:07:48] 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-06-18 12:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131692288001,"66":12743,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131692288001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:07:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:07:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131692288001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":106490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:07:48] local.INFO: GPS data processed {"connection_id":106490,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:07:48] local.INFO: Acknowledgment sent {"connection_id":106490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:07:52] local.INFO: TCP Data received {"connection_id":106490,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9702168012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9702168012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:07:52] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9702168012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:07:52] local.INFO: Packet analysis {"connection_id":106490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed970"} 
[2026-06-18 12:07:52] local.INFO: Extracted packet for processing {"connection_id":106490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed970"} 
[2026-06-18 12:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131697664001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781764465000,"timestamp_ms":1781764465000,"timestamp_seconds":1781764465,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9702168"} 
[2026-06-18 12:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:07:52] 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-06-18 12:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 12:07:52] 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-06-18 12:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131697664001,"66":12765,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131697664001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:07:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:07:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131697664001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":106490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:07:52] local.INFO: GPS data processed {"connection_id":106490,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:07:52] local.INFO: Acknowledgment sent {"connection_id":106490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:08:03] local.INFO: TCP Data received {"connection_id":107454,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed971e2a0012d0e940006e79d580003013c30..."} 
[2026-06-18 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed971e2a0012d0e940006e79d580003013c30..."} 
[2026-06-18 12:08:03] local.INFO: Processing buffer {"connection_id":107454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed971e2a0012d0e940006e79d580003013c30..."} 
[2026-06-18 12:08:03] local.INFO: Packet analysis {"connection_id":107454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:08:03] local.INFO: Extracted packet for processing {"connection_id":107454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:08:03] local.INFO: GPS Element Parsed {"raw_longitude":755930112,"raw_latitude":115842392,"longitude_deg":75.5930112,"latitude_deg":11.5842392,"altitude":3,"angle":316,"satellites":48,"speed":4,"hex_longitude":"2d0e9400","hex_latitude":"06e79d58","is_valid_coordinates":true} 
[2026-06-18 12:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131727104001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318286230871605248,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1051520173902192640,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781764580000,"timestamp_ms":1781764580000,"timestamp_seconds":1781764580,"priority":1,"record_length":96,"hex_timestamp":"0000019ed971e2a0"} 
[2026-06-18 12:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:08: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-06-18 12:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 12:08:03] 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-06-18 12:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131727104001,"66":28050,"217":206,"2":56576,"24":4,"16":318286230871605248,"45":1051520173902192640},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131727104001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:08:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318286230871605248,"km_value":318286230871605.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1051520173902192640,"description":"Unknown IO ID 45"} 
[2026-06-18 12:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131727104001,"power":28050,"unknown_217":206,"power_alt":56576,"ignition":4,"odometer":null,"unknown_45":1051520173902192640}} 
[2026-06-18 12:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":107454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:08:03] local.INFO: GPS data processed {"connection_id":107454,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:08:03] local.INFO: Acknowledgment sent {"connection_id":107454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:08:30] local.INFO: TCP Data received {"connection_id":105734,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:08:30] local.INFO: Processing buffer {"connection_id":105734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:08:30] local.INFO: IMEI packet received {"connection_id":105734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":105734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:08:33] local.INFO: TCP Data received {"connection_id":105735,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:33] local.INFO: Processing buffer {"connection_id":105735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:33] local.INFO: IMEI packet received {"connection_id":105735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":105735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:08:34] local.INFO: TCP Data received {"connection_id":105734,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:08:34] local.INFO: Processing buffer {"connection_id":105734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:08:34] local.INFO: IMEI packet received {"connection_id":105734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":105734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:08:36] local.INFO: TCP Data received {"connection_id":105735,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:36] local.INFO: Processing buffer {"connection_id":105735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:36] local.INFO: IMEI packet received {"connection_id":105735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:08:36] local.INFO: IMEI acknowledgment sent {"connection_id":105735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:08:36] local.INFO: TCP Data received {"connection_id":105734,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9722cd8012d0e8e4006e7a3f80004014c30..."} 
[2026-06-18 12:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9722cd8012d0e8e4006e7a3f80004014c30..."} 
[2026-06-18 12:08:36] local.INFO: Processing buffer {"connection_id":105734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9722cd8012d0e8e4006e7a3f80004014c30..."} 
[2026-06-18 12:08:36] local.INFO: Packet analysis {"connection_id":105734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:08:36] local.INFO: Extracted packet for processing {"connection_id":105734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":755928640,"raw_latitude":115844088,"longitude_deg":75.592864,"latitude_deg":11.5844088,"altitude":4,"angle":332,"satellites":48,"speed":6,"hex_longitude":"2d0e8e40","hex_latitude":"06e7a3f8","is_valid_coordinates":true} 
[2026-06-18 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131732480001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318286342540754944,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1050464642739820544,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781764599000,"timestamp_ms":1781764599000,"timestamp_seconds":1781764599,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9722cd8"} 
[2026-06-18 12:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 12:08:36] 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-06-18 12:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131732480001,"66":27995,"217":206,"2":56576,"24":6,"16":318286342540754944,"45":1050464642739820544},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131732480001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:08:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318286342540754944,"km_value":318286342540754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1050464642739820544,"description":"Unknown IO ID 45"} 
[2026-06-18 12:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131732480001,"power":27995,"unknown_217":206,"power_alt":56576,"ignition":6,"odometer":null,"unknown_45":1050464642739820544}} 
[2026-06-18 12:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":105734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:08:36] local.INFO: GPS data processed {"connection_id":105734,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:08:36] local.INFO: Acknowledgment sent {"connection_id":105734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:08:41] local.INFO: TCP Data received {"connection_id":105735,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:41] local.INFO: Processing buffer {"connection_id":105735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:08:41] local.INFO: IMEI packet received {"connection_id":105735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":105735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:08:42] local.INFO: TCP Data received {"connection_id":105735,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9707370012d185bc0072203f0005400d626..."} 
[2026-06-18 12:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9707370012d185bc0072203f0005400d626..."} 
[2026-06-18 12:08:42] local.INFO: Processing buffer {"connection_id":105735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9707370012d185bc0072203f0005400d626..."} 
[2026-06-18 12:08:42] local.INFO: Packet analysis {"connection_id":105735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed970"} 
[2026-06-18 12:08:42] local.INFO: Extracted packet for processing {"connection_id":105735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed970"} 
[2026-06-18 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131703040001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781764486000,"timestamp_ms":1781764486000,"timestamp_seconds":1781764486,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9707370"} 
[2026-06-18 12:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 12:08:42] 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-06-18 12:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131703040001,"66":12722,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131703040001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:08:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:08:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131703040001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":105735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:08:43] local.INFO: GPS data processed {"connection_id":105735,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:08:43] local.INFO: Acknowledgment sent {"connection_id":105735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:08:47] local.INFO: TCP Data received {"connection_id":105735,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed970c578012d185bc0072203f0005400d626..."} 
[2026-06-18 12:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed970c578012d185bc0072203f0005400d626..."} 
[2026-06-18 12:08:47] local.INFO: Processing buffer {"connection_id":105735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed970c578012d185bc0072203f0005400d626..."} 
[2026-06-18 12:08:47] local.INFO: Packet analysis {"connection_id":105735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed970"} 
[2026-06-18 12:08:47] local.INFO: Extracted packet for processing {"connection_id":105735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed970"} 
[2026-06-18 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":38,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781764507000,"timestamp_ms":1781764507000,"timestamp_seconds":1781764507,"priority":1,"record_length":96,"hex_timestamp":"0000019ed970c578"} 
[2026-06-18 12:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 12:08:47] 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-06-18 12:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131708416001,"66":12743,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:08:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:08:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131708416001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":105735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:08:47] local.INFO: GPS data processed {"connection_id":105735,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:08:47] local.INFO: Acknowledgment sent {"connection_id":105735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:09:09] local.INFO: TCP Data received {"connection_id":105734,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9724060012d0e8d8006e7a5800004013d31..."} 
[2026-06-18 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9724060012d0e8d8006e7a5800004013d31..."} 
[2026-06-18 12:09:09] local.INFO: Processing buffer {"connection_id":105734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9724060012d0e8d8006e7a5800004013d31..."} 
[2026-06-18 12:09:09] local.INFO: Packet analysis {"connection_id":105734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:09:09] local.INFO: Extracted packet for processing {"connection_id":105734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:09:09] local.INFO: GPS Element Parsed {"raw_longitude":755928448,"raw_latitude":115844480,"longitude_deg":75.5928448,"latitude_deg":11.584448,"altitude":4,"angle":317,"satellites":49,"speed":0,"hex_longitude":"2d0e8d80","hex_latitude":"06e7a580","is_valid_coordinates":true} 
[2026-06-18 12:09: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-06-18 12:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131737344001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318286364015591424,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1048846161624168448,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781764604000,"timestamp_ms":1781764604000,"timestamp_seconds":1781764604,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9724060"} 
[2026-06-18 12:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:09:09] 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-06-18 12:09: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-06-18 12:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131737344001,"66":27984,"217":206,"2":56576,"24":0,"16":318286364015591424,"45":1048846161624168448},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131737344001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:09:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318286364015591424,"km_value":318286364015591.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1048846161624168448,"description":"Unknown IO ID 45"} 
[2026-06-18 12:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131737344001,"power":27984,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1048846161624168448}} 
[2026-06-18 12:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":105734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:09:09] local.INFO: GPS data processed {"connection_id":105734,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:09:09] local.INFO: Acknowledgment sent {"connection_id":105734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:09:18] local.INFO: TCP Data received {"connection_id":105735,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9711780012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9711780012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:09:18] local.INFO: Processing buffer {"connection_id":105735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9711780012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:09:18] local.INFO: Packet analysis {"connection_id":105735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:09:18] local.INFO: Extracted packet for processing {"connection_id":105735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131713792001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781764528000,"timestamp_ms":1781764528000,"timestamp_seconds":1781764528,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9711780"} 
[2026-06-18 12:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:09:18] 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-06-18 12:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 12:09:18] 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-06-18 12:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":105735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":105735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":105735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131713792001,"66":12722,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131713792001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:09:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:09:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131713792001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":105735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:09:19] local.INFO: GPS data processed {"connection_id":105735,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:09:19] local.INFO: Acknowledgment sent {"connection_id":105735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:09:25] local.INFO: TCP Data received {"connection_id":107455,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:09:25] local.INFO: Processing buffer {"connection_id":107455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:09:25] local.INFO: IMEI packet received {"connection_id":107455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":107455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:09:30] local.INFO: TCP Data received {"connection_id":107455,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:09:30] local.INFO: Processing buffer {"connection_id":107455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:09:30] local.INFO: IMEI packet received {"connection_id":107455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":107455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:09:34] local.INFO: TCP Data received {"connection_id":107455,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed973d2b8012d0e800006e7cf600005014f2e..."} 
[2026-06-18 12:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed973d2b8012d0e800006e7cf600005014f2e..."} 
[2026-06-18 12:09:34] local.INFO: Processing buffer {"connection_id":107455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed973d2b8012d0e800006e7cf600005014f2e..."} 
[2026-06-18 12:09:34] local.INFO: Packet analysis {"connection_id":107455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:09:34] local.INFO: Extracted packet for processing {"connection_id":107455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:09:34] local.INFO: GPS Element Parsed {"raw_longitude":755924992,"raw_latitude":115855200,"longitude_deg":75.5924992,"latitude_deg":11.58552,"altitude":5,"angle":335,"satellites":46,"speed":3,"hex_longitude":"2d0e8000","hex_latitude":"06e7cf60","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131763456001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318286939541209088,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044975880697040896,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781764707000,"timestamp_ms":1781764707000,"timestamp_seconds":1781764707,"priority":1,"record_length":96,"hex_timestamp":"0000019ed973d2b8"} 
[2026-06-18 12:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:09: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-06-18 12:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 12:09: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-06-18 12: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-06-18 12:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131763456001,"66":28093,"217":206,"2":56576,"24":3,"16":318286939541209088,"45":1044975880697040896},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131763456001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:09:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318286939541209088,"km_value":318286939541209.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044975880697040896,"description":"Unknown IO ID 45"} 
[2026-06-18 12:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131763456001,"power":28093,"unknown_217":206,"power_alt":56576,"ignition":3,"odometer":null,"unknown_45":1044975880697040896}} 
[2026-06-18 12:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":107455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:09:34] local.INFO: GPS data processed {"connection_id":107455,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:09:34] local.INFO: Acknowledgment sent {"connection_id":107455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:09:37] local.INFO: TCP Data received {"connection_id":105736,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:37] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:37] local.INFO: IMEI packet received {"connection_id":105736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":105736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:09:37] local.INFO: TCP Data received {"connection_id":105736,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:37] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:37] local.INFO: IMEI packet received {"connection_id":105736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":105736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:09:41] local.INFO: TCP Data received {"connection_id":105736,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:41] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:09:41] local.INFO: IMEI packet received {"connection_id":105736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":105736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:09:45] local.INFO: TCP Data received {"connection_id":105736,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9716988012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9716988012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:09:45] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9716988012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:09:45] local.INFO: Packet analysis {"connection_id":105736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:09:45] local.INFO: Extracted packet for processing {"connection_id":105736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131719168001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781764549000,"timestamp_ms":1781764549000,"timestamp_seconds":1781764549,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9716988"} 
[2026-06-18 12:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:09:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 12:09:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:09:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131719168001,"66":12711,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131719168001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:09:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:09:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131719168001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":105736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:09:46] local.INFO: GPS data processed {"connection_id":105736,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:09:46] local.INFO: Acknowledgment sent {"connection_id":105736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:09:47] local.INFO: TCP Data received {"connection_id":105736,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed971bb90012d185bc0072203f0005400d628..."} 
[2026-06-18 12:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed971bb90012d185bc0072203f0005400d628..."} 
[2026-06-18 12:09:47] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed971bb90012d185bc0072203f0005400d628..."} 
[2026-06-18 12:09:47] local.INFO: Packet analysis {"connection_id":105736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:09:47] local.INFO: Extracted packet for processing {"connection_id":105736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed971"} 
[2026-06-18 12:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131724544001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:09:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781764570000,"timestamp_ms":1781764570000,"timestamp_seconds":1781764570,"priority":1,"record_length":96,"hex_timestamp":"0000019ed971bb90"} 
[2026-06-18 12:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:09:47] 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-06-18 12:09:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 12:09:47] 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-06-18 12:09:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131724544001,"66":12711,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131724544001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:09:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:09:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131724544001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":105736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:09:47] local.INFO: GPS data processed {"connection_id":105736,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:09:47] local.INFO: Acknowledgment sent {"connection_id":105736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:10:09] local.INFO: TCP Data received {"connection_id":107455,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed973e258012d0e7f8006e7d1800004015b30..."} 
[2026-06-18 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed973e258012d0e7f8006e7d1800004015b30..."} 
[2026-06-18 12:10:09] local.INFO: Processing buffer {"connection_id":107455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed973e258012d0e7f8006e7d1800004015b30..."} 
[2026-06-18 12:10:09] local.INFO: Packet analysis {"connection_id":107455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:10:09] local.INFO: Extracted packet for processing {"connection_id":107455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":755924864,"raw_latitude":115855744,"longitude_deg":75.5924864,"latitude_deg":11.5855744,"altitude":4,"angle":347,"satellites":48,"speed":5,"hex_longitude":"2d0e7f80","hex_latitude":"06e7d180","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131764992001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318286969605980160,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044835143208886272,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781764711000,"timestamp_ms":1781764711000,"timestamp_seconds":1781764711,"priority":1,"record_length":96,"hex_timestamp":"0000019ed973e258"} 
[2026-06-18 12:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 12:10:09] 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-06-18 12: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-06-18 12:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131764992001,"66":28104,"217":206,"2":56576,"24":5,"16":318286969605980160,"45":1044835143208886272},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131764992001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:10:09] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318286969605980160,"km_value":318286969605980.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044835143208886272,"description":"Unknown IO ID 45"} 
[2026-06-18 12:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131764992001,"power":28104,"unknown_217":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":1044835143208886272}} 
[2026-06-18 12:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":107455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:10:09] local.INFO: GPS data processed {"connection_id":107455,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:10:09] local.INFO: Acknowledgment sent {"connection_id":107455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:10:19] local.INFO: TCP Data received {"connection_id":105736,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9720d98012d185bc0072203f0005400d629..."} 
[2026-06-18 12:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9720d98012d185bc0072203f0005400d629..."} 
[2026-06-18 12:10:19] local.INFO: Processing buffer {"connection_id":105736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9720d98012d185bc0072203f0005400d629..."} 
[2026-06-18 12:10:19] local.INFO: Packet analysis {"connection_id":105736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:10:19] local.INFO: Extracted packet for processing {"connection_id":105736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":41,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131729920001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781764591000,"timestamp_ms":1781764591000,"timestamp_seconds":1781764591,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9720d98"} 
[2026-06-18 12:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:10:19] 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-06-18 12:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 12:10:19] 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-06-18 12:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":105736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":105736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":105736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131729920001,"66":12667,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131729920001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:10:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:10:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131729920001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":105736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:10:19] local.INFO: GPS data processed {"connection_id":105736,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:10:19] local.INFO: Acknowledgment sent {"connection_id":105736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:10:25] local.INFO: TCP Data received {"connection_id":105916,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:10:25] local.INFO: Processing buffer {"connection_id":105916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:10:25] local.INFO: IMEI packet received {"connection_id":105916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:10:25] local.INFO: IMEI acknowledgment sent {"connection_id":105916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:10:36] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:36] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:36] local.INFO: IMEI packet received {"connection_id":105918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":105918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:10:39] local.INFO: TCP Data received {"connection_id":105916,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:10:39] local.INFO: Processing buffer {"connection_id":105916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:10:39] local.INFO: IMEI packet received {"connection_id":105916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:10:39] local.INFO: IMEI acknowledgment sent {"connection_id":105916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:10:40] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:40] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:40] local.INFO: IMEI packet received {"connection_id":105918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":105918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:10:40] local.INFO: TCP Data received {"connection_id":105916,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9740580012d0e7e4006e7d6980004014f30..."} 
[2026-06-18 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9740580012d0e7e4006e7d6980004014f30..."} 
[2026-06-18 12:10:40] local.INFO: Processing buffer {"connection_id":105916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9740580012d0e7e4006e7d6980004014f30..."} 
[2026-06-18 12:10:40] local.INFO: Packet analysis {"connection_id":105916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed974"} 
[2026-06-18 12:10:40] local.INFO: Extracted packet for processing {"connection_id":105916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed974"} 
[2026-06-18 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":755924544,"raw_latitude":115857048,"longitude_deg":75.5924544,"latitude_deg":11.5857048,"altitude":4,"angle":335,"satellites":48,"speed":5,"hex_longitude":"2d0e7e40","hex_latitude":"06e7d698","is_valid_coordinates":true} 
[2026-06-18 12:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131766016001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318287034030489600,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044694405720670208,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781764720000,"timestamp_ms":1781764720000,"timestamp_seconds":1781764720,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9740580"} 
[2026-06-18 12:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 12:10:40] 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-06-18 12:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131766016001,"66":28006,"217":206,"2":56576,"24":5,"16":318287034030489600,"45":1044694405720670208},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-06-18 12:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131766016001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:10:40] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 12:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318287034030489600,"km_value":318287034030489.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1044694405720670208,"description":"Unknown IO ID 45"} 
[2026-06-18 12:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131766016001,"power":28006,"unknown_217":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":1044694405720670208}} 
[2026-06-18 12:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":105916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:10:40] local.INFO: GPS data processed {"connection_id":105916,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:10:40] local.INFO: Acknowledgment sent {"connection_id":105916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:10:41] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:41] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:10:41] local.INFO: IMEI packet received {"connection_id":105918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":105918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:10:42] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9725fa0012d185bc0072203f0005400d628..."} 
[2026-06-18 12:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9725fa0012d185bc0072203f0005400d628..."} 
[2026-06-18 12:10:42] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9725fa0012d185bc0072203f0005400d628..."} 
[2026-06-18 12:10:42] local.INFO: Packet analysis {"connection_id":105918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:10:42] local.INFO: Extracted packet for processing {"connection_id":105918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":40,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131735296001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781764612000,"timestamp_ms":1781764612000,"timestamp_seconds":1781764612,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9725fa0"} 
[2026-06-18 12:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 12:10:42] 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-06-18 12:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131735296001,"66":12667,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131735296001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:10:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:10:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131735296001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":105918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:10:42] local.INFO: GPS data processed {"connection_id":105918,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:10:42] local.INFO: Acknowledgment sent {"connection_id":105918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:11:13] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed972b1a8012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed972b1a8012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:11:13] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed972b1a8012d185bc0072203f0005400d62a..."} 
[2026-06-18 12:11:13] local.INFO: Packet analysis {"connection_id":105918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:11:13] local.INFO: Extracted packet for processing {"connection_id":105918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed972"} 
[2026-06-18 12:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":42,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131740672001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781764633000,"timestamp_ms":1781764633000,"timestamp_seconds":1781764633,"priority":1,"record_length":96,"hex_timestamp":"0000019ed972b1a8"} 
[2026-06-18 12:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 12:11:13] 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-06-18 12:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131740672001,"66":12548,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131740672001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:11:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:11:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131740672001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":105918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:11:13] local.INFO: GPS data processed {"connection_id":105918,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:11:13] local.INFO: Acknowledgment sent {"connection_id":105918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:11:33] local.INFO: TCP Data received {"connection_id":107456,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:11:33] local.INFO: Processing buffer {"connection_id":107456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:11:33] local.INFO: IMEI packet received {"connection_id":107456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":107456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:11:41] local.INFO: TCP Data received {"connection_id":107457,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:41] local.INFO: Processing buffer {"connection_id":107457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:41] local.INFO: IMEI packet received {"connection_id":107457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":107457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:11:42] local.INFO: TCP Data received {"connection_id":107457,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:42] local.INFO: Processing buffer {"connection_id":107457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:42] local.INFO: IMEI packet received {"connection_id":107457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":107457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:11:46] local.INFO: TCP Data received {"connection_id":107457,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:46] local.INFO: Processing buffer {"connection_id":107457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:11:46] local.INFO: IMEI packet received {"connection_id":107457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":107457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:11:48] local.INFO: TCP Data received {"connection_id":107457,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97303b0012d185bc0072203f0005400d62c..."} 
[2026-06-18 12:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97303b0012d185bc0072203f0005400d62c..."} 
[2026-06-18 12:11:48] local.INFO: Processing buffer {"connection_id":107457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97303b0012d185bc0072203f0005400d62c..."} 
[2026-06-18 12:11:48] local.INFO: Packet analysis {"connection_id":107457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:11:48] local.INFO: Extracted packet for processing {"connection_id":107457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131746048001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781764654000,"timestamp_ms":1781764654000,"timestamp_seconds":1781764654,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97303b0"} 
[2026-06-18 12:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:11:48] 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-06-18 12:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3648046456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184209809613,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3221692931,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3602644992,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,214,95,45,192,3,84,40,10,66,13,41,187,1,240,167,217,34,4,113,205,23,91,43,239,49,2,11,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 12:11:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6053073375062917120,"timestamp_seconds":6053073375062917.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 12:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131746048001,"66":12580,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131746048001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:11:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:11:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131746048001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":107457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:11:48] local.INFO: GPS data processed {"connection_id":107457,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:11:48] local.INFO: Acknowledgment sent {"connection_id":107457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:11:51] local.INFO: TCP Data received {"connection_id":107457,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97355b8012d185bc0072203f0005400d62c..."} 
[2026-06-18 12:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97355b8012d185bc0072203f0005400d62c..."} 
[2026-06-18 12:11:51] local.INFO: Processing buffer {"connection_id":107457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97355b8012d185bc0072203f0005400d62c..."} 
[2026-06-18 12:11:51] local.INFO: Packet analysis {"connection_id":107457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:11:51] local.INFO: Extracted packet for processing {"connection_id":107457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:11:51] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":44,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131751424001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781764675000,"timestamp_ms":1781764675000,"timestamp_seconds":1781764675,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97355b8"} 
[2026-06-18 12:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:11:51] 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-06-18 12:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-18 12:11:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131751424001,"66":12548,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131751424001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:11:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:11:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:11:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131751424001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":107457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:11:51] local.INFO: GPS data processed {"connection_id":107457,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:11:51] local.INFO: Acknowledgment sent {"connection_id":107457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:12:36] local.INFO: TCP Data received {"connection_id":107459,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:12:36] local.INFO: Processing buffer {"connection_id":107459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:12:36] local.INFO: IMEI packet received {"connection_id":107459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":107459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:12:41] local.INFO: TCP Data received {"connection_id":107459,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107459,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:12:41] local.INFO: Processing buffer {"connection_id":107459,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:12:41] local.INFO: IMEI packet received {"connection_id":107459,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":107459,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:12:43] local.INFO: TCP Data received {"connection_id":107459,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed973a7c0012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed973a7c0012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:12:43] local.INFO: Processing buffer {"connection_id":107459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed973a7c0012d185bc0072203f0005400d62b..."} 
[2026-06-18 12:12:43] local.INFO: Packet analysis {"connection_id":107459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:12:43] local.INFO: Extracted packet for processing {"connection_id":107459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed973"} 
[2026-06-18 12:12:43] local.INFO: GPS Element Parsed {"raw_longitude":756571072,"raw_latitude":119669744,"longitude_deg":75.6571072,"latitude_deg":11.9669744,"altitude":84,"angle":214,"satellites":43,"speed":0,"hex_longitude":"2d185bc0","hex_latitude":"072203f0","is_valid_coordinates":true} 
[2026-06-18 12:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131756800001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332327686012928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658927616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781764696000,"timestamp_ms":1781764696000,"timestamp_seconds":1781764696,"priority":1,"record_length":96,"hex_timestamp":"0000019ed973a7c0"} 
[2026-06-18 12:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3648088456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3154116608,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184207712461,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":187,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3221692931,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3602644992,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 12:12:43] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,214,3,45,192,84,44,10,66,177,42,95,1,240,123,217,34,4,113,205,187,91,40,239,49,2,11,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 12:12:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6053073383652851712,"timestamp_seconds":6053073383652852.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 12:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131756800001,"66":12548,"120":206,"28":31744,"24":0,"16":3332327686012928,"45":1755207616658927616},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131756800001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:12:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332327686012928,"km_value":3332327686012.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658927616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131756800001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1755207616658927616}} 
[2026-06-18 12:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":107459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:12:43] local.INFO: GPS data processed {"connection_id":107459,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:12:43] local.INFO: Acknowledgment sent {"connection_id":107459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:13:11] local.INFO: TCP Data received {"connection_id":106493,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:11] local.INFO: Processing buffer {"connection_id":106493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:11] local.INFO: IMEI packet received {"connection_id":106493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":106493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:13:15] local.INFO: TCP Data received {"connection_id":107459,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97739d0012d185ac007220228005300dc29..."} 
[2026-06-18 12:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97739d0012d185ac007220228005300dc29..."} 
[2026-06-18 12:13:15] local.INFO: Processing buffer {"connection_id":107459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97739d0012d185ac007220228005300dc29..."} 
[2026-06-18 12:13:15] local.INFO: Packet analysis {"connection_id":107459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:13:15] local.INFO: Extracted packet for processing {"connection_id":107459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119669288,"longitude_deg":75.6570816,"latitude_deg":11.9669288,"altitude":83,"angle":220,"satellites":41,"speed":8,"hex_longitude":"2d185ac0","hex_latitude":"07220228","is_valid_coordinates":true} 
[2026-06-18 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131821568001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332353455816704,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1755207616658874368,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781764930000,"timestamp_ms":1781764930000,"timestamp_seconds":1781764930,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97739d0"} 
[2026-06-18 12:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:13:15] 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-06-18 12:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 12:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107459,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131821568001,"66":14157,"120":206,"28":31744,"24":8,"16":3332353455816704,"45":1755207616658874368},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131821568001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:13:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332353455816704,"km_value":3332353455816.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1755207616658874368,"description":"Unknown IO ID 45"} 
[2026-06-18 12:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131821568001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1755207616658874368}} 
[2026-06-18 12:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":107459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:13:15] local.INFO: GPS data processed {"connection_id":107459,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:13:15] local.INFO: Acknowledgment sent {"connection_id":107459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:13:36] local.INFO: TCP Data received {"connection_id":105737,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:13:36] local.INFO: Processing buffer {"connection_id":105737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:13:36] local.INFO: IMEI packet received {"connection_id":105737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":105737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:13:40] local.INFO: TCP Data received {"connection_id":105919,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:40] local.INFO: Processing buffer {"connection_id":105919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:40] local.INFO: IMEI packet received {"connection_id":105919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":105919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:13:41] local.INFO: TCP Data received {"connection_id":105737,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:13:41] local.INFO: Processing buffer {"connection_id":105737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:13:41] local.INFO: IMEI packet received {"connection_id":105737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":105737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:13:43] local.INFO: TCP Data received {"connection_id":105737,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9773db8012d185a4007220170005300cf29..."} 
[2026-06-18 12:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9773db8012d185a4007220170005300cf29..."} 
[2026-06-18 12:13:43] local.INFO: Processing buffer {"connection_id":105737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9773db8012d185a4007220170005300cf29..."} 
[2026-06-18 12:13:43] local.INFO: Packet analysis {"connection_id":105737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:13:43] local.INFO: Extracted packet for processing {"connection_id":105737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756570688,"raw_latitude":119669104,"longitude_deg":75.6570688,"latitude_deg":11.9669104,"altitude":83,"angle":207,"satellites":41,"speed":9,"hex_longitude":"2d185a40","hex_latitude":"07220170","is_valid_coordinates":true} 
[2026-06-18 12:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131822080001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332366340718592,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141682100224,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781764931000,"timestamp_ms":1781764931000,"timestamp_seconds":1781764931,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9773db8"} 
[2026-06-18 12:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 12:13:43] 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-06-18 12:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131822080001,"66":13798,"120":206,"28":31744,"24":9,"16":3332366340718592,"45":1754926141682100224},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131822080001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:13:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332366340718592,"km_value":3332366340718.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141682100224,"description":"Unknown IO ID 45"} 
[2026-06-18 12:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131822080001,"power":13798,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1754926141682100224}} 
[2026-06-18 12:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":105737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:13:43] local.INFO: GPS data processed {"connection_id":105737,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:13:43] local.INFO: Acknowledgment sent {"connection_id":105737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:13:44] local.INFO: TCP Data received {"connection_id":105919,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:44] local.INFO: Processing buffer {"connection_id":105919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:13:44] local.INFO: IMEI packet received {"connection_id":105919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":105919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:13:45] local.INFO: TCP Data received {"connection_id":105919,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed976fb50012d0ed20006e940e0000e002324..."} 
[2026-06-18 12:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed976fb50012d0ed20006e940e0000e002324..."} 
[2026-06-18 12:13:45] local.INFO: Processing buffer {"connection_id":105919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed976fb50012d0ed20006e940e0000e002324..."} 
[2026-06-18 12:13:45] local.INFO: Packet analysis {"connection_id":105919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed976"} 
[2026-06-18 12:13:45] local.INFO: Extracted packet for processing {"connection_id":105919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed976"} 
[2026-06-18 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":755945984,"raw_latitude":115949792,"longitude_deg":75.5945984,"latitude_deg":11.5949792,"altitude":14,"angle":35,"satellites":36,"speed":9,"hex_longitude":"2d0ed200","hex_latitude":"06e940e0","is_valid_coordinates":true} 
[2026-06-18 12:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131813376001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318291788559286272,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064890235322132480,"note":"Value kept but may cause issues"} 
[2026-06-18 12:13:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781764914000,"timestamp_ms":1781764914000,"timestamp_seconds":1781764914,"priority":1,"record_length":96,"hex_timestamp":"0000019ed976fb50"} 
[2026-06-18 12:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 12:13:45] 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-06-18 12:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131813376001,"66":27919,"227":206,"2":56576,"24":9,"16":318291788559286272,"45":1064890235322132480},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,2,24,16,45]} 
[2026-06-18 12:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131813376001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:13:45] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-06-18 12:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318291788559286272,"km_value":318291788559286.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1064890235322132480,"description":"Unknown IO ID 45"} 
[2026-06-18 12:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131813376001,"power":27919,"unknown_227":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":1064890235322132480}} 
[2026-06-18 12:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":105919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:13:45] local.INFO: GPS data processed {"connection_id":105919,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:13:45] local.INFO: Acknowledgment sent {"connection_id":105919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:14:14] local.INFO: TCP Data received {"connection_id":105737,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97768b0012d1854000721f7b8005300dc29..."} 
[2026-06-18 12:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97768b0012d1854000721f7b8005300dc29..."} 
[2026-06-18 12:14:14] local.INFO: Processing buffer {"connection_id":105737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97768b0012d1854000721f7b8005300dc29..."} 
[2026-06-18 12:14:14] local.INFO: Packet analysis {"connection_id":105737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:14:14] local.INFO: Extracted packet for processing {"connection_id":105737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756569088,"raw_latitude":119666616,"longitude_deg":75.6569088,"latitude_deg":11.9666616,"altitude":83,"angle":220,"satellites":41,"speed":17,"hex_longitude":"2d185400","hex_latitude":"0721f7b8","is_valid_coordinates":true} 
[2026-06-18 12:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131822336001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332508074639360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754785404193697792,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781764942000,"timestamp_ms":1781764942000,"timestamp_seconds":1781764942,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97768b0"} 
[2026-06-18 12:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:14:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-06-18 12:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:14:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131822336001,"66":12993,"120":206,"28":31744,"24":17,"16":3332508074639360,"45":1754785404193697792},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131822336001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:14:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:14:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332508074639360,"km_value":3332508074639.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754785404193697792,"description":"Unknown IO ID 45"} 
[2026-06-18 12:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131822336001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1754785404193697792}} 
[2026-06-18 12:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":105737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:14:14] local.INFO: GPS data processed {"connection_id":105737,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:14:14] local.INFO: Acknowledgment sent {"connection_id":105737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:14:25] local.INFO: TCP Data received {"connection_id":106495,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:14:25] local.INFO: Processing buffer {"connection_id":106495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:14:25] local.INFO: IMEI packet received {"connection_id":106495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":106495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:14:30] local.INFO: TCP Data received {"connection_id":106495,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:14:30] local.INFO: Processing buffer {"connection_id":106495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:14:30] local.INFO: IMEI packet received {"connection_id":106495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":106495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:14:32] local.INFO: TCP Data received {"connection_id":106495,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97885d8012d0e9b8006e9efd80010015728..."} 
[2026-06-18 12:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97885d8012d0e9b8006e9efd80010015728..."} 
[2026-06-18 12:14:32] local.INFO: Processing buffer {"connection_id":106495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97885d8012d0e9b8006e9efd80010015728..."} 
[2026-06-18 12:14:32] local.INFO: Packet analysis {"connection_id":106495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:14:32] local.INFO: Extracted packet for processing {"connection_id":106495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:14:32] local.INFO: GPS Element Parsed {"raw_longitude":755932032,"raw_latitude":115994584,"longitude_deg":75.5932032,"latitude_deg":11.5994584,"altitude":16,"angle":343,"satellites":40,"speed":14,"hex_longitude":"2d0e9b80","hex_latitude":"06e9efd8","is_valid_coordinates":true} 
[2026-06-18 12:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131841792001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318294176561102848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1055460823614547968,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781765015000,"timestamp_ms":1781765015000,"timestamp_seconds":1781765015,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97885d8"} 
[2026-06-18 12:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:14:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:14: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-06-18 12:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131841792001,"66":27745,"71":206,"2":56576,"24":14,"16":318294176561102848,"45":1055460823614547968},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-06-18 12:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131841792001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:14:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 12:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318294176561102848,"km_value":318294176561102.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1055460823614547968,"description":"Unknown IO ID 45"} 
[2026-06-18 12:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131841792001,"power":27745,"unknown_71":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":1055460823614547968}} 
[2026-06-18 12:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":106495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:14:32] local.INFO: GPS data processed {"connection_id":106495,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:14:32] local.INFO: Acknowledgment sent {"connection_id":106495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:14:36] local.INFO: TCP Data received {"connection_id":107461,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:36] local.INFO: Processing buffer {"connection_id":107461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:36] local.INFO: IMEI packet received {"connection_id":107461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":107461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:14:37] local.INFO: TCP Data received {"connection_id":107461,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:37] local.INFO: Processing buffer {"connection_id":107461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:37] local.INFO: IMEI packet received {"connection_id":107461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":107461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:14:42] local.INFO: TCP Data received {"connection_id":107461,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:42] local.INFO: Processing buffer {"connection_id":107461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:14:42] local.INFO: IMEI packet received {"connection_id":107461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":107461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:14:43] local.INFO: TCP Data received {"connection_id":107461,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed977a348012d183dc00721d988004e00d629..."} 
[2026-06-18 12:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed977a348012d183dc00721d988004e00d629..."} 
[2026-06-18 12:14:43] local.INFO: Processing buffer {"connection_id":107461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed977a348012d183dc00721d988004e00d629..."} 
[2026-06-18 12:14:43] local.INFO: Packet analysis {"connection_id":107461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:14:43] local.INFO: Extracted packet for processing {"connection_id":107461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756563392,"raw_latitude":119658888,"longitude_deg":75.6563392,"latitude_deg":11.9658888,"altitude":78,"angle":214,"satellites":41,"speed":27,"hex_longitude":"2d183dc0","hex_latitude":"0721d988","is_valid_coordinates":true} 
[2026-06-18 12:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131825152001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332971931107328,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753026185588619264,"note":"Value kept but may cause issues"} 
[2026-06-18 12:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781764957000,"timestamp_ms":1781764957000,"timestamp_seconds":1781764957,"priority":1,"record_length":96,"hex_timestamp":"0000019ed977a348"} 
[2026-06-18 12:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 12:14:43] 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-06-18 12:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131825152001,"66":12385,"120":206,"28":31744,"24":27,"16":3332971931107328,"45":1753026185588619264},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131825152001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:14:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:14:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332971931107328,"km_value":3332971931107.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753026185588619264,"description":"Unknown IO ID 45"} 
[2026-06-18 12:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131825152001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1753026185588619264}} 
[2026-06-18 12:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":107461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:14:43] local.INFO: GPS data processed {"connection_id":107461,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:14:43] local.INFO: Acknowledgment sent {"connection_id":107461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:15:03] local.INFO: TCP Data received {"connection_id":106495,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9789190012d0e9a8006e9f5180011016329..."} 
[2026-06-18 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9789190012d0e9a8006e9f5180011016329..."} 
[2026-06-18 12:15:03] local.INFO: Processing buffer {"connection_id":106495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9789190012d0e9a8006e9f5180011016329..."} 
[2026-06-18 12:15:03] local.INFO: Packet analysis {"connection_id":106495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:15:03] local.INFO: Extracted packet for processing {"connection_id":106495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:15:03] local.INFO: GPS Element Parsed {"raw_longitude":755931776,"raw_latitude":115995928,"longitude_deg":75.5931776,"latitude_deg":11.5995928,"altitude":17,"angle":355,"satellites":41,"speed":19,"hex_longitude":"2d0e9a80","hex_latitude":"06e9f518","is_valid_coordinates":true} 
[2026-06-18 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131843840001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318294245280579584,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052575705104111616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781765018000,"timestamp_ms":1781765018000,"timestamp_seconds":1781765018,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9789190"} 
[2026-06-18 12:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:15: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-06-18 12:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 12:15: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-06-18 12:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131843840001,"66":27865,"71":206,"2":56576,"24":19,"16":318294245280579584,"45":1052575705104111616},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-06-18 12:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131843840001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:15:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 12:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318294245280579584,"km_value":318294245280579.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052575705104111616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131843840001,"power":27865,"unknown_71":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":1052575705104111616}} 
[2026-06-18 12:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":106495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:15:03] local.INFO: GPS data processed {"connection_id":106495,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:15:03] local.INFO: Acknowledgment sent {"connection_id":106495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:15:15] local.INFO: TCP Data received {"connection_id":107461,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed977d9f8012d182a400721bc98004b00e428..."} 
[2026-06-18 12:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed977d9f8012d182a400721bc98004b00e428..."} 
[2026-06-18 12:15:15] local.INFO: Processing buffer {"connection_id":107461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed977d9f8012d182a400721bc98004b00e428..."} 
[2026-06-18 12:15:15] local.INFO: Packet analysis {"connection_id":107461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:15:15] local.INFO: Extracted packet for processing {"connection_id":107461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:15:15] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119651480,"longitude_deg":75.65584,"latitude_deg":11.965148,"altitude":75,"angle":228,"satellites":40,"speed":18,"hex_longitude":"2d182a40","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-06-18 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131828992001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333401427836928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746763367354828800,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781764971000,"timestamp_ms":1781764971000,"timestamp_seconds":1781764971,"priority":1,"record_length":96,"hex_timestamp":"0000019ed977d9f8"} 
[2026-06-18 12:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:15:15] 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-06-18 12:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 12:15:15] 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-06-18 12:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131828992001,"66":12950,"120":206,"28":31744,"24":18,"16":3333401427836928,"45":1746763367354828800},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131828992001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:15:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333401427836928,"km_value":3333401427836.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746763367354828800,"description":"Unknown IO ID 45"} 
[2026-06-18 12:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131828992001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1746763367354828800}} 
[2026-06-18 12:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":107461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:15:15] local.INFO: GPS data processed {"connection_id":107461,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:15:15] local.INFO: Acknowledgment sent {"connection_id":107461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:15:25] local.INFO: TCP Data received {"connection_id":105920,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:15:25] local.INFO: Processing buffer {"connection_id":105920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:15:25] local.INFO: IMEI packet received {"connection_id":105920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":105920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:15:30] local.INFO: TCP Data received {"connection_id":105920,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:15:30] local.INFO: Processing buffer {"connection_id":105920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:15:30] local.INFO: IMEI packet received {"connection_id":105920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":105920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:15:32] local.INFO: TCP Data received {"connection_id":105920,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9789d48012d0e9a0006e9f9f0001301552b..."} 
[2026-06-18 12:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9789d48012d0e9a0006e9f9f0001301552b..."} 
[2026-06-18 12:15:32] local.INFO: Processing buffer {"connection_id":105920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9789d48012d0e9a0006e9f9f0001301552b..."} 
[2026-06-18 12:15:32] local.INFO: Packet analysis {"connection_id":105920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:15:32] local.INFO: Extracted packet for processing {"connection_id":105920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:15:32] local.INFO: GPS Element Parsed {"raw_longitude":755931648,"raw_latitude":115997168,"longitude_deg":75.5931648,"latitude_deg":11.5997168,"altitude":19,"angle":341,"satellites":43,"speed":14,"hex_longitude":"2d0e9a00","hex_latitude":"06e9f9f0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 12:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131844608001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318294305410121728,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052294230127745024,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781765021000,"timestamp_ms":1781765021000,"timestamp_seconds":1781765021,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9789d48"} 
[2026-06-18 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-06-18 12:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 12:15: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-06-18 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-06-18 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-06-18 12:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131844608001,"66":27930,"71":206,"2":56576,"24":14,"16":318294305410121728,"45":1052294230127745024},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-06-18 12:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131844608001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:15:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 12:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318294305410121728,"km_value":318294305410121.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052294230127745024,"description":"Unknown IO ID 45"} 
[2026-06-18 12:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131844608001,"power":27930,"unknown_71":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":1052294230127745024}} 
[2026-06-18 12:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":105920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:15:32] local.INFO: GPS data processed {"connection_id":105920,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:15:32] local.INFO: Acknowledgment sent {"connection_id":105920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:15:36] local.INFO: TCP Data received {"connection_id":105739,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:36] local.INFO: Processing buffer {"connection_id":105739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:36] local.INFO: IMEI packet received {"connection_id":105739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":105739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:15:39] local.INFO: TCP Data received {"connection_id":105739,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:39] local.INFO: Processing buffer {"connection_id":105739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:39] local.INFO: IMEI packet received {"connection_id":105739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":105739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:15:41] local.INFO: TCP Data received {"connection_id":105739,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:41] local.INFO: Processing buffer {"connection_id":105739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:15:41] local.INFO: IMEI packet received {"connection_id":105739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":105739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:15:45] local.INFO: TCP Data received {"connection_id":105739,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed977d9f8012d182a400721bc98004b00e428..."} 
[2026-06-18 12:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed977d9f8012d182a400721bc98004b00e428..."} 
[2026-06-18 12:15:45] local.INFO: Processing buffer {"connection_id":105739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed977d9f8012d182a400721bc98004b00e428..."} 
[2026-06-18 12:15:45] local.INFO: Packet analysis {"connection_id":105739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:15:45] local.INFO: Extracted packet for processing {"connection_id":105739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119651480,"longitude_deg":75.65584,"latitude_deg":11.965148,"altitude":75,"angle":228,"satellites":40,"speed":18,"hex_longitude":"2d182a40","hex_latitude":"0721bc98","is_valid_coordinates":true} 
[2026-06-18 12:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131832576001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333401427836928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605307074560,"note":"Value kept but may cause issues"} 
[2026-06-18 12:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781764971000,"timestamp_ms":1781764971000,"timestamp_seconds":1781764971,"priority":1,"record_length":96,"hex_timestamp":"0000019ed977d9f8"} 
[2026-06-18 12:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 12:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:15:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131832576001,"66":12950,"120":206,"28":31744,"24":18,"16":3333401427836928,"45":1741274605307074560},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131832576001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:15:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:15:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333401427836928,"km_value":3333401427836.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605307074560,"description":"Unknown IO ID 45"} 
[2026-06-18 12:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131832576001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1741274605307074560}} 
[2026-06-18 12:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":105739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:15:45] local.INFO: GPS data processed {"connection_id":105739,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:15:45] local.INFO: Acknowledgment sent {"connection_id":105739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:16:03] local.INFO: TCP Data received {"connection_id":105920,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed978ace8012d0e97c006e9fee8001201482c..."} 
[2026-06-18 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed978ace8012d0e97c006e9fee8001201482c..."} 
[2026-06-18 12:16:03] local.INFO: Processing buffer {"connection_id":105920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed978ace8012d0e97c006e9fee8001201482c..."} 
[2026-06-18 12:16:03] local.INFO: Packet analysis {"connection_id":105920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:16:03] local.INFO: Extracted packet for processing {"connection_id":105920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:16:03] local.INFO: GPS Element Parsed {"raw_longitude":755931072,"raw_latitude":115998440,"longitude_deg":75.5931072,"latitude_deg":11.599844,"altitude":18,"angle":328,"satellites":44,"speed":14,"hex_longitude":"2d0e97c0","hex_latitude":"06e9fee8","is_valid_coordinates":true} 
[2026-06-18 12:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131845376001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318294369834631168,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1052153492639707136,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781765025000,"timestamp_ms":1781765025000,"timestamp_seconds":1781765025,"priority":1,"record_length":96,"hex_timestamp":"0000019ed978ace8"} 
[2026-06-18 12:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:16: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-06-18 12:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:16:03] 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-06-18 12:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131845376001,"66":27919,"71":206,"2":56576,"24":14,"16":318294369834631168,"45":1052153492639707136},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-06-18 12:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131845376001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:16:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 12:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318294369834631168,"km_value":318294369834631.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1052153492639707136,"description":"Unknown IO ID 45"} 
[2026-06-18 12:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131845376001,"power":27919,"unknown_71":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":1052153492639707136}} 
[2026-06-18 12:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":105920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:16:03] local.INFO: GPS data processed {"connection_id":105920,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:16:03] local.INFO: Acknowledgment sent {"connection_id":105920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:16:17] local.INFO: TCP Data received {"connection_id":105739,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed977e1c8012d1827800721bac8004a00f42a..."} 
[2026-06-18 12:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed977e1c8012d1827800721bac8004a00f42a..."} 
[2026-06-18 12:16:17] local.INFO: Processing buffer {"connection_id":105739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed977e1c8012d1827800721bac8004a00f42a..."} 
[2026-06-18 12:16:17] local.INFO: Packet analysis {"connection_id":105739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:16:17] local.INFO: Extracted packet for processing {"connection_id":105739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756557696,"raw_latitude":119651016,"longitude_deg":75.6557696,"latitude_deg":11.9651016,"altitude":74,"angle":244,"satellites":42,"speed":13,"hex_longitude":"2d182780","hex_latitude":"0721bac8","is_valid_coordinates":true} 
[2026-06-18 12:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131832576001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333440082542592,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605307074560,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781764973000,"timestamp_ms":1781764973000,"timestamp_seconds":1781764973,"priority":1,"record_length":96,"hex_timestamp":"0000019ed977e1c8"} 
[2026-06-18 12:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:16:17] 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-06-18 12:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 12:16:17] 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-06-18 12:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":105739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":105739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":105739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131832576001,"66":12374,"120":206,"28":31744,"24":13,"16":3333440082542592,"45":1741274605307074560},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131832576001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:16:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:16:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333440082542592,"km_value":3333440082542.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605307074560,"description":"Unknown IO ID 45"} 
[2026-06-18 12:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131832576001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1741274605307074560}} 
[2026-06-18 12:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":105739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:16:17] local.INFO: GPS data processed {"connection_id":105739,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:16:17] local.INFO: Acknowledgment sent {"connection_id":105739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:16:29] local.INFO: TCP Data received {"connection_id":105921,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:29] local.INFO: Processing buffer {"connection_id":105921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:29] local.INFO: IMEI packet received {"connection_id":105921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":105921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:16:30] local.INFO: TCP Data received {"connection_id":105921,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:30] local.INFO: Processing buffer {"connection_id":105921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:30] local.INFO: IMEI packet received {"connection_id":105921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":105921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:16:35] local.INFO: TCP Data received {"connection_id":105921,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:35] local.INFO: Processing buffer {"connection_id":105921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:16:35] local.INFO: IMEI packet received {"connection_id":105921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:16:35] local.INFO: IMEI acknowledgment sent {"connection_id":105921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:16:39] local.INFO: TCP Data received {"connection_id":105921,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed978c840012d0e90c006ea08b0001301392b..."} 
[2026-06-18 12:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed978c840012d0e90c006ea08b0001301392b..."} 
[2026-06-18 12:16:39] local.INFO: Processing buffer {"connection_id":105921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed978c840012d0e90c006ea08b0001301392b..."} 
[2026-06-18 12:16:39] local.INFO: Packet analysis {"connection_id":105921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:16:39] local.INFO: Extracted packet for processing {"connection_id":105921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:16:39] local.INFO: GPS Element Parsed {"raw_longitude":755929280,"raw_latitude":116000944,"longitude_deg":75.592928,"latitude_deg":11.6000944,"altitude":19,"angle":313,"satellites":43,"speed":16,"hex_longitude":"2d0e90c0","hex_latitude":"06ea08b0","is_valid_coordinates":true} 
[2026-06-18 12:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131846400001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318294520158486528,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1051520173942433792,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781765032000,"timestamp_ms":1781765032000,"timestamp_seconds":1781765032,"priority":1,"record_length":96,"hex_timestamp":"0000019ed978c840"} 
[2026-06-18 12:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:16: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-06-18 12:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131846400001,"66":27919,"71":206,"2":56576,"24":16,"16":318294520158486528,"45":1051520173942433792},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-06-18 12:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131846400001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:16:39] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 12:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318294520158486528,"km_value":318294520158486.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1051520173942433792,"description":"Unknown IO ID 45"} 
[2026-06-18 12:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131846400001,"power":27919,"unknown_71":206,"power_alt":56576,"ignition":16,"odometer":null,"unknown_45":1051520173942433792}} 
[2026-06-18 12:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":105921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:16:39] local.INFO: GPS data processed {"connection_id":105921,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:16:39] local.INFO: Acknowledgment sent {"connection_id":105921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:16:41] local.INFO: TCP Data received {"connection_id":105740,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:16:41] local.INFO: Processing buffer {"connection_id":105740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:16:41] local.INFO: IMEI packet received {"connection_id":105740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":105740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:16:41] local.INFO: TCP Data received {"connection_id":105921,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed978d7e0012d0e8c0006ea0bb80013012d2b..."} 
[2026-06-18 12:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed978d7e0012d0e8c0006ea0bb80013012d2b..."} 
[2026-06-18 12:16:41] local.INFO: Processing buffer {"connection_id":105921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed978d7e0012d0e8c0006ea0bb80013012d2b..."} 
[2026-06-18 12:16:41] local.INFO: Packet analysis {"connection_id":105921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:16:41] local.INFO: Extracted packet for processing {"connection_id":105921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:16:41] local.INFO: GPS Element Parsed {"raw_longitude":755928064,"raw_latitude":116001720,"longitude_deg":75.5928064,"latitude_deg":11.600172,"altitude":19,"angle":301,"satellites":43,"speed":9,"hex_longitude":"2d0e8c00","hex_latitude":"06ea0bb8","is_valid_coordinates":true} 
[2026-06-18 12:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131848192001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318294588877963264,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1049549849106100224,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781765036000,"timestamp_ms":1781765036000,"timestamp_seconds":1781765036,"priority":1,"record_length":96,"hex_timestamp":"0000019ed978d7e0"} 
[2026-06-18 12:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:16:41] 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-06-18 12:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131848192001,"66":27832,"71":206,"2":56576,"24":9,"16":318294588877963264,"45":1049549849106100224},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16,45]} 
[2026-06-18 12:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131848192001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:16:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 12:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318294588877963264,"km_value":318294588877963.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1049549849106100224,"description":"Unknown IO ID 45"} 
[2026-06-18 12:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131848192001,"power":27832,"unknown_71":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":1049549849106100224}} 
[2026-06-18 12:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":105921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:16:41] local.INFO: GPS data processed {"connection_id":105921,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:16:41] local.INFO: Acknowledgment sent {"connection_id":105921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:16:43] local.INFO: TCP Data received {"connection_id":105740,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:16:43] local.INFO: Processing buffer {"connection_id":105740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:16:43] local.INFO: IMEI packet received {"connection_id":105740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":105740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:16:47] local.INFO: TCP Data received {"connection_id":105740,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed977e5b0012d1826800721ba18004a00e629..."} 
[2026-06-18 12:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed977e5b0012d1826800721ba18004a00e629..."} 
[2026-06-18 12:16:47] local.INFO: Processing buffer {"connection_id":105740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed977e5b0012d1826800721ba18004a00e629..."} 
[2026-06-18 12:16:47] local.INFO: Packet analysis {"connection_id":105740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:16:47] local.INFO: Extracted packet for processing {"connection_id":105740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:16:47] local.INFO: GPS Element Parsed {"raw_longitude":756557440,"raw_latitude":119650840,"longitude_deg":75.655744,"latitude_deg":11.965084,"altitude":74,"angle":230,"satellites":41,"speed":10,"hex_longitude":"2d182680","hex_latitude":"0721ba18","is_valid_coordinates":true} 
[2026-06-18 12:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:16:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131833088001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333457262411776,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549121001472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:16:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781764974000,"timestamp_ms":1781764974000,"timestamp_seconds":1781764974,"priority":1,"record_length":96,"hex_timestamp":"0000019ed977e5b0"} 
[2026-06-18 12:16:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:16:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:16:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 12:16:47] 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-06-18 12:16:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:16:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:16:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:16:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:16:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:16:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:16:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:16:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:16:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:16:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131833088001,"66":12374,"120":206,"28":31744,"24":10,"16":3333457262411776,"45":1740500549121001472},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:16:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:16:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:16:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131833088001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:16:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:16:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:16:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333457262411776,"km_value":3333457262411.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:16:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549121001472,"description":"Unknown IO ID 45"} 
[2026-06-18 12:16:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131833088001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1740500549121001472}} 
[2026-06-18 12:16:47] local.INFO: DEBUG: GPS processor result {"connection_id":105740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:16:47] local.INFO: GPS data processed {"connection_id":105740,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:16:47] local.INFO: Acknowledgment sent {"connection_id":105740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:16:49] local.INFO: TCP Data received {"connection_id":105740,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed977e998012d1826000721b970004a00d32a..."} 
[2026-06-18 12:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed977e998012d1826000721b970004a00d32a..."} 
[2026-06-18 12:16:49] local.INFO: Processing buffer {"connection_id":105740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed977e998012d1826000721b970004a00d32a..."} 
[2026-06-18 12:16:49] local.INFO: Packet analysis {"connection_id":105740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:16:49] local.INFO: Extracted packet for processing {"connection_id":105740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed977"} 
[2026-06-18 12:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756557312,"raw_latitude":119650672,"longitude_deg":75.6557312,"latitude_deg":11.9650672,"altitude":74,"angle":211,"satellites":42,"speed":8,"hex_longitude":"2d182600","hex_latitude":"0721b970","is_valid_coordinates":true} 
[2026-06-18 12:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131833344001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333465852346368,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740219074144245760,"note":"Value kept but may cause issues"} 
[2026-06-18 12:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781764975000,"timestamp_ms":1781764975000,"timestamp_seconds":1781764975,"priority":1,"record_length":96,"hex_timestamp":"0000019ed977e998"} 
[2026-06-18 12:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:16:49] 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-06-18 12:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 12:16:49] 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-06-18 12:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131833344001,"66":12885,"120":206,"28":31744,"24":8,"16":3333465852346368,"45":1740219074144245760},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131833344001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:16:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:16:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333465852346368,"km_value":3333465852346.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740219074144245760,"description":"Unknown IO ID 45"} 
[2026-06-18 12:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131833344001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1740219074144245760}} 
[2026-06-18 12:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":105740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:16:49] local.INFO: GPS data processed {"connection_id":105740,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:16:49] local.INFO: Acknowledgment sent {"connection_id":105740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:17:04] local.INFO: TCP Data received {"connection_id":107462,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:17:04] local.INFO: Processing buffer {"connection_id":107462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:17:04] local.INFO: IMEI packet received {"connection_id":107462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":107462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:17:26] local.INFO: TCP Data received {"connection_id":106496,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:17:26] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:17:26] local.INFO: IMEI packet received {"connection_id":106496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":106496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:17:27] local.INFO: TCP Data received {"connection_id":106496,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:17:27] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:17:27] local.INFO: IMEI packet received {"connection_id":106496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":106496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:17:28] local.INFO: TCP Data received {"connection_id":106496,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97af6d8012d0dd28006ead840001b013829..."} 
[2026-06-18 12:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97af6d8012d0dd28006ead840001b013829..."} 
[2026-06-18 12:17:28] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97af6d8012d0dd28006ead840001b013829..."} 
[2026-06-18 12:17:28] local.INFO: Packet analysis {"connection_id":106496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97a"} 
[2026-06-18 12:17:28] local.INFO: Extracted packet for processing {"connection_id":106496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97a"} 
[2026-06-18 12:17:28] local.INFO: GPS Element Parsed {"raw_longitude":755880576,"raw_latitude":116054080,"longitude_deg":75.5880576,"latitude_deg":11.605408,"altitude":27,"angle":312,"satellites":41,"speed":20,"hex_longitude":"2d0dd280","hex_latitude":"06ead840","is_valid_coordinates":true} 
[2026-06-18 12:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131884032001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318298059211538432,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":996843659730270208,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781765175000,"timestamp_ms":1781765175000,"timestamp_seconds":1781765175,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97af6d8"} 
[2026-06-18 12:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:17:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 12:17: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-06-18 12:17:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131884032001,"66":27919,"40":206,"2":56576,"24":20,"16":318298059211538432,"45":996843659730270208},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131884032001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:17:28] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318298059211538432,"km_value":318298059211538.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":996843659730270208,"description":"Unknown IO ID 45"} 
[2026-06-18 12:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131884032001,"power":27919,"unknown_40":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":996843659730270208}} 
[2026-06-18 12:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":106496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:17:28] local.INFO: GPS data processed {"connection_id":106496,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:17:28] local.INFO: Acknowledgment sent {"connection_id":106496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:17:30] local.INFO: TCP Data received {"connection_id":106496,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97afac0012d0dd0c006ead958001c012a26..."} 
[2026-06-18 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97afac0012d0dd0c006ead958001c012a26..."} 
[2026-06-18 12:17:30] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97afac0012d0dd0c006ead958001c012a26..."} 
[2026-06-18 12:17:30] local.INFO: Packet analysis {"connection_id":106496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97a"} 
[2026-06-18 12:17:30] local.INFO: Extracted packet for processing {"connection_id":106496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97a"} 
[2026-06-18 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":755880128,"raw_latitude":116054360,"longitude_deg":75.5880128,"latitude_deg":11.605436,"altitude":28,"angle":298,"satellites":38,"speed":20,"hex_longitude":"2d0dd0c0","hex_latitude":"06ead958","is_valid_coordinates":true} 
[2026-06-18 12:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131884800001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318298084981342208,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995999234800500736,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781765176000,"timestamp_ms":1781765176000,"timestamp_seconds":1781765176,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97afac0"} 
[2026-06-18 12:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:17: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-06-18 12:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131884800001,"66":27745,"40":206,"2":56576,"24":20,"16":318298084981342208,"45":995999234800500736},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131884800001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:17:30] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318298084981342208,"km_value":318298084981342.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":995999234800500736,"description":"Unknown IO ID 45"} 
[2026-06-18 12:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131884800001,"power":27745,"unknown_40":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":995999234800500736}} 
[2026-06-18 12:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":106496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:17:30] local.INFO: GPS data processed {"connection_id":106496,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:17:30] local.INFO: Acknowledgment sent {"connection_id":106496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:17:33] local.INFO: TCP Data received {"connection_id":105741,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:17:33] local.INFO: Processing buffer {"connection_id":105741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:17:33] local.INFO: IMEI packet received {"connection_id":105741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":105741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:17:36] local.INFO: TCP Data received {"connection_id":105742,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:17:36] local.INFO: Processing buffer {"connection_id":105742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:17:36] local.INFO: IMEI packet received {"connection_id":105742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":105742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:17:41] local.INFO: TCP Data received {"connection_id":105742,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:17:41] local.INFO: Processing buffer {"connection_id":105742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:17:41] local.INFO: IMEI packet received {"connection_id":105742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":105742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:17:43] local.INFO: TCP Data received {"connection_id":105742,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9783ba0012d1825800721b828004a00c92a..."} 
[2026-06-18 12:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9783ba0012d1825800721b828004a00c92a..."} 
[2026-06-18 12:17:43] local.INFO: Processing buffer {"connection_id":105742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9783ba0012d1825800721b828004a00c92a..."} 
[2026-06-18 12:17:43] local.INFO: Packet analysis {"connection_id":105742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:17:43] local.INFO: Extracted packet for processing {"connection_id":105742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:17:43] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650344,"longitude_deg":75.6557184,"latitude_deg":11.9650344,"altitude":74,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-18 12:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131833600001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333487327182848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740078336655847424,"note":"Value kept but may cause issues"} 
[2026-06-18 12:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781764996000,"timestamp_ms":1781764996000,"timestamp_seconds":1781764996,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9783ba0"} 
[2026-06-18 12:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 12:17:43] 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-06-18 12:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131833600001,"66":12939,"120":206,"28":31744,"24":0,"16":3333487327182848,"45":1740078336655847424},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131833600001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:17:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333487327182848,"km_value":3333487327182.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740078336655847424,"description":"Unknown IO ID 45"} 
[2026-06-18 12:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131833600001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740078336655847424}} 
[2026-06-18 12:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":105742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:17:43] local.INFO: GPS data processed {"connection_id":105742,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:17:43] local.INFO: Acknowledgment sent {"connection_id":105742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:18:06] local.INFO: TCP Data received {"connection_id":106496,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97b3558012d0dafc006eaeac8001d012b2b..."} 
[2026-06-18 12:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97b3558012d0dafc006eaeac8001d012b2b..."} 
[2026-06-18 12:18:06] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97b3558012d0dafc006eaeac8001d012b2b..."} 
[2026-06-18 12:18:06] local.INFO: Packet analysis {"connection_id":106496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97b"} 
[2026-06-18 12:18:06] local.INFO: Extracted packet for processing {"connection_id":106496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97b"} 
[2026-06-18 12:18:06] local.INFO: GPS Element Parsed {"raw_longitude":755871680,"raw_latitude":116058824,"longitude_deg":75.587168,"latitude_deg":11.6058824,"altitude":29,"angle":299,"satellites":43,"speed":33,"hex_longitude":"2d0dafc0","hex_latitude":"06eaeac8","is_valid_coordinates":true} 
[2026-06-18 12:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131885056001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318298540247875584,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":995506653591328768,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781765191000,"timestamp_ms":1781765191000,"timestamp_seconds":1781765191,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97b3558"} 
[2026-06-18 12:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:18: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-06-18 12:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 12:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131885056001,"66":27767,"40":206,"2":56576,"24":33,"16":318298540247875584,"45":995506653591328768},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131885056001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:18:06] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318298540247875584,"km_value":318298540247875.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":995506653591328768,"description":"Unknown IO ID 45"} 
[2026-06-18 12:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131885056001,"power":27767,"unknown_40":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":995506653591328768}} 
[2026-06-18 12:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":106496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:18:06] local.INFO: GPS data processed {"connection_id":106496,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:18:06] local.INFO: Acknowledgment sent {"connection_id":106496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:18:14] local.INFO: TCP Data received {"connection_id":105742,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9788da8012d1825800721b828004a00c92b..."} 
[2026-06-18 12:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9788da8012d1825800721b828004a00c92b..."} 
[2026-06-18 12:18:14] local.INFO: Processing buffer {"connection_id":105742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9788da8012d1825800721b828004a00c92b..."} 
[2026-06-18 12:18:14] local.INFO: Packet analysis {"connection_id":105742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:18:14] local.INFO: Extracted packet for processing {"connection_id":105742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650344,"longitude_deg":75.6557184,"latitude_deg":11.9650344,"altitude":74,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-18 12:18: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-06-18 12:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131838976001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333487327182848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167408128,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781765017000,"timestamp_ms":1781765017000,"timestamp_seconds":1781765017,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9788da8"} 
[2026-06-18 12:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:18:14] 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-06-18 12:18: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":139,"data_length":795,"current_offset":136} 
[2026-06-18 12:18:14] 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-06-18 12:18: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-06-18 12:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131838976001,"66":12885,"120":206,"28":31744,"24":0,"16":3333487327182848,"45":1739937599167408128},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131838976001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:18:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333487327182848,"km_value":3333487327182.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167408128,"description":"Unknown IO ID 45"} 
[2026-06-18 12:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131838976001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167408128}} 
[2026-06-18 12:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":105742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:18:14] local.INFO: GPS data processed {"connection_id":105742,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:18:14] local.INFO: Acknowledgment sent {"connection_id":105742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:18:26] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:18:26] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:18:26] local.INFO: IMEI packet received {"connection_id":105922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":105922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:18:29] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:18:29] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:18:29] local.INFO: IMEI packet received {"connection_id":105922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":105922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:18:30] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97b50b0012d0d9bc006eaf478001d011b2c..."} 
[2026-06-18 12:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97b50b0012d0d9bc006eaf478001d011b2c..."} 
[2026-06-18 12:18:30] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97b50b0012d0d9bc006eaf478001d011b2c..."} 
[2026-06-18 12:18:30] local.INFO: Packet analysis {"connection_id":105922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97b"} 
[2026-06-18 12:18:30] local.INFO: Extracted packet for processing {"connection_id":105922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97b"} 
[2026-06-18 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":755866560,"raw_latitude":116061304,"longitude_deg":75.586656,"latitude_deg":11.6061304,"altitude":29,"angle":283,"satellites":44,"speed":28,"hex_longitude":"2d0d9bc0","hex_latitude":"06eaf478","is_valid_coordinates":true} 
[2026-06-18 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-06-18 12:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131888896001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318298810830815232,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":986217979361019904,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781765198000,"timestamp_ms":1781765198000,"timestamp_seconds":1781765198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97b50b0"} 
[2026-06-18 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-06-18 12:18: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-06-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 12:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 12:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131888896001,"66":27767,"40":206,"2":56576,"24":28,"16":318298810830815232,"45":986217979361019904},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131888896001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:18:30] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318298810830815232,"km_value":318298810830815.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":986217979361019904,"description":"Unknown IO ID 45"} 
[2026-06-18 12:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131888896001,"power":27767,"unknown_40":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":986217979361019904}} 
[2026-06-18 12:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":105922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:18:30] local.INFO: GPS data processed {"connection_id":105922,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:18:30] local.INFO: Acknowledgment sent {"connection_id":105922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:18:36] local.INFO: TCP Data received {"connection_id":107463,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:18:36] local.INFO: Processing buffer {"connection_id":107463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:18:36] local.INFO: IMEI packet received {"connection_id":107463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":107463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:18:41] local.INFO: TCP Data received {"connection_id":107463,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:18:41] local.INFO: Processing buffer {"connection_id":107463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:18:41] local.INFO: IMEI packet received {"connection_id":107463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":107463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:18:43] local.INFO: TCP Data received {"connection_id":107463,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed978dfb0012d1825800721b828004a00c92b..."} 
[2026-06-18 12:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed978dfb0012d1825800721b828004a00c92b..."} 
[2026-06-18 12:18:43] local.INFO: Processing buffer {"connection_id":107463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed978dfb0012d1825800721b828004a00c92b..."} 
[2026-06-18 12:18:43] local.INFO: Packet analysis {"connection_id":107463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:18:43] local.INFO: Extracted packet for processing {"connection_id":107463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed978"} 
[2026-06-18 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650344,"longitude_deg":75.6557184,"latitude_deg":11.9650344,"altitude":74,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-18 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131844352001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333487327182848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167408128,"note":"Value kept but may cause issues"} 
[2026-06-18 12:18:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781765038000,"timestamp_ms":1781765038000,"timestamp_seconds":1781765038,"priority":1,"record_length":96,"hex_timestamp":"0000019ed978dfb0"} 
[2026-06-18 12:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:18:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 12:18:43] 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-06-18 12:18:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:18:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131844352001,"66":12841,"120":206,"28":31744,"24":0,"16":3333487327182848,"45":1739937599167408128},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131844352001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:18:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:18:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333487327182848,"km_value":3333487327182.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167408128,"description":"Unknown IO ID 45"} 
[2026-06-18 12:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131844352001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167408128}} 
[2026-06-18 12:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":107463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:18:43] local.INFO: GPS data processed {"connection_id":107463,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:18:43] local.INFO: Acknowledgment sent {"connection_id":107463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:19:01] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97ccf80012d0c924006eb7568001500d22c..."} 
[2026-06-18 12:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97ccf80012d0c924006eb7568001500d22c..."} 
[2026-06-18 12:19:01] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97ccf80012d0c924006eb7568001500d22c..."} 
[2026-06-18 12:19:01] local.INFO: Packet analysis {"connection_id":105922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:19:01] local.INFO: Extracted packet for processing {"connection_id":105922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:19:01] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":116094312,"longitude_deg":75.5798592,"latitude_deg":11.6094312,"altitude":21,"angle":210,"satellites":44,"speed":13,"hex_longitude":"2d0c9240","hex_latitude":"06eb7568","is_valid_coordinates":true} 
[2026-06-18 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-06-18 12:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131915520001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318302474437918720,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905997611007635456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781765296000,"timestamp_ms":1781765296000,"timestamp_seconds":1781765296,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97ccf80"} 
[2026-06-18 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-06-18 12:19:01] 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-06-18 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 12:19: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-06-18 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-06-18 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-06-18 12:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:19:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131915520001,"66":27995,"42":206,"2":56576,"24":13,"16":318302474437918720,"45":905997611007635456},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131915520001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:19:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318302474437918720,"km_value":318302474437918.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":905997611007635456,"description":"Unknown IO ID 45"} 
[2026-06-18 12:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131915520001,"power":27995,"unknown_42":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":905997611007635456}} 
[2026-06-18 12:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":105922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:19:01] local.INFO: GPS data processed {"connection_id":105922,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:19:01] local.INFO: Acknowledgment sent {"connection_id":105922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:19:17] local.INFO: TCP Data received {"connection_id":107463,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97c6608012d1825800721b828004a00c92a..."} 
[2026-06-18 12:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97c6608012d1825800721b828004a00c92a..."} 
[2026-06-18 12:19:17] local.INFO: Processing buffer {"connection_id":107463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97c6608012d1825800721b828004a00c92a..."} 
[2026-06-18 12:19:17] local.INFO: Packet analysis {"connection_id":107463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:19:17] local.INFO: Extracted packet for processing {"connection_id":107463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650344,"longitude_deg":75.6557184,"latitude_deg":11.9650344,"altitude":74,"angle":201,"satellites":42,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-18 12:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131903488001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333487327182848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167408128,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781765269000,"timestamp_ms":1781765269000,"timestamp_seconds":1781765269,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97c6608"} 
[2026-06-18 12:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:19:17] 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-06-18 12:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 12:19:17] 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-06-18 12:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131903488001,"66":12678,"120":206,"28":31744,"24":0,"16":3333487327182848,"45":1739937599167408128},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131903488001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:19:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:19:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333487327182848,"km_value":3333487327182.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167408128,"description":"Unknown IO ID 45"} 
[2026-06-18 12:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131903488001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167408128}} 
[2026-06-18 12:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":107463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:19:17] local.INFO: GPS data processed {"connection_id":107463,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:19:17] local.INFO: Acknowledgment sent {"connection_id":107463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:19:23] local.INFO: TCP Data received {"connection_id":106497,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:23] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:23] local.INFO: IMEI packet received {"connection_id":106497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":106497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:19:25] local.INFO: TCP Data received {"connection_id":106497,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:25] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:25] local.INFO: IMEI packet received {"connection_id":106497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":106497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:19:30] local.INFO: TCP Data received {"connection_id":106497,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:30] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:19:30] local.INFO: IMEI packet received {"connection_id":106497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":106497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:19:31] local.INFO: TCP Data received {"connection_id":106497,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97cd368012d0c91c006eb7410001500b42c..."} 
[2026-06-18 12:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97cd368012d0c91c006eb7410001500b42c..."} 
[2026-06-18 12:19:31] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97cd368012d0c91c006eb7410001500b42c..."} 
[2026-06-18 12:19:31] local.INFO: Packet analysis {"connection_id":106497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:19:31] local.INFO: Extracted packet for processing {"connection_id":106497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":755798464,"raw_latitude":116093968,"longitude_deg":75.5798464,"latitude_deg":11.6093968,"altitude":21,"angle":180,"satellites":44,"speed":14,"hex_longitude":"2d0c91c0","hex_latitude":"06eb7410","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131915776001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318302491617787904,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873519212544,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781765297000,"timestamp_ms":1781765297000,"timestamp_seconds":1781765297,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97cd368"} 
[2026-06-18 12:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:19: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-06-18 12: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-06-18 12:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131915776001,"66":27995,"42":206,"2":56576,"24":14,"16":318302491617787904,"45":905856873519212544},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131915776001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:19:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318302491617787904,"km_value":318302491617787.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873519212544,"description":"Unknown IO ID 45"} 
[2026-06-18 12:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131915776001,"power":27995,"unknown_42":206,"power_alt":56576,"ignition":14,"odometer":null,"unknown_45":905856873519212544}} 
[2026-06-18 12:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":106497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:19:31] local.INFO: GPS data processed {"connection_id":106497,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:19:31] local.INFO: Acknowledgment sent {"connection_id":106497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:19:36] local.INFO: TCP Data received {"connection_id":107465,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:36] local.INFO: Processing buffer {"connection_id":107465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:36] local.INFO: IMEI packet received {"connection_id":107465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":107465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:19:44] local.INFO: TCP Data received {"connection_id":107465,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:44] local.INFO: Processing buffer {"connection_id":107465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:44] local.INFO: IMEI packet received {"connection_id":107465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":107465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:19:45] local.INFO: TCP Data received {"connection_id":107465,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:45] local.INFO: Processing buffer {"connection_id":107465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:45] local.INFO: IMEI packet received {"connection_id":107465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":107465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:19:46] local.INFO: TCP Data received {"connection_id":107465,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:46] local.INFO: Processing buffer {"connection_id":107465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:19:46] local.INFO: IMEI packet received {"connection_id":107465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":107465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:19:47] local.INFO: TCP Data received {"connection_id":107465,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97cb810012d1825800721b828004a00c92b..."} 
[2026-06-18 12:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97cb810012d1825800721b828004a00c92b..."} 
[2026-06-18 12:19:47] local.INFO: Processing buffer {"connection_id":107465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97cb810012d1825800721b828004a00c92b..."} 
[2026-06-18 12:19:47] local.INFO: Packet analysis {"connection_id":107465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:19:47] local.INFO: Extracted packet for processing {"connection_id":107465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:19:47] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650344,"longitude_deg":75.6557184,"latitude_deg":11.9650344,"altitude":74,"angle":201,"satellites":43,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-18 12:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131908864001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333487327182848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167408128,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781765290000,"timestamp_ms":1781765290000,"timestamp_seconds":1781765290,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97cb810"} 
[2026-06-18 12:19:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:19:47] 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-06-18 12:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 12:19:47] 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-06-18 12:19:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:19:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:19:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:19:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:19:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:19:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:19:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:19:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:19:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:19:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131908864001,"66":12602,"120":206,"28":31744,"24":0,"16":3333487327182848,"45":1739937599167408128},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:19:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:19:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:19:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131908864001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:19:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:19:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:19:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333487327182848,"km_value":3333487327182.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:19:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167408128,"description":"Unknown IO ID 45"} 
[2026-06-18 12:19:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131908864001,"power":12602,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167408128}} 
[2026-06-18 12:19:47] local.INFO: DEBUG: GPS processor result {"connection_id":107465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:19:47] local.INFO: GPS data processed {"connection_id":107465,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:19:47] local.INFO: Acknowledgment sent {"connection_id":107465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:19:52] local.INFO: TCP Data received {"connection_id":107465,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97d0a18012d1825800721b828004a00c929..."} 
[2026-06-18 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97d0a18012d1825800721b828004a00c929..."} 
[2026-06-18 12:19:52] local.INFO: Processing buffer {"connection_id":107465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97d0a18012d1825800721b828004a00c929..."} 
[2026-06-18 12:19:52] local.INFO: Packet analysis {"connection_id":107465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:19:52] local.INFO: Extracted packet for processing {"connection_id":107465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650344,"longitude_deg":75.6557184,"latitude_deg":11.9650344,"altitude":74,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131914240001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333487327182848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167408128,"note":"Value kept but may cause issues"} 
[2026-06-18 12:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781765311000,"timestamp_ms":1781765311000,"timestamp_seconds":1781765311,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97d0a18"} 
[2026-06-18 12:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:19:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-18 12:19:52] 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-06-18 12: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-06-18 12:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131914240001,"66":12591,"120":206,"28":31744,"24":0,"16":3333487327182848,"45":1739937599167408128},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131914240001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:19:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:19:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333487327182848,"km_value":3333487327182.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167408128,"description":"Unknown IO ID 45"} 
[2026-06-18 12:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131914240001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167408128}} 
[2026-06-18 12:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":107465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:19:52] local.INFO: GPS data processed {"connection_id":107465,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:19:52] local.INFO: Acknowledgment sent {"connection_id":107465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:20:02] local.INFO: TCP Data received {"connection_id":106497,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97cd750012d0c924006eb7278001500a22c..."} 
[2026-06-18 12:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97cd750012d0c924006eb7278001500a22c..."} 
[2026-06-18 12:20:02] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97cd750012d0c924006eb7278001500a22c..."} 
[2026-06-18 12:20:02] local.INFO: Packet analysis {"connection_id":106497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:20:02] local.INFO: Extracted packet for processing {"connection_id":106497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:20:02] local.INFO: GPS Element Parsed {"raw_longitude":755798592,"raw_latitude":116093560,"longitude_deg":75.5798592,"latitude_deg":11.609356,"altitude":21,"angle":162,"satellites":44,"speed":17,"hex_longitude":"2d0c9240","hex_latitude":"06eb7278","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131916032001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318302513092624384,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905716136030769152,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781765298000,"timestamp_ms":1781765298000,"timestamp_seconds":1781765298,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97cd750"} 
[2026-06-18 12:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:20: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-06-18 12:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131916032001,"66":27876,"42":206,"2":56576,"24":17,"16":318302513092624384,"45":905716136030769152},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131916032001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:20:02] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318302513092624384,"km_value":318302513092624.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":905716136030769152,"description":"Unknown IO ID 45"} 
[2026-06-18 12:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131916032001,"power":27876,"unknown_42":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":905716136030769152}} 
[2026-06-18 12:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":106497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:20:02] local.INFO: GPS data processed {"connection_id":106497,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:20:02] local.INFO: Acknowledgment sent {"connection_id":106497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:20:28] local.INFO: TCP Data received {"connection_id":105744,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:28] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:28] local.INFO: IMEI packet received {"connection_id":105744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:20:28] local.INFO: IMEI acknowledgment sent {"connection_id":105744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:20:30] local.INFO: TCP Data received {"connection_id":105744,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:30] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:30] local.INFO: IMEI packet received {"connection_id":105744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":105744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:20:30] local.INFO: TCP Data received {"connection_id":105744,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:30] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:30] local.INFO: IMEI packet received {"connection_id":105744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":105744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:20:35] local.INFO: TCP Data received {"connection_id":105744,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:35] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:20:35] local.INFO: IMEI packet received {"connection_id":105744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":105744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:20:35] local.INFO: TCP Data received {"connection_id":105744,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97cf2a8012d0c9a8006eb60a0001000962a..."} 
[2026-06-18 12:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97cf2a8012d0c9a8006eb60a0001000962a..."} 
[2026-06-18 12:20:35] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97cf2a8012d0c9a8006eb60a0001000962a..."} 
[2026-06-18 12:20:35] local.INFO: Packet analysis {"connection_id":105744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:20:35] local.INFO: Extracted packet for processing {"connection_id":105744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97c"} 
[2026-06-18 12:20:35] local.INFO: GPS Element Parsed {"raw_longitude":755800704,"raw_latitude":116088992,"longitude_deg":75.5800704,"latitude_deg":11.6088992,"altitude":16,"angle":150,"satellites":42,"speed":37,"hex_longitude":"2d0c9a80","hex_latitude":"06eb60a0","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131916288001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318302757905760256,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":905856873519020032,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781765305000,"timestamp_ms":1781765305000,"timestamp_seconds":1781765305,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97cf2a8"} 
[2026-06-18 12:20:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:20:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 12:20: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-06-18 12: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-06-18 12:20:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131916288001,"66":27930,"42":206,"2":56576,"24":37,"16":318302757905760256,"45":905856873519020032},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131916288001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:20:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318302757905760256,"km_value":318302757905760.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":905856873519020032,"description":"Unknown IO ID 45"} 
[2026-06-18 12:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131916288001,"power":27930,"unknown_42":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":905856873519020032}} 
[2026-06-18 12:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":105744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:20:36] local.INFO: GPS data processed {"connection_id":105744,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:20:36] local.INFO: Acknowledgment sent {"connection_id":105744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:20:41] local.INFO: TCP Data received {"connection_id":107466,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:20:41] local.INFO: Processing buffer {"connection_id":107466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:20:41] local.INFO: IMEI packet received {"connection_id":107466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":107466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:20:42] local.INFO: TCP Data received {"connection_id":107466,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107466,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:20:42] local.INFO: Processing buffer {"connection_id":107466,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:20:42] local.INFO: IMEI packet received {"connection_id":107466,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":107466,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:20:46] local.INFO: TCP Data received {"connection_id":107466,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97d5c20012d1825800721b828004a00c929..."} 
[2026-06-18 12:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97d5c20012d1825800721b828004a00c929..."} 
[2026-06-18 12:20:46] local.INFO: Processing buffer {"connection_id":107466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97d5c20012d1825800721b828004a00c929..."} 
[2026-06-18 12:20:46] local.INFO: Packet analysis {"connection_id":107466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:20:46] local.INFO: Extracted packet for processing {"connection_id":107466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:20:46] local.INFO: GPS Element Parsed {"raw_longitude":756557184,"raw_latitude":119650344,"longitude_deg":75.6557184,"latitude_deg":11.9650344,"altitude":74,"angle":201,"satellites":41,"speed":0,"hex_longitude":"2d182580","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-06-18 12:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131919616001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333487327182848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167408128,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781765332000,"timestamp_ms":1781765332000,"timestamp_seconds":1781765332,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97d5c20"} 
[2026-06-18 12:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:20: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-06-18 12:20:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 12:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:20:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:20:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131919616001,"66":12037,"120":206,"28":31744,"24":0,"16":3333487327182848,"45":1739937599167408128},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131919616001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:20:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:20:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333487327182848,"km_value":3333487327182.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167408128,"description":"Unknown IO ID 45"} 
[2026-06-18 12:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131919616001,"power":12037,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739937599167408128}} 
[2026-06-18 12:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":107466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:20:46] local.INFO: GPS data processed {"connection_id":107466,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:20:46] local.INFO: Acknowledgment sent {"connection_id":107466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:20:47] local.INFO: TCP Data received {"connection_id":107466,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97d8ee8012d1824000721b7f8004b00d72a..."} 
[2026-06-18 12:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97d8ee8012d1824000721b7f8004b00d72a..."} 
[2026-06-18 12:20:47] local.INFO: Processing buffer {"connection_id":107466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97d8ee8012d1824000721b7f8004b00d72a..."} 
[2026-06-18 12:20:47] local.INFO: Packet analysis {"connection_id":107466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:20:47] local.INFO: Extracted packet for processing {"connection_id":107466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650296,"longitude_deg":75.65568,"latitude_deg":11.9650296,"altitude":75,"angle":215,"satellites":42,"speed":2,"hex_longitude":"2d182400","hex_latitude":"0721b7f8","is_valid_coordinates":true} 
[2026-06-18 12:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131924992001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333504507052032,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739937599167408128,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781765345000,"timestamp_ms":1781765345000,"timestamp_seconds":1781765345,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97d8ee8"} 
[2026-06-18 12:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3648745456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3089629258,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767661968501768168,"corrected_to":0} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":193,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147951032,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182118040469760,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3620339712,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429735980673059114,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194989312,"note":"Value kept but may cause issues"} 
[2026-06-18 12:20:47] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,215,10,45,128,184,74,41,66,43,102,1,240,134,217,33,4,113,205,193,37,40,44,239,46,2,11,7,69],"length":484,"final_offset":614,"validated_count":35,"validation_warnings":[{"io_id":205,"original":-1767661968501768168,"validated":0}]} 
[2026-06-18 12:20:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332483136737509376,"timestamp_seconds":5332483136737509.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 12:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131924992001,"66":12613,"120":206,"28":31744,"24":2,"16":3333504507052032,"45":1739937599167408128},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131924992001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:20:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333504507052032,"km_value":3333504507052.032,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739937599167408128,"description":"Unknown IO ID 45"} 
[2026-06-18 12:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131924992001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739937599167408128}} 
[2026-06-18 12:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":107466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:20:47] local.INFO: GPS data processed {"connection_id":107466,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:20:47] local.INFO: Acknowledgment sent {"connection_id":107466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:21:18] local.INFO: TCP Data received {"connection_id":105744,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97d1da0012d0cad4006eb4698000c008b29..."} 
[2026-06-18 12:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97d1da0012d0cad4006eb4698000c008b29..."} 
[2026-06-18 12:21:18] local.INFO: Processing buffer {"connection_id":105744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97d1da0012d0cad4006eb4698000c008b29..."} 
[2026-06-18 12:21:18] local.INFO: Packet analysis {"connection_id":105744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:21:18] local.INFO: Extracted packet for processing {"connection_id":105744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":755805504,"raw_latitude":116082328,"longitude_deg":75.5805504,"latitude_deg":11.6082328,"altitude":12,"angle":139,"satellites":41,"speed":32,"hex_longitude":"2d0cad40","hex_latitude":"06eb4698","is_valid_coordinates":true} 
[2026-06-18 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131918080001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318303153042751488,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908179042075713536,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781765316000,"timestamp_ms":1781765316000,"timestamp_seconds":1781765316,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97d1da0"} 
[2026-06-18 12:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:21:18] 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-06-18 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":105744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":105744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":105744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131918080001,"66":27974,"42":206,"2":56576,"24":32,"16":318303153042751488,"45":908179042075713536},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131918080001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318303153042751488,"km_value":318303153042751.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":908179042075713536,"description":"Unknown IO ID 45"} 
[2026-06-18 12:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131918080001,"power":27974,"unknown_42":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":908179042075713536}} 
[2026-06-18 12:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":105744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:21:18] local.INFO: GPS data processed {"connection_id":105744,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:21:18] local.INFO: Acknowledgment sent {"connection_id":105744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:21:18] local.INFO: TCP Data received {"connection_id":107466,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97dd150012d1821400721b420004a00cc2a..."} 
[2026-06-18 12:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97dd150012d1821400721b420004a00cc2a..."} 
[2026-06-18 12:21:18] local.INFO: Processing buffer {"connection_id":107466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97dd150012d1821400721b420004a00cc2a..."} 
[2026-06-18 12:21:18] local.INFO: Packet analysis {"connection_id":107466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:21:18] local.INFO: Extracted packet for processing {"connection_id":107466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649312,"longitude_deg":75.6556096,"latitude_deg":11.9649312,"altitude":74,"angle":204,"satellites":42,"speed":2,"hex_longitude":"2d182140","hex_latitude":"0721b420","is_valid_coordinates":true} 
[2026-06-18 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131928320001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333564636594176,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702329856,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781765362000,"timestamp_ms":1781765362000,"timestamp_seconds":1781765362,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97dd150"} 
[2026-06-18 12:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-06-18 12:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107466,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131928320001,"66":12591,"120":206,"28":31744,"24":2,"16":3333564636594176,"45":1739515386702329856},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131928320001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333564636594176,"km_value":3333564636594.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702329856,"description":"Unknown IO ID 45"} 
[2026-06-18 12:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131928320001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739515386702329856}} 
[2026-06-18 12:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":107466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:21:19] local.INFO: GPS data processed {"connection_id":107466,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:21:19] local.INFO: Acknowledgment sent {"connection_id":107466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:21:25] local.INFO: TCP Data received {"connection_id":105923,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:25] local.INFO: Processing buffer {"connection_id":105923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:25] local.INFO: IMEI packet received {"connection_id":105923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":105923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:21:29] local.INFO: TCP Data received {"connection_id":105923,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:29] local.INFO: Processing buffer {"connection_id":105923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:29] local.INFO: IMEI packet received {"connection_id":105923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":105923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:21:30] local.INFO: TCP Data received {"connection_id":105923,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:30] local.INFO: Processing buffer {"connection_id":105923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:21:30] local.INFO: IMEI packet received {"connection_id":105923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":105923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:21:32] local.INFO: TCP Data received {"connection_id":105923,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97d40c8012d0cc28006eb2a18000b008d26..."} 
[2026-06-18 12:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97d40c8012d0cc28006eb2a18000b008d26..."} 
[2026-06-18 12:21:32] local.INFO: Processing buffer {"connection_id":105923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97d40c8012d0cc28006eb2a18000b008d26..."} 
[2026-06-18 12:21:32] local.INFO: Packet analysis {"connection_id":105923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:21:32] local.INFO: Extracted packet for processing {"connection_id":105923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:21:32] local.INFO: GPS Element Parsed {"raw_longitude":755810944,"raw_latitude":116075032,"longitude_deg":75.5810944,"latitude_deg":11.6075032,"altitude":11,"angle":141,"satellites":38,"speed":43,"hex_longitude":"2d0cc280","hex_latitude":"06eb2a18","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131920896001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318303591129415680,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":913456697887332352,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781765325000,"timestamp_ms":1781765325000,"timestamp_seconds":1781765325,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97d40c8"} 
[2026-06-18 12:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 12:21: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-06-18 12: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-06-18 12:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131920896001,"66":27930,"40":206,"2":56576,"24":43,"16":318303591129415680,"45":913456697887332352},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131920896001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:21:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318303591129415680,"km_value":318303591129415.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":913456697887332352,"description":"Unknown IO ID 45"} 
[2026-06-18 12:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131920896001,"power":27930,"unknown_40":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":913456697887332352}} 
[2026-06-18 12:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":105923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:21:32] local.INFO: GPS data processed {"connection_id":105923,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:21:32] local.INFO: Acknowledgment sent {"connection_id":105923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:21:36] local.INFO: TCP Data received {"connection_id":107467,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:21:36] local.INFO: Processing buffer {"connection_id":107467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:21:36] local.INFO: IMEI packet received {"connection_id":107467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":107467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:21:39] local.INFO: TCP Data received {"connection_id":105923,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97d67d8012d0cd80006eb0de0000b009121..."} 
[2026-06-18 12:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97d67d8012d0cd80006eb0de0000b009121..."} 
[2026-06-18 12:21:39] local.INFO: Processing buffer {"connection_id":105923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97d67d8012d0cd80006eb0de0000b009121..."} 
[2026-06-18 12:21:39] local.INFO: Packet analysis {"connection_id":105923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:21:39] local.INFO: Extracted packet for processing {"connection_id":105923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:21:39] local.INFO: GPS Element Parsed {"raw_longitude":755816448,"raw_latitude":116067808,"longitude_deg":75.5816448,"latitude_deg":11.6067808,"altitude":11,"angle":145,"satellites":33,"speed":37,"hex_longitude":"2d0cd800","hex_latitude":"06eb0de0","is_valid_coordinates":true} 
[2026-06-18 12:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131923200001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318304024921112576,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":919438041140566016,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781765335000,"timestamp_ms":1781765335000,"timestamp_seconds":1781765335,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97d67d8"} 
[2026-06-18 12:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:21:39] 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-06-18 12:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131923200001,"66":27984,"40":206,"2":56576,"24":37,"16":318304024921112576,"45":919438041140566016},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131923200001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:21:39] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318304024921112576,"km_value":318304024921112.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":919438041140566016,"description":"Unknown IO ID 45"} 
[2026-06-18 12:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131923200001,"power":27984,"unknown_40":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":919438041140566016}} 
[2026-06-18 12:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":105923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:21:39] local.INFO: GPS data processed {"connection_id":105923,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:21:39] local.INFO: Acknowledgment sent {"connection_id":105923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:21:41] local.INFO: TCP Data received {"connection_id":107467,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:21:41] local.INFO: Processing buffer {"connection_id":107467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:21:41] local.INFO: IMEI packet received {"connection_id":107467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":107467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:21:43] local.INFO: TCP Data received {"connection_id":107467,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97e2358012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97e2358012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:21:43] local.INFO: Processing buffer {"connection_id":107467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97e2358012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:21:43] local.INFO: Packet analysis {"connection_id":107467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:21:43] local.INFO: Extracted packet for processing {"connection_id":107467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131932672001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516123648,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781765383000,"timestamp_ms":1781765383000,"timestamp_seconds":1781765383,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97e2358"} 
[2026-06-18 12:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 12:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131932672001,"66":12580,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516123648},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131932672001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:21:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516123648,"description":"Unknown IO ID 45"} 
[2026-06-18 12:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131932672001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516123648}} 
[2026-06-18 12:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":107467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:21:43] local.INFO: GPS data processed {"connection_id":107467,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:21:43] local.INFO: Acknowledgment sent {"connection_id":107467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:21:46] local.INFO: TCP Data received {"connection_id":107467,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97e7560012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97e7560012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:21:46] local.INFO: Processing buffer {"connection_id":107467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97e7560012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:21:46] local.INFO: Packet analysis {"connection_id":107467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:21:46] local.INFO: Extracted packet for processing {"connection_id":107467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131938048001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:21:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781765404000,"timestamp_ms":1781765404000,"timestamp_seconds":1781765404,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97e7560"} 
[2026-06-18 12:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:21:46] 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-06-18 12:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-18 12:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:21:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131938048001,"66":12548,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131938048001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:21:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:21:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131938048001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":107467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:21:46] local.INFO: GPS data processed {"connection_id":107467,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:21:46] local.INFO: Acknowledgment sent {"connection_id":107467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:22:18] local.INFO: TCP Data received {"connection_id":107467,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97ec768012d1821400721b410004a00cc29..."} 
[2026-06-18 12:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97ec768012d1821400721b410004a00cc29..."} 
[2026-06-18 12:22:18] local.INFO: Processing buffer {"connection_id":107467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97ec768012d1821400721b410004a00cc29..."} 
[2026-06-18 12:22:18] local.INFO: Packet analysis {"connection_id":107467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:22:18] local.INFO: Extracted packet for processing {"connection_id":107467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131943424001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781765425000,"timestamp_ms":1781765425000,"timestamp_seconds":1781765425,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97ec768"} 
[2026-06-18 12:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3648829456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3089629258,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147951032,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3620339712,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:18] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,215,35,45,64,180,74,42,10,66,209,142,1,240,69,217,33,4,113,205,37,40,41,239,49,2,11,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 12:22:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332486443862327296,"timestamp_seconds":5332486443862327.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 12:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131943424001,"66":12558,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131943424001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:22:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:22:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131943424001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":107467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:22:18] local.INFO: GPS data processed {"connection_id":107467,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:22:18] local.INFO: Acknowledgment sent {"connection_id":107467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:22:25] local.INFO: TCP Data received {"connection_id":105746,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:22:25] local.INFO: Processing buffer {"connection_id":105746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:22:25] local.INFO: IMEI packet received {"connection_id":105746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":105746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:22:30] local.INFO: TCP Data received {"connection_id":105746,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:22:30] local.INFO: Processing buffer {"connection_id":105746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:22:30] local.INFO: IMEI packet received {"connection_id":105746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":105746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:22:32] local.INFO: TCP Data received {"connection_id":105746,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97d92d0012d0ced0006eaf1900013008c22..."} 
[2026-06-18 12:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97d92d0012d0ced0006eaf1900013008c22..."} 
[2026-06-18 12:22:32] local.INFO: Processing buffer {"connection_id":105746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97d92d0012d0ced0006eaf1900013008c22..."} 
[2026-06-18 12:22:32] local.INFO: Packet analysis {"connection_id":105746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:22:32] local.INFO: Extracted packet for processing {"connection_id":105746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:22:32] local.INFO: GPS Element Parsed {"raw_longitude":755821824,"raw_latitude":116060560,"longitude_deg":75.5821824,"latitude_deg":11.606056,"altitude":19,"angle":140,"satellites":34,"speed":19,"hex_longitude":"2d0ced00","hex_latitude":"06eaf190","is_valid_coordinates":true} 
[2026-06-18 12:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131925760001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318304463007776768,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":925489753137995776,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781765346000,"timestamp_ms":1781765346000,"timestamp_seconds":1781765346,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97d92d0"} 
[2026-06-18 12:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-18 12:22: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-06-18 12:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131925760001,"66":27930,"40":206,"2":56576,"24":19,"16":318304463007776768,"45":925489753137995776},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131925760001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:22:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318304463007776768,"km_value":318304463007776.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":925489753137995776,"description":"Unknown IO ID 45"} 
[2026-06-18 12:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131925760001,"power":27930,"unknown_40":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":925489753137995776}} 
[2026-06-18 12:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":105746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:22:32] local.INFO: GPS data processed {"connection_id":105746,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:22:32] local.INFO: Acknowledgment sent {"connection_id":105746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:22:36] local.INFO: TCP Data received {"connection_id":107468,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:22:36] local.INFO: Processing buffer {"connection_id":107468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:22:36] local.INFO: IMEI packet received {"connection_id":107468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":107468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:22:41] local.INFO: TCP Data received {"connection_id":107468,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:22:41] local.INFO: Processing buffer {"connection_id":107468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:22:41] local.INFO: IMEI packet received {"connection_id":107468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":107468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:22:43] local.INFO: TCP Data received {"connection_id":107468,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97f1970012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97f1970012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:22:43] local.INFO: Processing buffer {"connection_id":107468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97f1970012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:22:43] local.INFO: Packet analysis {"connection_id":107468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:22:43] local.INFO: Extracted packet for processing {"connection_id":107468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131948800001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781765446000,"timestamp_ms":1781765446000,"timestamp_seconds":1781765446,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97f1970"} 
[2026-06-18 12:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:22:43] 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-06-18 12:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3648850456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":66,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249388362953504808,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3086483531,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2147951032,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3620339712,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-06-18 12:22:43] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,215,117,45,64,180,74,43,10,66,35,42,209,1,240,47,217,33,4,113,205,2,92,37,40,41,239,11,7,231,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 12:22:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332486435272392704,"timestamp_seconds":5332486435272393.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 12:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131948800001,"66":12548,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131948800001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:22:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131948800001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":107468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:22:43] local.INFO: GPS data processed {"connection_id":107468,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:22:43] local.INFO: Acknowledgment sent {"connection_id":107468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:22:58] local.INFO: TCP Data received {"connection_id":105924,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:22:58] local.INFO: Processing buffer {"connection_id":105924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:22:58] local.INFO: IMEI packet received {"connection_id":105924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":105924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:23:06] local.INFO: TCP Data received {"connection_id":105746,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97dcd68012d0d044006ead9480017007f2d..."} 
[2026-06-18 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97dcd68012d0d044006ead9480017007f2d..."} 
[2026-06-18 12:23:06] local.INFO: Processing buffer {"connection_id":105746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97dcd68012d0d044006ead9480017007f2d..."} 
[2026-06-18 12:23:06] local.INFO: Packet analysis {"connection_id":105746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:23:06] local.INFO: Extracted packet for processing {"connection_id":105746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97d"} 
[2026-06-18 12:23:06] local.INFO: GPS Element Parsed {"raw_longitude":755827776,"raw_latitude":116054344,"longitude_deg":75.5827776,"latitude_deg":11.6054344,"altitude":23,"angle":127,"satellites":45,"speed":27,"hex_longitude":"2d0d0440","hex_latitude":"06ead948","is_valid_coordinates":true} 
[2026-06-18 12:23: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-06-18 12:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131928576001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318304879619604480,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931400727647064064,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781765361000,"timestamp_ms":1781765361000,"timestamp_seconds":1781765361,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97dcd68"} 
[2026-06-18 12:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:23: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-06-18 12:23: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-06-18 12:23: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-06-18 12:23: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-06-18 12:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131928576001,"66":27745,"40":206,"2":56576,"24":27,"16":318304879619604480,"45":931400727647064064},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131928576001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:23:06] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318304879619604480,"km_value":318304879619604.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":931400727647064064,"description":"Unknown IO ID 45"} 
[2026-06-18 12:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131928576001,"power":27745,"unknown_40":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":931400727647064064}} 
[2026-06-18 12:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":105746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:23:06] local.INFO: GPS data processed {"connection_id":105746,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:23:06] local.INFO: Acknowledgment sent {"connection_id":105746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:23:17] local.INFO: TCP Data received {"connection_id":107468,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97f6b78012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97f6b78012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:23:17] local.INFO: Processing buffer {"connection_id":107468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97f6b78012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:23:17] local.INFO: Packet analysis {"connection_id":107468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:23:17] local.INFO: Extracted packet for processing {"connection_id":107468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131954176001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781765467000,"timestamp_ms":1781765467000,"timestamp_seconds":1781765467,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97f6b78"} 
[2026-06-18 12:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:23:17] 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-06-18 12:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3648871456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184163541197,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3021996106,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3620601856,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,215,199,45,64,180,74,41,10,66,117,43,35,1,240,36,217,33,4,113,205,2,142,248,42,239,49,11,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 12:23:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332486439567360000,"timestamp_seconds":5332486439567360,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 12:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131954176001,"66":12548,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131954176001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:23:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131954176001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":107468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:23:17] local.INFO: GPS data processed {"connection_id":107468,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:23:17] local.INFO: Acknowledgment sent {"connection_id":107468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:23:30] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:23:30] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:23:30] local.INFO: IMEI packet received {"connection_id":106499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":106499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:23:34] local.INFO: TCP Data received {"connection_id":106500,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:23:34] local.INFO: Processing buffer {"connection_id":106500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:23:34] local.INFO: IMEI packet received {"connection_id":106500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":106500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:23:35] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:23:35] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:23:35] local.INFO: IMEI packet received {"connection_id":106499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":106499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:23:36] local.INFO: TCP Data received {"connection_id":105925,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:23:36] local.INFO: Processing buffer {"connection_id":105925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:23:36] local.INFO: IMEI packet received {"connection_id":105925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":105925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:23:36] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97e13b8012d0d220006eac5b80018007629..."} 
[2026-06-18 12:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97e13b8012d0d220006eac5b80018007629..."} 
[2026-06-18 12:23:36] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97e13b8012d0d220006eac5b80018007629..."} 
[2026-06-18 12:23:36] local.INFO: Packet analysis {"connection_id":106499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:23:36] local.INFO: Extracted packet for processing {"connection_id":106499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":755835392,"raw_latitude":116049336,"longitude_deg":75.5835392,"latitude_deg":11.6049336,"altitude":24,"angle":118,"satellites":41,"speed":24,"hex_longitude":"2d0d2200","hex_latitude":"06eac5b8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131932416001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318305313411301376,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":937945020853995520,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781765379000,"timestamp_ms":1781765379000,"timestamp_seconds":1781765379,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97e13b8"} 
[2026-06-18 12:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12: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-06-18 12: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-06-18 12:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131932416001,"66":28006,"40":206,"2":56576,"24":24,"16":318305313411301376,"45":937945020853995520},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131932416001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:23:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318305313411301376,"km_value":318305313411301.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":937945020853995520,"description":"Unknown IO ID 45"} 
[2026-06-18 12:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131932416001,"power":28006,"unknown_40":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":937945020853995520}} 
[2026-06-18 12:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":106499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:23:36] local.INFO: GPS data processed {"connection_id":106499,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:23:36] local.INFO: Acknowledgment sent {"connection_id":106499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:23:41] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97e3eb0012d0d3b4006eab8a00019008429..."} 
[2026-06-18 12:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97e3eb0012d0d3b4006eab8a00019008429..."} 
[2026-06-18 12:23:41] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97e3eb0012d0d3b4006eab8a00019008429..."} 
[2026-06-18 12:23:41] local.INFO: Packet analysis {"connection_id":106499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:23:41] local.INFO: Extracted packet for processing {"connection_id":106499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:23:41] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":116045984,"longitude_deg":75.5841856,"latitude_deg":11.6045984,"altitude":25,"angle":132,"satellites":41,"speed":22,"hex_longitude":"2d0d3b40","hex_latitude":"06eab8a0","is_valid_coordinates":true} 
[2026-06-18 12:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131937024001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318305661303652352,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":946318901409855488,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781765390000,"timestamp_ms":1781765390000,"timestamp_seconds":1781765390,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97e3eb0"} 
[2026-06-18 12:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 12:23:41] 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-06-18 12:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131937024001,"66":27604,"40":206,"2":56576,"24":22,"16":318305661303652352,"45":946318901409855488},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131937024001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:23:41] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318305661303652352,"km_value":318305661303652.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":946318901409855488,"description":"Unknown IO ID 45"} 
[2026-06-18 12:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131937024001,"power":27604,"unknown_40":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":946318901409855488}} 
[2026-06-18 12:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":106499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:23:41] local.INFO: GPS data processed {"connection_id":106499,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:23:41] local.INFO: Acknowledgment sent {"connection_id":106499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:23:41] local.INFO: TCP Data received {"connection_id":105925,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:23:41] local.INFO: Processing buffer {"connection_id":105925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:23:41] local.INFO: IMEI packet received {"connection_id":105925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":105925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:23:42] local.INFO: TCP Data received {"connection_id":105925,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97fbd80012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97fbd80012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:23:42] local.INFO: Processing buffer {"connection_id":105925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97fbd80012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:23:42] local.INFO: Packet analysis {"connection_id":105925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:23:42] local.INFO: Extracted packet for processing {"connection_id":105925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:23:42] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131959552001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781765488000,"timestamp_ms":1781765488000,"timestamp_seconds":1781765488,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97fbd80"} 
[2026-06-18 12:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3648884456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":2,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3621519360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 12:23:42] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,215,25,45,64,180,74,42,10,66,199,41,117,1,240,4,217,33,113,205,209,32,239,49,2,11,7,75,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 12:23:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332486439567360000,"timestamp_seconds":5332486439567360,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 12:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131959552001,"66":12526,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131959552001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:23:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:23:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131959552001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":105925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:23:42] local.INFO: GPS data processed {"connection_id":105925,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:23:42] local.INFO: Acknowledgment sent {"connection_id":105925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:24:14] local.INFO: TCP Data received {"connection_id":105925,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9800f88012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9800f88012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:24:14] local.INFO: Processing buffer {"connection_id":105925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9800f88012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:24:14] local.INFO: Packet analysis {"connection_id":105925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed980"} 
[2026-06-18 12:24:14] local.INFO: Extracted packet for processing {"connection_id":105925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed980"} 
[2026-06-18 12:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:24: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-06-18 12:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131964928001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781765509000,"timestamp_ms":1781765509000,"timestamp_seconds":1781765509,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9800f88"} 
[2026-06-18 12:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:24:14] 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-06-18 12:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 12:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:24: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-06-18 12:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131964928001,"66":12504,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131964928001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:24:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131964928001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":105925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:24:14] local.INFO: GPS data processed {"connection_id":105925,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:24:14] local.INFO: Acknowledgment sent {"connection_id":105925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:24:25] local.INFO: TCP Data received {"connection_id":107469,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:24:25] local.INFO: Processing buffer {"connection_id":107469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:24:25] local.INFO: IMEI packet received {"connection_id":107469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":107469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:24:30] local.INFO: TCP Data received {"connection_id":107469,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:24:30] local.INFO: Processing buffer {"connection_id":107469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:24:30] local.INFO: IMEI packet received {"connection_id":107469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":107469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:24:32] local.INFO: TCP Data received {"connection_id":107469,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97e4680012d0d3e8006eab510001900912a..."} 
[2026-06-18 12:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97e4680012d0d3e8006eab510001900912a..."} 
[2026-06-18 12:24:32] local.INFO: Processing buffer {"connection_id":107469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97e4680012d0d3e8006eab510001900912a..."} 
[2026-06-18 12:24:32] local.INFO: Packet analysis {"connection_id":107469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:24:32] local.INFO: Extracted packet for processing {"connection_id":107469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:24:32] local.INFO: GPS Element Parsed {"raw_longitude":755842688,"raw_latitude":116045072,"longitude_deg":75.5842688,"latitude_deg":11.6045072,"altitude":25,"angle":145,"satellites":42,"speed":24,"hex_longitude":"2d0d3e80","hex_latitude":"06eab510","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131939840001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318305721433194496,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426144570941440,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781765392000,"timestamp_ms":1781765392000,"timestamp_seconds":1781765392,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97e4680"} 
[2026-06-18 12:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 12:24: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-06-18 12: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-06-18 12:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131939840001,"66":27865,"40":206,"2":56576,"24":24,"16":318305721433194496,"45":953426144570941440},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131939840001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:24:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318305721433194496,"km_value":318305721433194.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426144570941440,"description":"Unknown IO ID 45"} 
[2026-06-18 12:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131939840001,"power":27865,"unknown_40":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":953426144570941440}} 
[2026-06-18 12:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":107469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:24:32] local.INFO: GPS data processed {"connection_id":107469,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:24:32] local.INFO: Acknowledgment sent {"connection_id":107469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:24:36] local.INFO: TCP Data received {"connection_id":107469,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97e88e8012d0d518006ea95780015009926..."} 
[2026-06-18 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97e88e8012d0d518006ea95780015009926..."} 
[2026-06-18 12:24:36] local.INFO: Processing buffer {"connection_id":107469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97e88e8012d0d518006ea95780015009926..."} 
[2026-06-18 12:24:36] local.INFO: Packet analysis {"connection_id":107469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:24:36] local.INFO: Extracted packet for processing {"connection_id":107469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":755847552,"raw_latitude":116036984,"longitude_deg":75.5847552,"latitude_deg":11.6036984,"altitude":21,"angle":153,"satellites":38,"speed":24,"hex_longitude":"2d0d5180","hex_latitude":"06ea9578","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131940352001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318306176699727872,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":954340938245017600,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781765409000,"timestamp_ms":1781765409000,"timestamp_seconds":1781765409,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97e88e8"} 
[2026-06-18 12:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 12:24: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-06-18 12: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-06-18 12:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131940352001,"66":27484,"40":206,"2":56576,"24":24,"16":318306176699727872,"45":954340938245017600},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131940352001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:24:36] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318306176699727872,"km_value":318306176699727.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":954340938245017600,"description":"Unknown IO ID 45"} 
[2026-06-18 12:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131940352001,"power":27484,"unknown_40":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":954340938245017600}} 
[2026-06-18 12:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":107469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:24:36] local.INFO: GPS data processed {"connection_id":107469,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:24:36] local.INFO: Acknowledgment sent {"connection_id":107469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:24:36] local.INFO: TCP Data received {"connection_id":105926,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:24:36] local.INFO: Processing buffer {"connection_id":105926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:24:36] local.INFO: IMEI packet received {"connection_id":105926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":105926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:24:41] local.INFO: TCP Data received {"connection_id":105926,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:24:41] local.INFO: Processing buffer {"connection_id":105926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:24:41] local.INFO: IMEI packet received {"connection_id":105926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":105926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:24:42] local.INFO: TCP Data received {"connection_id":105926,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9806190012d1821400721b410004a00cc29..."} 
[2026-06-18 12:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9806190012d1821400721b410004a00cc29..."} 
[2026-06-18 12:24:42] local.INFO: Processing buffer {"connection_id":105926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9806190012d1821400721b410004a00cc29..."} 
[2026-06-18 12:24:42] local.INFO: Packet analysis {"connection_id":105926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed980"} 
[2026-06-18 12:24:42] local.INFO: Extracted packet for processing {"connection_id":105926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed980"} 
[2026-06-18 12:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131970304001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781765530000,"timestamp_ms":1781765530000,"timestamp_seconds":1781765530,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9806190"} 
[2026-06-18 12:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 12:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131970304001,"66":12504,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131970304001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:24:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131970304001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":105926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:24:42] local.INFO: GPS data processed {"connection_id":105926,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:24:42] local.INFO: Acknowledgment sent {"connection_id":105926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:25:08] local.INFO: TCP Data received {"connection_id":107469,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97ea440012d0d56c006ea8960001300a527..."} 
[2026-06-18 12:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97ea440012d0d56c006ea8960001300a527..."} 
[2026-06-18 12:25:08] local.INFO: Processing buffer {"connection_id":107469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97ea440012d0d56c006ea8960001300a527..."} 
[2026-06-18 12:25:08] local.INFO: Packet analysis {"connection_id":107469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:25:08] local.INFO: Extracted packet for processing {"connection_id":107469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":755848896,"raw_latitude":116033888,"longitude_deg":75.5848896,"latitude_deg":11.6033888,"altitude":19,"angle":165,"satellites":39,"speed":15,"hex_longitude":"2d0d56c0","hex_latitude":"06ea8960","is_valid_coordinates":true} 
[2026-06-18 12:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131944704001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318306339908485120,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":959688962800449536,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781765416000,"timestamp_ms":1781765416000,"timestamp_seconds":1781765416,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97ea440"} 
[2026-06-18 12:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 12:25: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-06-18 12: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-06-18 12:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131944704001,"66":27767,"40":206,"2":56576,"24":15,"16":318306339908485120,"45":959688962800449536},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131944704001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:25:08] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318306339908485120,"km_value":318306339908485.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":959688962800449536,"description":"Unknown IO ID 45"} 
[2026-06-18 12:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131944704001,"power":27767,"unknown_40":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":959688962800449536}} 
[2026-06-18 12:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":107469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:25:08] local.INFO: GPS data processed {"connection_id":107469,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:25:08] local.INFO: Acknowledgment sent {"connection_id":107469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:25:14] local.INFO: TCP Data received {"connection_id":105926,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed980b398012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed980b398012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:25:14] local.INFO: Processing buffer {"connection_id":105926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed980b398012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:25:14] local.INFO: Packet analysis {"connection_id":105926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed980"} 
[2026-06-18 12:25:14] local.INFO: Extracted packet for processing {"connection_id":105926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed980"} 
[2026-06-18 12:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131975680001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781765551000,"timestamp_ms":1781765551000,"timestamp_seconds":1781765551,"priority":1,"record_length":96,"hex_timestamp":"0000019ed980b398"} 
[2026-06-18 12:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:25:14] 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-06-18 12:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 12:25:14] 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-06-18 12:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131975680001,"66":12515,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131975680001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:25:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131975680001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":105926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:25:14] local.INFO: GPS data processed {"connection_id":105926,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:25:14] local.INFO: Acknowledgment sent {"connection_id":105926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:25:25] local.INFO: TCP Data received {"connection_id":106502,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:25:25] local.INFO: Processing buffer {"connection_id":106502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:25:25] local.INFO: IMEI packet received {"connection_id":106502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":106502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:25:30] local.INFO: TCP Data received {"connection_id":106502,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:25:30] local.INFO: Processing buffer {"connection_id":106502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:25:30] local.INFO: IMEI packet received {"connection_id":106502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":106502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:25:31] local.INFO: TCP Data received {"connection_id":106502,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97eb3e0012d0d578006ea8438001100b129..."} 
[2026-06-18 12:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97eb3e0012d0d578006ea8438001100b129..."} 
[2026-06-18 12:25:31] local.INFO: Processing buffer {"connection_id":106502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97eb3e0012d0d578006ea8438001100b129..."} 
[2026-06-18 12:25:31] local.INFO: Packet analysis {"connection_id":106502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:25:31] local.INFO: Extracted packet for processing {"connection_id":106502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97e"} 
[2026-06-18 12:25:31] local.INFO: GPS Element Parsed {"raw_longitude":755849088,"raw_latitude":116032568,"longitude_deg":75.5849088,"latitude_deg":11.6032568,"altitude":17,"angle":177,"satellites":41,"speed":11,"hex_longitude":"2d0d5780","hex_latitude":"06ea8438","is_valid_coordinates":true} 
[2026-06-18 12:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131946496001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318306404332994560,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961166706427387904,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781765420000,"timestamp_ms":1781765420000,"timestamp_seconds":1781765420,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97eb3e0"} 
[2026-06-18 12:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 12:25: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-06-18 12:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131946496001,"66":27995,"40":206,"2":56576,"24":11,"16":318306404332994560,"45":961166706427387904},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131946496001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:25:31] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318306404332994560,"km_value":318306404332994.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":961166706427387904,"description":"Unknown IO ID 45"} 
[2026-06-18 12:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131946496001,"power":27995,"unknown_40":206,"power_alt":56576,"ignition":11,"odometer":null,"unknown_45":961166706427387904}} 
[2026-06-18 12:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":106502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:25:31] local.INFO: GPS data processed {"connection_id":106502,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:25:31] local.INFO: Acknowledgment sent {"connection_id":106502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:25:36] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:36] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:36] local.INFO: IMEI packet received {"connection_id":105748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":105748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:25:37] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:37] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:37] local.INFO: IMEI packet received {"connection_id":105748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":105748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:25:41] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:41] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:25:41] local.INFO: IMEI packet received {"connection_id":105748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":105748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:25:43] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98105a0012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98105a0012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:25:43] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98105a0012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:25:43] local.INFO: Packet analysis {"connection_id":105748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed981"} 
[2026-06-18 12:25:43] local.INFO: Extracted packet for processing {"connection_id":105748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed981"} 
[2026-06-18 12:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:25: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-06-18 12:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131981056001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781765572000,"timestamp_ms":1781765572000,"timestamp_seconds":1781765572,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98105a0"} 
[2026-06-18 12:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:25:43] 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-06-18 12:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 12:25:43] 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-06-18 12:25: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-06-18 12:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131981056001,"66":12504,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131981056001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:25:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131981056001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":105748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:25:43] local.INFO: GPS data processed {"connection_id":105748,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:25:43] local.INFO: Acknowledgment sent {"connection_id":105748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:26:06] local.INFO: TCP Data received {"connection_id":106502,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97f0200012d0d59c006ea6198000e00a928..."} 
[2026-06-18 12:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97f0200012d0d59c006ea6198000e00a928..."} 
[2026-06-18 12:26:06] local.INFO: Processing buffer {"connection_id":106502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97f0200012d0d59c006ea6198000e00a928..."} 
[2026-06-18 12:26:06] local.INFO: Packet analysis {"connection_id":106502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:26:06] local.INFO: Extracted packet for processing {"connection_id":106502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:26:06] local.INFO: GPS Element Parsed {"raw_longitude":755849664,"raw_latitude":116023704,"longitude_deg":75.5849664,"latitude_deg":11.6023704,"altitude":14,"angle":169,"satellites":40,"speed":31,"hex_longitude":"2d0d59c0","hex_latitude":"06ea6198","is_valid_coordinates":true} 
[2026-06-18 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:26:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131947520001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318306838124691456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":961377812659582976,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:26:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781765440000,"timestamp_ms":1781765440000,"timestamp_seconds":1781765440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97f0200"} 
[2026-06-18 12:26:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:26: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-06-18 12:26:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:26:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:26:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:26:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:26:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:26:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:26:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:26:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:26:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:26:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:26:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:26:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131947520001,"66":27071,"40":206,"2":56576,"24":31,"16":318306838124691456,"45":961377812659582976},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:26:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:26:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:26:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131947520001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:26:06] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:26:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318306838124691456,"km_value":318306838124691.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:26:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":961377812659582976,"description":"Unknown IO ID 45"} 
[2026-06-18 12:26:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131947520001,"power":27071,"unknown_40":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":961377812659582976}} 
[2026-06-18 12:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":106502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:26:06] local.INFO: GPS data processed {"connection_id":106502,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:26:06] local.INFO: Acknowledgment sent {"connection_id":106502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:26:14] local.INFO: TCP Data received {"connection_id":105748,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98157a8012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98157a8012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:26:14] local.INFO: Processing buffer {"connection_id":105748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98157a8012d1821400721b410004a00cc2b..."} 
[2026-06-18 12:26:14] local.INFO: Packet analysis {"connection_id":105748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed981"} 
[2026-06-18 12:26:14] local.INFO: Extracted packet for processing {"connection_id":105748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed981"} 
[2026-06-18 12:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131986432001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781765593000,"timestamp_ms":1781765593000,"timestamp_seconds":1781765593,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98157a8"} 
[2026-06-18 12:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 12:26:14] 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-06-18 12:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131986432001,"66":12298,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131986432001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:26:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131986432001,"power":12298,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":105748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:26:14] local.INFO: GPS data processed {"connection_id":105748,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:26:14] local.INFO: Acknowledgment sent {"connection_id":105748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:26:25] local.INFO: TCP Data received {"connection_id":105749,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:26:25] local.INFO: Processing buffer {"connection_id":105749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:26:25] local.INFO: IMEI packet received {"connection_id":105749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":105749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:26:30] local.INFO: TCP Data received {"connection_id":105749,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:26:30] local.INFO: Processing buffer {"connection_id":105749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:26:30] local.INFO: IMEI packet received {"connection_id":105749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":105749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:26:32] local.INFO: TCP Data received {"connection_id":105749,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97f2910012d0d5f4006ea3f38000e00ad29..."} 
[2026-06-18 12:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97f2910012d0d5f4006ea3f38000e00ad29..."} 
[2026-06-18 12:26:32] local.INFO: Processing buffer {"connection_id":105749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97f2910012d0d5f4006ea3f38000e00ad29..."} 
[2026-06-18 12:26:32] local.INFO: Packet analysis {"connection_id":105749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:26:32] local.INFO: Extracted packet for processing {"connection_id":105749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:26:32] local.INFO: GPS Element Parsed {"raw_longitude":755851072,"raw_latitude":116014904,"longitude_deg":75.5851072,"latitude_deg":11.6014904,"altitude":14,"angle":173,"satellites":41,"speed":34,"hex_longitude":"2d0d5f40","hex_latitude":"06ea3f38","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131952640001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307271916388352,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962011131354912768,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781765450000,"timestamp_ms":1781765450000,"timestamp_seconds":1781765450,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97f2910"} 
[2026-06-18 12:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 12:26:32] 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-06-18 12:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131952640001,"66":28028,"40":206,"2":56576,"24":34,"16":318307271916388352,"45":962011131354912768},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131952640001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:26:32] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307271916388352,"km_value":318307271916388.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":962011131354912768,"description":"Unknown IO ID 45"} 
[2026-06-18 12:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131952640001,"power":28028,"unknown_40":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":962011131354912768}} 
[2026-06-18 12:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":105749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:26:32] local.INFO: GPS data processed {"connection_id":105749,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:26:32] local.INFO: Acknowledgment sent {"connection_id":105749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:26:39] local.INFO: TCP Data received {"connection_id":105928,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:39] local.INFO: Processing buffer {"connection_id":105928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:39] local.INFO: IMEI packet received {"connection_id":105928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:26:39] local.INFO: IMEI acknowledgment sent {"connection_id":105928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:26:41] local.INFO: TCP Data received {"connection_id":105928,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:41] local.INFO: Processing buffer {"connection_id":105928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:41] local.INFO: IMEI packet received {"connection_id":105928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":105928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:26:46] local.INFO: TCP Data received {"connection_id":105928,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:46] local.INFO: Processing buffer {"connection_id":105928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:26:46] local.INFO: IMEI packet received {"connection_id":105928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":105928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:26:48] local.INFO: TCP Data received {"connection_id":105928,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed981a9b0012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed981a9b0012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:26:48] local.INFO: Processing buffer {"connection_id":105928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed981a9b0012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:26:48] local.INFO: Packet analysis {"connection_id":105928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed981"} 
[2026-06-18 12:26:48] local.INFO: Extracted packet for processing {"connection_id":105928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed981"} 
[2026-06-18 12:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131991808001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781765614000,"timestamp_ms":1781765614000,"timestamp_seconds":1781765614,"priority":1,"record_length":96,"hex_timestamp":"0000019ed981a9b0"} 
[2026-06-18 12:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2774470876590172127,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":215,"raw_value":-2522015791327477759,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513889813314273484,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":74,"raw_value":57467074737340416,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832578,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3531948892117008590,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2148501505,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":189,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030119,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3621584896,"note":"Value kept but may cause issues"} 
[2026-06-18 12:26:48] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,120,28,24,241,158,16,215,5,45,64,180,74,43,10,66,179,97,1,240,216,217,33,4,113,205,189,239,48,2,11,7,42],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 12:26:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332486443862327296,"timestamp_seconds":5332486443862327.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 12:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":105928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":105928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":105928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131991808001,"66":12580,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131991808001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:26:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131991808001,"power":12580,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":105928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:26:48] local.INFO: GPS data processed {"connection_id":105928,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:26:48] local.INFO: Acknowledgment sent {"connection_id":105928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:27:03] local.INFO: TCP Data received {"connection_id":105749,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed97f5408012d0d620006ea1d58001100af27..."} 
[2026-06-18 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed97f5408012d0d620006ea1d58001100af27..."} 
[2026-06-18 12:27:03] local.INFO: Processing buffer {"connection_id":105749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed97f5408012d0d620006ea1d58001100af27..."} 
[2026-06-18 12:27:03] local.INFO: Packet analysis {"connection_id":105749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:27:03] local.INFO: Extracted packet for processing {"connection_id":105749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed97f"} 
[2026-06-18 12:27:03] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116006232,"longitude_deg":75.5851776,"latitude_deg":11.6006232,"altitude":17,"angle":175,"satellites":39,"speed":25,"hex_longitude":"2d0d6200","hex_latitude":"06ea1d58","is_valid_coordinates":true} 
[2026-06-18 12:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131955200001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307692823183360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724568576,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781765461000,"timestamp_ms":1781765461000,"timestamp_seconds":1781765461,"priority":1,"record_length":96,"hex_timestamp":"0000019ed97f5408"} 
[2026-06-18 12:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 12:27:03] 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-06-18 12: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-06-18 12:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131955200001,"66":27876,"40":206,"2":56576,"24":25,"16":318307692823183360,"45":963559243724568576},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-06-18 12:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131955200001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:27:03] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 12:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307692823183360,"km_value":318307692823183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724568576,"description":"Unknown IO ID 45"} 
[2026-06-18 12:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131955200001,"power":27876,"unknown_40":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":963559243724568576}} 
[2026-06-18 12:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":105749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:27:03] local.INFO: GPS data processed {"connection_id":105749,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:27:03] local.INFO: Acknowledgment sent {"connection_id":105749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:27:30] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:27:30] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:27:30] local.INFO: IMEI packet received {"connection_id":105929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":105929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:27:35] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:27:35] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:27:35] local.INFO: IMEI packet received {"connection_id":105929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:27:35] local.INFO: IMEI acknowledgment sent {"connection_id":105929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:27:36] local.INFO: TCP Data received {"connection_id":107470,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:27:36] local.INFO: Processing buffer {"connection_id":107470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:27:36] local.INFO: IMEI packet received {"connection_id":107470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":107470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:27:39] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed983efb8012d0d620006ea09d0001300ae26..."} 
[2026-06-18 12:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed983efb8012d0d620006ea09d0001300ae26..."} 
[2026-06-18 12:27:39] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed983efb8012d0d620006ea09d0001300ae26..."} 
[2026-06-18 12:27:39] local.INFO: Packet analysis {"connection_id":105929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:27:39] local.INFO: Extracted packet for processing {"connection_id":105929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:27:39] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001232,"longitude_deg":75.5851776,"latitude_deg":11.6001232,"altitude":19,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea09d0","is_valid_coordinates":true} 
[2026-06-18 12:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131958016001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307692823183360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908302848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781765763000,"timestamp_ms":1781765763000,"timestamp_seconds":1781765763,"priority":1,"record_length":96,"hex_timestamp":"0000019ed983efb8"} 
[2026-06-18 12:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:27: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-06-18 12:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 12:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131958016001,"66":26321,"41":206,"2":56576,"24":0,"16":318307692823183360,"45":964333299908302848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131958016001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:27:39] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307692823183360,"km_value":318307692823183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908302848,"description":"Unknown IO ID 45"} 
[2026-06-18 12:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131958016001,"power":26321,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":964333299908302848}} 
[2026-06-18 12:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":105929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:27:39] local.INFO: GPS data processed {"connection_id":105929,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:27:39] local.INFO: Acknowledgment sent {"connection_id":105929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:27:40] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed983efb8012d0d620006ea09d0001300ae26..."} 
[2026-06-18 12:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed983efb8012d0d620006ea09d0001300ae26..."} 
[2026-06-18 12:27:40] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed983efb8012d0d620006ea09d0001300ae26..."} 
[2026-06-18 12:27:40] local.INFO: Packet analysis {"connection_id":105929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:27:40] local.INFO: Extracted packet for processing {"connection_id":105929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:27:40] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001232,"longitude_deg":75.5851776,"latitude_deg":11.6001232,"altitude":19,"angle":174,"satellites":38,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea09d0","is_valid_coordinates":true} 
[2026-06-18 12:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131958016001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307692823183360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299908302848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781765763000,"timestamp_ms":1781765763000,"timestamp_seconds":1781765763,"priority":1,"record_length":96,"hex_timestamp":"0000019ed983efb8"} 
[2026-06-18 12:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 12:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 12:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131958016001,"66":26321,"41":206,"2":56576,"24":0,"16":318307692823183360,"45":964333299908302848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131958016001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:27:40] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307692823183360,"km_value":318307692823183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299908302848,"description":"Unknown IO ID 45"} 
[2026-06-18 12:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131958016001,"power":26321,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":964333299908302848}} 
[2026-06-18 12:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":105929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:27:40] local.INFO: GPS data processed {"connection_id":105929,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:27:40] local.INFO: Acknowledgment sent {"connection_id":105929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:27:41] local.INFO: TCP Data received {"connection_id":107470,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:27:41] local.INFO: Processing buffer {"connection_id":107470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:27:41] local.INFO: IMEI packet received {"connection_id":107470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":107470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:27:42] local.INFO: TCP Data received {"connection_id":107470,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed981fbb8012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed981fbb8012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:27:42] local.INFO: Processing buffer {"connection_id":107470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed981fbb8012d1821400721b410004a00cc2a..."} 
[2026-06-18 12:27:42] local.INFO: Packet analysis {"connection_id":107470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed981"} 
[2026-06-18 12:27:42] local.INFO: Extracted packet for processing {"connection_id":107470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed981"} 
[2026-06-18 12:27:42] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649296,"longitude_deg":75.6556096,"latitude_deg":11.9649296,"altitude":74,"angle":204,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b410","is_valid_coordinates":true} 
[2026-06-18 12:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456131997184001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333568931561472,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781765635000,"timestamp_ms":1781765635000,"timestamp_seconds":1781765635,"priority":1,"record_length":96,"hex_timestamp":"0000019ed981fbb8"} 
[2026-06-18 12:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-18 12:27:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456131997184001,"66":12591,"120":206,"28":31744,"24":0,"16":3333568931561472,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456131997184001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:27:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:27:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333568931561472,"km_value":3333568931561.472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456131997184001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":107470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:27:42] local.INFO: GPS data processed {"connection_id":107470,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:27:42] local.INFO: Acknowledgment sent {"connection_id":107470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:28:14] local.INFO: TCP Data received {"connection_id":107470,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9824dc0012d1820000721b0d8004b00d12c..."} 
[2026-06-18 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9824dc0012d1820000721b0d8004b00d12c..."} 
[2026-06-18 12:28:14] local.INFO: Processing buffer {"connection_id":107470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9824dc0012d1820000721b0d8004b00d12c..."} 
[2026-06-18 12:28:14] local.INFO: Packet analysis {"connection_id":107470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed982"} 
[2026-06-18 12:28:14] local.INFO: Extracted packet for processing {"connection_id":107470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed982"} 
[2026-06-18 12:28:14] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648472,"longitude_deg":75.6555776,"latitude_deg":11.9648472,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132002560001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333629061103616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516119552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781765656000,"timestamp_ms":1781765656000,"timestamp_seconds":1781765656,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9824dc0"} 
[2026-06-18 12:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 12:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132002560001,"66":12504,"120":206,"28":31744,"24":0,"16":3333629061103616,"45":1738741330516119552},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132002560001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:28:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:28:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333629061103616,"km_value":3333629061103.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516119552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132002560001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738741330516119552}} 
[2026-06-18 12:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":107470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:28:14] local.INFO: GPS data processed {"connection_id":107470,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:28:14] local.INFO: Acknowledgment sent {"connection_id":107470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:28:25] local.INFO: TCP Data received {"connection_id":106504,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:28:25] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:28:25] local.INFO: IMEI packet received {"connection_id":106504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":106504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:28:30] local.INFO: TCP Data received {"connection_id":106504,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:28:30] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:28:30] local.INFO: IMEI packet received {"connection_id":106504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":106504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:28:32] local.INFO: TCP Data received {"connection_id":106504,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9859d68012d0d620006ea09d0001300ae28..."} 
[2026-06-18 12:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9859d68012d0d620006ea09d0001300ae28..."} 
[2026-06-18 12:28:32] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9859d68012d0d620006ea09d0001300ae28..."} 
[2026-06-18 12:28:32] local.INFO: Packet analysis {"connection_id":106504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed985"} 
[2026-06-18 12:28:32] local.INFO: Extracted packet for processing {"connection_id":106504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed985"} 
[2026-06-18 12:28:32] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001232,"longitude_deg":75.5851776,"latitude_deg":11.6001232,"altitude":19,"angle":174,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea09d0","is_valid_coordinates":true} 
[2026-06-18 12:28: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-06-18 12:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132035328001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307692823183360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299907022848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781765873000,"timestamp_ms":1781765873000,"timestamp_seconds":1781765873,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9859d68"} 
[2026-06-18 12:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 12:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-18 12:28: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-06-18 12:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132035328001,"66":26169,"41":206,"2":56576,"24":0,"16":318307692823183360,"45":964333299907022848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132035328001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:28:32] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307692823183360,"km_value":318307692823183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299907022848,"description":"Unknown IO ID 45"} 
[2026-06-18 12:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132035328001,"power":26169,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":964333299907022848}} 
[2026-06-18 12:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":106504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:28:32] local.INFO: GPS data processed {"connection_id":106504,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:28:32] local.INFO: Acknowledgment sent {"connection_id":106504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:28:35] local.INFO: TCP Data received {"connection_id":106504,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9859d68012d0d620006ea09d0001300ae28..."} 
[2026-06-18 12:28:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9859d68012d0d620006ea09d0001300ae28..."} 
[2026-06-18 12:28:35] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9859d68012d0d620006ea09d0001300ae28..."} 
[2026-06-18 12:28:35] local.INFO: Packet analysis {"connection_id":106504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed985"} 
[2026-06-18 12:28:35] local.INFO: Extracted packet for processing {"connection_id":106504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed985"} 
[2026-06-18 12:28:35] local.INFO: GPS Element Parsed {"raw_longitude":755851776,"raw_latitude":116001232,"longitude_deg":75.5851776,"latitude_deg":11.6001232,"altitude":19,"angle":174,"satellites":40,"speed":0,"hex_longitude":"2d0d6200","hex_latitude":"06ea09d0","is_valid_coordinates":true} 
[2026-06-18 12:28: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-06-18 12:28:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132035328001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307692823183360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299907022848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:28:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781765873000,"timestamp_ms":1781765873000,"timestamp_seconds":1781765873,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9859d68"} 
[2026-06-18 12:28:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:28:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 12: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-18 12:28:35] 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-06-18 12: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-06-18 12:28:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:28:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:28:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:28:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:28:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:28:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:28:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:28:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:28:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132035328001,"66":26169,"41":206,"2":56576,"24":0,"16":318307692823183360,"45":964333299907022848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:28:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:28:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:28:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132035328001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:28:35] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:28:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307692823183360,"km_value":318307692823183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:28:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299907022848,"description":"Unknown IO ID 45"} 
[2026-06-18 12:28:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132035328001,"power":26169,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":964333299907022848}} 
[2026-06-18 12:28:35] local.INFO: DEBUG: GPS processor result {"connection_id":106504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:28:35] local.INFO: GPS data processed {"connection_id":106504,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:28:35] local.INFO: Acknowledgment sent {"connection_id":106504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:28:36] local.INFO: TCP Data received {"connection_id":105750,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:28:36] local.INFO: Processing buffer {"connection_id":105750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:28:36] local.INFO: IMEI packet received {"connection_id":105750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":105750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:28:41] local.INFO: TCP Data received {"connection_id":105750,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:28:41] local.INFO: Processing buffer {"connection_id":105750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:28:41] local.INFO: IMEI packet received {"connection_id":105750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":105750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:28:46] local.INFO: TCP Data received {"connection_id":105750,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9829fc8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9829fc8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:28:46] local.INFO: Processing buffer {"connection_id":105750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9829fc8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:28:46] local.INFO: Packet analysis {"connection_id":105750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed982"} 
[2026-06-18 12:28:46] local.INFO: Extracted packet for processing {"connection_id":105750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed982"} 
[2026-06-18 12:28:46] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648472,"longitude_deg":75.6555776,"latitude_deg":11.9648472,"altitude":75,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-06-18 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:28:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132007936001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333629061103616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795020288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:28:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781765677000,"timestamp_ms":1781765677000,"timestamp_seconds":1781765677,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9829fc8"} 
[2026-06-18 12:28:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:28:46] 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-06-18 12:28:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 12:28:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:28:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:28:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:28:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:28:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:28:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:28:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:28:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:28:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:28:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:28:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132007936001,"66":12461,"120":206,"28":31744,"24":0,"16":3333629061103616,"45":1738389486795020288},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:28:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:28:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:28:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132007936001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:28:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:28:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:28:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333629061103616,"km_value":3333629061103.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:28:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795020288,"description":"Unknown IO ID 45"} 
[2026-06-18 12:28:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132007936001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795020288}} 
[2026-06-18 12:28:46] local.INFO: DEBUG: GPS processor result {"connection_id":105750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:28:46] local.INFO: GPS data processed {"connection_id":105750,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:28:46] local.INFO: Acknowledgment sent {"connection_id":105750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:28:47] local.INFO: TCP Data received {"connection_id":105750,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed982f1d0012d1820000721b0d8004b00d129..."} 
[2026-06-18 12:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed982f1d0012d1820000721b0d8004b00d129..."} 
[2026-06-18 12:28:47] local.INFO: Processing buffer {"connection_id":105750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed982f1d0012d1820000721b0d8004b00d129..."} 
[2026-06-18 12:28:47] local.INFO: Packet analysis {"connection_id":105750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed982"} 
[2026-06-18 12:28:47] local.INFO: Extracted packet for processing {"connection_id":105750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed982"} 
[2026-06-18 12:28:47] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648472,"longitude_deg":75.6555776,"latitude_deg":11.9648472,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-06-18 12:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:28:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132013312001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333629061103616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795020288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:28:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:28:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781765698000,"timestamp_ms":1781765698000,"timestamp_seconds":1781765698,"priority":1,"record_length":96,"hex_timestamp":"0000019ed982f1d0"} 
[2026-06-18 12:28:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:28:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:28:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 12:28:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:28:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:28:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:28:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:28:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:28:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:28:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:28:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:28:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:28:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:28:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132013312001,"66":12461,"120":206,"28":31744,"24":0,"16":3333629061103616,"45":1738389486795020288},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:28:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:28:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:28:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132013312001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:28:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:28:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:28:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333629061103616,"km_value":3333629061103.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:28:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795020288,"description":"Unknown IO ID 45"} 
[2026-06-18 12:28:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132013312001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795020288}} 
[2026-06-18 12:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":105750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:28:48] local.INFO: GPS data processed {"connection_id":105750,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:28:48] local.INFO: Acknowledgment sent {"connection_id":105750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:29:04] local.INFO: TCP Data received {"connection_id":107471,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:29:04] local.INFO: Processing buffer {"connection_id":107471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:29:04] local.INFO: IMEI packet received {"connection_id":107471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":107471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:29:08] local.INFO: TCP Data received {"connection_id":106504,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed985b0f0012d0d624006ea09c0001300dc28..."} 
[2026-06-18 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed985b0f0012d0d624006ea09c0001300dc28..."} 
[2026-06-18 12:29:08] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed985b0f0012d0d624006ea09c0001300dc28..."} 
[2026-06-18 12:29:08] local.INFO: Packet analysis {"connection_id":106504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed985"} 
[2026-06-18 12:29:08] local.INFO: Extracted packet for processing {"connection_id":106504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed985"} 
[2026-06-18 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":755851840,"raw_latitude":116001216,"longitude_deg":75.585184,"latitude_deg":11.6001216,"altitude":19,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d0d6240","hex_latitude":"06ea09c0","is_valid_coordinates":true} 
[2026-06-18 12:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132063488001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307692823183360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964333299907022848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781765878000,"timestamp_ms":1781765878000,"timestamp_seconds":1781765878,"priority":1,"record_length":96,"hex_timestamp":"0000019ed985b0f0"} 
[2026-06-18 12:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":102,"n8_eight_byte":57,"data_length":795,"current_offset":136} 
[2026-06-18 12:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1221,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132063488001,"66":27745,"41":206,"2":56576,"24":0,"16":318307692823183360,"45":964333299907022848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132063488001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:29:08] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307692823183360,"km_value":318307692823183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":964333299907022848,"description":"Unknown IO ID 45"} 
[2026-06-18 12:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132063488001,"power":27745,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":964333299907022848}} 
[2026-06-18 12:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":106504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:29:08] local.INFO: GPS data processed {"connection_id":106504,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:29:08] local.INFO: Acknowledgment sent {"connection_id":106504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:29:22] local.INFO: TCP Data received {"connection_id":105750,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98343d8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98343d8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:29:22] local.INFO: Processing buffer {"connection_id":105750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98343d8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:29:22] local.INFO: Packet analysis {"connection_id":105750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:29:22] local.INFO: Extracted packet for processing {"connection_id":105750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648472,"longitude_deg":75.6555776,"latitude_deg":11.9648472,"altitude":75,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-06-18 12:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132018688001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333629061103616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795020288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781765719000,"timestamp_ms":1781765719000,"timestamp_seconds":1781765719,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98343d8"} 
[2026-06-18 12:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 12:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132018688001,"66":12428,"120":206,"28":31744,"24":0,"16":3333629061103616,"45":1738389486795020288},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132018688001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:29:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:29:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333629061103616,"km_value":3333629061103.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795020288,"description":"Unknown IO ID 45"} 
[2026-06-18 12:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132018688001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795020288}} 
[2026-06-18 12:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":105750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:29:22] local.INFO: GPS data processed {"connection_id":105750,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:29:22] local.INFO: Acknowledgment sent {"connection_id":105750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:29:27] local.INFO: TCP Data received {"connection_id":105751,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:27] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:27] local.INFO: IMEI packet received {"connection_id":105751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":105751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:29:29] local.INFO: TCP Data received {"connection_id":105751,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:29] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:29] local.INFO: IMEI packet received {"connection_id":105751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":105751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:29:30] local.INFO: TCP Data received {"connection_id":105751,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:30] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:30] local.INFO: IMEI packet received {"connection_id":105751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":105751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:29:35] local.INFO: TCP Data received {"connection_id":105751,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:35] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:29:35] local.INFO: IMEI packet received {"connection_id":105751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":105751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:29:36] local.INFO: TCP Data received {"connection_id":106505,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:29:36] local.INFO: Processing buffer {"connection_id":106505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:29:36] local.INFO: IMEI packet received {"connection_id":106505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":106505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:29:37] local.INFO: TCP Data received {"connection_id":105751,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98602f8012d0d624006ea09c0001300dc28..."} 
[2026-06-18 12:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98602f8012d0d624006ea09c0001300dc28..."} 
[2026-06-18 12:29:37] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98602f8012d0d624006ea09c0001300dc28..."} 
[2026-06-18 12:29:37] local.INFO: Packet analysis {"connection_id":105751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:29:37] local.INFO: Extracted packet for processing {"connection_id":105751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":755851840,"raw_latitude":116001216,"longitude_deg":75.585184,"latitude_deg":11.6001216,"altitude":19,"angle":220,"satellites":40,"speed":0,"hex_longitude":"2d0d6240","hex_latitude":"06ea09c0","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132064768001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307692823183360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964403668651196416,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781765899000,"timestamp_ms":1781765899000,"timestamp_seconds":1781765899,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98602f8"} 
[2026-06-18 12:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 12:29: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-06-18 12: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-06-18 12:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132064768001,"66":27158,"41":206,"2":56576,"24":0,"16":318307692823183360,"45":964403668651196416},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132064768001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:29:37] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307692823183360,"km_value":318307692823183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":964403668651196416,"description":"Unknown IO ID 45"} 
[2026-06-18 12:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132064768001,"power":27158,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":964403668651196416}} 
[2026-06-18 12:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":105751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:29:37] local.INFO: GPS data processed {"connection_id":105751,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:29:37] local.INFO: Acknowledgment sent {"connection_id":105751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:29:38] local.INFO: TCP Data received {"connection_id":105751,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9865500012d0d624006ea09c0001300dc25..."} 
[2026-06-18 12:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9865500012d0d624006ea09c0001300dc25..."} 
[2026-06-18 12:29:38] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9865500012d0d624006ea09c0001300dc25..."} 
[2026-06-18 12:29:38] local.INFO: Packet analysis {"connection_id":105751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:29:38] local.INFO: Extracted packet for processing {"connection_id":105751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":755851840,"raw_latitude":116001216,"longitude_deg":75.585184,"latitude_deg":11.6001216,"altitude":19,"angle":220,"satellites":37,"speed":0,"hex_longitude":"2d0d6240","hex_latitude":"06ea09c0","is_valid_coordinates":true} 
[2026-06-18 12:29: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-06-18 12:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132070144001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307692823183360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964403668651196416,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781765920000,"timestamp_ms":1781765920000,"timestamp_seconds":1781765920,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9865500"} 
[2026-06-18 12:29:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:29: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":22,"data_length":795,"current_offset":136} 
[2026-06-18 12:29:38] 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-06-18 12:29: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-06-18 12:29:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132070144001,"66":27930,"41":206,"2":56576,"24":0,"16":318307692823183360,"45":964403668651196416},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132070144001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:29:39] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307692823183360,"km_value":318307692823183.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":964403668651196416,"description":"Unknown IO ID 45"} 
[2026-06-18 12:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132070144001,"power":27930,"unknown_41":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":964403668651196416}} 
[2026-06-18 12:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":105751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:29:39] local.INFO: GPS data processed {"connection_id":105751,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:29:39] local.INFO: Acknowledgment sent {"connection_id":105751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:29:39] local.INFO: TCP Data received {"connection_id":105752,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:29:39] local.INFO: Processing buffer {"connection_id":105752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:29:39] local.INFO: IMEI packet received {"connection_id":105752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":105752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:29:41] local.INFO: TCP Data received {"connection_id":106505,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:29:41] local.INFO: Processing buffer {"connection_id":106505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:29:41] local.INFO: IMEI packet received {"connection_id":106505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":106505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:29:45] local.INFO: TCP Data received {"connection_id":106505,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98395e0012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98395e0012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:29:45] local.INFO: Processing buffer {"connection_id":106505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98395e0012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:29:45] local.INFO: Packet analysis {"connection_id":106505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:29:45] local.INFO: Extracted packet for processing {"connection_id":106505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648472,"longitude_deg":75.6555776,"latitude_deg":11.9648472,"altitude":75,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132024064001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333629061103616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795020288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781765740000,"timestamp_ms":1781765740000,"timestamp_seconds":1781765740,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98395e0"} 
[2026-06-18 12:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:29:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:29:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 12:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132024064001,"66":12385,"120":206,"28":31744,"24":0,"16":3333629061103616,"45":1738389486795020288},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132024064001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:29:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:29:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333629061103616,"km_value":3333629061103.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795020288,"description":"Unknown IO ID 45"} 
[2026-06-18 12:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132024064001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795020288}} 
[2026-06-18 12:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":106505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:29:45] local.INFO: GPS data processed {"connection_id":106505,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:29:45] local.INFO: Acknowledgment sent {"connection_id":106505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:30:12] local.INFO: TCP Data received {"connection_id":105751,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9867828012d0d60c006ea0ba80013015b25..."} 
[2026-06-18 12:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9867828012d0d60c006ea0ba80013015b25..."} 
[2026-06-18 12:30:12] local.INFO: Processing buffer {"connection_id":105751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9867828012d0d60c006ea0ba80013015b25..."} 
[2026-06-18 12:30:12] local.INFO: Packet analysis {"connection_id":105751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:30:12] local.INFO: Extracted packet for processing {"connection_id":105751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:30:12] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116001704,"longitude_deg":75.5851456,"latitude_deg":11.6001704,"altitude":19,"angle":347,"satellites":37,"speed":4,"hex_longitude":"2d0d60c0","hex_latitude":"06ea0ba8","is_valid_coordinates":true} 
[2026-06-18 12:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132075520001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307722887954432,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964403668651196416,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781765929000,"timestamp_ms":1781765929000,"timestamp_seconds":1781765929,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9867828"} 
[2026-06-18 12:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:30:12] 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-06-18 12:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132075520001,"66":27767,"41":206,"2":56576,"24":4,"16":318307722887954432,"45":964403668651196416},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132075520001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:30:12] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307722887954432,"km_value":318307722887954.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":964403668651196416,"description":"Unknown IO ID 45"} 
[2026-06-18 12:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132075520001,"power":27767,"unknown_41":206,"power_alt":56576,"ignition":4,"odometer":null,"unknown_45":964403668651196416}} 
[2026-06-18 12:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":105751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:30:12] local.INFO: GPS data processed {"connection_id":105751,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:30:12] local.INFO: Acknowledgment sent {"connection_id":105751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:30:16] local.INFO: TCP Data received {"connection_id":106505,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed983e7e8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed983e7e8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:30:16] local.INFO: Processing buffer {"connection_id":106505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed983e7e8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:30:16] local.INFO: Packet analysis {"connection_id":106505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:30:16] local.INFO: Extracted packet for processing {"connection_id":106505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed983"} 
[2026-06-18 12:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648472,"longitude_deg":75.6555776,"latitude_deg":11.9648472,"altitude":75,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132029440001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333629061103616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795020288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781765761000,"timestamp_ms":1781765761000,"timestamp_seconds":1781765761,"priority":1,"record_length":96,"hex_timestamp":"0000019ed983e7e8"} 
[2026-06-18 12:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 12:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132029440001,"66":12385,"120":206,"28":31744,"24":0,"16":3333629061103616,"45":1738389486795020288},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132029440001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:30:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:30:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333629061103616,"km_value":3333629061103.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795020288,"description":"Unknown IO ID 45"} 
[2026-06-18 12:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132029440001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795020288}} 
[2026-06-18 12:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":106505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:30:16] local.INFO: GPS data processed {"connection_id":106505,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:30:16] local.INFO: Acknowledgment sent {"connection_id":106505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:30:25] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:30:25] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:30:25] local.INFO: IMEI packet received {"connection_id":105753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":105753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:30:30] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:30:30] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:30:30] local.INFO: IMEI packet received {"connection_id":105753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":105753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:30:33] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9867ff8012d0d60c006ea0cd80013000b27..."} 
[2026-06-18 12:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9867ff8012d0d60c006ea0cd80013000b27..."} 
[2026-06-18 12:30:33] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9867ff8012d0d60c006ea0cd80013000b27..."} 
[2026-06-18 12:30:33] local.INFO: Packet analysis {"connection_id":105753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:30:33] local.INFO: Extracted packet for processing {"connection_id":105753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:30:33] local.INFO: GPS Element Parsed {"raw_longitude":755851456,"raw_latitude":116002008,"longitude_deg":75.5851456,"latitude_deg":11.6002008,"altitude":19,"angle":11,"satellites":39,"speed":5,"hex_longitude":"2d0d60c0","hex_latitude":"06ea0cd8","is_valid_coordinates":true} 
[2026-06-18 12:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132077824001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307740067823616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456186255360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781765931000,"timestamp_ms":1781765931000,"timestamp_seconds":1781765931,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9867ff8"} 
[2026-06-18 12:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:30: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-06-18 12:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 12:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132077824001,"66":28028,"41":206,"2":56576,"24":5,"16":318307740067823616,"45":963981456186255360},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132077824001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:30:33] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307740067823616,"km_value":318307740067823.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456186255360,"description":"Unknown IO ID 45"} 
[2026-06-18 12:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132077824001,"power":28028,"unknown_41":206,"power_alt":56576,"ignition":5,"odometer":null,"unknown_45":963981456186255360}} 
[2026-06-18 12:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":105753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:30:33] local.INFO: GPS data processed {"connection_id":105753,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:30:33] local.INFO: Acknowledgment sent {"connection_id":105753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:30:35] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9869768012d0d618006ea12200012016728..."} 
[2026-06-18 12:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9869768012d0d618006ea12200012016728..."} 
[2026-06-18 12:30:35] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9869768012d0d618006ea12200012016728..."} 
[2026-06-18 12:30:35] local.INFO: Packet analysis {"connection_id":105753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:30:35] local.INFO: Extracted packet for processing {"connection_id":105753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:30:35] local.INFO: GPS Element Parsed {"raw_longitude":755851648,"raw_latitude":116003360,"longitude_deg":75.5851648,"latitude_deg":11.600336,"altitude":18,"angle":359,"satellites":40,"speed":15,"hex_longitude":"2d0d6180","hex_latitude":"06ea1220","is_valid_coordinates":true} 
[2026-06-18 12:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:30:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132078336001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318307804492333056,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963981456186333184,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:30:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781765937000,"timestamp_ms":1781765937000,"timestamp_seconds":1781765937,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9869768"} 
[2026-06-18 12:30:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:30:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:30:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 12:30:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:30:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:30:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:30:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:30:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:30:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:30:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:30:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:30:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:30:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:30:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132078336001,"66":27930,"41":206,"2":56576,"24":15,"16":318307804492333056,"45":963981456186333184},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:30:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:30:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:30:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132078336001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:30:35] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:30:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318307804492333056,"km_value":318307804492333.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:30:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":963981456186333184,"description":"Unknown IO ID 45"} 
[2026-06-18 12:30:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132078336001,"power":27930,"unknown_41":206,"power_alt":56576,"ignition":15,"odometer":null,"unknown_45":963981456186333184}} 
[2026-06-18 12:30:35] local.INFO: DEBUG: GPS processor result {"connection_id":105753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:30:35] local.INFO: GPS data processed {"connection_id":105753,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:30:35] local.INFO: Acknowledgment sent {"connection_id":105753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:30:36] local.INFO: TCP Data received {"connection_id":105930,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:30:36] local.INFO: Processing buffer {"connection_id":105930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:30:36] local.INFO: IMEI packet received {"connection_id":105930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":105930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:30:41] local.INFO: TCP Data received {"connection_id":105930,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:30:41] local.INFO: Processing buffer {"connection_id":105930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:30:41] local.INFO: IMEI packet received {"connection_id":105930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":105930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:30:43] local.INFO: TCP Data received {"connection_id":105930,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98439f0012d1820000721b0d8004b00d12b..."} 
[2026-06-18 12:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98439f0012d1820000721b0d8004b00d12b..."} 
[2026-06-18 12:30:43] local.INFO: Processing buffer {"connection_id":105930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98439f0012d1820000721b0d8004b00d12b..."} 
[2026-06-18 12:30:43] local.INFO: Packet analysis {"connection_id":105930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed984"} 
[2026-06-18 12:30:43] local.INFO: Extracted packet for processing {"connection_id":105930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed984"} 
[2026-06-18 12:30:43] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648472,"longitude_deg":75.6555776,"latitude_deg":11.9648472,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-06-18 12:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132034816001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333629061103616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795020288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781765782000,"timestamp_ms":1781765782000,"timestamp_seconds":1781765782,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98439f0"} 
[2026-06-18 12:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:30:43] 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-06-18 12:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 12:30:43] 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-06-18 12:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132034816001,"66":11656,"120":206,"28":31744,"24":0,"16":3333629061103616,"45":1738389486795020288},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132034816001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:30:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:30:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333629061103616,"km_value":3333629061103.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795020288,"description":"Unknown IO ID 45"} 
[2026-06-18 12:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132034816001,"power":11656,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795020288}} 
[2026-06-18 12:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":105930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:30:43] local.INFO: GPS data processed {"connection_id":105930,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:30:43] local.INFO: Acknowledgment sent {"connection_id":105930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:31:07] local.INFO: TCP Data received {"connection_id":105753,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed986c648012d0d5f4006ea3840000a016228..."} 
[2026-06-18 12:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed986c648012d0d5f4006ea3840000a016228..."} 
[2026-06-18 12:31:07] local.INFO: Processing buffer {"connection_id":105753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed986c648012d0d5f4006ea3840000a016228..."} 
[2026-06-18 12:31:07] local.INFO: Packet analysis {"connection_id":105753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:31:07] local.INFO: Extracted packet for processing {"connection_id":105753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:31:07] local.INFO: GPS Element Parsed {"raw_longitude":755851072,"raw_latitude":116013120,"longitude_deg":75.5851072,"latitude_deg":11.601312,"altitude":10,"angle":354,"satellites":40,"speed":36,"hex_longitude":"2d0d5f40","hex_latitude":"06ea3840","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132079872001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318308281233702912,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":964192562419212288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781765949000,"timestamp_ms":1781765949000,"timestamp_seconds":1781765949,"priority":1,"record_length":96,"hex_timestamp":"0000019ed986c648"} 
[2026-06-18 12:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132079872001,"66":27930,"41":206,"2":56576,"24":36,"16":318308281233702912,"45":964192562419212288},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,45]} 
[2026-06-18 12:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132079872001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:31:07] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-06-18 12:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318308281233702912,"km_value":318308281233702.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":964192562419212288,"description":"Unknown IO ID 45"} 
[2026-06-18 12:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132079872001,"power":27930,"unknown_41":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":964192562419212288}} 
[2026-06-18 12:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":105753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:31:07] local.INFO: GPS data processed {"connection_id":105753,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:31:07] local.INFO: Acknowledgment sent {"connection_id":105753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:31:16] local.INFO: TCP Data received {"connection_id":105930,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9848bf8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9848bf8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:31:16] local.INFO: Processing buffer {"connection_id":105930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9848bf8012d1820000721b0d8004b00d12a..."} 
[2026-06-18 12:31:16] local.INFO: Packet analysis {"connection_id":105930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed984"} 
[2026-06-18 12:31:16] local.INFO: Extracted packet for processing {"connection_id":105930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed984"} 
[2026-06-18 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648472,"longitude_deg":75.6555776,"latitude_deg":11.9648472,"altitude":75,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-06-18 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132040192001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333629061103616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795020288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781765803000,"timestamp_ms":1781765803000,"timestamp_seconds":1781765803,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9848bf8"} 
[2026-06-18 12:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-06-18 12:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132040192001,"66":12374,"122":206,"28":31744,"24":0,"16":3333629061103616,"45":1738389486795020288},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 12:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132040192001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:31:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 12:31:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333629061103616,"km_value":3333629061103.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795020288,"description":"Unknown IO ID 45"} 
[2026-06-18 12:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132040192001,"power":12374,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795020288}} 
[2026-06-18 12:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":105930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:31:16] local.INFO: GPS data processed {"connection_id":105930,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:31:16] local.INFO: Acknowledgment sent {"connection_id":105930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:31:25] local.INFO: TCP Data received {"connection_id":106506,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:25] local.INFO: Processing buffer {"connection_id":106506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:25] local.INFO: IMEI packet received {"connection_id":106506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":106506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:31:27] local.INFO: TCP Data received {"connection_id":106506,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:27] local.INFO: Processing buffer {"connection_id":106506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:27] local.INFO: IMEI packet received {"connection_id":106506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":106506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:31:30] local.INFO: TCP Data received {"connection_id":106506,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:30] local.INFO: Processing buffer {"connection_id":106506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:31:30] local.INFO: IMEI packet received {"connection_id":106506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":106506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:31:31] local.INFO: TCP Data received {"connection_id":106506,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed986fcf8012d0d5a4006ea5ab0000601622a..."} 
[2026-06-18 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed986fcf8012d0d5a4006ea5ab0000601622a..."} 
[2026-06-18 12:31:31] local.INFO: Processing buffer {"connection_id":106506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed986fcf8012d0d5a4006ea5ab0000601622a..."} 
[2026-06-18 12:31:31] local.INFO: Packet analysis {"connection_id":106506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:31:31] local.INFO: Extracted packet for processing {"connection_id":106506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed986"} 
[2026-06-18 12:31:31] local.INFO: GPS Element Parsed {"raw_longitude":755849792,"raw_latitude":116021936,"longitude_deg":75.5849792,"latitude_deg":11.6021936,"altitude":6,"angle":354,"satellites":42,"speed":28,"hex_longitude":"2d0d5a40","hex_latitude":"06ea5ab0","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132082944001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318308715025399808,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":963559243724111872,"note":"Value kept but may cause issues"} 
[2026-06-18 12:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781765963000,"timestamp_ms":1781765963000,"timestamp_seconds":1781765963,"priority":1,"record_length":96,"hex_timestamp":"0000019ed986fcf8"} 
[2026-06-18 12:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:31: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-06-18 12: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-06-18 12:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132082944001,"66":28104,"58":206,"2":56576,"24":28,"16":318308715025399808,"45":963559243724111872},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-06-18 12:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132082944001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:31:31] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-06-18 12:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318308715025399808,"km_value":318308715025399.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":963559243724111872,"description":"Unknown IO ID 45"} 
[2026-06-18 12:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132082944001,"power":28104,"unknown_58":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":963559243724111872}} 
[2026-06-18 12:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":106506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:31:31] local.INFO: GPS data processed {"connection_id":106506,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:31:31] local.INFO: Acknowledgment sent {"connection_id":106506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:31:41] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:31:41] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:31:41] local.INFO: IMEI packet received {"connection_id":105931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":105931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:31:46] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:31:46] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:31:46] local.INFO: IMEI packet received {"connection_id":105931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":105931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:32:02] local.INFO: TCP Data received {"connection_id":106506,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9872fc0012d0d574006ea7d280007016522..."} 
[2026-06-18 12:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9872fc0012d0d574006ea7d280007016522..."} 
[2026-06-18 12:32:02] local.INFO: Processing buffer {"connection_id":106506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9872fc0012d0d574006ea7d280007016522..."} 
[2026-06-18 12:32:02] local.INFO: Packet analysis {"connection_id":106506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed987"} 
[2026-06-18 12:32:02] local.INFO: Extracted packet for processing {"connection_id":106506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed987"} 
[2026-06-18 12:32:02] local.INFO: GPS Element Parsed {"raw_longitude":755849024,"raw_latitude":116030760,"longitude_deg":75.5849024,"latitude_deg":11.603076,"altitude":7,"angle":357,"satellites":34,"speed":18,"hex_longitude":"2d0d5740","hex_latitude":"06ea7d28","is_valid_coordinates":true} 
[2026-06-18 12:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132086528001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318309144522129408,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":962151868842815488,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781765976000,"timestamp_ms":1781765976000,"timestamp_seconds":1781765976,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9872fc0"} 
[2026-06-18 12:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:32: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-06-18 12:32:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 12:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:32:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:32:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132086528001,"66":27604,"58":206,"2":56576,"24":18,"16":318309144522129408,"45":962151868842815488},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,2,24,16,45]} 
[2026-06-18 12:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132086528001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:32:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-06-18 12:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318309144522129408,"km_value":318309144522129.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":962151868842815488,"description":"Unknown IO ID 45"} 
[2026-06-18 12:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132086528001,"power":27604,"unknown_58":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":962151868842815488}} 
[2026-06-18 12:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":106506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:32:02] local.INFO: GPS data processed {"connection_id":106506,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:32:02] local.INFO: Acknowledgment sent {"connection_id":106506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:32:16] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:32:16] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:32:16] local.INFO: IMEI packet received {"connection_id":105931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":105931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:32:27] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:27] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:27] local.INFO: IMEI packet received {"connection_id":105932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":105932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:32:30] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:30] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:30] local.INFO: IMEI packet received {"connection_id":105932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":105932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:32:34] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:34] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:32:34] local.INFO: IMEI packet received {"connection_id":105932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":105932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:32:36] local.INFO: TCP Data received {"connection_id":107472,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:32:36] local.INFO: Processing buffer {"connection_id":107472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:32:36] local.INFO: IMEI packet received {"connection_id":107472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:32:36] local.INFO: IMEI acknowledgment sent {"connection_id":107472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:32:38] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed988e928012d0ca3c006eb53d0000a014125..."} 
[2026-06-18 12:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed988e928012d0ca3c006eb53d0000a014125..."} 
[2026-06-18 12:32:38] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed988e928012d0ca3c006eb53d0000a014125..."} 
[2026-06-18 12:32:38] local.INFO: Packet analysis {"connection_id":105932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed988"} 
[2026-06-18 12:32:38] local.INFO: Extracted packet for processing {"connection_id":105932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed988"} 
[2026-06-18 12:32:38] local.INFO: GPS Element Parsed {"raw_longitude":755803072,"raw_latitude":116085712,"longitude_deg":75.5803072,"latitude_deg":11.6085712,"altitude":10,"angle":321,"satellites":37,"speed":43,"hex_longitude":"2d0ca3c0","hex_latitude":"06eb53d0","is_valid_coordinates":true} 
[2026-06-18 12:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132116480001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318312683575181312,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241327622144,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781766089000,"timestamp_ms":1781766089000,"timestamp_seconds":1781766089,"priority":1,"record_length":96,"hex_timestamp":"0000019ed988e928"} 
[2026-06-18 12:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 12:32:38] 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-06-18 12:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:32:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132116480001,"66":27974,"42":206,"2":56576,"24":43,"16":318312683575181312,"45":917186241327622144},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132116480001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:32:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318312683575181312,"km_value":318312683575181.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241327622144,"description":"Unknown IO ID 45"} 
[2026-06-18 12:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132116480001,"power":27974,"unknown_42":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":917186241327622144}} 
[2026-06-18 12:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":105932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:32:38] local.INFO: GPS data processed {"connection_id":105932,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:32:38] local.INFO: Acknowledgment sent {"connection_id":105932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:32:40] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed988fcb0012d0c98c006eb6450000d014f24..."} 
[2026-06-18 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed988fcb0012d0c98c006eb6450000d014f24..."} 
[2026-06-18 12:32:40] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed988fcb0012d0c98c006eb6450000d014f24..."} 
[2026-06-18 12:32:40] local.INFO: Packet analysis {"connection_id":105932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed988"} 
[2026-06-18 12:32:40] local.INFO: Extracted packet for processing {"connection_id":105932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed988"} 
[2026-06-18 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":755800256,"raw_latitude":116089936,"longitude_deg":75.5800256,"latitude_deg":11.6089936,"altitude":13,"angle":335,"satellites":36,"speed":37,"hex_longitude":"2d0c98c0","hex_latitude":"06eb6450","is_valid_coordinates":true} 
[2026-06-18 12:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132118784001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318312928388317184,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910782685609447424,"note":"Value kept but may cause issues"} 
[2026-06-18 12:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781766094000,"timestamp_ms":1781766094000,"timestamp_seconds":1781766094,"priority":1,"record_length":96,"hex_timestamp":"0000019ed988fcb0"} 
[2026-06-18 12:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 12:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132118784001,"66":27223,"42":206,"2":56576,"24":37,"16":318312928388317184,"45":910782685609447424},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132118784001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:32:40] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318312928388317184,"km_value":318312928388317.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":910782685609447424,"description":"Unknown IO ID 45"} 
[2026-06-18 12:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132118784001,"power":27223,"unknown_42":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":910782685609447424}} 
[2026-06-18 12:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":105932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:32:40] local.INFO: GPS data processed {"connection_id":105932,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:32:40] local.INFO: Acknowledgment sent {"connection_id":105932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:33:25] local.INFO: TCP Data received {"connection_id":106508,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:33:25] local.INFO: Processing buffer {"connection_id":106508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:33:25] local.INFO: IMEI packet received {"connection_id":106508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":106508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:33:30] local.INFO: TCP Data received {"connection_id":106508,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:33:30] local.INFO: Processing buffer {"connection_id":106508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:33:30] local.INFO: IMEI packet received {"connection_id":106508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":106508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:33:31] local.INFO: TCP Data received {"connection_id":106508,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9893748012d0c8a8006eb8368000c014226..."} 
[2026-06-18 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9893748012d0c8a8006eb8368000c014226..."} 
[2026-06-18 12:33:31] local.INFO: Processing buffer {"connection_id":106508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9893748012d0c8a8006eb8368000c014226..."} 
[2026-06-18 12:33:31] local.INFO: Packet analysis {"connection_id":106508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:33:31] local.INFO: Extracted packet for processing {"connection_id":106508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":755796608,"raw_latitude":116097896,"longitude_deg":75.5796608,"latitude_deg":11.6097896,"altitude":12,"angle":322,"satellites":38,"speed":17,"hex_longitude":"2d0c8a80","hex_latitude":"06eb8368","is_valid_coordinates":true} 
[2026-06-18 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132120064001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318313353590079488,"note":"Value kept but may cause issues"} 
[2026-06-18 12:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":907686460866711552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781766109000,"timestamp_ms":1781766109000,"timestamp_seconds":1781766109,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9893748"} 
[2026-06-18 12:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 12:33:31] 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-06-18 12:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132120064001,"66":27908,"42":206,"2":56576,"24":17,"16":318313353590079488,"45":907686460866711552},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132120064001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:33:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318313353590079488,"km_value":318313353590079.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":907686460866711552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132120064001,"power":27908,"unknown_42":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":907686460866711552}} 
[2026-06-18 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":106508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:33:31] local.INFO: GPS data processed {"connection_id":106508,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:33:31] local.INFO: Acknowledgment sent {"connection_id":106508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:34:03] local.INFO: TCP Data received {"connection_id":106508,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98952a0012d0c818006eb8dd0000e015128..."} 
[2026-06-18 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98952a0012d0c818006eb8dd0000e015128..."} 
[2026-06-18 12:34:03] local.INFO: Processing buffer {"connection_id":106508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98952a0012d0c818006eb8dd0000e015128..."} 
[2026-06-18 12:34:03] local.INFO: Packet analysis {"connection_id":106508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:34:03] local.INFO: Extracted packet for processing {"connection_id":106508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:34:03] local.INFO: GPS Element Parsed {"raw_longitude":755794304,"raw_latitude":116100560,"longitude_deg":75.5794304,"latitude_deg":11.610056,"altitude":14,"angle":337,"satellites":40,"speed":23,"hex_longitude":"2d0c8180","hex_latitude":"06eb8dd0","is_valid_coordinates":true} 
[2026-06-18 12:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132123904001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318313525388771328,"note":"Value kept but may cause issues"} 
[2026-06-18 12:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":903675442450622464,"note":"Value kept but may cause issues"} 
[2026-06-18 12:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781766116000,"timestamp_ms":1781766116000,"timestamp_seconds":1781766116,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98952a0"} 
[2026-06-18 12:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:34: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-06-18 12:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132123904001,"66":27821,"42":206,"2":56576,"24":23,"16":318313525388771328,"45":903675442450622464},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132123904001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:34:03] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318313525388771328,"km_value":318313525388771.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":903675442450622464,"description":"Unknown IO ID 45"} 
[2026-06-18 12:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132123904001,"power":27821,"unknown_42":206,"power_alt":56576,"ignition":23,"odometer":null,"unknown_45":903675442450622464}} 
[2026-06-18 12:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":106508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:34:03] local.INFO: GPS data processed {"connection_id":106508,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:34:03] local.INFO: Acknowledgment sent {"connection_id":106508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:34:25] local.INFO: TCP Data received {"connection_id":105756,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:34:25] local.INFO: Processing buffer {"connection_id":105756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:34:25] local.INFO: IMEI packet received {"connection_id":105756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":105756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:34:28] local.INFO: TCP Data received {"connection_id":105756,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:34:28] local.INFO: Processing buffer {"connection_id":105756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:34:28] local.INFO: IMEI packet received {"connection_id":105756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":105756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:34:30] local.INFO: TCP Data received {"connection_id":105756,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9899508012d0c724006ebaf20000e01532a..."} 
[2026-06-18 12:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9899508012d0c724006ebaf20000e01532a..."} 
[2026-06-18 12:34:30] local.INFO: Processing buffer {"connection_id":105756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9899508012d0c724006ebaf20000e01532a..."} 
[2026-06-18 12:34:30] local.INFO: Packet analysis {"connection_id":105756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:34:30] local.INFO: Extracted packet for processing {"connection_id":105756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:34:30] local.INFO: GPS Element Parsed {"raw_longitude":755790400,"raw_latitude":116109088,"longitude_deg":75.57904,"latitude_deg":11.6109088,"altitude":14,"angle":339,"satellites":42,"speed":30,"hex_longitude":"2d0c7240","hex_latitude":"06ebaf20","is_valid_coordinates":true} 
[2026-06-18 12:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132125696001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318313980655304704,"note":"Value kept but may cause issues"} 
[2026-06-18 12:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":901142167660908544,"note":"Value kept but may cause issues"} 
[2026-06-18 12:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781766133000,"timestamp_ms":1781766133000,"timestamp_seconds":1781766133,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9899508"} 
[2026-06-18 12:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:34: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-06-18 12:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 12:34: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-06-18 12: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-06-18 12:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132125696001,"66":27463,"42":206,"2":56576,"24":30,"16":318313980655304704,"45":901142167660908544},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132125696001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:34:30] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318313980655304704,"km_value":318313980655304.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":901142167660908544,"description":"Unknown IO ID 45"} 
[2026-06-18 12:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132125696001,"power":27463,"unknown_42":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":901142167660908544}} 
[2026-06-18 12:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":105756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:34:30] local.INFO: GPS data processed {"connection_id":105756,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:34:30] local.INFO: Acknowledgment sent {"connection_id":105756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:34:59] local.INFO: TCP Data received {"connection_id":105933,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:34:59] local.INFO: Processing buffer {"connection_id":105933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:34:59] local.INFO: IMEI packet received {"connection_id":105933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":105933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:35:01] local.INFO: TCP Data received {"connection_id":105756,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed989b448012d0c6bc006ebc898000f01612b..."} 
[2026-06-18 12:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed989b448012d0c6bc006ebc898000f01612b..."} 
[2026-06-18 12:35:01] local.INFO: Processing buffer {"connection_id":105756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed989b448012d0c6bc006ebc898000f01612b..."} 
[2026-06-18 12:35:01] local.INFO: Packet analysis {"connection_id":105756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:35:01] local.INFO: Extracted packet for processing {"connection_id":105756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:35:01] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":116115608,"longitude_deg":75.5788736,"latitude_deg":11.6115608,"altitude":15,"angle":353,"satellites":43,"speed":31,"hex_longitude":"2d0c6bc0","hex_latitude":"06ebc898","is_valid_coordinates":true} 
[2026-06-18 12:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132130048001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318314307072819200,"note":"Value kept but may cause issues"} 
[2026-06-18 12:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":896849674268254208,"note":"Value kept but may cause issues"} 
[2026-06-18 12:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781766141000,"timestamp_ms":1781766141000,"timestamp_seconds":1781766141,"priority":1,"record_length":96,"hex_timestamp":"0000019ed989b448"} 
[2026-06-18 12:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:35:01] 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-06-18 12:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 12:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132130048001,"66":28017,"42":206,"2":56576,"24":31,"16":318314307072819200,"45":896849674268254208},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132130048001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:35:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318314307072819200,"km_value":318314307072819.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":896849674268254208,"description":"Unknown IO ID 45"} 
[2026-06-18 12:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132130048001,"power":28017,"unknown_42":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":896849674268254208}} 
[2026-06-18 12:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":105756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:35:01] local.INFO: GPS data processed {"connection_id":105756,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:35:01] local.INFO: Acknowledgment sent {"connection_id":105756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:35:25] local.INFO: TCP Data received {"connection_id":107475,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:35:25] local.INFO: Processing buffer {"connection_id":107475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:35:25] local.INFO: IMEI packet received {"connection_id":107475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":107475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:35:30] local.INFO: TCP Data received {"connection_id":107475,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:35:30] local.INFO: Processing buffer {"connection_id":107475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:35:30] local.INFO: IMEI packet received {"connection_id":107475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":107475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:35:33] local.INFO: TCP Data received {"connection_id":107475,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed989db58012d0c688006ebec18000c01632b..."} 
[2026-06-18 12:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed989db58012d0c688006ebec18000c01632b..."} 
[2026-06-18 12:35:33] local.INFO: Processing buffer {"connection_id":107475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed989db58012d0c688006ebec18000c01632b..."} 
[2026-06-18 12:35:33] local.INFO: Packet analysis {"connection_id":107475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:35:33] local.INFO: Extracted packet for processing {"connection_id":107475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed989"} 
[2026-06-18 12:35:33] local.INFO: GPS Element Parsed {"raw_longitude":755787904,"raw_latitude":116124696,"longitude_deg":75.5787904,"latitude_deg":11.6124696,"altitude":12,"angle":355,"satellites":43,"speed":35,"hex_longitude":"2d0c6880","hex_latitude":"06ebec18","is_valid_coordinates":true} 
[2026-06-18 12:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132132096001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318314749454450688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020086921304064,"note":"Value kept but may cause issues"} 
[2026-06-18 12:35:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781766151000,"timestamp_ms":1781766151000,"timestamp_seconds":1781766151,"priority":1,"record_length":96,"hex_timestamp":"0000019ed989db58"} 
[2026-06-18 12:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:35:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-18 12:35:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1760,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132132096001,"66":27908,"42":206,"2":56576,"24":35,"16":318314749454450688,"45":895020086921304064},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-06-18 12:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132132096001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:35:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 12:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318314749454450688,"km_value":318314749454450.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020086921304064,"description":"Unknown IO ID 45"} 
[2026-06-18 12:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132132096001,"power":27908,"unknown_42":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":895020086921304064}} 
[2026-06-18 12:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":107475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:35:33] local.INFO: GPS data processed {"connection_id":107475,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:35:33] local.INFO: Acknowledgment sent {"connection_id":107475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:35:39] local.INFO: TCP Data received {"connection_id":105757,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:35:39] local.INFO: Processing buffer {"connection_id":105757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:35:39] local.INFO: IMEI packet received {"connection_id":105757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":105757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:36:05] local.INFO: TCP Data received {"connection_id":107475,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98c0220012d0c4e0006ed0a50000900082a..."} 
[2026-06-18 12:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98c0220012d0c4e0006ed0a50000900082a..."} 
[2026-06-18 12:36:05] local.INFO: Processing buffer {"connection_id":107475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98c0220012d0c4e0006ed0a50000900082a..."} 
[2026-06-18 12:36:05] local.INFO: Packet analysis {"connection_id":107475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:36:05] local.INFO: Extracted packet for processing {"connection_id":107475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":755781120,"raw_latitude":116197968,"longitude_deg":75.578112,"latitude_deg":11.6197968,"altitude":9,"angle":8,"satellites":42,"speed":30,"hex_longitude":"2d0c4e00","hex_latitude":"06ed0a50","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132165376001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318318391586717696,"note":"Value kept but may cause issues"} 
[2026-06-18 12:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885449937732366336,"note":"Value kept but may cause issues"} 
[2026-06-18 12:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781766292000,"timestamp_ms":1781766292000,"timestamp_seconds":1781766292,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98c0220"} 
[2026-06-18 12:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 12:36:05] 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-06-18 12: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-06-18 12:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132165376001,"66":27995,"158":206,"2":56576,"24":30,"16":318318391586717696,"45":885449937732366336},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-18 12:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132165376001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:36:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 12:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318318391586717696,"km_value":318318391586717.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":885449937732366336,"description":"Unknown IO ID 45"} 
[2026-06-18 12:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132165376001,"power":27995,"unknown_158":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":885449937732366336}} 
[2026-06-18 12:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":107475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:36:05] local.INFO: GPS data processed {"connection_id":107475,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:36:05] local.INFO: Acknowledgment sent {"connection_id":107475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:36:25] local.INFO: TCP Data received {"connection_id":105935,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:36:25] local.INFO: Processing buffer {"connection_id":105935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:36:25] local.INFO: IMEI packet received {"connection_id":105935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":105935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:36:30] local.INFO: TCP Data received {"connection_id":105935,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:36:30] local.INFO: Processing buffer {"connection_id":105935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:36:30] local.INFO: IMEI packet received {"connection_id":105935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":105935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:36:31] local.INFO: TCP Data received {"connection_id":105935,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98c2d18012d0c53c006ed2f200008000928..."} 
[2026-06-18 12:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98c2d18012d0c53c006ed2f200008000928..."} 
[2026-06-18 12:36:31] local.INFO: Processing buffer {"connection_id":105935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98c2d18012d0c53c006ed2f200008000928..."} 
[2026-06-18 12:36:31] local.INFO: Packet analysis {"connection_id":105935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:36:31] local.INFO: Extracted packet for processing {"connection_id":105935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:36:31] local.INFO: GPS Element Parsed {"raw_longitude":755782592,"raw_latitude":116207392,"longitude_deg":75.5782592,"latitude_deg":11.6207392,"altitude":8,"angle":9,"satellites":40,"speed":33,"hex_longitude":"2d0c53c0","hex_latitude":"06ed2f20","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132170752001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318318855443185664,"note":"Value kept but may cause issues"} 
[2026-06-18 12:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":886646206385246208,"note":"Value kept but may cause issues"} 
[2026-06-18 12:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781766303000,"timestamp_ms":1781766303000,"timestamp_seconds":1781766303,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98c2d18"} 
[2026-06-18 12:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:36: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-06-18 12: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-06-18 12:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132170752001,"66":27974,"158":206,"2":56576,"24":33,"16":318318855443185664,"45":886646206385246208},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-18 12:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132170752001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:36:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 12:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318318855443185664,"km_value":318318855443185.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":886646206385246208,"description":"Unknown IO ID 45"} 
[2026-06-18 12:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132170752001,"power":27974,"unknown_158":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":886646206385246208}} 
[2026-06-18 12:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":105935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:36:31] local.INFO: GPS data processed {"connection_id":105935,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:36:31] local.INFO: Acknowledgment sent {"connection_id":105935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:37:04] local.INFO: TCP Data received {"connection_id":105935,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98c5bf8012d0c58c006ed53780008000529..."} 
[2026-06-18 12:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98c5bf8012d0c58c006ed53780008000529..."} 
[2026-06-18 12:37:04] local.INFO: Processing buffer {"connection_id":105935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98c5bf8012d0c58c006ed53780008000529..."} 
[2026-06-18 12:37:04] local.INFO: Packet analysis {"connection_id":105935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:37:04] local.INFO: Extracted packet for processing {"connection_id":105935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:37:04] local.INFO: GPS Element Parsed {"raw_longitude":755783872,"raw_latitude":116216696,"longitude_deg":75.5783872,"latitude_deg":11.6216696,"altitude":8,"angle":5,"satellites":41,"speed":28,"hex_longitude":"2d0c58c0","hex_latitude":"06ed5378","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132173568001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318319310709719040,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":888264687503745024,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781766315000,"timestamp_ms":1781766315000,"timestamp_seconds":1781766315,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98c5bf8"} 
[2026-06-18 12:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 12:37: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-06-18 12: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-06-18 12:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132173568001,"66":27919,"158":206,"2":56576,"24":28,"16":318319310709719040,"45":888264687503745024},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-18 12:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132173568001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:37:04] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 12:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318319310709719040,"km_value":318319310709719.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":888264687503745024,"description":"Unknown IO ID 45"} 
[2026-06-18 12:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132173568001,"power":27919,"unknown_158":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":888264687503745024}} 
[2026-06-18 12:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":105935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:37:04] local.INFO: GPS data processed {"connection_id":105935,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:37:04] local.INFO: Acknowledgment sent {"connection_id":105935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:37:29] local.INFO: TCP Data received {"connection_id":107476,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:29] local.INFO: Processing buffer {"connection_id":107476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:29] local.INFO: IMEI packet received {"connection_id":107476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":107476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:37:30] local.INFO: TCP Data received {"connection_id":107476,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:30] local.INFO: Processing buffer {"connection_id":107476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:30] local.INFO: IMEI packet received {"connection_id":107476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":107476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:37:35] local.INFO: TCP Data received {"connection_id":107476,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:35] local.INFO: Processing buffer {"connection_id":107476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:37:35] local.INFO: IMEI packet received {"connection_id":107476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:37:35] local.INFO: IMEI acknowledgment sent {"connection_id":107476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:37:37] local.INFO: TCP Data received {"connection_id":107476,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98cae00012d0c5cc006ed70f0000900082a..."} 
[2026-06-18 12:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98cae00012d0c5cc006ed70f0000900082a..."} 
[2026-06-18 12:37:37] local.INFO: Processing buffer {"connection_id":107476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98cae00012d0c5cc006ed70f0000900082a..."} 
[2026-06-18 12:37:37] local.INFO: Packet analysis {"connection_id":107476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:37:37] local.INFO: Extracted packet for processing {"connection_id":107476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":755784896,"raw_latitude":116224240,"longitude_deg":75.5784896,"latitude_deg":11.622424,"altitude":9,"angle":8,"satellites":42,"speed":12,"hex_longitude":"2d0c5cc0","hex_latitude":"06ed70f0","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132176640001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318319680076906496,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889672062389680128,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781766336000,"timestamp_ms":1781766336000,"timestamp_seconds":1781766336,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98cae00"} 
[2026-06-18 12:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:37: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-06-18 12: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-06-18 12:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132176640001,"66":27995,"158":206,"2":56576,"24":12,"16":318319680076906496,"45":889672062389680128},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-18 12:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132176640001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:37:37] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 12:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318319680076906496,"km_value":318319680076906.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":889672062389680128,"description":"Unknown IO ID 45"} 
[2026-06-18 12:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132176640001,"power":27995,"unknown_158":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":889672062389680128}} 
[2026-06-18 12:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":107476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:37:37] local.INFO: GPS data processed {"connection_id":107476,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:37:37] local.INFO: Acknowledgment sent {"connection_id":107476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:37:41] local.INFO: TCP Data received {"connection_id":107478,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107478,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:37:41] local.INFO: Processing buffer {"connection_id":107478,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:37:41] local.INFO: IMEI packet received {"connection_id":107478,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":107478,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:37:43] local.INFO: TCP Data received {"connection_id":107478,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98b98a8012d181e400721af18004a00d22a..."} 
[2026-06-18 12:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98b98a8012d181e400721af18004a00d22a..."} 
[2026-06-18 12:37:43] local.INFO: Processing buffer {"connection_id":107478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98b98a8012d181e400721af18004a00d22a..."} 
[2026-06-18 12:37:43] local.INFO: Packet analysis {"connection_id":107478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98b"} 
[2026-06-18 12:37:43] local.INFO: Extracted packet for processing {"connection_id":107478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98b"} 
[2026-06-18 12:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":42,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132158464001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781766265000,"timestamp_ms":1781766265000,"timestamp_seconds":1781766265,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98b98a8"} 
[2026-06-18 12:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:37:43] 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-06-18 12:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 12:37:43] 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-06-18 12:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132158464001,"66":12232,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132158464001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:37:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132158464001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":107478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:37:43] local.INFO: GPS data processed {"connection_id":107478,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:37:43] local.INFO: Acknowledgment sent {"connection_id":107478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:38:10] local.INFO: TCP Data received {"connection_id":107476,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98cd128012d0c5e4006ed83e0000901642b..."} 
[2026-06-18 12:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98cd128012d0c5e4006ed83e0000901642b..."} 
[2026-06-18 12:38:10] local.INFO: Processing buffer {"connection_id":107476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98cd128012d0c5e4006ed83e0000901642b..."} 
[2026-06-18 12:38:10] local.INFO: Packet analysis {"connection_id":107476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:38:10] local.INFO: Extracted packet for processing {"connection_id":107476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:38:10] local.INFO: GPS Element Parsed {"raw_longitude":755785280,"raw_latitude":116229088,"longitude_deg":75.578528,"latitude_deg":11.6229088,"altitude":9,"angle":356,"satellites":43,"speed":25,"hex_longitude":"2d0c5e40","hex_latitude":"06ed83e0","is_valid_coordinates":true} 
[2026-06-18 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132182016001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318319916300107776,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890797962298454016,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781766345000,"timestamp_ms":1781766345000,"timestamp_seconds":1781766345,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98cd128"} 
[2026-06-18 12:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:38:10] 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-06-18 12:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:38:10] 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-06-18 12:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132182016001,"66":28028,"158":206,"2":56576,"24":25,"16":318319916300107776,"45":890797962298454016},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-18 12:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132182016001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:38:10] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 12:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318319916300107776,"km_value":318319916300107.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":890797962298454016,"description":"Unknown IO ID 45"} 
[2026-06-18 12:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132182016001,"power":28028,"unknown_158":206,"power_alt":56576,"ignition":25,"odometer":null,"unknown_45":890797962298454016}} 
[2026-06-18 12:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":107476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:38:10] local.INFO: GPS data processed {"connection_id":107476,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:38:10] local.INFO: Acknowledgment sent {"connection_id":107476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:38:14] local.INFO: TCP Data received {"connection_id":107478,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98beab0012d181e400721af18004a00d229..."} 
[2026-06-18 12:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98beab0012d181e400721af18004a00d229..."} 
[2026-06-18 12:38:14] local.INFO: Processing buffer {"connection_id":107478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98beab0012d181e400721af18004a00d229..."} 
[2026-06-18 12:38:14] local.INFO: Packet analysis {"connection_id":107478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98b"} 
[2026-06-18 12:38:14] local.INFO: Extracted packet for processing {"connection_id":107478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98b"} 
[2026-06-18 12:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132163840001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781766286000,"timestamp_ms":1781766286000,"timestamp_seconds":1781766286,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98beab0"} 
[2026-06-18 12:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 12:38:14] 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-06-18 12:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107478,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132163840001,"66":12254,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132163840001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:38:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132163840001,"power":12254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":107478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:38:14] local.INFO: GPS data processed {"connection_id":107478,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:38:14] local.INFO: Acknowledgment sent {"connection_id":107478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:38:23] local.INFO: TCP Data received {"connection_id":106510,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:23] local.INFO: Processing buffer {"connection_id":106510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:23] local.INFO: IMEI packet received {"connection_id":106510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":106510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:38:25] local.INFO: TCP Data received {"connection_id":106510,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:25] local.INFO: Processing buffer {"connection_id":106510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:25] local.INFO: IMEI packet received {"connection_id":106510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":106510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:38:26] local.INFO: TCP Data received {"connection_id":106510,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:26] local.INFO: Processing buffer {"connection_id":106510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:26] local.INFO: IMEI packet received {"connection_id":106510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":106510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:38:28] local.INFO: TCP Data received {"connection_id":106510,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:28] local.INFO: Processing buffer {"connection_id":106510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:38:28] local.INFO: IMEI packet received {"connection_id":106510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":106510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:38:29] local.INFO: TCP Data received {"connection_id":106510,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98d0008012d0c5b4006eda7780009015d29..."} 
[2026-06-18 12:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98d0008012d0c5b4006eda7780009015d29..."} 
[2026-06-18 12:38:29] local.INFO: Processing buffer {"connection_id":106510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98d0008012d0c5b4006eda7780009015d29..."} 
[2026-06-18 12:38:29] local.INFO: Packet analysis {"connection_id":106510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:38:29] local.INFO: Extracted packet for processing {"connection_id":106510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:38:29] local.INFO: GPS Element Parsed {"raw_longitude":755784512,"raw_latitude":116238200,"longitude_deg":75.5784512,"latitude_deg":11.62382,"altitude":9,"angle":349,"satellites":41,"speed":33,"hex_longitude":"2d0c5b40","hex_latitude":"06eda778","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132184320001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318320362976706560,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":891220174764761088,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781766357000,"timestamp_ms":1781766357000,"timestamp_seconds":1781766357,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98d0008"} 
[2026-06-18 12:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:38: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-06-18 12: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 12:38:29] 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-06-18 12: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-06-18 12:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132184320001,"66":27974,"158":206,"2":56576,"24":33,"16":318320362976706560,"45":891220174764761088},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-18 12:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132184320001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:38:29] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 12:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318320362976706560,"km_value":318320362976706.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":891220174764761088,"description":"Unknown IO ID 45"} 
[2026-06-18 12:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132184320001,"power":27974,"unknown_158":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":891220174764761088}} 
[2026-06-18 12:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":106510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:38:29] local.INFO: GPS data processed {"connection_id":106510,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:38:29] local.INFO: Acknowledgment sent {"connection_id":106510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:38:30] local.INFO: TCP Data received {"connection_id":106510,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98d2ee8012d0c534006edc9580009015427..."} 
[2026-06-18 12:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98d2ee8012d0c534006edc9580009015427..."} 
[2026-06-18 12:38:30] local.INFO: Processing buffer {"connection_id":106510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98d2ee8012d0c534006edc9580009015427..."} 
[2026-06-18 12:38:30] local.INFO: Packet analysis {"connection_id":106510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:38:30] local.INFO: Extracted packet for processing {"connection_id":106510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:38:30] local.INFO: GPS Element Parsed {"raw_longitude":755782464,"raw_latitude":116246872,"longitude_deg":75.5782464,"latitude_deg":11.6246872,"altitude":9,"angle":340,"satellites":39,"speed":24,"hex_longitude":"2d0c5340","hex_latitude":"06edc958","is_valid_coordinates":true} 
[2026-06-18 12:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132187392001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318320796768403456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890375749836961792,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781766369000,"timestamp_ms":1781766369000,"timestamp_seconds":1781766369,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98d2ee8"} 
[2026-06-18 12:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:38: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-06-18 12:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 12:38:30] 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-06-18 12:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132187392001,"66":28028,"158":206,"2":56576,"24":24,"16":318320796768403456,"45":890375749836961792},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-06-18 12:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132187392001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:38:30] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 12:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318320796768403456,"km_value":318320796768403.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":890375749836961792,"description":"Unknown IO ID 45"} 
[2026-06-18 12:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132187392001,"power":28028,"unknown_158":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":890375749836961792}} 
[2026-06-18 12:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":106510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:38:30] local.INFO: GPS data processed {"connection_id":106510,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:38:30] local.INFO: Acknowledgment sent {"connection_id":106510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:38:36] local.INFO: TCP Data received {"connection_id":105939,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:38:36] local.INFO: Processing buffer {"connection_id":105939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:38:36] local.INFO: IMEI packet received {"connection_id":105939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":105939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:38:41] local.INFO: TCP Data received {"connection_id":105939,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:38:41] local.INFO: Processing buffer {"connection_id":105939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:38:41] local.INFO: IMEI packet received {"connection_id":105939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":105939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:38:43] local.INFO: TCP Data received {"connection_id":105939,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98c3cb8012d181e400721af18004a00d229..."} 
[2026-06-18 12:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98c3cb8012d181e400721af18004a00d229..."} 
[2026-06-18 12:38:43] local.INFO: Processing buffer {"connection_id":105939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98c3cb8012d181e400721af18004a00d229..."} 
[2026-06-18 12:38:43] local.INFO: Packet analysis {"connection_id":105939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:38:43] local.INFO: Extracted packet for processing {"connection_id":105939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:38:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132169216001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:38:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781766307000,"timestamp_ms":1781766307000,"timestamp_seconds":1781766307,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98c3cb8"} 
[2026-06-18 12:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:38:43] 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-06-18 12:38:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-18 12:38:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:38:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132169216001,"66":12287,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132169216001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:38:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:38:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132169216001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":105939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:38:43] local.INFO: GPS data processed {"connection_id":105939,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:38:43] local.INFO: Acknowledgment sent {"connection_id":105939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:39:03] local.INFO: TCP Data received {"connection_id":106510,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98ee080012d0be68006ee98e8000c015325..."} 
[2026-06-18 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98ee080012d0be68006ee98e8000c015325..."} 
[2026-06-18 12:39:03] local.INFO: Processing buffer {"connection_id":106510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98ee080012d0be68006ee98e8000c015325..."} 
[2026-06-18 12:39:03] local.INFO: Packet analysis {"connection_id":106510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98e"} 
[2026-06-18 12:39:03] local.INFO: Extracted packet for processing {"connection_id":106510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98e"} 
[2026-06-18 12:39:03] local.INFO: GPS Element Parsed {"raw_longitude":755754624,"raw_latitude":116300008,"longitude_deg":75.5754624,"latitude_deg":11.6300008,"altitude":12,"angle":339,"satellites":37,"speed":29,"hex_longitude":"2d0be680","hex_latitude":"06ee98e8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132218112001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318323713051197440,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858076496274726912,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781766480000,"timestamp_ms":1781766480000,"timestamp_seconds":1781766480,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98ee080"} 
[2026-06-18 12:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:39: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-06-18 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:39: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-06-18 12: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-06-18 12:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132218112001,"66":27865,"118":206,"2":56576,"24":29,"16":318323713051197440,"45":858076496274726912},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132218112001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:39:03] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318323713051197440,"km_value":318323713051197.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":858076496274726912,"description":"Unknown IO ID 45"} 
[2026-06-18 12:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132218112001,"power":27865,"unknown_118":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":858076496274726912}} 
[2026-06-18 12:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":106510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:39:03] local.INFO: GPS data processed {"connection_id":106510,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:39:03] local.INFO: Acknowledgment sent {"connection_id":106510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:39:15] local.INFO: TCP Data received {"connection_id":105939,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98c8ec0012d181e400721af18004a00d228..."} 
[2026-06-18 12:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98c8ec0012d181e400721af18004a00d228..."} 
[2026-06-18 12:39:15] local.INFO: Processing buffer {"connection_id":105939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98c8ec0012d181e400721af18004a00d228..."} 
[2026-06-18 12:39:15] local.INFO: Packet analysis {"connection_id":105939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:39:15] local.INFO: Extracted packet for processing {"connection_id":105939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:39:15] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132174592001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781766328000,"timestamp_ms":1781766328000,"timestamp_seconds":1781766328,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98c8ec0"} 
[2026-06-18 12:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:39:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 12:39:15] 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-06-18 12:39:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132174592001,"66":12287,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132174592001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:39:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:39:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132174592001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":105939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:39:15] local.INFO: GPS data processed {"connection_id":105939,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:39:15] local.INFO: Acknowledgment sent {"connection_id":105939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:39:25] local.INFO: TCP Data received {"connection_id":105759,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:25] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:25] local.INFO: IMEI packet received {"connection_id":105759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":105759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:39:26] local.INFO: TCP Data received {"connection_id":105759,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:26] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:26] local.INFO: IMEI packet received {"connection_id":105759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":105759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:39:30] local.INFO: TCP Data received {"connection_id":105759,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:30] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:39:30] local.INFO: IMEI packet received {"connection_id":105759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":105759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:39:31] local.INFO: TCP Data received {"connection_id":105759,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98f0790012d0bd80006eeb8e8000b015228..."} 
[2026-06-18 12:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98f0790012d0bd80006eeb8e8000b015228..."} 
[2026-06-18 12:39:31] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98f0790012d0bd80006eeb8e8000b015228..."} 
[2026-06-18 12:39:31] local.INFO: Packet analysis {"connection_id":105759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:39:31] local.INFO: Extracted packet for processing {"connection_id":105759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:39:31] local.INFO: GPS Element Parsed {"raw_longitude":755750912,"raw_latitude":116308200,"longitude_deg":75.5750912,"latitude_deg":11.63082,"altitude":11,"angle":338,"satellites":40,"speed":41,"hex_longitude":"2d0bd800","hex_latitude":"06eeb8e8","is_valid_coordinates":true} 
[2026-06-18 12:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132218880001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318324151137861632,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857513546321815552,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781766490000,"timestamp_ms":1781766490000,"timestamp_seconds":1781766490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98f0790"} 
[2026-06-18 12:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 12:39: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-06-18 12:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132218880001,"66":27865,"118":206,"2":56576,"24":41,"16":318324151137861632,"45":857513546321815552},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132218880001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:39:31] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318324151137861632,"km_value":318324151137861.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":857513546321815552,"description":"Unknown IO ID 45"} 
[2026-06-18 12:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132218880001,"power":27865,"unknown_118":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":857513546321815552}} 
[2026-06-18 12:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":105759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:39:31] local.INFO: GPS data processed {"connection_id":105759,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:39:31] local.INFO: Acknowledgment sent {"connection_id":105759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:39:36] local.INFO: TCP Data received {"connection_id":105759,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98f26d0012d0bca4006eed9300009015129..."} 
[2026-06-18 12:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98f26d0012d0bca4006eed9300009015129..."} 
[2026-06-18 12:39:36] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98f26d0012d0bca4006eed9300009015129..."} 
[2026-06-18 12:39:36] local.INFO: Packet analysis {"connection_id":105759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:39:36] local.INFO: Extracted packet for processing {"connection_id":105759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":755747392,"raw_latitude":116316464,"longitude_deg":75.5747392,"latitude_deg":11.6316464,"altitude":9,"angle":337,"satellites":41,"speed":46,"hex_longitude":"2d0bca40","hex_latitude":"06eed930","is_valid_coordinates":true} 
[2026-06-18 12:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132221440001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318324584929558528,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":853432159161608192,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781766498000,"timestamp_ms":1781766498000,"timestamp_seconds":1781766498,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98f26d0"} 
[2026-06-18 12:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:39:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 12:39: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-06-18 12:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132221440001,"66":27604,"118":206,"2":56576,"24":46,"16":318324584929558528,"45":853432159161608192},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132221440001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:39:36] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318324584929558528,"km_value":318324584929558.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":853432159161608192,"description":"Unknown IO ID 45"} 
[2026-06-18 12:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132221440001,"power":27604,"unknown_118":206,"power_alt":56576,"ignition":46,"odometer":null,"unknown_45":853432159161608192}} 
[2026-06-18 12:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":105759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:39:36] local.INFO: GPS data processed {"connection_id":105759,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:39:36] local.INFO: Acknowledgment sent {"connection_id":105759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:39:41] local.INFO: TCP Data received {"connection_id":105760,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:39:41] local.INFO: Processing buffer {"connection_id":105760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:39:41] local.INFO: IMEI packet received {"connection_id":105760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":105760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:39:46] local.INFO: TCP Data received {"connection_id":105760,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:39:46] local.INFO: Processing buffer {"connection_id":105760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:39:46] local.INFO: IMEI packet received {"connection_id":105760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":105760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:39:47] local.INFO: TCP Data received {"connection_id":105760,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98ce0c8012d181e400721af18004a00d227..."} 
[2026-06-18 12:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98ce0c8012d181e400721af18004a00d227..."} 
[2026-06-18 12:39:47] local.INFO: Processing buffer {"connection_id":105760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98ce0c8012d181e400721af18004a00d227..."} 
[2026-06-18 12:39:47] local.INFO: Packet analysis {"connection_id":105760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:39:47] local.INFO: Extracted packet for processing {"connection_id":105760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98c"} 
[2026-06-18 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132179968001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:39:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781766349000,"timestamp_ms":1781766349000,"timestamp_seconds":1781766349,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98ce0c8"} 
[2026-06-18 12:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:39:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 12:39: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-06-18 12:39:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132179968001,"66":12287,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132179968001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:39:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:39:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132179968001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":105760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:39:47] local.INFO: GPS data processed {"connection_id":105760,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:39:47] local.INFO: Acknowledgment sent {"connection_id":105760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:40:07] local.INFO: TCP Data received {"connection_id":105759,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98f4610012d0bbb0006eefdb0000901532a..."} 
[2026-06-18 12:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98f4610012d0bbb0006eefdb0000901532a..."} 
[2026-06-18 12:40:07] local.INFO: Processing buffer {"connection_id":105759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98f4610012d0bbb0006eefdb0000901532a..."} 
[2026-06-18 12:40:07] local.INFO: Packet analysis {"connection_id":105759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:40:07] local.INFO: Extracted packet for processing {"connection_id":105759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":755743488,"raw_latitude":116325808,"longitude_deg":75.5743488,"latitude_deg":11.6325808,"altitude":9,"angle":339,"satellites":42,"speed":53,"hex_longitude":"2d0bbb00","hex_latitude":"06eefdb0","is_valid_coordinates":true} 
[2026-06-18 12:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132223488001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318325070260862976,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849561878233952256,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781766506000,"timestamp_ms":1781766506000,"timestamp_seconds":1781766506,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98f4610"} 
[2026-06-18 12:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 12:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132223488001,"66":27974,"118":206,"2":56576,"24":53,"16":318325070260862976,"45":849561878233952256},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132223488001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:40:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318325070260862976,"km_value":318325070260863.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:40:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":849561878233952256,"description":"Unknown IO ID 45"} 
[2026-06-18 12:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132223488001,"power":27974,"unknown_118":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":849561878233952256}} 
[2026-06-18 12:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":105759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:40:07] local.INFO: GPS data processed {"connection_id":105759,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:40:07] local.INFO: Acknowledgment sent {"connection_id":105759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:40:25] local.INFO: TCP Data received {"connection_id":105761,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:25] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:25] local.INFO: IMEI packet received {"connection_id":105761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":105761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:40:26] local.INFO: TCP Data received {"connection_id":105761,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:26] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:26] local.INFO: IMEI packet received {"connection_id":105761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":105761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:40:30] local.INFO: TCP Data received {"connection_id":105761,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:30] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:40:30] local.INFO: IMEI packet received {"connection_id":105761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":105761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:40:35] local.INFO: TCP Data received {"connection_id":105761,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98f6168012d0badc006ef1fa8000a015229..."} 
[2026-06-18 12:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98f6168012d0badc006ef1fa8000a015229..."} 
[2026-06-18 12:40:35] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98f6168012d0badc006ef1fa8000a015229..."} 
[2026-06-18 12:40:35] local.INFO: Packet analysis {"connection_id":105761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:40:35] local.INFO: Extracted packet for processing {"connection_id":105761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":755740096,"raw_latitude":116334504,"longitude_deg":75.5740096,"latitude_deg":11.6334504,"altitude":10,"angle":338,"satellites":41,"speed":53,"hex_longitude":"2d0badc0","hex_latitude":"06ef1fa8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132225536001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318325521232429056,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845269384841506816,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781766513000,"timestamp_ms":1781766513000,"timestamp_seconds":1781766513,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98f6168"} 
[2026-06-18 12:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":70,"data_length":795,"current_offset":136} 
[2026-06-18 12:40:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132225536001,"66":27995,"118":206,"2":56576,"24":53,"16":318325521232429056,"45":845269384841506816},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132225536001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:40:35] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318325521232429056,"km_value":318325521232429.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":845269384841506816,"description":"Unknown IO ID 45"} 
[2026-06-18 12:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132225536001,"power":27995,"unknown_118":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":845269384841506816}} 
[2026-06-18 12:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":105761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:40:35] local.INFO: GPS data processed {"connection_id":105761,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:40:35] local.INFO: Acknowledgment sent {"connection_id":105761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:40:36] local.INFO: TCP Data received {"connection_id":107479,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:36] local.INFO: Processing buffer {"connection_id":107479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:36] local.INFO: IMEI packet received {"connection_id":107479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:40:36] local.INFO: IMEI acknowledgment sent {"connection_id":107479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:40:40] local.INFO: TCP Data received {"connection_id":107479,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:40] local.INFO: Processing buffer {"connection_id":107479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:40] local.INFO: IMEI packet received {"connection_id":107479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":107479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:40:42] local.INFO: TCP Data received {"connection_id":107479,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107479,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:42] local.INFO: Processing buffer {"connection_id":107479,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:40:42] local.INFO: IMEI packet received {"connection_id":107479,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":107479,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:40:44] local.INFO: TCP Data received {"connection_id":107479,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98d32d0012d181e400721af18004a00d228..."} 
[2026-06-18 12:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98d32d0012d181e400721af18004a00d228..."} 
[2026-06-18 12:40:44] local.INFO: Processing buffer {"connection_id":107479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98d32d0012d181e400721af18004a00d228..."} 
[2026-06-18 12:40:44] local.INFO: Packet analysis {"connection_id":107479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:40:44] local.INFO: Extracted packet for processing {"connection_id":107479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132185344001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781766370000,"timestamp_ms":1781766370000,"timestamp_seconds":1781766370,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98d32d0"} 
[2026-06-18 12:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 12:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132185344001,"66":12254,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132185344001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:40:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:40:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132185344001,"power":12254,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":107479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:40:44] local.INFO: GPS data processed {"connection_id":107479,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:40:44] local.INFO: Acknowledgment sent {"connection_id":107479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:40:47] local.INFO: TCP Data received {"connection_id":107479,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98d84d8012d181e400721af18004a00d227..."} 
[2026-06-18 12:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98d84d8012d181e400721af18004a00d227..."} 
[2026-06-18 12:40:47] local.INFO: Processing buffer {"connection_id":107479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98d84d8012d181e400721af18004a00d227..."} 
[2026-06-18 12:40:47] local.INFO: Packet analysis {"connection_id":107479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:40:47] local.INFO: Extracted packet for processing {"connection_id":107479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132190720001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781766391000,"timestamp_ms":1781766391000,"timestamp_seconds":1781766391,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98d84d8"} 
[2026-06-18 12:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:40:47] 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-06-18 12:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-18 12:40:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132190720001,"66":12287,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132190720001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:40:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132190720001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":107479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:40:47] local.INFO: GPS data processed {"connection_id":107479,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:40:47] local.INFO: Acknowledgment sent {"connection_id":107479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:41:06] local.INFO: TCP Data received {"connection_id":105761,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed990f3c0012d0b0ec006f0ee20000a01322a..."} 
[2026-06-18 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed990f3c0012d0b0ec006f0ee20000a01322a..."} 
[2026-06-18 12:41:06] local.INFO: Processing buffer {"connection_id":105761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed990f3c0012d0b0ec006f0ee20000a01322a..."} 
[2026-06-18 12:41:06] local.INFO: Packet analysis {"connection_id":105761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed990"} 
[2026-06-18 12:41:06] local.INFO: Extracted packet for processing {"connection_id":105761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed990"} 
[2026-06-18 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":755699392,"raw_latitude":116452896,"longitude_deg":75.5699392,"latitude_deg":11.6452896,"altitude":10,"angle":306,"satellites":42,"speed":27,"hex_longitude":"2d0b0ec0","hex_latitude":"06f0ee20","is_valid_coordinates":true} 
[2026-06-18 12:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132252160001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318331641560825856,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":799881544878626816,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781766616000,"timestamp_ms":1781766616000,"timestamp_seconds":1781766616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed990f3c0"} 
[2026-06-18 12:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:41: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-06-18 12:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132252160001,"66":27930,"118":206,"2":56576,"24":27,"16":318331641560825856,"45":799881544878626816},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132252160001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:41:06] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318331641560825856,"km_value":318331641560825.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":799881544878626816,"description":"Unknown IO ID 45"} 
[2026-06-18 12:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132252160001,"power":27930,"unknown_118":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":799881544878626816}} 
[2026-06-18 12:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":105761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:41:06] local.INFO: GPS data processed {"connection_id":105761,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:41:06] local.INFO: Acknowledgment sent {"connection_id":105761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:41:09] local.INFO: TCP Data received {"connection_id":105940,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:41:09] local.INFO: Processing buffer {"connection_id":105940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:41:09] local.INFO: IMEI packet received {"connection_id":105940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":105940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:41:18] local.INFO: TCP Data received {"connection_id":107479,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98dd6e0012d181e400721af18004a00d228..."} 
[2026-06-18 12:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98dd6e0012d181e400721af18004a00d228..."} 
[2026-06-18 12:41:18] local.INFO: Processing buffer {"connection_id":107479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98dd6e0012d181e400721af18004a00d228..."} 
[2026-06-18 12:41:18] local.INFO: Packet analysis {"connection_id":107479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:41:18] local.INFO: Extracted packet for processing {"connection_id":107479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98d"} 
[2026-06-18 12:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132196096001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781766412000,"timestamp_ms":1781766412000,"timestamp_seconds":1781766412,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98dd6e0"} 
[2026-06-18 12:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 12:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107479,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132196096001,"66":12287,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132196096001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:41:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:41:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132196096001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":107479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:41:18] local.INFO: GPS data processed {"connection_id":107479,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:41:18] local.INFO: Acknowledgment sent {"connection_id":107479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:41:25] local.INFO: TCP Data received {"connection_id":106512,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:25] local.INFO: Processing buffer {"connection_id":106512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:25] local.INFO: IMEI packet received {"connection_id":106512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":106512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:41:27] local.INFO: TCP Data received {"connection_id":106512,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:27] local.INFO: Processing buffer {"connection_id":106512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:27] local.INFO: IMEI packet received {"connection_id":106512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":106512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:41:32] local.INFO: TCP Data received {"connection_id":106512,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:32] local.INFO: Processing buffer {"connection_id":106512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:41:32] local.INFO: IMEI packet received {"connection_id":106512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":106512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:41:33] local.INFO: TCP Data received {"connection_id":105941,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:41:33] local.INFO: Processing buffer {"connection_id":105941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:41:33] local.INFO: IMEI packet received {"connection_id":105941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":105941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:41:34] local.INFO: TCP Data received {"connection_id":106512,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed990fb90012d0b09c006f0f0d8000901252a..."} 
[2026-06-18 12:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed990fb90012d0b09c006f0f0d8000901252a..."} 
[2026-06-18 12:41:34] local.INFO: Processing buffer {"connection_id":106512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed990fb90012d0b09c006f0f0d8000901252a..."} 
[2026-06-18 12:41:34] local.INFO: Packet analysis {"connection_id":106512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed990"} 
[2026-06-18 12:41:34] local.INFO: Extracted packet for processing {"connection_id":106512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed990"} 
[2026-06-18 12:41:34] local.INFO: GPS Element Parsed {"raw_longitude":755698112,"raw_latitude":116453592,"longitude_deg":75.5698112,"latitude_deg":11.6453592,"altitude":9,"angle":293,"satellites":42,"speed":29,"hex_longitude":"2d0b09c0","hex_latitude":"06f0f0d8","is_valid_coordinates":true} 
[2026-06-18 12:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132253696001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318331714575269888,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796785320135630848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781766618000,"timestamp_ms":1781766618000,"timestamp_seconds":1781766618,"priority":1,"record_length":96,"hex_timestamp":"0000019ed990fb90"} 
[2026-06-18 12:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:41: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-06-18 12: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:41: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-06-18 12: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-06-18 12:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132253696001,"66":27919,"118":206,"2":56576,"24":29,"16":318331714575269888,"45":796785320135630848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132253696001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:41:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318331714575269888,"km_value":318331714575269.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":796785320135630848,"description":"Unknown IO ID 45"} 
[2026-06-18 12:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132253696001,"power":27919,"unknown_118":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":796785320135630848}} 
[2026-06-18 12:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":106512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:41:34] local.INFO: GPS data processed {"connection_id":106512,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:41:34] local.INFO: Acknowledgment sent {"connection_id":106512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:41:35] local.INFO: TCP Data received {"connection_id":106512,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9910748012d0b024006f0f4b0000a01332a..."} 
[2026-06-18 12:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9910748012d0b024006f0f4b0000a01332a..."} 
[2026-06-18 12:41:35] local.INFO: Processing buffer {"connection_id":106512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9910748012d0b024006f0f4b0000a01332a..."} 
[2026-06-18 12:41:35] local.INFO: Packet analysis {"connection_id":106512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:41:35] local.INFO: Extracted packet for processing {"connection_id":106512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:41:35] local.INFO: GPS Element Parsed {"raw_longitude":755696192,"raw_latitude":116454576,"longitude_deg":75.5696192,"latitude_deg":11.6454576,"altitude":10,"angle":307,"satellites":42,"speed":27,"hex_longitude":"2d0b0240","hex_latitude":"06f0f4b0","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132254208001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318331813359517696,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795377945252255744,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781766621000,"timestamp_ms":1781766621000,"timestamp_seconds":1781766621,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9910748"} 
[2026-06-18 12:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:41: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-06-18 12: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-06-18 12:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132254208001,"66":27919,"118":206,"2":56576,"24":27,"16":318331813359517696,"45":795377945252255744},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132254208001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:41:35] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318331813359517696,"km_value":318331813359517.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:41:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":795377945252255744,"description":"Unknown IO ID 45"} 
[2026-06-18 12:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132254208001,"power":27919,"unknown_118":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":795377945252255744}} 
[2026-06-18 12:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":106512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:41:35] local.INFO: GPS data processed {"connection_id":106512,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:41:35] local.INFO: Acknowledgment sent {"connection_id":106512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:41:41] local.INFO: TCP Data received {"connection_id":105942,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:41:41] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:41:41] local.INFO: IMEI packet received {"connection_id":105942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":105942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:41:42] local.INFO: TCP Data received {"connection_id":105942,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:41:42] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:41:42] local.INFO: IMEI packet received {"connection_id":105942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":105942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:41:43] local.INFO: TCP Data received {"connection_id":105942,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98e28e8012d181e400721af18004a00d229..."} 
[2026-06-18 12:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98e28e8012d181e400721af18004a00d229..."} 
[2026-06-18 12:41:43] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98e28e8012d181e400721af18004a00d229..."} 
[2026-06-18 12:41:43] local.INFO: Packet analysis {"connection_id":105942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98e"} 
[2026-06-18 12:41:43] local.INFO: Extracted packet for processing {"connection_id":105942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98e"} 
[2026-06-18 12:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132201472001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781766433000,"timestamp_ms":1781766433000,"timestamp_seconds":1781766433,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98e28e8"} 
[2026-06-18 12:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 12:41:43] 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-06-18 12:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132201472001,"66":12232,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132201472001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:41:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:41:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132201472001,"power":12232,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":105942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:41:44] local.INFO: GPS data processed {"connection_id":105942,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:41:44] local.INFO: Acknowledgment sent {"connection_id":105942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:41:50] local.INFO: TCP Data received {"connection_id":105942,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98e7af0012d181e400721af18004a00d228..."} 
[2026-06-18 12:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98e7af0012d181e400721af18004a00d228..."} 
[2026-06-18 12:41:50] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98e7af0012d181e400721af18004a00d228..."} 
[2026-06-18 12:41:50] local.INFO: Packet analysis {"connection_id":105942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98e"} 
[2026-06-18 12:41:50] local.INFO: Extracted packet for processing {"connection_id":105942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98e"} 
[2026-06-18 12:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132206848001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781766454000,"timestamp_ms":1781766454000,"timestamp_seconds":1781766454,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98e7af0"} 
[2026-06-18 12:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 12:41:50] 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-06-18 12:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132206848001,"66":12287,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132206848001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:41:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:41:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132206848001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":105942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:41:50] local.INFO: GPS data processed {"connection_id":105942,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:41:50] local.INFO: Acknowledgment sent {"connection_id":105942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:42:07] local.INFO: TCP Data received {"connection_id":106512,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9913240012d0ae80006f10cf8000d013b2a..."} 
[2026-06-18 12:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9913240012d0ae80006f10cf8000d013b2a..."} 
[2026-06-18 12:42:07] local.INFO: Processing buffer {"connection_id":106512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9913240012d0ae80006f10cf8000d013b2a..."} 
[2026-06-18 12:42:07] local.INFO: Packet analysis {"connection_id":106512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:42:07] local.INFO: Extracted packet for processing {"connection_id":106512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":755689472,"raw_latitude":116460792,"longitude_deg":75.5689472,"latitude_deg":11.6460792,"altitude":13,"angle":315,"satellites":42,"speed":35,"hex_longitude":"2d0ae800","hex_latitude":"06f10cf8","is_valid_coordinates":true} 
[2026-06-18 12:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132254976001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318332255741149184,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":793266882927177728,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781766632000,"timestamp_ms":1781766632000,"timestamp_seconds":1781766632,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9913240"} 
[2026-06-18 12:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132254976001,"66":27919,"118":206,"2":56576,"24":35,"16":318332255741149184,"45":793266882927177728},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132254976001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:42:07] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318332255741149184,"km_value":318332255741149.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":793266882927177728,"description":"Unknown IO ID 45"} 
[2026-06-18 12:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132254976001,"power":27919,"unknown_118":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":793266882927177728}} 
[2026-06-18 12:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":106512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:42:07] local.INFO: GPS data processed {"connection_id":106512,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:42:07] local.INFO: Acknowledgment sent {"connection_id":106512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:42:22] local.INFO: TCP Data received {"connection_id":105942,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98eccf8012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98eccf8012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:22] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98eccf8012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:22] local.INFO: Packet analysis {"connection_id":105942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98e"} 
[2026-06-18 12:42:22] local.INFO: Extracted packet for processing {"connection_id":105942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98e"} 
[2026-06-18 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132212224001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781766475000,"timestamp_ms":1781766475000,"timestamp_seconds":1781766475,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98eccf8"} 
[2026-06-18 12:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 12:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132212224001,"66":12265,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132212224001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:42:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:42:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132212224001,"power":12265,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":105942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:42:22] local.INFO: GPS data processed {"connection_id":105942,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:42:22] local.INFO: Acknowledgment sent {"connection_id":105942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:42:25] local.INFO: TCP Data received {"connection_id":107480,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:25] local.INFO: Processing buffer {"connection_id":107480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:25] local.INFO: IMEI packet received {"connection_id":107480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":107480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:42:25] local.INFO: TCP Data received {"connection_id":107480,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:25] local.INFO: Processing buffer {"connection_id":107480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:25] local.INFO: IMEI packet received {"connection_id":107480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":107480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:42:31] local.INFO: TCP Data received {"connection_id":107480,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:31] local.INFO: Processing buffer {"connection_id":107480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:31] local.INFO: IMEI packet received {"connection_id":107480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":107480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:42:33] local.INFO: TCP Data received {"connection_id":107480,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:33] local.INFO: Processing buffer {"connection_id":107480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:42:33] local.INFO: IMEI packet received {"connection_id":107480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":107480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:42:34] local.INFO: TCP Data received {"connection_id":107480,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9916508012d0acd4006f126700010013a28..."} 
[2026-06-18 12:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9916508012d0acd4006f126700010013a28..."} 
[2026-06-18 12:42:34] local.INFO: Processing buffer {"connection_id":107480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9916508012d0acd4006f126700010013a28..."} 
[2026-06-18 12:42:34] local.INFO: Packet analysis {"connection_id":107480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:42:34] local.INFO: Extracted packet for processing {"connection_id":107480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":755682624,"raw_latitude":116467312,"longitude_deg":75.5682624,"latitude_deg":11.6467312,"altitude":16,"angle":314,"satellites":40,"speed":29,"hex_longitude":"2d0acd40","hex_latitude":"06f12670","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132257792001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318332706712715264,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785878164790114304,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781766645000,"timestamp_ms":1781766645000,"timestamp_seconds":1781766645,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9916508"} 
[2026-06-18 12:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:42: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-06-18 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132257792001,"66":28050,"118":206,"2":56576,"24":29,"16":318332706712715264,"45":785878164790114304},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132257792001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:42:34] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318332706712715264,"km_value":318332706712715.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":785878164790114304,"description":"Unknown IO ID 45"} 
[2026-06-18 12:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132257792001,"power":28050,"unknown_118":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":785878164790114304}} 
[2026-06-18 12:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":107480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:42:34] local.INFO: GPS data processed {"connection_id":107480,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:42:34] local.INFO: Acknowledgment sent {"connection_id":107480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:42:35] local.INFO: TCP Data received {"connection_id":107480,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99170c0012d0ac60006f12be80010012f28..."} 
[2026-06-18 12:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99170c0012d0ac60006f12be80010012f28..."} 
[2026-06-18 12:42:35] local.INFO: Processing buffer {"connection_id":107480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99170c0012d0ac60006f12be80010012f28..."} 
[2026-06-18 12:42:35] local.INFO: Packet analysis {"connection_id":107480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:42:35] local.INFO: Extracted packet for processing {"connection_id":107480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:42:35] local.INFO: GPS Element Parsed {"raw_longitude":755680768,"raw_latitude":116468712,"longitude_deg":75.5680768,"latitude_deg":11.6468712,"altitude":16,"angle":303,"satellites":40,"speed":32,"hex_longitude":"2d0ac600","hex_latitude":"06f12be8","is_valid_coordinates":true} 
[2026-06-18 12:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132261120001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318332818381864960,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":778348709164773376,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781766648000,"timestamp_ms":1781766648000,"timestamp_seconds":1781766648,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99170c0"} 
[2026-06-18 12:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 12:42:35] 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-06-18 12:42:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132261120001,"66":27876,"118":206,"2":56576,"24":32,"16":318332818381864960,"45":778348709164773376},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132261120001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:42:35] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318332818381864960,"km_value":318332818381864.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":778348709164773376,"description":"Unknown IO ID 45"} 
[2026-06-18 12:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132261120001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":778348709164773376}} 
[2026-06-18 12:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":107480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:42:35] local.INFO: GPS data processed {"connection_id":107480,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:42:35] local.INFO: Acknowledgment sent {"connection_id":107480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:42:36] local.INFO: TCP Data received {"connection_id":105762,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:42:36] local.INFO: Processing buffer {"connection_id":105762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:42:36] local.INFO: IMEI packet received {"connection_id":105762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":105762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:42:41] local.INFO: TCP Data received {"connection_id":105762,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:42:41] local.INFO: Processing buffer {"connection_id":105762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:42:41] local.INFO: IMEI packet received {"connection_id":105762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":105762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:42:52] local.INFO: TCP Data received {"connection_id":105762,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98f1f00012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98f1f00012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:52] local.INFO: Processing buffer {"connection_id":105762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98f1f00012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:52] local.INFO: Packet analysis {"connection_id":105762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:42:52] local.INFO: Extracted packet for processing {"connection_id":105762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:42:52] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132217600001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781766496000,"timestamp_ms":1781766496000,"timestamp_seconds":1781766496,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98f1f00"} 
[2026-06-18 12:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:42:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:42:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 12:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:42:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":105762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":105762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":105762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132217600001,"66":12265,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132217600001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:42:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:42:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132217600001,"power":12265,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":105762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:42:52] local.INFO: GPS data processed {"connection_id":105762,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:42:52] local.INFO: Acknowledgment sent {"connection_id":105762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:42:53] local.INFO: TCP Data received {"connection_id":105762,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed98f7108012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed98f7108012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:53] local.INFO: Processing buffer {"connection_id":105762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed98f7108012d181e400721af18004a00d228..."} 
[2026-06-18 12:42:53] local.INFO: Packet analysis {"connection_id":105762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:42:53] local.INFO: Extracted packet for processing {"connection_id":105762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed98f"} 
[2026-06-18 12:42:53] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648024,"longitude_deg":75.6555328,"latitude_deg":11.9648024,"altitude":74,"angle":210,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721af18","is_valid_coordinates":true} 
[2026-06-18 12:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:42:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132222976001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3333659125874688,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585661952,"note":"Value kept but may cause issues"} 
[2026-06-18 12:42:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:42:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781766517000,"timestamp_ms":1781766517000,"timestamp_seconds":1781766517,"priority":1,"record_length":96,"hex_timestamp":"0000019ed98f7108"} 
[2026-06-18 12:42:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:42:53] 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-06-18 12:42:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 12:42:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:42:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:42:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:42:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:42:53] local.INFO: Teltonika packet parsed successfully {"connection_id":105762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:42:53] local.INFO: Passing IMEI to GPS processor {"connection_id":105762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:42:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":105762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:42:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:42:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:42:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:42:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132222976001,"66":12265,"120":206,"28":31744,"24":0,"16":3333659125874688,"45":1737896905585661952},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 12:42:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:42:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:42:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132222976001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:42:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 12:42:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:42:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3333659125874688,"km_value":3333659125874.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:42:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585661952,"description":"Unknown IO ID 45"} 
[2026-06-18 12:42:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132222976001,"power":12265,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737896905585661952}} 
[2026-06-18 12:42:53] local.INFO: DEBUG: GPS processor result {"connection_id":105762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:42:53] local.INFO: GPS data processed {"connection_id":105762,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:42:53] local.INFO: Acknowledgment sent {"connection_id":105762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:43:08] local.INFO: TCP Data received {"connection_id":107480,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9919bb8012d0aa60006f13f680011012b27..."} 
[2026-06-18 12:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9919bb8012d0aa60006f13f680011012b27..."} 
[2026-06-18 12:43:08] local.INFO: Processing buffer {"connection_id":107480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9919bb8012d0aa60006f13f680011012b27..."} 
[2026-06-18 12:43:08] local.INFO: Packet analysis {"connection_id":107480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:43:08] local.INFO: Extracted packet for processing {"connection_id":107480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:43:08] local.INFO: GPS Element Parsed {"raw_longitude":755672576,"raw_latitude":116473704,"longitude_deg":75.5672576,"latitude_deg":11.6473704,"altitude":17,"angle":299,"satellites":39,"speed":32,"hex_longitude":"2d0aa600","hex_latitude":"06f13f68","is_valid_coordinates":true} 
[2026-06-18 12:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132261888001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318333277943365632,"note":"Value kept but may cause issues"} 
[2026-06-18 12:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":776308015583979520,"note":"Value kept but may cause issues"} 
[2026-06-18 12:43:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781766659000,"timestamp_ms":1781766659000,"timestamp_seconds":1781766659,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9919bb8"} 
[2026-06-18 12:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 12:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132261888001,"66":27919,"118":206,"2":56576,"24":32,"16":318333277943365632,"45":776308015583979520},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-06-18 12:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132261888001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:43:08] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-06-18 12:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318333277943365632,"km_value":318333277943365.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":776308015583979520,"description":"Unknown IO ID 45"} 
[2026-06-18 12:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132261888001,"power":27919,"unknown_118":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":776308015583979520}} 
[2026-06-18 12:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":107480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:43:08] local.INFO: GPS data processed {"connection_id":107480,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:43:08] local.INFO: Acknowledgment sent {"connection_id":107480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:43:30] local.INFO: TCP Data received {"connection_id":106513,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:43:30] local.INFO: Processing buffer {"connection_id":106513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:43:30] local.INFO: IMEI packet received {"connection_id":106513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":106513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:43:35] local.INFO: TCP Data received {"connection_id":106513,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:43:35] local.INFO: Processing buffer {"connection_id":106513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:43:35] local.INFO: IMEI packet received {"connection_id":106513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":106513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:43:35] local.INFO: TCP Data received {"connection_id":105943,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:43:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:43:35] local.INFO: Processing buffer {"connection_id":105943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:43:35] local.INFO: IMEI packet received {"connection_id":105943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:43:35] local.INFO: IMEI acknowledgment sent {"connection_id":105943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:43:51] local.INFO: TCP Data received {"connection_id":105943,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:43:51] local.INFO: Processing buffer {"connection_id":105943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:43:51] local.INFO: IMEI packet received {"connection_id":105943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":105943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:43:51] local.INFO: TCP Data received {"connection_id":106513,"ip":"117.224.95.96","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed9..."} 
[2026-06-18 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106513,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed9..."} 
[2026-06-18 12:43:51] local.INFO: Processing buffer {"connection_id":106513,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed9..."} 
[2026-06-18 12:43:51] local.INFO: IMEI packet received {"connection_id":106513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":106513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:43:51] local.INFO: TCP Data received {"connection_id":105943,"ip":"117.224.70.101","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 12:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105943,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 12:43:51] local.INFO: Processing buffer {"connection_id":105943,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 12:43:51] local.INFO: IMEI packet received {"connection_id":105943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":105943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:44:22] local.INFO: TCP Data received {"connection_id":106513,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed991f1a8012d0a664006f166680012012e26..."} 
[2026-06-18 12:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed991f1a8012d0a664006f166680012012e26..."} 
[2026-06-18 12:44:22] local.INFO: Processing buffer {"connection_id":106513,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed991ca98012d0a850006f152d00013012f28..."} 
[2026-06-18 12:44:22] local.INFO: Packet analysis {"connection_id":106513,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:44:22] local.INFO: Extracted packet for processing {"connection_id":106513,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:44:22] local.INFO: GPS Element Parsed {"raw_longitude":755664128,"raw_latitude":116478672,"longitude_deg":75.5664128,"latitude_deg":11.6478672,"altitude":19,"angle":303,"satellites":40,"speed":35,"hex_longitude":"2d0a8500","hex_latitude":"06f152d0","is_valid_coordinates":true} 
[2026-06-18 12:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132264704001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318333746094800896,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":767300816330516480,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781766671000,"timestamp_ms":1781766671000,"timestamp_seconds":1781766671,"priority":1,"record_length":96,"hex_timestamp":"0000019ed991ca98"} 
[2026-06-18 12:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:44:22] 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-06-18 12:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:44:22] 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-06-18 12:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132264704001,"66":27995,"119":206,"2":56576,"24":35,"16":318333746094800896,"45":767300816330516480},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-18 12:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132264704001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:44:22] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-18 12:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318333746094800896,"km_value":318333746094800.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":767300816330516480,"description":"Unknown IO ID 45"} 
[2026-06-18 12:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132264704001,"power":27995,"unknown_119":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":767300816330516480}} 
[2026-06-18 12:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":106513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:44:22] local.INFO: GPS data processed {"connection_id":106513,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:44:22] local.INFO: Acknowledgment sent {"connection_id":106513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:44:22] local.INFO: Packet analysis {"connection_id":106513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:44:22] local.INFO: Extracted packet for processing {"connection_id":106513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed991"} 
[2026-06-18 12:44:22] local.INFO: GPS Element Parsed {"raw_longitude":755656256,"raw_latitude":116483688,"longitude_deg":75.5656256,"latitude_deg":11.6483688,"altitude":18,"angle":302,"satellites":38,"speed":36,"hex_longitude":"2d0a6640","hex_latitude":"06f16668","is_valid_coordinates":true} 
[2026-06-18 12:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132267776001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318334192771399680,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":758012142100336640,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781766681000,"timestamp_ms":1781766681000,"timestamp_seconds":1781766681,"priority":1,"record_length":96,"hex_timestamp":"0000019ed991f1a8"} 
[2026-06-18 12:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:44:22] 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-06-18 12:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:44: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-06-18 12:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132267776001,"66":27800,"119":206,"2":56576,"24":36,"16":318334192771399680,"45":758012142100336640},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-18 12:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132267776001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:44:22] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-18 12:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318334192771399680,"km_value":318334192771399.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":758012142100336640,"description":"Unknown IO ID 45"} 
[2026-06-18 12:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132267776001,"power":27800,"unknown_119":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":758012142100336640}} 
[2026-06-18 12:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":106513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:44:22] local.INFO: GPS data processed {"connection_id":106513,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:44:22] local.INFO: Acknowledgment sent {"connection_id":106513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:44:26] local.INFO: TCP Data received {"connection_id":106513,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99218b8012d0a45c006f17c180011012d25..."} 
[2026-06-18 12:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99218b8012d0a45c006f17c180011012d25..."} 
[2026-06-18 12:44:26] local.INFO: Processing buffer {"connection_id":106513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99218b8012d0a45c006f17c180011012d25..."} 
[2026-06-18 12:44:26] local.INFO: Packet analysis {"connection_id":106513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed992"} 
[2026-06-18 12:44:26] local.INFO: Extracted packet for processing {"connection_id":106513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed992"} 
[2026-06-18 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":755647936,"raw_latitude":116489240,"longitude_deg":75.5647936,"latitude_deg":11.648924,"altitude":17,"angle":301,"satellites":37,"speed":43,"hex_longitude":"2d0a45c0","hex_latitude":"06f17c18","is_valid_coordinates":true} 
[2026-06-18 12:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132270336001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318334669512769536,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":749356786567768064,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781766691000,"timestamp_ms":1781766691000,"timestamp_seconds":1781766691,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99218b8"} 
[2026-06-18 12:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 12:44: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-06-18 12:44:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132270336001,"66":27919,"119":206,"2":56576,"24":43,"16":318334669512769536,"45":749356786567768064},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-18 12:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132270336001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:44:26] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-18 12:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318334669512769536,"km_value":318334669512769.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":749356786567768064,"description":"Unknown IO ID 45"} 
[2026-06-18 12:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132270336001,"power":27919,"unknown_119":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":749356786567768064}} 
[2026-06-18 12:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":106513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:44:26] local.INFO: GPS data processed {"connection_id":106513,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:44:26] local.INFO: Acknowledgment sent {"connection_id":106513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:44:28] local.INFO: TCP Data received {"connection_id":107482,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:28] local.INFO: Processing buffer {"connection_id":107482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:28] local.INFO: IMEI packet received {"connection_id":107482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":107482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:44:30] local.INFO: TCP Data received {"connection_id":107482,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:30] local.INFO: Processing buffer {"connection_id":107482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:30] local.INFO: IMEI packet received {"connection_id":107482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":107482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:44:35] local.INFO: TCP Data received {"connection_id":107482,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:35] local.INFO: Processing buffer {"connection_id":107482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:44:35] local.INFO: IMEI packet received {"connection_id":107482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":107482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:44:36] local.INFO: TCP Data received {"connection_id":107482,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed993ce38012d09adc006f2a1980009000e26..."} 
[2026-06-18 12:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed993ce38012d09adc006f2a1980009000e26..."} 
[2026-06-18 12:44:36] local.INFO: Processing buffer {"connection_id":107482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed993ce38012d09adc006f2a1980009000e26..."} 
[2026-06-18 12:44:36] local.INFO: Packet analysis {"connection_id":107482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed993"} 
[2026-06-18 12:44:36] local.INFO: Extracted packet for processing {"connection_id":107482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed993"} 
[2026-06-18 12:44:36] local.INFO: GPS Element Parsed {"raw_longitude":755609024,"raw_latitude":116564376,"longitude_deg":75.5609024,"latitude_deg":11.6564376,"altitude":9,"angle":14,"satellites":38,"speed":27,"hex_longitude":"2d09adc0","hex_latitude":"06f2a198","is_valid_coordinates":true} 
[2026-06-18 12:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132301056001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318338960185098240,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697283915896592384,"note":"Value kept but may cause issues"} 
[2026-06-18 12:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781766803000,"timestamp_ms":1781766803000,"timestamp_seconds":1781766803,"priority":1,"record_length":96,"hex_timestamp":"0000019ed993ce38"} 
[2026-06-18 12:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 12:44:36] 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-06-18 12:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132301056001,"66":27876,"119":206,"2":56576,"24":27,"16":318338960185098240,"45":697283915896592384},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-18 12:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132301056001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:44:36] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-18 12:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318338960185098240,"km_value":318338960185098.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":697283915896592384,"description":"Unknown IO ID 45"} 
[2026-06-18 12:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132301056001,"power":27876,"unknown_119":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":697283915896592384}} 
[2026-06-18 12:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":107482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:44:36] local.INFO: GPS data processed {"connection_id":107482,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:44:36] local.INFO: Acknowledgment sent {"connection_id":107482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:45:07] local.INFO: TCP Data received {"connection_id":107482,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed993e1c0012d09b08006f2aea8000b000227..."} 
[2026-06-18 12:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed993e1c0012d09b08006f2aea8000b000227..."} 
[2026-06-18 12:45:08] local.INFO: Processing buffer {"connection_id":107482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed993e1c0012d09b08006f2aea8000b000227..."} 
[2026-06-18 12:45:08] local.INFO: Packet analysis {"connection_id":107482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed993"} 
[2026-06-18 12:45:08] local.INFO: Extracted packet for processing {"connection_id":107482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed993"} 
[2026-06-18 12:45:08] local.INFO: GPS Element Parsed {"raw_longitude":755609728,"raw_latitude":116567720,"longitude_deg":75.5609728,"latitude_deg":11.656772,"altitude":11,"angle":2,"satellites":39,"speed":27,"hex_longitude":"2d09b080","hex_latitude":"06f2aea8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132301568001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318339127688822784,"note":"Value kept but may cause issues"} 
[2026-06-18 12:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":697424653385308160,"note":"Value kept but may cause issues"} 
[2026-06-18 12:45:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781766808000,"timestamp_ms":1781766808000,"timestamp_seconds":1781766808,"priority":1,"record_length":96,"hex_timestamp":"0000019ed993e1c0"} 
[2026-06-18 12:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 12:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132301568001,"66":27930,"119":206,"2":56576,"24":27,"16":318339127688822784,"45":697424653385308160},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-18 12:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132301568001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:45:08] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-18 12:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318339127688822784,"km_value":318339127688822.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":697424653385308160,"description":"Unknown IO ID 45"} 
[2026-06-18 12:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132301568001,"power":27930,"unknown_119":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":697424653385308160}} 
[2026-06-18 12:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":107482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:45:08] local.INFO: GPS data processed {"connection_id":107482,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:45:08] local.INFO: Acknowledgment sent {"connection_id":107482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:45:24] local.INFO: TCP Data received {"connection_id":106514,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:24] local.INFO: Processing buffer {"connection_id":106514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:24] local.INFO: IMEI packet received {"connection_id":106514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":106514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:45:25] local.INFO: TCP Data received {"connection_id":106514,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:25] local.INFO: Processing buffer {"connection_id":106514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:25] local.INFO: IMEI packet received {"connection_id":106514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":106514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:45:30] local.INFO: TCP Data received {"connection_id":106514,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:30] local.INFO: Processing buffer {"connection_id":106514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:45:30] local.INFO: IMEI packet received {"connection_id":106514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":106514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:45:31] local.INFO: TCP Data received {"connection_id":106514,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed993e990012d09b04006f2b420000c015f24..."} 
[2026-06-18 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed993e990012d09b04006f2b420000c015f24..."} 
[2026-06-18 12:45:31] local.INFO: Processing buffer {"connection_id":106514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed993e990012d09b04006f2b420000c015f24..."} 
[2026-06-18 12:45:31] local.INFO: Packet analysis {"connection_id":106514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed993"} 
[2026-06-18 12:45:31] local.INFO: Extracted packet for processing {"connection_id":106514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed993"} 
[2026-06-18 12:45:31] local.INFO: GPS Element Parsed {"raw_longitude":755609664,"raw_latitude":116569120,"longitude_deg":75.5609664,"latitude_deg":11.656912,"altitude":12,"angle":351,"satellites":36,"speed":28,"hex_longitude":"2d09b040","hex_latitude":"06f2b420","is_valid_coordinates":true} 
[2026-06-18 12:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132302848001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318339196408299520,"note":"Value kept but may cause issues"} 
[2026-06-18 12:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":698198709572118528,"note":"Value kept but may cause issues"} 
[2026-06-18 12:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781766810000,"timestamp_ms":1781766810000,"timestamp_seconds":1781766810,"priority":1,"record_length":96,"hex_timestamp":"0000019ed993e990"} 
[2026-06-18 12:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 12:45: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-06-18 12:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132302848001,"66":28006,"119":206,"2":56576,"24":28,"16":318339196408299520,"45":698198709572118528},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16,45]} 
[2026-06-18 12:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132302848001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:45:31] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-06-18 12:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318339196408299520,"km_value":318339196408299.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":698198709572118528,"description":"Unknown IO ID 45"} 
[2026-06-18 12:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132302848001,"power":28006,"unknown_119":206,"power_alt":56576,"ignition":28,"odometer":null,"unknown_45":698198709572118528}} 
[2026-06-18 12:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":106514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:45:31] local.INFO: GPS data processed {"connection_id":106514,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:45:31] local.INFO: Acknowledgment sent {"connection_id":106514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:46:03] local.INFO: TCP Data received {"connection_id":106514,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99558c0012d09780006f40a60000b015b28..."} 
[2026-06-18 12:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99558c0012d09780006f40a60000b015b28..."} 
[2026-06-18 12:46:03] local.INFO: Processing buffer {"connection_id":106514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99558c0012d09780006f40a60000b015b28..."} 
[2026-06-18 12:46:03] local.INFO: Packet analysis {"connection_id":106514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:46:03] local.INFO: Extracted packet for processing {"connection_id":106514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:46:03] local.INFO: GPS Element Parsed {"raw_longitude":755595264,"raw_latitude":116656736,"longitude_deg":75.5595264,"latitude_deg":11.6656736,"altitude":11,"angle":347,"satellites":40,"speed":45,"hex_longitude":"2d097800","hex_latitude":"06f40a60","is_valid_coordinates":true} 
[2026-06-18 12:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132325376001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318343512850432000,"note":"Value kept but may cause issues"} 
[2026-06-18 12:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":685039754431379456,"note":"Value kept but may cause issues"} 
[2026-06-18 12:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781766904000,"timestamp_ms":1781766904000,"timestamp_seconds":1781766904,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99558c0"} 
[2026-06-18 12:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:46: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-06-18 12:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132325376001,"66":27321,"67":206,"2":56576,"24":45,"16":318343512850432000,"45":685039754431379456},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-18 12:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132325376001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:46:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-18 12:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318343512850432000,"km_value":318343512850432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":685039754431379456,"description":"Unknown IO ID 45"} 
[2026-06-18 12:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132325376001,"power":27321,"unknown_67":206,"power_alt":56576,"ignition":45,"odometer":null,"unknown_45":685039754431379456}} 
[2026-06-18 12:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":106514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:46:03] local.INFO: GPS data processed {"connection_id":106514,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:46:03] local.INFO: Acknowledgment sent {"connection_id":106514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:46:23] local.INFO: TCP Data received {"connection_id":106515,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:23] local.INFO: Processing buffer {"connection_id":106515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:23] local.INFO: IMEI packet received {"connection_id":106515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":106515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:46:25] local.INFO: TCP Data received {"connection_id":106515,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:25] local.INFO: Processing buffer {"connection_id":106515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:25] local.INFO: IMEI packet received {"connection_id":106515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":106515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:46:30] local.INFO: TCP Data received {"connection_id":106515,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:30] local.INFO: Processing buffer {"connection_id":106515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:46:30] local.INFO: IMEI packet received {"connection_id":106515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":106515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:46:31] local.INFO: TCP Data received {"connection_id":106515,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9957800012d096c4006f43000000901552a..."} 
[2026-06-18 12:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9957800012d096c4006f43000000901552a..."} 
[2026-06-18 12:46:32] local.INFO: Processing buffer {"connection_id":106515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9957800012d096c4006f43000000901552a..."} 
[2026-06-18 12:46:32] local.INFO: Packet analysis {"connection_id":106515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:46:32] local.INFO: Extracted packet for processing {"connection_id":106515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":755592256,"raw_latitude":116666368,"longitude_deg":75.5592256,"latitude_deg":11.6666368,"altitude":9,"angle":341,"satellites":42,"speed":53,"hex_longitude":"2d096c40","hex_latitude":"06f43000","is_valid_coordinates":true} 
[2026-06-18 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132327424001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318344002476703744,"note":"Value kept but may cause issues"} 
[2026-06-18 12:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":682295373410754560,"note":"Value kept but may cause issues"} 
[2026-06-18 12:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781766912000,"timestamp_ms":1781766912000,"timestamp_seconds":1781766912,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9957800"} 
[2026-06-18 12:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 12:46: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-06-18 12:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132327424001,"66":27995,"67":206,"2":56576,"24":53,"16":318344002476703744,"45":682295373410754560},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-18 12:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132327424001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:46:32] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-18 12:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318344002476703744,"km_value":318344002476703.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":682295373410754560,"description":"Unknown IO ID 45"} 
[2026-06-18 12:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132327424001,"power":27995,"unknown_67":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":682295373410754560}} 
[2026-06-18 12:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":106515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:46:32] local.INFO: GPS data processed {"connection_id":106515,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:46:32] local.INFO: Acknowledgment sent {"connection_id":106515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:46:59] local.INFO: TCP Data received {"connection_id":107485,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:46:59] local.INFO: Processing buffer {"connection_id":107485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:46:59] local.INFO: IMEI packet received {"connection_id":107485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":107485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:47:03] local.INFO: TCP Data received {"connection_id":106515,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9959358012d09614006f453e00008015629..."} 
[2026-06-18 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9959358012d09614006f453e00008015629..."} 
[2026-06-18 12:47:03] local.INFO: Processing buffer {"connection_id":106515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9959358012d09614006f453e00008015629..."} 
[2026-06-18 12:47:03] local.INFO: Packet analysis {"connection_id":106515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:47:03] local.INFO: Extracted packet for processing {"connection_id":106515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":755589440,"raw_latitude":116675552,"longitude_deg":75.558944,"latitude_deg":11.6675552,"altitude":8,"angle":342,"satellites":41,"speed":53,"hex_longitude":"2d096140","hex_latitude":"06f453e0","is_valid_coordinates":true} 
[2026-06-18 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132329472001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318344466333171712,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":678988042436870144,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781766919000,"timestamp_ms":1781766919000,"timestamp_seconds":1781766919,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9959358"} 
[2026-06-18 12:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:47: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-06-18 12:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132329472001,"66":28006,"67":206,"2":56576,"24":53,"16":318344466333171712,"45":678988042436870144},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-18 12:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132329472001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:47:03] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-18 12:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318344466333171712,"km_value":318344466333171.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":678988042436870144,"description":"Unknown IO ID 45"} 
[2026-06-18 12:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132329472001,"power":28006,"unknown_67":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":678988042436870144}} 
[2026-06-18 12:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":106515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:47:03] local.INFO: GPS data processed {"connection_id":106515,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:47:03] local.INFO: Acknowledgment sent {"connection_id":106515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:47:25] local.INFO: TCP Data received {"connection_id":105764,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:25] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:25] local.INFO: IMEI packet received {"connection_id":105764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:47:25] local.INFO: IMEI acknowledgment sent {"connection_id":105764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:47:28] local.INFO: TCP Data received {"connection_id":105764,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:28] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:28] local.INFO: IMEI packet received {"connection_id":105764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":105764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:47:30] local.INFO: TCP Data received {"connection_id":105764,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:30] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:47:30] local.INFO: IMEI packet received {"connection_id":105764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":105764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:47:33] local.INFO: TCP Data received {"connection_id":106516,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:47:33] local.INFO: Processing buffer {"connection_id":106516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:47:33] local.INFO: IMEI packet received {"connection_id":106516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":106516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:47:34] local.INFO: TCP Data received {"connection_id":105764,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed995b298012d09554006f477c80008014f28..."} 
[2026-06-18 12:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed995b298012d09554006f477c80008014f28..."} 
[2026-06-18 12:47:34] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed995b298012d09554006f477c80008014f28..."} 
[2026-06-18 12:47:34] local.INFO: Packet analysis {"connection_id":105764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:47:34] local.INFO: Extracted packet for processing {"connection_id":105764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:47:34] local.INFO: GPS Element Parsed {"raw_longitude":755586368,"raw_latitude":116684744,"longitude_deg":75.5586368,"latitude_deg":11.6684744,"altitude":8,"angle":335,"satellites":40,"speed":42,"hex_longitude":"2d095540","hex_latitude":"06f477c8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132331264001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318344938779574272,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":675891817695404032,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781766927000,"timestamp_ms":1781766927000,"timestamp_seconds":1781766927,"priority":1,"record_length":96,"hex_timestamp":"0000019ed995b298"} 
[2026-06-18 12:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:47: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-06-18 12: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":102,"data_length":795,"current_offset":136} 
[2026-06-18 12:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132331264001,"66":27821,"67":206,"2":56576,"24":42,"16":318344938779574272,"45":675891817695404032},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-06-18 12:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132331264001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:47:34] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-18 12:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318344938779574272,"km_value":318344938779574.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":675891817695404032,"description":"Unknown IO ID 45"} 
[2026-06-18 12:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132331264001,"power":27821,"unknown_67":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":675891817695404032}} 
[2026-06-18 12:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":105764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:47:34] local.INFO: GPS data processed {"connection_id":105764,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:47:34] local.INFO: Acknowledgment sent {"connection_id":105764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:47:35] local.INFO: TCP Data received {"connection_id":105764,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed995d1d8012d09450006f496b00007014929..."} 
[2026-06-18 12:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed995d1d8012d09450006f496b00007014929..."} 
[2026-06-18 12:47:35] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed995d1d8012d09450006f496b00007014929..."} 
[2026-06-18 12:47:35] local.INFO: Packet analysis {"connection_id":105764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:47:35] local.INFO: Extracted packet for processing {"connection_id":105764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed995"} 
[2026-06-18 12:47:35] local.INFO: GPS Element Parsed {"raw_longitude":755582208,"raw_latitude":116692656,"longitude_deg":75.5582208,"latitude_deg":11.6692656,"altitude":7,"angle":329,"satellites":41,"speed":44,"hex_longitude":"2d094500","hex_latitude":"06f496b0","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132333312001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318345368276303872,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":672514117977229312,"note":"Value kept but may cause issues"} 
[2026-06-18 12:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781766935000,"timestamp_ms":1781766935000,"timestamp_seconds":1781766935,"priority":1,"record_length":96,"hex_timestamp":"0000019ed995d1d8"} 
[2026-06-18 12:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 12:47: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-06-18 12: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-06-18 12:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132333312001,"66":27767,"69":206,"2":56576,"24":44,"16":318345368276303872,"45":672514117977229312},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-18 12:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132333312001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:47:35] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 12:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318345368276303872,"km_value":318345368276303.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":672514117977229312,"description":"Unknown IO ID 45"} 
[2026-06-18 12:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132333312001,"power":27767,"unknown_69":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":672514117977229312}} 
[2026-06-18 12:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":105764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:47:35] local.INFO: GPS data processed {"connection_id":105764,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:47:35] local.INFO: Acknowledgment sent {"connection_id":105764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:48:08] local.INFO: TCP Data received {"connection_id":105764,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9974cc0012d08648006f5b168000d014428..."} 
[2026-06-18 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9974cc0012d08648006f5b168000d014428..."} 
[2026-06-18 12:48:08] local.INFO: Processing buffer {"connection_id":105764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9974cc0012d08648006f5b168000d014428..."} 
[2026-06-18 12:48:08] local.INFO: Packet analysis {"connection_id":105764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:48:08] local.INFO: Extracted packet for processing {"connection_id":105764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":755524736,"raw_latitude":116765032,"longitude_deg":75.5524736,"latitude_deg":11.6765032,"altitude":13,"angle":324,"satellites":40,"speed":51,"hex_longitude":"2d086480","hex_latitude":"06f5b168","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132358400001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318349843632226304,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":610519254375405568,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781767032000,"timestamp_ms":1781767032000,"timestamp_seconds":1781767032,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9974cc0"} 
[2026-06-18 12:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:48: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-06-18 12: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-06-18 12:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132358400001,"66":27919,"69":206,"2":56576,"24":51,"16":318349843632226304,"45":610519254375405568},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-18 12:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132358400001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:48:08] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 12:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318349843632226304,"km_value":318349843632226.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":610519254375405568,"description":"Unknown IO ID 45"} 
[2026-06-18 12:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132358400001,"power":27919,"unknown_69":206,"power_alt":56576,"ignition":51,"odometer":null,"unknown_45":610519254375405568}} 
[2026-06-18 12:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":105764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:48:08] local.INFO: GPS data processed {"connection_id":105764,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:48:08] local.INFO: Acknowledgment sent {"connection_id":105764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:48:29] local.INFO: TCP Data received {"connection_id":105947,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:29] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:29] local.INFO: IMEI packet received {"connection_id":105947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":105947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:48:30] local.INFO: TCP Data received {"connection_id":105947,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:30] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:30] local.INFO: IMEI packet received {"connection_id":105947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":105947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:48:34] local.INFO: TCP Data received {"connection_id":105947,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:34] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:48:34] local.INFO: IMEI packet received {"connection_id":105947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":105947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:48:36] local.INFO: TCP Data received {"connection_id":105947,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9976818012d084e8006f5cfd8000c014229..."} 
[2026-06-18 12:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9976818012d084e8006f5cfd8000c014229..."} 
[2026-06-18 12:48:36] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9976818012d084e8006f5cfd8000c014229..."} 
[2026-06-18 12:48:36] local.INFO: Packet analysis {"connection_id":105947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:48:36] local.INFO: Extracted packet for processing {"connection_id":105947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":755519104,"raw_latitude":116772824,"longitude_deg":75.5519104,"latitude_deg":11.6772824,"altitude":12,"angle":322,"satellites":41,"speed":58,"hex_longitude":"2d084e80","hex_latitude":"06f5cfd8","is_valid_coordinates":true} 
[2026-06-18 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132360192001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318350307488694272,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":604749017354692608,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781767039000,"timestamp_ms":1781767039000,"timestamp_seconds":1781767039,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9976818"} 
[2026-06-18 12:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 12:48: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-06-18 12:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132360192001,"66":27843,"69":206,"2":56576,"24":58,"16":318350307488694272,"45":604749017354692608},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-18 12:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132360192001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:48:36] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 12:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318350307488694272,"km_value":318350307488694.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":604749017354692608,"description":"Unknown IO ID 45"} 
[2026-06-18 12:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132360192001,"power":27843,"unknown_69":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":604749017354692608}} 
[2026-06-18 12:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":105947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:48:36] local.INFO: GPS data processed {"connection_id":105947,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:48:36] local.INFO: Acknowledgment sent {"connection_id":105947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:48:51] local.INFO: TCP Data received {"connection_id":107486,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107486,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:48:51] local.INFO: Processing buffer {"connection_id":107486,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:48:51] local.INFO: IMEI packet received {"connection_id":107486,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":107486,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:48:52] local.INFO: TCP Data received {"connection_id":107486,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99777b8012d1945400720ae300031006f24..."} 
[2026-06-18 12:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99777b8012d1945400720ae300031006f24..."} 
[2026-06-18 12:48:52] local.INFO: Processing buffer {"connection_id":107486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99777b8012d1945400720ae300031006f24..."} 
[2026-06-18 12:48:52] local.INFO: Packet analysis {"connection_id":107486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:48:52] local.INFO: Extracted packet for processing {"connection_id":107486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756630848,"raw_latitude":119582256,"longitude_deg":75.6630848,"latitude_deg":11.9582256,"altitude":49,"angle":111,"satellites":36,"speed":38,"hex_longitude":"2d194540","hex_latitude":"0720ae30","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338946230616064,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1817906167699204096,"note":"Value kept but may cause issues"} 
[2026-06-18 12:48:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781767043000,"timestamp_ms":1781767043000,"timestamp_seconds":1781767043,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99777b8"} 
[2026-06-18 12:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:48:52] 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-06-18 12: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 12:48:52] 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-06-18 12: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-06-18 12:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107486,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132362240001,"66":14048,"121":206,"28":31744,"24":38,"16":3338946230616064,"45":1817906167699204096},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 12:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:48:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 12:48:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338946230616064,"km_value":3338946230616.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1817906167699204096,"description":"Unknown IO ID 45"} 
[2026-06-18 12:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132362240001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1817906167699204096}} 
[2026-06-18 12:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":107486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:48:52] local.INFO: GPS data processed {"connection_id":107486,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:48:52] local.INFO: Acknowledgment sent {"connection_id":107486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:49:09] local.INFO: TCP Data received {"connection_id":105947,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9977f88012d08374006f5ebd8000a013d29..."} 
[2026-06-18 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9977f88012d08374006f5ebd8000a013d29..."} 
[2026-06-18 12:49:09] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9977f88012d08374006f5ebd8000a013d29..."} 
[2026-06-18 12:49:09] local.INFO: Packet analysis {"connection_id":105947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:49:09] local.INFO: Extracted packet for processing {"connection_id":105947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:49:09] local.INFO: GPS Element Parsed {"raw_longitude":755513152,"raw_latitude":116779992,"longitude_deg":75.5513152,"latitude_deg":11.6779992,"altitude":10,"angle":317,"satellites":41,"speed":63,"hex_longitude":"2d083740","hex_latitude":"06f5ebd8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132361984001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318350758460260352,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":598556567869052928,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781767045000,"timestamp_ms":1781767045000,"timestamp_seconds":1781767045,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9977f88"} 
[2026-06-18 12:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 12:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132361984001,"66":27984,"69":206,"2":56576,"24":63,"16":318350758460260352,"45":598556567869052928},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-18 12:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132361984001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:49:09] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 12:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318350758460260352,"km_value":318350758460260.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":598556567869052928,"description":"Unknown IO ID 45"} 
[2026-06-18 12:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132361984001,"power":27984,"unknown_69":206,"power_alt":56576,"ignition":63,"odometer":null,"unknown_45":598556567869052928}} 
[2026-06-18 12:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":105947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:49:09] local.INFO: GPS data processed {"connection_id":105947,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:49:09] local.INFO: Acknowledgment sent {"connection_id":105947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:49:30] local.INFO: TCP Data received {"connection_id":105949,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:49:30] local.INFO: Processing buffer {"connection_id":105949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:49:30] local.INFO: IMEI packet received {"connection_id":105949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":105949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:49:35] local.INFO: TCP Data received {"connection_id":105949,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:49:35] local.INFO: Processing buffer {"connection_id":105949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:49:35] local.INFO: IMEI packet received {"connection_id":105949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":105949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:49:36] local.INFO: TCP Data received {"connection_id":105765,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:49:36] local.INFO: Processing buffer {"connection_id":105765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:49:36] local.INFO: IMEI packet received {"connection_id":105765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":105765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:49:37] local.INFO: TCP Data received {"connection_id":105949,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99796f8012d081e0006f60688000a013c2a..."} 
[2026-06-18 12:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99796f8012d081e0006f60688000a013c2a..."} 
[2026-06-18 12:49:37] local.INFO: Processing buffer {"connection_id":105949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99796f8012d081e0006f60688000a013c2a..."} 
[2026-06-18 12:49:37] local.INFO: Packet analysis {"connection_id":105949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:49:37] local.INFO: Extracted packet for processing {"connection_id":105949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":755506688,"raw_latitude":116786824,"longitude_deg":75.5506688,"latitude_deg":11.6786824,"altitude":10,"angle":316,"satellites":42,"speed":59,"hex_longitude":"2d081e00","hex_latitude":"06f60688","is_valid_coordinates":true} 
[2026-06-18 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132363520001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318351209431826432,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":592012274662365184,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781767051000,"timestamp_ms":1781767051000,"timestamp_seconds":1781767051,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99796f8"} 
[2026-06-18 12:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-18 12:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132363520001,"66":27745,"69":206,"2":56576,"24":59,"16":318351209431826432,"45":592012274662365184},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-18 12:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132363520001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:49:37] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 12:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318351209431826432,"km_value":318351209431826.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":592012274662365184,"description":"Unknown IO ID 45"} 
[2026-06-18 12:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132363520001,"power":27745,"unknown_69":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":592012274662365184}} 
[2026-06-18 12:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":105949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:49:37] local.INFO: GPS data processed {"connection_id":105949,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:49:37] local.INFO: Acknowledgment sent {"connection_id":105949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:49:40] local.INFO: TCP Data received {"connection_id":105765,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:49:40] local.INFO: Processing buffer {"connection_id":105765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:49:40] local.INFO: IMEI packet received {"connection_id":105765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":105765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:49:42] local.INFO: TCP Data received {"connection_id":105765,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9978758012d1952000720aa800031006124..."} 
[2026-06-18 12:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9978758012d1952000720aa800031006124..."} 
[2026-06-18 12:49:42] local.INFO: Processing buffer {"connection_id":105765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9978758012d1952000720aa800031006124..."} 
[2026-06-18 12:49:42] local.INFO: Packet analysis {"connection_id":105765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:49:42] local.INFO: Extracted packet for processing {"connection_id":105765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":756634112,"raw_latitude":119581312,"longitude_deg":75.6634112,"latitude_deg":11.9581312,"altitude":49,"angle":97,"satellites":36,"speed":30,"hex_longitude":"2d195200","hex_latitude":"0720aa80","is_valid_coordinates":true} 
[2026-06-18 12:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132363008001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3339109439373312,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820932023698468864,"note":"Value kept but may cause issues"} 
[2026-06-18 12:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781767047000,"timestamp_ms":1781767047000,"timestamp_seconds":1781767047,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9978758"} 
[2026-06-18 12:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-18 12:49:42] 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-06-18 12:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132363008001,"66":13678,"121":206,"28":31744,"24":30,"16":3339109439373312,"45":1820932023698468864},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 12:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132363008001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:49:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 12:49:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3339109439373312,"km_value":3339109439373.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820932023698468864,"description":"Unknown IO ID 45"} 
[2026-06-18 12:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132363008001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1820932023698468864}} 
[2026-06-18 12:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":105765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:49:42] local.INFO: GPS data processed {"connection_id":105765,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:49:42] local.INFO: Acknowledgment sent {"connection_id":105765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:50:08] local.INFO: TCP Data received {"connection_id":105949,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed997b250012d08014006f623b0000b013e29..."} 
[2026-06-18 12:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed997b250012d08014006f623b0000b013e29..."} 
[2026-06-18 12:50:08] local.INFO: Processing buffer {"connection_id":105949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed997b250012d08014006f623b0000b013e29..."} 
[2026-06-18 12:50:08] local.INFO: Packet analysis {"connection_id":105949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:50:08] local.INFO: Extracted packet for processing {"connection_id":105949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed997"} 
[2026-06-18 12:50:08] local.INFO: GPS Element Parsed {"raw_longitude":755499328,"raw_latitude":116794288,"longitude_deg":75.5499328,"latitude_deg":11.6794288,"altitude":11,"angle":318,"satellites":41,"speed":59,"hex_longitude":"2d080140","hex_latitude":"06f623b0","is_valid_coordinates":true} 
[2026-06-18 12:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132365056001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318351711943000064,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":584905031502170112,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781767058000,"timestamp_ms":1781767058000,"timestamp_seconds":1781767058,"priority":1,"record_length":96,"hex_timestamp":"0000019ed997b250"} 
[2026-06-18 12:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 12:50:08] 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-06-18 12:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132365056001,"66":27995,"69":206,"2":56576,"24":59,"16":318351711943000064,"45":584905031502170112},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-06-18 12:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132365056001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:50:08] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 12:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318351711943000064,"km_value":318351711943000.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":584905031502170112,"description":"Unknown IO ID 45"} 
[2026-06-18 12:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132365056001,"power":27995,"unknown_69":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":584905031502170112}} 
[2026-06-18 12:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":105949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:50:08] local.INFO: GPS data processed {"connection_id":105949,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:50:08] local.INFO: Acknowledgment sent {"connection_id":105949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:50:14] local.INFO: TCP Data received {"connection_id":105765,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99940c0012d19ae0007208ee8003200b827..."} 
[2026-06-18 12:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99940c0012d19ae0007208ee8003200b827..."} 
[2026-06-18 12:50:14] local.INFO: Processing buffer {"connection_id":105765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99940c0012d19ae0007208ee8003200b827..."} 
[2026-06-18 12:50:14] local.INFO: Packet analysis {"connection_id":105765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:50:14] local.INFO: Extracted packet for processing {"connection_id":105765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:50:14] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574248,"longitude_deg":75.6657664,"latitude_deg":11.9574248,"altitude":50,"angle":184,"satellites":39,"speed":30,"hex_longitude":"2d19ae00","hex_latitude":"07208ee8","is_valid_coordinates":true} 
[2026-06-18 12:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3340818836357120,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995405824,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781767160000,"timestamp_ms":1781767160000,"timestamp_seconds":1781767160,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99940c0"} 
[2026-06-18 12:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 12:50:14] 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-06-18 12:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132392704001,"66":14265,"121":206,"28":31744,"24":30,"16":3340818836357120,"45":1850557264995405824},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 12:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:50:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 12:50:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3340818836357120,"km_value":3340818836357.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995405824,"description":"Unknown IO ID 45"} 
[2026-06-18 12:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132392704001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850557264995405824}} 
[2026-06-18 12:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":105765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:50:14] local.INFO: GPS data processed {"connection_id":105765,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:50:14] local.INFO: Acknowledgment sent {"connection_id":105765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:50:25] local.INFO: TCP Data received {"connection_id":106519,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:25] local.INFO: Processing buffer {"connection_id":106519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:25] local.INFO: IMEI packet received {"connection_id":106519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":106519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:50:27] local.INFO: TCP Data received {"connection_id":106519,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:27] local.INFO: Processing buffer {"connection_id":106519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:27] local.INFO: IMEI packet received {"connection_id":106519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":106519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:50:30] local.INFO: TCP Data received {"connection_id":106519,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:30] local.INFO: Processing buffer {"connection_id":106519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:50:30] local.INFO: IMEI packet received {"connection_id":106519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":106519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:50:31] local.INFO: TCP Data received {"connection_id":106519,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99938f0012d07378006f714a8000c014029..."} 
[2026-06-18 12:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99938f0012d07378006f714a8000c014029..."} 
[2026-06-18 12:50:31] local.INFO: Processing buffer {"connection_id":106519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99938f0012d07378006f714a8000c014029..."} 
[2026-06-18 12:50:31] local.INFO: Packet analysis {"connection_id":106519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:50:31] local.INFO: Extracted packet for processing {"connection_id":106519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:50:31] local.INFO: GPS Element Parsed {"raw_longitude":755447680,"raw_latitude":116855976,"longitude_deg":75.544768,"latitude_deg":11.6855976,"altitude":12,"angle":320,"satellites":41,"speed":24,"hex_longitude":"2d073780","hex_latitude":"06f714a8","is_valid_coordinates":true} 
[2026-06-18 12:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132387584001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318355586003501056,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":526639711338891264,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781767158000,"timestamp_ms":1781767158000,"timestamp_seconds":1781767158,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99938f0"} 
[2026-06-18 12:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 12:50:31] 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-06-18 12:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132387584001,"66":27800,"155":206,"28":32256,"24":24,"16":318355586003501056,"45":526639711338891264},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-06-18 12:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132387584001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:50:31] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 12:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 12:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318355586003501056,"km_value":318355586003501.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":526639711338891264,"description":"Unknown IO ID 45"} 
[2026-06-18 12:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132387584001,"power":27800,"unknown_155":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_45":526639711338891264}} 
[2026-06-18 12:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":106519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:50:31] local.INFO: GPS data processed {"connection_id":106519,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:50:31] local.INFO: Acknowledgment sent {"connection_id":106519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:50:36] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:36] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:36] local.INFO: IMEI packet received {"connection_id":105767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:50:36] local.INFO: IMEI acknowledgment sent {"connection_id":105767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:50:36] local.INFO: TCP Data received {"connection_id":106519,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9997b58012d07218006f731d0000d014328..."} 
[2026-06-18 12:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9997b58012d07218006f731d0000d014328..."} 
[2026-06-18 12:50:36] local.INFO: Processing buffer {"connection_id":106519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9997b58012d07218006f731d0000d014328..."} 
[2026-06-18 12:50:36] local.INFO: Packet analysis {"connection_id":106519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:50:36] local.INFO: Extracted packet for processing {"connection_id":106519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":755442048,"raw_latitude":116863440,"longitude_deg":75.5442048,"latitude_deg":11.686344,"altitude":13,"angle":323,"satellites":40,"speed":25,"hex_longitude":"2d072180","hex_latitude":"06f731d0","is_valid_coordinates":true} 
[2026-06-18 12:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132392448001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318356036975067136,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":520025049388066816,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781767175000,"timestamp_ms":1781767175000,"timestamp_seconds":1781767175,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9997b58"} 
[2026-06-18 12:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 12:50: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-06-18 12:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132392448001,"66":27995,"155":206,"28":32256,"24":25,"16":318356036975067136,"45":520025049388066816},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-06-18 12:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132392448001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:50:36] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 12:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 12:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318356036975067136,"km_value":318356036975067.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":520025049388066816,"description":"Unknown IO ID 45"} 
[2026-06-18 12:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132392448001,"power":27995,"unknown_155":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_45":520025049388066816}} 
[2026-06-18 12:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":106519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:50:36] local.INFO: GPS data processed {"connection_id":106519,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:50:36] local.INFO: Acknowledgment sent {"connection_id":106519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:50:37] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:37] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:37] local.INFO: IMEI packet received {"connection_id":105767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:50:37] local.INFO: IMEI acknowledgment sent {"connection_id":105767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:50:40] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:40] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:50:40] local.INFO: IMEI packet received {"connection_id":105767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:50:40] local.INFO: IMEI acknowledgment sent {"connection_id":105767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:50:41] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9994890012d19ae40072088c0003100ad28..."} 
[2026-06-18 12:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9994890012d19ae40072088c0003100ad28..."} 
[2026-06-18 12:50:41] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9994890012d19ae40072088c0003100ad28..."} 
[2026-06-18 12:50:41] local.INFO: Packet analysis {"connection_id":105767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:50:41] local.INFO: Extracted packet for processing {"connection_id":105767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119572672,"longitude_deg":75.6657728,"latitude_deg":11.9572672,"altitude":49,"angle":173,"satellites":40,"speed":32,"hex_longitude":"2d19ae40","hex_latitude":"072088c0","is_valid_coordinates":true} 
[2026-06-18 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132392960001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3340891850801152,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506860032,"note":"Value kept but may cause issues"} 
[2026-06-18 12:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781767162000,"timestamp_ms":1781767162000,"timestamp_seconds":1781767162,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9994890"} 
[2026-06-18 12:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 12:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132392960001,"66":14265,"121":206,"28":31744,"24":32,"16":3340891850801152,"45":1850416527506860032},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 12:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132392960001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:50:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 12:50:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3340891850801152,"km_value":3340891850801.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506860032,"description":"Unknown IO ID 45"} 
[2026-06-18 12:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132392960001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1850416527506860032}} 
[2026-06-18 12:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":105767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:50:42] local.INFO: GPS data processed {"connection_id":105767,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:50:42] local.INFO: Acknowledgment sent {"connection_id":105767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:51:07] local.INFO: TCP Data received {"connection_id":106519,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed999b208012d070a4006f74fb8000b014027..."} 
[2026-06-18 12:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed999b208012d070a4006f74fb8000b014027..."} 
[2026-06-18 12:51:07] local.INFO: Processing buffer {"connection_id":106519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed999b208012d070a4006f74fb8000b014027..."} 
[2026-06-18 12:51:07] local.INFO: Packet analysis {"connection_id":106519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:51:07] local.INFO: Extracted packet for processing {"connection_id":106519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":755436096,"raw_latitude":116871096,"longitude_deg":75.5436096,"latitude_deg":11.6871096,"altitude":11,"angle":320,"satellites":39,"speed":39,"hex_longitude":"2d070a40","hex_latitude":"06f74fb8","is_valid_coordinates":true} 
[2026-06-18 12: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-06-18 12:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132396800001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318356500831535104,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":513832599902343168,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781767189000,"timestamp_ms":1781767189000,"timestamp_seconds":1781767189,"priority":1,"record_length":96,"hex_timestamp":"0000019ed999b208"} 
[2026-06-18 12:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 12:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12: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-06-18 12:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132396800001,"66":27658,"155":206,"28":32256,"24":39,"16":318356500831535104,"45":513832599902343168},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-06-18 12:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132396800001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:51:08] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 12:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 12:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318356500831535104,"km_value":318356500831535.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":513832599902343168,"description":"Unknown IO ID 45"} 
[2026-06-18 12:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132396800001,"power":27658,"unknown_155":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":513832599902343168}} 
[2026-06-18 12:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":106519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:51:08] local.INFO: GPS data processed {"connection_id":106519,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:51:08] local.INFO: Acknowledgment sent {"connection_id":106519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:51:13] local.INFO: TCP Data received {"connection_id":105767,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9996000012d19b38007207488002d00a029..."} 
[2026-06-18 12:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9996000012d19b38007207488002d00a029..."} 
[2026-06-18 12:51:13] local.INFO: Processing buffer {"connection_id":105767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9996000012d19b38007207488002d00a029..."} 
[2026-06-18 12:51:13] local.INFO: Packet analysis {"connection_id":105767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:51:13] local.INFO: Extracted packet for processing {"connection_id":105767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:51:13] local.INFO: GPS Element Parsed {"raw_longitude":756659072,"raw_latitude":119567496,"longitude_deg":75.6659072,"latitude_deg":11.9567496,"altitude":45,"angle":160,"satellites":41,"speed":37,"hex_longitude":"2d19b380","hex_latitude":"07207488","is_valid_coordinates":true} 
[2026-06-18 12:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132393472001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3341153843806208,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250634240,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781767168000,"timestamp_ms":1781767168000,"timestamp_seconds":1781767168,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9996000"} 
[2026-06-18 12:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 12:51:13] 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-06-18 12:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132393472001,"66":13961,"121":206,"28":31744,"24":37,"16":3341153843806208,"45":1850486896250634240},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 12:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132393472001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:51:13] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 12:51:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3341153843806208,"km_value":3341153843806.208,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250634240,"description":"Unknown IO ID 45"} 
[2026-06-18 12:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132393472001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1850486896250634240}} 
[2026-06-18 12:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":105767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:51:13] local.INFO: GPS data processed {"connection_id":105767,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:51:13] local.INFO: Acknowledgment sent {"connection_id":105767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:51:25] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:25] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:25] local.INFO: IMEI packet received {"connection_id":105950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":105950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:51:31] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:31] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:31] local.INFO: IMEI packet received {"connection_id":105950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":105950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:51:32] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:32] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:32] local.INFO: IMEI packet received {"connection_id":105950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":105950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:51:36] local.INFO: TCP Data received {"connection_id":105951,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:51:36] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:51:36] local.INFO: IMEI packet received {"connection_id":105951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":105951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:51:37] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:37] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:51:37] local.INFO: IMEI packet received {"connection_id":105950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":105950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:51:41] local.INFO: TCP Data received {"connection_id":105951,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:51:41] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:51:41] local.INFO: IMEI packet received {"connection_id":105951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":105951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:51:42] local.INFO: TCP Data received {"connection_id":105951,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99a9880012d19e24007200840002c00e328..."} 
[2026-06-18 12:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99a9880012d19e24007200840002c00e328..."} 
[2026-06-18 12:51:42] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99a9880012d19e24007200840002c00e328..."} 
[2026-06-18 12:51:42] local.INFO: Packet analysis {"connection_id":105951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99a"} 
[2026-06-18 12:51:42] local.INFO: Extracted packet for processing {"connection_id":105951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99a"} 
[2026-06-18 12:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756671040,"raw_latitude":119539776,"longitude_deg":75.667104,"latitude_deg":11.9539776,"altitude":44,"angle":227,"satellites":40,"speed":2,"hex_longitude":"2d19e240","hex_latitude":"07200840","is_valid_coordinates":true} 
[2026-06-18 12:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132415232001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3342704327000064,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865264332519524352,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781767248000,"timestamp_ms":1781767248000,"timestamp_seconds":1781767248,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99a9880"} 
[2026-06-18 12:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-18 12:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132415232001,"66":13852,"121":206,"28":31744,"24":2,"16":3342704327000064,"45":1865264332519524352},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 12:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132415232001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:51:42] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 12:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3342704327000064,"km_value":3342704327000.064,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865264332519524352,"description":"Unknown IO ID 45"} 
[2026-06-18 12:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132415232001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1865264332519524352}} 
[2026-06-18 12:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":105951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:51:43] local.INFO: GPS data processed {"connection_id":105951,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:51:43] local.INFO: Acknowledgment sent {"connection_id":105951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:51:48] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed999d530012d06f20006f76b00000c013f26..."} 
[2026-06-18 12:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed999d530012d06f20006f76b00000c013f26..."} 
[2026-06-18 12:51:48] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed999d530012d06f20006f76b00000c013f26..."} 
[2026-06-18 12:51:48] local.INFO: Packet analysis {"connection_id":105950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:51:48] local.INFO: Extracted packet for processing {"connection_id":105950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed999"} 
[2026-06-18 12:51:48] local.INFO: GPS Element Parsed {"raw_longitude":755429888,"raw_latitude":116878080,"longitude_deg":75.5429888,"latitude_deg":11.687808,"altitude":12,"angle":319,"satellites":38,"speed":35,"hex_longitude":"2d06f200","hex_latitude":"06f76b00","is_valid_coordinates":true} 
[2026-06-18 12:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132400384001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318356951803101184,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":507288306695780352,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781767198000,"timestamp_ms":1781767198000,"timestamp_seconds":1781767198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed999d530"} 
[2026-06-18 12:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 12:51:48] 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-06-18 12:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":105950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":105950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":105950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132400384001,"66":28017,"155":206,"28":32256,"24":35,"16":318356951803101184,"45":507288306695780352},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-06-18 12:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132400384001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:51:48] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 12:51:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 12:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318356951803101184,"km_value":318356951803101.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":507288306695780352,"description":"Unknown IO ID 45"} 
[2026-06-18 12:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132400384001,"power":28017,"unknown_155":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":507288306695780352}} 
[2026-06-18 12:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":105950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:51:48] local.INFO: GPS data processed {"connection_id":105950,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:51:48] local.INFO: Acknowledgment sent {"connection_id":105950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:51:50] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99a0410012d06d94006f787d8000c013c2a..."} 
[2026-06-18 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99a0410012d06d94006f787d8000c013c2a..."} 
[2026-06-18 12:51:50] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99a0410012d06d94006f787d8000c013c2a..."} 
[2026-06-18 12:51:50] local.INFO: Packet analysis {"connection_id":105950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99a"} 
[2026-06-18 12:51:50] local.INFO: Extracted packet for processing {"connection_id":105950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99a"} 
[2026-06-18 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":755423552,"raw_latitude":116885464,"longitude_deg":75.5423552,"latitude_deg":11.6885464,"altitude":12,"angle":316,"satellites":42,"speed":33,"hex_longitude":"2d06d940","hex_latitude":"06f787d8","is_valid_coordinates":true} 
[2026-06-18 12:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132402688001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318357419954536448,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":500462538512334848,"note":"Value kept but may cause issues"} 
[2026-06-18 12:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781767210000,"timestamp_ms":1781767210000,"timestamp_seconds":1781767210,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99a0410"} 
[2026-06-18 12:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-18 12:51:50] 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-06-18 12:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132402688001,"66":27908,"155":206,"28":32256,"24":33,"16":318357419954536448,"45":500462538512334848},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-06-18 12:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132402688001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:51:50] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 12:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 12:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318357419954536448,"km_value":318357419954536.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":500462538512334848,"description":"Unknown IO ID 45"} 
[2026-06-18 12:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132402688001,"power":27908,"unknown_155":206,"unknown_28":32256,"ignition":33,"odometer":null,"unknown_45":500462538512334848}} 
[2026-06-18 12:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":105950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:51:50] local.INFO: GPS data processed {"connection_id":105950,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:51:50] local.INFO: Acknowledgment sent {"connection_id":105950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:52:14] local.INFO: TCP Data received {"connection_id":105951,"ip":"117.224.70.101","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99a9c68012d19e20007200870002c011728..."} 
[2026-06-18 12:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99a9c68012d19e20007200870002c011728..."} 
[2026-06-18 12:52:14] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99a9c68012d19e20007200870002c011728..."} 
[2026-06-18 12:52:14] local.INFO: Packet analysis {"connection_id":105951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99a"} 
[2026-06-18 12:52:14] local.INFO: Extracted packet for processing {"connection_id":105951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99a"} 
[2026-06-18 12:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756670976,"raw_latitude":119539824,"longitude_deg":75.6670976,"latitude_deg":11.9539824,"altitude":44,"angle":279,"satellites":40,"speed":2,"hex_longitude":"2d19e200","hex_latitude":"07200870","is_valid_coordinates":true} 
[2026-06-18 12:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132415488001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3342708621967360,"note":"Value kept but may cause issues"} 
[2026-06-18 12:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865123595031166976,"note":"Value kept but may cause issues"} 
[2026-06-18 12:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781767249000,"timestamp_ms":1781767249000,"timestamp_seconds":1781767249,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99a9c68"} 
[2026-06-18 12:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-06-18 12:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 12:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 12:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.70.101","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 12:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 12:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132415488001,"66":14157,"121":206,"28":31744,"24":2,"16":3342708621967360,"45":1865123595031166976},"client_ip":"117.224.70.101","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 12:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 12:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 12:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132415488001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:52:14] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 12:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 12:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3342708621967360,"km_value":3342708621967.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865123595031166976,"description":"Unknown IO ID 45"} 
[2026-06-18 12:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132415488001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1865123595031166976}} 
[2026-06-18 12:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":105951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:52:14] local.INFO: GPS data processed {"connection_id":105951,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:52:14] local.INFO: Acknowledgment sent {"connection_id":105951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:52:25] local.INFO: TCP Data received {"connection_id":107487,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:52:25] local.INFO: Processing buffer {"connection_id":107487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:52:25] local.INFO: IMEI packet received {"connection_id":107487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":107487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:52:30] local.INFO: TCP Data received {"connection_id":107487,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:52:30] local.INFO: Processing buffer {"connection_id":107487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:52:30] local.INFO: IMEI packet received {"connection_id":107487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":107487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:52:38] local.INFO: TCP Data received {"connection_id":107487,"ip":"117.224.95.96","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99a2738012d06c1c006f7a1b8000d013f2a..."} 
[2026-06-18 12:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99a2738012d06c1c006f7a1b8000d013f2a..."} 
[2026-06-18 12:52:38] local.INFO: Processing buffer {"connection_id":107487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99a2738012d06c1c006f7a1b8000d013f2a..."} 
[2026-06-18 12:52:38] local.INFO: Packet analysis {"connection_id":107487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99a"} 
[2026-06-18 12:52:38] local.INFO: Extracted packet for processing {"connection_id":107487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99a"} 
[2026-06-18 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":755417536,"raw_latitude":116892088,"longitude_deg":75.5417536,"latitude_deg":11.6892088,"altitude":13,"angle":319,"satellites":42,"speed":43,"hex_longitude":"2d06c1c0","hex_latitude":"06f7a1b8","is_valid_coordinates":true} 
[2026-06-18 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132405760001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318357849451266048,"note":"Value kept but may cause issues"} 
[2026-06-18 12:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":493496032840636416,"note":"Value kept but may cause issues"} 
[2026-06-18 12:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781767219000,"timestamp_ms":1781767219000,"timestamp_seconds":1781767219,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99a2738"} 
[2026-06-18 12:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 12:52: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-06-18 12:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:52:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.95.96","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132405760001,"66":27658,"155":206,"28":32256,"24":43,"16":318357849451266048,"45":493496032840636416},"client_ip":"117.224.95.96","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-06-18 12:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132405760001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:52:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 12:52:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 12:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318357849451266048,"km_value":318357849451266.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":493496032840636416,"description":"Unknown IO ID 45"} 
[2026-06-18 12:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132405760001,"power":27658,"unknown_155":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":493496032840636416}} 
[2026-06-18 12:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":107487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:52:38] local.INFO: GPS data processed {"connection_id":107487,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:52:38] local.INFO: Acknowledgment sent {"connection_id":107487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:52:46] local.INFO: TCP Data received {"connection_id":105770,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:52:46] local.INFO: Processing buffer {"connection_id":105770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:52:46] local.INFO: IMEI packet received {"connection_id":105770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":105770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:53:04] local.INFO: TCP Data received {"connection_id":105769,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:53:04] local.INFO: Processing buffer {"connection_id":105769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:53:04] local.INFO: IMEI packet received {"connection_id":105769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":105769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:53:21] local.INFO: TCP Data received {"connection_id":105770,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:21] local.INFO: Processing buffer {"connection_id":105770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:21] local.INFO: IMEI packet received {"connection_id":105770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":105770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:53:30] local.INFO: TCP Data received {"connection_id":105952,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:53:30] local.INFO: Processing buffer {"connection_id":105952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:53:30] local.INFO: IMEI packet received {"connection_id":105952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":105952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:53:34] local.INFO: TCP Data received {"connection_id":105771,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:53:34] local.INFO: Processing buffer {"connection_id":105771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:53:34] local.INFO: IMEI packet received {"connection_id":105771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":105771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:53:36] local.INFO: TCP Data received {"connection_id":105953,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:36] local.INFO: Processing buffer {"connection_id":105953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:36] local.INFO: IMEI packet received {"connection_id":105953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 12:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":105953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:53:41] local.INFO: TCP Data received {"connection_id":105953,"ip":"117.224.70.101","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:41] local.INFO: Processing buffer {"connection_id":105953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 12:53:41] local.INFO: IMEI packet received {"connection_id":105953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 12:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":105953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:53:41] local.INFO: TCP Data received {"connection_id":105952,"ip":"117.224.95.96","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:53:41] local.INFO: Processing buffer {"connection_id":105952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:53:41] local.INFO: IMEI packet received {"connection_id":105952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":105952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:53:42] local.INFO: TCP Data received {"connection_id":105952,"ip":"117.224.95.96","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 12:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105952,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 12:53:42] local.INFO: Processing buffer {"connection_id":105952,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 12:53:42] local.INFO: IMEI packet received {"connection_id":105952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":105952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:58:43] local.INFO: TCP Data received {"connection_id":107492,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:58:43] local.INFO: Processing buffer {"connection_id":107492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:58:43] local.INFO: IMEI packet received {"connection_id":107492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":107492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:58:44] local.INFO: TCP Data received {"connection_id":107492,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a0bad0012d040ac006fb71900018014427..."} 
[2026-06-18 12:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a0bad0012d040ac006fb71900018014427..."} 
[2026-06-18 12:58:44] local.INFO: Processing buffer {"connection_id":107492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a0bad0012d040ac006fb71900018014427..."} 
[2026-06-18 12:58:44] local.INFO: Packet analysis {"connection_id":107492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a0"} 
[2026-06-18 12:58:44] local.INFO: Extracted packet for processing {"connection_id":107492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a0"} 
[2026-06-18 12:58:44] local.INFO: GPS Element Parsed {"raw_longitude":755239616,"raw_latitude":117141904,"longitude_deg":75.5239616,"latitude_deg":11.7141904,"altitude":24,"angle":324,"satellites":39,"speed":48,"hex_longitude":"2d040ac0","hex_latitude":"06fb7190","is_valid_coordinates":true} 
[2026-06-18 12:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 12:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132516608001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318374771622412288,"note":"Value kept but may cause issues"} 
[2026-06-18 12:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":297519080369922048,"note":"Value kept but may cause issues"} 
[2026-06-18 12:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781767650000,"timestamp_ms":1781767650000,"timestamp_seconds":1781767650,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a0bad0"} 
[2026-06-18 12:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 12:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 12:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 12:58:44] 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-06-18 12:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 12:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 12:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132516608001,"66":27463,"109":206,"28":32256,"24":48,"16":318374771622412288,"45":297519080369922048},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-06-18 12:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132516608001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:58:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 12:58:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 12:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318374771622412288,"km_value":318374771622412.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":297519080369922048,"description":"Unknown IO ID 45"} 
[2026-06-18 12:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132516608001,"power":27463,"unknown_109":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":297519080369922048}} 
[2026-06-18 12:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":107492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:58:44] local.INFO: GPS data processed {"connection_id":107492,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:58:44] local.INFO: Acknowledgment sent {"connection_id":107492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:58:59] local.INFO: TCP Data received {"connection_id":105774,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:58:59] local.INFO: Processing buffer {"connection_id":105774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:58:59] local.INFO: IMEI packet received {"connection_id":105774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":105774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:59:27] local.INFO: TCP Data received {"connection_id":106524,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:27] local.INFO: Processing buffer {"connection_id":106524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:27] local.INFO: IMEI packet received {"connection_id":106524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 12:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":106524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 12:59:30] local.INFO: TCP Data received {"connection_id":106524,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:30] local.INFO: Processing buffer {"connection_id":106524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:30] local.INFO: IMEI packet received {"connection_id":106524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":106524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:59:34] local.INFO: TCP Data received {"connection_id":106524,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:34] local.INFO: Processing buffer {"connection_id":106524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 12:59:34] local.INFO: IMEI packet received {"connection_id":106524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 12:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":106524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 12:59:36] local.INFO: TCP Data received {"connection_id":106524,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a17268012d036f4006fc1fd00005014926..."} 
[2026-06-18 12:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a17268012d036f4006fc1fd00005014926..."} 
[2026-06-18 12:59:36] local.INFO: Processing buffer {"connection_id":106524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a17268012d036f4006fc1fd00005014926..."} 
[2026-06-18 12:59:36] local.INFO: Packet analysis {"connection_id":106524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a1"} 
[2026-06-18 12:59:36] local.INFO: Extracted packet for processing {"connection_id":106524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a1"} 
[2026-06-18 12:59:36] local.INFO: GPS Element Parsed {"raw_longitude":755199808,"raw_latitude":117186512,"longitude_deg":75.5199808,"latitude_deg":11.7186512,"altitude":5,"angle":329,"satellites":38,"speed":56,"hex_longitude":"2d036f40","hex_latitude":"06fc1fd0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 12:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132529920001,"note":"Value kept but may cause issues"} 
[2026-06-18 12:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318377881178734592,"note":"Value kept but may cause issues"} 
[2026-06-18 12:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":248753540667119616,"note":"Value kept but may cause issues"} 
[2026-06-18 12:59:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 12:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781767697000,"timestamp_ms":1781767697000,"timestamp_seconds":1781767697,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a17268"} 
[2026-06-18 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-06-18 12:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":146,"data_length":795,"current_offset":136} 
[2026-06-18 12:59:36] 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-06-18 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-06-18 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-06-18 12:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 12:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 12:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 12:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 12:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 12:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 12:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132529920001,"66":27919,"109":206,"28":32256,"24":56,"16":318377881178734592,"45":248753540667119616},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-06-18 12:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 12:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 12:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132529920001,"description":"Unknown IO ID 0"} 
[2026-06-18 12:59:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 12:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 12:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318377881178734592,"km_value":318377881178734.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 12:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":248753540667119616,"description":"Unknown IO ID 45"} 
[2026-06-18 12:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132529920001,"power":27919,"unknown_109":206,"unknown_28":32256,"ignition":56,"odometer":null,"unknown_45":248753540667119616}} 
[2026-06-18 12:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":106524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 12:59:36] local.INFO: GPS data processed {"connection_id":106524,"processed":1,"errors":0,"total":1} 
[2026-06-18 12:59:36] local.INFO: Acknowledgment sent {"connection_id":106524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 12:59:39] local.INFO: TCP Data received {"connection_id":105775,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:59:39] local.INFO: Processing buffer {"connection_id":105775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 12:59:39] local.INFO: IMEI packet received {"connection_id":105775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 12:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":105775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:00:07] local.INFO: TCP Data received {"connection_id":106524,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a18dc0012d0357c006fc40400005014523..."} 
[2026-06-18 13:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a18dc0012d0357c006fc40400005014523..."} 
[2026-06-18 13:00:07] local.INFO: Processing buffer {"connection_id":106524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a18dc0012d0357c006fc40400005014523..."} 
[2026-06-18 13:00:07] local.INFO: Packet analysis {"connection_id":106524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a1"} 
[2026-06-18 13:00:07] local.INFO: Extracted packet for processing {"connection_id":106524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a1"} 
[2026-06-18 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":755193792,"raw_latitude":117194816,"longitude_deg":75.5193792,"latitude_deg":11.7194816,"altitude":5,"angle":325,"satellites":35,"speed":58,"hex_longitude":"2d0357c0","hex_latitude":"06fc4040","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132530432001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318378375099973632,"note":"Value kept but may cause issues"} 
[2026-06-18 13:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":247486903272591360,"note":"Value kept but may cause issues"} 
[2026-06-18 13:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781767704000,"timestamp_ms":1781767704000,"timestamp_seconds":1781767704,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a18dc0"} 
[2026-06-18 13:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132530432001,"66":27930,"109":206,"28":32256,"24":58,"16":318378375099973632,"45":247486903272591360},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-06-18 13:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132530432001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:00:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 13:00:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318378375099973632,"km_value":318378375099973.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":247486903272591360,"description":"Unknown IO ID 45"} 
[2026-06-18 13:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132530432001,"power":27930,"unknown_109":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":247486903272591360}} 
[2026-06-18 13:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":106524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:00:07] local.INFO: GPS data processed {"connection_id":106524,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:00:07] local.INFO: Acknowledgment sent {"connection_id":106524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:00:25] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:25] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:25] local.INFO: IMEI packet received {"connection_id":105955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":105955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:00:25] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:25] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:25] local.INFO: IMEI packet received {"connection_id":105955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:00:25] local.INFO: IMEI acknowledgment sent {"connection_id":105955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:00:30] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:30] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:00:30] local.INFO: IMEI packet received {"connection_id":105955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:00:30] local.INFO: IMEI acknowledgment sent {"connection_id":105955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:00:30] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a28ba8012d02588006fd1c500005014726..."} 
[2026-06-18 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a28ba8012d02588006fd1c500005014726..."} 
[2026-06-18 13:00:30] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a28ba8012d02588006fd1c500005014726..."} 
[2026-06-18 13:00:30] local.INFO: Packet analysis {"connection_id":105955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a2"} 
[2026-06-18 13:00:30] local.INFO: Extracted packet for processing {"connection_id":105955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a2"} 
[2026-06-18 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":755128448,"raw_latitude":117251152,"longitude_deg":75.5128448,"latitude_deg":11.7251152,"altitude":5,"angle":327,"satellites":38,"speed":58,"hex_longitude":"2d025880","hex_latitude":"06fd1c50","is_valid_coordinates":true} 
[2026-06-18 13:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132547072001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318382644297465856,"note":"Value kept but may cause issues"} 
[2026-06-18 13:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":174936728039772160,"note":"Value kept but may cause issues"} 
[2026-06-18 13:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781767769000,"timestamp_ms":1781767769000,"timestamp_seconds":1781767769,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a28ba8"} 
[2026-06-18 13:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:00: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-06-18 13:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 13:00: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-06-18 13:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132547072001,"66":27974,"110":206,"28":32256,"24":58,"16":318382644297465856,"45":174936728039772160},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-06-18 13:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132547072001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:00:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 13:00:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318382644297465856,"km_value":318382644297465.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":174936728039772160,"description":"Unknown IO ID 45"} 
[2026-06-18 13:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132547072001,"power":27974,"unknown_110":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_45":174936728039772160}} 
[2026-06-18 13:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":105955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:00:30] local.INFO: GPS data processed {"connection_id":105955,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:00:30] local.INFO: Acknowledgment sent {"connection_id":105955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:01:09] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a2a318012d02458006fd3a400005014d26..."} 
[2026-06-18 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a2a318012d02458006fd3a400005014d26..."} 
[2026-06-18 13:01:09] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a2a318012d02458006fd3a400005014d26..."} 
[2026-06-18 13:01:09] local.INFO: Packet analysis {"connection_id":105955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a2"} 
[2026-06-18 13:01:09] local.INFO: Extracted packet for processing {"connection_id":105955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a2"} 
[2026-06-18 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":755123584,"raw_latitude":117258816,"longitude_deg":75.5123584,"latitude_deg":11.7258816,"altitude":5,"angle":333,"satellites":38,"speed":60,"hex_longitude":"2d024580","hex_latitude":"06fd3a40","is_valid_coordinates":true} 
[2026-06-18 13:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132548864001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318383082384130048,"note":"Value kept but may cause issues"} 
[2026-06-18 13:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":169025753531043840,"note":"Value kept but may cause issues"} 
[2026-06-18 13:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781767775000,"timestamp_ms":1781767775000,"timestamp_seconds":1781767775,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a2a318"} 
[2026-06-18 13:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:01:09] 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-06-18 13:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132548864001,"66":27865,"110":206,"28":32256,"24":60,"16":318383082384130048,"45":169025753531043840},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-06-18 13:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132548864001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:01:09] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 13:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318383082384130048,"km_value":318383082384130.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":169025753531043840,"description":"Unknown IO ID 45"} 
[2026-06-18 13:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132548864001,"power":27865,"unknown_110":206,"unknown_28":32256,"ignition":60,"odometer":null,"unknown_45":169025753531043840}} 
[2026-06-18 13:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":105955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:01:09] local.INFO: GPS data processed {"connection_id":105955,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:01:09] local.INFO: Acknowledgment sent {"connection_id":105955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:01:25] local.INFO: TCP Data received {"connection_id":107494,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:25] local.INFO: Processing buffer {"connection_id":107494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:25] local.INFO: IMEI packet received {"connection_id":107494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":107494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:01:28] local.INFO: TCP Data received {"connection_id":107494,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:28] local.INFO: Processing buffer {"connection_id":107494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:28] local.INFO: IMEI packet received {"connection_id":107494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":107494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:01:30] local.INFO: TCP Data received {"connection_id":107494,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:30] local.INFO: Processing buffer {"connection_id":107494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:01:30] local.INFO: IMEI packet received {"connection_id":107494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:01:30] local.INFO: IMEI acknowledgment sent {"connection_id":107494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:01:31] local.INFO: TCP Data received {"connection_id":107494,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a2be70012d02358006fd60780005015328..."} 
[2026-06-18 13:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a2be70012d02358006fd60780005015328..."} 
[2026-06-18 13:01:31] local.INFO: Processing buffer {"connection_id":107494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a2be70012d02358006fd60780005015328..."} 
[2026-06-18 13:01:31] local.INFO: Packet analysis {"connection_id":107494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a2"} 
[2026-06-18 13:01:31] local.INFO: Extracted packet for processing {"connection_id":107494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a2"} 
[2026-06-18 13:01:31] local.INFO: GPS Element Parsed {"raw_longitude":755119488,"raw_latitude":117268600,"longitude_deg":75.5119488,"latitude_deg":11.72686,"altitude":5,"angle":339,"satellites":40,"speed":59,"hex_longitude":"2d023580","hex_latitude":"06fd6078","is_valid_coordinates":true} 
[2026-06-18 13:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132550400001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318383597780205568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":163677728975503360,"note":"Value kept but may cause issues"} 
[2026-06-18 13:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781767782000,"timestamp_ms":1781767782000,"timestamp_seconds":1781767782,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a2be70"} 
[2026-06-18 13:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 13:01: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-06-18 13:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132550400001,"66":28028,"110":206,"28":32256,"24":59,"16":318383597780205568,"45":163677728975503360},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-06-18 13:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132550400001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:01:31] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 13:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318383597780205568,"km_value":318383597780205.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":163677728975503360,"description":"Unknown IO ID 45"} 
[2026-06-18 13:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132550400001,"power":28028,"unknown_110":206,"unknown_28":32256,"ignition":59,"odometer":null,"unknown_45":163677728975503360}} 
[2026-06-18 13:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":107494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:01:31] local.INFO: GPS data processed {"connection_id":107494,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:01:31] local.INFO: Acknowledgment sent {"connection_id":107494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:02:02] local.INFO: TCP Data received {"connection_id":107494,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a41a18012d011c8006fe89280004013520..."} 
[2026-06-18 13:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a41a18012d011c8006fe89280004013520..."} 
[2026-06-18 13:02:02] local.INFO: Processing buffer {"connection_id":107494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a41a18012d011c8006fe89280004013520..."} 
[2026-06-18 13:02:02] local.INFO: Packet analysis {"connection_id":107494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:02:02] local.INFO: Extracted packet for processing {"connection_id":107494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:02:02] local.INFO: GPS Element Parsed {"raw_longitude":755047552,"raw_latitude":117344552,"longitude_deg":75.5047552,"latitude_deg":11.7344552,"altitude":4,"angle":309,"satellites":32,"speed":39,"hex_longitude":"2d011c80","hex_latitude":"06fe8928","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132572928001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318388803280568320,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":88664647702743040,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781767871000,"timestamp_ms":1781767871000,"timestamp_seconds":1781767871,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a41a18"} 
[2026-06-18 13:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:02: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-06-18 13:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 13:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132572928001,"66":27876,"15":206,"28":32256,"24":39,"16":318388803280568320,"45":88664647702743040},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-18 13:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132572928001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:02:02] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 13:02:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318388803280568320,"km_value":318388803280568.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":88664647702743040,"description":"Unknown IO ID 45"} 
[2026-06-18 13:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132572928001,"power":27876,"unknown_15":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":88664647702743040}} 
[2026-06-18 13:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":107494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:02:02] local.INFO: GPS data processed {"connection_id":107494,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:02:02] local.INFO: Acknowledgment sent {"connection_id":107494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:02:25] local.INFO: TCP Data received {"connection_id":105957,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:25] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:25] local.INFO: IMEI packet received {"connection_id":105957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":105957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:02:29] local.INFO: TCP Data received {"connection_id":105957,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:29] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:29] local.INFO: IMEI packet received {"connection_id":105957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":105957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:02:30] local.INFO: TCP Data received {"connection_id":105957,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:30] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:02:30] local.INFO: IMEI packet received {"connection_id":105957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":105957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:02:31] local.INFO: TCP Data received {"connection_id":105957,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a42da0012d010f8006fe94280005012a26..."} 
[2026-06-18 13:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a42da0012d010f8006fe94280005012a26..."} 
[2026-06-18 13:02:31] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a42da0012d010f8006fe94280005012a26..."} 
[2026-06-18 13:02:31] local.INFO: Packet analysis {"connection_id":105957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:02:31] local.INFO: Extracted packet for processing {"connection_id":105957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":755044224,"raw_latitude":117347368,"longitude_deg":75.5044224,"latitude_deg":11.7347368,"altitude":5,"angle":298,"satellites":38,"speed":32,"hex_longitude":"2d010f80","hex_latitude":"06fe9428","is_valid_coordinates":true} 
[2026-06-18 13:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132574976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318389013733965824,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":80079660914386944,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781767876000,"timestamp_ms":1781767876000,"timestamp_seconds":1781767876,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a42da0"} 
[2026-06-18 13:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 13:02: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-06-18 13:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132574976001,"66":27919,"15":206,"28":32256,"24":32,"16":318389013733965824,"45":80079660914386944},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-18 13:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132574976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:02:31] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 13:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318389013733965824,"km_value":318389013733965.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":80079660914386944,"description":"Unknown IO ID 45"} 
[2026-06-18 13:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132574976001,"power":27919,"unknown_15":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_45":80079660914386944}} 
[2026-06-18 13:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":105957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:02:31] local.INFO: GPS data processed {"connection_id":105957,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:02:31] local.INFO: Acknowledgment sent {"connection_id":105957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:02:36] local.INFO: TCP Data received {"connection_id":105957,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a448f8012d00f8c006fe9cb00006011e26..."} 
[2026-06-18 13:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a448f8012d00f8c006fe9cb00006011e26..."} 
[2026-06-18 13:02:36] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a448f8012d00f8c006fe9cb00006011e26..."} 
[2026-06-18 13:02:36] local.INFO: Packet analysis {"connection_id":105957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:02:36] local.INFO: Extracted packet for processing {"connection_id":105957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:02:36] local.INFO: GPS Element Parsed {"raw_longitude":755038400,"raw_latitude":117349552,"longitude_deg":75.50384,"latitude_deg":11.7349552,"altitude":6,"angle":286,"satellites":38,"speed":36,"hex_longitude":"2d00f8c0","hex_latitude":"06fe9cb0","is_valid_coordinates":true} 
[2026-06-18 13:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132576256001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318389310086709248,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":76420486217869312,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781767883000,"timestamp_ms":1781767883000,"timestamp_seconds":1781767883,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a448f8"} 
[2026-06-18 13:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:02:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:02: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-06-18 13:02:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132576256001,"66":27974,"15":206,"28":32256,"24":36,"16":318389310086709248,"45":76420486217869312},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-18 13:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132576256001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:02:36] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 13:02:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318389310086709248,"km_value":318389310086709.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":76420486217869312,"description":"Unknown IO ID 45"} 
[2026-06-18 13:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132576256001,"power":27974,"unknown_15":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":76420486217869312}} 
[2026-06-18 13:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":105957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:02:36] local.INFO: GPS data processed {"connection_id":105957,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:02:36] local.INFO: Acknowledgment sent {"connection_id":105957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:02:41] local.INFO: TCP Data received {"connection_id":107496,"ip":"117.224.171.112","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:02:41] local.INFO: Processing buffer {"connection_id":107496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:02:41] local.INFO: IMEI packet received {"connection_id":107496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":107496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:02:46] local.INFO: TCP Data received {"connection_id":107496,"ip":"117.224.171.112","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:02:46] local.INFO: Processing buffer {"connection_id":107496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:02:46] local.INFO: IMEI packet received {"connection_id":107496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":107496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:02:48] local.INFO: TCP Data received {"connection_id":107496,"ip":"117.224.171.112","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99f18d8012d1825000721a028004b013420..."} 
[2026-06-18 13:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99f18d8012d1825000721a028004b013420..."} 
[2026-06-18 13:02:48] local.INFO: Processing buffer {"connection_id":107496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99f18d8012d1825000721a028004b013420..."} 
[2026-06-18 13:02:48] local.INFO: Packet analysis {"connection_id":107496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:02:48] local.INFO: Extracted packet for processing {"connection_id":107496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119644200,"longitude_deg":75.6557056,"latitude_deg":11.96442,"altitude":75,"angle":308,"satellites":32,"speed":0,"hex_longitude":"2d182500","hex_latitude":"0721a028","is_valid_coordinates":true} 
[2026-06-18 13:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132485632001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351500420022272,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677479936,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781767543000,"timestamp_ms":1781767543000,"timestamp_seconds":1781767543,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99f18d8"} 
[2026-06-18 13:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 13:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:48] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3651010456,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:48] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2147950976,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:48] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2653077505,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 13:02:48] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3879010304,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,120,28,24,241,158,16,232,116,45,192,154,75,39,10,66,89,146,231,42,64,1,240,217,33,4,113,205,15,40,239,55,121,2,11,7,72],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 13:02:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404658365634707456,"timestamp_seconds":5404658365634707.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 13:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.171.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132485632001,"66":14070,"120":206,"28":31744,"24":0,"16":3351500420022272,"45":1739796861677479936},"client_ip":"117.224.171.112","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132485632001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:02:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:02:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351500420022272,"km_value":3351500420022.272,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677479936,"description":"Unknown IO ID 45"} 
[2026-06-18 13:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132485632001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739796861677479936}} 
[2026-06-18 13:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":107496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344204,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:02:48] local.INFO: GPS data processed {"connection_id":107496,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:02:48] local.INFO: Acknowledgment sent {"connection_id":107496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:02:52] local.INFO: TCP Data received {"connection_id":107496,"ip":"117.224.171.112","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99f4ba0012d1820000721a448004c014022..."} 
[2026-06-18 13:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99f4ba0012d1820000721a448004c014022..."} 
[2026-06-18 13:02:52] local.INFO: Processing buffer {"connection_id":107496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99f4ba0012d1820000721a448004c014022..."} 
[2026-06-18 13:02:52] local.INFO: Packet analysis {"connection_id":107496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:02:52] local.INFO: Extracted packet for processing {"connection_id":107496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645256,"longitude_deg":75.6555776,"latitude_deg":11.9645256,"altitude":76,"angle":320,"satellites":34,"speed":5,"hex_longitude":"2d182000","hex_latitude":"0721a448","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132491008001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351586319368192,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861677479936,"note":"Value kept but may cause issues"} 
[2026-06-18 13:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781767556000,"timestamp_ms":1781767556000,"timestamp_seconds":1781767556,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99f4ba0"} 
[2026-06-18 13:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:02:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-18 13:02:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.171.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132491008001,"66":14341,"120":206,"28":31744,"24":5,"16":3351586319368192,"45":1739796861677479936},"client_ip":"117.224.171.112","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132491008001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:02:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:02:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351586319368192,"km_value":3351586319368.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861677479936,"description":"Unknown IO ID 45"} 
[2026-06-18 13:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132491008001,"power":14341,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1739796861677479936}} 
[2026-06-18 13:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":107496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:02:52] local.INFO: GPS data processed {"connection_id":107496,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:02:52] local.INFO: Acknowledgment sent {"connection_id":107496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:03:08] local.INFO: TCP Data received {"connection_id":105957,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a47fa8012d00d38006fea3c00006011426..."} 
[2026-06-18 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a47fa8012d00d38006fea3c00006011426..."} 
[2026-06-18 13:03:08] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a47fa8012d00d38006fea3c00006011426..."} 
[2026-06-18 13:03:08] local.INFO: Packet analysis {"connection_id":105957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:03:08] local.INFO: Extracted packet for processing {"connection_id":105957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:03:08] local.INFO: GPS Element Parsed {"raw_longitude":755028864,"raw_latitude":117351360,"longitude_deg":75.5028864,"latitude_deg":11.735136,"altitude":6,"angle":276,"satellites":38,"speed":25,"hex_longitude":"2d00d380","hex_latitude":"06fea3c0","is_valid_coordinates":true} 
[2026-06-18 13:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132578048001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318389773943177216,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":70016930498260992,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781767897000,"timestamp_ms":1781767897000,"timestamp_seconds":1781767897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a47fa8"} 
[2026-06-18 13:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132578048001,"66":27930,"15":206,"28":32256,"24":25,"16":318389773943177216,"45":70016930498260992},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-18 13:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132578048001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:03:08] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 13:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318389773943177216,"km_value":318389773943177.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":70016930498260992,"description":"Unknown IO ID 45"} 
[2026-06-18 13:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132578048001,"power":27930,"unknown_15":206,"unknown_28":32256,"ignition":25,"odometer":null,"unknown_45":70016930498260992}} 
[2026-06-18 13:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":105957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:03:08] local.INFO: GPS data processed {"connection_id":105957,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:03:08] local.INFO: Acknowledgment sent {"connection_id":105957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:03:27] local.INFO: TCP Data received {"connection_id":105776,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:27] local.INFO: Processing buffer {"connection_id":105776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:27] local.INFO: IMEI packet received {"connection_id":105776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":105776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:03:31] local.INFO: TCP Data received {"connection_id":105776,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:31] local.INFO: Processing buffer {"connection_id":105776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:31] local.INFO: IMEI packet received {"connection_id":105776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":105776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:03:33] local.INFO: TCP Data received {"connection_id":105776,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:33] local.INFO: Processing buffer {"connection_id":105776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:03:33] local.INFO: IMEI packet received {"connection_id":105776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":105776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:03:34] local.INFO: TCP Data received {"connection_id":105776,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a4ae88012d00ae4006fea7600005011724..."} 
[2026-06-18 13:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a4ae88012d00ae4006fea7600005011724..."} 
[2026-06-18 13:03:34] local.INFO: Processing buffer {"connection_id":105776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a4ae88012d00ae4006fea7600005011724..."} 
[2026-06-18 13:03:34] local.INFO: Packet analysis {"connection_id":105776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:03:34] local.INFO: Extracted packet for processing {"connection_id":105776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:03:34] local.INFO: GPS Element Parsed {"raw_longitude":755019328,"raw_latitude":117352288,"longitude_deg":75.5019328,"latitude_deg":11.7352288,"altitude":5,"angle":279,"satellites":36,"speed":31,"hex_longitude":"2d00ae40","hex_latitude":"06fea760","is_valid_coordinates":true} 
[2026-06-18 13:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132581632001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318390229209710592,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":59531987616251904,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781767909000,"timestamp_ms":1781767909000,"timestamp_seconds":1781767909,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a4ae88"} 
[2026-06-18 13:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:03: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-06-18 13:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 13:03: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-06-18 13:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132581632001,"66":27908,"15":206,"28":32256,"24":31,"16":318390229209710592,"45":59531987616251904},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-18 13:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132581632001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:03:34] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 13:03:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318390229209710592,"km_value":318390229209710.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":59531987616251904,"description":"Unknown IO ID 45"} 
[2026-06-18 13:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132581632001,"power":27908,"unknown_15":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":59531987616251904}} 
[2026-06-18 13:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":105776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:03:34] local.INFO: GPS data processed {"connection_id":105776,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:03:34] local.INFO: Acknowledgment sent {"connection_id":105776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:03:35] local.INFO: TCP Data received {"connection_id":105776,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a4b270012d00ab4006fea8400005012322..."} 
[2026-06-18 13:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a4b270012d00ab4006fea8400005012322..."} 
[2026-06-18 13:03:35] local.INFO: Processing buffer {"connection_id":105776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a4b270012d00ab4006fea8400005012322..."} 
[2026-06-18 13:03:35] local.INFO: Packet analysis {"connection_id":105776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:03:35] local.INFO: Extracted packet for processing {"connection_id":105776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:03:35] local.INFO: GPS Element Parsed {"raw_longitude":755018560,"raw_latitude":117352512,"longitude_deg":75.501856,"latitude_deg":11.7352512,"altitude":5,"angle":291,"satellites":34,"speed":32,"hex_longitude":"2d00ab40","hex_latitude":"06fea840","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132584704001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318390267864416256,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":49047044734017536,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781767910000,"timestamp_ms":1781767910000,"timestamp_seconds":1781767910,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a4b270"} 
[2026-06-18 13:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 13:03:35] 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-06-18 13: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-06-18 13:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132584704001,"66":27843,"15":206,"28":32256,"24":32,"16":318390267864416256,"45":49047044734017536},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-18 13:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132584704001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:03:35] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 13:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318390267864416256,"km_value":318390267864416.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":49047044734017536,"description":"Unknown IO ID 45"} 
[2026-06-18 13:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132584704001,"power":27843,"unknown_15":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_45":49047044734017536}} 
[2026-06-18 13:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":105776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:03:35] local.INFO: GPS data processed {"connection_id":105776,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:03:35] local.INFO: Acknowledgment sent {"connection_id":105776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:03:36] local.INFO: TCP Data received {"connection_id":105777,"ip":"117.224.171.112","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:03:36] local.INFO: Processing buffer {"connection_id":105777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:03:36] local.INFO: IMEI packet received {"connection_id":105777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":105777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:03:41] local.INFO: TCP Data received {"connection_id":105777,"ip":"117.224.171.112","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:03:41] local.INFO: Processing buffer {"connection_id":105777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:03:41] local.INFO: IMEI packet received {"connection_id":105777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":105777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:03:43] local.INFO: TCP Data received {"connection_id":105777,"ip":"117.224.171.112","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99f4f88012d181fc00721a4b8004c013323..."} 
[2026-06-18 13:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99f4f88012d181fc00721a4b8004c013323..."} 
[2026-06-18 13:03:43] local.INFO: Processing buffer {"connection_id":105777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99f4f88012d181fc00721a4b8004c013323..."} 
[2026-06-18 13:03:43] local.INFO: Packet analysis {"connection_id":105777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:03:43] local.INFO: Extracted packet for processing {"connection_id":105777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:03:43] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645368,"longitude_deg":75.6555712,"latitude_deg":11.9645368,"altitude":76,"angle":307,"satellites":35,"speed":6,"hex_longitude":"2d181fc0","hex_latitude":"0721a4b8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132494336001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351594909302784,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794196992,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781767557000,"timestamp_ms":1781767557000,"timestamp_seconds":1781767557,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99f4f88"} 
[2026-06-18 13:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6960029199,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503650753904640,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3651019456,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":240,"raw_value":20267337160597504,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2656661505,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":42,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":56,"raw_value":84750856633131392,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3883204608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:03:43] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,232,45,160,75,32,10,66,198,38,116,192,1,240,22,217,33,4,113,205,30,42,94,56,39,239,55,121,2,11,7,72,206],"length":529,"final_offset":659,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 13:03:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476729136632627200,"timestamp_seconds":5476729136632627.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 13:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.171.112","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132494336001,"66":14374,"120":206,"28":31744,"24":6,"16":3351594909302784,"45":1738389486794196992},"client_ip":"117.224.171.112","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132494336001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:03:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:03:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351594909302784,"km_value":3351594909302.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794196992,"description":"Unknown IO ID 45"} 
[2026-06-18 13:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132494336001,"power":14374,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738389486794196992}} 
[2026-06-18 13:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":105777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:03:43] local.INFO: GPS data processed {"connection_id":105777,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:03:43] local.INFO: Acknowledgment sent {"connection_id":105777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:04:07] local.INFO: TCP Data received {"connection_id":105776,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a4c5f8012d009c0006feb1480004012f21..."} 
[2026-06-18 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a4c5f8012d009c0006feb1480004012f21..."} 
[2026-06-18 13:04:07] local.INFO: Processing buffer {"connection_id":105776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a4c5f8012d009c0006feb1480004012f21..."} 
[2026-06-18 13:04:07] local.INFO: Packet analysis {"connection_id":105776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:04:07] local.INFO: Extracted packet for processing {"connection_id":105776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a4"} 
[2026-06-18 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":755014656,"raw_latitude":117354824,"longitude_deg":75.5014656,"latitude_deg":11.7354824,"altitude":4,"angle":303,"satellites":33,"speed":35,"hex_longitude":"2d009c00","hex_latitude":"06feb148","is_valid_coordinates":true} 
[2026-06-18 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132584960001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318390482612781056,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":48202619803942912,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781767915000,"timestamp_ms":1781767915000,"timestamp_seconds":1781767915,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a4c5f8"} 
[2026-06-18 13:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 13:04:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132584960001,"66":27876,"15":206,"28":32256,"24":35,"16":318390482612781056,"45":48202619803942912},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-06-18 13:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132584960001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:04:07] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-06-18 13:04:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318390482612781056,"km_value":318390482612781.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:04:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":48202619803942912,"description":"Unknown IO ID 45"} 
[2026-06-18 13:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132584960001,"power":27876,"unknown_15":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":48202619803942912}} 
[2026-06-18 13:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":105776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:04:07] local.INFO: GPS data processed {"connection_id":105776,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:04:07] local.INFO: Acknowledgment sent {"connection_id":105776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:04:22] local.INFO: TCP Data received {"connection_id":105958,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:22] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:22] local.INFO: IMEI packet received {"connection_id":105958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":105958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:04:25] local.INFO: TCP Data received {"connection_id":105958,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:25] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:25] local.INFO: IMEI packet received {"connection_id":105958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":105958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:04:27] local.INFO: TCP Data received {"connection_id":105958,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:27] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:04:27] local.INFO: IMEI packet received {"connection_id":105958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":105958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:04:28] local.INFO: TCP Data received {"connection_id":105958,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a63140012d0027c006ff91d8000a012822..."} 
[2026-06-18 13:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a63140012d0027c006ff91d8000a012822..."} 
[2026-06-18 13:04:28] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a63140012d0027c006ff91d8000a012822..."} 
[2026-06-18 13:04:28] local.INFO: Packet analysis {"connection_id":105958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:04:28] local.INFO: Extracted packet for processing {"connection_id":105958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:04:28] local.INFO: GPS Element Parsed {"raw_longitude":754984896,"raw_latitude":117412312,"longitude_deg":75.4984896,"latitude_deg":11.7412312,"altitude":10,"angle":296,"satellites":34,"speed":26,"hex_longitude":"2d0027c0","hex_latitude":"06ff91d8","is_valid_coordinates":true} 
[2026-06-18 13:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132610048001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318393811212435456,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":11188660381800448,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781768008000,"timestamp_ms":1781768008000,"timestamp_seconds":1781768008,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a63140"} 
[2026-06-18 13:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 13:04:28] 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-06-18 13:04:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132610048001,"66":28006,"195":206,"28":32256,"24":26,"16":318393811212435456,"45":11188660381800448},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-06-18 13:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132610048001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:04:28] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-18 13:04:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318393811212435456,"km_value":318393811212435.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":11188660381800448,"description":"Unknown IO ID 45"} 
[2026-06-18 13:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132610048001,"power":28006,"unknown_195":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":11188660381800448}} 
[2026-06-18 13:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":105958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:04:28] local.INFO: GPS data processed {"connection_id":105958,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:04:28] local.INFO: Acknowledgment sent {"connection_id":105958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:04:59] local.INFO: TCP Data received {"connection_id":105958,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a64c98012d001ec006ff95a0000a011524..."} 
[2026-06-18 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a64c98012d001ec006ff95a0000a011524..."} 
[2026-06-18 13:04:59] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a64c98012d001ec006ff95a0000a011524..."} 
[2026-06-18 13:04:59] local.INFO: Packet analysis {"connection_id":105958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:04:59] local.INFO: Extracted packet for processing {"connection_id":105958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":754982592,"raw_latitude":117413280,"longitude_deg":75.4982592,"latitude_deg":11.741328,"altitude":10,"angle":277,"satellites":36,"speed":12,"hex_longitude":"2d001ec0","hex_latitude":"06ff95a0","is_valid_coordinates":true} 
[2026-06-18 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132610048001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318393931471519744,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":11188660381800448,"note":"Value kept but may cause issues"} 
[2026-06-18 13:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781768015000,"timestamp_ms":1781768015000,"timestamp_seconds":1781768015,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a64c98"} 
[2026-06-18 13:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 13:04: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-06-18 13:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":105958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":105958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":105958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132610048001,"66":27930,"195":206,"28":32256,"24":12,"16":318393931471519744,"45":11188660381800448},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,28,24,16,45]} 
[2026-06-18 13:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132610048001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:04:59] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-18 13:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318393931471519744,"km_value":318393931471519.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":11188660381800448,"description":"Unknown IO ID 45"} 
[2026-06-18 13:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132610048001,"power":27930,"unknown_195":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":11188660381800448}} 
[2026-06-18 13:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":105958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:04:59] local.INFO: GPS data processed {"connection_id":105958,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:04:59] local.INFO: Acknowledgment sent {"connection_id":105958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:05:04] local.INFO: TCP Data received {"connection_id":106525,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:05:04] local.INFO: Processing buffer {"connection_id":106525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:05:04] local.INFO: IMEI packet received {"connection_id":106525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":106525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:05:24] local.INFO: TCP Data received {"connection_id":106526,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:24] local.INFO: Processing buffer {"connection_id":106526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:24] local.INFO: IMEI packet received {"connection_id":106526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":106526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:05:25] local.INFO: TCP Data received {"connection_id":106526,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:25] local.INFO: Processing buffer {"connection_id":106526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:25] local.INFO: IMEI packet received {"connection_id":106526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":106526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:05:30] local.INFO: TCP Data received {"connection_id":106526,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:30] local.INFO: Processing buffer {"connection_id":106526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:05:30] local.INFO: IMEI packet received {"connection_id":106526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":106526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:05:31] local.INFO: TCP Data received {"connection_id":106526,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a65850012d001a0006ff9698000a012223..."} 
[2026-06-18 13:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a65850012d001a0006ff9698000a012223..."} 
[2026-06-18 13:05:31] local.INFO: Processing buffer {"connection_id":106526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a65850012d001a0006ff9698000a012223..."} 
[2026-06-18 13:05:31] local.INFO: Packet analysis {"connection_id":106526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:05:31] local.INFO: Extracted packet for processing {"connection_id":106526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:05:31] local.INFO: GPS Element Parsed {"raw_longitude":754981376,"raw_latitude":117413528,"longitude_deg":75.4981376,"latitude_deg":11.7413528,"altitude":10,"angle":290,"satellites":35,"speed":19,"hex_longitude":"2d001a00","hex_latitude":"06ff9698","is_valid_coordinates":true} 
[2026-06-18 13:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132611840001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318393991601061888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8655385591652352,"note":"Value kept but may cause issues"} 
[2026-06-18 13:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768018000,"timestamp_ms":1781768018000,"timestamp_seconds":1781768018,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a65850"} 
[2026-06-18 13:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 13:05: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-06-18 13:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132611840001,"66":27887,"196":206,"28":32256,"24":19,"16":318393991601061888,"45":8655385591652352},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-18 13:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132611840001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:05:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 13:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318393991601061888,"km_value":318393991601061.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8655385591652352,"description":"Unknown IO ID 45"} 
[2026-06-18 13:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132611840001,"power":27887,"unknown_196":206,"unknown_28":32256,"ignition":19,"odometer":null,"unknown_45":8655385591652352}} 
[2026-06-18 13:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":106526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:05:31] local.INFO: GPS data processed {"connection_id":106526,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:05:31] local.INFO: Acknowledgment sent {"connection_id":106526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:05:34] local.INFO: TCP Data received {"connection_id":107498,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:05:34] local.INFO: Processing buffer {"connection_id":107498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:05:34] local.INFO: IMEI packet received {"connection_id":107498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":107498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:05:51] local.INFO: TCP Data received {"connection_id":106527,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:05:51] local.INFO: Processing buffer {"connection_id":106527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:05:51] local.INFO: IMEI packet received {"connection_id":106527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":106527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:05:56] local.INFO: TCP Data received {"connection_id":106527,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:05:56] local.INFO: Processing buffer {"connection_id":106527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:05:56] local.INFO: IMEI packet received {"connection_id":106527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":106527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:06:00] local.INFO: TCP Data received {"connection_id":106527,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99f8e08012d181cc00721a7e0004b014f27..."} 
[2026-06-18 13:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99f8e08012d181cc00721a7e0004b014f27..."} 
[2026-06-18 13:06:00] local.INFO: Processing buffer {"connection_id":106527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99f8e08012d181cc00721a7e0004b014f27..."} 
[2026-06-18 13:06:00] local.INFO: Packet analysis {"connection_id":106527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:06:00] local.INFO: Extracted packet for processing {"connection_id":106527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646176,"longitude_deg":75.6554944,"latitude_deg":11.9646176,"altitude":75,"angle":335,"satellites":39,"speed":9,"hex_longitude":"2d181cc0","hex_latitude":"0721a7e0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132495104001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351650743877632,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073390592,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781767573000,"timestamp_ms":1781767573000,"timestamp_seconds":1781767573,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99f8e08"} 
[2026-06-18 13:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:06:00] 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-06-18 13: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-18 13:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132495104001,"66":13254,"120":206,"28":31744,"24":9,"16":3351650743877632,"45":1738037643073390592},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132495104001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:06:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351650743877632,"km_value":3351650743877.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073390592,"description":"Unknown IO ID 45"} 
[2026-06-18 13:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132495104001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1738037643073390592}} 
[2026-06-18 13:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":106527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:06:00] local.INFO: GPS data processed {"connection_id":106527,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:06:00] local.INFO: Acknowledgment sent {"connection_id":106527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:06:03] local.INFO: TCP Data received {"connection_id":106526,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a667f0012d00110006ff9af00009012d25..."} 
[2026-06-18 13:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a667f0012d00110006ff9af00009012d25..."} 
[2026-06-18 13:06:03] local.INFO: Processing buffer {"connection_id":106526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a667f0012d00110006ff9af00009012d25..."} 
[2026-06-18 13:06:03] local.INFO: Packet analysis {"connection_id":106526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:06:03] local.INFO: Extracted packet for processing {"connection_id":106526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:06:03] local.INFO: GPS Element Parsed {"raw_longitude":754979072,"raw_latitude":117414640,"longitude_deg":75.4979072,"latitude_deg":11.741464,"altitude":9,"angle":301,"satellites":37,"speed":26,"hex_longitude":"2d001100","hex_latitude":"06ff9af0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132612608001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318394111860146176,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7318379452340224,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768022000,"timestamp_ms":1781768022000,"timestamp_seconds":1781768022,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a667f0"} 
[2026-06-18 13:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:06: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-06-18 13: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":239,"data_length":795,"current_offset":136} 
[2026-06-18 13:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132612608001,"66":27865,"196":206,"28":32256,"24":26,"16":318394111860146176,"45":7318379452340224},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-18 13:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132612608001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:06:03] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 13:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318394111860146176,"km_value":318394111860146.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7318379452340224,"description":"Unknown IO ID 45"} 
[2026-06-18 13:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132612608001,"power":27865,"unknown_196":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":7318379452340224}} 
[2026-06-18 13:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":106526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:06:03] local.INFO: GPS data processed {"connection_id":106526,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:06:03] local.INFO: Acknowledgment sent {"connection_id":106526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:06:25] local.INFO: TCP Data received {"connection_id":107499,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:06:25] local.INFO: Processing buffer {"connection_id":107499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:06:25] local.INFO: IMEI packet received {"connection_id":107499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:06:25] local.INFO: IMEI acknowledgment sent {"connection_id":107499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:06:30] local.INFO: TCP Data received {"connection_id":107499,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:06:30] local.INFO: Processing buffer {"connection_id":107499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:06:30] local.INFO: IMEI packet received {"connection_id":107499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:06:30] local.INFO: IMEI acknowledgment sent {"connection_id":107499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:06:31] local.INFO: TCP Data received {"connection_id":107499,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a68348012cffffc006ffa8a00009013926..."} 
[2026-06-18 13:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a68348012cffffc006ffa8a00009013926..."} 
[2026-06-18 13:06:31] local.INFO: Processing buffer {"connection_id":107499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a68348012cffffc006ffa8a00009013926..."} 
[2026-06-18 13:06:31] local.INFO: Packet analysis {"connection_id":107499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:06:31] local.INFO: Extracted packet for processing {"connection_id":107499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a6"} 
[2026-06-18 13:06:31] local.INFO: GPS Element Parsed {"raw_longitude":754974656,"raw_latitude":117418144,"longitude_deg":75.4974656,"latitude_deg":11.7418144,"altitude":9,"angle":313,"satellites":38,"speed":36,"hex_longitude":"2cffffc0","hex_latitude":"06ffa8a0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132613632001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318394382443085824,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4785104662228992,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768029000,"timestamp_ms":1781768029000,"timestamp_seconds":1781768029,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a68348"} 
[2026-06-18 13:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13: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-06-18 13: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-06-18 13:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132613632001,"66":27865,"196":206,"28":32256,"24":36,"16":318394382443085824,"45":4785104662228992},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-06-18 13:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132613632001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:06:31] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 13:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318394382443085824,"km_value":318394382443085.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4785104662228992,"description":"Unknown IO ID 45"} 
[2026-06-18 13:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132613632001,"power":27865,"unknown_196":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":4785104662228992}} 
[2026-06-18 13:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":107499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:06:31] local.INFO: GPS data processed {"connection_id":107499,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:06:31] local.INFO: Acknowledgment sent {"connection_id":107499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:06:36] local.INFO: TCP Data received {"connection_id":107500,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:06:36] local.INFO: Processing buffer {"connection_id":107500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:06:36] local.INFO: IMEI packet received {"connection_id":107500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":107500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:06:41] local.INFO: TCP Data received {"connection_id":107500,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:06:41] local.INFO: Processing buffer {"connection_id":107500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:06:41] local.INFO: IMEI packet received {"connection_id":107500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:06:41] local.INFO: IMEI acknowledgment sent {"connection_id":107500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:06:43] local.INFO: TCP Data received {"connection_id":107500,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99f91f0012d181c800721a8c0004b016227..."} 
[2026-06-18 13:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99f91f0012d181c800721a8c0004b016227..."} 
[2026-06-18 13:06:43] local.INFO: Processing buffer {"connection_id":107500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99f91f0012d181c800721a8c0004b016227..."} 
[2026-06-18 13:06:43] local.INFO: Packet analysis {"connection_id":107500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:06:43] local.INFO: Extracted packet for processing {"connection_id":107500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646400,"longitude_deg":75.655488,"latitude_deg":11.96464,"altitude":75,"angle":354,"satellites":39,"speed":8,"hex_longitude":"2d181c80","hex_latitude":"0721a8c0","is_valid_coordinates":true} 
[2026-06-18 13:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132498688001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351659333812224,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120122880,"note":"Value kept but may cause issues"} 
[2026-06-18 13:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781767574000,"timestamp_ms":1781767574000,"timestamp_seconds":1781767574,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99f91f0"} 
[2026-06-18 13:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 13:06:43] 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-06-18 13:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132498688001,"66":13254,"120":206,"28":31744,"24":8,"16":3351659333812224,"45":1737474693120122880},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132498688001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:06:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351659333812224,"km_value":3351659333812.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120122880,"description":"Unknown IO ID 45"} 
[2026-06-18 13:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132498688001,"power":13254,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737474693120122880}} 
[2026-06-18 13:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":107500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:06:43] local.INFO: GPS data processed {"connection_id":107500,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:06:43] local.INFO: Acknowledgment sent {"connection_id":107500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:07:03] local.INFO: TCP Data received {"connection_id":107499,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a8c180012cfef00007004a200009008a21..."} 
[2026-06-18 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a8c180012cfef00007004a200009008a21..."} 
[2026-06-18 13:07:03] local.INFO: Processing buffer {"connection_id":107499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a8c180012cfef00007004a200009008a21..."} 
[2026-06-18 13:07:03] local.INFO: Packet analysis {"connection_id":107499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a8"} 
[2026-06-18 13:07:03] local.INFO: Extracted packet for processing {"connection_id":107499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a8"} 
[2026-06-18 13:07:03] local.INFO: GPS Element Parsed {"raw_longitude":754905088,"raw_latitude":117459488,"longitude_deg":75.4905088,"latitude_deg":11.7459488,"altitude":9,"angle":138,"satellites":33,"speed":9,"hex_longitude":"2cfef000","hex_latitude":"07004a20","is_valid_coordinates":true} 
[2026-06-18 13:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132652800001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318398608690905088,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76631532339791872,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768176000,"timestamp_ms":1781768176000,"timestamp_seconds":1781768176,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a8c180"} 
[2026-06-18 13:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:07: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-06-18 13:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:07:03] 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-06-18 13:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132652800001,"66":27974,"33":206,"28":32256,"24":9,"16":318398608690905088,"44":-76631532339791872},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132652800001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:07:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:07:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318398608690905088,"km_value":318398608690905.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:07:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76631532339791872,"description":"Unknown IO ID 44"} 
[2026-06-18 13:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132652800001,"power":27974,"unknown_33":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_44":-76631532339791872}} 
[2026-06-18 13:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":107499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:07:03] local.INFO: GPS data processed {"connection_id":107499,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:07:03] local.INFO: Acknowledgment sent {"connection_id":107499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:07:14] local.INFO: TCP Data received {"connection_id":107500,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99f95d8012d181c800721a9a0004b000827..."} 
[2026-06-18 13:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99f95d8012d181c800721a9a0004b000827..."} 
[2026-06-18 13:07:14] local.INFO: Processing buffer {"connection_id":107500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99f95d8012d181c800721a9a0004b000827..."} 
[2026-06-18 13:07:14] local.INFO: Packet analysis {"connection_id":107500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:07:14] local.INFO: Extracted packet for processing {"connection_id":107500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:07:14] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119646624,"longitude_deg":75.655488,"latitude_deg":11.9646624,"altitude":75,"angle":8,"satellites":39,"speed":8,"hex_longitude":"2d181c80","hex_latitude":"0721a9a0","is_valid_coordinates":true} 
[2026-06-18 13:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132498944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351672218714112,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376002560,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781767575000,"timestamp_ms":1781767575000,"timestamp_seconds":1781767575,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99f95d8"} 
[2026-06-18 13:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:07:14] 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-06-18 13:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 13:07: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-06-18 13:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:07:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132498944001,"66":13396,"120":206,"28":31744,"24":8,"16":3351672218714112,"45":1737404324376002560},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132498944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:07:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:07:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351672218714112,"km_value":3351672218714.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376002560,"description":"Unknown IO ID 45"} 
[2026-06-18 13:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132498944001,"power":13396,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737404324376002560}} 
[2026-06-18 13:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":107500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:07:14] local.INFO: GPS data processed {"connection_id":107500,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:07:14] local.INFO: Acknowledgment sent {"connection_id":107500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:07:25] local.INFO: TCP Data received {"connection_id":106528,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:07:25] local.INFO: Processing buffer {"connection_id":106528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:07:25] local.INFO: IMEI packet received {"connection_id":106528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":106528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:07:30] local.INFO: TCP Data received {"connection_id":106528,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:07:30] local.INFO: Processing buffer {"connection_id":106528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:07:30] local.INFO: IMEI packet received {"connection_id":106528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":106528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:07:31] local.INFO: TCP Data received {"connection_id":106528,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a8c950012cfef140070049280009007321..."} 
[2026-06-18 13:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a8c950012cfef140070049280009007321..."} 
[2026-06-18 13:07:31] local.INFO: Processing buffer {"connection_id":106528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a8c950012cfef140070049280009007321..."} 
[2026-06-18 13:07:31] local.INFO: Packet analysis {"connection_id":106528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a8"} 
[2026-06-18 13:07:31] local.INFO: Extracted packet for processing {"connection_id":106528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a8"} 
[2026-06-18 13:07:31] local.INFO: GPS Element Parsed {"raw_longitude":754905408,"raw_latitude":117459240,"longitude_deg":75.4905408,"latitude_deg":11.745924,"altitude":9,"angle":115,"satellites":33,"speed":6,"hex_longitude":"2cfef140","hex_latitude":"07004928","is_valid_coordinates":true} 
[2026-06-18 13:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132653056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318398630165741568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76561163595669504,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768178000,"timestamp_ms":1781768178000,"timestamp_seconds":1781768178,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a8c950"} 
[2026-06-18 13:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:07: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-06-18 13:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132653056001,"66":27974,"33":206,"28":32256,"24":6,"16":318398630165741568,"44":-76561163595669504},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132653056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:07:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318398630165741568,"km_value":318398630165741.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76561163595669504,"description":"Unknown IO ID 44"} 
[2026-06-18 13:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132653056001,"power":27974,"unknown_33":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-76561163595669504}} 
[2026-06-18 13:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":106528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:07:31] local.INFO: GPS data processed {"connection_id":106528,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:07:31] local.INFO: Acknowledgment sent {"connection_id":106528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:07:41] local.INFO: TCP Data received {"connection_id":107501,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:07:41] local.INFO: Processing buffer {"connection_id":107501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:07:41] local.INFO: IMEI packet received {"connection_id":107501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":107501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:07:46] local.INFO: TCP Data received {"connection_id":107501,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107501,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:07:46] local.INFO: Processing buffer {"connection_id":107501,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:07:46] local.INFO: IMEI packet received {"connection_id":107501,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":107501,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:07:48] local.INFO: TCP Data received {"connection_id":107501,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99f99c0012d181cc00721aa58004c001928..."} 
[2026-06-18 13:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99f99c0012d181cc00721aa58004c001928..."} 
[2026-06-18 13:07:48] local.INFO: Processing buffer {"connection_id":107501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99f99c0012d181cc00721aa58004c001928..."} 
[2026-06-18 13:07:48] local.INFO: Packet analysis {"connection_id":107501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:07:48] local.INFO: Extracted packet for processing {"connection_id":107501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:07:48] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646808,"longitude_deg":75.6554944,"latitude_deg":11.9646808,"altitude":76,"angle":25,"satellites":40,"speed":6,"hex_longitude":"2d181cc0","hex_latitude":"0721aa58","is_valid_coordinates":true} 
[2026-06-18 13:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499200001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351680808648704,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324376059904,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781767576000,"timestamp_ms":1781767576000,"timestamp_seconds":1781767576,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99f99c0"} 
[2026-06-18 13:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:07:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-18 13:07:48] 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-06-18 13:07:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:07:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499200001,"66":13396,"120":206,"28":31744,"24":6,"16":3351680808648704,"45":1737404324376059904},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499200001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:07:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:07:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351680808648704,"km_value":3351680808648.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324376059904,"description":"Unknown IO ID 45"} 
[2026-06-18 13:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499200001,"power":13396,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1737404324376059904}} 
[2026-06-18 13:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":107501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:07:48] local.INFO: GPS data processed {"connection_id":107501,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:07:48] local.INFO: Acknowledgment sent {"connection_id":107501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:07:52] local.INFO: TCP Data received {"connection_id":107501,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99f9da8012d181d000721aae0004c002a28..."} 
[2026-06-18 13:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99f9da8012d181d000721aae0004c002a28..."} 
[2026-06-18 13:07:52] local.INFO: Processing buffer {"connection_id":107501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99f9da8012d181d000721aae0004c002a28..."} 
[2026-06-18 13:07:52] local.INFO: Packet analysis {"connection_id":107501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:07:52] local.INFO: Extracted packet for processing {"connection_id":107501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119646944,"longitude_deg":75.6555008,"latitude_deg":11.9646944,"altitude":76,"angle":42,"satellites":40,"speed":7,"hex_longitude":"2d181d00","hex_latitude":"0721aae0","is_valid_coordinates":true} 
[2026-06-18 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499456001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351689398583296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120284672,"note":"Value kept but may cause issues"} 
[2026-06-18 13:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781767577000,"timestamp_ms":1781767577000,"timestamp_seconds":1781767577,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99f9da8"} 
[2026-06-18 13:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-18 13:07:52] 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-06-18 13:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107501,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499456001,"66":13222,"120":206,"28":31744,"24":7,"16":3351689398583296,"45":1737474693120284672},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499456001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:07:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:07:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351689398583296,"km_value":3351689398583.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120284672,"description":"Unknown IO ID 45"} 
[2026-06-18 13:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499456001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1737474693120284672}} 
[2026-06-18 13:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":107501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:07:52] local.INFO: GPS data processed {"connection_id":107501,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:07:52] local.INFO: Acknowledgment sent {"connection_id":107501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:08:03] local.INFO: TCP Data received {"connection_id":106528,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a8d508012cfef340070047d80008008022..."} 
[2026-06-18 13:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a8d508012cfef340070047d80008008022..."} 
[2026-06-18 13:08:03] local.INFO: Processing buffer {"connection_id":106528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a8d508012cfef340070047d80008008022..."} 
[2026-06-18 13:08:03] local.INFO: Packet analysis {"connection_id":106528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a8"} 
[2026-06-18 13:08:03] local.INFO: Extracted packet for processing {"connection_id":106528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a8"} 
[2026-06-18 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":754905920,"raw_latitude":117458904,"longitude_deg":75.490592,"latitude_deg":11.7458904,"altitude":8,"angle":128,"satellites":34,"speed":9,"hex_longitude":"2cfef340","hex_latitude":"070047d8","is_valid_coordinates":true} 
[2026-06-18 13:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132653568001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318398660230512640,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76209319874844672,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768181000,"timestamp_ms":1781768181000,"timestamp_seconds":1781768181,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a8d508"} 
[2026-06-18 13:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:08: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-06-18 13:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:08:03] 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-06-18 13:08:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132653568001,"66":27995,"33":206,"28":32256,"24":9,"16":318398660230512640,"44":-76209319874844672},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132653568001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:08:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318398660230512640,"km_value":318398660230512.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:08:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76209319874844672,"description":"Unknown IO ID 44"} 
[2026-06-18 13:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132653568001,"power":27995,"unknown_33":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_44":-76209319874844672}} 
[2026-06-18 13:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":106528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:08:03] local.INFO: GPS data processed {"connection_id":106528,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:08:03] local.INFO: Acknowledgment sent {"connection_id":106528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:08:30] local.INFO: TCP Data received {"connection_id":105778,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:08:30] local.INFO: Processing buffer {"connection_id":105778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:08:30] local.INFO: IMEI packet received {"connection_id":105778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":105778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:08:31] local.INFO: TCP Data received {"connection_id":105778,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:08:31] local.INFO: Processing buffer {"connection_id":105778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:08:31] local.INFO: IMEI packet received {"connection_id":105778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":105778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:08:32] local.INFO: TCP Data received {"connection_id":105778,"ip":"117.224.120.98","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed9..."} 
[2026-06-18 13:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105778,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed9..."} 
[2026-06-18 13:08:32] local.INFO: Processing buffer {"connection_id":105778,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019ed9..."} 
[2026-06-18 13:08:32] local.INFO: IMEI packet received {"connection_id":105778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":105778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:08:33] local.INFO: TCP Data received {"connection_id":105778,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a97918012cfefac0070040f80007008121..."} 
[2026-06-18 13:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a97918012cfefac0070040f80007008121..."} 
[2026-06-18 13:08:33] local.INFO: Processing buffer {"connection_id":105778,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed9a92710012cfefac0070040f80007008121..."} 
[2026-06-18 13:08:33] local.INFO: Packet analysis {"connection_id":105778,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed9a9"} 
[2026-06-18 13:08:33] local.INFO: Extracted packet for processing {"connection_id":105778,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a9"} 
[2026-06-18 13:08:33] local.INFO: GPS Element Parsed {"raw_longitude":754907840,"raw_latitude":117457144,"longitude_deg":75.490784,"latitude_deg":11.7457144,"altitude":7,"angle":129,"satellites":33,"speed":0,"hex_longitude":"2cfefac0","hex_latitude":"070040f8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132654336001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318398784784564224,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75646369921509376,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781768202000,"timestamp_ms":1781768202000,"timestamp_seconds":1781768202,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a92710"} 
[2026-06-18 13:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:08: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-06-18 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:08: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-06-18 13: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-06-18 13:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132654336001,"66":27919,"33":206,"28":32256,"24":0,"16":318398784784564224,"44":-75646369921509376},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132654336001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:08:33] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:08:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318398784784564224,"km_value":318398784784564.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:08:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75646369921509376,"description":"Unknown IO ID 44"} 
[2026-06-18 13:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132654336001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-75646369921509376}} 
[2026-06-18 13:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":105778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:08:33] local.INFO: GPS data processed {"connection_id":105778,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:08:33] local.INFO: Acknowledgment sent {"connection_id":105778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:08:33] local.INFO: Packet analysis {"connection_id":105778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a9"} 
[2026-06-18 13:08:33] local.INFO: Extracted packet for processing {"connection_id":105778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a9"} 
[2026-06-18 13:08:33] local.INFO: GPS Element Parsed {"raw_longitude":754907840,"raw_latitude":117457144,"longitude_deg":75.490784,"latitude_deg":11.7457144,"altitude":7,"angle":129,"satellites":33,"speed":0,"hex_longitude":"2cfefac0","hex_latitude":"070040f8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132659712001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318398784784564224,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73535307596630016,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781768223000,"timestamp_ms":1781768223000,"timestamp_seconds":1781768223,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a97918"} 
[2026-06-18 13:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:08: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-06-18 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:08:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132659712001,"66":28028,"33":206,"28":32256,"24":0,"16":318398784784564224,"44":-73535307596630016},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132659712001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:08:33] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:08:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318398784784564224,"km_value":318398784784564.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:08:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73535307596630016,"description":"Unknown IO ID 44"} 
[2026-06-18 13:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132659712001,"power":28028,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73535307596630016}} 
[2026-06-18 13:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":105778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:08:33] local.INFO: GPS data processed {"connection_id":105778,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:08:33] local.INFO: Acknowledgment sent {"connection_id":105778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:08:34] local.INFO: TCP Data received {"connection_id":105778,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9a9cb20012cfeffc007003c380007008425..."} 
[2026-06-18 13:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9a9cb20012cfeffc007003c380007008425..."} 
[2026-06-18 13:08:34] local.INFO: Processing buffer {"connection_id":105778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9a9cb20012cfeffc007003c380007008425..."} 
[2026-06-18 13:08:34] local.INFO: Packet analysis {"connection_id":105778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9a9"} 
[2026-06-18 13:08:34] local.INFO: Extracted packet for processing {"connection_id":105778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9a9"} 
[2026-06-18 13:08:34] local.INFO: GPS Element Parsed {"raw_longitude":754909120,"raw_latitude":117455928,"longitude_deg":75.490912,"latitude_deg":11.7455928,"altitude":7,"angle":132,"satellites":37,"speed":3,"hex_longitude":"2cfeffc0","hex_latitude":"07003c38","is_valid_coordinates":true} 
[2026-06-18 13:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:08:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132665088001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318398874978877440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73535307596630016,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:08:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781768244000,"timestamp_ms":1781768244000,"timestamp_seconds":1781768244,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9a9cb20"} 
[2026-06-18 13:08:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:08: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-06-18 13:08:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:08:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:08:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:08:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:08:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:08:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:08:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:08:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:08:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:08:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:08:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:08:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132665088001,"66":27832,"33":206,"28":32256,"24":3,"16":318398874978877440,"44":-73535307596630016},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:08:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:08:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:08:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132665088001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:08:34] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:08:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:08:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318398874978877440,"km_value":318398874978877.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:08:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73535307596630016,"description":"Unknown IO ID 44"} 
[2026-06-18 13:08:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132665088001,"power":27832,"unknown_33":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_44":-73535307596630016}} 
[2026-06-18 13:08:34] local.INFO: DEBUG: GPS processor result {"connection_id":105778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:08:34] local.INFO: GPS data processed {"connection_id":105778,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:08:34] local.INFO: Acknowledgment sent {"connection_id":105778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:08:37] local.INFO: TCP Data received {"connection_id":106530,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:08:37] local.INFO: Processing buffer {"connection_id":106530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:08:37] local.INFO: IMEI packet received {"connection_id":106530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":106530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:08:41] local.INFO: TCP Data received {"connection_id":106530,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:08:41] local.INFO: Processing buffer {"connection_id":106530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:08:41] local.INFO: IMEI packet received {"connection_id":106530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":106530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:08:43] local.INFO: TCP Data received {"connection_id":106530,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:08:43] local.INFO: Processing buffer {"connection_id":106530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:08:43] local.INFO: Packet analysis {"connection_id":106530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:08:43] local.INFO: Extracted packet for processing {"connection_id":106530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647104,"longitude_deg":75.65552,"latitude_deg":11.9647104,"altitude":76,"angle":38,"satellites":40,"speed":9,"hex_longitude":"2d181dc0","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-18 13:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499712001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864497152,"note":"Value kept but may cause issues"} 
[2026-06-18 13:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781767578000,"timestamp_ms":1781767578000,"timestamp_seconds":1781767578,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99fa190"} 
[2026-06-18 13:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:08:43] 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-06-18 13:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499712001,"66":13222,"120":206,"28":31744,"24":9,"16":3351697988517888,"45":1737545061864497152},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499712001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:08:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864497152,"description":"Unknown IO ID 45"} 
[2026-06-18 13:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499712001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737545061864497152}} 
[2026-06-18 13:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":106530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:08:43] local.INFO: GPS data processed {"connection_id":106530,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:08:43] local.INFO: Acknowledgment sent {"connection_id":106530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:09:06] local.INFO: TCP Data received {"connection_id":105778,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9aab580012cfef5c0070025880006003b2a..."} 
[2026-06-18 13:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9aab580012cfef5c0070025880006003b2a..."} 
[2026-06-18 13:09:06] local.INFO: Processing buffer {"connection_id":105778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9aab580012cfef5c0070025880006003b2a..."} 
[2026-06-18 13:09:06] local.INFO: Packet analysis {"connection_id":105778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:09:06] local.INFO: Extracted packet for processing {"connection_id":105778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:09:06] local.INFO: GPS Element Parsed {"raw_longitude":754906560,"raw_latitude":117450120,"longitude_deg":75.490656,"latitude_deg":11.745012,"altitude":6,"angle":59,"satellites":42,"speed":12,"hex_longitude":"2cfef5c0","hex_latitude":"07002588","is_valid_coordinates":true} 
[2026-06-18 13:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132685568001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399497749135360,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75294526202914816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781768304000,"timestamp_ms":1781768304000,"timestamp_seconds":1781768304,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9aab580"} 
[2026-06-18 13:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:09: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-06-18 13:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 13:09: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-06-18 13: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-06-18 13:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132685568001,"66":27767,"33":206,"28":32256,"24":12,"16":318399497749135360,"44":-75294526202914816},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132685568001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:09:06] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399497749135360,"km_value":318399497749135.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75294526202914816,"description":"Unknown IO ID 44"} 
[2026-06-18 13:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132685568001,"power":27767,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-75294526202914816}} 
[2026-06-18 13:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":105778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:09:06] local.INFO: GPS data processed {"connection_id":105778,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:09:06] local.INFO: Acknowledgment sent {"connection_id":105778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:09:15] local.INFO: TCP Data received {"connection_id":106530,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:09:15] local.INFO: Processing buffer {"connection_id":106530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:09:15] local.INFO: Packet analysis {"connection_id":106530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:09:15] local.INFO: Extracted packet for processing {"connection_id":106530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647104,"longitude_deg":75.65552,"latitude_deg":11.9647104,"altitude":76,"angle":38,"satellites":40,"speed":9,"hex_longitude":"2d181dc0","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-18 13:09:15] 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-06-18 13:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781767578000,"timestamp_ms":1781767578000,"timestamp_seconds":1781767578,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99fa190"} 
[2026-06-18 13:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:09: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-06-18 13:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":13222,"120":206,"28":31744,"24":9,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:09:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:09:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":106530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:09:15] local.INFO: GPS data processed {"connection_id":106530,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:09:15] local.INFO: Acknowledgment sent {"connection_id":106530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:09:25] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:25] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:25] local.INFO: IMEI packet received {"connection_id":105961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":105961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:09:26] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:26] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:26] local.INFO: IMEI packet received {"connection_id":105961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":105961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:09:30] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:30] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:09:30] local.INFO: IMEI packet received {"connection_id":105961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":105961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:09:30] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9aab968012cfef68007002630000600302a..."} 
[2026-06-18 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9aab968012cfef68007002630000600302a..."} 
[2026-06-18 13:09:30] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9aab968012cfef68007002630000600302a..."} 
[2026-06-18 13:09:30] local.INFO: Packet analysis {"connection_id":105961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:09:30] local.INFO: Extracted packet for processing {"connection_id":105961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:09:30] local.INFO: GPS Element Parsed {"raw_longitude":754906752,"raw_latitude":117450288,"longitude_deg":75.4906752,"latitude_deg":11.7450288,"altitude":6,"angle":48,"satellites":42,"speed":10,"hex_longitude":"2cfef680","hex_latitude":"07002630","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132685824001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399510634037248,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74942682481981440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781768305000,"timestamp_ms":1781768305000,"timestamp_seconds":1781768305,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9aab968"} 
[2026-06-18 13:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:09: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-06-18 13: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":119,"data_length":795,"current_offset":136} 
[2026-06-18 13:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132685824001,"66":27767,"33":206,"28":32256,"24":10,"16":318399510634037248,"44":-74942682481981440},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132685824001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:09:30] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399510634037248,"km_value":318399510634037.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74942682481981440,"description":"Unknown IO ID 44"} 
[2026-06-18 13:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132685824001,"power":27767,"unknown_33":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_44":-74942682481981440}} 
[2026-06-18 13:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":105961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:09:30] local.INFO: GPS data processed {"connection_id":105961,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:09:30] local.INFO: Acknowledgment sent {"connection_id":105961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:09:36] local.INFO: TCP Data received {"connection_id":107503,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:09:36] local.INFO: Processing buffer {"connection_id":107503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:09:36] local.INFO: IMEI packet received {"connection_id":107503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":107503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:09:41] local.INFO: TCP Data received {"connection_id":107503,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:09:41] local.INFO: Processing buffer {"connection_id":107503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:09:41] local.INFO: IMEI packet received {"connection_id":107503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":107503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:09:42] local.INFO: TCP Data received {"connection_id":107503,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:09:42] local.INFO: Processing buffer {"connection_id":107503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed99fa190012d181dc00721ab80004c002628..."} 
[2026-06-18 13:09:42] local.INFO: Packet analysis {"connection_id":107503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:09:42] local.INFO: Extracted packet for processing {"connection_id":107503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed99f"} 
[2026-06-18 13:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647104,"longitude_deg":75.65552,"latitude_deg":11.9647104,"altitude":76,"angle":38,"satellites":40,"speed":9,"hex_longitude":"2d181dc0","hex_latitude":"0721ab80","is_valid_coordinates":true} 
[2026-06-18 13:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781767578000,"timestamp_ms":1781767578000,"timestamp_seconds":1781767578,"priority":1,"record_length":96,"hex_timestamp":"0000019ed99fa190"} 
[2026-06-18 13:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":13222,"120":206,"28":31744,"24":9,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:09:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":13222,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":107503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:09:42] local.INFO: GPS data processed {"connection_id":107503,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:09:42] local.INFO: Acknowledgment sent {"connection_id":107503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:10:02] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9aabd50012cfef740070027000006001e2a..."} 
[2026-06-18 13:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9aabd50012cfef740070027000006001e2a..."} 
[2026-06-18 13:10:02] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9aabd50012cfef740070027000006001e2a..."} 
[2026-06-18 13:10:02] local.INFO: Packet analysis {"connection_id":105961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:10:02] local.INFO: Extracted packet for processing {"connection_id":105961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:10:02] local.INFO: GPS Element Parsed {"raw_longitude":754906944,"raw_latitude":117450496,"longitude_deg":75.4906944,"latitude_deg":11.7450496,"altitude":6,"angle":30,"satellites":42,"speed":11,"hex_longitude":"2cfef740","hex_latitude":"07002700","is_valid_coordinates":true} 
[2026-06-18 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132686080001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399523518939136,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74731576249405440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781768306000,"timestamp_ms":1781768306000,"timestamp_seconds":1781768306,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9aabd50"} 
[2026-06-18 13:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:10: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-06-18 13:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 13:10: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-06-18 13:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132686080001,"66":27071,"33":206,"28":32256,"24":11,"16":318399523518939136,"44":-74731576249405440},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132686080001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:10:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:10:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399523518939136,"km_value":318399523518939.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74731576249405440,"description":"Unknown IO ID 44"} 
[2026-06-18 13:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132686080001,"power":27071,"unknown_33":206,"unknown_28":32256,"ignition":11,"odometer":null,"unknown_44":-74731576249405440}} 
[2026-06-18 13:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":105961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:10:02] local.INFO: GPS data processed {"connection_id":105961,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:10:02] local.INFO: Acknowledgment sent {"connection_id":105961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:10:14] local.INFO: TCP Data received {"connection_id":107503,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:10:14] local.INFO: Processing buffer {"connection_id":107503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:10:14] local.INFO: Packet analysis {"connection_id":107503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:10:14] local.INFO: Extracted packet for processing {"connection_id":107503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:10:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":107503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:10:14] local.INFO: GPS data processed {"connection_id":107503,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:10:14] local.INFO: Acknowledgment sent {"connection_id":107503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:10:30] local.INFO: TCP Data received {"connection_id":105779,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:10:30] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:10:30] local.INFO: IMEI packet received {"connection_id":105779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":105779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:10:35] local.INFO: TCP Data received {"connection_id":105779,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:10:35] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:10:35] local.INFO: IMEI packet received {"connection_id":105779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:10:35] local.INFO: IMEI acknowledgment sent {"connection_id":105779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:10:36] local.INFO: TCP Data received {"connection_id":105962,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:10:36] local.INFO: Processing buffer {"connection_id":105962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:10:36] local.INFO: IMEI packet received {"connection_id":105962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":105962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:10:36] local.INFO: TCP Data received {"connection_id":105779,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9aae848012cfefe40070033980006002b29..."} 
[2026-06-18 13:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9aae848012cfefe40070033980006002b29..."} 
[2026-06-18 13:10:37] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9aae848012cfefe40070033980006002b29..."} 
[2026-06-18 13:10:37] local.INFO: Packet analysis {"connection_id":105779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:10:37] local.INFO: Extracted packet for processing {"connection_id":105779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:10:37] local.INFO: GPS Element Parsed {"raw_longitude":754908736,"raw_latitude":117453720,"longitude_deg":75.4908736,"latitude_deg":11.745372,"altitude":6,"angle":43,"satellites":41,"speed":12,"hex_longitude":"2cfefe40","hex_latitude":"07003398","is_valid_coordinates":true} 
[2026-06-18 13:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132686336001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399703907565568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74520470016819200,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781768317000,"timestamp_ms":1781768317000,"timestamp_seconds":1781768317,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9aae848"} 
[2026-06-18 13:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 13:10:37] 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-06-18 13: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-06-18 13:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132686336001,"66":27995,"33":206,"28":32256,"24":12,"16":318399703907565568,"44":-74520470016819200},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132686336001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:10:37] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399703907565568,"km_value":318399703907565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:10:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74520470016819200,"description":"Unknown IO ID 44"} 
[2026-06-18 13:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132686336001,"power":27995,"unknown_33":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_44":-74520470016819200}} 
[2026-06-18 13:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":105779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:10:37] local.INFO: GPS data processed {"connection_id":105779,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:10:37] local.INFO: Acknowledgment sent {"connection_id":105779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:10:41] local.INFO: TCP Data received {"connection_id":105779,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9aafbd0012cff0200070037c80006001a2a..."} 
[2026-06-18 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9aafbd0012cff0200070037c80006001a2a..."} 
[2026-06-18 13:10:41] local.INFO: Processing buffer {"connection_id":105779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9aafbd0012cff0200070037c80006001a2a..."} 
[2026-06-18 13:10:41] local.INFO: Packet analysis {"connection_id":105779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:10:41] local.INFO: Extracted packet for processing {"connection_id":105779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9aa"} 
[2026-06-18 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":754909696,"raw_latitude":117454792,"longitude_deg":75.4909696,"latitude_deg":11.7454792,"altitude":6,"angle":26,"satellites":42,"speed":7,"hex_longitude":"2cff0200","hex_latitude":"070037c8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132689152001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399768332075008,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-72550145179019264,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781768322000,"timestamp_ms":1781768322000,"timestamp_seconds":1781768322,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9aafbd0"} 
[2026-06-18 13:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:10:41] 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-06-18 13: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-06-18 13:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132689152001,"66":28050,"33":206,"28":32256,"24":7,"16":318399768332075008,"44":-72550145179019264},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132689152001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:10:41] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399768332075008,"km_value":318399768332075.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:10:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-72550145179019264,"description":"Unknown IO ID 44"} 
[2026-06-18 13:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132689152001,"power":28050,"unknown_33":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_44":-72550145179019264}} 
[2026-06-18 13:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":105779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:10:41] local.INFO: GPS data processed {"connection_id":105779,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:10:41] local.INFO: Acknowledgment sent {"connection_id":105779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:10:41] local.INFO: TCP Data received {"connection_id":105962,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:10:41] local.INFO: Processing buffer {"connection_id":105962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:10:41] local.INFO: IMEI packet received {"connection_id":105962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":105962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:10:43] local.INFO: TCP Data received {"connection_id":105962,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:10:43] local.INFO: Processing buffer {"connection_id":105962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:10:43] local.INFO: Packet analysis {"connection_id":105962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:10:43] local.INFO: Extracted packet for processing {"connection_id":105962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:10:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:10:43] 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-06-18 13:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:10:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":105962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:10:43] local.INFO: GPS data processed {"connection_id":105962,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:10:43] local.INFO: Acknowledgment sent {"connection_id":105962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:10:59] local.INFO: TCP Data received {"connection_id":105963,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:10:59] local.INFO: Processing buffer {"connection_id":105963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:10:59] local.INFO: IMEI packet received {"connection_id":105963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":105963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:11:14] local.INFO: TCP Data received {"connection_id":105962,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:14] local.INFO: Processing buffer {"connection_id":105962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:14] local.INFO: Packet analysis {"connection_id":105962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:14] local.INFO: Extracted packet for processing {"connection_id":105962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:11:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:11:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":105962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:11:14] local.INFO: GPS data processed {"connection_id":105962,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:11:14] local.INFO: Acknowledgment sent {"connection_id":105962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:11:25] local.INFO: TCP Data received {"connection_id":107504,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:11:25] local.INFO: Processing buffer {"connection_id":107504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:11:25] local.INFO: IMEI packet received {"connection_id":107504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":107504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:11:30] local.INFO: TCP Data received {"connection_id":107504,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:11:30] local.INFO: Processing buffer {"connection_id":107504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:11:30] local.INFO: IMEI packet received {"connection_id":107504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":107504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:11:31] local.INFO: TCP Data received {"connection_id":107504,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012cff0240070039300005015f29..."} 
[2026-06-18 13:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012cff0240070039300005015f29..."} 
[2026-06-18 13:11:31] local.INFO: Processing buffer {"connection_id":107504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012cff0240070039300005015f29..."} 
[2026-06-18 13:11:31] local.INFO: Packet analysis {"connection_id":107504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:31] local.INFO: Extracted packet for processing {"connection_id":107504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:31] local.INFO: GPS Element Parsed {"raw_longitude":754909760,"raw_latitude":117455152,"longitude_deg":75.490976,"latitude_deg":11.7455152,"altitude":5,"angle":351,"satellites":41,"speed":5,"hex_longitude":"2cff0240","hex_latitude":"07003930","is_valid_coordinates":true} 
[2026-06-18 13:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690432001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399789806911488,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71494614016079872,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690432001,"66":28050,"33":206,"28":32256,"24":5,"16":318399789806911488,"44":-71494614016079872},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690432001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:11:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399789806911488,"km_value":318399789806911.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71494614016079872,"description":"Unknown IO ID 44"} 
[2026-06-18 13:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690432001,"power":28050,"unknown_33":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_44":-71494614016079872}} 
[2026-06-18 13:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":107504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:11:31] local.INFO: GPS data processed {"connection_id":107504,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:11:31] local.INFO: Acknowledgment sent {"connection_id":107504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:11:36] local.INFO: TCP Data received {"connection_id":107504,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab0788012cff0240070039e0000501502a..."} 
[2026-06-18 13:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab0788012cff0240070039e0000501502a..."} 
[2026-06-18 13:11:36] local.INFO: Processing buffer {"connection_id":107504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab0788012cff0240070039e0000501502a..."} 
[2026-06-18 13:11:36] local.INFO: Packet analysis {"connection_id":107504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:36] local.INFO: Extracted packet for processing {"connection_id":107504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":754909760,"raw_latitude":117455328,"longitude_deg":75.490976,"latitude_deg":11.7455328,"altitude":5,"angle":336,"satellites":42,"speed":7,"hex_longitude":"2cff0240","hex_latitude":"070039e0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399798396846080,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71424245271810048,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781768325000,"timestamp_ms":1781768325000,"timestamp_seconds":1781768325,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab0788"} 
[2026-06-18 13:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:11:36] 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-06-18 13: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-06-18 13:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":27767,"33":206,"28":32256,"24":7,"16":318399798396846080,"44":-71424245271810048},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:11:36] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399798396846080,"km_value":318399798396846.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:11:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71424245271810048,"description":"Unknown IO ID 44"} 
[2026-06-18 13:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":27767,"unknown_33":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_44":-71424245271810048}} 
[2026-06-18 13:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":107504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:11:36] local.INFO: GPS data processed {"connection_id":107504,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:11:36] local.INFO: Acknowledgment sent {"connection_id":107504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:11:39] local.INFO: TCP Data received {"connection_id":106531,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:11:39] local.INFO: Processing buffer {"connection_id":106531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:11:39] local.INFO: IMEI packet received {"connection_id":106531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":106531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:11:39] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:11:39] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:11:39] local.INFO: IMEI packet received {"connection_id":105964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":105964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:11:41] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:11:41] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:11:41] local.INFO: IMEI packet received {"connection_id":105964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":105964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:11:43] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:43] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:43] local.INFO: Packet analysis {"connection_id":105964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:43] local.INFO: Extracted packet for processing {"connection_id":105964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:11:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:11:43] 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-06-18 13:11:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:11:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:11:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":105964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:11:43] local.INFO: GPS data processed {"connection_id":105964,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:11:43] local.INFO: Acknowledgment sent {"connection_id":105964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:11:47] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:47] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:11:47] local.INFO: Packet analysis {"connection_id":105964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:47] local.INFO: Extracted packet for processing {"connection_id":105964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:11:47] 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-06-18 13:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:11:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:11:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":105964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:11:47] local.INFO: GPS data processed {"connection_id":105964,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:11:47] local.INFO: Acknowledgment sent {"connection_id":105964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:12:07] local.INFO: TCP Data received {"connection_id":107504,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab0f58012cff018007003b580006013e26..."} 
[2026-06-18 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab0f58012cff018007003b580006013e26..."} 
[2026-06-18 13:12:07] local.INFO: Processing buffer {"connection_id":107504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab0f58012cff018007003b580006013e26..."} 
[2026-06-18 13:12:07] local.INFO: Packet analysis {"connection_id":107504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:12:07] local.INFO: Extracted packet for processing {"connection_id":107504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":754909568,"raw_latitude":117455704,"longitude_deg":75.4909568,"latitude_deg":11.7455704,"altitude":6,"angle":318,"satellites":38,"speed":8,"hex_longitude":"2cff0180","hex_latitude":"07003b58","is_valid_coordinates":true} 
[2026-06-18 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132691200001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399815576715264,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71424245271764992,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781768327000,"timestamp_ms":1781768327000,"timestamp_seconds":1781768327,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab0f58"} 
[2026-06-18 13:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:12:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132691200001,"66":28093,"33":206,"28":32256,"24":8,"16":318399815576715264,"44":-71424245271764992},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132691200001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:12:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:12:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399815576715264,"km_value":318399815576715.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:12:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71424245271764992,"description":"Unknown IO ID 44"} 
[2026-06-18 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132691200001,"power":28093,"unknown_33":206,"unknown_28":32256,"ignition":8,"odometer":null,"unknown_44":-71424245271764992}} 
[2026-06-18 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":107504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:12:07] local.INFO: GPS data processed {"connection_id":107504,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:12:07] local.INFO: Acknowledgment sent {"connection_id":107504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:12:18] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:12:18] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:12:18] local.INFO: Packet analysis {"connection_id":105964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:12:18] local.INFO: Extracted packet for processing {"connection_id":105964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":105964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":105964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":105964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:12:18] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:12:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":105964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:12:18] local.INFO: GPS data processed {"connection_id":105964,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:12:18] local.INFO: Acknowledgment sent {"connection_id":105964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:12:25] local.INFO: TCP Data received {"connection_id":105780,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:12:25] local.INFO: Processing buffer {"connection_id":105780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:12:25] local.INFO: IMEI packet received {"connection_id":105780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":105780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:12:30] local.INFO: TCP Data received {"connection_id":105780,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:12:30] local.INFO: Processing buffer {"connection_id":105780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:12:30] local.INFO: IMEI packet received {"connection_id":105780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":105780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:12:31] local.INFO: TCP Data received {"connection_id":105780,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab1728012cff008007003c600006012d26..."} 
[2026-06-18 13:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab1728012cff008007003c600006012d26..."} 
[2026-06-18 13:12:31] local.INFO: Processing buffer {"connection_id":105780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab1728012cff008007003c600006012d26..."} 
[2026-06-18 13:12:31] local.INFO: Packet analysis {"connection_id":105780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:12:31] local.INFO: Extracted packet for processing {"connection_id":105780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:12:31] local.INFO: GPS Element Parsed {"raw_longitude":754909312,"raw_latitude":117455968,"longitude_deg":75.4909312,"latitude_deg":11.7455968,"altitude":6,"angle":301,"satellites":38,"speed":7,"hex_longitude":"2cff0080","hex_latitude":"07003c60","is_valid_coordinates":true} 
[2026-06-18 13:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132691712001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399837051551744,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71635351504201728,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768329000,"timestamp_ms":1781768329000,"timestamp_seconds":1781768329,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab1728"} 
[2026-06-18 13:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:12:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 13:12:31] 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-06-18 13:12:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132691712001,"66":27865,"33":206,"28":32256,"24":7,"16":318399837051551744,"44":-71635351504201728},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132691712001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:12:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399837051551744,"km_value":318399837051551.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:12:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71635351504201728,"description":"Unknown IO ID 44"} 
[2026-06-18 13:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132691712001,"power":27865,"unknown_33":206,"unknown_28":32256,"ignition":7,"odometer":null,"unknown_44":-71635351504201728}} 
[2026-06-18 13:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":105780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:12:31] local.INFO: GPS data processed {"connection_id":105780,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:12:31] local.INFO: Acknowledgment sent {"connection_id":105780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:12:36] local.INFO: TCP Data received {"connection_id":107505,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:12:36] local.INFO: Processing buffer {"connection_id":107505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:12:36] local.INFO: IMEI packet received {"connection_id":107505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":107505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:12:41] local.INFO: TCP Data received {"connection_id":107505,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107505,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:12:41] local.INFO: Processing buffer {"connection_id":107505,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:12:41] local.INFO: IMEI packet received {"connection_id":107505,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":107505,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:12:43] local.INFO: TCP Data received {"connection_id":107505,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:12:43] local.INFO: Processing buffer {"connection_id":107505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:12:43] local.INFO: Packet analysis {"connection_id":107505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:12:43] local.INFO: Extracted packet for processing {"connection_id":107505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:12:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:12:43] 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-06-18 13:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:12:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":107505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:12:43] local.INFO: GPS data processed {"connection_id":107505,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:12:43] local.INFO: Acknowledgment sent {"connection_id":107505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:13:02] local.INFO: TCP Data received {"connection_id":105780,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab6930012cfef980070041080005012e23..."} 
[2026-06-18 13:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab6930012cfef980070041080005012e23..."} 
[2026-06-18 13:13:02] local.INFO: Processing buffer {"connection_id":105780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab6930012cfef980070041080005012e23..."} 
[2026-06-18 13:13:02] local.INFO: Packet analysis {"connection_id":105780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:13:02] local.INFO: Extracted packet for processing {"connection_id":105780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:13:03] local.INFO: GPS Element Parsed {"raw_longitude":754907520,"raw_latitude":117457160,"longitude_deg":75.490752,"latitude_deg":11.745716,"altitude":5,"angle":302,"satellites":35,"speed":2,"hex_longitude":"2cfef980","hex_latitude":"07004108","is_valid_coordinates":true} 
[2026-06-18 13:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132692224001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399940130766848,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-71916826480844800,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768350000,"timestamp_ms":1781768350000,"timestamp_seconds":1781768350,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab6930"} 
[2026-06-18 13:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:13: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-06-18 13:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 13: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-06-18 13: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-06-18 13:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132692224001,"66":28050,"33":206,"28":32256,"24":2,"16":318399940130766848,"44":-71916826480844800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132692224001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:13:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399940130766848,"km_value":318399940130766.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:13:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-71916826480844800,"description":"Unknown IO ID 44"} 
[2026-06-18 13:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132692224001,"power":28050,"unknown_33":206,"unknown_28":32256,"ignition":2,"odometer":null,"unknown_44":-71916826480844800}} 
[2026-06-18 13:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":105780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:13:03] local.INFO: GPS data processed {"connection_id":105780,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:13:03] local.INFO: Acknowledgment sent {"connection_id":105780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:13:15] local.INFO: TCP Data received {"connection_id":107505,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:13:15] local.INFO: Processing buffer {"connection_id":107505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:13:15] local.INFO: Packet analysis {"connection_id":107505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:13:15] local.INFO: Extracted packet for processing {"connection_id":107505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:13:15] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:13:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:13: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-06-18 13:13:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107505,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:13:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:13:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:13:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":107505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:13:15] local.INFO: GPS data processed {"connection_id":107505,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:13:15] local.INFO: Acknowledgment sent {"connection_id":107505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:13:25] local.INFO: TCP Data received {"connection_id":105781,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:13:25] local.INFO: Processing buffer {"connection_id":105781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:13:25] local.INFO: IMEI packet received {"connection_id":105781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":105781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:13:30] local.INFO: TCP Data received {"connection_id":105781,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:13:30] local.INFO: Processing buffer {"connection_id":105781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:13:30] local.INFO: IMEI packet received {"connection_id":105781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":105781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:13:31] local.INFO: TCP Data received {"connection_id":105781,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9abb750012cfef940070041680005013522..."} 
[2026-06-18 13:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9abb750012cfef940070041680005013522..."} 
[2026-06-18 13:13:31] local.INFO: Processing buffer {"connection_id":105781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9abb750012cfef940070041680005013522..."} 
[2026-06-18 13:13:31] local.INFO: Packet analysis {"connection_id":105781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:13:31] local.INFO: Extracted packet for processing {"connection_id":105781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:13:31] local.INFO: GPS Element Parsed {"raw_longitude":754907456,"raw_latitude":117457256,"longitude_deg":75.4907456,"latitude_deg":11.7457256,"altitude":5,"angle":309,"satellites":34,"speed":0,"hex_longitude":"2cfef940","hex_latitude":"07004168","is_valid_coordinates":true} 
[2026-06-18 13:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132697600001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73887151317514240,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768370000,"timestamp_ms":1781768370000,"timestamp_seconds":1781768370,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9abb750"} 
[2026-06-18 13:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132697600001,"66":28050,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73887151317514240},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132697600001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:13:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:13:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73887151317514240,"description":"Unknown IO ID 44"} 
[2026-06-18 13:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132697600001,"power":28050,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73887151317514240}} 
[2026-06-18 13:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":105781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:13:31] local.INFO: GPS data processed {"connection_id":105781,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:13:31] local.INFO: Acknowledgment sent {"connection_id":105781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:13:36] local.INFO: TCP Data received {"connection_id":105782,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:13:36] local.INFO: Processing buffer {"connection_id":105782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:13:36] local.INFO: IMEI packet received {"connection_id":105782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":105782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:13:41] local.INFO: TCP Data received {"connection_id":105782,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:13:41] local.INFO: Processing buffer {"connection_id":105782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:13:41] local.INFO: IMEI packet received {"connection_id":105782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":105782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:13:43] local.INFO: TCP Data received {"connection_id":105782,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:13:43] local.INFO: Processing buffer {"connection_id":105782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:13:43] local.INFO: Packet analysis {"connection_id":105782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:13:43] local.INFO: Extracted packet for processing {"connection_id":105782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:13:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:13:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:13:43] 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-06-18 13:13:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:13:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":105782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:13:43] local.INFO: GPS data processed {"connection_id":105782,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:13:43] local.INFO: Acknowledgment sent {"connection_id":105782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:14:03] local.INFO: TCP Data received {"connection_id":105781,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:14:03] local.INFO: Processing buffer {"connection_id":105781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:14:03] local.INFO: Packet analysis {"connection_id":105781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:14:03] local.INFO: Extracted packet for processing {"connection_id":105781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:14:03] local.INFO: GPS Element Parsed {"raw_longitude":754907456,"raw_latitude":117457256,"longitude_deg":75.4907456,"latitude_deg":11.7457256,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef940","hex_latitude":"07004168","is_valid_coordinates":true} 
[2026-06-18 13:14: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-06-18 13:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132702720001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768381000,"timestamp_ms":1781768381000,"timestamp_seconds":1781768381,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9abe248"} 
[2026-06-18 13:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:14: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-06-18 13:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:14:03] 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-06-18 13:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132702720001,"66":28028,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132702720001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:14:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132702720001,"power":28028,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":105781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:14:03] local.INFO: GPS data processed {"connection_id":105781,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:14:03] local.INFO: Acknowledgment sent {"connection_id":105781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:14:15] local.INFO: TCP Data received {"connection_id":105782,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:14:15] local.INFO: Processing buffer {"connection_id":105782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ab03a0012d1824800721b4500050002828..."} 
[2026-06-18 13:14:15] local.INFO: Packet analysis {"connection_id":105782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:14:15] local.INFO: Extracted packet for processing {"connection_id":105782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":80,"angle":40,"satellites":40,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132499968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097071104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781768324000,"timestamp_ms":1781768324000,"timestamp_seconds":1781768324,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ab03a0"} 
[2026-06-18 13:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:14:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 13:14: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-06-18 13:14:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132499968001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1737756168097071104},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132499968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:14:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:14:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097071104,"description":"Unknown IO ID 45"} 
[2026-06-18 13:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132499968001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737756168097071104}} 
[2026-06-18 13:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":105782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:14:15] local.INFO: GPS data processed {"connection_id":105782,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:14:15] local.INFO: Acknowledgment sent {"connection_id":105782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:14:25] local.INFO: TCP Data received {"connection_id":106534,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:14:25] local.INFO: Processing buffer {"connection_id":106534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:14:25] local.INFO: IMEI packet received {"connection_id":106534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:14:25] local.INFO: IMEI acknowledgment sent {"connection_id":106534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:14:30] local.INFO: TCP Data received {"connection_id":106534,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:14:30] local.INFO: Processing buffer {"connection_id":106534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:14:30] local.INFO: IMEI packet received {"connection_id":106534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":106534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:14:31] local.INFO: TCP Data received {"connection_id":106534,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:14:31] local.INFO: Processing buffer {"connection_id":106534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:14:31] local.INFO: Packet analysis {"connection_id":106534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:14:31] local.INFO: Extracted packet for processing {"connection_id":106534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:14:31] local.INFO: GPS Element Parsed {"raw_longitude":754907456,"raw_latitude":117457256,"longitude_deg":75.4907456,"latitude_deg":11.7457256,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef940","hex_latitude":"07004168","is_valid_coordinates":true} 
[2026-06-18 13:14: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-06-18 13:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132702720001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768381000,"timestamp_ms":1781768381000,"timestamp_seconds":1781768381,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9abe248"} 
[2026-06-18 13:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132702720001,"66":28028,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132702720001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:14:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:14:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132702720001,"power":28028,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":106534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:14:31] local.INFO: GPS data processed {"connection_id":106534,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:14:31] local.INFO: Acknowledgment sent {"connection_id":106534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:14:41] local.INFO: TCP Data received {"connection_id":105965,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:14:41] local.INFO: Processing buffer {"connection_id":105965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:14:41] local.INFO: IMEI packet received {"connection_id":105965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":105965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:14:46] local.INFO: TCP Data received {"connection_id":105965,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:14:46] local.INFO: Processing buffer {"connection_id":105965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:14:46] local.INFO: IMEI packet received {"connection_id":105965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":105965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:14:47] local.INFO: TCP Data received {"connection_id":105965,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:14:47] local.INFO: Processing buffer {"connection_id":105965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:14:47] local.INFO: Packet analysis {"connection_id":105965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:14:47] local.INFO: Extracted packet for processing {"connection_id":105965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:14:47] 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-06-18 13:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:14:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":105965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:14:47] local.INFO: GPS data processed {"connection_id":105965,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:14:47] local.INFO: Acknowledgment sent {"connection_id":105965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:14:52] local.INFO: TCP Data received {"connection_id":105965,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:14:52] local.INFO: Processing buffer {"connection_id":105965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:14:52] local.INFO: Packet analysis {"connection_id":105965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:14:52] local.INFO: Extracted packet for processing {"connection_id":105965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:14:52] 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-06-18 13:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":105965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":105965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":105965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:14:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:14:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":105965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:14:52] local.INFO: GPS data processed {"connection_id":105965,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:14:52] local.INFO: Acknowledgment sent {"connection_id":105965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:15:03] local.INFO: TCP Data received {"connection_id":106534,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:15:03] local.INFO: Processing buffer {"connection_id":106534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9abe248012cfef94007004168000501351f..."} 
[2026-06-18 13:15:03] local.INFO: Packet analysis {"connection_id":106534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:15:03] local.INFO: Extracted packet for processing {"connection_id":106534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ab"} 
[2026-06-18 13:15:03] local.INFO: GPS Element Parsed {"raw_longitude":754907456,"raw_latitude":117457256,"longitude_deg":75.4907456,"latitude_deg":11.7457256,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef940","hex_latitude":"07004168","is_valid_coordinates":true} 
[2026-06-18 13:15: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-06-18 13:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132702720001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768381000,"timestamp_ms":1781768381000,"timestamp_seconds":1781768381,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9abe248"} 
[2026-06-18 13:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:15: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-06-18 13:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:15:03] 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-06-18 13: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-06-18 13:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132702720001,"66":28028,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132702720001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:15:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:15:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132702720001,"power":28028,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":106534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:15:03] local.INFO: GPS data processed {"connection_id":106534,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:15:03] local.INFO: Acknowledgment sent {"connection_id":106534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:15:25] local.INFO: TCP Data received {"connection_id":106535,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:15:25] local.INFO: Processing buffer {"connection_id":106535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:15:25] local.INFO: IMEI packet received {"connection_id":106535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":106535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:15:30] local.INFO: TCP Data received {"connection_id":106535,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:15:30] local.INFO: Processing buffer {"connection_id":106535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:15:30] local.INFO: IMEI packet received {"connection_id":106535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":106535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:15:31] local.INFO: TCP Data received {"connection_id":106535,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:15:31] local.INFO: Processing buffer {"connection_id":106535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:15:31] local.INFO: Packet analysis {"connection_id":106535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:15:31] local.INFO: Extracted packet for processing {"connection_id":106535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:15:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:15:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":106535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:15:31] local.INFO: GPS data processed {"connection_id":106535,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:15:31] local.INFO: Acknowledgment sent {"connection_id":106535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:15:36] local.INFO: TCP Data received {"connection_id":105967,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:15:36] local.INFO: Processing buffer {"connection_id":105967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:15:36] local.INFO: IMEI packet received {"connection_id":105967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":105967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:15:41] local.INFO: TCP Data received {"connection_id":105967,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:15:41] local.INFO: Processing buffer {"connection_id":105967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:15:41] local.INFO: IMEI packet received {"connection_id":105967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":105967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:15:43] local.INFO: TCP Data received {"connection_id":105967,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:15:43] local.INFO: Processing buffer {"connection_id":105967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:15:43] local.INFO: Packet analysis {"connection_id":105967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:15:43] local.INFO: Extracted packet for processing {"connection_id":105967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:15:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":105967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:15:43] local.INFO: GPS data processed {"connection_id":105967,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:15:43] local.INFO: Acknowledgment sent {"connection_id":105967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:16:02] local.INFO: TCP Data received {"connection_id":106535,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:16:02] local.INFO: Processing buffer {"connection_id":106535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:16:02] local.INFO: Packet analysis {"connection_id":106535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:16:02] local.INFO: Extracted packet for processing {"connection_id":106535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:16:02] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:16: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-06-18 13:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:16:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:16:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:16:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":106535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:16:02] local.INFO: GPS data processed {"connection_id":106535,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:16:02] local.INFO: Acknowledgment sent {"connection_id":106535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:16:15] local.INFO: TCP Data received {"connection_id":105967,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:16:15] local.INFO: Processing buffer {"connection_id":105967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:16:15] local.INFO: Packet analysis {"connection_id":105967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:16:15] local.INFO: Extracted packet for processing {"connection_id":105967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:16:15] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:16:15] 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-06-18 13:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:16:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:16:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":105967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:16:15] local.INFO: GPS data processed {"connection_id":105967,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:16:15] local.INFO: Acknowledgment sent {"connection_id":105967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:16:25] local.INFO: TCP Data received {"connection_id":107507,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:16:25] local.INFO: Processing buffer {"connection_id":107507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:16:25] local.INFO: IMEI packet received {"connection_id":107507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":107507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:16:30] local.INFO: TCP Data received {"connection_id":107507,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:16:30] local.INFO: Processing buffer {"connection_id":107507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:16:30] local.INFO: IMEI packet received {"connection_id":107507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":107507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:16:31] local.INFO: TCP Data received {"connection_id":107507,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:16:31] local.INFO: Processing buffer {"connection_id":107507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:16:31] local.INFO: Packet analysis {"connection_id":107507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:16:31] local.INFO: Extracted packet for processing {"connection_id":107507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:16:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:16:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":107507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:16:31] local.INFO: GPS data processed {"connection_id":107507,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:16:31] local.INFO: Acknowledgment sent {"connection_id":107507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:16:36] local.INFO: TCP Data received {"connection_id":105968,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:16:36] local.INFO: Processing buffer {"connection_id":105968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:16:36] local.INFO: IMEI packet received {"connection_id":105968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":105968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:16:41] local.INFO: TCP Data received {"connection_id":105968,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:16:41] local.INFO: Processing buffer {"connection_id":105968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:16:41] local.INFO: IMEI packet received {"connection_id":105968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":105968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:16:43] local.INFO: TCP Data received {"connection_id":105968,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:16:43] local.INFO: Processing buffer {"connection_id":105968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:16:43] local.INFO: Packet analysis {"connection_id":105968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:16:43] local.INFO: Extracted packet for processing {"connection_id":105968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:16:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":105968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:16:43] local.INFO: GPS data processed {"connection_id":105968,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:16:43] local.INFO: Acknowledgment sent {"connection_id":105968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:17:03] local.INFO: TCP Data received {"connection_id":107507,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:17:03] local.INFO: Processing buffer {"connection_id":107507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:17:03] local.INFO: Packet analysis {"connection_id":107507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:17:03] local.INFO: Extracted packet for processing {"connection_id":107507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:17:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:17:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:17:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:17:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:17:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:17:03] 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-06-18 13:17:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:17:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:17:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:17:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:17:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:17:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:17:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:17:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:17:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:17:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:17:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:17:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:17:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:17:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:17:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:17:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:17:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:17:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:17:03] local.INFO: DEBUG: GPS processor result {"connection_id":107507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:17:03] local.INFO: GPS data processed {"connection_id":107507,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:17:03] local.INFO: Acknowledgment sent {"connection_id":107507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:17:04] local.INFO: TCP Data received {"connection_id":107508,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:17:04] local.INFO: Processing buffer {"connection_id":107508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:17:04] local.INFO: IMEI packet received {"connection_id":107508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":107508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:17:14] local.INFO: TCP Data received {"connection_id":105968,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:17:14] local.INFO: Processing buffer {"connection_id":105968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:17:14] local.INFO: Packet analysis {"connection_id":105968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:17:14] local.INFO: Extracted packet for processing {"connection_id":105968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:17:14] 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-06-18 13:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:17:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:17:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":105968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:17:14] local.INFO: GPS data processed {"connection_id":105968,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:17:14] local.INFO: Acknowledgment sent {"connection_id":105968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:17:25] local.INFO: TCP Data received {"connection_id":106536,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:17:25] local.INFO: Processing buffer {"connection_id":106536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:17:25] local.INFO: IMEI packet received {"connection_id":106536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":106536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:17:30] local.INFO: TCP Data received {"connection_id":106536,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:17:30] local.INFO: Processing buffer {"connection_id":106536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:17:30] local.INFO: IMEI packet received {"connection_id":106536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":106536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:17:31] local.INFO: TCP Data received {"connection_id":106536,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:17:31] local.INFO: Processing buffer {"connection_id":106536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:17:31] local.INFO: Packet analysis {"connection_id":106536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:17:31] local.INFO: Extracted packet for processing {"connection_id":106536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:17:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:17:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:17:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":106536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:17:31] local.INFO: GPS data processed {"connection_id":106536,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:17:31] local.INFO: Acknowledgment sent {"connection_id":106536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:17:34] local.INFO: TCP Data received {"connection_id":105783,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:17:34] local.INFO: Processing buffer {"connection_id":105783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:17:34] local.INFO: IMEI packet received {"connection_id":105783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":105783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:17:36] local.INFO: TCP Data received {"connection_id":105784,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:17:36] local.INFO: Processing buffer {"connection_id":105784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:17:36] local.INFO: IMEI packet received {"connection_id":105784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":105784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:17:41] local.INFO: TCP Data received {"connection_id":105784,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:17:41] local.INFO: Processing buffer {"connection_id":105784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:17:41] local.INFO: IMEI packet received {"connection_id":105784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":105784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:17:43] local.INFO: TCP Data received {"connection_id":105784,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:17:43] local.INFO: Processing buffer {"connection_id":105784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:17:43] local.INFO: Packet analysis {"connection_id":105784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:17:43] local.INFO: Extracted packet for processing {"connection_id":105784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:17:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:17:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:17:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:17:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:17:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:17:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":105784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:17:43] local.INFO: GPS data processed {"connection_id":105784,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:17:43] local.INFO: Acknowledgment sent {"connection_id":105784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:18:03] local.INFO: TCP Data received {"connection_id":106536,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:18:03] local.INFO: Processing buffer {"connection_id":106536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:18:03] local.INFO: Packet analysis {"connection_id":106536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:18:03] local.INFO: Extracted packet for processing {"connection_id":106536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:18:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:18:03] 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-06-18 13:18:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:18:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:18:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":106536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:18:03] local.INFO: GPS data processed {"connection_id":106536,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:18:03] local.INFO: Acknowledgment sent {"connection_id":106536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:18:14] local.INFO: TCP Data received {"connection_id":105784,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:14] local.INFO: Processing buffer {"connection_id":105784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:14] local.INFO: Packet analysis {"connection_id":105784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:18:14] local.INFO: Extracted packet for processing {"connection_id":105784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:18:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:18: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-06-18 13:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:18:14] 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-06-18 13:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:18: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-06-18 13:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:18:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:18:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:18:15] local.INFO: DEBUG: GPS processor result {"connection_id":105784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:18:15] local.INFO: GPS data processed {"connection_id":105784,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:18:15] local.INFO: Acknowledgment sent {"connection_id":105784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:18:25] local.INFO: TCP Data received {"connection_id":105969,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:18:25] local.INFO: Processing buffer {"connection_id":105969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:18:25] local.INFO: IMEI packet received {"connection_id":105969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":105969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:18:30] local.INFO: TCP Data received {"connection_id":105969,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:18:30] local.INFO: Processing buffer {"connection_id":105969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:18:30] local.INFO: IMEI packet received {"connection_id":105969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":105969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:18:31] local.INFO: TCP Data received {"connection_id":105969,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:18:31] local.INFO: Processing buffer {"connection_id":105969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:18:31] local.INFO: Packet analysis {"connection_id":105969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:18:31] local.INFO: Extracted packet for processing {"connection_id":105969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:18:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:18:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":105969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:18:31] local.INFO: GPS data processed {"connection_id":105969,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:18:31] local.INFO: Acknowledgment sent {"connection_id":105969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:18:41] local.INFO: TCP Data received {"connection_id":107509,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:18:41] local.INFO: Processing buffer {"connection_id":107509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:18:41] local.INFO: IMEI packet received {"connection_id":107509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":107509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:18:46] local.INFO: TCP Data received {"connection_id":107509,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:18:46] local.INFO: Processing buffer {"connection_id":107509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:18:46] local.INFO: IMEI packet received {"connection_id":107509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:18:46] local.INFO: IMEI acknowledgment sent {"connection_id":107509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:18:48] local.INFO: TCP Data received {"connection_id":107509,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:48] local.INFO: Processing buffer {"connection_id":107509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:48] local.INFO: Packet analysis {"connection_id":107509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:18:48] local.INFO: Extracted packet for processing {"connection_id":107509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:18:48] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:18:48] 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-06-18 13:18:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:18:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:18:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:18:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":107509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344269,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:18:48] local.INFO: GPS data processed {"connection_id":107509,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:18:48] local.INFO: Acknowledgment sent {"connection_id":107509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:18:52] local.INFO: TCP Data received {"connection_id":107509,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:52] local.INFO: Processing buffer {"connection_id":107509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9af9b68012d1824800721b450004b002826..."} 
[2026-06-18 13:18:52] local.INFO: Packet analysis {"connection_id":107509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:18:52] local.INFO: Extracted packet for processing {"connection_id":107509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9af"} 
[2026-06-18 13:18:52] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:18:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132690944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:18:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:18:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781768625000,"timestamp_ms":1781768625000,"timestamp_seconds":1781768625,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9af9b68"} 
[2026-06-18 13:18:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:18:52] 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-06-18 13:18:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:18:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:18:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:18:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:18:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:18:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:18:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:18:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:18:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:18:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:18:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:18:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132690944001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:18:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:18:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:18:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132690944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:18:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:18:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:18:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:18:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:18:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132690944001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:18:52] local.INFO: DEBUG: GPS processor result {"connection_id":107509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:18:52] local.INFO: GPS data processed {"connection_id":107509,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:18:52] local.INFO: Acknowledgment sent {"connection_id":107509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:19:03] local.INFO: TCP Data received {"connection_id":105969,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:03] local.INFO: Processing buffer {"connection_id":105969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:03] local.INFO: Packet analysis {"connection_id":105969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:19:03] local.INFO: Extracted packet for processing {"connection_id":105969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:19:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:19:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:19:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:19:03] 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-06-18 13:19:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:19:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:19:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:19:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":105969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:19:03] local.INFO: GPS data processed {"connection_id":105969,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:19:03] local.INFO: Acknowledgment sent {"connection_id":105969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:19:25] local.INFO: TCP Data received {"connection_id":105971,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:19:25] local.INFO: Processing buffer {"connection_id":105971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:19:25] local.INFO: IMEI packet received {"connection_id":105971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":105971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:19:30] local.INFO: TCP Data received {"connection_id":105971,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:19:30] local.INFO: Processing buffer {"connection_id":105971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:19:30] local.INFO: IMEI packet received {"connection_id":105971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":105971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:19:31] local.INFO: TCP Data received {"connection_id":105971,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:31] local.INFO: Processing buffer {"connection_id":105971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:31] local.INFO: Packet analysis {"connection_id":105971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:19:31] local.INFO: Extracted packet for processing {"connection_id":105971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:19:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:19:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:19:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":105971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:19:31] local.INFO: GPS data processed {"connection_id":105971,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:19:31] local.INFO: Acknowledgment sent {"connection_id":105971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:19:35] local.INFO: TCP Data received {"connection_id":105971,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:35] local.INFO: Processing buffer {"connection_id":105971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:19:35] local.INFO: Packet analysis {"connection_id":105971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:19:35] local.INFO: Extracted packet for processing {"connection_id":105971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:19:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:19:35] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:19:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":105971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:19:35] local.INFO: GPS data processed {"connection_id":105971,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:19:35] local.INFO: Acknowledgment sent {"connection_id":105971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:19:37] local.INFO: TCP Data received {"connection_id":107510,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:19:37] local.INFO: Processing buffer {"connection_id":107510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:19:37] local.INFO: IMEI packet received {"connection_id":107510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:19:37] local.INFO: IMEI acknowledgment sent {"connection_id":107510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:19:41] local.INFO: TCP Data received {"connection_id":107510,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107510,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:19:41] local.INFO: Processing buffer {"connection_id":107510,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:19:41] local.INFO: IMEI packet received {"connection_id":107510,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":107510,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:19:43] local.INFO: TCP Data received {"connection_id":107510,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:19:43] local.INFO: Processing buffer {"connection_id":107510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:19:43] local.INFO: Packet analysis {"connection_id":107510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:19:43] local.INFO: Extracted packet for processing {"connection_id":107510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:19:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:19:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:19:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:19:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:19:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:19:43] 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-06-18 13:19:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:19:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:19:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:19:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:19:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:19:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:19:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:19:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:19:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:19:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:19:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:19:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:19:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:19:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:19:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:19:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:19:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:19:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:19:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:19:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":107510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:19:43] local.INFO: GPS data processed {"connection_id":107510,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:19:43] local.INFO: Acknowledgment sent {"connection_id":107510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:20:07] local.INFO: TCP Data received {"connection_id":105971,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:20:07] local.INFO: Processing buffer {"connection_id":105971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b07df8012cfef8c007004170000501351f..."} 
[2026-06-18 13:20:07] local.INFO: Packet analysis {"connection_id":105971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:20:07] local.INFO: Extracted packet for processing {"connection_id":105971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b0"} 
[2026-06-18 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132705536001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781768683000,"timestamp_ms":1781768683000,"timestamp_seconds":1781768683,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b07df8"} 
[2026-06-18 13:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132705536001,"66":26376,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132705536001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:20:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:20:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132705536001,"power":26376,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":105971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:20:07] local.INFO: GPS data processed {"connection_id":105971,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:20:07] local.INFO: Acknowledgment sent {"connection_id":105971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:20:14] local.INFO: TCP Data received {"connection_id":107510,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:20:14] local.INFO: Processing buffer {"connection_id":107510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:20:14] local.INFO: Packet analysis {"connection_id":107510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:20:14] local.INFO: Extracted packet for processing {"connection_id":107510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107510,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:20:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":107510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:20:14] local.INFO: GPS data processed {"connection_id":107510,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:20:14] local.INFO: Acknowledgment sent {"connection_id":107510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:20:25] local.INFO: TCP Data received {"connection_id":105785,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:20:25] local.INFO: Processing buffer {"connection_id":105785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:20:25] local.INFO: IMEI packet received {"connection_id":105785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":105785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:20:30] local.INFO: TCP Data received {"connection_id":105785,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:20:30] local.INFO: Processing buffer {"connection_id":105785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:20:30] local.INFO: IMEI packet received {"connection_id":105785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":105785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:20:31] local.INFO: TCP Data received {"connection_id":105785,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:20:31] local.INFO: Processing buffer {"connection_id":105785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:20:31] local.INFO: Packet analysis {"connection_id":105785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:20:31] local.INFO: Extracted packet for processing {"connection_id":105785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:20:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":105785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:20:31] local.INFO: GPS data processed {"connection_id":105785,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:20:31] local.INFO: Acknowledgment sent {"connection_id":105785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:20:36] local.INFO: TCP Data received {"connection_id":105974,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:20:36] local.INFO: Processing buffer {"connection_id":105974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:20:36] local.INFO: IMEI packet received {"connection_id":105974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":105974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:20:41] local.INFO: TCP Data received {"connection_id":105974,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:20:41] local.INFO: Processing buffer {"connection_id":105974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:20:41] local.INFO: IMEI packet received {"connection_id":105974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":105974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:20:43] local.INFO: TCP Data received {"connection_id":105974,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:20:43] local.INFO: Processing buffer {"connection_id":105974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:20:43] local.INFO: Packet analysis {"connection_id":105974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:20:43] local.INFO: Extracted packet for processing {"connection_id":105974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:20:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:20:43] 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-06-18 13:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:20:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":105974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:20:43] local.INFO: GPS data processed {"connection_id":105974,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:20:43] local.INFO: Acknowledgment sent {"connection_id":105974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:21:08] local.INFO: TCP Data received {"connection_id":105785,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:08] local.INFO: Processing buffer {"connection_id":105785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:08] local.INFO: Packet analysis {"connection_id":105785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:21:08] local.INFO: Extracted packet for processing {"connection_id":105785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:21:08] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:21:08] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:21:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":105785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:21:08] local.INFO: GPS data processed {"connection_id":105785,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:21:08] local.INFO: Acknowledgment sent {"connection_id":105785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:21:15] local.INFO: TCP Data received {"connection_id":105974,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:21:15] local.INFO: Processing buffer {"connection_id":105974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:21:15] local.INFO: Packet analysis {"connection_id":105974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:21:15] local.INFO: Extracted packet for processing {"connection_id":105974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:21:15] 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-06-18 13:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:21:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:21:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":105974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:21:15] local.INFO: GPS data processed {"connection_id":105974,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:21:15] local.INFO: Acknowledgment sent {"connection_id":105974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:21:30] local.INFO: TCP Data received {"connection_id":107511,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:21:30] local.INFO: Processing buffer {"connection_id":107511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:21:30] local.INFO: IMEI packet received {"connection_id":107511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":107511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:21:35] local.INFO: TCP Data received {"connection_id":107511,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:21:35] local.INFO: Processing buffer {"connection_id":107511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:21:35] local.INFO: IMEI packet received {"connection_id":107511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":107511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:21:36] local.INFO: TCP Data received {"connection_id":105787,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:21:36] local.INFO: Processing buffer {"connection_id":105787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:21:36] local.INFO: IMEI packet received {"connection_id":105787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":105787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:21:36] local.INFO: TCP Data received {"connection_id":107511,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:36] local.INFO: Processing buffer {"connection_id":107511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:36] local.INFO: Packet analysis {"connection_id":107511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:21:36] local.INFO: Extracted packet for processing {"connection_id":107511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:21:36] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:21:36] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":107511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:21:36] local.INFO: GPS data processed {"connection_id":107511,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:21:36] local.INFO: Acknowledgment sent {"connection_id":107511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:21:41] local.INFO: TCP Data received {"connection_id":107511,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:41] local.INFO: Processing buffer {"connection_id":107511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:21:41] local.INFO: Packet analysis {"connection_id":107511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:21:41] local.INFO: Extracted packet for processing {"connection_id":107511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:21:41] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:21:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":107511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:21:41] local.INFO: GPS data processed {"connection_id":107511,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:21:41] local.INFO: Acknowledgment sent {"connection_id":107511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:21:41] local.INFO: TCP Data received {"connection_id":105787,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:21:41] local.INFO: Processing buffer {"connection_id":105787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:21:41] local.INFO: IMEI packet received {"connection_id":105787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":105787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:21:43] local.INFO: TCP Data received {"connection_id":105787,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:21:43] local.INFO: Processing buffer {"connection_id":105787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:21:43] local.INFO: Packet analysis {"connection_id":105787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:21:43] local.INFO: Extracted packet for processing {"connection_id":105787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:21:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:21:43] 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-06-18 13:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:21:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":105787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:21:43] local.INFO: GPS data processed {"connection_id":105787,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:21:43] local.INFO: Acknowledgment sent {"connection_id":105787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:22:14] local.INFO: TCP Data received {"connection_id":105787,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:14] local.INFO: Processing buffer {"connection_id":105787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:14] local.INFO: Packet analysis {"connection_id":105787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:22:14] local.INFO: Extracted packet for processing {"connection_id":105787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:22:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:22:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:22:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":105787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:22:15] local.INFO: GPS data processed {"connection_id":105787,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:22:15] local.INFO: Acknowledgment sent {"connection_id":105787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:22:25] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:22:25] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:22:25] local.INFO: IMEI packet received {"connection_id":105975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":105975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:22:29] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:22:29] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:22:29] local.INFO: IMEI packet received {"connection_id":105975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":105975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:22:31] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:22:31] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:22:31] local.INFO: Packet analysis {"connection_id":105975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:22:31] local.INFO: Extracted packet for processing {"connection_id":105975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:22:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:22:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":105975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:22:31] local.INFO: GPS data processed {"connection_id":105975,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:22:31] local.INFO: Acknowledgment sent {"connection_id":105975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:22:41] local.INFO: TCP Data received {"connection_id":105788,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:22:41] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:22:41] local.INFO: IMEI packet received {"connection_id":105788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":105788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:22:46] local.INFO: TCP Data received {"connection_id":105788,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:22:46] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:22:46] local.INFO: IMEI packet received {"connection_id":105788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":105788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:22:47] local.INFO: TCP Data received {"connection_id":105788,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:47] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:47] local.INFO: Packet analysis {"connection_id":105788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:22:47] local.INFO: Extracted packet for processing {"connection_id":105788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:22:47] 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-06-18 13:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:22:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:22:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":105788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:22:47] local.INFO: GPS data processed {"connection_id":105788,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:22:47] local.INFO: Acknowledgment sent {"connection_id":105788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:22:52] local.INFO: TCP Data received {"connection_id":105788,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:52] local.INFO: Processing buffer {"connection_id":105788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:22:52] local.INFO: Packet analysis {"connection_id":105788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:22:52] local.INFO: Extracted packet for processing {"connection_id":105788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:22:52] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:22:52] 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-06-18 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":105788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":105788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":105788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:22:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:22:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":105788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:22:52] local.INFO: GPS data processed {"connection_id":105788,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:22:52] local.INFO: Acknowledgment sent {"connection_id":105788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:22:54] local.INFO: TCP Data received {"connection_id":107512,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:22:54] local.INFO: Processing buffer {"connection_id":107512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:22:54] local.INFO: IMEI packet received {"connection_id":107512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":107512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:23:02] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:23:02] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:23:02] local.INFO: Packet analysis {"connection_id":105975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:23:02] local.INFO: Extracted packet for processing {"connection_id":105975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:23:02] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:23:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:23:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:23:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":105975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:23:02] local.INFO: GPS data processed {"connection_id":105975,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:23:02] local.INFO: Acknowledgment sent {"connection_id":105975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:23:30] local.INFO: TCP Data received {"connection_id":107513,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:23:30] local.INFO: Processing buffer {"connection_id":107513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:23:30] local.INFO: IMEI packet received {"connection_id":107513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":107513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:23:33] local.INFO: TCP Data received {"connection_id":106537,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:23:33] local.INFO: Processing buffer {"connection_id":106537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:23:33] local.INFO: IMEI packet received {"connection_id":106537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":106537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:23:34] local.INFO: TCP Data received {"connection_id":107513,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:23:35] local.INFO: Processing buffer {"connection_id":107513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:23:35] local.INFO: IMEI packet received {"connection_id":107513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":107513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:23:36] local.INFO: TCP Data received {"connection_id":107513,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:23:36] local.INFO: Processing buffer {"connection_id":107513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:23:36] local.INFO: Packet analysis {"connection_id":107513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:23:36] local.INFO: Extracted packet for processing {"connection_id":107513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:23:36] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:23:36] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:23:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":107513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:23:36] local.INFO: GPS data processed {"connection_id":107513,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:23:36] local.INFO: Acknowledgment sent {"connection_id":107513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:23:36] local.INFO: TCP Data received {"connection_id":105789,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:23:36] local.INFO: Processing buffer {"connection_id":105789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:23:36] local.INFO: IMEI packet received {"connection_id":105789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":105789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:23:41] local.INFO: TCP Data received {"connection_id":105789,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:23:41] local.INFO: Processing buffer {"connection_id":105789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:23:41] local.INFO: IMEI packet received {"connection_id":105789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":105789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:23:43] local.INFO: TCP Data received {"connection_id":105789,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:23:43] local.INFO: Processing buffer {"connection_id":105789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:23:43] local.INFO: Packet analysis {"connection_id":105789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:23:43] local.INFO: Extracted packet for processing {"connection_id":105789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:23:43] 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-06-18 13:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:23:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":105789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:23:43] local.INFO: GPS data processed {"connection_id":105789,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:23:43] local.INFO: Acknowledgment sent {"connection_id":105789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:24:07] local.INFO: TCP Data received {"connection_id":107513,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:24:07] local.INFO: Processing buffer {"connection_id":107513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:24:07] local.INFO: Packet analysis {"connection_id":107513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:24:07] local.INFO: Extracted packet for processing {"connection_id":107513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:24:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:24:07] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:24:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":107513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:24:07] local.INFO: GPS data processed {"connection_id":107513,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:24:07] local.INFO: Acknowledgment sent {"connection_id":107513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:24:14] local.INFO: TCP Data received {"connection_id":105789,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:24:14] local.INFO: Processing buffer {"connection_id":105789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b43330012d1824800721b450004b002823..."} 
[2026-06-18 13:24:14] local.INFO: Packet analysis {"connection_id":105789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:24:14] local.INFO: Extracted packet for processing {"connection_id":105789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b4"} 
[2026-06-18 13:24:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":75,"angle":40,"satellites":35,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:24: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-06-18 13:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132768000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781768926000,"timestamp_ms":1781768926000,"timestamp_seconds":1781768926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b43330"} 
[2026-06-18 13:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:24: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-06-18 13:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132768000001,"66":2166,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132768000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:24:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132768000001,"power":2166,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":105789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:24:15] local.INFO: GPS data processed {"connection_id":105789,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:24:15] local.INFO: Acknowledgment sent {"connection_id":105789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:24:25] local.INFO: TCP Data received {"connection_id":105976,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:24:25] local.INFO: Processing buffer {"connection_id":105976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:24:25] local.INFO: IMEI packet received {"connection_id":105976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":105976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:24:30] local.INFO: TCP Data received {"connection_id":105976,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:24:30] local.INFO: Processing buffer {"connection_id":105976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:24:30] local.INFO: IMEI packet received {"connection_id":105976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":105976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:24:32] local.INFO: TCP Data received {"connection_id":105976,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:24:32] local.INFO: Processing buffer {"connection_id":105976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:24:32] local.INFO: Packet analysis {"connection_id":105976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:24:32] local.INFO: Extracted packet for processing {"connection_id":105976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:24:32] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:24:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:24:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":105976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:24:32] local.INFO: GPS data processed {"connection_id":105976,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:24:32] local.INFO: Acknowledgment sent {"connection_id":105976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:24:36] local.INFO: TCP Data received {"connection_id":106538,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:24:36] local.INFO: Processing buffer {"connection_id":106538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:24:36] local.INFO: IMEI packet received {"connection_id":106538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":106538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:24:41] local.INFO: TCP Data received {"connection_id":106538,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:24:41] local.INFO: Processing buffer {"connection_id":106538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:24:41] local.INFO: IMEI packet received {"connection_id":106538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:24:41] local.INFO: IMEI acknowledgment sent {"connection_id":106538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:24:42] local.INFO: TCP Data received {"connection_id":106538,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:24:42] local.INFO: Processing buffer {"connection_id":106538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:24:42] local.INFO: Packet analysis {"connection_id":106538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:24:42] local.INFO: Extracted packet for processing {"connection_id":106538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:24:42] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":76,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132845056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781769227000,"timestamp_ms":1781769227000,"timestamp_seconds":1781769227,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b8caf8"} 
[2026-06-18 13:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:24:42] 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-06-18 13:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132845056001,"66":2155,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132845056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:24:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:24:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132845056001,"power":2155,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":106538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:24:42] local.INFO: GPS data processed {"connection_id":106538,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:24:42] local.INFO: Acknowledgment sent {"connection_id":106538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:25:04] local.INFO: TCP Data received {"connection_id":105976,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:25:04] local.INFO: Processing buffer {"connection_id":105976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b515c0012cfef8c007004170000501351e..."} 
[2026-06-18 13:25:04] local.INFO: Packet analysis {"connection_id":105976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:25:04] local.INFO: Extracted packet for processing {"connection_id":105976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b5"} 
[2026-06-18 13:25:04] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":30,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781768984000,"timestamp_ms":1781768984000,"timestamp_seconds":1781768984,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b515c0"} 
[2026-06-18 13:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-06-18 13:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132782848001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:25:04] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:25:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132782848001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":105976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:25:04] local.INFO: GPS data processed {"connection_id":105976,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:25:04] local.INFO: Acknowledgment sent {"connection_id":105976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:25:14] local.INFO: TCP Data received {"connection_id":106538,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:25:14] local.INFO: Processing buffer {"connection_id":106538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:25:14] local.INFO: Packet analysis {"connection_id":106538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:25:14] local.INFO: Extracted packet for processing {"connection_id":106538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:25:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":76,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132845056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781769227000,"timestamp_ms":1781769227000,"timestamp_seconds":1781769227,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b8caf8"} 
[2026-06-18 13:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:25:14] 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-06-18 13:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132845056001,"66":2155,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132845056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:25:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:25:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132845056001,"power":2155,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":106538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:25:14] local.INFO: GPS data processed {"connection_id":106538,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:25:14] local.INFO: Acknowledgment sent {"connection_id":106538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:25:24] local.INFO: TCP Data received {"connection_id":107514,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:25:24] local.INFO: Processing buffer {"connection_id":107514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:25:24] local.INFO: IMEI packet received {"connection_id":107514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":107514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:25:30] local.INFO: TCP Data received {"connection_id":107514,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:25:30] local.INFO: Processing buffer {"connection_id":107514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:25:30] local.INFO: IMEI packet received {"connection_id":107514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":107514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:25:31] local.INFO: TCP Data received {"connection_id":107514,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:25:31] local.INFO: Processing buffer {"connection_id":107514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:25:31] local.INFO: Packet analysis {"connection_id":107514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:25:31] local.INFO: Extracted packet for processing {"connection_id":107514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:25:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132859904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781769285000,"timestamp_ms":1781769285000,"timestamp_seconds":1781769285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b9ad88"} 
[2026-06-18 13:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:25: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-06-18 13:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132859904001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132859904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:25:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132859904001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":107514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:25:31] local.INFO: GPS data processed {"connection_id":107514,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:25:31] local.INFO: Acknowledgment sent {"connection_id":107514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:25:36] local.INFO: TCP Data received {"connection_id":105791,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:25:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:25:36] local.INFO: Processing buffer {"connection_id":105791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:25:36] local.INFO: IMEI packet received {"connection_id":105791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:25:36] local.INFO: IMEI acknowledgment sent {"connection_id":105791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:25:41] local.INFO: TCP Data received {"connection_id":105791,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:25:41] local.INFO: Processing buffer {"connection_id":105791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:25:41] local.INFO: IMEI packet received {"connection_id":105791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":105791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:25:43] local.INFO: TCP Data received {"connection_id":105791,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:25:43] local.INFO: Processing buffer {"connection_id":105791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:25:43] local.INFO: Packet analysis {"connection_id":105791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:25:43] local.INFO: Extracted packet for processing {"connection_id":105791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":76,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:25: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-06-18 13:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132845056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781769227000,"timestamp_ms":1781769227000,"timestamp_seconds":1781769227,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b8caf8"} 
[2026-06-18 13:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:25:43] 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-06-18 13:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:25: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-06-18 13:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132845056001,"66":2155,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132845056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:25:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:25:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132845056001,"power":2155,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":105791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:25:43] local.INFO: GPS data processed {"connection_id":105791,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:25:43] local.INFO: Acknowledgment sent {"connection_id":105791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:26:03] local.INFO: TCP Data received {"connection_id":107514,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:26:03] local.INFO: Processing buffer {"connection_id":107514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:26:03] local.INFO: Packet analysis {"connection_id":107514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:26:03] local.INFO: Extracted packet for processing {"connection_id":107514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:26:03] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132859904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781769285000,"timestamp_ms":1781769285000,"timestamp_seconds":1781769285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b9ad88"} 
[2026-06-18 13:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:26:03] 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-06-18 13: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-06-18 13:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132859904001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132859904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:26:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132859904001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":107514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:26:03] local.INFO: GPS data processed {"connection_id":107514,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:26:03] local.INFO: Acknowledgment sent {"connection_id":107514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:26:14] local.INFO: TCP Data received {"connection_id":105791,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:26:14] local.INFO: Processing buffer {"connection_id":105791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:26:14] local.INFO: Packet analysis {"connection_id":105791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:26:14] local.INFO: Extracted packet for processing {"connection_id":105791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":76,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132845056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781769227000,"timestamp_ms":1781769227000,"timestamp_seconds":1781769227,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b8caf8"} 
[2026-06-18 13:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:26:14] 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-06-18 13:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132845056001,"66":2155,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132845056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:26:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:26:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132845056001,"power":2155,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":105791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:26:14] local.INFO: GPS data processed {"connection_id":105791,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:26:14] local.INFO: Acknowledgment sent {"connection_id":105791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:26:25] local.INFO: TCP Data received {"connection_id":107515,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:26:25] local.INFO: Processing buffer {"connection_id":107515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:26:25] local.INFO: IMEI packet received {"connection_id":107515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":107515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:26:30] local.INFO: TCP Data received {"connection_id":107515,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:26:30] local.INFO: Processing buffer {"connection_id":107515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:26:30] local.INFO: IMEI packet received {"connection_id":107515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":107515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:26:31] local.INFO: TCP Data received {"connection_id":107515,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:26:31] local.INFO: Processing buffer {"connection_id":107515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:26:31] local.INFO: Packet analysis {"connection_id":107515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:26:31] local.INFO: Extracted packet for processing {"connection_id":107515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:26:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132859904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781769285000,"timestamp_ms":1781769285000,"timestamp_seconds":1781769285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b9ad88"} 
[2026-06-18 13:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:26: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-06-18 13: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-06-18 13:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132859904001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132859904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:26:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132859904001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":107515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:26:31] local.INFO: GPS data processed {"connection_id":107515,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:26:31] local.INFO: Acknowledgment sent {"connection_id":107515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:26:37] local.INFO: TCP Data received {"connection_id":105793,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:26:37] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:26:37] local.INFO: IMEI packet received {"connection_id":105793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":105793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:26:41] local.INFO: TCP Data received {"connection_id":105793,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:26:41] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:26:41] local.INFO: IMEI packet received {"connection_id":105793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":105793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:26:44] local.INFO: TCP Data received {"connection_id":105793,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:26:44] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:26:44] local.INFO: Packet analysis {"connection_id":105793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:26:44] local.INFO: Extracted packet for processing {"connection_id":105793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":76,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132845056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781769227000,"timestamp_ms":1781769227000,"timestamp_seconds":1781769227,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b8caf8"} 
[2026-06-18 13:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:26:44] 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-06-18 13:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132845056001,"66":2155,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132845056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:26:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:26:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132845056001,"power":2155,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":105793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:26:44] local.INFO: GPS data processed {"connection_id":105793,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:26:44] local.INFO: Acknowledgment sent {"connection_id":105793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:27:03] local.INFO: TCP Data received {"connection_id":107515,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:27:03] local.INFO: Processing buffer {"connection_id":107515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:27:03] local.INFO: Packet analysis {"connection_id":107515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:27:03] local.INFO: Extracted packet for processing {"connection_id":107515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:27:03] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132859904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781769285000,"timestamp_ms":1781769285000,"timestamp_seconds":1781769285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b9ad88"} 
[2026-06-18 13:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:27:03] 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-06-18 13:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132859904001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132859904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:27:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132859904001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":107515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:27:03] local.INFO: GPS data processed {"connection_id":107515,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:27:03] local.INFO: Acknowledgment sent {"connection_id":107515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:27:16] local.INFO: TCP Data received {"connection_id":105793,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:27:16] local.INFO: Processing buffer {"connection_id":105793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b8caf8012d1824800721b450004c002826..."} 
[2026-06-18 13:27:16] local.INFO: Packet analysis {"connection_id":105793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:27:16] local.INFO: Extracted packet for processing {"connection_id":105793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b8"} 
[2026-06-18 13:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649360,"longitude_deg":75.6556928,"latitude_deg":11.964936,"altitude":76,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b450","is_valid_coordinates":true} 
[2026-06-18 13:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132845056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351697988517888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190445568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781769227000,"timestamp_ms":1781769227000,"timestamp_seconds":1781769227,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b8caf8"} 
[2026-06-18 13:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:27:16] 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-06-18 13:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132845056001,"66":2155,"120":206,"28":31744,"24":0,"16":3351697988517888,"45":1739656124190445568},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132845056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:27:16] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:27:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351697988517888,"km_value":3351697988517.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190445568,"description":"Unknown IO ID 45"} 
[2026-06-18 13:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132845056001,"power":2155,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739656124190445568}} 
[2026-06-18 13:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":105793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:27:16] local.INFO: GPS data processed {"connection_id":105793,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:27:16] local.INFO: Acknowledgment sent {"connection_id":105793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:27:25] local.INFO: TCP Data received {"connection_id":107516,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:27:25] local.INFO: Processing buffer {"connection_id":107516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:27:25] local.INFO: IMEI packet received {"connection_id":107516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":107516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:27:30] local.INFO: TCP Data received {"connection_id":107516,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:27:30] local.INFO: Processing buffer {"connection_id":107516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:27:30] local.INFO: IMEI packet received {"connection_id":107516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":107516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:27:31] local.INFO: TCP Data received {"connection_id":107516,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:27:31] local.INFO: Processing buffer {"connection_id":107516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:27:31] local.INFO: Packet analysis {"connection_id":107516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:27:31] local.INFO: Extracted packet for processing {"connection_id":107516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:27:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132859904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781769285000,"timestamp_ms":1781769285000,"timestamp_seconds":1781769285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b9ad88"} 
[2026-06-18 13:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:27: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-06-18 13: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-06-18 13:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132859904001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132859904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:27:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:27:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132859904001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":107516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:27:31] local.INFO: GPS data processed {"connection_id":107516,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:27:31] local.INFO: Acknowledgment sent {"connection_id":107516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:27:36] local.INFO: TCP Data received {"connection_id":106540,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:27:36] local.INFO: Processing buffer {"connection_id":106540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:27:36] local.INFO: IMEI packet received {"connection_id":106540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:27:36] local.INFO: IMEI acknowledgment sent {"connection_id":106540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:27:39] local.INFO: TCP Data received {"connection_id":106540,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:27:39] local.INFO: Processing buffer {"connection_id":106540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:27:39] local.INFO: IMEI packet received {"connection_id":106540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":106540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:27:39] local.INFO: TCP Data received {"connection_id":106540,"ip":"117.224.140.35","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 13:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106540,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 13:27:39] local.INFO: Processing buffer {"connection_id":106540,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 13:27:39] local.INFO: IMEI packet received {"connection_id":106540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:27:39] local.INFO: IMEI acknowledgment sent {"connection_id":106540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:28:02] local.INFO: TCP Data received {"connection_id":107516,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:28:02] local.INFO: Processing buffer {"connection_id":107516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:28:02] local.INFO: Packet analysis {"connection_id":107516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:28:02] local.INFO: Extracted packet for processing {"connection_id":107516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:28:02] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132859904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:28:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781769285000,"timestamp_ms":1781769285000,"timestamp_seconds":1781769285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b9ad88"} 
[2026-06-18 13:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:28:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:28: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-06-18 13: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-06-18 13:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132859904001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132859904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:28:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:28:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:28:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132859904001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":107516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:28:02] local.INFO: GPS data processed {"connection_id":107516,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:28:02] local.INFO: Acknowledgment sent {"connection_id":107516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:28:24] local.INFO: TCP Data received {"connection_id":107517,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:28:24] local.INFO: Processing buffer {"connection_id":107517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:28:24] local.INFO: IMEI packet received {"connection_id":107517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":107517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:28:29] local.INFO: TCP Data received {"connection_id":107517,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:28:29] local.INFO: Processing buffer {"connection_id":107517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:28:29] local.INFO: IMEI packet received {"connection_id":107517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":107517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:28:31] local.INFO: TCP Data received {"connection_id":107517,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:28:31] local.INFO: Processing buffer {"connection_id":107517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:28:31] local.INFO: Packet analysis {"connection_id":107517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:28:31] local.INFO: Extracted packet for processing {"connection_id":107517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:28:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132859904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:28:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781769285000,"timestamp_ms":1781769285000,"timestamp_seconds":1781769285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b9ad88"} 
[2026-06-18 13:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:28: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-06-18 13: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-06-18 13:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132859904001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132859904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:28:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:28:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132859904001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":107517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:28:31] local.INFO: GPS data processed {"connection_id":107517,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:28:31] local.INFO: Acknowledgment sent {"connection_id":107517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:28:59] local.INFO: TCP Data received {"connection_id":106541,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106541,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:28:59] local.INFO: Processing buffer {"connection_id":106541,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:28:59] local.INFO: IMEI packet received {"connection_id":106541,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":106541,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:29:03] local.INFO: TCP Data received {"connection_id":107517,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:29:03] local.INFO: Processing buffer {"connection_id":107517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9b9ad88012cfef8c007004170000501351f..."} 
[2026-06-18 13:29:03] local.INFO: Packet analysis {"connection_id":107517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:29:03] local.INFO: Extracted packet for processing {"connection_id":107517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9b9"} 
[2026-06-18 13:29:03] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132859904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:29:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781769285000,"timestamp_ms":1781769285000,"timestamp_seconds":1781769285,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9b9ad88"} 
[2026-06-18 13:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:29:03] 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-06-18 13:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132859904001,"66":26006,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132859904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:29:03] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:29:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132859904001,"power":26006,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":107517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:29:03] local.INFO: GPS data processed {"connection_id":107517,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:29:03] local.INFO: Acknowledgment sent {"connection_id":107517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:29:24] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:24] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:24] local.INFO: IMEI packet received {"connection_id":105978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":105978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:29:26] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:26] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:26] local.INFO: IMEI packet received {"connection_id":105978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":105978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:29:30] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:30] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:29:30] local.INFO: IMEI packet received {"connection_id":105978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":105978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:29:31] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9bd0500012cfef8c0070041700005013521..."} 
[2026-06-18 13:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9bd0500012cfef8c0070041700005013521..."} 
[2026-06-18 13:29:31] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9bd0500012cfef8c0070041700005013521..."} 
[2026-06-18 13:29:31] local.INFO: Packet analysis {"connection_id":105978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9bd"} 
[2026-06-18 13:29:31] local.INFO: Extracted packet for processing {"connection_id":105978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9bd"} 
[2026-06-18 13:29:31] local.INFO: GPS Element Parsed {"raw_longitude":754907328,"raw_latitude":117457264,"longitude_deg":75.4907328,"latitude_deg":11.7457264,"altitude":5,"angle":309,"satellites":33,"speed":0,"hex_longitude":"2cfef8c0","hex_latitude":"07004170","is_valid_coordinates":true} 
[2026-06-18 13:29: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-06-18 13:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132936960001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:29:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781769504000,"timestamp_ms":1781769504000,"timestamp_seconds":1781769504,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9bd0500"} 
[2026-06-18 13:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:29: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-06-18 13: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-06-18 13:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132936960001,"66":25973,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132936960001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:29:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:29:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132936960001,"power":25973,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":105978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:29:31] local.INFO: GPS data processed {"connection_id":105978,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:29:31] local.INFO: Acknowledgment sent {"connection_id":105978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:29:33] local.INFO: TCP Data received {"connection_id":107519,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:29:33] local.INFO: Processing buffer {"connection_id":107519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:29:33] local.INFO: IMEI packet received {"connection_id":107519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":107519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:30:02] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9bd62c0012cfef94007004168000501351f..."} 
[2026-06-18 13:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9bd62c0012cfef94007004168000501351f..."} 
[2026-06-18 13:30:02] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9bd62c0012cfef94007004168000501351f..."} 
[2026-06-18 13:30:02] local.INFO: Packet analysis {"connection_id":105978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9bd"} 
[2026-06-18 13:30:02] local.INFO: Extracted packet for processing {"connection_id":105978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9bd"} 
[2026-06-18 13:30:02] local.INFO: GPS Element Parsed {"raw_longitude":754907456,"raw_latitude":117457256,"longitude_deg":75.4907456,"latitude_deg":11.7457256,"altitude":5,"angle":309,"satellites":31,"speed":0,"hex_longitude":"2cfef940","hex_latitude":"07004168","is_valid_coordinates":true} 
[2026-06-18 13:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:30:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132993024001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:30:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:30:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-74098257550020608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:30:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:30:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781769528000,"timestamp_ms":1781769528000,"timestamp_seconds":1781769528,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9bd62c0"} 
[2026-06-18 13:30:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:30: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-06-18 13:30:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-18 13:30: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-06-18 13:30:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:30:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:30:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:30:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:30:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:30:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:30:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:30:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:30:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:30:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132993024001,"66":27767,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-74098257550020608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:30:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:30:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:30:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132993024001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:30:02] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:30:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:30:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:30:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-74098257550020608,"description":"Unknown IO ID 44"} 
[2026-06-18 13:30:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132993024001,"power":27767,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-74098257550020608}} 
[2026-06-18 13:30:02] local.INFO: DEBUG: GPS processor result {"connection_id":105978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:30:02] local.INFO: GPS data processed {"connection_id":105978,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:30:02] local.INFO: Acknowledgment sent {"connection_id":105978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:30:24] local.INFO: TCP Data received {"connection_id":107520,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:30:24] local.INFO: Processing buffer {"connection_id":107520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:30:24] local.INFO: IMEI packet received {"connection_id":107520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":107520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:30:29] local.INFO: TCP Data received {"connection_id":107520,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:30:29] local.INFO: Processing buffer {"connection_id":107520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:30:29] local.INFO: IMEI packet received {"connection_id":107520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":107520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:30:30] local.INFO: TCP Data received {"connection_id":107520,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9bdb4c8012cfef940070041680005013523..."} 
[2026-06-18 13:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9bdb4c8012cfef940070041680005013523..."} 
[2026-06-18 13:30:30] local.INFO: Processing buffer {"connection_id":107520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9bdb4c8012cfef940070041680005013523..."} 
[2026-06-18 13:30:30] local.INFO: Packet analysis {"connection_id":107520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9bd"} 
[2026-06-18 13:30:30] local.INFO: Extracted packet for processing {"connection_id":107520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9bd"} 
[2026-06-18 13:30:30] local.INFO: GPS Element Parsed {"raw_longitude":754907456,"raw_latitude":117457256,"longitude_deg":75.4907456,"latitude_deg":11.7457256,"altitude":5,"angle":309,"satellites":35,"speed":0,"hex_longitude":"2cfef940","hex_latitude":"07004168","is_valid_coordinates":true} 
[2026-06-18 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456132999168001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399948720701440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781769549000,"timestamp_ms":1781769549000,"timestamp_seconds":1781769549,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9bdb4c8"} 
[2026-06-18 13:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:30: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-06-18 13:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 13:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456132999168001,"66":28028,"33":206,"28":32256,"24":0,"16":318399948720701440,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456132999168001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:30:30] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399948720701440,"km_value":318399948720701.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456132999168001,"power":28028,"unknown_33":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":107520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:30:30] local.INFO: GPS data processed {"connection_id":107520,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:30:30] local.INFO: Acknowledgment sent {"connection_id":107520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:31:01] local.INFO: TCP Data received {"connection_id":107520,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9bdd7f0012cfef900070045180005015c24..."} 
[2026-06-18 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9bdd7f0012cfef900070045180005015c24..."} 
[2026-06-18 13:31:01] local.INFO: Processing buffer {"connection_id":107520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9bdd7f0012cfef900070045180005015c24..."} 
[2026-06-18 13:31:01] local.INFO: Packet analysis {"connection_id":107520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9bd"} 
[2026-06-18 13:31:01] local.INFO: Extracted packet for processing {"connection_id":107520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9bd"} 
[2026-06-18 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":754907392,"raw_latitude":117458200,"longitude_deg":75.4907392,"latitude_deg":11.74582,"altitude":5,"angle":348,"satellites":36,"speed":3,"hex_longitude":"2cfef900","hex_latitude":"07004518","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133004544001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318399991670374400,"note":"Value kept but may cause issues"} 
[2026-06-18 13:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-73957520061667328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781769558000,"timestamp_ms":1781769558000,"timestamp_seconds":1781769558,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9bdd7f0"} 
[2026-06-18 13:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:31: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-06-18 13: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":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133004544001,"66":27745,"33":206,"28":32256,"24":3,"16":318399991670374400,"44":-73957520061667328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133004544001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:31:01] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:31:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318399991670374400,"km_value":318399991670374.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-73957520061667328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133004544001,"power":27745,"unknown_33":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_44":-73957520061667328}} 
[2026-06-18 13:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":107520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:31:01] local.INFO: GPS data processed {"connection_id":107520,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:31:01] local.INFO: Acknowledgment sent {"connection_id":107520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:31:23] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:23] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:23] local.INFO: IMEI packet received {"connection_id":105979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":105979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:31:24] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:24] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:24] local.INFO: IMEI packet received {"connection_id":105979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":105979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:31:25] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:25] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:25] local.INFO: IMEI packet received {"connection_id":105979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":105979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:31:30] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:30] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:31:30] local.INFO: IMEI packet received {"connection_id":105979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":105979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:31:31] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9beed48012cfef180070050880008002226..."} 
[2026-06-18 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9beed48012cfef180070050880008002226..."} 
[2026-06-18 13:31:31] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9beed48012cfef180070050880008002226..."} 
[2026-06-18 13:31:31] local.INFO: Packet analysis {"connection_id":105979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9be"} 
[2026-06-18 13:31:31] local.INFO: Extracted packet for processing {"connection_id":105979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9be"} 
[2026-06-18 13:31:31] local.INFO: GPS Element Parsed {"raw_longitude":754905472,"raw_latitude":117461128,"longitude_deg":75.4905472,"latitude_deg":11.7461128,"altitude":8,"angle":34,"satellites":38,"speed":5,"hex_longitude":"2cfef180","hex_latitude":"07005088","is_valid_coordinates":true} 
[2026-06-18 13:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133024512001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318400215008673792,"note":"Value kept but may cause issues"} 
[2026-06-18 13:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76420426106935296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781769629000,"timestamp_ms":1781769629000,"timestamp_seconds":1781769629,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9beed48"} 
[2026-06-18 13:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-18 13:31:31] 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-06-18 13:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133024512001,"66":27908,"33":206,"28":32256,"24":5,"16":318400215008673792,"44":-76420426106935296},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133024512001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:31:31] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318400215008673792,"km_value":318400215008673.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76420426106935296,"description":"Unknown IO ID 44"} 
[2026-06-18 13:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133024512001,"power":27908,"unknown_33":206,"unknown_28":32256,"ignition":5,"odometer":null,"unknown_44":-76420426106935296}} 
[2026-06-18 13:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":105979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:31:31] local.INFO: GPS data processed {"connection_id":105979,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:31:31] local.INFO: Acknowledgment sent {"connection_id":105979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:32:04] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9befce8012cfef480070053a00008002f26..."} 
[2026-06-18 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9befce8012cfef480070053a00008002f26..."} 
[2026-06-18 13:32:04] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9befce8012cfef480070053a00008002f26..."} 
[2026-06-18 13:32:04] local.INFO: Packet analysis {"connection_id":105979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9be"} 
[2026-06-18 13:32:04] local.INFO: Extracted packet for processing {"connection_id":105979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9be"} 
[2026-06-18 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":754906240,"raw_latitude":117461920,"longitude_deg":75.490624,"latitude_deg":11.746192,"altitude":8,"angle":47,"satellites":38,"speed":15,"hex_longitude":"2cfef480","hex_latitude":"070053a0","is_valid_coordinates":true} 
[2026-06-18 13:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133025024001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318400266548281344,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-76138951130183680,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781769633000,"timestamp_ms":1781769633000,"timestamp_seconds":1781769633,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9befce8"} 
[2026-06-18 13:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 13:32: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-06-18 13:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133025024001,"66":28006,"33":206,"28":32256,"24":15,"16":318400266548281344,"44":-76138951130183680},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133025024001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:32:04] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318400266548281344,"km_value":318400266548281.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:32:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-76138951130183680,"description":"Unknown IO ID 44"} 
[2026-06-18 13:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133025024001,"power":28006,"unknown_33":206,"unknown_28":32256,"ignition":15,"odometer":null,"unknown_44":-76138951130183680}} 
[2026-06-18 13:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":105979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:32:04] local.INFO: GPS data processed {"connection_id":105979,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:32:04] local.INFO: Acknowledgment sent {"connection_id":105979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:32:24] local.INFO: TCP Data received {"connection_id":105981,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:32:24] local.INFO: Processing buffer {"connection_id":105981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:32:24] local.INFO: IMEI packet received {"connection_id":105981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":105981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:32:30] local.INFO: TCP Data received {"connection_id":105981,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:32:30] local.INFO: Processing buffer {"connection_id":105981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:32:30] local.INFO: IMEI packet received {"connection_id":105981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":105981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:32:32] local.INFO: TCP Data received {"connection_id":105981,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9bf2bc8012cfefc0007005af00009013029..."} 
[2026-06-18 13:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9bf2bc8012cfefc0007005af00009013029..."} 
[2026-06-18 13:32:32] local.INFO: Processing buffer {"connection_id":105981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9bf2bc8012cfefc0007005af00009013029..."} 
[2026-06-18 13:32:32] local.INFO: Packet analysis {"connection_id":105981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9bf"} 
[2026-06-18 13:32:32] local.INFO: Extracted packet for processing {"connection_id":105981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9bf"} 
[2026-06-18 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":754908160,"raw_latitude":117463792,"longitude_deg":75.490816,"latitude_deg":11.7463792,"altitude":9,"angle":304,"satellites":41,"speed":6,"hex_longitude":"2cfefc00","hex_latitude":"07005af0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 13:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133026048001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318400408282202112,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-75294526199848960,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781769645000,"timestamp_ms":1781769645000,"timestamp_seconds":1781769645,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9bf2bc8"} 
[2026-06-18 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-06-18 13:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 13:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 13:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133026048001,"66":27919,"33":206,"28":32256,"24":6,"16":318400408282202112,"44":-75294526199848960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,28,24,16,44]} 
[2026-06-18 13:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133026048001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:32:32] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 13:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318400408282202112,"km_value":318400408282202.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:32:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-75294526199848960,"description":"Unknown IO ID 44"} 
[2026-06-18 13:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133026048001,"power":27919,"unknown_33":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_44":-75294526199848960}} 
[2026-06-18 13:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":105981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:32:32] local.INFO: GPS data processed {"connection_id":105981,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:32:32] local.INFO: Acknowledgment sent {"connection_id":105981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:32:41] local.INFO: TCP Data received {"connection_id":107522,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107522,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:32:41] local.INFO: Processing buffer {"connection_id":107522,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:32:41] local.INFO: IMEI packet received {"connection_id":107522,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":107522,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:32:42] local.INFO: TCP Data received {"connection_id":107522,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9bfdb90012d17e0c007219380004c013828..."} 
[2026-06-18 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9bfdb90012d17e0c007219380004c013828..."} 
[2026-06-18 13:32:42] local.INFO: Processing buffer {"connection_id":107522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9bfdb90012d17e0c007219380004c013828..."} 
[2026-06-18 13:32:42] local.INFO: Packet analysis {"connection_id":107522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9bf"} 
[2026-06-18 13:32:42] local.INFO: Extracted packet for processing {"connection_id":107522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9bf"} 
[2026-06-18 13:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756539584,"raw_latitude":119640960,"longitude_deg":75.6539584,"latitude_deg":11.964096,"altitude":76,"angle":312,"satellites":40,"speed":4,"hex_longitude":"2d17e0c0","hex_latitude":"07219380","is_valid_coordinates":true} 
[2026-06-18 13:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133036544001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3352853334720512,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1720726932004288512,"note":"Value kept but may cause issues"} 
[2026-06-18 13:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781769690000,"timestamp_ms":1781769690000,"timestamp_seconds":1781769690,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9bfdb90"} 
[2026-06-18 13:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 13:32:42] 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-06-18 13:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133036544001,"66":14004,"122":206,"28":31744,"24":4,"16":3352853334720512,"45":1720726932004288512},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133036544001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:32:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3352853334720512,"km_value":3352853334720.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1720726932004288512,"description":"Unknown IO ID 45"} 
[2026-06-18 13:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133036544001,"power":14004,"unknown_122":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1720726932004288512}} 
[2026-06-18 13:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":107522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:32:43] local.INFO: GPS data processed {"connection_id":107522,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:32:43] local.INFO: Acknowledgment sent {"connection_id":107522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:33:04] local.INFO: TCP Data received {"connection_id":105981,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c09328012cfe45c00700e9e80009015822..."} 
[2026-06-18 13:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c09328012cfe45c00700e9e80009015822..."} 
[2026-06-18 13:33:04] local.INFO: Processing buffer {"connection_id":105981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c09328012cfe45c00700e9e80009015822..."} 
[2026-06-18 13:33:04] local.INFO: Packet analysis {"connection_id":105981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:04] local.INFO: Extracted packet for processing {"connection_id":105981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:04] local.INFO: GPS Element Parsed {"raw_longitude":754861504,"raw_latitude":117500392,"longitude_deg":75.4861504,"latitude_deg":11.7500392,"altitude":9,"angle":344,"satellites":34,"speed":21,"hex_longitude":"2cfe45c0","hex_latitude":"0700e9e8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318403354629767168,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-124200803393611776,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781769737000,"timestamp_ms":1781769737000,"timestamp_seconds":1781769737,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c09328"} 
[2026-06-18 13:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:33:04] 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-06-18 13:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133052416001,"66":27995,"35":206,"28":32256,"24":21,"16":318403354629767168,"44":-124200803393611776},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-06-18 13:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:33:04] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318403354629767168,"km_value":318403354629767.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:33:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-124200803393611776,"description":"Unknown IO ID 44"} 
[2026-06-18 13:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133052416001,"power":27995,"unknown_35":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_44":-124200803393611776}} 
[2026-06-18 13:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":105981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:33:04] local.INFO: GPS data processed {"connection_id":105981,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:33:04] local.INFO: Acknowledgment sent {"connection_id":105981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:33:14] local.INFO: TCP Data received {"connection_id":107522,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c09710012d17af800721afd8003800041f..."} 
[2026-06-18 13:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c09710012d17af800721afd8003800041f..."} 
[2026-06-18 13:33:14] local.INFO: Processing buffer {"connection_id":107522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c09710012d17af800721afd8003800041f..."} 
[2026-06-18 13:33:14] local.INFO: Packet analysis {"connection_id":107522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:14] local.INFO: Extracted packet for processing {"connection_id":107522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:14] local.INFO: GPS Element Parsed {"raw_longitude":756526976,"raw_latitude":119648216,"longitude_deg":75.6526976,"latitude_deg":11.9648216,"altitude":56,"angle":4,"satellites":31,"speed":17,"hex_longitude":"2d17af80","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-06-18 13:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133051648001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3353690853343232,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706160601961017344,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781769738000,"timestamp_ms":1781769738000,"timestamp_seconds":1781769738,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c09710"} 
[2026-06-18 13:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3653262456,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":192,"raw_value":4411277128193261575,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7300334708185882112,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249287207883741648,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13494136,"corrected_to":0} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3228565505,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3925278720,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":27,"raw_value":57956881411218556,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":17,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8791253094361995264,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.WARNING: Large IO value detected {"io_id":61,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:14] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,120,28,24,241,158,16,234,123,45,192,164,59,33,10,66,119,163,115,64,1,240,246,217,4,113,205,11,104,176,40,34,239,56,2,7,63,21,27,17,231,61],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":246,"original":13494136,"validated":0},{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 13:33:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179358188120965120,"timestamp_seconds":4179358188120965.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 13:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107522,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133051648001,"66":14102,"120":206,"28":31744,"24":17,"16":3353690853343232,"45":1706160601961017344},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133051648001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:33:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:33:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3353690853343232,"km_value":3353690853343.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706160601961017344,"description":"Unknown IO ID 45"} 
[2026-06-18 13:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133051648001,"power":14102,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1706160601961017344}} 
[2026-06-18 13:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":107522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:33:14] local.INFO: GPS data processed {"connection_id":107522,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:33:14] local.INFO: Acknowledgment sent {"connection_id":107522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:33:25] local.INFO: TCP Data received {"connection_id":105794,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:33:25] local.INFO: Processing buffer {"connection_id":105794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:33:25] local.INFO: IMEI packet received {"connection_id":105794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":105794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:33:28] local.INFO: TCP Data received {"connection_id":105794,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:33:29] local.INFO: Processing buffer {"connection_id":105794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:33:29] local.INFO: IMEI packet received {"connection_id":105794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":105794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:33:33] local.INFO: TCP Data received {"connection_id":105794,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c09710012cfe46400700ebf00009000123..."} 
[2026-06-18 13:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c09710012cfe46400700ebf00009000123..."} 
[2026-06-18 13:33:33] local.INFO: Processing buffer {"connection_id":105794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c09710012cfe46400700ebf00009000123..."} 
[2026-06-18 13:33:33] local.INFO: Packet analysis {"connection_id":105794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:33] local.INFO: Extracted packet for processing {"connection_id":105794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:33] local.INFO: GPS Element Parsed {"raw_longitude":754861632,"raw_latitude":117500912,"longitude_deg":75.4861632,"latitude_deg":11.7500912,"altitude":9,"angle":1,"satellites":35,"speed":20,"hex_longitude":"2cfe4640","hex_latitude":"0700ebf0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133052672001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318403380399570944,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-124482278370187264,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781769738000,"timestamp_ms":1781769738000,"timestamp_seconds":1781769738,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c09710"} 
[2026-06-18 13:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:33: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-06-18 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:33: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-06-18 13: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-06-18 13:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:33:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133052672001,"66":27050,"35":206,"28":32256,"24":20,"16":318403380399570944,"44":-124482278370187264},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-06-18 13:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133052672001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:33:33] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:33:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318403380399570944,"km_value":318403380399570.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:33:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-124482278370187264,"description":"Unknown IO ID 44"} 
[2026-06-18 13:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133052672001,"power":27050,"unknown_35":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_44":-124482278370187264}} 
[2026-06-18 13:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":105794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:33:33] local.INFO: GPS data processed {"connection_id":105794,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:33:33] local.INFO: Acknowledgment sent {"connection_id":105794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:33:36] local.INFO: TCP Data received {"connection_id":106546,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:36] local.INFO: Processing buffer {"connection_id":106546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:36] local.INFO: IMEI packet received {"connection_id":106546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":106546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:33:41] local.INFO: TCP Data received {"connection_id":106546,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:41] local.INFO: Processing buffer {"connection_id":106546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:41] local.INFO: IMEI packet received {"connection_id":106546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":106546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:33:41] local.INFO: TCP Data received {"connection_id":106546,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:41] local.INFO: Processing buffer {"connection_id":106546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:33:41] local.INFO: IMEI packet received {"connection_id":106546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":106546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:33:42] local.INFO: TCP Data received {"connection_id":106546,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c0b650012d17ae400721be600035016120..."} 
[2026-06-18 13:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c0b650012d17ae400721be600035016120..."} 
[2026-06-18 13:33:42] local.INFO: Processing buffer {"connection_id":106546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c0b650012d17ae400721be600035016120..."} 
[2026-06-18 13:33:42] local.INFO: Packet analysis {"connection_id":106546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:42] local.INFO: Extracted packet for processing {"connection_id":106546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756526656,"raw_latitude":119651936,"longitude_deg":75.6526656,"latitude_deg":11.9651936,"altitude":53,"angle":353,"satellites":32,"speed":17,"hex_longitude":"2d17ae40","hex_latitude":"0721be60","is_valid_coordinates":true} 
[2026-06-18 13:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133052928001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3353871241969664,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706723551915005952,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781769746000,"timestamp_ms":1781769746000,"timestamp_seconds":1781769746,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c0b650"} 
[2026-06-18 13:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 13:33:42] 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-06-18 13:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133052928001,"66":14080,"120":206,"28":31744,"24":17,"16":3353871241969664,"45":1706723551915005952},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133052928001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:33:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3353871241969664,"km_value":3353871241969.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706723551915005952,"description":"Unknown IO ID 45"} 
[2026-06-18 13:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133052928001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1706723551915005952}} 
[2026-06-18 13:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":106546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:33:43] local.INFO: GPS data processed {"connection_id":106546,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:33:43] local.INFO: Acknowledgment sent {"connection_id":106546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:33:44] local.INFO: TCP Data received {"connection_id":106546,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c0d1a8012d17ac000721c9c00035000320..."} 
[2026-06-18 13:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c0d1a8012d17ac000721c9c00035000320..."} 
[2026-06-18 13:33:44] local.INFO: Processing buffer {"connection_id":106546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c0d1a8012d17ac000721c9c00035000320..."} 
[2026-06-18 13:33:44] local.INFO: Packet analysis {"connection_id":106546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:44] local.INFO: Extracted packet for processing {"connection_id":106546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:33:44] local.INFO: GPS Element Parsed {"raw_longitude":756526080,"raw_latitude":119654848,"longitude_deg":75.652608,"latitude_deg":11.9654848,"altitude":53,"angle":3,"satellites":32,"speed":16,"hex_longitude":"2d17ac00","hex_latitude":"0721c9c0","is_valid_coordinates":true} 
[2026-06-18 13:33: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-06-18 13:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133054976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354017270857728,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706371708195069952,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781769753000,"timestamp_ms":1781769753000,"timestamp_seconds":1781769753,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c0d1a8"} 
[2026-06-18 13:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:33:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 13:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454498816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:44] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3653267456,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:44] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3229077505,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 13:33:44] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3892391191,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:44] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-06-18 13:33:44] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,234,151,45,128,175,56,31,10,66,131,167,58,33,123,192,1,240,224,217,4,113,205,9,115,173,88,239,54,2,11,7,60],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 13:33:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819440749054853120,"timestamp_seconds":3819440749054853.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 13:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133054976001,"66":14004,"120":206,"28":31744,"24":16,"16":3354017270857728,"45":1706371708195069952},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133054976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:33:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354017270857728,"km_value":3354017270857.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706371708195069952,"description":"Unknown IO ID 45"} 
[2026-06-18 13:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133054976001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1706371708195069952}} 
[2026-06-18 13:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":106546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:33:44] local.INFO: GPS data processed {"connection_id":106546,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:33:44] local.INFO: Acknowledgment sent {"connection_id":106546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:34:06] local.INFO: TCP Data received {"connection_id":105794,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c09af8012cfe47c00700ede0000a001e24..."} 
[2026-06-18 13:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c09af8012cfe47c00700ede0000a001e24..."} 
[2026-06-18 13:34:06] local.INFO: Processing buffer {"connection_id":105794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c09af8012cfe47c00700ede0000a001e24..."} 
[2026-06-18 13:34:06] local.INFO: Packet analysis {"connection_id":105794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:34:06] local.INFO: Extracted packet for processing {"connection_id":105794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c0"} 
[2026-06-18 13:34:06] local.INFO: GPS Element Parsed {"raw_longitude":754862016,"raw_latitude":117501408,"longitude_deg":75.4862016,"latitude_deg":11.7501408,"altitude":10,"angle":30,"satellites":36,"speed":22,"hex_longitude":"2cfe47c0","hex_latitude":"0700ede0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133052928001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318403410464342016,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-124341540881698816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781769739000,"timestamp_ms":1781769739000,"timestamp_seconds":1781769739,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c09af8"} 
[2026-06-18 13:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:34: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-06-18 13: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 13:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133052928001,"66":27050,"35":206,"28":32256,"24":22,"16":318403410464342016,"44":-124341540881698816},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-06-18 13:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133052928001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:34:06] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:34:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318403410464342016,"km_value":318403410464342.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:34:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-124341540881698816,"description":"Unknown IO ID 44"} 
[2026-06-18 13:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133052928001,"power":27050,"unknown_35":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_44":-124341540881698816}} 
[2026-06-18 13:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":105794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:34:06] local.INFO: GPS data processed {"connection_id":105794,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:34:06] local.INFO: Acknowledgment sent {"connection_id":105794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:34:15] local.INFO: TCP Data received {"connection_id":106546,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c1bc08012d17a3c00721d3800037003d21..."} 
[2026-06-18 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c1bc08012d17a3c00721d3800037003d21..."} 
[2026-06-18 13:34:15] local.INFO: Processing buffer {"connection_id":106546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c1bc08012d17a3c00721d3800037003d21..."} 
[2026-06-18 13:34:15] local.INFO: Packet analysis {"connection_id":106546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c1"} 
[2026-06-18 13:34:15] local.INFO: Extracted packet for processing {"connection_id":106546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c1"} 
[2026-06-18 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":756523968,"raw_latitude":119657344,"longitude_deg":75.6523968,"latitude_deg":11.9657344,"altitude":55,"angle":61,"satellites":33,"speed":0,"hex_longitude":"2d17a3c0","hex_latitude":"0721d380","is_valid_coordinates":true} 
[2026-06-18 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133071360001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354270673928192,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703275483452641280,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781769813000,"timestamp_ms":1781769813000,"timestamp_seconds":1781769813,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c1bc08"} 
[2026-06-18 13:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:34:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 13:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133071360001,"66":14407,"120":206,"28":31744,"24":0,"16":3354270673928192,"45":1703275483452641280},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133071360001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:34:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:34:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354270673928192,"km_value":3354270673928.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703275483452641280,"description":"Unknown IO ID 45"} 
[2026-06-18 13:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133071360001,"power":14407,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1703275483452641280}} 
[2026-06-18 13:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":106546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:34:15] local.INFO: GPS data processed {"connection_id":106546,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:34:15] local.INFO: Acknowledgment sent {"connection_id":106546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:34:39] local.INFO: TCP Data received {"connection_id":105983,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:34:39] local.INFO: Processing buffer {"connection_id":105983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:34:39] local.INFO: IMEI packet received {"connection_id":105983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":105983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:34:41] local.INFO: TCP Data received {"connection_id":105984,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:34:41] local.INFO: Processing buffer {"connection_id":105984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:34:41] local.INFO: IMEI packet received {"connection_id":105984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":105984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:34:43] local.INFO: TCP Data received {"connection_id":105983,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:34:43] local.INFO: Processing buffer {"connection_id":105983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:34:43] local.INFO: IMEI packet received {"connection_id":105983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":105983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:34:43] local.INFO: TCP Data received {"connection_id":105984,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:34:43] local.INFO: Processing buffer {"connection_id":105984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:34:43] local.INFO: IMEI packet received {"connection_id":105984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":105984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:34:44] local.INFO: TCP Data received {"connection_id":105983,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c20e10012cfdbd40070193a80014012828..."} 
[2026-06-18 13:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c20e10012cfdbd40070193a80014012828..."} 
[2026-06-18 13:34:44] local.INFO: Processing buffer {"connection_id":105983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c20e10012cfdbd40070193a80014012828..."} 
[2026-06-18 13:34:44] local.INFO: Packet analysis {"connection_id":105983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:34:44] local.INFO: Extracted packet for processing {"connection_id":105983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:34:44] local.INFO: GPS Element Parsed {"raw_longitude":754826560,"raw_latitude":117543848,"longitude_deg":75.482656,"latitude_deg":11.7543848,"altitude":20,"angle":296,"satellites":40,"speed":38,"hex_longitude":"2cfdbd40","hex_latitude":"070193a8","is_valid_coordinates":true} 
[2026-06-18 13:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133076224001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318406494250860544,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-158118538076334080,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781769834000,"timestamp_ms":1781769834000,"timestamp_seconds":1781769834,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c20e10"} 
[2026-06-18 13:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:34:44] 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-06-18 13:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133076224001,"66":28050,"35":206,"28":32256,"24":38,"16":318406494250860544,"44":-158118538076334080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-06-18 13:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133076224001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:34:44] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318406494250860544,"km_value":318406494250860.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:34:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-158118538076334080,"description":"Unknown IO ID 44"} 
[2026-06-18 13:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133076224001,"power":28050,"unknown_35":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_44":-158118538076334080}} 
[2026-06-18 13:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":105983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:34:44] local.INFO: GPS data processed {"connection_id":105983,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:34:44] local.INFO: Acknowledgment sent {"connection_id":105983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:34:44] local.INFO: TCP Data received {"connection_id":105984,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c1bff0012d17a4400721d3a00037004b21..."} 
[2026-06-18 13:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c1bff0012d17a4400721d3a00037004b21..."} 
[2026-06-18 13:34:44] local.INFO: Processing buffer {"connection_id":105984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c1bff0012d17a4400721d3a00037004b21..."} 
[2026-06-18 13:34:44] local.INFO: Packet analysis {"connection_id":105984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c1"} 
[2026-06-18 13:34:44] local.INFO: Extracted packet for processing {"connection_id":105984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c1"} 
[2026-06-18 13:34:44] local.INFO: GPS Element Parsed {"raw_longitude":756524096,"raw_latitude":119657376,"longitude_deg":75.6524096,"latitude_deg":11.9657376,"altitude":55,"angle":75,"satellites":33,"speed":4,"hex_longitude":"2d17a440","hex_latitude":"0721d3a0","is_valid_coordinates":true} 
[2026-06-18 13:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133072128001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354279263862784,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703416220940992512,"note":"Value kept but may cause issues"} 
[2026-06-18 13:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781769814000,"timestamp_ms":1781769814000,"timestamp_seconds":1781769814,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c1bff0"} 
[2026-06-18 13:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 13:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133072128001,"66":14407,"120":206,"28":31744,"24":4,"16":3354279263862784,"45":1703416220940992512},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133072128001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:34:44] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354279263862784,"km_value":3354279263862.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703416220940992512,"description":"Unknown IO ID 45"} 
[2026-06-18 13:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133072128001,"power":14407,"unknown_120":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1703416220940992512}} 
[2026-06-18 13:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":105984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:34:44] local.INFO: GPS data processed {"connection_id":105984,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:34:44] local.INFO: Acknowledgment sent {"connection_id":105984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:35:14] local.INFO: TCP Data received {"connection_id":105982,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:35:14] local.INFO: Processing buffer {"connection_id":105982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:35:14] local.INFO: IMEI packet received {"connection_id":105982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":105982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:35:16] local.INFO: TCP Data received {"connection_id":105984,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c27788012d17ae000721a138003e007d24..."} 
[2026-06-18 13:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c27788012d17ae000721a138003e007d24..."} 
[2026-06-18 13:35:16] local.INFO: Processing buffer {"connection_id":105984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c27788012d17ae000721a138003e007d24..."} 
[2026-06-18 13:35:16] local.INFO: Packet analysis {"connection_id":105984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:35:16] local.INFO: Extracted packet for processing {"connection_id":105984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756526592,"raw_latitude":119644472,"longitude_deg":75.6526592,"latitude_deg":11.9644472,"altitude":62,"angle":125,"satellites":36,"speed":5,"hex_longitude":"2d17ae00","hex_latitude":"0721a138","is_valid_coordinates":true} 
[2026-06-18 13:35: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-06-18 13:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133083904001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354983638499328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495728154624,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781769861000,"timestamp_ms":1781769861000,"timestamp_seconds":1781769861,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c27788"} 
[2026-06-18 13:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:35:16] 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-06-18 13:35:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 13:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:35: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-06-18 13:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133083904001,"66":13928,"122":206,"28":31744,"24":5,"16":3354983638499328,"45":1705949495728154624},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133083904001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:35:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:35:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354983638499328,"km_value":3354983638499.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495728154624,"description":"Unknown IO ID 45"} 
[2026-06-18 13:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133083904001,"power":13928,"unknown_122":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1705949495728154624}} 
[2026-06-18 13:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":105984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:35:16] local.INFO: GPS data processed {"connection_id":105984,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:35:16] local.INFO: Acknowledgment sent {"connection_id":105984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:35:24] local.INFO: TCP Data received {"connection_id":107524,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:35:24] local.INFO: Processing buffer {"connection_id":107524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:35:24] local.INFO: IMEI packet received {"connection_id":107524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":107524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:35:27] local.INFO: TCP Data received {"connection_id":107524,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:35:27] local.INFO: Processing buffer {"connection_id":107524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:35:27] local.INFO: IMEI packet received {"connection_id":107524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":107524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:35:28] local.INFO: TCP Data received {"connection_id":107524,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c215e0012cfdb6c0070197d80014013425..."} 
[2026-06-18 13:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c215e0012cfdb6c0070197d80014013425..."} 
[2026-06-18 13:35:28] local.INFO: Processing buffer {"connection_id":107524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c215e0012cfdb6c0070197d80014013425..."} 
[2026-06-18 13:35:28] local.INFO: Packet analysis {"connection_id":107524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:35:28] local.INFO: Extracted packet for processing {"connection_id":107524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:35:28] local.INFO: GPS Element Parsed {"raw_longitude":754824896,"raw_latitude":117544920,"longitude_deg":75.4824896,"latitude_deg":11.754492,"altitude":20,"angle":308,"satellites":37,"speed":40,"hex_longitude":"2cfdb6c0","hex_latitude":"070197d8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133077504001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318406588740141056,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-162903612680067072,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781769836000,"timestamp_ms":1781769836000,"timestamp_seconds":1781769836,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c215e0"} 
[2026-06-18 13:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:35:28] 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-06-18 13: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-06-18 13:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133077504001,"66":28028,"35":206,"28":32256,"24":40,"16":318406588740141056,"44":-162903612680067072},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,44]} 
[2026-06-18 13:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133077504001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:35:28] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318406588740141056,"km_value":318406588740141.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:35:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-162903612680067072,"description":"Unknown IO ID 44"} 
[2026-06-18 13:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133077504001,"power":28028,"unknown_35":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_44":-162903612680067072}} 
[2026-06-18 13:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":107524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:35:28] local.INFO: GPS data processed {"connection_id":107524,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:35:28] local.INFO: Acknowledgment sent {"connection_id":107524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:35:33] local.INFO: TCP Data received {"connection_id":106547,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:35:33] local.INFO: Processing buffer {"connection_id":106547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:35:33] local.INFO: IMEI packet received {"connection_id":106547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":106547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:35:34] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:34] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:34] local.INFO: IMEI packet received {"connection_id":105985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":105985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:35:36] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:36] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:36] local.INFO: IMEI packet received {"connection_id":105985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":105985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:35:41] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:41] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:35:41] local.INFO: IMEI packet received {"connection_id":105985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:35:41] local.INFO: IMEI acknowledgment sent {"connection_id":105985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:35:42] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c27f58012d17af800721a0a8003f006a24..."} 
[2026-06-18 13:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c27f58012d17af800721a0a8003f006a24..."} 
[2026-06-18 13:35:42] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c27f58012d17af800721a0a8003f006a24..."} 
[2026-06-18 13:35:42] local.INFO: Packet analysis {"connection_id":105985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:35:42] local.INFO: Extracted packet for processing {"connection_id":105985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":756526976,"raw_latitude":119644328,"longitude_deg":75.6526976,"latitude_deg":11.9644328,"altitude":63,"angle":106,"satellites":36,"speed":10,"hex_longitude":"2d17af80","hex_latitude":"0721a0a8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133084416001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3355005113335808,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706301339448981504,"note":"Value kept but may cause issues"} 
[2026-06-18 13:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781769863000,"timestamp_ms":1781769863000,"timestamp_seconds":1781769863,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c27f58"} 
[2026-06-18 13:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 13:35:42] 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-06-18 13: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-06-18 13:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133084416001,"66":14070,"122":206,"28":31744,"24":10,"16":3355005113335808,"45":1706301339448981504},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133084416001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:35:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3355005113335808,"km_value":3355005113335.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706301339448981504,"description":"Unknown IO ID 45"} 
[2026-06-18 13:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133084416001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1706301339448981504}} 
[2026-06-18 13:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":105985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:35:42] local.INFO: GPS data processed {"connection_id":105985,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:35:42] local.INFO: Acknowledgment sent {"connection_id":105985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:36:00] local.INFO: TCP Data received {"connection_id":107524,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c2ecb8012cfd508007022eb8000b001424..."} 
[2026-06-18 13:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c2ecb8012cfd508007022eb8000b001424..."} 
[2026-06-18 13:36:00] local.INFO: Processing buffer {"connection_id":107524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c2ecb8012cfd508007022eb8000b001424..."} 
[2026-06-18 13:36:00] local.INFO: Packet analysis {"connection_id":107524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:36:00] local.INFO: Extracted packet for processing {"connection_id":107524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:36:00] local.INFO: GPS Element Parsed {"raw_longitude":754798720,"raw_latitude":117583544,"longitude_deg":75.479872,"latitude_deg":11.7583544,"altitude":11,"angle":20,"satellites":36,"speed":31,"hex_longitude":"2cfd5080","hex_latitude":"07022eb8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133091584001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318409139950714880,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-194217703829319680,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781769891000,"timestamp_ms":1781769891000,"timestamp_seconds":1781769891,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c2ecb8"} 
[2026-06-18 13:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133091584001,"66":27919,"94":206,"28":32256,"24":31,"16":318409139950714880,"44":-194217703829319680},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,28,24,16,44]} 
[2026-06-18 13:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133091584001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:36:00] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-18 13:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318409139950714880,"km_value":318409139950714.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-194217703829319680,"description":"Unknown IO ID 44"} 
[2026-06-18 13:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133091584001,"power":27919,"unknown_94":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_44":-194217703829319680}} 
[2026-06-18 13:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":107524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:36:00] local.INFO: GPS data processed {"connection_id":107524,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:36:00] local.INFO: Acknowledgment sent {"connection_id":107524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:36:14] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c2ae38012d17c48007219b780042005f23..."} 
[2026-06-18 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c2ae38012d17c48007219b780042005f23..."} 
[2026-06-18 13:36:14] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c2ae38012d17c48007219b780042005f23..."} 
[2026-06-18 13:36:14] local.INFO: Packet analysis {"connection_id":105985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:36:14] local.INFO: Extracted packet for processing {"connection_id":105985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c2"} 
[2026-06-18 13:36:14] local.INFO: GPS Element Parsed {"raw_longitude":756532352,"raw_latitude":119643000,"longitude_deg":75.6532352,"latitude_deg":11.9643,"altitude":66,"angle":95,"satellites":35,"speed":16,"hex_longitude":"2d17c480","hex_latitude":"07219b78","is_valid_coordinates":true} 
[2026-06-18 13:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133084928001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3355267106340864,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1706723551914010624,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781769875000,"timestamp_ms":1781769875000,"timestamp_seconds":1781769875,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c2ae38"} 
[2026-06-18 13:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-18 13:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133084928001,"66":14070,"122":206,"28":31744,"24":16,"16":3355267106340864,"45":1706723551914010624},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133084928001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:36:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:36:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3355267106340864,"km_value":3355267106340.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1706723551914010624,"description":"Unknown IO ID 45"} 
[2026-06-18 13:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133084928001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1706723551914010624}} 
[2026-06-18 13:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":105985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:36:14] local.INFO: GPS data processed {"connection_id":105985,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:36:14] local.INFO: Acknowledgment sent {"connection_id":105985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:36:25] local.INFO: TCP Data received {"connection_id":106548,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:36:25] local.INFO: Processing buffer {"connection_id":106548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:36:25] local.INFO: IMEI packet received {"connection_id":106548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":106548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:36:30] local.INFO: TCP Data received {"connection_id":106548,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:36:30] local.INFO: Processing buffer {"connection_id":106548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:36:30] local.INFO: IMEI packet received {"connection_id":106548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":106548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:36:31] local.INFO: TCP Data received {"connection_id":106548,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c30fe0012cfd588007025070000c000a1e..."} 
[2026-06-18 13:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c30fe0012cfd588007025070000c000a1e..."} 
[2026-06-18 13:36:31] local.INFO: Processing buffer {"connection_id":106548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c30fe0012cfd588007025070000c000a1e..."} 
[2026-06-18 13:36:31] local.INFO: Packet analysis {"connection_id":106548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:36:31] local.INFO: Extracted packet for processing {"connection_id":106548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:36:31] local.INFO: GPS Element Parsed {"raw_longitude":754800768,"raw_latitude":117592176,"longitude_deg":75.4800768,"latitude_deg":11.7592176,"altitude":12,"angle":10,"satellites":30,"speed":37,"hex_longitude":"2cfd5880","hex_latitude":"07025070","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133092096001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318409569447444480,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-193514016387188736,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781769900000,"timestamp_ms":1781769900000,"timestamp_seconds":1781769900,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c30fe0"} 
[2026-06-18 13:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:36: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-06-18 13: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-06-18 13:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133092096001,"66":27919,"94":206,"28":32256,"24":37,"16":318409569447444480,"44":-193514016387188736},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,28,24,16,44]} 
[2026-06-18 13:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133092096001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:36:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-18 13:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318409569447444480,"km_value":318409569447444.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-193514016387188736,"description":"Unknown IO ID 44"} 
[2026-06-18 13:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133092096001,"power":27919,"unknown_94":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-193514016387188736}} 
[2026-06-18 13:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":106548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:36:31] local.INFO: GPS data processed {"connection_id":106548,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:36:31] local.INFO: Acknowledgment sent {"connection_id":106548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:36:36] local.INFO: TCP Data received {"connection_id":107525,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:36] local.INFO: Processing buffer {"connection_id":107525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:36] local.INFO: IMEI packet received {"connection_id":107525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:36:36] local.INFO: IMEI acknowledgment sent {"connection_id":107525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:36:37] local.INFO: TCP Data received {"connection_id":107525,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:37] local.INFO: Processing buffer {"connection_id":107525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:37] local.INFO: IMEI packet received {"connection_id":107525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:36:37] local.INFO: IMEI acknowledgment sent {"connection_id":107525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:36:38] local.INFO: TCP Data received {"connection_id":107525,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:38] local.INFO: Processing buffer {"connection_id":107525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:38] local.INFO: IMEI packet received {"connection_id":107525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":107525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:36:39] local.INFO: TCP Data received {"connection_id":107525,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:39] local.INFO: Processing buffer {"connection_id":107525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:36:39] local.INFO: IMEI packet received {"connection_id":107525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":107525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:36:40] local.INFO: TCP Data received {"connection_id":107525,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c30040012d17cec007219a580044005d21..."} 
[2026-06-18 13:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c30040012d17cec007219a580044005d21..."} 
[2026-06-18 13:36:40] local.INFO: Processing buffer {"connection_id":107525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c30040012d17cec007219a580044005d21..."} 
[2026-06-18 13:36:40] local.INFO: Packet analysis {"connection_id":107525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:36:40] local.INFO: Extracted packet for processing {"connection_id":107525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:36:40] local.INFO: GPS Element Parsed {"raw_longitude":756534976,"raw_latitude":119642712,"longitude_deg":75.6534976,"latitude_deg":11.9642712,"altitude":68,"angle":93,"satellites":33,"speed":0,"hex_longitude":"2d17cec0","hex_latitude":"07219a58","is_valid_coordinates":true} 
[2026-06-18 13:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133088000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3355395955359744,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712634526424594432,"note":"Value kept but may cause issues"} 
[2026-06-18 13:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781769896000,"timestamp_ms":1781769896000,"timestamp_seconds":1781769896,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c30040"} 
[2026-06-18 13:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:36:40] 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-06-18 13:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-18 13:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133088000001,"66":13863,"122":206,"28":31744,"24":0,"16":3355395955359744,"45":1712634526424594432},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133088000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:36:40] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:36:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3355395955359744,"km_value":3355395955359.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712634526424594432,"description":"Unknown IO ID 45"} 
[2026-06-18 13:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133088000001,"power":13863,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1712634526424594432}} 
[2026-06-18 13:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":107525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:36:40] local.INFO: GPS data processed {"connection_id":107525,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:36:40] local.INFO: Acknowledgment sent {"connection_id":107525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:37:02] local.INFO: TCP Data received {"connection_id":106548,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c342a8012cfd5fc0070275780008000921..."} 
[2026-06-18 13:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c342a8012cfd5fc0070275780008000921..."} 
[2026-06-18 13:37:02] local.INFO: Processing buffer {"connection_id":106548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c342a8012cfd5fc0070275780008000921..."} 
[2026-06-18 13:37:02] local.INFO: Packet analysis {"connection_id":106548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:37:02] local.INFO: Extracted packet for processing {"connection_id":106548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:37:02] local.INFO: GPS Element Parsed {"raw_longitude":754802624,"raw_latitude":117601656,"longitude_deg":75.4802624,"latitude_deg":11.7601656,"altitude":8,"angle":9,"satellites":33,"speed":32,"hex_longitude":"2cfd5fc0","hex_latitude":"07027578","is_valid_coordinates":true} 
[2026-06-18 13:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133094400001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318410037598879744,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-191262216571293696,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781769913000,"timestamp_ms":1781769913000,"timestamp_seconds":1781769913,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c342a8"} 
[2026-06-18 13:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:37: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-06-18 13:37:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:37: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-06-18 13:37:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133094400001,"66":27974,"94":206,"28":32256,"24":32,"16":318410037598879744,"44":-191262216571293696},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,28,24,16,44]} 
[2026-06-18 13:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133094400001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:37:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-18 13:37:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318410037598879744,"km_value":318410037598879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:37:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-191262216571293696,"description":"Unknown IO ID 44"} 
[2026-06-18 13:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133094400001,"power":27974,"unknown_94":206,"unknown_28":32256,"ignition":32,"odometer":null,"unknown_44":-191262216571293696}} 
[2026-06-18 13:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":106548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:37:02] local.INFO: GPS data processed {"connection_id":106548,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:37:02] local.INFO: Acknowledgment sent {"connection_id":106548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:37:12] local.INFO: TCP Data received {"connection_id":107525,"ip":"117.224.140.35","data_length":93,"data_hex":"00000000000000518e010000019ed9c44860012d17ecc0072189c80046007226..."} 
[2026-06-18 13:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107525,"packet_length":93,"packet_hex":"00000000000000518e010000019ed9c44860012d17ecc0072189c80046007226..."} 
[2026-06-18 13:37:12] local.INFO: Processing buffer {"connection_id":107525,"buffer_length":93,"buffer_hex":"00000000000000518e010000019ed9c44860012d17ecc0072189c80046007226..."} 
[2026-06-18 13:37:12] local.INFO: Packet analysis {"connection_id":107525,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019ed9c4"} 
[2026-06-18 13:37:12] local.INFO: Extracted packet for processing {"connection_id":107525,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019ed9c4"} 
[2026-06-18 13:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756542656,"raw_latitude":119638472,"longitude_deg":75.6542656,"latitude_deg":11.9638472,"altitude":70,"angle":114,"satellites":38,"speed":12,"hex_longitude":"2d17ecc0","hex_latitude":"072189c8","is_valid_coordinates":true} 
[2026-06-18 13:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-18 13:37:12] 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-06-18 13:37:12] 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-06-18 13:37:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:37:12] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 13:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107525,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-18 13:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107525,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 13:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107525,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 13:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 13:37:12] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 13:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":107525,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 13:37:12] local.ERROR: GPS data processing failed {"connection_id":107525,"error":"No valid data to process"} 
[2026-06-18 13:37:12] local.INFO: Acknowledgment sent {"connection_id":107525,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 13:37:24] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:24] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:24] local.INFO: IMEI packet received {"connection_id":105986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":105986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:37:28] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:28] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:28] local.INFO: IMEI packet received {"connection_id":105986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":105986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:37:29] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:29] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:37:29] local.INFO: IMEI packet received {"connection_id":105986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":105986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:37:31] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c37188012cfd648007029aa00008000523..."} 
[2026-06-18 13:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c37188012cfd648007029aa00008000523..."} 
[2026-06-18 13:37:31] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c37188012cfd648007029aa00008000523..."} 
[2026-06-18 13:37:31] local.INFO: Packet analysis {"connection_id":105986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:37:31] local.INFO: Extracted packet for processing {"connection_id":105986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:37:31] local.INFO: GPS Element Parsed {"raw_longitude":754803840,"raw_latitude":117611168,"longitude_deg":75.480384,"latitude_deg":11.7611168,"altitude":8,"angle":5,"satellites":35,"speed":37,"hex_longitude":"2cfd6480","hex_latitude":"07029aa0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133097728001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318410505750315008,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-189221522987714560,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781769925000,"timestamp_ms":1781769925000,"timestamp_seconds":1781769925,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c37188"} 
[2026-06-18 13:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:37: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-06-18 13: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-06-18 13:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133097728001,"66":27930,"92":206,"28":32256,"24":37,"16":318410505750315008,"44":-189221522987714560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-06-18 13:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133097728001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:37:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 13:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318410505750315008,"km_value":318410505750315.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-189221522987714560,"description":"Unknown IO ID 44"} 
[2026-06-18 13:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133097728001,"power":27930,"unknown_92":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_44":-189221522987714560}} 
[2026-06-18 13:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":105986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:37:31] local.INFO: GPS data processed {"connection_id":105986,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:37:31] local.INFO: Acknowledgment sent {"connection_id":105986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:37:35] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c394b0012cfd66400702be800006000327..."} 
[2026-06-18 13:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c394b0012cfd66400702be800006000327..."} 
[2026-06-18 13:37:35] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c394b0012cfd66400702be800006000327..."} 
[2026-06-18 13:37:35] local.INFO: Packet analysis {"connection_id":105986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:37:35] local.INFO: Extracted packet for processing {"connection_id":105986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:37:35] local.INFO: GPS Element Parsed {"raw_longitude":754804288,"raw_latitude":117620352,"longitude_deg":75.4804288,"latitude_deg":11.7620352,"altitude":6,"angle":3,"satellites":39,"speed":42,"hex_longitude":"2cfd6640","hex_latitude":"0702be80","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133100800001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318410948131946496,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-187884516845903872,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781769934000,"timestamp_ms":1781769934000,"timestamp_seconds":1781769934,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c394b0"} 
[2026-06-18 13:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 13:37: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-06-18 13: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-06-18 13:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133100800001,"66":27995,"92":206,"28":32256,"24":42,"16":318410948131946496,"44":-187884516845903872},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-06-18 13:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133100800001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:37:35] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 13:37:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318410948131946496,"km_value":318410948131946.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-187884516845903872,"description":"Unknown IO ID 44"} 
[2026-06-18 13:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133100800001,"power":27995,"unknown_92":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_44":-187884516845903872}} 
[2026-06-18 13:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":105986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:37:35] local.INFO: GPS data processed {"connection_id":105986,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:37:35] local.INFO: Acknowledgment sent {"connection_id":105986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:37:36] local.INFO: TCP Data received {"connection_id":106550,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:37:36] local.INFO: Processing buffer {"connection_id":106550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:37:36] local.INFO: IMEI packet received {"connection_id":106550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":106550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:37:41] local.INFO: TCP Data received {"connection_id":106550,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106550,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:37:41] local.INFO: Processing buffer {"connection_id":106550,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:37:41] local.INFO: IMEI packet received {"connection_id":106550,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":106550,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:37:43] local.INFO: TCP Data received {"connection_id":106550,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c46b88012d17f5c0072185b80046008426..."} 
[2026-06-18 13:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c46b88012d17f5c0072185b80046008426..."} 
[2026-06-18 13:37:43] local.INFO: Processing buffer {"connection_id":106550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c46b88012d17f5c0072185b80046008426..."} 
[2026-06-18 13:37:43] local.INFO: Packet analysis {"connection_id":106550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c4"} 
[2026-06-18 13:37:43] local.INFO: Extracted packet for processing {"connection_id":106550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c4"} 
[2026-06-18 13:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756544960,"raw_latitude":119637432,"longitude_deg":75.654496,"latitude_deg":11.9637432,"altitude":70,"angle":132,"satellites":38,"speed":8,"hex_longitude":"2d17f5c0","hex_latitude":"072185b8","is_valid_coordinates":true} 
[2026-06-18 13:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133114880001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3355980070912000,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723963894236039168,"note":"Value kept but may cause issues"} 
[2026-06-18 13:37:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781769989000,"timestamp_ms":1781769989000,"timestamp_seconds":1781769989,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c46b88"} 
[2026-06-18 13:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-18 13:37:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133114880001,"66":14461,"122":206,"28":31744,"24":8,"16":3355980070912000,"45":1723963894236039168},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133114880001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:37:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:37:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3355980070912000,"km_value":3355980070912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723963894236039168,"description":"Unknown IO ID 45"} 
[2026-06-18 13:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133114880001,"power":14461,"unknown_122":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1723963894236039168}} 
[2026-06-18 13:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":106550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:37:43] local.INFO: GPS data processed {"connection_id":106550,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:37:43] local.INFO: Acknowledgment sent {"connection_id":106550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:38:07] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c3b7d8012cfd67000702e3100004000025..."} 
[2026-06-18 13:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c3b7d8012cfd67000702e3100004000025..."} 
[2026-06-18 13:38:07] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c3b7d8012cfd67000702e3100004000025..."} 
[2026-06-18 13:38:07] local.INFO: Packet analysis {"connection_id":105986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:38:07] local.INFO: Extracted packet for processing {"connection_id":105986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c3"} 
[2026-06-18 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":754804480,"raw_latitude":117629712,"longitude_deg":75.480448,"latitude_deg":11.7629712,"altitude":4,"angle":0,"satellites":37,"speed":36,"hex_longitude":"2cfd6700","hex_latitude":"0702e310","is_valid_coordinates":true} 
[2026-06-18 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133103104001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318411403398479872,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-187391935634309120,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781769943000,"timestamp_ms":1781769943000,"timestamp_seconds":1781769943,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c3b7d8"} 
[2026-06-18 13:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:38:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:38:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:38:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:38:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133103104001,"66":27995,"92":206,"28":32256,"24":36,"16":318411403398479872,"44":-187391935634309120},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,44]} 
[2026-06-18 13:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133103104001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:38:07] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 13:38:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318411403398479872,"km_value":318411403398479.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:38:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-187391935634309120,"description":"Unknown IO ID 44"} 
[2026-06-18 13:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133103104001,"power":27995,"unknown_92":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_44":-187391935634309120}} 
[2026-06-18 13:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":105986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:38:07] local.INFO: GPS data processed {"connection_id":105986,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:38:07] local.INFO: Acknowledgment sent {"connection_id":105986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:38:14] local.INFO: TCP Data received {"connection_id":106550,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c47b28012d17f7c0072183a00046007926..."} 
[2026-06-18 13:38:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c47b28012d17f7c0072183a00046007926..."} 
[2026-06-18 13:38:14] local.INFO: Processing buffer {"connection_id":106550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c47b28012d17f7c0072183a00046007926..."} 
[2026-06-18 13:38:14] local.INFO: Packet analysis {"connection_id":106550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c4"} 
[2026-06-18 13:38:14] local.INFO: Extracted packet for processing {"connection_id":106550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c4"} 
[2026-06-18 13:38:14] local.INFO: GPS Element Parsed {"raw_longitude":756545472,"raw_latitude":119636896,"longitude_deg":75.6545472,"latitude_deg":11.9636896,"altitude":70,"angle":121,"satellites":38,"speed":7,"hex_longitude":"2d17f7c0","hex_latitude":"072183a0","is_valid_coordinates":true} 
[2026-06-18 13:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:38:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133117184001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356014430650368,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726497169026168832,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:38:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781769993000,"timestamp_ms":1781769993000,"timestamp_seconds":1781769993,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c47b28"} 
[2026-06-18 13:38:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:38:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:38:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 13:38:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:38:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:38:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:38:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:38:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:38:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:38:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106550,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:38:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:38:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:38:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:38:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133117184001,"66":14265,"122":206,"28":31744,"24":7,"16":3356014430650368,"45":1726497169026168832},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:38:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:38:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:38:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133117184001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:38:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:38:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:38:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356014430650368,"km_value":3356014430650.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:38:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726497169026168832,"description":"Unknown IO ID 45"} 
[2026-06-18 13:38:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133117184001,"power":14265,"unknown_122":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1726497169026168832}} 
[2026-06-18 13:38:14] local.INFO: DEBUG: GPS processor result {"connection_id":106550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:38:14] local.INFO: GPS data processed {"connection_id":106550,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:38:14] local.INFO: Acknowledgment sent {"connection_id":106550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:38:24] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:24] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:24] local.INFO: IMEI packet received {"connection_id":105987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":105987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:38:28] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:28] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:28] local.INFO: IMEI packet received {"connection_id":105987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":105987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:38:29] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:29] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:38:29] local.INFO: IMEI packet received {"connection_id":105987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":105987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:38:31] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c55db8012cfc80800703ae800005012928..."} 
[2026-06-18 13:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c55db8012cfc80800703ae800005012928..."} 
[2026-06-18 13:38:31] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c55db8012cfc80800703ae800005012928..."} 
[2026-06-18 13:38:31] local.INFO: Packet analysis {"connection_id":105987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:38:31] local.INFO: Extracted packet for processing {"connection_id":105987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:38:31] local.INFO: GPS Element Parsed {"raw_longitude":754745472,"raw_latitude":117681792,"longitude_deg":75.4745472,"latitude_deg":11.7681792,"altitude":5,"angle":297,"satellites":40,"speed":30,"hex_longitude":"2cfc8080","hex_latitude":"0703ae80","is_valid_coordinates":true} 
[2026-06-18 13:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133129728001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318415440667738112,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-242631399799123968,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781770051000,"timestamp_ms":1781770051000,"timestamp_seconds":1781770051,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c55db8"} 
[2026-06-18 13:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133129728001,"66":27930,"95":206,"28":32256,"24":30,"16":318415440667738112,"44":-242631399799123968},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-06-18 13:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133129728001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:38:31] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 13:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318415440667738112,"km_value":318415440667738.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:38:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-242631399799123968,"description":"Unknown IO ID 44"} 
[2026-06-18 13:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133129728001,"power":27930,"unknown_95":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_44":-242631399799123968}} 
[2026-06-18 13:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":105987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:38:31] local.INFO: GPS data processed {"connection_id":105987,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:38:31] local.INFO: Acknowledgment sent {"connection_id":105987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:38:35] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c584c8012cfc60000703beb00005012727..."} 
[2026-06-18 13:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c584c8012cfc60000703beb00005012727..."} 
[2026-06-18 13:38:35] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c584c8012cfc60000703beb00005012727..."} 
[2026-06-18 13:38:35] local.INFO: Packet analysis {"connection_id":105987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:38:35] local.INFO: Extracted packet for processing {"connection_id":105987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:38:35] local.INFO: GPS Element Parsed {"raw_longitude":754737152,"raw_latitude":117685936,"longitude_deg":75.4737152,"latitude_deg":11.7685936,"altitude":5,"angle":295,"satellites":39,"speed":39,"hex_longitude":"2cfc6000","hex_latitude":"0703beb0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133133056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318415883049369600,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-252060811517853696,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781770061000,"timestamp_ms":1781770061000,"timestamp_seconds":1781770061,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c584c8"} 
[2026-06-18 13:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 13:38: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-06-18 13: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-06-18 13:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133133056001,"66":27995,"95":206,"28":32256,"24":39,"16":318415883049369600,"44":-252060811517853696},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,28,24,16,44]} 
[2026-06-18 13:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133133056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:38:35] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 13:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318415883049369600,"km_value":318415883049369.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-252060811517853696,"description":"Unknown IO ID 44"} 
[2026-06-18 13:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133133056001,"power":27995,"unknown_95":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_44":-252060811517853696}} 
[2026-06-18 13:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":105987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:38:35] local.INFO: GPS data processed {"connection_id":105987,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:38:35] local.INFO: Acknowledgment sent {"connection_id":105987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:38:36] local.INFO: TCP Data received {"connection_id":106551,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:38:36] local.INFO: Processing buffer {"connection_id":106551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:38:36] local.INFO: IMEI packet received {"connection_id":106551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:38:36] local.INFO: IMEI acknowledgment sent {"connection_id":106551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:38:41] local.INFO: TCP Data received {"connection_id":106551,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:38:41] local.INFO: Processing buffer {"connection_id":106551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:38:41] local.INFO: IMEI packet received {"connection_id":106551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":106551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:38:42] local.INFO: TCP Data received {"connection_id":106551,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c4cd30012d17f880072183580046007924..."} 
[2026-06-18 13:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c4cd30012d17f880072183580046007924..."} 
[2026-06-18 13:38:42] local.INFO: Processing buffer {"connection_id":106551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c4cd30012d17f880072183580046007924..."} 
[2026-06-18 13:38:42] local.INFO: Packet analysis {"connection_id":106551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c4"} 
[2026-06-18 13:38:42] local.INFO: Extracted packet for processing {"connection_id":106551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c4"} 
[2026-06-18 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":756545664,"raw_latitude":119636824,"longitude_deg":75.6545664,"latitude_deg":11.9636824,"altitude":70,"angle":121,"satellites":36,"speed":0,"hex_longitude":"2d17f880","hex_latitude":"07218358","is_valid_coordinates":true} 
[2026-06-18 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133118208001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356023020584960,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727060118979452928,"note":"Value kept but may cause issues"} 
[2026-06-18 13:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781770014000,"timestamp_ms":1781770014000,"timestamp_seconds":1781770014,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c4cd30"} 
[2026-06-18 13:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 13:38:42] 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-06-18 13:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133118208001,"66":14428,"122":206,"28":31744,"24":0,"16":3356023020584960,"45":1727060118979452928},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133118208001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:38:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:38:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356023020584960,"km_value":3356023020584.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727060118979452928,"description":"Unknown IO ID 45"} 
[2026-06-18 13:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133118208001,"power":14428,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1727060118979452928}} 
[2026-06-18 13:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":106551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:38:43] local.INFO: GPS data processed {"connection_id":106551,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:38:43] local.INFO: Acknowledgment sent {"connection_id":106551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:39:07] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c5a7f0012cfc3d800703cdd80004012626..."} 
[2026-06-18 13:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c5a7f0012cfc3d800703cdd80004012626..."} 
[2026-06-18 13:39:07] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c5a7f0012cfc3d800703cdd80004012626..."} 
[2026-06-18 13:39:07] local.INFO: Packet analysis {"connection_id":105987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:07] local.INFO: Extracted packet for processing {"connection_id":105987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:07] local.INFO: GPS Element Parsed {"raw_longitude":754728320,"raw_latitude":117689816,"longitude_deg":75.472832,"latitude_deg":11.7689816,"altitude":4,"angle":294,"satellites":38,"speed":43,"hex_longitude":"2cfc3d80","hex_latitude":"0703cdd8","is_valid_coordinates":true} 
[2026-06-18 13:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133135616001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318416342610870272,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-261208748259889152,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781770070000,"timestamp_ms":1781770070000,"timestamp_seconds":1781770070,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c5a7f0"} 
[2026-06-18 13:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133135616001,"66":28028,"9":206,"28":32256,"24":43,"16":318416342610870272,"44":-261208748259889152},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-06-18 13:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133135616001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:39:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-18 13:39:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318416342610870272,"km_value":318416342610870.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:39:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-261208748259889152,"description":"Unknown IO ID 44"} 
[2026-06-18 13:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133135616001,"power":28028,"unknown_9":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_44":-261208748259889152}} 
[2026-06-18 13:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":105987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:39:07] local.INFO: GPS data processed {"connection_id":105987,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:39:07] local.INFO: Acknowledgment sent {"connection_id":105987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:39:14] local.INFO: TCP Data received {"connection_id":106551,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c51b50012d17fa40072183580048004426..."} 
[2026-06-18 13:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c51b50012d17fa40072183580048004426..."} 
[2026-06-18 13:39:14] local.INFO: Processing buffer {"connection_id":106551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c51b50012d17fa40072183580048004426..."} 
[2026-06-18 13:39:14] local.INFO: Packet analysis {"connection_id":106551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:14] local.INFO: Extracted packet for processing {"connection_id":106551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:14] local.INFO: GPS Element Parsed {"raw_longitude":756546112,"raw_latitude":119636824,"longitude_deg":75.6546112,"latitude_deg":11.9636824,"altitude":72,"angle":68,"satellites":38,"speed":6,"hex_longitude":"2d17fa40","hex_latitude":"07218358","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133123584001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356048790388736,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727271225211967488,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781770034000,"timestamp_ms":1781770034000,"timestamp_seconds":1781770034,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c51b50"} 
[2026-06-18 13:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:39:14] 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-06-18 13:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 13:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133123584001,"66":14004,"120":206,"28":31744,"24":6,"16":3356048790388736,"45":1727271225211967488},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133123584001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:39:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:39:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356048790388736,"km_value":3356048790388.736,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727271225211967488,"description":"Unknown IO ID 45"} 
[2026-06-18 13:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133123584001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1727271225211967488}} 
[2026-06-18 13:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":106551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:39:14] local.INFO: GPS data processed {"connection_id":106551,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:39:14] local.INFO: Acknowledgment sent {"connection_id":106551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:39:30] local.INFO: TCP Data received {"connection_id":105988,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:30] local.INFO: Processing buffer {"connection_id":105988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:30] local.INFO: IMEI packet received {"connection_id":105988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":105988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:39:31] local.INFO: TCP Data received {"connection_id":105988,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:31] local.INFO: Processing buffer {"connection_id":105988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:31] local.INFO: IMEI packet received {"connection_id":105988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":105988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:39:35] local.INFO: TCP Data received {"connection_id":105988,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:35] local.INFO: Processing buffer {"connection_id":105988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:39:35] local.INFO: IMEI packet received {"connection_id":105988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:39:35] local.INFO: IMEI acknowledgment sent {"connection_id":105988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:39:36] local.INFO: TCP Data received {"connection_id":107529,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:36] local.INFO: Processing buffer {"connection_id":107529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:36] local.INFO: IMEI packet received {"connection_id":107529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":107529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:39:36] local.INFO: TCP Data received {"connection_id":105988,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c5c730012cfc1e800703df480005012826..."} 
[2026-06-18 13:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c5c730012cfc1e800703df480005012826..."} 
[2026-06-18 13:39:36] local.INFO: Processing buffer {"connection_id":105988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c5c730012cfc1e800703df480005012826..."} 
[2026-06-18 13:39:36] local.INFO: Packet analysis {"connection_id":105988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:36] local.INFO: Extracted packet for processing {"connection_id":105988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:36] local.INFO: GPS Element Parsed {"raw_longitude":754720384,"raw_latitude":117694280,"longitude_deg":75.4720384,"latitude_deg":11.769428,"altitude":5,"angle":296,"satellites":38,"speed":45,"hex_longitude":"2cfc1e80","hex_latitude":"0703df48","is_valid_coordinates":true} 
[2026-06-18 13:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133137920001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318416776402567168,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-270919634955413504,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781770078000,"timestamp_ms":1781770078000,"timestamp_seconds":1781770078,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c5c730"} 
[2026-06-18 13:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:39: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-06-18 13:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133137920001,"66":27952,"9":206,"28":32256,"24":45,"16":318416776402567168,"44":-270919634955413504},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-06-18 13:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133137920001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:39:36] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-18 13:39:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318416776402567168,"km_value":318416776402567.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:39:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-270919634955413504,"description":"Unknown IO ID 44"} 
[2026-06-18 13:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133137920001,"power":27952,"unknown_9":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_44":-270919634955413504}} 
[2026-06-18 13:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":105988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:39:36] local.INFO: GPS data processed {"connection_id":105988,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:39:36] local.INFO: Acknowledgment sent {"connection_id":105988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:39:38] local.INFO: TCP Data received {"connection_id":107529,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:38] local.INFO: Processing buffer {"connection_id":107529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:38] local.INFO: IMEI packet received {"connection_id":107529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":107529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:39:39] local.INFO: TCP Data received {"connection_id":105988,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c5e670012cfbfc800703ee980007012527..."} 
[2026-06-18 13:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c5e670012cfbfc800703ee980007012527..."} 
[2026-06-18 13:39:39] local.INFO: Processing buffer {"connection_id":105988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c5e670012cfbfc800703ee980007012527..."} 
[2026-06-18 13:39:39] local.INFO: Packet analysis {"connection_id":105988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:39] local.INFO: Extracted packet for processing {"connection_id":105988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:39] local.INFO: GPS Element Parsed {"raw_longitude":754711680,"raw_latitude":117698200,"longitude_deg":75.471168,"latitude_deg":11.76982,"altitude":7,"angle":293,"satellites":39,"speed":48,"hex_longitude":"2cfbfc80","hex_latitude":"0703ee98","is_valid_coordinates":true} 
[2026-06-18 13:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133139968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318417231669100544,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-279645359232301056,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,9,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781770086000,"timestamp_ms":1781770086000,"timestamp_seconds":1781770086,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c5e670"} 
[2026-06-18 13:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 13:39:39] 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-06-18 13:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133139968001,"66":27995,"9":206,"28":32256,"24":48,"16":318417231669100544,"44":-279645359232301056},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,28,24,16,44]} 
[2026-06-18 13:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133139968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:39:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-18 13:39:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318417231669100544,"km_value":318417231669100.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:39:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-279645359232301056,"description":"Unknown IO ID 44"} 
[2026-06-18 13:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133139968001,"power":27995,"unknown_9":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_44":-279645359232301056}} 
[2026-06-18 13:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":105988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:39:39] local.INFO: GPS data processed {"connection_id":105988,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:39:39] local.INFO: Acknowledgment sent {"connection_id":105988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:39:41] local.INFO: TCP Data received {"connection_id":107529,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:41] local.INFO: Processing buffer {"connection_id":107529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:39:41] local.INFO: IMEI packet received {"connection_id":107529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":107529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:39:42] local.INFO: TCP Data received {"connection_id":107529,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c52708012d17fdc0072185580048003627..."} 
[2026-06-18 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c52708012d17fdc0072185580048003627..."} 
[2026-06-18 13:39:42] local.INFO: Processing buffer {"connection_id":107529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c52708012d17fdc0072185580048003627..."} 
[2026-06-18 13:39:42] local.INFO: Packet analysis {"connection_id":107529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:42] local.INFO: Extracted packet for processing {"connection_id":107529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:39:42] local.INFO: GPS Element Parsed {"raw_longitude":756547008,"raw_latitude":119637336,"longitude_deg":75.6547008,"latitude_deg":11.9637336,"altitude":72,"angle":54,"satellites":39,"speed":18,"hex_longitude":"2d17fdc0","hex_latitude":"07218558","is_valid_coordinates":true} 
[2026-06-18 13:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133128704001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356096035028992,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727763806421211136,"note":"Value kept but may cause issues"} 
[2026-06-18 13:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781770037000,"timestamp_ms":1781770037000,"timestamp_seconds":1781770037,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c52708"} 
[2026-06-18 13:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 13:39:42] 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-06-18 13:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133128704001,"66":14004,"120":206,"28":31744,"24":18,"16":3356096035028992,"45":1727763806421211136},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133128704001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:39:42] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:39:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356096035028992,"km_value":3356096035028.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727763806421211136,"description":"Unknown IO ID 45"} 
[2026-06-18 13:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133128704001,"power":14004,"unknown_120":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1727763806421211136}} 
[2026-06-18 13:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":107529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:39:42] local.INFO: GPS data processed {"connection_id":107529,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:39:42] local.INFO: Acknowledgment sent {"connection_id":107529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:40:14] local.INFO: TCP Data received {"connection_id":107529,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c54260012d180a0007218f880049002b27..."} 
[2026-06-18 13:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c54260012d180a0007218f880049002b27..."} 
[2026-06-18 13:40:14] local.INFO: Processing buffer {"connection_id":107529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c54260012d180a0007218f880049002b27..."} 
[2026-06-18 13:40:14] local.INFO: Packet analysis {"connection_id":107529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:40:14] local.INFO: Extracted packet for processing {"connection_id":107529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:40:14] local.INFO: GPS Element Parsed {"raw_longitude":756550144,"raw_latitude":119639944,"longitude_deg":75.6550144,"latitude_deg":11.9639944,"altitude":73,"angle":43,"satellites":39,"speed":25,"hex_longitude":"2d180a00","hex_latitude":"07218f88","is_valid_coordinates":true} 
[2026-06-18 13:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356293603524608,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1728748968839829504,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781770044000,"timestamp_ms":1781770044000,"timestamp_seconds":1781770044,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c54260"} 
[2026-06-18 13:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:40:14] 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-06-18 13:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 13:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133129472001,"66":14048,"120":206,"28":31744,"24":25,"16":3356293603524608,"45":1728748968839829504},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:40:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:40:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356293603524608,"km_value":3356293603524.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1728748968839829504,"description":"Unknown IO ID 45"} 
[2026-06-18 13:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133129472001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1728748968839829504}} 
[2026-06-18 13:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":107529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:40:14] local.INFO: GPS data processed {"connection_id":107529,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:40:14] local.INFO: Acknowledgment sent {"connection_id":107529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:40:23] local.INFO: TCP Data received {"connection_id":106552,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:23] local.INFO: Processing buffer {"connection_id":106552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:23] local.INFO: IMEI packet received {"connection_id":106552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":106552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:40:24] local.INFO: TCP Data received {"connection_id":106552,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:24] local.INFO: Processing buffer {"connection_id":106552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:24] local.INFO: IMEI packet received {"connection_id":106552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":106552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:40:27] local.INFO: TCP Data received {"connection_id":106552,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:27] local.INFO: Processing buffer {"connection_id":106552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:40:27] local.INFO: IMEI packet received {"connection_id":106552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":106552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:40:28] local.INFO: TCP Data received {"connection_id":106552,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c71338012cfb47400704a180000b013e25..."} 
[2026-06-18 13:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c71338012cfb47400704a180000b013e25..."} 
[2026-06-18 13:40:28] local.INFO: Processing buffer {"connection_id":106552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c71338012cfb47400704a180000b013e25..."} 
[2026-06-18 13:40:28] local.INFO: Packet analysis {"connection_id":106552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c7"} 
[2026-06-18 13:40:28] local.INFO: Extracted packet for processing {"connection_id":106552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c7"} 
[2026-06-18 13:40:28] local.INFO: GPS Element Parsed {"raw_longitude":754665280,"raw_latitude":117744000,"longitude_deg":75.466528,"latitude_deg":11.7744,"altitude":11,"angle":318,"satellites":37,"speed":29,"hex_longitude":"2cfb4740","hex_latitude":"0704a180","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133160960001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318420586038558720,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-338966210561822720,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781770163000,"timestamp_ms":1781770163000,"timestamp_seconds":1781770163,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c71338"} 
[2026-06-18 13:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:40: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-06-18 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133160960001,"66":27484,"8":206,"28":32256,"24":29,"16":318420586038558720,"44":-338966210561822720},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,28,24,16,44]} 
[2026-06-18 13:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133160960001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:40:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-18 13:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318420586038558720,"km_value":318420586038558.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:40:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-338966210561822720,"description":"Unknown IO ID 44"} 
[2026-06-18 13:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133160960001,"power":27484,"unknown_8":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_44":-338966210561822720}} 
[2026-06-18 13:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":106552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:40:28] local.INFO: GPS data processed {"connection_id":106552,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:40:28] local.INFO: Acknowledgment sent {"connection_id":106552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:40:41] local.INFO: TCP Data received {"connection_id":106554,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:40:41] local.INFO: Processing buffer {"connection_id":106554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:40:41] local.INFO: IMEI packet received {"connection_id":106554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":106554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:40:45] local.INFO: TCP Data received {"connection_id":106554,"ip":"117.224.140.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:40:45] local.INFO: Processing buffer {"connection_id":106554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:40:45] local.INFO: IMEI packet received {"connection_id":106554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":106554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:40:46] local.INFO: TCP Data received {"connection_id":106554,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c55db8012d18134007219b500049001f27..."} 
[2026-06-18 13:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c55db8012d18134007219b500049001f27..."} 
[2026-06-18 13:40:46] local.INFO: Processing buffer {"connection_id":106554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c55db8012d18134007219b500049001f27..."} 
[2026-06-18 13:40:46] local.INFO: Packet analysis {"connection_id":106554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:40:46] local.INFO: Extracted packet for processing {"connection_id":106554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756552512,"raw_latitude":119642960,"longitude_deg":75.6552512,"latitude_deg":11.964296,"altitude":73,"angle":31,"satellites":39,"speed":16,"hex_longitude":"2d181340","hex_latitude":"07219b50","is_valid_coordinates":true} 
[2026-06-18 13:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133131264001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356478287118336,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732197037305202688,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781770051000,"timestamp_ms":1781770051000,"timestamp_seconds":1781770051,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c55db8"} 
[2026-06-18 13:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:40:46] 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-06-18 13:40:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-18 13:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:40:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133131264001,"66":14080,"120":206,"28":31744,"24":16,"16":3356478287118336,"45":1732197037305202688},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133131264001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:40:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:40:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356478287118336,"km_value":3356478287118.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732197037305202688,"description":"Unknown IO ID 45"} 
[2026-06-18 13:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133131264001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1732197037305202688}} 
[2026-06-18 13:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":106554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:40:46] local.INFO: GPS data processed {"connection_id":106554,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:40:46] local.INFO: Acknowledgment sent {"connection_id":106554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:40:47] local.INFO: TCP Data received {"connection_id":106554,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c57140012d1816400721a1300048001126..."} 
[2026-06-18 13:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c57140012d1816400721a1300048001126..."} 
[2026-06-18 13:40:47] local.INFO: Processing buffer {"connection_id":106554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c57140012d1816400721a1300048001126..."} 
[2026-06-18 13:40:47] local.INFO: Packet analysis {"connection_id":106554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:40:47] local.INFO: Extracted packet for processing {"connection_id":106554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c5"} 
[2026-06-18 13:40:47] local.INFO: GPS Element Parsed {"raw_longitude":756553280,"raw_latitude":119644464,"longitude_deg":75.655328,"latitude_deg":11.9644464,"altitude":72,"angle":17,"satellites":38,"speed":10,"hex_longitude":"2d181640","hex_latitude":"0721a130","is_valid_coordinates":true} 
[2026-06-18 13:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133133056001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356559891496960,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734800680840548352,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781770056000,"timestamp_ms":1781770056000,"timestamp_seconds":1781770056,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c57140"} 
[2026-06-18 13:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:40:47] 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-06-18 13:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3653528456,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":217,"raw_value":3301781505,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2203582534,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883532494,"corrected_to":0} 
[2026-06-18 13:40:47] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":3221692803,"corrected_to":0} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3964076032,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,236,66,45,143,73,39,10,192,133,72,27,64,1,240,180,217,33,4,113,205,123,247,160,38,239,55,122,2,11,7,70,8],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883532494,"validated":0},{"io_id":247,"original":3221692803,"validated":0}]} 
[2026-06-18 13:40:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260238617133973504,"timestamp_seconds":5260238617133974.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 13:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:40:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133133056001,"66":14080,"120":206,"28":31744,"24":10,"16":3356559891496960,"45":1734800680840548352},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 13:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133133056001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:40:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 13:40:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356559891496960,"km_value":3356559891496.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734800680840548352,"description":"Unknown IO ID 45"} 
[2026-06-18 13:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133133056001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1734800680840548352}} 
[2026-06-18 13:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":106554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:40:47] local.INFO: GPS data processed {"connection_id":106554,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:40:47] local.INFO: Acknowledgment sent {"connection_id":106554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:40:59] local.INFO: TCP Data received {"connection_id":106553,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:40:59] local.INFO: Processing buffer {"connection_id":106553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:40:59] local.INFO: IMEI packet received {"connection_id":106553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":106553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:40:59] local.INFO: TCP Data received {"connection_id":106552,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c71b08012cfb42800704a510000b012b25..."} 
[2026-06-18 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c71b08012cfb42800704a510000b012b25..."} 
[2026-06-18 13:40:59] local.INFO: Processing buffer {"connection_id":106552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c71b08012cfb42800704a510000b012b25..."} 
[2026-06-18 13:40:59] local.INFO: Packet analysis {"connection_id":106552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c7"} 
[2026-06-18 13:40:59] local.INFO: Extracted packet for processing {"connection_id":106552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c7"} 
[2026-06-18 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":754664064,"raw_latitude":117744912,"longitude_deg":75.4664064,"latitude_deg":11.7744912,"altitude":11,"angle":299,"satellites":37,"speed":29,"hex_longitude":"2cfb4280","hex_latitude":"0704a510","is_valid_coordinates":true} 
[2026-06-18 13:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133161728001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318420659053002752,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-340232847956541440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,8,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781770165000,"timestamp_ms":1781770165000,"timestamp_seconds":1781770165,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c71b08"} 
[2026-06-18 13:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 13:40: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-06-18 13:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133161728001,"66":27995,"8":206,"28":32256,"24":29,"16":318420659053002752,"44":-340232847956541440},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,8,28,24,16,44]} 
[2026-06-18 13:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133161728001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:40:59] local.INFO: Unknown IO ID detected {"io_id":8,"value":206,"description":"Unknown IO ID 8"} 
[2026-06-18 13:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318420659053002752,"km_value":318420659053002.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:40:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-340232847956541440,"description":"Unknown IO ID 44"} 
[2026-06-18 13:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133161728001,"power":27995,"unknown_8":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_44":-340232847956541440}} 
[2026-06-18 13:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":106552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:40:59] local.INFO: GPS data processed {"connection_id":106552,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:40:59] local.INFO: Acknowledgment sent {"connection_id":106552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:41:19] local.INFO: TCP Data received {"connection_id":106554,"ip":"117.224.140.35","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c83448012d180b8007218bf8004b00a929..."} 
[2026-06-18 13:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c83448012d180b8007218bf8004b00a929..."} 
[2026-06-18 13:41:19] local.INFO: Processing buffer {"connection_id":106554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c83448012d180b8007218bf8004b00a929..."} 
[2026-06-18 13:41:19] local.INFO: Packet analysis {"connection_id":106554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:41:19] local.INFO: Extracted packet for processing {"connection_id":106554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:41:19] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119639032,"longitude_deg":75.6550528,"latitude_deg":11.9639032,"altitude":75,"angle":169,"satellites":41,"speed":8,"hex_longitude":"2d180b80","hex_latitude":"07218bf8","is_valid_coordinates":true} 
[2026-06-18 13:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133180416001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357045222801408,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249770096640,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781770237000,"timestamp_ms":1781770237000,"timestamp_seconds":1781770237,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c83448"} 
[2026-06-18 13:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:41:19] 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-06-18 13:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 13:41:19] 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-06-18 13:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":106554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":106554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":106554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.140.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133180416001,"66":12993,"122":206,"28":31744,"24":8,"16":3357045222801408,"45":1732619249770096640},"client_ip":"117.224.140.35","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133180416001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:41:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:41:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357045222801408,"km_value":3357045222801.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249770096640,"description":"Unknown IO ID 45"} 
[2026-06-18 13:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133180416001,"power":12993,"unknown_122":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1732619249770096640}} 
[2026-06-18 13:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":106554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:41:19] local.INFO: GPS data processed {"connection_id":106554,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:41:19] local.INFO: Acknowledgment sent {"connection_id":106554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:41:25] local.INFO: TCP Data received {"connection_id":107530,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:25] local.INFO: Processing buffer {"connection_id":107530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:25] local.INFO: IMEI packet received {"connection_id":107530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":107530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:41:25] local.INFO: TCP Data received {"connection_id":107530,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:25] local.INFO: Processing buffer {"connection_id":107530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:25] local.INFO: IMEI packet received {"connection_id":107530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":107530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:41:28] local.INFO: TCP Data received {"connection_id":107530,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:28] local.INFO: Processing buffer {"connection_id":107530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:28] local.INFO: IMEI packet received {"connection_id":107530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":107530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:41:30] local.INFO: TCP Data received {"connection_id":107530,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:30] local.INFO: Processing buffer {"connection_id":107530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:41:30] local.INFO: IMEI packet received {"connection_id":107530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":107530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:41:32] local.INFO: TCP Data received {"connection_id":107530,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c83c18012cfa5e0007055e70000b012026..."} 
[2026-06-18 13:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c83c18012cfa5e0007055e70000b012026..."} 
[2026-06-18 13:41:32] local.INFO: Processing buffer {"connection_id":107530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c83c18012cfa5e0007055e70000b012026..."} 
[2026-06-18 13:41:32] local.INFO: Packet analysis {"connection_id":107530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:41:32] local.INFO: Extracted packet for processing {"connection_id":107530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":754605568,"raw_latitude":117792368,"longitude_deg":75.4605568,"latitude_deg":11.7792368,"altitude":11,"angle":288,"satellites":38,"speed":46,"hex_longitude":"2cfa5e00","hex_latitude":"07055e70","is_valid_coordinates":true} 
[2026-06-18 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133179136001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318424387084615680,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-396105630821986304,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781770239000,"timestamp_ms":1781770239000,"timestamp_seconds":1781770239,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c83c18"} 
[2026-06-18 13:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133179136001,"66":28082,"11":206,"28":32256,"24":46,"16":318424387084615680,"44":-396105630821986304},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-06-18 13:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133179136001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:41:32] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 13:41:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318424387084615680,"km_value":318424387084615.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:41:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-396105630821986304,"description":"Unknown IO ID 44"} 
[2026-06-18 13:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133179136001,"power":28082,"unknown_11":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_44":-396105630821986304}} 
[2026-06-18 13:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":107530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:41:32] local.INFO: GPS data processed {"connection_id":107530,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:41:32] local.INFO: Acknowledgment sent {"connection_id":107530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:41:33] local.INFO: TCP Data received {"connection_id":107530,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c85b58012cfa3a4007056a08000b012125..."} 
[2026-06-18 13:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c85b58012cfa3a4007056a08000b012125..."} 
[2026-06-18 13:41:33] local.INFO: Processing buffer {"connection_id":107530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c85b58012cfa3a4007056a08000b012125..."} 
[2026-06-18 13:41:33] local.INFO: Packet analysis {"connection_id":107530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:41:33] local.INFO: Extracted packet for processing {"connection_id":107530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:41:33] local.INFO: GPS Element Parsed {"raw_longitude":754596416,"raw_latitude":117795336,"longitude_deg":75.4596416,"latitude_deg":11.7795336,"altitude":11,"angle":289,"satellites":37,"speed":49,"hex_longitude":"2cfa3a40","hex_latitude":"07056a08","is_valid_coordinates":true} 
[2026-06-18 13:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133181184001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318424842351149056,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-405886886261919744,"note":"Value kept but may cause issues"} 
[2026-06-18 13:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781770247000,"timestamp_ms":1781770247000,"timestamp_seconds":1781770247,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c85b58"} 
[2026-06-18 13:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 13:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:41:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133181184001,"66":28104,"11":206,"28":32256,"24":49,"16":318424842351149056,"44":-405886886261919744},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-06-18 13:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133181184001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:41:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 13:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318424842351149056,"km_value":318424842351149.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:41:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-405886886261919744,"description":"Unknown IO ID 44"} 
[2026-06-18 13:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133181184001,"power":28104,"unknown_11":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_44":-405886886261919744}} 
[2026-06-18 13:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":107530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:41:33] local.INFO: GPS data processed {"connection_id":107530,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:41:33] local.INFO: Acknowledgment sent {"connection_id":107530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:41:34] local.INFO: TCP Data received {"connection_id":105989,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:41:34] local.INFO: Processing buffer {"connection_id":105989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:41:34] local.INFO: IMEI packet received {"connection_id":105989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:41:34] local.INFO: IMEI acknowledgment sent {"connection_id":105989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:42:04] local.INFO: TCP Data received {"connection_id":107530,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c86710012cfa2c8007057010000a012d28..."} 
[2026-06-18 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c86710012cfa2c8007057010000a012d28..."} 
[2026-06-18 13:42:04] local.INFO: Processing buffer {"connection_id":107530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c86710012cfa2c8007057010000a012d28..."} 
[2026-06-18 13:42:04] local.INFO: Packet analysis {"connection_id":107530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:42:04] local.INFO: Extracted packet for processing {"connection_id":107530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:42:04] local.INFO: GPS Element Parsed {"raw_longitude":754592896,"raw_latitude":117796880,"longitude_deg":75.4592896,"latitude_deg":11.779688,"altitude":10,"angle":301,"satellites":40,"speed":50,"hex_longitude":"2cfa2c80","hex_latitude":"07057010","is_valid_coordinates":true} 
[2026-06-18 13:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183232001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318425027034742784,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-415949616678565888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781770250000,"timestamp_ms":1781770250000,"timestamp_seconds":1781770250,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c86710"} 
[2026-06-18 13:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 13:42:04] 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-06-18 13:42:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183232001,"66":28093,"11":206,"28":32256,"24":50,"16":318425027034742784,"44":-415949616678565888},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-06-18 13:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183232001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:42:04] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 13:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318425027034742784,"km_value":318425027034742.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-415949616678565888,"description":"Unknown IO ID 44"} 
[2026-06-18 13:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183232001,"power":28093,"unknown_11":206,"unknown_28":32256,"ignition":50,"odometer":null,"unknown_44":-415949616678565888}} 
[2026-06-18 13:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":107530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:42:04] local.INFO: GPS data processed {"connection_id":107530,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:42:04] local.INFO: Acknowledgment sent {"connection_id":107530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:42:24] local.INFO: TCP Data received {"connection_id":106555,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:24] local.INFO: Processing buffer {"connection_id":106555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:24] local.INFO: IMEI packet received {"connection_id":106555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":106555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:42:29] local.INFO: TCP Data received {"connection_id":106555,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:29] local.INFO: Processing buffer {"connection_id":106555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:29] local.INFO: IMEI packet received {"connection_id":106555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":106555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:42:31] local.INFO: TCP Data received {"connection_id":106555,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:31] local.INFO: Processing buffer {"connection_id":106555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:42:31] local.INFO: IMEI packet received {"connection_id":106555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":106555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:42:32] local.INFO: TCP Data received {"connection_id":106555,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c876b0012cfa1cc007057ca0000a01392a..."} 
[2026-06-18 13:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c876b0012cfa1cc007057ca0000a01392a..."} 
[2026-06-18 13:42:32] local.INFO: Processing buffer {"connection_id":106555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c876b0012cfa1cc007057ca0000a01392a..."} 
[2026-06-18 13:42:32] local.INFO: Packet analysis {"connection_id":106555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:42:32] local.INFO: Extracted packet for processing {"connection_id":106555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:42:32] local.INFO: GPS Element Parsed {"raw_longitude":754588864,"raw_latitude":117800096,"longitude_deg":75.4588864,"latitude_deg":11.7800096,"altitude":10,"angle":313,"satellites":42,"speed":52,"hex_longitude":"2cfa1cc0","hex_latitude":"07057ca0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133184000001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318425271847878656,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-419819897607942144,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781770254000,"timestamp_ms":1781770254000,"timestamp_seconds":1781770254,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c876b0"} 
[2026-06-18 13:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 13:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133184000001,"66":27376,"11":206,"28":32256,"24":52,"16":318425271847878656,"44":-419819897607942144},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-06-18 13:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133184000001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:42:32] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 13:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318425271847878656,"km_value":318425271847878.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:42:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-419819897607942144,"description":"Unknown IO ID 44"} 
[2026-06-18 13:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133184000001,"power":27376,"unknown_11":206,"unknown_28":32256,"ignition":52,"odometer":null,"unknown_44":-419819897607942144}} 
[2026-06-18 13:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":106555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:42:32] local.INFO: GPS data processed {"connection_id":106555,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:42:32] local.INFO: Acknowledgment sent {"connection_id":106555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:42:34] local.INFO: TCP Data received {"connection_id":106555,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c895f0012cfa02c007059aa00007014229..."} 
[2026-06-18 13:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c895f0012cfa02c007059aa00007014229..."} 
[2026-06-18 13:42:34] local.INFO: Processing buffer {"connection_id":106555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c895f0012cfa02c007059aa00007014229..."} 
[2026-06-18 13:42:34] local.INFO: Packet analysis {"connection_id":106555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:42:34] local.INFO: Extracted packet for processing {"connection_id":106555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:42:34] local.INFO: GPS Element Parsed {"raw_longitude":754582208,"raw_latitude":117807776,"longitude_deg":75.4582208,"latitude_deg":11.7807776,"altitude":7,"angle":322,"satellites":41,"speed":49,"hex_longitude":"2cfa02c0","hex_latitude":"07059aa0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133185024001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318425761474150400,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-424253128490311680,"note":"Value kept but may cause issues"} 
[2026-06-18 13:42:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781770262000,"timestamp_ms":1781770262000,"timestamp_seconds":1781770262,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c895f0"} 
[2026-06-18 13:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:42: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-06-18 13: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 13:42: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-06-18 13: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-06-18 13:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133185024001,"66":27974,"11":206,"28":32256,"24":49,"16":318425761474150400,"44":-424253128490311680},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,28,24,16,44]} 
[2026-06-18 13:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133185024001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:42:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 13:42:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318425761474150400,"km_value":318425761474150.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:42:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-424253128490311680,"description":"Unknown IO ID 44"} 
[2026-06-18 13:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133185024001,"power":27974,"unknown_11":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_44":-424253128490311680}} 
[2026-06-18 13:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":106555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:42:34] local.INFO: GPS data processed {"connection_id":106555,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:42:34] local.INFO: Acknowledgment sent {"connection_id":106555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:43:06] local.INFO: TCP Data received {"connection_id":106555,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c9a378012cf9a380070684d80009015329..."} 
[2026-06-18 13:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c9a378012cf9a380070684d80009015329..."} 
[2026-06-18 13:43:06] local.INFO: Processing buffer {"connection_id":106555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c9a378012cf9a380070684d80009015329..."} 
[2026-06-18 13:43:06] local.INFO: Packet analysis {"connection_id":106555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:43:06] local.INFO: Extracted packet for processing {"connection_id":106555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:43:06] local.INFO: GPS Element Parsed {"raw_longitude":754557824,"raw_latitude":117867736,"longitude_deg":75.4557824,"latitude_deg":11.7867736,"altitude":9,"angle":339,"satellites":41,"speed":57,"hex_longitude":"2cf9a380","hex_latitude":"070684d8","is_valid_coordinates":true} 
[2026-06-18 13:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133202944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318428952634851328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:43:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-454230213494906880,"note":"Value kept but may cause issues"} 
[2026-06-18 13:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781770331000,"timestamp_ms":1781770331000,"timestamp_seconds":1781770331,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c9a378"} 
[2026-06-18 13:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:43:06] 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-06-18 13:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133202944001,"66":27995,"166":206,"28":32256,"24":57,"16":318428952634851328,"44":-454230213494906880},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-06-18 13:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133202944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:43:06] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-18 13:43:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318428952634851328,"km_value":318428952634851.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:43:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-454230213494906880,"description":"Unknown IO ID 44"} 
[2026-06-18 13:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133202944001,"power":27995,"unknown_166":206,"unknown_28":32256,"ignition":57,"odometer":null,"unknown_44":-454230213494906880}} 
[2026-06-18 13:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":106555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:43:06] local.INFO: GPS data processed {"connection_id":106555,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:43:06] local.INFO: Acknowledgment sent {"connection_id":106555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:43:24] local.INFO: TCP Data received {"connection_id":106556,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:24] local.INFO: Processing buffer {"connection_id":106556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:24] local.INFO: IMEI packet received {"connection_id":106556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":106556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:43:27] local.INFO: TCP Data received {"connection_id":106556,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:27] local.INFO: Processing buffer {"connection_id":106556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:27] local.INFO: IMEI packet received {"connection_id":106556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":106556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:43:29] local.INFO: TCP Data received {"connection_id":106556,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:29] local.INFO: Processing buffer {"connection_id":106556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:43:29] local.INFO: IMEI packet received {"connection_id":106556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":106556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:43:31] local.INFO: TCP Data received {"connection_id":106556,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c9bae8012cf998800706a6880005015729..."} 
[2026-06-18 13:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c9bae8012cf998800706a6880005015729..."} 
[2026-06-18 13:43:31] local.INFO: Processing buffer {"connection_id":106556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c9bae8012cf998800706a6880005015729..."} 
[2026-06-18 13:43:31] local.INFO: Packet analysis {"connection_id":106556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:43:31] local.INFO: Extracted packet for processing {"connection_id":106556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:43:31] local.INFO: GPS Element Parsed {"raw_longitude":754555008,"raw_latitude":117876360,"longitude_deg":75.4555008,"latitude_deg":11.787636,"altitude":5,"angle":343,"satellites":41,"speed":61,"hex_longitude":"2cf99880","hex_latitude":"0706a688","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133204736001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318429390721515520,"note":"Value kept but may cause issues"} 
[2026-06-18 13:43:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458381969399162880,"note":"Value kept but may cause issues"} 
[2026-06-18 13:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781770337000,"timestamp_ms":1781770337000,"timestamp_seconds":1781770337,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c9bae8"} 
[2026-06-18 13:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:43: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-06-18 13: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-06-18 13:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133204736001,"66":27800,"166":206,"28":32256,"24":61,"16":318429390721515520,"44":-458381969399162880},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-06-18 13:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133204736001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:43:31] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-18 13:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318429390721515520,"km_value":318429390721515.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:43:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458381969399162880,"description":"Unknown IO ID 44"} 
[2026-06-18 13:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133204736001,"power":27800,"unknown_166":206,"unknown_28":32256,"ignition":61,"odometer":null,"unknown_44":-458381969399162880}} 
[2026-06-18 13:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":106556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:43:31] local.INFO: GPS data processed {"connection_id":106556,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:43:31] local.INFO: Acknowledgment sent {"connection_id":106556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:44:02] local.INFO: TCP Data received {"connection_id":106556,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c9d640012cf98e400706cc580006015a27..."} 
[2026-06-18 13:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c9d640012cf98e400706cc580006015a27..."} 
[2026-06-18 13:44:02] local.INFO: Processing buffer {"connection_id":106556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c9d640012cf98e400706cc580006015a27..."} 
[2026-06-18 13:44:02] local.INFO: Packet analysis {"connection_id":106556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:44:02] local.INFO: Extracted packet for processing {"connection_id":106556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:44:02] local.INFO: GPS Element Parsed {"raw_longitude":754552384,"raw_latitude":117886040,"longitude_deg":75.4552384,"latitude_deg":11.788604,"altitude":6,"angle":346,"satellites":39,"speed":45,"hex_longitude":"2cf98e40","hex_latitude":"0706cc58","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133206272001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318429876052819968,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-461478194140772352,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781770344000,"timestamp_ms":1781770344000,"timestamp_seconds":1781770344,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c9d640"} 
[2026-06-18 13:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:44: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-06-18 13:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 13:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133206272001,"66":27974,"165":206,"28":32256,"24":45,"16":318429876052819968,"44":-461478194140772352},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-18 13:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133206272001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:44:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 13:44:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318429876052819968,"km_value":318429876052819.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:44:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-461478194140772352,"description":"Unknown IO ID 44"} 
[2026-06-18 13:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133206272001,"power":27974,"unknown_165":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_44":-461478194140772352}} 
[2026-06-18 13:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":106556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:44:03] local.INFO: GPS data processed {"connection_id":106556,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:44:03] local.INFO: Acknowledgment sent {"connection_id":106556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:44:30] local.INFO: TCP Data received {"connection_id":105795,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:44:30] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:44:30] local.INFO: IMEI packet received {"connection_id":105795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":105795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:44:31] local.INFO: TCP Data received {"connection_id":105795,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:44:31] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:44:31] local.INFO: IMEI packet received {"connection_id":105795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":105795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:44:32] local.INFO: TCP Data received {"connection_id":105795,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c9f968012cf982000706f0c80005014e24..."} 
[2026-06-18 13:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c9f968012cf982000706f0c80005014e24..."} 
[2026-06-18 13:44:32] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c9f968012cf982000706f0c80005014e24..."} 
[2026-06-18 13:44:32] local.INFO: Packet analysis {"connection_id":105795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:44:32] local.INFO: Extracted packet for processing {"connection_id":105795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:44:32] local.INFO: GPS Element Parsed {"raw_longitude":754549248,"raw_latitude":117895368,"longitude_deg":75.4549248,"latitude_deg":11.7895368,"altitude":5,"angle":334,"satellites":36,"speed":44,"hex_longitude":"2cf98200","hex_latitude":"0706f0c8","is_valid_coordinates":true} 
[2026-06-18 13:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133208064001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318430357089157120,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-464363312649578496,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781770353000,"timestamp_ms":1781770353000,"timestamp_seconds":1781770353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c9f968"} 
[2026-06-18 13:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:44: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-06-18 13:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133208064001,"66":28006,"165":206,"28":32256,"24":44,"16":318430357089157120,"44":-464363312649578496},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-18 13:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133208064001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:44:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 13:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318430357089157120,"km_value":318430357089157.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:44:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-464363312649578496,"description":"Unknown IO ID 44"} 
[2026-06-18 13:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133208064001,"power":28006,"unknown_165":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-464363312649578496}} 
[2026-06-18 13:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":105795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:44:32] local.INFO: GPS data processed {"connection_id":105795,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:44:32] local.INFO: Acknowledgment sent {"connection_id":105795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:44:35] local.INFO: TCP Data received {"connection_id":105795,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c9f968012cf982000706f0c80005014e24..."} 
[2026-06-18 13:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c9f968012cf982000706f0c80005014e24..."} 
[2026-06-18 13:44:35] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c9f968012cf982000706f0c80005014e24..."} 
[2026-06-18 13:44:35] local.INFO: Packet analysis {"connection_id":105795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:44:35] local.INFO: Extracted packet for processing {"connection_id":105795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c9"} 
[2026-06-18 13:44:35] local.INFO: GPS Element Parsed {"raw_longitude":754549248,"raw_latitude":117895368,"longitude_deg":75.4549248,"latitude_deg":11.7895368,"altitude":5,"angle":334,"satellites":36,"speed":44,"hex_longitude":"2cf98200","hex_latitude":"0706f0c8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133210368001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318430357089157120,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-467811381111896064,"note":"Value kept but may cause issues"} 
[2026-06-18 13:44:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781770353000,"timestamp_ms":1781770353000,"timestamp_seconds":1781770353,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c9f968"} 
[2026-06-18 13:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 13:44:35] 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-06-18 13: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-06-18 13:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133210368001,"66":28006,"165":206,"28":32256,"24":44,"16":318430357089157120,"44":-467811381111896064},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16,44]} 
[2026-06-18 13:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133210368001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:44:35] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 13:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318430357089157120,"km_value":318430357089157.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:44:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-467811381111896064,"description":"Unknown IO ID 44"} 
[2026-06-18 13:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133210368001,"power":28006,"unknown_165":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_44":-467811381111896064}} 
[2026-06-18 13:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":105795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:44:35] local.INFO: GPS data processed {"connection_id":105795,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:44:35] local.INFO: Acknowledgment sent {"connection_id":105795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:45:07] local.INFO: TCP Data received {"connection_id":105795,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cb64b0012cf8c38007083c98000901442b..."} 
[2026-06-18 13:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cb64b0012cf8c38007083c98000901442b..."} 
[2026-06-18 13:45:07] local.INFO: Processing buffer {"connection_id":105795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cb64b0012cf8c38007083c98000901442b..."} 
[2026-06-18 13:45:07] local.INFO: Packet analysis {"connection_id":105795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:45:07] local.INFO: Extracted packet for processing {"connection_id":105795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":754500480,"raw_latitude":117980312,"longitude_deg":75.450048,"latitude_deg":11.7980312,"altitude":9,"angle":324,"satellites":43,"speed":58,"hex_longitude":"2cf8c380","hex_latitude":"07083c98","is_valid_coordinates":true} 
[2026-06-18 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133232640001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318435124502855680,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-515732495877003264,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781770446000,"timestamp_ms":1781770446000,"timestamp_seconds":1781770446,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cb64b0"} 
[2026-06-18 13:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:45:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133232640001,"66":27930,"167":206,"28":32256,"24":58,"16":318435124502855680,"44":-515732495877003264},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-06-18 13:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133232640001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:45:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 13:45:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318435124502855680,"km_value":318435124502855.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:45:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-515732495877003264,"description":"Unknown IO ID 44"} 
[2026-06-18 13:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133232640001,"power":27930,"unknown_167":206,"unknown_28":32256,"ignition":58,"odometer":null,"unknown_44":-515732495877003264}} 
[2026-06-18 13:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":105795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:45:07] local.INFO: GPS data processed {"connection_id":105795,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:45:07] local.INFO: Acknowledgment sent {"connection_id":105795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:45:29] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:29] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:29] local.INFO: IMEI packet received {"connection_id":105990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":105990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:45:31] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:31] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:31] local.INFO: IMEI packet received {"connection_id":105990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":105990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:45:34] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:34] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:45:34] local.INFO: IMEI packet received {"connection_id":105990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:45:34] local.INFO: IMEI acknowledgment sent {"connection_id":105990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:45:36] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cb8008012cf8acc007085bd8000a01442a..."} 
[2026-06-18 13:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cb8008012cf8acc007085bd8000a01442a..."} 
[2026-06-18 13:45:36] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cb8008012cf8acc007085bd8000a01442a..."} 
[2026-06-18 13:45:36] local.INFO: Packet analysis {"connection_id":105990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:45:36] local.INFO: Extracted packet for processing {"connection_id":105990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:45:36] local.INFO: GPS Element Parsed {"raw_longitude":754494656,"raw_latitude":117988312,"longitude_deg":75.4494656,"latitude_deg":11.7988312,"altitude":10,"angle":324,"satellites":42,"speed":52,"hex_longitude":"2cf8acc0","hex_latitude":"07085bd8","is_valid_coordinates":true} 
[2026-06-18 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133234176001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318435605539192832,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-521432364153530368,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781770453000,"timestamp_ms":1781770453000,"timestamp_seconds":1781770453,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cb8008"} 
[2026-06-18 13:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:45: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-06-18 13:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 13:45: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-06-18 13:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133234176001,"66":27995,"167":206,"28":32256,"24":52,"16":318435605539192832,"44":-521432364153530368},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-06-18 13:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133234176001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:45:36] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 13:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318435605539192832,"km_value":318435605539192.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-521432364153530368,"description":"Unknown IO ID 44"} 
[2026-06-18 13:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133234176001,"power":27995,"unknown_167":206,"unknown_28":32256,"ignition":52,"odometer":null,"unknown_44":-521432364153530368}} 
[2026-06-18 13:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":105990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:45:36] local.INFO: GPS data processed {"connection_id":105990,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:45:36] local.INFO: Acknowledgment sent {"connection_id":105990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:45:37] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cb9f48012cf8960007087a98000c01432b..."} 
[2026-06-18 13:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cb9f48012cf8960007087a98000c01432b..."} 
[2026-06-18 13:45:37] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cb9f48012cf8960007087a98000c01432b..."} 
[2026-06-18 13:45:37] local.INFO: Packet analysis {"connection_id":105990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:45:37] local.INFO: Extracted packet for processing {"connection_id":105990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:45:37] local.INFO: GPS Element Parsed {"raw_longitude":754488832,"raw_latitude":117996184,"longitude_deg":75.4488832,"latitude_deg":11.7996184,"altitude":12,"angle":323,"satellites":43,"speed":46,"hex_longitude":"2cf89600","hex_latitude":"07087a98","is_valid_coordinates":true} 
[2026-06-18 13:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133235968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318436073690628096,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-527835919871649792,"note":"Value kept but may cause issues"} 
[2026-06-18 13:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781770461000,"timestamp_ms":1781770461000,"timestamp_seconds":1781770461,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cb9f48"} 
[2026-06-18 13:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:45: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-06-18 13:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133235968001,"66":27952,"167":206,"28":32256,"24":46,"16":318436073690628096,"44":-527835919871649792},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-06-18 13:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133235968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:45:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 13:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318436073690628096,"km_value":318436073690628.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:45:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-527835919871649792,"description":"Unknown IO ID 44"} 
[2026-06-18 13:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133235968001,"power":27952,"unknown_167":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_44":-527835919871649792}} 
[2026-06-18 13:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":105990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:45:37] local.INFO: GPS data processed {"connection_id":105990,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:45:37] local.INFO: Acknowledgment sent {"connection_id":105990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:46:09] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cbbe88012cf87f40070899f0000c01452c..."} 
[2026-06-18 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cbbe88012cf87f40070899f0000c01452c..."} 
[2026-06-18 13:46:09] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cbbe88012cf87f40070899f0000c01452c..."} 
[2026-06-18 13:46:09] local.INFO: Packet analysis {"connection_id":105990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:46:09] local.INFO: Extracted packet for processing {"connection_id":105990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":754483008,"raw_latitude":118004208,"longitude_deg":75.4483008,"latitude_deg":11.8004208,"altitude":12,"angle":325,"satellites":44,"speed":51,"hex_longitude":"2cf87f40","hex_latitude":"070899f0","is_valid_coordinates":true} 
[2026-06-18 13:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133238016001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318436550431997952,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-534239475589801984,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781770469000,"timestamp_ms":1781770469000,"timestamp_seconds":1781770469,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cbbe88"} 
[2026-06-18 13:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 13:46:09] 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-06-18 13:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133238016001,"66":28028,"167":206,"28":32256,"24":51,"16":318436550431997952,"44":-534239475589801984},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-06-18 13:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133238016001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:46:09] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 13:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 13:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318436550431997952,"km_value":318436550431997.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:46:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-534239475589801984,"description":"Unknown IO ID 44"} 
[2026-06-18 13:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133238016001,"power":28028,"unknown_167":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_44":-534239475589801984}} 
[2026-06-18 13:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":105990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:46:09] local.INFO: GPS data processed {"connection_id":105990,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:46:09] local.INFO: Acknowledgment sent {"connection_id":105990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:46:11] local.INFO: TCP Data received {"connection_id":107532,"ip":"117.224.23.106","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:11] local.INFO: Processing buffer {"connection_id":107532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:11] local.INFO: IMEI packet received {"connection_id":107532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":107532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:46:17] local.INFO: TCP Data received {"connection_id":107532,"ip":"117.224.23.106","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107532,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:17] local.INFO: Processing buffer {"connection_id":107532,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:17] local.INFO: IMEI packet received {"connection_id":107532,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":107532,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:46:18] local.INFO: TCP Data received {"connection_id":107532,"ip":"117.224.23.106","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c83830012d180bc007218b38004b009024..."} 
[2026-06-18 13:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c83830012d180bc007218b38004b009024..."} 
[2026-06-18 13:46:18] local.INFO: Processing buffer {"connection_id":107532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c83830012d180bc007218b38004b009024..."} 
[2026-06-18 13:46:18] local.INFO: Packet analysis {"connection_id":107532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:46:18] local.INFO: Extracted packet for processing {"connection_id":107532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756550592,"raw_latitude":119638840,"longitude_deg":75.6550592,"latitude_deg":11.963884,"altitude":75,"angle":144,"satellites":36,"speed":8,"hex_longitude":"2d180bc0","hex_latitude":"07218b38","is_valid_coordinates":true} 
[2026-06-18 13:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133180672001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357058107703296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249770035200,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781770238000,"timestamp_ms":1781770238000,"timestamp_seconds":1781770238,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c83830"} 
[2026-06-18 13:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:46:18] 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-06-18 13:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 13:46:18] 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-06-18 13:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107532,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.23.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133180672001,"66":12993,"122":206,"28":31744,"24":8,"16":3357058107703296,"45":1732619249770035200},"client_ip":"117.224.23.106","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133180672001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:46:18] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:46:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357058107703296,"km_value":3357058107703.296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249770035200,"description":"Unknown IO ID 45"} 
[2026-06-18 13:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133180672001,"power":12993,"unknown_122":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1732619249770035200}} 
[2026-06-18 13:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":107532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344367,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:46:18] local.INFO: GPS data processed {"connection_id":107532,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:46:18] local.INFO: Acknowledgment sent {"connection_id":107532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:46:25] local.INFO: TCP Data received {"connection_id":107533,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:25] local.INFO: Processing buffer {"connection_id":107533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:25] local.INFO: IMEI packet received {"connection_id":107533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:46:25] local.INFO: IMEI acknowledgment sent {"connection_id":107533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:46:26] local.INFO: TCP Data received {"connection_id":107533,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:26] local.INFO: Processing buffer {"connection_id":107533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:26] local.INFO: IMEI packet received {"connection_id":107533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":107533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:46:30] local.INFO: TCP Data received {"connection_id":107533,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:30] local.INFO: Processing buffer {"connection_id":107533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:46:30] local.INFO: IMEI packet received {"connection_id":107533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":107533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:46:33] local.INFO: TCP Data received {"connection_id":107533,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cbd9e0012cf86b800708b8b8000b01482a..."} 
[2026-06-18 13:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cbd9e0012cf86b800708b8b8000b01482a..."} 
[2026-06-18 13:46:33] local.INFO: Processing buffer {"connection_id":107533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cbd9e0012cf86b800708b8b8000b01482a..."} 
[2026-06-18 13:46:33] local.INFO: Packet analysis {"connection_id":107533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:46:33] local.INFO: Extracted packet for processing {"connection_id":107533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cb"} 
[2026-06-18 13:46:33] local.INFO: GPS Element Parsed {"raw_longitude":754477952,"raw_latitude":118012088,"longitude_deg":75.4477952,"latitude_deg":11.8012088,"altitude":11,"angle":328,"satellites":42,"speed":55,"hex_longitude":"2cf86b80","hex_latitude":"0708b8b8","is_valid_coordinates":true} 
[2026-06-18 13:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133240064001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318437005698531328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-540643031307915264,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781770476000,"timestamp_ms":1781770476000,"timestamp_seconds":1781770476,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cbd9e0"} 
[2026-06-18 13:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:46: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-06-18 13:46:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:46:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133240064001,"66":27908,"31":206,"2":54272,"24":55,"16":318437005698531328,"44":-540643031307915264},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-06-18 13:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133240064001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:46:33] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-18 13:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318437005698531328,"km_value":318437005698531.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:46:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-540643031307915264,"description":"Unknown IO ID 44"} 
[2026-06-18 13:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133240064001,"power":27908,"unknown_31":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-540643031307915264}} 
[2026-06-18 13:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":107533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:46:33] local.INFO: GPS data processed {"connection_id":107533,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:46:33] local.INFO: Acknowledgment sent {"connection_id":107533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:46:41] local.INFO: TCP Data received {"connection_id":105992,"ip":"117.224.23.106","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:41] local.INFO: Processing buffer {"connection_id":105992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:41] local.INFO: IMEI packet received {"connection_id":105992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":105992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:46:46] local.INFO: TCP Data received {"connection_id":105992,"ip":"117.224.23.106","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:46] local.INFO: Processing buffer {"connection_id":105992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:46:46] local.INFO: IMEI packet received {"connection_id":105992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":105992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:46:48] local.INFO: TCP Data received {"connection_id":105992,"ip":"117.224.23.106","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c83c18012d180c4007218a98004b008128..."} 
[2026-06-18 13:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c83c18012d180c4007218a98004b008128..."} 
[2026-06-18 13:46:48] local.INFO: Processing buffer {"connection_id":105992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c83c18012d180c4007218a98004b008128..."} 
[2026-06-18 13:46:48] local.INFO: Packet analysis {"connection_id":105992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:46:48] local.INFO: Extracted packet for processing {"connection_id":105992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756550720,"raw_latitude":119638680,"longitude_deg":75.655072,"latitude_deg":11.963868,"altitude":75,"angle":129,"satellites":40,"speed":9,"hex_longitude":"2d180c40","hex_latitude":"07218a98","is_valid_coordinates":true} 
[2026-06-18 13:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133180928001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357066697637888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732689618514163712,"note":"Value kept but may cause issues"} 
[2026-06-18 13:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781770239000,"timestamp_ms":1781770239000,"timestamp_seconds":1781770239,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c83c18"} 
[2026-06-18 13:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:46:48] 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-06-18 13:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 13:46:48] 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-06-18 13:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":105992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":105992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":105992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.23.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133180928001,"66":12972,"122":206,"28":31744,"24":9,"16":3357066697637888,"45":1732689618514163712},"client_ip":"117.224.23.106","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133180928001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:46:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:46:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357066697637888,"km_value":3357066697637.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732689618514163712,"description":"Unknown IO ID 45"} 
[2026-06-18 13:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133180928001,"power":12972,"unknown_122":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1732689618514163712}} 
[2026-06-18 13:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":105992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:46:48] local.INFO: GPS data processed {"connection_id":105992,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:46:48] local.INFO: Acknowledgment sent {"connection_id":105992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:46:59] local.INFO: TCP Data received {"connection_id":105991,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:46:59] local.INFO: Processing buffer {"connection_id":105991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:46:59] local.INFO: IMEI packet received {"connection_id":105991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":105991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:47:10] local.INFO: TCP Data received {"connection_id":107533,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cd4140012cf743c0070a4840000e01412c..."} 
[2026-06-18 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cd4140012cf743c0070a4840000e01412c..."} 
[2026-06-18 13:47:10] local.INFO: Processing buffer {"connection_id":107533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cd4140012cf743c0070a4840000e01412c..."} 
[2026-06-18 13:47:10] local.INFO: Packet analysis {"connection_id":107533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:47:10] local.INFO: Extracted packet for processing {"connection_id":107533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:47:10] local.INFO: GPS Element Parsed {"raw_longitude":754402240,"raw_latitude":118114368,"longitude_deg":75.440224,"latitude_deg":11.8114368,"altitude":14,"angle":321,"satellites":44,"speed":59,"hex_longitude":"2cf743c0","hex_latitude":"070a4840","is_valid_coordinates":true} 
[2026-06-18 13:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133263616001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318443186156470272,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-622270774527825920,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781770568000,"timestamp_ms":1781770568000,"timestamp_seconds":1781770568,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cd4140"} 
[2026-06-18 13:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:47:10] 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-06-18 13:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 13:47:10] 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-06-18 13:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133263616001,"66":28006,"30":206,"2":54272,"24":59,"16":318443186156470272,"44":-622270774527825920},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,2,24,16,44]} 
[2026-06-18 13:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133263616001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:47:10] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-18 13:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318443186156470272,"km_value":318443186156470.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:47:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-622270774527825920,"description":"Unknown IO ID 44"} 
[2026-06-18 13:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133263616001,"power":28006,"unknown_30":206,"power_alt":54272,"ignition":59,"odometer":null,"unknown_44":-622270774527825920}} 
[2026-06-18 13:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":107533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:47:10] local.INFO: GPS data processed {"connection_id":107533,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:47:10] local.INFO: Acknowledgment sent {"connection_id":107533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:47:19] local.INFO: TCP Data received {"connection_id":105992,"ip":"117.224.23.106","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c843e8012d180dc0072188b0004a009628..."} 
[2026-06-18 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c843e8012d180dc0072188b0004a009628..."} 
[2026-06-18 13:47:19] local.INFO: Processing buffer {"connection_id":105992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c843e8012d180dc0072188b0004a009628..."} 
[2026-06-18 13:47:19] local.INFO: Packet analysis {"connection_id":105992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:47:19] local.INFO: Extracted packet for processing {"connection_id":105992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119638192,"longitude_deg":75.6551104,"latitude_deg":11.9638192,"altitude":74,"angle":150,"satellites":40,"speed":12,"hex_longitude":"2d180dc0","hex_latitude":"072188b0","is_valid_coordinates":true} 
[2026-06-18 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133181184001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357096762408960,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732830356002478080,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781770241000,"timestamp_ms":1781770241000,"timestamp_seconds":1781770241,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c843e8"} 
[2026-06-18 13:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:47:19] 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-06-18 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-18 13:47:19] 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-06-18 13:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":105992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":105992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":105992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.23.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133181184001,"66":12928,"122":206,"28":31744,"24":12,"16":3357096762408960,"45":1732830356002478080},"client_ip":"117.224.23.106","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133181184001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:47:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:47:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357096762408960,"km_value":3357096762408.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732830356002478080,"description":"Unknown IO ID 45"} 
[2026-06-18 13:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133181184001,"power":12928,"unknown_122":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1732830356002478080}} 
[2026-06-18 13:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":105992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:47:19] local.INFO: GPS data processed {"connection_id":105992,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:47:19] local.INFO: Acknowledgment sent {"connection_id":105992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:47:28] local.INFO: TCP Data received {"connection_id":106560,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:28] local.INFO: Processing buffer {"connection_id":106560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:28] local.INFO: IMEI packet received {"connection_id":106560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":106560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:47:30] local.INFO: TCP Data received {"connection_id":106560,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:30] local.INFO: Processing buffer {"connection_id":106560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:30] local.INFO: IMEI packet received {"connection_id":106560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":106560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:47:34] local.INFO: TCP Data received {"connection_id":106561,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:47:34] local.INFO: Processing buffer {"connection_id":106561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:47:34] local.INFO: IMEI packet received {"connection_id":106561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":106561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:47:35] local.INFO: TCP Data received {"connection_id":106560,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:35] local.INFO: Processing buffer {"connection_id":106560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:47:35] local.INFO: IMEI packet received {"connection_id":106560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":106560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:47:36] local.INFO: TCP Data received {"connection_id":106562,"ip":"117.224.23.106","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:47:36] local.INFO: Processing buffer {"connection_id":106562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:47:36] local.INFO: IMEI packet received {"connection_id":106562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":106562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:47:37] local.INFO: TCP Data received {"connection_id":106560,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cd58b0012cf72d80070a63a0000d01422c..."} 
[2026-06-18 13:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cd58b0012cf72d80070a63a0000d01422c..."} 
[2026-06-18 13:47:37] local.INFO: Processing buffer {"connection_id":106560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cd58b0012cf72d80070a63a0000d01422c..."} 
[2026-06-18 13:47:37] local.INFO: Packet analysis {"connection_id":106560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:47:37] local.INFO: Extracted packet for processing {"connection_id":106560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":754396544,"raw_latitude":118121376,"longitude_deg":75.4396544,"latitude_deg":11.8121376,"altitude":13,"angle":322,"satellites":44,"speed":58,"hex_longitude":"2cf72d80","hex_latitude":"070a63a0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133265408001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318443619948167168,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-629448386431926272,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781770574000,"timestamp_ms":1781770574000,"timestamp_seconds":1781770574,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cd58b0"} 
[2026-06-18 13:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 13:47:37] 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-06-18 13: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-06-18 13:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133265408001,"66":28028,"30":206,"2":54272,"24":58,"16":318443619948167168,"44":-629448386431926272},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,2,24,16,44]} 
[2026-06-18 13:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133265408001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:47:37] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-18 13:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318443619948167168,"km_value":318443619948167.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-629448386431926272,"description":"Unknown IO ID 44"} 
[2026-06-18 13:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133265408001,"power":28028,"unknown_30":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-629448386431926272}} 
[2026-06-18 13:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":106560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:47:37] local.INFO: GPS data processed {"connection_id":106560,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:47:37] local.INFO: Acknowledgment sent {"connection_id":106560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:47:41] local.INFO: TCP Data received {"connection_id":106562,"ip":"117.224.23.106","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106562,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:47:41] local.INFO: Processing buffer {"connection_id":106562,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:47:41] local.INFO: IMEI packet received {"connection_id":106562,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":106562,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:47:43] local.INFO: TCP Data received {"connection_id":106562,"ip":"117.224.23.106","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c847d0012d180e4007218750004a00ad28..."} 
[2026-06-18 13:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c847d0012d180e4007218750004a00ad28..."} 
[2026-06-18 13:47:43] local.INFO: Processing buffer {"connection_id":106562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c847d0012d180e4007218750004a00ad28..."} 
[2026-06-18 13:47:43] local.INFO: Packet analysis {"connection_id":106562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:47:43] local.INFO: Extracted packet for processing {"connection_id":106562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756551232,"raw_latitude":119637840,"longitude_deg":75.6551232,"latitude_deg":11.963784,"altitude":74,"angle":173,"satellites":40,"speed":14,"hex_longitude":"2d180e40","hex_latitude":"07218750","is_valid_coordinates":true} 
[2026-06-18 13:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133181696001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357113942278144,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568467419136,"note":"Value kept but may cause issues"} 
[2026-06-18 13:47:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781770242000,"timestamp_ms":1781770242000,"timestamp_seconds":1781770242,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c847d0"} 
[2026-06-18 13:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-18 13:47:43] 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-06-18 13:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.23.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133181696001,"66":12928,"122":206,"28":31744,"24":14,"16":3357113942278144,"45":1733252568467419136},"client_ip":"117.224.23.106","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133181696001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:47:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:47:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357113942278144,"km_value":3357113942278.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568467419136,"description":"Unknown IO ID 45"} 
[2026-06-18 13:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133181696001,"power":12928,"unknown_122":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1733252568467419136}} 
[2026-06-18 13:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":106562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:47:43] local.INFO: GPS data processed {"connection_id":106562,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:47:43] local.INFO: Acknowledgment sent {"connection_id":106562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:48:12] local.INFO: TCP Data received {"connection_id":106560,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cd7408012cf71540070a8330000d01442c..."} 
[2026-06-18 13:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cd7408012cf71540070a8330000d01442c..."} 
[2026-06-18 13:48:12] local.INFO: Processing buffer {"connection_id":106560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cd7408012cf71540070a8330000d01442c..."} 
[2026-06-18 13:48:12] local.INFO: Packet analysis {"connection_id":106560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:48:12] local.INFO: Extracted packet for processing {"connection_id":106560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:48:12] local.INFO: GPS Element Parsed {"raw_longitude":754390336,"raw_latitude":118129456,"longitude_deg":75.4390336,"latitude_deg":11.8129456,"altitude":13,"angle":324,"satellites":44,"speed":56,"hex_longitude":"2cf71540","hex_latitude":"070a8330","is_valid_coordinates":true} 
[2026-06-18 13:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133266944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318444109574438912,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-635711204661944320,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781770581000,"timestamp_ms":1781770581000,"timestamp_seconds":1781770581,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cd7408"} 
[2026-06-18 13:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 13:48:12] 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-06-18 13:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133266944001,"66":28093,"30":206,"2":54272,"24":56,"16":318444109574438912,"44":-635711204661944320},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,2,24,16,44]} 
[2026-06-18 13:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133266944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:48:12] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-18 13:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318444109574438912,"km_value":318444109574438.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-635711204661944320,"description":"Unknown IO ID 44"} 
[2026-06-18 13:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133266944001,"power":28093,"unknown_30":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-635711204661944320}} 
[2026-06-18 13:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":106560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:48:12] local.INFO: GPS data processed {"connection_id":106560,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:48:12] local.INFO: Acknowledgment sent {"connection_id":106560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:48:14] local.INFO: TCP Data received {"connection_id":106562,"ip":"117.224.23.106","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c84bb8012d180dc0072185d8004a00b826..."} 
[2026-06-18 13:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c84bb8012d180dc0072185d8004a00b826..."} 
[2026-06-18 13:48:14] local.INFO: Processing buffer {"connection_id":106562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c84bb8012d180dc0072185d8004a00b826..."} 
[2026-06-18 13:48:14] local.INFO: Packet analysis {"connection_id":106562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:48:14] local.INFO: Extracted packet for processing {"connection_id":106562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756551104,"raw_latitude":119637464,"longitude_deg":75.6551104,"latitude_deg":11.9637464,"altitude":74,"angle":184,"satellites":38,"speed":15,"hex_longitude":"2d180dc0","hex_latitude":"072185d8","is_valid_coordinates":true} 
[2026-06-18 13:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133181952001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357131122147328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733393305955684352,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781770243000,"timestamp_ms":1781770243000,"timestamp_seconds":1781770243,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c84bb8"} 
[2026-06-18 13:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:48:14] 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-06-18 13:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-18 13:48:14] 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-06-18 13:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106562,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.23.106","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133181952001,"66":12950,"122":206,"28":31744,"24":15,"16":3357131122147328,"45":1733393305955684352},"client_ip":"117.224.23.106","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133181952001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:48:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:48:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357131122147328,"km_value":3357131122147.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733393305955684352,"description":"Unknown IO ID 45"} 
[2026-06-18 13:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133181952001,"power":12950,"unknown_122":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1733393305955684352}} 
[2026-06-18 13:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":106562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:48:14] local.INFO: GPS data processed {"connection_id":106562,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:48:14] local.INFO: Acknowledgment sent {"connection_id":106562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:48:25] local.INFO: TCP Data received {"connection_id":105796,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:25] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:25] local.INFO: IMEI packet received {"connection_id":105796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":105796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:48:27] local.INFO: TCP Data received {"connection_id":105796,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:27] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:27] local.INFO: IMEI packet received {"connection_id":105796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":105796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:48:29] local.INFO: TCP Data received {"connection_id":105796,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:29] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:48:29] local.INFO: IMEI packet received {"connection_id":105796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":105796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:48:32] local.INFO: TCP Data received {"connection_id":105796,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cd8f60012cf6fe00070aa150000c01432b..."} 
[2026-06-18 13:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cd8f60012cf6fe00070aa150000c01432b..."} 
[2026-06-18 13:48:32] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cd8f60012cf6fe00070aa150000c01432b..."} 
[2026-06-18 13:48:32] local.INFO: Packet analysis {"connection_id":105796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:48:32] local.INFO: Extracted packet for processing {"connection_id":105796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:48:32] local.INFO: GPS Element Parsed {"raw_longitude":754384384,"raw_latitude":118137168,"longitude_deg":75.4384384,"latitude_deg":11.8137168,"altitude":12,"angle":323,"satellites":43,"speed":54,"hex_longitude":"2cf6fe00","hex_latitude":"070aa150","is_valid_coordinates":true} 
[2026-06-18 13:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133268736001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318444577725874176,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-642536972845109248,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781770588000,"timestamp_ms":1781770588000,"timestamp_seconds":1781770588,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cd8f60"} 
[2026-06-18 13:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 13:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2444,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133268736001,"66":27908,"30":206,"2":54272,"24":54,"16":318444577725874176,"44":-642536972845109248},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,2,24,16,44]} 
[2026-06-18 13:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133268736001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:48:32] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-18 13:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318444577725874176,"km_value":318444577725874.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:48:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-642536972845109248,"description":"Unknown IO ID 44"} 
[2026-06-18 13:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133268736001,"power":27908,"unknown_30":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-642536972845109248}} 
[2026-06-18 13:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":105796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:48:32] local.INFO: GPS data processed {"connection_id":105796,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:48:32] local.INFO: Acknowledgment sent {"connection_id":105796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:48:37] local.INFO: TCP Data received {"connection_id":105796,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cdaab8012cf6e8c0070abf30000b01452b..."} 
[2026-06-18 13:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cdaab8012cf6e8c0070abf30000b01452b..."} 
[2026-06-18 13:48:37] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cdaab8012cf6e8c0070abf30000b01452b..."} 
[2026-06-18 13:48:37] local.INFO: Packet analysis {"connection_id":105796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:48:37] local.INFO: Extracted packet for processing {"connection_id":105796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cd"} 
[2026-06-18 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":754378944,"raw_latitude":118144816,"longitude_deg":75.4378944,"latitude_deg":11.8144816,"altitude":11,"angle":325,"satellites":43,"speed":52,"hex_longitude":"2cf6e8c0","hex_latitude":"070abf30","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133270528001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318445028697440256,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-649081266051657728,"note":"Value kept but may cause issues"} 
[2026-06-18 13:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781770595000,"timestamp_ms":1781770595000,"timestamp_seconds":1781770595,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cdaab8"} 
[2026-06-18 13:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 13:48: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-06-18 13: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-06-18 13:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133270528001,"66":27865,"30":206,"2":54272,"24":52,"16":318445028697440256,"44":-649081266051657728},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,2,24,16,44]} 
[2026-06-18 13:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133270528001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:48:37] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-06-18 13:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318445028697440256,"km_value":318445028697440.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:48:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-649081266051657728,"description":"Unknown IO ID 44"} 
[2026-06-18 13:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133270528001,"power":27865,"unknown_30":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-649081266051657728}} 
[2026-06-18 13:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":105796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:48:37] local.INFO: GPS data processed {"connection_id":105796,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:48:37] local.INFO: Acknowledgment sent {"connection_id":105796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:49:09] local.INFO: TCP Data received {"connection_id":105796,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cf1218012cf61840070b95e00009011428..."} 
[2026-06-18 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cf1218012cf61840070b95e00009011428..."} 
[2026-06-18 13:49:09] local.INFO: Processing buffer {"connection_id":105796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cf1218012cf61840070b95e00009011428..."} 
[2026-06-18 13:49:09] local.INFO: Packet analysis {"connection_id":105796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:49:09] local.INFO: Extracted packet for processing {"connection_id":105796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:49:09] local.INFO: GPS Element Parsed {"raw_longitude":754325568,"raw_latitude":118199776,"longitude_deg":75.4325568,"latitude_deg":11.8199776,"altitude":9,"angle":276,"satellites":40,"speed":11,"hex_longitude":"2cf61840","hex_latitude":"070b95e0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133294080001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318448769613955072,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-712342767051319296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781770687000,"timestamp_ms":1781770687000,"timestamp_seconds":1781770687,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cf1218"} 
[2026-06-18 13:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 13:49: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-06-18 13: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-06-18 13:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133294080001,"66":27984,"32":206,"2":54272,"24":11,"16":318448769613955072,"44":-712342767051319296},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-06-18 13:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133294080001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:49:09] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-18 13:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318448769613955072,"km_value":318448769613955.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:49:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-712342767051319296,"description":"Unknown IO ID 44"} 
[2026-06-18 13:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133294080001,"power":27984,"unknown_32":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-712342767051319296}} 
[2026-06-18 13:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":105796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:49:09] local.INFO: GPS data processed {"connection_id":105796,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:49:09] local.INFO: Acknowledgment sent {"connection_id":105796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:49:11] local.INFO: TCP Data received {"connection_id":105993,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:11] local.INFO: Processing buffer {"connection_id":105993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:11] local.INFO: IMEI packet received {"connection_id":105993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":105993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:49:16] local.INFO: TCP Data received {"connection_id":105993,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105993,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:16] local.INFO: Processing buffer {"connection_id":105993,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:16] local.INFO: IMEI packet received {"connection_id":105993,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":105993,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:49:18] local.INFO: TCP Data received {"connection_id":105993,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c85388012d180d40072182b0004a00c328..."} 
[2026-06-18 13:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c85388012d180d40072182b0004a00c328..."} 
[2026-06-18 13:49:18] local.INFO: Processing buffer {"connection_id":105993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c85388012d180d40072182b0004a00c328..."} 
[2026-06-18 13:49:18] local.INFO: Packet analysis {"connection_id":105993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:49:18] local.INFO: Extracted packet for processing {"connection_id":105993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756550976,"raw_latitude":119636656,"longitude_deg":75.6550976,"latitude_deg":11.9636656,"altitude":74,"angle":195,"satellites":40,"speed":15,"hex_longitude":"2d180d40","hex_latitude":"072182b0","is_valid_coordinates":true} 
[2026-06-18 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182208001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357174071820288,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733252568467232768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781770245000,"timestamp_ms":1781770245000,"timestamp_seconds":1781770245,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c85388"} 
[2026-06-18 13:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:49:18] 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-06-18 13:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 13:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":105993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":105993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":105993,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182208001,"66":12211,"122":206,"28":31744,"24":15,"16":3357174071820288,"45":1733252568467232768},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182208001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:49:18] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:49:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357174071820288,"km_value":3357174071820.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733252568467232768,"description":"Unknown IO ID 45"} 
[2026-06-18 13:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182208001,"power":12211,"unknown_122":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1733252568467232768}} 
[2026-06-18 13:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":105993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:49:18] local.INFO: GPS data processed {"connection_id":105993,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:49:18] local.INFO: Acknowledgment sent {"connection_id":105993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:49:25] local.INFO: TCP Data received {"connection_id":106564,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:49:25] local.INFO: Processing buffer {"connection_id":106564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:49:25] local.INFO: IMEI packet received {"connection_id":106564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":106564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:49:29] local.INFO: TCP Data received {"connection_id":106564,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:49:29] local.INFO: Processing buffer {"connection_id":106564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:49:29] local.INFO: IMEI packet received {"connection_id":106564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":106564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:49:31] local.INFO: TCP Data received {"connection_id":106564,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cf21b8012cf61540070b9670000a012727..."} 
[2026-06-18 13:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cf21b8012cf61540070b9670000a012727..."} 
[2026-06-18 13:49:31] local.INFO: Processing buffer {"connection_id":106564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cf21b8012cf61540070b9670000a012727..."} 
[2026-06-18 13:49:31] local.INFO: Packet analysis {"connection_id":106564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:49:31] local.INFO: Extracted packet for processing {"connection_id":106564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:49:31] local.INFO: GPS Element Parsed {"raw_longitude":754324800,"raw_latitude":118199920,"longitude_deg":75.43248,"latitude_deg":11.819992,"altitude":10,"angle":295,"satellites":39,"speed":7,"hex_longitude":"2cf61540","hex_latitude":"070b9670","is_valid_coordinates":true} 
[2026-06-18 13:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133295872001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318448803973693440,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-713750141934903296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781770691000,"timestamp_ms":1781770691000,"timestamp_seconds":1781770691,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cf21b8"} 
[2026-06-18 13:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-18 13:49:31] 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-06-18 13:49:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133295872001,"66":28017,"32":206,"2":54272,"24":7,"16":318448803973693440,"44":-713750141934903296},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-06-18 13:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133295872001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:49:31] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-18 13:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318448803973693440,"km_value":318448803973693.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:49:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-713750141934903296,"description":"Unknown IO ID 44"} 
[2026-06-18 13:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133295872001,"power":28017,"unknown_32":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-713750141934903296}} 
[2026-06-18 13:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":106564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:49:31] local.INFO: GPS data processed {"connection_id":106564,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:49:31] local.INFO: Acknowledgment sent {"connection_id":106564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:49:41] local.INFO: TCP Data received {"connection_id":107535,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:41] local.INFO: Processing buffer {"connection_id":107535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:41] local.INFO: IMEI packet received {"connection_id":107535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":107535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:49:46] local.INFO: TCP Data received {"connection_id":107535,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:46] local.INFO: Processing buffer {"connection_id":107535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:49:46] local.INFO: IMEI packet received {"connection_id":107535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":107535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:49:47] local.INFO: TCP Data received {"connection_id":107535,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:49:47] local.INFO: Processing buffer {"connection_id":107535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:49:47] local.INFO: Packet analysis {"connection_id":107535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:49:47] local.INFO: Extracted packet for processing {"connection_id":107535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:49:47] local.INFO: GPS Element Parsed {"raw_longitude":756550848,"raw_latitude":119636248,"longitude_deg":75.6550848,"latitude_deg":11.9636248,"altitude":74,"angle":198,"satellites":38,"speed":16,"hex_longitude":"2d180cc0","hex_latitude":"07218118","is_valid_coordinates":true} 
[2026-06-18 13:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182720001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733111830978670592,"note":"Value kept but may cause issues"} 
[2026-06-18 13:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781770246000,"timestamp_ms":1781770246000,"timestamp_seconds":1781770246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c85770"} 
[2026-06-18 13:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:49:47] 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-06-18 13:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:49:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182720001,"66":12211,"122":206,"28":31744,"24":16,"16":3357195546656768,"45":1733111830978670592},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182720001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:49:47] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:49:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733111830978670592,"description":"Unknown IO ID 45"} 
[2026-06-18 13:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182720001,"power":12211,"unknown_122":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1733111830978670592}} 
[2026-06-18 13:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":107535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:49:47] local.INFO: GPS data processed {"connection_id":107535,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:49:47] local.INFO: Acknowledgment sent {"connection_id":107535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:50:02] local.INFO: TCP Data received {"connection_id":106564,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cf5098012cf61200070b9b08000e015929..."} 
[2026-06-18 13:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cf5098012cf61200070b9b08000e015929..."} 
[2026-06-18 13:50:02] local.INFO: Processing buffer {"connection_id":106564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cf5098012cf61200070b9b08000e015929..."} 
[2026-06-18 13:50:02] local.INFO: Packet analysis {"connection_id":106564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:50:02] local.INFO: Extracted packet for processing {"connection_id":106564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:50:02] local.INFO: GPS Element Parsed {"raw_longitude":754323968,"raw_latitude":118201096,"longitude_deg":75.4323968,"latitude_deg":11.8201096,"altitude":14,"angle":345,"satellites":41,"speed":7,"hex_longitude":"2cf61200","hex_latitude":"070b9b08","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133296896001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318448881283104768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-714594566864998400,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781770703000,"timestamp_ms":1781770703000,"timestamp_seconds":1781770703,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cf5098"} 
[2026-06-18 13:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13: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-06-18 13:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-18 13:50:02] 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-06-18 13: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-06-18 13:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133296896001,"66":27876,"32":206,"2":54272,"24":7,"16":318448881283104768,"44":-714594566864998400},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-06-18 13:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133296896001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:50:02] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-18 13:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318448881283104768,"km_value":318448881283104.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:50:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-714594566864998400,"description":"Unknown IO ID 44"} 
[2026-06-18 13:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133296896001,"power":27876,"unknown_32":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-714594566864998400}} 
[2026-06-18 13:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":106564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:50:02] local.INFO: GPS data processed {"connection_id":106564,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:50:02] local.INFO: Acknowledgment sent {"connection_id":106564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:50:19] local.INFO: TCP Data received {"connection_id":107535,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:50:19] local.INFO: Processing buffer {"connection_id":107535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:50:19] local.INFO: Packet analysis {"connection_id":107535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:50:19] local.INFO: Extracted packet for processing {"connection_id":107535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756550848,"raw_latitude":119636248,"longitude_deg":75.6550848,"latitude_deg":11.9636248,"altitude":74,"angle":198,"satellites":38,"speed":16,"hex_longitude":"2d180cc0","hex_latitude":"07218118","is_valid_coordinates":true} 
[2026-06-18 13:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093490210816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781770246000,"timestamp_ms":1781770246000,"timestamp_seconds":1781770246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c85770"} 
[2026-06-18 13:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:50:19] 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-06-18 13:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":107535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":107535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":107535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182976001,"66":12211,"122":206,"28":31744,"24":16,"16":3357195546656768,"45":1732971093490210816},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:50:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:50:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093490210816,"description":"Unknown IO ID 45"} 
[2026-06-18 13:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182976001,"power":12211,"unknown_122":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1732971093490210816}} 
[2026-06-18 13:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":107535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:50:19] local.INFO: GPS data processed {"connection_id":107535,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:50:19] local.INFO: Acknowledgment sent {"connection_id":107535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:50:25] local.INFO: TCP Data received {"connection_id":106565,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:25] local.INFO: Processing buffer {"connection_id":106565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:25] local.INFO: IMEI packet received {"connection_id":106565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":106565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:50:27] local.INFO: TCP Data received {"connection_id":106565,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:27] local.INFO: Processing buffer {"connection_id":106565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:27] local.INFO: IMEI packet received {"connection_id":106565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":106565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:50:29] local.INFO: TCP Data received {"connection_id":106565,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:29] local.INFO: Processing buffer {"connection_id":106565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:50:29] local.INFO: IMEI packet received {"connection_id":106565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":106565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:50:31] local.INFO: TCP Data received {"connection_id":106565,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cf8f18012cf60ac0070bbe200009015928..."} 
[2026-06-18 13:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cf8f18012cf60ac0070bbe200009015928..."} 
[2026-06-18 13:50:31] local.INFO: Processing buffer {"connection_id":106565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cf8f18012cf60ac0070bbe200009015928..."} 
[2026-06-18 13:50:31] local.INFO: Packet analysis {"connection_id":106565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:50:31] local.INFO: Extracted packet for processing {"connection_id":106565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:50:31] local.INFO: GPS Element Parsed {"raw_longitude":754322112,"raw_latitude":118210080,"longitude_deg":75.4322112,"latitude_deg":11.821008,"altitude":9,"angle":345,"satellites":40,"speed":34,"hex_longitude":"2cf60ac0","hex_latitude":"070bbe20","is_valid_coordinates":true} 
[2026-06-18 13:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133299968001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318449323664736256,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-715509360539006976,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781770719000,"timestamp_ms":1781770719000,"timestamp_seconds":1781770719,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cf8f18"} 
[2026-06-18 13:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 13:50: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-06-18 13:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133299968001,"66":27995,"209":206,"2":54272,"24":34,"16":318449323664736256,"44":-715509360539006976},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-06-18 13:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133299968001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:50:31] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 13:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318449323664736256,"km_value":318449323664736.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-715509360539006976,"description":"Unknown IO ID 44"} 
[2026-06-18 13:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133299968001,"power":27995,"unknown_209":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-715509360539006976}} 
[2026-06-18 13:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":106565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:50:31] local.INFO: GPS data processed {"connection_id":106565,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:50:31] local.INFO: Acknowledgment sent {"connection_id":106565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:50:35] local.INFO: TCP Data received {"connection_id":106565,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9cfa2a0012cf60300070bcf680009014e26..."} 
[2026-06-18 13:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9cfa2a0012cf60300070bcf680009014e26..."} 
[2026-06-18 13:50:35] local.INFO: Processing buffer {"connection_id":106565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9cfa2a0012cf60300070bcf680009014e26..."} 
[2026-06-18 13:50:35] local.INFO: Packet analysis {"connection_id":106565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:50:35] local.INFO: Extracted packet for processing {"connection_id":106565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9cf"} 
[2026-06-18 13:50:35] local.INFO: GPS Element Parsed {"raw_longitude":754320128,"raw_latitude":118214504,"longitude_deg":75.4320128,"latitude_deg":11.8214504,"altitude":9,"angle":334,"satellites":38,"speed":40,"hex_longitude":"2cf60300","hex_latitude":"070bcf68","is_valid_coordinates":true} 
[2026-06-18 13:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:50:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133304064001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318449559887937536,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-717550054117859328,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:50:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781770724000,"timestamp_ms":1781770724000,"timestamp_seconds":1781770724,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9cfa2a0"} 
[2026-06-18 13:50:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:50:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:50:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:50: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-06-18 13:50:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:50:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:50:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:50:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:50:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:50:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:50:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:50:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:50:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:50:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133304064001,"66":27930,"209":206,"2":54272,"24":40,"16":318449559887937536,"44":-717550054117859328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-06-18 13:50:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:50:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:50:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133304064001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:50:35] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 13:50:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318449559887937536,"km_value":318449559887937.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:50:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-717550054117859328,"description":"Unknown IO ID 44"} 
[2026-06-18 13:50:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133304064001,"power":27930,"unknown_209":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-717550054117859328}} 
[2026-06-18 13:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":106565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:50:35] local.INFO: GPS data processed {"connection_id":106565,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:50:35] local.INFO: Acknowledgment sent {"connection_id":106565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:50:41] local.INFO: TCP Data received {"connection_id":107536,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:50:41] local.INFO: Processing buffer {"connection_id":107536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:50:41] local.INFO: IMEI packet received {"connection_id":107536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":107536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:50:46] local.INFO: TCP Data received {"connection_id":107536,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:50:46] local.INFO: Processing buffer {"connection_id":107536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:50:46] local.INFO: IMEI packet received {"connection_id":107536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":107536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:50:48] local.INFO: TCP Data received {"connection_id":107536,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:50:48] local.INFO: Processing buffer {"connection_id":107536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c85770012d180cc007218118004a00c626..."} 
[2026-06-18 13:50:48] local.INFO: Packet analysis {"connection_id":107536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:50:48] local.INFO: Extracted packet for processing {"connection_id":107536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756550848,"raw_latitude":119636248,"longitude_deg":75.6550848,"latitude_deg":11.9636248,"altitude":74,"angle":198,"satellites":38,"speed":16,"hex_longitude":"2d180cc0","hex_latitude":"07218118","is_valid_coordinates":true} 
[2026-06-18 13:50:48] 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-06-18 13:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093490210816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781770246000,"timestamp_ms":1781770246000,"timestamp_seconds":1781770246,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c85770"} 
[2026-06-18 13:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:50:48] 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-06-18 13: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182976001,"66":12211,"122":206,"28":31744,"24":16,"16":3357195546656768,"45":1732971093490210816},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:50:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:50:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093490210816,"description":"Unknown IO ID 45"} 
[2026-06-18 13:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182976001,"power":12211,"unknown_122":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1732971093490210816}} 
[2026-06-18 13:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":107536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:50:48] local.INFO: GPS data processed {"connection_id":107536,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:50:48] local.INFO: Acknowledgment sent {"connection_id":107536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:50:52] local.INFO: TCP Data received {"connection_id":107536,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:50:52] local.INFO: Processing buffer {"connection_id":107536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:50:52] local.INFO: Packet analysis {"connection_id":107536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:50:52] local.INFO: Extracted packet for processing {"connection_id":107536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119635048,"longitude_deg":75.6550528,"latitude_deg":11.9635048,"altitude":73,"angle":187,"satellites":38,"speed":0,"hex_longitude":"2d180b80","hex_latitude":"07217c68","is_valid_coordinates":true} 
[2026-06-18 13:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093490210816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781770249000,"timestamp_ms":1781770249000,"timestamp_seconds":1781770249,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c86328"} 
[2026-06-18 13:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:50:52] 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-06-18 13:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:50:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182976001,"66":2503,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732971093490210816},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:50:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:50:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093490210816,"description":"Unknown IO ID 45"} 
[2026-06-18 13:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182976001,"power":2503,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732971093490210816}} 
[2026-06-18 13:50:52] local.INFO: DEBUG: GPS processor result {"connection_id":107536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:50:52] local.INFO: GPS data processed {"connection_id":107536,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:50:52] local.INFO: Acknowledgment sent {"connection_id":107536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:51:07] local.INFO: TCP Data received {"connection_id":106565,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d10de8012cf548c0070d43e8000d015825..."} 
[2026-06-18 13:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d10de8012cf548c0070d43e8000d015825..."} 
[2026-06-18 13:51:07] local.INFO: Processing buffer {"connection_id":106565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d10de8012cf548c0070d43e8000d015825..."} 
[2026-06-18 13:51:07] local.INFO: Packet analysis {"connection_id":106565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:51:07] local.INFO: Extracted packet for processing {"connection_id":106565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:51:07] local.INFO: GPS Element Parsed {"raw_longitude":754272448,"raw_latitude":118309864,"longitude_deg":75.4272448,"latitude_deg":11.8309864,"altitude":13,"angle":344,"satellites":37,"speed":48,"hex_longitude":"2cf548c0","hex_latitude":"070d43e8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133327104001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318454748208431104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-768919237344423936,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781770817000,"timestamp_ms":1781770817000,"timestamp_seconds":1781770817,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d10de8"} 
[2026-06-18 13:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 13:51:07] 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-06-18 13: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-06-18 13:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133327104001,"66":27919,"35":206,"2":54272,"24":48,"16":318454748208431104,"44":-768919237344423936},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,2,24,16,44]} 
[2026-06-18 13:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133327104001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:51:07] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318454748208431104,"km_value":318454748208431.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:51:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-768919237344423936,"description":"Unknown IO ID 44"} 
[2026-06-18 13:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133327104001,"power":27919,"unknown_35":206,"power_alt":54272,"ignition":48,"odometer":null,"unknown_44":-768919237344423936}} 
[2026-06-18 13:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":106565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:51:07] local.INFO: GPS data processed {"connection_id":106565,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:51:07] local.INFO: Acknowledgment sent {"connection_id":106565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:51:24] local.INFO: TCP Data received {"connection_id":107537,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:24] local.INFO: Processing buffer {"connection_id":107537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:24] local.INFO: IMEI packet received {"connection_id":107537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":107537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:51:26] local.INFO: TCP Data received {"connection_id":107537,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:26] local.INFO: Processing buffer {"connection_id":107537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:26] local.INFO: IMEI packet received {"connection_id":107537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":107537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:51:28] local.INFO: TCP Data received {"connection_id":107537,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:28] local.INFO: Processing buffer {"connection_id":107537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:28] local.INFO: IMEI packet received {"connection_id":107537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":107537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:51:29] local.INFO: TCP Data received {"connection_id":107537,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:29] local.INFO: Processing buffer {"connection_id":107537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:51:29] local.INFO: IMEI packet received {"connection_id":107537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":107537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:51:30] local.INFO: TCP Data received {"connection_id":107537,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d12940012cf53e00070d6648000a015324..."} 
[2026-06-18 13:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d12940012cf53e00070d6648000a015324..."} 
[2026-06-18 13:51:30] local.INFO: Processing buffer {"connection_id":107537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d12940012cf53e00070d6648000a015324..."} 
[2026-06-18 13:51:30] local.INFO: Packet analysis {"connection_id":107537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:51:30] local.INFO: Extracted packet for processing {"connection_id":107537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:51:30] local.INFO: GPS Element Parsed {"raw_longitude":754269696,"raw_latitude":118318664,"longitude_deg":75.4269696,"latitude_deg":11.8318664,"altitude":10,"angle":339,"satellites":36,"speed":55,"hex_longitude":"2cf53e00","hex_latitude":"070d6648","is_valid_coordinates":true} 
[2026-06-18 13:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133329152001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318455194885029888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-772156199574181888,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781770824000,"timestamp_ms":1781770824000,"timestamp_seconds":1781770824,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d12940"} 
[2026-06-18 13:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:51: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-06-18 13:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133329152001,"66":27604,"35":206,"2":54272,"24":55,"16":318455194885029888,"44":-772156199574181888},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,2,24,16,44]} 
[2026-06-18 13:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133329152001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:51:30] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318455194885029888,"km_value":318455194885029.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-772156199574181888,"description":"Unknown IO ID 44"} 
[2026-06-18 13:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133329152001,"power":27604,"unknown_35":206,"power_alt":54272,"ignition":55,"odometer":null,"unknown_44":-772156199574181888}} 
[2026-06-18 13:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":107537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:51:30] local.INFO: GPS data processed {"connection_id":107537,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:51:30] local.INFO: Acknowledgment sent {"connection_id":107537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:51:31] local.INFO: TCP Data received {"connection_id":107537,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d138e0012cf53780070d7c10000a015f23..."} 
[2026-06-18 13:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d138e0012cf53780070d7c10000a015f23..."} 
[2026-06-18 13:51:31] local.INFO: Processing buffer {"connection_id":107537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d138e0012cf53780070d7c10000a015f23..."} 
[2026-06-18 13:51:31] local.INFO: Packet analysis {"connection_id":107537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:51:31] local.INFO: Extracted packet for processing {"connection_id":107537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:51:31] local.INFO: GPS Element Parsed {"raw_longitude":754268032,"raw_latitude":118324240,"longitude_deg":75.4268032,"latitude_deg":11.832424,"altitude":10,"angle":351,"satellites":35,"speed":60,"hex_longitude":"2cf53780","hex_latitude":"070d7c10","is_valid_coordinates":true} 
[2026-06-18 13:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133330944001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318455474057904128,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-775182055571568640,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781770828000,"timestamp_ms":1781770828000,"timestamp_seconds":1781770828,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d138e0"} 
[2026-06-18 13:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 13:51:31] 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-06-18 13:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133330944001,"66":27974,"35":206,"2":54272,"24":60,"16":318455474057904128,"44":-775182055571568640},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,2,24,16,44]} 
[2026-06-18 13:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133330944001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:51:31] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318455474057904128,"km_value":318455474057904.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-775182055571568640,"description":"Unknown IO ID 44"} 
[2026-06-18 13:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133330944001,"power":27974,"unknown_35":206,"power_alt":54272,"ignition":60,"odometer":null,"unknown_44":-775182055571568640}} 
[2026-06-18 13:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":107537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:51:31] local.INFO: GPS data processed {"connection_id":107537,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:51:31] local.INFO: Acknowledgment sent {"connection_id":107537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:51:36] local.INFO: TCP Data received {"connection_id":107538,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:51:36] local.INFO: Processing buffer {"connection_id":107538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:51:36] local.INFO: IMEI packet received {"connection_id":107538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:51:36] local.INFO: IMEI acknowledgment sent {"connection_id":107538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:51:41] local.INFO: TCP Data received {"connection_id":107538,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:51:41] local.INFO: Processing buffer {"connection_id":107538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:51:41] local.INFO: IMEI packet received {"connection_id":107538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:51:41] local.INFO: IMEI acknowledgment sent {"connection_id":107538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:51:42] local.INFO: TCP Data received {"connection_id":107538,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:51:42] local.INFO: Processing buffer {"connection_id":107538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:51:42] local.INFO: Packet analysis {"connection_id":107538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:51:42] local.INFO: Extracted packet for processing {"connection_id":107538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119635048,"longitude_deg":75.6550528,"latitude_deg":11.9635048,"altitude":73,"angle":187,"satellites":38,"speed":0,"hex_longitude":"2d180b80","hex_latitude":"07217c68","is_valid_coordinates":true} 
[2026-06-18 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093490210816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781770249000,"timestamp_ms":1781770249000,"timestamp_seconds":1781770249,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c86328"} 
[2026-06-18 13:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182976001,"66":2503,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732971093490210816},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:51:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093490210816,"description":"Unknown IO ID 45"} 
[2026-06-18 13:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182976001,"power":2503,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732971093490210816}} 
[2026-06-18 13:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":107538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:51:42] local.INFO: GPS data processed {"connection_id":107538,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:51:42] local.INFO: Acknowledgment sent {"connection_id":107538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:52:07] local.INFO: TCP Data received {"connection_id":107537,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d1cd50012cf4f040070df7980013014b27..."} 
[2026-06-18 13:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d1cd50012cf4f040070df7980013014b27..."} 
[2026-06-18 13:52:07] local.INFO: Processing buffer {"connection_id":107537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d1cd50012cf4f040070df7980013014b27..."} 
[2026-06-18 13:52:07] local.INFO: Packet analysis {"connection_id":107537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:52:07] local.INFO: Extracted packet for processing {"connection_id":107537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:52:07] local.INFO: GPS Element Parsed {"raw_longitude":754249792,"raw_latitude":118355864,"longitude_deg":75.4249792,"latitude_deg":11.8355864,"altitude":19,"angle":331,"satellites":39,"speed":34,"hex_longitude":"2cf4f040","hex_latitude":"070df798","is_valid_coordinates":true} 
[2026-06-18 13:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133341440001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318457522757304320,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-796574153792243712,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781770866000,"timestamp_ms":1781770866000,"timestamp_seconds":1781770866,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d1cd50"} 
[2026-06-18 13:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 13:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:52:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133341440001,"66":27974,"35":206,"2":54272,"24":34,"16":318457522757304320,"44":-796574153792243712},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,2,24,16,44]} 
[2026-06-18 13:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133341440001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:52:07] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 13:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318457522757304320,"km_value":318457522757304.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:52:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-796574153792243712,"description":"Unknown IO ID 44"} 
[2026-06-18 13:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133341440001,"power":27974,"unknown_35":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-796574153792243712}} 
[2026-06-18 13:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":107537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:52:07] local.INFO: GPS data processed {"connection_id":107537,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:52:07] local.INFO: Acknowledgment sent {"connection_id":107537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:52:15] local.INFO: TCP Data received {"connection_id":107538,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:52:15] local.INFO: Processing buffer {"connection_id":107538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:52:15] local.INFO: Packet analysis {"connection_id":107538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:52:15] local.INFO: Extracted packet for processing {"connection_id":107538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:52:15] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119635048,"longitude_deg":75.6550528,"latitude_deg":11.9635048,"altitude":73,"angle":187,"satellites":38,"speed":0,"hex_longitude":"2d180b80","hex_latitude":"07217c68","is_valid_coordinates":true} 
[2026-06-18 13:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093490210816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781770249000,"timestamp_ms":1781770249000,"timestamp_seconds":1781770249,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c86328"} 
[2026-06-18 13:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:52:15] 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-06-18 13:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:52:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:52:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182976001,"66":2503,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732971093490210816},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:52:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:52:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093490210816,"description":"Unknown IO ID 45"} 
[2026-06-18 13:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182976001,"power":2503,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732971093490210816}} 
[2026-06-18 13:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":107538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:52:15] local.INFO: GPS data processed {"connection_id":107538,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:52:15] local.INFO: Acknowledgment sent {"connection_id":107538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:52:24] local.INFO: TCP Data received {"connection_id":106567,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:52:25] local.INFO: Processing buffer {"connection_id":106567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:52:25] local.INFO: IMEI packet received {"connection_id":106567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":106567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:52:30] local.INFO: TCP Data received {"connection_id":106567,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:52:30] local.INFO: Processing buffer {"connection_id":106567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:52:30] local.INFO: IMEI packet received {"connection_id":106567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":106567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:52:32] local.INFO: TCP Data received {"connection_id":106567,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d1ec90012cf4e300070e0f900014013a25..."} 
[2026-06-18 13:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d1ec90012cf4e300070e0f900014013a25..."} 
[2026-06-18 13:52:32] local.INFO: Processing buffer {"connection_id":106567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d1ec90012cf4e300070e0f900014013a25..."} 
[2026-06-18 13:52:32] local.INFO: Packet analysis {"connection_id":106567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:52:32] local.INFO: Extracted packet for processing {"connection_id":106567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d1"} 
[2026-06-18 13:52:32] local.INFO: GPS Element Parsed {"raw_longitude":754246400,"raw_latitude":118362000,"longitude_deg":75.42464,"latitude_deg":11.8362,"altitude":20,"angle":314,"satellites":37,"speed":35,"hex_longitude":"2cf4e300","hex_latitude":"070e0f90","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133341696001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318457862059720704,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-797066735001298944,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781770874000,"timestamp_ms":1781770874000,"timestamp_seconds":1781770874,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d1ec90"} 
[2026-06-18 13:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:52: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-06-18 13: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-06-18 13:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133341696001,"66":27995,"213":206,"2":54272,"24":35,"16":318457862059720704,"44":-797066735001298944},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-06-18 13:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133341696001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:52:32] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 13:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318457862059720704,"km_value":318457862059720.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:52:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-797066735001298944,"description":"Unknown IO ID 44"} 
[2026-06-18 13:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133341696001,"power":27995,"unknown_213":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-797066735001298944}} 
[2026-06-18 13:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":106567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:52:32] local.INFO: GPS data processed {"connection_id":106567,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:52:32] local.INFO: Acknowledgment sent {"connection_id":106567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:52:36] local.INFO: TCP Data received {"connection_id":107540,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:52:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:52:36] local.INFO: Processing buffer {"connection_id":107540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:52:36] local.INFO: IMEI packet received {"connection_id":107540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:52:36] local.INFO: IMEI acknowledgment sent {"connection_id":107540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:52:41] local.INFO: TCP Data received {"connection_id":107540,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107540,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:52:41] local.INFO: Processing buffer {"connection_id":107540,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:52:41] local.INFO: IMEI packet received {"connection_id":107540,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":107540,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:52:43] local.INFO: TCP Data received {"connection_id":107540,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:52:43] local.INFO: Processing buffer {"connection_id":107540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:52:43] local.INFO: Packet analysis {"connection_id":107540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:52:43] local.INFO: Extracted packet for processing {"connection_id":107540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:52:43] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119635048,"longitude_deg":75.6550528,"latitude_deg":11.9635048,"altitude":73,"angle":187,"satellites":38,"speed":0,"hex_longitude":"2d180b80","hex_latitude":"07217c68","is_valid_coordinates":true} 
[2026-06-18 13:52: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-06-18 13:52:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093490210816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:52:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:52:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781770249000,"timestamp_ms":1781770249000,"timestamp_seconds":1781770249,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c86328"} 
[2026-06-18 13:52:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:52:43] 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-06-18 13:52:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:52:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:52: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-06-18 13:52:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:52:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:52:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:52:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:52:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:52:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:52:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:52:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:52:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182976001,"66":2503,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732971093490210816},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:52:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:52:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:52:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:52:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:52:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:52:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:52:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093490210816,"description":"Unknown IO ID 45"} 
[2026-06-18 13:52:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182976001,"power":2503,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732971093490210816}} 
[2026-06-18 13:52:43] local.INFO: DEBUG: GPS processor result {"connection_id":107540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:52:43] local.INFO: GPS data processed {"connection_id":107540,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:52:43] local.INFO: Acknowledgment sent {"connection_id":107540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:53:03] local.INFO: TCP Data received {"connection_id":106567,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d20400012cf4d3c0070e1bc80016012f20..."} 
[2026-06-18 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d20400012cf4d3c0070e1bc80016012f20..."} 
[2026-06-18 13:53:03] local.INFO: Processing buffer {"connection_id":106567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d20400012cf4d3c0070e1bc80016012f20..."} 
[2026-06-18 13:53:03] local.INFO: Packet analysis {"connection_id":106567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d2"} 
[2026-06-18 13:53:03] local.INFO: Extracted packet for processing {"connection_id":106567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d2"} 
[2026-06-18 13:53:03] local.INFO: GPS Element Parsed {"raw_longitude":754242496,"raw_latitude":118365128,"longitude_deg":75.4242496,"latitude_deg":11.8365128,"altitude":22,"angle":303,"satellites":32,"speed":30,"hex_longitude":"2cf4d3c0","hex_latitude":"070e1bc8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133343744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318458102577889280,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-800796278441144320,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781770880000,"timestamp_ms":1781770880000,"timestamp_seconds":1781770880,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d20400"} 
[2026-06-18 13:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:53: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-06-18 13: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 13:53: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-06-18 13: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-06-18 13:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133343744001,"66":28082,"213":206,"2":54272,"24":30,"16":318458102577889280,"44":-800796278441144320},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-06-18 13:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133343744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:53:03] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 13:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318458102577889280,"km_value":318458102577889.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:53:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-800796278441144320,"description":"Unknown IO ID 44"} 
[2026-06-18 13:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133343744001,"power":28082,"unknown_213":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-800796278441144320}} 
[2026-06-18 13:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":106567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:53:03] local.INFO: GPS data processed {"connection_id":106567,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:53:03] local.INFO: Acknowledgment sent {"connection_id":106567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:53:04] local.INFO: TCP Data received {"connection_id":107539,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:53:04] local.INFO: Processing buffer {"connection_id":107539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:53:04] local.INFO: IMEI packet received {"connection_id":107539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":107539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:53:14] local.INFO: TCP Data received {"connection_id":107540,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:53:14] local.INFO: Processing buffer {"connection_id":107540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:53:14] local.INFO: Packet analysis {"connection_id":107540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:53:14] local.INFO: Extracted packet for processing {"connection_id":107540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:53:14] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119635048,"longitude_deg":75.6550528,"latitude_deg":11.9635048,"altitude":73,"angle":187,"satellites":38,"speed":0,"hex_longitude":"2d180b80","hex_latitude":"07217c68","is_valid_coordinates":true} 
[2026-06-18 13:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093490210816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781770249000,"timestamp_ms":1781770249000,"timestamp_seconds":1781770249,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c86328"} 
[2026-06-18 13:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:53:14] 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-06-18 13:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107540,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182976001,"66":2503,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732971093490210816},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:53:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:53:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093490210816,"description":"Unknown IO ID 45"} 
[2026-06-18 13:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182976001,"power":2503,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732971093490210816}} 
[2026-06-18 13:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":107540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:53:14] local.INFO: GPS data processed {"connection_id":107540,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:53:14] local.INFO: Acknowledgment sent {"connection_id":107540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:53:24] local.INFO: TCP Data received {"connection_id":105798,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:53:24] local.INFO: Processing buffer {"connection_id":105798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:53:24] local.INFO: IMEI packet received {"connection_id":105798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":105798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:53:30] local.INFO: TCP Data received {"connection_id":105798,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:53:30] local.INFO: Processing buffer {"connection_id":105798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:53:30] local.INFO: IMEI packet received {"connection_id":105798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":105798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:53:31] local.INFO: TCP Data received {"connection_id":105798,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d232e0012cf4b840070e3120001b014624..."} 
[2026-06-18 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d232e0012cf4b840070e3120001b014624..."} 
[2026-06-18 13:53:31] local.INFO: Processing buffer {"connection_id":105798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d232e0012cf4b840070e3120001b014624..."} 
[2026-06-18 13:53:31] local.INFO: Packet analysis {"connection_id":105798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d2"} 
[2026-06-18 13:53:31] local.INFO: Extracted packet for processing {"connection_id":105798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d2"} 
[2026-06-18 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":754235456,"raw_latitude":118370592,"longitude_deg":75.4235456,"latitude_deg":11.8370592,"altitude":27,"angle":326,"satellites":36,"speed":25,"hex_longitude":"2cf4b840","hex_latitude":"070e3120","is_valid_coordinates":true} 
[2026-06-18 13:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133345280001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318458527779651584,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-805088771835181056,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781770892000,"timestamp_ms":1781770892000,"timestamp_seconds":1781770892,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d232e0"} 
[2026-06-18 13:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 13:53:31] 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-06-18 13:53:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133345280001,"66":27974,"213":206,"2":54272,"24":25,"16":318458527779651584,"44":-805088771835181056},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,2,24,16,44]} 
[2026-06-18 13:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133345280001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:53:31] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 13:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318458527779651584,"km_value":318458527779651.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:53:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-805088771835181056,"description":"Unknown IO ID 44"} 
[2026-06-18 13:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133345280001,"power":27974,"unknown_213":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-805088771835181056}} 
[2026-06-18 13:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":105798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:53:31] local.INFO: GPS data processed {"connection_id":105798,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:53:31] local.INFO: Acknowledgment sent {"connection_id":105798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:53:36] local.INFO: TCP Data received {"connection_id":105800,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:53:36] local.INFO: Processing buffer {"connection_id":105800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:53:36] local.INFO: IMEI packet received {"connection_id":105800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":105800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:53:39] local.INFO: TCP Data received {"connection_id":105799,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:53:39] local.INFO: Processing buffer {"connection_id":105799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:53:39] local.INFO: IMEI packet received {"connection_id":105799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":105799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:53:41] local.INFO: TCP Data received {"connection_id":105800,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:53:41] local.INFO: Processing buffer {"connection_id":105800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:53:41] local.INFO: IMEI packet received {"connection_id":105800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":105800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:53:42] local.INFO: TCP Data received {"connection_id":105800,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:53:42] local.INFO: Processing buffer {"connection_id":105800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9c86328012d180b8007217c68004900bb26..."} 
[2026-06-18 13:53:42] local.INFO: Packet analysis {"connection_id":105800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:53:42] local.INFO: Extracted packet for processing {"connection_id":105800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9c8"} 
[2026-06-18 13:53:42] local.INFO: GPS Element Parsed {"raw_longitude":756550528,"raw_latitude":119635048,"longitude_deg":75.6550528,"latitude_deg":11.9635048,"altitude":73,"angle":187,"satellites":38,"speed":0,"hex_longitude":"2d180b80","hex_latitude":"07217c68","is_valid_coordinates":true} 
[2026-06-18 13:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133182976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732971093490210816,"note":"Value kept but may cause issues"} 
[2026-06-18 13:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781770249000,"timestamp_ms":1781770249000,"timestamp_seconds":1781770249,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9c86328"} 
[2026-06-18 13:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 13:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133182976001,"66":2503,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732971093490210816},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133182976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:53:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732971093490210816,"description":"Unknown IO ID 45"} 
[2026-06-18 13:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133182976001,"power":2503,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732971093490210816}} 
[2026-06-18 13:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":105800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:53:42] local.INFO: GPS data processed {"connection_id":105800,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:53:42] local.INFO: Acknowledgment sent {"connection_id":105800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:54:03] local.INFO: TCP Data received {"connection_id":105798,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d382d0012cf42fc0070ee9f0002d016226..."} 
[2026-06-18 13:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d382d0012cf42fc0070ee9f0002d016226..."} 
[2026-06-18 13:54:03] local.INFO: Processing buffer {"connection_id":105798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d382d0012cf42fc0070ee9f0002d016226..."} 
[2026-06-18 13:54:03] local.INFO: Packet analysis {"connection_id":105798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:03] local.INFO: Extracted packet for processing {"connection_id":105798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:03] local.INFO: GPS Element Parsed {"raw_longitude":754200512,"raw_latitude":118417904,"longitude_deg":75.4200512,"latitude_deg":11.8417904,"altitude":45,"angle":354,"satellites":38,"speed":38,"hex_longitude":"2cf42fc0","hex_latitude":"070ee9f0","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133369856001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318461426882576384,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-850758086793472000,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781770978000,"timestamp_ms":1781770978000,"timestamp_seconds":1781770978,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d382d0"} 
[2026-06-18 13:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:54: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-06-18 13:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 13:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133369856001,"66":27626,"215":206,"2":54272,"24":38,"16":318461426882576384,"44":-850758086793472000},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 13:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133369856001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:54:03] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 13:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318461426882576384,"km_value":318461426882576.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:54:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-850758086793472000,"description":"Unknown IO ID 44"} 
[2026-06-18 13:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133369856001,"power":27626,"unknown_215":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-850758086793472000}} 
[2026-06-18 13:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":105798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:54:03] local.INFO: GPS data processed {"connection_id":105798,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:54:03] local.INFO: Acknowledgment sent {"connection_id":105798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:54:14] local.INFO: TCP Data received {"connection_id":105800,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:14] local.INFO: Processing buffer {"connection_id":105800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:14] local.INFO: Packet analysis {"connection_id":105800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:14] local.INFO: Extracted packet for processing {"connection_id":105800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:54:14] 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-06-18 13:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:54:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:54:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":105800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:54:14] local.INFO: GPS data processed {"connection_id":105800,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:54:14] local.INFO: Acknowledgment sent {"connection_id":105800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:54:26] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:26] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:26] local.INFO: IMEI packet received {"connection_id":105995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":105995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:54:30] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:30] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:30] local.INFO: IMEI packet received {"connection_id":105995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:54:30] local.INFO: IMEI acknowledgment sent {"connection_id":105995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:54:34] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:34] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:54:34] local.INFO: IMEI packet received {"connection_id":105995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":105995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:54:35] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3adc8012cf42c40070f0998002c015628..."} 
[2026-06-18 13:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3adc8012cf42c40070f0998002c015628..."} 
[2026-06-18 13:54:35] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3adc8012cf42c40070f0998002c015628..."} 
[2026-06-18 13:54:35] local.INFO: Packet analysis {"connection_id":105995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:35] local.INFO: Extracted packet for processing {"connection_id":105995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:35] local.INFO: GPS Element Parsed {"raw_longitude":754199616,"raw_latitude":118426008,"longitude_deg":75.4199616,"latitude_deg":11.8426008,"altitude":44,"angle":342,"satellites":40,"speed":30,"hex_longitude":"2cf42c40","hex_latitude":"070f0998","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133370368001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318461826314534912,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-851250668002217984,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781770989000,"timestamp_ms":1781770989000,"timestamp_seconds":1781770989,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3adc8"} 
[2026-06-18 13:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 13:54:35] 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-06-18 13: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-06-18 13:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133370368001,"66":27974,"215":206,"2":54272,"24":30,"16":318461826314534912,"44":-851250668002217984},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 13:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133370368001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:54:35] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 13:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318461826314534912,"km_value":318461826314534.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-851250668002217984,"description":"Unknown IO ID 44"} 
[2026-06-18 13:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133370368001,"power":27974,"unknown_215":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-851250668002217984}} 
[2026-06-18 13:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":105995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:54:35] local.INFO: GPS data processed {"connection_id":105995,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:54:35] local.INFO: Acknowledgment sent {"connection_id":105995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:54:37] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3d4d8012cf41fc0070f2ac80028015325..."} 
[2026-06-18 13:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3d4d8012cf41fc0070f2ac80028015325..."} 
[2026-06-18 13:54:37] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3d4d8012cf41fc0070f2ac80028015325..."} 
[2026-06-18 13:54:37] local.INFO: Packet analysis {"connection_id":105995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:37] local.INFO: Extracted packet for processing {"connection_id":105995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":754196416,"raw_latitude":118434504,"longitude_deg":75.4196416,"latitude_deg":11.8434504,"altitude":40,"angle":339,"satellites":37,"speed":37,"hex_longitude":"2cf41fc0","hex_latitude":"070f2ac8","is_valid_coordinates":true} 
[2026-06-18 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133373184001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318462264401199104,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-852235830418630656,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781770999000,"timestamp_ms":1781770999000,"timestamp_seconds":1781770999,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3d4d8"} 
[2026-06-18 13:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 13:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133373184001,"66":27843,"215":206,"2":54272,"24":37,"16":318462264401199104,"44":-852235830418630656},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 13:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133373184001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:54:37] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 13:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318462264401199104,"km_value":318462264401199.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:54:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-852235830418630656,"description":"Unknown IO ID 44"} 
[2026-06-18 13:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133373184001,"power":27843,"unknown_215":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-852235830418630656}} 
[2026-06-18 13:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":105995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:54:37] local.INFO: GPS data processed {"connection_id":105995,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:54:37] local.INFO: Acknowledgment sent {"connection_id":105995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:54:41] local.INFO: TCP Data received {"connection_id":107541,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:54:41] local.INFO: Processing buffer {"connection_id":107541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:54:41] local.INFO: IMEI packet received {"connection_id":107541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":107541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:54:46] local.INFO: TCP Data received {"connection_id":107541,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107541,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:54:46] local.INFO: Processing buffer {"connection_id":107541,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:54:46] local.INFO: IMEI packet received {"connection_id":107541,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":107541,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:54:48] local.INFO: TCP Data received {"connection_id":107541,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:48] local.INFO: Processing buffer {"connection_id":107541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:48] local.INFO: Packet analysis {"connection_id":107541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:48] local.INFO: Extracted packet for processing {"connection_id":107541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:54:48] 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-06-18 13:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:54:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":107541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:54:48] local.INFO: GPS data processed {"connection_id":107541,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:54:48] local.INFO: Acknowledgment sent {"connection_id":107541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:54:52] local.INFO: TCP Data received {"connection_id":107541,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:52] local.INFO: Processing buffer {"connection_id":107541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:54:52] local.INFO: Packet analysis {"connection_id":107541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:52] local.INFO: Extracted packet for processing {"connection_id":107541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:54:52] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:54:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:54:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:54:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:54:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:54:52] 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-06-18 13:54:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:54:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:54:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:54:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:54:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:54:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:54:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:54:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107541,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:54:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:54:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:54:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:54:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:54:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:54:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:54:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:54:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:54:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:54:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:54:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:54:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:54:52] local.INFO: DEBUG: GPS processor result {"connection_id":107541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:54:52] local.INFO: GPS data processed {"connection_id":107541,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:54:52] local.INFO: Acknowledgment sent {"connection_id":107541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:55:08] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3ffd0012cf41100070f4da00025014e27..."} 
[2026-06-18 13:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3ffd0012cf41100070f4da00025014e27..."} 
[2026-06-18 13:55:08] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3ffd0012cf41100070f4da00025014e27..."} 
[2026-06-18 13:55:08] local.INFO: Packet analysis {"connection_id":105995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:55:08] local.INFO: Extracted packet for processing {"connection_id":105995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:55:08] local.INFO: GPS Element Parsed {"raw_longitude":754192640,"raw_latitude":118443424,"longitude_deg":75.419264,"latitude_deg":11.8443424,"altitude":37,"angle":334,"satellites":39,"speed":39,"hex_longitude":"2cf41100","hex_latitude":"070f4da0","is_valid_coordinates":true} 
[2026-06-18 13:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133375744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318462732552634368,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-855754267625338880,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781771010000,"timestamp_ms":1781771010000,"timestamp_seconds":1781771010,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3ffd0"} 
[2026-06-18 13:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 13:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133375744001,"66":27930,"215":206,"2":54272,"24":39,"16":318462732552634368,"44":-855754267625338880},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 13:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133375744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:55:08] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 13:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318462732552634368,"km_value":318462732552634.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:55:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-855754267625338880,"description":"Unknown IO ID 44"} 
[2026-06-18 13:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133375744001,"power":27930,"unknown_215":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-855754267625338880}} 
[2026-06-18 13:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":105995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:55:08] local.INFO: GPS data processed {"connection_id":105995,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:55:08] local.INFO: Acknowledgment sent {"connection_id":105995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:55:25] local.INFO: TCP Data received {"connection_id":107542,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:55:25] local.INFO: Processing buffer {"connection_id":107542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:55:25] local.INFO: IMEI packet received {"connection_id":107542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":107542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:55:27] local.INFO: TCP Data received {"connection_id":107542,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:55:27] local.INFO: Processing buffer {"connection_id":107542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:55:27] local.INFO: IMEI packet received {"connection_id":107542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":107542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:55:28] local.INFO: TCP Data received {"connection_id":107542,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d422f8012cf40140070f70b80026014f24..."} 
[2026-06-18 13:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d422f8012cf40140070f70b80026014f24..."} 
[2026-06-18 13:55:28] local.INFO: Processing buffer {"connection_id":107542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d422f8012cf40140070f70b80026014f24..."} 
[2026-06-18 13:55:28] local.INFO: Packet analysis {"connection_id":107542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d4"} 
[2026-06-18 13:55:28] local.INFO: Extracted packet for processing {"connection_id":107542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d4"} 
[2026-06-18 13:55:28] local.INFO: GPS Element Parsed {"raw_longitude":754188608,"raw_latitude":118452408,"longitude_deg":75.4188608,"latitude_deg":11.8452408,"altitude":38,"angle":335,"satellites":36,"speed":43,"hex_longitude":"2cf40140","hex_latitude":"070f70b8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133378560001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318463209294004224,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-859906023529537536,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781771019000,"timestamp_ms":1781771019000,"timestamp_seconds":1781771019,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d422f8"} 
[2026-06-18 13:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 13: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 13:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133378560001,"66":28006,"110":206,"2":54272,"24":43,"16":318463209294004224,"44":-859906023529537536},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-06-18 13:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133378560001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:55:28] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 13:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318463209294004224,"km_value":318463209294004.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:55:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-859906023529537536,"description":"Unknown IO ID 44"} 
[2026-06-18 13:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133378560001,"power":28006,"unknown_110":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-859906023529537536}} 
[2026-06-18 13:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":107542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:55:28] local.INFO: GPS data processed {"connection_id":107542,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:55:28] local.INFO: Acknowledgment sent {"connection_id":107542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:55:30] local.INFO: TCP Data received {"connection_id":107542,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d44620012cf3f300070f93d80028015627..."} 
[2026-06-18 13:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d44620012cf3f300070f93d80028015627..."} 
[2026-06-18 13:55:30] local.INFO: Processing buffer {"connection_id":107542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d44620012cf3f300070f93d80028015627..."} 
[2026-06-18 13:55:30] local.INFO: Packet analysis {"connection_id":107542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d4"} 
[2026-06-18 13:55:30] local.INFO: Extracted packet for processing {"connection_id":107542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d4"} 
[2026-06-18 13:55:30] local.INFO: GPS Element Parsed {"raw_longitude":754184960,"raw_latitude":118461400,"longitude_deg":75.418496,"latitude_deg":11.84614,"altitude":40,"angle":342,"satellites":39,"speed":43,"hex_longitude":"2cf3f300","hex_latitude":"070f93d8","is_valid_coordinates":true} 
[2026-06-18 13:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133380864001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318463677445439488,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-864339254410430464,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781771028000,"timestamp_ms":1781771028000,"timestamp_seconds":1781771028,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d44620"} 
[2026-06-18 13:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:55: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-06-18 13:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 13:55:30] 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-06-18 13:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133380864001,"66":27071,"110":206,"2":54272,"24":43,"16":318463677445439488,"44":-864339254410430464},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-06-18 13:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133380864001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:55:30] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 13:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318463677445439488,"km_value":318463677445439.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-864339254410430464,"description":"Unknown IO ID 44"} 
[2026-06-18 13:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133380864001,"power":27071,"unknown_110":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-864339254410430464}} 
[2026-06-18 13:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":107542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:55:30] local.INFO: GPS data processed {"connection_id":107542,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:55:30] local.INFO: Acknowledgment sent {"connection_id":107542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:55:36] local.INFO: TCP Data received {"connection_id":105801,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:55:36] local.INFO: Processing buffer {"connection_id":105801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:55:36] local.INFO: IMEI packet received {"connection_id":105801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":105801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:55:41] local.INFO: TCP Data received {"connection_id":105801,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105801,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:55:41] local.INFO: Processing buffer {"connection_id":105801,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:55:41] local.INFO: IMEI packet received {"connection_id":105801,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":105801,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:55:42] local.INFO: TCP Data received {"connection_id":105801,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:55:42] local.INFO: Processing buffer {"connection_id":105801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:55:42] local.INFO: Packet analysis {"connection_id":105801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:55:42] local.INFO: Extracted packet for processing {"connection_id":105801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:55:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:55:42] 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-06-18 13:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:55:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:55:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":105801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:55:42] local.INFO: GPS data processed {"connection_id":105801,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:55:42] local.INFO: Acknowledgment sent {"connection_id":105801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:56:03] local.INFO: TCP Data received {"connection_id":107542,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d5b168012cf347800710c1980029012f28..."} 
[2026-06-18 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d5b168012cf347800710c1980029012f28..."} 
[2026-06-18 13:56:03] local.INFO: Processing buffer {"connection_id":107542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d5b168012cf347800710c1980029012f28..."} 
[2026-06-18 13:56:03] local.INFO: Packet analysis {"connection_id":107542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d5"} 
[2026-06-18 13:56:03] local.INFO: Extracted packet for processing {"connection_id":107542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d5"} 
[2026-06-18 13:56:03] local.INFO: GPS Element Parsed {"raw_longitude":754141056,"raw_latitude":118538648,"longitude_deg":75.4141056,"latitude_deg":11.8538648,"altitude":41,"angle":303,"satellites":40,"speed":20,"hex_longitude":"2cf34780","hex_latitude":"0710c198","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133405952001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318468114146656256,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-914230694010861568,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781771121000,"timestamp_ms":1781771121000,"timestamp_seconds":1781771121,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d5b168"} 
[2026-06-18 13:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:56: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-06-18 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 13:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133405952001,"66":27919,"46":206,"2":54272,"24":20,"16":318468114146656256,"44":-914230694010861568},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,2,24,16,44]} 
[2026-06-18 13:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133405952001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:56:03] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-18 13:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318468114146656256,"km_value":318468114146656.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:56:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-914230694010861568,"description":"Unknown IO ID 44"} 
[2026-06-18 13:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133405952001,"power":27919,"unknown_46":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-914230694010861568}} 
[2026-06-18 13:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":107542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:56:03] local.INFO: GPS data processed {"connection_id":107542,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:56:03] local.INFO: Acknowledgment sent {"connection_id":107542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:56:14] local.INFO: TCP Data received {"connection_id":105801,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:56:14] local.INFO: Processing buffer {"connection_id":105801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:56:14] local.INFO: Packet analysis {"connection_id":105801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:56:14] local.INFO: Extracted packet for processing {"connection_id":105801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:56:14] 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-06-18 13:56:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:56:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105801,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:56:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":105801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:56:14] local.INFO: GPS data processed {"connection_id":105801,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:56:14] local.INFO: Acknowledgment sent {"connection_id":105801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:56:24] local.INFO: TCP Data received {"connection_id":106569,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:24] local.INFO: Processing buffer {"connection_id":106569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:24] local.INFO: IMEI packet received {"connection_id":106569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":106569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:56:24] local.INFO: TCP Data received {"connection_id":106569,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:24] local.INFO: Processing buffer {"connection_id":106569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:24] local.INFO: IMEI packet received {"connection_id":106569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":106569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:56:29] local.INFO: TCP Data received {"connection_id":106569,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:29] local.INFO: Processing buffer {"connection_id":106569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:56:29] local.INFO: IMEI packet received {"connection_id":106569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":106569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:56:30] local.INFO: TCP Data received {"connection_id":106569,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d5b550012cf346000710c2600029012127..."} 
[2026-06-18 13:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d5b550012cf346000710c2600029012127..."} 
[2026-06-18 13:56:30] local.INFO: Processing buffer {"connection_id":106569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d5b550012cf346000710c2600029012127..."} 
[2026-06-18 13:56:30] local.INFO: Packet analysis {"connection_id":106569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d5"} 
[2026-06-18 13:56:30] local.INFO: Extracted packet for processing {"connection_id":106569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d5"} 
[2026-06-18 13:56:30] local.INFO: GPS Element Parsed {"raw_longitude":754140672,"raw_latitude":118538848,"longitude_deg":75.4140672,"latitude_deg":11.8538848,"altitude":41,"angle":289,"satellites":39,"speed":17,"hex_longitude":"2cf34600","hex_latitude":"0710c260","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133406976001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318468135621492736,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-916623231312357376,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781771122000,"timestamp_ms":1781771122000,"timestamp_seconds":1781771122,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d5b550"} 
[2026-06-18 13:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:56: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-06-18 13: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 13:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133406976001,"66":27930,"46":206,"2":54272,"24":17,"16":318468135621492736,"44":-916623231312357376},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,2,24,16,44]} 
[2026-06-18 13:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133406976001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:56:30] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-18 13:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318468135621492736,"km_value":318468135621492.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-916623231312357376,"description":"Unknown IO ID 44"} 
[2026-06-18 13:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133406976001,"power":27930,"unknown_46":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-916623231312357376}} 
[2026-06-18 13:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":106569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:56:30] local.INFO: GPS data processed {"connection_id":106569,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:56:30] local.INFO: Acknowledgment sent {"connection_id":106569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:56:36] local.INFO: TCP Data received {"connection_id":105997,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:56:36] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:56:36] local.INFO: IMEI packet received {"connection_id":105997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:56:36] local.INFO: IMEI acknowledgment sent {"connection_id":105997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:56:41] local.INFO: TCP Data received {"connection_id":105997,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:56:41] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:56:41] local.INFO: IMEI packet received {"connection_id":105997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":105997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:56:42] local.INFO: TCP Data received {"connection_id":105997,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:56:42] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:56:42] local.INFO: Packet analysis {"connection_id":105997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:56:42] local.INFO: Extracted packet for processing {"connection_id":105997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:56:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:56:42] 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-06-18 13:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:56:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:56:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":105997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:56:43] local.INFO: GPS data processed {"connection_id":105997,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:56:43] local.INFO: Acknowledgment sent {"connection_id":105997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:57:01] local.INFO: TCP Data received {"connection_id":106569,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d5b938012cf344400710c2b80029011327..."} 
[2026-06-18 13:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d5b938012cf344400710c2b80029011327..."} 
[2026-06-18 13:57:01] local.INFO: Processing buffer {"connection_id":106569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d5b938012cf344400710c2b80029011327..."} 
[2026-06-18 13:57:01] local.INFO: Packet analysis {"connection_id":106569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d5"} 
[2026-06-18 13:57:01] local.INFO: Extracted packet for processing {"connection_id":106569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d5"} 
[2026-06-18 13:57:01] local.INFO: GPS Element Parsed {"raw_longitude":754140224,"raw_latitude":118538936,"longitude_deg":75.4140224,"latitude_deg":11.8538936,"altitude":41,"angle":275,"satellites":39,"speed":17,"hex_longitude":"2cf34440","hex_latitude":"0710c2b8","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133407232001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318468157096329216,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-917045443777372160,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781771123000,"timestamp_ms":1781771123000,"timestamp_seconds":1781771123,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d5b938"} 
[2026-06-18 13:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:57:01] 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-06-18 13:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 13:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 13:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 13:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 13:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133407232001,"66":27930,"46":206,"2":54272,"24":17,"16":318468157096329216,"44":-917045443777372160},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,2,24,16,44]} 
[2026-06-18 13:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 13:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 13:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133407232001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:57:01] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-06-18 13:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318468157096329216,"km_value":318468157096329.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-917045443777372160,"description":"Unknown IO ID 44"} 
[2026-06-18 13:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133407232001,"power":27930,"unknown_46":206,"power_alt":54272,"ignition":17,"odometer":null,"unknown_44":-917045443777372160}} 
[2026-06-18 13:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":106569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:57:01] local.INFO: GPS data processed {"connection_id":106569,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:57:01] local.INFO: Acknowledgment sent {"connection_id":106569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:57:14] local.INFO: TCP Data received {"connection_id":105997,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:57:14] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:57:14] local.INFO: Packet analysis {"connection_id":105997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:57:14] local.INFO: Extracted packet for processing {"connection_id":105997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:57:14] 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-06-18 13:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:57:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:57:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":105997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:57:14] local.INFO: GPS data processed {"connection_id":105997,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:57:14] local.INFO: Acknowledgment sent {"connection_id":105997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:57:23] local.INFO: TCP Data received {"connection_id":107543,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:23] local.INFO: Processing buffer {"connection_id":107543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:23] local.INFO: IMEI packet received {"connection_id":107543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 13:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":107543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:57:24] local.INFO: TCP Data received {"connection_id":107543,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:24] local.INFO: Processing buffer {"connection_id":107543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:24] local.INFO: IMEI packet received {"connection_id":107543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":107543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:57:25] local.INFO: TCP Data received {"connection_id":107543,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:25] local.INFO: Processing buffer {"connection_id":107543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:25] local.INFO: IMEI packet received {"connection_id":107543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":107543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:57:26] local.INFO: TCP Data received {"connection_id":107543,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:26] local.INFO: Processing buffer {"connection_id":107543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 13:57:26] local.INFO: IMEI packet received {"connection_id":107543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 13:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":107543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:57:36] local.INFO: TCP Data received {"connection_id":106570,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:57:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:57:36] local.INFO: Processing buffer {"connection_id":106570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:57:36] local.INFO: IMEI packet received {"connection_id":106570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:57:36] local.INFO: IMEI acknowledgment sent {"connection_id":106570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:57:41] local.INFO: TCP Data received {"connection_id":106570,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:57:41] local.INFO: Processing buffer {"connection_id":106570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:57:41] local.INFO: IMEI packet received {"connection_id":106570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":106570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:57:42] local.INFO: TCP Data received {"connection_id":106570,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:57:42] local.INFO: Processing buffer {"connection_id":106570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:57:42] local.INFO: Packet analysis {"connection_id":106570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:57:42] local.INFO: Extracted packet for processing {"connection_id":106570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:57:42] 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-06-18 13:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:57:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":106570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:57:42] local.INFO: GPS data processed {"connection_id":106570,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:57:42] local.INFO: Acknowledgment sent {"connection_id":106570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:58:14] local.INFO: TCP Data received {"connection_id":106570,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:14] local.INFO: Processing buffer {"connection_id":106570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:14] local.INFO: Packet analysis {"connection_id":106570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:58:14] local.INFO: Extracted packet for processing {"connection_id":106570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:58:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:58:14] 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-06-18 13:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:58:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:58:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":106570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:58:14] local.INFO: GPS data processed {"connection_id":106570,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:58:14] local.INFO: Acknowledgment sent {"connection_id":106570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:58:41] local.INFO: TCP Data received {"connection_id":106572,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:58:41] local.INFO: Processing buffer {"connection_id":106572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:58:41] local.INFO: IMEI packet received {"connection_id":106572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":106572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:58:46] local.INFO: TCP Data received {"connection_id":106572,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:58:46] local.INFO: Processing buffer {"connection_id":106572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:58:46] local.INFO: IMEI packet received {"connection_id":106572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":106572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:58:47] local.INFO: TCP Data received {"connection_id":106572,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:47] local.INFO: Processing buffer {"connection_id":106572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:47] local.INFO: Packet analysis {"connection_id":106572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:58:47] local.INFO: Extracted packet for processing {"connection_id":106572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13: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-06-18 13:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:58:47] 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-06-18 13: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":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:58:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13: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-06-18 13:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:58:47] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":106572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:58:48] local.INFO: GPS data processed {"connection_id":106572,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:58:48] local.INFO: Acknowledgment sent {"connection_id":106572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:58:52] local.INFO: TCP Data received {"connection_id":106572,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:52] local.INFO: Processing buffer {"connection_id":106572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d3c150012d180b4007217648004800bb25..."} 
[2026-06-18 13:58:52] local.INFO: Packet analysis {"connection_id":106572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:58:52] local.INFO: Extracted packet for processing {"connection_id":106572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d3"} 
[2026-06-18 13:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":37,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133183744001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732619249769015296,"note":"Value kept but may cause issues"} 
[2026-06-18 13:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781770994000,"timestamp_ms":1781770994000,"timestamp_seconds":1781770994,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d3c150"} 
[2026-06-18 13:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:58:52] 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-06-18 13:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 13:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2034,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133183744001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732619249769015296},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133183744001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:58:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732619249769015296,"description":"Unknown IO ID 45"} 
[2026-06-18 13:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133183744001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732619249769015296}} 
[2026-06-18 13:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":106572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:58:52] local.INFO: GPS data processed {"connection_id":106572,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:58:52] local.INFO: Acknowledgment sent {"connection_id":106572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 13:59:09] local.INFO: TCP Data received {"connection_id":106571,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:59:09] local.INFO: Processing buffer {"connection_id":106571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:59:09] local.INFO: IMEI packet received {"connection_id":106571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":106571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:59:34] local.INFO: TCP Data received {"connection_id":107544,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:59:34] local.INFO: Processing buffer {"connection_id":107544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 13:59:34] local.INFO: IMEI packet received {"connection_id":107544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 13:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":107544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:59:36] local.INFO: TCP Data received {"connection_id":107545,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:59:36] local.INFO: Processing buffer {"connection_id":107545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:59:36] local.INFO: IMEI packet received {"connection_id":107545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 13:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":107545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 13:59:41] local.INFO: TCP Data received {"connection_id":107545,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:59:41] local.INFO: Processing buffer {"connection_id":107545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 13:59:41] local.INFO: IMEI packet received {"connection_id":107545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 13:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":107545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 13:59:43] local.INFO: TCP Data received {"connection_id":107545,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 13:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 13:59:43] local.INFO: Processing buffer {"connection_id":107545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 13:59:43] local.INFO: Packet analysis {"connection_id":107545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 13:59:43] local.INFO: Extracted packet for processing {"connection_id":107545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 13:59:43] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 13:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 13:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 13:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 13:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 13:59:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 13:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 13:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 13:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 13:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 13:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 13:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 13:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 13:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 13:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 13:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 13:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 13:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 13:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 13:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 13:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 13:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 13:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 13:59:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 13:59:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 13:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 13:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 13:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 13:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":107545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 13:59:43] local.INFO: GPS data processed {"connection_id":107545,"processed":1,"errors":0,"total":1} 
[2026-06-18 13:59:43] local.INFO: Acknowledgment sent {"connection_id":107545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:00:14] local.INFO: TCP Data received {"connection_id":107545,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:00:14] local.INFO: Processing buffer {"connection_id":107545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:00:14] local.INFO: Packet analysis {"connection_id":107545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:00:14] local.INFO: Extracted packet for processing {"connection_id":107545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:00:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 14:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:00:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:00:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":107545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:00:15] local.INFO: GPS data processed {"connection_id":107545,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:00:15] local.INFO: Acknowledgment sent {"connection_id":107545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:00:36] local.INFO: TCP Data received {"connection_id":106573,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:00:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:00:36] local.INFO: Processing buffer {"connection_id":106573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:00:36] local.INFO: IMEI packet received {"connection_id":106573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:00:36] local.INFO: IMEI acknowledgment sent {"connection_id":106573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:00:41] local.INFO: TCP Data received {"connection_id":106573,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:00:41] local.INFO: Processing buffer {"connection_id":106573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:00:41] local.INFO: IMEI packet received {"connection_id":106573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":106573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:00:43] local.INFO: TCP Data received {"connection_id":106573,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:00:43] local.INFO: Processing buffer {"connection_id":106573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:00:43] local.INFO: Packet analysis {"connection_id":106573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:00:43] local.INFO: Extracted packet for processing {"connection_id":106573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 14:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:00:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:00:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:00:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:00:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":106573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:00:43] local.INFO: GPS data processed {"connection_id":106573,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:00:43] local.INFO: Acknowledgment sent {"connection_id":106573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:01:14] local.INFO: TCP Data received {"connection_id":106573,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:01:14] local.INFO: Processing buffer {"connection_id":106573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:01:14] local.INFO: Packet analysis {"connection_id":106573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:01:14] local.INFO: Extracted packet for processing {"connection_id":106573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:01:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:01:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 14:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:01:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:01:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:01:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:01:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:01:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:01:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:01:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":106573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:01:14] local.INFO: GPS data processed {"connection_id":106573,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:01:14] local.INFO: Acknowledgment sent {"connection_id":106573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:01:36] local.INFO: TCP Data received {"connection_id":106001,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:01:36] local.INFO: Processing buffer {"connection_id":106001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:01:36] local.INFO: IMEI packet received {"connection_id":106001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:01:36] local.INFO: IMEI acknowledgment sent {"connection_id":106001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:01:41] local.INFO: TCP Data received {"connection_id":106001,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:01:41] local.INFO: Processing buffer {"connection_id":106001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:01:41] local.INFO: IMEI packet received {"connection_id":106001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":106001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:01:42] local.INFO: TCP Data received {"connection_id":106001,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:01:42] local.INFO: Processing buffer {"connection_id":106001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:01:42] local.INFO: Packet analysis {"connection_id":106001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:01:42] local.INFO: Extracted packet for processing {"connection_id":106001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 14:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:01:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:01:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":106001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:01:42] local.INFO: GPS data processed {"connection_id":106001,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:01:42] local.INFO: Acknowledgment sent {"connection_id":106001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:02:14] local.INFO: TCP Data received {"connection_id":106001,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:02:14] local.INFO: Processing buffer {"connection_id":106001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:02:14] local.INFO: Packet analysis {"connection_id":106001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:02:14] local.INFO: Extracted packet for processing {"connection_id":106001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:02:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 14:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:02:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:02:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":106001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:02:14] local.INFO: GPS data processed {"connection_id":106001,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:02:14] local.INFO: Acknowledgment sent {"connection_id":106001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:02:30] local.INFO: TCP Data received {"connection_id":106002,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:02:30] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:02:30] local.INFO: IMEI packet received {"connection_id":106002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:02:30] local.INFO: IMEI acknowledgment sent {"connection_id":106002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:02:34] local.INFO: TCP Data received {"connection_id":106002,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:02:34] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:02:34] local.INFO: IMEI packet received {"connection_id":106002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":106002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:02:35] local.INFO: TCP Data received {"connection_id":106002,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9db4718012cef35c007111c980008012424..."} 
[2026-06-18 14:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9db4718012cef35c007111c980008012424..."} 
[2026-06-18 14:02:35] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9db4718012cef35c007111c980008012424..."} 
[2026-06-18 14:02:35] local.INFO: Packet analysis {"connection_id":106002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9db"} 
[2026-06-18 14:02:35] local.INFO: Extracted packet for processing {"connection_id":106002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9db"} 
[2026-06-18 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":753874368,"raw_latitude":118561944,"longitude_deg":75.3874368,"latitude_deg":11.8561944,"altitude":8,"angle":292,"satellites":36,"speed":15,"hex_longitude":"2cef35c0","hex_latitude":"07111c98","is_valid_coordinates":true} 
[2026-06-18 14:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133495552001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318481514444619776,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1200138901598918656,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781771487000,"timestamp_ms":1781771487000,"timestamp_seconds":1781771487,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9db4718"} 
[2026-06-18 14:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:02:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 14:02:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:02:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133495552001,"66":27876,"132":206,"2":54272,"24":15,"16":318481514444619776,"44":-1200138901598918656},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,2,24,16,44]} 
[2026-06-18 14:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133495552001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:02:35] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-18 14:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318481514444619776,"km_value":318481514444619.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:02:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1200138901598918656,"description":"Unknown IO ID 44"} 
[2026-06-18 14:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133495552001,"power":27876,"unknown_132":206,"power_alt":54272,"ignition":15,"odometer":null,"unknown_44":-1200138901598918656}} 
[2026-06-18 14:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":106002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:02:35] local.INFO: GPS data processed {"connection_id":106002,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:02:35] local.INFO: Acknowledgment sent {"connection_id":106002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:02:36] local.INFO: TCP Data received {"connection_id":106574,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:02:36] local.INFO: Processing buffer {"connection_id":106574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:02:36] local.INFO: IMEI packet received {"connection_id":106574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:02:36] local.INFO: IMEI acknowledgment sent {"connection_id":106574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:02:36] local.INFO: TCP Data received {"connection_id":106002,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9db52d0012cef324007111e600009012f25..."} 
[2026-06-18 14:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9db52d0012cef324007111e600009012f25..."} 
[2026-06-18 14:02:36] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9db52d0012cef324007111e600009012f25..."} 
[2026-06-18 14:02:36] local.INFO: Packet analysis {"connection_id":106002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9db"} 
[2026-06-18 14:02:36] local.INFO: Extracted packet for processing {"connection_id":106002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9db"} 
[2026-06-18 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":753873472,"raw_latitude":118562400,"longitude_deg":75.3873472,"latitude_deg":11.85624,"altitude":9,"angle":303,"satellites":37,"speed":12,"hex_longitude":"2cef3240","hex_latitude":"07111e60","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133500672001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318481565984227328,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1209849788294719488,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781771490000,"timestamp_ms":1781771490000,"timestamp_seconds":1781771490,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9db52d0"} 
[2026-06-18 14:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14: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":228,"data_length":795,"current_offset":136} 
[2026-06-18 14:02: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-06-18 14: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-06-18 14:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:02:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133500672001,"66":27865,"132":206,"2":54272,"24":12,"16":318481565984227328,"44":-1209849788294719488},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,2,24,16,44]} 
[2026-06-18 14:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133500672001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:02:36] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-18 14:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318481565984227328,"km_value":318481565984227.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:02:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1209849788294719488,"description":"Unknown IO ID 44"} 
[2026-06-18 14:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133500672001,"power":27865,"unknown_132":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1209849788294719488}} 
[2026-06-18 14:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":106002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:02:36] local.INFO: GPS data processed {"connection_id":106002,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:02:36] local.INFO: Acknowledgment sent {"connection_id":106002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:02:41] local.INFO: TCP Data received {"connection_id":106574,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:02:41] local.INFO: Processing buffer {"connection_id":106574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:02:41] local.INFO: IMEI packet received {"connection_id":106574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":106574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:02:42] local.INFO: TCP Data received {"connection_id":106574,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:02:42] local.INFO: Processing buffer {"connection_id":106574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:02:42] local.INFO: Packet analysis {"connection_id":106574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:02:42] local.INFO: Extracted packet for processing {"connection_id":106574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:02:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 14:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:02:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":106574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:02:43] local.INFO: GPS data processed {"connection_id":106574,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:02:43] local.INFO: Acknowledgment sent {"connection_id":106574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:03:08] local.INFO: TCP Data received {"connection_id":106002,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9db56b8012cef318007111f200009014126..."} 
[2026-06-18 14:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9db56b8012cef318007111f200009014126..."} 
[2026-06-18 14:03:08] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9db56b8012cef318007111f200009014126..."} 
[2026-06-18 14:03:08] local.INFO: Packet analysis {"connection_id":106002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9db"} 
[2026-06-18 14:03:08] local.INFO: Extracted packet for processing {"connection_id":106002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9db"} 
[2026-06-18 14:03:08] local.INFO: GPS Element Parsed {"raw_longitude":753873280,"raw_latitude":118562592,"longitude_deg":75.387328,"latitude_deg":11.8562592,"altitude":9,"angle":321,"satellites":38,"speed":10,"hex_longitude":"2cef3180","hex_latitude":"07111f20","is_valid_coordinates":true} 
[2026-06-18 14:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133501440001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318481574574161920,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1210834950713090048,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781771491000,"timestamp_ms":1781771491000,"timestamp_seconds":1781771491,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9db56b8"} 
[2026-06-18 14:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 14:03: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-06-18 14:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133501440001,"66":27865,"132":206,"2":54272,"24":10,"16":318481574574161920,"44":-1210834950713090048},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,2,24,16,44]} 
[2026-06-18 14:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133501440001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:03:08] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-18 14:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318481574574161920,"km_value":318481574574161.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:03:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1210834950713090048,"description":"Unknown IO ID 44"} 
[2026-06-18 14:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133501440001,"power":27865,"unknown_132":206,"power_alt":54272,"ignition":10,"odometer":null,"unknown_44":-1210834950713090048}} 
[2026-06-18 14:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":106002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:03:08] local.INFO: GPS data processed {"connection_id":106002,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:03:08] local.INFO: Acknowledgment sent {"connection_id":106002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:03:15] local.INFO: TCP Data received {"connection_id":106574,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:03:15] local.INFO: Processing buffer {"connection_id":106574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:03:15] local.INFO: Packet analysis {"connection_id":106574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:03:15] local.INFO: Extracted packet for processing {"connection_id":106574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:03:15] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 14:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:03:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:03:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":106574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:03:15] local.INFO: GPS data processed {"connection_id":106574,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:03:15] local.INFO: Acknowledgment sent {"connection_id":106574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:03:23] local.INFO: TCP Data received {"connection_id":107548,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:23] local.INFO: Processing buffer {"connection_id":107548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:23] local.INFO: IMEI packet received {"connection_id":107548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":107548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:03:24] local.INFO: TCP Data received {"connection_id":107548,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:24] local.INFO: Processing buffer {"connection_id":107548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:24] local.INFO: IMEI packet received {"connection_id":107548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":107548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:03:26] local.INFO: TCP Data received {"connection_id":107548,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:26] local.INFO: Processing buffer {"connection_id":107548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:26] local.INFO: IMEI packet received {"connection_id":107548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":107548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:03:30] local.INFO: TCP Data received {"connection_id":107548,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:30] local.INFO: Processing buffer {"connection_id":107548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:03:30] local.INFO: IMEI packet received {"connection_id":107548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:03:30] local.INFO: IMEI acknowledgment sent {"connection_id":107548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:03:31] local.INFO: TCP Data received {"connection_id":107548,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dc6ff8012cee910007117de00007010e24..."} 
[2026-06-18 14:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dc6ff8012cee910007117de00007010e24..."} 
[2026-06-18 14:03:31] local.INFO: Processing buffer {"connection_id":107548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dc6ff8012cee910007117de00007010e24..."} 
[2026-06-18 14:03:31] local.INFO: Packet analysis {"connection_id":107548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:03:31] local.INFO: Extracted packet for processing {"connection_id":107548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:03:31] local.INFO: GPS Element Parsed {"raw_longitude":753832192,"raw_latitude":118586848,"longitude_deg":75.3832192,"latitude_deg":11.8586848,"altitude":7,"angle":270,"satellites":36,"speed":21,"hex_longitude":"2cee9100","hex_latitude":"07117de0","is_valid_coordinates":true} 
[2026-06-18 14:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133519104001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318483945396109312,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1253900622143447040,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781771563000,"timestamp_ms":1781771563000,"timestamp_seconds":1781771563,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dc6ff8"} 
[2026-06-18 14:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 14:03: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-06-18 14: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-06-18 14:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133519104001,"66":27919,"134":206,"2":54272,"24":21,"16":318483945396109312,"44":-1253900622143447040},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,2,24,16,44]} 
[2026-06-18 14:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133519104001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:03:31] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 14:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318483945396109312,"km_value":318483945396109.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1253900622143447040,"description":"Unknown IO ID 44"} 
[2026-06-18 14:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133519104001,"power":27919,"unknown_134":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1253900622143447040}} 
[2026-06-18 14:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":107548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:03:31] local.INFO: GPS data processed {"connection_id":107548,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:03:31] local.INFO: Acknowledgment sent {"connection_id":107548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:03:35] local.INFO: TCP Data received {"connection_id":107548,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dc77c8012cee8c8007117e700007011923..."} 
[2026-06-18 14:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dc77c8012cee8c8007117e700007011923..."} 
[2026-06-18 14:03:35] local.INFO: Processing buffer {"connection_id":107548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dc77c8012cee8c8007117e700007011923..."} 
[2026-06-18 14:03:35] local.INFO: Packet analysis {"connection_id":107548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:03:35] local.INFO: Extracted packet for processing {"connection_id":107548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":753831040,"raw_latitude":118586992,"longitude_deg":75.383104,"latitude_deg":11.8586992,"altitude":7,"angle":281,"satellites":35,"speed":23,"hex_longitude":"2cee8c80","hex_latitude":"07117e70","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133520128001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318484001230684160,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1256222790701424640,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781771565000,"timestamp_ms":1781771565000,"timestamp_seconds":1781771565,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dc77c8"} 
[2026-06-18 14:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 14:03: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-06-18 14: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-06-18 14:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133520128001,"66":27517,"134":206,"2":54272,"24":23,"16":318484001230684160,"44":-1256222790701424640},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,2,24,16,44]} 
[2026-06-18 14:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133520128001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:03:35] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 14:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318484001230684160,"km_value":318484001230684.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1256222790701424640,"description":"Unknown IO ID 44"} 
[2026-06-18 14:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133520128001,"power":27517,"unknown_134":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1256222790701424640}} 
[2026-06-18 14:03:36] local.INFO: DEBUG: GPS processor result {"connection_id":107548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:03:36] local.INFO: GPS data processed {"connection_id":107548,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:03:36] local.INFO: Acknowledgment sent {"connection_id":107548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:03:41] local.INFO: TCP Data received {"connection_id":105806,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:03:41] local.INFO: Processing buffer {"connection_id":105806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:03:41] local.INFO: IMEI packet received {"connection_id":105806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":105806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:03:46] local.INFO: TCP Data received {"connection_id":105806,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:03:46] local.INFO: Processing buffer {"connection_id":105806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:03:46] local.INFO: IMEI packet received {"connection_id":105806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":105806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:03:48] local.INFO: TCP Data received {"connection_id":105806,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:03:48] local.INFO: Processing buffer {"connection_id":105806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9d85918012d180b4007217648004800bb24..."} 
[2026-06-18 14:03:48] local.INFO: Packet analysis {"connection_id":105806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:03:48] local.INFO: Extracted packet for processing {"connection_id":105806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9d8"} 
[2026-06-18 14:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133374464001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781771295000,"timestamp_ms":1781771295000,"timestamp_seconds":1781771295,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9d85918"} 
[2026-06-18 14:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":105806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":105806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":105806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133374464001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133374464001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:03:48] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:03:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133374464001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":105806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:03:48] local.INFO: GPS data processed {"connection_id":105806,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:03:48] local.INFO: Acknowledgment sent {"connection_id":105806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:04:07] local.INFO: TCP Data received {"connection_id":107548,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dc8380012cee8540071180d80007012624..."} 
[2026-06-18 14:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dc8380012cee8540071180d80007012624..."} 
[2026-06-18 14:04:07] local.INFO: Processing buffer {"connection_id":107548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dc8380012cee8540071180d80007012624..."} 
[2026-06-18 14:04:07] local.INFO: Packet analysis {"connection_id":107548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:04:07] local.INFO: Extracted packet for processing {"connection_id":107548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:04:07] local.INFO: GPS Element Parsed {"raw_longitude":753829184,"raw_latitude":118587608,"longitude_deg":75.3829184,"latitude_deg":11.8587608,"altitude":7,"angle":294,"satellites":36,"speed":27,"hex_longitude":"2cee8540","hex_latitude":"071180d8","is_valid_coordinates":true} 
[2026-06-18 14:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:04:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133520640001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318484091424997376,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1257489428096585728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:04:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781771568000,"timestamp_ms":1781771568000,"timestamp_seconds":1781771568,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dc8380"} 
[2026-06-18 14:04:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:04:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:04:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 14:04: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-06-18 14:04:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:04:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:04:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:04:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:04:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:04:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:04:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:04:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:04:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:04:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133520640001,"66":27865,"134":206,"2":54272,"24":27,"16":318484091424997376,"44":-1257489428096585728},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,2,24,16,44]} 
[2026-06-18 14:04:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:04:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:04:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133520640001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:04:07] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 14:04:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318484091424997376,"km_value":318484091424997.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:04:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1257489428096585728,"description":"Unknown IO ID 44"} 
[2026-06-18 14:04:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133520640001,"power":27865,"unknown_134":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-1257489428096585728}} 
[2026-06-18 14:04:07] local.INFO: DEBUG: GPS processor result {"connection_id":107548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:04:07] local.INFO: GPS data processed {"connection_id":107548,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:04:07] local.INFO: Acknowledgment sent {"connection_id":107548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:04:19] local.INFO: TCP Data received {"connection_id":105806,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:04:19] local.INFO: Processing buffer {"connection_id":105806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:04:19] local.INFO: Packet analysis {"connection_id":105806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:04:19] local.INFO: Extracted packet for processing {"connection_id":105806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":105806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":105806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":105806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:04:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:04:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":105806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:04:19] local.INFO: GPS data processed {"connection_id":105806,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:04:19] local.INFO: Acknowledgment sent {"connection_id":105806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:04:24] local.INFO: TCP Data received {"connection_id":106004,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:04:24] local.INFO: Processing buffer {"connection_id":106004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:04:24] local.INFO: IMEI packet received {"connection_id":106004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":106004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:04:30] local.INFO: TCP Data received {"connection_id":106004,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:04:30] local.INFO: Processing buffer {"connection_id":106004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:04:30] local.INFO: IMEI packet received {"connection_id":106004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":106004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:04:31] local.INFO: TCP Data received {"connection_id":106004,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dd3b18012cee2c000711b7a8000601061d..."} 
[2026-06-18 14:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dd3b18012cee2c000711b7a8000601061d..."} 
[2026-06-18 14:04:31] local.INFO: Processing buffer {"connection_id":106004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dd3b18012cee2c000711b7a8000601061d..."} 
[2026-06-18 14:04:31] local.INFO: Packet analysis {"connection_id":106004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dd"} 
[2026-06-18 14:04:31] local.INFO: Extracted packet for processing {"connection_id":106004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dd"} 
[2026-06-18 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":753806336,"raw_latitude":118601640,"longitude_deg":75.3806336,"latitude_deg":11.860164,"altitude":6,"angle":262,"satellites":29,"speed":20,"hex_longitude":"2cee2c00","hex_latitude":"0711b7a8","is_valid_coordinates":true} 
[2026-06-18 14:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133531648001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318485508764205056,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1279303738788141056,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781771615000,"timestamp_ms":1781771615000,"timestamp_seconds":1781771615,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dd3b18"} 
[2026-06-18 14:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 14:04:31] 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-06-18 14:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133531648001,"66":27800,"134":206,"2":54272,"24":20,"16":318485508764205056,"44":-1279303738788141056},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,2,24,16,44]} 
[2026-06-18 14:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133531648001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:04:31] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 14:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318485508764205056,"km_value":318485508764205.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:04:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1279303738788141056,"description":"Unknown IO ID 44"} 
[2026-06-18 14:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133531648001,"power":27800,"unknown_134":206,"power_alt":54272,"ignition":20,"odometer":null,"unknown_44":-1279303738788141056}} 
[2026-06-18 14:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":106004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:04:31] local.INFO: GPS data processed {"connection_id":106004,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:04:31] local.INFO: Acknowledgment sent {"connection_id":106004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:04:36] local.INFO: TCP Data received {"connection_id":106576,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:04:36] local.INFO: Processing buffer {"connection_id":106576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:04:36] local.INFO: IMEI packet received {"connection_id":106576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:04:36] local.INFO: IMEI acknowledgment sent {"connection_id":106576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:04:41] local.INFO: TCP Data received {"connection_id":106576,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106576,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:04:41] local.INFO: Processing buffer {"connection_id":106576,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:04:41] local.INFO: IMEI packet received {"connection_id":106576,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":106576,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:04:43] local.INFO: TCP Data received {"connection_id":106576,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:04:43] local.INFO: Processing buffer {"connection_id":106576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:04:43] local.INFO: Packet analysis {"connection_id":106576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:04:43] local.INFO: Extracted packet for processing {"connection_id":106576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:04:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:04:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":106576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:04:43] local.INFO: GPS data processed {"connection_id":106576,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:04:43] local.INFO: Acknowledgment sent {"connection_id":106576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:05:03] local.INFO: TCP Data received {"connection_id":106004,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dd3f00012cee29c00711b728000600f41f..."} 
[2026-06-18 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dd3f00012cee29c00711b728000600f41f..."} 
[2026-06-18 14:05:03] local.INFO: Processing buffer {"connection_id":106004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dd3f00012cee29c00711b728000600f41f..."} 
[2026-06-18 14:05:03] local.INFO: Packet analysis {"connection_id":106004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dd"} 
[2026-06-18 14:05:03] local.INFO: Extracted packet for processing {"connection_id":106004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dd"} 
[2026-06-18 14:05:03] local.INFO: GPS Element Parsed {"raw_longitude":753805760,"raw_latitude":118601512,"longitude_deg":75.380576,"latitude_deg":11.8601512,"altitude":6,"angle":244,"satellites":31,"speed":18,"hex_longitude":"2cee29c0","hex_latitude":"0711b728","is_valid_coordinates":true} 
[2026-06-18 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133533440001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318485534534008832,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1284651763345414144,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781771616000,"timestamp_ms":1781771616000,"timestamp_seconds":1781771616,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dd3f00"} 
[2026-06-18 14:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:05: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-06-18 14:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 14:05: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-06-18 14:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133533440001,"66":27800,"134":206,"2":54272,"24":18,"16":318485534534008832,"44":-1284651763345414144},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,2,24,16,44]} 
[2026-06-18 14:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133533440001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:05:03] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 14:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318485534534008832,"km_value":318485534534008.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:05:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1284651763345414144,"description":"Unknown IO ID 44"} 
[2026-06-18 14:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133533440001,"power":27800,"unknown_134":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1284651763345414144}} 
[2026-06-18 14:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":106004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:05:03] local.INFO: GPS data processed {"connection_id":106004,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:05:03] local.INFO: Acknowledgment sent {"connection_id":106004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:05:03] local.INFO: TCP Data received {"connection_id":106575,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:05:03] local.INFO: Processing buffer {"connection_id":106575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:05:03] local.INFO: IMEI packet received {"connection_id":106575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":106575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:05:15] local.INFO: TCP Data received {"connection_id":106576,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:05:15] local.INFO: Processing buffer {"connection_id":106576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:05:15] local.INFO: Packet analysis {"connection_id":106576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:05:15] local.INFO: Extracted packet for processing {"connection_id":106576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:05:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:05:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106576,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:05:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:05:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:05:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":106576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:05:15] local.INFO: GPS data processed {"connection_id":106576,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:05:15] local.INFO: Acknowledgment sent {"connection_id":106576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:05:24] local.INFO: TCP Data received {"connection_id":106005,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:24] local.INFO: Processing buffer {"connection_id":106005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:24] local.INFO: IMEI packet received {"connection_id":106005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":106005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:05:24] local.INFO: TCP Data received {"connection_id":106005,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:24] local.INFO: Processing buffer {"connection_id":106005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:24] local.INFO: IMEI packet received {"connection_id":106005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":106005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:05:25] local.INFO: TCP Data received {"connection_id":106005,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:25] local.INFO: Processing buffer {"connection_id":106005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:25] local.INFO: IMEI packet received {"connection_id":106005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:05:25] local.INFO: IMEI acknowledgment sent {"connection_id":106005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:05:26] local.INFO: TCP Data received {"connection_id":106005,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:26] local.INFO: Processing buffer {"connection_id":106005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:05:26] local.INFO: IMEI packet received {"connection_id":106005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":106005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:05:33] local.INFO: TCP Data received {"connection_id":105807,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:05:33] local.INFO: Processing buffer {"connection_id":105807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:05:33] local.INFO: IMEI packet received {"connection_id":105807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":105807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:05:36] local.INFO: TCP Data received {"connection_id":105808,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:05:36] local.INFO: Processing buffer {"connection_id":105808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:05:36] local.INFO: IMEI packet received {"connection_id":105808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":105808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:05:41] local.INFO: TCP Data received {"connection_id":105808,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:05:41] local.INFO: Processing buffer {"connection_id":105808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:05:41] local.INFO: IMEI packet received {"connection_id":105808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":105808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:05:42] local.INFO: TCP Data received {"connection_id":105808,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:05:42] local.INFO: Processing buffer {"connection_id":105808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:05:42] local.INFO: Packet analysis {"connection_id":105808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:05:42] local.INFO: Extracted packet for processing {"connection_id":105808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:05:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:05:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:05:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":105808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:05:42] local.INFO: GPS data processed {"connection_id":105808,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:05:42] local.INFO: Acknowledgment sent {"connection_id":105808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:06:13] local.INFO: TCP Data received {"connection_id":105808,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:13] local.INFO: Processing buffer {"connection_id":105808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:13] local.INFO: Packet analysis {"connection_id":105808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:06:13] local.INFO: Extracted packet for processing {"connection_id":105808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:06:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:06:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:06:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":105808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:06:13] local.INFO: GPS data processed {"connection_id":105808,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:06:13] local.INFO: Acknowledgment sent {"connection_id":105808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:06:44] local.INFO: TCP Data received {"connection_id":105809,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:06:44] local.INFO: Processing buffer {"connection_id":105809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:06:44] local.INFO: IMEI packet received {"connection_id":105809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":105809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:06:46] local.INFO: TCP Data received {"connection_id":105809,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:06:46] local.INFO: Processing buffer {"connection_id":105809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:06:46] local.INFO: IMEI packet received {"connection_id":105809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":105809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:06:47] local.INFO: TCP Data received {"connection_id":105809,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:47] local.INFO: Processing buffer {"connection_id":105809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:47] local.INFO: Packet analysis {"connection_id":105809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:06:47] local.INFO: Extracted packet for processing {"connection_id":105809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:06:47] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:06:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":105809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:06:47] local.INFO: GPS data processed {"connection_id":105809,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:06:47] local.INFO: Acknowledgment sent {"connection_id":105809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:06:51] local.INFO: TCP Data received {"connection_id":105809,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:51] local.INFO: Processing buffer {"connection_id":105809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:06:51] local.INFO: Packet analysis {"connection_id":105809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:06:51] local.INFO: Extracted packet for processing {"connection_id":105809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:06:51] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:06:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":105809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:06:52] local.INFO: GPS data processed {"connection_id":105809,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:06:52] local.INFO: Acknowledgment sent {"connection_id":105809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:07:36] local.INFO: TCP Data received {"connection_id":106580,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:07:36] local.INFO: Processing buffer {"connection_id":106580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:07:36] local.INFO: IMEI packet received {"connection_id":106580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:07:36] local.INFO: IMEI acknowledgment sent {"connection_id":106580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:07:41] local.INFO: TCP Data received {"connection_id":106580,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:07:41] local.INFO: Processing buffer {"connection_id":106580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:07:41] local.INFO: IMEI packet received {"connection_id":106580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":106580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:07:42] local.INFO: TCP Data received {"connection_id":106580,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:07:42] local.INFO: Processing buffer {"connection_id":106580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:07:42] local.INFO: Packet analysis {"connection_id":106580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:07:42] local.INFO: Extracted packet for processing {"connection_id":106580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:07:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:07:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:07:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:07:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:07:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":106580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:07:42] local.INFO: GPS data processed {"connection_id":106580,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:07:42] local.INFO: Acknowledgment sent {"connection_id":106580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:08:13] local.INFO: TCP Data received {"connection_id":106580,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:08:13] local.INFO: Processing buffer {"connection_id":106580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:08:13] local.INFO: Packet analysis {"connection_id":106580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:08:13] local.INFO: Extracted packet for processing {"connection_id":106580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:08:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:08:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:08:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:08:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:08:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":106580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:08:13] local.INFO: GPS data processed {"connection_id":106580,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:08:13] local.INFO: Acknowledgment sent {"connection_id":106580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:08:37] local.INFO: TCP Data received {"connection_id":106006,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:08:37] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:08:37] local.INFO: IMEI packet received {"connection_id":106006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":106006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:08:41] local.INFO: TCP Data received {"connection_id":106006,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:08:41] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:08:41] local.INFO: IMEI packet received {"connection_id":106006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":106006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:08:43] local.INFO: TCP Data received {"connection_id":106006,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:08:43] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9dcf0e0012d180b4007217648004800bb23..."} 
[2026-06-18 14:08:43] local.INFO: Packet analysis {"connection_id":106006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:08:43] local.INFO: Extracted packet for processing {"connection_id":106006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9dc"} 
[2026-06-18 14:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":35,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133451520001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781771596000,"timestamp_ms":1781771596000,"timestamp_seconds":1781771596,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9dcf0e0"} 
[2026-06-18 14:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133451520001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133451520001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:08:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:08:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133451520001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":106006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:08:43] local.INFO: GPS data processed {"connection_id":106006,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:08:43] local.INFO: Acknowledgment sent {"connection_id":106006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:09:15] local.INFO: TCP Data received {"connection_id":106006,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:09:15] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:09:15] local.INFO: Packet analysis {"connection_id":106006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:09:15] local.INFO: Extracted packet for processing {"connection_id":106006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:09:15] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:09:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:09:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:09:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:09:15] local.INFO: DEBUG: GPS processor result {"connection_id":106006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:09:15] local.INFO: GPS data processed {"connection_id":106006,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:09:15] local.INFO: Acknowledgment sent {"connection_id":106006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:09:36] local.INFO: TCP Data received {"connection_id":105812,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:09:36] local.INFO: Processing buffer {"connection_id":105812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:09:36] local.INFO: IMEI packet received {"connection_id":105812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:09:36] local.INFO: IMEI acknowledgment sent {"connection_id":105812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:09:41] local.INFO: TCP Data received {"connection_id":105812,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:09:41] local.INFO: Processing buffer {"connection_id":105812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:09:41] local.INFO: IMEI packet received {"connection_id":105812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":105812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:09:42] local.INFO: TCP Data received {"connection_id":105812,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:09:42] local.INFO: Processing buffer {"connection_id":105812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:09:42] local.INFO: Packet analysis {"connection_id":105812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:09:42] local.INFO: Extracted packet for processing {"connection_id":105812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:09:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:09:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:09:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":105812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:09:42] local.INFO: GPS data processed {"connection_id":105812,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:09:42] local.INFO: Acknowledgment sent {"connection_id":105812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:10:14] local.INFO: TCP Data received {"connection_id":105812,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:10:14] local.INFO: Processing buffer {"connection_id":105812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:10:14] local.INFO: Packet analysis {"connection_id":105812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:10:14] local.INFO: Extracted packet for processing {"connection_id":105812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:10:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:10:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:10:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":105812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:10:14] local.INFO: GPS data processed {"connection_id":105812,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:10:14] local.INFO: Acknowledgment sent {"connection_id":105812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:10:29] local.INFO: TCP Data received {"connection_id":107550,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:29] local.INFO: Processing buffer {"connection_id":107550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:29] local.INFO: IMEI packet received {"connection_id":107550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":107550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:10:32] local.INFO: TCP Data received {"connection_id":107550,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:32] local.INFO: Processing buffer {"connection_id":107550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:32] local.INFO: IMEI packet received {"connection_id":107550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":107550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:10:36] local.INFO: TCP Data received {"connection_id":106008,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:10:36] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:10:36] local.INFO: IMEI packet received {"connection_id":106008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:10:36] local.INFO: IMEI acknowledgment sent {"connection_id":106008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:10:38] local.INFO: TCP Data received {"connection_id":107550,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:38] local.INFO: Processing buffer {"connection_id":107550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:10:38] local.INFO: IMEI packet received {"connection_id":107550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":107550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:10:40] local.INFO: TCP Data received {"connection_id":107550,"ip":"117.224.120.98","data_length":1360,"data_hex":"000000000000030f8e0a0000019ed9e1f9f0012cebe08007128430000f00e525..."} 
[2026-06-18 14:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107550,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019ed9e1f9f0012cebe08007128430000f00e525..."} 
[2026-06-18 14:10:40] local.INFO: Processing buffer {"connection_id":107550,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019ed9e1f9f0012cebe08007128430000f00e525..."} 
[2026-06-18 14:10:40] local.INFO: Packet analysis {"connection_id":107550,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:10:40] local.INFO: Extracted packet for processing {"connection_id":107550,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:10:40] local.INFO: GPS Element Parsed {"raw_longitude":753655936,"raw_latitude":118654000,"longitude_deg":75.3655936,"latitude_deg":11.8654,"altitude":15,"angle":229,"satellites":37,"speed":21,"hex_longitude":"2cebe080","hex_latitude":"07128430","is_valid_coordinates":true} 
[2026-06-18 14:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133608192001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318494373576704000,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1442207381544232960,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781771926000,"timestamp_ms":1781771926000,"timestamp_seconds":1781771926,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e1f9f0"} 
[2026-06-18 14:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 14:10: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-06-18 14:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133608192001,"66":28006,"202":206,"2":54272,"24":21,"16":318494373576704000,"44":-1442207381544232960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,2,24,16,44]} 
[2026-06-18 14:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133608192001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318494373576704000,"km_value":318494373576704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:10:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1442207381544232960,"description":"Unknown IO ID 44"} 
[2026-06-18 14:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133608192001,"power":28006,"mcc":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1442207381544232960}} 
[2026-06-18 14:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":107550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:10:40] local.INFO: GPS data processed {"connection_id":107550,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:10:40] local.INFO: Acknowledgment sent {"connection_id":107550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:10:40] local.INFO: Packet analysis {"connection_id":107550,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019ed9e2"} 
[2026-06-18 14:10:40] local.INFO: Incomplete packet, waiting for more data {"connection_id":107550,"needed":795,"available":565} 
[2026-06-18 14:10:41] local.INFO: TCP Data received {"connection_id":106008,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:10:41] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:10:41] local.INFO: IMEI packet received {"connection_id":106008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":106008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:10:42] local.INFO: TCP Data received {"connection_id":106008,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:10:42] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:10:42] local.INFO: Packet analysis {"connection_id":106008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:10:42] local.INFO: Extracted packet for processing {"connection_id":106008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:10:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:10:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:10:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":106008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:10:42] local.INFO: GPS data processed {"connection_id":106008,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:10:42] local.INFO: Acknowledgment sent {"connection_id":106008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:10:46] local.INFO: TCP Data received {"connection_id":107550,"ip":"117.224.120.98","data_length":1025,"data_hex":"2cec094007129840000f013425000d0000000a000400ef0100715600f0010045..."} 
[2026-06-18 14:10:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107550,"packet_length":1025,"packet_hex":"2cec094007129840000f013425000d0000000a000400ef0100715600f0010045..."} 
[2026-06-18 14:10:46] local.INFO: Processing buffer {"connection_id":107550,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019ed9e224e8012cebc54007126db0000c00e424..."} 
[2026-06-18 14:10:46] local.INFO: Packet analysis {"connection_id":107550,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019ed9e2"} 
[2026-06-18 14:10:46] local.INFO: Extracted packet for processing {"connection_id":107550,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e2"} 
[2026-06-18 14:10:46] local.INFO: GPS Element Parsed {"raw_longitude":753648960,"raw_latitude":118648240,"longitude_deg":75.364896,"latitude_deg":11.864824,"altitude":12,"angle":228,"satellites":36,"speed":37,"hex_longitude":"2cebc540","hex_latitude":"07126db0","is_valid_coordinates":true} 
[2026-06-18 14:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133613056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318494803073433600,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450018312149520384,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781771937000,"timestamp_ms":1781771937000,"timestamp_seconds":1781771937,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e224e8"} 
[2026-06-18 14:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:10:46] 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-06-18 14:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 14:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133613056001,"66":27919,"202":206,"2":54272,"24":37,"16":318494803073433600,"44":-1450018312149520384},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,2,24,16,44]} 
[2026-06-18 14:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133613056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318494803073433600,"km_value":318494803073433.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1450018312149520384,"description":"Unknown IO ID 44"} 
[2026-06-18 14:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133613056001,"power":27919,"mcc":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1450018312149520384}} 
[2026-06-18 14:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":107550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:10:46] local.INFO: GPS data processed {"connection_id":107550,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:10:46] local.INFO: Acknowledgment sent {"connection_id":107550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:10:46] local.INFO: Packet analysis {"connection_id":107550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e2"} 
[2026-06-18 14:10:46] local.INFO: Extracted packet for processing {"connection_id":107550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e2"} 
[2026-06-18 14:10:46] local.INFO: GPS Element Parsed {"raw_longitude":753642112,"raw_latitude":118642384,"longitude_deg":75.3642112,"latitude_deg":11.8642384,"altitude":10,"angle":228,"satellites":35,"speed":41,"hex_longitude":"2cebaa80","hex_latitude":"071256d0","is_valid_coordinates":true} 
[2026-06-18 14:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:10:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133615872001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318495236865130496,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1457688505266360320,"note":"Value kept but may cause issues"} 
[2026-06-18 14:10:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:10:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781771946000,"timestamp_ms":1781771946000,"timestamp_seconds":1781771946,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e24810"} 
[2026-06-18 14:10:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:10:46] 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-06-18 14:10:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 14:10:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:10:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:10:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:10:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:10:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:10:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:10:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:10:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:10:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:10:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:10:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133615872001,"66":27974,"202":206,"2":54272,"24":41,"16":318495236865130496,"44":-1457688505266360320},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,2,24,16,44]} 
[2026-06-18 14:10:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:10:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:10:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133615872001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:10:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318495236865130496,"km_value":318495236865130.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:10:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1457688505266360320,"description":"Unknown IO ID 44"} 
[2026-06-18 14:10:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133615872001,"power":27974,"mcc":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1457688505266360320}} 
[2026-06-18 14:10:46] local.INFO: DEBUG: GPS processor result {"connection_id":107550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:10:46] local.INFO: GPS data processed {"connection_id":107550,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:10:46] local.INFO: Acknowledgment sent {"connection_id":107550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:11:03] local.INFO: TCP Data received {"connection_id":105813,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:11:03] local.INFO: Processing buffer {"connection_id":105813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:11:03] local.INFO: IMEI packet received {"connection_id":105813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":105813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:11:13] local.INFO: TCP Data received {"connection_id":106008,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:11:13] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:11:13] local.INFO: Packet analysis {"connection_id":106008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:11:13] local.INFO: Extracted packet for processing {"connection_id":106008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:11:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:11:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":106008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:11:13] local.INFO: GPS data processed {"connection_id":106008,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:11:13] local.INFO: Acknowledgment sent {"connection_id":106008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:11:25] local.INFO: TCP Data received {"connection_id":106582,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:25] local.INFO: Processing buffer {"connection_id":106582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:25] local.INFO: IMEI packet received {"connection_id":106582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:11:25] local.INFO: IMEI acknowledgment sent {"connection_id":106582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:11:26] local.INFO: TCP Data received {"connection_id":106582,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:26] local.INFO: Processing buffer {"connection_id":106582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:26] local.INFO: IMEI packet received {"connection_id":106582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":106582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:11:30] local.INFO: TCP Data received {"connection_id":106582,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:30] local.INFO: Processing buffer {"connection_id":106582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:11:30] local.INFO: IMEI packet received {"connection_id":106582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":106582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:11:32] local.INFO: TCP Data received {"connection_id":106582,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e370f0012cead9400711e4b00016015a24..."} 
[2026-06-18 14:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e370f0012cead9400711e4b00016015a24..."} 
[2026-06-18 14:11:32] local.INFO: Processing buffer {"connection_id":106582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e370f0012cead9400711e4b00016015a24..."} 
[2026-06-18 14:11:32] local.INFO: Packet analysis {"connection_id":106582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e3"} 
[2026-06-18 14:11:32] local.INFO: Extracted packet for processing {"connection_id":106582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e3"} 
[2026-06-18 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":753588544,"raw_latitude":118613168,"longitude_deg":75.3588544,"latitude_deg":11.8613168,"altitude":22,"angle":346,"satellites":36,"speed":14,"hex_longitude":"2cead940","hex_latitude":"0711e4b0","is_valid_coordinates":true} 
[2026-06-18 14:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133637376001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318498312061714432,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1523905493546612736,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781772022000,"timestamp_ms":1781772022000,"timestamp_seconds":1781772022,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e370f0"} 
[2026-06-18 14:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 14:11: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-06-18 14:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133637376001,"66":27484,"203":206,"2":54272,"24":14,"16":318498312061714432,"44":-1523905493546612736},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,2,24,16,44]} 
[2026-06-18 14:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133637376001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318498312061714432,"km_value":318498312061714.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1523905493546612736,"description":"Unknown IO ID 44"} 
[2026-06-18 14:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133637376001,"power":27484,"mnc":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1523905493546612736}} 
[2026-06-18 14:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":106582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:11:32] local.INFO: GPS data processed {"connection_id":106582,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:11:32] local.INFO: Acknowledgment sent {"connection_id":106582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:11:33] local.INFO: TCP Data received {"connection_id":106009,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:11:33] local.INFO: Processing buffer {"connection_id":106009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:11:33] local.INFO: IMEI packet received {"connection_id":106009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":106009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:11:34] local.INFO: TCP Data received {"connection_id":106582,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e3af70012cead080071201680014014f26..."} 
[2026-06-18 14:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e3af70012cead080071201680014014f26..."} 
[2026-06-18 14:11:34] local.INFO: Processing buffer {"connection_id":106582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e3af70012cead080071201680014014f26..."} 
[2026-06-18 14:11:34] local.INFO: Packet analysis {"connection_id":106582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e3"} 
[2026-06-18 14:11:34] local.INFO: Extracted packet for processing {"connection_id":106582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e3"} 
[2026-06-18 14:11:34] local.INFO: GPS Element Parsed {"raw_longitude":753586304,"raw_latitude":118620520,"longitude_deg":75.3586304,"latitude_deg":11.862052,"altitude":20,"angle":335,"satellites":38,"speed":28,"hex_longitude":"2cead080","hex_latitude":"07120168","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133637632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318498685723869184,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1524116599779053568,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781772038000,"timestamp_ms":1781772038000,"timestamp_seconds":1781772038,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e3af70"} 
[2026-06-18 14:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:11: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-06-18 14: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 14:11: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-06-18 14: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-06-18 14:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133637632001,"66":28137,"203":206,"2":54272,"24":28,"16":318498685723869184,"44":-1524116599779053568},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,2,24,16,44]} 
[2026-06-18 14:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133637632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318498685723869184,"km_value":318498685723869.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:11:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1524116599779053568,"description":"Unknown IO ID 44"} 
[2026-06-18 14:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133637632001,"power":28137,"mnc":206,"power_alt":54272,"ignition":28,"odometer":null,"unknown_44":-1524116599779053568}} 
[2026-06-18 14:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":106582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:11:34] local.INFO: GPS data processed {"connection_id":106582,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:11:34] local.INFO: Acknowledgment sent {"connection_id":106582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:11:41] local.INFO: TCP Data received {"connection_id":107551,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:11:41] local.INFO: Processing buffer {"connection_id":107551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:11:41] local.INFO: IMEI packet received {"connection_id":107551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":107551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:11:46] local.INFO: TCP Data received {"connection_id":107551,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107551,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:11:46] local.INFO: Processing buffer {"connection_id":107551,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:11:46] local.INFO: IMEI packet received {"connection_id":107551,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":107551,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:11:47] local.INFO: TCP Data received {"connection_id":107551,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:11:47] local.INFO: Processing buffer {"connection_id":107551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:11:47] local.INFO: Packet analysis {"connection_id":107551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:11:47] local.INFO: Extracted packet for processing {"connection_id":107551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:11:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:11:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:11:47] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:11:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":107551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:11:47] local.INFO: GPS data processed {"connection_id":107551,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:11:47] local.INFO: Acknowledgment sent {"connection_id":107551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:12:05] local.INFO: TCP Data received {"connection_id":106582,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e3d680012ceabf80071220b00011014a23..."} 
[2026-06-18 14:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e3d680012ceabf80071220b00011014a23..."} 
[2026-06-18 14:12:05] local.INFO: Processing buffer {"connection_id":106582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e3d680012ceabf80071220b00011014a23..."} 
[2026-06-18 14:12:05] local.INFO: Packet analysis {"connection_id":106582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e3"} 
[2026-06-18 14:12:05] local.INFO: Extracted packet for processing {"connection_id":106582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e3"} 
[2026-06-18 14:12:05] local.INFO: GPS Element Parsed {"raw_longitude":753581952,"raw_latitude":118628528,"longitude_deg":75.3581952,"latitude_deg":11.8628528,"altitude":17,"angle":330,"satellites":35,"speed":38,"hex_longitude":"2ceabf80","hex_latitude":"071220b0","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133641728001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318499128105500672,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1526579505823389696,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781772048000,"timestamp_ms":1781772048000,"timestamp_seconds":1781772048,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e3d680"} 
[2026-06-18 14:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 14:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133641728001,"66":27767,"203":206,"2":54272,"24":38,"16":318499128105500672,"44":-1526579505823389696},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,2,24,16,44]} 
[2026-06-18 14:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133641728001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318499128105500672,"km_value":318499128105500.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1526579505823389696,"description":"Unknown IO ID 44"} 
[2026-06-18 14:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133641728001,"power":27767,"mnc":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1526579505823389696}} 
[2026-06-18 14:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":106582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:12:05] local.INFO: GPS data processed {"connection_id":106582,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:12:05] local.INFO: Acknowledgment sent {"connection_id":106582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:12:18] local.INFO: TCP Data received {"connection_id":107551,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:18] local.INFO: Processing buffer {"connection_id":107551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:18] local.INFO: Packet analysis {"connection_id":107551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:12:18] local.INFO: Extracted packet for processing {"connection_id":107551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107551,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:12:18] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:12:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":107551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:12:18] local.INFO: GPS data processed {"connection_id":107551,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:12:18] local.INFO: Acknowledgment sent {"connection_id":107551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:12:25] local.INFO: TCP Data received {"connection_id":105814,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:12:25] local.INFO: Processing buffer {"connection_id":105814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:12:25] local.INFO: IMEI packet received {"connection_id":105814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":105814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:12:28] local.INFO: TCP Data received {"connection_id":105814,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:12:28] local.INFO: Processing buffer {"connection_id":105814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:12:28] local.INFO: IMEI packet received {"connection_id":105814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":105814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:12:29] local.INFO: TCP Data received {"connection_id":105814,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e3e620012ceab8c007122da00010015621..."} 
[2026-06-18 14:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e3e620012ceab8c007122da00010015621..."} 
[2026-06-18 14:12:29] local.INFO: Processing buffer {"connection_id":105814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e3e620012ceab8c007122da00010015621..."} 
[2026-06-18 14:12:29] local.INFO: Packet analysis {"connection_id":105814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e3"} 
[2026-06-18 14:12:29] local.INFO: Extracted packet for processing {"connection_id":105814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e3"} 
[2026-06-18 14:12:29] local.INFO: GPS Element Parsed {"raw_longitude":753580224,"raw_latitude":118631840,"longitude_deg":75.3580224,"latitude_deg":11.863184,"altitude":16,"angle":342,"satellites":33,"speed":32,"hex_longitude":"2ceab8c0","hex_latitude":"07122da0","is_valid_coordinates":true} 
[2026-06-18 14:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133644288001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318499304199159808,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1531364580425420800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781772052000,"timestamp_ms":1781772052000,"timestamp_seconds":1781772052,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e3e620"} 
[2026-06-18 14:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:12: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-06-18 14:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 14:12: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-06-18 14:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":105814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":105814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":105814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133644288001,"66":27865,"203":206,"2":54272,"24":32,"16":318499304199159808,"44":-1531364580425420800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,2,24,16,44]} 
[2026-06-18 14:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133644288001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318499304199159808,"km_value":318499304199159.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1531364580425420800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133644288001,"power":27865,"mnc":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1531364580425420800}} 
[2026-06-18 14:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":105814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:12:29] local.INFO: GPS data processed {"connection_id":105814,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:12:29] local.INFO: Acknowledgment sent {"connection_id":105814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:12:36] local.INFO: TCP Data received {"connection_id":107552,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:12:36] local.INFO: Processing buffer {"connection_id":107552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:12:36] local.INFO: IMEI packet received {"connection_id":107552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:12:36] local.INFO: IMEI acknowledgment sent {"connection_id":107552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:12:42] local.INFO: TCP Data received {"connection_id":107552,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:12:42] local.INFO: Processing buffer {"connection_id":107552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:12:42] local.INFO: IMEI packet received {"connection_id":107552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":107552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:12:43] local.INFO: TCP Data received {"connection_id":107552,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:43] local.INFO: Processing buffer {"connection_id":107552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:43] local.INFO: Packet analysis {"connection_id":107552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:12:43] local.INFO: Extracted packet for processing {"connection_id":107552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:12:43] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:12:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":107552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:12:43] local.INFO: GPS data processed {"connection_id":107552,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:12:43] local.INFO: Acknowledgment sent {"connection_id":107552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:12:47] local.INFO: TCP Data received {"connection_id":107552,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:47] local.INFO: Processing buffer {"connection_id":107552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:12:47] local.INFO: Packet analysis {"connection_id":107552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:12:47] local.INFO: Extracted packet for processing {"connection_id":107552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:12:47] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:12:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":107552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:12:47] local.INFO: GPS data processed {"connection_id":107552,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:12:47] local.INFO: Acknowledgment sent {"connection_id":107552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:13:01] local.INFO: TCP Data received {"connection_id":105814,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e40948012ceab64007123b38000f000321..."} 
[2026-06-18 14:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e40948012ceab64007123b38000f000321..."} 
[2026-06-18 14:13:01] local.INFO: Processing buffer {"connection_id":105814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e40948012ceab64007123b38000f000321..."} 
[2026-06-18 14:13:01] local.INFO: Packet analysis {"connection_id":105814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e4"} 
[2026-06-18 14:13:01] local.INFO: Extracted packet for processing {"connection_id":105814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e4"} 
[2026-06-18 14:13:01] local.INFO: GPS Element Parsed {"raw_longitude":753579584,"raw_latitude":118635320,"longitude_deg":75.3579584,"latitude_deg":11.863532,"altitude":15,"angle":3,"satellites":33,"speed":7,"hex_longitude":"2ceab640","hex_latitude":"07123b38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133645312001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318499480292818944,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1533264536517369856,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781772061000,"timestamp_ms":1781772061000,"timestamp_seconds":1781772061,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e40948"} 
[2026-06-18 14:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:13:01] 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-06-18 14:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 14:13: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-06-18 14: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-06-18 14:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":105814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":105814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":105814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133645312001,"66":27930,"203":206,"2":54272,"24":7,"16":318499480292818944,"44":-1533264536517369856},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,2,24,16,44]} 
[2026-06-18 14:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133645312001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318499480292818944,"km_value":318499480292818.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1533264536517369856,"description":"Unknown IO ID 44"} 
[2026-06-18 14:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133645312001,"power":27930,"mnc":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1533264536517369856}} 
[2026-06-18 14:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":105814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:13:01] local.INFO: GPS data processed {"connection_id":105814,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:13:01] local.INFO: Acknowledgment sent {"connection_id":105814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:13:19] local.INFO: TCP Data received {"connection_id":107552,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:13:19] local.INFO: Processing buffer {"connection_id":107552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:13:19] local.INFO: Packet analysis {"connection_id":107552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:13:19] local.INFO: Extracted packet for processing {"connection_id":107552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":107552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":107552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":107552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:13:19] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:13:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":107552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:13:19] local.INFO: GPS data processed {"connection_id":107552,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:13:19] local.INFO: Acknowledgment sent {"connection_id":107552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:13:36] local.INFO: TCP Data received {"connection_id":107554,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:13:36] local.INFO: Processing buffer {"connection_id":107554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:13:36] local.INFO: IMEI packet received {"connection_id":107554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:13:36] local.INFO: IMEI acknowledgment sent {"connection_id":107554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:13:41] local.INFO: TCP Data received {"connection_id":107554,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:13:41] local.INFO: Processing buffer {"connection_id":107554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:13:41] local.INFO: IMEI packet received {"connection_id":107554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":107554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:13:42] local.INFO: TCP Data received {"connection_id":107554,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:13:42] local.INFO: Processing buffer {"connection_id":107554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e188a8012d180b4007217648004800bb24..."} 
[2026-06-18 14:13:42] local.INFO: Packet analysis {"connection_id":107554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:13:42] local.INFO: Extracted packet for processing {"connection_id":107554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e1"} 
[2026-06-18 14:13:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133528576001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781771897000,"timestamp_ms":1781771897000,"timestamp_seconds":1781771897,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e188a8"} 
[2026-06-18 14:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12032,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133528576001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133528576001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:13:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:13:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133528576001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":107554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:13:42] local.INFO: GPS data processed {"connection_id":107554,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:13:42] local.INFO: Acknowledgment sent {"connection_id":107554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:14:00] local.INFO: TCP Data received {"connection_id":106583,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:00] local.INFO: Processing buffer {"connection_id":106583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:00] local.INFO: IMEI packet received {"connection_id":106583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":106583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:14:04] local.INFO: TCP Data received {"connection_id":106583,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:04] local.INFO: Processing buffer {"connection_id":106583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:04] local.INFO: IMEI packet received {"connection_id":106583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":106583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:14:06] local.INFO: TCP Data received {"connection_id":106583,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e59f88012ceaf640071338580016001825..."} 
[2026-06-18 14:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e59f88012ceaf640071338580016001825..."} 
[2026-06-18 14:14:06] local.INFO: Processing buffer {"connection_id":106583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e59f88012ceaf640071338580016001825..."} 
[2026-06-18 14:14:06] local.INFO: Packet analysis {"connection_id":106583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e5"} 
[2026-06-18 14:14:06] local.INFO: Extracted packet for processing {"connection_id":106583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e5"} 
[2026-06-18 14:14:06] local.INFO: GPS Element Parsed {"raw_longitude":753595968,"raw_latitude":118700120,"longitude_deg":75.3595968,"latitude_deg":11.870012,"altitude":22,"angle":24,"satellites":37,"speed":23,"hex_longitude":"2ceaf640","hex_latitude":"07133858","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133674240001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318502821777375232,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1515953825432184832,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781772165000,"timestamp_ms":1781772165000,"timestamp_seconds":1781772165,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e59f88"} 
[2026-06-18 14:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:14: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-06-18 14:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 14:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133674240001,"66":27865,"232":206,"2":54272,"24":23,"16":318502821777375232,"44":-1515953825432184832},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,2,24,16,44]} 
[2026-06-18 14:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133674240001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:14:06] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-06-18 14:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318502821777375232,"km_value":318502821777375.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1515953825432184832,"description":"Unknown IO ID 44"} 
[2026-06-18 14:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133674240001,"power":27865,"unknown_232":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1515953825432184832}} 
[2026-06-18 14:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":106583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:14:06] local.INFO: GPS data processed {"connection_id":106583,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:14:06] local.INFO: Acknowledgment sent {"connection_id":106583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:14:13] local.INFO: TCP Data received {"connection_id":107554,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:13] local.INFO: Processing buffer {"connection_id":107554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:13] local.INFO: Packet analysis {"connection_id":107554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:14:13] local.INFO: Extracted packet for processing {"connection_id":107554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:14:13] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:14:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:14:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":107554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:14:13] local.INFO: GPS data processed {"connection_id":107554,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:14:13] local.INFO: Acknowledgment sent {"connection_id":107554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:14:29] local.INFO: TCP Data received {"connection_id":106011,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:29] local.INFO: Processing buffer {"connection_id":106011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:29] local.INFO: IMEI packet received {"connection_id":106011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":106011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:14:35] local.INFO: TCP Data received {"connection_id":106011,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:35] local.INFO: Processing buffer {"connection_id":106011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:14:35] local.INFO: IMEI packet received {"connection_id":106011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":106011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:14:36] local.INFO: TCP Data received {"connection_id":106011,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e5e1f0012ceafcc007134be80019000b20..."} 
[2026-06-18 14:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e5e1f0012ceafcc007134be80019000b20..."} 
[2026-06-18 14:14:36] local.INFO: Processing buffer {"connection_id":106011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e5e1f0012ceafcc007134be80019000b20..."} 
[2026-06-18 14:14:36] local.INFO: Packet analysis {"connection_id":106011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e5"} 
[2026-06-18 14:14:36] local.INFO: Extracted packet for processing {"connection_id":106011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e5"} 
[2026-06-18 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":753597632,"raw_latitude":118705128,"longitude_deg":75.3597632,"latitude_deg":11.8705128,"altitude":25,"angle":11,"satellites":32,"speed":2,"hex_longitude":"2ceafcc0","hex_latitude":"07134be8","is_valid_coordinates":true} 
[2026-06-18 14:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133674240001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318503079475412992,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1515953825432184832,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781772182000,"timestamp_ms":1781772182000,"timestamp_seconds":1781772182,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e5e1f0"} 
[2026-06-18 14:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:14:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:14:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 14:14: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-06-18 14:14:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133674240001,"66":27919,"232":206,"2":54272,"24":2,"16":318503079475412992,"44":-1515953825432184832},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,2,24,16,44]} 
[2026-06-18 14:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133674240001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:14:36] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-06-18 14:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318503079475412992,"km_value":318503079475413.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:14:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1515953825432184832,"description":"Unknown IO ID 44"} 
[2026-06-18 14:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133674240001,"power":27919,"unknown_232":206,"power_alt":54272,"ignition":2,"odometer":null,"unknown_44":-1515953825432184832}} 
[2026-06-18 14:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":106011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:14:36] local.INFO: GPS data processed {"connection_id":106011,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:14:36] local.INFO: Acknowledgment sent {"connection_id":106011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:14:41] local.INFO: TCP Data received {"connection_id":105815,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:14:41] local.INFO: Processing buffer {"connection_id":105815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:14:41] local.INFO: IMEI packet received {"connection_id":105815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":105815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:14:46] local.INFO: TCP Data received {"connection_id":105815,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:14:46] local.INFO: Processing buffer {"connection_id":105815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:14:46] local.INFO: IMEI packet received {"connection_id":105815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":105815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:14:47] local.INFO: TCP Data received {"connection_id":105815,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:47] local.INFO: Processing buffer {"connection_id":105815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:47] local.INFO: Packet analysis {"connection_id":105815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:14:47] local.INFO: Extracted packet for processing {"connection_id":105815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:14:47] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:14:47] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:14:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":105815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:14:47] local.INFO: GPS data processed {"connection_id":105815,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:14:47] local.INFO: Acknowledgment sent {"connection_id":105815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:14:52] local.INFO: TCP Data received {"connection_id":105815,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:52] local.INFO: Processing buffer {"connection_id":105815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:14:52] local.INFO: Packet analysis {"connection_id":105815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:14:52] local.INFO: Extracted packet for processing {"connection_id":105815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:14:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":105815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":105815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":105815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:14:52] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:14:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":105815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:14:52] local.INFO: GPS data processed {"connection_id":105815,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:14:52] local.INFO: Acknowledgment sent {"connection_id":105815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:15:08] local.INFO: TCP Data received {"connection_id":106011,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e6e3c0012ceafa000713ece0000e008327..."} 
[2026-06-18 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e6e3c0012ceafa000713ece0000e008327..."} 
[2026-06-18 14:15:08] local.INFO: Processing buffer {"connection_id":106011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e6e3c0012ceafa000713ece0000e008327..."} 
[2026-06-18 14:15:08] local.INFO: Packet analysis {"connection_id":106011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:15:08] local.INFO: Extracted packet for processing {"connection_id":106011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":753596928,"raw_latitude":118746336,"longitude_deg":75.3596928,"latitude_deg":11.8746336,"altitude":14,"angle":131,"satellites":39,"speed":16,"hex_longitude":"2ceafa00","hex_latitude":"0713ece0","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133695232001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318505235548995584,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1515179769234337792,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781772248000,"timestamp_ms":1781772248000,"timestamp_seconds":1781772248,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e6e3c0"} 
[2026-06-18 14:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 14:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133695232001,"66":27745,"12":206,"2":54272,"24":16,"16":318505235548995584,"44":-1515179769234337792},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133695232001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:15:08] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318505235548995584,"km_value":318505235548995.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:15:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1515179769234337792,"description":"Unknown IO ID 44"} 
[2026-06-18 14:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133695232001,"power":27745,"unknown_12":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1515179769234337792}} 
[2026-06-18 14:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":106011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:15:08] local.INFO: GPS data processed {"connection_id":106011,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:15:08] local.INFO: Acknowledgment sent {"connection_id":106011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:15:25] local.INFO: TCP Data received {"connection_id":106585,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:15:25] local.INFO: Processing buffer {"connection_id":106585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:15:25] local.INFO: IMEI packet received {"connection_id":106585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:15:25] local.INFO: IMEI acknowledgment sent {"connection_id":106585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:15:30] local.INFO: TCP Data received {"connection_id":106585,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:15:30] local.INFO: Processing buffer {"connection_id":106585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:15:30] local.INFO: IMEI packet received {"connection_id":106585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":106585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:15:31] local.INFO: TCP Data received {"connection_id":106585,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e6ff18012ceb04c00713e440000c007327..."} 
[2026-06-18 14:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e6ff18012ceb04c00713e440000c007327..."} 
[2026-06-18 14:15:31] local.INFO: Processing buffer {"connection_id":106585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e6ff18012ceb04c00713e440000c007327..."} 
[2026-06-18 14:15:31] local.INFO: Packet analysis {"connection_id":106585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:15:31] local.INFO: Extracted packet for processing {"connection_id":106585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:15:31] local.INFO: GPS Element Parsed {"raw_longitude":753599680,"raw_latitude":118744128,"longitude_deg":75.359968,"latitude_deg":11.8744128,"altitude":12,"angle":115,"satellites":39,"speed":24,"hex_longitude":"2ceb04c0","hex_latitude":"0713e440","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133695488001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318505407347687424,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1514898294257688576,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781772255000,"timestamp_ms":1781772255000,"timestamp_seconds":1781772255,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e6ff18"} 
[2026-06-18 14:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 14:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133695488001,"66":27463,"12":206,"2":54272,"24":24,"16":318505407347687424,"44":-1514898294257688576},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133695488001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:15:31] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318505407347687424,"km_value":318505407347687.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1514898294257688576,"description":"Unknown IO ID 44"} 
[2026-06-18 14:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133695488001,"power":27463,"unknown_12":206,"power_alt":54272,"ignition":24,"odometer":null,"unknown_44":-1514898294257688576}} 
[2026-06-18 14:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":106585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:15:31] local.INFO: GPS data processed {"connection_id":106585,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:15:31] local.INFO: Acknowledgment sent {"connection_id":106585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:15:36] local.INFO: TCP Data received {"connection_id":107555,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:15:36] local.INFO: Processing buffer {"connection_id":107555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:15:36] local.INFO: IMEI packet received {"connection_id":107555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":107555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:15:41] local.INFO: TCP Data received {"connection_id":107555,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:15:41] local.INFO: Processing buffer {"connection_id":107555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:15:41] local.INFO: IMEI packet received {"connection_id":107555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":107555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:15:42] local.INFO: TCP Data received {"connection_id":107555,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:15:42] local.INFO: Processing buffer {"connection_id":107555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:15:42] local.INFO: Packet analysis {"connection_id":107555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:15:42] local.INFO: Extracted packet for processing {"connection_id":107555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:15:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:15:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:15:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":107555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:15:42] local.INFO: GPS data processed {"connection_id":107555,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:15:42] local.INFO: Acknowledgment sent {"connection_id":107555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:16:03] local.INFO: TCP Data received {"connection_id":106585,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e72240012ceb1a400713db280008006527..."} 
[2026-06-18 14:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e72240012ceb1a400713db280008006527..."} 
[2026-06-18 14:16:03] local.INFO: Processing buffer {"connection_id":106585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e72240012ceb1a400713db280008006527..."} 
[2026-06-18 14:16:03] local.INFO: Packet analysis {"connection_id":106585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e7"} 
[2026-06-18 14:16:03] local.INFO: Extracted packet for processing {"connection_id":106585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e7"} 
[2026-06-18 14:16:03] local.INFO: GPS Element Parsed {"raw_longitude":753605184,"raw_latitude":118741800,"longitude_deg":75.3605184,"latitude_deg":11.87418,"altitude":8,"angle":101,"satellites":39,"speed":26,"hex_longitude":"2ceb1a40","hex_latitude":"0713db28","is_valid_coordinates":true} 
[2026-06-18 14:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133697280001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318505690815528960,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511872438258614272,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781772264000,"timestamp_ms":1781772264000,"timestamp_seconds":1781772264,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e72240"} 
[2026-06-18 14:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:16: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-06-18 14:16:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 14:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:16:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133697280001,"66":27952,"12":206,"2":54272,"24":26,"16":318505690815528960,"44":-1511872438258614272},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133697280001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:16:03] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318505690815528960,"km_value":318505690815528.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:16:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511872438258614272,"description":"Unknown IO ID 44"} 
[2026-06-18 14:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133697280001,"power":27952,"unknown_12":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1511872438258614272}} 
[2026-06-18 14:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":106585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:16:03] local.INFO: GPS data processed {"connection_id":106585,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:16:03] local.INFO: Acknowledgment sent {"connection_id":106585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:16:14] local.INFO: TCP Data received {"connection_id":107555,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:16:14] local.INFO: Processing buffer {"connection_id":107555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:16:14] local.INFO: Packet analysis {"connection_id":107555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:16:14] local.INFO: Extracted packet for processing {"connection_id":107555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:16:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:16:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:16:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:16:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:16:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:16:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:16:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:16:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:16:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:16:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:16:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:16:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:16:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:16:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:16:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:16:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:16:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:16:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:16:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:16:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:16:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:16:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:16:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:16:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:16:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:16:14] local.INFO: DEBUG: GPS processor result {"connection_id":107555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:16:14] local.INFO: GPS data processed {"connection_id":107555,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:16:14] local.INFO: Acknowledgment sent {"connection_id":107555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:16:24] local.INFO: TCP Data received {"connection_id":105816,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:16:24] local.INFO: Processing buffer {"connection_id":105816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:16:24] local.INFO: IMEI packet received {"connection_id":105816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":105816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:16:30] local.INFO: TCP Data received {"connection_id":105816,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:16:30] local.INFO: Processing buffer {"connection_id":105816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:16:30] local.INFO: IMEI packet received {"connection_id":105816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":105816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:16:31] local.INFO: TCP Data received {"connection_id":105816,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e75120012ceb3bc00713d5680007006a26..."} 
[2026-06-18 14:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e75120012ceb3bc00713d5680007006a26..."} 
[2026-06-18 14:16:31] local.INFO: Processing buffer {"connection_id":105816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e75120012ceb3bc00713d5680007006a26..."} 
[2026-06-18 14:16:31] local.INFO: Packet analysis {"connection_id":105816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e7"} 
[2026-06-18 14:16:31] local.INFO: Extracted packet for processing {"connection_id":105816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e7"} 
[2026-06-18 14:16:31] local.INFO: GPS Element Parsed {"raw_longitude":753613760,"raw_latitude":118740328,"longitude_deg":75.361376,"latitude_deg":11.8740328,"altitude":7,"angle":106,"satellites":38,"speed":29,"hex_longitude":"2ceb3bc0","hex_latitude":"0713d568","is_valid_coordinates":true} 
[2026-06-18 14:16: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-06-18 14:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133699584001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506103132389376,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1505820726259931136,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781772276000,"timestamp_ms":1781772276000,"timestamp_seconds":1781772276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e75120"} 
[2026-06-18 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-06-18 14:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 14:16: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-06-18 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-06-18 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-06-18 14:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133699584001,"66":27919,"10":206,"2":54272,"24":29,"16":318506103132389376,"44":-1505820726259931136},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133699584001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:16:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506103132389376,"km_value":318506103132389.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:16:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1505820726259931136,"description":"Unknown IO ID 44"} 
[2026-06-18 14:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133699584001,"power":27919,"unknown_10":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1505820726259931136}} 
[2026-06-18 14:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":105816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:16:31] local.INFO: GPS data processed {"connection_id":105816,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:16:31] local.INFO: Acknowledgment sent {"connection_id":105816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:16:36] local.INFO: TCP Data received {"connection_id":107556,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:16:36] local.INFO: Processing buffer {"connection_id":107556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:16:36] local.INFO: IMEI packet received {"connection_id":107556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:16:36] local.INFO: IMEI acknowledgment sent {"connection_id":107556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:16:41] local.INFO: TCP Data received {"connection_id":107556,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:16:41] local.INFO: Processing buffer {"connection_id":107556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:16:41] local.INFO: IMEI packet received {"connection_id":107556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":107556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:16:43] local.INFO: TCP Data received {"connection_id":107556,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:16:43] local.INFO: Processing buffer {"connection_id":107556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:16:43] local.INFO: Packet analysis {"connection_id":107556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:16:43] local.INFO: Extracted packet for processing {"connection_id":107556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:16:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:16:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:16:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:16:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:16:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":107556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:16:43] local.INFO: GPS data processed {"connection_id":107556,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:16:43] local.INFO: Acknowledgment sent {"connection_id":107556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:16:59] local.INFO: TCP Data received {"connection_id":106012,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:16:59] local.INFO: Processing buffer {"connection_id":106012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:16:59] local.INFO: IMEI packet received {"connection_id":106012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":106012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:17:02] local.INFO: TCP Data received {"connection_id":105816,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e75120012ceb3bc00713d5680007006a26..."} 
[2026-06-18 14:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e75120012ceb3bc00713d5680007006a26..."} 
[2026-06-18 14:17:02] local.INFO: Processing buffer {"connection_id":105816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e75120012ceb3bc00713d5680007006a26..."} 
[2026-06-18 14:17:02] local.INFO: Packet analysis {"connection_id":105816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e7"} 
[2026-06-18 14:17:02] local.INFO: Extracted packet for processing {"connection_id":105816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e7"} 
[2026-06-18 14:17:02] local.INFO: GPS Element Parsed {"raw_longitude":753613760,"raw_latitude":118740328,"longitude_deg":75.361376,"latitude_deg":11.8740328,"altitude":7,"angle":106,"satellites":38,"speed":29,"hex_longitude":"2ceb3bc0","hex_latitude":"0713d568","is_valid_coordinates":true} 
[2026-06-18 14:17: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-06-18 14:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133699584001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506103132389376,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1505820726259931136,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781772276000,"timestamp_ms":1781772276000,"timestamp_seconds":1781772276,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e75120"} 
[2026-06-18 14:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 14:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133699584001,"66":27919,"10":206,"2":54272,"24":29,"16":318506103132389376,"44":-1505820726259931136},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133699584001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:17:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506103132389376,"km_value":318506103132389.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:17:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1505820726259931136,"description":"Unknown IO ID 44"} 
[2026-06-18 14:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133699584001,"power":27919,"unknown_10":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1505820726259931136}} 
[2026-06-18 14:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":105816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:17:02] local.INFO: GPS data processed {"connection_id":105816,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:17:02] local.INFO: Acknowledgment sent {"connection_id":105816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:17:14] local.INFO: TCP Data received {"connection_id":107556,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:17:14] local.INFO: Processing buffer {"connection_id":107556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:17:14] local.INFO: Packet analysis {"connection_id":107556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:17:14] local.INFO: Extracted packet for processing {"connection_id":107556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:17:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:17:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:17:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":107556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:17:14] local.INFO: GPS data processed {"connection_id":107556,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:17:14] local.INFO: Acknowledgment sent {"connection_id":107556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:17:27] local.INFO: TCP Data received {"connection_id":107557,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:27] local.INFO: Processing buffer {"connection_id":107557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:27] local.INFO: IMEI packet received {"connection_id":107557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":107557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:17:30] local.INFO: TCP Data received {"connection_id":107557,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:30] local.INFO: Processing buffer {"connection_id":107557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:30] local.INFO: IMEI packet received {"connection_id":107557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:17:30] local.INFO: IMEI acknowledgment sent {"connection_id":107557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:17:33] local.INFO: TCP Data received {"connection_id":106013,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:17:33] local.INFO: Processing buffer {"connection_id":106013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:17:33] local.INFO: IMEI packet received {"connection_id":106013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":106013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:17:35] local.INFO: TCP Data received {"connection_id":107557,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:35] local.INFO: Processing buffer {"connection_id":107557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:17:35] local.INFO: IMEI packet received {"connection_id":107557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":107557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:17:36] local.INFO: TCP Data received {"connection_id":106014,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:17:36] local.INFO: Processing buffer {"connection_id":106014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:17:36] local.INFO: IMEI packet received {"connection_id":106014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:17:36] local.INFO: IMEI acknowledgment sent {"connection_id":106014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:17:36] local.INFO: TCP Data received {"connection_id":107557,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e8fed0012ceb60800713c138000c007128..."} 
[2026-06-18 14:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e8fed0012ceb60800713c138000c007128..."} 
[2026-06-18 14:17:36] local.INFO: Processing buffer {"connection_id":107557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e8fed0012ceb60800713c138000c007128..."} 
[2026-06-18 14:17:36] local.INFO: Packet analysis {"connection_id":107557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e8"} 
[2026-06-18 14:17:36] local.INFO: Extracted packet for processing {"connection_id":107557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e8"} 
[2026-06-18 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":753623168,"raw_latitude":118735160,"longitude_deg":75.3623168,"latitude_deg":11.873516,"altitude":12,"angle":113,"satellites":40,"speed":0,"hex_longitude":"2ceb6080","hex_latitude":"0713c138","is_valid_coordinates":true} 
[2026-06-18 14:17: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-06-18 14:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506103132389376,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1496391314540500992,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781772386000,"timestamp_ms":1781772386000,"timestamp_seconds":1781772386,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e8fed0"} 
[2026-06-18 14:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 14:17: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-06-18 14:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:17:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133702656001,"66":26571,"11":206,"2":54272,"24":0,"16":318506103132389376,"44":-1496391314540500992},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,44]} 
[2026-06-18 14:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:17:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 14:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506103132389376,"km_value":318506103132389.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:17:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1496391314540500992,"description":"Unknown IO ID 44"} 
[2026-06-18 14:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133702656001,"power":26571,"unknown_11":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1496391314540500992}} 
[2026-06-18 14:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":107557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:17:36] local.INFO: GPS data processed {"connection_id":107557,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:17:36] local.INFO: Acknowledgment sent {"connection_id":107557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:17:41] local.INFO: TCP Data received {"connection_id":106014,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:17:41] local.INFO: Processing buffer {"connection_id":106014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:17:41] local.INFO: IMEI packet received {"connection_id":106014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":106014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:17:41] local.INFO: TCP Data received {"connection_id":107557,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e906a0012ceb69400713be20000c008728..."} 
[2026-06-18 14:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e906a0012ceb69400713be20000c008728..."} 
[2026-06-18 14:17:41] local.INFO: Processing buffer {"connection_id":107557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e906a0012ceb69400713be20000c008728..."} 
[2026-06-18 14:17:41] local.INFO: Packet analysis {"connection_id":107557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:17:41] local.INFO: Extracted packet for processing {"connection_id":107557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:17:41] local.INFO: GPS Element Parsed {"raw_longitude":753625408,"raw_latitude":118734368,"longitude_deg":75.3625408,"latitude_deg":11.8734368,"altitude":12,"angle":135,"satellites":40,"speed":0,"hex_longitude":"2ceb6940","hex_latitude":"0713be20","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133730816001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506103132389376,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486047109147707392,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781772388000,"timestamp_ms":1781772388000,"timestamp_seconds":1781772388,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e906a0"} 
[2026-06-18 14:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14: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":103,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-18 14:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2540,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133730816001,"66":24614,"11":206,"2":54272,"24":0,"16":318506103132389376,"44":-1486047109147707392},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,44]} 
[2026-06-18 14:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133730816001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:17:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 14:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506103132389376,"km_value":318506103132389.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486047109147707392,"description":"Unknown IO ID 44"} 
[2026-06-18 14:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133730816001,"power":24614,"unknown_11":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486047109147707392}} 
[2026-06-18 14:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":107557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:17:41] local.INFO: GPS data processed {"connection_id":107557,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:17:41] local.INFO: Acknowledgment sent {"connection_id":107557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:17:42] local.INFO: TCP Data received {"connection_id":106014,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:17:42] local.INFO: Processing buffer {"connection_id":106014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:17:42] local.INFO: Packet analysis {"connection_id":106014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:17:42] local.INFO: Extracted packet for processing {"connection_id":106014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:17:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:17:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:17:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":106014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:17:42] local.INFO: GPS data processed {"connection_id":106014,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:17:42] local.INFO: Acknowledgment sent {"connection_id":106014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:18:16] local.INFO: TCP Data received {"connection_id":106014,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:18:16] local.INFO: Processing buffer {"connection_id":106014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:18:16] local.INFO: Packet analysis {"connection_id":106014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:18:16] local.INFO: Extracted packet for processing {"connection_id":106014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:18:16] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:18:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:18:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:18:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:18:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:18:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:18:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:18:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:18:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:18:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:18:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:18:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:18:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:18:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:18:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:18:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:18:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:18:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:18:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:18:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:18:16] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:18:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:18:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:18:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:18:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:18:16] local.INFO: DEBUG: GPS processor result {"connection_id":106014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:18:16] local.INFO: GPS data processed {"connection_id":106014,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:18:16] local.INFO: Acknowledgment sent {"connection_id":106014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:18:25] local.INFO: TCP Data received {"connection_id":106587,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:25] local.INFO: Processing buffer {"connection_id":106587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:25] local.INFO: IMEI packet received {"connection_id":106587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":106587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:18:26] local.INFO: TCP Data received {"connection_id":106587,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:26] local.INFO: Processing buffer {"connection_id":106587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:26] local.INFO: IMEI packet received {"connection_id":106587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":106587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:18:30] local.INFO: TCP Data received {"connection_id":106587,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:30] local.INFO: Processing buffer {"connection_id":106587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:18:30] local.INFO: IMEI packet received {"connection_id":106587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":106587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:18:31] local.INFO: TCP Data received {"connection_id":106587,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e958a8012ceb69400713be20000c008727..."} 
[2026-06-18 14:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e958a8012ceb69400713be20000c008727..."} 
[2026-06-18 14:18:31] local.INFO: Processing buffer {"connection_id":106587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e958a8012ceb69400713be20000c008727..."} 
[2026-06-18 14:18:31] local.INFO: Packet analysis {"connection_id":106587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:18:31] local.INFO: Extracted packet for processing {"connection_id":106587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:18:31] local.INFO: GPS Element Parsed {"raw_longitude":753625408,"raw_latitude":118734368,"longitude_deg":75.3625408,"latitude_deg":11.8734368,"altitude":12,"angle":135,"satellites":39,"speed":0,"hex_longitude":"2ceb6940","hex_latitude":"0713be20","is_valid_coordinates":true} 
[2026-06-18 14:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133731328001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506103132389376,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483584203101691904,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781772409000,"timestamp_ms":1781772409000,"timestamp_seconds":1781772409,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e958a8"} 
[2026-06-18 14:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 14:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1020,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133731328001,"66":26984,"11":206,"2":54272,"24":0,"16":318506103132389376,"44":-1483584203101691904},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,44]} 
[2026-06-18 14:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133731328001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:18:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 14:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506103132389376,"km_value":318506103132389.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483584203101691904,"description":"Unknown IO ID 44"} 
[2026-06-18 14:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133731328001,"power":26984,"unknown_11":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1483584203101691904}} 
[2026-06-18 14:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":106587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:18:31] local.INFO: GPS data processed {"connection_id":106587,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:18:31] local.INFO: Acknowledgment sent {"connection_id":106587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:18:36] local.INFO: TCP Data received {"connection_id":105817,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:18:36] local.INFO: Processing buffer {"connection_id":105817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:18:36] local.INFO: IMEI packet received {"connection_id":105817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:18:36] local.INFO: IMEI acknowledgment sent {"connection_id":105817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:18:41] local.INFO: TCP Data received {"connection_id":105817,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:18:41] local.INFO: Processing buffer {"connection_id":105817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:18:41] local.INFO: IMEI packet received {"connection_id":105817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":105817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:18:42] local.INFO: TCP Data received {"connection_id":105817,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:18:42] local.INFO: Processing buffer {"connection_id":105817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e62070012d180b4007217648004800bb22..."} 
[2026-06-18 14:18:42] local.INFO: Packet analysis {"connection_id":105817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:18:42] local.INFO: Extracted packet for processing {"connection_id":105817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e6"} 
[2026-06-18 14:18:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":34,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133605632001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781772198000,"timestamp_ms":1781772198000,"timestamp_seconds":1781772198,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e62070"} 
[2026-06-18 14:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:18:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133605632001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133605632001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:18:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:18:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133605632001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":105817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:18:43] local.INFO: GPS data processed {"connection_id":105817,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:18:43] local.INFO: Acknowledgment sent {"connection_id":105817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:19:02] local.INFO: TCP Data received {"connection_id":106587,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e9aab0012ceb69400713be20000c008726..."} 
[2026-06-18 14:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e9aab0012ceb69400713be20000c008726..."} 
[2026-06-18 14:19:02] local.INFO: Processing buffer {"connection_id":106587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e9aab0012ceb69400713be20000c008726..."} 
[2026-06-18 14:19:02] local.INFO: Packet analysis {"connection_id":106587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:19:02] local.INFO: Extracted packet for processing {"connection_id":106587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:19:02] local.INFO: GPS Element Parsed {"raw_longitude":753625408,"raw_latitude":118734368,"longitude_deg":75.3625408,"latitude_deg":11.8734368,"altitude":12,"angle":135,"satellites":38,"speed":0,"hex_longitude":"2ceb6940","hex_latitude":"0713be20","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133736704001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506103132389376,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483584203101691904,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781772430000,"timestamp_ms":1781772430000,"timestamp_seconds":1781772430,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e9aab0"} 
[2026-06-18 14:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:19: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-06-18 14: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":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 14:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133736704001,"66":27995,"10":206,"2":54272,"24":0,"16":318506103132389376,"44":-1483584203101691904},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133736704001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:19:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506103132389376,"km_value":318506103132389.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:19:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483584203101691904,"description":"Unknown IO ID 44"} 
[2026-06-18 14:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133736704001,"power":27995,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1483584203101691904}} 
[2026-06-18 14:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":106587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:19:02] local.INFO: GPS data processed {"connection_id":106587,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:19:02] local.INFO: Acknowledgment sent {"connection_id":106587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:19:14] local.INFO: TCP Data received {"connection_id":105817,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:19:14] local.INFO: Processing buffer {"connection_id":105817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:19:14] local.INFO: Packet analysis {"connection_id":105817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:19:14] local.INFO: Extracted packet for processing {"connection_id":105817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:19:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:19:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:19:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:19:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:19:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":105817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:19:14] local.INFO: GPS data processed {"connection_id":105817,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:19:14] local.INFO: Acknowledgment sent {"connection_id":105817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:19:25] local.INFO: TCP Data received {"connection_id":107559,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:19:25] local.INFO: Processing buffer {"connection_id":107559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:19:25] local.INFO: IMEI packet received {"connection_id":107559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":107559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:19:30] local.INFO: TCP Data received {"connection_id":107559,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:19:30] local.INFO: Processing buffer {"connection_id":107559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:19:30] local.INFO: IMEI packet received {"connection_id":107559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":107559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:19:32] local.INFO: TCP Data received {"connection_id":107559,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e9ba50012ceb6b400713bdf80009006629..."} 
[2026-06-18 14:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e9ba50012ceb6b400713bdf80009006629..."} 
[2026-06-18 14:19:32] local.INFO: Processing buffer {"connection_id":107559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e9ba50012ceb6b400713bdf80009006629..."} 
[2026-06-18 14:19:32] local.INFO: Packet analysis {"connection_id":107559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:19:32] local.INFO: Extracted packet for processing {"connection_id":107559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":753625920,"raw_latitude":118734328,"longitude_deg":75.362592,"latitude_deg":11.8734328,"altitude":9,"angle":102,"satellites":41,"speed":7,"hex_longitude":"2ceb6b40","hex_latitude":"0713bdf8","is_valid_coordinates":true} 
[2026-06-18 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133742080001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506128902193152,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483584203101691904,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781772434000,"timestamp_ms":1781772434000,"timestamp_seconds":1781772434,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e9ba50"} 
[2026-06-18 14:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 14:19: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-06-18 14:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133742080001,"66":27821,"10":206,"2":54272,"24":7,"16":318506128902193152,"44":-1483584203101691904},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133742080001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:19:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506128902193152,"km_value":318506128902193.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:19:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483584203101691904,"description":"Unknown IO ID 44"} 
[2026-06-18 14:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133742080001,"power":27821,"unknown_10":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1483584203101691904}} 
[2026-06-18 14:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":107559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:19:32] local.INFO: GPS data processed {"connection_id":107559,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:19:32] local.INFO: Acknowledgment sent {"connection_id":107559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:19:36] local.INFO: TCP Data received {"connection_id":105819,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:19:36] local.INFO: Processing buffer {"connection_id":105819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:19:36] local.INFO: IMEI packet received {"connection_id":105819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":105819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:19:41] local.INFO: TCP Data received {"connection_id":105819,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:19:41] local.INFO: Processing buffer {"connection_id":105819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:19:41] local.INFO: IMEI packet received {"connection_id":105819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":105819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:19:42] local.INFO: TCP Data received {"connection_id":105819,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:19:42] local.INFO: Processing buffer {"connection_id":105819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:19:42] local.INFO: Packet analysis {"connection_id":105819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:19:42] local.INFO: Extracted packet for processing {"connection_id":105819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:19:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:19:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:19:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:19:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":105819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:19:42] local.INFO: GPS data processed {"connection_id":105819,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:19:42] local.INFO: Acknowledgment sent {"connection_id":105819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:20:03] local.INFO: TCP Data received {"connection_id":107559,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e9c9f0012ceb70000713bd700009005826..."} 
[2026-06-18 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e9c9f0012ceb70000713bd700009005826..."} 
[2026-06-18 14:20:03] local.INFO: Processing buffer {"connection_id":107559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e9c9f0012ceb70000713bd700009005826..."} 
[2026-06-18 14:20:03] local.INFO: Packet analysis {"connection_id":107559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:20:03] local.INFO: Extracted packet for processing {"connection_id":107559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":753627136,"raw_latitude":118734192,"longitude_deg":75.3627136,"latitude_deg":11.8734192,"altitude":9,"angle":88,"satellites":38,"speed":13,"hex_longitude":"2ceb7000","hex_latitude":"0713bd70","is_valid_coordinates":true} 
[2026-06-18 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133743104001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506189031735296,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1483021253148280832,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781772438000,"timestamp_ms":1781772438000,"timestamp_seconds":1781772438,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e9c9f0"} 
[2026-06-18 14:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 14:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133743104001,"66":27995,"10":206,"2":54272,"24":13,"16":318506189031735296,"44":-1483021253148280832},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133743104001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:20:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506189031735296,"km_value":318506189031735.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:20:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1483021253148280832,"description":"Unknown IO ID 44"} 
[2026-06-18 14:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133743104001,"power":27995,"unknown_10":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1483021253148280832}} 
[2026-06-18 14:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":107559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:20:03] local.INFO: GPS data processed {"connection_id":107559,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:20:03] local.INFO: Acknowledgment sent {"connection_id":107559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:20:14] local.INFO: TCP Data received {"connection_id":105819,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:20:14] local.INFO: Processing buffer {"connection_id":105819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:20:14] local.INFO: Packet analysis {"connection_id":105819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:20:14] local.INFO: Extracted packet for processing {"connection_id":105819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:20:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":105819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:20:14] local.INFO: GPS data processed {"connection_id":105819,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:20:14] local.INFO: Acknowledgment sent {"connection_id":105819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:20:24] local.INFO: TCP Data received {"connection_id":106588,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:20:24] local.INFO: Processing buffer {"connection_id":106588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:20:24] local.INFO: IMEI packet received {"connection_id":106588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":106588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:20:30] local.INFO: TCP Data received {"connection_id":106588,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:20:30] local.INFO: Processing buffer {"connection_id":106588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:20:30] local.INFO: IMEI packet received {"connection_id":106588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":106588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:20:31] local.INFO: TCP Data received {"connection_id":106588,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9e9d1c0012ceb72c00713bde00009004c26..."} 
[2026-06-18 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9e9d1c0012ceb72c00713bde00009004c26..."} 
[2026-06-18 14:20:31] local.INFO: Processing buffer {"connection_id":106588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9e9d1c0012ceb72c00713bde00009004c26..."} 
[2026-06-18 14:20:31] local.INFO: Packet analysis {"connection_id":106588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:20:31] local.INFO: Extracted packet for processing {"connection_id":106588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9e9"} 
[2026-06-18 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":753627840,"raw_latitude":118734304,"longitude_deg":75.362784,"latitude_deg":11.8734304,"altitude":9,"angle":76,"satellites":38,"speed":13,"hex_longitude":"2ceb72c0","hex_latitude":"0713bde0","is_valid_coordinates":true} 
[2026-06-18 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133744128001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506223391473664,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1481684247008940032,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781772440000,"timestamp_ms":1781772440000,"timestamp_seconds":1781772440,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9e9d1c0"} 
[2026-06-18 14:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 14: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-06-18 14: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-06-18 14:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133744128001,"66":28006,"10":206,"2":54272,"24":13,"16":318506223391473664,"44":-1481684247008940032},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133744128001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:20:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506223391473664,"km_value":318506223391473.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:20:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1481684247008940032,"description":"Unknown IO ID 44"} 
[2026-06-18 14:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133744128001,"power":28006,"unknown_10":206,"power_alt":54272,"ignition":13,"odometer":null,"unknown_44":-1481684247008940032}} 
[2026-06-18 14:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":106588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:20:31] local.INFO: GPS data processed {"connection_id":106588,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:20:31] local.INFO: Acknowledgment sent {"connection_id":106588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:20:36] local.INFO: TCP Data received {"connection_id":107561,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:20:36] local.INFO: Processing buffer {"connection_id":107561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:20:36] local.INFO: IMEI packet received {"connection_id":107561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":107561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:20:41] local.INFO: TCP Data received {"connection_id":107561,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107561,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:20:41] local.INFO: Processing buffer {"connection_id":107561,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:20:41] local.INFO: IMEI packet received {"connection_id":107561,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":107561,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:20:42] local.INFO: TCP Data received {"connection_id":107561,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:20:42] local.INFO: Processing buffer {"connection_id":107561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:20:42] local.INFO: Packet analysis {"connection_id":107561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:20:42] local.INFO: Extracted packet for processing {"connection_id":107561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:20:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:20:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:20:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":107561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:20:42] local.INFO: GPS data processed {"connection_id":107561,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:20:42] local.INFO: Acknowledgment sent {"connection_id":107561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:21:03] local.INFO: TCP Data received {"connection_id":106588,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ea1428012ceb7a000713c3180008015228..."} 
[2026-06-18 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ea1428012ceb7a000713c3180008015228..."} 
[2026-06-18 14:21:03] local.INFO: Processing buffer {"connection_id":106588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ea1428012ceb7a000713c3180008015228..."} 
[2026-06-18 14:21:03] local.INFO: Packet analysis {"connection_id":106588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:21:03] local.INFO: Extracted packet for processing {"connection_id":106588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:21:03] local.INFO: GPS Element Parsed {"raw_longitude":753629696,"raw_latitude":118735640,"longitude_deg":75.3629696,"latitude_deg":11.873564,"altitude":8,"angle":338,"satellites":40,"speed":6,"hex_longitude":"2ceb7a00","hex_latitude":"0713c318","is_valid_coordinates":true} 
[2026-06-18 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133744640001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506343650557952,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1480910190822957056,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781772457000,"timestamp_ms":1781772457000,"timestamp_seconds":1781772457,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ea1428"} 
[2026-06-18 14:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:21: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-06-18 14:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 14: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-06-18 14:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133744640001,"66":28050,"10":206,"2":54272,"24":6,"16":318506343650557952,"44":-1480910190822957056},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133744640001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:21:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506343650557952,"km_value":318506343650557.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:21:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1480910190822957056,"description":"Unknown IO ID 44"} 
[2026-06-18 14:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133744640001,"power":28050,"unknown_10":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1480910190822957056}} 
[2026-06-18 14:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":106588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:21:03] local.INFO: GPS data processed {"connection_id":106588,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:21:03] local.INFO: Acknowledgment sent {"connection_id":106588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:21:15] local.INFO: TCP Data received {"connection_id":107561,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:21:15] local.INFO: Processing buffer {"connection_id":107561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:21:15] local.INFO: Packet analysis {"connection_id":107561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:21:15] local.INFO: Extracted packet for processing {"connection_id":107561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:21:15] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107561,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:21:15] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:21:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":107561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:21:15] local.INFO: GPS data processed {"connection_id":107561,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:21:15] local.INFO: Acknowledgment sent {"connection_id":107561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:21:24] local.INFO: TCP Data received {"connection_id":106589,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:21:24] local.INFO: Processing buffer {"connection_id":106589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:21:24] local.INFO: IMEI packet received {"connection_id":106589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":106589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:21:30] local.INFO: TCP Data received {"connection_id":106589,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:21:30] local.INFO: Processing buffer {"connection_id":106589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:21:30] local.INFO: IMEI packet received {"connection_id":106589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":106589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:21:31] local.INFO: TCP Data received {"connection_id":106589,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:21:31] local.INFO: Processing buffer {"connection_id":106589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:21:31] local.INFO: Packet analysis {"connection_id":106589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:21:31] local.INFO: Extracted packet for processing {"connection_id":106589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:21:31] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118736136,"longitude_deg":75.3629504,"latitude_deg":11.8736136,"altitude":8,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7940","hex_latitude":"0713c508","is_valid_coordinates":true} 
[2026-06-18 14:21: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-06-18 14:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133748992001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241462784,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781772468000,"timestamp_ms":1781772468000,"timestamp_seconds":1781772468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ea3f20"} 
[2026-06-18 14:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133748992001,"66":28082,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478869497241462784},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133748992001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:21:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241462784,"description":"Unknown IO ID 44"} 
[2026-06-18 14:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133748992001,"power":28082,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478869497241462784}} 
[2026-06-18 14:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":106589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:21:31] local.INFO: GPS data processed {"connection_id":106589,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:21:31] local.INFO: Acknowledgment sent {"connection_id":106589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:21:36] local.INFO: TCP Data received {"connection_id":106016,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:21:36] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:21:36] local.INFO: IMEI packet received {"connection_id":106016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":106016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:21:41] local.INFO: TCP Data received {"connection_id":106016,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:21:41] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:21:41] local.INFO: IMEI packet received {"connection_id":106016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":106016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:21:42] local.INFO: TCP Data received {"connection_id":106016,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:21:42] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:21:42] local.INFO: Packet analysis {"connection_id":106016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:21:42] local.INFO: Extracted packet for processing {"connection_id":106016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:21:42] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:21:42] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:21:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":106016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:21:42] local.INFO: GPS data processed {"connection_id":106016,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:21:42] local.INFO: Acknowledgment sent {"connection_id":106016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:22:03] local.INFO: TCP Data received {"connection_id":106589,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:03] local.INFO: Processing buffer {"connection_id":106589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:03] local.INFO: Packet analysis {"connection_id":106589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:03] local.INFO: Extracted packet for processing {"connection_id":106589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:03] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118736136,"longitude_deg":75.3629504,"latitude_deg":11.8736136,"altitude":8,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7940","hex_latitude":"0713c508","is_valid_coordinates":true} 
[2026-06-18 14:22: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-06-18 14:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133748992001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241462784,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781772468000,"timestamp_ms":1781772468000,"timestamp_seconds":1781772468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ea3f20"} 
[2026-06-18 14:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:22: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-06-18 14:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:22:03] 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-06-18 14:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133748992001,"66":28082,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478869497241462784},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133748992001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:22:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241462784,"description":"Unknown IO ID 44"} 
[2026-06-18 14:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133748992001,"power":28082,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478869497241462784}} 
[2026-06-18 14:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":106589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:22:03] local.INFO: GPS data processed {"connection_id":106589,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:22:03] local.INFO: Acknowledgment sent {"connection_id":106589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:22:13] local.INFO: TCP Data received {"connection_id":106016,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:22:13] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:22:13] local.INFO: Packet analysis {"connection_id":106016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:13] local.INFO: Extracted packet for processing {"connection_id":106016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:22:13] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:22:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":106016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:22:13] local.INFO: GPS data processed {"connection_id":106016,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:22:13] local.INFO: Acknowledgment sent {"connection_id":106016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:22:30] local.INFO: TCP Data received {"connection_id":107562,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:22:30] local.INFO: Processing buffer {"connection_id":107562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:22:30] local.INFO: IMEI packet received {"connection_id":107562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":107562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:22:35] local.INFO: TCP Data received {"connection_id":107562,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:22:35] local.INFO: Processing buffer {"connection_id":107562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:22:35] local.INFO: IMEI packet received {"connection_id":107562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:22:35] local.INFO: IMEI acknowledgment sent {"connection_id":107562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:22:36] local.INFO: TCP Data received {"connection_id":107564,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:22:36] local.INFO: Processing buffer {"connection_id":107564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:22:36] local.INFO: IMEI packet received {"connection_id":107564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:22:36] local.INFO: IMEI acknowledgment sent {"connection_id":107564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:22:36] local.INFO: TCP Data received {"connection_id":107562,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:36] local.INFO: Processing buffer {"connection_id":107562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:36] local.INFO: Packet analysis {"connection_id":107562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:36] local.INFO: Extracted packet for processing {"connection_id":107562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118736136,"longitude_deg":75.3629504,"latitude_deg":11.8736136,"altitude":8,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7940","hex_latitude":"0713c508","is_valid_coordinates":true} 
[2026-06-18 14:22: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-06-18 14:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133748992001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241462784,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781772468000,"timestamp_ms":1781772468000,"timestamp_seconds":1781772468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ea3f20"} 
[2026-06-18 14:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:22:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:22:36] 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-06-18 14:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:22:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133748992001,"66":28082,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478869497241462784},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133748992001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:22:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:22:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241462784,"description":"Unknown IO ID 44"} 
[2026-06-18 14:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133748992001,"power":28082,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478869497241462784}} 
[2026-06-18 14:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":107562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:22:36] local.INFO: GPS data processed {"connection_id":107562,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:22:36] local.INFO: Acknowledgment sent {"connection_id":107562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:22:41] local.INFO: TCP Data received {"connection_id":107562,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:41] local.INFO: Processing buffer {"connection_id":107562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:22:41] local.INFO: Packet analysis {"connection_id":107562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:41] local.INFO: Extracted packet for processing {"connection_id":107562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:41] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118736136,"longitude_deg":75.3629504,"latitude_deg":11.8736136,"altitude":8,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7940","hex_latitude":"0713c508","is_valid_coordinates":true} 
[2026-06-18 14:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133748992001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241462784,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781772468000,"timestamp_ms":1781772468000,"timestamp_seconds":1781772468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ea3f20"} 
[2026-06-18 14:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:22:41] 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-06-18 14:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133748992001,"66":28082,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478869497241462784},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133748992001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:22:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:22:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241462784,"description":"Unknown IO ID 44"} 
[2026-06-18 14:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133748992001,"power":28082,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478869497241462784}} 
[2026-06-18 14:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":107562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:22:41] local.INFO: GPS data processed {"connection_id":107562,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:22:41] local.INFO: Acknowledgment sent {"connection_id":107562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:22:41] local.INFO: TCP Data received {"connection_id":107564,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:22:41] local.INFO: Processing buffer {"connection_id":107564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:22:41] local.INFO: IMEI packet received {"connection_id":107564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":107564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:22:43] local.INFO: TCP Data received {"connection_id":107564,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:22:43] local.INFO: Processing buffer {"connection_id":107564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:22:43] local.INFO: Packet analysis {"connection_id":107564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:43] local.INFO: Extracted packet for processing {"connection_id":107564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:22:43] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:22:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:22:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:22:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:22:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:22:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:22:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:22:43] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:22:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:22:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:22:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":107564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:22:43] local.INFO: GPS data processed {"connection_id":107564,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:22:43] local.INFO: Acknowledgment sent {"connection_id":107564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:22:53] local.INFO: TCP Data received {"connection_id":107563,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:22:53] local.INFO: Processing buffer {"connection_id":107563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:22:53] local.INFO: IMEI packet received {"connection_id":107563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":107563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:23:14] local.INFO: TCP Data received {"connection_id":107564,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:23:14] local.INFO: Processing buffer {"connection_id":107564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:23:14] local.INFO: Packet analysis {"connection_id":107564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:23:14] local.INFO: Extracted packet for processing {"connection_id":107564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:23:14] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:23:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107564,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:23:14] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:23:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":107564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:23:14] local.INFO: GPS data processed {"connection_id":107564,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:23:14] local.INFO: Acknowledgment sent {"connection_id":107564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:23:24] local.INFO: TCP Data received {"connection_id":106590,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:23:24] local.INFO: Processing buffer {"connection_id":106590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:23:24] local.INFO: IMEI packet received {"connection_id":106590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":106590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:23:30] local.INFO: TCP Data received {"connection_id":106590,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:23:30] local.INFO: Processing buffer {"connection_id":106590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:23:30] local.INFO: IMEI packet received {"connection_id":106590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":106590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:23:31] local.INFO: TCP Data received {"connection_id":106590,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:23:31] local.INFO: Processing buffer {"connection_id":106590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9ea3f20012ceb79400713c5080008014e25..."} 
[2026-06-18 14:23:31] local.INFO: Packet analysis {"connection_id":106590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:23:31] local.INFO: Extracted packet for processing {"connection_id":106590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:23:31] local.INFO: GPS Element Parsed {"raw_longitude":753629504,"raw_latitude":118736136,"longitude_deg":75.3629504,"latitude_deg":11.8736136,"altitude":8,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7940","hex_latitude":"0713c508","is_valid_coordinates":true} 
[2026-06-18 14:23: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-06-18 14:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133748992001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478869497241462784,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781772468000,"timestamp_ms":1781772468000,"timestamp_seconds":1781772468,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9ea3f20"} 
[2026-06-18 14:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 14:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133748992001,"66":28082,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478869497241462784},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133748992001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:23:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:23:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478869497241462784,"description":"Unknown IO ID 44"} 
[2026-06-18 14:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133748992001,"power":28082,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478869497241462784}} 
[2026-06-18 14:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":106590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:23:31] local.INFO: GPS data processed {"connection_id":106590,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:23:31] local.INFO: Acknowledgment sent {"connection_id":106590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:23:34] local.INFO: TCP Data received {"connection_id":107565,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:23:34] local.INFO: Processing buffer {"connection_id":107565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:23:34] local.INFO: IMEI packet received {"connection_id":107565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":107565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:23:41] local.INFO: TCP Data received {"connection_id":106017,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:23:41] local.INFO: Processing buffer {"connection_id":106017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:23:41] local.INFO: IMEI packet received {"connection_id":106017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 14:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":106017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:23:46] local.INFO: TCP Data received {"connection_id":106017,"ip":"117.224.88.82","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:23:46] local.INFO: Processing buffer {"connection_id":106017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 14:23:46] local.INFO: IMEI packet received {"connection_id":106017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 14:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":106017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:23:47] local.INFO: TCP Data received {"connection_id":106017,"ip":"117.224.88.82","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:23:47] local.INFO: Processing buffer {"connection_id":106017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eab838012d180b4007217648004800bb24..."} 
[2026-06-18 14:23:47] local.INFO: Packet analysis {"connection_id":106017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:23:47] local.INFO: Extracted packet for processing {"connection_id":106017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ea"} 
[2026-06-18 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":756550464,"raw_latitude":119633480,"longitude_deg":75.6550464,"latitude_deg":11.963348,"altitude":72,"angle":187,"satellites":36,"speed":0,"hex_longitude":"2d180b40","hex_latitude":"07217648","is_valid_coordinates":true} 
[2026-06-18 14:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133682688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3357195546656768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1732548881024436224,"note":"Value kept but may cause issues"} 
[2026-06-18 14:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781772499000,"timestamp_ms":1781772499000,"timestamp_seconds":1781772499,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eab838"} 
[2026-06-18 14:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 14:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 14:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.88.82","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 14:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 14:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133682688001,"66":2166,"122":206,"28":31744,"24":0,"16":3357195546656768,"45":1732548881024436224},"client_ip":"117.224.88.82","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-06-18 14:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 14:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 14:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133682688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:23:47] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-06-18 14:23:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 14:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3357195546656768,"km_value":3357195546656.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1732548881024436224,"description":"Unknown IO ID 45"} 
[2026-06-18 14:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133682688001,"power":2166,"unknown_122":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1732548881024436224}} 
[2026-06-18 14:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":106017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:23:48] local.INFO: GPS data processed {"connection_id":106017,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:23:48] local.INFO: Acknowledgment sent {"connection_id":106017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:24:02] local.INFO: TCP Data received {"connection_id":106590,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:24:02] local.INFO: Processing buffer {"connection_id":106590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:24:02] local.INFO: Packet analysis {"connection_id":106590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:24:02] local.INFO: Extracted packet for processing {"connection_id":106590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:24:02] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:24:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:24:02] 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-06-18 14: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-06-18 14:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:24:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:24:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":106590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:24:03] local.INFO: GPS data processed {"connection_id":106590,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:24:03] local.INFO: Acknowledgment sent {"connection_id":106590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:24:24] local.INFO: TCP Data received {"connection_id":107566,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:24:24] local.INFO: Processing buffer {"connection_id":107566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:24:24] local.INFO: IMEI packet received {"connection_id":107566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":107566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:24:30] local.INFO: TCP Data received {"connection_id":107566,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:24:30] local.INFO: Processing buffer {"connection_id":107566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:24:30] local.INFO: IMEI packet received {"connection_id":107566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":107566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:24:31] local.INFO: TCP Data received {"connection_id":107566,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:24:31] local.INFO: Processing buffer {"connection_id":107566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:24:31] local.INFO: Packet analysis {"connection_id":107566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:24:31] local.INFO: Extracted packet for processing {"connection_id":107566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:24:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:24:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:24:31] 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-06-18 14:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:24:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:24:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":107566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:24:31] local.INFO: GPS data processed {"connection_id":107566,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:24:31] local.INFO: Acknowledgment sent {"connection_id":107566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:25:02] local.INFO: TCP Data received {"connection_id":107566,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:25:02] local.INFO: Processing buffer {"connection_id":107566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:25:02] local.INFO: Packet analysis {"connection_id":107566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:25:02] local.INFO: Extracted packet for processing {"connection_id":107566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:25:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:25:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:25:02] 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-06-18 14:25:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:25:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:25:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":107566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:25:02] local.INFO: GPS data processed {"connection_id":107566,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:25:02] local.INFO: Acknowledgment sent {"connection_id":107566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:25:24] local.INFO: TCP Data received {"connection_id":106018,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:25:24] local.INFO: Processing buffer {"connection_id":106018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:25:24] local.INFO: IMEI packet received {"connection_id":106018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":106018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:25:30] local.INFO: TCP Data received {"connection_id":106018,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:25:30] local.INFO: Processing buffer {"connection_id":106018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:25:30] local.INFO: IMEI packet received {"connection_id":106018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":106018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:25:31] local.INFO: TCP Data received {"connection_id":106018,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:25:31] local.INFO: Processing buffer {"connection_id":106018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:25:31] local.INFO: Packet analysis {"connection_id":106018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:25:31] local.INFO: Extracted packet for processing {"connection_id":106018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:25:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:25:31] 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-06-18 14:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:25:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":106018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:25:31] local.INFO: GPS data processed {"connection_id":106018,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:25:31] local.INFO: Acknowledgment sent {"connection_id":106018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:26:03] local.INFO: TCP Data received {"connection_id":106018,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:03] local.INFO: Processing buffer {"connection_id":106018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:03] local.INFO: Packet analysis {"connection_id":106018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:26:03] local.INFO: Extracted packet for processing {"connection_id":106018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:26:03] 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-06-18 14: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-06-18 14:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:26:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:26:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":106018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:26:03] local.INFO: GPS data processed {"connection_id":106018,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:26:03] local.INFO: Acknowledgment sent {"connection_id":106018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:26:30] local.INFO: TCP Data received {"connection_id":106592,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:26:30] local.INFO: Processing buffer {"connection_id":106592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:26:30] local.INFO: IMEI packet received {"connection_id":106592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":106592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:26:35] local.INFO: TCP Data received {"connection_id":106592,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:26:35] local.INFO: Processing buffer {"connection_id":106592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:26:35] local.INFO: IMEI packet received {"connection_id":106592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:26:35] local.INFO: IMEI acknowledgment sent {"connection_id":106592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:26:36] local.INFO: TCP Data received {"connection_id":106592,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:36] local.INFO: Processing buffer {"connection_id":106592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:36] local.INFO: Packet analysis {"connection_id":106592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:26:36] local.INFO: Extracted packet for processing {"connection_id":106592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:26:36] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:26:36] 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-06-18 14: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-06-18 14:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:26:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:26:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:26:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":106592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:26:36] local.INFO: GPS data processed {"connection_id":106592,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:26:36] local.INFO: Acknowledgment sent {"connection_id":106592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:26:40] local.INFO: TCP Data received {"connection_id":106592,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:40] local.INFO: Processing buffer {"connection_id":106592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:26:40] local.INFO: Packet analysis {"connection_id":106592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:26:40] local.INFO: Extracted packet for processing {"connection_id":106592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:26:40] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:26:40] 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-06-18 14:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:26:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:26:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":106592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:26:40] local.INFO: GPS data processed {"connection_id":106592,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:26:40] local.INFO: Acknowledgment sent {"connection_id":106592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:27:28] local.INFO: TCP Data received {"connection_id":105822,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:27:28] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:27:28] local.INFO: IMEI packet received {"connection_id":105822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":105822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:27:29] local.INFO: TCP Data received {"connection_id":105822,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:27:29] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:27:29] local.INFO: IMEI packet received {"connection_id":105822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":105822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:27:30] local.INFO: TCP Data received {"connection_id":105822,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:27:30] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:27:30] local.INFO: Packet analysis {"connection_id":105822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:27:30] local.INFO: Extracted packet for processing {"connection_id":105822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:27:30] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:27:30] 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-06-18 14: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-06-18 14:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:27:30] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":105822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:27:30] local.INFO: GPS data processed {"connection_id":105822,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:27:30] local.INFO: Acknowledgment sent {"connection_id":105822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:27:35] local.INFO: TCP Data received {"connection_id":105822,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:27:35] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:27:35] local.INFO: Packet analysis {"connection_id":105822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:27:35] local.INFO: Extracted packet for processing {"connection_id":105822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:27:35] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:27:35] 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-06-18 14:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:27:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":105822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:27:35] local.INFO: GPS data processed {"connection_id":105822,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:27:35] local.INFO: Acknowledgment sent {"connection_id":105822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:28:08] local.INFO: TCP Data received {"connection_id":105822,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:28:08] local.INFO: Processing buffer {"connection_id":105822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:28:08] local.INFO: Packet analysis {"connection_id":105822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:28:08] local.INFO: Extracted packet for processing {"connection_id":105822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:28:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:28:08] 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-06-18 14:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:28:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:28:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":105822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:28:08] local.INFO: GPS data processed {"connection_id":105822,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:28:08] local.INFO: Acknowledgment sent {"connection_id":105822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:28:25] local.INFO: TCP Data received {"connection_id":106593,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:28:25] local.INFO: Processing buffer {"connection_id":106593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:28:25] local.INFO: IMEI packet received {"connection_id":106593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":106593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:28:30] local.INFO: TCP Data received {"connection_id":106593,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:28:30] local.INFO: Processing buffer {"connection_id":106593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:28:30] local.INFO: IMEI packet received {"connection_id":106593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":106593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:28:32] local.INFO: TCP Data received {"connection_id":106593,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:28:32] local.INFO: Processing buffer {"connection_id":106593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9eee688012ceb7b400713bf38000d014e23..."} 
[2026-06-18 14:28:32] local.INFO: Packet analysis {"connection_id":106593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:28:32] local.INFO: Extracted packet for processing {"connection_id":106593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9ee"} 
[2026-06-18 14:28:32] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":35,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133751808001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:28:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1479080603473868800,"note":"Value kept but may cause issues"} 
[2026-06-18 14:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781772773000,"timestamp_ms":1781772773000,"timestamp_seconds":1781772773,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9eee688"} 
[2026-06-18 14:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:28:32] 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-06-18 14:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133751808001,"66":26289,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1479080603473868800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133751808001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:28:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:28:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1479080603473868800,"description":"Unknown IO ID 44"} 
[2026-06-18 14:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133751808001,"power":26289,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1479080603473868800}} 
[2026-06-18 14:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":106593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:28:32] local.INFO: GPS data processed {"connection_id":106593,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:28:32] local.INFO: Acknowledgment sent {"connection_id":106593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:29:03] local.INFO: TCP Data received {"connection_id":107567,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:29:03] local.INFO: Processing buffer {"connection_id":107567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:29:03] local.INFO: IMEI packet received {"connection_id":107567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":107567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:29:30] local.INFO: TCP Data received {"connection_id":106594,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:29:30] local.INFO: Processing buffer {"connection_id":106594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:29:30] local.INFO: IMEI packet received {"connection_id":106594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":106594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:29:33] local.INFO: TCP Data received {"connection_id":107570,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:29:33] local.INFO: Processing buffer {"connection_id":107570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:29:33] local.INFO: IMEI packet received {"connection_id":107570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":107570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:29:35] local.INFO: TCP Data received {"connection_id":106594,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:29:35] local.INFO: Processing buffer {"connection_id":106594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:29:35] local.INFO: IMEI packet received {"connection_id":106594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:29:35] local.INFO: IMEI acknowledgment sent {"connection_id":106594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:29:36] local.INFO: TCP Data received {"connection_id":106594,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:29:36] local.INFO: Processing buffer {"connection_id":106594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:29:36] local.INFO: Packet analysis {"connection_id":106594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:29:36] local.INFO: Extracted packet for processing {"connection_id":106594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 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-06-18 14:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:29:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:29:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 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-06-18 14:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:29:36] 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-06-18 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-06-18 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-06-18 14:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:29:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:29:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":106594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:29:36] local.INFO: GPS data processed {"connection_id":106594,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:29:36] local.INFO: Acknowledgment sent {"connection_id":106594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:29:40] local.INFO: TCP Data received {"connection_id":106594,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:29:40] local.INFO: Processing buffer {"connection_id":106594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:29:40] local.INFO: Packet analysis {"connection_id":106594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:29:40] local.INFO: Extracted packet for processing {"connection_id":106594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:29:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 14:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:29:40] 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-06-18 14:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:29:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:29:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":106594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:29:41] local.INFO: GPS data processed {"connection_id":106594,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:29:41] local.INFO: Acknowledgment sent {"connection_id":106594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:30:25] local.INFO: TCP Data received {"connection_id":105824,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:30:25] local.INFO: Processing buffer {"connection_id":105824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:30:25] local.INFO: IMEI packet received {"connection_id":105824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":105824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:30:30] local.INFO: TCP Data received {"connection_id":105824,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:30:30] local.INFO: Processing buffer {"connection_id":105824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:30:30] local.INFO: IMEI packet received {"connection_id":105824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":105824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:30:31] local.INFO: TCP Data received {"connection_id":105824,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:30:31] local.INFO: Processing buffer {"connection_id":105824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:30:31] local.INFO: Packet analysis {"connection_id":105824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:30:31] local.INFO: Extracted packet for processing {"connection_id":105824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:30:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:30:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 14:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:30:31] 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-06-18 14: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-06-18 14:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:30:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:30:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":105824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:30:31] local.INFO: GPS data processed {"connection_id":105824,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:30:31] local.INFO: Acknowledgment sent {"connection_id":105824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:31:03] local.INFO: TCP Data received {"connection_id":105824,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:31:03] local.INFO: Processing buffer {"connection_id":105824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:31:03] local.INFO: Packet analysis {"connection_id":105824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:31:03] local.INFO: Extracted packet for processing {"connection_id":105824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:31:03] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:31:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 14:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:31:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:31:03] 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-06-18 14:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:31:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:31:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:31:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":105824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:31:03] local.INFO: GPS data processed {"connection_id":105824,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:31:03] local.INFO: Acknowledgment sent {"connection_id":105824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:31:25] local.INFO: TCP Data received {"connection_id":106596,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:31:25] local.INFO: Processing buffer {"connection_id":106596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:31:25] local.INFO: IMEI packet received {"connection_id":106596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":106596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:31:30] local.INFO: TCP Data received {"connection_id":106596,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:31:30] local.INFO: Processing buffer {"connection_id":106596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:31:30] local.INFO: IMEI packet received {"connection_id":106596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":106596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:31:31] local.INFO: TCP Data received {"connection_id":106596,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:31:31] local.INFO: Processing buffer {"connection_id":106596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:31:31] local.INFO: Packet analysis {"connection_id":106596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:31:31] local.INFO: Extracted packet for processing {"connection_id":106596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 14:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:31:31] 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-06-18 14: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-06-18 14:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:31:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":106596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:31:31] local.INFO: GPS data processed {"connection_id":106596,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:31:31] local.INFO: Acknowledgment sent {"connection_id":106596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:32:03] local.INFO: TCP Data received {"connection_id":106596,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:32:03] local.INFO: Processing buffer {"connection_id":106596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:32:03] local.INFO: Packet analysis {"connection_id":106596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:32:03] local.INFO: Extracted packet for processing {"connection_id":106596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 14:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:32:03] 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-06-18 14: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-06-18 14:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:32:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":106596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:32:03] local.INFO: GPS data processed {"connection_id":106596,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:32:03] local.INFO: Acknowledgment sent {"connection_id":106596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:32:24] local.INFO: TCP Data received {"connection_id":107571,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:32:24] local.INFO: Processing buffer {"connection_id":107571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:32:24] local.INFO: IMEI packet received {"connection_id":107571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":107571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:32:30] local.INFO: TCP Data received {"connection_id":107571,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:32:30] local.INFO: Processing buffer {"connection_id":107571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:32:30] local.INFO: IMEI packet received {"connection_id":107571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":107571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:32:31] local.INFO: TCP Data received {"connection_id":107571,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:32:31] local.INFO: Processing buffer {"connection_id":107571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:32:31] local.INFO: Packet analysis {"connection_id":107571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:32:31] local.INFO: Extracted packet for processing {"connection_id":107571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:32:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 14:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:32:31] 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-06-18 14:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:32:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:32:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":107571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:32:31] local.INFO: GPS data processed {"connection_id":107571,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:32:31] local.INFO: Acknowledgment sent {"connection_id":107571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:33:03] local.INFO: TCP Data received {"connection_id":107571,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:33:03] local.INFO: Processing buffer {"connection_id":107571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:33:03] local.INFO: Packet analysis {"connection_id":107571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:33:03] local.INFO: Extracted packet for processing {"connection_id":107571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:33:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 14:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:33:03] 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-06-18 14: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-06-18 14:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:33:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:33:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":107571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:33:03] local.INFO: GPS data processed {"connection_id":107571,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:33:03] local.INFO: Acknowledgment sent {"connection_id":107571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:33:24] local.INFO: TCP Data received {"connection_id":105826,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:33:24] local.INFO: Processing buffer {"connection_id":105826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:33:24] local.INFO: IMEI packet received {"connection_id":105826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":105826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:33:30] local.INFO: TCP Data received {"connection_id":105826,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:33:30] local.INFO: Processing buffer {"connection_id":105826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:33:30] local.INFO: IMEI packet received {"connection_id":105826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":105826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:33:31] local.INFO: TCP Data received {"connection_id":105826,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:33:31] local.INFO: Processing buffer {"connection_id":105826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f37e50012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:33:31] local.INFO: Packet analysis {"connection_id":105826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:33:31] local.INFO: Extracted packet for processing {"connection_id":105826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f3"} 
[2026-06-18 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:33:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781773074000,"timestamp_ms":1781773074000,"timestamp_seconds":1781773074,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f37e50"} 
[2026-06-18 14:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-06-18 14:33:31] 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-06-18 14: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-06-18 14:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133829888001,"66":26071,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:33:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:33:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133829888001,"power":26071,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":105826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:33:31] local.INFO: GPS data processed {"connection_id":105826,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:33:31] local.INFO: Acknowledgment sent {"connection_id":105826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:34:03] local.INFO: TCP Data received {"connection_id":105826,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:34:03] local.INFO: Processing buffer {"connection_id":105826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:34:03] local.INFO: Packet analysis {"connection_id":105826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:34:03] local.INFO: Extracted packet for processing {"connection_id":105826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:34:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 14:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:34:03] 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-06-18 14:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:34:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:34:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":105826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:34:03] local.INFO: GPS data processed {"connection_id":105826,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:34:03] local.INFO: Acknowledgment sent {"connection_id":105826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:34:25] local.INFO: TCP Data received {"connection_id":107572,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:34:25] local.INFO: Processing buffer {"connection_id":107572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:34:25] local.INFO: IMEI packet received {"connection_id":107572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":107572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:34:31] local.INFO: TCP Data received {"connection_id":107572,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:34:31] local.INFO: Processing buffer {"connection_id":107572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:34:31] local.INFO: IMEI packet received {"connection_id":107572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":107572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:34:32] local.INFO: TCP Data received {"connection_id":107572,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:34:32] local.INFO: Processing buffer {"connection_id":107572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:34:32] local.INFO: Packet analysis {"connection_id":107572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:34:32] local.INFO: Extracted packet for processing {"connection_id":107572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:34:32] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 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-06-18 14:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:34:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 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-06-18 14:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 14:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:34:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:34:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":107572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:34:33] local.INFO: GPS data processed {"connection_id":107572,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:34:33] local.INFO: Acknowledgment sent {"connection_id":107572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:34:58] local.INFO: TCP Data received {"connection_id":105827,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:34:58] local.INFO: Processing buffer {"connection_id":105827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:34:58] local.INFO: IMEI packet received {"connection_id":105827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":105827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:35:06] local.INFO: TCP Data received {"connection_id":107572,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:35:06] local.INFO: Processing buffer {"connection_id":107572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:35:06] local.INFO: Packet analysis {"connection_id":107572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:35:06] local.INFO: Extracted packet for processing {"connection_id":107572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:35: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-06-18 14:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:35:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 14:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:35:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:35: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-06-18 14:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:35:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:35:06] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:35:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":107572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:35:06] local.INFO: GPS data processed {"connection_id":107572,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:35:06] local.INFO: Acknowledgment sent {"connection_id":107572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:35:25] local.INFO: TCP Data received {"connection_id":105828,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:35:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:35:25] local.INFO: Processing buffer {"connection_id":105828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:35:25] local.INFO: IMEI packet received {"connection_id":105828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:35:25] local.INFO: IMEI acknowledgment sent {"connection_id":105828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:35:30] local.INFO: TCP Data received {"connection_id":105828,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:35:30] local.INFO: Processing buffer {"connection_id":105828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:35:30] local.INFO: IMEI packet received {"connection_id":105828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":105828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:35:31] local.INFO: TCP Data received {"connection_id":105828,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:35:31] local.INFO: Processing buffer {"connection_id":105828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:35:31] local.INFO: Packet analysis {"connection_id":105828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:35:31] local.INFO: Extracted packet for processing {"connection_id":105828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:35:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 14:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:35: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-06-18 14:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:35:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":105828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:35:31] local.INFO: GPS data processed {"connection_id":105828,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:35:31] local.INFO: Acknowledgment sent {"connection_id":105828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:35:33] local.INFO: TCP Data received {"connection_id":106020,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:35:33] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:35:33] local.INFO: IMEI packet received {"connection_id":106020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":106020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:36:02] local.INFO: TCP Data received {"connection_id":105828,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:36:02] local.INFO: Processing buffer {"connection_id":105828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:36:02] local.INFO: Packet analysis {"connection_id":105828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:36:02] local.INFO: Extracted packet for processing {"connection_id":105828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:36:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:36:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:36:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:36:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:36:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 14:36:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:36:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:36:02] 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-06-18 14: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-06-18 14:36:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:36:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:36:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:36:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:36:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:36:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:36:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:36:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:36:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:36:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:36:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:36:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:36:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:36:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:36:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:36:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:36:02] local.INFO: DEBUG: GPS processor result {"connection_id":105828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:36:02] local.INFO: GPS data processed {"connection_id":105828,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:36:02] local.INFO: Acknowledgment sent {"connection_id":105828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:36:24] local.INFO: TCP Data received {"connection_id":106021,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:36:24] local.INFO: Processing buffer {"connection_id":106021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:36:24] local.INFO: IMEI packet received {"connection_id":106021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":106021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:36:29] local.INFO: TCP Data received {"connection_id":106021,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:36:29] local.INFO: Processing buffer {"connection_id":106021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:36:29] local.INFO: IMEI packet received {"connection_id":106021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":106021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:36:31] local.INFO: TCP Data received {"connection_id":106021,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:36:31] local.INFO: Processing buffer {"connection_id":106021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:36:31] local.INFO: Packet analysis {"connection_id":106021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:36:31] local.INFO: Extracted packet for processing {"connection_id":106021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:36:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:36:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 14:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:36: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-06-18 14: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-06-18 14:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:36:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:36:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":106021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:36:31] local.INFO: GPS data processed {"connection_id":106021,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:36:31] local.INFO: Acknowledgment sent {"connection_id":106021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:37:03] local.INFO: TCP Data received {"connection_id":106021,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:37:03] local.INFO: Processing buffer {"connection_id":106021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:37:03] local.INFO: Packet analysis {"connection_id":106021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:37:03] local.INFO: Extracted packet for processing {"connection_id":106021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:37:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 14:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:37:03] 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-06-18 14: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-06-18 14:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:37:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:37:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":106021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:37:03] local.INFO: GPS data processed {"connection_id":106021,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:37:03] local.INFO: Acknowledgment sent {"connection_id":106021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:37:24] local.INFO: TCP Data received {"connection_id":107573,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:37:24] local.INFO: Processing buffer {"connection_id":107573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:37:24] local.INFO: IMEI packet received {"connection_id":107573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":107573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:37:30] local.INFO: TCP Data received {"connection_id":107573,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:37:30] local.INFO: Processing buffer {"connection_id":107573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:37:30] local.INFO: IMEI packet received {"connection_id":107573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":107573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:37:31] local.INFO: TCP Data received {"connection_id":107573,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:37:31] local.INFO: Processing buffer {"connection_id":107573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:37:31] local.INFO: Packet analysis {"connection_id":107573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:37:31] local.INFO: Extracted packet for processing {"connection_id":107573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:37:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 14:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:37: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-06-18 14:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:37:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:37:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":107573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:37:31] local.INFO: GPS data processed {"connection_id":107573,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:37:31] local.INFO: Acknowledgment sent {"connection_id":107573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:38:03] local.INFO: TCP Data received {"connection_id":107573,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:38:03] local.INFO: Processing buffer {"connection_id":107573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9f81618012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:38:03] local.INFO: Packet analysis {"connection_id":107573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:38:03] local.INFO: Extracted packet for processing {"connection_id":107573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9f8"} 
[2026-06-18 14:38:03] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133906944001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781773375000,"timestamp_ms":1781773375000,"timestamp_seconds":1781773375,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9f81618"} 
[2026-06-18 14:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 14:38:03] 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-06-18 14:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133906944001,"66":25908,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133906944001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:38:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:38:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133906944001,"power":25908,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":107573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:38:03] local.INFO: GPS data processed {"connection_id":107573,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:38:03] local.INFO: Acknowledgment sent {"connection_id":107573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:38:30] local.INFO: TCP Data received {"connection_id":106599,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:38:30] local.INFO: Processing buffer {"connection_id":106599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:38:30] local.INFO: IMEI packet received {"connection_id":106599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":106599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:38:34] local.INFO: TCP Data received {"connection_id":106599,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:38:34] local.INFO: Processing buffer {"connection_id":106599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:38:34] local.INFO: IMEI packet received {"connection_id":106599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":106599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:38:35] local.INFO: TCP Data received {"connection_id":106599,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:38:35] local.INFO: Processing buffer {"connection_id":106599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:38:35] local.INFO: Packet analysis {"connection_id":106599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:38:35] local.INFO: Extracted packet for processing {"connection_id":106599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:38:35] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:38:35] 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-06-18 14: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-06-18 14:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:38:35] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":106599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:38:35] local.INFO: GPS data processed {"connection_id":106599,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:38:35] local.INFO: Acknowledgment sent {"connection_id":106599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:38:36] local.INFO: TCP Data received {"connection_id":106599,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:38:36] local.INFO: Processing buffer {"connection_id":106599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:38:36] local.INFO: Packet analysis {"connection_id":106599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:38:36] local.INFO: Extracted packet for processing {"connection_id":106599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:38:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:38:36] 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-06-18 14:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:38:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:38:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":106599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:38:36] local.INFO: GPS data processed {"connection_id":106599,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:38:36] local.INFO: Acknowledgment sent {"connection_id":106599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:39:08] local.INFO: TCP Data received {"connection_id":106599,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:39:08] local.INFO: Processing buffer {"connection_id":106599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:39:08] local.INFO: Packet analysis {"connection_id":106599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:39:08] local.INFO: Extracted packet for processing {"connection_id":106599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:39:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:39: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-06-18 14:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:39:08] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:39:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":106599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:39:08] local.INFO: GPS data processed {"connection_id":106599,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:39:08] local.INFO: Acknowledgment sent {"connection_id":106599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:39:24] local.INFO: TCP Data received {"connection_id":107574,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:39:24] local.INFO: Processing buffer {"connection_id":107574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:39:24] local.INFO: IMEI packet received {"connection_id":107574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":107574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:39:30] local.INFO: TCP Data received {"connection_id":107574,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:39:30] local.INFO: Processing buffer {"connection_id":107574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:39:30] local.INFO: IMEI packet received {"connection_id":107574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":107574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:39:31] local.INFO: TCP Data received {"connection_id":107574,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:39:31] local.INFO: Processing buffer {"connection_id":107574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:39:31] local.INFO: Packet analysis {"connection_id":107574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:39:31] local.INFO: Extracted packet for processing {"connection_id":107574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:39:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:39:31] 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-06-18 14:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:39:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:39:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":107574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:39:31] local.INFO: GPS data processed {"connection_id":107574,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:39:31] local.INFO: Acknowledgment sent {"connection_id":107574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:40:03] local.INFO: TCP Data received {"connection_id":107574,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:40:03] local.INFO: Processing buffer {"connection_id":107574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:40:03] local.INFO: Packet analysis {"connection_id":107574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:40:03] local.INFO: Extracted packet for processing {"connection_id":107574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:40:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:40:03] 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-06-18 14: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-06-18 14:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:40:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:40:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":107574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:40:03] local.INFO: GPS data processed {"connection_id":107574,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:40:03] local.INFO: Acknowledgment sent {"connection_id":107574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:40:24] local.INFO: TCP Data received {"connection_id":106600,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:40:24] local.INFO: Processing buffer {"connection_id":106600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:40:24] local.INFO: IMEI packet received {"connection_id":106600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":106600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:40:30] local.INFO: TCP Data received {"connection_id":106600,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:40:30] local.INFO: Processing buffer {"connection_id":106600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:40:30] local.INFO: IMEI packet received {"connection_id":106600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":106600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:40:32] local.INFO: TCP Data received {"connection_id":106600,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:40:32] local.INFO: Processing buffer {"connection_id":106600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:40:32] local.INFO: Packet analysis {"connection_id":106600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:40:32] local.INFO: Extracted packet for processing {"connection_id":106600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:40:32] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:40:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:40:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:40:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":106600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:40:32] local.INFO: GPS data processed {"connection_id":106600,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:40:32] local.INFO: Acknowledgment sent {"connection_id":106600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:40:53] local.INFO: TCP Data received {"connection_id":106022,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:40:53] local.INFO: Processing buffer {"connection_id":106022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:40:53] local.INFO: IMEI packet received {"connection_id":106022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":106022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:41:04] local.INFO: TCP Data received {"connection_id":106600,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:41:04] local.INFO: Processing buffer {"connection_id":106600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:41:04] local.INFO: Packet analysis {"connection_id":106600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:41:04] local.INFO: Extracted packet for processing {"connection_id":106600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:41:04] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:41:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:41:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:41:04] 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-06-18 14: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-06-18 14:41:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:41:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:41:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":106600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:41:04] local.INFO: GPS data processed {"connection_id":106600,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:41:04] local.INFO: Acknowledgment sent {"connection_id":106600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:41:24] local.INFO: TCP Data received {"connection_id":106023,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:41:24] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:41:24] local.INFO: IMEI packet received {"connection_id":106023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":106023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:41:30] local.INFO: TCP Data received {"connection_id":106023,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:41:30] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:41:30] local.INFO: IMEI packet received {"connection_id":106023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:41:30] local.INFO: IMEI acknowledgment sent {"connection_id":106023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:41:32] local.INFO: TCP Data received {"connection_id":106023,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:41:32] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:41:32] local.INFO: Packet analysis {"connection_id":106023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:41:32] local.INFO: Extracted packet for processing {"connection_id":106023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:41:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:41:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:41:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":106023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:41:32] local.INFO: GPS data processed {"connection_id":106023,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:41:32] local.INFO: Acknowledgment sent {"connection_id":106023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:41:38] local.INFO: TCP Data received {"connection_id":107575,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:41:38] local.INFO: Processing buffer {"connection_id":107575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:41:38] local.INFO: IMEI packet received {"connection_id":107575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":107575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:42:04] local.INFO: TCP Data received {"connection_id":106023,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:04] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:04] local.INFO: Packet analysis {"connection_id":106023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:42:04] local.INFO: Extracted packet for processing {"connection_id":106023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:42:04] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:42:04] 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-06-18 14: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-06-18 14:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:42:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:42:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":106023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:42:04] local.INFO: GPS data processed {"connection_id":106023,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:42:04] local.INFO: Acknowledgment sent {"connection_id":106023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:42:30] local.INFO: TCP Data received {"connection_id":107576,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:42:30] local.INFO: Processing buffer {"connection_id":107576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:42:30] local.INFO: IMEI packet received {"connection_id":107576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":107576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:42:35] local.INFO: TCP Data received {"connection_id":107576,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:42:35] local.INFO: Processing buffer {"connection_id":107576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:42:35] local.INFO: IMEI packet received {"connection_id":107576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":107576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:42:36] local.INFO: TCP Data received {"connection_id":107576,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:36] local.INFO: Processing buffer {"connection_id":107576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:36] local.INFO: Packet analysis {"connection_id":107576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:42:36] local.INFO: Extracted packet for processing {"connection_id":107576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:42:36] 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-06-18 14:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:42:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:42:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":107576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:42:36] local.INFO: GPS data processed {"connection_id":107576,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:42:36] local.INFO: Acknowledgment sent {"connection_id":107576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:42:40] local.INFO: TCP Data received {"connection_id":107576,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:40] local.INFO: Processing buffer {"connection_id":107576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:42:40] local.INFO: Packet analysis {"connection_id":107576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:42:40] local.INFO: Extracted packet for processing {"connection_id":107576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:42:40] 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-06-18 14:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:42:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:42:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":107576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:42:40] local.INFO: GPS data processed {"connection_id":107576,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:42:40] local.INFO: Acknowledgment sent {"connection_id":107576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:43:25] local.INFO: TCP Data received {"connection_id":106602,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:43:25] local.INFO: Processing buffer {"connection_id":106602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:43:25] local.INFO: IMEI packet received {"connection_id":106602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":106602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:43:30] local.INFO: TCP Data received {"connection_id":106602,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:43:30] local.INFO: Processing buffer {"connection_id":106602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:43:30] local.INFO: IMEI packet received {"connection_id":106602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:43:30] local.INFO: IMEI acknowledgment sent {"connection_id":106602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:43:32] local.INFO: TCP Data received {"connection_id":106602,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:43:32] local.INFO: Processing buffer {"connection_id":106602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019ed9fcade0012ceb7b400713bf38000d014e22..."} 
[2026-06-18 14:43:32] local.INFO: Packet analysis {"connection_id":106602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:43:32] local.INFO: Extracted packet for processing {"connection_id":106602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019ed9fc"} 
[2026-06-18 14:43:32] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":34,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456133984000001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:43:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781773676000,"timestamp_ms":1781773676000,"timestamp_seconds":1781773676,"priority":1,"record_length":96,"hex_timestamp":"0000019ed9fcade0"} 
[2026-06-18 14:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 14:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456133984000001,"66":25875,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456133984000001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:43:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:43:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456133984000001,"power":25875,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":106602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:43:32] local.INFO: GPS data processed {"connection_id":106602,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:43:32] local.INFO: Acknowledgment sent {"connection_id":106602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:44:04] local.INFO: TCP Data received {"connection_id":106602,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:04] local.INFO: Processing buffer {"connection_id":106602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:04] local.INFO: Packet analysis {"connection_id":106602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:44:04] local.INFO: Extracted packet for processing {"connection_id":106602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:44:04] 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-06-18 14: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-06-18 14:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:44:04] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:44:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":106602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:44:04] local.INFO: GPS data processed {"connection_id":106602,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:44:04] local.INFO: Acknowledgment sent {"connection_id":106602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:44:30] local.INFO: TCP Data received {"connection_id":106024,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:44:30] local.INFO: Processing buffer {"connection_id":106024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:44:30] local.INFO: IMEI packet received {"connection_id":106024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":106024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:44:35] local.INFO: TCP Data received {"connection_id":106024,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:44:35] local.INFO: Processing buffer {"connection_id":106024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:44:35] local.INFO: IMEI packet received {"connection_id":106024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":106024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:44:36] local.INFO: TCP Data received {"connection_id":106024,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:36] local.INFO: Processing buffer {"connection_id":106024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:36] local.INFO: Packet analysis {"connection_id":106024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:44:36] local.INFO: Extracted packet for processing {"connection_id":106024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:44: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-06-18 14:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:44:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":106024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:44:36] local.INFO: GPS data processed {"connection_id":106024,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:44:36] local.INFO: Acknowledgment sent {"connection_id":106024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:44:41] local.INFO: TCP Data received {"connection_id":106024,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:41] local.INFO: Processing buffer {"connection_id":106024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:44:41] local.INFO: Packet analysis {"connection_id":106024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:44:41] local.INFO: Extracted packet for processing {"connection_id":106024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:44:41] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:44:41] 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-06-18 14:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:44:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:44:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":106024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:44:41] local.INFO: GPS data processed {"connection_id":106024,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:44:41] local.INFO: Acknowledgment sent {"connection_id":106024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:45:29] local.INFO: TCP Data received {"connection_id":107577,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:45:29] local.INFO: Processing buffer {"connection_id":107577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:45:29] local.INFO: IMEI packet received {"connection_id":107577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":107577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:45:35] local.INFO: TCP Data received {"connection_id":107577,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:45:35] local.INFO: Processing buffer {"connection_id":107577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:45:35] local.INFO: IMEI packet received {"connection_id":107577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":107577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:45:40] local.INFO: TCP Data received {"connection_id":107577,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:45:40] local.INFO: Processing buffer {"connection_id":107577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:45:40] local.INFO: Packet analysis {"connection_id":107577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:45:40] local.INFO: Extracted packet for processing {"connection_id":107577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:45:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:45:40] 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-06-18 14: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-06-18 14:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:45:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:45:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":107577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:45:40] local.INFO: GPS data processed {"connection_id":107577,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:45:40] local.INFO: Acknowledgment sent {"connection_id":107577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:46:10] local.INFO: TCP Data received {"connection_id":107577,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:10] local.INFO: Processing buffer {"connection_id":107577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:10] local.INFO: Packet analysis {"connection_id":107577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:46:10] local.INFO: Extracted packet for processing {"connection_id":107577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:46:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:46:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:46:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":107577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:46:10] local.INFO: GPS data processed {"connection_id":107577,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:46:10] local.INFO: Acknowledgment sent {"connection_id":107577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:46:24] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:46:24] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:46:24] local.INFO: IMEI packet received {"connection_id":106026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":106026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:46:30] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:46:30] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:46:30] local.INFO: IMEI packet received {"connection_id":106026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":106026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:46:39] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:39] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:39] local.INFO: Packet analysis {"connection_id":106026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:46:39] local.INFO: Extracted packet for processing {"connection_id":106026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:46:39] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:46: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-06-18 14:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:46:39] 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-06-18 14:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:46:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:46:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":106026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:46:39] local.INFO: GPS data processed {"connection_id":106026,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:46:39] local.INFO: Acknowledgment sent {"connection_id":106026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:46:40] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:40] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:46:40] local.INFO: Packet analysis {"connection_id":106026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:46:40] local.INFO: Extracted packet for processing {"connection_id":106026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:46:40] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:46:40] 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-06-18 14: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-06-18 14:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:46:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:46:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":106026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:46:40] local.INFO: GPS data processed {"connection_id":106026,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:46:40] local.INFO: Acknowledgment sent {"connection_id":106026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:46:58] local.INFO: TCP Data received {"connection_id":106605,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:46:58] local.INFO: Processing buffer {"connection_id":106605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:46:58] local.INFO: IMEI packet received {"connection_id":106605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":106605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:47:30] local.INFO: TCP Data received {"connection_id":106606,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:47:30] local.INFO: Processing buffer {"connection_id":106606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:47:30] local.INFO: IMEI packet received {"connection_id":106606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":106606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:47:33] local.INFO: TCP Data received {"connection_id":105832,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:47:33] local.INFO: Processing buffer {"connection_id":105832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:47:33] local.INFO: IMEI packet received {"connection_id":105832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":105832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:47:35] local.INFO: TCP Data received {"connection_id":106606,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:47:35] local.INFO: Processing buffer {"connection_id":106606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:47:35] local.INFO: IMEI packet received {"connection_id":106606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":106606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:47:38] local.INFO: TCP Data received {"connection_id":106606,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:47:38] local.INFO: Processing buffer {"connection_id":106606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:47:38] local.INFO: Packet analysis {"connection_id":106606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:47:38] local.INFO: Extracted packet for processing {"connection_id":106606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:47:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:47:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:47:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:47:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:47:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:47:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:47:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:47:38] 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-06-18 14: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-06-18 14:47:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:47:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:47:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:47:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:47:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:47:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:47:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:47:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:47:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:47:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:47:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:47:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:47:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:47:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:47:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:47:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:47:38] local.INFO: DEBUG: GPS processor result {"connection_id":106606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:47:38] local.INFO: GPS data processed {"connection_id":106606,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:47:38] local.INFO: Acknowledgment sent {"connection_id":106606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:47:41] local.INFO: TCP Data received {"connection_id":106606,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:47:41] local.INFO: Processing buffer {"connection_id":106606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:47:41] local.INFO: Packet analysis {"connection_id":106606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:47:41] local.INFO: Extracted packet for processing {"connection_id":106606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:47:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:47:41] 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-06-18 14:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:47:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:47:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":106606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:47:41] local.INFO: GPS data processed {"connection_id":106606,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:47:41] local.INFO: Acknowledgment sent {"connection_id":106606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:48:25] local.INFO: TCP Data received {"connection_id":106607,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:48:25] local.INFO: Processing buffer {"connection_id":106607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:48:25] local.INFO: IMEI packet received {"connection_id":106607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":106607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:48:30] local.INFO: TCP Data received {"connection_id":106607,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:48:30] local.INFO: Processing buffer {"connection_id":106607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:48:30] local.INFO: IMEI packet received {"connection_id":106607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:48:30] local.INFO: IMEI acknowledgment sent {"connection_id":106607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:48:32] local.INFO: TCP Data received {"connection_id":106607,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:48:32] local.INFO: Processing buffer {"connection_id":106607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:48:32] local.INFO: Packet analysis {"connection_id":106607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:48:32] local.INFO: Extracted packet for processing {"connection_id":106607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:48:32] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:48:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:48: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-06-18 14:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:48:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:48:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":106607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:48:32] local.INFO: GPS data processed {"connection_id":106607,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:48:32] local.INFO: Acknowledgment sent {"connection_id":106607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:48:36] local.INFO: TCP Data received {"connection_id":106607,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:48:36] local.INFO: Processing buffer {"connection_id":106607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0145a8012ceb7b400713bf38000d014e21..."} 
[2026-06-18 14:48:36] local.INFO: Packet analysis {"connection_id":106607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:48:36] local.INFO: Extracted packet for processing {"connection_id":106607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda01"} 
[2026-06-18 14:48:36] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":33,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134061056001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:48:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781773977000,"timestamp_ms":1781773977000,"timestamp_seconds":1781773977,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0145a8"} 
[2026-06-18 14:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 14:48: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-06-18 14:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134061056001,"66":25778,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134061056001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:48:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:48:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134061056001,"power":25778,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":106607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:48:36] local.INFO: GPS data processed {"connection_id":106607,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:48:36] local.INFO: Acknowledgment sent {"connection_id":106607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:49:07] local.INFO: TCP Data received {"connection_id":106607,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda05dd70012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda05dd70012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:49:07] local.INFO: Processing buffer {"connection_id":106607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda05dd70012ceb7b400713bf38000d014e25..."} 
[2026-06-18 14:49:07] local.INFO: Packet analysis {"connection_id":106607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda05"} 
[2026-06-18 14:49:07] local.INFO: Extracted packet for processing {"connection_id":106607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda05"} 
[2026-06-18 14:49:07] local.INFO: GPS Element Parsed {"raw_longitude":753630016,"raw_latitude":118734648,"longitude_deg":75.3630016,"latitude_deg":11.8734648,"altitude":13,"angle":334,"satellites":37,"speed":0,"hex_longitude":"2ceb7b40","hex_latitude":"0713bf38","is_valid_coordinates":true} 
[2026-06-18 14:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134138112001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:49:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781774278000,"timestamp_ms":1781774278000,"timestamp_seconds":1781774278,"priority":1,"record_length":96,"hex_timestamp":"0000019eda05dd70"} 
[2026-06-18 14:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 14:49:07] 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-06-18 14:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134138112001,"66":25756,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134138112001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:49:07] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:49:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134138112001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":106607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:49:07] local.INFO: GPS data processed {"connection_id":106607,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:49:07] local.INFO: Acknowledgment sent {"connection_id":106607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:49:25] local.INFO: TCP Data received {"connection_id":107578,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:49:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:49:25] local.INFO: Processing buffer {"connection_id":107578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:49:25] local.INFO: IMEI packet received {"connection_id":107578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:49:25] local.INFO: IMEI acknowledgment sent {"connection_id":107578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:49:30] local.INFO: TCP Data received {"connection_id":107578,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:49:30] local.INFO: Processing buffer {"connection_id":107578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:49:30] local.INFO: IMEI packet received {"connection_id":107578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":107578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:49:32] local.INFO: TCP Data received {"connection_id":107578,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:49:32] local.INFO: Processing buffer {"connection_id":107578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:49:32] local.INFO: Packet analysis {"connection_id":107578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda06"} 
[2026-06-18 14:49:32] local.INFO: Extracted packet for processing {"connection_id":107578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda06"} 
[2026-06-18 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":753629888,"raw_latitude":118734320,"longitude_deg":75.3629888,"latitude_deg":11.873432,"altitude":13,"angle":167,"satellites":34,"speed":0,"hex_longitude":"2ceb7ac0","hex_latitude":"0713bdf0","is_valid_coordinates":true} 
[2026-06-18 14:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134215168001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:49:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781774305000,"timestamp_ms":1781774305000,"timestamp_seconds":1781774305,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0646e8"} 
[2026-06-18 14:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 14:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134215168001,"66":25756,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134215168001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:49:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:49:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134215168001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":107578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:49:32] local.INFO: GPS data processed {"connection_id":107578,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:49:32] local.INFO: Acknowledgment sent {"connection_id":107578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:50:05] local.INFO: TCP Data received {"connection_id":107578,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:05] local.INFO: Processing buffer {"connection_id":107578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:05] local.INFO: Packet analysis {"connection_id":107578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda06"} 
[2026-06-18 14:50:05] local.INFO: Extracted packet for processing {"connection_id":107578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda06"} 
[2026-06-18 14:50:05] local.INFO: GPS Element Parsed {"raw_longitude":753629888,"raw_latitude":118734320,"longitude_deg":75.3629888,"latitude_deg":11.873432,"altitude":13,"angle":167,"satellites":34,"speed":0,"hex_longitude":"2ceb7ac0","hex_latitude":"0713bdf0","is_valid_coordinates":true} 
[2026-06-18 14:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134215168001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781774305000,"timestamp_ms":1781774305000,"timestamp_seconds":1781774305,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0646e8"} 
[2026-06-18 14:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 14:50:05] 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-06-18 14:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134215168001,"66":25756,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134215168001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:50:05] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:50:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134215168001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":107578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:50:05] local.INFO: GPS data processed {"connection_id":107578,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:50:05] local.INFO: Acknowledgment sent {"connection_id":107578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:50:30] local.INFO: TCP Data received {"connection_id":105833,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:50:30] local.INFO: Processing buffer {"connection_id":105833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:50:30] local.INFO: IMEI packet received {"connection_id":105833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":105833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:50:35] local.INFO: TCP Data received {"connection_id":105833,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:50:35] local.INFO: Processing buffer {"connection_id":105833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:50:35] local.INFO: IMEI packet received {"connection_id":105833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":105833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:50:36] local.INFO: TCP Data received {"connection_id":105833,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:36] local.INFO: Processing buffer {"connection_id":105833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:36] local.INFO: Packet analysis {"connection_id":105833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda06"} 
[2026-06-18 14:50:36] local.INFO: Extracted packet for processing {"connection_id":105833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda06"} 
[2026-06-18 14:50:36] local.INFO: GPS Element Parsed {"raw_longitude":753629888,"raw_latitude":118734320,"longitude_deg":75.3629888,"latitude_deg":11.873432,"altitude":13,"angle":167,"satellites":34,"speed":0,"hex_longitude":"2ceb7ac0","hex_latitude":"0713bdf0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 14:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134215168001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781774305000,"timestamp_ms":1781774305000,"timestamp_seconds":1781774305,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0646e8"} 
[2026-06-18 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-06-18 14:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 14:50:36] 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-06-18 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-06-18 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-06-18 14:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134215168001,"66":25756,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134215168001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:50:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:50:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134215168001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":105833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:50:36] local.INFO: GPS data processed {"connection_id":105833,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:50:36] local.INFO: Acknowledgment sent {"connection_id":105833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:50:41] local.INFO: TCP Data received {"connection_id":105833,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:41] local.INFO: Processing buffer {"connection_id":105833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0646e8012ceb7ac00713bdf0000d00a722..."} 
[2026-06-18 14:50:41] local.INFO: Packet analysis {"connection_id":105833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda06"} 
[2026-06-18 14:50:41] local.INFO: Extracted packet for processing {"connection_id":105833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda06"} 
[2026-06-18 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":753629888,"raw_latitude":118734320,"longitude_deg":75.3629888,"latitude_deg":11.873432,"altitude":13,"angle":167,"satellites":34,"speed":0,"hex_longitude":"2ceb7ac0","hex_latitude":"0713bdf0","is_valid_coordinates":true} 
[2026-06-18 14:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134215168001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478517653520828416,"note":"Value kept but may cause issues"} 
[2026-06-18 14:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781774305000,"timestamp_ms":1781774305000,"timestamp_seconds":1781774305,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0646e8"} 
[2026-06-18 14:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 14:50:41] 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-06-18 14:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134215168001,"66":25756,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478517653520828416},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134215168001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:50:41] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:50:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478517653520828416,"description":"Unknown IO ID 44"} 
[2026-06-18 14:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134215168001,"power":25756,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478517653520828416}} 
[2026-06-18 14:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":105833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:50:41] local.INFO: GPS data processed {"connection_id":105833,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:50:41] local.INFO: Acknowledgment sent {"connection_id":105833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:51:25] local.INFO: TCP Data received {"connection_id":106609,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:51:25] local.INFO: Processing buffer {"connection_id":106609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:51:25] local.INFO: IMEI packet received {"connection_id":106609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":106609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:51:30] local.INFO: TCP Data received {"connection_id":106609,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:51:30] local.INFO: Processing buffer {"connection_id":106609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:51:30] local.INFO: IMEI packet received {"connection_id":106609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":106609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:51:31] local.INFO: TCP Data received {"connection_id":106609,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda083ed0012ceb7b800713bde0000d00a724..."} 
[2026-06-18 14:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda083ed0012ceb7b800713bde0000d00a724..."} 
[2026-06-18 14:51:31] local.INFO: Processing buffer {"connection_id":106609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda083ed0012ceb7b800713bde0000d00a724..."} 
[2026-06-18 14:51:31] local.INFO: Packet analysis {"connection_id":106609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda08"} 
[2026-06-18 14:51:31] local.INFO: Extracted packet for processing {"connection_id":106609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda08"} 
[2026-06-18 14:51:31] local.INFO: GPS Element Parsed {"raw_longitude":753630080,"raw_latitude":118734304,"longitude_deg":75.363008,"latitude_deg":11.8734304,"altitude":13,"angle":167,"satellites":36,"speed":0,"hex_longitude":"2ceb7b80","hex_latitude":"0713bde0","is_valid_coordinates":true} 
[2026-06-18 14:51: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-06-18 14:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134222080001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478658391009267712,"note":"Value kept but may cause issues"} 
[2026-06-18 14:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781774434000,"timestamp_ms":1781774434000,"timestamp_seconds":1781774434,"priority":1,"record_length":96,"hex_timestamp":"0000019eda083ed0"} 
[2026-06-18 14:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 14:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 14:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134222080001,"66":25473,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478658391009267712},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134222080001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:51:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478658391009267712,"description":"Unknown IO ID 44"} 
[2026-06-18 14:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134222080001,"power":25473,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478658391009267712}} 
[2026-06-18 14:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":106609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:51:31] local.INFO: GPS data processed {"connection_id":106609,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:51:31] local.INFO: Acknowledgment sent {"connection_id":106609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:52:03] local.INFO: TCP Data received {"connection_id":106609,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda089c90012ceb7ac00713bdf0000d00a723..."} 
[2026-06-18 14:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda089c90012ceb7ac00713bdf0000d00a723..."} 
[2026-06-18 14:52:03] local.INFO: Processing buffer {"connection_id":106609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda089c90012ceb7ac00713bdf0000d00a723..."} 
[2026-06-18 14:52:03] local.INFO: Packet analysis {"connection_id":106609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda08"} 
[2026-06-18 14:52:03] local.INFO: Extracted packet for processing {"connection_id":106609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda08"} 
[2026-06-18 14:52:03] local.INFO: GPS Element Parsed {"raw_longitude":753629888,"raw_latitude":118734320,"longitude_deg":75.3629888,"latitude_deg":11.873432,"altitude":13,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2ceb7ac0","hex_latitude":"0713bdf0","is_valid_coordinates":true} 
[2026-06-18 14:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134255104001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478447284776738816,"note":"Value kept but may cause issues"} 
[2026-06-18 14:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781774458000,"timestamp_ms":1781774458000,"timestamp_seconds":1781774458,"priority":1,"record_length":96,"hex_timestamp":"0000019eda089c90"} 
[2026-06-18 14:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 14:52: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-06-18 14:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134255104001,"66":27343,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478447284776738816},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134255104001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:52:03] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478447284776738816,"description":"Unknown IO ID 44"} 
[2026-06-18 14:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134255104001,"power":27343,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478447284776738816}} 
[2026-06-18 14:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":106609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:52:03] local.INFO: GPS data processed {"connection_id":106609,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:52:03] local.INFO: Acknowledgment sent {"connection_id":106609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:52:24] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:24] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:24] local.INFO: IMEI packet received {"connection_id":106029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":106029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:52:26] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:26] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:26] local.INFO: IMEI packet received {"connection_id":106029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":106029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:52:30] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:30] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:52:30] local.INFO: IMEI packet received {"connection_id":106029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":106029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:52:31] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda08ee98012ceb7ac00713bdf0000d00a723..."} 
[2026-06-18 14:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda08ee98012ceb7ac00713bdf0000d00a723..."} 
[2026-06-18 14:52:31] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda08ee98012ceb7ac00713bdf0000d00a723..."} 
[2026-06-18 14:52:31] local.INFO: Packet analysis {"connection_id":106029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda08"} 
[2026-06-18 14:52:31] local.INFO: Extracted packet for processing {"connection_id":106029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda08"} 
[2026-06-18 14:52:31] local.INFO: GPS Element Parsed {"raw_longitude":753629888,"raw_latitude":118734320,"longitude_deg":75.3629888,"latitude_deg":11.873432,"altitude":13,"angle":167,"satellites":35,"speed":0,"hex_longitude":"2ceb7ac0","hex_latitude":"0713bdf0","is_valid_coordinates":true} 
[2026-06-18 14:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134261248001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506369420361728,"note":"Value kept but may cause issues"} 
[2026-06-18 14:52:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1478658391009267712,"note":"Value kept but may cause issues"} 
[2026-06-18 14:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781774479000,"timestamp_ms":1781774479000,"timestamp_seconds":1781774479,"priority":1,"record_length":96,"hex_timestamp":"0000019eda08ee98"} 
[2026-06-18 14:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 14:52: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-06-18 14:52:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134261248001,"66":27865,"10":206,"2":54272,"24":0,"16":318506369420361728,"44":-1478658391009267712},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 14:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134261248001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:52:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 14:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506369420361728,"km_value":318506369420361.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:52:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1478658391009267712,"description":"Unknown IO ID 44"} 
[2026-06-18 14:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134261248001,"power":27865,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1478658391009267712}} 
[2026-06-18 14:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":106029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:52:31] local.INFO: GPS data processed {"connection_id":106029,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:52:31] local.INFO: Acknowledgment sent {"connection_id":106029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:53:02] local.INFO: TCP Data received {"connection_id":106029,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda09a630012ceb63000713bf88000a011226..."} 
[2026-06-18 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda09a630012ceb63000713bf88000a011226..."} 
[2026-06-18 14:53:02] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda09a630012ceb63000713bf88000a011226..."} 
[2026-06-18 14:53:02] local.INFO: Packet analysis {"connection_id":106029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda09"} 
[2026-06-18 14:53:02] local.INFO: Extracted packet for processing {"connection_id":106029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda09"} 
[2026-06-18 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":753623808,"raw_latitude":118734728,"longitude_deg":75.3623808,"latitude_deg":11.8734728,"altitude":10,"angle":274,"satellites":38,"speed":6,"hex_longitude":"2ceb6300","hex_latitude":"0713bf88","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134276608001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506807507025920,"note":"Value kept but may cause issues"} 
[2026-06-18 14:53:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1484498996775741440,"note":"Value kept but may cause issues"} 
[2026-06-18 14:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781774526000,"timestamp_ms":1781774526000,"timestamp_seconds":1781774526,"priority":1,"record_length":96,"hex_timestamp":"0000019eda09a630"} 
[2026-06-18 14:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-18 14:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14: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-06-18 14:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134276608001,"66":28050,"12":206,"2":54272,"24":6,"16":318506807507025920,"44":-1484498996775741440},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134276608001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:53:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506807507025920,"km_value":318506807507025.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:53:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1484498996775741440,"description":"Unknown IO ID 44"} 
[2026-06-18 14:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134276608001,"power":28050,"unknown_12":206,"power_alt":54272,"ignition":6,"odometer":null,"unknown_44":-1484498996775741440}} 
[2026-06-18 14:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":106029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:53:02] local.INFO: GPS data processed {"connection_id":106029,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:53:02] local.INFO: Acknowledgment sent {"connection_id":106029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:53:03] local.INFO: TCP Data received {"connection_id":105834,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:53:03] local.INFO: Processing buffer {"connection_id":105834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:53:03] local.INFO: IMEI packet received {"connection_id":105834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":105834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:53:24] local.INFO: TCP Data received {"connection_id":105835,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:53:24] local.INFO: Processing buffer {"connection_id":105835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:53:24] local.INFO: IMEI packet received {"connection_id":105835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":105835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:53:29] local.INFO: TCP Data received {"connection_id":105835,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:53:29] local.INFO: Processing buffer {"connection_id":105835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:53:29] local.INFO: IMEI packet received {"connection_id":105835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":105835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:53:32] local.INFO: TCP Data received {"connection_id":105835,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda09aa18012ceb62800713bfa8000a012226..."} 
[2026-06-18 14:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda09aa18012ceb62800713bfa8000a012226..."} 
[2026-06-18 14:53:32] local.INFO: Processing buffer {"connection_id":105835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda09aa18012ceb62800713bfa8000a012226..."} 
[2026-06-18 14:53:32] local.INFO: Packet analysis {"connection_id":105835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda09"} 
[2026-06-18 14:53:32] local.INFO: Extracted packet for processing {"connection_id":105835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda09"} 
[2026-06-18 14:53:32] local.INFO: GPS Element Parsed {"raw_longitude":753623680,"raw_latitude":118734760,"longitude_deg":75.362368,"latitude_deg":11.873476,"altitude":10,"angle":290,"satellites":38,"speed":7,"hex_longitude":"2ceb6280","hex_latitude":"0713bfa8","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134278656001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506816096960512,"note":"Value kept but may cause issues"} 
[2026-06-18 14:53:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485343421706041344,"note":"Value kept but may cause issues"} 
[2026-06-18 14:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781774527000,"timestamp_ms":1781774527000,"timestamp_seconds":1781774527,"priority":1,"record_length":96,"hex_timestamp":"0000019eda09aa18"} 
[2026-06-18 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-06-18 14:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 14:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134278656001,"66":28028,"12":206,"2":54272,"24":7,"16":318506816096960512,"44":-1485343421706041344},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134278656001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:53:32] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506816096960512,"km_value":318506816096960.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:53:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485343421706041344,"description":"Unknown IO ID 44"} 
[2026-06-18 14:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134278656001,"power":28028,"unknown_12":206,"power_alt":54272,"ignition":7,"odometer":null,"unknown_44":-1485343421706041344}} 
[2026-06-18 14:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":105835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:53:32] local.INFO: GPS data processed {"connection_id":105835,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:53:32] local.INFO: Acknowledgment sent {"connection_id":105835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:53:33] local.INFO: TCP Data received {"connection_id":105836,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:53:33] local.INFO: Processing buffer {"connection_id":105836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:53:33] local.INFO: IMEI packet received {"connection_id":105836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":105836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:54:04] local.INFO: TCP Data received {"connection_id":105835,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda09b5d0012ceb60800713c048000a013326..."} 
[2026-06-18 14:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda09b5d0012ceb60800713c048000a013326..."} 
[2026-06-18 14:54:04] local.INFO: Processing buffer {"connection_id":105835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda09b5d0012ceb60800713c048000a013326..."} 
[2026-06-18 14:54:04] local.INFO: Packet analysis {"connection_id":105835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda09"} 
[2026-06-18 14:54:04] local.INFO: Extracted packet for processing {"connection_id":105835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda09"} 
[2026-06-18 14:54:04] local.INFO: GPS Element Parsed {"raw_longitude":753623168,"raw_latitude":118734920,"longitude_deg":75.3623168,"latitude_deg":11.873492,"altitude":10,"angle":307,"satellites":38,"speed":5,"hex_longitude":"2ceb6080","hex_latitude":"0713c048","is_valid_coordinates":true} 
[2026-06-18 14:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134278912001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506837571796992,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1485484159194388480,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781774530000,"timestamp_ms":1781774530000,"timestamp_seconds":1781774530,"priority":1,"record_length":96,"hex_timestamp":"0000019eda09b5d0"} 
[2026-06-18 14:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:54: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-06-18 14:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 14:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134278912001,"66":28050,"12":206,"2":54272,"24":5,"16":318506837571796992,"44":-1485484159194388480},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134278912001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:54:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506837571796992,"km_value":318506837571797.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:54:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1485484159194388480,"description":"Unknown IO ID 44"} 
[2026-06-18 14:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134278912001,"power":28050,"unknown_12":206,"power_alt":54272,"ignition":5,"odometer":null,"unknown_44":-1485484159194388480}} 
[2026-06-18 14:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":105835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:54:04] local.INFO: GPS data processed {"connection_id":105835,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:54:04] local.INFO: Acknowledgment sent {"connection_id":105835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:54:29] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:54:29] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:54:29] local.INFO: IMEI packet received {"connection_id":106030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":106030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:54:34] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:54:34] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:54:34] local.INFO: IMEI packet received {"connection_id":106030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":106030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:54:36] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0a0bc0012ceb5ec00713c1380009013425..."} 
[2026-06-18 14:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0a0bc0012ceb5ec00713c1380009013425..."} 
[2026-06-18 14:54:36] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0a0bc0012ceb5ec00713c1380009013425..."} 
[2026-06-18 14:54:36] local.INFO: Packet analysis {"connection_id":106030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda0a"} 
[2026-06-18 14:54:36] local.INFO: Extracted packet for processing {"connection_id":106030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda0a"} 
[2026-06-18 14:54:36] local.INFO: GPS Element Parsed {"raw_longitude":753622720,"raw_latitude":118735160,"longitude_deg":75.362272,"latitude_deg":11.873516,"altitude":9,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2ceb5ec0","hex_latitude":"0713c138","is_valid_coordinates":true} 
[2026-06-18 14:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134279680001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506863341600768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486047109147768832,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781774552000,"timestamp_ms":1781774552000,"timestamp_seconds":1781774552,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0a0bc0"} 
[2026-06-18 14:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:54:36] 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-06-18 14:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134279680001,"66":28050,"12":206,"2":54272,"24":0,"16":318506863341600768,"44":-1486047109147768832},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134279680001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:54:36] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506863341600768,"km_value":318506863341600.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:54:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486047109147768832,"description":"Unknown IO ID 44"} 
[2026-06-18 14:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134279680001,"power":28050,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486047109147768832}} 
[2026-06-18 14:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":106030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:54:36] local.INFO: GPS data processed {"connection_id":106030,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:54:36] local.INFO: Acknowledgment sent {"connection_id":106030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:54:38] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0a5dc8012ceb5ec00713c1380009013426..."} 
[2026-06-18 14:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0a5dc8012ceb5ec00713c1380009013426..."} 
[2026-06-18 14:54:38] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0a5dc8012ceb5ec00713c1380009013426..."} 
[2026-06-18 14:54:38] local.INFO: Packet analysis {"connection_id":106030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda0a"} 
[2026-06-18 14:54:38] local.INFO: Extracted packet for processing {"connection_id":106030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda0a"} 
[2026-06-18 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":753622720,"raw_latitude":118735160,"longitude_deg":75.362272,"latitude_deg":11.873516,"altitude":9,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2ceb5ec0","hex_latitude":"0713c138","is_valid_coordinates":true} 
[2026-06-18 14:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:54:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134285312001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506863341600768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486539690356951040,"note":"Value kept but may cause issues"} 
[2026-06-18 14:54:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:54:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781774573000,"timestamp_ms":1781774573000,"timestamp_seconds":1781774573,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0a5dc8"} 
[2026-06-18 14:54:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:54:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 14:54:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:54:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 14:54:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:54:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:54:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:54:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:54:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:54:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:54:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:54:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:54:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:54:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134285312001,"66":27995,"12":206,"2":54272,"24":0,"16":318506863341600768,"44":-1486539690356951040},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:54:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:54:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:54:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134285312001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:54:38] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:54:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506863341600768,"km_value":318506863341600.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:54:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486539690356951040,"description":"Unknown IO ID 44"} 
[2026-06-18 14:54:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134285312001,"power":27995,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486539690356951040}} 
[2026-06-18 14:54:38] local.INFO: DEBUG: GPS processor result {"connection_id":106030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:54:38] local.INFO: GPS data processed {"connection_id":106030,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:54:38] local.INFO: Acknowledgment sent {"connection_id":106030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:55:10] local.INFO: TCP Data received {"connection_id":106030,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0aafd0012ceb5ec00713c1380009013426..."} 
[2026-06-18 14:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0aafd0012ceb5ec00713c1380009013426..."} 
[2026-06-18 14:55:10] local.INFO: Processing buffer {"connection_id":106030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0aafd0012ceb5ec00713c1380009013426..."} 
[2026-06-18 14:55:10] local.INFO: Packet analysis {"connection_id":106030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda0a"} 
[2026-06-18 14:55:10] local.INFO: Extracted packet for processing {"connection_id":106030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda0a"} 
[2026-06-18 14:55:10] local.INFO: GPS Element Parsed {"raw_longitude":753622720,"raw_latitude":118735160,"longitude_deg":75.362272,"latitude_deg":11.873516,"altitude":9,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2ceb5ec0","hex_latitude":"0713c138","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134290688001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506863341600768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:55:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486539690356951040,"note":"Value kept but may cause issues"} 
[2026-06-18 14:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781774594000,"timestamp_ms":1781774594000,"timestamp_seconds":1781774594,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0aafd0"} 
[2026-06-18 14:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:55:10] 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-06-18 14: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 14:55:10] 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-06-18 14: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-06-18 14:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134290688001,"66":28050,"12":206,"2":54272,"24":0,"16":318506863341600768,"44":-1486539690356951040},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134290688001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:55:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506863341600768,"km_value":318506863341600.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:55:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486539690356951040,"description":"Unknown IO ID 44"} 
[2026-06-18 14:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134290688001,"power":28050,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486539690356951040}} 
[2026-06-18 14:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":106030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:55:10] local.INFO: GPS data processed {"connection_id":106030,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:55:10] local.INFO: Acknowledgment sent {"connection_id":106030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:55:25] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:55:25] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:55:25] local.INFO: IMEI packet received {"connection_id":105838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":105838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:55:29] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:55:29] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:55:29] local.INFO: IMEI packet received {"connection_id":105838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":105838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:55:30] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0b01d8012ceb5ec00713c1380009013427..."} 
[2026-06-18 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0b01d8012ceb5ec00713c1380009013427..."} 
[2026-06-18 14:55:30] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0b01d8012ceb5ec00713c1380009013427..."} 
[2026-06-18 14:55:30] local.INFO: Packet analysis {"connection_id":105838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda0b"} 
[2026-06-18 14:55:30] local.INFO: Extracted packet for processing {"connection_id":105838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda0b"} 
[2026-06-18 14:55:30] local.INFO: GPS Element Parsed {"raw_longitude":753622720,"raw_latitude":118735160,"longitude_deg":75.362272,"latitude_deg":11.873516,"altitude":9,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2ceb5ec0","hex_latitude":"0713c138","is_valid_coordinates":true} 
[2026-06-18 14: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-06-18 14:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134296064001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506863341600768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486539690356951040,"note":"Value kept but may cause issues"} 
[2026-06-18 14:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781774615000,"timestamp_ms":1781774615000,"timestamp_seconds":1781774615,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0b01d8"} 
[2026-06-18 14:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:55: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-06-18 14: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 14:55: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-06-18 14: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-06-18 14:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134296064001,"66":28093,"12":206,"2":54272,"24":0,"16":318506863341600768,"44":-1486539690356951040},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134296064001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:55:30] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506863341600768,"km_value":318506863341600.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486539690356951040,"description":"Unknown IO ID 44"} 
[2026-06-18 14:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134296064001,"power":28093,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486539690356951040}} 
[2026-06-18 14:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":105838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:55:30] local.INFO: GPS data processed {"connection_id":105838,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:55:30] local.INFO: Acknowledgment sent {"connection_id":105838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:56:02] local.INFO: TCP Data received {"connection_id":105838,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda0b53e0012ceb5ec00713c1380009013427..."} 
[2026-06-18 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda0b53e0012ceb5ec00713c1380009013427..."} 
[2026-06-18 14:56:02] local.INFO: Processing buffer {"connection_id":105838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda0b53e0012ceb5ec00713c1380009013427..."} 
[2026-06-18 14:56:02] local.INFO: Packet analysis {"connection_id":105838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda0b"} 
[2026-06-18 14:56:02] local.INFO: Extracted packet for processing {"connection_id":105838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda0b"} 
[2026-06-18 14:56:02] local.INFO: GPS Element Parsed {"raw_longitude":753622720,"raw_latitude":118735160,"longitude_deg":75.362272,"latitude_deg":11.873516,"altitude":9,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2ceb5ec0","hex_latitude":"0713c138","is_valid_coordinates":true} 
[2026-06-18 14:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 14:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134301440001,"note":"Value kept but may cause issues"} 
[2026-06-18 14:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318506863341600768,"note":"Value kept but may cause issues"} 
[2026-06-18 14:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1486539690356951040,"note":"Value kept but may cause issues"} 
[2026-06-18 14:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 14:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781774636000,"timestamp_ms":1781774636000,"timestamp_seconds":1781774636,"priority":1,"record_length":96,"hex_timestamp":"0000019eda0b53e0"} 
[2026-06-18 14:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 14:56: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-06-18 14:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 14:56:02] 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-06-18 14:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 14:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 14:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 14:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 14:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 14:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 14:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 14:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 14:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134301440001,"66":28028,"12":206,"2":54272,"24":0,"16":318506863341600768,"44":-1486539690356951040},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 14:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 14:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 14:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134301440001,"description":"Unknown IO ID 0"} 
[2026-06-18 14:56:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 14:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318506863341600768,"km_value":318506863341600.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 14:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1486539690356951040,"description":"Unknown IO ID 44"} 
[2026-06-18 14:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134301440001,"power":28028,"unknown_12":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1486539690356951040}} 
[2026-06-18 14:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":105838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 14:56:02] local.INFO: GPS data processed {"connection_id":105838,"processed":1,"errors":0,"total":1} 
[2026-06-18 14:56:02] local.INFO: Acknowledgment sent {"connection_id":105838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 14:56:34] local.INFO: TCP Data received {"connection_id":106612,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:56:34] local.INFO: Processing buffer {"connection_id":106612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:56:34] local.INFO: IMEI packet received {"connection_id":106612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 14:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":106612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:56:45] local.INFO: TCP Data received {"connection_id":106612,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:56:45] local.INFO: Processing buffer {"connection_id":106612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 14:56:45] local.INFO: IMEI packet received {"connection_id":106612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":106612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:56:45] local.INFO: TCP Data received {"connection_id":106612,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 14:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106612,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 14:56:45] local.INFO: Processing buffer {"connection_id":106612,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 14:56:45] local.INFO: IMEI packet received {"connection_id":106612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 14:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":106612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 14:58:58] local.INFO: TCP Data received {"connection_id":106614,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:58:58] local.INFO: Processing buffer {"connection_id":106614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:58:58] local.INFO: IMEI packet received {"connection_id":106614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":106614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 14:59:33] local.INFO: TCP Data received {"connection_id":106034,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:59:33] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 14:59:33] local.INFO: IMEI packet received {"connection_id":106034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 14:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":106034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:01:50] local.INFO: TCP Data received {"connection_id":106037,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:01:50] local.INFO: Processing buffer {"connection_id":106037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:01:50] local.INFO: IMEI packet received {"connection_id":106037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":106037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:01:53] local.INFO: TCP Data received {"connection_id":106037,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda111c58012ce99f800716b6880006016727..."} 
[2026-06-18 15:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda111c58012ce99f800716b6880006016727..."} 
[2026-06-18 15:01:53] local.INFO: Processing buffer {"connection_id":106037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda111c58012ce99f800716b6880006016727..."} 
[2026-06-18 15:01:53] local.INFO: Packet analysis {"connection_id":106037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda11"} 
[2026-06-18 15:01:53] local.INFO: Extracted packet for processing {"connection_id":106037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda11"} 
[2026-06-18 15:01:53] local.INFO: GPS Element Parsed {"raw_longitude":753508224,"raw_latitude":118929032,"longitude_deg":75.3508224,"latitude_deg":11.8929032,"altitude":6,"angle":359,"satellites":39,"speed":31,"hex_longitude":"2ce99f80","hex_latitude":"0716b688","is_valid_coordinates":true} 
[2026-06-18 15:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134401280001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318518365264019456,"note":"Value kept but may cause issues"} 
[2026-06-18 15:01:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611936792434401280,"note":"Value kept but may cause issues"} 
[2026-06-18 15:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781775015000,"timestamp_ms":1781775015000,"timestamp_seconds":1781775015,"priority":1,"record_length":96,"hex_timestamp":"0000019eda111c58"} 
[2026-06-18 15:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 15:01:53] 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-06-18 15:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134401280001,"66":27484,"223":206,"2":54272,"24":31,"16":318518365264019456,"44":-1611936792434401280},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,2,24,16,44]} 
[2026-06-18 15:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134401280001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:01:53] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-06-18 15:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318518365264019456,"km_value":318518365264019.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:01:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611936792434401280,"description":"Unknown IO ID 44"} 
[2026-06-18 15:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134401280001,"power":27484,"unknown_223":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1611936792434401280}} 
[2026-06-18 15:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":106037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:01:53] local.INFO: GPS data processed {"connection_id":106037,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:01:53] local.INFO: Acknowledgment sent {"connection_id":106037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:02:24] local.INFO: TCP Data received {"connection_id":107579,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:24] local.INFO: Processing buffer {"connection_id":107579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:24] local.INFO: IMEI packet received {"connection_id":107579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":107579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:02:25] local.INFO: TCP Data received {"connection_id":107579,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:25] local.INFO: Processing buffer {"connection_id":107579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:25] local.INFO: IMEI packet received {"connection_id":107579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":107579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:02:28] local.INFO: TCP Data received {"connection_id":107579,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:28] local.INFO: Processing buffer {"connection_id":107579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:02:28] local.INFO: IMEI packet received {"connection_id":107579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":107579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:02:37] local.INFO: TCP Data received {"connection_id":107579,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1250f0012ce97200071787700017001f29..."} 
[2026-06-18 15:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1250f0012ce97200071787700017001f29..."} 
[2026-06-18 15:02:37] local.INFO: Processing buffer {"connection_id":107579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1250f0012ce97200071787700017001f29..."} 
[2026-06-18 15:02:37] local.INFO: Packet analysis {"connection_id":107579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda12"} 
[2026-06-18 15:02:37] local.INFO: Extracted packet for processing {"connection_id":107579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda12"} 
[2026-06-18 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":753496576,"raw_latitude":118982512,"longitude_deg":75.3496576,"latitude_deg":11.8982512,"altitude":23,"angle":31,"satellites":41,"speed":23,"hex_longitude":"2ce97200","hex_latitude":"07178770","is_valid_coordinates":true} 
[2026-06-18 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134423808001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318521071093415936,"note":"Value kept but may cause issues"} 
[2026-06-18 15:02:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1625517960044654592,"note":"Value kept but may cause issues"} 
[2026-06-18 15:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781775094000,"timestamp_ms":1781775094000,"timestamp_seconds":1781775094,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1250f0"} 
[2026-06-18 15:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:02:37] 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-06-18 15:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134423808001,"66":27930,"222":206,"2":54272,"24":23,"16":318521071093415936,"44":-1625517960044654592},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,2,24,16,44]} 
[2026-06-18 15:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134423808001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:02:37] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-18 15:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318521071093415936,"km_value":318521071093415.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:02:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1625517960044654592,"description":"Unknown IO ID 44"} 
[2026-06-18 15:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134423808001,"power":27930,"unknown_222":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1625517960044654592}} 
[2026-06-18 15:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":107579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:02:38] local.INFO: GPS data processed {"connection_id":107579,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:02:38] local.INFO: Acknowledgment sent {"connection_id":107579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:02:45] local.INFO: TCP Data received {"connection_id":107579,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1254d8012ce973c0071788e00017003829..."} 
[2026-06-18 15:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1254d8012ce973c0071788e00017003829..."} 
[2026-06-18 15:02:45] local.INFO: Processing buffer {"connection_id":107579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1254d8012ce973c0071788e00017003829..."} 
[2026-06-18 15:02:45] local.INFO: Packet analysis {"connection_id":107579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda12"} 
[2026-06-18 15:02:45] local.INFO: Extracted packet for processing {"connection_id":107579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda12"} 
[2026-06-18 15:02:45] local.INFO: GPS Element Parsed {"raw_longitude":753497024,"raw_latitude":118982880,"longitude_deg":75.3497024,"latitude_deg":11.898288,"altitude":23,"angle":56,"satellites":41,"speed":23,"hex_longitude":"2ce973c0","hex_latitude":"071788e0","is_valid_coordinates":true} 
[2026-06-18 15:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134424064001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318521101158187008,"note":"Value kept but may cause issues"} 
[2026-06-18 15:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1625236485067804672,"note":"Value kept but may cause issues"} 
[2026-06-18 15:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781775095000,"timestamp_ms":1781775095000,"timestamp_seconds":1781775095,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1254d8"} 
[2026-06-18 15:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134424064001,"66":27974,"222":206,"2":54272,"24":23,"16":318521101158187008,"44":-1625236485067804672},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,2,24,16,44]} 
[2026-06-18 15:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134424064001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:02:45] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-18 15:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318521101158187008,"km_value":318521101158187.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1625236485067804672,"description":"Unknown IO ID 44"} 
[2026-06-18 15:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134424064001,"power":27974,"unknown_222":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1625236485067804672}} 
[2026-06-18 15:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":107579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:02:45] local.INFO: GPS data processed {"connection_id":107579,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:02:45] local.INFO: Acknowledgment sent {"connection_id":107579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:03:24] local.INFO: TCP Data received {"connection_id":106616,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:24] local.INFO: Processing buffer {"connection_id":106616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:24] local.INFO: IMEI packet received {"connection_id":106616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":106616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:03:25] local.INFO: TCP Data received {"connection_id":106616,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:25] local.INFO: Processing buffer {"connection_id":106616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:25] local.INFO: IMEI packet received {"connection_id":106616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:03:25] local.INFO: IMEI acknowledgment sent {"connection_id":106616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:03:29] local.INFO: TCP Data received {"connection_id":106616,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:29] local.INFO: Processing buffer {"connection_id":106616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:03:29] local.INFO: IMEI packet received {"connection_id":106616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":106616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:03:31] local.INFO: TCP Data received {"connection_id":106616,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda131828012ce9978007182a480016000228..."} 
[2026-06-18 15:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda131828012ce9978007182a480016000228..."} 
[2026-06-18 15:03:31] local.INFO: Processing buffer {"connection_id":106616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda131828012ce9978007182a480016000228..."} 
[2026-06-18 15:03:31] local.INFO: Packet analysis {"connection_id":106616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda13"} 
[2026-06-18 15:03:31] local.INFO: Extracted packet for processing {"connection_id":106616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda13"} 
[2026-06-18 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":753506176,"raw_latitude":119024200,"longitude_deg":75.3506176,"latitude_deg":11.90242,"altitude":22,"angle":2,"satellites":40,"speed":52,"hex_longitude":"2ce99780","hex_latitude":"07182a48","is_valid_coordinates":true} 
[2026-06-18 15:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134435328001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318523360310984704,"note":"Value kept but may cause issues"} 
[2026-06-18 15:03:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615033017153878016,"note":"Value kept but may cause issues"} 
[2026-06-18 15:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781775145000,"timestamp_ms":1781775145000,"timestamp_seconds":1781775145,"priority":1,"record_length":96,"hex_timestamp":"0000019eda131828"} 
[2026-06-18 15:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:03:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 15:03: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-06-18 15:03:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134435328001,"66":27843,"222":206,"2":54272,"24":52,"16":318523360310984704,"44":-1615033017153878016},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,2,24,16,44]} 
[2026-06-18 15:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134435328001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:03:31] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-06-18 15:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318523360310984704,"km_value":318523360310984.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:03:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615033017153878016,"description":"Unknown IO ID 44"} 
[2026-06-18 15:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134435328001,"power":27843,"unknown_222":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-1615033017153878016}} 
[2026-06-18 15:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":106616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:03:31] local.INFO: GPS data processed {"connection_id":106616,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:03:31] local.INFO: Acknowledgment sent {"connection_id":106616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:04:02] local.INFO: TCP Data received {"connection_id":106616,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda133380012ce9994007184e48001600022a..."} 
[2026-06-18 15:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda133380012ce9994007184e48001600022a..."} 
[2026-06-18 15:04:02] local.INFO: Processing buffer {"connection_id":106616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda133380012ce9994007184e48001600022a..."} 
[2026-06-18 15:04:02] local.INFO: Packet analysis {"connection_id":106616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda13"} 
[2026-06-18 15:04:02] local.INFO: Extracted packet for processing {"connection_id":106616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda13"} 
[2026-06-18 15:04:02] local.INFO: GPS Element Parsed {"raw_longitude":753506624,"raw_latitude":119033416,"longitude_deg":75.3506624,"latitude_deg":11.9033416,"altitude":22,"angle":2,"satellites":42,"speed":50,"hex_longitude":"2ce99940","hex_latitude":"07184e48","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134437120001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318523806987583488,"note":"Value kept but may cause issues"} 
[2026-06-18 15:04:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1614681173430482944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781775152000,"timestamp_ms":1781775152000,"timestamp_seconds":1781775152,"priority":1,"record_length":96,"hex_timestamp":"0000019eda133380"} 
[2026-06-18 15:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:04: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-06-18 15:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 15:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134437120001,"66":27745,"217":206,"2":54272,"24":50,"16":318523806987583488,"44":-1614681173430482944},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,44]} 
[2026-06-18 15:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134437120001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:04:02] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 15:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318523806987583488,"km_value":318523806987583.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:04:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1614681173430482944,"description":"Unknown IO ID 44"} 
[2026-06-18 15:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134437120001,"power":27745,"unknown_217":206,"power_alt":54272,"ignition":50,"odometer":null,"unknown_44":-1614681173430482944}} 
[2026-06-18 15:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":106616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:04:02] local.INFO: GPS data processed {"connection_id":106616,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:04:02] local.INFO: Acknowledgment sent {"connection_id":106616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:04:24] local.INFO: TCP Data received {"connection_id":107581,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:24] local.INFO: Processing buffer {"connection_id":107581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:24] local.INFO: IMEI packet received {"connection_id":107581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":107581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:04:26] local.INFO: TCP Data received {"connection_id":107581,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:26] local.INFO: Processing buffer {"connection_id":107581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:26] local.INFO: IMEI packet received {"connection_id":107581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":107581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:04:29] local.INFO: TCP Data received {"connection_id":107581,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:29] local.INFO: Processing buffer {"connection_id":107581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:04:29] local.INFO: IMEI packet received {"connection_id":107581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":107581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:04:34] local.INFO: TCP Data received {"connection_id":107581,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda134ed8012ce99a80071870e80016016728..."} 
[2026-06-18 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda134ed8012ce99a80071870e80016016728..."} 
[2026-06-18 15:04:34] local.INFO: Processing buffer {"connection_id":107581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda134ed8012ce99a80071870e80016016728..."} 
[2026-06-18 15:04:34] local.INFO: Packet analysis {"connection_id":107581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda13"} 
[2026-06-18 15:04:34] local.INFO: Extracted packet for processing {"connection_id":107581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda13"} 
[2026-06-18 15:04:34] local.INFO: GPS Element Parsed {"raw_longitude":753506944,"raw_latitude":119042280,"longitude_deg":75.3506944,"latitude_deg":11.904228,"altitude":22,"angle":359,"satellites":40,"speed":49,"hex_longitude":"2ce99a80","hex_latitude":"071870e8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134438912001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318524236484313088,"note":"Value kept but may cause issues"} 
[2026-06-18 15:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1614188592218880000,"note":"Value kept but may cause issues"} 
[2026-06-18 15:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781775159000,"timestamp_ms":1781775159000,"timestamp_seconds":1781775159,"priority":1,"record_length":96,"hex_timestamp":"0000019eda134ed8"} 
[2026-06-18 15:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:04: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-06-18 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 15:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134438912001,"66":27865,"217":206,"2":54272,"24":49,"16":318524236484313088,"44":-1614188592218880000},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,44]} 
[2026-06-18 15:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134438912001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:04:34] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 15:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318524236484313088,"km_value":318524236484313.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1614188592218880000,"description":"Unknown IO ID 44"} 
[2026-06-18 15:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134438912001,"power":27865,"unknown_217":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-1614188592218880000}} 
[2026-06-18 15:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":107581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:04:34] local.INFO: GPS data processed {"connection_id":107581,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:04:34] local.INFO: Acknowledgment sent {"connection_id":107581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:04:58] local.INFO: TCP Data received {"connection_id":107582,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:04:58] local.INFO: Processing buffer {"connection_id":107582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:04:58] local.INFO: IMEI packet received {"connection_id":107582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":107582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:05:06] local.INFO: TCP Data received {"connection_id":107581,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda14cda8012ce98240071a0d580019002728..."} 
[2026-06-18 15:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda14cda8012ce98240071a0d580019002728..."} 
[2026-06-18 15:05:06] local.INFO: Processing buffer {"connection_id":107581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda14cda8012ce98240071a0d580019002728..."} 
[2026-06-18 15:05:06] local.INFO: Packet analysis {"connection_id":107581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda14"} 
[2026-06-18 15:05:06] local.INFO: Extracted packet for processing {"connection_id":107581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda14"} 
[2026-06-18 15:05:06] local.INFO: GPS Element Parsed {"raw_longitude":753500736,"raw_latitude":119147864,"longitude_deg":75.3500736,"latitude_deg":11.9147864,"altitude":25,"angle":39,"satellites":40,"speed":26,"hex_longitude":"2ce98240","hex_latitude":"071a0d58","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:05:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134465280001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:05:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318529381855133696,"note":"Value kept but may cause issues"} 
[2026-06-18 15:05:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1621436572840183808,"note":"Value kept but may cause issues"} 
[2026-06-18 15:05:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:05:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781775257000,"timestamp_ms":1781775257000,"timestamp_seconds":1781775257,"priority":1,"record_length":96,"hex_timestamp":"0000019eda14cda8"} 
[2026-06-18 15:05:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:05: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-06-18 15: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 15:05: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-06-18 15: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-06-18 15:05:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:05:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:05:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:05:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:05:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:05:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:05:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:05:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:05:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134465280001,"66":27376,"216":206,"2":54272,"24":26,"16":318529381855133696,"44":-1621436572840183808},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,2,24,16,44]} 
[2026-06-18 15:05:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:05:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:05:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134465280001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:05:06] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-18 15:05:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318529381855133696,"km_value":318529381855133.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:05:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1621436572840183808,"description":"Unknown IO ID 44"} 
[2026-06-18 15:05:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134465280001,"power":27376,"unknown_216":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1621436572840183808}} 
[2026-06-18 15:05:06] local.INFO: DEBUG: GPS processor result {"connection_id":107581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:05:06] local.INFO: GPS data processed {"connection_id":107581,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:05:06] local.INFO: Acknowledgment sent {"connection_id":107581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:05:30] local.INFO: TCP Data received {"connection_id":106039,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:05:30] local.INFO: Processing buffer {"connection_id":106039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:05:30] local.INFO: IMEI packet received {"connection_id":106039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":106039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:05:33] local.INFO: TCP Data received {"connection_id":106040,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:05:33] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:05:33] local.INFO: IMEI packet received {"connection_id":106040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":106040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:05:38] local.INFO: TCP Data received {"connection_id":106039,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:05:38] local.INFO: Processing buffer {"connection_id":106039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:05:38] local.INFO: IMEI packet received {"connection_id":106039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":106039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:05:42] local.INFO: TCP Data received {"connection_id":106039,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda14d190012ce98480071a0ee80019003328..."} 
[2026-06-18 15:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda14d190012ce98480071a0ee80019003328..."} 
[2026-06-18 15:05:42] local.INFO: Processing buffer {"connection_id":106039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda14d190012ce98480071a0ee80019003328..."} 
[2026-06-18 15:05:42] local.INFO: Packet analysis {"connection_id":106039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda14"} 
[2026-06-18 15:05:42] local.INFO: Extracted packet for processing {"connection_id":106039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda14"} 
[2026-06-18 15:05:42] local.INFO: GPS Element Parsed {"raw_longitude":753501312,"raw_latitude":119148264,"longitude_deg":75.3501312,"latitude_deg":11.9148264,"altitude":25,"angle":51,"satellites":40,"speed":26,"hex_longitude":"2ce98480","hex_latitude":"071a0ee8","is_valid_coordinates":true} 
[2026-06-18 15:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134465792001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318529411919904768,"note":"Value kept but may cause issues"} 
[2026-06-18 15:05:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1620662516653926400,"note":"Value kept but may cause issues"} 
[2026-06-18 15:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781775258000,"timestamp_ms":1781775258000,"timestamp_seconds":1781775258,"priority":1,"record_length":96,"hex_timestamp":"0000019eda14d190"} 
[2026-06-18 15:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 15:05:42] 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-06-18 15:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134465792001,"66":27767,"216":206,"2":54272,"24":26,"16":318529411919904768,"44":-1620662516653926400},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,2,24,16,44]} 
[2026-06-18 15:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134465792001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:05:42] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-18 15:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318529411919904768,"km_value":318529411919904.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:05:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1620662516653926400,"description":"Unknown IO ID 44"} 
[2026-06-18 15:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134465792001,"power":27767,"unknown_216":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1620662516653926400}} 
[2026-06-18 15:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":106039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:05:42] local.INFO: GPS data processed {"connection_id":106039,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:05:42] local.INFO: Acknowledgment sent {"connection_id":106039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:06:02] local.INFO: TCP Data received {"connection_id":106039,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda158928012ce99500071a57b00019002428..."} 
[2026-06-18 15:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda158928012ce99500071a57b00019002428..."} 
[2026-06-18 15:06:02] local.INFO: Processing buffer {"connection_id":106039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda158928012ce99500071a57b00019002428..."} 
[2026-06-18 15:06:02] local.INFO: Packet analysis {"connection_id":106039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda15"} 
[2026-06-18 15:06:02] local.INFO: Extracted packet for processing {"connection_id":106039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda15"} 
[2026-06-18 15:06:02] local.INFO: GPS Element Parsed {"raw_longitude":753505536,"raw_latitude":119166896,"longitude_deg":75.3505536,"latitude_deg":11.9166896,"altitude":25,"angle":36,"satellites":40,"speed":23,"hex_longitude":"2ce99500","hex_latitude":"071a57b0","is_valid_coordinates":true} 
[2026-06-18 15:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134477312001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318530850733948928,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1616299654510374912,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781775305000,"timestamp_ms":1781775305000,"timestamp_seconds":1781775305,"priority":1,"record_length":96,"hex_timestamp":"0000019eda158928"} 
[2026-06-18 15:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 15:06: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-06-18 15: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-06-18 15:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134477312001,"66":27887,"10":206,"2":54272,"24":23,"16":318530850733948928,"44":-1616299654510374912},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 15:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134477312001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:06:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 15:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318530850733948928,"km_value":318530850733948.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1616299654510374912,"description":"Unknown IO ID 44"} 
[2026-06-18 15:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134477312001,"power":27887,"unknown_10":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1616299654510374912}} 
[2026-06-18 15:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":106039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:06:02] local.INFO: GPS data processed {"connection_id":106039,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:06:02] local.INFO: Acknowledgment sent {"connection_id":106039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:06:36] local.INFO: TCP Data received {"connection_id":106618,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:06:36] local.INFO: Processing buffer {"connection_id":106618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:06:36] local.INFO: IMEI packet received {"connection_id":106618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:06:36] local.INFO: IMEI acknowledgment sent {"connection_id":106618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:06:37] local.INFO: TCP Data received {"connection_id":106618,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:06:37] local.INFO: Processing buffer {"connection_id":106618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:06:37] local.INFO: IMEI packet received {"connection_id":106618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:06:37] local.INFO: IMEI acknowledgment sent {"connection_id":106618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:06:39] local.INFO: TCP Data received {"connection_id":106618,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda15b808012ce9ab00071a74c00019001c2a..."} 
[2026-06-18 15:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda15b808012ce9ab00071a74c00019001c2a..."} 
[2026-06-18 15:06:39] local.INFO: Processing buffer {"connection_id":106618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda15b808012ce9ab00071a74c00019001c2a..."} 
[2026-06-18 15:06:39] local.INFO: Packet analysis {"connection_id":106618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda15"} 
[2026-06-18 15:06:39] local.INFO: Extracted packet for processing {"connection_id":106618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda15"} 
[2026-06-18 15:06:39] local.INFO: GPS Element Parsed {"raw_longitude":753511168,"raw_latitude":119174336,"longitude_deg":75.3511168,"latitude_deg":11.9174336,"altitude":25,"angle":28,"satellites":42,"speed":39,"hex_longitude":"2ce9ab00","hex_latitude":"071a74c0","is_valid_coordinates":true} 
[2026-06-18 15:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134478080001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318531301705515008,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1615384860835729408,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781775317000,"timestamp_ms":1781775317000,"timestamp_seconds":1781775317,"priority":1,"record_length":96,"hex_timestamp":"0000019eda15b808"} 
[2026-06-18 15:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 15:06:39] 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-06-18 15:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134478080001,"66":27908,"10":206,"2":54272,"24":39,"16":318531301705515008,"44":-1615384860835729408},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 15:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134478080001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:06:39] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 15:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318531301705515008,"km_value":318531301705515.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:06:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1615384860835729408,"description":"Unknown IO ID 44"} 
[2026-06-18 15:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134478080001,"power":27908,"unknown_10":206,"power_alt":54272,"ignition":39,"odometer":null,"unknown_44":-1615384860835729408}} 
[2026-06-18 15:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":106618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:06:39] local.INFO: GPS data processed {"connection_id":106618,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:06:39] local.INFO: Acknowledgment sent {"connection_id":106618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:06:40] local.INFO: TCP Data received {"connection_id":106618,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda15bfd8012ce9adc0071a7c400018000c2a..."} 
[2026-06-18 15:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda15bfd8012ce9adc0071a7c400018000c2a..."} 
[2026-06-18 15:06:40] local.INFO: Processing buffer {"connection_id":106618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda15bfd8012ce9adc0071a7c400018000c2a..."} 
[2026-06-18 15:06:40] local.INFO: Packet analysis {"connection_id":106618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda15"} 
[2026-06-18 15:06:40] local.INFO: Extracted packet for processing {"connection_id":106618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda15"} 
[2026-06-18 15:06:40] local.INFO: GPS Element Parsed {"raw_longitude":753511872,"raw_latitude":119176256,"longitude_deg":75.3511872,"latitude_deg":11.9176256,"altitude":24,"angle":12,"satellites":42,"speed":42,"hex_longitude":"2ce9adc0","hex_latitude":"071a7c40","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134481152001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318531396194795520,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609192411346190336,"note":"Value kept but may cause issues"} 
[2026-06-18 15:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781775319000,"timestamp_ms":1781775319000,"timestamp_seconds":1781775319,"priority":1,"record_length":96,"hex_timestamp":"0000019eda15bfd8"} 
[2026-06-18 15:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 15:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134481152001,"66":27800,"10":206,"2":54272,"24":42,"16":318531396194795520,"44":-1609192411346190336},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 15:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134481152001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:06:40] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 15:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318531396194795520,"km_value":318531396194795.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:06:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609192411346190336,"description":"Unknown IO ID 44"} 
[2026-06-18 15:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134481152001,"power":27800,"unknown_10":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1609192411346190336}} 
[2026-06-18 15:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":106618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:06:40] local.INFO: GPS data processed {"connection_id":106618,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:06:40] local.INFO: Acknowledgment sent {"connection_id":106618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:07:23] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:23] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:23] local.INFO: IMEI packet received {"connection_id":106041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":106041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:07:24] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:24] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:24] local.INFO: IMEI packet received {"connection_id":106041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":106041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:07:30] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:30] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:07:30] local.INFO: IMEI packet received {"connection_id":106041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":106041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:07:31] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda16c1a8012ce9df80071b48280015002128..."} 
[2026-06-18 15:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda16c1a8012ce9df80071b48280015002128..."} 
[2026-06-18 15:07:31] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda16c1a8012ce9df80071b48280015002128..."} 
[2026-06-18 15:07:31] local.INFO: Packet analysis {"connection_id":106041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda16"} 
[2026-06-18 15:07:31] local.INFO: Extracted packet for processing {"connection_id":106041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda16"} 
[2026-06-18 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":753524608,"raw_latitude":119228456,"longitude_deg":75.3524608,"latitude_deg":11.9228456,"altitude":21,"angle":33,"satellites":40,"speed":18,"hex_longitude":"2ce9df80","hex_latitude":"071b4828","is_valid_coordinates":true} 
[2026-06-18 15:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134498304001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318534132088963072,"note":"Value kept but may cause issues"} 
[2026-06-18 15:07:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594696450031816704,"note":"Value kept but may cause issues"} 
[2026-06-18 15:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781775385000,"timestamp_ms":1781775385000,"timestamp_seconds":1781775385,"priority":1,"record_length":96,"hex_timestamp":"0000019eda16c1a8"} 
[2026-06-18 15:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:07: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-06-18 15:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134498304001,"66":27821,"10":206,"2":54272,"24":18,"16":318534132088963072,"44":-1594696450031816704},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 15:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134498304001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:07:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 15:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318534132088963072,"km_value":318534132088963.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:07:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594696450031816704,"description":"Unknown IO ID 44"} 
[2026-06-18 15:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134498304001,"power":27821,"unknown_10":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1594696450031816704}} 
[2026-06-18 15:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":106041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:07:31] local.INFO: GPS data processed {"connection_id":106041,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:07:31] local.INFO: Acknowledgment sent {"connection_id":106041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:07:32] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda16c590012ce9e040071b49f80015000b29..."} 
[2026-06-18 15:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda16c590012ce9e040071b49f80015000b29..."} 
[2026-06-18 15:07:32] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda16c590012ce9e040071b49f80015000b29..."} 
[2026-06-18 15:07:32] local.INFO: Packet analysis {"connection_id":106041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda16"} 
[2026-06-18 15:07:32] local.INFO: Extracted packet for processing {"connection_id":106041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda16"} 
[2026-06-18 15:07:32] local.INFO: GPS Element Parsed {"raw_longitude":753524800,"raw_latitude":119228920,"longitude_deg":75.35248,"latitude_deg":11.922892,"altitude":21,"angle":11,"satellites":41,"speed":18,"hex_longitude":"2ce9e040","hex_latitude":"071b49f8","is_valid_coordinates":true} 
[2026-06-18 15:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134498560001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318534157858766848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:07:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1594414975055026176,"note":"Value kept but may cause issues"} 
[2026-06-18 15:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781775386000,"timestamp_ms":1781775386000,"timestamp_seconds":1781775386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda16c590"} 
[2026-06-18 15:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 15:07: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-06-18 15:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134498560001,"66":27821,"10":206,"2":54272,"24":18,"16":318534157858766848,"44":-1594414975055026176},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-06-18 15:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134498560001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:07:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 15:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318534157858766848,"km_value":318534157858766.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:07:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1594414975055026176,"description":"Unknown IO ID 44"} 
[2026-06-18 15:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134498560001,"power":27821,"unknown_10":206,"power_alt":54272,"ignition":18,"odometer":null,"unknown_44":-1594414975055026176}} 
[2026-06-18 15:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":106041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:07:32] local.INFO: GPS data processed {"connection_id":106041,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:07:32] local.INFO: Acknowledgment sent {"connection_id":106041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:08:08] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda177d28012ce9f500071ba5500012002626..."} 
[2026-06-18 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda177d28012ce9f500071ba5500012002626..."} 
[2026-06-18 15:08:08] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda177d28012ce9f500071ba5500012002626..."} 
[2026-06-18 15:08:08] local.INFO: Packet analysis {"connection_id":106041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:08:08] local.INFO: Extracted packet for processing {"connection_id":106041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":753530112,"raw_latitude":119252304,"longitude_deg":75.3530112,"latitude_deg":11.9252304,"altitude":18,"angle":38,"satellites":38,"speed":21,"hex_longitude":"2ce9f500","hex_latitude":"071ba550","is_valid_coordinates":true} 
[2026-06-18 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134510592001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318535527953334272,"note":"Value kept but may cause issues"} 
[2026-06-18 15:08:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588785475514802176,"note":"Value kept but may cause issues"} 
[2026-06-18 15:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781775433000,"timestamp_ms":1781775433000,"timestamp_seconds":1781775433,"priority":1,"record_length":96,"hex_timestamp":"0000019eda177d28"} 
[2026-06-18 15:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 15:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134510592001,"66":27843,"162":206,"2":54272,"24":21,"16":318535527953334272,"44":-1588785475514802176},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-18 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134510592001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:08:08] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318535527953334272,"km_value":318535527953334.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:08:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588785475514802176,"description":"Unknown IO ID 44"} 
[2026-06-18 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134510592001,"power":27843,"unknown_162":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1588785475514802176}} 
[2026-06-18 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":106041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:08:08] local.INFO: GPS data processed {"connection_id":106041,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:08:08] local.INFO: Acknowledgment sent {"connection_id":106041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:08:24] local.INFO: TCP Data received {"connection_id":106042,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:08:24] local.INFO: Processing buffer {"connection_id":106042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:08:24] local.INFO: IMEI packet received {"connection_id":106042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":106042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:08:29] local.INFO: TCP Data received {"connection_id":106042,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:08:29] local.INFO: Processing buffer {"connection_id":106042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:08:29] local.INFO: IMEI packet received {"connection_id":106042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":106042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:08:30] local.INFO: TCP Data received {"connection_id":106042,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda178110012ce9f640071ba7480012001226..."} 
[2026-06-18 15:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda178110012ce9f640071ba7480012001226..."} 
[2026-06-18 15:08:30] local.INFO: Processing buffer {"connection_id":106042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda178110012ce9f640071ba7480012001226..."} 
[2026-06-18 15:08:30] local.INFO: Packet analysis {"connection_id":106042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:08:30] local.INFO: Extracted packet for processing {"connection_id":106042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:08:30] local.INFO: GPS Element Parsed {"raw_longitude":753530432,"raw_latitude":119252808,"longitude_deg":75.3530432,"latitude_deg":11.9252808,"altitude":18,"angle":18,"satellites":38,"speed":22,"hex_longitude":"2ce9f640","hex_latitude":"071ba748","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134510848001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318535553723138048,"note":"Value kept but may cause issues"} 
[2026-06-18 15:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588363263049641984,"note":"Value kept but may cause issues"} 
[2026-06-18 15:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781775434000,"timestamp_ms":1781775434000,"timestamp_seconds":1781775434,"priority":1,"record_length":96,"hex_timestamp":"0000019eda178110"} 
[2026-06-18 15:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":195,"data_length":795,"current_offset":136} 
[2026-06-18 15:08: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-06-18 15: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-06-18 15:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134510848001,"66":27843,"162":206,"2":54272,"24":22,"16":318535553723138048,"44":-1588363263049641984},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-18 15:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134510848001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:08:30] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 15:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318535553723138048,"km_value":318535553723138.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588363263049641984,"description":"Unknown IO ID 44"} 
[2026-06-18 15:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134510848001,"power":27843,"unknown_162":206,"power_alt":54272,"ignition":22,"odometer":null,"unknown_44":-1588363263049641984}} 
[2026-06-18 15:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":106042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:08:30] local.INFO: GPS data processed {"connection_id":106042,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:08:30] local.INFO: Acknowledgment sent {"connection_id":106042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:09:04] local.INFO: TCP Data received {"connection_id":106042,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda17ac08012cea0400071bc728000d001522..."} 
[2026-06-18 15:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda17ac08012cea0400071bc728000d001522..."} 
[2026-06-18 15:09:04] local.INFO: Processing buffer {"connection_id":106042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda17ac08012cea0400071bc728000d001522..."} 
[2026-06-18 15:09:04] local.INFO: Packet analysis {"connection_id":106042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:09:04] local.INFO: Extracted packet for processing {"connection_id":106042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:09:04] local.INFO: GPS Element Parsed {"raw_longitude":753533952,"raw_latitude":119260968,"longitude_deg":75.3533952,"latitude_deg":11.9260968,"altitude":13,"angle":21,"satellites":34,"speed":29,"hex_longitude":"2cea0400","hex_latitude":"071bc728","is_valid_coordinates":true} 
[2026-06-18 15:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134511104001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318535983219867648,"note":"Value kept but may cause issues"} 
[2026-06-18 15:09:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588011419328624640,"note":"Value kept but may cause issues"} 
[2026-06-18 15:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781775445000,"timestamp_ms":1781775445000,"timestamp_seconds":1781775445,"priority":1,"record_length":96,"hex_timestamp":"0000019eda17ac08"} 
[2026-06-18 15:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 15:09: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-06-18 15:09:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134511104001,"66":27919,"162":206,"2":54272,"24":29,"16":318535983219867648,"44":-1588011419328624640},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-18 15:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134511104001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:09:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 15:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318535983219867648,"km_value":318535983219867.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:09:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588011419328624640,"description":"Unknown IO ID 44"} 
[2026-06-18 15:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134511104001,"power":27919,"unknown_162":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1588011419328624640}} 
[2026-06-18 15:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":106042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:09:04] local.INFO: GPS data processed {"connection_id":106042,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:09:04] local.INFO: Acknowledgment sent {"connection_id":106042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:09:24] local.INFO: TCP Data received {"connection_id":106619,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:24] local.INFO: Processing buffer {"connection_id":106619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:24] local.INFO: IMEI packet received {"connection_id":106619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":106619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:09:27] local.INFO: TCP Data received {"connection_id":106619,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:27] local.INFO: Processing buffer {"connection_id":106619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:27] local.INFO: IMEI packet received {"connection_id":106619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":106619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:09:29] local.INFO: TCP Data received {"connection_id":106619,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:29] local.INFO: Processing buffer {"connection_id":106619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:09:29] local.INFO: IMEI packet received {"connection_id":106619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":106619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:09:31] local.INFO: TCP Data received {"connection_id":106619,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda17d318012cea0980071bd7e0000c016426..."} 
[2026-06-18 15:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda17d318012cea0980071bd7e0000c016426..."} 
[2026-06-18 15:09:31] local.INFO: Processing buffer {"connection_id":106619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda17d318012cea0980071bd7e0000c016426..."} 
[2026-06-18 15:09:31] local.INFO: Packet analysis {"connection_id":106619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:09:31] local.INFO: Extracted packet for processing {"connection_id":106619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":753535360,"raw_latitude":119265248,"longitude_deg":75.353536,"latitude_deg":11.9265248,"altitude":12,"angle":356,"satellites":38,"speed":12,"hex_longitude":"2cea0980","hex_latitude":"071bd7e0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 15:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134513920001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318536206558167040,"note":"Value kept but may cause issues"} 
[2026-06-18 15:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584141138396764160,"note":"Value kept but may cause issues"} 
[2026-06-18 15:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781775455000,"timestamp_ms":1781775455000,"timestamp_seconds":1781775455,"priority":1,"record_length":96,"hex_timestamp":"0000019eda17d318"} 
[2026-06-18 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-06-18 15:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 15:09: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-06-18 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-06-18 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-06-18 15:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134513920001,"66":27930,"162":206,"2":54272,"24":12,"16":318536206558167040,"44":-1584141138396764160},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-18 15:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134513920001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:09:31] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 15:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318536206558167040,"km_value":318536206558167.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584141138396764160,"description":"Unknown IO ID 44"} 
[2026-06-18 15:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134513920001,"power":27930,"unknown_162":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1584141138396764160}} 
[2026-06-18 15:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":106619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:09:31] local.INFO: GPS data processed {"connection_id":106619,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:09:31] local.INFO: Acknowledgment sent {"connection_id":106619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:10:03] local.INFO: TCP Data received {"connection_id":106619,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda17d700012cea0980071bd928000d015726..."} 
[2026-06-18 15:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda17d700012cea0980071bd928000d015726..."} 
[2026-06-18 15:10:03] local.INFO: Processing buffer {"connection_id":106619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda17d700012cea0980071bd928000d015726..."} 
[2026-06-18 15:10:03] local.INFO: Packet analysis {"connection_id":106619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:10:03] local.INFO: Extracted packet for processing {"connection_id":106619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:10:03] local.INFO: GPS Element Parsed {"raw_longitude":753535360,"raw_latitude":119265576,"longitude_deg":75.353536,"latitude_deg":11.9265576,"altitude":13,"angle":343,"satellites":38,"speed":12,"hex_longitude":"2cea0980","hex_latitude":"071bd928","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134516480001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318536219443068928,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582593026023759872,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781775456000,"timestamp_ms":1781775456000,"timestamp_seconds":1781775456,"priority":1,"record_length":96,"hex_timestamp":"0000019eda17d700"} 
[2026-06-18 15:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:10: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-06-18 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:10:03] 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-06-18 15: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-06-18 15:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134516480001,"66":27267,"162":206,"2":54272,"24":12,"16":318536219443068928,"44":-1582593026023759872},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-18 15:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134516480001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:10:03] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 15:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318536219443068928,"km_value":318536219443068.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:10:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582593026023759872,"description":"Unknown IO ID 44"} 
[2026-06-18 15:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134516480001,"power":27267,"unknown_162":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1582593026023759872}} 
[2026-06-18 15:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":106619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:10:03] local.INFO: GPS data processed {"connection_id":106619,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:10:03] local.INFO: Acknowledgment sent {"connection_id":106619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:10:29] local.INFO: TCP Data received {"connection_id":106620,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:29] local.INFO: Processing buffer {"connection_id":106620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:29] local.INFO: IMEI packet received {"connection_id":106620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":106620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:10:30] local.INFO: TCP Data received {"connection_id":106620,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:30] local.INFO: Processing buffer {"connection_id":106620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:30] local.INFO: IMEI packet received {"connection_id":106620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":106620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:10:34] local.INFO: TCP Data received {"connection_id":106620,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:34] local.INFO: Processing buffer {"connection_id":106620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:10:34] local.INFO: IMEI packet received {"connection_id":106620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":106620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:10:36] local.INFO: TCP Data received {"connection_id":106620,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda17ded0012cea0880071bdb90000d014627..."} 
[2026-06-18 15:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda17ded0012cea0880071bdb90000d014627..."} 
[2026-06-18 15:10:36] local.INFO: Processing buffer {"connection_id":106620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda17ded0012cea0880071bdb90000d014627..."} 
[2026-06-18 15:10:36] local.INFO: Packet analysis {"connection_id":106620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:10:36] local.INFO: Extracted packet for processing {"connection_id":106620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":753535104,"raw_latitude":119266192,"longitude_deg":75.3535104,"latitude_deg":11.9266192,"altitude":13,"angle":326,"satellites":39,"speed":14,"hex_longitude":"2cea0880","hex_latitude":"071bdb90","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134516736001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318536253802807296,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582593026023675904,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781775458000,"timestamp_ms":1781775458000,"timestamp_seconds":1781775458,"priority":1,"record_length":96,"hex_timestamp":"0000019eda17ded0"} 
[2026-06-18 15:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 15:10:36] 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-06-18 15: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-06-18 15:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134516736001,"66":27745,"162":206,"2":54272,"24":14,"16":318536253802807296,"44":-1582593026023675904},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-18 15:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134516736001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:10:36] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 15:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318536253802807296,"km_value":318536253802807.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:10:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582593026023675904,"description":"Unknown IO ID 44"} 
[2026-06-18 15:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134516736001,"power":27745,"unknown_162":206,"power_alt":54272,"ignition":14,"odometer":null,"unknown_44":-1582593026023675904}} 
[2026-06-18 15:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":106620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:10:36] local.INFO: GPS data processed {"connection_id":106620,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:10:36] local.INFO: Acknowledgment sent {"connection_id":106620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:10:45] local.INFO: TCP Data received {"connection_id":106620,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda17ee70012cea0600071be080000c015226..."} 
[2026-06-18 15:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda17ee70012cea0600071be080000c015226..."} 
[2026-06-18 15:10:45] local.INFO: Processing buffer {"connection_id":106620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda17ee70012cea0600071be080000c015226..."} 
[2026-06-18 15:10:45] local.INFO: Packet analysis {"connection_id":106620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:10:45] local.INFO: Extracted packet for processing {"connection_id":106620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda17"} 
[2026-06-18 15:10:45] local.INFO: GPS Element Parsed {"raw_longitude":753534464,"raw_latitude":119267456,"longitude_deg":75.3534464,"latitude_deg":11.9267456,"altitude":12,"angle":338,"satellites":38,"speed":12,"hex_longitude":"2cea0600","hex_latitude":"071be080","is_valid_coordinates":true} 
[2026-06-18 15:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134517248001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318536322522284032,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582874501000228864,"note":"Value kept but may cause issues"} 
[2026-06-18 15:10:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781775462000,"timestamp_ms":1781775462000,"timestamp_seconds":1781775462,"priority":1,"record_length":96,"hex_timestamp":"0000019eda17ee70"} 
[2026-06-18 15:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:10:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:10:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 15:10: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-06-18 15:10:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134517248001,"66":27974,"162":206,"2":54272,"24":12,"16":318536322522284032,"44":-1582874501000228864},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-06-18 15:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134517248001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:10:45] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 15:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318536322522284032,"km_value":318536322522284.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:10:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582874501000228864,"description":"Unknown IO ID 44"} 
[2026-06-18 15:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134517248001,"power":27974,"unknown_162":206,"power_alt":54272,"ignition":12,"odometer":null,"unknown_44":-1582874501000228864}} 
[2026-06-18 15:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":106620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:10:45] local.INFO: GPS data processed {"connection_id":106620,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:10:45] local.INFO: Acknowledgment sent {"connection_id":106620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:10:58] local.INFO: TCP Data received {"connection_id":106621,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:10:58] local.INFO: Processing buffer {"connection_id":106621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:10:58] local.INFO: IMEI packet received {"connection_id":106621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":106621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:11:24] local.INFO: TCP Data received {"connection_id":105842,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:24] local.INFO: Processing buffer {"connection_id":105842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:24] local.INFO: IMEI packet received {"connection_id":105842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":105842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:11:26] local.INFO: TCP Data received {"connection_id":105842,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:26] local.INFO: Processing buffer {"connection_id":105842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:26] local.INFO: IMEI packet received {"connection_id":105842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":105842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:11:29] local.INFO: TCP Data received {"connection_id":105842,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:29] local.INFO: Processing buffer {"connection_id":105842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:11:29] local.INFO: IMEI packet received {"connection_id":105842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":105842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:11:32] local.INFO: TCP Data received {"connection_id":105842,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1a76e0012cea0300071d2e800007000525..."} 
[2026-06-18 15:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1a76e0012cea0300071d2e800007000525..."} 
[2026-06-18 15:11:32] local.INFO: Processing buffer {"connection_id":105842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1a76e0012cea0300071d2e800007000525..."} 
[2026-06-18 15:11:32] local.INFO: Packet analysis {"connection_id":105842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1a"} 
[2026-06-18 15:11:32] local.INFO: Extracted packet for processing {"connection_id":105842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1a"} 
[2026-06-18 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":753533696,"raw_latitude":119352960,"longitude_deg":75.3533696,"latitude_deg":11.935296,"altitude":7,"angle":5,"satellites":37,"speed":16,"hex_longitude":"2cea0300","hex_latitude":"071d2e80","is_valid_coordinates":true} 
[2026-06-18 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-06-18 15:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134555648001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318540510115397632,"note":"Value kept but may cause issues"} 
[2026-06-18 15:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584985563305629696,"note":"Value kept but may cause issues"} 
[2026-06-18 15:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781775628000,"timestamp_ms":1781775628000,"timestamp_seconds":1781775628,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1a76e0"} 
[2026-06-18 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-06-18 15:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":4,"data_length":795,"current_offset":136} 
[2026-06-18 15:11: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-06-18 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-06-18 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-06-18 15:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134555648001,"66":27930,"165":206,"2":54272,"24":16,"16":318540510115397632,"44":-1584985563305629696},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-18 15:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134555648001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:11:32] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 15:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318540510115397632,"km_value":318540510115397.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1584985563305629696,"description":"Unknown IO ID 44"} 
[2026-06-18 15:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134555648001,"power":27930,"unknown_165":206,"power_alt":54272,"ignition":16,"odometer":null,"unknown_44":-1584985563305629696}} 
[2026-06-18 15:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":105842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:11:32] local.INFO: GPS data processed {"connection_id":105842,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:11:32] local.INFO: Acknowledgment sent {"connection_id":105842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:11:38] local.INFO: TCP Data received {"connection_id":105843,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:11:38] local.INFO: Processing buffer {"connection_id":105843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:11:38] local.INFO: IMEI packet received {"connection_id":105843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":105843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:12:05] local.INFO: TCP Data received {"connection_id":105842,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1b1708012ce9aa00071d3e680002015c28..."} 
[2026-06-18 15:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1b1708012ce9aa00071d3e680002015c28..."} 
[2026-06-18 15:12:05] local.INFO: Processing buffer {"connection_id":105842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1b1708012ce9aa00071d3e680002015c28..."} 
[2026-06-18 15:12:05] local.INFO: Packet analysis {"connection_id":105842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1b"} 
[2026-06-18 15:12:05] local.INFO: Extracted packet for processing {"connection_id":105842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1b"} 
[2026-06-18 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":753510912,"raw_latitude":119357032,"longitude_deg":75.3510912,"latitude_deg":11.9357032,"altitude":2,"angle":348,"satellites":40,"speed":26,"hex_longitude":"2ce9aa00","hex_latitude":"071d3e68","is_valid_coordinates":true} 
[2026-06-18 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134570496001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318542000469049344,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609262780044048384,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781775669000,"timestamp_ms":1781775669000,"timestamp_seconds":1781775669,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1b1708"} 
[2026-06-18 15:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 15:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134570496001,"66":27876,"165":206,"2":54272,"24":26,"16":318542000469049344,"44":-1609262780044048384},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-18 15:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134570496001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:12:05] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 15:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318542000469049344,"km_value":318542000469049.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:12:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609262780044048384,"description":"Unknown IO ID 44"} 
[2026-06-18 15:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134570496001,"power":27876,"unknown_165":206,"power_alt":54272,"ignition":26,"odometer":null,"unknown_44":-1609262780044048384}} 
[2026-06-18 15:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":105842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:12:05] local.INFO: GPS data processed {"connection_id":105842,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:12:05] local.INFO: Acknowledgment sent {"connection_id":105842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:12:25] local.INFO: TCP Data received {"connection_id":107583,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:25] local.INFO: Processing buffer {"connection_id":107583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:25] local.INFO: IMEI packet received {"connection_id":107583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:12:25] local.INFO: IMEI acknowledgment sent {"connection_id":107583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:12:28] local.INFO: TCP Data received {"connection_id":107583,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:28] local.INFO: Processing buffer {"connection_id":107583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:28] local.INFO: IMEI packet received {"connection_id":107583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:12:28] local.INFO: IMEI acknowledgment sent {"connection_id":107583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:12:32] local.INFO: TCP Data received {"connection_id":107583,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:32] local.INFO: Processing buffer {"connection_id":107583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:12:32] local.INFO: IMEI packet received {"connection_id":107583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":107583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:12:34] local.INFO: TCP Data received {"connection_id":107583,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1b4200012ce9a400071d60e00001016427..."} 
[2026-06-18 15:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1b4200012ce9a400071d60e00001016427..."} 
[2026-06-18 15:12:34] local.INFO: Processing buffer {"connection_id":107583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1b4200012ce9a400071d60e00001016427..."} 
[2026-06-18 15:12:34] local.INFO: Packet analysis {"connection_id":107583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1b"} 
[2026-06-18 15:12:34] local.INFO: Extracted packet for processing {"connection_id":107583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1b"} 
[2026-06-18 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":753509376,"raw_latitude":119365856,"longitude_deg":75.3509376,"latitude_deg":11.9365856,"altitude":1,"angle":356,"satellites":39,"speed":41,"hex_longitude":"2ce9a400","hex_latitude":"071d60e0","is_valid_coordinates":true} 
[2026-06-18 15:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134571264001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318542434260746240,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1609473886276130816,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781775680000,"timestamp_ms":1781775680000,"timestamp_seconds":1781775680,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1b4200"} 
[2026-06-18 15:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 15:12:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134571264001,"66":27930,"165":206,"2":54272,"24":41,"16":318542434260746240,"44":-1609473886276130816},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-18 15:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134571264001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:12:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 15:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318542434260746240,"km_value":318542434260746.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:12:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1609473886276130816,"description":"Unknown IO ID 44"} 
[2026-06-18 15:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134571264001,"power":27930,"unknown_165":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1609473886276130816}} 
[2026-06-18 15:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":107583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:12:34] local.INFO: GPS data processed {"connection_id":107583,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:12:34] local.INFO: Acknowledgment sent {"connection_id":107583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:12:38] local.INFO: TCP Data received {"connection_id":107583,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1b51a0012ce9a4c0071d71c00002000a26..."} 
[2026-06-18 15:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1b51a0012ce9a4c0071d71c00002000a26..."} 
[2026-06-18 15:12:38] local.INFO: Processing buffer {"connection_id":107583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1b51a0012ce9a4c0071d71c00002000a26..."} 
[2026-06-18 15:12:38] local.INFO: Packet analysis {"connection_id":107583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1b"} 
[2026-06-18 15:12:38] local.INFO: Extracted packet for processing {"connection_id":107583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1b"} 
[2026-06-18 15:12:38] local.INFO: GPS Element Parsed {"raw_longitude":753509568,"raw_latitude":119370176,"longitude_deg":75.3509568,"latitude_deg":11.9370176,"altitude":2,"angle":10,"satellites":38,"speed":43,"hex_longitude":"2ce9a4c0","hex_latitude":"071d71c0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134574080001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318542644714143744,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1611162736134135808,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781775684000,"timestamp_ms":1781775684000,"timestamp_seconds":1781775684,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1b51a0"} 
[2026-06-18 15:12:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:12: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-06-18 15: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-06-18 15:12:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134574080001,"66":28006,"165":206,"2":54272,"24":43,"16":318542644714143744,"44":-1611162736134135808},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-06-18 15:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134574080001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:12:38] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 15:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318542644714143744,"km_value":318542644714143.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:12:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1611162736134135808,"description":"Unknown IO ID 44"} 
[2026-06-18 15:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134574080001,"power":28006,"unknown_165":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1611162736134135808}} 
[2026-06-18 15:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":107583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:12:38] local.INFO: GPS data processed {"connection_id":107583,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:12:38] local.INFO: Acknowledgment sent {"connection_id":107583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:12:48] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:48] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:48] local.INFO: IMEI packet received {"connection_id":106044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":106044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:12:49] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:49] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:49] local.INFO: IMEI packet received {"connection_id":106044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":106044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:12:53] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:53] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:12:53] local.INFO: IMEI packet received {"connection_id":106044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":106044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:12:54] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 15:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 15:12:54] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 15:12:54] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 15:12:54] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 15:12:54] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:12:54] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:12:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:12:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 15:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 15:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 15:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 15:12:54] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 15:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 15:12:54] local.ERROR: GPS data processing failed {"connection_id":106044,"error":"No valid data to process"} 
[2026-06-18 15:12:54] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 15:13:15] local.INFO: TCP Data received {"connection_id":105844,"ip":"117.224.53.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:13:15] local.INFO: Processing buffer {"connection_id":105844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:13:15] local.INFO: IMEI packet received {"connection_id":105844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":105844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:13:24] local.INFO: TCP Data received {"connection_id":107585,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:24] local.INFO: Processing buffer {"connection_id":107585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:24] local.INFO: IMEI packet received {"connection_id":107585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":107585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:13:25] local.INFO: TCP Data received {"connection_id":107585,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:25] local.INFO: Processing buffer {"connection_id":107585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:25] local.INFO: IMEI packet received {"connection_id":107585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":107585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:13:25] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 15:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 15:13:25] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 15:13:25] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 15:13:25] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 15:13:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:25] 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-06-18 15:13:25] 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-06-18 15:13:25] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 15:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 15:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 15:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 15:13:25] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 15:13:25] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 15:13:25] local.ERROR: GPS data processing failed {"connection_id":106044,"error":"No valid data to process"} 
[2026-06-18 15:13:25] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 15:13:27] local.INFO: TCP Data received {"connection_id":107585,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:27] local.INFO: Processing buffer {"connection_id":107585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:27] local.INFO: IMEI packet received {"connection_id":107585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":107585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:13:30] local.INFO: TCP Data received {"connection_id":107585,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:30] local.INFO: Processing buffer {"connection_id":107585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:13:30] local.INFO: IMEI packet received {"connection_id":107585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":107585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:13:33] local.INFO: TCP Data received {"connection_id":107585,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1c7e68012cea1800071e9c480006002626..."} 
[2026-06-18 15:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1c7e68012cea1800071e9c480006002626..."} 
[2026-06-18 15:13:33] local.INFO: Processing buffer {"connection_id":107585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1c7e68012cea1800071e9c480006002626..."} 
[2026-06-18 15:13:33] local.INFO: Packet analysis {"connection_id":107585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1c"} 
[2026-06-18 15:13:33] local.INFO: Extracted packet for processing {"connection_id":107585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1c"} 
[2026-06-18 15:13:33] local.INFO: GPS Element Parsed {"raw_longitude":753539072,"raw_latitude":119446600,"longitude_deg":75.3539072,"latitude_deg":11.94466,"altitude":6,"angle":38,"satellites":38,"speed":25,"hex_longitude":"2cea1800","hex_latitude":"071e9c48","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134593280001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318546630443794432,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581467126071537664,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781775761000,"timestamp_ms":1781775761000,"timestamp_seconds":1781775761,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1c7e68"} 
[2026-06-18 15:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15: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-06-18 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 15:13: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-06-18 15: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-06-18 15:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134593280001,"66":27930,"6":206,"2":54272,"24":25,"16":318546630443794432,"44":-1581467126071537664},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-06-18 15:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134593280001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:13:33] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-18 15:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318546630443794432,"km_value":318546630443794.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:13:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581467126071537664,"description":"Unknown IO ID 44"} 
[2026-06-18 15:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134593280001,"power":27930,"unknown_6":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1581467126071537664}} 
[2026-06-18 15:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":107585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:13:33] local.INFO: GPS data processed {"connection_id":107585,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:13:33] local.INFO: Acknowledgment sent {"connection_id":107585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:13:57] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1d3dd00100000000000000000000000000..."} 
[2026-06-18 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1d3dd00100000000000000000000000000..."} 
[2026-06-18 15:13:57] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1d3dd00100000000000000000000000000..."} 
[2026-06-18 15:13:57] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1d"} 
[2026-06-18 15:13:57] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1d"} 
[2026-06-18 15:13:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:57] 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-06-18 15:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781775810000,"timestamp_ms":1781775810000,"timestamp_seconds":1781775810,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1d3dd0"} 
[2026-06-18 15:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 15:13:57] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-4733281913480478715,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3120614656,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3642517456,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:57] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960018944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:57] local.WARNING: Large IO value detected {"io_id":22,"raw_value":57702370239184896,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:57] local.WARNING: Large IO value detected {"io_id":236,"raw_value":873698366379335424,"note":"Value kept but may cause issues"} 
[2026-06-18 15:13:57] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,110,87,24,241,157,16,123,183,10,66,197,27,1,240,186,4,113,205,239,2,44,77,158,5,22,236],"length":527,"final_offset":657,"validated_count":27,"validation_warnings":[]} 
[2026-06-18 15:13:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:13:57] 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-06-18 15:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:13:57] local.INFO: GPS data processed {"connection_id":106044,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:13:57] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:14:29] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1d8fd80100000000000000000000000000..."} 
[2026-06-18 15:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1d8fd80100000000000000000000000000..."} 
[2026-06-18 15:14:29] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1d8fd80100000000000000000000000000..."} 
[2026-06-18 15:14:29] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1d"} 
[2026-06-18 15:14:29] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1d"} 
[2026-06-18 15:14: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-06-18 15:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:14:29] 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-06-18 15:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781775831000,"timestamp_ms":1781775831000,"timestamp_seconds":1781775831,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1d8fd8"} 
[2026-06-18 15:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 15:14: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-06-18 15:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:14:29] 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-06-18 15:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:14:29] local.INFO: GPS data processed {"connection_id":106044,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:14:29] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:14:30] local.INFO: TCP Data received {"connection_id":106622,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:14:30] local.INFO: Processing buffer {"connection_id":106622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:14:30] local.INFO: IMEI packet received {"connection_id":106622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":106622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:14:35] local.INFO: TCP Data received {"connection_id":106622,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:14:35] local.INFO: Processing buffer {"connection_id":106622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:14:35] local.INFO: IMEI packet received {"connection_id":106622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":106622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:14:37] local.INFO: TCP Data received {"connection_id":106622,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1c8a20012cea1dc0071ea2100007003426..."} 
[2026-06-18 15:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1c8a20012cea1dc0071ea2100007003426..."} 
[2026-06-18 15:14:37] local.INFO: Processing buffer {"connection_id":106622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1c8a20012cea1dc0071ea2100007003426..."} 
[2026-06-18 15:14:37] local.INFO: Packet analysis {"connection_id":106622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1c"} 
[2026-06-18 15:14:37] local.INFO: Extracted packet for processing {"connection_id":106622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1c"} 
[2026-06-18 15:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753540544,"raw_latitude":119448080,"longitude_deg":75.3540544,"latitude_deg":11.944808,"altitude":7,"angle":52,"satellites":38,"speed":29,"hex_longitude":"2cea1dc0","hex_latitude":"071ea210","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134594816001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318546733523009536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578511638815029248,"note":"Value kept but may cause issues"} 
[2026-06-18 15:14:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781775764000,"timestamp_ms":1781775764000,"timestamp_seconds":1781775764,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1c8a20"} 
[2026-06-18 15:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:14:37] 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-06-18 15: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-06-18 15:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134594816001,"66":27484,"6":206,"2":54272,"24":29,"16":318546733523009536,"44":-1578511638815029248},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-06-18 15:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134594816001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:14:37] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-18 15:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318546733523009536,"km_value":318546733523009.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1578511638815029248,"description":"Unknown IO ID 44"} 
[2026-06-18 15:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134594816001,"power":27484,"unknown_6":206,"power_alt":54272,"ignition":29,"odometer":null,"unknown_44":-1578511638815029248}} 
[2026-06-18 15:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":106622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:14:37] local.INFO: GPS data processed {"connection_id":106622,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:14:37] local.INFO: Acknowledgment sent {"connection_id":106622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:15:00] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1de1e00100000000000000000000000000..."} 
[2026-06-18 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1de1e00100000000000000000000000000..."} 
[2026-06-18 15:15:00] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1de1e00100000000000000000000000000..."} 
[2026-06-18 15:15:00] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1d"} 
[2026-06-18 15:15:00] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1d"} 
[2026-06-18 15:15: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-06-18 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-06-18 15:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:00] 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-06-18 15:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781775852000,"timestamp_ms":1781775852000,"timestamp_seconds":1781775852,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1de1e0"} 
[2026-06-18 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-06-18 15:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":237,"data_length":795,"current_offset":136} 
[2026-06-18 15:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 15:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:15:00] 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-06-18 15:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:15:00] local.INFO: GPS data processed {"connection_id":106044,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:15:00] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:15:29] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:15:29] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:15:29] local.INFO: IMEI packet received {"connection_id":105845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":105845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:15:31] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1e33e80100000000000000000000000000..."} 
[2026-06-18 15:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1e33e80100000000000000000000000000..."} 
[2026-06-18 15:15:31] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1e33e80100000000000000000000000000..."} 
[2026-06-18 15:15:31] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:15:31] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:31] 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-06-18 15:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781775873000,"timestamp_ms":1781775873000,"timestamp_seconds":1781775873,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1e33e8"} 
[2026-06-18 15:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 15:15:31] 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-06-18 15: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-06-18 15:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:15:31] 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-06-18 15:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:15:31] local.INFO: GPS data processed {"connection_id":106044,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:15:31] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:15:34] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:15:34] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:15:34] local.INFO: IMEI packet received {"connection_id":105845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:15:34] local.INFO: IMEI acknowledgment sent {"connection_id":105845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:15:38] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:15:38] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:15:38] local.INFO: IMEI packet received {"connection_id":105845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":105845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:15:41] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1e0cd8012cea4e80071fe6300005000528..."} 
[2026-06-18 15:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1e0cd8012cea4e80071fe6300005000528..."} 
[2026-06-18 15:15:41] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019eda..."} 
[2026-06-18 15:15:41] local.INFO: IMEI packet received {"connection_id":105845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:15:41] local.INFO: IMEI acknowledgment sent {"connection_id":105845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:15:42] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1e37d0012cea530007200de80006000625..."} 
[2026-06-18 15:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1e37d0012cea530007200de80006000625..."} 
[2026-06-18 15:15:42] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019eda1e0cd8012cea4e80071fe6300005000528..."} 
[2026-06-18 15:15:42] local.INFO: Packet analysis {"connection_id":105845,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:15:42] local.INFO: Extracted packet for processing {"connection_id":105845,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753553024,"raw_latitude":119531056,"longitude_deg":75.3553024,"latitude_deg":11.9531056,"altitude":5,"angle":5,"satellites":40,"speed":34,"hex_longitude":"2cea4e80","hex_latitude":"071fe630","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134617344001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318550873871482880,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564015677495422976,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781775863000,"timestamp_ms":1781775863000,"timestamp_seconds":1781775863,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1e0cd8"} 
[2026-06-18 15:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 15:15:42] 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-06-18 15: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-06-18 15:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134617344001,"66":27919,"6":206,"2":54272,"24":34,"16":318550873871482880,"44":-1564015677495422976},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-06-18 15:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134617344001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:15:42] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-18 15:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318550873871482880,"km_value":318550873871482.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564015677495422976,"description":"Unknown IO ID 44"} 
[2026-06-18 15:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134617344001,"power":27919,"unknown_6":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1564015677495422976}} 
[2026-06-18 15:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":105845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:15:42] local.INFO: GPS data processed {"connection_id":105845,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:15:42] local.INFO: Acknowledgment sent {"connection_id":105845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:15:42] local.INFO: Packet analysis {"connection_id":105845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:15:42] local.INFO: Extracted packet for processing {"connection_id":105845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":753554176,"raw_latitude":119541224,"longitude_deg":75.3554176,"latitude_deg":11.9541224,"altitude":6,"angle":6,"satellites":37,"speed":40,"hex_longitude":"2cea5300","hex_latitude":"07200de8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134620928001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318551372087689216,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1563171252562677760,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781775874000,"timestamp_ms":1781775874000,"timestamp_seconds":1781775874,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1e37d0"} 
[2026-06-18 15:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 15:15:42] 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-06-18 15: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-06-18 15:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":105845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134620928001,"66":27887,"6":206,"2":54272,"24":40,"16":318551372087689216,"44":-1563171252562677760},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-06-18 15:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134620928001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:15:42] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-18 15:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318551372087689216,"km_value":318551372087689.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:15:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1563171252562677760,"description":"Unknown IO ID 44"} 
[2026-06-18 15:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134620928001,"power":27887,"unknown_6":206,"power_alt":54272,"ignition":40,"odometer":null,"unknown_44":-1563171252562677760}} 
[2026-06-18 15:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":105845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:15:42] local.INFO: GPS data processed {"connection_id":105845,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:15:42] local.INFO: Acknowledgment sent {"connection_id":105845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:15:44] local.INFO: TCP Data received {"connection_id":105845,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1e5af8012cea5700072030600007000727..."} 
[2026-06-18 15:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1e5af8012cea5700072030600007000727..."} 
[2026-06-18 15:15:44] local.INFO: Processing buffer {"connection_id":105845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1e5af8012cea5700072030600007000727..."} 
[2026-06-18 15:15:44] local.INFO: Packet analysis {"connection_id":105845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:15:44] local.INFO: Extracted packet for processing {"connection_id":105845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":753555200,"raw_latitude":119550048,"longitude_deg":75.35552,"latitude_deg":11.9550048,"altitude":7,"angle":7,"satellites":39,"speed":30,"hex_longitude":"2cea5700","hex_latitude":"07203060","is_valid_coordinates":true} 
[2026-06-18 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134623744001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318551801584418816,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1561904615164876800,"note":"Value kept but may cause issues"} 
[2026-06-18 15:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781775883000,"timestamp_ms":1781775883000,"timestamp_seconds":1781775883,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1e5af8"} 
[2026-06-18 15:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 15:15:44] 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-06-18 15:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134623744001,"66":27908,"6":206,"2":54272,"24":30,"16":318551801584418816,"44":-1561904615164876800},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-06-18 15:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134623744001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:15:44] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-18 15:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318551801584418816,"km_value":318551801584418.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:15:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1561904615164876800,"description":"Unknown IO ID 44"} 
[2026-06-18 15:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134623744001,"power":27908,"unknown_6":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1561904615164876800}} 
[2026-06-18 15:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":105845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:15:44] local.INFO: GPS data processed {"connection_id":105845,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:15:44] local.INFO: Acknowledgment sent {"connection_id":105845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:16:02] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1e5ee0012d7cadc005ec37300019010d06..."} 
[2026-06-18 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1e5ee0012d7cadc005ec37300019010d06..."} 
[2026-06-18 15:16:02] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1e5ee0012d7cadc005ec37300019010d06..."} 
[2026-06-18 15:16:02] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:16:02] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763145664,"raw_latitude":99366704,"longitude_deg":76.3145664,"latitude_deg":9.9366704,"altitude":25,"angle":269,"satellites":6,"speed":13,"hex_longitude":"2d7cadc0","hex_latitude":"05ec3730","is_valid_coordinates":true} 
[2026-06-18 15:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866566088654848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:02] 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-06-18 15:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781775884000,"timestamp_ms":1781775884000,"timestamp_seconds":1781775884,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1e5ee0"} 
[2026-06-18 15:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3840,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-06-18 15:16:02] 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-06-18 15:16:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:16:02] 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-06-18 15:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13319,"198":206,"87":13824,"24":13,"16":93866566088654848},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16]} 
[2026-06-18 15:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 15:16:02] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 15:16:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866566088654848,"km_value":93866566088654.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:16:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":13,"odometer":null}} 
[2026-06-18 15:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344603,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:16:02] local.INFO: GPS data processed {"connection_id":106044,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:16:02] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:16:29] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:29] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:29] local.INFO: IMEI packet received {"connection_id":106047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":106047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:16:30] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:30] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:30] local.INFO: IMEI packet received {"connection_id":106047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":106047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:16:34] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1e8208012d7ca0c005ec37680018010e08..."} 
[2026-06-18 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1e8208012d7ca0c005ec37680018010e08..."} 
[2026-06-18 15:16:34] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1e8208012d7ca0c005ec37680018010e08..."} 
[2026-06-18 15:16:34] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:16:34] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763142336,"raw_latitude":99366760,"longitude_deg":76.3142336,"latitude_deg":9.936676,"altitude":24,"angle":270,"satellites":8,"speed":12,"hex_longitude":"2d7ca0c0","hex_latitude":"05ec3768","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134626304001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866725002444800,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8984047963344416768,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781775893000,"timestamp_ms":1781775893000,"timestamp_seconds":1781775893,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1e8208"} 
[2026-06-18 15:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:16:34] 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-06-18 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 15:16:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19423972483416628,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1231945934,"corrected_to":0} 
[2026-06-18 15:16:34] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2684420096,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:34] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57796674836125494,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:34] local.INFO: IO Element Parsed {"io_data_count":29,"io_data_keys":[0,198,87,24,241,157,16,123,158,51,10,66,225,110,143,1,240,237,227,218,4,113,205,9,239,2,52,77,7],"length":527,"final_offset":657,"validated_count":29,"validation_warnings":[{"io_id":205,"original":1231945934,"validated":0}]} 
[2026-06-18 15:16:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801735645346725957,"timestamp_seconds":1801735645346726.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:16:34] 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-06-18 15:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134626304001,"66":13559,"198":206,"87":13824,"24":12,"16":93866725002444800,"45":8984047963344416768},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 15:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134626304001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:16:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 15:16:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866725002444800,"km_value":93866725002444.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8984047963344416768,"description":"Unknown IO ID 45"} 
[2026-06-18 15:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134626304001,"power":13559,"unknown_198":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8984047963344416768}} 
[2026-06-18 15:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344604,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:16:34] local.INFO: GPS data processed {"connection_id":106044,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:16:34] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:16:34] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:34] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:16:34] local.INFO: IMEI packet received {"connection_id":106047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:16:34] local.INFO: IMEI acknowledgment sent {"connection_id":106047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:16:36] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1e85f0012cea5b40072054b80007000627..."} 
[2026-06-18 15:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1e85f0012cea5b40072054b80007000627..."} 
[2026-06-18 15:16:36] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1e85f0012cea5b40072054b80007000627..."} 
[2026-06-18 15:16:36] local.INFO: Packet analysis {"connection_id":106047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:16:36] local.INFO: Extracted packet for processing {"connection_id":106047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:16:36] local.INFO: GPS Element Parsed {"raw_longitude":753556288,"raw_latitude":119559352,"longitude_deg":75.3556288,"latitude_deg":11.9559352,"altitude":7,"angle":6,"satellites":39,"speed":37,"hex_longitude":"2cea5b40","hex_latitude":"072054b8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134626048001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318552256850952192,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1560778715255775232,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781775894000,"timestamp_ms":1781775894000,"timestamp_seconds":1781775894,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1e85f0"} 
[2026-06-18 15:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:16: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-06-18 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 15:16: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-06-18 15: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-06-18 15:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134626048001,"66":27800,"6":206,"2":54272,"24":37,"16":318552256850952192,"44":-1560778715255775232},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-06-18 15:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134626048001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:16:36] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-18 15:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318552256850952192,"km_value":318552256850952.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:16:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1560778715255775232,"description":"Unknown IO ID 44"} 
[2026-06-18 15:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134626048001,"power":27800,"unknown_6":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1560778715255775232}} 
[2026-06-18 15:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":106047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:16:36] local.INFO: GPS data processed {"connection_id":106047,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:16:36] local.INFO: Acknowledgment sent {"connection_id":106047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:16:40] local.INFO: TCP Data received {"connection_id":106047,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1ead00012cea5f40072077c00007000629..."} 
[2026-06-18 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1ead00012cea5f40072077c00007000629..."} 
[2026-06-18 15:16:40] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1ead00012cea5f40072077c00007000629..."} 
[2026-06-18 15:16:40] local.INFO: Packet analysis {"connection_id":106047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:16:40] local.INFO: Extracted packet for processing {"connection_id":106047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":753557312,"raw_latitude":119568320,"longitude_deg":75.3557312,"latitude_deg":11.956832,"altitude":7,"angle":6,"satellites":41,"speed":33,"hex_longitude":"2cea5f40","hex_latitude":"072077c0","is_valid_coordinates":true} 
[2026-06-18 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134628864001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318552694937616384,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1559582446602373120,"note":"Value kept but may cause issues"} 
[2026-06-18 15:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781775904000,"timestamp_ms":1781775904000,"timestamp_seconds":1781775904,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1ead00"} 
[2026-06-18 15:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 15:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134628864001,"66":27930,"6":206,"2":54272,"24":33,"16":318552694937616384,"44":-1559582446602373120},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-06-18 15:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134628864001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:16:40] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-18 15:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318552694937616384,"km_value":318552694937616.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:16:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1559582446602373120,"description":"Unknown IO ID 44"} 
[2026-06-18 15:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134628864001,"power":27930,"unknown_6":206,"power_alt":54272,"ignition":33,"odometer":null,"unknown_44":-1559582446602373120}} 
[2026-06-18 15:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":106047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:16:40] local.INFO: GPS data processed {"connection_id":106047,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:16:40] local.INFO: Acknowledgment sent {"connection_id":106047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:16:53] local.INFO: TCP Data received {"connection_id":106048,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:16:53] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:16:53] local.INFO: IMEI packet received {"connection_id":106048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":106048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:17:06] local.INFO: TCP Data received {"connection_id":106044,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1ecc40012d7c9c8005ec36d8001501030a..."} 
[2026-06-18 15:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1ecc40012d7c9c8005ec36d8001501030a..."} 
[2026-06-18 15:17:06] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1ecc40012d7c9c8005ec36d8001501030a..."} 
[2026-06-18 15:17:06] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:17:06] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763141248,"raw_latitude":99366616,"longitude_deg":76.3141248,"latitude_deg":9.9366616,"altitude":21,"angle":259,"satellites":10,"speed":1,"hex_longitude":"2d7c9c80","hex_latitude":"05ec36d8","is_valid_coordinates":true} 
[2026-06-18 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134628608001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93866780837019648,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980388788647192576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:06] 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-06-18 15:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781775912000,"timestamp_ms":1781775912000,"timestamp_seconds":1781775912,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1ecc40"} 
[2026-06-18 15:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:17:06] 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-06-18 15:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-06-18 15:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134628608001,"66":13319,"198":206,"87":13824,"24":1,"16":93866780837019648,"45":8980388788647192576},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 15:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134628608001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:17:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 15:17:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93866780837019648,"km_value":93866780837019.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980388788647192576,"description":"Unknown IO ID 45"} 
[2026-06-18 15:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134628608001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":1,"odometer":null,"unknown_45":8980388788647192576}} 
[2026-06-18 15:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344607,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:17:06] local.INFO: GPS data processed {"connection_id":106044,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:17:06] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:17:25] local.INFO: TCP Data received {"connection_id":107586,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:25] local.INFO: Processing buffer {"connection_id":107586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:25] local.INFO: IMEI packet received {"connection_id":107586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":107586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:17:26] local.INFO: TCP Data received {"connection_id":107586,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:26] local.INFO: Processing buffer {"connection_id":107586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:26] local.INFO: IMEI packet received {"connection_id":107586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":107586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:17:29] local.INFO: TCP Data received {"connection_id":107586,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:29] local.INFO: Processing buffer {"connection_id":107586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:29] local.INFO: IMEI packet received {"connection_id":107586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":107586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:17:32] local.INFO: TCP Data received {"connection_id":107586,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:32] local.INFO: Processing buffer {"connection_id":107586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:17:32] local.INFO: IMEI packet received {"connection_id":107586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":107586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:17:33] local.INFO: TCP Data received {"connection_id":107586,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda1edbe0012cea638007209c280009000626..."} 
[2026-06-18 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda1edbe0012cea638007209c280009000626..."} 
[2026-06-18 15:17:33] local.INFO: Processing buffer {"connection_id":107586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda1edbe0012cea638007209c280009000626..."} 
[2026-06-18 15:17:33] local.INFO: Packet analysis {"connection_id":107586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:17:33] local.INFO: Extracted packet for processing {"connection_id":107586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda1e"} 
[2026-06-18 15:17:33] local.INFO: GPS Element Parsed {"raw_longitude":753558400,"raw_latitude":119577640,"longitude_deg":75.35584,"latitude_deg":11.957764,"altitude":9,"angle":6,"satellites":38,"speed":30,"hex_longitude":"2cea6380","hex_latitude":"07209c28","is_valid_coordinates":true} 
[2026-06-18 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134631424001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318553150204149760,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558456546693234688,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781775916000,"timestamp_ms":1781775916000,"timestamp_seconds":1781775916,"priority":1,"record_length":96,"hex_timestamp":"0000019eda1edbe0"} 
[2026-06-18 15:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:17: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-06-18 15:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:17: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-06-18 15:17:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134631424001,"66":27995,"6":206,"2":54272,"24":30,"16":318553150204149760,"44":-1558456546693234688},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-06-18 15:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134631424001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:17:33] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-06-18 15:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318553150204149760,"km_value":318553150204149.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:17:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1558456546693234688,"description":"Unknown IO ID 44"} 
[2026-06-18 15:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134631424001,"power":27995,"unknown_6":206,"power_alt":54272,"ignition":30,"odometer":null,"unknown_44":-1558456546693234688}} 
[2026-06-18 15:17:33] local.INFO: TCP Data received {"connection_id":106623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:17:33] local.INFO: Processing buffer {"connection_id":106623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:17:33] local.INFO: IMEI packet received {"connection_id":106623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":106623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":107586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:17:33] local.INFO: GPS data processed {"connection_id":107586,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:17:33] local.INFO: Acknowledgment sent {"connection_id":107586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:17:33] local.INFO: TCP Data received {"connection_id":107587,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:17:33] local.INFO: Processing buffer {"connection_id":107587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:17:33] local.INFO: IMEI packet received {"connection_id":107587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":107587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:17:34] local.INFO: TCP Data received {"connection_id":107587,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107587,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:17:34] local.INFO: Processing buffer {"connection_id":107587,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:17:34] local.INFO: IMEI packet received {"connection_id":107587,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":107587,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:17:35] local.INFO: TCP Data received {"connection_id":107587,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda20a4e8012d7b714005ec0cf0001500fa13..."} 
[2026-06-18 15:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda20a4e8012d7b714005ec0cf0001500fa13..."} 
[2026-06-18 15:17:35] local.INFO: Processing buffer {"connection_id":107587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda20a4e8012d7b714005ec0cf0001500fa13..."} 
[2026-06-18 15:17:35] local.INFO: Packet analysis {"connection_id":107587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:17:35] local.INFO: Extracted packet for processing {"connection_id":107587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763064640,"raw_latitude":99355888,"longitude_deg":76.306464,"latitude_deg":9.9355888,"altitude":21,"angle":250,"satellites":19,"speed":38,"hex_longitude":"2d7b7140","hex_latitude":"05ec0cf0","is_valid_coordinates":true} 
[2026-06-18 15:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134661888001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93870504573665280,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8904812757398286336,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781776033000,"timestamp_ms":1781776033000,"timestamp_seconds":1781776033,"priority":1,"record_length":96,"hex_timestamp":"0000019eda20a4e8"} 
[2026-06-18 15:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:17:35] 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-06-18 15:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-18 15:17: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-06-18 15:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:17:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134661888001,"66":13276,"198":206,"87":13824,"24":38,"16":93870504573665280,"45":8904812757398286336},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 15:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134661888001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:17:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 15:17:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93870504573665280,"km_value":93870504573665.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8904812757398286336,"description":"Unknown IO ID 45"} 
[2026-06-18 15:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134661888001,"power":13276,"unknown_198":206,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":8904812757398286336}} 
[2026-06-18 15:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":107587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:17:35] local.INFO: GPS data processed {"connection_id":107587,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:17:35] local.INFO: Acknowledgment sent {"connection_id":107587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:17:39] local.INFO: TCP Data received {"connection_id":107587,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda20cbf8012d7b504005ec0098001400f611..."} 
[2026-06-18 15:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda20cbf8012d7b504005ec0098001400f611..."} 
[2026-06-18 15:17:39] local.INFO: Processing buffer {"connection_id":107587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda20cbf8012d7b504005ec0098001400f611..."} 
[2026-06-18 15:17:39] local.INFO: Packet analysis {"connection_id":107587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:17:39] local.INFO: Extracted packet for processing {"connection_id":107587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":99352728,"longitude_deg":76.3056192,"latitude_deg":9.9352728,"altitude":20,"angle":246,"satellites":17,"speed":35,"hex_longitude":"2d7b5040","hex_latitude":"05ec0098","is_valid_coordinates":true} 
[2026-06-18 15:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134664448001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93870938365362176,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894961133212725248,"note":"Value kept but may cause issues"} 
[2026-06-18 15:17:39] 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-06-18 15:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781776043000,"timestamp_ms":1781776043000,"timestamp_seconds":1781776043,"priority":1,"record_length":96,"hex_timestamp":"0000019eda20cbf8"} 
[2026-06-18 15:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 15:17:39] 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-06-18 15: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-06-18 15:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:17: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-06-18 15:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134664448001,"66":12526,"155":206,"87":13824,"24":35,"16":93870938365362176,"45":8894961133212725248},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 15:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134664448001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:17:39] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 15:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93870938365362176,"km_value":93870938365362.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894961133212725248,"description":"Unknown IO ID 45"} 
[2026-06-18 15:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134664448001,"power":12526,"unknown_155":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8894961133212725248}} 
[2026-06-18 15:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":107587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344610,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:17:39] local.INFO: GPS data processed {"connection_id":107587,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:17:39] local.INFO: Acknowledgment sent {"connection_id":107587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:18:04] local.INFO: TCP Data received {"connection_id":107586,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda209160012ceb070007223b60000d001e27..."} 
[2026-06-18 15:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda209160012ceb070007223b60000d001e27..."} 
[2026-06-18 15:18:04] local.INFO: Processing buffer {"connection_id":107586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda209160012ceb070007223b60000d001e27..."} 
[2026-06-18 15:18:04] local.INFO: Packet analysis {"connection_id":107586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:18:04] local.INFO: Extracted packet for processing {"connection_id":107586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:18:04] local.INFO: GPS Element Parsed {"raw_longitude":753600256,"raw_latitude":119683936,"longitude_deg":75.3600256,"latitude_deg":11.9683936,"altitude":13,"angle":30,"satellites":39,"speed":47,"hex_longitude":"2ceb0700","hex_latitude":"07223b60","is_valid_coordinates":true} 
[2026-06-18 15:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134661120001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318558750841503744,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1516516775135746048,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781776028000,"timestamp_ms":1781776028000,"timestamp_seconds":1781776028,"priority":1,"record_length":96,"hex_timestamp":"0000019eda209160"} 
[2026-06-18 15:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:18: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-06-18 15:18:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134661120001,"66":27800,"110":206,"2":54272,"24":47,"16":318558750841503744,"44":-1516516775135746048},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-06-18 15:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134661120001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:18:04] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 15:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318558750841503744,"km_value":318558750841503.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1516516775135746048,"description":"Unknown IO ID 44"} 
[2026-06-18 15:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134661120001,"power":27800,"unknown_110":206,"power_alt":54272,"ignition":47,"odometer":null,"unknown_44":-1516516775135746048}} 
[2026-06-18 15:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":107586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:18:04] local.INFO: GPS data processed {"connection_id":107586,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:18:04] local.INFO: Acknowledgment sent {"connection_id":107586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:18:14] local.INFO: TCP Data received {"connection_id":107587,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda20f308012d7b300005ebf140001300f313..."} 
[2026-06-18 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda20f308012d7b300005ebf140001300f313..."} 
[2026-06-18 15:18:14] local.INFO: Processing buffer {"connection_id":107587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda20f308012d7b300005ebf140001300f313..."} 
[2026-06-18 15:18:14] local.INFO: Packet analysis {"connection_id":107587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:18:14] local.INFO: Extracted packet for processing {"connection_id":107587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:18:14] local.INFO: GPS Element Parsed {"raw_longitude":763047936,"raw_latitude":99348800,"longitude_deg":76.3047936,"latitude_deg":9.93488,"altitude":19,"angle":243,"satellites":19,"speed":39,"hex_longitude":"2d7b3000","hex_latitude":"05ebf140","is_valid_coordinates":true} 
[2026-06-18 15:18: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-06-18 15:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134667008001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93871372157059072,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885672458980464640,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:14] 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-06-18 15:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781776053000,"timestamp_ms":1781776053000,"timestamp_seconds":1781776053,"priority":1,"record_length":96,"hex_timestamp":"0000019eda20f308"} 
[2026-06-18 15:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:18:14] 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-06-18 15:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 15:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:18: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-06-18 15:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134667008001,"66":13374,"155":206,"87":13824,"24":39,"16":93871372157059072,"45":8885672458980464640},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 15:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134667008001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:18:14] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 15:18:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93871372157059072,"km_value":93871372157059.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885672458980464640,"description":"Unknown IO ID 45"} 
[2026-06-18 15:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134667008001,"power":13374,"unknown_155":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8885672458980464640}} 
[2026-06-18 15:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":107587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344612,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:18:14] local.INFO: GPS data processed {"connection_id":107587,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:18:14] local.INFO: Acknowledgment sent {"connection_id":107587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:18:30] local.INFO: TCP Data received {"connection_id":106049,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:18:30] local.INFO: Processing buffer {"connection_id":106049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:18:30] local.INFO: IMEI packet received {"connection_id":106049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":106049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:18:32] local.INFO: TCP Data received {"connection_id":106049,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:18:32] local.INFO: Processing buffer {"connection_id":106049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:18:32] local.INFO: IMEI packet received {"connection_id":106049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":106049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:18:33] local.INFO: TCP Data received {"connection_id":106049,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda20b0a0012ceb1a8007225c38000d001f28..."} 
[2026-06-18 15:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda20b0a0012ceb1a8007225c38000d001f28..."} 
[2026-06-18 15:18:33] local.INFO: Processing buffer {"connection_id":106049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda20b0a0012ceb1a8007225c38000d001f28..."} 
[2026-06-18 15:18:33] local.INFO: Packet analysis {"connection_id":106049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:18:33] local.INFO: Extracted packet for processing {"connection_id":106049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda20"} 
[2026-06-18 15:18:33] local.INFO: GPS Element Parsed {"raw_longitude":753605248,"raw_latitude":119692344,"longitude_deg":75.3605248,"latitude_deg":11.9692344,"altitude":13,"angle":31,"satellites":40,"speed":49,"hex_longitude":"2ceb1a80","hex_latitude":"07225c38","is_valid_coordinates":true} 
[2026-06-18 15:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134663168001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318559223287906304,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1511239119320424448,"note":"Value kept but may cause issues"} 
[2026-06-18 15:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781776036000,"timestamp_ms":1781776036000,"timestamp_seconds":1781776036,"priority":1,"record_length":96,"hex_timestamp":"0000019eda20b0a0"} 
[2026-06-18 15:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:18: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-06-18 15:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 15:18: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-06-18 15:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134663168001,"66":27919,"110":206,"2":54272,"24":49,"16":318559223287906304,"44":-1511239119320424448},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-06-18 15:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134663168001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:18:33] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 15:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318559223287906304,"km_value":318559223287906.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:18:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1511239119320424448,"description":"Unknown IO ID 44"} 
[2026-06-18 15:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134663168001,"power":27919,"unknown_110":206,"power_alt":54272,"ignition":49,"odometer":null,"unknown_44":-1511239119320424448}} 
[2026-06-18 15:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":106049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:18:33] local.INFO: GPS data processed {"connection_id":106049,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:18:33] local.INFO: Acknowledgment sent {"connection_id":106049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:19:01] local.INFO: TCP Data received {"connection_id":107587,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda211630012d7b0f0005ebe0a8001100f315..."} 
[2026-06-18 15:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda211630012d7b0f0005ebe0a8001100f315..."} 
[2026-06-18 15:19:01] local.INFO: Processing buffer {"connection_id":107587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda211630012d7b0f0005ebe0a8001100f315..."} 
[2026-06-18 15:19:01] local.INFO: Packet analysis {"connection_id":107587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda21"} 
[2026-06-18 15:19:01] local.INFO: Extracted packet for processing {"connection_id":107587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda21"} 
[2026-06-18 15:19:01] local.INFO: GPS Element Parsed {"raw_longitude":763039488,"raw_latitude":99344552,"longitude_deg":76.3039488,"latitude_deg":9.9344552,"altitude":17,"angle":243,"satellites":21,"speed":43,"hex_longitude":"2d7b0f00","hex_latitude":"05ebe0a8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134669568001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93871827423592448,"note":"Value kept but may cause issues"} 
[2026-06-18 15:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8876594890980540416,"note":"Value kept but may cause issues"} 
[2026-06-18 15:19: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-06-18 15:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781776062000,"timestamp_ms":1781776062000,"timestamp_seconds":1781776062,"priority":1,"record_length":96,"hex_timestamp":"0000019eda211630"} 
[2026-06-18 15:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:19:01] 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-06-18 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-18 15:19: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-06-18 15: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-06-18 15:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107587,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:19:01] 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-06-18 15:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134669568001,"66":13559,"155":206,"87":13824,"24":43,"16":93871827423592448,"45":8876594890980540416},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 15:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134669568001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:19:01] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 15:19:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93871827423592448,"km_value":93871827423592.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8876594890980540416,"description":"Unknown IO ID 45"} 
[2026-06-18 15:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134669568001,"power":13559,"unknown_155":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8876594890980540416}} 
[2026-06-18 15:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":107587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:19:01] local.INFO: GPS data processed {"connection_id":107587,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:19:01] local.INFO: Acknowledgment sent {"connection_id":107587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:19:25] local.INFO: TCP Data received {"connection_id":107589,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:25] local.INFO: Processing buffer {"connection_id":107589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:25] local.INFO: IMEI packet received {"connection_id":107589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":107589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:19:26] local.INFO: TCP Data received {"connection_id":107589,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:26] local.INFO: Processing buffer {"connection_id":107589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:26] local.INFO: IMEI packet received {"connection_id":107589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":107589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:19:27] local.INFO: TCP Data received {"connection_id":107589,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:27] local.INFO: Processing buffer {"connection_id":107589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:27] local.INFO: IMEI packet received {"connection_id":107589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":107589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:19:28] local.INFO: TCP Data received {"connection_id":107589,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107589,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:28] local.INFO: Processing buffer {"connection_id":107589,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:19:28] local.INFO: IMEI packet received {"connection_id":107589,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":107589,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:19:40] local.INFO: TCP Data received {"connection_id":106624,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:40] local.INFO: Processing buffer {"connection_id":106624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:40] local.INFO: IMEI packet received {"connection_id":106624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":106624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:19:44] local.INFO: TCP Data received {"connection_id":106624,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:44] local.INFO: Processing buffer {"connection_id":106624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:44] local.INFO: IMEI packet received {"connection_id":106624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":106624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:19:44] local.INFO: TCP Data received {"connection_id":106624,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:44] local.INFO: Processing buffer {"connection_id":106624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:44] local.INFO: IMEI packet received {"connection_id":106624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":106624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:19:49] local.INFO: TCP Data received {"connection_id":106624,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:49] local.INFO: Processing buffer {"connection_id":106624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:19:49] local.INFO: IMEI packet received {"connection_id":106624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":106624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:19:52] local.INFO: TCP Data received {"connection_id":106624,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2223b8012cec468007233dd0001a004428..."} 
[2026-06-18 15:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2223b8012cec468007233dd0001a004428..."} 
[2026-06-18 15:19:52] local.INFO: Processing buffer {"connection_id":106624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2223b8012cec468007233dd0001a004428..."} 
[2026-06-18 15:19:52] local.INFO: Packet analysis {"connection_id":106624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda22"} 
[2026-06-18 15:19:52] local.INFO: Extracted packet for processing {"connection_id":106624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda22"} 
[2026-06-18 15:19:52] local.INFO: GPS Element Parsed {"raw_longitude":753682048,"raw_latitude":119750096,"longitude_deg":75.3682048,"latitude_deg":11.9750096,"altitude":26,"angle":68,"satellites":40,"speed":53,"hex_longitude":"2cec4680","hex_latitude":"07233dd0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134687744001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318563879032455168,"note":"Value kept but may cause issues"} 
[2026-06-18 15:19:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1430666907221211136,"note":"Value kept but may cause issues"} 
[2026-06-18 15:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781776131000,"timestamp_ms":1781776131000,"timestamp_seconds":1781776131,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2223b8"} 
[2026-06-18 15:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:19:52] 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-06-18 15: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:19:52] 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-06-18 15: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-06-18 15:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134687744001,"66":28050,"233":206,"2":54272,"24":53,"16":318563879032455168,"44":-1430666907221211136},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,2,24,16,44]} 
[2026-06-18 15:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134687744001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:19:52] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-06-18 15:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318563879032455168,"km_value":318563879032455.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:19:52] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1430666907221211136,"description":"Unknown IO ID 44"} 
[2026-06-18 15:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134687744001,"power":28050,"unknown_233":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1430666907221211136}} 
[2026-06-18 15:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":106624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:19:52] local.INFO: GPS data processed {"connection_id":106624,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:19:52] local.INFO: Acknowledgment sent {"connection_id":106624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:20:23] local.INFO: TCP Data received {"connection_id":107590,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:23] local.INFO: Processing buffer {"connection_id":107590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:23] local.INFO: IMEI packet received {"connection_id":107590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:20:23] local.INFO: IMEI acknowledgment sent {"connection_id":107590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:20:24] local.INFO: TCP Data received {"connection_id":107590,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:24] local.INFO: Processing buffer {"connection_id":107590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:24] local.INFO: IMEI packet received {"connection_id":107590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":107590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:20:29] local.INFO: TCP Data received {"connection_id":107590,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:29] local.INFO: Processing buffer {"connection_id":107590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:20:29] local.INFO: IMEI packet received {"connection_id":107590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":107590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:20:32] local.INFO: TCP Data received {"connection_id":107590,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2223b8012cec468007233dd0001a004428..."} 
[2026-06-18 15:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2223b8012cec468007233dd0001a004428..."} 
[2026-06-18 15:20:32] local.INFO: Processing buffer {"connection_id":107590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2223b8012cec468007233dd0001a004428..."} 
[2026-06-18 15:20:32] local.INFO: Packet analysis {"connection_id":107590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda22"} 
[2026-06-18 15:20:32] local.INFO: Extracted packet for processing {"connection_id":107590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda22"} 
[2026-06-18 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":753682048,"raw_latitude":119750096,"longitude_deg":75.3682048,"latitude_deg":11.9750096,"altitude":26,"angle":68,"satellites":40,"speed":53,"hex_longitude":"2cec4680","hex_latitude":"07233dd0","is_valid_coordinates":true} 
[2026-06-18 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134689536001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318563879032455168,"note":"Value kept but may cause issues"} 
[2026-06-18 15:20:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421307864244432896,"note":"Value kept but may cause issues"} 
[2026-06-18 15:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781776131000,"timestamp_ms":1781776131000,"timestamp_seconds":1781776131,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2223b8"} 
[2026-06-18 15:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 15:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134689536001,"66":28050,"233":206,"2":54272,"24":53,"16":318563879032455168,"44":-1421307864244432896},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,2,24,16,44]} 
[2026-06-18 15:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134689536001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:20:32] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-06-18 15:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318563879032455168,"km_value":318563879032455.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:20:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421307864244432896,"description":"Unknown IO ID 44"} 
[2026-06-18 15:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134689536001,"power":28050,"unknown_233":206,"power_alt":54272,"ignition":53,"odometer":null,"unknown_44":-1421307864244432896}} 
[2026-06-18 15:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":107590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:20:32] local.INFO: GPS data processed {"connection_id":107590,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:20:32] local.INFO: Acknowledgment sent {"connection_id":107590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:21:24] local.INFO: TCP Data received {"connection_id":106626,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:21:24] local.INFO: Processing buffer {"connection_id":106626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:21:24] local.INFO: IMEI packet received {"connection_id":106626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":106626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:21:29] local.INFO: TCP Data received {"connection_id":106626,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:21:29] local.INFO: Processing buffer {"connection_id":106626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:21:29] local.INFO: IMEI packet received {"connection_id":106626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":106626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:21:31] local.INFO: TCP Data received {"connection_id":106626,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda236020012ced700007246b000026000f2a..."} 
[2026-06-18 15:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda236020012ced700007246b000026000f2a..."} 
[2026-06-18 15:21:31] local.INFO: Processing buffer {"connection_id":106626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda236020012ced700007246b000026000f2a..."} 
[2026-06-18 15:21:31] local.INFO: Packet analysis {"connection_id":106626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda23"} 
[2026-06-18 15:21:31] local.INFO: Extracted packet for processing {"connection_id":106626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda23"} 
[2026-06-18 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":753758208,"raw_latitude":119827200,"longitude_deg":75.3758208,"latitude_deg":11.98272,"altitude":38,"angle":15,"satellites":42,"speed":54,"hex_longitude":"2ced7000","hex_latitude":"07246b00","is_valid_coordinates":true} 
[2026-06-18 15:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134708736001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318569526914449408,"note":"Value kept but may cause issues"} 
[2026-06-18 15:21:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1340665283399077888,"note":"Value kept but may cause issues"} 
[2026-06-18 15:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781776212000,"timestamp_ms":1781776212000,"timestamp_seconds":1781776212,"priority":1,"record_length":96,"hex_timestamp":"0000019eda236020"} 
[2026-06-18 15:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 15:21:31] 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-06-18 15:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134708736001,"66":27887,"233":206,"2":54272,"24":54,"16":318569526914449408,"44":-1340665283399077888},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,2,24,16,44]} 
[2026-06-18 15:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134708736001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:21:31] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-06-18 15:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318569526914449408,"km_value":318569526914449.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:21:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1340665283399077888,"description":"Unknown IO ID 44"} 
[2026-06-18 15:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134708736001,"power":27887,"unknown_233":206,"power_alt":54272,"ignition":54,"odometer":null,"unknown_44":-1340665283399077888}} 
[2026-06-18 15:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":106626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:21:31] local.INFO: GPS data processed {"connection_id":106626,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:21:31] local.INFO: Acknowledgment sent {"connection_id":106626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:22:03] local.INFO: TCP Data received {"connection_id":106626,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda237b78012ced78c007248eb00029000d2c..."} 
[2026-06-18 15:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda237b78012ced78c007248eb00029000d2c..."} 
[2026-06-18 15:22:03] local.INFO: Processing buffer {"connection_id":106626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda237b78012ced78c007248eb00029000d2c..."} 
[2026-06-18 15:22:03] local.INFO: Packet analysis {"connection_id":106626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda23"} 
[2026-06-18 15:22:03] local.INFO: Extracted packet for processing {"connection_id":106626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda23"} 
[2026-06-18 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":753760448,"raw_latitude":119836336,"longitude_deg":75.3760448,"latitude_deg":11.9836336,"altitude":41,"angle":13,"satellites":44,"speed":52,"hex_longitude":"2ced78c0","hex_latitude":"07248eb0","is_valid_coordinates":true} 
[2026-06-18 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134710272001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318569982180982784,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1337569058653274112,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781776219000,"timestamp_ms":1781776219000,"timestamp_seconds":1781776219,"priority":1,"record_length":96,"hex_timestamp":"0000019eda237b78"} 
[2026-06-18 15:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:22:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:22:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 15:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:22:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134710272001,"66":27843,"234":206,"2":54272,"24":52,"16":318569982180982784,"44":-1337569058653274112},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-06-18 15:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134710272001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:22:03] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-06-18 15:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318569982180982784,"km_value":318569982180982.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:22:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1337569058653274112,"description":"Unknown IO ID 44"} 
[2026-06-18 15:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134710272001,"power":27843,"unknown_234":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-1337569058653274112}} 
[2026-06-18 15:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":106626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:22:03] local.INFO: GPS data processed {"connection_id":106626,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:22:03] local.INFO: Acknowledgment sent {"connection_id":106626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:22:30] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:22:30] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:22:30] local.INFO: IMEI packet received {"connection_id":105850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":105850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:22:34] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:22:34] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:22:34] local.INFO: IMEI packet received {"connection_id":105850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":105850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:22:37] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2498a0012ced0f000725ae280020013f28..."} 
[2026-06-18 15:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2498a0012ced0f000725ae280020013f28..."} 
[2026-06-18 15:22:37] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2498a0012ced0f000725ae280020013f28..."} 
[2026-06-18 15:22:37] local.INFO: Packet analysis {"connection_id":105850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda24"} 
[2026-06-18 15:22:37] local.INFO: Extracted packet for processing {"connection_id":105850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda24"} 
[2026-06-18 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":753733376,"raw_latitude":119909928,"longitude_deg":75.3733376,"latitude_deg":11.9909928,"altitude":32,"angle":319,"satellites":40,"speed":58,"hex_longitude":"2ced0f00","hex_latitude":"0725ae28","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:22:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134729216001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318573946435796992,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1358327838166233088,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:22:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781776292000,"timestamp_ms":1781776292000,"timestamp_seconds":1781776292,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2498a0"} 
[2026-06-18 15:22:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:22:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 15:22: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-06-18 15: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-06-18 15:22:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:22:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:22:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:22:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:22:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:22:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:22:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:22:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:22:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134729216001,"66":27865,"234":206,"2":54272,"24":58,"16":318573946435796992,"44":-1358327838166233088},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-06-18 15:22:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:22:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:22:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134729216001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:22:37] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-06-18 15:22:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318573946435796992,"km_value":318573946435797.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:22:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1358327838166233088,"description":"Unknown IO ID 44"} 
[2026-06-18 15:22:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134729216001,"power":27865,"unknown_234":206,"power_alt":54272,"ignition":58,"odometer":null,"unknown_44":-1358327838166233088}} 
[2026-06-18 15:22:37] local.INFO: DEBUG: GPS processor result {"connection_id":105850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:22:37] local.INFO: GPS data processed {"connection_id":105850,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:22:37] local.INFO: Acknowledgment sent {"connection_id":105850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:22:39] local.INFO: TCP Data received {"connection_id":105850,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda24b3f8012cecf4800725cc38001f013d29..."} 
[2026-06-18 15:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda24b3f8012cecf4800725cc38001f013d29..."} 
[2026-06-18 15:22:39] local.INFO: Processing buffer {"connection_id":105850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda24b3f8012cecf4800725cc38001f013d29..."} 
[2026-06-18 15:22:39] local.INFO: Packet analysis {"connection_id":105850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda24"} 
[2026-06-18 15:22:39] local.INFO: Extracted packet for processing {"connection_id":105850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda24"} 
[2026-06-18 15:22:39] local.INFO: GPS Element Parsed {"raw_longitude":753726592,"raw_latitude":119917624,"longitude_deg":75.3726592,"latitude_deg":11.9917624,"altitude":31,"angle":317,"satellites":41,"speed":56,"hex_longitude":"2cecf480","hex_latitude":"0725cc38","is_valid_coordinates":true} 
[2026-06-18 15:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134730752001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318574440357036032,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1364872131373029376,"note":"Value kept but may cause issues"} 
[2026-06-18 15:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781776299000,"timestamp_ms":1781776299000,"timestamp_seconds":1781776299,"priority":1,"record_length":96,"hex_timestamp":"0000019eda24b3f8"} 
[2026-06-18 15:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 15:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134730752001,"66":27745,"33":206,"2":54272,"24":56,"16":318574440357036032,"44":-1364872131373029376},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-06-18 15:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134730752001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:22:39] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 15:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318574440357036032,"km_value":318574440357036.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:22:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1364872131373029376,"description":"Unknown IO ID 44"} 
[2026-06-18 15:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134730752001,"power":27745,"unknown_33":206,"power_alt":54272,"ignition":56,"odometer":null,"unknown_44":-1364872131373029376}} 
[2026-06-18 15:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":105850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:22:39] local.INFO: GPS data processed {"connection_id":105850,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:22:39] local.INFO: Acknowledgment sent {"connection_id":105850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:22:48] local.INFO: TCP Data received {"connection_id":105851,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:22:48] local.INFO: Processing buffer {"connection_id":105851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:22:48] local.INFO: IMEI packet received {"connection_id":105851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":105851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:23:24] local.INFO: TCP Data received {"connection_id":106627,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:23:24] local.INFO: Processing buffer {"connection_id":106627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:23:24] local.INFO: IMEI packet received {"connection_id":106627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":106627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:23:27] local.INFO: TCP Data received {"connection_id":106627,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:23:27] local.INFO: Processing buffer {"connection_id":106627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:23:27] local.INFO: IMEI packet received {"connection_id":106627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":106627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:23:29] local.INFO: TCP Data received {"connection_id":106627,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda24cf50012cecdb800725e898001f013f2a..."} 
[2026-06-18 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda24cf50012cecdb800725e898001f013f2a..."} 
[2026-06-18 15:23:29] local.INFO: Processing buffer {"connection_id":106627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda24cf50012cecdb800725e898001f013f2a..."} 
[2026-06-18 15:23:29] local.INFO: Packet analysis {"connection_id":106627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda24"} 
[2026-06-18 15:23:29] local.INFO: Extracted packet for processing {"connection_id":106627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda24"} 
[2026-06-18 15:23:29] local.INFO: GPS Element Parsed {"raw_longitude":753720192,"raw_latitude":119924888,"longitude_deg":75.3720192,"latitude_deg":11.9924888,"altitude":31,"angle":319,"satellites":42,"speed":51,"hex_longitude":"2cecdb80","hex_latitude":"0725e898","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134732544001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318574904213504000,"note":"Value kept but may cause issues"} 
[2026-06-18 15:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1372331218253891584,"note":"Value kept but may cause issues"} 
[2026-06-18 15:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781776306000,"timestamp_ms":1781776306000,"timestamp_seconds":1781776306,"priority":1,"record_length":96,"hex_timestamp":"0000019eda24cf50"} 
[2026-06-18 15:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:23: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-06-18 15: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 15:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134732544001,"66":27908,"33":206,"2":54272,"24":51,"16":318574904213504000,"44":-1372331218253891584},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-06-18 15:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134732544001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:23:29] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-06-18 15:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318574904213504000,"km_value":318574904213504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1372331218253891584,"description":"Unknown IO ID 44"} 
[2026-06-18 15:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134732544001,"power":27908,"unknown_33":206,"power_alt":54272,"ignition":51,"odometer":null,"unknown_44":-1372331218253891584}} 
[2026-06-18 15:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":106627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:23:29] local.INFO: GPS data processed {"connection_id":106627,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:23:29] local.INFO: Acknowledgment sent {"connection_id":106627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:23:33] local.INFO: TCP Data received {"connection_id":107591,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:23:33] local.INFO: Processing buffer {"connection_id":107591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:23:33] local.INFO: IMEI packet received {"connection_id":107591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":107591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:24:00] local.INFO: TCP Data received {"connection_id":106627,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2607d0012cec76c0072771d0001400012b..."} 
[2026-06-18 15:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2607d0012cec76c0072771d0001400012b..."} 
[2026-06-18 15:24:00] local.INFO: Processing buffer {"connection_id":106627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2607d0012cec76c0072771d0001400012b..."} 
[2026-06-18 15:24:00] local.INFO: Packet analysis {"connection_id":106627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:24:00] local.INFO: Extracted packet for processing {"connection_id":106627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:24:00] local.INFO: GPS Element Parsed {"raw_longitude":753694400,"raw_latitude":120025552,"longitude_deg":75.36944,"latitude_deg":12.0025552,"altitude":20,"angle":1,"satellites":43,"speed":61,"hex_longitude":"2cec76c0","hex_latitude":"072771d0","is_valid_coordinates":true} 
[2026-06-18 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134753792001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318580174138376192,"note":"Value kept but may cause issues"} 
[2026-06-18 15:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407304484084187136,"note":"Value kept but may cause issues"} 
[2026-06-18 15:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781776386000,"timestamp_ms":1781776386000,"timestamp_seconds":1781776386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2607d0"} 
[2026-06-18 15:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:24: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-06-18 15:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 15:24: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-06-18 15:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134753792001,"66":27713,"32":206,"2":54272,"24":61,"16":318580174138376192,"44":-1407304484084187136},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-06-18 15:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134753792001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:24:00] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-06-18 15:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318580174138376192,"km_value":318580174138376.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407304484084187136,"description":"Unknown IO ID 44"} 
[2026-06-18 15:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134753792001,"power":27713,"unknown_32":206,"power_alt":54272,"ignition":61,"odometer":null,"unknown_44":-1407304484084187136}} 
[2026-06-18 15:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":106627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:24:00] local.INFO: GPS data processed {"connection_id":106627,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:24:00] local.INFO: Acknowledgment sent {"connection_id":106627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:24:33] local.INFO: TCP Data received {"connection_id":106053,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106053,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:24:33] local.INFO: Processing buffer {"connection_id":106053,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:24:33] local.INFO: IMEI packet received {"connection_id":106053,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":106053,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:24:34] local.INFO: TCP Data received {"connection_id":106053,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda262328012d79e80005ecad300000010117..."} 
[2026-06-18 15:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda262328012d79e80005ecad300000010117..."} 
[2026-06-18 15:24:34] local.INFO: Processing buffer {"connection_id":106053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda262328012d79e80005ecad300000010117..."} 
[2026-06-18 15:24:34] local.INFO: Packet analysis {"connection_id":106053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:24:34] local.INFO: Extracted packet for processing {"connection_id":106053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:24:34] local.INFO: GPS Element Parsed {"raw_longitude":762963968,"raw_latitude":99396912,"longitude_deg":76.2963968,"latitude_deg":9.9396912,"altitude":0,"angle":257,"satellites":23,"speed":4,"hex_longitude":"2d79e800","hex_latitude":"05ecad30","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134752512001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93878553342377984,"note":"Value kept but may cause issues"} 
[2026-06-18 15:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8786945110910631936,"note":"Value kept but may cause issues"} 
[2026-06-18 15:24: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-06-18 15:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781776393000,"timestamp_ms":1781776393000,"timestamp_seconds":1781776393,"priority":1,"record_length":96,"hex_timestamp":"0000019eda262328"} 
[2026-06-18 15:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-18 15:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:24:34] 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-06-18 15:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134752512001,"66":13363,"157":206,"87":13824,"24":4,"16":93878553342377984,"45":8786945110910631936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134752512001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:24:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:24:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93878553342377984,"km_value":93878553342377.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8786945110910631936,"description":"Unknown IO ID 45"} 
[2026-06-18 15:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134752512001,"power":13363,"unknown_157":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":8786945110910631936}} 
[2026-06-18 15:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":106053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:24:34] local.INFO: GPS data processed {"connection_id":106053,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:24:34] local.INFO: Acknowledgment sent {"connection_id":106053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:25:03] local.INFO: TCP Data received {"connection_id":105853,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:03] local.INFO: Processing buffer {"connection_id":105853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:03] local.INFO: IMEI packet received {"connection_id":105853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":105853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:25:05] local.INFO: TCP Data received {"connection_id":105853,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:05] local.INFO: Processing buffer {"connection_id":105853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:05] local.INFO: IMEI packet received {"connection_id":105853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":105853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:25:05] local.INFO: TCP Data received {"connection_id":106053,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda262af8012d79e60005ecad20000000f619..."} 
[2026-06-18 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda262af8012d79e60005ecad20000000f619..."} 
[2026-06-18 15:25:05] local.INFO: Processing buffer {"connection_id":106053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda262af8012d79e60005ecad20000000f619..."} 
[2026-06-18 15:25:05] local.INFO: Packet analysis {"connection_id":106053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:25:05] local.INFO: Extracted packet for processing {"connection_id":106053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":762963456,"raw_latitude":99396896,"longitude_deg":76.2963456,"latitude_deg":9.9396896,"altitude":0,"angle":246,"satellites":25,"speed":3,"hex_longitude":"2d79e600","hex_latitude":"05ecad20","is_valid_coordinates":true} 
[2026-06-18 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134756608001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93878574817214464,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8784271098631761920,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781776395000,"timestamp_ms":1781776395000,"timestamp_seconds":1781776395,"priority":1,"record_length":96,"hex_timestamp":"0000019eda262af8"} 
[2026-06-18 15:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 15:25:05] 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-06-18 15:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106053,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:25:05] 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-06-18 15:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134756608001,"66":13059,"157":206,"87":13824,"24":3,"16":93878574817214464,"45":8784271098631761920},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134756608001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:25:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:25:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93878574817214464,"km_value":93878574817214.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8784271098631761920,"description":"Unknown IO ID 45"} 
[2026-06-18 15:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134756608001,"power":13059,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8784271098631761920}} 
[2026-06-18 15:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":106053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344624,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:25:05] local.INFO: GPS data processed {"connection_id":106053,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:25:05] local.INFO: Acknowledgment sent {"connection_id":106053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:25:05] local.INFO: TCP Data received {"connection_id":105853,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:05] local.INFO: Processing buffer {"connection_id":105853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:05] local.INFO: IMEI packet received {"connection_id":105853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":105853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:25:09] local.INFO: TCP Data received {"connection_id":105853,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:09] local.INFO: Processing buffer {"connection_id":105853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:25:09] local.INFO: IMEI packet received {"connection_id":105853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":105853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:25:28] local.INFO: TCP Data received {"connection_id":107592,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:28] local.INFO: Processing buffer {"connection_id":107592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:28] local.INFO: IMEI packet received {"connection_id":107592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":107592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:25:29] local.INFO: TCP Data received {"connection_id":107592,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:29] local.INFO: Processing buffer {"connection_id":107592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:29] local.INFO: IMEI packet received {"connection_id":107592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":107592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:25:33] local.INFO: TCP Data received {"connection_id":107592,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107592,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:33] local.INFO: Processing buffer {"connection_id":107592,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:25:33] local.INFO: IMEI packet received {"connection_id":107592,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":107592,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:25:34] local.INFO: TCP Data received {"connection_id":107592,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda267918012d79e58005ecad80000000fa1a..."} 
[2026-06-18 15:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda267918012d79e58005ecad80000000fa1a..."} 
[2026-06-18 15:25:34] local.INFO: Processing buffer {"connection_id":107592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda267918012d79e58005ecad80000000fa1a..."} 
[2026-06-18 15:25:34] local.INFO: Packet analysis {"connection_id":107592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:25:34] local.INFO: Extracted packet for processing {"connection_id":107592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:25:34] local.INFO: GPS Element Parsed {"raw_longitude":762963328,"raw_latitude":99396992,"longitude_deg":76.2963328,"latitude_deg":9.9396992,"altitude":0,"angle":250,"satellites":26,"speed":0,"hex_longitude":"2d79e580","hex_latitude":"05ecad80","is_valid_coordinates":true} 
[2026-06-18 15:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134757120001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93878587702116352,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783708148678336512,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781776415000,"timestamp_ms":1781776415000,"timestamp_seconds":1781776415,"priority":1,"record_length":96,"hex_timestamp":"0000019eda267918"} 
[2026-06-18 15:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:25:34] 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-06-18 15:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861245,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":58079734643818504,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3659879456,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3976200192,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":236,"raw_value":2930769924,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2246574080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3970897920,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:34] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,157,87,24,241,16,134,158,35,45,173,23,10,66,228,128,175,3,25,133,220,1,240,198,227,218,236,4,113,205,2,162,243,56,22,239,52,77,5,6,8],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-18 15:25:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":270587234811904,"timestamp_seconds":270587234811.904,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:25:34] 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-06-18 15:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134757120001,"66":12939,"157":206,"87":13824,"24":0,"16":93878587702116352,"45":8783708148678336512},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134757120001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:25:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:25:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93878587702116352,"km_value":93878587702116.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783708148678336512,"description":"Unknown IO ID 45"} 
[2026-06-18 15:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134757120001,"power":12939,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8783708148678336512}} 
[2026-06-18 15:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":107592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344625,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:25:34] local.INFO: GPS data processed {"connection_id":107592,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:25:34] local.INFO: Acknowledgment sent {"connection_id":107592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:25:39] local.INFO: TCP Data received {"connection_id":107592,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda269470012d79e3c005ecacb0000000ed1a..."} 
[2026-06-18 15:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda269470012d79e3c005ecacb0000000ed1a..."} 
[2026-06-18 15:25:39] local.INFO: Processing buffer {"connection_id":107592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda269470012d79e3c005ecacb0000000ed1a..."} 
[2026-06-18 15:25:39] local.INFO: Packet analysis {"connection_id":107592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:25:39] local.INFO: Extracted packet for processing {"connection_id":107592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:25:39] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396784,"longitude_deg":76.296288,"latitude_deg":9.9396784,"altitude":0,"angle":237,"satellites":26,"speed":2,"hex_longitude":"2d79e3c0","hex_latitude":"05ecacb0","is_valid_coordinates":true} 
[2026-06-18 15:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134762240001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93878613471920128,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783567411190005760,"note":"Value kept but may cause issues"} 
[2026-06-18 15:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781776422000,"timestamp_ms":1781776422000,"timestamp_seconds":1781776422,"priority":1,"record_length":96,"hex_timestamp":"0000019eda269470"} 
[2026-06-18 15:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 15:25:39] 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-06-18 15:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:25: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-06-18 15:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134762240001,"66":13135,"157":206,"87":13824,"24":2,"16":93878613471920128,"45":8783567411190005760},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134762240001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:25:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:25:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93878613471920128,"km_value":93878613471920.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783567411190005760,"description":"Unknown IO ID 45"} 
[2026-06-18 15:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134762240001,"power":13135,"unknown_157":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":8783567411190005760}} 
[2026-06-18 15:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":107592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:25:39] local.INFO: GPS data processed {"connection_id":107592,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:25:39] local.INFO: Acknowledgment sent {"connection_id":107592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:26:10] local.INFO: TCP Data received {"connection_id":107592,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda269858012d79e3c005ecaca8000000d61b..."} 
[2026-06-18 15:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda269858012d79e3c005ecaca8000000d61b..."} 
[2026-06-18 15:26:10] local.INFO: Processing buffer {"connection_id":107592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda269858012d79e3c005ecaca8000000d61b..."} 
[2026-06-18 15:26:10] local.INFO: Packet analysis {"connection_id":107592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:26:10] local.INFO: Extracted packet for processing {"connection_id":107592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396776,"longitude_deg":76.296288,"latitude_deg":9.9396776,"altitude":0,"angle":214,"satellites":27,"speed":0,"hex_longitude":"2d79e3c0","hex_latitude":"05ecaca8","is_valid_coordinates":true} 
[2026-06-18 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134764032001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93878613471920128,"note":"Value kept but may cause issues"} 
[2026-06-18 15:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829980708864,"note":"Value kept but may cause issues"} 
[2026-06-18 15:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781776423000,"timestamp_ms":1781776423000,"timestamp_seconds":1781776423,"priority":1,"record_length":96,"hex_timestamp":"0000019eda269858"} 
[2026-06-18 15:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:26:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 15:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:26:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107592,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134764032001,"66":13178,"157":206,"87":13824,"24":0,"16":93878613471920128,"45":8783074829980708864},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134764032001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:26:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:26:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93878613471920128,"km_value":93878613471920.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829980708864,"description":"Unknown IO ID 45"} 
[2026-06-18 15:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134764032001,"power":13178,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8783074829980708864}} 
[2026-06-18 15:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":107592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344627,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:26:10] local.INFO: GPS data processed {"connection_id":107592,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:26:10] local.INFO: Acknowledgment sent {"connection_id":107592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:26:28] local.INFO: TCP Data received {"connection_id":106629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:26:28] local.INFO: Processing buffer {"connection_id":106629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:26:28] local.INFO: IMEI packet received {"connection_id":106629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":106629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:26:33] local.INFO: TCP Data received {"connection_id":106629,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:26:33] local.INFO: Processing buffer {"connection_id":106629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:26:33] local.INFO: IMEI packet received {"connection_id":106629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":106629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:26:33] local.INFO: TCP Data received {"connection_id":106629,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda26ea60012d79e3c005ecac90000000d61c..."} 
[2026-06-18 15:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda26ea60012d79e3c005ecac90000000d61c..."} 
[2026-06-18 15:26:33] local.INFO: Processing buffer {"connection_id":106629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda26ea60012d79e3c005ecac90000000d61c..."} 
[2026-06-18 15:26:33] local.INFO: Packet analysis {"connection_id":106629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:26:33] local.INFO: Extracted packet for processing {"connection_id":106629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda26"} 
[2026-06-18 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396752,"longitude_deg":76.296288,"latitude_deg":9.9396752,"altitude":0,"angle":214,"satellites":28,"speed":0,"hex_longitude":"2d79e3c0","hex_latitude":"05ecac90","is_valid_coordinates":true} 
[2026-06-18 15:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134764288001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93878613471920128,"note":"Value kept but may cause issues"} 
[2026-06-18 15:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829980706816,"note":"Value kept but may cause issues"} 
[2026-06-18 15:26:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781776444000,"timestamp_ms":1781776444000,"timestamp_seconds":1781776444,"priority":1,"record_length":96,"hex_timestamp":"0000019eda26ea60"} 
[2026-06-18 15:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-18 15:26:33] 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-06-18 15: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-06-18 15:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:26:33] 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-06-18 15:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134764288001,"66":13091,"157":206,"87":13824,"24":0,"16":93878613471920128,"45":8783074829980706816},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134764288001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:26:33] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:26:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93878613471920128,"km_value":93878613471920.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829980706816,"description":"Unknown IO ID 45"} 
[2026-06-18 15:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134764288001,"power":13091,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8783074829980706816}} 
[2026-06-18 15:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":106629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344628,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:26:33] local.INFO: GPS data processed {"connection_id":106629,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:26:33] local.INFO: Acknowledgment sent {"connection_id":106629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:27:04] local.INFO: TCP Data received {"connection_id":106629,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda273c68012d79e3c005ecac90000000d61c..."} 
[2026-06-18 15:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda273c68012d79e3c005ecac90000000d61c..."} 
[2026-06-18 15:27:04] local.INFO: Processing buffer {"connection_id":106629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda273c68012d79e3c005ecac90000000d61c..."} 
[2026-06-18 15:27:04] local.INFO: Packet analysis {"connection_id":106629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda27"} 
[2026-06-18 15:27:04] local.INFO: Extracted packet for processing {"connection_id":106629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda27"} 
[2026-06-18 15:27:04] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396752,"longitude_deg":76.296288,"latitude_deg":9.9396752,"altitude":0,"angle":214,"satellites":28,"speed":0,"hex_longitude":"2d79e3c0","hex_latitude":"05ecac90","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134769664001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93878613471920128,"note":"Value kept but may cause issues"} 
[2026-06-18 15:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829980700672,"note":"Value kept but may cause issues"} 
[2026-06-18 15:27: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-06-18 15:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781776465000,"timestamp_ms":1781776465000,"timestamp_seconds":1781776465,"priority":1,"record_length":96,"hex_timestamp":"0000019eda273c68"} 
[2026-06-18 15:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":35,"data_length":795,"current_offset":136} 
[2026-06-18 15:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134769664001,"66":13102,"157":206,"87":13824,"24":0,"16":93878613471920128,"45":8783074829980700672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134769664001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:27:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:27:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93878613471920128,"km_value":93878613471920.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829980700672,"description":"Unknown IO ID 45"} 
[2026-06-18 15:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134769664001,"power":13102,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8783074829980700672}} 
[2026-06-18 15:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":106629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:27:04] local.INFO: GPS data processed {"connection_id":106629,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:27:04] local.INFO: Acknowledgment sent {"connection_id":106629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:27:28] local.INFO: TCP Data received {"connection_id":106055,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:28] local.INFO: Processing buffer {"connection_id":106055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:28] local.INFO: IMEI packet received {"connection_id":106055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":106055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:27:29] local.INFO: TCP Data received {"connection_id":106055,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:29] local.INFO: Processing buffer {"connection_id":106055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:29] local.INFO: IMEI packet received {"connection_id":106055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":106055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:27:33] local.INFO: TCP Data received {"connection_id":106055,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:33] local.INFO: Processing buffer {"connection_id":106055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:27:33] local.INFO: IMEI packet received {"connection_id":106055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":106055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:27:34] local.INFO: TCP Data received {"connection_id":106055,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda278e70012d79e3c005ecac90000000d61e..."} 
[2026-06-18 15:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda278e70012d79e3c005ecac90000000d61e..."} 
[2026-06-18 15:27:34] local.INFO: Processing buffer {"connection_id":106055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda278e70012d79e3c005ecac90000000d61e..."} 
[2026-06-18 15:27:34] local.INFO: Packet analysis {"connection_id":106055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda27"} 
[2026-06-18 15:27:34] local.INFO: Extracted packet for processing {"connection_id":106055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda27"} 
[2026-06-18 15:27:34] local.INFO: GPS Element Parsed {"raw_longitude":762962880,"raw_latitude":99396752,"longitude_deg":76.296288,"latitude_deg":9.9396752,"altitude":0,"angle":214,"satellites":30,"speed":0,"hex_longitude":"2d79e3c0","hex_latitude":"05ecac90","is_valid_coordinates":true} 
[2026-06-18 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134775040001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93878613471920128,"note":"Value kept but may cause issues"} 
[2026-06-18 15:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8783074829980700672,"note":"Value kept but may cause issues"} 
[2026-06-18 15:27: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-06-18 15:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781776486000,"timestamp_ms":1781776486000,"timestamp_seconds":1781776486,"priority":1,"record_length":96,"hex_timestamp":"0000019eda278e70"} 
[2026-06-18 15:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:27:34] 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-06-18 15:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 15:27:34] 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-06-18 15:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:27:34] 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-06-18 15:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134775040001,"66":12906,"157":206,"87":13824,"24":0,"16":93878613471920128,"45":8783074829980700672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134775040001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:27:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:27:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93878613471920128,"km_value":93878613471920.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8783074829980700672,"description":"Unknown IO ID 45"} 
[2026-06-18 15:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134775040001,"power":12906,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8783074829980700672}} 
[2026-06-18 15:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":106055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:27:34] local.INFO: GPS data processed {"connection_id":106055,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:27:34] local.INFO: Acknowledgment sent {"connection_id":106055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:28:05] local.INFO: TCP Data received {"connection_id":106055,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2a70b8012d7a1a8005ec83900005006822..."} 
[2026-06-18 15:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2a70b8012d7a1a8005ec83900005006822..."} 
[2026-06-18 15:28:05] local.INFO: Processing buffer {"connection_id":106055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2a70b8012d7a1a8005ec83900005006822..."} 
[2026-06-18 15:28:05] local.INFO: Packet analysis {"connection_id":106055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:05] local.INFO: Extracted packet for processing {"connection_id":106055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99386256,"longitude_deg":76.2976896,"latitude_deg":9.9386256,"altitude":5,"angle":104,"satellites":34,"speed":9,"hex_longitude":"2d7a1a80","hex_latitude":"05ec8390","is_valid_coordinates":true} 
[2026-06-18 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134828544001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93879803177861120,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798274478720397312,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781776675000,"timestamp_ms":1781776675000,"timestamp_seconds":1781776675,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2a70b8"} 
[2026-06-18 15:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:28:05] 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-06-18 15:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3660140456,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":134,"raw_value":3456106496,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":236,"raw_value":-6136154470805921536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033699534,"corrected_to":0} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":237,"raw_value":2147871883,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3590376765,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2256535552,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":106,"raw_value":57770114758367030,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.WARNING: Large IO value detected {"io_id":41,"raw_value":5458364043203100677,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,157,87,24,241,16,135,158,101,45,64,131,5,34,10,66,50,128,124,6,35,134,7,1,240,161,227,218,236,4,113,205,12,237,88,239,52,2,77,106,41],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1033699534,"validated":0}]} 
[2026-06-18 15:28:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360381574707478528,"timestamp_seconds":360381574707478.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:28:05] 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-06-18 15:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134828544001,"66":13406,"157":206,"87":13824,"24":9,"16":93879803177861120,"45":8798274478720397312},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134828544001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:28:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:28:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93879803177861120,"km_value":93879803177861.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798274478720397312,"description":"Unknown IO ID 45"} 
[2026-06-18 15:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134828544001,"power":13406,"unknown_157":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8798274478720397312}} 
[2026-06-18 15:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":106055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:28:05] local.INFO: GPS data processed {"connection_id":106055,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:28:05] local.INFO: Acknowledgment sent {"connection_id":106055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:28:33] local.INFO: TCP Data received {"connection_id":106630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:33] local.INFO: Processing buffer {"connection_id":106630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:33] local.INFO: IMEI packet received {"connection_id":106630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":106630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:28:33] local.INFO: TCP Data received {"connection_id":106630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:33] local.INFO: Processing buffer {"connection_id":106630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:33] local.INFO: IMEI packet received {"connection_id":106630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":106630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:28:38] local.INFO: TCP Data received {"connection_id":106630,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106630,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:38] local.INFO: Processing buffer {"connection_id":106630,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:28:38] local.INFO: IMEI packet received {"connection_id":106630,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":106630,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:28:39] local.INFO: TCP Data received {"connection_id":106630,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2a74a0012d7a1b4005ec83300006007c20..."} 
[2026-06-18 15:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2a74a0012d7a1b4005ec83300006007c20..."} 
[2026-06-18 15:28:39] local.INFO: Processing buffer {"connection_id":106630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2a74a0012d7a1b4005ec83300006007c20..."} 
[2026-06-18 15:28:39] local.INFO: Packet analysis {"connection_id":106630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:39] local.INFO: Extracted packet for processing {"connection_id":106630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:39] local.INFO: GPS Element Parsed {"raw_longitude":762977088,"raw_latitude":99386160,"longitude_deg":76.2977088,"latitude_deg":9.938616,"altitude":6,"angle":124,"satellites":32,"speed":7,"hex_longitude":"2d7a1b40","hex_latitude":"05ec8330","is_valid_coordinates":true} 
[2026-06-18 15:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134828800001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93879811767795712,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584952922112,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781776676000,"timestamp_ms":1781776676000,"timestamp_seconds":1781776676,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2a74a0"} 
[2026-06-18 15:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:28: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-06-18 15:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-18 15:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1304,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:28: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-06-18 15:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134828800001,"66":13406,"157":206,"87":13824,"24":7,"16":93879811767795712,"45":8798485584952922112},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134828800001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:28:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:28:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93879811767795712,"km_value":93879811767795.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584952922112,"description":"Unknown IO ID 45"} 
[2026-06-18 15:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134828800001,"power":13406,"unknown_157":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8798485584952922112}} 
[2026-06-18 15:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":106630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344632,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:28:39] local.INFO: GPS data processed {"connection_id":106630,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:28:39] local.INFO: Acknowledgment sent {"connection_id":106630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:28:40] local.INFO: TCP Data received {"connection_id":106630,"ip":"42.106.6.28","data_length":1340,"data_hex":"000000000000030f8e0a0000019eda2a7888012d7a1bc005ec82980007009822..."} 
[2026-06-18 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106630,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019eda2a7888012d7a1bc005ec82980007009822..."} 
[2026-06-18 15:28:40] local.INFO: Processing buffer {"connection_id":106630,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019eda2a7888012d7a1bc005ec82980007009822..."} 
[2026-06-18 15:28:40] local.INFO: Packet analysis {"connection_id":106630,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:40] local.INFO: Extracted packet for processing {"connection_id":106630,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":99386008,"longitude_deg":76.2977216,"latitude_deg":9.9386008,"altitude":7,"angle":152,"satellites":34,"speed":8,"hex_longitude":"2d7a1bc0","hex_latitude":"05ec8298","is_valid_coordinates":true} 
[2026-06-18 15:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134829056001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93879820357730304,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798696691185430528,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781776677000,"timestamp_ms":1781776677000,"timestamp_seconds":1781776677,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2a7888"} 
[2026-06-18 15:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-18 15:28:40] 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-06-18 15:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134829056001,"66":13048,"157":206,"87":13824,"24":8,"16":93879820357730304,"45":8798696691185430528},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134829056001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:28:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:28:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93879820357730304,"km_value":93879820357730.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798696691185430528,"description":"Unknown IO ID 45"} 
[2026-06-18 15:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134829056001,"power":13048,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798696691185430528}} 
[2026-06-18 15:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":106630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:28:40] local.INFO: GPS data processed {"connection_id":106630,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:28:40] local.INFO: Acknowledgment sent {"connection_id":106630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:28:40] local.INFO: Packet analysis {"connection_id":106630,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:40] local.INFO: Incomplete packet, waiting for more data {"connection_id":106630,"needed":795,"available":545} 
[2026-06-18 15:28:40] local.INFO: TCP Data received {"connection_id":106630,"ip":"42.106.6.28","data_length":250,"data_hex":"e30010014d86f6000000000000019eda2a0740012d79fb4005ec77380008003c..."} 
[2026-06-18 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106630,"packet_length":250,"packet_hex":"e30010014d86f6000000000000019eda2a0740012d79fb4005ec77380008003c..."} 
[2026-06-18 15:28:40] local.INFO: Processing buffer {"connection_id":106630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2aab50012d7a1c4005ec82c80008016221..."} 
[2026-06-18 15:28:40] local.INFO: Packet analysis {"connection_id":106630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:40] local.INFO: Extracted packet for processing {"connection_id":106630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":99386056,"longitude_deg":76.2977344,"latitude_deg":9.9386056,"altitude":8,"angle":354,"satellites":33,"speed":3,"hex_longitude":"2d7a1c40","hex_latitude":"05ec82c8","is_valid_coordinates":true} 
[2026-06-18 15:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134829312001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93879863307403264,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673746944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781776690000,"timestamp_ms":1781776690000,"timestamp_seconds":1781776690,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2aab50"} 
[2026-06-18 15:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 15:28:40] 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-06-18 15:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134829312001,"66":13276,"157":206,"87":13824,"24":3,"16":93879863307403264,"45":8798837428673746944},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134829312001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:28:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:28:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93879863307403264,"km_value":93879863307403.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673746944,"description":"Unknown IO ID 45"} 
[2026-06-18 15:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134829312001,"power":13276,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8798837428673746944}} 
[2026-06-18 15:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":106630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:28:40] local.INFO: GPS data processed {"connection_id":106630,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:28:40] local.INFO: Acknowledgment sent {"connection_id":106630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:28:53] local.INFO: TCP Data received {"connection_id":106631,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:28:53] local.INFO: Processing buffer {"connection_id":106631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:28:53] local.INFO: IMEI packet received {"connection_id":106631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":106631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:29:11] local.INFO: TCP Data received {"connection_id":106630,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2ab320012d7a1c4005ec83080008000521..."} 
[2026-06-18 15:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2ab320012d7a1c4005ec83080008000521..."} 
[2026-06-18 15:29:11] local.INFO: Processing buffer {"connection_id":106630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2ab320012d7a1c4005ec83080008000521..."} 
[2026-06-18 15:29:11] local.INFO: Packet analysis {"connection_id":106630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:29:11] local.INFO: Extracted packet for processing {"connection_id":106630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:29:11] local.INFO: GPS Element Parsed {"raw_longitude":762977344,"raw_latitude":99386120,"longitude_deg":76.2977344,"latitude_deg":9.938612,"altitude":8,"angle":5,"satellites":33,"speed":0,"hex_longitude":"2d7a1c40","hex_latitude":"05ec8308","is_valid_coordinates":true} 
[2026-06-18 15:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134832640001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93879867602370560,"note":"Value kept but may cause issues"} 
[2026-06-18 15:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166162114560,"note":"Value kept but may cause issues"} 
[2026-06-18 15:29:11] 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-06-18 15:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781776692000,"timestamp_ms":1781776692000,"timestamp_seconds":1781776692,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2ab320"} 
[2026-06-18 15:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 15:29:11] 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-06-18 15:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106630,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134832640001,"66":13102,"157":206,"87":13824,"24":0,"16":93879867602370560,"45":8798978166162114560},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134832640001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:29:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:29:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93879867602370560,"km_value":93879867602370.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166162114560,"description":"Unknown IO ID 45"} 
[2026-06-18 15:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134832640001,"power":13102,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8798978166162114560}} 
[2026-06-18 15:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":106630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344635,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:29:11] local.INFO: GPS data processed {"connection_id":106630,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:29:11] local.INFO: Acknowledgment sent {"connection_id":106630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:29:28] local.INFO: TCP Data received {"connection_id":106056,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:29:28] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:29:28] local.INFO: IMEI packet received {"connection_id":106056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":106056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:29:33] local.INFO: TCP Data received {"connection_id":106056,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:29:33] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:29:33] local.INFO: IMEI packet received {"connection_id":106056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":106056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:29:34] local.INFO: TCP Data received {"connection_id":105856,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:29:34] local.INFO: Processing buffer {"connection_id":105856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:29:34] local.INFO: IMEI packet received {"connection_id":105856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":105856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:29:34] local.INFO: TCP Data received {"connection_id":106056,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2aca90012d7a1bc005ec82a0000800f121..."} 
[2026-06-18 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2aca90012d7a1bc005ec82a0000800f121..."} 
[2026-06-18 15:29:34] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2aca90012d7a1bc005ec82a0000800f121..."} 
[2026-06-18 15:29:34] local.INFO: Packet analysis {"connection_id":106056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:29:34] local.INFO: Extracted packet for processing {"connection_id":106056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762977216,"raw_latitude":99386016,"longitude_deg":76.2977216,"latitude_deg":9.9386016,"altitude":8,"angle":241,"satellites":33,"speed":3,"hex_longitude":"2d7a1bc0","hex_latitude":"05ec82a0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134833152001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93879884782239744,"note":"Value kept but may cause issues"} 
[2026-06-18 15:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798978166162130944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:29: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-06-18 15:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781776698000,"timestamp_ms":1781776698000,"timestamp_seconds":1781776698,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2aca90"} 
[2026-06-18 15:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 15:29:34] 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-06-18 15: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-06-18 15:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:29:34] 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-06-18 15:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134833152001,"66":13341,"157":206,"87":13824,"24":3,"16":93879884782239744,"45":8798978166162130944},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134833152001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:29:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:29:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93879884782239744,"km_value":93879884782239.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798978166162130944,"description":"Unknown IO ID 45"} 
[2026-06-18 15:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134833152001,"power":13341,"unknown_157":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8798978166162130944}} 
[2026-06-18 15:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":106056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344636,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:29:34] local.INFO: GPS data processed {"connection_id":106056,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:29:34] local.INFO: Acknowledgment sent {"connection_id":106056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:30:06] local.INFO: TCP Data received {"connection_id":106056,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2ad260012d7a1a8005ec82300008010522..."} 
[2026-06-18 15:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2ad260012d7a1a8005ec82300008010522..."} 
[2026-06-18 15:30:06] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2ad260012d7a1a8005ec82300008010522..."} 
[2026-06-18 15:30:06] local.INFO: Packet analysis {"connection_id":106056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:30:06] local.INFO: Extracted packet for processing {"connection_id":106056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2a"} 
[2026-06-18 15:30:06] local.INFO: GPS Element Parsed {"raw_longitude":762976896,"raw_latitude":99385904,"longitude_deg":76.2976896,"latitude_deg":9.9385904,"altitude":8,"angle":261,"satellites":34,"speed":8,"hex_longitude":"2d7a1a80","hex_latitude":"05ec8230","is_valid_coordinates":true} 
[2026-06-18 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:30:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134834688001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93879901962108928,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798837428673748992,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:06] 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-06-18 15:30:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781776700000,"timestamp_ms":1781776700000,"timestamp_seconds":1781776700,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2ad260"} 
[2026-06-18 15:30:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:30:06] 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-06-18 15:30:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 15:30:06] 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-06-18 15:30:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:30:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:30:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:30:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:30:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:30:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:30:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:30:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:30:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:30:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134834688001,"66":13472,"157":206,"87":13824,"24":8,"16":93879901962108928,"45":8798837428673748992},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:30:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:30:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:30:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134834688001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:30:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:30:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:30:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93879901962108928,"km_value":93879901962108.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:30:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798837428673748992,"description":"Unknown IO ID 45"} 
[2026-06-18 15:30:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134834688001,"power":13472,"unknown_157":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8798837428673748992}} 
[2026-06-18 15:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":106056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:30:06] local.INFO: GPS data processed {"connection_id":106056,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:30:06] local.INFO: Acknowledgment sent {"connection_id":106056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:30:08] local.INFO: TCP Data received {"connection_id":107597,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:08] local.INFO: Processing buffer {"connection_id":107597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:08] local.INFO: IMEI packet received {"connection_id":107597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":107597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:30:10] local.INFO: TCP Data received {"connection_id":107597,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b4b78012cec3440072b89500028002c28..."} 
[2026-06-18 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b4b78012cec3440072b89500028002c28..."} 
[2026-06-18 15:30:10] local.INFO: Processing buffer {"connection_id":107597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b4b78012cec3440072b89500028002c28..."} 
[2026-06-18 15:30:10] local.INFO: Packet analysis {"connection_id":107597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:30:10] local.INFO: Extracted packet for processing {"connection_id":107597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:30:10] local.INFO: GPS Element Parsed {"raw_longitude":753677376,"raw_latitude":120293712,"longitude_deg":75.3677376,"latitude_deg":12.0293712,"altitude":40,"angle":44,"satellites":40,"speed":34,"hex_longitude":"2cec3440","hex_latitude":"072b8950","is_valid_coordinates":true} 
[2026-06-18 15:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134842368001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318594308875747328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1428837319732713472,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781776731000,"timestamp_ms":1781776731000,"timestamp_seconds":1781776731,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b4b78"} 
[2026-06-18 15:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:30:10] 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-06-18 15:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 15:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134842368001,"66":27180,"22":206,"2":56832,"24":34,"16":318594308875747328,"44":-1428837319732713472},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,2,24,16,44]} 
[2026-06-18 15:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134842368001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:30:10] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-06-18 15:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318594308875747328,"km_value":318594308875747.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:30:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1428837319732713472,"description":"Unknown IO ID 44"} 
[2026-06-18 15:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134842368001,"power":27180,"unknown_22":206,"power_alt":56832,"ignition":34,"odometer":null,"unknown_44":-1428837319732713472}} 
[2026-06-18 15:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":107597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:30:10] local.INFO: GPS data processed {"connection_id":107597,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:30:10] local.INFO: Acknowledgment sent {"connection_id":107597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:30:27] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:30:27] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:30:27] local.INFO: IMEI packet received {"connection_id":107598,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":107598,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:30:29] local.INFO: TCP Data received {"connection_id":105857,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:29] local.INFO: Processing buffer {"connection_id":105857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:29] local.INFO: IMEI packet received {"connection_id":105857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":105857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:30:31] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:30:31] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:30:31] local.INFO: IMEI packet received {"connection_id":107598,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":107598,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:30:34] local.INFO: TCP Data received {"connection_id":105858,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:30:34] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:30:34] local.INFO: IMEI packet received {"connection_id":105858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":105858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:30:38] local.INFO: TCP Data received {"connection_id":105858,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:30:38] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:30:38] local.INFO: IMEI packet received {"connection_id":105858,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":105858,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:30:39] local.INFO: TCP Data received {"connection_id":105858,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b0140012d7a130005ec8048000800f923..."} 
[2026-06-18 15:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b0140012d7a130005ec8048000800f923..."} 
[2026-06-18 15:30:39] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b0140012d7a130005ec8048000800f923..."} 
[2026-06-18 15:30:39] local.INFO: Packet analysis {"connection_id":105858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:30:39] local.INFO: Extracted packet for processing {"connection_id":105858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:30:39] local.INFO: GPS Element Parsed {"raw_longitude":762974976,"raw_latitude":99385416,"longitude_deg":76.2974976,"latitude_deg":9.9385416,"altitude":8,"angle":249,"satellites":35,"speed":5,"hex_longitude":"2d7a1300","hex_latitude":"05ec8048","is_valid_coordinates":true} 
[2026-06-18 15:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134835200001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93879996451389440,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8798485584952832000,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781776712000,"timestamp_ms":1781776712000,"timestamp_seconds":1781776712,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b0140"} 
[2026-06-18 15:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:30: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-06-18 15:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-18 15:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:30: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-06-18 15:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134835200001,"66":13374,"157":206,"87":13824,"24":5,"16":93879996451389440,"45":8798485584952832000},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134835200001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:30:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:30:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93879996451389440,"km_value":93879996451389.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8798485584952832000,"description":"Unknown IO ID 45"} 
[2026-06-18 15:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134835200001,"power":13374,"unknown_157":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8798485584952832000}} 
[2026-06-18 15:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":105858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:30:39] local.INFO: GPS data processed {"connection_id":105858,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:30:39] local.INFO: Acknowledgment sent {"connection_id":105858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:30:40] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 15:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 15:30:40] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-06-18 15:30:40] local.INFO: Packet analysis {"connection_id":107598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 15:30:40] local.INFO: Extracted packet for processing {"connection_id":107598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 15:30:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:30:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:30:40] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 15:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107598,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 15:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 15:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 15:30:40] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 15:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":107598,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 15:30:40] local.ERROR: GPS data processing failed {"connection_id":107598,"error":"No valid data to process"} 
[2026-06-18 15:30:40] local.INFO: Acknowledgment sent {"connection_id":107598,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 15:30:42] local.INFO: TCP Data received {"connection_id":105857,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:42] local.INFO: Processing buffer {"connection_id":105857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:30:42] local.INFO: IMEI packet received {"connection_id":105857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":105857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:30:43] local.INFO: TCP Data received {"connection_id":105857,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105857,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:30:43] local.INFO: Processing buffer {"connection_id":105857,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:30:43] local.INFO: IMEI packet received {"connection_id":105857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":105857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:30:43] local.INFO: TCP Data received {"connection_id":105858,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:30:43] local.INFO: Processing buffer {"connection_id":105858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:30:43] local.INFO: Packet analysis {"connection_id":105858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:30:43] local.INFO: Extracted packet for processing {"connection_id":105858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:30:43] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385312,"longitude_deg":76.2974784,"latitude_deg":9.9385312,"altitude":8,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a1240","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-06-18 15:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134838272001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796374522627377152,"note":"Value kept but may cause issues"} 
[2026-06-18 15:30:43] 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-06-18 15:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781776717000,"timestamp_ms":1781776717000,"timestamp_seconds":1781776717,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b14c8"} 
[2026-06-18 15:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:30:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-18 15:30:43] 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-06-18 15:30:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":105858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":105858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":105858,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134838272001,"66":13243,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796374522627377152},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134838272001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:30:43] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:30:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796374522627377152,"description":"Unknown IO ID 45"} 
[2026-06-18 15:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134838272001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796374522627377152}} 
[2026-06-18 15:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":105858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:30:43] local.INFO: GPS data processed {"connection_id":105858,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:30:43] local.INFO: Acknowledgment sent {"connection_id":105858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:31:11] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 15:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 15:31:11] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-06-18 15:31:11] local.INFO: Packet analysis {"connection_id":107598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 15:31:11] local.INFO: Extracted packet for processing {"connection_id":107598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 15:31:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:31:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:31:11] 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-06-18 15:31:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 15:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107598,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 15:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 15:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 15:31:11] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 15:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":107598,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 15:31:11] local.ERROR: GPS data processing failed {"connection_id":107598,"error":"No valid data to process"} 
[2026-06-18 15:31:11] local.INFO: Acknowledgment sent {"connection_id":107598,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 15:31:28] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:31:28] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:31:28] local.INFO: IMEI packet received {"connection_id":106057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":106057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:31:33] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:31:33] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:31:33] local.INFO: IMEI packet received {"connection_id":106057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":106057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:31:34] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:31:34] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:31:34] local.INFO: Packet analysis {"connection_id":106057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:31:34] local.INFO: Extracted packet for processing {"connection_id":106057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:31:34] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385312,"longitude_deg":76.2974784,"latitude_deg":9.9385312,"altitude":8,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a1240","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-06-18 15:31: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-06-18 15:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781776717000,"timestamp_ms":1781776717000,"timestamp_seconds":1781776717,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b14c8"} 
[2026-06-18 15:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:31:34] 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-06-18 15:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:31:34] 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-06-18 15:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":13243,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:31:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:31:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":106057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344641,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:31:34] local.INFO: GPS data processed {"connection_id":106057,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:31:34] local.INFO: Acknowledgment sent {"connection_id":106057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:31:39] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:31:39] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:31:39] local.INFO: Packet analysis {"connection_id":106057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:31:39] local.INFO: Extracted packet for processing {"connection_id":106057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:31:39] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385312,"longitude_deg":76.2974784,"latitude_deg":9.9385312,"altitude":8,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a1240","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-06-18 15:31:39] 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-06-18 15:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781776717000,"timestamp_ms":1781776717000,"timestamp_seconds":1781776717,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b14c8"} 
[2026-06-18 15:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:31: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-06-18 15:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:31: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-06-18 15:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":13243,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:31:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:31:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":106057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344642,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:31:39] local.INFO: GPS data processed {"connection_id":106057,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:31:39] local.INFO: Acknowledgment sent {"connection_id":106057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:31:43] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2d37a80100000000000000000000000000..."} 
[2026-06-18 15:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2d37a80100000000000000000000000000..."} 
[2026-06-18 15:31:44] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2d37a80100000000000000000000000000..."} 
[2026-06-18 15:31:44] local.INFO: Packet analysis {"connection_id":107598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2d"} 
[2026-06-18 15:31:44] local.INFO: Extracted packet for processing {"connection_id":107598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2d"} 
[2026-06-18 15:31: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-06-18 15:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:31:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781776857000,"timestamp_ms":1781776857000,"timestamp_seconds":1781776857,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2d37a8"} 
[2026-06-18 15:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":107598,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:31:44] local.INFO: GPS data processed {"connection_id":107598,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:31:44] local.INFO: Acknowledgment sent {"connection_id":107598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:32:10] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:32:10] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:32:10] local.INFO: Packet analysis {"connection_id":106057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:32:10] local.INFO: Extracted packet for processing {"connection_id":106057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:32:10] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385312,"longitude_deg":76.2974784,"latitude_deg":9.9385312,"altitude":8,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a1240","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-06-18 15:32:10] 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-06-18 15:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781776717000,"timestamp_ms":1781776717000,"timestamp_seconds":1781776717,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b14c8"} 
[2026-06-18 15:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:32:10] 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-06-18 15:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:32:10] 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-06-18 15:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":13243,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:32:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:32:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":106057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:32:10] local.INFO: GPS data processed {"connection_id":106057,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:32:10] local.INFO: Acknowledgment sent {"connection_id":106057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:32:15] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2d89b00100000000000000000000000000..."} 
[2026-06-18 15:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2d89b00100000000000000000000000000..."} 
[2026-06-18 15:32:15] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2d89b00100000000000000000000000000..."} 
[2026-06-18 15:32:15] local.INFO: Packet analysis {"connection_id":107598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2d"} 
[2026-06-18 15:32:15] local.INFO: Extracted packet for processing {"connection_id":107598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2d"} 
[2026-06-18 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:32:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781776878000,"timestamp_ms":1781776878000,"timestamp_seconds":1781776878,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2d89b0"} 
[2026-06-18 15:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":1792,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":107598,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:32:15] local.INFO: GPS data processed {"connection_id":107598,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:32:15] local.INFO: Acknowledgment sent {"connection_id":107598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:32:28] local.INFO: TCP Data received {"connection_id":107600,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:32:28] local.INFO: Processing buffer {"connection_id":107600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:32:28] local.INFO: IMEI packet received {"connection_id":107600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":107600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:32:34] local.INFO: TCP Data received {"connection_id":107600,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107600,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:32:34] local.INFO: Processing buffer {"connection_id":107600,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:32:34] local.INFO: IMEI packet received {"connection_id":107600,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:32:34] local.INFO: IMEI acknowledgment sent {"connection_id":107600,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:32:35] local.INFO: TCP Data received {"connection_id":107600,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:32:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:32:35] local.INFO: Processing buffer {"connection_id":107600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:32:35] local.INFO: Packet analysis {"connection_id":107600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:32:35] local.INFO: Extracted packet for processing {"connection_id":107600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:32:35] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385312,"longitude_deg":76.2974784,"latitude_deg":9.9385312,"altitude":8,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a1240","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-06-18 15:32: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-06-18 15:32:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:32:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:32:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:32:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:32:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781776717000,"timestamp_ms":1781776717000,"timestamp_seconds":1781776717,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b14c8"} 
[2026-06-18 15:32:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:32:35] 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-06-18 15:32:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:32:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:32:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:32:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:32:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:32:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:32:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:32:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:32:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:32:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:32:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:32:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":13243,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:32:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:32:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:32:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:32:35] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:32:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:32:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:32:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:32:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:32:35] local.INFO: DEBUG: GPS processor result {"connection_id":107600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:32:35] local.INFO: GPS data processed {"connection_id":107600,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:32:35] local.INFO: Acknowledgment sent {"connection_id":107600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:32:47] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2ddbb80100000000000000000000000000..."} 
[2026-06-18 15:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2ddbb80100000000000000000000000000..."} 
[2026-06-18 15:32:47] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2ddbb80100000000000000000000000000..."} 
[2026-06-18 15:32:47] local.INFO: Packet analysis {"connection_id":107598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2d"} 
[2026-06-18 15:32:47] local.INFO: Extracted packet for processing {"connection_id":107598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2d"} 
[2026-06-18 15:32: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-06-18 15: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-06-18 15:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:32:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781776899000,"timestamp_ms":1781776899000,"timestamp_seconds":1781776899,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2ddbb8"} 
[2026-06-18 15:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3072,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:32:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":107598,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:32:47] local.INFO: GPS data processed {"connection_id":107598,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:32:47] local.INFO: Acknowledgment sent {"connection_id":107598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:33:05] local.INFO: TCP Data received {"connection_id":107600,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:33:05] local.INFO: Processing buffer {"connection_id":107600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:33:05] local.INFO: Packet analysis {"connection_id":107600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:33:05] local.INFO: Extracted packet for processing {"connection_id":107600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:33:05] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385312,"longitude_deg":76.2974784,"latitude_deg":9.9385312,"altitude":8,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a1240","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-06-18 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:33:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781776717000,"timestamp_ms":1781776717000,"timestamp_seconds":1781776717,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b14c8"} 
[2026-06-18 15:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:33:05] 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-06-18 15:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107600,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:33:05] 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-06-18 15:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":13243,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:33:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:33:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":107600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:33:05] local.INFO: GPS data processed {"connection_id":107600,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:33:05] local.INFO: Acknowledgment sent {"connection_id":107600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:33:21] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2e2dc00100000000000000000000000000..."} 
[2026-06-18 15:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2e2dc00100000000000000000000000000..."} 
[2026-06-18 15:33:21] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2e2dc00100000000000000000000000000..."} 
[2026-06-18 15:33:21] local.INFO: Packet analysis {"connection_id":107598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2e"} 
[2026-06-18 15:33:21] local.INFO: Extracted packet for processing {"connection_id":107598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2e"} 
[2026-06-18 15:33: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-06-18 15:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:33:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781776920000,"timestamp_ms":1781776920000,"timestamp_seconds":1781776920,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2e2dc0"} 
[2026-06-18 15:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:33: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:33:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":107598,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:33:21] local.INFO: GPS data processed {"connection_id":107598,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:33:21] local.INFO: Acknowledgment sent {"connection_id":107598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:33:28] local.INFO: TCP Data received {"connection_id":106634,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:33:28] local.INFO: Processing buffer {"connection_id":106634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:33:28] local.INFO: IMEI packet received {"connection_id":106634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":106634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:33:33] local.INFO: TCP Data received {"connection_id":106634,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106634,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:33:33] local.INFO: Processing buffer {"connection_id":106634,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:33:33] local.INFO: IMEI packet received {"connection_id":106634,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":106634,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:33:34] local.INFO: TCP Data received {"connection_id":106634,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:33:34] local.INFO: Processing buffer {"connection_id":106634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2b14c8012d7a124005ec7fe0000800fe22..."} 
[2026-06-18 15:33:34] local.INFO: Packet analysis {"connection_id":106634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:33:34] local.INFO: Extracted packet for processing {"connection_id":106634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2b"} 
[2026-06-18 15:33:34] local.INFO: GPS Element Parsed {"raw_longitude":762974784,"raw_latitude":99385312,"longitude_deg":76.2974784,"latitude_deg":9.9385312,"altitude":8,"angle":254,"satellites":34,"speed":0,"hex_longitude":"2d7a1240","hex_latitude":"05ec7fe0","is_valid_coordinates":true} 
[2026-06-18 15:33: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-06-18 15:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 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-06-18 15:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781776717000,"timestamp_ms":1781776717000,"timestamp_seconds":1781776717,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2b14c8"} 
[2026-06-18 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-06-18 15:33:34] 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-06-18 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 15:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:33:34] 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-06-18 15:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":13243,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:33:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":13243,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":106634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:33:34] local.INFO: GPS data processed {"connection_id":106634,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:33:34] local.INFO: Acknowledgment sent {"connection_id":106634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:33:52] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2e7fc80100000000000000000000000000..."} 
[2026-06-18 15:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2e7fc80100000000000000000000000000..."} 
[2026-06-18 15:33:52] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2e7fc80100000000000000000000000000..."} 
[2026-06-18 15:33:52] local.INFO: Packet analysis {"connection_id":107598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2e"} 
[2026-06-18 15:33:52] local.INFO: Extracted packet for processing {"connection_id":107598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2e"} 
[2026-06-18 15:33: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-06-18 15: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-06-18 15:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:33:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781776941000,"timestamp_ms":1781776941000,"timestamp_seconds":1781776941,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2e7fc8"} 
[2026-06-18 15:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6144,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 15:33:52] 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-06-18 15: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-06-18 15:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":107598,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:33:52] local.INFO: GPS data processed {"connection_id":107598,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:33:52] local.INFO: Acknowledgment sent {"connection_id":107598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:34:05] local.INFO: TCP Data received {"connection_id":106634,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:34:05] local.INFO: Processing buffer {"connection_id":106634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:34:05] local.INFO: Packet analysis {"connection_id":106634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:34:05] local.INFO: Extracted packet for processing {"connection_id":106634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:34:05] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:34:05] 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-06-18 15:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106634,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:34:05] 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-06-18 15:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:34:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:34:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":106634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:34:05] local.INFO: GPS data processed {"connection_id":106634,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:34:05] local.INFO: Acknowledgment sent {"connection_id":106634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:34:25] local.INFO: TCP Data received {"connection_id":107598,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2ed1d00100000000000000000000000000..."} 
[2026-06-18 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2ed1d00100000000000000000000000000..."} 
[2026-06-18 15:34:25] local.INFO: Processing buffer {"connection_id":107598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2ed1d00100000000000000000000000000..."} 
[2026-06-18 15:34:25] local.INFO: Packet analysis {"connection_id":107598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2e"} 
[2026-06-18 15:34:25] local.INFO: Extracted packet for processing {"connection_id":107598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2e"} 
[2026-06-18 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:34:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781776962000,"timestamp_ms":1781776962000,"timestamp_seconds":1781776962,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2ed1d0"} 
[2026-06-18 15:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107598,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":107598,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:34:25] local.INFO: GPS data processed {"connection_id":107598,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:34:25] local.INFO: Acknowledgment sent {"connection_id":107598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:34:28] local.INFO: TCP Data received {"connection_id":107604,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:34:28] local.INFO: Processing buffer {"connection_id":107604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:34:28] local.INFO: IMEI packet received {"connection_id":107604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":107604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:34:33] local.INFO: TCP Data received {"connection_id":107604,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107604,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:34:33] local.INFO: Processing buffer {"connection_id":107604,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:34:33] local.INFO: IMEI packet received {"connection_id":107604,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":107604,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:34:34] local.INFO: TCP Data received {"connection_id":107604,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:34:34] local.INFO: Processing buffer {"connection_id":107604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:34:34] local.INFO: Packet analysis {"connection_id":107604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:34:34] local.INFO: Extracted packet for processing {"connection_id":107604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:34:34] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:34: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-06-18 15:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:34:34] 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-06-18 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:34:34] 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-06-18 15:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:34:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":107604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:34:34] local.INFO: GPS data processed {"connection_id":107604,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:34:34] local.INFO: Acknowledgment sent {"connection_id":107604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:34:53] local.INFO: TCP Data received {"connection_id":107605,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:34:53] local.INFO: Processing buffer {"connection_id":107605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:34:53] local.INFO: IMEI packet received {"connection_id":107605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":107605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:35:05] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:05] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:05] local.INFO: IMEI packet received {"connection_id":106635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":106635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:35:05] local.INFO: TCP Data received {"connection_id":107604,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:35:05] local.INFO: Processing buffer {"connection_id":107604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:35:05] local.INFO: Packet analysis {"connection_id":107604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:05] local.INFO: Extracted packet for processing {"connection_id":107604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:05] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:35:05] 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-06-18 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107604,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:35:05] 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-06-18 15:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:35:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:35:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":107604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:35:05] local.INFO: GPS data processed {"connection_id":107604,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:35:05] local.INFO: Acknowledgment sent {"connection_id":107604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:35:05] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:05] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:05] local.INFO: IMEI packet received {"connection_id":106635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":106635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:35:07] local.INFO: TCP Data received {"connection_id":106636,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:07] local.INFO: Processing buffer {"connection_id":106636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:07] local.INFO: IMEI packet received {"connection_id":106636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":106636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:35:10] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:10] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:35:10] local.INFO: IMEI packet received {"connection_id":106635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":106635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:35:10] local.INFO: TCP Data received {"connection_id":106636,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:10] local.INFO: Processing buffer {"connection_id":106636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:10] local.INFO: IMEI packet received {"connection_id":106636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":106636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:35:11] local.INFO: TCP Data received {"connection_id":106636,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106636,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:11] local.INFO: Processing buffer {"connection_id":106636,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:35:11] local.INFO: IMEI packet received {"connection_id":106636,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":106636,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:35:11] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-18 15:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-18 15:35:11] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-06-18 15:35:11] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 15:35:11] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-06-18 15:35:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289476797300736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:35:11] 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-06-18 15:35:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 15:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 15:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 15:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 15:35:11] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 15:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 15:35:11] local.ERROR: GPS data processing failed {"connection_id":106635,"error":"No valid data to process"} 
[2026-06-18 15:35:11] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 15:35:12] local.INFO: TCP Data received {"connection_id":106636,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2f23d80100000000000000000000000000..."} 
[2026-06-18 15:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2f23d80100000000000000000000000000..."} 
[2026-06-18 15:35:12] local.INFO: Processing buffer {"connection_id":106636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2f23d80100000000000000000000000000..."} 
[2026-06-18 15:35:12] local.INFO: Packet analysis {"connection_id":106636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:12] local.INFO: Extracted packet for processing {"connection_id":106636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781776983000,"timestamp_ms":1781776983000,"timestamp_seconds":1781776983,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2f23d8"} 
[2026-06-18 15:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 15:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":106636,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:35:12] local.INFO: GPS data processed {"connection_id":106636,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:35:12] local.INFO: Acknowledgment sent {"connection_id":106636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:35:29] local.INFO: TCP Data received {"connection_id":105861,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:35:29] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:35:29] local.INFO: IMEI packet received {"connection_id":105861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":105861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:35:33] local.INFO: TCP Data received {"connection_id":106059,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:35:33] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:35:33] local.INFO: IMEI packet received {"connection_id":106059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":106059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:35:33] local.INFO: TCP Data received {"connection_id":105861,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:35:33] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:35:33] local.INFO: IMEI packet received {"connection_id":105861,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":105861,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:35:34] local.INFO: TCP Data received {"connection_id":105861,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:35:34] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:35:34] local.INFO: Packet analysis {"connection_id":105861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:34] local.INFO: Extracted packet for processing {"connection_id":105861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:34] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35: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-06-18 15:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:35:34] 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-06-18 15:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:35:34] 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-06-18 15:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:35:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:35:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":105861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:35:34] local.INFO: GPS data processed {"connection_id":105861,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:35:34] local.INFO: Acknowledgment sent {"connection_id":105861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:35:43] local.INFO: TCP Data received {"connection_id":106636,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2f75e00100000000000000000000000000..."} 
[2026-06-18 15:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2f75e00100000000000000000000000000..."} 
[2026-06-18 15:35:43] local.INFO: Processing buffer {"connection_id":106636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2f75e00100000000000000000000000000..."} 
[2026-06-18 15:35:43] local.INFO: Packet analysis {"connection_id":106636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:43] local.INFO: Extracted packet for processing {"connection_id":106636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:43] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781777004000,"timestamp_ms":1781777004000,"timestamp_seconds":1781777004,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2f75e0"} 
[2026-06-18 15:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 15:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":106636,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:35:43] local.INFO: GPS data processed {"connection_id":106636,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:35:43] local.INFO: Acknowledgment sent {"connection_id":106636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:35:44] local.INFO: TCP Data received {"connection_id":105860,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:35:44] local.INFO: Processing buffer {"connection_id":105860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:35:44] local.INFO: IMEI packet received {"connection_id":105860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":105860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:35:45] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-18 15:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-18 15:35:45] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-06-18 15:35:45] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 15:35:45] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 15:35:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289476797300736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:35:45] 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-06-18 15:35:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 15:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 15:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 15:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 15:35:45] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 15:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 15:35:45] local.ERROR: GPS data processing failed {"connection_id":106635,"error":"No valid data to process"} 
[2026-06-18 15:35:45] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 15:35:46] local.INFO: TCP Data received {"connection_id":105860,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2f8d50012ced9ac0072d19a8004000602b..."} 
[2026-06-18 15:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2f8d50012ced9ac0072d19a8004000602b..."} 
[2026-06-18 15:35:46] local.INFO: Processing buffer {"connection_id":105860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2f8d50012ced9ac0072d19a8004000602b..."} 
[2026-06-18 15:35:46] local.INFO: Packet analysis {"connection_id":105860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:46] local.INFO: Extracted packet for processing {"connection_id":105860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:35:46] local.INFO: GPS Element Parsed {"raw_longitude":753769152,"raw_latitude":120396200,"longitude_deg":75.3769152,"latitude_deg":12.03962,"altitude":64,"angle":96,"satellites":43,"speed":12,"hex_longitude":"2ced9ac0","hex_latitude":"072d19a8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134914304001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318602181550800896,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1325887846974099456,"note":"Value kept but may cause issues"} 
[2026-06-18 15:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781777010000,"timestamp_ms":1781777010000,"timestamp_seconds":1781777010,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2f8d50"} 
[2026-06-18 15:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:35:46] 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-06-18 15: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 15:35:46] 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-06-18 15: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-06-18 15:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:35:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134914304001,"66":27908,"212":206,"2":56832,"24":12,"16":318602181550800896,"44":-1325887846974099456},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-18 15:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134914304001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:35:46] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-18 15:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318602181550800896,"km_value":318602181550800.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:35:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1325887846974099456,"description":"Unknown IO ID 44"} 
[2026-06-18 15:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134914304001,"power":27908,"unknown_212":206,"power_alt":56832,"ignition":12,"odometer":null,"unknown_44":-1325887846974099456}} 
[2026-06-18 15:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":105860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:35:46] local.INFO: GPS data processed {"connection_id":105860,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:35:46] local.INFO: Acknowledgment sent {"connection_id":105860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:36:05] local.INFO: TCP Data received {"connection_id":105861,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:36:05] local.INFO: Processing buffer {"connection_id":105861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:36:05] local.INFO: Packet analysis {"connection_id":105861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:36:05] local.INFO: Extracted packet for processing {"connection_id":105861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:36:05] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:36:05] 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-06-18 15:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105861,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:36:05] 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-06-18 15:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:36:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:36:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":105861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:36:06] local.INFO: GPS data processed {"connection_id":105861,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:36:06] local.INFO: Acknowledgment sent {"connection_id":105861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:36:14] local.INFO: TCP Data received {"connection_id":106636,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fc7e80100000000000000000000000000..."} 
[2026-06-18 15:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fc7e80100000000000000000000000000..."} 
[2026-06-18 15:36:14] local.INFO: Processing buffer {"connection_id":106636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fc7e80100000000000000000000000000..."} 
[2026-06-18 15:36:14] local.INFO: Packet analysis {"connection_id":106636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:36:14] local.INFO: Extracted packet for processing {"connection_id":106636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781777025000,"timestamp_ms":1781777025000,"timestamp_seconds":1781777025,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fc7e8"} 
[2026-06-18 15:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":106636,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:36:14] local.INFO: GPS data processed {"connection_id":106636,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:36:14] local.INFO: Acknowledgment sent {"connection_id":106636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:36:16] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-06-18 15:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-06-18 15:36:16] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-06-18 15:36:16] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 15:36:16] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-06-18 15:36:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289476797300736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:36:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":90000,"timestamp_seconds":90,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:36:16] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 15:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 15:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":0} 
[2026-06-18 15:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 15:36:16] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 15:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 15:36:16] local.ERROR: GPS data processing failed {"connection_id":106635,"error":"No valid data to process"} 
[2026-06-18 15:36:16] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 15:36:28] local.INFO: TCP Data received {"connection_id":105862,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:36:28] local.INFO: Processing buffer {"connection_id":105862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:36:28] local.INFO: IMEI packet received {"connection_id":105862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":105862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:36:29] local.INFO: TCP Data received {"connection_id":107606,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:36:29] local.INFO: Processing buffer {"connection_id":107606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:36:29] local.INFO: IMEI packet received {"connection_id":107606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":107606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:36:33] local.INFO: TCP Data received {"connection_id":105862,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105862,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:36:33] local.INFO: Processing buffer {"connection_id":105862,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:36:33] local.INFO: IMEI packet received {"connection_id":105862,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":105862,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:36:34] local.INFO: TCP Data received {"connection_id":105862,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:36:34] local.INFO: Processing buffer {"connection_id":105862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:36:34] local.INFO: Packet analysis {"connection_id":105862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:36:34] local.INFO: Extracted packet for processing {"connection_id":105862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:36:34] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36: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-06-18 15:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:36:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:36:34] 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-06-18 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:36:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:36:34] 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-06-18 15:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:36:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:36:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:36:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":105862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:36:35] local.INFO: GPS data processed {"connection_id":105862,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:36:35] local.INFO: Acknowledgment sent {"connection_id":105862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:36:35] local.INFO: TCP Data received {"connection_id":107606,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:36:35] local.INFO: Processing buffer {"connection_id":107606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:36:35] local.INFO: IMEI packet received {"connection_id":107606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":107606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:36:36] local.INFO: TCP Data received {"connection_id":107606,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fdf58012cedbc80072d15280044005c2a..."} 
[2026-06-18 15:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fdf58012cedbc80072d15280044005c2a..."} 
[2026-06-18 15:36:36] local.INFO: Processing buffer {"connection_id":107606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fdf58012cedbc80072d15280044005c2a..."} 
[2026-06-18 15:36:36] local.INFO: Packet analysis {"connection_id":107606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:36:36] local.INFO: Extracted packet for processing {"connection_id":107606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:36:36] local.INFO: GPS Element Parsed {"raw_longitude":753777792,"raw_latitude":120395048,"longitude_deg":75.3777792,"latitude_deg":12.0395048,"altitude":68,"angle":92,"satellites":42,"speed":4,"hex_longitude":"2cedbc80","hex_latitude":"072d1528","is_valid_coordinates":true} 
[2026-06-18 15:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134914560001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318602593867661312,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1325536003253229568,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781777031000,"timestamp_ms":1781777031000,"timestamp_seconds":1781777031,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fdf58"} 
[2026-06-18 15:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:36: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-06-18 15:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 15:36: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-06-18 15:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134914560001,"66":27930,"212":206,"2":56832,"24":4,"16":318602593867661312,"44":-1325536003253229568},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-18 15:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134914560001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:36:36] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-18 15:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318602593867661312,"km_value":318602593867661.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1325536003253229568,"description":"Unknown IO ID 44"} 
[2026-06-18 15:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134914560001,"power":27930,"unknown_212":206,"power_alt":56832,"ignition":4,"odometer":null,"unknown_44":-1325536003253229568}} 
[2026-06-18 15:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":107606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:36:36] local.INFO: GPS data processed {"connection_id":107606,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:36:36] local.INFO: Acknowledgment sent {"connection_id":107606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:36:37] local.INFO: TCP Data received {"connection_id":107606,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda303160012cedc080072d15000044005c28..."} 
[2026-06-18 15:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda303160012cedc080072d15000044005c28..."} 
[2026-06-18 15:36:37] local.INFO: Processing buffer {"connection_id":107606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda303160012cedc080072d15000044005c28..."} 
[2026-06-18 15:36:37] local.INFO: Packet analysis {"connection_id":107606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda30"} 
[2026-06-18 15:36:37] local.INFO: Extracted packet for processing {"connection_id":107606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda30"} 
[2026-06-18 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":753778816,"raw_latitude":120395008,"longitude_deg":75.3778816,"latitude_deg":12.0395008,"altitude":68,"angle":92,"satellites":40,"speed":4,"hex_longitude":"2cedc080","hex_latitude":"072d1500","is_valid_coordinates":true} 
[2026-06-18 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134919936001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318602645407268864,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1316036222789539840,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781777052000,"timestamp_ms":1781777052000,"timestamp_seconds":1781777052,"priority":1,"record_length":96,"hex_timestamp":"0000019eda303160"} 
[2026-06-18 15:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:36:37] 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-06-18 15:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134919936001,"66":27919,"212":206,"2":56832,"24":4,"16":318602645407268864,"44":-1316036222789539840},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,2,24,16,44]} 
[2026-06-18 15:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134919936001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:36:37] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-06-18 15:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318602645407268864,"km_value":318602645407268.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:36:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1316036222789539840,"description":"Unknown IO ID 44"} 
[2026-06-18 15:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134919936001,"power":27919,"unknown_212":206,"power_alt":56832,"ignition":4,"odometer":null,"unknown_44":-1316036222789539840}} 
[2026-06-18 15:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":107606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:36:37] local.INFO: GPS data processed {"connection_id":107606,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:36:37] local.INFO: Acknowledgment sent {"connection_id":107606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:36:45] local.INFO: TCP Data received {"connection_id":106636,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3019f00100000000000000000000000000..."} 
[2026-06-18 15:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3019f00100000000000000000000000000..."} 
[2026-06-18 15:36:45] local.INFO: Processing buffer {"connection_id":106636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3019f00100000000000000000000000000..."} 
[2026-06-18 15:36:45] local.INFO: Packet analysis {"connection_id":106636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda30"} 
[2026-06-18 15:36:45] local.INFO: Extracted packet for processing {"connection_id":106636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda30"} 
[2026-06-18 15:36:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781777046000,"timestamp_ms":1781777046000,"timestamp_seconds":1781777046,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3019f0"} 
[2026-06-18 15:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:36:45] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:36:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 15:36:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:36:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":106636,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:36:45] local.INFO: GPS data processed {"connection_id":106636,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:36:45] local.INFO: Acknowledgment sent {"connection_id":106636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:36:50] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda31f298012d182a8007219cf8005100000d..."} 
[2026-06-18 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda31f298012d182a8007219cf8005100000d..."} 
[2026-06-18 15:36:50] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda31f298012d182a8007219cf8005100000d..."} 
[2026-06-18 15:36:50] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda31"} 
[2026-06-18 15:36:50] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda31"} 
[2026-06-18 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643384,"longitude_deg":75.6558464,"latitude_deg":11.9643384,"altitude":81,"angle":0,"satellites":13,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219cf8","is_valid_coordinates":true} 
[2026-06-18 15:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289498272137216,"note":"Value kept but may cause issues"} 
[2026-06-18 15:36:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781777167000,"timestamp_ms":1781777167000,"timestamp_seconds":1781777167,"priority":1,"record_length":96,"hex_timestamp":"0000019eda31f298"} 
[2026-06-18 15:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-06-18 15:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1450,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12689,"120":206,"28":31744,"24":0,"16":3289498272137216},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16]} 
[2026-06-18 15:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 15:36:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:36:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289498272137216,"km_value":3289498272137.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:36:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null}} 
[2026-06-18 15:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:36:50] local.INFO: GPS data processed {"connection_id":106635,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:36:50] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:37:06] local.INFO: TCP Data received {"connection_id":105862,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:37:06] local.INFO: Processing buffer {"connection_id":105862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:37:06] local.INFO: Packet analysis {"connection_id":105862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:37:06] local.INFO: Extracted packet for processing {"connection_id":105862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:37:06] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:06] 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-06-18 15:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:37:06] 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-06-18 15:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:37:06] 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-06-18 15:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105862,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:37:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:37:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":105862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:37:06] local.INFO: GPS data processed {"connection_id":105862,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:37:06] local.INFO: Acknowledgment sent {"connection_id":105862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:37:09] local.INFO: TCP Data received {"connection_id":107606,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda323cd0012cede140072e09e80048000f27..."} 
[2026-06-18 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda323cd0012cede140072e09e80048000f27..."} 
[2026-06-18 15:37:09] local.INFO: Processing buffer {"connection_id":107606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda323cd0012cede140072e09e80048000f27..."} 
[2026-06-18 15:37:09] local.INFO: Packet analysis {"connection_id":107606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:37:09] local.INFO: Extracted packet for processing {"connection_id":107606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":753787200,"raw_latitude":120457704,"longitude_deg":75.37872,"latitude_deg":12.0457704,"altitude":72,"angle":15,"satellites":39,"speed":12,"hex_longitude":"2cede140","hex_latitude":"072e09e8","is_valid_coordinates":true} 
[2026-06-18 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134959360001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318606072791171072,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305762386123640832,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781777186000,"timestamp_ms":1781777186000,"timestamp_seconds":1781777186,"priority":1,"record_length":96,"hex_timestamp":"0000019eda323cd0"} 
[2026-06-18 15:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 15:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134959360001,"66":27843,"239":206,"2":56832,"24":12,"16":318606072791171072,"44":-1305762386123640832},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-06-18 15:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134959360001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:37:09] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 15:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318606072791171072,"km_value":318606072791171.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:37:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305762386123640832,"description":"Unknown IO ID 44"} 
[2026-06-18 15:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134959360001,"power":27843,"unknown_239":206,"power_alt":56832,"ignition":12,"odometer":null,"unknown_44":-1305762386123640832}} 
[2026-06-18 15:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":107606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:37:09] local.INFO: GPS data processed {"connection_id":107606,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:37:09] local.INFO: Acknowledgment sent {"connection_id":107606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:37:16] local.INFO: TCP Data received {"connection_id":106636,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda306bf80100000000000000000000000000..."} 
[2026-06-18 15:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda306bf80100000000000000000000000000..."} 
[2026-06-18 15:37:16] local.INFO: Processing buffer {"connection_id":106636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda306bf80100000000000000000000000000..."} 
[2026-06-18 15:37:16] local.INFO: Packet analysis {"connection_id":106636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda30"} 
[2026-06-18 15:37:16] local.INFO: Extracted packet for processing {"connection_id":106636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda30"} 
[2026-06-18 15:37:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781777067000,"timestamp_ms":1781777067000,"timestamp_seconds":1781777067,"priority":1,"record_length":96,"hex_timestamp":"0000019eda306bf8"} 
[2026-06-18 15:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:37:16] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 15:37:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":771,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106636,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":106636,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:37:16] local.INFO: GPS data processed {"connection_id":106636,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:37:16] local.INFO: Acknowledgment sent {"connection_id":106636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:37:21] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3244a0012d182a8007219d400051000011..."} 
[2026-06-18 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3244a0012d182a8007219d400051000011..."} 
[2026-06-18 15:37:21] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3244a0012d182a8007219d400051000011..."} 
[2026-06-18 15:37:21] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:37:21] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643456,"longitude_deg":75.6558464,"latitude_deg":11.9643456,"altitude":81,"angle":0,"satellites":17,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134954752001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289502567104512,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049179648,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781777188000,"timestamp_ms":1781777188000,"timestamp_seconds":1781777188,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3244a0"} 
[2026-06-18 15:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:37:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 15:37:21] 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-06-18 15: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-06-18 15:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134954752001,"66":12689,"120":206,"28":31744,"24":0,"16":3289502567104512,"45":1741344974049179648},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134954752001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:37:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:37:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289502567104512,"km_value":3289502567104.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049179648,"description":"Unknown IO ID 45"} 
[2026-06-18 15:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134954752001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741344974049179648}} 
[2026-06-18 15:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:37:21] local.INFO: GPS data processed {"connection_id":106635,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:37:21] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:37:29] local.INFO: TCP Data received {"connection_id":106060,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:37:29] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:37:29] local.INFO: IMEI packet received {"connection_id":106060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":106060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:37:33] local.INFO: TCP Data received {"connection_id":106060,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:37:33] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:37:33] local.INFO: IMEI packet received {"connection_id":106060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":106060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:37:33] local.INFO: TCP Data received {"connection_id":107608,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:37:33] local.INFO: Processing buffer {"connection_id":107608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:37:33] local.INFO: IMEI packet received {"connection_id":107608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":107608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:37:34] local.INFO: TCP Data received {"connection_id":106060,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3240b8012cede200072e0b100048002728..."} 
[2026-06-18 15:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3240b8012cede200072e0b100048002728..."} 
[2026-06-18 15:37:34] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3240b8012cede200072e0b100048002728..."} 
[2026-06-18 15:37:34] local.INFO: Packet analysis {"connection_id":106060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:37:34] local.INFO: Extracted packet for processing {"connection_id":106060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:37:34] local.INFO: GPS Element Parsed {"raw_longitude":753787392,"raw_latitude":120458000,"longitude_deg":75.3787392,"latitude_deg":12.0458,"altitude":72,"angle":39,"satellites":40,"speed":15,"hex_longitude":"2cede200","hex_latitude":"072e0b10","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134959616001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318606089971040256,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305692017379383296,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777187000,"timestamp_ms":1781777187000,"timestamp_seconds":1781777187,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3240b8"} 
[2026-06-18 15:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:37: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-06-18 15: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 15:37: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-06-18 15: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-06-18 15:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134959616001,"66":27626,"239":206,"2":56832,"24":15,"16":318606089971040256,"44":-1305692017379383296},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-06-18 15:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134959616001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:37:34] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 15:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318606089971040256,"km_value":318606089971040.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:37:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305692017379383296,"description":"Unknown IO ID 44"} 
[2026-06-18 15:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134959616001,"power":27626,"unknown_239":206,"power_alt":56832,"ignition":15,"odometer":null,"unknown_44":-1305692017379383296}} 
[2026-06-18 15:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":106060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:37:34] local.INFO: GPS data processed {"connection_id":106060,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:37:34] local.INFO: Acknowledgment sent {"connection_id":106060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:37:38] local.INFO: TCP Data received {"connection_id":107608,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107608,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:37:38] local.INFO: Processing buffer {"connection_id":107608,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:37:38] local.INFO: IMEI packet received {"connection_id":107608,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":107608,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:37:39] local.INFO: TCP Data received {"connection_id":107608,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:37:39] local.INFO: Processing buffer {"connection_id":107608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:37:39] local.INFO: Packet analysis {"connection_id":107608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:37:39] local.INFO: Extracted packet for processing {"connection_id":107608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:37:39] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:37: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-06-18 15:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:37: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-06-18 15:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:37:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:37:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":107608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:37:39] local.INFO: GPS data processed {"connection_id":107608,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:37:39] local.INFO: Acknowledgment sent {"connection_id":107608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:37:53] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3296a8012d182a8007219d680051000013..."} 
[2026-06-18 15:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3296a8012d182a8007219d680051000013..."} 
[2026-06-18 15:37:53] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3296a8012d182a8007219d680051000013..."} 
[2026-06-18 15:37:53] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:37:53] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643496,"longitude_deg":75.6558464,"latitude_deg":11.9643496,"altitude":81,"angle":0,"satellites":19,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d68","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134960128001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289506862071808,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049198080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781777209000,"timestamp_ms":1781777209000,"timestamp_seconds":1781777209,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3296a8"} 
[2026-06-18 15:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:37:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 15:37:53] 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-06-18 15: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-06-18 15:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134960128001,"66":12591,"120":206,"28":31744,"24":0,"16":3289506862071808,"45":1741344974049198080},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134960128001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:37:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:37:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289506862071808,"km_value":3289506862071.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049198080,"description":"Unknown IO ID 45"} 
[2026-06-18 15:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134960128001,"power":12591,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741344974049198080}} 
[2026-06-18 15:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:37:53] local.INFO: GPS data processed {"connection_id":106635,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:37:53] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:37:57] local.INFO: TCP Data received {"connection_id":105863,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:37:57] local.INFO: Processing buffer {"connection_id":105863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:37:57] local.INFO: IMEI packet received {"connection_id":105863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":105863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:37:58] local.INFO: TCP Data received {"connection_id":105863,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105863,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:37:58] local.INFO: Processing buffer {"connection_id":105863,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:37:58] local.INFO: IMEI packet received {"connection_id":105863,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":105863,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:38:00] local.INFO: TCP Data received {"connection_id":105863,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda30be000100000000000000000000000000..."} 
[2026-06-18 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda30be000100000000000000000000000000..."} 
[2026-06-18 15:38:00] local.INFO: Processing buffer {"connection_id":105863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda30be000100000000000000000000000000..."} 
[2026-06-18 15:38:00] local.INFO: Packet analysis {"connection_id":105863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda30"} 
[2026-06-18 15:38:00] local.INFO: Extracted packet for processing {"connection_id":105863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda30"} 
[2026-06-18 15:38: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-06-18 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781777088000,"timestamp_ms":1781777088000,"timestamp_seconds":1781777088,"priority":1,"record_length":96,"hex_timestamp":"0000019eda30be00"} 
[2026-06-18 15:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":105863,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:38:00] local.INFO: GPS data processed {"connection_id":105863,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:38:00] local.INFO: Acknowledgment sent {"connection_id":105863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:06] local.INFO: TCP Data received {"connection_id":106060,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda32f468012cee7040072e2c580035007624..."} 
[2026-06-18 15:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda32f468012cee7040072e2c580035007624..."} 
[2026-06-18 15:38:06] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda32f468012cee7040072e2c580035007624..."} 
[2026-06-18 15:38:06] local.INFO: Packet analysis {"connection_id":106060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:38:06] local.INFO: Extracted packet for processing {"connection_id":106060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":753823808,"raw_latitude":120466520,"longitude_deg":75.3823808,"latitude_deg":12.046652,"altitude":53,"angle":118,"satellites":36,"speed":8,"hex_longitude":"2cee7040","hex_latitude":"072e2c58","is_valid_coordinates":true} 
[2026-06-18 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971392001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265652201940004864,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781777233000,"timestamp_ms":1781777233000,"timestamp_seconds":1781777233,"priority":1,"record_length":96,"hex_timestamp":"0000019eda32f468"} 
[2026-06-18 15:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971392001,"66":27234,"42":206,"28":26368,"24":8,"16":318607928217042944,"44":-1265652201940004864},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971392001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:38:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:38:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265652201940004864,"description":"Unknown IO ID 44"} 
[2026-06-18 15:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971392001,"power":27234,"unknown_42":206,"unknown_28":26368,"ignition":8,"odometer":null,"unknown_44":-1265652201940004864}} 
[2026-06-18 15:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":106060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:38:06] local.INFO: GPS data processed {"connection_id":106060,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:38:06] local.INFO: Acknowledgment sent {"connection_id":106060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:11] local.INFO: TCP Data received {"connection_id":107608,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:38:11] local.INFO: Processing buffer {"connection_id":107608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:38:11] local.INFO: Packet analysis {"connection_id":107608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:38:11] local.INFO: Extracted packet for processing {"connection_id":107608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:38:11] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:11] 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-06-18 15:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:38:11] 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-06-18 15:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:11] 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-06-18 15:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107608,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:38:11] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:38:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":107608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344664,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:38:11] local.INFO: GPS data processed {"connection_id":107608,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:38:11] local.INFO: Acknowledgment sent {"connection_id":107608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:25] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda32e8b0012d182a4007219d400051000014..."} 
[2026-06-18 15:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda32e8b0012d182a4007219d400051000014..."} 
[2026-06-18 15:38:25] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda32e8b0012d182a4007219d400051000014..."} 
[2026-06-18 15:38:25] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:38:25] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643456,"longitude_deg":75.65584,"latitude_deg":11.9643456,"altitude":81,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d40","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134965504001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289511157039104,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049208320,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781777230000,"timestamp_ms":1781777230000,"timestamp_seconds":1781777230,"priority":1,"record_length":96,"hex_timestamp":"0000019eda32e8b0"} 
[2026-06-18 15:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134965504001,"66":12558,"120":206,"28":31744,"24":0,"16":3289511157039104,"45":1741344974049208320},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134965504001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:38:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:38:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289511157039104,"km_value":3289511157039.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049208320,"description":"Unknown IO ID 45"} 
[2026-06-18 15:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134965504001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741344974049208320}} 
[2026-06-18 15:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344665,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:38:25] local.INFO: GPS data processed {"connection_id":106635,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:38:25] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:28] local.INFO: TCP Data received {"connection_id":105865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:38:28] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:38:28] local.INFO: IMEI packet received {"connection_id":105865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":105865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:38:29] local.INFO: TCP Data received {"connection_id":105864,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:38:29] local.INFO: Processing buffer {"connection_id":105864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:38:29] local.INFO: IMEI packet received {"connection_id":105864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":105864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:38:31] local.INFO: TCP Data received {"connection_id":105863,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3110080100000000000000000000000000..."} 
[2026-06-18 15:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3110080100000000000000000000000000..."} 
[2026-06-18 15:38:31] local.INFO: Processing buffer {"connection_id":105863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3110080100000000000000000000000000..."} 
[2026-06-18 15:38:31] local.INFO: Packet analysis {"connection_id":105863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda31"} 
[2026-06-18 15:38:31] local.INFO: Extracted packet for processing {"connection_id":105863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda31"} 
[2026-06-18 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781777109000,"timestamp_ms":1781777109000,"timestamp_seconds":1781777109,"priority":1,"record_length":96,"hex_timestamp":"0000019eda311008"} 
[2026-06-18 15:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105863,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":105863,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:38:31] local.INFO: GPS data processed {"connection_id":105863,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:38:31] local.INFO: Acknowledgment sent {"connection_id":105863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:33] local.INFO: TCP Data received {"connection_id":105865,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:38:33] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:38:33] local.INFO: IMEI packet received {"connection_id":105865,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":105865,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:38:34] local.INFO: TCP Data received {"connection_id":105864,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:38:34] local.INFO: Processing buffer {"connection_id":105864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:38:34] local.INFO: IMEI packet received {"connection_id":105864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":105864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:38:34] local.INFO: TCP Data received {"connection_id":105865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:38:34] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda2fbc30012d7a0fc005ec8010000800fe24..."} 
[2026-06-18 15:38:34] local.INFO: Packet analysis {"connection_id":105865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:38:34] local.INFO: Extracted packet for processing {"connection_id":105865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda2f"} 
[2026-06-18 15:38:34] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":36,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134839552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8796163416394817536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38: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-06-18 15:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777022000,"timestamp_ms":1781777022000,"timestamp_seconds":1781777022,"priority":1,"record_length":96,"hex_timestamp":"0000019eda2fbc30"} 
[2026-06-18 15:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:38:34] 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-06-18 15: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:38:34] 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-06-18 15:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134839552001,"66":12841,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8796163416394817536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134839552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:38:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:38:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8796163416394817536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134839552001,"power":12841,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8796163416394817536}} 
[2026-06-18 15:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":105865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344666,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:38:34] local.INFO: GPS data processed {"connection_id":105865,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:38:34] local.INFO: Acknowledgment sent {"connection_id":105865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:38] local.INFO: TCP Data received {"connection_id":105864,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda32f850012cee7100072e2c080035006b24..."} 
[2026-06-18 15:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda32f850012cee7100072e2c080035006b24..."} 
[2026-06-18 15:38:38] local.INFO: Processing buffer {"connection_id":105864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda32f850012cee7100072e2c080035006b24..."} 
[2026-06-18 15:38:38] local.INFO: Packet analysis {"connection_id":105864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:38:38] local.INFO: Extracted packet for processing {"connection_id":105864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda32"} 
[2026-06-18 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":753824000,"raw_latitude":120466440,"longitude_deg":75.3824,"latitude_deg":12.046644,"altitude":53,"angle":107,"satellites":36,"speed":8,"hex_longitude":"2cee7100","hex_latitude":"072e2c08","is_valid_coordinates":true} 
[2026-06-18 15:38: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-06-18 15:38:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971648001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265441095707502592,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:38:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781777234000,"timestamp_ms":1781777234000,"timestamp_seconds":1781777234,"priority":1,"record_length":96,"hex_timestamp":"0000019eda32f850"} 
[2026-06-18 15:38:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:38:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:38: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":98,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:38] 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-06-18 15:38: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-06-18 15:38:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:38:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:38:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:38:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:38:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:38:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:38:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971648001,"66":27234,"42":206,"28":26368,"24":8,"16":318607928217042944,"44":-1265441095707502592},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:38:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:38:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:38:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971648001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:38:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:38:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:38:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:38:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265441095707502592,"description":"Unknown IO ID 44"} 
[2026-06-18 15:38:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971648001,"power":27234,"unknown_42":206,"unknown_28":26368,"ignition":8,"odometer":null,"unknown_44":-1265441095707502592}} 
[2026-06-18 15:38:38] local.INFO: DEBUG: GPS processor result {"connection_id":105864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:38:38] local.INFO: GPS data processed {"connection_id":105864,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:38:38] local.INFO: Acknowledgment sent {"connection_id":105864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:41] local.INFO: TCP Data received {"connection_id":105864,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:38:41] local.INFO: Processing buffer {"connection_id":105864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:38:41] local.INFO: Packet analysis {"connection_id":105864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:38:41] local.INFO: Extracted packet for processing {"connection_id":105864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":753824384,"raw_latitude":120466376,"longitude_deg":75.3824384,"latitude_deg":12.0466376,"altitude":53,"angle":93,"satellites":37,"speed":5,"hex_longitude":"2cee7280","hex_latitude":"072e2bc8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971904001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474990080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781777236000,"timestamp_ms":1781777236000,"timestamp_seconds":1781777236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda330020"} 
[2026-06-18 15:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:41] 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-06-18 15: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-06-18 15:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971904001,"66":26321,"42":206,"28":26368,"24":5,"16":318607928217042944,"44":-1265229989474990080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971904001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:38:41] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:38:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:38:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474990080,"description":"Unknown IO ID 44"} 
[2026-06-18 15:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971904001,"power":26321,"unknown_42":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_44":-1265229989474990080}} 
[2026-06-18 15:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":105864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:38:41] local.INFO: GPS data processed {"connection_id":105864,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:38:41] local.INFO: Acknowledgment sent {"connection_id":105864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:57] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda333ab8012d1829c007219d000050000014..."} 
[2026-06-18 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda333ab8012d1829c007219d000050000014..."} 
[2026-06-18 15:38:57] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda333ab8012d1829c007219d000050000014..."} 
[2026-06-18 15:38:57] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:38:57] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643392,"longitude_deg":75.6558272,"latitude_deg":11.9643392,"altitude":80,"angle":0,"satellites":20,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219d00","is_valid_coordinates":true} 
[2026-06-18 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-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134970880001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289524041940992,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305020416,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781777251000,"timestamp_ms":1781777251000,"timestamp_seconds":1781777251,"priority":1,"record_length":96,"hex_timestamp":"0000019eda333ab8"} 
[2026-06-18 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-06-18 15:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863910568914944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":175,"raw_value":3355443200,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":13,"raw_value":2281766912,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184309555405,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":11,"raw_value":2948792320,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.WARNING: Large IO value detected {"io_id":206,"raw_value":103079215106,"note":"Value kept but may cause issues"} 
[2026-06-18 15:38:57] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,120,28,24,241,158,16,175,150,45,128,157,81,19,10,66,68,17,242,1,240,145,4,113,205,13,239,2,50,11,231,206],"length":575,"final_offset":705,"validated_count":32,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 15:38:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836665202971508736,"timestamp_seconds":5836665202971509.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 15:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134970880001,"66":12537,"120":206,"28":31744,"24":0,"16":3289524041940992,"45":1741274605305020416},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134970880001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:38:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:38:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289524041940992,"km_value":3289524041940.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305020416,"description":"Unknown IO ID 45"} 
[2026-06-18 15:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134970880001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605305020416}} 
[2026-06-18 15:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:38:57] local.INFO: GPS data processed {"connection_id":106635,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:38:57] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:38:57] local.INFO: TCP Data received {"connection_id":106061,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:38:57] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:38:57] local.INFO: IMEI packet received {"connection_id":106061,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":106061,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:39:03] local.INFO: TCP Data received {"connection_id":106061,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:39:03] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:39:03] local.INFO: IMEI packet received {"connection_id":106061,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":106061,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:39:04] local.INFO: TCP Data received {"connection_id":106061,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3162100100000000000000000000000000..."} 
[2026-06-18 15:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3162100100000000000000000000000000..."} 
[2026-06-18 15:39:04] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3162100100000000000000000000000000..."} 
[2026-06-18 15:39:04] local.INFO: Packet analysis {"connection_id":106061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda31"} 
[2026-06-18 15:39:04] local.INFO: Extracted packet for processing {"connection_id":106061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda31"} 
[2026-06-18 15:39:04] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781777130000,"timestamp_ms":1781777130000,"timestamp_seconds":1781777130,"priority":1,"record_length":96,"hex_timestamp":"0000019eda316210"} 
[2026-06-18 15:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 15:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":106061,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:39:04] local.INFO: GPS data processed {"connection_id":106061,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:39:04] local.INFO: Acknowledgment sent {"connection_id":106061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:39:06] local.INFO: TCP Data received {"connection_id":105865,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019eda343c88012d7a0fc005ec8010000800fe27..."} 
[2026-06-18 15:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda343c88012d7a0fc005ec8010000800fe27..."} 
[2026-06-18 15:39:06] local.INFO: Processing buffer {"connection_id":105865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda343c88012d7a0fc005ec8010000800fe27..."} 
[2026-06-18 15:39:06] local.INFO: Packet analysis {"connection_id":105865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:39:06] local.INFO: Extracted packet for processing {"connection_id":105865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":762974144,"raw_latitude":99385360,"longitude_deg":76.2974144,"latitude_deg":9.938536,"altitude":8,"angle":254,"satellites":39,"speed":0,"hex_longitude":"2d7a0fc0","hex_latitude":"05ec8010","is_valid_coordinates":true} 
[2026-06-18 15:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134917632001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880009336291328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8795459728953053184,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:06] 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-06-18 15:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781777317000,"timestamp_ms":1781777317000,"timestamp_seconds":1781777317,"priority":1,"record_length":96,"hex_timestamp":"0000019eda343c88"} 
[2026-06-18 15:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:39:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 15:39:06] 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-06-18 15: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-06-18 15:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105865,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134917632001,"66":12798,"157":206,"87":13824,"24":0,"16":93880009336291328,"45":8795459728953053184},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134917632001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:39:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:39:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880009336291328,"km_value":93880009336291.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8795459728953053184,"description":"Unknown IO ID 45"} 
[2026-06-18 15:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134917632001,"power":12798,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8795459728953053184}} 
[2026-06-18 15:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":105865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344670,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:39:06] local.INFO: GPS data processed {"connection_id":105865,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:39:06] local.INFO: Acknowledgment sent {"connection_id":105865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:39:24] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:39:24] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:39:24] local.INFO: IMEI packet received {"connection_id":106062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":106062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:39:30] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:39:30] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:39:30] local.INFO: IMEI packet received {"connection_id":106062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":106062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:39:30] local.INFO: TCP Data received {"connection_id":106635,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda338cc0012d1829c007219d08004f000015..."} 
[2026-06-18 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda338cc0012d1829c007219d08004f000015..."} 
[2026-06-18 15:39:30] local.INFO: Processing buffer {"connection_id":106635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda338cc0012d1829c007219d08004f000015..."} 
[2026-06-18 15:39:30] local.INFO: Packet analysis {"connection_id":106635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:39:30] local.INFO: Extracted packet for processing {"connection_id":106635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643400,"longitude_deg":75.6558272,"latitude_deg":11.96434,"altitude":79,"angle":0,"satellites":21,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219d08","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134976256001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289528336908288,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816648704,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781777272000,"timestamp_ms":1781777272000,"timestamp_seconds":1781777272,"priority":1,"record_length":96,"hex_timestamp":"0000019eda338cc0"} 
[2026-06-18 15:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 15:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134976256001,"66":12461,"120":206,"28":31744,"24":0,"16":3289528336908288,"45":1741133867816648704},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134976256001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:39:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:39:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289528336908288,"km_value":3289528336908.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816648704,"description":"Unknown IO ID 45"} 
[2026-06-18 15:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134976256001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816648704}} 
[2026-06-18 15:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":106635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:39:30] local.INFO: GPS data processed {"connection_id":106635,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:39:30] local.INFO: Acknowledgment sent {"connection_id":106635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:39:33] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:39:33] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:39:33] local.INFO: Packet analysis {"connection_id":106062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:39:33] local.INFO: Extracted packet for processing {"connection_id":106062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:39:33] local.INFO: GPS Element Parsed {"raw_longitude":753824384,"raw_latitude":120466376,"longitude_deg":75.3824384,"latitude_deg":12.0466376,"altitude":53,"angle":93,"satellites":37,"speed":5,"hex_longitude":"2cee7280","hex_latitude":"072e2bc8","is_valid_coordinates":true} 
[2026-06-18 15:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971904001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474990080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781777236000,"timestamp_ms":1781777236000,"timestamp_seconds":1781777236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda330020"} 
[2026-06-18 15:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 15:39: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-06-18 15:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971904001,"66":26321,"42":206,"28":26368,"24":5,"16":318607928217042944,"44":-1265229989474990080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971904001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:39:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:39:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:39:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474990080,"description":"Unknown IO ID 44"} 
[2026-06-18 15:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971904001,"power":26321,"unknown_42":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_44":-1265229989474990080}} 
[2026-06-18 15:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":106062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:39:33] local.INFO: GPS data processed {"connection_id":106062,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:39:33] local.INFO: Acknowledgment sent {"connection_id":106062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:39:45] local.INFO: TCP Data received {"connection_id":106061,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda34e8680100000000000000000000000000..."} 
[2026-06-18 15:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda34e8680100000000000000000000000000..."} 
[2026-06-18 15:39:45] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda34e8680100000000000000000000000000..."} 
[2026-06-18 15:39:45] local.INFO: Packet analysis {"connection_id":106061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:39:45] local.INFO: Extracted packet for processing {"connection_id":106061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:39:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781777361000,"timestamp_ms":1781777361000,"timestamp_seconds":1781777361,"priority":1,"record_length":96,"hex_timestamp":"0000019eda34e868"} 
[2026-06-18 15:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-18 15:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106061,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":106061,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 15:39:45] local.INFO: GPS data processed {"connection_id":106061,"processed":0,"errors":0,"total":1} 
[2026-06-18 15:39:45] local.INFO: Acknowledgment sent {"connection_id":106061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:39:54] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.143.236","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:39:54] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:39:54] local.INFO: IMEI packet received {"connection_id":106063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":106063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:39:57] local.INFO: TCP Data received {"connection_id":107609,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:39:57] local.INFO: Processing buffer {"connection_id":107609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:39:57] local.INFO: IMEI packet received {"connection_id":107609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":107609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:40:00] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.143.236","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:40:00] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:40:00] local.INFO: IMEI packet received {"connection_id":106063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":106063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:40:02] local.INFO: TCP Data received {"connection_id":107609,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107609,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:40:02] local.INFO: Processing buffer {"connection_id":107609,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:40:02] local.INFO: IMEI packet received {"connection_id":107609,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":107609,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:40:03] local.INFO: TCP Data received {"connection_id":107609,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda34f808012d0b93400703b488001c00ab06..."} 
[2026-06-18 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda34f808012d0b93400703b488001c00ab06..."} 
[2026-06-18 15:40:03] local.INFO: Processing buffer {"connection_id":107609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda34f808012d0b93400703b488001c00ab06..."} 
[2026-06-18 15:40:03] local.INFO: Packet analysis {"connection_id":107609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:40:03] local.INFO: Extracted packet for processing {"connection_id":107609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755733312,"raw_latitude":117683336,"longitude_deg":75.5733312,"latitude_deg":11.7683336,"altitude":28,"angle":171,"satellites":6,"speed":10,"hex_longitude":"2d0b9340","hex_latitude":"0703b488","is_valid_coordinates":true} 
[2026-06-18 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21153491321880576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,96,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781777365000,"timestamp_ms":1781777365000,"timestamp_seconds":1781777365,"priority":1,"record_length":96,"hex_timestamp":"0000019eda34f808"} 
[2026-06-18 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 15:40:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":14428,"96":206,"94":10240,"24":10,"16":21153491321880576},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16]} 
[2026-06-18 15:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 15:40:03] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 15:40:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21153491321880576,"km_value":21153491321880.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:40:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":14428,"unknown_96":206,"unknown_94":10240,"ignition":10,"odometer":null}} 
[2026-06-18 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":107609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344673,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:40:03] local.INFO: GPS data processed {"connection_id":107609,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:40:03] local.INFO: Acknowledgment sent {"connection_id":107609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:40:04] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda33dec8012d182a4007219d58004f000016..."} 
[2026-06-18 15:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda33dec8012d182a4007219d58004f000016..."} 
[2026-06-18 15:40:04] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda33dec8012d182a4007219d58004f000016..."} 
[2026-06-18 15:40:04] local.INFO: Packet analysis {"connection_id":106063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:40:04] local.INFO: Extracted packet for processing {"connection_id":106063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643480,"longitude_deg":75.65584,"latitude_deg":11.964348,"altitude":79,"angle":0,"satellites":22,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d58","is_valid_coordinates":true} 
[2026-06-18 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134981632001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289541221810176,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741133867816650752,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781777293000,"timestamp_ms":1781777293000,"timestamp_seconds":1781777293,"priority":1,"record_length":96,"hex_timestamp":"0000019eda33dec8"} 
[2026-06-18 15:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:40:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 15:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:40:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134981632001,"66":12461,"120":206,"28":31744,"24":0,"16":3289541221810176,"45":1741133867816650752},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134981632001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:40:04] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289541221810176,"km_value":3289541221810.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741133867816650752,"description":"Unknown IO ID 45"} 
[2026-06-18 15:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134981632001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741133867816650752}} 
[2026-06-18 15:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":106063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:40:04] local.INFO: GPS data processed {"connection_id":106063,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:40:04] local.INFO: Acknowledgment sent {"connection_id":106063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:40:09] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:40:09] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:40:09] local.INFO: Packet analysis {"connection_id":106062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:40:09] local.INFO: Extracted packet for processing {"connection_id":106062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":753824384,"raw_latitude":120466376,"longitude_deg":75.3824384,"latitude_deg":12.0466376,"altitude":53,"angle":93,"satellites":37,"speed":5,"hex_longitude":"2cee7280","hex_latitude":"072e2bc8","is_valid_coordinates":true} 
[2026-06-18 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971904001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474990080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781777236000,"timestamp_ms":1781777236000,"timestamp_seconds":1781777236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda330020"} 
[2026-06-18 15:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 15:40:09] 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-06-18 15:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971904001,"66":26321,"42":206,"28":26368,"24":5,"16":318607928217042944,"44":-1265229989474990080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971904001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:40:09] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:40:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474990080,"description":"Unknown IO ID 44"} 
[2026-06-18 15:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971904001,"power":26321,"unknown_42":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_44":-1265229989474990080}} 
[2026-06-18 15:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":106062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:40:09] local.INFO: GPS data processed {"connection_id":106062,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:40:09] local.INFO: Acknowledgment sent {"connection_id":106062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:40:34] local.INFO: TCP Data received {"connection_id":107609,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda35ee20012d0b5f000703ac18002000fb07..."} 
[2026-06-18 15:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda35ee20012d0b5f000703ac18002000fb07..."} 
[2026-06-18 15:40:34] local.INFO: Processing buffer {"connection_id":107609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda35ee20012d0b5f000703ac18002000fb07..."} 
[2026-06-18 15:40:34] local.INFO: Packet analysis {"connection_id":107609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda35"} 
[2026-06-18 15:40:34] local.INFO: Extracted packet for processing {"connection_id":107609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda35"} 
[2026-06-18 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":755719936,"raw_latitude":117681176,"longitude_deg":75.5719936,"latitude_deg":11.7681176,"altitude":32,"angle":251,"satellites":7,"speed":7,"hex_longitude":"2d0b5f00","hex_latitude":"0703ac18","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135021312001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21154071142465536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819584793563631616,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777428000,"timestamp_ms":1781777428000,"timestamp_seconds":1781777428,"priority":1,"record_length":96,"hex_timestamp":"0000019eda35ee20"} 
[2026-06-18 15:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-18 15:40:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107609,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135021312001,"66":14298,"96":206,"94":10240,"24":7,"16":21154071142465536,"45":819584793563631616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,94,24,16,45]} 
[2026-06-18 15:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135021312001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:40:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 15:40:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21154071142465536,"km_value":21154071142465.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":819584793563631616,"description":"Unknown IO ID 45"} 
[2026-06-18 15:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135021312001,"power":14298,"unknown_96":206,"unknown_94":10240,"ignition":7,"odometer":null,"unknown_45":819584793563631616}} 
[2026-06-18 15:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":107609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344676,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:40:34] local.INFO: GPS data processed {"connection_id":107609,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:40:34] local.INFO: Acknowledgment sent {"connection_id":107609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:40:41] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3430d0012d182a8007219db00051000016..."} 
[2026-06-18 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3430d0012d182a8007219db00051000016..."} 
[2026-06-18 15:40:41] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3430d0012d182a8007219db00051000016..."} 
[2026-06-18 15:40:41] local.INFO: Packet analysis {"connection_id":106063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:40:41] local.INFO: Extracted packet for processing {"connection_id":106063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643568,"longitude_deg":75.6558464,"latitude_deg":11.9643568,"altitude":81,"angle":0,"satellites":22,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219db0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134987008001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289549811744768,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305026560,"note":"Value kept but may cause issues"} 
[2026-06-18 15:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781777314000,"timestamp_ms":1781777314000,"timestamp_seconds":1781777314,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3430d0"} 
[2026-06-18 15:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 15:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134987008001,"66":12428,"120":206,"28":31744,"24":0,"16":3289549811744768,"45":1741274605305026560},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134987008001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:40:41] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289549811744768,"km_value":3289549811744.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305026560,"description":"Unknown IO ID 45"} 
[2026-06-18 15:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134987008001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605305026560}} 
[2026-06-18 15:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":106063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:40:41] local.INFO: GPS data processed {"connection_id":106063,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:40:41] local.INFO: Acknowledgment sent {"connection_id":106063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:40:58] local.INFO: TCP Data received {"connection_id":106638,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:40:58] local.INFO: Processing buffer {"connection_id":106638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:40:58] local.INFO: IMEI packet received {"connection_id":106638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":106638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:40:59] local.INFO: TCP Data received {"connection_id":106639,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:40:59] local.INFO: Processing buffer {"connection_id":106639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:40:59] local.INFO: IMEI packet received {"connection_id":106639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":106639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:41:05] local.INFO: TCP Data received {"connection_id":106639,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:05] local.INFO: Processing buffer {"connection_id":106639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:05] local.INFO: IMEI packet received {"connection_id":106639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":106639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:41:06] local.INFO: TCP Data received {"connection_id":106639,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:06] local.INFO: Processing buffer {"connection_id":106639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:06] local.INFO: Packet analysis {"connection_id":106639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:41:06] local.INFO: Extracted packet for processing {"connection_id":106639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":753824384,"raw_latitude":120466376,"longitude_deg":75.3824384,"latitude_deg":12.0466376,"altitude":53,"angle":93,"satellites":37,"speed":5,"hex_longitude":"2cee7280","hex_latitude":"072e2bc8","is_valid_coordinates":true} 
[2026-06-18 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971904001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474990080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781777236000,"timestamp_ms":1781777236000,"timestamp_seconds":1781777236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda330020"} 
[2026-06-18 15:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 15:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971904001,"66":26321,"42":206,"28":26368,"24":5,"16":318607928217042944,"44":-1265229989474990080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971904001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:41:06] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:41:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474990080,"description":"Unknown IO ID 44"} 
[2026-06-18 15:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971904001,"power":26321,"unknown_42":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_44":-1265229989474990080}} 
[2026-06-18 15:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":106639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:41:06] local.INFO: GPS data processed {"connection_id":106639,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:41:06] local.INFO: Acknowledgment sent {"connection_id":106639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:41:13] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3482d8012d182a8007219d980050000019..."} 
[2026-06-18 15:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3482d8012d182a8007219d980050000019..."} 
[2026-06-18 15:41:13] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3482d8012d182a8007219d980050000019..."} 
[2026-06-18 15:41:13] local.INFO: Packet analysis {"connection_id":106063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:41:13] local.INFO: Extracted packet for processing {"connection_id":106063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756558464,"raw_latitude":119643544,"longitude_deg":75.6558464,"latitude_deg":11.9643544,"altitude":80,"angle":0,"satellites":25,"speed":0,"hex_longitude":"2d182a80","hex_latitude":"07219d98","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134992384001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289566991613952,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049226752,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781777335000,"timestamp_ms":1781777335000,"timestamp_seconds":1781777335,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3482d8"} 
[2026-06-18 15:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 15:41:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134992384001,"66":12461,"120":206,"28":31744,"24":0,"16":3289566991613952,"45":1741344974049226752},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134992384001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:41:13] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:41:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289566991613952,"km_value":3289566991613.952,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049226752,"description":"Unknown IO ID 45"} 
[2026-06-18 15:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134992384001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741344974049226752}} 
[2026-06-18 15:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":106063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:41:13] local.INFO: GPS data processed {"connection_id":106063,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:41:13] local.INFO: Acknowledgment sent {"connection_id":106063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:41:24] local.INFO: TCP Data received {"connection_id":105868,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:24] local.INFO: Processing buffer {"connection_id":105868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:24] local.INFO: IMEI packet received {"connection_id":105868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":105868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:41:29] local.INFO: TCP Data received {"connection_id":105868,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:29] local.INFO: Processing buffer {"connection_id":105868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:29] local.INFO: IMEI packet received {"connection_id":105868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":105868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:41:33] local.INFO: TCP Data received {"connection_id":107610,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:41:33] local.INFO: Processing buffer {"connection_id":107610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:41:33] local.INFO: IMEI packet received {"connection_id":107610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":107610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:41:35] local.INFO: TCP Data received {"connection_id":105868,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:35] local.INFO: Processing buffer {"connection_id":105868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:41:35] local.INFO: IMEI packet received {"connection_id":105868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:41:35] local.INFO: IMEI acknowledgment sent {"connection_id":105868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:41:38] local.INFO: TCP Data received {"connection_id":105868,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:38] local.INFO: Processing buffer {"connection_id":105868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:38] local.INFO: Packet analysis {"connection_id":105868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:41:38] local.INFO: Extracted packet for processing {"connection_id":105868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":753824384,"raw_latitude":120466376,"longitude_deg":75.3824384,"latitude_deg":12.0466376,"altitude":53,"angle":93,"satellites":37,"speed":5,"hex_longitude":"2cee7280","hex_latitude":"072e2bc8","is_valid_coordinates":true} 
[2026-06-18 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971904001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474990080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781777236000,"timestamp_ms":1781777236000,"timestamp_seconds":1781777236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda330020"} 
[2026-06-18 15:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 15:41:38] 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-06-18 15:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971904001,"66":26321,"42":206,"28":26368,"24":5,"16":318607928217042944,"44":-1265229989474990080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971904001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:41:38] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:41:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:41:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474990080,"description":"Unknown IO ID 44"} 
[2026-06-18 15:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971904001,"power":26321,"unknown_42":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_44":-1265229989474990080}} 
[2026-06-18 15:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":105868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:41:38] local.INFO: GPS data processed {"connection_id":105868,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:41:38] local.INFO: Acknowledgment sent {"connection_id":105868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:41:40] local.INFO: TCP Data received {"connection_id":105868,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:40] local.INFO: Processing buffer {"connection_id":105868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:41:40] local.INFO: Packet analysis {"connection_id":105868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:41:40] local.INFO: Extracted packet for processing {"connection_id":105868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":753824384,"raw_latitude":120466376,"longitude_deg":75.3824384,"latitude_deg":12.0466376,"altitude":53,"angle":93,"satellites":37,"speed":5,"hex_longitude":"2cee7280","hex_latitude":"072e2bc8","is_valid_coordinates":true} 
[2026-06-18 15:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971904001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474990080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781777236000,"timestamp_ms":1781777236000,"timestamp_seconds":1781777236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda330020"} 
[2026-06-18 15:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 15:41:40] 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-06-18 15:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971904001,"66":26321,"42":206,"28":26368,"24":5,"16":318607928217042944,"44":-1265229989474990080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971904001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:41:40] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:41:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:41:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474990080,"description":"Unknown IO ID 44"} 
[2026-06-18 15:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971904001,"power":26321,"unknown_42":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_44":-1265229989474990080}} 
[2026-06-18 15:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":105868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:41:40] local.INFO: GPS data processed {"connection_id":105868,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:41:40] local.INFO: Acknowledgment sent {"connection_id":105868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:41:45] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda34d4e0012d182a4007219d10004b00001a..."} 
[2026-06-18 15:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda34d4e0012d182a4007219d10004b00001a..."} 
[2026-06-18 15:41:45] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda34d4e0012d182a4007219d10004b00001a..."} 
[2026-06-18 15:41:45] local.INFO: Packet analysis {"connection_id":106063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:41:45] local.INFO: Extracted packet for processing {"connection_id":106063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda34"} 
[2026-06-18 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643408,"longitude_deg":75.65584,"latitude_deg":11.9643408,"altitude":75,"angle":0,"satellites":26,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134997760001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289579876515840,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741344974049220608,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781777356000,"timestamp_ms":1781777356000,"timestamp_seconds":1781777356,"priority":1,"record_length":96,"hex_timestamp":"0000019eda34d4e0"} 
[2026-06-18 15:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:41:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 15:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134997760001,"66":12363,"120":206,"28":31744,"24":0,"16":3289579876515840,"45":1741344974049220608},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134997760001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:41:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:41:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289579876515840,"km_value":3289579876515.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741344974049220608,"description":"Unknown IO ID 45"} 
[2026-06-18 15:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134997760001,"power":12363,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741344974049220608}} 
[2026-06-18 15:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":106063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:41:45] local.INFO: GPS data processed {"connection_id":106063,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:41:45] local.INFO: Acknowledgment sent {"connection_id":106063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:41:46] local.INFO: TCP Data received {"connection_id":107611,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:41:46] local.INFO: Processing buffer {"connection_id":107611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:41:46] local.INFO: IMEI packet received {"connection_id":107611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":107611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:41:51] local.INFO: TCP Data received {"connection_id":107611,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107611,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:41:51] local.INFO: Processing buffer {"connection_id":107611,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:41:51] local.INFO: IMEI packet received {"connection_id":107611,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":107611,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:41:53] local.INFO: TCP Data received {"connection_id":107611,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda36e050012d0b290007035fc8001100d309..."} 
[2026-06-18 15:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda36e050012d0b290007035fc8001100d309..."} 
[2026-06-18 15:41:53] local.INFO: Processing buffer {"connection_id":107611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda36e050012d0b290007035fc8001100d309..."} 
[2026-06-18 15:41:53] local.INFO: Packet analysis {"connection_id":107611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda36"} 
[2026-06-18 15:41:53] local.INFO: Extracted packet for processing {"connection_id":107611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda36"} 
[2026-06-18 15:41:53] local.INFO: GPS Element Parsed {"raw_longitude":755706112,"raw_latitude":117661640,"longitude_deg":75.5706112,"latitude_deg":11.766164,"altitude":17,"angle":211,"satellites":9,"speed":16,"hex_longitude":"2d0b2900","hex_latitude":"07035fc8","is_valid_coordinates":true} 
[2026-06-18 15:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:41:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135033600001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21155445532000256,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":809944275608203264,"note":"Value kept but may cause issues"} 
[2026-06-18 15:41:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:41:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781777490000,"timestamp_ms":1781777490000,"timestamp_seconds":1781777490,"priority":1,"record_length":96,"hex_timestamp":"0000019eda36e050"} 
[2026-06-18 15:41:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:41:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:41:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 15:41:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:41:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:41:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:41:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:41:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:41:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:41:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:41:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:41:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:41:53] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:41:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135033600001,"66":14548,"37":206,"94":11008,"24":16,"16":21155445532000256,"45":809944275608203264},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:41:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:41:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:41:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135033600001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:41:53] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:41:53] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:41:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21155445532000256,"km_value":21155445532000.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:41:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":809944275608203264,"description":"Unknown IO ID 45"} 
[2026-06-18 15:41:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135033600001,"power":14548,"unknown_37":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":809944275608203264}} 
[2026-06-18 15:41:53] local.INFO: DEBUG: GPS processor result {"connection_id":107611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344683,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:41:53] local.INFO: GPS data processed {"connection_id":107611,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:41:53] local.INFO: Acknowledgment sent {"connection_id":107611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:42:17] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3526e8012d182a4007219d08004c00001a..."} 
[2026-06-18 15:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3526e8012d182a4007219d08004c00001a..."} 
[2026-06-18 15:42:17] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3526e8012d182a4007219d08004c00001a..."} 
[2026-06-18 15:42:17] local.INFO: Packet analysis {"connection_id":106063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda35"} 
[2026-06-18 15:42:17] local.INFO: Extracted packet for processing {"connection_id":106063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda35"} 
[2026-06-18 15:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643400,"longitude_deg":75.65584,"latitude_deg":11.96434,"altitude":76,"angle":0,"satellites":26,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d08","is_valid_coordinates":true} 
[2026-06-18 15:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135003136001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289584171483136,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305008128,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781777377000,"timestamp_ms":1781777377000,"timestamp_seconds":1781777377,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3526e8"} 
[2026-06-18 15:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:42:17] 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-06-18 15:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 15:42:17] 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-06-18 15:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135003136001,"66":12385,"120":206,"28":31744,"24":0,"16":3289584171483136,"45":1741274605305008128},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135003136001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:42:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:42:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289584171483136,"km_value":3289584171483.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305008128,"description":"Unknown IO ID 45"} 
[2026-06-18 15:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135003136001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605305008128}} 
[2026-06-18 15:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":106063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:42:17] local.INFO: GPS data processed {"connection_id":106063,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:42:17] local.INFO: Acknowledgment sent {"connection_id":106063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:42:25] local.INFO: TCP Data received {"connection_id":107611,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda36ec08012d0b274007035c28001000c509..."} 
[2026-06-18 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda36ec08012d0b274007035c28001000c509..."} 
[2026-06-18 15:42:25] local.INFO: Processing buffer {"connection_id":107611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda36ec08012d0b274007035c28001000c509..."} 
[2026-06-18 15:42:25] local.INFO: Packet analysis {"connection_id":107611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda36"} 
[2026-06-18 15:42:25] local.INFO: Extracted packet for processing {"connection_id":107611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda36"} 
[2026-06-18 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":755705664,"raw_latitude":117660712,"longitude_deg":75.5705664,"latitude_deg":11.7660712,"altitude":16,"angle":197,"satellites":9,"speed":9,"hex_longitude":"2d0b2740","hex_latitude":"07035c28","is_valid_coordinates":true} 
[2026-06-18 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:42:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135037440001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21155497071607808,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":804174038583724032,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:42:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781777493000,"timestamp_ms":1781777493000,"timestamp_seconds":1781777493,"priority":1,"record_length":96,"hex_timestamp":"0000019eda36ec08"} 
[2026-06-18 15:42:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:42:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:42:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 15:42:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2386,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:42:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:42:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:42:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:42:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:42:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:42:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107611,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:42:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:42:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:42:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:42:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135037440001,"66":14580,"37":206,"94":11008,"24":9,"16":21155497071607808,"45":804174038583724032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:42:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:42:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:42:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135037440001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:42:25] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:42:25] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:42:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21155497071607808,"km_value":21155497071607.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:42:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":804174038583724032,"description":"Unknown IO ID 45"} 
[2026-06-18 15:42:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135037440001,"power":14580,"unknown_37":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":804174038583724032}} 
[2026-06-18 15:42:25] local.INFO: TCP Data received {"connection_id":105869,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:42:25] local.INFO: Processing buffer {"connection_id":105869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:42:25] local.INFO: IMEI packet received {"connection_id":105869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":105869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:42:25] local.INFO: DEBUG: GPS processor result {"connection_id":107611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:42:25] local.INFO: GPS data processed {"connection_id":107611,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:42:25] local.INFO: Acknowledgment sent {"connection_id":107611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:42:30] local.INFO: TCP Data received {"connection_id":105869,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:42:30] local.INFO: Processing buffer {"connection_id":105869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:42:30] local.INFO: IMEI packet received {"connection_id":105869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":105869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:42:31] local.INFO: TCP Data received {"connection_id":105869,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:42:31] local.INFO: Processing buffer {"connection_id":105869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda330020012cee7280072e2bc80035005d25..."} 
[2026-06-18 15:42:31] local.INFO: Packet analysis {"connection_id":105869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:42:31] local.INFO: Extracted packet for processing {"connection_id":105869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda33"} 
[2026-06-18 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":753824384,"raw_latitude":120466376,"longitude_deg":75.3824384,"latitude_deg":12.0466376,"altitude":53,"angle":93,"satellites":37,"speed":5,"hex_longitude":"2cee7280","hex_latitude":"072e2bc8","is_valid_coordinates":true} 
[2026-06-18 15:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134971904001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265229989474990080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781777236000,"timestamp_ms":1781777236000,"timestamp_seconds":1781777236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda330020"} 
[2026-06-18 15:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 15:42: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-06-18 15:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134971904001,"66":26321,"42":206,"28":26368,"24":5,"16":318607928217042944,"44":-1265229989474990080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134971904001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:42:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:42:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265229989474990080,"description":"Unknown IO ID 44"} 
[2026-06-18 15:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134971904001,"power":26321,"unknown_42":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_44":-1265229989474990080}} 
[2026-06-18 15:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":105869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:42:31] local.INFO: GPS data processed {"connection_id":105869,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:42:31] local.INFO: Acknowledgment sent {"connection_id":105869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:42:44] local.INFO: TCP Data received {"connection_id":107612,"ip":"117.224.143.236","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:42:44] local.INFO: Processing buffer {"connection_id":107612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:42:44] local.INFO: IMEI packet received {"connection_id":107612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":107612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:42:47] local.INFO: TCP Data received {"connection_id":107612,"ip":"117.224.143.236","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:42:47] local.INFO: Processing buffer {"connection_id":107612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:42:47] local.INFO: IMEI packet received {"connection_id":107612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":107612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:42:49] local.INFO: TCP Data received {"connection_id":107612,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3578f0012d182a4007219d08004c00001b..."} 
[2026-06-18 15:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3578f0012d182a4007219d08004c00001b..."} 
[2026-06-18 15:42:49] local.INFO: Processing buffer {"connection_id":107612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3578f0012d182a4007219d08004c00001b..."} 
[2026-06-18 15:42:49] local.INFO: Packet analysis {"connection_id":107612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda35"} 
[2026-06-18 15:42:49] local.INFO: Extracted packet for processing {"connection_id":107612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda35"} 
[2026-06-18 15:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643400,"longitude_deg":75.65584,"latitude_deg":11.96434,"altitude":76,"angle":0,"satellites":27,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d08","is_valid_coordinates":true} 
[2026-06-18 15:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135008512001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289584171483136,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305006080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781777398000,"timestamp_ms":1781777398000,"timestamp_seconds":1781777398,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3578f0"} 
[2026-06-18 15:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:42:49] 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-06-18 15:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 15:42: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-06-18 15:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135008512001,"66":12374,"120":206,"28":31744,"24":0,"16":3289584171483136,"45":1741274605305006080},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135008512001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:42:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:42:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289584171483136,"km_value":3289584171483.136,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305006080,"description":"Unknown IO ID 45"} 
[2026-06-18 15:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135008512001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741274605305006080}} 
[2026-06-18 15:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":107612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:42:49] local.INFO: GPS data processed {"connection_id":107612,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:42:49] local.INFO: Acknowledgment sent {"connection_id":107612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:42:57] local.INFO: TCP Data received {"connection_id":105870,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:42:57] local.INFO: Processing buffer {"connection_id":105870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:42:57] local.INFO: IMEI packet received {"connection_id":105870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":105870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:43:02] local.INFO: TCP Data received {"connection_id":105870,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105870,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:43:02] local.INFO: Processing buffer {"connection_id":105870,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:43:02] local.INFO: IMEI packet received {"connection_id":105870,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":105870,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:43:02] local.INFO: TCP Data received {"connection_id":105869,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:43:02] local.INFO: Processing buffer {"connection_id":105869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:43:02] local.INFO: Packet analysis {"connection_id":105869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:43:02] local.INFO: Extracted packet for processing {"connection_id":105869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466608,"longitude_deg":75.382368,"latitude_deg":12.0466608,"altitude":54,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2cb0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134972416001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264807777009940480,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781777537000,"timestamp_ms":1781777537000,"timestamp_seconds":1781777537,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3797e8"} 
[2026-06-18 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-18 15:43: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-06-18 15: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-06-18 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134972416001,"66":26267,"42":206,"28":26368,"24":0,"16":318607928217042944,"44":-1264807777009940480},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134972416001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:43:02] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:43:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:43:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264807777009940480,"description":"Unknown IO ID 44"} 
[2026-06-18 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134972416001,"power":26267,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264807777009940480}} 
[2026-06-18 15:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":105869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:43:02] local.INFO: GPS data processed {"connection_id":105869,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:43:02] local.INFO: Acknowledgment sent {"connection_id":105869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:43:02] local.INFO: TCP Data received {"connection_id":105870,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda37b728012d0b6b8007034a38000700a109..."} 
[2026-06-18 15:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda37b728012d0b6b8007034a38000700a109..."} 
[2026-06-18 15:43:02] local.INFO: Processing buffer {"connection_id":105870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda37b728012d0b6b8007034a38000700a109..."} 
[2026-06-18 15:43:02] local.INFO: Packet analysis {"connection_id":105870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:43:02] local.INFO: Extracted packet for processing {"connection_id":105870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":755723136,"raw_latitude":117656120,"longitude_deg":75.5723136,"latitude_deg":11.765612,"altitude":7,"angle":161,"satellites":9,"speed":10,"hex_longitude":"2d0b6b80","hex_latitude":"07034a38","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135051264001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21156411899641856,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822751387045283840,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781777545000,"timestamp_ms":1781777545000,"timestamp_seconds":1781777545,"priority":1,"record_length":96,"hex_timestamp":"0000019eda37b728"} 
[2026-06-18 15:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135051264001,"66":14559,"17":206,"94":11008,"24":10,"16":21156411899641856,"45":822751387045283840},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 15:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135051264001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:43:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21156411899641856,"km_value":21156411899641.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":822751387045283840,"description":"Unknown IO ID 45"} 
[2026-06-18 15:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135051264001,"power":14559,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":822751387045283840}} 
[2026-06-18 15:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":105870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:43:03] local.INFO: GPS data processed {"connection_id":105870,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:43:03] local.INFO: Acknowledgment sent {"connection_id":105870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:43:21] local.INFO: TCP Data received {"connection_id":107612,"ip":"117.224.143.236","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3847b0012d1833c007219628005000721c..."} 
[2026-06-18 15:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3847b0012d1833c007219628005000721c..."} 
[2026-06-18 15:43:21] local.INFO: Processing buffer {"connection_id":107612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3847b0012d1833c007219628005000721c..."} 
[2026-06-18 15:43:21] local.INFO: Packet analysis {"connection_id":107612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda38"} 
[2026-06-18 15:43:21] local.INFO: Extracted packet for processing {"connection_id":107612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda38"} 
[2026-06-18 15:43:21] local.INFO: GPS Element Parsed {"raw_longitude":756560832,"raw_latitude":119641640,"longitude_deg":75.6560832,"latitude_deg":11.964164,"altitude":80,"angle":114,"satellites":28,"speed":24,"hex_longitude":"2d1833c0","hex_latitude":"07219628","is_valid_coordinates":true} 
[2026-06-18 15:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135060224001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3289816099717120,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211596800,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781777582000,"timestamp_ms":1781777582000,"timestamp_seconds":1781777582,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3847b0"} 
[2026-06-18 15:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:43: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-06-18 15:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-06-18 15:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:43:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.143.236","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135060224001,"66":14070,"120":206,"28":31744,"24":24,"16":3289816099717120,"45":1742400505211596800},"client_ip":"117.224.143.236","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 15:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135060224001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:43:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 15:43:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3289816099717120,"km_value":3289816099717.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:43:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211596800,"description":"Unknown IO ID 45"} 
[2026-06-18 15:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135060224001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1742400505211596800}} 
[2026-06-18 15:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":107612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:43:22] local.INFO: GPS data processed {"connection_id":107612,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:43:22] local.INFO: Acknowledgment sent {"connection_id":107612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:43:24] local.INFO: TCP Data received {"connection_id":107613,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:43:24] local.INFO: Processing buffer {"connection_id":107613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:43:24] local.INFO: IMEI packet received {"connection_id":107613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":107613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:43:32] local.INFO: TCP Data received {"connection_id":107613,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:43:32] local.INFO: Processing buffer {"connection_id":107613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:43:32] local.INFO: IMEI packet received {"connection_id":107613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":107613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:43:33] local.INFO: TCP Data received {"connection_id":105870,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda37bef8012d0b6c40070348c0000700b309..."} 
[2026-06-18 15:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda37bef8012d0b6c40070348c0000700b309..."} 
[2026-06-18 15:43:33] local.INFO: Processing buffer {"connection_id":105870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda37bef8012d0b6c40070348c0000700b309..."} 
[2026-06-18 15:43:33] local.INFO: Packet analysis {"connection_id":105870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:43:33] local.INFO: Extracted packet for processing {"connection_id":105870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":755723328,"raw_latitude":117655744,"longitude_deg":75.5723328,"latitude_deg":11.7655744,"altitude":7,"angle":179,"satellites":9,"speed":8,"hex_longitude":"2d0b6c40","hex_latitude":"070348c0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135051520001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21156433374478336,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822892124533569536,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781777547000,"timestamp_ms":1781777547000,"timestamp_seconds":1781777547,"priority":1,"record_length":96,"hex_timestamp":"0000019eda37bef8"} 
[2026-06-18 15:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 15:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105870,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135051520001,"66":14439,"17":206,"94":11008,"24":8,"16":21156433374478336,"45":822892124533569536},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 15:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135051520001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:43:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21156433374478336,"km_value":21156433374478.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":822892124533569536,"description":"Unknown IO ID 45"} 
[2026-06-18 15:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135051520001,"power":14439,"axis_x":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":822892124533569536}} 
[2026-06-18 15:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":105870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:43:33] local.INFO: GPS data processed {"connection_id":105870,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:43:33] local.INFO: Acknowledgment sent {"connection_id":105870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:43:34] local.INFO: TCP Data received {"connection_id":107613,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:43:34] local.INFO: Processing buffer {"connection_id":107613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:43:34] local.INFO: Packet analysis {"connection_id":107613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:43:34] local.INFO: Extracted packet for processing {"connection_id":107613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466608,"longitude_deg":75.382368,"latitude_deg":12.0466608,"altitude":54,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2cb0","is_valid_coordinates":true} 
[2026-06-18 15:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134972416001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264807777009940480,"note":"Value kept but may cause issues"} 
[2026-06-18 15:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777537000,"timestamp_ms":1781777537000,"timestamp_seconds":1781777537,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3797e8"} 
[2026-06-18 15:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-18 15:43:34] 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-06-18 15: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-06-18 15:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134972416001,"66":26267,"42":206,"28":26368,"24":0,"16":318607928217042944,"44":-1264807777009940480},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134972416001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:43:34] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:43:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:43:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264807777009940480,"description":"Unknown IO ID 44"} 
[2026-06-18 15:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134972416001,"power":26267,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264807777009940480}} 
[2026-06-18 15:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":107613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:43:34] local.INFO: GPS data processed {"connection_id":107613,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:43:34] local.INFO: Acknowledgment sent {"connection_id":107613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:43:57] local.INFO: TCP Data received {"connection_id":106065,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:43:57] local.INFO: Processing buffer {"connection_id":106065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:43:57] local.INFO: IMEI packet received {"connection_id":106065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":106065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:44:02] local.INFO: TCP Data received {"connection_id":106065,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106065,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:44:02] local.INFO: Processing buffer {"connection_id":106065,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:44:02] local.INFO: IMEI packet received {"connection_id":106065,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":106065,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:44:02] local.INFO: TCP Data received {"connection_id":106065,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda38d450012d0b8540070352f0000d00420a..."} 
[2026-06-18 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda38d450012d0b8540070352f0000d00420a..."} 
[2026-06-18 15:44:02] local.INFO: Processing buffer {"connection_id":106065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda38d450012d0b8540070352f0000d00420a..."} 
[2026-06-18 15:44:02] local.INFO: Packet analysis {"connection_id":106065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda38"} 
[2026-06-18 15:44:02] local.INFO: Extracted packet for processing {"connection_id":106065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda38"} 
[2026-06-18 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":755729728,"raw_latitude":117658352,"longitude_deg":75.5729728,"latitude_deg":11.7658352,"altitude":13,"angle":66,"satellites":10,"speed":10,"hex_longitude":"2d0b8540","hex_latitude":"070352f0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135069952001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21156905820880896,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":829858630207696896,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781777618000,"timestamp_ms":1781777618000,"timestamp_seconds":1781777618,"priority":1,"record_length":96,"hex_timestamp":"0000019eda38d450"} 
[2026-06-18 15:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-18 15:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135069952001,"66":14580,"17":206,"94":11008,"24":10,"16":21156905820880896,"45":829858630207696896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 15:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135069952001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:44:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21156905820880896,"km_value":21156905820880.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":829858630207696896,"description":"Unknown IO ID 45"} 
[2026-06-18 15:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135069952001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":829858630207696896}} 
[2026-06-18 15:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":106065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:44:03] local.INFO: GPS data processed {"connection_id":106065,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:44:03] local.INFO: Acknowledgment sent {"connection_id":106065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:44:05] local.INFO: TCP Data received {"connection_id":107613,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:44:05] local.INFO: Processing buffer {"connection_id":107613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:44:05] local.INFO: Packet analysis {"connection_id":107613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:44:05] local.INFO: Extracted packet for processing {"connection_id":107613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466608,"longitude_deg":75.382368,"latitude_deg":12.0466608,"altitude":54,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2cb0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134972416001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264807777009940480,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781777537000,"timestamp_ms":1781777537000,"timestamp_seconds":1781777537,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3797e8"} 
[2026-06-18 15:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15: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":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-18 15:44:05] 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-06-18 15: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-06-18 15:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134972416001,"66":26267,"42":206,"28":26368,"24":0,"16":318607928217042944,"44":-1264807777009940480},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134972416001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:44:05] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:44:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264807777009940480,"description":"Unknown IO ID 44"} 
[2026-06-18 15:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134972416001,"power":26267,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264807777009940480}} 
[2026-06-18 15:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":107613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:44:05] local.INFO: GPS data processed {"connection_id":107613,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:44:05] local.INFO: Acknowledgment sent {"connection_id":107613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:44:14] local.INFO: TCP Data received {"connection_id":106066,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:14] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:14] local.INFO: IMEI packet received {"connection_id":106066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":106066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:44:15] local.INFO: TCP Data received {"connection_id":106066,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:15] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:15] local.INFO: IMEI packet received {"connection_id":106066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":106066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:44:16] local.INFO: TCP Data received {"connection_id":106066,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:16] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:16] local.INFO: IMEI packet received {"connection_id":106066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":106066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:44:16] local.INFO: TCP Data received {"connection_id":106066,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:16] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:44:16] local.INFO: IMEI packet received {"connection_id":106066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":106066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:44:24] local.INFO: TCP Data received {"connection_id":107614,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:44:24] local.INFO: Processing buffer {"connection_id":107614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:44:24] local.INFO: IMEI packet received {"connection_id":107614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":107614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:44:30] local.INFO: TCP Data received {"connection_id":107614,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:44:30] local.INFO: Processing buffer {"connection_id":107614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:44:30] local.INFO: IMEI packet received {"connection_id":107614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":107614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:44:34] local.INFO: TCP Data received {"connection_id":106065,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda38d838012d0b864007035300000d00500a..."} 
[2026-06-18 15:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda38d838012d0b864007035300000d00500a..."} 
[2026-06-18 15:44:34] local.INFO: Processing buffer {"connection_id":106065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda38d838012d0b864007035300000d00500a..."} 
[2026-06-18 15:44:34] local.INFO: Packet analysis {"connection_id":106065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda38"} 
[2026-06-18 15:44:34] local.INFO: Extracted packet for processing {"connection_id":106065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda38"} 
[2026-06-18 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":755729984,"raw_latitude":117658368,"longitude_deg":75.5729984,"latitude_deg":11.7658368,"altitude":13,"angle":80,"satellites":10,"speed":10,"hex_longitude":"2d0b8640","hex_latitude":"07035300","is_valid_coordinates":true} 
[2026-06-18 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135070208001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21156914410815488,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":830140105184440320,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777619000,"timestamp_ms":1781777619000,"timestamp_seconds":1781777619,"priority":1,"record_length":96,"hex_timestamp":"0000019eda38d838"} 
[2026-06-18 15:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-18 15:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106065,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135070208001,"66":14580,"17":206,"94":11008,"24":10,"16":21156914410815488,"45":830140105184440320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 15:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135070208001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:44:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21156914410815488,"km_value":21156914410815.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:44:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":830140105184440320,"description":"Unknown IO ID 45"} 
[2026-06-18 15:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135070208001,"power":14580,"axis_x":206,"unknown_94":11008,"ignition":10,"odometer":null,"unknown_45":830140105184440320}} 
[2026-06-18 15:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":106065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:44:34] local.INFO: GPS data processed {"connection_id":106065,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:44:34] local.INFO: Acknowledgment sent {"connection_id":106065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:44:36] local.INFO: TCP Data received {"connection_id":107614,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:44:36] local.INFO: Processing buffer {"connection_id":107614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3797e8012cee6fc0072e2cb00036005d26..."} 
[2026-06-18 15:44:36] local.INFO: Packet analysis {"connection_id":107614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:44:36] local.INFO: Extracted packet for processing {"connection_id":107614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda37"} 
[2026-06-18 15:44:36] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466608,"longitude_deg":75.382368,"latitude_deg":12.0466608,"altitude":54,"angle":93,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2cb0","is_valid_coordinates":true} 
[2026-06-18 15:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456134972416001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1264807777009940480,"note":"Value kept but may cause issues"} 
[2026-06-18 15:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781777537000,"timestamp_ms":1781777537000,"timestamp_seconds":1781777537,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3797e8"} 
[2026-06-18 15:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":209,"data_length":795,"current_offset":136} 
[2026-06-18 15:44: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-06-18 15:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456134972416001,"66":26267,"42":206,"28":26368,"24":0,"16":318607928217042944,"44":-1264807777009940480},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456134972416001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:44:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:44:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1264807777009940480,"description":"Unknown IO ID 44"} 
[2026-06-18 15:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456134972416001,"power":26267,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1264807777009940480}} 
[2026-06-18 15:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":107614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:44:36] local.INFO: GPS data processed {"connection_id":107614,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:44:36] local.INFO: Acknowledgment sent {"connection_id":107614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:45:30] local.INFO: TCP Data received {"connection_id":105871,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:45:30] local.INFO: Processing buffer {"connection_id":105871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:45:30] local.INFO: IMEI packet received {"connection_id":105871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":105871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:45:32] local.INFO: TCP Data received {"connection_id":105872,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105872,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:45:32] local.INFO: Processing buffer {"connection_id":105872,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:45:32] local.INFO: IMEI packet received {"connection_id":105872,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":105872,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:45:35] local.INFO: TCP Data received {"connection_id":105871,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:45:35] local.INFO: Processing buffer {"connection_id":105871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:45:35] local.INFO: IMEI packet received {"connection_id":105871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:45:35] local.INFO: IMEI acknowledgment sent {"connection_id":105871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:45:36] local.INFO: TCP Data received {"connection_id":105871,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3a0118012cee6fc0072e2cb00036005d24..."} 
[2026-06-18 15:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3a0118012cee6fc0072e2cb00036005d24..."} 
[2026-06-18 15:45:36] local.INFO: Processing buffer {"connection_id":105871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3a0118012cee6fc0072e2cb00036005d24..."} 
[2026-06-18 15:45:36] local.INFO: Packet analysis {"connection_id":105871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:45:36] local.INFO: Extracted packet for processing {"connection_id":105871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466608,"longitude_deg":75.382368,"latitude_deg":12.0466608,"altitude":54,"angle":93,"satellites":36,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2cb0","is_valid_coordinates":true} 
[2026-06-18 15:45: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-06-18 15:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135049472001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:45:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195835392,"note":"Value kept but may cause issues"} 
[2026-06-18 15:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781777695000,"timestamp_ms":1781777695000,"timestamp_seconds":1781777695,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3a0118"} 
[2026-06-18 15:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:45:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 15:45:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 15:45:36] 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-06-18 15:45:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:45:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135049472001,"66":26115,"42":206,"28":26368,"24":0,"16":318607928217042944,"44":-1265581833195835392},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135049472001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:45:36] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:45:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:45:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195835392,"description":"Unknown IO ID 44"} 
[2026-06-18 15:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135049472001,"power":26115,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265581833195835392}} 
[2026-06-18 15:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":105871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:45:36] local.INFO: GPS data processed {"connection_id":105871,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:45:36] local.INFO: Acknowledgment sent {"connection_id":105871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:45:37] local.INFO: TCP Data received {"connection_id":105872,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105872,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:45:37] local.INFO: Processing buffer {"connection_id":105872,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:45:37] local.INFO: IMEI packet received {"connection_id":105872,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:45:37] local.INFO: IMEI acknowledgment sent {"connection_id":105872,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:45:38] local.INFO: TCP Data received {"connection_id":105872,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3a10b8012d0be54007035a000011005c0b..."} 
[2026-06-18 15:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3a10b8012d0be54007035a000011005c0b..."} 
[2026-06-18 15:45:38] local.INFO: Processing buffer {"connection_id":105872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3a10b8012d0be54007035a000011005c0b..."} 
[2026-06-18 15:45:38] local.INFO: Packet analysis {"connection_id":105872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:45:38] local.INFO: Extracted packet for processing {"connection_id":105872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":755754304,"raw_latitude":117660160,"longitude_deg":75.5754304,"latitude_deg":11.766016,"altitude":17,"angle":92,"satellites":11,"speed":16,"hex_longitude":"2d0be540","hex_latitude":"07035a00","is_valid_coordinates":true} 
[2026-06-18 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135090688001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21158104116756480,"note":"Value kept but may cause issues"} 
[2026-06-18 15:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856598752995700736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:45:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781777699000,"timestamp_ms":1781777699000,"timestamp_seconds":1781777699,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3a10b8"} 
[2026-06-18 15:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:45:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 15:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:45:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105872,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:45:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135090688001,"66":14450,"17":206,"94":11008,"24":16,"16":21158104116756480,"45":856598752995700736},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-06-18 15:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135090688001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:45:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21158104116756480,"km_value":21158104116756.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":856598752995700736,"description":"Unknown IO ID 45"} 
[2026-06-18 15:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135090688001,"power":14450,"axis_x":206,"unknown_94":11008,"ignition":16,"odometer":null,"unknown_45":856598752995700736}} 
[2026-06-18 15:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":105872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:45:38] local.INFO: GPS data processed {"connection_id":105872,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:45:38] local.INFO: Acknowledgment sent {"connection_id":105872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:46:01] local.INFO: TCP Data received {"connection_id":107615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:02] local.INFO: Processing buffer {"connection_id":107615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:02] local.INFO: IMEI packet received {"connection_id":107615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":107615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:46:02] local.INFO: TCP Data received {"connection_id":107615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:02] local.INFO: Processing buffer {"connection_id":107615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:02] local.INFO: IMEI packet received {"connection_id":107615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":107615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:46:05] local.INFO: TCP Data received {"connection_id":107615,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:05] local.INFO: Processing buffer {"connection_id":107615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:05] local.INFO: IMEI packet received {"connection_id":107615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":107615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:46:05] local.INFO: TCP Data received {"connection_id":107615,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3ae790012d0c058007034090001000700b..."} 
[2026-06-18 15:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3ae790012d0c058007034090001000700b..."} 
[2026-06-18 15:46:05] local.INFO: Processing buffer {"connection_id":107615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3ae790012d0c058007034090001000700b..."} 
[2026-06-18 15:46:05] local.INFO: Packet analysis {"connection_id":107615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:46:05] local.INFO: Extracted packet for processing {"connection_id":107615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":755762560,"raw_latitude":117653648,"longitude_deg":75.576256,"latitude_deg":11.7653648,"altitude":16,"angle":112,"satellites":11,"speed":8,"hex_longitude":"2d0c0580","hex_latitude":"07034090","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135104768001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21158774131654656,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865957795969691648,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781777754000,"timestamp_ms":1781777754000,"timestamp_seconds":1781777754,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3ae790"} 
[2026-06-18 15:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-06-18 15:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135104768001,"66":13896,"37":206,"94":11008,"24":8,"16":21158774131654656,"45":865957795969691648},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135104768001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:46:05] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:46:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21158774131654656,"km_value":21158774131654.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":865957795969691648,"description":"Unknown IO ID 45"} 
[2026-06-18 15:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135104768001,"power":13896,"unknown_37":206,"unknown_94":11008,"ignition":8,"odometer":null,"unknown_45":865957795969691648}} 
[2026-06-18 15:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":107615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:46:05] local.INFO: GPS data processed {"connection_id":107615,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:46:05] local.INFO: Acknowledgment sent {"connection_id":107615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:46:13] local.INFO: TCP Data received {"connection_id":105871,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3a08e8012cee6fc0072e2d300036012926..."} 
[2026-06-18 15:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3a08e8012cee6fc0072e2d300036012926..."} 
[2026-06-18 15:46:13] local.INFO: Processing buffer {"connection_id":105871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3a08e8012cee6fc0072e2d300036012926..."} 
[2026-06-18 15:46:13] local.INFO: Packet analysis {"connection_id":105871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:46:13] local.INFO: Extracted packet for processing {"connection_id":105871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:46:13] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466736,"longitude_deg":75.382368,"latitude_deg":12.0466736,"altitude":54,"angle":297,"satellites":38,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d30","is_valid_coordinates":true} 
[2026-06-18 15:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135089920001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195835392,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781777697000,"timestamp_ms":1781777697000,"timestamp_seconds":1781777697,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3a08e8"} 
[2026-06-18 15:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 15:46:13] 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-06-18 15:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135089920001,"66":25473,"42":206,"28":26368,"24":0,"16":318607928217042944,"44":-1265581833195835392},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135089920001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:46:13] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:46:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195835392,"description":"Unknown IO ID 44"} 
[2026-06-18 15:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135089920001,"power":25473,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265581833195835392}} 
[2026-06-18 15:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":105871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:46:13] local.INFO: GPS data processed {"connection_id":105871,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:46:13] local.INFO: Acknowledgment sent {"connection_id":105871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:46:24] local.INFO: TCP Data received {"connection_id":105874,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:24] local.INFO: Processing buffer {"connection_id":105874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:24] local.INFO: IMEI packet received {"connection_id":105874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":105874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:46:27] local.INFO: TCP Data received {"connection_id":105874,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:27] local.INFO: Processing buffer {"connection_id":105874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:27] local.INFO: IMEI packet received {"connection_id":105874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":105874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:46:28] local.INFO: TCP Data received {"connection_id":105874,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:28] local.INFO: Processing buffer {"connection_id":105874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:28] local.INFO: IMEI packet received {"connection_id":105874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":105874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:46:29] local.INFO: TCP Data received {"connection_id":105874,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:29] local.INFO: Processing buffer {"connection_id":105874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:46:29] local.INFO: IMEI packet received {"connection_id":105874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":105874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:46:31] local.INFO: TCP Data received {"connection_id":105874,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3a5af0012cee6fc0072e2d300036012928..."} 
[2026-06-18 15:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3a5af0012cee6fc0072e2d300036012928..."} 
[2026-06-18 15:46:31] local.INFO: Processing buffer {"connection_id":105874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3a5af0012cee6fc0072e2d300036012928..."} 
[2026-06-18 15:46:31] local.INFO: Packet analysis {"connection_id":105874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:46:31] local.INFO: Extracted packet for processing {"connection_id":105874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:46:31] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466736,"longitude_deg":75.382368,"latitude_deg":12.0466736,"altitude":54,"angle":297,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d30","is_valid_coordinates":true} 
[2026-06-18 15:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135090432001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195802624,"note":"Value kept but may cause issues"} 
[2026-06-18 15:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781777718000,"timestamp_ms":1781777718000,"timestamp_seconds":1781777718,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3a5af0"} 
[2026-06-18 15:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 15:46: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-06-18 15:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135090432001,"66":27767,"42":206,"28":26368,"24":0,"16":318607928217042944,"44":-1265581833195802624},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,44]} 
[2026-06-18 15:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135090432001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:46:31] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-06-18 15:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-06-18 15:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195802624,"description":"Unknown IO ID 44"} 
[2026-06-18 15:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135090432001,"power":27767,"unknown_42":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_44":-1265581833195802624}} 
[2026-06-18 15:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":105874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:46:31] local.INFO: GPS data processed {"connection_id":105874,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:46:31] local.INFO: Acknowledgment sent {"connection_id":105874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:46:36] local.INFO: TCP Data received {"connection_id":107615,"ip":"42.106.6.20","data_length":93,"data_hex":"00000000000000518e010000019eda3af348012d0c0a0007033fd0001000610b..."} 
[2026-06-18 15:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107615,"packet_length":93,"packet_hex":"00000000000000518e010000019eda3af348012d0c0a0007033fd0001000610b..."} 
[2026-06-18 15:46:36] local.INFO: Processing buffer {"connection_id":107615,"buffer_length":93,"buffer_hex":"00000000000000518e010000019eda3af348012d0c0a0007033fd0001000610b..."} 
[2026-06-18 15:46:36] local.INFO: Packet analysis {"connection_id":107615,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019eda3a"} 
[2026-06-18 15:46:36] local.INFO: Extracted packet for processing {"connection_id":107615,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019eda3a"} 
[2026-06-18 15:46:36] local.INFO: GPS Element Parsed {"raw_longitude":755763712,"raw_latitude":117653456,"longitude_deg":75.5763712,"latitude_deg":11.7653456,"altitude":16,"angle":97,"satellites":11,"speed":15,"hex_longitude":"2d0c0a00","hex_latitude":"07033fd0","is_valid_coordinates":true} 
[2026-06-18 15: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":93,"current_offset":40} 
[2026-06-18 15:46:36] 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-06-18 15:46:36] 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-06-18 15:46:36] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:46:36] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 15:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107615,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-18 15:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107615,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 15:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107615,"device_imei":"862567072573210","avl_records_count":0} 
[2026-06-18 15:46:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 15:46:36] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 15:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":107615,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 15:46:36] local.ERROR: GPS data processing failed {"connection_id":107615,"error":"No valid data to process"} 
[2026-06-18 15:46:36] local.INFO: Acknowledgment sent {"connection_id":107615,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 15:46:48] local.INFO: TCP Data received {"connection_id":106067,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:46:48] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:46:48] local.INFO: IMEI packet received {"connection_id":106067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":106067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:46:57] local.INFO: TCP Data received {"connection_id":106644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:57] local.INFO: Processing buffer {"connection_id":106644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:57] local.INFO: IMEI packet received {"connection_id":106644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":106644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:46:57] local.INFO: TCP Data received {"connection_id":106644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:57] local.INFO: Processing buffer {"connection_id":106644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:46:57] local.INFO: IMEI packet received {"connection_id":106644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":106644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:47:01] local.INFO: TCP Data received {"connection_id":106644,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106644,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:47:01] local.INFO: Processing buffer {"connection_id":106644,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:47:01] local.INFO: IMEI packet received {"connection_id":106644,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":106644,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:47:02] local.INFO: TCP Data received {"connection_id":106644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3b02e8012d0c108007033f68000f00550b..."} 
[2026-06-18 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3b02e8012d0c108007033f68000f00550b..."} 
[2026-06-18 15:47:02] local.INFO: Processing buffer {"connection_id":106644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3b02e8012d0c108007033f68000f00550b..."} 
[2026-06-18 15:47:02] local.INFO: Packet analysis {"connection_id":106644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:47:02] local.INFO: Extracted packet for processing {"connection_id":106644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:47:02] local.INFO: GPS Element Parsed {"raw_longitude":755765376,"raw_latitude":117653352,"longitude_deg":75.5765376,"latitude_deg":11.7653352,"altitude":15,"angle":85,"satellites":11,"speed":13,"hex_longitude":"2d0c1080","hex_latitude":"07033f68","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135105792001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21158907275640832,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867505908341526528,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781777761000,"timestamp_ms":1781777761000,"timestamp_seconds":1781777761,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3b02e8"} 
[2026-06-18 15:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:47: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-06-18 15: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":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 15:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135105792001,"66":14396,"37":206,"94":11008,"24":13,"16":21158907275640832,"45":867505908341526528},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135105792001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:47:02] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:47:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21158907275640832,"km_value":21158907275640.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":867505908341526528,"description":"Unknown IO ID 45"} 
[2026-06-18 15:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135105792001,"power":14396,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":867505908341526528}} 
[2026-06-18 15:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":106644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344702,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:47:03] local.INFO: GPS data processed {"connection_id":106644,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:47:03] local.INFO: Acknowledgment sent {"connection_id":106644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:47:03] local.INFO: TCP Data received {"connection_id":105874,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3aacf8012cee6fc0072e2d300036012928..."} 
[2026-06-18 15:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3aacf8012cee6fc0072e2d300036012928..."} 
[2026-06-18 15:47:03] local.INFO: Processing buffer {"connection_id":105874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3aacf8012cee6fc0072e2d300036012928..."} 
[2026-06-18 15:47:03] local.INFO: Packet analysis {"connection_id":105874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:47:03] local.INFO: Extracted packet for processing {"connection_id":105874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3a"} 
[2026-06-18 15:47:03] local.INFO: GPS Element Parsed {"raw_longitude":753823680,"raw_latitude":120466736,"longitude_deg":75.382368,"latitude_deg":12.0466736,"altitude":54,"angle":297,"satellites":40,"speed":0,"hex_longitude":"2cee6fc0","hex_latitude":"072e2d30","is_valid_coordinates":true} 
[2026-06-18 15:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135095808001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318607928217042944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1265581833195802624,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781777739000,"timestamp_ms":1781777739000,"timestamp_seconds":1781777739,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3aacf8"} 
[2026-06-18 15:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:47: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-06-18 15:47:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 15:47:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:47:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135095808001,"66":27919,"239":206,"2":56832,"24":0,"16":318607928217042944,"44":-1265581833195802624},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-06-18 15:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135095808001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:47:03] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 15:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318607928217042944,"km_value":318607928217042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1265581833195802624,"description":"Unknown IO ID 44"} 
[2026-06-18 15:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135095808001,"power":27919,"unknown_239":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1265581833195802624}} 
[2026-06-18 15:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":105874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:47:03] local.INFO: GPS data processed {"connection_id":105874,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:47:03] local.INFO: Acknowledgment sent {"connection_id":105874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:47:30] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:47:30] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:47:30] local.INFO: IMEI packet received {"connection_id":106068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:47:30] local.INFO: IMEI acknowledgment sent {"connection_id":106068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:47:33] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:47:33] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:47:33] local.INFO: IMEI packet received {"connection_id":106068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":106068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:47:34] local.INFO: TCP Data received {"connection_id":106644,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3c52d8012d0c374007035bf0001701650d..."} 
[2026-06-18 15:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3c52d8012d0c374007035bf0001701650d..."} 
[2026-06-18 15:47:34] local.INFO: Processing buffer {"connection_id":106644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3c52d8012d0c374007035bf0001701650d..."} 
[2026-06-18 15:47:34] local.INFO: Packet analysis {"connection_id":106644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:47:34] local.INFO: Extracted packet for processing {"connection_id":106644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":755775296,"raw_latitude":117660656,"longitude_deg":75.5775296,"latitude_deg":11.7660656,"altitude":23,"angle":357,"satellites":13,"speed":6,"hex_longitude":"2d0c3740","hex_latitude":"07035bf0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135127552001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159615945244672,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880172282295158784,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777847000,"timestamp_ms":1781777847000,"timestamp_seconds":1781777847,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3c52d8"} 
[2026-06-18 15:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:47:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 15:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106644,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135127552001,"66":14439,"37":206,"94":11008,"24":6,"16":21159615945244672,"45":880172282295158784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135127552001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:47:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:47:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159615945244672,"km_value":21159615945244.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":880172282295158784,"description":"Unknown IO ID 45"} 
[2026-06-18 15:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135127552001,"power":14439,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":880172282295158784}} 
[2026-06-18 15:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":106644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:47:34] local.INFO: GPS data processed {"connection_id":106644,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:47:34] local.INFO: Acknowledgment sent {"connection_id":106644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:47:35] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3b54f0012cee29c0072e24d8003c00f727..."} 
[2026-06-18 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3b54f0012cee29c0072e24d8003c00f727..."} 
[2026-06-18 15:47:35] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3b54f0012cee29c0072e24d8003c00f727..."} 
[2026-06-18 15:47:35] local.INFO: Packet analysis {"connection_id":106068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:47:35] local.INFO: Extracted packet for processing {"connection_id":106068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:47:35] local.INFO: GPS Element Parsed {"raw_longitude":753805760,"raw_latitude":120464600,"longitude_deg":75.380576,"latitude_deg":12.04646,"altitude":60,"angle":247,"satellites":39,"speed":31,"hex_longitude":"2cee29c0","hex_latitude":"072e24d8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135110400001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318608873109848064,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1279303738310678528,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781777782000,"timestamp_ms":1781777782000,"timestamp_seconds":1781777782,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3b54f0"} 
[2026-06-18 15:47:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:47: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-06-18 15:47:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 15:47:35] 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-06-18 15: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-06-18 15:47:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135110400001,"66":27865,"239":206,"2":56832,"24":31,"16":318608873109848064,"44":-1279303738310678528},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-06-18 15:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135110400001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:47:35] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 15:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318608873109848064,"km_value":318608873109848.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:47:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1279303738310678528,"description":"Unknown IO ID 44"} 
[2026-06-18 15:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135110400001,"power":27865,"unknown_239":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-1279303738310678528}} 
[2026-06-18 15:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":106068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:47:35] local.INFO: GPS data processed {"connection_id":106068,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:47:35] local.INFO: Acknowledgment sent {"connection_id":106068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:47:37] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3b7fe8012cee0600072e1798003d00fa25..."} 
[2026-06-18 15:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3b7fe8012cee0600072e1798003d00fa25..."} 
[2026-06-18 15:47:37] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3b7fe8012cee0600072e1798003d00fa25..."} 
[2026-06-18 15:47:37] local.INFO: Packet analysis {"connection_id":106068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:47:37] local.INFO: Extracted packet for processing {"connection_id":106068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:47:37] local.INFO: GPS Element Parsed {"raw_longitude":753796608,"raw_latitude":120461208,"longitude_deg":75.3796608,"latitude_deg":12.0461208,"altitude":61,"angle":250,"satellites":37,"speed":35,"hex_longitude":"2cee0600","hex_latitude":"072e1798","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135112192001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318609336966316032,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1285285081566095360,"note":"Value kept but may cause issues"} 
[2026-06-18 15:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781777793000,"timestamp_ms":1781777793000,"timestamp_seconds":1781777793,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3b7fe8"} 
[2026-06-18 15:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":217,"data_length":795,"current_offset":136} 
[2026-06-18 15:47: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-06-18 15: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-06-18 15:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135112192001,"66":27843,"239":206,"2":56832,"24":35,"16":318609336966316032,"44":-1285285081566095360},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-06-18 15:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135112192001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:47:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 15:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318609336966316032,"km_value":318609336966316.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:47:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1285285081566095360,"description":"Unknown IO ID 44"} 
[2026-06-18 15:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135112192001,"power":27843,"unknown_239":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-1285285081566095360}} 
[2026-06-18 15:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":106068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:47:37] local.INFO: GPS data processed {"connection_id":106068,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:47:37] local.INFO: Acknowledgment sent {"connection_id":106068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:47:56] local.INFO: TCP Data received {"connection_id":105877,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:47:56] local.INFO: Processing buffer {"connection_id":105877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:47:56] local.INFO: IMEI packet received {"connection_id":105877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":105877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:48:02] local.INFO: TCP Data received {"connection_id":105877,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105877,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:48:02] local.INFO: Processing buffer {"connection_id":105877,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:48:02] local.INFO: IMEI packet received {"connection_id":105877,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":105877,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:48:03] local.INFO: TCP Data received {"connection_id":105877,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3c6278012d0c378007035e80001700140d..."} 
[2026-06-18 15:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3c6278012d0c378007035e80001700140d..."} 
[2026-06-18 15:48:03] local.INFO: Processing buffer {"connection_id":105877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3c6278012d0c378007035e80001700140d..."} 
[2026-06-18 15:48:03] local.INFO: Packet analysis {"connection_id":105877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:48:03] local.INFO: Extracted packet for processing {"connection_id":105877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:48:03] local.INFO: GPS Element Parsed {"raw_longitude":755775360,"raw_latitude":117661312,"longitude_deg":75.577536,"latitude_deg":11.7661312,"altitude":23,"angle":20,"satellites":13,"speed":6,"hex_longitude":"2d0c3780","hex_latitude":"07035e80","is_valid_coordinates":true} 
[2026-06-18 15:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135128832001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159646010015744,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880242651039526912,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781777851000,"timestamp_ms":1781777851000,"timestamp_seconds":1781777851,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3c6278"} 
[2026-06-18 15:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:48: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-06-18 15:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135128832001,"66":14450,"37":206,"94":11008,"24":6,"16":21159646010015744,"45":880242651039526912},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135128832001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:48:03] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:48:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159646010015744,"km_value":21159646010015.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":880242651039526912,"description":"Unknown IO ID 45"} 
[2026-06-18 15:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135128832001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":880242651039526912}} 
[2026-06-18 15:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":105877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:48:03] local.INFO: GPS data processed {"connection_id":105877,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:48:03] local.INFO: Acknowledgment sent {"connection_id":105877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:48:08] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3baae0012cede200072e0b30004300fb28..."} 
[2026-06-18 15:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3baae0012cede200072e0b30004300fb28..."} 
[2026-06-18 15:48:08] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3baae0012cede200072e0b30004300fb28..."} 
[2026-06-18 15:48:08] local.INFO: Packet analysis {"connection_id":106068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:48:08] local.INFO: Extracted packet for processing {"connection_id":106068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:48:08] local.INFO: GPS Element Parsed {"raw_longitude":753787392,"raw_latitude":120458032,"longitude_deg":75.3787392,"latitude_deg":12.0458032,"altitude":67,"angle":251,"satellites":40,"speed":33,"hex_longitude":"2cede200","hex_latitude":"072e0b30","is_valid_coordinates":true} 
[2026-06-18 15:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135115008001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318609800822784000,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1295347811984369664,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781777804000,"timestamp_ms":1781777804000,"timestamp_seconds":1781777804,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3baae0"} 
[2026-06-18 15:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 15:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135115008001,"66":28028,"239":206,"2":56832,"24":33,"16":318609800822784000,"44":-1295347811984369664},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-06-18 15:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135115008001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:48:08] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 15:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318609800822784000,"km_value":318609800822784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:48:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1295347811984369664,"description":"Unknown IO ID 44"} 
[2026-06-18 15:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135115008001,"power":28028,"unknown_239":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-1295347811984369664}} 
[2026-06-18 15:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":106068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:48:08] local.INFO: GPS data processed {"connection_id":106068,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:48:08] local.INFO: Acknowledgment sent {"connection_id":106068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:48:24] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:24] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:24] local.INFO: IMEI packet received {"connection_id":105878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":105878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:48:27] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:27] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:27] local.INFO: IMEI packet received {"connection_id":105878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":105878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:48:34] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:34] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:48:34] local.INFO: IMEI packet received {"connection_id":105878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":105878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:48:34] local.INFO: TCP Data received {"connection_id":105877,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3c6660012d0c388007035f300018002a0d..."} 
[2026-06-18 15:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3c6660012d0c388007035f300018002a0d..."} 
[2026-06-18 15:48:34] local.INFO: Processing buffer {"connection_id":105877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3c6660012d0c388007035f300018002a0d..."} 
[2026-06-18 15:48:34] local.INFO: Packet analysis {"connection_id":105877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:48:34] local.INFO: Extracted packet for processing {"connection_id":105877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:48:34] local.INFO: GPS Element Parsed {"raw_longitude":755775616,"raw_latitude":117661488,"longitude_deg":75.5775616,"latitude_deg":11.7661488,"altitude":24,"angle":42,"satellites":13,"speed":7,"hex_longitude":"2d0c3880","hex_latitude":"07035f30","is_valid_coordinates":true} 
[2026-06-18 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:48:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159663189884928,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880313019783872512,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:48:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777852000,"timestamp_ms":1781777852000,"timestamp_seconds":1781777852,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3c6660"} 
[2026-06-18 15:48:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:48: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-06-18 15:48:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 15:48:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:48:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:48:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:48:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:48:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:48:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:48:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105877,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:48:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:48:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:48:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:48:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135129856001,"66":14559,"37":206,"94":11008,"24":7,"16":21159663189884928,"45":880313019783872512},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:48:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:48:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:48:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:48:34] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:48:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:48:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159663189884928,"km_value":21159663189884.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:48:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":880313019783872512,"description":"Unknown IO ID 45"} 
[2026-06-18 15:48:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135129856001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":880313019783872512}} 
[2026-06-18 15:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":105877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344709,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:48:34] local.INFO: GPS data processed {"connection_id":105877,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:48:34] local.INFO: Acknowledgment sent {"connection_id":105877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:48:39] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3bd5d8012cedbf00072dfe68004700f928..."} 
[2026-06-18 15:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3bd5d8012cedbf00072dfe68004700f928..."} 
[2026-06-18 15:48:39] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3bd5d8012cedbf00072dfe68004700f928..."} 
[2026-06-18 15:48:39] local.INFO: Packet analysis {"connection_id":105878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:48:39] local.INFO: Extracted packet for processing {"connection_id":105878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3b"} 
[2026-06-18 15:48:39] local.INFO: GPS Element Parsed {"raw_longitude":753778432,"raw_latitude":120454760,"longitude_deg":75.3778432,"latitude_deg":12.045476,"altitude":71,"angle":249,"satellites":40,"speed":33,"hex_longitude":"2cedbf00","hex_latitude":"072dfe68","is_valid_coordinates":true} 
[2026-06-18 15:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135117824001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318610256089317376,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1305480911146766336,"note":"Value kept but may cause issues"} 
[2026-06-18 15:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781777815000,"timestamp_ms":1781777815000,"timestamp_seconds":1781777815,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3bd5d8"} 
[2026-06-18 15:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 15:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135117824001,"66":28028,"239":206,"2":56832,"24":33,"16":318610256089317376,"44":-1305480911146766336},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,2,24,16,44]} 
[2026-06-18 15:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135117824001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:48:39] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-06-18 15:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318610256089317376,"km_value":318610256089317.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:48:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1305480911146766336,"description":"Unknown IO ID 44"} 
[2026-06-18 15:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135117824001,"power":28028,"unknown_239":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-1305480911146766336}} 
[2026-06-18 15:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":105878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:48:39] local.INFO: GPS data processed {"connection_id":105878,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:48:39] local.INFO: Acknowledgment sent {"connection_id":105878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:49:01] local.INFO: TCP Data received {"connection_id":106646,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:01] local.INFO: Processing buffer {"connection_id":106646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:01] local.INFO: IMEI packet received {"connection_id":106646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":106646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:49:04] local.INFO: TCP Data received {"connection_id":105878,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3c00d0012ced9e00072df170004a00f52b..."} 
[2026-06-18 15:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3c00d0012ced9e00072df170004a00f52b..."} 
[2026-06-18 15:49:04] local.INFO: Processing buffer {"connection_id":105878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3c00d0012ced9e00072df170004a00f52b..."} 
[2026-06-18 15:49:04] local.INFO: Packet analysis {"connection_id":105878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:04] local.INFO: Extracted packet for processing {"connection_id":105878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:04] local.INFO: GPS Element Parsed {"raw_longitude":753769984,"raw_latitude":120451440,"longitude_deg":75.3769984,"latitude_deg":12.045144,"altitude":74,"angle":245,"satellites":43,"speed":31,"hex_longitude":"2ced9e00","hex_latitude":"072df170","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135120640001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318610685586046976,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1315332535332476928,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781777826000,"timestamp_ms":1781777826000,"timestamp_seconds":1781777826,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3c00d0"} 
[2026-06-18 15:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:49: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-06-18 15: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 15:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135120640001,"66":27930,"18":206,"2":56832,"24":31,"16":318610685586046976,"44":-1315332535332476928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,2,24,16,44]} 
[2026-06-18 15:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135120640001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:49:04] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 15:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318610685586046976,"km_value":318610685586047.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:49:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1315332535332476928,"description":"Unknown IO ID 44"} 
[2026-06-18 15:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135120640001,"power":27930,"unknown_18":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-1315332535332476928}} 
[2026-06-18 15:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":105878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:49:04] local.INFO: GPS data processed {"connection_id":105878,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:49:04] local.INFO: Acknowledgment sent {"connection_id":105878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:49:06] local.INFO: TCP Data received {"connection_id":106646,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106646,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:06] local.INFO: Processing buffer {"connection_id":106646,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:06] local.INFO: IMEI packet received {"connection_id":106646,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":106646,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:49:06] local.INFO: TCP Data received {"connection_id":106646,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3c6e30012d0c39c0070360380018003f0d..."} 
[2026-06-18 15:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3c6e30012d0c39c0070360380018003f0d..."} 
[2026-06-18 15:49:06] local.INFO: Processing buffer {"connection_id":106646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3c6e30012d0c39c0070360380018003f0d..."} 
[2026-06-18 15:49:06] local.INFO: Packet analysis {"connection_id":106646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:06] local.INFO: Extracted packet for processing {"connection_id":106646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:06] local.INFO: GPS Element Parsed {"raw_longitude":755775936,"raw_latitude":117661752,"longitude_deg":75.5775936,"latitude_deg":11.7661752,"altitude":24,"angle":63,"satellites":13,"speed":7,"hex_longitude":"2d0c39c0","hex_latitude":"07036038","is_valid_coordinates":true} 
[2026-06-18 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135130112001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159680369754112,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880594494760628224,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781777854000,"timestamp_ms":1781777854000,"timestamp_seconds":1781777854,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3c6e30"} 
[2026-06-18 15:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15: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-06-18 15:49:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 15:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:49:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135130112001,"66":14559,"37":206,"94":11008,"24":7,"16":21159680369754112,"45":880594494760628224},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135130112001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:49:06] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:49:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159680369754112,"km_value":21159680369754.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":880594494760628224,"description":"Unknown IO ID 45"} 
[2026-06-18 15:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135130112001,"power":14559,"unknown_37":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":880594494760628224}} 
[2026-06-18 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":106646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:49:07] local.INFO: GPS data processed {"connection_id":106646,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:49:07] local.INFO: Acknowledgment sent {"connection_id":106646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:49:07] local.INFO: TCP Data received {"connection_id":106646,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3c9d10012d0c48c0070366180019004c0d..."} 
[2026-06-18 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3c9d10012d0c48c0070366180019004c0d..."} 
[2026-06-18 15:49:07] local.INFO: Processing buffer {"connection_id":106646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3c9d10012d0c48c0070366180019004c0d..."} 
[2026-06-18 15:49:07] local.INFO: Packet analysis {"connection_id":106646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:07] local.INFO: Extracted packet for processing {"connection_id":106646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":755779776,"raw_latitude":117663256,"longitude_deg":75.5779776,"latitude_deg":11.7663256,"altitude":25,"angle":76,"satellites":13,"speed":20,"hex_longitude":"2d0c48c0","hex_latitude":"07036618","is_valid_coordinates":true} 
[2026-06-18 15:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135130624001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159877938249728,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880946338481584128,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781777866000,"timestamp_ms":1781777866000,"timestamp_seconds":1781777866,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3c9d10"} 
[2026-06-18 15:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 15:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135130624001,"66":14580,"37":206,"94":11008,"24":20,"16":21159877938249728,"45":880946338481584128},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135130624001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:49:07] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:49:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159877938249728,"km_value":21159877938249.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":880946338481584128,"description":"Unknown IO ID 45"} 
[2026-06-18 15:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135130624001,"power":14580,"unknown_37":206,"unknown_94":11008,"ignition":20,"odometer":null,"unknown_45":880946338481584128}} 
[2026-06-18 15:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":106646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344713,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:49:07] local.INFO: GPS data processed {"connection_id":106646,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:49:07] local.INFO: Acknowledgment sent {"connection_id":106646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:49:20] local.INFO: TCP Data received {"connection_id":106645,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:20] local.INFO: Processing buffer {"connection_id":106645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:20] local.INFO: IMEI packet received {"connection_id":106645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":106645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:49:21] local.INFO: TCP Data received {"connection_id":106645,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3dc208012d18e18007214cc0003c01241f..."} 
[2026-06-18 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3dc208012d18e18007214cc0003c01241f..."} 
[2026-06-18 15:49:21] local.INFO: Processing buffer {"connection_id":106645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3dc208012d18e18007214cc0003c01241f..."} 
[2026-06-18 15:49:21] local.INFO: Packet analysis {"connection_id":106645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3d"} 
[2026-06-18 15:49:21] local.INFO: Extracted packet for processing {"connection_id":106645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3d"} 
[2026-06-18 15:49:21] local.INFO: GPS Element Parsed {"raw_longitude":756605312,"raw_latitude":119622848,"longitude_deg":75.6605312,"latitude_deg":11.9622848,"altitude":60,"angle":292,"satellites":31,"speed":9,"hex_longitude":"2d18e180","hex_latitude":"07214cc0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135148288001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3293612850806784,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800665825385523200,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781777941000,"timestamp_ms":1781777941000,"timestamp_seconds":1781777941,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3dc208"} 
[2026-06-18 15:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:49:21] 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-06-18 15: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 15:49:21] 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-06-18 15: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-06-18 15:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135148288001,"66":14298,"121":206,"28":31744,"24":9,"16":3293612850806784,"45":1800665825385523200},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135148288001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:49:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:49:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3293612850806784,"km_value":3293612850806.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800665825385523200,"description":"Unknown IO ID 45"} 
[2026-06-18 15:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135148288001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1800665825385523200}} 
[2026-06-18 15:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":106645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:49:21] local.INFO: GPS data processed {"connection_id":106645,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:49:21] local.INFO: Acknowledgment sent {"connection_id":106645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:49:24] local.INFO: TCP Data received {"connection_id":106647,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:24] local.INFO: Processing buffer {"connection_id":106647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:24] local.INFO: IMEI packet received {"connection_id":106647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":106647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:49:29] local.INFO: TCP Data received {"connection_id":106647,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:29] local.INFO: Processing buffer {"connection_id":106647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:29] local.INFO: IMEI packet received {"connection_id":106647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":106647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:49:29] local.INFO: TCP Data received {"connection_id":106647,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:29] local.INFO: Processing buffer {"connection_id":106647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:49:29] local.INFO: IMEI packet received {"connection_id":106647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":106647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:49:39] local.INFO: TCP Data received {"connection_id":106646,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3cb098012d0c5180070367e8001a00400d..."} 
[2026-06-18 15:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3cb098012d0c5180070367e8001a00400d..."} 
[2026-06-18 15:49:39] local.INFO: Processing buffer {"connection_id":106646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3cb098012d0c5180070367e8001a00400d..."} 
[2026-06-18 15:49:39] local.INFO: Packet analysis {"connection_id":106646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:39] local.INFO: Extracted packet for processing {"connection_id":106646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:39] local.INFO: GPS Element Parsed {"raw_longitude":755782016,"raw_latitude":117663720,"longitude_deg":75.5782016,"latitude_deg":11.766372,"altitude":26,"angle":64,"satellites":13,"speed":13,"hex_longitude":"2d0c5180","hex_latitude":"070367e8","is_valid_coordinates":true} 
[2026-06-18 15:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135133696001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21159989607399424,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":885168463132628992,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781777871000,"timestamp_ms":1781777871000,"timestamp_seconds":1781777871,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3cb098"} 
[2026-06-18 15:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-18 15:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106646,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135133696001,"66":14450,"37":206,"94":11008,"24":13,"16":21159989607399424,"45":885168463132628992},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,94,24,16,45]} 
[2026-06-18 15:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135133696001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:49:39] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-06-18 15:49:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21159989607399424,"km_value":21159989607399.426,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":885168463132628992,"description":"Unknown IO ID 45"} 
[2026-06-18 15:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135133696001,"power":14450,"unknown_37":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":885168463132628992}} 
[2026-06-18 15:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":106646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344715,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:49:39] local.INFO: GPS data processed {"connection_id":106646,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:49:39] local.INFO: Acknowledgment sent {"connection_id":106646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:49:42] local.INFO: TCP Data received {"connection_id":106647,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3c2010012ced8d40072de920004900e829..."} 
[2026-06-18 15:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3c2010012ced8d40072de920004900e829..."} 
[2026-06-18 15:49:42] local.INFO: Processing buffer {"connection_id":106647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3c2010012ced8d40072de920004900e829..."} 
[2026-06-18 15:49:42] local.INFO: Packet analysis {"connection_id":106647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:42] local.INFO: Extracted packet for processing {"connection_id":106647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3c"} 
[2026-06-18 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":753765696,"raw_latitude":120449312,"longitude_deg":75.3765696,"latitude_deg":12.0449312,"altitude":73,"angle":232,"satellites":41,"speed":24,"hex_longitude":"2ced8d40","hex_latitude":"072de920","is_valid_coordinates":true} 
[2026-06-18 15:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135123456001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318610913219313664,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1324621209564778496,"note":"Value kept but may cause issues"} 
[2026-06-18 15:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781777834000,"timestamp_ms":1781777834000,"timestamp_seconds":1781777834,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3c2010"} 
[2026-06-18 15:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 15:49:42] 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-06-18 15:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135123456001,"66":27767,"18":206,"2":56832,"24":24,"16":318610913219313664,"44":-1324621209564778496},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,2,24,16,44]} 
[2026-06-18 15:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135123456001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:49:42] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-06-18 15:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318610913219313664,"km_value":318610913219313.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:49:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1324621209564778496,"description":"Unknown IO ID 44"} 
[2026-06-18 15:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135123456001,"power":27767,"unknown_18":206,"power_alt":56832,"ignition":24,"odometer":null,"unknown_44":-1324621209564778496}} 
[2026-06-18 15:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":106647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:49:42] local.INFO: GPS data processed {"connection_id":106647,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:49:42] local.INFO: Acknowledgment sent {"connection_id":106647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:49:52] local.INFO: TCP Data received {"connection_id":105879,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:52] local.INFO: Processing buffer {"connection_id":105879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:52] local.INFO: IMEI packet received {"connection_id":105879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":105879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:49:54] local.INFO: TCP Data received {"connection_id":105879,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:54] local.INFO: Processing buffer {"connection_id":105879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:49:54] local.INFO: IMEI packet received {"connection_id":105879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":105879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:49:56] local.INFO: TCP Data received {"connection_id":105880,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:56] local.INFO: Processing buffer {"connection_id":105880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:49:56] local.INFO: IMEI packet received {"connection_id":105880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":105880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:50:00] local.INFO: TCP Data received {"connection_id":105879,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:00] local.INFO: Processing buffer {"connection_id":105879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:00] local.INFO: IMEI packet received {"connection_id":105879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":105879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:50:02] local.INFO: TCP Data received {"connection_id":105879,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3e3b20012d18c900072137f8003b009620..."} 
[2026-06-18 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3e3b20012d18c900072137f8003b009620..."} 
[2026-06-18 15:50:02] local.INFO: Processing buffer {"connection_id":105879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3e3b20012d18c900072137f8003b009620..."} 
[2026-06-18 15:50:02] local.INFO: Packet analysis {"connection_id":105879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:02] local.INFO: Extracted packet for processing {"connection_id":105879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756599040,"raw_latitude":119617528,"longitude_deg":75.659904,"latitude_deg":11.9617528,"altitude":59,"angle":150,"satellites":32,"speed":32,"hex_longitude":"2d18c900","hex_latitude":"072137f8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135160320001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294330110345216,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785184701665619968,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781777972000,"timestamp_ms":1781777972000,"timestamp_seconds":1781777972,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3e3b20"} 
[2026-06-18 15:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:50:02] 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-06-18 15: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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3661486456,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":179,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249593696749964896,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":33,"raw_value":5890708574613544960,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":32,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3014197248,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":12,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":61,"raw_value":-3057942853782208505,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:02] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,180,23,45,128,79,62,31,10,66,179,20,81,64,1,240,5,218,33,4,113,205,7,229,216,184,32,239,56,2,11,14,12,61,13,231],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 15:50:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251577406074126336,"timestamp_seconds":4251577406074126.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135160320001,"66":12461,"121":206,"28":31744,"24":32,"16":3294330110345216,"45":1785184701665619968},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135160320001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:50:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:50:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294330110345216,"km_value":3294330110345.216,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785184701665619968,"description":"Unknown IO ID 45"} 
[2026-06-18 15:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135160320001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1785184701665619968}} 
[2026-06-18 15:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":105879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:50:02] local.INFO: GPS data processed {"connection_id":105879,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:50:02] local.INFO: Acknowledgment sent {"connection_id":105879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:50:02] local.INFO: TCP Data received {"connection_id":105880,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105880,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:02] local.INFO: Processing buffer {"connection_id":105880,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:02] local.INFO: IMEI packet received {"connection_id":105880,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":105880,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:50:03] local.INFO: TCP Data received {"connection_id":105880,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3e6618012d0c6dc00703dd50001b01460d..."} 
[2026-06-18 15:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3e6618012d0c6dc00703dd50001b01460d..."} 
[2026-06-18 15:50:03] local.INFO: Processing buffer {"connection_id":105880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3e6618012d0c6dc00703dd50001b01460d..."} 
[2026-06-18 15:50:03] local.INFO: Packet analysis {"connection_id":105880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:03] local.INFO: Extracted packet for processing {"connection_id":105880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":755789248,"raw_latitude":117693776,"longitude_deg":75.5789248,"latitude_deg":11.7693776,"altitude":27,"angle":326,"satellites":13,"speed":10,"hex_longitude":"2d0c6dc0","hex_latitude":"0703dd50","is_valid_coordinates":true} 
[2026-06-18 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135163392001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161617400004608,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895864512255389696,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781777983000,"timestamp_ms":1781777983000,"timestamp_seconds":1781777983,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3e6618"} 
[2026-06-18 15:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-18 15:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135163392001,"66":13722,"16":21161617400004608,"94":11008,"24":10,"45":895864512255389696},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 15:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135163392001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161617400004608,"km_value":21161617400004.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:50:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":895864512255389696,"description":"Unknown IO ID 45"} 
[2026-06-18 15:50:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456135163392001,"power":13722,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":895864512255389696}} 
[2026-06-18 15:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":105880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:50:03] local.INFO: GPS data processed {"connection_id":105880,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:50:03] local.INFO: Acknowledgment sent {"connection_id":105880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:50:05] local.INFO: TCP Data received {"connection_id":105879,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3e5290012d18d28007212798003a00a420..."} 
[2026-06-18 15:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3e5290012d18d28007212798003a00a420..."} 
[2026-06-18 15:50:05] local.INFO: Processing buffer {"connection_id":105879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3e5290012d18d28007212798003a00a420..."} 
[2026-06-18 15:50:05] local.INFO: Packet analysis {"connection_id":105879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:05] local.INFO: Extracted packet for processing {"connection_id":105879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119613336,"longitude_deg":75.6601472,"latitude_deg":11.9613336,"altitude":58,"angle":164,"satellites":32,"speed":32,"hex_longitude":"2d18d280","hex_latitude":"07212798","is_valid_coordinates":true} 
[2026-06-18 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135160832001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294566333546496,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785958757851199488,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781777978000,"timestamp_ms":1781777978000,"timestamp_seconds":1781777978,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3e5290"} 
[2026-06-18 15:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:50:05] 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-06-18 15:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 15:50:05] 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-06-18 15:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135160832001,"66":13048,"121":206,"28":31744,"24":32,"16":3294566333546496,"45":1785958757851199488},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135160832001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294566333546496,"km_value":3294566333546.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785958757851199488,"description":"Unknown IO ID 45"} 
[2026-06-18 15:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135160832001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1785958757851199488}} 
[2026-06-18 15:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":105879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:50:05] local.INFO: GPS data processed {"connection_id":105879,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:50:05] local.INFO: Acknowledgment sent {"connection_id":105879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:50:29] local.INFO: TCP Data received {"connection_id":107618,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:29] local.INFO: Processing buffer {"connection_id":107618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:29] local.INFO: IMEI packet received {"connection_id":107618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":107618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:50:30] local.INFO: TCP Data received {"connection_id":107618,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:30] local.INFO: Processing buffer {"connection_id":107618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:30] local.INFO: IMEI packet received {"connection_id":107618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:50:30] local.INFO: IMEI acknowledgment sent {"connection_id":107618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:50:34] local.INFO: TCP Data received {"connection_id":105880,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3e6a00012d0c6d400703de18001b01350d..."} 
[2026-06-18 15:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3e6a00012d0c6d400703de18001b01350d..."} 
[2026-06-18 15:50:34] local.INFO: Processing buffer {"connection_id":105880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3e6a00012d0c6d400703de18001b01350d..."} 
[2026-06-18 15:50:34] local.INFO: Packet analysis {"connection_id":105880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:34] local.INFO: Extracted packet for processing {"connection_id":105880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:34] local.INFO: GPS Element Parsed {"raw_longitude":755789120,"raw_latitude":117693976,"longitude_deg":75.578912,"latitude_deg":11.7693976,"altitude":27,"angle":309,"satellites":13,"speed":10,"hex_longitude":"2d0c6d40","hex_latitude":"0703de18","is_valid_coordinates":true} 
[2026-06-18 15:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135163648001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161630284906496,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895583037278736384,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781777984000,"timestamp_ms":1781777984000,"timestamp_seconds":1781777984,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3e6a00"} 
[2026-06-18 15:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:50: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-06-18 15:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-18 15:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105880,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135163648001,"66":13722,"16":21161630284906496,"94":11008,"24":10,"45":895583037278736384},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 15:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135163648001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161630284906496,"km_value":21161630284906.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:50:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":895583037278736384,"description":"Unknown IO ID 45"} 
[2026-06-18 15:50:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456135163648001,"power":13722,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":895583037278736384}} 
[2026-06-18 15:50:35] local.INFO: DEBUG: GPS processor result {"connection_id":105880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:50:35] local.INFO: GPS data processed {"connection_id":105880,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:50:35] local.INFO: Acknowledgment sent {"connection_id":105880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:50:35] local.INFO: TCP Data received {"connection_id":107618,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:35] local.INFO: Processing buffer {"connection_id":107618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:50:35] local.INFO: IMEI packet received {"connection_id":107618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:50:35] local.INFO: IMEI acknowledgment sent {"connection_id":107618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:50:37] local.INFO: TCP Data received {"connection_id":107618,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3ded00012cec0e40072d68880034010d25..."} 
[2026-06-18 15:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3ded00012cec0e40072d68880034010d25..."} 
[2026-06-18 15:50:37] local.INFO: Processing buffer {"connection_id":107618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3ded00012cec0e40072d68880034010d25..."} 
[2026-06-18 15:50:37] local.INFO: Packet analysis {"connection_id":107618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3d"} 
[2026-06-18 15:50:37] local.INFO: Extracted packet for processing {"connection_id":107618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3d"} 
[2026-06-18 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":753667648,"raw_latitude":120416392,"longitude_deg":75.3667648,"latitude_deg":12.0416392,"altitude":52,"angle":269,"satellites":37,"speed":34,"hex_longitude":"2cec0e40","hex_latitude":"072d6888","is_valid_coordinates":true} 
[2026-06-18 15:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135153152001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318615912561246208,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426726257375344640,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781777952000,"timestamp_ms":1781777952000,"timestamp_seconds":1781777952,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3ded00"} 
[2026-06-18 15:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:50:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 15:50: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-06-18 15:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135153152001,"66":27832,"12":206,"2":56832,"24":34,"16":318615912561246208,"44":-1426726257375344640},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 15:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135153152001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:50:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 15:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318615912561246208,"km_value":318615912561246.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:50:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1426726257375344640,"description":"Unknown IO ID 44"} 
[2026-06-18 15:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135153152001,"power":27832,"unknown_12":206,"power_alt":56832,"ignition":34,"odometer":null,"unknown_44":-1426726257375344640}} 
[2026-06-18 15:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":107618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:50:37] local.INFO: GPS data processed {"connection_id":107618,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:50:37] local.INFO: Acknowledgment sent {"connection_id":107618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:50:39] local.INFO: TCP Data received {"connection_id":107618,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3e23b0012cebe840072d6ab80033011227..."} 
[2026-06-18 15:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3e23b0012cebe840072d6ab80033011227..."} 
[2026-06-18 15:50:39] local.INFO: Processing buffer {"connection_id":107618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3e23b0012cebe840072d6ab80033011227..."} 
[2026-06-18 15:50:39] local.INFO: Packet analysis {"connection_id":107618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:39] local.INFO: Extracted packet for processing {"connection_id":107618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:39] local.INFO: GPS Element Parsed {"raw_longitude":753657920,"raw_latitude":120416952,"longitude_deg":75.365792,"latitude_deg":12.0416952,"altitude":51,"angle":274,"satellites":39,"speed":28,"hex_longitude":"2cebe840","hex_latitude":"072d6ab8","is_valid_coordinates":true} 
[2026-06-18 15:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135155712001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318616376417714176,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1437140831513835520,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781777966000,"timestamp_ms":1781777966000,"timestamp_seconds":1781777966,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3e23b0"} 
[2026-06-18 15:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 15:50:39] 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-06-18 15:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135155712001,"66":27800,"12":206,"2":56832,"24":28,"16":318616376417714176,"44":-1437140831513835520},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-06-18 15:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135155712001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:50:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 15:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318616376417714176,"km_value":318616376417714.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:50:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1437140831513835520,"description":"Unknown IO ID 44"} 
[2026-06-18 15:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135155712001,"power":27800,"unknown_12":206,"power_alt":56832,"ignition":28,"odometer":null,"unknown_44":-1437140831513835520}} 
[2026-06-18 15:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":107618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:50:39] local.INFO: GPS data processed {"connection_id":107618,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:50:39] local.INFO: Acknowledgment sent {"connection_id":107618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:50:44] local.INFO: TCP Data received {"connection_id":106648,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:44] local.INFO: Processing buffer {"connection_id":106648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:44] local.INFO: IMEI packet received {"connection_id":106648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":106648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:50:50] local.INFO: TCP Data received {"connection_id":106648,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106648,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:50] local.INFO: Processing buffer {"connection_id":106648,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:50:50] local.INFO: IMEI packet received {"connection_id":106648,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":106648,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:50:53] local.INFO: TCP Data received {"connection_id":106648,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3e5a60012d18d38007212150003900b020..."} 
[2026-06-18 15:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3e5a60012d18d38007212150003900b020..."} 
[2026-06-18 15:50:53] local.INFO: Processing buffer {"connection_id":106648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3e5a60012d18d38007212150003900b020..."} 
[2026-06-18 15:50:53] local.INFO: Packet analysis {"connection_id":106648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:53] local.INFO: Extracted packet for processing {"connection_id":106648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119611728,"longitude_deg":75.6601728,"latitude_deg":11.9611728,"altitude":57,"angle":176,"satellites":32,"speed":32,"hex_longitude":"2d18d380","hex_latitude":"07212150","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135162368001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294643642957824,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128877568,"note":"Value kept but may cause issues"} 
[2026-06-18 15:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781777980000,"timestamp_ms":1781777980000,"timestamp_seconds":1781777980,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3e5a60"} 
[2026-06-18 15:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:50:53] 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-06-18 15: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 15:50:53] 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-06-18 15: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-06-18 15:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135162368001,"66":13015,"121":206,"28":31744,"24":32,"16":3294643642957824,"45":1788632770128877568},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135162368001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:50:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:50:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294643642957824,"km_value":3294643642957.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128877568,"description":"Unknown IO ID 45"} 
[2026-06-18 15:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135162368001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1788632770128877568}} 
[2026-06-18 15:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":106648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:50:53] local.INFO: GPS data processed {"connection_id":106648,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:50:53] local.INFO: Acknowledgment sent {"connection_id":106648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:50:57] local.INFO: TCP Data received {"connection_id":106070,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:57] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:57] local.INFO: IMEI packet received {"connection_id":106070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":106070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:50:57] local.INFO: TCP Data received {"connection_id":106070,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:57] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:50:57] local.INFO: IMEI packet received {"connection_id":106070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":106070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:51:01] local.INFO: TCP Data received {"connection_id":106070,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:01] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:01] local.INFO: IMEI packet received {"connection_id":106070,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":106070,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:51:02] local.INFO: TCP Data received {"connection_id":106070,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3e6de8012d0c6bc00703de80001b01140d..."} 
[2026-06-18 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3e6de8012d0c6bc00703de80001b01140d..."} 
[2026-06-18 15:51:02] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3e6de8012d0c6bc00703de80001b01140d..."} 
[2026-06-18 15:51:02] local.INFO: Packet analysis {"connection_id":106070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:51:02] local.INFO: Extracted packet for processing {"connection_id":106070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:51:02] local.INFO: GPS Element Parsed {"raw_longitude":755788736,"raw_latitude":117694080,"longitude_deg":75.5788736,"latitude_deg":11.769408,"altitude":27,"angle":276,"satellites":13,"speed":10,"hex_longitude":"2d0c6bc0","hex_latitude":"0703de80","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135163904001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161647464775680,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895442299790432256,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781777985000,"timestamp_ms":1781777985000,"timestamp_seconds":1781777985,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3e6de8"} 
[2026-06-18 15:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:51: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-06-18 15:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-06-18 15:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135163904001,"66":14580,"16":21161647464775680,"94":11008,"24":10,"45":895442299790432256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 15:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135163904001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161647464775680,"km_value":21161647464775.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:51:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":895442299790432256,"description":"Unknown IO ID 45"} 
[2026-06-18 15:51:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456135163904001,"power":14580,"odometer":null,"unknown_94":11008,"ignition":10,"unknown_45":895442299790432256}} 
[2026-06-18 15:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":106070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:51:02] local.INFO: GPS data processed {"connection_id":106070,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:51:02] local.INFO: Acknowledgment sent {"connection_id":106070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:51:07] local.INFO: TCP Data received {"connection_id":106070,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3ebff0012d0c57c00703e1f0001b01140d..."} 
[2026-06-18 15:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3ebff0012d0c57c00703e1f0001b01140d..."} 
[2026-06-18 15:51:07] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3ebff0012d0c57c00703e1f0001b01140d..."} 
[2026-06-18 15:51:07] local.INFO: Packet analysis {"connection_id":106070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:51:07] local.INFO: Extracted packet for processing {"connection_id":106070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:51:07] local.INFO: GPS Element Parsed {"raw_longitude":755783616,"raw_latitude":117694960,"longitude_deg":75.5783616,"latitude_deg":11.769496,"altitude":27,"angle":276,"satellites":13,"speed":1,"hex_longitude":"2d0c57c0","hex_latitude":"0703e1f0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135164160001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21161896572878848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895020087325392896,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781778006000,"timestamp_ms":1781778006000,"timestamp_seconds":1781778006,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3ebff0"} 
[2026-06-18 15:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":56,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-18 15:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2674,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135164160001,"66":14396,"16":21161896572878848,"94":11008,"24":1,"45":895020087325392896},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 15:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135164160001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21161896572878848,"km_value":21161896572878.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:51:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":895020087325392896,"description":"Unknown IO ID 45"} 
[2026-06-18 15:51:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456135164160001,"power":14396,"odometer":null,"unknown_94":11008,"ignition":1,"unknown_45":895020087325392896}} 
[2026-06-18 15:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":106070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344725,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:51:07] local.INFO: GPS data processed {"connection_id":106070,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:51:07] local.INFO: Acknowledgment sent {"connection_id":106070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:51:25] local.INFO: TCP Data received {"connection_id":105881,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:51:25] local.INFO: Processing buffer {"connection_id":105881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:51:25] local.INFO: IMEI packet received {"connection_id":105881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":105881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:51:25] local.INFO: TCP Data received {"connection_id":106648,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3e75b8012d18d38007211070003700a320..."} 
[2026-06-18 15:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3e75b8012d18d38007211070003700a320..."} 
[2026-06-18 15:51:25] local.INFO: Processing buffer {"connection_id":106648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3e75b8012d18d38007211070003700a320..."} 
[2026-06-18 15:51:25] local.INFO: Packet analysis {"connection_id":106648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:51:25] local.INFO: Extracted packet for processing {"connection_id":106648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119607408,"longitude_deg":75.6601728,"latitude_deg":11.9607408,"altitude":55,"angle":163,"satellites":32,"speed":9,"hex_longitude":"2d18d380","hex_latitude":"07211070","is_valid_coordinates":true} 
[2026-06-18 15:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135162880001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294854096355328,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245105176576,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781777987000,"timestamp_ms":1781777987000,"timestamp_seconds":1781777987,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3e75b8"} 
[2026-06-18 15:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:51:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8448,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:51:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 15:51: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-06-18 15:51:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106648,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135162880001,"66":13015,"121":206,"28":31744,"24":9,"16":3294854096355328,"45":1788914245105176576},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135162880001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:51:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:51:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294854096355328,"km_value":3294854096355.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245105176576,"description":"Unknown IO ID 45"} 
[2026-06-18 15:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135162880001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1788914245105176576}} 
[2026-06-18 15:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":106648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:51:25] local.INFO: GPS data processed {"connection_id":106648,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:51:25] local.INFO: Acknowledgment sent {"connection_id":106648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:51:31] local.INFO: TCP Data received {"connection_id":105881,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:51:31] local.INFO: Processing buffer {"connection_id":105881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:51:31] local.INFO: IMEI packet received {"connection_id":105881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:51:31] local.INFO: IMEI acknowledgment sent {"connection_id":105881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:51:32] local.INFO: TCP Data received {"connection_id":105881,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105881,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:51:32] local.INFO: Processing buffer {"connection_id":105881,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:51:32] local.INFO: IMEI packet received {"connection_id":105881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":105881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:51:38] local.INFO: TCP Data received {"connection_id":106070,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3fd930012d0cba8007047cb8002501620d..."} 
[2026-06-18 15:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3fd930012d0cba8007047cb8002501620d..."} 
[2026-06-18 15:51:38] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3fd930012d0cba8007047cb8002501620d..."} 
[2026-06-18 15:51:38] local.INFO: Packet analysis {"connection_id":106070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:51:38] local.INFO: Extracted packet for processing {"connection_id":106070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:51:38] local.INFO: GPS Element Parsed {"raw_longitude":755808896,"raw_latitude":117734584,"longitude_deg":75.5808896,"latitude_deg":11.7734584,"altitude":37,"angle":354,"satellites":13,"speed":34,"hex_longitude":"2d0cba80","hex_latitude":"07047cb8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:51:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135185664001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21164275984760832,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916130710586984448,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:51:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781778078000,"timestamp_ms":1781778078000,"timestamp_seconds":1781778078,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3fd930"} 
[2026-06-18 15:51:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:51:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 15:51:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:51:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:51:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:51:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:51:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:51:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106070,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:51:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:51:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:51:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:51:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135185664001,"66":14559,"16":21164275984760832,"94":11008,"24":34,"45":916130710586984448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 15:51:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:51:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:51:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135185664001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:51:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21164275984760832,"km_value":21164275984760.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:51:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:51:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":916130710586984448,"description":"Unknown IO ID 45"} 
[2026-06-18 15:51:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456135185664001,"power":14559,"odometer":null,"unknown_94":11008,"ignition":34,"unknown_45":916130710586984448}} 
[2026-06-18 15:51:38] local.INFO: DEBUG: GPS processor result {"connection_id":106070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344727,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:51:38] local.INFO: GPS data processed {"connection_id":106070,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:51:38] local.INFO: Acknowledgment sent {"connection_id":106070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:51:44] local.INFO: TCP Data received {"connection_id":105882,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:51:44] local.INFO: Processing buffer {"connection_id":105882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:51:44] local.INFO: IMEI packet received {"connection_id":105882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":105882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:51:49] local.INFO: TCP Data received {"connection_id":105882,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:51:49] local.INFO: Processing buffer {"connection_id":105882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:51:49] local.INFO: IMEI packet received {"connection_id":105882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":105882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:51:50] local.INFO: TCP Data received {"connection_id":105882,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3ec7c0012d18d44007210f400038009d20..."} 
[2026-06-18 15:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3ec7c0012d18d44007210f400038009d20..."} 
[2026-06-18 15:51:50] local.INFO: Processing buffer {"connection_id":105882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3ec7c0012d18d44007210f400038009d20..."} 
[2026-06-18 15:51:50] local.INFO: Packet analysis {"connection_id":105882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:51:50] local.INFO: Extracted packet for processing {"connection_id":105882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3e"} 
[2026-06-18 15:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119607104,"longitude_deg":75.660192,"latitude_deg":11.9607104,"altitude":56,"angle":157,"satellites":32,"speed":0,"hex_longitude":"2d18d440","hex_latitude":"07210f40","is_valid_coordinates":true} 
[2026-06-18 15:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135164672001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294879866159104,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788914245104070656,"note":"Value kept but may cause issues"} 
[2026-06-18 15:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781778008000,"timestamp_ms":1781778008000,"timestamp_seconds":1781778008,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3ec7c0"} 
[2026-06-18 15:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:51:50] 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-06-18 15:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 15:51:50] 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-06-18 15:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135164672001,"66":12993,"121":206,"28":31744,"24":0,"16":3294879866159104,"45":1788914245104070656},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135164672001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:51:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294879866159104,"km_value":3294879866159.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788914245104070656,"description":"Unknown IO ID 45"} 
[2026-06-18 15:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135164672001,"power":12993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1788914245104070656}} 
[2026-06-18 15:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":105882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:51:50] local.INFO: GPS data processed {"connection_id":105882,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:51:50] local.INFO: Acknowledgment sent {"connection_id":105882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:51:57] local.INFO: TCP Data received {"connection_id":106071,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:57] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:57] local.INFO: IMEI packet received {"connection_id":106071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":106071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:51:57] local.INFO: TCP Data received {"connection_id":106071,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:57] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:51:57] local.INFO: IMEI packet received {"connection_id":106071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":106071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:52:01] local.INFO: TCP Data received {"connection_id":106071,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:01] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:01] local.INFO: IMEI packet received {"connection_id":106071,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":106071,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:52:02] local.INFO: TCP Data received {"connection_id":106071,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3fe8d0012d0cb7c007048980002601550d..."} 
[2026-06-18 15:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3fe8d0012d0cb7c007048980002601550d..."} 
[2026-06-18 15:52:02] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3fe8d0012d0cb7c007048980002601550d..."} 
[2026-06-18 15:52:02] local.INFO: Packet analysis {"connection_id":106071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:52:02] local.INFO: Extracted packet for processing {"connection_id":106071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:52:02] local.INFO: GPS Element Parsed {"raw_longitude":755808192,"raw_latitude":117737856,"longitude_deg":75.5808192,"latitude_deg":11.7737856,"altitude":38,"angle":341,"satellites":13,"speed":30,"hex_longitude":"2d0cb7c0","hex_latitude":"07048980","is_valid_coordinates":true} 
[2026-06-18 15:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135187968001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21164434898550784,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":917186241751726080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781778082000,"timestamp_ms":1781778082000,"timestamp_seconds":1781778082,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3fe8d0"} 
[2026-06-18 15:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:52: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-06-18 15:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 15:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135187968001,"66":13754,"16":21164434898550784,"94":11008,"24":30,"45":917186241751726080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 15:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135187968001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21164434898550784,"km_value":21164434898550.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:52:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":917186241751726080,"description":"Unknown IO ID 45"} 
[2026-06-18 15:52:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456135187968001,"power":13754,"odometer":null,"unknown_94":11008,"ignition":30,"unknown_45":917186241751726080}} 
[2026-06-18 15:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":106071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344729,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:52:03] local.INFO: GPS data processed {"connection_id":106071,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:52:03] local.INFO: Acknowledgment sent {"connection_id":106071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:52:08] local.INFO: TCP Data received {"connection_id":107619,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:52:08] local.INFO: Processing buffer {"connection_id":107619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:52:08] local.INFO: IMEI packet received {"connection_id":107619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":107619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:52:22] local.INFO: TCP Data received {"connection_id":105882,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3f15e0012d18d44007210f400038009d21..."} 
[2026-06-18 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3f15e0012d18d44007210f400038009d21..."} 
[2026-06-18 15:52:22] local.INFO: Processing buffer {"connection_id":105882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3f15e0012d18d44007210f400038009d21..."} 
[2026-06-18 15:52:22] local.INFO: Packet analysis {"connection_id":105882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:52:22] local.INFO: Extracted packet for processing {"connection_id":105882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119607104,"longitude_deg":75.660192,"latitude_deg":11.9607104,"altitude":56,"angle":157,"satellites":33,"speed":0,"hex_longitude":"2d18d440","hex_latitude":"07210f40","is_valid_coordinates":true} 
[2026-06-18 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135170048001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294879866159104,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336525824,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781778028000,"timestamp_ms":1781778028000,"timestamp_seconds":1781778028,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3f15e0"} 
[2026-06-18 15:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:52:22] 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-06-18 15:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 15:52:22] 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-06-18 15:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135170048001,"66":12950,"121":206,"28":31744,"24":0,"16":3294879866159104,"45":1789125351336525824},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135170048001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:52:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:52:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294879866159104,"km_value":3294879866159.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336525824,"description":"Unknown IO ID 45"} 
[2026-06-18 15:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135170048001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789125351336525824}} 
[2026-06-18 15:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":105882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:52:23] local.INFO: GPS data processed {"connection_id":105882,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:52:23] local.INFO: Acknowledgment sent {"connection_id":105882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:52:34] local.INFO: TCP Data received {"connection_id":106071,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3ff870012d0cb1c0070494b8002601490d..."} 
[2026-06-18 15:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3ff870012d0cb1c0070494b8002601490d..."} 
[2026-06-18 15:52:34] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3ff870012d0cb1c0070494b8002601490d..."} 
[2026-06-18 15:52:34] local.INFO: Packet analysis {"connection_id":106071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:52:34] local.INFO: Extracted packet for processing {"connection_id":106071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:52:34] local.INFO: GPS Element Parsed {"raw_longitude":755806656,"raw_latitude":117740728,"longitude_deg":75.5806656,"latitude_deg":11.7740728,"altitude":38,"angle":329,"satellites":13,"speed":31,"hex_longitude":"2d0cb1c0","hex_latitude":"070494b8","is_valid_coordinates":true} 
[2026-06-18 15:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:52:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135188992001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21164593812340736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":916412185566609408,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,94,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 15:52:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778086000,"timestamp_ms":1781778086000,"timestamp_seconds":1781778086,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3ff870"} 
[2026-06-18 15:52:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:52:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:52:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-06-18 15:52:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2137,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:52:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:52:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:52:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:52:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:52:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:52:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106071,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:52:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:52:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:52:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:52:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135188992001,"66":14537,"16":21164593812340736,"94":11008,"24":31,"45":916412185566609408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,94,24,45]} 
[2026-06-18 15:52:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:52:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:52:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135188992001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:52:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21164593812340736,"km_value":21164593812340.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:52:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:52:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":916412185566609408,"description":"Unknown IO ID 45"} 
[2026-06-18 15:52:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456135188992001,"power":14537,"odometer":null,"unknown_94":11008,"ignition":31,"unknown_45":916412185566609408}} 
[2026-06-18 15:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":106071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344731,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:52:34] local.INFO: GPS data processed {"connection_id":106071,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:52:34] local.INFO: Acknowledgment sent {"connection_id":106071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:52:38] local.INFO: TCP Data received {"connection_id":107621,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:52:38] local.INFO: Processing buffer {"connection_id":107621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:52:38] local.INFO: IMEI packet received {"connection_id":107621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":107621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:52:44] local.INFO: TCP Data received {"connection_id":105883,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:52:44] local.INFO: Processing buffer {"connection_id":105883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:52:44] local.INFO: IMEI packet received {"connection_id":105883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":105883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:52:49] local.INFO: TCP Data received {"connection_id":105883,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:52:49] local.INFO: Processing buffer {"connection_id":105883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:52:49] local.INFO: IMEI packet received {"connection_id":105883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":105883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:52:56] local.INFO: TCP Data received {"connection_id":107622,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:56] local.INFO: Processing buffer {"connection_id":107622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:56] local.INFO: IMEI packet received {"connection_id":107622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":107622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:52:57] local.INFO: TCP Data received {"connection_id":107622,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:57] local.INFO: Processing buffer {"connection_id":107622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:52:57] local.INFO: IMEI packet received {"connection_id":107622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":107622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:52:57] local.INFO: TCP Data received {"connection_id":105883,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda3f6400012d18d44007210f400038009d21..."} 
[2026-06-18 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda3f6400012d18d44007210f400038009d21..."} 
[2026-06-18 15:52:57] local.INFO: Processing buffer {"connection_id":105883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda3f6400012d18d44007210f400038009d21..."} 
[2026-06-18 15:52:57] local.INFO: Packet analysis {"connection_id":105883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:52:57] local.INFO: Extracted packet for processing {"connection_id":105883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda3f"} 
[2026-06-18 15:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756601920,"raw_latitude":119607104,"longitude_deg":75.660192,"latitude_deg":11.9607104,"altitude":56,"angle":157,"satellites":33,"speed":0,"hex_longitude":"2d18d440","hex_latitude":"07210f40","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135175168001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3294879866159104,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789125351336525824,"note":"Value kept but may cause issues"} 
[2026-06-18 15:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781778048000,"timestamp_ms":1781778048000,"timestamp_seconds":1781778048,"priority":1,"record_length":96,"hex_timestamp":"0000019eda3f6400"} 
[2026-06-18 15:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8960,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 15:52:57] 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-06-18 15: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-06-18 15:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135175168001,"66":12841,"121":206,"28":31744,"24":0,"16":3294879866159104,"45":1789125351336525824},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135175168001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:52:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:52:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3294879866159104,"km_value":3294879866159.104,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789125351336525824,"description":"Unknown IO ID 45"} 
[2026-06-18 15:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135175168001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1789125351336525824}} 
[2026-06-18 15:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":105883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:52:58] local.INFO: GPS data processed {"connection_id":105883,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:52:58] local.INFO: Acknowledgment sent {"connection_id":105883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:53:02] local.INFO: TCP Data received {"connection_id":107622,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:02] local.INFO: Processing buffer {"connection_id":107622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:02] local.INFO: IMEI packet received {"connection_id":107622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":107622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:53:02] local.INFO: TCP Data received {"connection_id":107622,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda402368012d0c9c800704b3380027014c0d..."} 
[2026-06-18 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda402368012d0c9c800704b3380027014c0d..."} 
[2026-06-18 15:53:02] local.INFO: Processing buffer {"connection_id":107622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda402368012d0c9c800704b3380027014c0d..."} 
[2026-06-18 15:53:02] local.INFO: Packet analysis {"connection_id":107622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda40"} 
[2026-06-18 15:53:02] local.INFO: Extracted packet for processing {"connection_id":107622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda40"} 
[2026-06-18 15:53:02] local.INFO: GPS Element Parsed {"raw_longitude":755801216,"raw_latitude":117748536,"longitude_deg":75.5801216,"latitude_deg":11.7748536,"altitude":39,"angle":332,"satellites":13,"speed":34,"hex_longitude":"2d0c9c80","hex_latitude":"0704b338","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135190016001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21165053373841408,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":914723335707080704,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781778097000,"timestamp_ms":1781778097000,"timestamp_seconds":1781778097,"priority":1,"record_length":96,"hex_timestamp":"0000019eda402368"} 
[2026-06-18 15:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15: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-06-18 15: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 15:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135190016001,"66":14450,"95":206,"94":10240,"24":34,"16":21165053373841408,"45":914723335707080704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-18 15:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135190016001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:53:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 15:53:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21165053373841408,"km_value":21165053373841.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":914723335707080704,"description":"Unknown IO ID 45"} 
[2026-06-18 15:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135190016001,"power":14450,"unknown_95":206,"unknown_94":10240,"ignition":34,"odometer":null,"unknown_45":914723335707080704}} 
[2026-06-18 15:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":107622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344733,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:53:03] local.INFO: GPS data processed {"connection_id":107622,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:53:03] local.INFO: Acknowledgment sent {"connection_id":107622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:53:44] local.INFO: TCP Data received {"connection_id":105885,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:53:44] local.INFO: Processing buffer {"connection_id":105885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:53:44] local.INFO: IMEI packet received {"connection_id":105885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":105885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:53:50] local.INFO: TCP Data received {"connection_id":105885,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:53:50] local.INFO: Processing buffer {"connection_id":105885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:53:50] local.INFO: IMEI packet received {"connection_id":105885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":105885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:53:51] local.INFO: TCP Data received {"connection_id":107622,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda41a620012d0c664007051788001d013a11..."} 
[2026-06-18 15:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda41a620012d0c664007051788001d013a11..."} 
[2026-06-18 15:53:52] local.INFO: Processing buffer {"connection_id":107622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda41a620012d0c664007051788001d013a11..."} 
[2026-06-18 15:53:52] local.INFO: Packet analysis {"connection_id":107622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:53:52] local.INFO: Extracted packet for processing {"connection_id":107622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:53:52] local.INFO: GPS Element Parsed {"raw_longitude":755787328,"raw_latitude":117774216,"longitude_deg":75.5787328,"latitude_deg":11.7774216,"altitude":29,"angle":314,"satellites":17,"speed":2,"hex_longitude":"2d0c6640","hex_latitude":"07051788","is_valid_coordinates":true} 
[2026-06-18 15:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135217920001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21166509367754752,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893471974973980672,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781778196000,"timestamp_ms":1781778196000,"timestamp_seconds":1781778196,"priority":1,"record_length":96,"hex_timestamp":"0000019eda41a620"} 
[2026-06-18 15:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:53:52] 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-06-18 15:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:53:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135217920001,"66":14428,"95":206,"94":10240,"24":2,"16":21166509367754752,"45":893471974973980672},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-18 15:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135217920001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:53:52] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 15:53:52] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21166509367754752,"km_value":21166509367754.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":893471974973980672,"description":"Unknown IO ID 45"} 
[2026-06-18 15:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135217920001,"power":14428,"unknown_95":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":893471974973980672}} 
[2026-06-18 15:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":107622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:53:52] local.INFO: GPS data processed {"connection_id":107622,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:53:52] local.INFO: Acknowledgment sent {"connection_id":107622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:53:52] local.INFO: TCP Data received {"connection_id":105885,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda41a238012d18f9400720d5500033007f23..."} 
[2026-06-18 15:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda41a238012d18f9400720d5500033007f23..."} 
[2026-06-18 15:53:52] local.INFO: Processing buffer {"connection_id":105885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda41a238012d18f9400720d5500033007f23..."} 
[2026-06-18 15:53:52] local.INFO: Packet analysis {"connection_id":105885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:53:52] local.INFO: Extracted packet for processing {"connection_id":105885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756611392,"raw_latitude":119592272,"longitude_deg":75.6611392,"latitude_deg":11.9592272,"altitude":51,"angle":127,"satellites":35,"speed":26,"hex_longitude":"2d18f940","hex_latitude":"0720d550","is_valid_coordinates":true} 
[2026-06-18 15:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135214592001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3295760334454784,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794121532171126784,"note":"Value kept but may cause issues"} 
[2026-06-18 15:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781778195000,"timestamp_ms":1781778195000,"timestamp_seconds":1781778195,"priority":1,"record_length":96,"hex_timestamp":"0000019eda41a238"} 
[2026-06-18 15:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:53:52] 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-06-18 15:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-18 15:53:52] 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-06-18 15:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":105885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":105885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":105885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135214592001,"66":14233,"121":206,"28":31744,"24":26,"16":3295760334454784,"45":1794121532171126784},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135214592001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:53:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:53:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3295760334454784,"km_value":3295760334454.784,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794121532171126784,"description":"Unknown IO ID 45"} 
[2026-06-18 15:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135214592001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1794121532171126784}} 
[2026-06-18 15:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":105885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:53:52] local.INFO: GPS data processed {"connection_id":105885,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:53:52] local.INFO: Acknowledgment sent {"connection_id":105885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:53:56] local.INFO: TCP Data received {"connection_id":107624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:56] local.INFO: Processing buffer {"connection_id":107624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:56] local.INFO: IMEI packet received {"connection_id":107624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":107624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:53:57] local.INFO: TCP Data received {"connection_id":107624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:57] local.INFO: Processing buffer {"connection_id":107624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:57] local.INFO: IMEI packet received {"connection_id":107624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":107624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:53:59] local.INFO: TCP Data received {"connection_id":107624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:59] local.INFO: Processing buffer {"connection_id":107624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:53:59] local.INFO: IMEI packet received {"connection_id":107624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":107624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:54:00] local.INFO: TCP Data received {"connection_id":107624,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107624,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:54:00] local.INFO: Processing buffer {"connection_id":107624,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:54:00] local.INFO: IMEI packet received {"connection_id":107624,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":107624,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:54:01] local.INFO: TCP Data received {"connection_id":107624,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda41aa08012d0c660007051808001d014911..."} 
[2026-06-18 15:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda41aa08012d0c660007051808001d014911..."} 
[2026-06-18 15:54:01] local.INFO: Processing buffer {"connection_id":107624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda41aa08012d0c660007051808001d014911..."} 
[2026-06-18 15:54:01] local.INFO: Packet analysis {"connection_id":107624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:54:01] local.INFO: Extracted packet for processing {"connection_id":107624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:54:01] local.INFO: GPS Element Parsed {"raw_longitude":755787264,"raw_latitude":117774344,"longitude_deg":75.5787264,"latitude_deg":11.7774344,"altitude":29,"angle":329,"satellites":17,"speed":3,"hex_longitude":"2d0c6600","hex_latitude":"07051808","is_valid_coordinates":true} 
[2026-06-18 15:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135218176001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21166517957689344,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893471974973999104,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781778197000,"timestamp_ms":1781778197000,"timestamp_seconds":1781778197,"priority":1,"record_length":96,"hex_timestamp":"0000019eda41aa08"} 
[2026-06-18 15:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135218176001,"66":14559,"95":206,"94":10240,"24":3,"16":21166517957689344,"45":893471974973999104},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-18 15:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135218176001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:54:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 15:54:01] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21166517957689344,"km_value":21166517957689.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":893471974973999104,"description":"Unknown IO ID 45"} 
[2026-06-18 15:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135218176001,"power":14559,"unknown_95":206,"unknown_94":10240,"ignition":3,"odometer":null,"unknown_45":893471974973999104}} 
[2026-06-18 15:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":107624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:54:01] local.INFO: GPS data processed {"connection_id":107624,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:54:01] local.INFO: Acknowledgment sent {"connection_id":107624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:54:24] local.INFO: TCP Data received {"connection_id":105885,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda41c560012d1910800720c710002c007423..."} 
[2026-06-18 15:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda41c560012d1910800720c710002c007423..."} 
[2026-06-18 15:54:24] local.INFO: Processing buffer {"connection_id":105885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda41c560012d1910800720c710002c007423..."} 
[2026-06-18 15:54:24] local.INFO: Packet analysis {"connection_id":105885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:54:24] local.INFO: Extracted packet for processing {"connection_id":105885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:54:24] local.INFO: GPS Element Parsed {"raw_longitude":756617344,"raw_latitude":119588624,"longitude_deg":75.6617344,"latitude_deg":11.9588624,"altitude":44,"angle":116,"satellites":35,"speed":33,"hex_longitude":"2d191080","hex_latitude":"0720c710","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135217920001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3296095341903872,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799539925471023104,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781778204000,"timestamp_ms":1781778204000,"timestamp_seconds":1781778204,"priority":1,"record_length":96,"hex_timestamp":"0000019eda41c560"} 
[2026-06-18 15:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:54:24] 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-06-18 15: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-18 15:54:24] 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-06-18 15: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-06-18 15:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":105885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":105885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":105885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:54:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135217920001,"66":14265,"121":206,"28":31744,"24":33,"16":3296095341903872,"45":1799539925471023104},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135217920001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:54:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:54:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3296095341903872,"km_value":3296095341903.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799539925471023104,"description":"Unknown IO ID 45"} 
[2026-06-18 15:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135217920001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1799539925471023104}} 
[2026-06-18 15:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":105885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:54:24] local.INFO: GPS data processed {"connection_id":105885,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:54:24] local.INFO: Acknowledgment sent {"connection_id":105885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:54:44] local.INFO: TCP Data received {"connection_id":107625,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:44] local.INFO: Processing buffer {"connection_id":107625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:44] local.INFO: IMEI packet received {"connection_id":107625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":107625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:54:47] local.INFO: TCP Data received {"connection_id":107625,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:47] local.INFO: Processing buffer {"connection_id":107625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:47] local.INFO: IMEI packet received {"connection_id":107625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":107625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:54:49] local.INFO: TCP Data received {"connection_id":107625,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:49] local.INFO: Processing buffer {"connection_id":107625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:54:49] local.INFO: IMEI packet received {"connection_id":107625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":107625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:54:50] local.INFO: TCP Data received {"connection_id":107625,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda41f058012d1933800720b9300027007621..."} 
[2026-06-18 15:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda41f058012d1933800720b9300027007621..."} 
[2026-06-18 15:54:50] local.INFO: Processing buffer {"connection_id":107625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda41f058012d1933800720b9300027007621..."} 
[2026-06-18 15:54:50] local.INFO: Packet analysis {"connection_id":107625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:54:50] local.INFO: Extracted packet for processing {"connection_id":107625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756626304,"raw_latitude":119585072,"longitude_deg":75.6626304,"latitude_deg":11.9585072,"altitude":39,"angle":118,"satellites":33,"speed":29,"hex_longitude":"2d193380","hex_latitude":"0720b930","is_valid_coordinates":true} 
[2026-06-18 15:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135220224001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3296550608437248,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806084218678611968,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781778215000,"timestamp_ms":1781778215000,"timestamp_seconds":1781778215,"priority":1,"record_length":96,"hex_timestamp":"0000019eda41f058"} 
[2026-06-18 15:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:54:50] 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-06-18 15:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 15:54:50] 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-06-18 15:54:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135220224001,"66":14352,"121":206,"28":31744,"24":29,"16":3296550608437248,"45":1806084218678611968},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135220224001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:54:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:54:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3296550608437248,"km_value":3296550608437.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806084218678611968,"description":"Unknown IO ID 45"} 
[2026-06-18 15:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135220224001,"power":14352,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1806084218678611968}} 
[2026-06-18 15:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":107625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:54:50] local.INFO: GPS data processed {"connection_id":107625,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:54:50] local.INFO: Acknowledgment sent {"connection_id":107625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:54:54] local.INFO: TCP Data received {"connection_id":106072,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:54:54] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:54:54] local.INFO: IMEI packet received {"connection_id":106072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":106072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:54:58] local.INFO: TCP Data received {"connection_id":106072,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:54:58] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:54:58] local.INFO: IMEI packet received {"connection_id":106072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":106072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:54:59] local.INFO: TCP Data received {"connection_id":106072,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda417358012d79f9c005ec75c8000200f326..."} 
[2026-06-18 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda417358012d79f9c005ec75c8000200f326..."} 
[2026-06-18 15:54:59] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda417358012d79f9c005ec75c8000200f326..."} 
[2026-06-18 15:54:59] local.INFO: Packet analysis {"connection_id":106072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:54:59] local.INFO: Extracted packet for processing {"connection_id":106072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":762968512,"raw_latitude":99382728,"longitude_deg":76.2968512,"latitude_deg":9.9382728,"altitude":2,"angle":243,"satellites":38,"speed":0,"hex_longitude":"2d79f9c0","hex_latitude":"05ec75c8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135209728001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880529027334144,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8792363504208861184,"note":"Value kept but may cause issues"} 
[2026-06-18 15:54: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-06-18 15:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781778183000,"timestamp_ms":1781778183000,"timestamp_seconds":1781778183,"priority":1,"record_length":96,"hex_timestamp":"0000019eda417358"} 
[2026-06-18 15:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 15:54: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-06-18 15: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-06-18 15:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:54:59] 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-06-18 15:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135209728001,"66":12950,"157":206,"87":13824,"24":0,"16":93880529027334144,"45":8792363504208861184},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135209728001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:54:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:54:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880529027334144,"km_value":93880529027334.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8792363504208861184,"description":"Unknown IO ID 45"} 
[2026-06-18 15:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135209728001,"power":12950,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8792363504208861184}} 
[2026-06-18 15:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":106072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344739,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:54:59] local.INFO: GPS data processed {"connection_id":106072,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:54:59] local.INFO: Acknowledgment sent {"connection_id":106072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:55:05] local.INFO: TCP Data received {"connection_id":107624,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda41b1d8012d0c65c007051960001d015d12..."} 
[2026-06-18 15:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda41b1d8012d0c65c007051960001d015d12..."} 
[2026-06-18 15:55:05] local.INFO: Processing buffer {"connection_id":107624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda41b1d8012d0c65c007051960001d015d12..."} 
[2026-06-18 15:55:05] local.INFO: Packet analysis {"connection_id":107624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:55:05] local.INFO: Extracted packet for processing {"connection_id":107624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:55:05] local.INFO: GPS Element Parsed {"raw_longitude":755787200,"raw_latitude":117774688,"longitude_deg":75.57872,"latitude_deg":11.7774688,"altitude":29,"angle":349,"satellites":18,"speed":9,"hex_longitude":"2d0c65c0","hex_latitude":"07051960","is_valid_coordinates":true} 
[2026-06-18 15:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135218432001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21166535137558528,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893401606229854208,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781778199000,"timestamp_ms":1781778199000,"timestamp_seconds":1781778199,"priority":1,"record_length":96,"hex_timestamp":"0000019eda41b1d8"} 
[2026-06-18 15:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 15:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107624,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135218432001,"66":14439,"95":206,"94":10240,"24":9,"16":21166535137558528,"45":893401606229854208},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,94,24,16,45]} 
[2026-06-18 15:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135218432001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:55:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 15:55:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21166535137558528,"km_value":21166535137558.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":893401606229854208,"description":"Unknown IO ID 45"} 
[2026-06-18 15:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135218432001,"power":14439,"unknown_95":206,"unknown_94":10240,"ignition":9,"odometer":null,"unknown_45":893401606229854208}} 
[2026-06-18 15:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":107624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:55:05] local.INFO: GPS data processed {"connection_id":107624,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:55:05] local.INFO: Acknowledgment sent {"connection_id":107624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:55:12] local.INFO: TCP Data received {"connection_id":107626,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:12] local.INFO: Processing buffer {"connection_id":107626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:12] local.INFO: IMEI packet received {"connection_id":107626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":107626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:55:12] local.INFO: TCP Data received {"connection_id":107626,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:12] local.INFO: Processing buffer {"connection_id":107626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:12] local.INFO: IMEI packet received {"connection_id":107626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":107626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:55:14] local.INFO: TCP Data received {"connection_id":107626,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:14] local.INFO: Processing buffer {"connection_id":107626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:14] local.INFO: IMEI packet received {"connection_id":107626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":107626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:55:16] local.INFO: TCP Data received {"connection_id":107626,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:16] local.INFO: Processing buffer {"connection_id":107626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:16] local.INFO: IMEI packet received {"connection_id":107626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:55:16] local.INFO: IMEI acknowledgment sent {"connection_id":107626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:55:21] local.INFO: TCP Data received {"connection_id":107625,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda433878012d19b080072094b8002b00d222..."} 
[2026-06-18 15:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda433878012d19b080072094b8002b00d222..."} 
[2026-06-18 15:55:21] local.INFO: Processing buffer {"connection_id":107625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda433878012d19b080072094b8002b00d222..."} 
[2026-06-18 15:55:21] local.INFO: Packet analysis {"connection_id":107625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:21] local.INFO: Extracted packet for processing {"connection_id":107625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756658304,"raw_latitude":119575736,"longitude_deg":75.6658304,"latitude_deg":11.9575736,"altitude":43,"angle":210,"satellites":34,"speed":33,"hex_longitude":"2d19b080","hex_latitude":"072094b8","is_valid_coordinates":true} 
[2026-06-18 15:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3298573538033664,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433553973248,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781778299000,"timestamp_ms":1781778299000,"timestamp_seconds":1781778299,"priority":1,"record_length":96,"hex_timestamp":"0000019eda433878"} 
[2026-06-18 15:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 15:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135243776001,"66":14461,"121":206,"28":31744,"24":33,"16":3298573538033664,"45":1852879433553973248},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:55:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:55:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3298573538033664,"km_value":3298573538033.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433553973248,"description":"Unknown IO ID 45"} 
[2026-06-18 15:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135243776001,"power":14461,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1852879433553973248}} 
[2026-06-18 15:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":107625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:55:22] local.INFO: GPS data processed {"connection_id":107625,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:55:22] local.INFO: Acknowledgment sent {"connection_id":107625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:55:28] local.INFO: TCP Data received {"connection_id":105887,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:55:28] local.INFO: Processing buffer {"connection_id":105887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:55:28] local.INFO: IMEI packet received {"connection_id":105887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":105887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:55:29] local.INFO: TCP Data received {"connection_id":107626,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4357b8012d0c6f000705a670001f002a12..."} 
[2026-06-18 15:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4357b8012d0c6f000705a670001f002a12..."} 
[2026-06-18 15:55:29] local.INFO: Processing buffer {"connection_id":107626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4357b8012d0c6f000705a670001f002a12..."} 
[2026-06-18 15:55:29] local.INFO: Packet analysis {"connection_id":107626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:29] local.INFO: Extracted packet for processing {"connection_id":107626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:29] local.INFO: GPS Element Parsed {"raw_longitude":755789568,"raw_latitude":117810800,"longitude_deg":75.5789568,"latitude_deg":11.78108,"altitude":31,"angle":42,"satellites":18,"speed":20,"hex_longitude":"2d0c6f00","hex_latitude":"0705a670","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135246336001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21168867304800256,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895512668564408320,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781778307000,"timestamp_ms":1781778307000,"timestamp_seconds":1781778307,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4357b8"} 
[2026-06-18 15:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:55: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-06-18 15: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 15:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135246336001,"66":14439,"164":206,"94":10240,"24":20,"16":21168867304800256,"45":895512668564408320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 15:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135246336001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:55:29] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 15:55:29] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21168867304800256,"km_value":21168867304800.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":895512668564408320,"description":"Unknown IO ID 45"} 
[2026-06-18 15:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135246336001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":20,"odometer":null,"unknown_45":895512668564408320}} 
[2026-06-18 15:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":107626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:55:30] local.INFO: GPS data processed {"connection_id":107626,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:55:30] local.INFO: Acknowledgment sent {"connection_id":107626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:55:31] local.INFO: TCP Data received {"connection_id":107626,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda435f88012d0c73800705a8f0001f004212..."} 
[2026-06-18 15:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda435f88012d0c73800705a8f0001f004212..."} 
[2026-06-18 15:55:31] local.INFO: Processing buffer {"connection_id":107626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda435f88012d0c73800705a8f0001f004212..."} 
[2026-06-18 15:55:31] local.INFO: Packet analysis {"connection_id":107626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:31] local.INFO: Extracted packet for processing {"connection_id":107626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:31] local.INFO: GPS Element Parsed {"raw_longitude":755790720,"raw_latitude":117811440,"longitude_deg":75.579072,"latitude_deg":11.781144,"altitude":31,"angle":66,"satellites":18,"speed":23,"hex_longitude":"2d0c7380","hex_latitude":"0705a8f0","is_valid_coordinates":true} 
[2026-06-18 15:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135246592001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21168931729309696,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":895934881029582848,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781778309000,"timestamp_ms":1781778309000,"timestamp_seconds":1781778309,"priority":1,"record_length":96,"hex_timestamp":"0000019eda435f88"} 
[2026-06-18 15:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:55: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-06-18 15:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135246592001,"66":14407,"164":206,"94":10240,"24":23,"16":21168931729309696,"45":895934881029582848},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 15:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135246592001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:55:31] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 15:55:31] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21168931729309696,"km_value":21168931729309.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":895934881029582848,"description":"Unknown IO ID 45"} 
[2026-06-18 15:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135246592001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":895934881029582848}} 
[2026-06-18 15:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":107626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344743,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:55:31] local.INFO: GPS data processed {"connection_id":107626,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:55:31] local.INFO: Acknowledgment sent {"connection_id":107626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:55:33] local.INFO: TCP Data received {"connection_id":105887,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105887,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:55:33] local.INFO: Processing buffer {"connection_id":105887,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:55:33] local.INFO: IMEI packet received {"connection_id":105887,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":105887,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:55:34] local.INFO: TCP Data received {"connection_id":105887,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda41cd30012d79f90005ec7260000200a525..."} 
[2026-06-18 15:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda41cd30012d79f90005ec7260000200a525..."} 
[2026-06-18 15:55:34] local.INFO: Processing buffer {"connection_id":105887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda41cd30012d79f90005ec7260000200a525..."} 
[2026-06-18 15:55:34] local.INFO: Packet analysis {"connection_id":105887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:55:34] local.INFO: Extracted packet for processing {"connection_id":105887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:55:34] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99381856,"longitude_deg":76.296832,"latitude_deg":9.9381856,"altitude":2,"angle":165,"satellites":37,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ec7260","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135214848001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880529027334144,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789267279464744960,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55: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-06-18 15:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778206000,"timestamp_ms":1781778206000,"timestamp_seconds":1781778206,"priority":1,"record_length":96,"hex_timestamp":"0000019eda41cd30"} 
[2026-06-18 15:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:55:34] 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-06-18 15:55:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 15:55:34] 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-06-18 15: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-06-18 15:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:55: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-06-18 15:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135214848001,"66":13276,"157":206,"87":13824,"24":0,"16":93880529027334144,"45":8789267279464744960},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135214848001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:55:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:55:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880529027334144,"km_value":93880529027334.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789267279464744960,"description":"Unknown IO ID 45"} 
[2026-06-18 15:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135214848001,"power":13276,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789267279464744960}} 
[2026-06-18 15:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":105887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:55:34] local.INFO: GPS data processed {"connection_id":105887,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:55:34] local.INFO: Acknowledgment sent {"connection_id":105887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:55:46] local.INFO: TCP Data received {"connection_id":105888,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:46] local.INFO: Processing buffer {"connection_id":105888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:46] local.INFO: IMEI packet received {"connection_id":105888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":105888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:55:50] local.INFO: TCP Data received {"connection_id":105888,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:50] local.INFO: Processing buffer {"connection_id":105888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:50] local.INFO: IMEI packet received {"connection_id":105888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":105888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:55:55] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:55] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:55] local.INFO: IMEI packet received {"connection_id":106073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":106073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:55:55] local.INFO: TCP Data received {"connection_id":105888,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105888,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:55] local.INFO: Processing buffer {"connection_id":105888,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:55:55] local.INFO: IMEI packet received {"connection_id":105888,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":105888,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:55:56] local.INFO: TCP Data received {"connection_id":105888,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda434048012d19ae8007208e68002b00bd21..."} 
[2026-06-18 15:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda434048012d19ae8007208e68002b00bd21..."} 
[2026-06-18 15:55:56] local.INFO: Processing buffer {"connection_id":105888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda434048012d19ae8007208e68002b00bd21..."} 
[2026-06-18 15:55:56] local.INFO: Packet analysis {"connection_id":105888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:56] local.INFO: Extracted packet for processing {"connection_id":105888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:56] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119574120,"longitude_deg":75.6657792,"latitude_deg":11.957412,"altitude":43,"angle":189,"satellites":33,"speed":33,"hex_longitude":"2d19ae80","hex_latitude":"07208e68","is_valid_coordinates":true} 
[2026-06-18 15:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135244544001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3298659437379584,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851120214949017600,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781778301000,"timestamp_ms":1781778301000,"timestamp_seconds":1781778301,"priority":1,"record_length":96,"hex_timestamp":"0000019eda434048"} 
[2026-06-18 15:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:55:56] 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-06-18 15:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 15:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135244544001,"66":14428,"121":206,"28":31744,"24":33,"16":3298659437379584,"45":1851120214949017600},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135244544001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:55:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:55:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3298659437379584,"km_value":3298659437379.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851120214949017600,"description":"Unknown IO ID 45"} 
[2026-06-18 15:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135244544001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1851120214949017600}} 
[2026-06-18 15:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":105888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:55:56] local.INFO: GPS data processed {"connection_id":105888,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:55:56] local.INFO: Acknowledgment sent {"connection_id":105888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:55:56] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:56] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:55:56] local.INFO: IMEI packet received {"connection_id":106073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":106073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:55:57] local.INFO: TCP Data received {"connection_id":105888,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda434430012d19ae8007208af8002a00b122..."} 
[2026-06-18 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda434430012d19ae8007208af8002a00b122..."} 
[2026-06-18 15:55:57] local.INFO: Processing buffer {"connection_id":105888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda434430012d19ae8007208af8002a00b122..."} 
[2026-06-18 15:55:57] local.INFO: Packet analysis {"connection_id":105888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:57] local.INFO: Extracted packet for processing {"connection_id":105888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:55:57] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119573240,"longitude_deg":75.6657792,"latitude_deg":11.957324,"altitude":42,"angle":177,"satellites":34,"speed":33,"hex_longitude":"2d19ae80","hex_latitude":"07208af8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 15:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135245056001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3298698092085248,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995182592,"note":"Value kept but may cause issues"} 
[2026-06-18 15:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781778302000,"timestamp_ms":1781778302000,"timestamp_seconds":1781778302,"priority":1,"record_length":96,"hex_timestamp":"0000019eda434430"} 
[2026-06-18 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-06-18 15:55:57] 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-06-18 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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 15:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135245056001,"66":14428,"121":206,"28":31744,"24":33,"16":3298698092085248,"45":1850557264995182592},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135245056001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:55:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:55:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3298698092085248,"km_value":3298698092085.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995182592,"description":"Unknown IO ID 45"} 
[2026-06-18 15:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135245056001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1850557264995182592}} 
[2026-06-18 15:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":105888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:55:58] local.INFO: GPS data processed {"connection_id":105888,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:55:58] local.INFO: Acknowledgment sent {"connection_id":105888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:56:02] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:56:02] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:56:02] local.INFO: IMEI packet received {"connection_id":106073,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":106073,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:56:03] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda436758012d0c79400705aa38001e004e12..."} 
[2026-06-18 15:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda436758012d0c79400705aa38001e004e12..."} 
[2026-06-18 15:56:03] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda436758012d0c79400705aa38001e004e12..."} 
[2026-06-18 15:56:03] local.INFO: Packet analysis {"connection_id":106073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:56:03] local.INFO: Extracted packet for processing {"connection_id":106073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:56:03] local.INFO: GPS Element Parsed {"raw_longitude":755792192,"raw_latitude":117811768,"longitude_deg":75.5792192,"latitude_deg":11.7811768,"altitude":30,"angle":78,"satellites":18,"speed":28,"hex_longitude":"2d0c7940","hex_latitude":"0705aa38","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135247104001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21169000448786432,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897201518424944640,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781778311000,"timestamp_ms":1781778311000,"timestamp_seconds":1781778311,"priority":1,"record_length":96,"hex_timestamp":"0000019eda436758"} 
[2026-06-18 15:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 15:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135247104001,"66":14243,"164":206,"94":10240,"24":28,"16":21169000448786432,"45":897201518424944640},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 15:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135247104001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:56:03] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 15:56:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 15:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21169000448786432,"km_value":21169000448786.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":897201518424944640,"description":"Unknown IO ID 45"} 
[2026-06-18 15:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135247104001,"power":14243,"unknown_164":206,"unknown_94":10240,"ignition":28,"odometer":null,"unknown_45":897201518424944640}} 
[2026-06-18 15:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":106073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344747,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:56:03] local.INFO: GPS data processed {"connection_id":106073,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:56:03] local.INFO: Acknowledgment sent {"connection_id":106073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:56:05] local.INFO: TCP Data received {"connection_id":105887,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda41d500012d79f90005ec7260000200a526..."} 
[2026-06-18 15:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda41d500012d79f90005ec7260000200a526..."} 
[2026-06-18 15:56:05] local.INFO: Processing buffer {"connection_id":105887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda41d500012d79f90005ec7260000200a526..."} 
[2026-06-18 15:56:05] local.INFO: Packet analysis {"connection_id":105887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:56:05] local.INFO: Extracted packet for processing {"connection_id":105887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda41"} 
[2026-06-18 15:56:05] local.INFO: GPS Element Parsed {"raw_longitude":762968320,"raw_latitude":99381856,"longitude_deg":76.296832,"latitude_deg":9.9381856,"altitude":2,"angle":165,"satellites":38,"speed":0,"hex_longitude":"2d79f900","hex_latitude":"05ec7260","is_valid_coordinates":true} 
[2026-06-18 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135220736001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880529027334144,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173231988736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781778208000,"timestamp_ms":1781778208000,"timestamp_seconds":1781778208,"priority":1,"record_length":96,"hex_timestamp":"0000019eda41d500"} 
[2026-06-18 15:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:56:05] 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-06-18 15:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 15:56:05] 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-06-18 15:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105887,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:56: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-06-18 15:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135220736001,"66":12972,"157":206,"87":13824,"24":0,"16":93880529027334144,"45":8789056173231988736},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135220736001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:56:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:56:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880529027334144,"km_value":93880529027334.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173231988736,"description":"Unknown IO ID 45"} 
[2026-06-18 15:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135220736001,"power":12972,"unknown_157":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8789056173231988736}} 
[2026-06-18 15:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":105887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344748,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:56:05] local.INFO: GPS data processed {"connection_id":105887,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:56:05] local.INFO: Acknowledgment sent {"connection_id":105887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:56:28] local.INFO: TCP Data received {"connection_id":105889,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:28] local.INFO: Processing buffer {"connection_id":105889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:28] local.INFO: IMEI packet received {"connection_id":105889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":105889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:56:30] local.INFO: TCP Data received {"connection_id":105888,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4353d0012d19b14007207cc0002700a522..."} 
[2026-06-18 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4353d0012d19b14007207cc0002700a522..."} 
[2026-06-18 15:56:30] local.INFO: Processing buffer {"connection_id":105888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4353d0012d19b14007207cc0002700a522..."} 
[2026-06-18 15:56:30] local.INFO: Packet analysis {"connection_id":105888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:56:30] local.INFO: Extracted packet for processing {"connection_id":105888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756658496,"raw_latitude":119569600,"longitude_deg":75.6658496,"latitude_deg":11.95696,"altitude":39,"angle":165,"satellites":34,"speed":37,"hex_longitude":"2d19b140","hex_latitude":"07207cc0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135245312001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3298878480711680,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264994957312,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781778306000,"timestamp_ms":1781778306000,"timestamp_seconds":1781778306,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4353d0"} 
[2026-06-18 15:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:56:30] 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-06-18 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105888,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135245312001,"66":14363,"121":206,"28":31744,"24":37,"16":3298878480711680,"45":1850557264994957312},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135245312001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:56:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3298878480711680,"km_value":3298878480711.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264994957312,"description":"Unknown IO ID 45"} 
[2026-06-18 15:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135245312001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1850557264994957312}} 
[2026-06-18 15:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":105888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:56:30] local.INFO: GPS data processed {"connection_id":105888,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:56:30] local.INFO: Acknowledgment sent {"connection_id":105888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:56:30] local.INFO: TCP Data received {"connection_id":105889,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:30] local.INFO: Processing buffer {"connection_id":105889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:30] local.INFO: IMEI packet received {"connection_id":105889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":105889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:56:33] local.INFO: TCP Data received {"connection_id":105889,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105889,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:33] local.INFO: Processing buffer {"connection_id":105889,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:56:33] local.INFO: IMEI packet received {"connection_id":105889,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":105889,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:56:34] local.INFO: TCP Data received {"connection_id":105889,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda422708012d79fb4005ec6cc8000300a425..."} 
[2026-06-18 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda422708012d79fb4005ec6cc8000300a425..."} 
[2026-06-18 15:56:34] local.INFO: Processing buffer {"connection_id":105889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda422708012d79fb4005ec6cc8000300a425..."} 
[2026-06-18 15:56:34] local.INFO: Packet analysis {"connection_id":105889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda42"} 
[2026-06-18 15:56:34] local.INFO: Extracted packet for processing {"connection_id":105889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda42"} 
[2026-06-18 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":762968896,"raw_latitude":99380424,"longitude_deg":76.2968896,"latitude_deg":9.9380424,"altitude":3,"angle":164,"satellites":37,"speed":11,"hex_longitude":"2d79fb40","hex_latitude":"05ec6cc8","is_valid_coordinates":true} 
[2026-06-18 15:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135221248001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93880606336745472,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8789056173231988736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56: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-06-18 15:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778229000,"timestamp_ms":1781778229000,"timestamp_seconds":1781778229,"priority":1,"record_length":96,"hex_timestamp":"0000019eda422708"} 
[2026-06-18 15:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:56:34] 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-06-18 15:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-18 15:56:34] 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-06-18 15:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:56: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-06-18 15:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135221248001,"66":13396,"157":206,"87":13824,"24":11,"16":93880606336745472,"45":8789056173231988736},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 15:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135221248001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93880606336745472,"km_value":93880606336745.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8789056173231988736,"description":"Unknown IO ID 45"} 
[2026-06-18 15:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135221248001,"power":13396,"unknown_157":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8789056173231988736}} 
[2026-06-18 15:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":105889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:56:34] local.INFO: GPS data processed {"connection_id":105889,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:56:34] local.INFO: Acknowledgment sent {"connection_id":105889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:56:34] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda43b960012d0c9ac00705b0080018004b12..."} 
[2026-06-18 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda43b960012d0c9ac00705b0080018004b12..."} 
[2026-06-18 15:56:34] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda43b960012d0c9ac00705b0080018004b12..."} 
[2026-06-18 15:56:34] local.INFO: Packet analysis {"connection_id":106073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:56:34] local.INFO: Extracted packet for processing {"connection_id":106073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda43"} 
[2026-06-18 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":755800768,"raw_latitude":117813256,"longitude_deg":75.5800768,"latitude_deg":11.7813256,"altitude":24,"angle":75,"satellites":18,"speed":1,"hex_longitude":"2d0c9ac0","hex_latitude":"0705b008","is_valid_coordinates":true} 
[2026-06-18 15:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:56:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135247616001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21169417060614144,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":898819999541114880,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:56:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778332000,"timestamp_ms":1781778332000,"timestamp_seconds":1781778332,"priority":1,"record_length":96,"hex_timestamp":"0000019eda43b960"} 
[2026-06-18 15:56:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:56:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:56:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 15:56:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:56:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:56:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:56:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:56:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:56:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:56:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106073,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:56:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:56:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:56:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:56:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135247616001,"66":14428,"167":206,"94":11008,"24":1,"16":21169417060614144,"45":898819999541114880},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:56:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:56:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135247616001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:56:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21169417060614144,"km_value":21169417060614.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:56:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":898819999541114880,"description":"Unknown IO ID 45"} 
[2026-06-18 15:56:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135247616001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":1,"odometer":null,"unknown_45":898819999541114880}} 
[2026-06-18 15:56:34] local.INFO: TCP Data received {"connection_id":106652,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:56:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:56:34] local.INFO: Processing buffer {"connection_id":106652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:56:34] local.INFO: IMEI packet received {"connection_id":106652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:56:34] local.INFO: IMEI acknowledgment sent {"connection_id":106652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:56:34] local.INFO: DEBUG: GPS processor result {"connection_id":106073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:56:34] local.INFO: GPS data processed {"connection_id":106073,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:56:34] local.INFO: Acknowledgment sent {"connection_id":106073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:56:35] local.INFO: TCP Data received {"connection_id":106652,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda42a408012ce8be40072ea6e8000801322b..."} 
[2026-06-18 15:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda42a408012ce8be40072ea6e8000801322b..."} 
[2026-06-18 15:56:35] local.INFO: Processing buffer {"connection_id":106652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda42a408012ce8be40072ea6e8000801322b..."} 
[2026-06-18 15:56:35] local.INFO: Packet analysis {"connection_id":106652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda42"} 
[2026-06-18 15:56:35] local.INFO: Extracted packet for processing {"connection_id":106652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda42"} 
[2026-06-18 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":753450560,"raw_latitude":120497896,"longitude_deg":75.345056,"latitude_deg":12.0497896,"altitude":8,"angle":306,"satellites":43,"speed":31,"hex_longitude":"2ce8be40","hex_latitude":"072ea6e8","is_valid_coordinates":true} 
[2026-06-18 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135231488001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318627861160263680,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1667809574908846080,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781778261000,"timestamp_ms":1781778261000,"timestamp_seconds":1781778261,"priority":1,"record_length":96,"hex_timestamp":"0000019eda42a408"} 
[2026-06-18 15:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:56:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 15:56:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:56:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135231488001,"66":28050,"141":206,"2":56832,"24":31,"16":318627861160263680,"44":-1667809574908846080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,2,24,16,44]} 
[2026-06-18 15:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135231488001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:56:35] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-06-18 15:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318627861160263680,"km_value":318627861160263.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1667809574908846080,"description":"Unknown IO ID 44"} 
[2026-06-18 15:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135231488001,"power":28050,"unknown_141":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-1667809574908846080}} 
[2026-06-18 15:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":106652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:56:35] local.INFO: GPS data processed {"connection_id":106652,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:56:35] local.INFO: Acknowledgment sent {"connection_id":106652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:56:45] local.INFO: TCP Data received {"connection_id":107628,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:56:45] local.INFO: Processing buffer {"connection_id":107628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:56:45] local.INFO: IMEI packet received {"connection_id":107628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":107628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:56:48] local.INFO: TCP Data received {"connection_id":107628,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107628,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:56:48] local.INFO: Processing buffer {"connection_id":107628,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:56:48] local.INFO: IMEI packet received {"connection_id":107628,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":107628,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:56:49] local.INFO: TCP Data received {"connection_id":107628,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda442e90012d19d74007202610002b005523..."} 
[2026-06-18 15:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda442e90012d19d74007202610002b005523..."} 
[2026-06-18 15:56:49] local.INFO: Processing buffer {"connection_id":107628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda442e90012d19d74007202610002b005523..."} 
[2026-06-18 15:56:49] local.INFO: Packet analysis {"connection_id":107628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:56:49] local.INFO: Extracted packet for processing {"connection_id":107628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756668224,"raw_latitude":119547408,"longitude_deg":75.6668224,"latitude_deg":11.9547408,"altitude":43,"angle":85,"satellites":35,"speed":16,"hex_longitude":"2d19d740","hex_latitude":"07202610","is_valid_coordinates":true} 
[2026-06-18 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135260160001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3300312999788544,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682847494144,"note":"Value kept but may cause issues"} 
[2026-06-18 15:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781778362000,"timestamp_ms":1781778362000,"timestamp_seconds":1781778362,"priority":1,"record_length":96,"hex_timestamp":"0000019eda442e90"} 
[2026-06-18 15:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:56:49] 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-06-18 15:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 15:56:49] 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-06-18 15:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107628,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135260160001,"66":14363,"121":206,"28":31744,"24":16,"16":3300312999788544,"45":1861323682847494144},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135260160001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:56:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:56:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3300312999788544,"km_value":3300312999788.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682847494144,"description":"Unknown IO ID 45"} 
[2026-06-18 15:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135260160001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1861323682847494144}} 
[2026-06-18 15:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":107628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344753,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:56:49] local.INFO: GPS data processed {"connection_id":107628,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:56:49] local.INFO: Acknowledgment sent {"connection_id":107628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:56:57] local.INFO: TCP Data received {"connection_id":106653,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:56:57] local.INFO: Processing buffer {"connection_id":106653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:56:57] local.INFO: IMEI packet received {"connection_id":106653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":106653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:57:00] local.INFO: TCP Data received {"connection_id":106653,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:00] local.INFO: Processing buffer {"connection_id":106653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:00] local.INFO: IMEI packet received {"connection_id":106653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":106653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:57:01] local.INFO: TCP Data received {"connection_id":106653,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106653,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:01] local.INFO: Processing buffer {"connection_id":106653,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:01] local.INFO: IMEI packet received {"connection_id":106653,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":106653,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:57:02] local.INFO: TCP Data received {"connection_id":106653,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda440b68012d0c9b000705aff00018004b15..."} 
[2026-06-18 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda440b68012d0c9b000705aff00018004b15..."} 
[2026-06-18 15:57:02] local.INFO: Processing buffer {"connection_id":106653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda440b68012d0c9b000705aff00018004b15..."} 
[2026-06-18 15:57:02] local.INFO: Packet analysis {"connection_id":106653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:02] local.INFO: Extracted packet for processing {"connection_id":106653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":755800832,"raw_latitude":117813232,"longitude_deg":75.5800832,"latitude_deg":11.7813232,"altitude":24,"angle":75,"satellites":21,"speed":0,"hex_longitude":"2d0c9b00","hex_latitude":"0705aff0","is_valid_coordinates":true} 
[2026-06-18 15:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135252992001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21169421355581440,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908249411261302784,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781778353000,"timestamp_ms":1781778353000,"timestamp_seconds":1781778353,"priority":1,"record_length":96,"hex_timestamp":"0000019eda440b68"} 
[2026-06-18 15:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135252992001,"66":14450,"167":206,"94":11008,"24":0,"16":21169421355581440,"45":908249411261302784},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135252992001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:57:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21169421355581440,"km_value":21169421355581.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":908249411261302784,"description":"Unknown IO ID 45"} 
[2026-06-18 15:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135252992001,"power":14450,"unknown_167":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":908249411261302784}} 
[2026-06-18 15:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":106653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344754,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:02] local.INFO: GPS data processed {"connection_id":106653,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:02] local.INFO: Acknowledgment sent {"connection_id":106653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:05] local.INFO: TCP Data received {"connection_id":105889,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda44bf18012d7a55c005eb96e00000006720..."} 
[2026-06-18 15:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda44bf18012d7a55c005eb96e00000006720..."} 
[2026-06-18 15:57:05] local.INFO: Processing buffer {"connection_id":105889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda44bf18012d7a55c005eb96e00000006720..."} 
[2026-06-18 15:57:05] local.INFO: Packet analysis {"connection_id":105889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:05] local.INFO: Extracted packet for processing {"connection_id":105889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:05] local.INFO: GPS Element Parsed {"raw_longitude":762992064,"raw_latitude":99325664,"longitude_deg":76.2992064,"latitude_deg":9.9325664,"altitude":0,"angle":103,"satellites":32,"speed":9,"hex_longitude":"2d7a55c0","hex_latitude":"05eb96e0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135269888001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93883531209474048,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814951871075010560,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:05] 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-06-18 15:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781778399000,"timestamp_ms":1781778399000,"timestamp_seconds":1781778399,"priority":1,"record_length":96,"hex_timestamp":"0000019eda44bf18"} 
[2026-06-18 15:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:05] 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-06-18 15: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-18 15:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105889,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:57: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-06-18 15:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135269888001,"66":13363,"163":206,"87":13824,"24":9,"16":93883531209474048,"45":8814951871075010560},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-18 15:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135269888001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:05] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 15:57:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93883531209474048,"km_value":93883531209474.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814951871075010560,"description":"Unknown IO ID 45"} 
[2026-06-18 15:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135269888001,"power":13363,"unknown_163":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8814951871075010560}} 
[2026-06-18 15:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":105889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:05] local.INFO: GPS data processed {"connection_id":105889,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:05] local.INFO: Acknowledgment sent {"connection_id":105889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:07] local.INFO: TCP Data received {"connection_id":106653,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda443278012d0c9ac00705afd00018015e16..."} 
[2026-06-18 15:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda443278012d0c9ac00705afd00018015e16..."} 
[2026-06-18 15:57:07] local.INFO: Processing buffer {"connection_id":106653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda443278012d0c9ac00705afd00018015e16..."} 
[2026-06-18 15:57:07] local.INFO: Packet analysis {"connection_id":106653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:07] local.INFO: Extracted packet for processing {"connection_id":106653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":755800768,"raw_latitude":117813200,"longitude_deg":75.5800768,"latitude_deg":11.78132,"altitude":24,"angle":350,"satellites":22,"speed":2,"hex_longitude":"2d0c9ac0","hex_latitude":"0705afd0","is_valid_coordinates":true} 
[2026-06-18 15:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135258368001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21169425650548736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908319780005474304,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781778363000,"timestamp_ms":1781778363000,"timestamp_seconds":1781778363,"priority":1,"record_length":96,"hex_timestamp":"0000019eda443278"} 
[2026-06-18 15:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 15:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:57:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135258368001,"66":14439,"167":206,"94":11008,"24":2,"16":21169425650548736,"45":908319780005474304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135258368001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:57:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21169425650548736,"km_value":21169425650548.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":908319780005474304,"description":"Unknown IO ID 45"} 
[2026-06-18 15:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135258368001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":908319780005474304}} 
[2026-06-18 15:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":106653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344756,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:07] local.INFO: GPS data processed {"connection_id":106653,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:07] local.INFO: Acknowledgment sent {"connection_id":106653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:09] local.INFO: TCP Data received {"connection_id":106652,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda445d70012ce85200072f71400017011c25..."} 
[2026-06-18 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda445d70012ce85200072f71400017011c25..."} 
[2026-06-18 15:57:09] local.INFO: Processing buffer {"connection_id":106652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda445d70012ce85200072f71400017011c25..."} 
[2026-06-18 15:57:09] local.INFO: Packet analysis {"connection_id":106652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:09] local.INFO: Extracted packet for processing {"connection_id":106652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":753422848,"raw_latitude":120549696,"longitude_deg":75.3422848,"latitude_deg":12.0549696,"altitude":23,"angle":284,"satellites":37,"speed":23,"hex_longitude":"2ce85200","hex_latitude":"072f7140","is_valid_coordinates":true} 
[2026-06-18 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135263488001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318631009371291648,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1705738328005898240,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781778374000,"timestamp_ms":1781778374000,"timestamp_seconds":1781778374,"priority":1,"record_length":96,"hex_timestamp":"0000019eda445d70"} 
[2026-06-18 15:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 15:57: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-06-18 15:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135263488001,"66":27604,"140":206,"2":56832,"24":23,"16":318631009371291648,"44":-1705738328005898240},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-18 15:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135263488001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:09] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-18 15:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318631009371291648,"km_value":318631009371291.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1705738328005898240,"description":"Unknown IO ID 44"} 
[2026-06-18 15:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135263488001,"power":27604,"unknown_140":206,"power_alt":56832,"ignition":23,"odometer":null,"unknown_44":-1705738328005898240}} 
[2026-06-18 15:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":106652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:09] local.INFO: GPS data processed {"connection_id":106652,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:09] local.INFO: Acknowledgment sent {"connection_id":106652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:25] local.INFO: TCP Data received {"connection_id":105890,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:57:25] local.INFO: Processing buffer {"connection_id":105890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:57:25] local.INFO: IMEI packet received {"connection_id":105890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:57:25] local.INFO: IMEI acknowledgment sent {"connection_id":105890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:57:30] local.INFO: TCP Data received {"connection_id":105890,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:57:30] local.INFO: Processing buffer {"connection_id":105890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:57:30] local.INFO: IMEI packet received {"connection_id":105890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:57:30] local.INFO: IMEI acknowledgment sent {"connection_id":105890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:57:33] local.INFO: TCP Data received {"connection_id":105890,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda446928012ce84ac0072f71f00018010f25..."} 
[2026-06-18 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda446928012ce84ac0072f71f00018010f25..."} 
[2026-06-18 15:57:33] local.INFO: Processing buffer {"connection_id":105890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda446928012ce84ac0072f71f00018010f25..."} 
[2026-06-18 15:57:33] local.INFO: Packet analysis {"connection_id":105890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:33] local.INFO: Extracted packet for processing {"connection_id":105890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:33] local.INFO: GPS Element Parsed {"raw_longitude":753420992,"raw_latitude":120549872,"longitude_deg":75.3420992,"latitude_deg":12.0549872,"altitude":24,"angle":271,"satellites":37,"speed":21,"hex_longitude":"2ce84ac0","hex_latitude":"072f71f0","is_valid_coordinates":true} 
[2026-06-18 15:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135263744001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318631095270637568,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1706301277959274496,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781778377000,"timestamp_ms":1781778377000,"timestamp_seconds":1781778377,"priority":1,"record_length":96,"hex_timestamp":"0000019eda446928"} 
[2026-06-18 15:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 15:57: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-06-18 15:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135263744001,"66":27908,"140":206,"2":56832,"24":21,"16":318631095270637568,"44":-1706301277959274496},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-18 15:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135263744001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:33] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-18 15:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318631095270637568,"km_value":318631095270637.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1706301277959274496,"description":"Unknown IO ID 44"} 
[2026-06-18 15:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135263744001,"power":27908,"unknown_140":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-1706301277959274496}} 
[2026-06-18 15:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":105890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:33] local.INFO: GPS data processed {"connection_id":105890,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:33] local.INFO: Acknowledgment sent {"connection_id":105890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:33] local.INFO: TCP Data received {"connection_id":105891,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:33] local.INFO: Processing buffer {"connection_id":105891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:33] local.INFO: IMEI packet received {"connection_id":105891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":105891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:57:34] local.INFO: TCP Data received {"connection_id":105891,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:34] local.INFO: Processing buffer {"connection_id":105891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:34] local.INFO: IMEI packet received {"connection_id":105891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":105891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:57:38] local.INFO: TCP Data received {"connection_id":106653,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4451b8012d0c9ac00705b010001800b316..."} 
[2026-06-18 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4451b8012d0c9ac00705b010001800b316..."} 
[2026-06-18 15:57:38] local.INFO: Processing buffer {"connection_id":106653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4451b8012d0c9ac00705b010001800b316..."} 
[2026-06-18 15:57:38] local.INFO: Packet analysis {"connection_id":106653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:38] local.INFO: Extracted packet for processing {"connection_id":106653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":755800768,"raw_latitude":117813264,"longitude_deg":75.5800768,"latitude_deg":11.7813264,"altitude":24,"angle":179,"satellites":22,"speed":2,"hex_longitude":"2d0c9ac0","hex_latitude":"0705b010","is_valid_coordinates":true} 
[2026-06-18 15:57: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-06-18 15:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135260928001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21169429945516032,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":908249411261288448,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781778371000,"timestamp_ms":1781778371000,"timestamp_seconds":1781778371,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4451b8"} 
[2026-06-18 15:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:57:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:57: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-06-18 15:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106653,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135260928001,"66":14026,"167":206,"94":11008,"24":2,"16":21169429945516032,"45":908249411261288448},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135260928001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:57:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21169429945516032,"km_value":21169429945516.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":908249411261288448,"description":"Unknown IO ID 45"} 
[2026-06-18 15:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135260928001,"power":14026,"unknown_167":206,"unknown_94":11008,"ignition":2,"odometer":null,"unknown_45":908249411261288448}} 
[2026-06-18 15:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":106653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:38] local.INFO: GPS data processed {"connection_id":106653,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:38] local.INFO: Acknowledgment sent {"connection_id":106653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:38] local.INFO: TCP Data received {"connection_id":105891,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105891,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:38] local.INFO: Processing buffer {"connection_id":105891,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:57:38] local.INFO: IMEI packet received {"connection_id":105891,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":105891,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:57:39] local.INFO: TCP Data received {"connection_id":105891,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda44c300012d7a56c005eb96b00000005921..."} 
[2026-06-18 15:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda44c300012d7a56c005eb96b00000005921..."} 
[2026-06-18 15:57:39] local.INFO: Processing buffer {"connection_id":105891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda44c300012d7a56c005eb96b00000005921..."} 
[2026-06-18 15:57:39] local.INFO: Packet analysis {"connection_id":105891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:39] local.INFO: Extracted packet for processing {"connection_id":105891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:39] local.INFO: GPS Element Parsed {"raw_longitude":762992320,"raw_latitude":99325616,"longitude_deg":76.299232,"latitude_deg":9.9325616,"altitude":0,"angle":89,"satellites":33,"speed":8,"hex_longitude":"2d7a56c0","hex_latitude":"05eb96b0","is_valid_coordinates":true} 
[2026-06-18 15:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135270144001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93883539799408640,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815162977307516928,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:39] 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-06-18 15:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781778400000,"timestamp_ms":1781778400000,"timestamp_seconds":1781778400,"priority":1,"record_length":96,"hex_timestamp":"0000019eda44c300"} 
[2026-06-18 15:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:39] 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-06-18 15:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 15:57:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135270144001,"66":13363,"163":206,"87":13824,"24":8,"16":93883539799408640,"45":8815162977307516928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-18 15:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135270144001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:39] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 15:57:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93883539799408640,"km_value":93883539799408.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815162977307516928,"description":"Unknown IO ID 45"} 
[2026-06-18 15:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135270144001,"power":13363,"unknown_163":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":8815162977307516928}} 
[2026-06-18 15:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":105891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344760,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:39] local.INFO: GPS data processed {"connection_id":105891,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:39] local.INFO: Acknowledgment sent {"connection_id":105891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:44] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:44] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:44] local.INFO: IMEI packet received {"connection_id":106074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":106074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:57:44] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:44] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:44] local.INFO: IMEI packet received {"connection_id":106074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":106074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:57:45] local.INFO: TCP Data received {"connection_id":105891,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda44da70012d7a5b0005eb96500000004923..."} 
[2026-06-18 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda44da70012d7a5b0005eb96500000004923..."} 
[2026-06-18 15:57:45] local.INFO: Processing buffer {"connection_id":105891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda44da70012d7a5b0005eb96500000004923..."} 
[2026-06-18 15:57:45] local.INFO: Packet analysis {"connection_id":105891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:45] local.INFO: Extracted packet for processing {"connection_id":105891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda44"} 
[2026-06-18 15:57:45] local.INFO: GPS Element Parsed {"raw_longitude":762993408,"raw_latitude":99325520,"longitude_deg":76.2993408,"latitude_deg":9.932552,"altitude":0,"angle":73,"satellites":35,"speed":11,"hex_longitude":"2d7a5b00","hex_latitude":"05eb9650","is_valid_coordinates":true} 
[2026-06-18 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135270400001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93883595633983488,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815444452284215296,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:45] 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-06-18 15:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781778406000,"timestamp_ms":1781778406000,"timestamp_seconds":1781778406,"priority":1,"record_length":96,"hex_timestamp":"0000019eda44da70"} 
[2026-06-18 15:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:45] 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-06-18 15:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 15:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105891,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:57:45] 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-06-18 15:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135270400001,"66":13526,"163":206,"87":13824,"24":11,"16":93883595633983488,"45":8815444452284215296},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-18 15:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135270400001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:45] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 15:57:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93883595633983488,"km_value":93883595633983.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815444452284215296,"description":"Unknown IO ID 45"} 
[2026-06-18 15:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135270400001,"power":13526,"unknown_163":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8815444452284215296}} 
[2026-06-18 15:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":105891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344761,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:45] local.INFO: GPS data processed {"connection_id":105891,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:45] local.INFO: Acknowledgment sent {"connection_id":105891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:45] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:45] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:45] local.INFO: IMEI packet received {"connection_id":106074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":106074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:57:49] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:49] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:57:49] local.INFO: IMEI packet received {"connection_id":106074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":106074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:57:50] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda453830012d1a7500072048d0003c005c23..."} 
[2026-06-18 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda453830012d1a7500072048d0003c005c23..."} 
[2026-06-18 15:57:50] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda453830012d1a7500072048d0003c005c23..."} 
[2026-06-18 15:57:50] local.INFO: Packet analysis {"connection_id":106074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:57:50] local.INFO: Extracted packet for processing {"connection_id":106074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756708608,"raw_latitude":119556304,"longitude_deg":75.6708608,"latitude_deg":11.9556304,"altitude":60,"angle":92,"satellites":35,"speed":31,"hex_longitude":"2d1a7500","hex_latitude":"072048d0","is_valid_coordinates":true} 
[2026-06-18 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135276800001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3302344519319552,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1902559766938085376,"note":"Value kept but may cause issues"} 
[2026-06-18 15:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781778430000,"timestamp_ms":1781778430000,"timestamp_seconds":1781778430,"priority":1,"record_length":96,"hex_timestamp":"0000019eda453830"} 
[2026-06-18 15:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 15:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135276800001,"66":14494,"121":206,"28":31744,"24":31,"16":3302344519319552,"45":1902559766938085376},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135276800001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:57:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:57:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3302344519319552,"km_value":3302344519319.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1902559766938085376,"description":"Unknown IO ID 45"} 
[2026-06-18 15:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135276800001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1902559766938085376}} 
[2026-06-18 15:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":106074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:57:50] local.INFO: GPS data processed {"connection_id":106074,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:57:50] local.INFO: Acknowledgment sent {"connection_id":106074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:57:56] local.INFO: TCP Data received {"connection_id":105892,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:56] local.INFO: Processing buffer {"connection_id":105892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:57:56] local.INFO: IMEI packet received {"connection_id":105892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":105892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:58:02] local.INFO: TCP Data received {"connection_id":105892,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:02] local.INFO: Processing buffer {"connection_id":105892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:02] local.INFO: IMEI packet received {"connection_id":105892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":105892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:58:02] local.INFO: TCP Data received {"connection_id":105892,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda45a590012d0cebc00705c7780017000516..."} 
[2026-06-18 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda45a590012d0cebc00705c7780017000516..."} 
[2026-06-18 15:58:02] local.INFO: Processing buffer {"connection_id":105892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda45a590012d0cebc00705c7780017000516..."} 
[2026-06-18 15:58:02] local.INFO: Packet analysis {"connection_id":105892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:02] local.INFO: Extracted packet for processing {"connection_id":105892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:02] local.INFO: GPS Element Parsed {"raw_longitude":755821504,"raw_latitude":117819256,"longitude_deg":75.5821504,"latitude_deg":11.7819256,"altitude":23,"angle":5,"satellites":22,"speed":18,"hex_longitude":"2d0cebc0","hex_latitude":"0705c778","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135284992001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21170512277274624,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":931048884376274944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781778458000,"timestamp_ms":1781778458000,"timestamp_seconds":1781778458,"priority":1,"record_length":96,"hex_timestamp":"0000019eda45a590"} 
[2026-06-18 15:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:58: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-06-18 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135284992001,"66":14428,"167":206,"94":11008,"24":18,"16":21170512277274624,"45":931048884376274944},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135284992001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:58:02] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:58:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21170512277274624,"km_value":21170512277274.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":931048884376274944,"description":"Unknown IO ID 45"} 
[2026-06-18 15:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135284992001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":18,"odometer":null,"unknown_45":931048884376274944}} 
[2026-06-18 15:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":105892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:58:02] local.INFO: GPS data processed {"connection_id":105892,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:58:02] local.INFO: Acknowledgment sent {"connection_id":105892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:58:03] local.INFO: TCP Data received {"connection_id":106654,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:58:03] local.INFO: Processing buffer {"connection_id":106654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:58:03] local.INFO: IMEI packet received {"connection_id":106654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":106654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:58:05] local.INFO: TCP Data received {"connection_id":105890,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda453c18012ce7ee00072f95280020010829..."} 
[2026-06-18 15:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda453c18012ce7ee00072f95280020010829..."} 
[2026-06-18 15:58:05] local.INFO: Processing buffer {"connection_id":105890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda453c18012ce7ee00072f95280020010829..."} 
[2026-06-18 15:58:05] local.INFO: Packet analysis {"connection_id":105890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:05] local.INFO: Extracted packet for processing {"connection_id":105890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":753397248,"raw_latitude":120558888,"longitude_deg":75.3397248,"latitude_deg":12.0558888,"altitude":32,"angle":264,"satellites":41,"speed":21,"hex_longitude":"2ce7ee00","hex_latitude":"072f9528","is_valid_coordinates":true} 
[2026-06-18 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135276800001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318632512609845248,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1730367388465410048,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781778431000,"timestamp_ms":1781778431000,"timestamp_seconds":1781778431,"priority":1,"record_length":96,"hex_timestamp":"0000019eda453c18"} 
[2026-06-18 15:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-18 15:58:05] 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-06-18 15:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135276800001,"66":27974,"140":206,"2":56832,"24":21,"16":318632512609845248,"44":-1730367388465410048},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-18 15:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135276800001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:58:05] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-18 15:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318632512609845248,"km_value":318632512609845.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:58:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1730367388465410048,"description":"Unknown IO ID 44"} 
[2026-06-18 15:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135276800001,"power":27974,"unknown_140":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-1730367388465410048}} 
[2026-06-18 15:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":105890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:58:05] local.INFO: GPS data processed {"connection_id":105890,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:58:05] local.INFO: Acknowledgment sent {"connection_id":105890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:58:22] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda45b530012d1a9c40072065980044004023..."} 
[2026-06-18 15:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda45b530012d1a9c40072065980044004023..."} 
[2026-06-18 15:58:22] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda45b530012d1a9c40072065980044004023..."} 
[2026-06-18 15:58:22] local.INFO: Packet analysis {"connection_id":106074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:22] local.INFO: Extracted packet for processing {"connection_id":106074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756718656,"raw_latitude":119563672,"longitude_deg":75.6718656,"latitude_deg":11.9563672,"altitude":68,"angle":64,"satellites":35,"speed":12,"hex_longitude":"2d1a9c40","hex_latitude":"07206598","is_valid_coordinates":true} 
[2026-06-18 15:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135286016001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3303078958727168,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1917266834472888320,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781778462000,"timestamp_ms":1781778462000,"timestamp_seconds":1781778462,"priority":1,"record_length":96,"hex_timestamp":"0000019eda45b530"} 
[2026-06-18 15:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 15:58:22] 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-06-18 15:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 15:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 15:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 15:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135286016001,"66":14341,"121":206,"28":31744,"24":12,"16":3303078958727168,"45":1917266834472888320},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 15:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 15:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 15:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135286016001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:58:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 15:58:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 15:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3303078958727168,"km_value":3303078958727.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1917266834472888320,"description":"Unknown IO ID 45"} 
[2026-06-18 15:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135286016001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1917266834472888320}} 
[2026-06-18 15:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":106074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:58:22] local.INFO: GPS data processed {"connection_id":106074,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:58:22] local.INFO: Acknowledgment sent {"connection_id":106074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:58:24] local.INFO: TCP Data received {"connection_id":106655,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:24] local.INFO: Processing buffer {"connection_id":106655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:24] local.INFO: IMEI packet received {"connection_id":106655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":106655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:58:25] local.INFO: TCP Data received {"connection_id":106655,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:25] local.INFO: Processing buffer {"connection_id":106655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:25] local.INFO: IMEI packet received {"connection_id":106655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":106655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:58:29] local.INFO: TCP Data received {"connection_id":106655,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:29] local.INFO: Processing buffer {"connection_id":106655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:58:29] local.INFO: IMEI packet received {"connection_id":106655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":106655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:58:30] local.INFO: TCP Data received {"connection_id":107629,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:58:30] local.INFO: Processing buffer {"connection_id":107629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:58:30] local.INFO: IMEI packet received {"connection_id":107629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":107629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:58:31] local.INFO: TCP Data received {"connection_id":106655,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4543e8012ce7e900072f95b0002001192a..."} 
[2026-06-18 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4543e8012ce7e900072f95b0002001192a..."} 
[2026-06-18 15:58:31] local.INFO: Processing buffer {"connection_id":106655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4543e8012ce7e900072f95b0002001192a..."} 
[2026-06-18 15:58:31] local.INFO: Packet analysis {"connection_id":106655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:31] local.INFO: Extracted packet for processing {"connection_id":106655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":753395968,"raw_latitude":120559024,"longitude_deg":75.3395968,"latitude_deg":12.0559024,"altitude":32,"angle":281,"satellites":42,"speed":24,"hex_longitude":"2ce7e900","hex_latitude":"072f95b0","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135278336001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318632572739387392,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1734448775627986944,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781778433000,"timestamp_ms":1781778433000,"timestamp_seconds":1781778433,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4543e8"} 
[2026-06-18 15:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 15:58: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-06-18 15: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-06-18 15:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135278336001,"66":27865,"140":206,"2":56832,"24":24,"16":318632572739387392,"44":-1734448775627986944},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-18 15:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135278336001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:58:31] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-18 15:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318632572739387392,"km_value":318632572739387.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1734448775627986944,"description":"Unknown IO ID 44"} 
[2026-06-18 15:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135278336001,"power":27865,"unknown_140":206,"power_alt":56832,"ignition":24,"odometer":null,"unknown_44":-1734448775627986944}} 
[2026-06-18 15:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":106655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:58:31] local.INFO: GPS data processed {"connection_id":106655,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:58:31] local.INFO: Acknowledgment sent {"connection_id":106655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:58:33] local.INFO: TCP Data received {"connection_id":105892,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda463de8012d0d3b400705d358001300af16..."} 
[2026-06-18 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda463de8012d0d3b400705d358001300af16..."} 
[2026-06-18 15:58:33] local.INFO: Processing buffer {"connection_id":105892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda463de8012d0d3b400705d358001300af16..."} 
[2026-06-18 15:58:33] local.INFO: Packet analysis {"connection_id":105892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 15:58:33] local.INFO: Extracted packet for processing {"connection_id":105892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 15:58:33] local.INFO: GPS Element Parsed {"raw_longitude":755841856,"raw_latitude":117822296,"longitude_deg":75.5841856,"latitude_deg":11.7822296,"altitude":19,"angle":175,"satellites":22,"speed":11,"hex_longitude":"2d0d3b40","hex_latitude":"0705d358","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135294976001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21171633263738880,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537391616,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781778497000,"timestamp_ms":1781778497000,"timestamp_seconds":1781778497,"priority":1,"record_length":96,"hex_timestamp":"0000019eda463de8"} 
[2026-06-18 15:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15: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-06-18 15: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 15:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135294976001,"66":14428,"167":206,"94":11008,"24":11,"16":21171633263738880,"45":953285407537391616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135294976001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:58:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:58:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21171633263738880,"km_value":21171633263738.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537391616,"description":"Unknown IO ID 45"} 
[2026-06-18 15:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135294976001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":953285407537391616}} 
[2026-06-18 15:58:33] local.INFO: TCP Data received {"connection_id":106656,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:58:33] local.INFO: Processing buffer {"connection_id":106656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 15:58:33] local.INFO: IMEI packet received {"connection_id":106656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 15:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":106656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":105892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344767,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:58:33] local.INFO: GPS data processed {"connection_id":105892,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:58:33] local.INFO: Acknowledgment sent {"connection_id":105892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:58:34] local.INFO: TCP Data received {"connection_id":107629,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107629,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:58:34] local.INFO: Processing buffer {"connection_id":107629,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:58:34] local.INFO: IMEI packet received {"connection_id":107629,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":107629,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:58:35] local.INFO: TCP Data received {"connection_id":107629,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda452890012d7a7b4005eba1f00000004623..."} 
[2026-06-18 15:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda452890012d7a7b4005eba1f00000004623..."} 
[2026-06-18 15:58:35] local.INFO: Processing buffer {"connection_id":107629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda452890012d7a7b4005eba1f00000004623..."} 
[2026-06-18 15:58:35] local.INFO: Packet analysis {"connection_id":107629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:35] local.INFO: Extracted packet for processing {"connection_id":107629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763001664,"raw_latitude":99328496,"longitude_deg":76.3001664,"latitude_deg":9.9328496,"altitude":0,"angle":70,"satellites":35,"speed":14,"hex_longitude":"2d7a7b40","hex_latitude":"05eba1f0","is_valid_coordinates":true} 
[2026-06-18 15:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135271936001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93884016540778496,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8816640720935211008,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781778426000,"timestamp_ms":1781778426000,"timestamp_seconds":1781778426,"priority":1,"record_length":96,"hex_timestamp":"0000019eda452890"} 
[2026-06-18 15:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:58:35] 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-06-18 15:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-06-18 15:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:58:35] 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-06-18 15:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135271936001,"66":13091,"163":206,"87":13824,"24":14,"16":93884016540778496,"45":8816640720935211008},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-18 15:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135271936001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93884016540778496,"km_value":93884016540778.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8816640720935211008,"description":"Unknown IO ID 45"} 
[2026-06-18 15:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135271936001,"power":13091,"unknown_163":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":8816640720935211008}} 
[2026-06-18 15:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":107629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344768,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:58:35] local.INFO: GPS data processed {"connection_id":107629,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:58:35] local.INFO: Acknowledgment sent {"connection_id":107629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:58:35] local.INFO: TCP Data received {"connection_id":107629,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda456328012d7a9e4005ebaee00000004522..."} 
[2026-06-18 15:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda456328012d7a9e4005ebaee00000004522..."} 
[2026-06-18 15:58:35] local.INFO: Processing buffer {"connection_id":107629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda456328012d7a9e4005ebaee00000004522..."} 
[2026-06-18 15:58:35] local.INFO: Packet analysis {"connection_id":107629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:35] local.INFO: Extracted packet for processing {"connection_id":107629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:58:35] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":99331808,"longitude_deg":76.3010624,"latitude_deg":9.9331808,"altitude":0,"angle":69,"satellites":34,"speed":26,"hex_longitude":"2d7a9e40","hex_latitude":"05ebaee0","is_valid_coordinates":true} 
[2026-06-18 15:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135277056001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93884471807311872,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825718288934891520,"note":"Value kept but may cause issues"} 
[2026-06-18 15:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781778441000,"timestamp_ms":1781778441000,"timestamp_seconds":1781778441,"priority":1,"record_length":96,"hex_timestamp":"0000019eda456328"} 
[2026-06-18 15:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:58:35] 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-06-18 15:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 15:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:58:35] 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-06-18 15:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135277056001,"66":13374,"163":206,"87":13824,"24":26,"16":93884471807311872,"45":8825718288934891520},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,87,24,16,45]} 
[2026-06-18 15:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135277056001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93884471807311872,"km_value":93884471807311.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825718288934891520,"description":"Unknown IO ID 45"} 
[2026-06-18 15:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135277056001,"power":13374,"unknown_163":206,"unknown_87":13824,"ignition":26,"odometer":null,"unknown_45":8825718288934891520}} 
[2026-06-18 15:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":107629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:58:35] local.INFO: GPS data processed {"connection_id":107629,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:58:35] local.INFO: Acknowledgment sent {"connection_id":107629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:58:46] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:46] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:46] local.INFO: IMEI packet received {"connection_id":106075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 15:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":106075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:58:48] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:48] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:48] local.INFO: IMEI packet received {"connection_id":106075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":106075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:58:49] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:49] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:49] local.INFO: IMEI packet received {"connection_id":106075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":106075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:58:50] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:50] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 15:58:50] local.INFO: IMEI packet received {"connection_id":106075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":106075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:58:56] local.INFO: TCP Data received {"connection_id":106076,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:56] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:56] local.INFO: IMEI packet received {"connection_id":106076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 15:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":106076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:58:57] local.INFO: TCP Data received {"connection_id":106076,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:57] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:58:57] local.INFO: IMEI packet received {"connection_id":106076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":106076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:59:04] local.INFO: TCP Data received {"connection_id":106076,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:59:04] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:59:04] local.INFO: IMEI packet received {"connection_id":106076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":106076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:59:04] local.INFO: TCP Data received {"connection_id":106076,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:59:04] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 15:59:04] local.INFO: IMEI packet received {"connection_id":106076,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":106076,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:59:05] local.INFO: TCP Data received {"connection_id":106076,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4645b8012d0d3ac00705d0d8001300c016..."} 
[2026-06-18 15:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4645b8012d0d3ac00705d0d8001300c016..."} 
[2026-06-18 15:59:05] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4645b8012d0d3ac00705d0d8001300c016..."} 
[2026-06-18 15:59:05] local.INFO: Packet analysis {"connection_id":106076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 15:59:05] local.INFO: Extracted packet for processing {"connection_id":106076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 15:59:05] local.INFO: GPS Element Parsed {"raw_longitude":755841728,"raw_latitude":117821656,"longitude_deg":75.5841728,"latitude_deg":11.7821656,"altitude":19,"angle":192,"satellites":22,"speed":13,"hex_longitude":"2d0d3ac0","hex_latitude":"0705d0d8","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135295232001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21171663328509952,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953426145025677312,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781778499000,"timestamp_ms":1781778499000,"timestamp_seconds":1781778499,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4645b8"} 
[2026-06-18 15:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15: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-06-18 15: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 15:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15: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-06-18 15:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135295232001,"66":14461,"167":206,"94":11008,"24":13,"16":21171663328509952,"45":953426145025677312},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135295232001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:59:05] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:59:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21171663328509952,"km_value":21171663328509.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":953426145025677312,"description":"Unknown IO ID 45"} 
[2026-06-18 15:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135295232001,"power":14461,"unknown_167":206,"unknown_94":11008,"ignition":13,"odometer":null,"unknown_45":953426145025677312}} 
[2026-06-18 15:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":106076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:59:05] local.INFO: GPS data processed {"connection_id":106076,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:59:05] local.INFO: Acknowledgment sent {"connection_id":106076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:59:07] local.INFO: TCP Data received {"connection_id":106076,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda466110012d0d39400705c918001300ab16..."} 
[2026-06-18 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda466110012d0d39400705c918001300ab16..."} 
[2026-06-18 15:59:07] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda466110012d0d39400705c918001300ab16..."} 
[2026-06-18 15:59:07] local.INFO: Packet analysis {"connection_id":106076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 15:59:07] local.INFO: Extracted packet for processing {"connection_id":106076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":755841344,"raw_latitude":117819672,"longitude_deg":75.5841344,"latitude_deg":11.7819672,"altitude":19,"angle":171,"satellites":22,"speed":6,"hex_longitude":"2d0d3940","hex_latitude":"0705c918","is_valid_coordinates":true} 
[2026-06-18 15:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135295744001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21171762112757760,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953285407537158144,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781778506000,"timestamp_ms":1781778506000,"timestamp_seconds":1781778506,"priority":1,"record_length":96,"hex_timestamp":"0000019eda466110"} 
[2026-06-18 15:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:59: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-06-18 15:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 15:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135295744001,"66":14439,"167":206,"94":11008,"24":6,"16":21171762112757760,"45":953285407537158144},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135295744001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21171762112757760,"km_value":21171762112757.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":953285407537158144,"description":"Unknown IO ID 45"} 
[2026-06-18 15:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135295744001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953285407537158144}} 
[2026-06-18 15:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":106076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344771,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:59:07] local.INFO: GPS data processed {"connection_id":106076,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:59:07] local.INFO: Acknowledgment sent {"connection_id":106076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:59:07] local.INFO: TCP Data received {"connection_id":106655,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda456af8012ce7cf80072f9e28002501272a..."} 
[2026-06-18 15:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda456af8012ce7cf80072f9e28002501272a..."} 
[2026-06-18 15:59:07] local.INFO: Processing buffer {"connection_id":106655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda456af8012ce7cf80072f9e28002501272a..."} 
[2026-06-18 15:59:07] local.INFO: Packet analysis {"connection_id":106655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:59:07] local.INFO: Extracted packet for processing {"connection_id":106655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":753389440,"raw_latitude":120561192,"longitude_deg":75.338944,"latitude_deg":12.0561192,"altitude":37,"angle":295,"satellites":42,"speed":24,"hex_longitude":"2ce7cf80","hex_latitude":"072f9e28","is_valid_coordinates":true} 
[2026-06-18 15:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135278848001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318632899156901888,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1735856150511505408,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,140,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781778443000,"timestamp_ms":1781778443000,"timestamp_seconds":1781778443,"priority":1,"record_length":96,"hex_timestamp":"0000019eda456af8"} 
[2026-06-18 15:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 15:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 15:59:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 15:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 15:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 15:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135278848001,"66":27974,"140":206,"2":56832,"24":24,"16":318632899156901888,"44":-1735856150511505408},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-06-18 15:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 15:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135278848001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-06-18 15:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318632899156901888,"km_value":318632899156901.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:59:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1735856150511505408,"description":"Unknown IO ID 44"} 
[2026-06-18 15:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135278848001,"power":27974,"unknown_140":206,"power_alt":56832,"ignition":24,"odometer":null,"unknown_44":-1735856150511505408}} 
[2026-06-18 15:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":106655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:59:07] local.INFO: GPS data processed {"connection_id":106655,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:59:07] local.INFO: Acknowledgment sent {"connection_id":106655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:59:21] local.INFO: TCP Data received {"connection_id":107629,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda458e20012d7abec005ebbc100002004125..."} 
[2026-06-18 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda458e20012d7abec005ebbc100002004125..."} 
[2026-06-18 15:59:21] local.INFO: Processing buffer {"connection_id":107629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda458e20012d7abec005ebbc100002004125..."} 
[2026-06-18 15:59:21] local.INFO: Packet analysis {"connection_id":107629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:59:21] local.INFO: Extracted packet for processing {"connection_id":107629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:59:21] local.INFO: GPS Element Parsed {"raw_longitude":763018944,"raw_latitude":99335184,"longitude_deg":76.3018944,"latitude_deg":9.9335184,"altitude":2,"angle":65,"satellites":37,"speed":35,"hex_longitude":"2d7abec0","hex_latitude":"05ebbc10","is_valid_coordinates":true} 
[2026-06-18 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135280896001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93884901304041472,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835569913120612352,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781778452000,"timestamp_ms":1781778452000,"timestamp_seconds":1781778452,"priority":1,"record_length":96,"hex_timestamp":"0000019eda458e20"} 
[2026-06-18 15:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:59:21] 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-06-18 15:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-18 15:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:59: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-06-18 15:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107629,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:59:21] 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-06-18 15:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135280896001,"66":13319,"155":206,"87":13824,"24":35,"16":93884901304041472,"45":8835569913120612352},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 15:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135280896001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:59:21] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 15:59:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93884901304041472,"km_value":93884901304041.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835569913120612352,"description":"Unknown IO ID 45"} 
[2026-06-18 15:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135280896001,"power":13319,"unknown_155":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8835569913120612352}} 
[2026-06-18 15:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":107629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:59:21] local.INFO: GPS data processed {"connection_id":107629,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:59:21] local.INFO: Acknowledgment sent {"connection_id":107629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:59:24] local.INFO: TCP Data received {"connection_id":105893,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:59:24] local.INFO: Processing buffer {"connection_id":105893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:59:24] local.INFO: IMEI packet received {"connection_id":105893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 15:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":105893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:59:26] local.INFO: TCP Data received {"connection_id":105894,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:26] local.INFO: Processing buffer {"connection_id":105894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:26] local.INFO: IMEI packet received {"connection_id":105894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 15:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":105894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 15:59:28] local.INFO: TCP Data received {"connection_id":105894,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:28] local.INFO: Processing buffer {"connection_id":105894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:28] local.INFO: IMEI packet received {"connection_id":105894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":105894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:59:30] local.INFO: TCP Data received {"connection_id":105893,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:59:30] local.INFO: Processing buffer {"connection_id":105893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 15:59:30] local.INFO: IMEI packet received {"connection_id":105893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":105893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:59:34] local.INFO: TCP Data received {"connection_id":105894,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105894,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:34] local.INFO: Processing buffer {"connection_id":105894,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 15:59:34] local.INFO: IMEI packet received {"connection_id":105894,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 15:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":105894,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:59:35] local.INFO: TCP Data received {"connection_id":105893,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105893,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:59:35] local.INFO: Processing buffer {"connection_id":105893,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 15:59:35] local.INFO: IMEI packet received {"connection_id":105893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 15:59:35] local.INFO: IMEI acknowledgment sent {"connection_id":105893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 15:59:35] local.INFO: TCP Data received {"connection_id":105894,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda45b918012d7ae14005ebcc380006003f26..."} 
[2026-06-18 15:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda45b918012d7ae14005ebcc380006003f26..."} 
[2026-06-18 15:59:35] local.INFO: Processing buffer {"connection_id":105894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda45b918012d7ae14005ebcc380006003f26..."} 
[2026-06-18 15:59:35] local.INFO: Packet analysis {"connection_id":105894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:59:35] local.INFO: Extracted packet for processing {"connection_id":105894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda45"} 
[2026-06-18 15:59:35] local.INFO: GPS Element Parsed {"raw_longitude":763027776,"raw_latitude":99339320,"longitude_deg":76.3027776,"latitude_deg":9.933932,"altitude":6,"angle":63,"satellites":38,"speed":31,"hex_longitude":"2d7ae140","hex_latitude":"05ebcc38","is_valid_coordinates":true} 
[2026-06-18 15: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-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135283712001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93885369455476736,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8844717849864572928,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59: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-06-18 15:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781778463000,"timestamp_ms":1781778463000,"timestamp_seconds":1781778463,"priority":1,"record_length":96,"hex_timestamp":"0000019eda45b918"} 
[2026-06-18 15:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:59:35] 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-06-18 15: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3661937456,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":138,"raw_value":2717908992,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":235,"raw_value":-7426435785524895488,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":765657294,"corrected_to":0} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":85,"raw_value":3221613462,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2324889600,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3952560128,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":62,"raw_value":57752548342126390,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.WARNING: Large IO value detected {"io_id":68,"raw_value":-5802886825029451771,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:35] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,155,87,24,241,157,16,139,158,99,45,64,174,34,10,66,163,40,161,35,218,1,240,214,227,138,235,4,113,205,8,191,85,224,32,239,52,2,77,5,62,68],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":205,"original":765657294,"validated":0}]} 
[2026-06-18 15:59:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144186815247745024,"timestamp_seconds":144186815247745.03,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 15:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 15:59:35] 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-06-18 15:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 15:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 15:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135283712001,"66":13200,"155":206,"87":13824,"24":31,"16":93885369455476736,"45":8844717849864572928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 15:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 15:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 15:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135283712001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:59:35] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 15:59:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 15:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93885369455476736,"km_value":93885369455476.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8844717849864572928,"description":"Unknown IO ID 45"} 
[2026-06-18 15:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135283712001,"power":13200,"unknown_155":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8844717849864572928}} 
[2026-06-18 15:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":105894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:59:35] local.INFO: GPS data processed {"connection_id":105894,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:59:35] local.INFO: Acknowledgment sent {"connection_id":105894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 15:59:38] local.INFO: TCP Data received {"connection_id":106076,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda468ff0012d0d3a000705c3880014009b16..."} 
[2026-06-18 15:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda468ff0012d0d3a000705c3880014009b16..."} 
[2026-06-18 15:59:38] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda468ff0012d0d3a000705c3880014009b16..."} 
[2026-06-18 15:59:38] local.INFO: Packet analysis {"connection_id":106076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 15:59:38] local.INFO: Extracted packet for processing {"connection_id":106076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 15:59:38] local.INFO: GPS Element Parsed {"raw_longitude":755841536,"raw_latitude":117818248,"longitude_deg":75.5841536,"latitude_deg":11.7818248,"altitude":20,"angle":155,"satellites":22,"speed":7,"hex_longitude":"2d0d3a00","hex_latitude":"0705c388","is_valid_coordinates":true} 
[2026-06-18 15:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 15:59:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135297536001,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21171835127201792,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":952863195071584256,"note":"Value kept but may cause issues"} 
[2026-06-18 15:59:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 15:59:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781778518000,"timestamp_ms":1781778518000,"timestamp_seconds":1781778518,"priority":1,"record_length":96,"hex_timestamp":"0000019eda468ff0"} 
[2026-06-18 15:59:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 15:59: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-06-18 15:59:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 15:59:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 15:59:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 15:59:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 15:59:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 15:59:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 15:59:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:59:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106076,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 15:59:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 15:59:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 15:59:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 15:59:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135297536001,"66":14439,"167":206,"94":11008,"24":7,"16":21171835127201792,"45":952863195071584256},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 15:59:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 15:59:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 15:59:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135297536001,"description":"Unknown IO ID 0"} 
[2026-06-18 15:59:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 15:59:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 15:59:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21171835127201792,"km_value":21171835127201.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 15:59:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":952863195071584256,"description":"Unknown IO ID 45"} 
[2026-06-18 15:59:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135297536001,"power":14439,"unknown_167":206,"unknown_94":11008,"ignition":7,"odometer":null,"unknown_45":952863195071584256}} 
[2026-06-18 15:59:38] local.INFO: DEBUG: GPS processor result {"connection_id":106076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344775,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 15:59:38] local.INFO: GPS data processed {"connection_id":106076,"processed":1,"errors":0,"total":1} 
[2026-06-18 15:59:38] local.INFO: Acknowledgment sent {"connection_id":106076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:00:02] local.INFO: TCP Data received {"connection_id":105896,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:02] local.INFO: Processing buffer {"connection_id":105896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:02] local.INFO: IMEI packet received {"connection_id":105896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":105896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:00:02] local.INFO: TCP Data received {"connection_id":105896,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:02] local.INFO: Processing buffer {"connection_id":105896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:02] local.INFO: IMEI packet received {"connection_id":105896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":105896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:00:03] local.INFO: TCP Data received {"connection_id":105896,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4693d8012d0d3a400705c2f80014008d16..."} 
[2026-06-18 16:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4693d8012d0d3a400705c2f80014008d16..."} 
[2026-06-18 16:00:03] local.INFO: Processing buffer {"connection_id":105896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4693d8012d0d3a400705c2f80014008d16..."} 
[2026-06-18 16:00:03] local.INFO: Packet analysis {"connection_id":105896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 16:00:03] local.INFO: Extracted packet for processing {"connection_id":105896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 16:00:03] local.INFO: GPS Element Parsed {"raw_longitude":755841600,"raw_latitude":117818104,"longitude_deg":75.58416,"latitude_deg":11.7818104,"altitude":20,"angle":141,"satellites":22,"speed":6,"hex_longitude":"2d0d3a40","hex_latitude":"0705c2f8","is_valid_coordinates":true} 
[2026-06-18 16:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135300608001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21171843717136384,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953074301303752704,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781778519000,"timestamp_ms":1781778519000,"timestamp_seconds":1781778519,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4693d8"} 
[2026-06-18 16:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:00: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-06-18 16:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 16:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135300608001,"66":14515,"167":206,"94":11008,"24":6,"16":21171843717136384,"45":953074301303752704},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 16:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135300608001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:00:03] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 16:00:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 16:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21171843717136384,"km_value":21171843717136.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":953074301303752704,"description":"Unknown IO ID 45"} 
[2026-06-18 16:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135300608001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953074301303752704}} 
[2026-06-18 16:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":105896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:00:03] local.INFO: GPS data processed {"connection_id":105896,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:00:03] local.INFO: Acknowledgment sent {"connection_id":105896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:00:06] local.INFO: TCP Data received {"connection_id":105894,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda478dd8012d7c644005ec3730000800582a..."} 
[2026-06-18 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda478dd8012d7c644005ec3730000800582a..."} 
[2026-06-18 16:00:06] local.INFO: Processing buffer {"connection_id":105894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda478dd8012d7c644005ec3730000800582a..."} 
[2026-06-18 16:00:06] local.INFO: Packet analysis {"connection_id":105894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda47"} 
[2026-06-18 16:00:06] local.INFO: Extracted packet for processing {"connection_id":105894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda47"} 
[2026-06-18 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763126848,"raw_latitude":99366704,"longitude_deg":76.3126848,"latitude_deg":9.9366704,"altitude":8,"angle":88,"satellites":42,"speed":47,"hex_longitude":"2d7c6440","hex_latitude":"05ec3730","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135315200001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93890351617540096,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953367190882840576,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:06] 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-06-18 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781778583000,"timestamp_ms":1781778583000,"timestamp_seconds":1781778583,"priority":1,"record_length":96,"hex_timestamp":"0000019eda478dd8"} 
[2026-06-18 16:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:00:06] 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-06-18 16: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-06-18 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105894,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:00:06] 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-06-18 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135315200001,"66":13319,"198":206,"87":13824,"24":47,"16":93890351617540096,"45":8953367190882840576},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135315200001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:00:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 16:00:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93890351617540096,"km_value":93890351617540.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953367190882840576,"description":"Unknown IO ID 45"} 
[2026-06-18 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135315200001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":8953367190882840576}} 
[2026-06-18 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":105894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:00:06] local.INFO: GPS data processed {"connection_id":105894,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:00:06] local.INFO: Acknowledgment sent {"connection_id":105894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:00:07] local.INFO: TCP Data received {"connection_id":105896,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4697c0012d0d3a800705c2900014008216..."} 
[2026-06-18 16:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4697c0012d0d3a800705c2900014008216..."} 
[2026-06-18 16:00:07] local.INFO: Processing buffer {"connection_id":105896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4697c0012d0d3a800705c2900014008216..."} 
[2026-06-18 16:00:07] local.INFO: Packet analysis {"connection_id":105896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 16:00:07] local.INFO: Extracted packet for processing {"connection_id":105896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 16:00:07] local.INFO: GPS Element Parsed {"raw_longitude":755841664,"raw_latitude":117818000,"longitude_deg":75.5841664,"latitude_deg":11.7818,"altitude":20,"angle":130,"satellites":22,"speed":4,"hex_longitude":"2d0d3a80","hex_latitude":"0705c290","is_valid_coordinates":true} 
[2026-06-18 16:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135300864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21171852307070976,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953144670047893504,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781778520000,"timestamp_ms":1781778520000,"timestamp_seconds":1781778520,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4697c0"} 
[2026-06-18 16:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:00:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 16:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:00:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:00:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135300864001,"66":14515,"167":206,"94":11008,"24":4,"16":21171852307070976,"45":953144670047893504},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 16:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135300864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:00:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 16:00:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 16:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21171852307070976,"km_value":21171852307070.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":953144670047893504,"description":"Unknown IO ID 45"} 
[2026-06-18 16:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135300864001,"power":14515,"unknown_167":206,"unknown_94":11008,"ignition":4,"odometer":null,"unknown_45":953144670047893504}} 
[2026-06-18 16:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":105896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344778,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:00:07] local.INFO: GPS data processed {"connection_id":105896,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:00:07] local.INFO: Acknowledgment sent {"connection_id":105896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:00:28] local.INFO: TCP Data received {"connection_id":105897,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:28] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:28] local.INFO: IMEI packet received {"connection_id":105897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:00:28] local.INFO: IMEI acknowledgment sent {"connection_id":105897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:00:29] local.INFO: TCP Data received {"connection_id":105897,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:29] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:29] local.INFO: IMEI packet received {"connection_id":105897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":105897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:00:33] local.INFO: TCP Data received {"connection_id":105897,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:33] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:00:33] local.INFO: IMEI packet received {"connection_id":105897,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":105897,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:00:35] local.INFO: TCP Data received {"connection_id":105897,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda47b100012d7c8a0005ec37c0000900592a..."} 
[2026-06-18 16:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda47b100012d7c8a0005ec37c0000900592a..."} 
[2026-06-18 16:00:35] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda47b100012d7c8a0005ec37c0000900592a..."} 
[2026-06-18 16:00:35] local.INFO: Packet analysis {"connection_id":105897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda47"} 
[2026-06-18 16:00:35] local.INFO: Extracted packet for processing {"connection_id":105897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda47"} 
[2026-06-18 16:00:35] local.INFO: GPS Element Parsed {"raw_longitude":763136512,"raw_latitude":99366848,"longitude_deg":76.3136512,"latitude_deg":9.9366848,"altitude":9,"angle":89,"satellites":42,"speed":34,"hex_longitude":"2d7c8a00","hex_latitude":"05ec37c0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135317248001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93890815474008064,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8963359552556183552,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781778592000,"timestamp_ms":1781778592000,"timestamp_seconds":1781778592,"priority":1,"record_length":96,"hex_timestamp":"0000019eda47b100"} 
[2026-06-18 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-06-18 16:00:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3662061456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":143,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":236,"raw_value":862439367300753152,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1033568462,"corrected_to":0} 
[2026-06-18 16:00:35] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2281778555,"corrected_to":0} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3321941309,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2394750976,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3960909824,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":29,"raw_value":57770106168432438,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.WARNING: Large IO value detected {"io_id":70,"raw_value":8682941376425885701,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:35] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,198,87,24,241,157,16,144,158,110,45,192,53,8,42,10,66,71,41,143,28,1,240,237,227,218,236,4,113,205,37,202,175,136,40,239,51,155,2,77,5,29,70],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1033568462,"validated":0},{"io_id":202,"original":2281778555,"validated":0}]} 
[2026-06-18 16:00:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576557689718374400,"timestamp_seconds":576557689718374.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 16:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:00:35] 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-06-18 16:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135317248001,"66":13319,"198":206,"87":13824,"24":34,"16":93890815474008064,"45":8963359552556183552},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 16:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135317248001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:00:35] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 16:00:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93890815474008064,"km_value":93890815474008.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8963359552556183552,"description":"Unknown IO ID 45"} 
[2026-06-18 16:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135317248001,"power":13319,"unknown_198":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8963359552556183552}} 
[2026-06-18 16:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":105897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:00:35] local.INFO: GPS data processed {"connection_id":105897,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:00:35] local.INFO: Acknowledgment sent {"connection_id":105897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:00:38] local.INFO: TCP Data received {"connection_id":105896,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda46a760012d0d3c400705c1080014009315..."} 
[2026-06-18 16:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda46a760012d0d3c400705c1080014009315..."} 
[2026-06-18 16:00:38] local.INFO: Processing buffer {"connection_id":105896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda46a760012d0d3c400705c1080014009315..."} 
[2026-06-18 16:00:38] local.INFO: Packet analysis {"connection_id":105896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 16:00:38] local.INFO: Extracted packet for processing {"connection_id":105896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda46"} 
[2026-06-18 16:00:38] local.INFO: GPS Element Parsed {"raw_longitude":755842112,"raw_latitude":117817608,"longitude_deg":75.5842112,"latitude_deg":11.7817608,"altitude":20,"angle":147,"satellites":21,"speed":6,"hex_longitude":"2d0d3c40","hex_latitude":"0705c108","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:00:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135301120001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21171878076874752,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":953215038792044544,"note":"Value kept but may cause issues"} 
[2026-06-18 16:00:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:00:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781778524000,"timestamp_ms":1781778524000,"timestamp_seconds":1781778524,"priority":1,"record_length":96,"hex_timestamp":"0000019eda46a760"} 
[2026-06-18 16:00:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:00: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-06-18 16: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 16:00:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:00:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:00:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:00:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:00:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:00:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:00:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:00:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:00:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:00:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135301120001,"66":14428,"167":206,"94":11008,"24":6,"16":21171878076874752,"45":953215038792044544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,94,24,16,45]} 
[2026-06-18 16:00:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:00:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:00:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135301120001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:00:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 16:00:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 16:00:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21171878076874752,"km_value":21171878076874.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:00:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":953215038792044544,"description":"Unknown IO ID 45"} 
[2026-06-18 16:00:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135301120001,"power":14428,"unknown_167":206,"unknown_94":11008,"ignition":6,"odometer":null,"unknown_45":953215038792044544}} 
[2026-06-18 16:00:38] local.INFO: DEBUG: GPS processor result {"connection_id":105896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344780,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:00:38] local.INFO: GPS data processed {"connection_id":105896,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:00:38] local.INFO: Acknowledgment sent {"connection_id":105896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:00:55] local.INFO: TCP Data received {"connection_id":107632,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:55] local.INFO: Processing buffer {"connection_id":107632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:55] local.INFO: IMEI packet received {"connection_id":107632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":107632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:00:56] local.INFO: TCP Data received {"connection_id":107632,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:56] local.INFO: Processing buffer {"connection_id":107632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:56] local.INFO: IMEI packet received {"connection_id":107632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":107632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:00:57] local.INFO: TCP Data received {"connection_id":107632,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:57] local.INFO: Processing buffer {"connection_id":107632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:57] local.INFO: IMEI packet received {"connection_id":107632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":107632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:00:57] local.INFO: TCP Data received {"connection_id":107632,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:57] local.INFO: Processing buffer {"connection_id":107632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:00:57] local.INFO: IMEI packet received {"connection_id":107632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":107632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:01:07] local.INFO: TCP Data received {"connection_id":105897,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda489390012d7d1cc005ec41700008013127..."} 
[2026-06-18 16:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda489390012d7d1cc005ec41700008013127..."} 
[2026-06-18 16:01:07] local.INFO: Processing buffer {"connection_id":105897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda489390012d7d1cc005ec41700008013127..."} 
[2026-06-18 16:01:07] local.INFO: Packet analysis {"connection_id":105897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:01:07] local.INFO: Extracted packet for processing {"connection_id":105897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763174080,"raw_latitude":99369328,"longitude_deg":76.317408,"latitude_deg":9.9369328,"altitude":8,"angle":305,"satellites":39,"speed":9,"hex_longitude":"2d7d1cc0","hex_latitude":"05ec4170","is_valid_coordinates":true} 
[2026-06-18 16:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135334144001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93892662309945344,"note":"Value kept but may cause issues"} 
[2026-06-18 16:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015432423248279552,"note":"Value kept but may cause issues"} 
[2026-06-18 16:01:07] 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-06-18 16:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781778650000,"timestamp_ms":1781778650000,"timestamp_seconds":1781778650,"priority":1,"record_length":96,"hex_timestamp":"0000019eda489390"} 
[2026-06-18 16:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-18 16:01:07] 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-06-18 16:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105897,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:01:07] 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-06-18 16:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135334144001,"66":13428,"110":206,"87":13824,"24":9,"16":93892662309945344,"45":9015432423248279552},"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-06-18 16:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135334144001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:01:07] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 16:01:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93892662309945344,"km_value":93892662309945.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015432423248279552,"description":"Unknown IO ID 45"} 
[2026-06-18 16:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135334144001,"power":13428,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015432423248279552}} 
[2026-06-18 16:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":105897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:01:07] local.INFO: GPS data processed {"connection_id":105897,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:01:07] local.INFO: Acknowledgment sent {"connection_id":105897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:01:28] local.INFO: TCP Data received {"connection_id":106658,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:01:28] local.INFO: Processing buffer {"connection_id":106658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:01:28] local.INFO: IMEI packet received {"connection_id":106658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":106658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:01:33] local.INFO: TCP Data received {"connection_id":106658,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:01:33] local.INFO: Processing buffer {"connection_id":106658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:01:33] local.INFO: IMEI packet received {"connection_id":106658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":106658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:01:34] local.INFO: TCP Data received {"connection_id":106658,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda489778012d7d1b8005ec41e80008012228..."} 
[2026-06-18 16:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda489778012d7d1b8005ec41e80008012228..."} 
[2026-06-18 16:01:34] local.INFO: Processing buffer {"connection_id":106658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda489778012d7d1b8005ec41e80008012228..."} 
[2026-06-18 16:01:34] local.INFO: Packet analysis {"connection_id":106658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:01:34] local.INFO: Extracted packet for processing {"connection_id":106658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":763173760,"raw_latitude":99369448,"longitude_deg":76.317376,"latitude_deg":9.9369448,"altitude":8,"angle":290,"satellites":40,"speed":13,"hex_longitude":"2d7d1b80","hex_latitude":"05ec41e8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135334400001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93892679489814528,"note":"Value kept but may cause issues"} 
[2026-06-18 16:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685759971328,"note":"Value kept but may cause issues"} 
[2026-06-18 16:01: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-06-18 16:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778651000,"timestamp_ms":1781778651000,"timestamp_seconds":1781778651,"priority":1,"record_length":96,"hex_timestamp":"0000019eda489778"} 
[2026-06-18 16:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:01:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-18 16:01:34] 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-06-18 16: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-06-18 16:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:01: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-06-18 16:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135334400001,"66":13450,"110":206,"87":13824,"24":13,"16":93892679489814528,"45":9015291685759971328},"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-06-18 16:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135334400001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:01:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 16:01:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93892679489814528,"km_value":93892679489814.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685759971328,"description":"Unknown IO ID 45"} 
[2026-06-18 16:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135334400001,"power":13450,"unknown_110":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":9015291685759971328}} 
[2026-06-18 16:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":106658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:01:34] local.INFO: GPS data processed {"connection_id":106658,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:01:34] local.INFO: Acknowledgment sent {"connection_id":106658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:02:05] local.INFO: TCP Data received {"connection_id":106658,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda489b60012d7d1a0005ec42200008011227..."} 
[2026-06-18 16:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda489b60012d7d1a0005ec42200008011227..."} 
[2026-06-18 16:02:05] local.INFO: Processing buffer {"connection_id":106658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda489b60012d7d1a0005ec42200008011227..."} 
[2026-06-18 16:02:05] local.INFO: Packet analysis {"connection_id":106658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:02:05] local.INFO: Extracted packet for processing {"connection_id":106658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99369504,"longitude_deg":76.3173376,"latitude_deg":9.9369504,"altitude":8,"angle":274,"satellites":39,"speed":15,"hex_longitude":"2d7d1a00","hex_latitude":"05ec4220","is_valid_coordinates":true} 
[2026-06-18 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135334656001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93892696669683712,"note":"Value kept but may cause issues"} 
[2026-06-18 16:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014939842039113728,"note":"Value kept but may cause issues"} 
[2026-06-18 16:02: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-06-18 16:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781778652000,"timestamp_ms":1781778652000,"timestamp_seconds":1781778652,"priority":1,"record_length":96,"hex_timestamp":"0000019eda489b60"} 
[2026-06-18 16:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:02:05] 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-06-18 16:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 16:02:05] 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-06-18 16:02:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:02: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-06-18 16:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135334656001,"66":13450,"110":206,"87":13824,"24":15,"16":93892696669683712,"45":9014939842039113728},"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-06-18 16:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135334656001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:02:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 16:02:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93892696669683712,"km_value":93892696669683.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014939842039113728,"description":"Unknown IO ID 45"} 
[2026-06-18 16:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135334656001,"power":13450,"unknown_110":206,"unknown_87":13824,"ignition":15,"odometer":null,"unknown_45":9014939842039113728}} 
[2026-06-18 16:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":106658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:02:05] local.INFO: GPS data processed {"connection_id":106658,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:02:05] local.INFO: Acknowledgment sent {"connection_id":106658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:02:28] local.INFO: TCP Data received {"connection_id":107635,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:02:28] local.INFO: Processing buffer {"connection_id":107635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:02:28] local.INFO: IMEI packet received {"connection_id":107635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:02:28] local.INFO: IMEI acknowledgment sent {"connection_id":107635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:02:33] local.INFO: TCP Data received {"connection_id":107635,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107635,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:02:33] local.INFO: Processing buffer {"connection_id":107635,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:02:33] local.INFO: IMEI packet received {"connection_id":107635,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":107635,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:02:34] local.INFO: TCP Data received {"connection_id":107635,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda48ce28012d7cf64005ec41800007010827..."} 
[2026-06-18 16:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda48ce28012d7cf64005ec41800007010827..."} 
[2026-06-18 16:02:34] local.INFO: Processing buffer {"connection_id":107635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda48ce28012d7cf64005ec41800007010827..."} 
[2026-06-18 16:02:34] local.INFO: Packet analysis {"connection_id":107635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:02:34] local.INFO: Extracted packet for processing {"connection_id":107635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:02:34] local.INFO: GPS Element Parsed {"raw_longitude":763164224,"raw_latitude":99369344,"longitude_deg":76.3164224,"latitude_deg":9.9369344,"altitude":7,"angle":264,"satellites":39,"speed":37,"hex_longitude":"2d7cf640","hex_latitude":"05ec4180","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135334912001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93893134756347904,"note":"Value kept but may cause issues"} 
[2026-06-18 16:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629574062080,"note":"Value kept but may cause issues"} 
[2026-06-18 16:02: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-06-18 16:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778665000,"timestamp_ms":1781778665000,"timestamp_seconds":1781778665,"priority":1,"record_length":96,"hex_timestamp":"0000019eda48ce28"} 
[2026-06-18 16:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:02:34] 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-06-18 16: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 16:02: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-06-18 16: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-06-18 16:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:02: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-06-18 16:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135334912001,"66":13276,"110":206,"87":13824,"24":37,"16":93893134756347904,"45":9014517629574062080},"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-06-18 16:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135334912001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:02:34] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 16:02:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93893134756347904,"km_value":93893134756347.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629574062080,"description":"Unknown IO ID 45"} 
[2026-06-18 16:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135334912001,"power":13276,"unknown_110":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9014517629574062080}} 
[2026-06-18 16:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":107635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344784,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:02:34] local.INFO: GPS data processed {"connection_id":107635,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:02:34] local.INFO: Acknowledgment sent {"connection_id":107635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:03:05] local.INFO: TCP Data received {"connection_id":107635,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda48fd08012d7ce34005ec40200004011824..."} 
[2026-06-18 16:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda48fd08012d7ce34005ec40200004011824..."} 
[2026-06-18 16:03:05] local.INFO: Processing buffer {"connection_id":107635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda48fd08012d7ce34005ec40200004011824..."} 
[2026-06-18 16:03:05] local.INFO: Packet analysis {"connection_id":107635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:03:05] local.INFO: Extracted packet for processing {"connection_id":107635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda48"} 
[2026-06-18 16:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763159360,"raw_latitude":99368992,"longitude_deg":76.315936,"latitude_deg":9.9368992,"altitude":4,"angle":280,"satellites":36,"speed":9,"hex_longitude":"2d7ce340","hex_latitude":"05ec4020","is_valid_coordinates":true} 
[2026-06-18 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135338240001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93893370979549184,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004454899156615168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03: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-06-18 16:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781778677000,"timestamp_ms":1781778677000,"timestamp_seconds":1781778677,"priority":1,"record_length":96,"hex_timestamp":"0000019eda48fd08"} 
[2026-06-18 16:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:03:05] 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-06-18 16:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 16:03:05] 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-06-18 16:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107635,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:03: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-06-18 16:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135338240001,"66":13243,"110":206,"87":13824,"24":9,"16":93893370979549184,"45":9004454899156615168},"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-06-18 16:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135338240001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:03:05] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 16:03:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93893370979549184,"km_value":93893370979549.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004454899156615168,"description":"Unknown IO ID 45"} 
[2026-06-18 16:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135338240001,"power":13243,"unknown_110":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9004454899156615168}} 
[2026-06-18 16:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":107635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344785,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:03:05] local.INFO: GPS data processed {"connection_id":107635,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:03:05] local.INFO: Acknowledgment sent {"connection_id":107635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:03:28] local.INFO: TCP Data received {"connection_id":106081,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:03:28] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:03:28] local.INFO: IMEI packet received {"connection_id":106081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":106081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:03:33] local.INFO: TCP Data received {"connection_id":106081,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:03:33] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:03:33] local.INFO: IMEI packet received {"connection_id":106081,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":106081,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:03:34] local.INFO: TCP Data received {"connection_id":106081,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4ab288012d7be5c005ec2fc8000300af22..."} 
[2026-06-18 16:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4ab288012d7be5c005ec2fc8000300af22..."} 
[2026-06-18 16:03:34] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4ab288012d7be5c005ec2fc8000300af22..."} 
[2026-06-18 16:03:34] local.INFO: Packet analysis {"connection_id":106081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:03:34] local.INFO: Extracted packet for processing {"connection_id":106081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:03:34] local.INFO: GPS Element Parsed {"raw_longitude":763094464,"raw_latitude":99364808,"longitude_deg":76.3094464,"latitude_deg":9.9364808,"altitude":3,"angle":175,"satellites":34,"speed":9,"hex_longitude":"2d7be5c0","hex_latitude":"05ec2fc8","is_valid_coordinates":true} 
[2026-06-18 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135369728001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93896519190577152,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927682599257698304,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778789000,"timestamp_ms":1781778789000,"timestamp_seconds":1781778789,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4ab288"} 
[2026-06-18 16:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:03: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-06-18 16:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 16:03: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-06-18 16:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:03: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-06-18 16:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135369728001,"66":13493,"198":206,"87":13824,"24":9,"16":93896519190577152,"45":8927682599257698304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 16:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135369728001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:03:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 16:03:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93896519190577152,"km_value":93896519190577.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927682599257698304,"description":"Unknown IO ID 45"} 
[2026-06-18 16:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135369728001,"power":13493,"unknown_198":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8927682599257698304}} 
[2026-06-18 16:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":106081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:03:34] local.INFO: GPS data processed {"connection_id":106081,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:03:34] local.INFO: Acknowledgment sent {"connection_id":106081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:03:54] local.INFO: TCP Data received {"connection_id":107636,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107636,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:03:54] local.INFO: Processing buffer {"connection_id":107636,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:03:54] local.INFO: IMEI packet received {"connection_id":107636,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":107636,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:03:56] local.INFO: TCP Data received {"connection_id":107636,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda499d30012d1b3380072082980051015c22..."} 
[2026-06-18 16:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda499d30012d1b3380072082980051015c22..."} 
[2026-06-18 16:03:56] local.INFO: Processing buffer {"connection_id":107636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda499d30012d1b3380072082980051015c22..."} 
[2026-06-18 16:03:56] local.INFO: Packet analysis {"connection_id":107636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda49"} 
[2026-06-18 16:03:56] local.INFO: Extracted packet for processing {"connection_id":107636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda49"} 
[2026-06-18 16:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135346688001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781778718000,"timestamp_ms":1781778718000,"timestamp_seconds":1781778718,"priority":1,"record_length":96,"hex_timestamp":"0000019eda499d30"} 
[2026-06-18 16:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":41,"data_length":795,"current_offset":136} 
[2026-06-18 16:03:56] 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-06-18 16: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-06-18 16:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107636,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135346688001,"66":12809,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135346688001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:03:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:03:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135346688001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":107636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:03:56] local.INFO: GPS data processed {"connection_id":107636,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:03:56] local.INFO: Acknowledgment sent {"connection_id":107636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:04:03] local.INFO: TCP Data received {"connection_id":105900,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:04:03] local.INFO: Processing buffer {"connection_id":105900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:04:03] local.INFO: IMEI packet received {"connection_id":105900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":105900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:04:05] local.INFO: TCP Data received {"connection_id":106081,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4ab670012d7be60005ec2ec00002009c23..."} 
[2026-06-18 16:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4ab670012d7be60005ec2ec00002009c23..."} 
[2026-06-18 16:04:05] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4ab670012d7be60005ec2ec00002009c23..."} 
[2026-06-18 16:04:05] local.INFO: Packet analysis {"connection_id":106081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:04:05] local.INFO: Extracted packet for processing {"connection_id":106081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:04:05] local.INFO: GPS Element Parsed {"raw_longitude":763094528,"raw_latitude":99364544,"longitude_deg":76.3094528,"latitude_deg":9.9364544,"altitude":2,"angle":156,"satellites":35,"speed":9,"hex_longitude":"2d7be600","hex_latitude":"05ec2ec0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135369984001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93896532075479040,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752968001800192,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:05] 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-06-18 16:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781778790000,"timestamp_ms":1781778790000,"timestamp_seconds":1781778790,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4ab670"} 
[2026-06-18 16:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 16:04:05] 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-06-18 16: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-06-18 16:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106081,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:04: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-06-18 16:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135369984001,"66":13493,"198":206,"87":13824,"24":9,"16":93896532075479040,"45":8927752968001800192},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 16:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135369984001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:04:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 16:04:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93896532075479040,"km_value":93896532075479.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752968001800192,"description":"Unknown IO ID 45"} 
[2026-06-18 16:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135369984001,"power":13493,"unknown_198":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8927752968001800192}} 
[2026-06-18 16:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":106081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:04:05] local.INFO: GPS data processed {"connection_id":106081,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:04:05] local.INFO: Acknowledgment sent {"connection_id":106081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:04:28] local.INFO: TCP Data received {"connection_id":106661,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:28] local.INFO: Processing buffer {"connection_id":106661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:28] local.INFO: IMEI packet received {"connection_id":106661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":106661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:04:29] local.INFO: TCP Data received {"connection_id":106661,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:29] local.INFO: Processing buffer {"connection_id":106661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:29] local.INFO: IMEI packet received {"connection_id":106661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":106661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:04:33] local.INFO: TCP Data received {"connection_id":106662,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:04:33] local.INFO: Processing buffer {"connection_id":106662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:04:33] local.INFO: IMEI packet received {"connection_id":106662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":106662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:04:33] local.INFO: TCP Data received {"connection_id":106661,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:33] local.INFO: Processing buffer {"connection_id":106661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:04:33] local.INFO: IMEI packet received {"connection_id":106661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":106661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:04:34] local.INFO: TCP Data received {"connection_id":106661,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4aba58012d7be70005ec2dd80002009026..."} 
[2026-06-18 16:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4aba58012d7be70005ec2dd80002009026..."} 
[2026-06-18 16:04:34] local.INFO: Processing buffer {"connection_id":106661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4aba58012d7be70005ec2dd80002009026..."} 
[2026-06-18 16:04:34] local.INFO: Packet analysis {"connection_id":106661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:04:34] local.INFO: Extracted packet for processing {"connection_id":106661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:04:34] local.INFO: GPS Element Parsed {"raw_longitude":763094784,"raw_latitude":99364312,"longitude_deg":76.3094784,"latitude_deg":9.9364312,"altitude":2,"angle":144,"satellites":38,"speed":11,"hex_longitude":"2d7be700","hex_latitude":"05ec2dd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135370240001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93896544960380928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927823336745910272,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778791000,"timestamp_ms":1781778791000,"timestamp_seconds":1781778791,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4aba58"} 
[2026-06-18 16:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:04: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-06-18 16: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 16:04: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-06-18 16: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-06-18 16:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:04: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-06-18 16:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135370240001,"66":13254,"198":206,"87":13824,"24":11,"16":93896544960380928,"45":8927823336745910272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 16:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135370240001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:04:34] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 16:04:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93896544960380928,"km_value":93896544960380.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927823336745910272,"description":"Unknown IO ID 45"} 
[2026-06-18 16:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135370240001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8927823336745910272}} 
[2026-06-18 16:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":106661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:04:34] local.INFO: GPS data processed {"connection_id":106661,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:04:34] local.INFO: Acknowledgment sent {"connection_id":106661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:04:34] local.INFO: TCP Data received {"connection_id":105901,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:04:34] local.INFO: Processing buffer {"connection_id":105901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:04:34] local.INFO: IMEI packet received {"connection_id":105901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":105901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:04:36] local.INFO: TCP Data received {"connection_id":105901,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4a77f0012ce3b10007310088001401232d..."} 
[2026-06-18 16:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4a77f0012ce3b10007310088001401232d..."} 
[2026-06-18 16:04:36] local.INFO: Processing buffer {"connection_id":105901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4a77f0012ce3b10007310088001401232d..."} 
[2026-06-18 16:04:36] local.INFO: Packet analysis {"connection_id":105901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:04:36] local.INFO: Extracted packet for processing {"connection_id":105901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":753119488,"raw_latitude":120651912,"longitude_deg":75.3119488,"latitude_deg":12.0651912,"altitude":20,"angle":291,"satellites":45,"speed":44,"hex_longitude":"2ce3b100","hex_latitude":"07310088","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135363840001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318648206420344832,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2029504919942047744,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781778774000,"timestamp_ms":1781778774000,"timestamp_seconds":1781778774,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4a77f0"} 
[2026-06-18 16:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:04:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 16:04: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-06-18 16: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-06-18 16:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135363840001,"66":27908,"208":206,"2":56832,"24":44,"16":318648206420344832,"44":-2029504919942047744},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-06-18 16:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135363840001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:04:36] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 16:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318648206420344832,"km_value":318648206420344.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:04:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2029504919942047744,"description":"Unknown IO ID 44"} 
[2026-06-18 16:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135363840001,"power":27908,"unknown_208":206,"power_alt":56832,"ignition":44,"odometer":null,"unknown_44":-2029504919942047744}} 
[2026-06-18 16:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":105901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:04:36] local.INFO: GPS data processed {"connection_id":105901,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:04:36] local.INFO: Acknowledgment sent {"connection_id":105901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:04:50] local.INFO: TCP Data received {"connection_id":107638,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:04:50] local.INFO: Processing buffer {"connection_id":107638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:04:50] local.INFO: IMEI packet received {"connection_id":107638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":107638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:04:55] local.INFO: TCP Data received {"connection_id":107638,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:04:55] local.INFO: Processing buffer {"connection_id":107638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:04:55] local.INFO: IMEI packet received {"connection_id":107638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":107638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:04:56] local.INFO: TCP Data received {"connection_id":107638,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda49eb50012d1b3380072082980051015c23..."} 
[2026-06-18 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda49eb50012d1b3380072082980051015c23..."} 
[2026-06-18 16:04:56] local.INFO: Processing buffer {"connection_id":107638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda49eb50012d1b3380072082980051015c23..."} 
[2026-06-18 16:04:56] local.INFO: Packet analysis {"connection_id":107638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda49"} 
[2026-06-18 16:04:56] local.INFO: Extracted packet for processing {"connection_id":107638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda49"} 
[2026-06-18 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135351808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781778738000,"timestamp_ms":1781778738000,"timestamp_seconds":1781778738,"priority":1,"record_length":96,"hex_timestamp":"0000019eda49eb50"} 
[2026-06-18 16:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":9,"data_length":795,"current_offset":136} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3662136456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":218,"raw_value":5149417578205753856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":22,"raw_value":2415996187,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3422604775,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2342777805172988962,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3819278878061415964,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-18 16:04:56] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,190,79,45,128,130,81,33,10,66,32,178,1,240,41,218,4,113,205,22,51,152,239,50,2,11,7,48,124],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:04:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047893147516928,"timestamp_seconds":5837047893147517.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135351808001,"66":12711,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135351808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:04:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135351808001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":107638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:04:56] local.INFO: GPS data processed {"connection_id":107638,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:04:56] local.INFO: Acknowledgment sent {"connection_id":107638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:05:07] local.INFO: TCP Data received {"connection_id":105901,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4a9730012ce38f0007310ce80013011f2d..."} 
[2026-06-18 16:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4a9730012ce38f0007310ce80013011f2d..."} 
[2026-06-18 16:05:07] local.INFO: Processing buffer {"connection_id":105901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4a9730012ce38f0007310ce80013011f2d..."} 
[2026-06-18 16:05:07] local.INFO: Packet analysis {"connection_id":105901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:07] local.INFO: Extracted packet for processing {"connection_id":105901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":753110784,"raw_latitude":120655080,"longitude_deg":75.3110784,"latitude_deg":12.065508,"altitude":19,"angle":287,"satellites":45,"speed":46,"hex_longitude":"2ce38f00","hex_latitude":"07310ce8","is_valid_coordinates":true} 
[2026-06-18 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135366144001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318648644507009024,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2039849125335234560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781778782000,"timestamp_ms":1781778782000,"timestamp_seconds":1781778782,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4a9730"} 
[2026-06-18 16:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:05:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135366144001,"66":27919,"208":206,"2":56832,"24":46,"16":318648644507009024,"44":-2039849125335234560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,2,24,16,44]} 
[2026-06-18 16:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135366144001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:05:07] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 16:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318648644507009024,"km_value":318648644507009.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:05:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2039849125335234560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135366144001,"power":27919,"unknown_208":206,"power_alt":56832,"ignition":46,"odometer":null,"unknown_44":-2039849125335234560}} 
[2026-06-18 16:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":105901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:05:07] local.INFO: GPS data processed {"connection_id":105901,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:05:07] local.INFO: Acknowledgment sent {"connection_id":105901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:05:16] local.INFO: TCP Data received {"connection_id":106661,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4ad1c8012d7bea8005ec28780000009b28..."} 
[2026-06-18 16:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4ad1c8012d7bea8005ec28780000009b28..."} 
[2026-06-18 16:05:16] local.INFO: Processing buffer {"connection_id":106661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4ad1c8012d7bea8005ec28780000009b28..."} 
[2026-06-18 16:05:16] local.INFO: Packet analysis {"connection_id":106661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:16] local.INFO: Extracted packet for processing {"connection_id":106661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:16] local.INFO: GPS Element Parsed {"raw_longitude":763095680,"raw_latitude":99362936,"longitude_deg":76.309568,"latitude_deg":9.9362936,"altitude":0,"angle":155,"satellites":40,"speed":11,"hex_longitude":"2d7bea80","hex_latitude":"05ec2878","is_valid_coordinates":true} 
[2026-06-18 16:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135370496001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93896626564759552,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928104811722561536,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:16] 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-06-18 16:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781778797000,"timestamp_ms":1781778797000,"timestamp_seconds":1781778797,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4ad1c8"} 
[2026-06-18 16:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:05:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:05:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 16:05:16] 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-06-18 16:05:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:05:16] 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-06-18 16:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135370496001,"66":13254,"198":206,"87":13824,"24":11,"16":93896626564759552,"45":8928104811722561536},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-06-18 16:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135370496001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:05:16] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 16:05:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93896626564759552,"km_value":93896626564759.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928104811722561536,"description":"Unknown IO ID 45"} 
[2026-06-18 16:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135370496001,"power":13254,"unknown_198":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8928104811722561536}} 
[2026-06-18 16:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":106661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344793,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:05:16] local.INFO: GPS data processed {"connection_id":106661,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:05:16] local.INFO: Acknowledgment sent {"connection_id":106661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:05:21] local.INFO: TCP Data received {"connection_id":106082,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:21] local.INFO: Processing buffer {"connection_id":106082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:21] local.INFO: IMEI packet received {"connection_id":106082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":106082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:05:24] local.INFO: TCP Data received {"connection_id":106082,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:24] local.INFO: Processing buffer {"connection_id":106082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:24] local.INFO: IMEI packet received {"connection_id":106082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":106082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:05:28] local.INFO: TCP Data received {"connection_id":107638,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4a3970012d1b3380072082980051015c24..."} 
[2026-06-18 16:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4a3970012d1b3380072082980051015c24..."} 
[2026-06-18 16:05:28] local.INFO: Processing buffer {"connection_id":107638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4a3970012d1b3380072082980051015c24..."} 
[2026-06-18 16:05:28] local.INFO: Packet analysis {"connection_id":107638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:28] local.INFO: Extracted packet for processing {"connection_id":107638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135356928001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781778758000,"timestamp_ms":1781778758000,"timestamp_seconds":1781778758,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4a3970"} 
[2026-06-18 16:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 16:05:28] 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-06-18 16: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-06-18 16:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135356928001,"66":12722,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135356928001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:05:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135356928001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":107638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:05:28] local.INFO: GPS data processed {"connection_id":107638,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:05:28] local.INFO: Acknowledgment sent {"connection_id":107638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:05:30] local.INFO: TCP Data received {"connection_id":106082,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:30] local.INFO: Processing buffer {"connection_id":106082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:05:30] local.INFO: IMEI packet received {"connection_id":106082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":106082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:05:33] local.INFO: TCP Data received {"connection_id":106082,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4ab670012ce36b40073118e8001401202c..."} 
[2026-06-18 16:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4ab670012ce36b40073118e8001401202c..."} 
[2026-06-18 16:05:33] local.INFO: Processing buffer {"connection_id":106082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4ab670012ce36b40073118e8001401202c..."} 
[2026-06-18 16:05:33] local.INFO: Packet analysis {"connection_id":106082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:33] local.INFO: Extracted packet for processing {"connection_id":106082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:33] local.INFO: GPS Element Parsed {"raw_longitude":753101632,"raw_latitude":120658152,"longitude_deg":75.3101632,"latitude_deg":12.0658152,"altitude":20,"angle":288,"satellites":44,"speed":46,"hex_longitude":"2ce36b40","hex_latitude":"073118e8","is_valid_coordinates":true} 
[2026-06-18 16:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135368192001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318649104068509696,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2049419274542585856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781778790000,"timestamp_ms":1781778790000,"timestamp_seconds":1781778790,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4ab670"} 
[2026-06-18 16:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:05: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-06-18 16:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 16:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135368192001,"66":27919,"210":206,"2":56832,"24":46,"16":318649104068509696,"44":-2049419274542585856},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,2,24,16,44]} 
[2026-06-18 16:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135368192001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:05:33] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-18 16:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318649104068509696,"km_value":318649104068509.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:05:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2049419274542585856,"description":"Unknown IO ID 44"} 
[2026-06-18 16:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135368192001,"power":27919,"unknown_210":206,"power_alt":56832,"ignition":46,"odometer":null,"unknown_44":-2049419274542585856}} 
[2026-06-18 16:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":106082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:05:33] local.INFO: GPS data processed {"connection_id":106082,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:05:33] local.INFO: Acknowledgment sent {"connection_id":106082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:05:43] local.INFO: TCP Data received {"connection_id":106663,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:43] local.INFO: Processing buffer {"connection_id":106663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:43] local.INFO: IMEI packet received {"connection_id":106663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":106663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:05:44] local.INFO: TCP Data received {"connection_id":106663,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:44] local.INFO: Processing buffer {"connection_id":106663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:44] local.INFO: IMEI packet received {"connection_id":106663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":106663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:05:49] local.INFO: TCP Data received {"connection_id":106663,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:49] local.INFO: Processing buffer {"connection_id":106663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:05:49] local.INFO: IMEI packet received {"connection_id":106663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":106663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:05:51] local.INFO: TCP Data received {"connection_id":106663,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4a8b78012d1b3380072082980051015c22..."} 
[2026-06-18 16:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4a8b78012d1b3380072082980051015c22..."} 
[2026-06-18 16:05:51] local.INFO: Processing buffer {"connection_id":106663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4a8b78012d1b3380072082980051015c22..."} 
[2026-06-18 16:05:51] local.INFO: Packet analysis {"connection_id":106663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:51] local.INFO: Extracted packet for processing {"connection_id":106663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135362048001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781778779000,"timestamp_ms":1781778779000,"timestamp_seconds":1781778779,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4a8b78"} 
[2026-06-18 16:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135362048001,"66":12645,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135362048001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:05:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:05:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135362048001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":106663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:05:52] local.INFO: GPS data processed {"connection_id":106663,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:05:52] local.INFO: Acknowledgment sent {"connection_id":106663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:06:02] local.INFO: TCP Data received {"connection_id":107640,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107640,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:02] local.INFO: Processing buffer {"connection_id":107640,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:02] local.INFO: IMEI packet received {"connection_id":107640,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":107640,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:06:02] local.INFO: TCP Data received {"connection_id":107640,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4cdd38012d0e6640070630f80029000418..."} 
[2026-06-18 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4cdd38012d0e6640070630f80029000418..."} 
[2026-06-18 16:06:02] local.INFO: Processing buffer {"connection_id":107640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4cdd38012d0e6640070630f80029000418..."} 
[2026-06-18 16:06:02] local.INFO: Packet analysis {"connection_id":107640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:06:02] local.INFO: Extracted packet for processing {"connection_id":107640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:06:02] local.INFO: GPS Element Parsed {"raw_longitude":755918400,"raw_latitude":117846264,"longitude_deg":75.59184,"latitude_deg":11.7846264,"altitude":41,"angle":4,"satellites":24,"speed":9,"hex_longitude":"2d0e6640","hex_latitude":"070630f8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135406080001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21177341275275264,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1037587163068235776,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781778931000,"timestamp_ms":1781778931000,"timestamp_seconds":1781778931,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4cdd38"} 
[2026-06-18 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-06-18 16:06: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-06-18 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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 16:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135406080001,"66":14537,"165":206,"94":11008,"24":9,"16":21177341275275264,"45":1037587163068235776},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135406080001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:06:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:06:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 16:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21177341275275264,"km_value":21177341275275.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1037587163068235776,"description":"Unknown IO ID 45"} 
[2026-06-18 16:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135406080001,"power":14537,"unknown_165":206,"unknown_94":11008,"ignition":9,"odometer":null,"unknown_45":1037587163068235776}} 
[2026-06-18 16:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":107640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344797,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:06:02] local.INFO: GPS data processed {"connection_id":107640,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:06:02] local.INFO: Acknowledgment sent {"connection_id":107640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:06:04] local.INFO: TCP Data received {"connection_id":106084,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:04] local.INFO: Processing buffer {"connection_id":106084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:04] local.INFO: IMEI packet received {"connection_id":106084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":106084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:06:07] local.INFO: TCP Data received {"connection_id":106084,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:07] local.INFO: Processing buffer {"connection_id":106084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:07] local.INFO: IMEI packet received {"connection_id":106084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":106084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:06:15] local.INFO: TCP Data received {"connection_id":106084,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106084,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:15] local.INFO: Processing buffer {"connection_id":106084,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:15] local.INFO: IMEI packet received {"connection_id":106084,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":106084,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:06:23] local.INFO: TCP Data received {"connection_id":106663,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4add80012d1b3380072082980051015c23..."} 
[2026-06-18 16:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4add80012d1b3380072082980051015c23..."} 
[2026-06-18 16:06:23] local.INFO: Processing buffer {"connection_id":106663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4add80012d1b3380072082980051015c23..."} 
[2026-06-18 16:06:23] local.INFO: Packet analysis {"connection_id":106663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:06:23] local.INFO: Extracted packet for processing {"connection_id":106663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4a"} 
[2026-06-18 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135367424001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781778800000,"timestamp_ms":1781778800000,"timestamp_seconds":1781778800,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4add80"} 
[2026-06-18 16:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-18 16:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135367424001,"66":12591,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135367424001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:06:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:06:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135367424001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":106663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:06:23] local.INFO: GPS data processed {"connection_id":106663,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:06:23] local.INFO: Acknowledgment sent {"connection_id":106663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:06:29] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:29] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:29] local.INFO: IMEI packet received {"connection_id":106085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":106085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:06:31] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:31] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:31] local.INFO: IMEI packet received {"connection_id":106085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":106085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:06:34] local.INFO: TCP Data received {"connection_id":107640,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4d8d00012d0e3780070642800026014418..."} 
[2026-06-18 16:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4d8d00012d0e3780070642800026014418..."} 
[2026-06-18 16:06:34] local.INFO: Processing buffer {"connection_id":107640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4d8d00012d0e3780070642800026014418..."} 
[2026-06-18 16:06:34] local.INFO: Packet analysis {"connection_id":107640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4d"} 
[2026-06-18 16:06:34] local.INFO: Extracted packet for processing {"connection_id":107640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4d"} 
[2026-06-18 16:06:34] local.INFO: GPS Element Parsed {"raw_longitude":755906432,"raw_latitude":117850752,"longitude_deg":75.5906432,"latitude_deg":11.7850752,"altitude":38,"angle":324,"satellites":24,"speed":11,"hex_longitude":"2d0e3780","hex_latitude":"07064280","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135417600001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21178062829780992,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1024709682884884480,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781778976000,"timestamp_ms":1781778976000,"timestamp_seconds":1781778976,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4d8d00"} 
[2026-06-18 16:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:06:34] 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-06-18 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 16:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107640,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135417600001,"66":14428,"165":206,"94":11008,"24":11,"16":21178062829780992,"45":1024709682884884480},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135417600001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:06:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:06:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-06-18 16:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21178062829780992,"km_value":21178062829780.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:06:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1024709682884884480,"description":"Unknown IO ID 45"} 
[2026-06-18 16:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135417600001,"power":14428,"unknown_165":206,"unknown_94":11008,"ignition":11,"odometer":null,"unknown_45":1024709682884884480}} 
[2026-06-18 16:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":107640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344799,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:06:34] local.INFO: GPS data processed {"connection_id":107640,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:06:34] local.INFO: Acknowledgment sent {"connection_id":107640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:06:34] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:34] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:06:34] local.INFO: IMEI packet received {"connection_id":106085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":106085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:06:35] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4c8f18012ce18a80073186e0002601042a..."} 
[2026-06-18 16:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4c8f18012ce18a80073186e0002601042a..."} 
[2026-06-18 16:06:35] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4c8f18012ce18a80073186e0002601042a..."} 
[2026-06-18 16:06:35] local.INFO: Packet analysis {"connection_id":106085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:06:35] local.INFO: Extracted packet for processing {"connection_id":106085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:06:35] local.INFO: GPS Element Parsed {"raw_longitude":752978560,"raw_latitude":120686304,"longitude_deg":75.297856,"latitude_deg":12.0686304,"altitude":38,"angle":260,"satellites":42,"speed":31,"hex_longitude":"2ce18a80","hex_latitude":"073186e0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135398400001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318655275936514048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2184527263355109376,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781778911000,"timestamp_ms":1781778911000,"timestamp_seconds":1781778911,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4c8f18"} 
[2026-06-18 16:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:06: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-06-18 16:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 16:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135398400001,"66":27865,"80":206,"2":56832,"24":31,"16":318655275936514048,"44":-2184527263355109376},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-06-18 16:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135398400001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:06:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-18 16:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318655275936514048,"km_value":318655275936514.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2184527263355109376,"description":"Unknown IO ID 44"} 
[2026-06-18 16:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135398400001,"power":27865,"unknown_80":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-2184527263355109376}} 
[2026-06-18 16:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":106085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:06:35] local.INFO: GPS data processed {"connection_id":106085,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:06:35] local.INFO: Acknowledgment sent {"connection_id":106085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:06:38] local.INFO: TCP Data received {"connection_id":106664,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106664,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:38] local.INFO: Processing buffer {"connection_id":106664,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:06:38] local.INFO: IMEI packet received {"connection_id":106664,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":106664,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:06:46] local.INFO: TCP Data received {"connection_id":107641,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:46] local.INFO: Processing buffer {"connection_id":107641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:46] local.INFO: IMEI packet received {"connection_id":107641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":107641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:06:50] local.INFO: TCP Data received {"connection_id":107641,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:50] local.INFO: Processing buffer {"connection_id":107641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:50] local.INFO: IMEI packet received {"connection_id":107641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":107641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:06:55] local.INFO: TCP Data received {"connection_id":107641,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:55] local.INFO: Processing buffer {"connection_id":107641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:06:55] local.INFO: IMEI packet received {"connection_id":107641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":107641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:06:56] local.INFO: TCP Data received {"connection_id":107641,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4b2f88012d1b3380072082980051015c22..."} 
[2026-06-18 16:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4b2f88012d1b3380072082980051015c22..."} 
[2026-06-18 16:06:56] local.INFO: Processing buffer {"connection_id":107641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4b2f88012d1b3380072082980051015c22..."} 
[2026-06-18 16:06:56] local.INFO: Packet analysis {"connection_id":107641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4b"} 
[2026-06-18 16:06:56] local.INFO: Extracted packet for processing {"connection_id":107641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4b"} 
[2026-06-18 16:06:56] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135372800001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781778821000,"timestamp_ms":1781778821000,"timestamp_seconds":1781778821,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4b2f88"} 
[2026-06-18 16:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 16:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135372800001,"66":12558,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135372800001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:06:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:06:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135372800001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":107641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:06:56] local.INFO: GPS data processed {"connection_id":107641,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:06:56] local.INFO: Acknowledgment sent {"connection_id":107641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:06:56] local.INFO: TCP Data received {"connection_id":105902,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:57] local.INFO: Processing buffer {"connection_id":105902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:57] local.INFO: IMEI packet received {"connection_id":105902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":105902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:06:57] local.INFO: TCP Data received {"connection_id":105902,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:57] local.INFO: Processing buffer {"connection_id":105902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:57] local.INFO: IMEI packet received {"connection_id":105902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":105902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:06:58] local.INFO: TCP Data received {"connection_id":105902,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:58] local.INFO: Processing buffer {"connection_id":105902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:06:58] local.INFO: IMEI packet received {"connection_id":105902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":105902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:07:00] local.INFO: TCP Data received {"connection_id":107641,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4b8190012d1b3380072082980051015c23..."} 
[2026-06-18 16:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4b8190012d1b3380072082980051015c23..."} 
[2026-06-18 16:07:00] local.INFO: Processing buffer {"connection_id":107641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4b8190012d1b3380072082980051015c23..."} 
[2026-06-18 16:07:00] local.INFO: Packet analysis {"connection_id":107641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4b"} 
[2026-06-18 16:07:00] local.INFO: Extracted packet for processing {"connection_id":107641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4b"} 
[2026-06-18 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135378176001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781778842000,"timestamp_ms":1781778842000,"timestamp_seconds":1781778842,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4b8190"} 
[2026-06-18 16:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3662237456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250248181046346392,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2190999633,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":48,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:00] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,190,221,45,128,130,81,35,10,66,139,34,57,1,240,178,218,32,4,113,205,157,51,152,239,50,2,11,7,231,48,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:07:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047893147516928,"timestamp_seconds":5837047893147517.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135378176001,"66":12319,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135378176001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:07:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135378176001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":107641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:07:00] local.INFO: GPS data processed {"connection_id":107641,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:07:00] local.INFO: Acknowledgment sent {"connection_id":107641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:07:01] local.INFO: TCP Data received {"connection_id":105902,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:07:01] local.INFO: Processing buffer {"connection_id":105902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:07:01] local.INFO: IMEI packet received {"connection_id":105902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":105902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:07:09] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4cbdf8012ce16480073183180027010d2d..."} 
[2026-06-18 16:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4cbdf8012ce16480073183180027010d2d..."} 
[2026-06-18 16:07:09] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4cbdf8012ce16480073183180027010d2d..."} 
[2026-06-18 16:07:09] local.INFO: Packet analysis {"connection_id":106085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:07:09] local.INFO: Extracted packet for processing {"connection_id":106085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":752968832,"raw_latitude":120685336,"longitude_deg":75.2968832,"latitude_deg":12.0685336,"altitude":39,"angle":269,"satellites":45,"speed":35,"hex_longitude":"2ce16480","hex_latitude":"07318318","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135401216001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318655739792982016,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2194801100005646336,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781778923000,"timestamp_ms":1781778923000,"timestamp_seconds":1781778923,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4cbdf8"} 
[2026-06-18 16:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16: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-06-18 16: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-06-18 16:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135401216001,"66":27865,"80":206,"2":56832,"24":35,"16":318655739792982016,"44":-2194801100005646336},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-06-18 16:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135401216001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:07:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-18 16:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318655739792982016,"km_value":318655739792982.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:07:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2194801100005646336,"description":"Unknown IO ID 44"} 
[2026-06-18 16:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135401216001,"power":27865,"unknown_80":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-2194801100005646336}} 
[2026-06-18 16:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":106085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:07:09] local.INFO: GPS data processed {"connection_id":106085,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:07:09] local.INFO: Acknowledgment sent {"connection_id":106085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:07:24] local.INFO: TCP Data received {"connection_id":106665,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:07:24] local.INFO: Processing buffer {"connection_id":106665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:07:24] local.INFO: IMEI packet received {"connection_id":106665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":106665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:07:30] local.INFO: TCP Data received {"connection_id":106665,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:07:30] local.INFO: Processing buffer {"connection_id":106665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:07:30] local.INFO: IMEI packet received {"connection_id":106665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":106665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:07:45] local.INFO: TCP Data received {"connection_id":106667,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:07:45] local.INFO: Processing buffer {"connection_id":106667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:07:45] local.INFO: IMEI packet received {"connection_id":106667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":106667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:07:50] local.INFO: TCP Data received {"connection_id":106667,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106667,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:07:50] local.INFO: Processing buffer {"connection_id":106667,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:07:50] local.INFO: IMEI packet received {"connection_id":106667,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":106667,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:07:54] local.INFO: TCP Data received {"connection_id":106667,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4bd398012d1b3380072082980051015c23..."} 
[2026-06-18 16:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4bd398012d1b3380072082980051015c23..."} 
[2026-06-18 16:07:54] local.INFO: Processing buffer {"connection_id":106667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4bd398012d1b3380072082980051015c23..."} 
[2026-06-18 16:07:54] local.INFO: Packet analysis {"connection_id":106667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4b"} 
[2026-06-18 16:07:54] local.INFO: Extracted packet for processing {"connection_id":106667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4b"} 
[2026-06-18 16:07:54] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135383552001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781778863000,"timestamp_ms":1781778863000,"timestamp_seconds":1781778863,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4bd398"} 
[2026-06-18 16:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 16:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135383552001,"66":12504,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135383552001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:07:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:07:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135383552001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":106667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:07:54] local.INFO: GPS data processed {"connection_id":106667,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:07:54] local.INFO: Acknowledgment sent {"connection_id":106667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:07:56] local.INFO: TCP Data received {"connection_id":106667,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4c25a0012d1b3380072082980051015c22..."} 
[2026-06-18 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4c25a0012d1b3380072082980051015c22..."} 
[2026-06-18 16:07:56] local.INFO: Processing buffer {"connection_id":106667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4c25a0012d1b3380072082980051015c22..."} 
[2026-06-18 16:07:56] local.INFO: Packet analysis {"connection_id":106667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:07:56] local.INFO: Extracted packet for processing {"connection_id":106667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135388928001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781778884000,"timestamp_ms":1781778884000,"timestamp_seconds":1781778884,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4c25a0"} 
[2026-06-18 16:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 16:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135388928001,"66":12504,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135388928001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:07:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:07:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135388928001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":106667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:07:56] local.INFO: GPS data processed {"connection_id":106667,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:07:56] local.INFO: Acknowledgment sent {"connection_id":106667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:07:57] local.INFO: TCP Data received {"connection_id":106665,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4cd950012ce14a4007318588002701192d..."} 
[2026-06-18 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4cd950012ce14a4007318588002701192d..."} 
[2026-06-18 16:07:57] local.INFO: Processing buffer {"connection_id":106665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4cd950012ce14a4007318588002701192d..."} 
[2026-06-18 16:07:57] local.INFO: Packet analysis {"connection_id":106665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:07:57] local.INFO: Extracted packet for processing {"connection_id":106665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:07:57] local.INFO: GPS Element Parsed {"raw_longitude":752962112,"raw_latitude":120685960,"longitude_deg":75.2962112,"latitude_deg":12.068596,"altitude":39,"angle":281,"satellites":45,"speed":40,"hex_longitude":"2ce14a40","hex_latitude":"07318588","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135404288001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318656061915529216,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2205497149120899072,"note":"Value kept but may cause issues"} 
[2026-06-18 16:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781778930000,"timestamp_ms":1781778930000,"timestamp_seconds":1781778930,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4cd950"} 
[2026-06-18 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-06-18 16:07: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-06-18 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":217,"data_length":795,"current_offset":136} 
[2026-06-18 16: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-06-18 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-06-18 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-06-18 16:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135404288001,"66":27919,"80":206,"2":56832,"24":40,"16":318656061915529216,"44":-2205497149120899072},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-06-18 16:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135404288001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:07:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-06-18 16:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318656061915529216,"km_value":318656061915529.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:07:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2205497149120899072,"description":"Unknown IO ID 44"} 
[2026-06-18 16:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135404288001,"power":27919,"unknown_80":206,"power_alt":56832,"ignition":40,"odometer":null,"unknown_44":-2205497149120899072}} 
[2026-06-18 16:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":106665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:07:57] local.INFO: GPS data processed {"connection_id":106665,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:07:57] local.INFO: Acknowledgment sent {"connection_id":106665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:08:27] local.INFO: TCP Data received {"connection_id":106667,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4c77a8012d1b3380072082980051015c23..."} 
[2026-06-18 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4c77a8012d1b3380072082980051015c23..."} 
[2026-06-18 16:08:27] local.INFO: Processing buffer {"connection_id":106667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4c77a8012d1b3380072082980051015c23..."} 
[2026-06-18 16:08:27] local.INFO: Packet analysis {"connection_id":106667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:08:27] local.INFO: Extracted packet for processing {"connection_id":106667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135394304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781778905000,"timestamp_ms":1781778905000,"timestamp_seconds":1781778905,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4c77a8"} 
[2026-06-18 16:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:08:27] 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-06-18 16:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 16:08: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-06-18 16: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-06-18 16:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106667,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135394304001,"66":12363,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135394304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:08:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:08:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135394304001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":106667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:08:28] local.INFO: GPS data processed {"connection_id":106667,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:08:28] local.INFO: Acknowledgment sent {"connection_id":106667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:08:30] local.INFO: TCP Data received {"connection_id":107643,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:08:30] local.INFO: Processing buffer {"connection_id":107643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:08:30] local.INFO: IMEI packet received {"connection_id":107643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:08:30] local.INFO: IMEI acknowledgment sent {"connection_id":107643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:08:34] local.INFO: TCP Data received {"connection_id":107643,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:08:34] local.INFO: Processing buffer {"connection_id":107643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:08:34] local.INFO: IMEI packet received {"connection_id":107643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":107643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:08:36] local.INFO: TCP Data received {"connection_id":107643,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4e7378012cdf5f80073237680015012029..."} 
[2026-06-18 16:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4e7378012cdf5f80073237680015012029..."} 
[2026-06-18 16:08:36] local.INFO: Processing buffer {"connection_id":107643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4e7378012cdf5f80073237680015012029..."} 
[2026-06-18 16:08:36] local.INFO: Packet analysis {"connection_id":107643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:08:36] local.INFO: Extracted packet for processing {"connection_id":107643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:08:36] local.INFO: GPS Element Parsed {"raw_longitude":752836480,"raw_latitude":120731496,"longitude_deg":75.283648,"latitude_deg":12.0731496,"altitude":21,"angle":288,"satellites":41,"speed":50,"hex_longitude":"2cdf5f80","hex_latitude":"07323768","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135430912001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318662457121832960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2340394031698270208,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781779035000,"timestamp_ms":1781779035000,"timestamp_seconds":1781779035,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4e7378"} 
[2026-06-18 16:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:08: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-06-18 16: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 16:08:36] 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-06-18 16: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-06-18 16:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135430912001,"66":28050,"109":206,"2":56832,"24":50,"16":318662457121832960,"44":-2340394031698270208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135430912001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:08:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318662457121832960,"km_value":318662457121832.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:08:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2340394031698270208,"description":"Unknown IO ID 44"} 
[2026-06-18 16:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135430912001,"power":28050,"unknown_109":206,"power_alt":56832,"ignition":50,"odometer":null,"unknown_44":-2340394031698270208}} 
[2026-06-18 16:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":107643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:08:36] local.INFO: GPS data processed {"connection_id":107643,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:08:36] local.INFO: Acknowledgment sent {"connection_id":107643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:08:41] local.INFO: TCP Data received {"connection_id":107643,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4e8ed0012cdf3e00073243b0001301232d..."} 
[2026-06-18 16:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4e8ed0012cdf3e00073243b0001301232d..."} 
[2026-06-18 16:08:41] local.INFO: Processing buffer {"connection_id":107643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4e8ed0012cdf3e00073243b0001301232d..."} 
[2026-06-18 16:08:41] local.INFO: Packet analysis {"connection_id":107643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:08:41] local.INFO: Extracted packet for processing {"connection_id":107643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:08:41] local.INFO: GPS Element Parsed {"raw_longitude":752827904,"raw_latitude":120734640,"longitude_deg":75.2827904,"latitude_deg":12.073464,"altitude":19,"angle":291,"satellites":45,"speed":50,"hex_longitude":"2cdf3e00","hex_latitude":"073243b0","is_valid_coordinates":true} 
[2026-06-18 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135432960001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318662890913529856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2351019712068491264,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781779042000,"timestamp_ms":1781779042000,"timestamp_seconds":1781779042,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4e8ed0"} 
[2026-06-18 16:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:08:41] 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-06-18 16:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 16:08:41] 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-06-18 16:08:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135432960001,"66":27908,"109":206,"2":56832,"24":50,"16":318662890913529856,"44":-2351019712068491264},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135432960001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:08:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318662890913529856,"km_value":318662890913529.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:08:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2351019712068491264,"description":"Unknown IO ID 44"} 
[2026-06-18 16:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135432960001,"power":27908,"unknown_109":206,"power_alt":56832,"ignition":50,"odometer":null,"unknown_44":-2351019712068491264}} 
[2026-06-18 16:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":107643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:08:41] local.INFO: GPS data processed {"connection_id":107643,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:08:41] local.INFO: Acknowledgment sent {"connection_id":107643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:08:45] local.INFO: TCP Data received {"connection_id":105905,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:08:45] local.INFO: Processing buffer {"connection_id":105905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:08:45] local.INFO: IMEI packet received {"connection_id":105905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":105905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:08:49] local.INFO: TCP Data received {"connection_id":105905,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:08:49] local.INFO: Processing buffer {"connection_id":105905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:08:49] local.INFO: IMEI packet received {"connection_id":105905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":105905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:08:51] local.INFO: TCP Data received {"connection_id":105905,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4cc9b0012d1b3380072082980051015c24..."} 
[2026-06-18 16:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4cc9b0012d1b3380072082980051015c24..."} 
[2026-06-18 16:08:51] local.INFO: Processing buffer {"connection_id":105905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4cc9b0012d1b3380072082980051015c24..."} 
[2026-06-18 16:08:51] local.INFO: Packet analysis {"connection_id":105905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:08:51] local.INFO: Extracted packet for processing {"connection_id":105905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4c"} 
[2026-06-18 16:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135399680001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781778926000,"timestamp_ms":1781778926000,"timestamp_seconds":1781778926,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4cc9b0"} 
[2026-06-18 16:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:08:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 16:08:51] 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-06-18 16:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135399680001,"66":12461,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135399680001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:08:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:08:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135399680001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":105905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:08:51] local.INFO: GPS data processed {"connection_id":105905,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:08:51] local.INFO: Acknowledgment sent {"connection_id":105905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:09:22] local.INFO: TCP Data received {"connection_id":105905,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4d1bb8012d1b3380072082980051015c24..."} 
[2026-06-18 16:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4d1bb8012d1b3380072082980051015c24..."} 
[2026-06-18 16:09:22] local.INFO: Processing buffer {"connection_id":105905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4d1bb8012d1b3380072082980051015c24..."} 
[2026-06-18 16:09:22] local.INFO: Packet analysis {"connection_id":105905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4d"} 
[2026-06-18 16:09:22] local.INFO: Extracted packet for processing {"connection_id":105905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4d"} 
[2026-06-18 16:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135405056001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781778947000,"timestamp_ms":1781778947000,"timestamp_seconds":1781778947,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4d1bb8"} 
[2026-06-18 16:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:09:22] 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-06-18 16:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135405056001,"66":12254,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135405056001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:09:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:09:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135405056001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":105905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:09:22] local.INFO: GPS data processed {"connection_id":105905,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:09:22] local.INFO: Acknowledgment sent {"connection_id":105905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:09:24] local.INFO: TCP Data received {"connection_id":107645,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:09:24] local.INFO: Processing buffer {"connection_id":107645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:09:24] local.INFO: IMEI packet received {"connection_id":107645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":107645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:09:29] local.INFO: TCP Data received {"connection_id":107645,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:09:29] local.INFO: Processing buffer {"connection_id":107645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:09:29] local.INFO: IMEI packet received {"connection_id":107645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":107645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:09:30] local.INFO: TCP Data received {"connection_id":107645,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4eae10012cdf1940073251b0001201222c..."} 
[2026-06-18 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4eae10012cdf1940073251b0001201222c..."} 
[2026-06-18 16:09:30] local.INFO: Processing buffer {"connection_id":107645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4eae10012cdf1940073251b0001201222c..."} 
[2026-06-18 16:09:30] local.INFO: Packet analysis {"connection_id":107645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:09:30] local.INFO: Extracted packet for processing {"connection_id":107645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":752818496,"raw_latitude":120738224,"longitude_deg":75.2818496,"latitude_deg":12.0738224,"altitude":18,"angle":290,"satellites":44,"speed":47,"hex_longitude":"2cdf1940","hex_latitude":"073251b0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135434752001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318663367654899712,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2360449123787493376,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781779050000,"timestamp_ms":1781779050000,"timestamp_seconds":1781779050,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4eae10"} 
[2026-06-18 16:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:09: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-06-18 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:09: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-06-18 16: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-06-18 16:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135434752001,"66":27821,"109":206,"2":56832,"24":47,"16":318663367654899712,"44":-2360449123787493376},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135434752001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:09:30] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318663367654899712,"km_value":318663367654899.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2360449123787493376,"description":"Unknown IO ID 44"} 
[2026-06-18 16:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135434752001,"power":27821,"unknown_109":206,"power_alt":56832,"ignition":47,"odometer":null,"unknown_44":-2360449123787493376}} 
[2026-06-18 16:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":107645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:09:31] local.INFO: GPS data processed {"connection_id":107645,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:09:31] local.INFO: Acknowledgment sent {"connection_id":107645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:09:44] local.INFO: TCP Data received {"connection_id":106089,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:09:44] local.INFO: Processing buffer {"connection_id":106089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:09:44] local.INFO: IMEI packet received {"connection_id":106089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":106089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:09:49] local.INFO: TCP Data received {"connection_id":106089,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:09:49] local.INFO: Processing buffer {"connection_id":106089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:09:49] local.INFO: IMEI packet received {"connection_id":106089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":106089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:09:53] local.INFO: TCP Data received {"connection_id":106089,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4d6dc0012d1b3380072082980051015c25..."} 
[2026-06-18 16:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4d6dc0012d1b3380072082980051015c25..."} 
[2026-06-18 16:09:53] local.INFO: Processing buffer {"connection_id":106089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4d6dc0012d1b3380072082980051015c25..."} 
[2026-06-18 16:09:53] local.INFO: Packet analysis {"connection_id":106089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4d"} 
[2026-06-18 16:09:53] local.INFO: Extracted packet for processing {"connection_id":106089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4d"} 
[2026-06-18 16:09:53] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":37,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135410432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:09:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781778968000,"timestamp_ms":1781778968000,"timestamp_seconds":1781778968,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4d6dc0"} 
[2026-06-18 16:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:09:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:09:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-18 16:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:09:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:09:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135410432001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135410432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:09:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:09:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135410432001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":106089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:09:53] local.INFO: GPS data processed {"connection_id":106089,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:09:53] local.INFO: Acknowledgment sent {"connection_id":106089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:09:58] local.INFO: TCP Data received {"connection_id":107646,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107646,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:09:58] local.INFO: Processing buffer {"connection_id":107646,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:09:58] local.INFO: IMEI packet received {"connection_id":107646,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":107646,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:10:02] local.INFO: TCP Data received {"connection_id":107645,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4ecd50012cdef64007325ed0001101232b..."} 
[2026-06-18 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4ecd50012cdef64007325ed0001101232b..."} 
[2026-06-18 16:10:02] local.INFO: Processing buffer {"connection_id":107645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4ecd50012cdef64007325ed0001101232b..."} 
[2026-06-18 16:10:02] local.INFO: Packet analysis {"connection_id":107645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:10:02] local.INFO: Extracted packet for processing {"connection_id":107645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:10:02] local.INFO: GPS Element Parsed {"raw_longitude":752809536,"raw_latitude":120741584,"longitude_deg":75.2809536,"latitude_deg":12.0741584,"altitude":17,"angle":291,"satellites":43,"speed":46,"hex_longitude":"2cdef640","hex_latitude":"07325ed0","is_valid_coordinates":true} 
[2026-06-18 16:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135436800001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318663822921433088,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2370793329180692480,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781779058000,"timestamp_ms":1781779058000,"timestamp_seconds":1781779058,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4ecd50"} 
[2026-06-18 16:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:10: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-06-18 16:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135436800001,"66":27843,"109":206,"2":56832,"24":46,"16":318663822921433088,"44":-2370793329180692480},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135436800001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:10:02] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318663822921433088,"km_value":318663822921433.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2370793329180692480,"description":"Unknown IO ID 44"} 
[2026-06-18 16:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135436800001,"power":27843,"unknown_109":206,"power_alt":56832,"ignition":46,"odometer":null,"unknown_44":-2370793329180692480}} 
[2026-06-18 16:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":107645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:10:02] local.INFO: GPS data processed {"connection_id":107645,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:10:02] local.INFO: Acknowledgment sent {"connection_id":107645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:10:24] local.INFO: TCP Data received {"connection_id":106669,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:24] local.INFO: Processing buffer {"connection_id":106669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:24] local.INFO: IMEI packet received {"connection_id":106669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":106669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:10:27] local.INFO: TCP Data received {"connection_id":106669,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:27] local.INFO: Processing buffer {"connection_id":106669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:27] local.INFO: IMEI packet received {"connection_id":106669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":106669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:10:28] local.INFO: TCP Data received {"connection_id":106089,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4dbfc8012d1b3380072082980051015c25..."} 
[2026-06-18 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4dbfc8012d1b3380072082980051015c25..."} 
[2026-06-18 16:10:28] local.INFO: Processing buffer {"connection_id":106089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4dbfc8012d1b3380072082980051015c25..."} 
[2026-06-18 16:10:28] local.INFO: Packet analysis {"connection_id":106089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4d"} 
[2026-06-18 16:10:28] local.INFO: Extracted packet for processing {"connection_id":106089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4d"} 
[2026-06-18 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":37,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135415808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781778989000,"timestamp_ms":1781778989000,"timestamp_seconds":1781778989,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4dbfc8"} 
[2026-06-18 16:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:10:28] 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-06-18 16: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-06-18 16:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135415808001,"66":12428,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135415808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:10:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:10:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135415808001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":106089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:10:28] local.INFO: GPS data processed {"connection_id":106089,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:10:28] local.INFO: Acknowledgment sent {"connection_id":106089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:10:29] local.INFO: TCP Data received {"connection_id":106669,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:29] local.INFO: Processing buffer {"connection_id":106669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:10:29] local.INFO: IMEI packet received {"connection_id":106669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":106669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:10:31] local.INFO: TCP Data received {"connection_id":106669,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5053f0012cdd54c007329ae8001501232e..."} 
[2026-06-18 16:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5053f0012cdd54c007329ae8001501232e..."} 
[2026-06-18 16:10:31] local.INFO: Processing buffer {"connection_id":106669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5053f0012cdd54c007329ae8001501232e..."} 
[2026-06-18 16:10:31] local.INFO: Packet analysis {"connection_id":106669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:10:31] local.INFO: Extracted packet for processing {"connection_id":106669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":752702656,"raw_latitude":120756968,"longitude_deg":75.2702656,"latitude_deg":12.0756968,"altitude":21,"angle":291,"satellites":46,"speed":44,"hex_longitude":"2cdd54c0","hex_latitude":"07329ae8","is_valid_coordinates":true} 
[2026-06-18 16:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135462144001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318668981177155584,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2487535075767386112,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781779158000,"timestamp_ms":1781779158000,"timestamp_seconds":1781779158,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5053f0"} 
[2026-06-18 16:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 16:10: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-06-18 16:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135462144001,"66":27767,"109":206,"2":56832,"24":44,"16":318668981177155584,"44":-2487535075767386112},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135462144001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:10:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318668981177155584,"km_value":318668981177155.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:10:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2487535075767386112,"description":"Unknown IO ID 44"} 
[2026-06-18 16:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135462144001,"power":27767,"unknown_109":206,"power_alt":56832,"ignition":44,"odometer":null,"unknown_44":-2487535075767386112}} 
[2026-06-18 16:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":106669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:10:31] local.INFO: GPS data processed {"connection_id":106669,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:10:31] local.INFO: Acknowledgment sent {"connection_id":106669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:10:33] local.INFO: TCP Data received {"connection_id":106090,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:10:33] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:10:33] local.INFO: IMEI packet received {"connection_id":106090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":106090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:10:35] local.INFO: TCP Data received {"connection_id":106669,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda507718012cdd31400732abe00015012a2c..."} 
[2026-06-18 16:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda507718012cdd31400732abe00015012a2c..."} 
[2026-06-18 16:10:35] local.INFO: Processing buffer {"connection_id":106669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda507718012cdd31400732abe00015012a2c..."} 
[2026-06-18 16:10:35] local.INFO: Packet analysis {"connection_id":106669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:10:35] local.INFO: Extracted packet for processing {"connection_id":106669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:10:35] local.INFO: GPS Element Parsed {"raw_longitude":752693568,"raw_latitude":120761312,"longitude_deg":75.2693568,"latitude_deg":12.0761312,"altitude":21,"angle":298,"satellites":44,"speed":43,"hex_longitude":"2cdd3140","hex_latitude":"0732abe0","is_valid_coordinates":true} 
[2026-06-18 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135464448001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318669462213492736,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2498160756137465856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781779167000,"timestamp_ms":1781779167000,"timestamp_seconds":1781779167,"priority":1,"record_length":96,"hex_timestamp":"0000019eda507718"} 
[2026-06-18 16:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:10: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-06-18 16:10:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 16:10: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-06-18 16:10:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135464448001,"66":27919,"109":206,"2":56832,"24":43,"16":318669462213492736,"44":-2498160756137465856},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135464448001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:10:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318669462213492736,"km_value":318669462213492.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:10:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2498160756137465856,"description":"Unknown IO ID 44"} 
[2026-06-18 16:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135464448001,"power":27919,"unknown_109":206,"power_alt":56832,"ignition":43,"odometer":null,"unknown_44":-2498160756137465856}} 
[2026-06-18 16:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":106669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:10:35] local.INFO: GPS data processed {"connection_id":106669,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:10:35] local.INFO: Acknowledgment sent {"connection_id":106669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:10:44] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:10:44] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:10:44] local.INFO: IMEI packet received {"connection_id":106091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":106091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:10:49] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:10:49] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:10:49] local.INFO: IMEI packet received {"connection_id":106091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":106091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:10:52] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4e11d0012d1b3380072082980051015c24..."} 
[2026-06-18 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4e11d0012d1b3380072082980051015c24..."} 
[2026-06-18 16:10:52] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4e11d0012d1b3380072082980051015c24..."} 
[2026-06-18 16:10:52] local.INFO: Packet analysis {"connection_id":106091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:10:52] local.INFO: Extracted packet for processing {"connection_id":106091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:10:52] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:10:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135421184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:10:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:10:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781779010000,"timestamp_ms":1781779010000,"timestamp_seconds":1781779010,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4e11d0"} 
[2026-06-18 16:10:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:10:52] 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-06-18 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:10:52] 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-06-18 16: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-06-18 16:10:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:10:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:10:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:10:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:10:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:10:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:10:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:10:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:10:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135421184001,"66":12428,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:10:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:10:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:10:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135421184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:10:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:10:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:10:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:10:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:10:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135421184001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:10:52] local.INFO: DEBUG: GPS processor result {"connection_id":106091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:10:52] local.INFO: GPS data processed {"connection_id":106091,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:10:52] local.INFO: Acknowledgment sent {"connection_id":106091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:11:07] local.INFO: TCP Data received {"connection_id":106669,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda509a40012cdd10c00732be700017012b2d..."} 
[2026-06-18 16:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda509a40012cdd10c00732be700017012b2d..."} 
[2026-06-18 16:11:07] local.INFO: Processing buffer {"connection_id":106669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda509a40012cdd10c00732be700017012b2d..."} 
[2026-06-18 16:11:07] local.INFO: Packet analysis {"connection_id":106669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:11:07] local.INFO: Extracted packet for processing {"connection_id":106669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:11:07] local.INFO: GPS Element Parsed {"raw_longitude":752685248,"raw_latitude":120766064,"longitude_deg":75.2685248,"latitude_deg":12.0766064,"altitude":23,"angle":299,"satellites":45,"speed":41,"hex_longitude":"2cdd10c0","hex_latitude":"0732be70","is_valid_coordinates":true} 
[2026-06-18 16:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135466752001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318669917480026112,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2508153117809582080,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781779176000,"timestamp_ms":1781779176000,"timestamp_seconds":1781779176,"priority":1,"record_length":96,"hex_timestamp":"0000019eda509a40"} 
[2026-06-18 16:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:11:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 16:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:11:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135466752001,"66":27876,"109":206,"2":56832,"24":41,"16":318669917480026112,"44":-2508153117809582080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135466752001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:11:07] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318669917480026112,"km_value":318669917480026.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:11:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2508153117809582080,"description":"Unknown IO ID 44"} 
[2026-06-18 16:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135466752001,"power":27876,"unknown_109":206,"power_alt":56832,"ignition":41,"odometer":null,"unknown_44":-2508153117809582080}} 
[2026-06-18 16:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":106669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:11:07] local.INFO: GPS data processed {"connection_id":106669,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:11:07] local.INFO: Acknowledgment sent {"connection_id":106669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:11:24] local.INFO: TCP Data received {"connection_id":105906,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:11:24] local.INFO: Processing buffer {"connection_id":105906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:11:24] local.INFO: IMEI packet received {"connection_id":105906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":105906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:11:25] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4e63d8012d1b3380072082980051015c24..."} 
[2026-06-18 16:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4e63d8012d1b3380072082980051015c24..."} 
[2026-06-18 16:11:25] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4e63d8012d1b3380072082980051015c24..."} 
[2026-06-18 16:11:25] local.INFO: Packet analysis {"connection_id":106091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:11:25] local.INFO: Extracted packet for processing {"connection_id":106091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:11:25] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135426560001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781779031000,"timestamp_ms":1781779031000,"timestamp_seconds":1781779031,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4e63d8"} 
[2026-06-18 16:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:11:25] 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-06-18 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:11:25] 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-06-18 16: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-06-18 16:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135426560001,"66":12374,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135426560001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:11:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:11:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135426560001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":106091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:11:25] local.INFO: GPS data processed {"connection_id":106091,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:11:25] local.INFO: Acknowledgment sent {"connection_id":106091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:11:30] local.INFO: TCP Data received {"connection_id":105906,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:11:30] local.INFO: Processing buffer {"connection_id":105906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:11:30] local.INFO: IMEI packet received {"connection_id":105906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":105906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:11:31] local.INFO: TCP Data received {"connection_id":105906,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda50bd68012cdcf0400732d1080018012b2c..."} 
[2026-06-18 16:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda50bd68012cdcf0400732d1080018012b2c..."} 
[2026-06-18 16:11:31] local.INFO: Processing buffer {"connection_id":105906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda50bd68012cdcf0400732d1080018012b2c..."} 
[2026-06-18 16:11:31] local.INFO: Packet analysis {"connection_id":105906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:11:31] local.INFO: Extracted packet for processing {"connection_id":105906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":752676928,"raw_latitude":120770824,"longitude_deg":75.2676928,"latitude_deg":12.0770824,"altitude":24,"angle":299,"satellites":44,"speed":41,"hex_longitude":"2cdcf040","hex_latitude":"0732d108","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135469056001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318670377041526784,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2517301054551461888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781779185000,"timestamp_ms":1781779185000,"timestamp_seconds":1781779185,"priority":1,"record_length":96,"hex_timestamp":"0000019eda50bd68"} 
[2026-06-18 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-06-18 16:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 16:11: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-06-18 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-06-18 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-06-18 16:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135469056001,"66":27571,"109":206,"2":56832,"24":41,"16":318670377041526784,"44":-2517301054551461888},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135469056001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:11:31] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318670377041526784,"km_value":318670377041526.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:11:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2517301054551461888,"description":"Unknown IO ID 44"} 
[2026-06-18 16:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135469056001,"power":27571,"unknown_109":206,"power_alt":56832,"ignition":41,"odometer":null,"unknown_44":-2517301054551461888}} 
[2026-06-18 16:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":105906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:11:31] local.INFO: GPS data processed {"connection_id":105906,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:11:31] local.INFO: Acknowledgment sent {"connection_id":105906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:11:44] local.INFO: TCP Data received {"connection_id":106671,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106671,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:11:44] local.INFO: Processing buffer {"connection_id":106671,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:11:44] local.INFO: IMEI packet received {"connection_id":106671,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":106671,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:11:44] local.INFO: TCP Data received {"connection_id":106672,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:11:44] local.INFO: Processing buffer {"connection_id":106672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:11:44] local.INFO: IMEI packet received {"connection_id":106672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":106672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:11:45] local.INFO: TCP Data received {"connection_id":106671,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda517500012d7cf34005eaef480009005b26..."} 
[2026-06-18 16:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda517500012d7cf34005eaef480009005b26..."} 
[2026-06-18 16:11:45] local.INFO: Processing buffer {"connection_id":106671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda517500012d7cf34005eaef480009005b26..."} 
[2026-06-18 16:11:45] local.INFO: Packet analysis {"connection_id":106671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda51"} 
[2026-06-18 16:11:45] local.INFO: Extracted packet for processing {"connection_id":106671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda51"} 
[2026-06-18 16:11:45] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":99282760,"longitude_deg":76.3163456,"latitude_deg":9.928276,"altitude":9,"angle":91,"satellites":38,"speed":2,"hex_longitude":"2d7cf340","hex_latitude":"05eaef48","is_valid_coordinates":true} 
[2026-06-18 16:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135483136001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93903567231909888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003540105460137984,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] 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-06-18 16:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781779232000,"timestamp_ms":1781779232000,"timestamp_seconds":1781779232,"priority":1,"record_length":96,"hex_timestamp":"0000019eda517500"} 
[2026-06-18 16:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311886,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3662706456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2650800128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818519,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":4160802126,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3969384458,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3355520380,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2618097664,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3940202496,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:45] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,87,24,241,157,16,156,101,45,128,238,9,38,10,66,8,74,237,40,50,1,240,187,227,218,234,4,113,205,21,173,177,56,35,239,2,77,5,23],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-06-18 16:11:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648605366673997824,"timestamp_seconds":648605366673997.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106671,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:11:45] 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-06-18 16:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135483136001,"66":13059,"158":206,"87":13824,"24":2,"16":93903567231909888,"45":9003540105460137984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 16:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135483136001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:11:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 16:11:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93903567231909888,"km_value":93903567231909.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003540105460137984,"description":"Unknown IO ID 45"} 
[2026-06-18 16:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135483136001,"power":13059,"unknown_158":206,"unknown_87":13824,"ignition":2,"odometer":null,"unknown_45":9003540105460137984}} 
[2026-06-18 16:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":106671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:11:45] local.INFO: GPS data processed {"connection_id":106671,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:11:45] local.INFO: Acknowledgment sent {"connection_id":106671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:11:49] local.INFO: TCP Data received {"connection_id":106672,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:11:49] local.INFO: Processing buffer {"connection_id":106672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:11:49] local.INFO: IMEI packet received {"connection_id":106672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":106672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:11:53] local.INFO: TCP Data received {"connection_id":106672,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4eb5e0012d1b3380072082980051015c23..."} 
[2026-06-18 16:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4eb5e0012d1b3380072082980051015c23..."} 
[2026-06-18 16:11:53] local.INFO: Processing buffer {"connection_id":106672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4eb5e0012d1b3380072082980051015c23..."} 
[2026-06-18 16:11:53] local.INFO: Packet analysis {"connection_id":106672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:11:53] local.INFO: Extracted packet for processing {"connection_id":106672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4e"} 
[2026-06-18 16:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135431936001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781779052000,"timestamp_ms":1781779052000,"timestamp_seconds":1781779052,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4eb5e0"} 
[2026-06-18 16:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 16:11:53] 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-06-18 16:11:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135431936001,"66":12341,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135431936001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:11:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:11:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135431936001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":106672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:11:53] local.INFO: GPS data processed {"connection_id":106672,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:11:53] local.INFO: Acknowledgment sent {"connection_id":106672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:01] local.INFO: TCP Data received {"connection_id":106673,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106673,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:01] local.INFO: Processing buffer {"connection_id":106673,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:01] local.INFO: IMEI packet received {"connection_id":106673,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":106673,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:12:02] local.INFO: TCP Data received {"connection_id":106673,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5224c8012d0dfec0070705d8002201091a..."} 
[2026-06-18 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5224c8012d0dfec0070705d8002201091a..."} 
[2026-06-18 16:12:02] local.INFO: Processing buffer {"connection_id":106673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5224c8012d0dfec0070705d8002201091a..."} 
[2026-06-18 16:12:02] local.INFO: Packet analysis {"connection_id":106673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda52"} 
[2026-06-18 16:12:02] local.INFO: Extracted packet for processing {"connection_id":106673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda52"} 
[2026-06-18 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":755891904,"raw_latitude":117900760,"longitude_deg":75.5891904,"latitude_deg":11.790076,"altitude":34,"angle":265,"satellites":26,"speed":21,"hex_longitude":"2d0dfec0","hex_latitude":"070705d8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135492096001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21182465171259392,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1014858058712563712,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781779277000,"timestamp_ms":1781779277000,"timestamp_seconds":1781779277,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5224c8"} 
[2026-06-18 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-06-18 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 16:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135492096001,"66":14537,"219":206,"94":10240,"24":21,"16":21182465171259392,"45":1014858058712563712},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 16:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135492096001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 16:12:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21182465171259392,"km_value":21182465171259.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1014858058712563712,"description":"Unknown IO ID 45"} 
[2026-06-18 16:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135492096001,"power":14537,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":1014858058712563712}} 
[2026-06-18 16:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":106673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344824,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:02] local.INFO: GPS data processed {"connection_id":106673,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:02] local.INFO: Acknowledgment sent {"connection_id":106673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:03] local.INFO: TCP Data received {"connection_id":105906,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda50e478012cdccfc00732e480001a012e2d..."} 
[2026-06-18 16:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda50e478012cdccfc00732e480001a012e2d..."} 
[2026-06-18 16:12:03] local.INFO: Processing buffer {"connection_id":105906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda50e478012cdccfc00732e480001a012e2d..."} 
[2026-06-18 16:12:03] local.INFO: Packet analysis {"connection_id":105906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:12:03] local.INFO: Extracted packet for processing {"connection_id":105906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:12:03] local.INFO: GPS Element Parsed {"raw_longitude":752668608,"raw_latitude":120775808,"longitude_deg":75.2668608,"latitude_deg":12.0775808,"altitude":26,"angle":302,"satellites":45,"speed":36,"hex_longitude":"2cdccfc0","hex_latitude":"0732e480","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135471360001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318670836603027456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2526448991293339648,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781779195000,"timestamp_ms":1781779195000,"timestamp_seconds":1781779195,"priority":1,"record_length":96,"hex_timestamp":"0000019eda50e478"} 
[2026-06-18 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-06-18 16:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 16:12: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-06-18 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-06-18 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-06-18 16:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135471360001,"66":28006,"109":206,"2":56832,"24":36,"16":318670836603027456,"44":-2526448991293339648},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135471360001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:03] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318670836603027456,"km_value":318670836603027.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2526448991293339648,"description":"Unknown IO ID 44"} 
[2026-06-18 16:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135471360001,"power":28006,"unknown_109":206,"power_alt":56832,"ignition":36,"odometer":null,"unknown_44":-2526448991293339648}} 
[2026-06-18 16:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":105906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:03] local.INFO: GPS data processed {"connection_id":105906,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:03] local.INFO: Acknowledgment sent {"connection_id":105906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:29] local.INFO: TCP Data received {"connection_id":106672,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4f07e8012d1b3380072082980051015c23..."} 
[2026-06-18 16:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4f07e8012d1b3380072082980051015c23..."} 
[2026-06-18 16:12:29] local.INFO: Processing buffer {"connection_id":106672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4f07e8012d1b3380072082980051015c23..."} 
[2026-06-18 16:12:29] local.INFO: Packet analysis {"connection_id":106672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4f"} 
[2026-06-18 16:12:29] local.INFO: Extracted packet for processing {"connection_id":106672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4f"} 
[2026-06-18 16:12:29] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135437312001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781779073000,"timestamp_ms":1781779073000,"timestamp_seconds":1781779073,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4f07e8"} 
[2026-06-18 16:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:12:29] 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-06-18 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 16:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135437312001,"66":12385,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135437312001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:12:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135437312001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":106672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:29] local.INFO: GPS data processed {"connection_id":106672,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:29] local.INFO: Acknowledgment sent {"connection_id":106672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:30] local.INFO: TCP Data received {"connection_id":107648,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:30] local.INFO: Processing buffer {"connection_id":107648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:30] local.INFO: IMEI packet received {"connection_id":107648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:12:30] local.INFO: IMEI acknowledgment sent {"connection_id":107648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:12:31] local.INFO: TCP Data received {"connection_id":107648,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:31] local.INFO: Processing buffer {"connection_id":107648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:31] local.INFO: IMEI packet received {"connection_id":107648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":107648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:12:33] local.INFO: TCP Data received {"connection_id":107649,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:12:33] local.INFO: Processing buffer {"connection_id":107649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:12:33] local.INFO: IMEI packet received {"connection_id":107649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":107649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:12:33] local.INFO: TCP Data received {"connection_id":106673,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda52e818012d0d9b000706f6e80031012c1a..."} 
[2026-06-18 16:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda52e818012d0d9b000706f6e80031012c1a..."} 
[2026-06-18 16:12:33] local.INFO: Processing buffer {"connection_id":106673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda52e818012d0d9b000706f6e80031012c1a..."} 
[2026-06-18 16:12:33] local.INFO: Packet analysis {"connection_id":106673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda52"} 
[2026-06-18 16:12:33] local.INFO: Extracted packet for processing {"connection_id":106673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda52"} 
[2026-06-18 16:12:33] local.INFO: GPS Element Parsed {"raw_longitude":755866368,"raw_latitude":117896936,"longitude_deg":75.5866368,"latitude_deg":11.7896936,"altitude":49,"angle":300,"satellites":26,"speed":21,"hex_longitude":"2d0d9b00","hex_latitude":"0706f6e8","is_valid_coordinates":true} 
[2026-06-18 16:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135506944001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21183762251382784,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981995855180675072,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781779327000,"timestamp_ms":1781779327000,"timestamp_seconds":1781779327,"priority":1,"record_length":96,"hex_timestamp":"0000019eda52e818"} 
[2026-06-18 16:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 16:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106673,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135506944001,"66":14374,"219":206,"94":10240,"24":21,"16":21183762251382784,"45":981995855180675072},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 16:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135506944001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:33] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 16:12:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21183762251382784,"km_value":21183762251382.785,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":981995855180675072,"description":"Unknown IO ID 45"} 
[2026-06-18 16:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135506944001,"power":14374,"unknown_219":206,"unknown_94":10240,"ignition":21,"odometer":null,"unknown_45":981995855180675072}} 
[2026-06-18 16:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":106673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344827,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:33] local.INFO: GPS data processed {"connection_id":106673,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:33] local.INFO: Acknowledgment sent {"connection_id":106673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:34] local.INFO: TCP Data received {"connection_id":107648,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:34] local.INFO: Processing buffer {"connection_id":107648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:12:34] local.INFO: IMEI packet received {"connection_id":107648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":107648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:12:36] local.INFO: TCP Data received {"connection_id":107648,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda50ffd0012cdcba400732eff0001b01212b..."} 
[2026-06-18 16:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda50ffd0012cdcba400732eff0001b01212b..."} 
[2026-06-18 16:12:36] local.INFO: Processing buffer {"connection_id":107648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda50ffd0012cdcba400732eff0001b01212b..."} 
[2026-06-18 16:12:36] local.INFO: Packet analysis {"connection_id":107648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:12:36] local.INFO: Extracted packet for processing {"connection_id":107648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda50"} 
[2026-06-18 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":752663104,"raw_latitude":120778736,"longitude_deg":75.2663104,"latitude_deg":12.0778736,"altitude":27,"angle":289,"satellites":43,"speed":33,"hex_longitude":"2cdcba40","hex_latitude":"0732eff0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135473920001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318671137250738176,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2535596928035160064,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781779202000,"timestamp_ms":1781779202000,"timestamp_seconds":1781779202,"priority":1,"record_length":96,"hex_timestamp":"0000019eda50ffd0"} 
[2026-06-18 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-06-18 16:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 16:12:36] 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-06-18 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-06-18 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-06-18 16:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135473920001,"66":27843,"109":206,"2":56832,"24":33,"16":318671137250738176,"44":-2535596928035160064},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135473920001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318671137250738176,"km_value":318671137250738.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2535596928035160064,"description":"Unknown IO ID 44"} 
[2026-06-18 16:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135473920001,"power":27843,"unknown_109":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-2535596928035160064}} 
[2026-06-18 16:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":107648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:36] local.INFO: GPS data processed {"connection_id":107648,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:36] local.INFO: Acknowledgment sent {"connection_id":107648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:38] local.INFO: TCP Data received {"connection_id":107649,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107649,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:12:38] local.INFO: Processing buffer {"connection_id":107649,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:12:38] local.INFO: IMEI packet received {"connection_id":107649,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":107649,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:12:39] local.INFO: TCP Data received {"connection_id":107649,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda51c320012d7cf3c005eaef38000900581e..."} 
[2026-06-18 16:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda51c320012d7cf3c005eaef38000900581e..."} 
[2026-06-18 16:12:39] local.INFO: Processing buffer {"connection_id":107649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda51c320012d7cf3c005eaef38000900581e..."} 
[2026-06-18 16:12:39] local.INFO: Packet analysis {"connection_id":107649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda51"} 
[2026-06-18 16:12:39] local.INFO: Extracted packet for processing {"connection_id":107649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda51"} 
[2026-06-18 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":763163584,"raw_latitude":99282744,"longitude_deg":76.3163584,"latitude_deg":9.9282744,"altitude":9,"angle":88,"satellites":30,"speed":0,"hex_longitude":"2d7cf3c0","hex_latitude":"05eaef38","is_valid_coordinates":true} 
[2026-06-18 16:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135483392001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93903575821844480,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610474204317696,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] 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-06-18 16:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781779252000,"timestamp_ms":1781779252000,"timestamp_seconds":1781779252,"priority":1,"record_length":96,"hex_timestamp":"0000019eda51c320"} 
[2026-06-18 16:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311886,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3662720456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2902458368,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":8,"raw_value":58079734643818518,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3993501707,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1309147342,"corrected_to":0} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2623733760,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3940956160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,158,87,24,241,157,16,156,113,45,239,9,37,10,66,101,128,238,38,8,74,1,240,166,227,218,234,4,205,236,207,152,40,52,2,77,5,22],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1309147342,"validated":0}]} 
[2026-06-18 16:12:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648618565108367360,"timestamp_seconds":648618565108367.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135483392001,"66":13254,"158":206,"87":13824,"24":0,"16":93903575821844480,"45":9003610474204317696},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 16:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135483392001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:39] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 16:12:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93903575821844480,"km_value":93903575821844.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610474204317696,"description":"Unknown IO ID 45"} 
[2026-06-18 16:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135483392001,"power":13254,"unknown_158":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9003610474204317696}} 
[2026-06-18 16:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":107649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:39] local.INFO: GPS data processed {"connection_id":107649,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:39] local.INFO: Acknowledgment sent {"connection_id":107649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:40] local.INFO: TCP Data received {"connection_id":107648,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda510b88012cdcb1400732f3e8001b012d2b..."} 
[2026-06-18 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda510b88012cdcb1400732f3e8001b012d2b..."} 
[2026-06-18 16:12:40] local.INFO: Processing buffer {"connection_id":107648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda510b88012cdcb1400732f3e8001b012d2b..."} 
[2026-06-18 16:12:40] local.INFO: Packet analysis {"connection_id":107648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda51"} 
[2026-06-18 16:12:40] local.INFO: Extracted packet for processing {"connection_id":107648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda51"} 
[2026-06-18 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":752660800,"raw_latitude":120779752,"longitude_deg":75.26608,"latitude_deg":12.0779752,"altitude":27,"angle":301,"satellites":43,"speed":33,"hex_longitude":"2cdcb140","hex_latitude":"0732f3e8","is_valid_coordinates":true} 
[2026-06-18 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135475712001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318671253214855168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2541648640033689600,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781779205000,"timestamp_ms":1781779205000,"timestamp_seconds":1781779205,"priority":1,"record_length":96,"hex_timestamp":"0000019eda510b88"} 
[2026-06-18 16:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 16:12: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-06-18 16:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135475712001,"66":27800,"109":206,"2":56832,"24":33,"16":318671253214855168,"44":-2541648640033689600},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,2,24,16,44]} 
[2026-06-18 16:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135475712001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 16:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318671253214855168,"km_value":318671253214855.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2541648640033689600,"description":"Unknown IO ID 44"} 
[2026-06-18 16:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135475712001,"power":27800,"unknown_109":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-2541648640033689600}} 
[2026-06-18 16:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":107648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:41] local.INFO: GPS data processed {"connection_id":107648,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:41] local.INFO: Acknowledgment sent {"connection_id":107648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:41] local.INFO: TCP Data received {"connection_id":107649,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda51f5e8012d7cf58005eaef400009004c22..."} 
[2026-06-18 16:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda51f5e8012d7cf58005eaef400009004c22..."} 
[2026-06-18 16:12:41] local.INFO: Processing buffer {"connection_id":107649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda51f5e8012d7cf58005eaef400009004c22..."} 
[2026-06-18 16:12:41] local.INFO: Packet analysis {"connection_id":107649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda51"} 
[2026-06-18 16:12:41] local.INFO: Extracted packet for processing {"connection_id":107649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda51"} 
[2026-06-18 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":763164032,"raw_latitude":99282752,"longitude_deg":76.3164032,"latitude_deg":9.9282752,"altitude":9,"angle":76,"satellites":34,"speed":4,"hex_longitude":"2d7cf580","hex_latitude":"05eaef40","is_valid_coordinates":true} 
[2026-06-18 16:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135488512001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93903597296680960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003751211692668928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12: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-06-18 16:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781779265000,"timestamp_ms":1781779265000,"timestamp_seconds":1781779265,"priority":1,"record_length":96,"hex_timestamp":"0000019eda51f5e8"} 
[2026-06-18 16:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 16:12:41] 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-06-18 16:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:12:41] 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-06-18 16:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135488512001,"66":12798,"158":206,"87":13824,"24":4,"16":93903597296680960,"45":9003751211692668928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 16:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135488512001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:41] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 16:12:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93903597296680960,"km_value":93903597296680.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003751211692668928,"description":"Unknown IO ID 45"} 
[2026-06-18 16:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135488512001,"power":12798,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9003751211692668928}} 
[2026-06-18 16:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":107649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344831,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:41] local.INFO: GPS data processed {"connection_id":107649,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:41] local.INFO: Acknowledgment sent {"connection_id":107649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:50] local.INFO: TCP Data received {"connection_id":106674,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:12:50] local.INFO: Processing buffer {"connection_id":106674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:12:50] local.INFO: IMEI packet received {"connection_id":106674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":106674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:12:54] local.INFO: TCP Data received {"connection_id":106674,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:12:54] local.INFO: Processing buffer {"connection_id":106674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:12:54] local.INFO: IMEI packet received {"connection_id":106674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":106674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:12:56] local.INFO: TCP Data received {"connection_id":106674,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4f59f0012d1b3380072082980051015c22..."} 
[2026-06-18 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4f59f0012d1b3380072082980051015c22..."} 
[2026-06-18 16:12:56] local.INFO: Processing buffer {"connection_id":106674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4f59f0012d1b3380072082980051015c22..."} 
[2026-06-18 16:12:56] local.INFO: Packet analysis {"connection_id":106674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4f"} 
[2026-06-18 16:12:56] local.INFO: Extracted packet for processing {"connection_id":106674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4f"} 
[2026-06-18 16:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135442688001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781779094000,"timestamp_ms":1781779094000,"timestamp_seconds":1781779094,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4f59f0"} 
[2026-06-18 16:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 16:12:56] 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-06-18 16:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135442688001,"66":11547,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135442688001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:12:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:12:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135442688001,"power":11547,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":106674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:12:56] local.INFO: GPS data processed {"connection_id":106674,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:12:56] local.INFO: Acknowledgment sent {"connection_id":106674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:12:57] local.INFO: TCP Data received {"connection_id":105909,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:57] local.INFO: Processing buffer {"connection_id":105909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:57] local.INFO: IMEI packet received {"connection_id":105909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":105909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:12:57] local.INFO: TCP Data received {"connection_id":105909,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:57] local.INFO: Processing buffer {"connection_id":105909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:12:57] local.INFO: IMEI packet received {"connection_id":105909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":105909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:13:00] local.INFO: TCP Data received {"connection_id":106674,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4fabf8012d1b3380072082980051015c22..."} 
[2026-06-18 16:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4fabf8012d1b3380072082980051015c22..."} 
[2026-06-18 16:13:00] local.INFO: Processing buffer {"connection_id":106674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4fabf8012d1b3380072082980051015c22..."} 
[2026-06-18 16:13:00] local.INFO: Packet analysis {"connection_id":106674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4f"} 
[2026-06-18 16:13:00] local.INFO: Extracted packet for processing {"connection_id":106674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4f"} 
[2026-06-18 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135448064001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781779115000,"timestamp_ms":1781779115000,"timestamp_seconds":1781779115,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4fabf8"} 
[2026-06-18 16:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 16:13:00] 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-06-18 16: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-06-18 16:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135448064001,"66":12341,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135448064001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:13:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135448064001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":106674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:13:00] local.INFO: GPS data processed {"connection_id":106674,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:13:00] local.INFO: Acknowledgment sent {"connection_id":106674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:13:01] local.INFO: TCP Data received {"connection_id":105909,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105909,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:01] local.INFO: Processing buffer {"connection_id":105909,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:01] local.INFO: IMEI packet received {"connection_id":105909,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":105909,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:13:02] local.INFO: TCP Data received {"connection_id":105909,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda531ec8012d0d7bc007070820002b012b1a..."} 
[2026-06-18 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda531ec8012d0d7bc007070820002b012b1a..."} 
[2026-06-18 16:13:02] local.INFO: Processing buffer {"connection_id":105909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda531ec8012d0d7bc007070820002b012b1a..."} 
[2026-06-18 16:13:02] local.INFO: Packet analysis {"connection_id":105909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:02] local.INFO: Extracted packet for processing {"connection_id":105909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":755858368,"raw_latitude":117901344,"longitude_deg":75.5858368,"latitude_deg":11.7901344,"altitude":43,"angle":299,"satellites":26,"speed":23,"hex_longitude":"2d0d7bc0","hex_latitude":"07070820","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135507712001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21184200338046976,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":980377374064830464,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781779341000,"timestamp_ms":1781779341000,"timestamp_seconds":1781779341,"priority":1,"record_length":96,"hex_timestamp":"0000019eda531ec8"} 
[2026-06-18 16:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 16:13:02] 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-06-18 16: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-06-18 16:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105909,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105909,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135507712001,"66":14548,"219":206,"94":10240,"24":23,"16":21184200338046976,"45":980377374064830464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,94,24,16,45]} 
[2026-06-18 16:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135507712001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:13:02] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 16:13:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21184200338046976,"km_value":21184200338046.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":980377374064830464,"description":"Unknown IO ID 45"} 
[2026-06-18 16:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135507712001,"power":14548,"unknown_219":206,"unknown_94":10240,"ignition":23,"odometer":null,"unknown_45":980377374064830464}} 
[2026-06-18 16:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":105909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:13:02] local.INFO: GPS data processed {"connection_id":105909,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:13:02] local.INFO: Acknowledgment sent {"connection_id":105909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:13:12] local.INFO: TCP Data received {"connection_id":107649,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda53c6c0012d7d1c4005ea7c78000700bf29..."} 
[2026-06-18 16:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda53c6c0012d7d1c4005ea7c78000700bf29..."} 
[2026-06-18 16:13:12] local.INFO: Processing buffer {"connection_id":107649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda53c6c0012d7d1c4005ea7c78000700bf29..."} 
[2026-06-18 16:13:12] local.INFO: Packet analysis {"connection_id":107649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:12] local.INFO: Extracted packet for processing {"connection_id":107649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:12] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99253368,"longitude_deg":76.3173952,"latitude_deg":9.9253368,"altitude":7,"angle":191,"satellites":41,"speed":9,"hex_longitude":"2d7d1c40","hex_latitude":"05ea7c78","is_valid_coordinates":true} 
[2026-06-18 16:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135521024001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93905787730001920,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015291685730629632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:12] 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-06-18 16:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781779384000,"timestamp_ms":1781779384000,"timestamp_seconds":1781779384,"priority":1,"record_length":96,"hex_timestamp":"0000019eda53c6c0"} 
[2026-06-18 16:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:13:12] 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-06-18 16:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107649,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:13:12] 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-06-18 16:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135521024001,"66":13102,"158":206,"87":13824,"24":9,"16":93905787730001920,"45":9015291685730629632},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 16:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135521024001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:13:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 16:13:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93905787730001920,"km_value":93905787730001.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015291685730629632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135521024001,"power":13102,"unknown_158":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9015291685730629632}} 
[2026-06-18 16:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":107649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344835,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:13:12] local.INFO: GPS data processed {"connection_id":107649,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:13:12] local.INFO: Acknowledgment sent {"connection_id":107649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:13:25] local.INFO: TCP Data received {"connection_id":106092,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:13:25] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:13:25] local.INFO: IMEI packet received {"connection_id":106092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":106092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:13:28] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:13:28] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:13:28] local.INFO: IMEI packet received {"connection_id":106093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:13:28] local.INFO: IMEI acknowledgment sent {"connection_id":106093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:13:29] local.INFO: TCP Data received {"connection_id":106092,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:13:29] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:13:29] local.INFO: IMEI packet received {"connection_id":106092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":106092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:13:30] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:13:30] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:13:30] local.INFO: IMEI packet received {"connection_id":106093,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:13:30] local.INFO: IMEI acknowledgment sent {"connection_id":106093,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:13:31] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda53d278012d7d1c4005ea79f0000700b129..."} 
[2026-06-18 16:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda53d278012d7d1c4005ea79f0000700b129..."} 
[2026-06-18 16:13:31] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda53d278012d7d1c4005ea79f0000700b129..."} 
[2026-06-18 16:13:31] local.INFO: Packet analysis {"connection_id":106093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:31] local.INFO: Extracted packet for processing {"connection_id":106093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":763173952,"raw_latitude":99252720,"longitude_deg":76.3173952,"latitude_deg":9.925272,"altitude":7,"angle":177,"satellites":41,"speed":7,"hex_longitude":"2d7d1c40","hex_latitude":"05ea79f0","is_valid_coordinates":true} 
[2026-06-18 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135522304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93905817794772992,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948241930240,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13: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-06-18 16:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781779387000,"timestamp_ms":1781779387000,"timestamp_seconds":1781779387,"priority":1,"record_length":96,"hex_timestamp":"0000019eda53d278"} 
[2026-06-18 16:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 16:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:13:31] 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-06-18 16:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135522304001,"66":12852,"158":206,"87":13824,"24":7,"16":93905817794772992,"45":9015150948241930240},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 16:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135522304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:13:31] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 16:13:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93905817794772992,"km_value":93905817794772.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948241930240,"description":"Unknown IO ID 45"} 
[2026-06-18 16:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135522304001,"power":12852,"unknown_158":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9015150948241930240}} 
[2026-06-18 16:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":106093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344836,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:13:31] local.INFO: GPS data processed {"connection_id":106093,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:13:31] local.INFO: Acknowledgment sent {"connection_id":106093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:13:32] local.INFO: TCP Data received {"connection_id":106092,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda52d490012cdb994007337ab80018011e23..."} 
[2026-06-18 16:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda52d490012cdb994007337ab80018011e23..."} 
[2026-06-18 16:13:32] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda52d490012cdb994007337ab80018011e23..."} 
[2026-06-18 16:13:32] local.INFO: Packet analysis {"connection_id":106092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda52"} 
[2026-06-18 16:13:32] local.INFO: Extracted packet for processing {"connection_id":106092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda52"} 
[2026-06-18 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":752589120,"raw_latitude":120814264,"longitude_deg":75.258912,"latitude_deg":12.0814264,"altitude":24,"angle":286,"satellites":35,"speed":37,"hex_longitude":"2cdb9940","hex_latitude":"07337ab8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135503872001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318675084325683200,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2612861809133076480,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781779322000,"timestamp_ms":1781779322000,"timestamp_seconds":1781779322,"priority":1,"record_length":96,"hex_timestamp":"0000019eda52d490"} 
[2026-06-18 16:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:13: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-06-18 16: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 16:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135503872001,"66":27876,"108":206,"2":56832,"24":37,"16":318675084325683200,"44":-2612861809133076480},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-18 16:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135503872001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:13:32] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-18 16:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318675084325683200,"km_value":318675084325683.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:13:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2612861809133076480,"description":"Unknown IO ID 44"} 
[2026-06-18 16:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135503872001,"power":27876,"unknown_108":206,"power_alt":56832,"ignition":37,"odometer":null,"unknown_44":-2612861809133076480}} 
[2026-06-18 16:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":106092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:13:32] local.INFO: GPS data processed {"connection_id":106092,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:13:32] local.INFO: Acknowledgment sent {"connection_id":106092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:13:32] local.INFO: TCP Data received {"connection_id":105909,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda542480012d0d2bc007073bb00033015a1a..."} 
[2026-06-18 16:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda542480012d0d2bc007073bb00033015a1a..."} 
[2026-06-18 16:13:32] local.INFO: Processing buffer {"connection_id":105909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda542480012d0d2bc007073bb00033015a1a..."} 
[2026-06-18 16:13:32] local.INFO: Packet analysis {"connection_id":105909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:13:32] local.INFO: Extracted packet for processing {"connection_id":105909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":755837888,"raw_latitude":117914544,"longitude_deg":75.5837888,"latitude_deg":11.7914544,"altitude":51,"angle":346,"satellites":26,"speed":16,"hex_longitude":"2d0d2bc0","hex_latitude":"07073bb0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135528192001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21185639152091136,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":949133651654330368,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781779408000,"timestamp_ms":1781779408000,"timestamp_seconds":1781779408,"priority":1,"record_length":96,"hex_timestamp":"0000019eda542480"} 
[2026-06-18 16:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 16:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105909,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105909,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135528192001,"66":14407,"221":206,"94":10240,"24":16,"16":21185639152091136,"45":949133651654330368},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,94,24,16,45]} 
[2026-06-18 16:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135528192001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:13:32] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 16:13:32] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21185639152091136,"km_value":21185639152091.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":949133651654330368,"description":"Unknown IO ID 45"} 
[2026-06-18 16:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135528192001,"power":14407,"unknown_221":206,"unknown_94":10240,"ignition":16,"odometer":null,"unknown_45":949133651654330368}} 
[2026-06-18 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":105909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344838,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:13:33] local.INFO: GPS data processed {"connection_id":105909,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:13:33] local.INFO: Acknowledgment sent {"connection_id":105909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:13:45] local.INFO: TCP Data received {"connection_id":106094,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:13:45] local.INFO: Processing buffer {"connection_id":106094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:13:45] local.INFO: IMEI packet received {"connection_id":106094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":106094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:13:46] local.INFO: TCP Data received {"connection_id":106094,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:13:46] local.INFO: Processing buffer {"connection_id":106094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:13:46] local.INFO: IMEI packet received {"connection_id":106094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:13:46] local.INFO: IMEI acknowledgment sent {"connection_id":106094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:13:48] local.INFO: TCP Data received {"connection_id":106094,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda533250012d1b3380072082980051015c23..."} 
[2026-06-18 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda533250012d1b3380072082980051015c23..."} 
[2026-06-18 16:13:48] local.INFO: Processing buffer {"connection_id":106094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda533250012d1b3380072082980051015c23..."} 
[2026-06-18 16:13:48] local.INFO: Packet analysis {"connection_id":106094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:48] local.INFO: Extracted packet for processing {"connection_id":106094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135507200001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781779346000,"timestamp_ms":1781779346000,"timestamp_seconds":1781779346,"priority":1,"record_length":96,"hex_timestamp":"0000019eda533250"} 
[2026-06-18 16:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:13:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:13:48] 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-06-18 16:13:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135507200001,"66":12319,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135507200001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:13:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:13:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135507200001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":106094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:13:48] local.INFO: GPS data processed {"connection_id":106094,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:13:48] local.INFO: Acknowledgment sent {"connection_id":106094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:13:50] local.INFO: TCP Data received {"connection_id":106094,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda538458012d1b3380072082980051015c23..."} 
[2026-06-18 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda538458012d1b3380072082980051015c23..."} 
[2026-06-18 16:13:50] local.INFO: Processing buffer {"connection_id":106094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda538458012d1b3380072082980051015c23..."} 
[2026-06-18 16:13:50] local.INFO: Packet analysis {"connection_id":106094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:50] local.INFO: Extracted packet for processing {"connection_id":106094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135512576001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781779367000,"timestamp_ms":1781779367000,"timestamp_seconds":1781779367,"priority":1,"record_length":96,"hex_timestamp":"0000019eda538458"} 
[2026-06-18 16:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:13:50] 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-06-18 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 16:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135512576001,"66":12341,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135512576001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:13:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:13:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135512576001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":106094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:13:50] local.INFO: GPS data processed {"connection_id":106094,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:13:50] local.INFO: Acknowledgment sent {"connection_id":106094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:13:55] local.INFO: TCP Data received {"connection_id":106675,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:55] local.INFO: Processing buffer {"connection_id":106675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:55] local.INFO: IMEI packet received {"connection_id":106675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":106675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:13:56] local.INFO: TCP Data received {"connection_id":106675,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:56] local.INFO: Processing buffer {"connection_id":106675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:56] local.INFO: IMEI packet received {"connection_id":106675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":106675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:13:57] local.INFO: TCP Data received {"connection_id":106675,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:57] local.INFO: Processing buffer {"connection_id":106675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:57] local.INFO: IMEI packet received {"connection_id":106675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":106675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:13:57] local.INFO: TCP Data received {"connection_id":106675,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106675,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:57] local.INFO: Processing buffer {"connection_id":106675,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:13:57] local.INFO: IMEI packet received {"connection_id":106675,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":106675,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:14:03] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda53da48012d7d1c0005ea7890000700bc29..."} 
[2026-06-18 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda53da48012d7d1c0005ea7890000700bc29..."} 
[2026-06-18 16:14:03] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda53da48012d7d1c0005ea7890000700bc29..."} 
[2026-06-18 16:14:03] local.INFO: Packet analysis {"connection_id":106093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:14:03] local.INFO: Extracted packet for processing {"connection_id":106093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":763173888,"raw_latitude":99252368,"longitude_deg":76.3173888,"latitude_deg":9.9252368,"altitude":7,"angle":188,"satellites":41,"speed":4,"hex_longitude":"2d7d1c00","hex_latitude":"05ea7890","is_valid_coordinates":true} 
[2026-06-18 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135523072001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93905834974642176,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015150948241764352,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:03] 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-06-18 16:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781779389000,"timestamp_ms":1781779389000,"timestamp_seconds":1781779389,"priority":1,"record_length":96,"hex_timestamp":"0000019eda53da48"} 
[2026-06-18 16:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:14:03] 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-06-18 16:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106093,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135523072001,"66":12254,"158":206,"87":13824,"24":4,"16":93905834974642176,"45":9015150948241764352},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 16:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135523072001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93905834974642176,"km_value":93905834974642.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015150948241764352,"description":"Unknown IO ID 45"} 
[2026-06-18 16:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135523072001,"power":12254,"unknown_158":206,"unknown_87":13824,"ignition":4,"odometer":null,"unknown_45":9015150948241764352}} 
[2026-06-18 16:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":106093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344841,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:14:03] local.INFO: GPS data processed {"connection_id":106093,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:14:03] local.INFO: Acknowledgment sent {"connection_id":106093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:14:03] local.INFO: TCP Data received {"connection_id":106092,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda530370012cdb7580073386100018012220..."} 
[2026-06-18 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda530370012cdb7580073386100018012220..."} 
[2026-06-18 16:14:03] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda530370012cdb7580073386100018012220..."} 
[2026-06-18 16:14:03] local.INFO: Packet analysis {"connection_id":106092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:14:03] local.INFO: Extracted packet for processing {"connection_id":106092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":752579968,"raw_latitude":120817168,"longitude_deg":75.2579968,"latitude_deg":12.0817168,"altitude":24,"angle":290,"satellites":32,"speed":20,"hex_longitude":"2cdb7580","hex_latitude":"07338610","is_valid_coordinates":true} 
[2026-06-18 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135506432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318675539592216576,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2622994908293974016,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781779334000,"timestamp_ms":1781779334000,"timestamp_seconds":1781779334,"priority":1,"record_length":96,"hex_timestamp":"0000019eda530370"} 
[2026-06-18 16:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 16:14: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-06-18 16:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135506432001,"66":27626,"108":206,"2":56832,"24":20,"16":318675539592216576,"44":-2622994908293974016},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-18 16:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135506432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-18 16:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318675539592216576,"km_value":318675539592216.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:14:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2622994908293974016,"description":"Unknown IO ID 44"} 
[2026-06-18 16:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135506432001,"power":27626,"unknown_108":206,"power_alt":56832,"ignition":20,"odometer":null,"unknown_44":-2622994908293974016}} 
[2026-06-18 16:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":106092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:14:03] local.INFO: GPS data processed {"connection_id":106092,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:14:03] local.INFO: Acknowledgment sent {"connection_id":106092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:14:24] local.INFO: TCP Data received {"connection_id":106676,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:14:24] local.INFO: Processing buffer {"connection_id":106676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:14:24] local.INFO: IMEI packet received {"connection_id":106676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":106676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:14:25] local.INFO: TCP Data received {"connection_id":106094,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda53d660012d1b3380072082980051015c23..."} 
[2026-06-18 16:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda53d660012d1b3380072082980051015c23..."} 
[2026-06-18 16:14:25] local.INFO: Processing buffer {"connection_id":106094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda53d660012d1b3380072082980051015c23..."} 
[2026-06-18 16:14:25] local.INFO: Packet analysis {"connection_id":106094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:14:25] local.INFO: Extracted packet for processing {"connection_id":106094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:14:25] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135517952001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781779388000,"timestamp_ms":1781779388000,"timestamp_seconds":1781779388,"priority":1,"record_length":96,"hex_timestamp":"0000019eda53d660"} 
[2026-06-18 16:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:14:25] 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-06-18 16:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 16:14:25] 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-06-18 16:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135517952001,"66":12341,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135517952001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:14:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:14:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135517952001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":106094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:14:25] local.INFO: GPS data processed {"connection_id":106094,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:14:25] local.INFO: Acknowledgment sent {"connection_id":106094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:14:28] local.INFO: TCP Data received {"connection_id":106677,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:14:28] local.INFO: Processing buffer {"connection_id":106677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:14:28] local.INFO: IMEI packet received {"connection_id":106677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":106677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:14:29] local.INFO: TCP Data received {"connection_id":106676,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:14:29] local.INFO: Processing buffer {"connection_id":106676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:14:29] local.INFO: IMEI packet received {"connection_id":106676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":106676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:14:30] local.INFO: TCP Data received {"connection_id":106676,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda533e08012cdb6100073391500017012f24..."} 
[2026-06-18 16:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda533e08012cdb6100073391500017012f24..."} 
[2026-06-18 16:14:30] local.INFO: Processing buffer {"connection_id":106676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda533e08012cdb6100073391500017012f24..."} 
[2026-06-18 16:14:30] local.INFO: Packet analysis {"connection_id":106676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:14:30] local.INFO: Extracted packet for processing {"connection_id":106676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:14:30] local.INFO: GPS Element Parsed {"raw_longitude":752574720,"raw_latitude":120820048,"longitude_deg":75.257472,"latitude_deg":12.0820048,"altitude":23,"angle":303,"satellites":36,"speed":17,"hex_longitude":"2cdb6100","hex_latitude":"07339150","is_valid_coordinates":true} 
[2026-06-18 16:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135509504001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318675827355025408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2633057638710636544,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781779349000,"timestamp_ms":1781779349000,"timestamp_seconds":1781779349,"priority":1,"record_length":96,"hex_timestamp":"0000019eda533e08"} 
[2026-06-18 16:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 16:14: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-06-18 16:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135509504001,"66":27908,"108":206,"2":56832,"24":17,"16":318675827355025408,"44":-2633057638710636544},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-18 16:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135509504001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:14:30] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-18 16:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318675827355025408,"km_value":318675827355025.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2633057638710636544,"description":"Unknown IO ID 44"} 
[2026-06-18 16:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135509504001,"power":27908,"unknown_108":206,"power_alt":56832,"ignition":17,"odometer":null,"unknown_44":-2633057638710636544}} 
[2026-06-18 16:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":106676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:14:30] local.INFO: GPS data processed {"connection_id":106676,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:14:30] local.INFO: Acknowledgment sent {"connection_id":106676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:14:33] local.INFO: TCP Data received {"connection_id":106677,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106677,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:14:33] local.INFO: Processing buffer {"connection_id":106677,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:14:33] local.INFO: IMEI packet received {"connection_id":106677,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":106677,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:14:35] local.INFO: TCP Data received {"connection_id":106677,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda542868012d7d1a0005ea5a50000500b827..."} 
[2026-06-18 16:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda542868012d7d1a0005ea5a50000500b827..."} 
[2026-06-18 16:14:35] local.INFO: Processing buffer {"connection_id":106677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda542868012d7d1a0005ea5a50000500b827..."} 
[2026-06-18 16:14:35] local.INFO: Packet analysis {"connection_id":106677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:14:35] local.INFO: Extracted packet for processing {"connection_id":106677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:14:35] local.INFO: GPS Element Parsed {"raw_longitude":763173376,"raw_latitude":99244624,"longitude_deg":76.3173376,"latitude_deg":9.9244624,"altitude":5,"angle":184,"satellites":39,"speed":23,"hex_longitude":"2d7d1a00","hex_latitude":"05ea5a50","is_valid_coordinates":true} 
[2026-06-18 16:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135523584001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93906212931764224,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015080579497496576,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781779409000,"timestamp_ms":1781779409000,"timestamp_seconds":1781779409,"priority":1,"record_length":96,"hex_timestamp":"0000019eda542868"} 
[2026-06-18 16:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-18 16:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:14:35] 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-06-18 16:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135523584001,"66":13091,"158":206,"87":13824,"24":23,"16":93906212931764224,"45":9015080579497496576},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 16:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135523584001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:14:35] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 16:14:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93906212931764224,"km_value":93906212931764.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015080579497496576,"description":"Unknown IO ID 45"} 
[2026-06-18 16:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135523584001,"power":13091,"unknown_158":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":9015080579497496576}} 
[2026-06-18 16:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":106677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:14:35] local.INFO: GPS data processed {"connection_id":106677,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:14:35] local.INFO: Acknowledgment sent {"connection_id":106677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:14:46] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:14:46] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:14:46] local.INFO: IMEI packet received {"connection_id":106095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":106095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:14:50] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:14:50] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:14:50] local.INFO: IMEI packet received {"connection_id":106095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":106095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:14:52] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda542868012d1b3380072082980051015c25..."} 
[2026-06-18 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda542868012d1b3380072082980051015c25..."} 
[2026-06-18 16:14:52] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda542868012d1b3380072082980051015c25..."} 
[2026-06-18 16:14:52] local.INFO: Packet analysis {"connection_id":106095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:14:52] local.INFO: Extracted packet for processing {"connection_id":106095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":37,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:14:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135523328001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:14:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781779409000,"timestamp_ms":1781779409000,"timestamp_seconds":1781779409,"priority":1,"record_length":96,"hex_timestamp":"0000019eda542868"} 
[2026-06-18 16:14:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:14:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:14:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 16:14:52] 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-06-18 16:14:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:14:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:14:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:14:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:14:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:14:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:14:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:14:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:14:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:14:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135523328001,"66":12319,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:14:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:14:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:14:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135523328001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:14:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:14:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:14:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:14:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:14:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135523328001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":106095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:14:52] local.INFO: GPS data processed {"connection_id":106095,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:14:52] local.INFO: Acknowledgment sent {"connection_id":106095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:14:53] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda547a70012d1b3380072082980051015c25..."} 
[2026-06-18 16:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda547a70012d1b3380072082980051015c25..."} 
[2026-06-18 16:14:53] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda547a70012d1b3380072082980051015c25..."} 
[2026-06-18 16:14:53] local.INFO: Packet analysis {"connection_id":106095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:14:53] local.INFO: Extracted packet for processing {"connection_id":106095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":37,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135528704001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781779430000,"timestamp_ms":1781779430000,"timestamp_seconds":1781779430,"priority":1,"record_length":96,"hex_timestamp":"0000019eda547a70"} 
[2026-06-18 16:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:14:53] 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-06-18 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 16:14:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135528704001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135528704001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:14:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:14:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135528704001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":106095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:14:53] local.INFO: GPS data processed {"connection_id":106095,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:14:53] local.INFO: Acknowledgment sent {"connection_id":106095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:15:02] local.INFO: TCP Data received {"connection_id":106676,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda535190012cdb5980073397d80018013c24..."} 
[2026-06-18 16:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda535190012cdb5980073397d80018013c24..."} 
[2026-06-18 16:15:02] local.INFO: Processing buffer {"connection_id":106676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda535190012cdb5980073397d80018013c24..."} 
[2026-06-18 16:15:02] local.INFO: Packet analysis {"connection_id":106676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:15:02] local.INFO: Extracted packet for processing {"connection_id":106676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":752572800,"raw_latitude":120821720,"longitude_deg":75.25728,"latitude_deg":12.082172,"altitude":24,"angle":316,"satellites":36,"speed":19,"hex_longitude":"2cdb5980","hex_latitude":"073397d8","is_valid_coordinates":true} 
[2026-06-18 16:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135513344001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318675947614109696,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2638827875732467712,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781779354000,"timestamp_ms":1781779354000,"timestamp_seconds":1781779354,"priority":1,"record_length":96,"hex_timestamp":"0000019eda535190"} 
[2026-06-18 16:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:15: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-06-18 16:15:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135513344001,"66":27310,"108":206,"2":56832,"24":19,"16":318675947614109696,"44":-2638827875732467712},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-18 16:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135513344001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:15:02] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-18 16:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318675947614109696,"km_value":318675947614109.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:15:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2638827875732467712,"description":"Unknown IO ID 44"} 
[2026-06-18 16:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135513344001,"power":27310,"unknown_108":206,"power_alt":56832,"ignition":19,"odometer":null,"unknown_44":-2638827875732467712}} 
[2026-06-18 16:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":106676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:15:02] local.INFO: GPS data processed {"connection_id":106676,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:15:02] local.INFO: Acknowledgment sent {"connection_id":106676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:15:07] local.INFO: TCP Data received {"connection_id":106677,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda545f18012d7d180005ea36c8000500b425..."} 
[2026-06-18 16:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda545f18012d7d180005ea36c8000500b425..."} 
[2026-06-18 16:15:07] local.INFO: Processing buffer {"connection_id":106677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda545f18012d7d180005ea36c8000500b425..."} 
[2026-06-18 16:15:07] local.INFO: Packet analysis {"connection_id":106677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:15:07] local.INFO: Extracted packet for processing {"connection_id":106677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763172864,"raw_latitude":99235528,"longitude_deg":76.3172864,"latitude_deg":9.9235528,"altitude":5,"angle":180,"satellites":37,"speed":12,"hex_longitude":"2d7d1800","hex_latitude":"05ea36c8","is_valid_coordinates":true} 
[2026-06-18 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135528704001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93906655313395712,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014517629542092800,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:07] 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-06-18 16:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781779423000,"timestamp_ms":1781779423000,"timestamp_seconds":1781779423,"priority":1,"record_length":96,"hex_timestamp":"0000019eda545f18"} 
[2026-06-18 16:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:15:07] 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-06-18 16:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:15:07] 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-06-18 16:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106677,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:15:07] 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-06-18 16:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135528704001,"66":13102,"158":206,"87":13824,"24":12,"16":93906655313395712,"45":9014517629542092800},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,87,24,16,45]} 
[2026-06-18 16:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135528704001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:15:07] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 16:15:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93906655313395712,"km_value":93906655313395.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014517629542092800,"description":"Unknown IO ID 45"} 
[2026-06-18 16:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135528704001,"power":13102,"unknown_158":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9014517629542092800}} 
[2026-06-18 16:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":106677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:15:07] local.INFO: GPS data processed {"connection_id":106677,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:15:07] local.INFO: Acknowledgment sent {"connection_id":106677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:15:25] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda54cc78012d1b3380072082980051015c22..."} 
[2026-06-18 16:15:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda54cc78012d1b3380072082980051015c22..."} 
[2026-06-18 16:15:25] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda54cc78012d1b3380072082980051015c22..."} 
[2026-06-18 16:15:25] local.INFO: Packet analysis {"connection_id":106095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:15:25] local.INFO: Extracted packet for processing {"connection_id":106095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:15:25] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:15:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135534080001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:15:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781779451000,"timestamp_ms":1781779451000,"timestamp_seconds":1781779451,"priority":1,"record_length":96,"hex_timestamp":"0000019eda54cc78"} 
[2026-06-18 16:15:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:15:25] 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-06-18 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:15:25] 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-06-18 16: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-06-18 16:15:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:15:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:15:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:15:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:15:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:15:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:15:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:15:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:15:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135534080001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:15:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:15:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:15:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135534080001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:15:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:15:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:15:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:15:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:15:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135534080001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:15:25] local.INFO: DEBUG: GPS processor result {"connection_id":106095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:15:25] local.INFO: GPS data processed {"connection_id":106095,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:15:25] local.INFO: Acknowledgment sent {"connection_id":106095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:15:28] local.INFO: TCP Data received {"connection_id":106096,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:15:28] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:15:28] local.INFO: IMEI packet received {"connection_id":106096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":106096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:15:29] local.INFO: TCP Data received {"connection_id":107650,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:15:29] local.INFO: Processing buffer {"connection_id":107650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:15:29] local.INFO: IMEI packet received {"connection_id":107650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":107650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:15:31] local.INFO: TCP Data received {"connection_id":107650,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:15:31] local.INFO: Processing buffer {"connection_id":107650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:15:31] local.INFO: IMEI packet received {"connection_id":107650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":107650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:15:32] local.INFO: TCP Data received {"connection_id":107650,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda54e3e8012cdac14007347e000018013c2d..."} 
[2026-06-18 16:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda54e3e8012cdac14007347e000018013c2d..."} 
[2026-06-18 16:15:32] local.INFO: Processing buffer {"connection_id":107650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda54e3e8012cdac14007347e000018013c2d..."} 
[2026-06-18 16:15:32] local.INFO: Packet analysis {"connection_id":107650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:15:32] local.INFO: Extracted packet for processing {"connection_id":107650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:15:32] local.INFO: GPS Element Parsed {"raw_longitude":752533824,"raw_latitude":120880640,"longitude_deg":75.2533824,"latitude_deg":12.088064,"altitude":24,"angle":316,"satellites":45,"speed":32,"hex_longitude":"2cdac140","hex_latitude":"07347e00","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135538176001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318679370703044608,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2677178841295650816,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781779457000,"timestamp_ms":1781779457000,"timestamp_seconds":1781779457,"priority":1,"record_length":96,"hex_timestamp":"0000019eda54e3e8"} 
[2026-06-18 16:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:15: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-06-18 16: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":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:15: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-06-18 16: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-06-18 16:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135538176001,"66":27908,"108":206,"2":56832,"24":32,"16":318679370703044608,"44":-2677178841295650816},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16,44]} 
[2026-06-18 16:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135538176001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:15:32] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-18 16:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318679370703044608,"km_value":318679370703044.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2677178841295650816,"description":"Unknown IO ID 44"} 
[2026-06-18 16:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135538176001,"power":27908,"unknown_108":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-2677178841295650816}} 
[2026-06-18 16:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":107650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:15:32] local.INFO: GPS data processed {"connection_id":107650,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:15:32] local.INFO: Acknowledgment sent {"connection_id":107650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:15:33] local.INFO: TCP Data received {"connection_id":106096,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:15:33] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:15:33] local.INFO: IMEI packet received {"connection_id":106096,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":106096,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:15:34] local.INFO: TCP Data received {"connection_id":106096,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda54ad38012d7d184005ea2f28000900ba26..."} 
[2026-06-18 16:15:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda54ad38012d7d184005ea2f28000900ba26..."} 
[2026-06-18 16:15:34] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda54ad38012d7d184005ea2f28000900ba26..."} 
[2026-06-18 16:15:34] local.INFO: Packet analysis {"connection_id":106096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:15:34] local.INFO: Extracted packet for processing {"connection_id":106096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda54"} 
[2026-06-18 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":763172928,"raw_latitude":99233576,"longitude_deg":76.3172928,"latitude_deg":9.9233576,"altitude":9,"angle":186,"satellites":38,"speed":9,"hex_longitude":"2d7d1840","hex_latitude":"05ea2f28","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:15:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135532288001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93906754097643520,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013954679586342912,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:34] 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-06-18 16:15:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781779443000,"timestamp_ms":1781779443000,"timestamp_seconds":1781779443,"priority":1,"record_length":96,"hex_timestamp":"0000019eda54ad38"} 
[2026-06-18 16:15:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:15:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":46,"data_length":795,"current_offset":136} 
[2026-06-18 16:15:34] 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-06-18 16: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-06-18 16:15:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:15:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:15:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:15:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:15:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:15: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-06-18 16:15:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:15:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:15:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135532288001,"66":13091,"126":206,"87":13824,"24":9,"16":93906754097643520,"45":9013954679586342912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,87,24,16,45]} 
[2026-06-18 16:15:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:15:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:15:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135532288001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:15:34] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-06-18 16:15:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:15:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93906754097643520,"km_value":93906754097643.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:15:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013954679586342912,"description":"Unknown IO ID 45"} 
[2026-06-18 16:15:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135532288001,"power":13091,"unknown_126":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":9013954679586342912}} 
[2026-06-18 16:15:34] local.INFO: DEBUG: GPS processor result {"connection_id":106096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:15:34] local.INFO: GPS data processed {"connection_id":106096,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:15:34] local.INFO: Acknowledgment sent {"connection_id":106096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:15:35] local.INFO: TCP Data received {"connection_id":107650,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5512c8012cdaa600073497b0001601352d..."} 
[2026-06-18 16:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5512c8012cdaa600073497b0001601352d..."} 
[2026-06-18 16:15:35] local.INFO: Processing buffer {"connection_id":107650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5512c8012cdaa600073497b0001601352d..."} 
[2026-06-18 16:15:35] local.INFO: Packet analysis {"connection_id":107650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:15:35] local.INFO: Extracted packet for processing {"connection_id":107650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:15:35] local.INFO: GPS Element Parsed {"raw_longitude":752526848,"raw_latitude":120887216,"longitude_deg":75.2526848,"latitude_deg":12.0887216,"altitude":22,"angle":309,"satellites":45,"speed":29,"hex_longitude":"2cdaa600","hex_latitude":"073497b0","is_valid_coordinates":true} 
[2026-06-18 16:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135540992001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318679825969577984,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2683793503246483456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781779469000,"timestamp_ms":1781779469000,"timestamp_seconds":1781779469,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5512c8"} 
[2026-06-18 16:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:15: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-06-18 16:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:15:35] 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-06-18 16:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135540992001,"66":27984,"168":206,"2":56832,"24":29,"16":318679825969577984,"44":-2683793503246483456},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-18 16:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135540992001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:15:35] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 16:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318679825969577984,"km_value":318679825969578.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:15:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2683793503246483456,"description":"Unknown IO ID 44"} 
[2026-06-18 16:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135540992001,"power":27984,"unknown_168":206,"power_alt":56832,"ignition":29,"odometer":null,"unknown_44":-2683793503246483456}} 
[2026-06-18 16:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":107650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:15:35] local.INFO: GPS data processed {"connection_id":107650,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:15:35] local.INFO: Acknowledgment sent {"connection_id":107650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:15:45] local.INFO: TCP Data received {"connection_id":107651,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:15:45] local.INFO: Processing buffer {"connection_id":107651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:15:45] local.INFO: IMEI packet received {"connection_id":107651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":107651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:15:50] local.INFO: TCP Data received {"connection_id":107651,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107651,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:15:50] local.INFO: Processing buffer {"connection_id":107651,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:15:50] local.INFO: IMEI packet received {"connection_id":107651,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":107651,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:15:54] local.INFO: TCP Data received {"connection_id":107651,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda551e80012d1b3380072082980051015c23..."} 
[2026-06-18 16:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda551e80012d1b3380072082980051015c23..."} 
[2026-06-18 16:15:54] local.INFO: Processing buffer {"connection_id":107651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda551e80012d1b3380072082980051015c23..."} 
[2026-06-18 16:15:54] local.INFO: Packet analysis {"connection_id":107651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:15:54] local.INFO: Extracted packet for processing {"connection_id":107651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:15:54] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:15:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135539456001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:15:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:15:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781779472000,"timestamp_ms":1781779472000,"timestamp_seconds":1781779472,"priority":1,"record_length":96,"hex_timestamp":"0000019eda551e80"} 
[2026-06-18 16:15:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:15:54] 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-06-18 16:15:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:15:54] 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-06-18 16:15:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:15:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:15:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:15:54] local.INFO: Teltonika packet parsed successfully {"connection_id":107651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:15:54] local.INFO: Passing IMEI to GPS processor {"connection_id":107651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:15:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":107651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:15:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:15:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:15:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:15:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135539456001,"66":12341,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:15:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:15:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:15:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135539456001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:15:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:15:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:15:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:15:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:15:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135539456001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:15:54] local.INFO: DEBUG: GPS processor result {"connection_id":107651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:15:54] local.INFO: GPS data processed {"connection_id":107651,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:15:54] local.INFO: Acknowledgment sent {"connection_id":107651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:03] local.INFO: TCP Data received {"connection_id":106679,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:16:03] local.INFO: Processing buffer {"connection_id":106679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:16:03] local.INFO: IMEI packet received {"connection_id":106679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":106679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:16:06] local.INFO: TCP Data received {"connection_id":106096,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5662b8012d7ccb8005e9bcc80008013a26..."} 
[2026-06-18 16:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5662b8012d7ccb8005e9bcc80008013a26..."} 
[2026-06-18 16:16:06] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5662b8012d7ccb8005e9bcc80008013a26..."} 
[2026-06-18 16:16:06] local.INFO: Packet analysis {"connection_id":106096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:16:06] local.INFO: Extracted packet for processing {"connection_id":106096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763153280,"raw_latitude":99204296,"longitude_deg":76.315328,"latitude_deg":9.9204296,"altitude":8,"angle":314,"satellites":38,"speed":12,"hex_longitude":"2d7ccb80","hex_latitude":"05e9bcc8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135565824001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93909086264885248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992703318836619264,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781779555000,"timestamp_ms":1781779555000,"timestamp_seconds":1781779555,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5662b8"} 
[2026-06-18 16:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16:06] 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-06-18 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869014,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":58079734643818506,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":161,"raw_value":3187671040,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3663055456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3046113288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2707357696,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3921676288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:06] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,192,87,24,241,157,16,161,158,45,128,184,8,38,10,66,83,183,79,1,240,35,227,218,233,4,113,205,237,37,239,52,2,77,5,6],"length":486,"final_offset":616,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-06-18 16:16:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":576836948489797632,"timestamp_seconds":576836948489797.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106096,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:16:06] 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-06-18 16:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135565824001,"66":13102,"192":206,"87":13824,"24":12,"16":93909086264885248,"45":8992703318836619264},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135565824001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:06] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:16:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93909086264885248,"km_value":93909086264885.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992703318836619264,"description":"Unknown IO ID 45"} 
[2026-06-18 16:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135565824001,"power":13102,"unknown_192":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":8992703318836619264}} 
[2026-06-18 16:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":106096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:06] local.INFO: GPS data processed {"connection_id":106096,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:06] local.INFO: Acknowledgment sent {"connection_id":106096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:10] local.INFO: TCP Data received {"connection_id":107650,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda554590012cda88800734aea80017012f2c..."} 
[2026-06-18 16:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda554590012cda88800734aea80017012f2c..."} 
[2026-06-18 16:16:10] local.INFO: Processing buffer {"connection_id":107650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda554590012cda88800734aea80017012f2c..."} 
[2026-06-18 16:16:10] local.INFO: Packet analysis {"connection_id":107650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:10] local.INFO: Extracted packet for processing {"connection_id":107650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":752519296,"raw_latitude":120893096,"longitude_deg":75.2519296,"latitude_deg":12.0893096,"altitude":23,"angle":303,"satellites":44,"speed":31,"hex_longitude":"2cda8880","hex_latitude":"0734aea8","is_valid_coordinates":true} 
[2026-06-18 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135544064001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318680285531078656,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2691463696360165376,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781779482000,"timestamp_ms":1781779482000,"timestamp_seconds":1781779482,"priority":1,"record_length":96,"hex_timestamp":"0000019eda554590"} 
[2026-06-18 16:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-18 16:16:10] 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-06-18 16:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135544064001,"66":27908,"168":206,"2":56832,"24":31,"16":318680285531078656,"44":-2691463696360165376},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-18 16:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135544064001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:10] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 16:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318680285531078656,"km_value":318680285531078.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2691463696360165376,"description":"Unknown IO ID 44"} 
[2026-06-18 16:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135544064001,"power":27908,"unknown_168":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-2691463696360165376}} 
[2026-06-18 16:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":107650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:10] local.INFO: GPS data processed {"connection_id":107650,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:10] local.INFO: Acknowledgment sent {"connection_id":107650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:24] local.INFO: TCP Data received {"connection_id":106680,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:24] local.INFO: Processing buffer {"connection_id":106680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:24] local.INFO: IMEI packet received {"connection_id":106680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":106680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:16:25] local.INFO: TCP Data received {"connection_id":107651,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda557088012d1b3380072082980051015c25..."} 
[2026-06-18 16:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda557088012d1b3380072082980051015c25..."} 
[2026-06-18 16:16:25] local.INFO: Processing buffer {"connection_id":107651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda557088012d1b3380072082980051015c25..."} 
[2026-06-18 16:16:25] local.INFO: Packet analysis {"connection_id":107651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:25] local.INFO: Extracted packet for processing {"connection_id":107651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:25] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":37,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:16:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135544832001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:16:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781779493000,"timestamp_ms":1781779493000,"timestamp_seconds":1781779493,"priority":1,"record_length":96,"hex_timestamp":"0000019eda557088"} 
[2026-06-18 16:16:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16:25] 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-06-18 16: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 16:16:25] 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-06-18 16: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-06-18 16:16:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:16:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107651,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:16:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:16:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:16:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:16:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135544832001,"66":12319,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:16:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:16:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:16:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135544832001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:16:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:16:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:16:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135544832001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:16:25] local.INFO: DEBUG: GPS processor result {"connection_id":107651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:25] local.INFO: GPS data processed {"connection_id":107651,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:25] local.INFO: Acknowledgment sent {"connection_id":107651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:26] local.INFO: TCP Data received {"connection_id":106680,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:26] local.INFO: Processing buffer {"connection_id":106680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:26] local.INFO: IMEI packet received {"connection_id":106680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":106680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:16:29] local.INFO: TCP Data received {"connection_id":106681,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:29] local.INFO: Processing buffer {"connection_id":106681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:29] local.INFO: IMEI packet received {"connection_id":106681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":106681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:16:29] local.INFO: TCP Data received {"connection_id":106681,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:29] local.INFO: Processing buffer {"connection_id":106681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:29] local.INFO: IMEI packet received {"connection_id":106681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":106681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:16:30] local.INFO: TCP Data received {"connection_id":106680,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:30] local.INFO: Processing buffer {"connection_id":106680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:16:30] local.INFO: IMEI packet received {"connection_id":106680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":106680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:16:31] local.INFO: TCP Data received {"connection_id":106681,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:31] local.INFO: Processing buffer {"connection_id":106681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:31] local.INFO: IMEI packet received {"connection_id":106681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":106681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:16:32] local.INFO: TCP Data received {"connection_id":106680,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda557088012cda6b400734c378001801322d..."} 
[2026-06-18 16:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda557088012cda6b400734c378001801322d..."} 
[2026-06-18 16:16:32] local.INFO: Processing buffer {"connection_id":106680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda557088012cda6b400734c378001801322d..."} 
[2026-06-18 16:16:32] local.INFO: Packet analysis {"connection_id":106680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:32] local.INFO: Extracted packet for processing {"connection_id":106680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:32] local.INFO: GPS Element Parsed {"raw_longitude":752511808,"raw_latitude":120898424,"longitude_deg":75.2511808,"latitude_deg":12.0898424,"altitude":24,"angle":306,"satellites":45,"speed":33,"hex_longitude":"2cda6b40","hex_latitude":"0734c378","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135547392001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318680723617742848,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2699767208171624448,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781779493000,"timestamp_ms":1781779493000,"timestamp_seconds":1781779493,"priority":1,"record_length":96,"hex_timestamp":"0000019eda557088"} 
[2026-06-18 16:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16: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-06-18 16:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135547392001,"66":27800,"168":206,"2":56832,"24":33,"16":318680723617742848,"44":-2699767208171624448},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-18 16:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135547392001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:32] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 16:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318680723617742848,"km_value":318680723617742.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2699767208171624448,"description":"Unknown IO ID 44"} 
[2026-06-18 16:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135547392001,"power":27800,"unknown_168":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-2699767208171624448}} 
[2026-06-18 16:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":106680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:32] local.INFO: GPS data processed {"connection_id":106680,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:32] local.INFO: Acknowledgment sent {"connection_id":106680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:33] local.INFO: TCP Data received {"connection_id":105913,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:16:33] local.INFO: Processing buffer {"connection_id":105913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:16:33] local.INFO: IMEI packet received {"connection_id":105913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":105913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:16:33] local.INFO: TCP Data received {"connection_id":106681,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106681,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:33] local.INFO: Processing buffer {"connection_id":106681,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:16:33] local.INFO: IMEI packet received {"connection_id":106681,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":106681,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:16:34] local.INFO: TCP Data received {"connection_id":106681,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5666a0012d7ccac005e9bd480008012326..."} 
[2026-06-18 16:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5666a0012d7ccac005e9bd480008012326..."} 
[2026-06-18 16:16:34] local.INFO: Processing buffer {"connection_id":106681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5666a0012d7ccac005e9bd480008012326..."} 
[2026-06-18 16:16:34] local.INFO: Packet analysis {"connection_id":106681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:16:34] local.INFO: Extracted packet for processing {"connection_id":106681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:16:34] local.INFO: GPS Element Parsed {"raw_longitude":763153088,"raw_latitude":99204424,"longitude_deg":76.3153088,"latitude_deg":9.9204424,"altitude":8,"angle":291,"satellites":38,"speed":9,"hex_longitude":"2d7ccac0","hex_latitude":"05e9bd48","is_valid_coordinates":true} 
[2026-06-18 16:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135566080001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93909099149787136,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992421843859982336,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:34] 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-06-18 16:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781779556000,"timestamp_ms":1781779556000,"timestamp_seconds":1781779556,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5666a0"} 
[2026-06-18 16:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 16:16:34] 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-06-18 16:16:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:16: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-06-18 16:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135566080001,"66":13102,"192":206,"87":13824,"24":9,"16":93909099149787136,"45":8992421843859982336},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135566080001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:34] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:16:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93909099149787136,"km_value":93909099149787.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992421843859982336,"description":"Unknown IO ID 45"} 
[2026-06-18 16:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135566080001,"power":13102,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8992421843859982336}} 
[2026-06-18 16:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":106681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:34] local.INFO: GPS data processed {"connection_id":106681,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:34] local.INFO: Acknowledgment sent {"connection_id":106681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:35] local.INFO: TCP Data received {"connection_id":106680,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda559b80012cda4d800734d920001a01332b..."} 
[2026-06-18 16:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda559b80012cda4d800734d920001a01332b..."} 
[2026-06-18 16:16:35] local.INFO: Processing buffer {"connection_id":106680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda559b80012cda4d800734d920001a01332b..."} 
[2026-06-18 16:16:35] local.INFO: Packet analysis {"connection_id":106680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:35] local.INFO: Extracted packet for processing {"connection_id":106680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:35] local.INFO: GPS Element Parsed {"raw_longitude":752504192,"raw_latitude":120903968,"longitude_deg":75.2504192,"latitude_deg":12.0903968,"altitude":26,"angle":307,"satellites":43,"speed":32,"hex_longitude":"2cda4d80","hex_latitude":"0734d920","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135550208001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318681174589308928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2708000351239047168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781779504000,"timestamp_ms":1781779504000,"timestamp_seconds":1781779504,"priority":1,"record_length":96,"hex_timestamp":"0000019eda559b80"} 
[2026-06-18 16:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16: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-06-18 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 16:16: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-06-18 16: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-06-18 16:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135550208001,"66":27919,"168":206,"2":56832,"24":32,"16":318681174589308928,"44":-2708000351239047168},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-18 16:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135550208001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:35] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 16:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318681174589308928,"km_value":318681174589308.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2708000351239047168,"description":"Unknown IO ID 44"} 
[2026-06-18 16:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135550208001,"power":27919,"unknown_168":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-2708000351239047168}} 
[2026-06-18 16:16:35] local.INFO: DEBUG: GPS processor result {"connection_id":106680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:35] local.INFO: GPS data processed {"connection_id":106680,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:35] local.INFO: Acknowledgment sent {"connection_id":106680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:37] local.INFO: TCP Data received {"connection_id":106681,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda566a88012d7cc9c005e9bd780008010b26..."} 
[2026-06-18 16:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda566a88012d7cc9c005e9bd780008010b26..."} 
[2026-06-18 16:16:37] local.INFO: Processing buffer {"connection_id":106681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda566a88012d7cc9c005e9bd780008010b26..."} 
[2026-06-18 16:16:37] local.INFO: Packet analysis {"connection_id":106681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:16:37] local.INFO: Extracted packet for processing {"connection_id":106681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":763152832,"raw_latitude":99204472,"longitude_deg":76.3152832,"latitude_deg":9.9204472,"altitude":8,"angle":267,"satellites":38,"speed":11,"hex_longitude":"2d7cc9c0","hex_latitude":"05e9bd78","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135566336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93909112034689024,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8992210737627482112,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:37] 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-06-18 16:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781779557000,"timestamp_ms":1781779557000,"timestamp_seconds":1781779557,"priority":1,"record_length":96,"hex_timestamp":"0000019eda566a88"} 
[2026-06-18 16:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 16:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:16:37] 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-06-18 16:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135566336001,"66":13276,"192":206,"87":13824,"24":11,"16":93909112034689024,"45":8992210737627482112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135566336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:37] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:16:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93909112034689024,"km_value":93909112034689.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8992210737627482112,"description":"Unknown IO ID 45"} 
[2026-06-18 16:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135566336001,"power":13276,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8992210737627482112}} 
[2026-06-18 16:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":106681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344861,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:37] local.INFO: GPS data processed {"connection_id":106681,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:37] local.INFO: Acknowledgment sent {"connection_id":106681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:44] local.INFO: TCP Data received {"connection_id":107652,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:16:44] local.INFO: Processing buffer {"connection_id":107652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:16:44] local.INFO: IMEI packet received {"connection_id":107652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":107652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:16:50] local.INFO: TCP Data received {"connection_id":107652,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:16:50] local.INFO: Processing buffer {"connection_id":107652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:16:50] local.INFO: IMEI packet received {"connection_id":107652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":107652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:16:51] local.INFO: TCP Data received {"connection_id":107652,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda55c290012d1b3380072082980051015c24..."} 
[2026-06-18 16:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda55c290012d1b3380072082980051015c24..."} 
[2026-06-18 16:16:51] local.INFO: Processing buffer {"connection_id":107652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda55c290012d1b3380072082980051015c24..."} 
[2026-06-18 16:16:51] local.INFO: Packet analysis {"connection_id":107652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:51] local.INFO: Extracted packet for processing {"connection_id":107652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135550208001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781779514000,"timestamp_ms":1781779514000,"timestamp_seconds":1781779514,"priority":1,"record_length":96,"hex_timestamp":"0000019eda55c290"} 
[2026-06-18 16:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16:51] 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-06-18 16:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 16:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135550208001,"66":12319,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135550208001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:16:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135550208001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":107652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:51] local.INFO: GPS data processed {"connection_id":107652,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:51] local.INFO: Acknowledgment sent {"connection_id":107652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:16:55] local.INFO: TCP Data received {"connection_id":107652,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda561498012d1b3380072082980051015c24..."} 
[2026-06-18 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda561498012d1b3380072082980051015c24..."} 
[2026-06-18 16:16:55] local.INFO: Processing buffer {"connection_id":107652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda561498012d1b3380072082980051015c24..."} 
[2026-06-18 16:16:55] local.INFO: Packet analysis {"connection_id":107652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:16:55] local.INFO: Extracted packet for processing {"connection_id":107652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135555584001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781779535000,"timestamp_ms":1781779535000,"timestamp_seconds":1781779535,"priority":1,"record_length":96,"hex_timestamp":"0000019eda561498"} 
[2026-06-18 16:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 16:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135555584001,"66":12341,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135555584001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:16:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135555584001,"power":12341,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":107652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:16:55] local.INFO: GPS data processed {"connection_id":107652,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:16:55] local.INFO: Acknowledgment sent {"connection_id":107652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:17:07] local.INFO: TCP Data received {"connection_id":106680,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda55ca60012cda31400734efb8001c01382d..."} 
[2026-06-18 16:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda55ca60012cda31400734efb8001c01382d..."} 
[2026-06-18 16:17:07] local.INFO: Processing buffer {"connection_id":106680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda55ca60012cda31400734efb8001c01382d..."} 
[2026-06-18 16:17:07] local.INFO: Packet analysis {"connection_id":106680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:17:07] local.INFO: Extracted packet for processing {"connection_id":106680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":752496960,"raw_latitude":120909752,"longitude_deg":75.249696,"latitude_deg":12.0909752,"altitude":28,"angle":312,"satellites":45,"speed":31,"hex_longitude":"2cda3140","hex_latitude":"0734efb8","is_valid_coordinates":true} 
[2026-06-18 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135553024001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318681616970940416,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2716374231794769920,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781779516000,"timestamp_ms":1781779516000,"timestamp_seconds":1781779516,"priority":1,"record_length":96,"hex_timestamp":"0000019eda55ca60"} 
[2026-06-18 16:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:17:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 16:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:17:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135553024001,"66":27930,"168":206,"2":56832,"24":31,"16":318681616970940416,"44":-2716374231794769920},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-18 16:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135553024001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:17:07] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 16:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318681616970940416,"km_value":318681616970940.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:17:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2716374231794769920,"description":"Unknown IO ID 44"} 
[2026-06-18 16:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135553024001,"power":27930,"unknown_168":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-2716374231794769920}} 
[2026-06-18 16:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":106680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:17:07] local.INFO: GPS data processed {"connection_id":106680,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:17:07] local.INFO: Acknowledgment sent {"connection_id":106680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:17:08] local.INFO: TCP Data received {"connection_id":106681,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda572608012d7c8a4005e9b398000100bb25..."} 
[2026-06-18 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda572608012d7c8a4005e9b398000100bb25..."} 
[2026-06-18 16:17:08] local.INFO: Processing buffer {"connection_id":106681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda572608012d7c8a4005e9b398000100bb25..."} 
[2026-06-18 16:17:08] local.INFO: Packet analysis {"connection_id":106681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:17:08] local.INFO: Extracted packet for processing {"connection_id":106681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763136576,"raw_latitude":99201944,"longitude_deg":76.3136576,"latitude_deg":9.9201944,"altitude":1,"angle":187,"satellites":37,"speed":5,"hex_longitude":"2d7c8a40","hex_latitude":"05e9b398","is_valid_coordinates":true} 
[2026-06-18 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135578368001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93909928078475264,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974055601629075456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781779605000,"timestamp_ms":1781779605000,"timestamp_seconds":1781779605,"priority":1,"record_length":96,"hex_timestamp":"0000019eda572608"} 
[2026-06-18 16:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 16:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106681,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135578368001,"66":13091,"192":206,"87":13824,"24":5,"16":93909928078475264,"45":8974055601629075456},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135578368001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:17:08] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93909928078475264,"km_value":93909928078475.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974055601629075456,"description":"Unknown IO ID 45"} 
[2026-06-18 16:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135578368001,"power":13091,"unknown_192":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8974055601629075456}} 
[2026-06-18 16:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":106681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344865,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:17:08] local.INFO: GPS data processed {"connection_id":106681,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:17:08] local.INFO: Acknowledgment sent {"connection_id":106681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:17:24] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:24] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:24] local.INFO: IMEI packet received {"connection_id":105914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":105914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:17:25] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:25] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:25] local.INFO: IMEI packet received {"connection_id":105914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":105914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:17:27] local.INFO: TCP Data received {"connection_id":107652,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5666a0012d1b3380072082980051015c23..."} 
[2026-06-18 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5666a0012d1b3380072082980051015c23..."} 
[2026-06-18 16:17:27] local.INFO: Processing buffer {"connection_id":107652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5666a0012d1b3380072082980051015c23..."} 
[2026-06-18 16:17:27] local.INFO: Packet analysis {"connection_id":107652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:17:27] local.INFO: Extracted packet for processing {"connection_id":107652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135560960001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781779556000,"timestamp_ms":1781779556000,"timestamp_seconds":1781779556,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5666a0"} 
[2026-06-18 16:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 16:17:27] 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-06-18 16:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135560960001,"66":12298,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135560960001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:17:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135560960001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":107652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:17:27] local.INFO: GPS data processed {"connection_id":107652,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:17:27] local.INFO: Acknowledgment sent {"connection_id":107652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:17:28] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:28] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:28] local.INFO: IMEI packet received {"connection_id":106097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":106097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:17:29] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:29] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:29] local.INFO: IMEI packet received {"connection_id":106097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":106097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:17:29] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:29] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:17:29] local.INFO: IMEI packet received {"connection_id":105914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":105914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:17:30] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda55f558012cda160007350848001d01392a..."} 
[2026-06-18 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda55f558012cda160007350848001d01392a..."} 
[2026-06-18 16:17:30] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda55f558012cda160007350848001d01392a..."} 
[2026-06-18 16:17:30] local.INFO: Packet analysis {"connection_id":105914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:17:30] local.INFO: Extracted packet for processing {"connection_id":105914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda55"} 
[2026-06-18 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":752489984,"raw_latitude":120916040,"longitude_deg":75.2489984,"latitude_deg":12.091604,"altitude":29,"angle":313,"satellites":42,"speed":35,"hex_longitude":"2cda1600","hex_latitude":"07350848","is_valid_coordinates":true} 
[2026-06-18 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135556096001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318682067942506496,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2724325899885365248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781779527000,"timestamp_ms":1781779527000,"timestamp_seconds":1781779527,"priority":1,"record_length":96,"hex_timestamp":"0000019eda55f558"} 
[2026-06-18 16:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:17: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-06-18 16:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135556096001,"66":27908,"168":206,"2":56832,"24":35,"16":318682067942506496,"44":-2724325899885365248},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-18 16:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135556096001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:17:30] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 16:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318682067942506496,"km_value":318682067942506.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2724325899885365248,"description":"Unknown IO ID 44"} 
[2026-06-18 16:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135556096001,"power":27908,"unknown_168":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-2724325899885365248}} 
[2026-06-18 16:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":105914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:17:30] local.INFO: GPS data processed {"connection_id":105914,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:17:30] local.INFO: Acknowledgment sent {"connection_id":105914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:17:33] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda561c68012cd9fa4007351f80001c01322e..."} 
[2026-06-18 16:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda561c68012cd9fa4007351f80001c01322e..."} 
[2026-06-18 16:17:33] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda561c68012cd9fa4007351f80001c01322e..."} 
[2026-06-18 16:17:33] local.INFO: Packet analysis {"connection_id":105914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:17:33] local.INFO: Extracted packet for processing {"connection_id":105914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:17:33] local.INFO: GPS Element Parsed {"raw_longitude":752482880,"raw_latitude":120921984,"longitude_deg":75.248288,"latitude_deg":12.0921984,"altitude":28,"angle":306,"satellites":46,"speed":38,"hex_longitude":"2cd9fa40","hex_latitude":"07351f80","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135558912001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318682510324137984,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2731996092999120896,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781779537000,"timestamp_ms":1781779537000,"timestamp_seconds":1781779537,"priority":1,"record_length":96,"hex_timestamp":"0000019eda561c68"} 
[2026-06-18 16:17:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:17: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-06-18 16:17:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:17:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:17:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135558912001,"66":27887,"168":206,"2":56832,"24":38,"16":318682510324137984,"44":-2731996092999120896},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,2,24,16,44]} 
[2026-06-18 16:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135558912001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:17:33] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 16:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318682510324137984,"km_value":318682510324138.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:17:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2731996092999120896,"description":"Unknown IO ID 44"} 
[2026-06-18 16:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135558912001,"power":27887,"unknown_168":206,"power_alt":56832,"ignition":38,"odometer":null,"unknown_44":-2731996092999120896}} 
[2026-06-18 16:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":105914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:17:33] local.INFO: GPS data processed {"connection_id":105914,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:17:33] local.INFO: Acknowledgment sent {"connection_id":105914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:17:35] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:35] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:35] local.INFO: IMEI packet received {"connection_id":106097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":106097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:17:35] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:35] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:17:35] local.INFO: IMEI packet received {"connection_id":106097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:17:35] local.INFO: IMEI acknowledgment sent {"connection_id":106097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:17:36] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5729f0012d7c8a4005e9b2d80001009f25..."} 
[2026-06-18 16:17:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5729f0012d7c8a4005e9b2d80001009f25..."} 
[2026-06-18 16:17:36] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5729f0012d7c8a4005e9b2d80001009f25..."} 
[2026-06-18 16:17:36] local.INFO: Packet analysis {"connection_id":106097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:17:36] local.INFO: Extracted packet for processing {"connection_id":106097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:17:36] local.INFO: GPS Element Parsed {"raw_longitude":763136576,"raw_latitude":99201752,"longitude_deg":76.3136576,"latitude_deg":9.9201752,"altitude":1,"angle":159,"satellites":37,"speed":9,"hex_longitude":"2d7c8a40","hex_latitude":"05e9b2d8","is_valid_coordinates":true} 
[2026-06-18 16:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:17:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135578880001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93909936668409856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974055601629009920,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17: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-06-18 16:17:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781779606000,"timestamp_ms":1781779606000,"timestamp_seconds":1781779606,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5729f0"} 
[2026-06-18 16:17:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:17:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:17:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:17:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:17:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:17:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:17:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:17:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:17:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:17:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:17:36] 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-06-18 16:17:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:17:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:17:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135578880001,"66":13091,"192":206,"87":13824,"24":9,"16":93909936668409856,"45":8974055601629009920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:17:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:17:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:17:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135578880001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:17:36] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:17:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:17:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93909936668409856,"km_value":93909936668409.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:17:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974055601629009920,"description":"Unknown IO ID 45"} 
[2026-06-18 16:17:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135578880001,"power":13091,"unknown_192":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8974055601629009920}} 
[2026-06-18 16:17:36] local.INFO: DEBUG: GPS processor result {"connection_id":106097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344869,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:17:36] local.INFO: GPS data processed {"connection_id":106097,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:17:36] local.INFO: Acknowledgment sent {"connection_id":106097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:17:39] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda576488012d7c8fc005e99dc0000100b129..."} 
[2026-06-18 16:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda576488012d7c8fc005e99dc0000100b129..."} 
[2026-06-18 16:17:39] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda576488012d7c8fc005e99dc0000100b129..."} 
[2026-06-18 16:17:39] local.INFO: Packet analysis {"connection_id":106097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:17:39] local.INFO: Extracted packet for processing {"connection_id":106097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:17:39] local.INFO: GPS Element Parsed {"raw_longitude":763137984,"raw_latitude":99196352,"longitude_deg":76.3137984,"latitude_deg":9.9196352,"altitude":1,"angle":177,"satellites":41,"speed":6,"hex_longitude":"2d7c8fc0","hex_latitude":"05e99dc0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135579136001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93910207251349504,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974055601628960768,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:39] 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-06-18 16:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781779621000,"timestamp_ms":1781779621000,"timestamp_seconds":1781779621,"priority":1,"record_length":96,"hex_timestamp":"0000019eda576488"} 
[2026-06-18 16:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135579136001,"66":13015,"192":206,"87":13824,"24":6,"16":93910207251349504,"45":8974055601628960768},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135579136001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:17:39] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:17:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93910207251349504,"km_value":93910207251349.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974055601628960768,"description":"Unknown IO ID 45"} 
[2026-06-18 16:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135579136001,"power":13015,"unknown_192":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8974055601628960768}} 
[2026-06-18 16:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":106097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344870,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:17:39] local.INFO: GPS data processed {"connection_id":106097,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:17:39] local.INFO: Acknowledgment sent {"connection_id":106097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:17:44] local.INFO: TCP Data received {"connection_id":106684,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:17:44] local.INFO: Processing buffer {"connection_id":106684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:17:44] local.INFO: IMEI packet received {"connection_id":106684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":106684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:17:50] local.INFO: TCP Data received {"connection_id":106684,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106684,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:17:50] local.INFO: Processing buffer {"connection_id":106684,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:17:50] local.INFO: IMEI packet received {"connection_id":106684,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":106684,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:17:51] local.INFO: TCP Data received {"connection_id":106684,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda56b8a8012d1b3380072082980051015c24..."} 
[2026-06-18 16:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda56b8a8012d1b3380072082980051015c24..."} 
[2026-06-18 16:17:51] local.INFO: Processing buffer {"connection_id":106684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda56b8a8012d1b3380072082980051015c24..."} 
[2026-06-18 16:17:51] local.INFO: Packet analysis {"connection_id":106684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:17:51] local.INFO: Extracted packet for processing {"connection_id":106684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135566336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781779577000,"timestamp_ms":1781779577000,"timestamp_seconds":1781779577,"priority":1,"record_length":96,"hex_timestamp":"0000019eda56b8a8"} 
[2026-06-18 16:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:17:51] 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-06-18 16:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2714500248236123341,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2017612633061982209,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513553946872185180,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":81,"raw_value":97993973825536000,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3458483923195592910,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2190999633,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:17:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":2013343003,"corrected_to":0} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:17:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,190,20,45,128,130,81,36,10,66,194,112,1,240,31,218,32,4,113,205,204,51,152,34,239,47,2,11,7,37],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":2013343003,"validated":0}]} 
[2026-06-18 16:17:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047897442484224,"timestamp_seconds":5837047897442484.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135566336001,"66":12319,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135566336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:17:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:17:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135566336001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":106684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:17:51] local.INFO: GPS data processed {"connection_id":106684,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:17:51] local.INFO: Acknowledgment sent {"connection_id":106684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:18:04] local.INFO: TCP Data received {"connection_id":105914,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda564378012cd9d94007353308001c01282e..."} 
[2026-06-18 16:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda564378012cd9d94007353308001c01282e..."} 
[2026-06-18 16:18:04] local.INFO: Processing buffer {"connection_id":105914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda564378012cd9d94007353308001c01282e..."} 
[2026-06-18 16:18:04] local.INFO: Packet analysis {"connection_id":105914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:18:04] local.INFO: Extracted packet for processing {"connection_id":105914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":752474432,"raw_latitude":120926984,"longitude_deg":75.2474432,"latitude_deg":12.0926984,"altitude":28,"angle":296,"satellites":46,"speed":38,"hex_longitude":"2cd9d940","hex_latitude":"07353308","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135561472001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318682978475573248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2739807023601319936,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781779547000,"timestamp_ms":1781779547000,"timestamp_seconds":1781779547,"priority":1,"record_length":96,"hex_timestamp":"0000019eda564378"} 
[2026-06-18 16:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:18:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 16:18:04] 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-06-18 16: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-06-18 16:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135561472001,"66":27908,"90":206,"2":56832,"24":38,"16":318682978475573248,"44":-2739807023601319936},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,2,24,16,44]} 
[2026-06-18 16:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135561472001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:18:04] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 16:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318682978475573248,"km_value":318682978475573.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:18:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2739807023601319936,"description":"Unknown IO ID 44"} 
[2026-06-18 16:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135561472001,"power":27908,"unknown_90":206,"power_alt":56832,"ignition":38,"odometer":null,"unknown_44":-2739807023601319936}} 
[2026-06-18 16:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":105914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:18:04] local.INFO: GPS data processed {"connection_id":105914,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:18:04] local.INFO: Acknowledgment sent {"connection_id":105914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:18:12] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda579750012d7c8c8005e99ab80002010a28..."} 
[2026-06-18 16:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda579750012d7c8c8005e99ab80002010a28..."} 
[2026-06-18 16:18:12] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda579750012d7c8c8005e99ab80002010a28..."} 
[2026-06-18 16:18:12] local.INFO: Packet analysis {"connection_id":106097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:18:12] local.INFO: Extracted packet for processing {"connection_id":106097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":99195576,"longitude_deg":76.3137152,"latitude_deg":9.9195576,"altitude":2,"angle":266,"satellites":40,"speed":7,"hex_longitude":"2d7c8c80","hex_latitude":"05e99ab8","is_valid_coordinates":true} 
[2026-06-18 16:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135582976001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93910271675858944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975603713999486976,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:12] 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-06-18 16:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781779634000,"timestamp_ms":1781779634000,"timestamp_seconds":1781779634,"priority":1,"record_length":96,"hex_timestamp":"0000019eda579750"} 
[2026-06-18 16:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 16:18:12] 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-06-18 16:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:18:12] 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-06-18 16:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135582976001,"66":12689,"192":206,"87":13824,"24":7,"16":93910271675858944,"45":8975603713999486976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135582976001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:18:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:18:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93910271675858944,"km_value":93910271675858.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975603713999486976,"description":"Unknown IO ID 45"} 
[2026-06-18 16:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135582976001,"power":12689,"unknown_192":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":8975603713999486976}} 
[2026-06-18 16:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":106097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344873,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:18:12] local.INFO: GPS data processed {"connection_id":106097,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:18:12] local.INFO: Acknowledgment sent {"connection_id":106097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:18:23] local.INFO: TCP Data received {"connection_id":106684,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda570ab0012d1b3380072082980051015c23..."} 
[2026-06-18 16:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda570ab0012d1b3380072082980051015c23..."} 
[2026-06-18 16:18:23] local.INFO: Processing buffer {"connection_id":106684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda570ab0012d1b3380072082980051015c23..."} 
[2026-06-18 16:18:23] local.INFO: Packet analysis {"connection_id":106684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:18:23] local.INFO: Extracted packet for processing {"connection_id":106684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135571712001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781779598000,"timestamp_ms":1781779598000,"timestamp_seconds":1781779598,"priority":1,"record_length":96,"hex_timestamp":"0000019eda570ab0"} 
[2026-06-18 16:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 16:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106684,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135571712001,"66":12298,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135571712001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:18:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135571712001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":106684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:18:23] local.INFO: GPS data processed {"connection_id":106684,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:18:23] local.INFO: Acknowledgment sent {"connection_id":106684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:18:24] local.INFO: TCP Data received {"connection_id":106099,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:18:24] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:18:24] local.INFO: IMEI packet received {"connection_id":106099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":106099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:18:30] local.INFO: TCP Data received {"connection_id":106099,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:18:30] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:18:30] local.INFO: IMEI packet received {"connection_id":106099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":106099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:18:31] local.INFO: TCP Data received {"connection_id":106099,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda566a88012cd9b5c007354278001b01242d..."} 
[2026-06-18 16:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda566a88012cd9b5c007354278001b01242d..."} 
[2026-06-18 16:18:31] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda566a88012cd9b5c007354278001b01242d..."} 
[2026-06-18 16:18:31] local.INFO: Packet analysis {"connection_id":106099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:18:31] local.INFO: Extracted packet for processing {"connection_id":106099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda56"} 
[2026-06-18 16:18:31] local.INFO: GPS Element Parsed {"raw_longitude":752465344,"raw_latitude":120930936,"longitude_deg":75.2465344,"latitude_deg":12.0930936,"altitude":27,"angle":292,"satellites":45,"speed":38,"hex_longitude":"2cd9b5c0","hex_latitude":"07354278","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135564032001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318683450921975808,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2749095697831491584,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781779557000,"timestamp_ms":1781779557000,"timestamp_seconds":1781779557,"priority":1,"record_length":96,"hex_timestamp":"0000019eda566a88"} 
[2026-06-18 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-06-18 16:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:18: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-06-18 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-06-18 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-06-18 16:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135564032001,"66":27974,"90":206,"2":56832,"24":38,"16":318683450921975808,"44":-2749095697831491584},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,2,24,16,44]} 
[2026-06-18 16:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135564032001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:18:31] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 16:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318683450921975808,"km_value":318683450921975.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:18:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2749095697831491584,"description":"Unknown IO ID 44"} 
[2026-06-18 16:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135564032001,"power":27974,"unknown_90":206,"power_alt":56832,"ignition":38,"odometer":null,"unknown_44":-2749095697831491584}} 
[2026-06-18 16:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":106099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:18:31] local.INFO: GPS data processed {"connection_id":106099,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:18:31] local.INFO: Acknowledgment sent {"connection_id":106099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:18:33] local.INFO: TCP Data received {"connection_id":107653,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:18:33] local.INFO: Processing buffer {"connection_id":107653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:18:33] local.INFO: IMEI packet received {"connection_id":107653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":107653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:18:38] local.INFO: TCP Data received {"connection_id":107653,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107653,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:18:38] local.INFO: Processing buffer {"connection_id":107653,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:18:38] local.INFO: IMEI packet received {"connection_id":107653,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":107653,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:18:39] local.INFO: TCP Data received {"connection_id":107653,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda57c248012d7c7d0005e996f8000200fa27..."} 
[2026-06-18 16:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda57c248012d7c7d0005e996f8000200fa27..."} 
[2026-06-18 16:18:39] local.INFO: Processing buffer {"connection_id":107653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda57c248012d7c7d0005e996f8000200fa27..."} 
[2026-06-18 16:18:39] local.INFO: Packet analysis {"connection_id":107653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:18:39] local.INFO: Extracted packet for processing {"connection_id":107653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:18:39] local.INFO: GPS Element Parsed {"raw_longitude":763133184,"raw_latitude":99194616,"longitude_deg":76.3133184,"latitude_deg":9.9194616,"altitude":2,"angle":250,"satellites":39,"speed":13,"hex_longitude":"2d7c7d00","hex_latitude":"05e996f8","is_valid_coordinates":true} 
[2026-06-18 16:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135586304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93910469244354560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688920324978688,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:39] 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-06-18 16:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781779645000,"timestamp_ms":1781779645000,"timestamp_seconds":1781779645,"priority":1,"record_length":96,"hex_timestamp":"0000019eda57c248"} 
[2026-06-18 16:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 16:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135586304001,"66":13330,"192":206,"87":13824,"24":13,"16":93910469244354560,"45":8974688920324978688},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135586304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:18:39] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:18:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93910469244354560,"km_value":93910469244354.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688920324978688,"description":"Unknown IO ID 45"} 
[2026-06-18 16:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135586304001,"power":13330,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8974688920324978688}} 
[2026-06-18 16:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":107653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344876,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:18:39] local.INFO: GPS data processed {"connection_id":107653,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:18:39] local.INFO: Acknowledgment sent {"connection_id":107653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:18:44] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:18:44] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:18:44] local.INFO: IMEI packet received {"connection_id":106101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":106101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:18:50] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:18:50] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:18:50] local.INFO: IMEI packet received {"connection_id":106101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":106101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:18:51] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda575cb8012d1b3380072082980051015c24..."} 
[2026-06-18 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda575cb8012d1b3380072082980051015c24..."} 
[2026-06-18 16:18:51] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda575cb8012d1b3380072082980051015c24..."} 
[2026-06-18 16:18:51] local.INFO: Packet analysis {"connection_id":106101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:18:51] local.INFO: Extracted packet for processing {"connection_id":106101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":36,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135577088001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781779619000,"timestamp_ms":1781779619000,"timestamp_seconds":1781779619,"priority":1,"record_length":96,"hex_timestamp":"0000019eda575cb8"} 
[2026-06-18 16:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:18:51] 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-06-18 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2714319859609691341,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2017612633061982209,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513553946872185180,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":81,"raw_value":97991774802280448,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571937968334,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2190999633,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2281778459,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:18:51] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,190,184,45,128,130,81,36,10,66,102,35,20,1,240,53,218,32,4,113,205,112,51,152,37,239,48,2,11,7,34],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:18:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047897442484224,"timestamp_seconds":5837047897442484.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135577088001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135577088001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:18:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:18:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135577088001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":106101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:18:51] local.INFO: GPS data processed {"connection_id":106101,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:18:51] local.INFO: Acknowledgment sent {"connection_id":106101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:01] local.INFO: TCP Data received {"connection_id":106685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:01] local.INFO: Processing buffer {"connection_id":106685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:01] local.INFO: IMEI packet received {"connection_id":106685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":106685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:19:03] local.INFO: TCP Data received {"connection_id":106099,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda584ee8012cd8074007361a88000c01282d..."} 
[2026-06-18 16:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda584ee8012cd8074007361a88000c01282d..."} 
[2026-06-18 16:19:03] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda584ee8012cd8074007361a88000c01282d..."} 
[2026-06-18 16:19:03] local.INFO: Packet analysis {"connection_id":106099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:03] local.INFO: Extracted packet for processing {"connection_id":106099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:03] local.INFO: GPS Element Parsed {"raw_longitude":752355136,"raw_latitude":120986248,"longitude_deg":75.2355136,"latitude_deg":12.0986248,"altitude":12,"angle":296,"satellites":45,"speed":38,"hex_longitude":"2cd80740","hex_latitude":"07361a88","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:19:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135595776001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318689339322138624,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2871255837709770752,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:19:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781779681000,"timestamp_ms":1781779681000,"timestamp_seconds":1781779681,"priority":1,"record_length":96,"hex_timestamp":"0000019eda584ee8"} 
[2026-06-18 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-06-18 16:19: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-06-18 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:19:03] 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-06-18 16: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-06-18 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-06-18 16:19:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:19:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:19:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:19:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:19:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:19:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135595776001,"66":27974,"90":206,"2":56832,"24":38,"16":318689339322138624,"44":-2871255837709770752},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,2,24,16,44]} 
[2026-06-18 16:19:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:19:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:19:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135595776001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:03] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 16:19:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318689339322138624,"km_value":318689339322138.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2871255837709770752,"description":"Unknown IO ID 44"} 
[2026-06-18 16:19:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135595776001,"power":27974,"unknown_90":206,"power_alt":56832,"ignition":38,"odometer":null,"unknown_44":-2871255837709770752}} 
[2026-06-18 16:19:03] local.INFO: DEBUG: GPS processor result {"connection_id":106099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:03] local.INFO: GPS data processed {"connection_id":106099,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:03] local.INFO: Acknowledgment sent {"connection_id":106099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:07] local.INFO: TCP Data received {"connection_id":106685,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106685,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:07] local.INFO: Processing buffer {"connection_id":106685,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:07] local.INFO: IMEI packet received {"connection_id":106685,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":106685,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:19:07] local.INFO: TCP Data received {"connection_id":106685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda581068012d0b7fc007070ca80015010a19..."} 
[2026-06-18 16:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda581068012d0b7fc007070ca80015010a19..."} 
[2026-06-18 16:19:07] local.INFO: Processing buffer {"connection_id":106685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda581068012d0b7fc007070ca80015010a19..."} 
[2026-06-18 16:19:07] local.INFO: Packet analysis {"connection_id":106685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:07] local.INFO: Extracted packet for processing {"connection_id":106685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:07] local.INFO: GPS Element Parsed {"raw_longitude":755728320,"raw_latitude":117902504,"longitude_deg":75.572832,"latitude_deg":11.7902504,"altitude":21,"angle":266,"satellites":25,"speed":30,"hex_longitude":"2d0b7fc0","hex_latitude":"07070ca8","is_valid_coordinates":true} 
[2026-06-18 16:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:19:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135591424001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21192137437609984,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":838443617060270080,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:19:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781779665000,"timestamp_ms":1781779665000,"timestamp_seconds":1781779665,"priority":1,"record_length":96,"hex_timestamp":"0000019eda581068"} 
[2026-06-18 16:19:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:19:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:19:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 16:19:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:19:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:19:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:19:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:19:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:19:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:19:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:19:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:19:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135591424001,"66":14537,"163":206,"94":10240,"24":30,"16":21192137437609984,"45":838443617060270080},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-18 16:19:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:19:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:19:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135591424001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:07] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 16:19:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:19:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21192137437609984,"km_value":21192137437609.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":838443617060270080,"description":"Unknown IO ID 45"} 
[2026-06-18 16:19:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135591424001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":838443617060270080}} 
[2026-06-18 16:19:07] local.INFO: DEBUG: GPS processor result {"connection_id":106685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:07] local.INFO: GPS data processed {"connection_id":106685,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:07] local.INFO: Acknowledgment sent {"connection_id":106685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:12] local.INFO: TCP Data received {"connection_id":106685,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda581068012d0b7fc007070ca80015010a19..."} 
[2026-06-18 16:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda581068012d0b7fc007070ca80015010a19..."} 
[2026-06-18 16:19:12] local.INFO: Processing buffer {"connection_id":106685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda581068012d0b7fc007070ca80015010a19..."} 
[2026-06-18 16:19:12] local.INFO: Packet analysis {"connection_id":106685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:12] local.INFO: Extracted packet for processing {"connection_id":106685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:12] local.INFO: GPS Element Parsed {"raw_longitude":755728320,"raw_latitude":117902504,"longitude_deg":75.572832,"latitude_deg":11.7902504,"altitude":21,"angle":266,"satellites":25,"speed":30,"hex_longitude":"2d0b7fc0","hex_latitude":"07070ca8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135594240001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21192137437609984,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828591992875034624,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781779665000,"timestamp_ms":1781779665000,"timestamp_seconds":1781779665,"priority":1,"record_length":96,"hex_timestamp":"0000019eda581068"} 
[2026-06-18 16:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 16:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106685,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135594240001,"66":14537,"163":206,"94":10240,"24":30,"16":21192137437609984,"45":828591992875034624},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-18 16:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135594240001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:12] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 16:19:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21192137437609984,"km_value":21192137437609.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":828591992875034624,"description":"Unknown IO ID 45"} 
[2026-06-18 16:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135594240001,"power":14537,"unknown_163":206,"unknown_94":10240,"ignition":30,"odometer":null,"unknown_45":828591992875034624}} 
[2026-06-18 16:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":106685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344880,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:12] local.INFO: GPS data processed {"connection_id":106685,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:12] local.INFO: Acknowledgment sent {"connection_id":106685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:17] local.INFO: TCP Data received {"connection_id":107653,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda57c630012d7c7bc005e99658000200ee28..."} 
[2026-06-18 16:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda57c630012d7c7bc005e99658000200ee28..."} 
[2026-06-18 16:19:17] local.INFO: Processing buffer {"connection_id":107653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda57c630012d7c7bc005e99658000200ee28..."} 
[2026-06-18 16:19:17] local.INFO: Packet analysis {"connection_id":107653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:19:17] local.INFO: Extracted packet for processing {"connection_id":107653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:19:17] local.INFO: GPS Element Parsed {"raw_longitude":763132864,"raw_latitude":99194456,"longitude_deg":76.3132864,"latitude_deg":9.9194456,"altitude":2,"angle":238,"satellites":40,"speed":13,"hex_longitude":"2d7c7bc0","hex_latitude":"05e99658","is_valid_coordinates":true} 
[2026-06-18 16:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135589120001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93910486424223744,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970326058185717760,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] 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-06-18 16:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781779646000,"timestamp_ms":1781779646000,"timestamp_seconds":1781779646,"priority":1,"record_length":96,"hex_timestamp":"0000019eda57c630"} 
[2026-06-18 16:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:19:17] 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-06-18 16:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3663134456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":162,"raw_value":2533359616,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277660930051782920,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5176887763055795712,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2727477248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":248,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-4611459144463935488,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":18,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:17] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,192,87,24,241,157,16,163,158,151,45,128,154,2,40,10,66,162,100,1,41,64,240,35,227,218,233,4,113,205,5,30,138,152,37,239,51,77,248,86,18,72],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-06-18 16:19:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144390233487376384,"timestamp_seconds":144390233487376.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107653,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:19:17] 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-06-18 16:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135589120001,"66":13330,"192":206,"87":13824,"24":13,"16":93910486424223744,"45":8970326058185717760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135589120001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:17] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:19:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93910486424223744,"km_value":93910486424223.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970326058185717760,"description":"Unknown IO ID 45"} 
[2026-06-18 16:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135589120001,"power":13330,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8970326058185717760}} 
[2026-06-18 16:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":107653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344881,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:17] local.INFO: GPS data processed {"connection_id":107653,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:17] local.INFO: Acknowledgment sent {"connection_id":107653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:23] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda57aec0012d1b3380072082980051015c22..."} 
[2026-06-18 16:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda57aec0012d1b3380072082980051015c22..."} 
[2026-06-18 16:19:23] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda57aec0012d1b3380072082980051015c22..."} 
[2026-06-18 16:19:23] local.INFO: Packet analysis {"connection_id":106101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:19:23] local.INFO: Extracted packet for processing {"connection_id":106101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135582464001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781779640000,"timestamp_ms":1781779640000,"timestamp_seconds":1781779640,"priority":1,"record_length":96,"hex_timestamp":"0000019eda57aec0"} 
[2026-06-18 16:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:19:23] 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-06-18 16: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-06-18 16:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135582464001,"66":12298,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135582464001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:19:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135582464001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":106101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:23] local.INFO: GPS data processed {"connection_id":106101,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:23] local.INFO: Acknowledgment sent {"connection_id":106101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:24] local.INFO: TCP Data received {"connection_id":106686,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:19:24] local.INFO: Processing buffer {"connection_id":106686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:19:24] local.INFO: IMEI packet received {"connection_id":106686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":106686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:19:30] local.INFO: TCP Data received {"connection_id":106686,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:19:30] local.INFO: Processing buffer {"connection_id":106686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:19:30] local.INFO: IMEI packet received {"connection_id":106686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":106686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:19:33] local.INFO: TCP Data received {"connection_id":106686,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5875f8012cd7e38007362a20000c01252a..."} 
[2026-06-18 16:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5875f8012cd7e38007362a20000c01252a..."} 
[2026-06-18 16:19:33] local.INFO: Processing buffer {"connection_id":106686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5875f8012cd7e38007362a20000c01252a..."} 
[2026-06-18 16:19:33] local.INFO: Packet analysis {"connection_id":106686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:33] local.INFO: Extracted packet for processing {"connection_id":106686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:33] local.INFO: GPS Element Parsed {"raw_longitude":752345984,"raw_latitude":120990240,"longitude_deg":75.2345984,"latitude_deg":12.099024,"altitude":12,"angle":293,"satellites":42,"speed":37,"hex_longitude":"2cd7e380","hex_latitude":"07362a20","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135598336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318689816063508480,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2880263036963485696,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781779691000,"timestamp_ms":1781779691000,"timestamp_seconds":1781779691,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5875f8"} 
[2026-06-18 16:19:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:19:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:19:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 16:19: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-06-18 16: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-06-18 16:19:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135598336001,"66":27800,"90":206,"2":56832,"24":37,"16":318689816063508480,"44":-2880263036963485696},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,2,24,16,44]} 
[2026-06-18 16:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135598336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:33] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 16:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318689816063508480,"km_value":318689816063508.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2880263036963485696,"description":"Unknown IO ID 44"} 
[2026-06-18 16:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135598336001,"power":27800,"unknown_90":206,"power_alt":56832,"ignition":37,"odometer":null,"unknown_44":-2880263036963485696}} 
[2026-06-18 16:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":106686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:33] local.INFO: GPS data processed {"connection_id":106686,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:33] local.INFO: Acknowledgment sent {"connection_id":106686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:38] local.INFO: TCP Data received {"connection_id":106102,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:19:38] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:19:38] local.INFO: IMEI packet received {"connection_id":106102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":106102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:19:38] local.INFO: TCP Data received {"connection_id":106102,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:19:38] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:19:38] local.INFO: IMEI packet received {"connection_id":106102,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":106102,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:19:40] local.INFO: TCP Data received {"connection_id":106102,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda57ca18012d7c7a8005e99580000200e228..."} 
[2026-06-18 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda57ca18012d7c7a8005e99580000200e228..."} 
[2026-06-18 16:19:40] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda57ca18012d7c7a8005e99580000200e228..."} 
[2026-06-18 16:19:40] local.INFO: Packet analysis {"connection_id":106102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:19:40] local.INFO: Extracted packet for processing {"connection_id":106102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":763132544,"raw_latitude":99194240,"longitude_deg":76.3132544,"latitude_deg":9.919424,"altitude":2,"angle":226,"satellites":40,"speed":13,"hex_longitude":"2d7c7a80","hex_latitude":"05e99580","is_valid_coordinates":true} 
[2026-06-18 16:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135589376001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93910503604092928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969974214464788480,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781779647000,"timestamp_ms":1781779647000,"timestamp_seconds":1781779647,"priority":1,"record_length":96,"hex_timestamp":"0000019eda57ca18"} 
[2026-06-18 16:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3663142456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3590324224,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3277654882737829928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":233,"raw_value":-5345772753378336256,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1455423694,"corrected_to":0} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2727673856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57797752872916790,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":86,"raw_value":-4611459144463935488,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:40] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,192,87,24,241,157,16,163,158,194,45,150,2,39,10,66,151,128,154,40,162,100,1,240,215,227,218,233,4,113,205,9,38,138,152,37,239,51,77,5,3,46,86,72],"length":626,"final_offset":756,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1455423694,"validated":0}]} 
[2026-06-18 16:19:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144377043642810368,"timestamp_seconds":144377043642810.38,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135589376001,"66":12841,"192":206,"87":13824,"24":13,"16":93910503604092928,"45":8969974214464788480},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135589376001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:40] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:19:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93910503604092928,"km_value":93910503604092.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969974214464788480,"description":"Unknown IO ID 45"} 
[2026-06-18 16:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135589376001,"power":12841,"unknown_192":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8969974214464788480}} 
[2026-06-18 16:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":106102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344884,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:40] local.INFO: GPS data processed {"connection_id":106102,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:40] local.INFO: Acknowledgment sent {"connection_id":106102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:41] local.INFO: TCP Data received {"connection_id":106102,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda57d5d0012d7c774005e992d0000200ef28..."} 
[2026-06-18 16:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda57d5d0012d7c774005e992d0000200ef28..."} 
[2026-06-18 16:19:41] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda57d5d0012d7c774005e992d0000200ef28..."} 
[2026-06-18 16:19:41] local.INFO: Packet analysis {"connection_id":106102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:19:41] local.INFO: Extracted packet for processing {"connection_id":106102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda57"} 
[2026-06-18 16:19:41] local.INFO: GPS Element Parsed {"raw_longitude":763131712,"raw_latitude":99193552,"longitude_deg":76.3131712,"latitude_deg":9.9193552,"altitude":2,"angle":239,"satellites":40,"speed":11,"hex_longitude":"2d7c7740","hex_latitude":"05e992d0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135589632001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93910555143700480,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969622370743844864,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:41] 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-06-18 16:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781779650000,"timestamp_ms":1781779650000,"timestamp_seconds":1781779650,"priority":1,"record_length":96,"hex_timestamp":"0000019eda57d5d0"} 
[2026-06-18 16:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 16:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:19:41] 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-06-18 16:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135589632001,"66":11950,"192":206,"87":13824,"24":11,"16":93910555143700480,"45":8969622370743844864},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135589632001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:41] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:19:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93910555143700480,"km_value":93910555143700.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969622370743844864,"description":"Unknown IO ID 45"} 
[2026-06-18 16:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135589632001,"power":11950,"unknown_192":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8969622370743844864}} 
[2026-06-18 16:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":106102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:41] local.INFO: GPS data processed {"connection_id":106102,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:41] local.INFO: Acknowledgment sent {"connection_id":106102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:50] local.INFO: TCP Data received {"connection_id":107654,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:19:50] local.INFO: Processing buffer {"connection_id":107654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:19:50] local.INFO: IMEI packet received {"connection_id":107654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":107654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:19:54] local.INFO: TCP Data received {"connection_id":107654,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107654,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:19:54] local.INFO: Processing buffer {"connection_id":107654,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:19:54] local.INFO: IMEI packet received {"connection_id":107654,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":107654,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:19:56] local.INFO: TCP Data received {"connection_id":107654,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5800c8012d1b3380072082980051015c23..."} 
[2026-06-18 16:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5800c8012d1b3380072082980051015c23..."} 
[2026-06-18 16:19:56] local.INFO: Processing buffer {"connection_id":107654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5800c8012d1b3380072082980051015c23..."} 
[2026-06-18 16:19:56] local.INFO: Packet analysis {"connection_id":107654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:56] local.INFO: Extracted packet for processing {"connection_id":107654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135587840001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781779661000,"timestamp_ms":1781779661000,"timestamp_seconds":1781779661,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5800c8"} 
[2026-06-18 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-06-18 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2714139470983259341,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2017612633061982209,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513553946872185180,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":81,"raw_value":97992874313908224,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3467491122450333902,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2190999633,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2550213915,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:19:56] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,190,92,45,128,130,81,36,10,66,35,184,1,240,31,218,32,4,113,205,20,51,152,239,48,2,11,7,37],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:19:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047893147516928,"timestamp_seconds":5837047893147517.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 16:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135587840001,"66":11526,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135587840001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:19:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:19:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135587840001,"power":11526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":107654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:19:56] local.INFO: GPS data processed {"connection_id":107654,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:19:56] local.INFO: Acknowledgment sent {"connection_id":107654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:19:57] local.INFO: TCP Data received {"connection_id":107655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:57] local.INFO: Processing buffer {"connection_id":107655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:19:57] local.INFO: IMEI packet received {"connection_id":107655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":107655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:20:03] local.INFO: TCP Data received {"connection_id":107655,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107655,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:03] local.INFO: Processing buffer {"connection_id":107655,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:03] local.INFO: IMEI packet received {"connection_id":107655,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":107655,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:20:03] local.INFO: TCP Data received {"connection_id":107655,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda597f98012d0aef4007066f08001100bc19..."} 
[2026-06-18 16:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda597f98012d0aef4007066f08001100bc19..."} 
[2026-06-18 16:20:03] local.INFO: Processing buffer {"connection_id":107655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda597f98012d0aef4007066f08001100bc19..."} 
[2026-06-18 16:20:03] local.INFO: Packet analysis {"connection_id":107655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:20:03] local.INFO: Extracted packet for processing {"connection_id":107655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":755691328,"raw_latitude":117862152,"longitude_deg":75.5691328,"latitude_deg":11.7862152,"altitude":17,"angle":188,"satellites":25,"speed":2,"hex_longitude":"2d0aef40","hex_latitude":"07066f08","is_valid_coordinates":true} 
[2026-06-18 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135617280001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21194933461319680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":788059596218439680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781779759000,"timestamp_ms":1781779759000,"timestamp_seconds":1781779759,"priority":1,"record_length":96,"hex_timestamp":"0000019eda597f98"} 
[2026-06-18 16:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-18 16:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135617280001,"66":14450,"163":206,"94":10240,"24":2,"16":21194933461319680,"45":788059596218439680},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-18 16:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135617280001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:20:03] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 16:20:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21194933461319680,"km_value":21194933461319.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":788059596218439680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135617280001,"power":14450,"unknown_163":206,"unknown_94":10240,"ignition":2,"odometer":null,"unknown_45":788059596218439680}} 
[2026-06-18 16:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":107655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344887,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:20:03] local.INFO: GPS data processed {"connection_id":107655,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:20:03] local.INFO: Acknowledgment sent {"connection_id":107655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:20:04] local.INFO: TCP Data received {"connection_id":106686,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda589d08012cd7c0c007363848000d01232c..."} 
[2026-06-18 16:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda589d08012cd7c0c007363848000d01232c..."} 
[2026-06-18 16:20:04] local.INFO: Processing buffer {"connection_id":106686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda589d08012cd7c0c007363848000d01232c..."} 
[2026-06-18 16:20:04] local.INFO: Packet analysis {"connection_id":106686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:04] local.INFO: Extracted packet for processing {"connection_id":106686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:04] local.INFO: GPS Element Parsed {"raw_longitude":752337088,"raw_latitude":120993864,"longitude_deg":75.2337088,"latitude_deg":12.0993864,"altitude":13,"angle":291,"satellites":44,"speed":37,"hex_longitude":"2cd7c0c0","hex_latitude":"07363848","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135600896001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318690271330041856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2890325767379869696,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781779701000,"timestamp_ms":1781779701000,"timestamp_seconds":1781779701,"priority":1,"record_length":96,"hex_timestamp":"0000019eda589d08"} 
[2026-06-18 16:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 16:20: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-06-18 16: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-06-18 16:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135600896001,"66":27865,"90":206,"2":56832,"24":37,"16":318690271330041856,"44":-2890325767379869696},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,2,24,16,44]} 
[2026-06-18 16:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135600896001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:20:04] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 16:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318690271330041856,"km_value":318690271330041.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2890325767379869696,"description":"Unknown IO ID 44"} 
[2026-06-18 16:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135600896001,"power":27865,"unknown_90":206,"power_alt":56832,"ignition":37,"odometer":null,"unknown_44":-2890325767379869696}} 
[2026-06-18 16:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":106686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:20:04] local.INFO: GPS data processed {"connection_id":106686,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:20:04] local.INFO: Acknowledgment sent {"connection_id":106686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:20:29] local.INFO: TCP Data received {"connection_id":105915,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:20:29] local.INFO: Processing buffer {"connection_id":105915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:20:29] local.INFO: IMEI packet received {"connection_id":105915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":105915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:20:30] local.INFO: TCP Data received {"connection_id":107654,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5852d0012d1b3380072082980051015c23..."} 
[2026-06-18 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5852d0012d1b3380072082980051015c23..."} 
[2026-06-18 16:20:30] local.INFO: Processing buffer {"connection_id":107654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5852d0012d1b3380072082980051015c23..."} 
[2026-06-18 16:20:30] local.INFO: Packet analysis {"connection_id":107654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:30] local.INFO: Extracted packet for processing {"connection_id":107654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135593216001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781779682000,"timestamp_ms":1781779682000,"timestamp_seconds":1781779682,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5852d0"} 
[2026-06-18 16:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":45,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3609783531949229056,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2713959082356827341,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513553946872185180,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2190999633,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":102,"raw_value":2684431643,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:30] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,190,174,45,128,130,81,34,10,66,92,36,1,240,218,32,4,113,205,102,51,152,35,239,48,2,11],"length":483,"final_offset":613,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:20:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047897442484224,"timestamp_seconds":5837047897442484.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107654,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135593216001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135593216001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:20:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135593216001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":107654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:20:30] local.INFO: GPS data processed {"connection_id":107654,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:20:30] local.INFO: Acknowledgment sent {"connection_id":107654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:20:35] local.INFO: TCP Data received {"connection_id":105915,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:20:35] local.INFO: Processing buffer {"connection_id":105915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:20:35] local.INFO: IMEI packet received {"connection_id":105915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":105915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:20:35] local.INFO: TCP Data received {"connection_id":107655,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda598768012d0aefc007066d88001100aa19..."} 
[2026-06-18 16:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda598768012d0aefc007066d88001100aa19..."} 
[2026-06-18 16:20:35] local.INFO: Processing buffer {"connection_id":107655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda598768012d0aefc007066d88001100aa19..."} 
[2026-06-18 16:20:35] local.INFO: Packet analysis {"connection_id":107655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:20:35] local.INFO: Extracted packet for processing {"connection_id":107655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:20:35] local.INFO: GPS Element Parsed {"raw_longitude":755691456,"raw_latitude":117861768,"longitude_deg":75.5691456,"latitude_deg":11.7861768,"altitude":17,"angle":170,"satellites":25,"speed":5,"hex_longitude":"2d0aefc0","hex_latitude":"07066d88","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:20:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135618304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21194950641188864,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787918858730014720,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,163,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:20:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781779761000,"timestamp_ms":1781779761000,"timestamp_seconds":1781779761,"priority":1,"record_length":96,"hex_timestamp":"0000019eda598768"} 
[2026-06-18 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-06-18 16:20: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-06-18 16:20:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 16:20:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:20:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:20:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:20:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:20:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107655,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:20:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:20:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:20:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:20:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135618304001,"66":14396,"163":206,"94":10240,"24":5,"16":21194950641188864,"45":787918858730014720},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,163,94,24,16,45]} 
[2026-06-18 16:20:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:20:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:20:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135618304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:20:35] local.INFO: Unknown IO ID detected {"io_id":163,"value":206,"description":"Unknown IO ID 163"} 
[2026-06-18 16:20:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:20:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21194950641188864,"km_value":21194950641188.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:20:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":787918858730014720,"description":"Unknown IO ID 45"} 
[2026-06-18 16:20:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135618304001,"power":14396,"unknown_163":206,"unknown_94":10240,"ignition":5,"odometer":null,"unknown_45":787918858730014720}} 
[2026-06-18 16:20:35] local.INFO: DEBUG: GPS processor result {"connection_id":107655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344890,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:20:35] local.INFO: GPS data processed {"connection_id":107655,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:20:35] local.INFO: Acknowledgment sent {"connection_id":107655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:20:36] local.INFO: TCP Data received {"connection_id":105915,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda58c418012cd79e4007364510000e01222d..."} 
[2026-06-18 16:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda58c418012cd79e4007364510000e01222d..."} 
[2026-06-18 16:20:36] local.INFO: Processing buffer {"connection_id":105915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda58c418012cd79e4007364510000e01222d..."} 
[2026-06-18 16:20:36] local.INFO: Packet analysis {"connection_id":105915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:36] local.INFO: Extracted packet for processing {"connection_id":105915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:36] local.INFO: GPS Element Parsed {"raw_longitude":752328256,"raw_latitude":120997136,"longitude_deg":75.2328256,"latitude_deg":12.0997136,"altitude":14,"angle":290,"satellites":45,"speed":36,"hex_longitude":"2cd79e40","hex_latitude":"07364510","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135603456001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318690718006640640,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2900107022819637248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781779711000,"timestamp_ms":1781779711000,"timestamp_seconds":1781779711,"priority":1,"record_length":96,"hex_timestamp":"0000019eda58c418"} 
[2026-06-18 16:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:20:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":217,"data_length":795,"current_offset":136} 
[2026-06-18 16:20: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-06-18 16: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-06-18 16:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135603456001,"66":27767,"90":206,"2":56832,"24":36,"16":318690718006640640,"44":-2900107022819637248},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,2,24,16,44]} 
[2026-06-18 16:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135603456001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:20:36] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 16:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318690718006640640,"km_value":318690718006640.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:20:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2900107022819637248,"description":"Unknown IO ID 44"} 
[2026-06-18 16:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135603456001,"power":27767,"unknown_90":206,"power_alt":56832,"ignition":36,"odometer":null,"unknown_44":-2900107022819637248}} 
[2026-06-18 16:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":105915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:20:36] local.INFO: GPS data processed {"connection_id":105915,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:20:36] local.INFO: Acknowledgment sent {"connection_id":105915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:20:44] local.INFO: TCP Data received {"connection_id":106688,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:20:44] local.INFO: Processing buffer {"connection_id":106688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:20:44] local.INFO: IMEI packet received {"connection_id":106688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":106688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:20:46] local.INFO: TCP Data received {"connection_id":106688,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:20:46] local.INFO: Processing buffer {"connection_id":106688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:20:46] local.INFO: IMEI packet received {"connection_id":106688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":106688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:20:53] local.INFO: TCP Data received {"connection_id":105917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:53] local.INFO: Processing buffer {"connection_id":105917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:53] local.INFO: IMEI packet received {"connection_id":105917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":105917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:20:54] local.INFO: TCP Data received {"connection_id":105917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:54] local.INFO: Processing buffer {"connection_id":105917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:54] local.INFO: IMEI packet received {"connection_id":105917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":105917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:20:55] local.INFO: TCP Data received {"connection_id":105917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:55] local.INFO: Processing buffer {"connection_id":105917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:55] local.INFO: IMEI packet received {"connection_id":105917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":105917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:20:56] local.INFO: TCP Data received {"connection_id":105917,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105917,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:56] local.INFO: Processing buffer {"connection_id":105917,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:20:56] local.INFO: IMEI packet received {"connection_id":105917,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":105917,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:20:58] local.INFO: TCP Data received {"connection_id":106688,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda58a4d8012d1b3380072082980051015c23..."} 
[2026-06-18 16:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda58a4d8012d1b3380072082980051015c23..."} 
[2026-06-18 16:20:58] local.INFO: Processing buffer {"connection_id":106688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda58a4d8012d1b3380072082980051015c23..."} 
[2026-06-18 16:20:58] local.INFO: Packet analysis {"connection_id":106688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:58] local.INFO: Extracted packet for processing {"connection_id":106688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":35,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135598592001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781779703000,"timestamp_ms":1781779703000,"timestamp_seconds":1781779703,"priority":1,"record_length":96,"hex_timestamp":"0000019eda58a4d8"} 
[2026-06-18 16:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:20:58] 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-06-18 16: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-06-18 16:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135598592001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135598592001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:20:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135598592001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":106688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:20:58] local.INFO: GPS data processed {"connection_id":106688,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:20:58] local.INFO: Acknowledgment sent {"connection_id":106688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:20:59] local.INFO: TCP Data received {"connection_id":106102,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda581838012d7c730005e990a8000300fd28..."} 
[2026-06-18 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda581838012d7c730005e990a8000300fd28..."} 
[2026-06-18 16:20:59] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda581838012d7c730005e990a8000300fd28..."} 
[2026-06-18 16:20:59] local.INFO: Packet analysis {"connection_id":106102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:59] local.INFO: Extracted packet for processing {"connection_id":106102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763130624,"raw_latitude":99193000,"longitude_deg":76.3130624,"latitude_deg":9.9193,"altitude":3,"angle":253,"satellites":40,"speed":0,"hex_longitude":"2d7c7300","hex_latitude":"05e990a8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135590400001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93910615273242624,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8968707577069359104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:20: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-06-18 16:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781779667000,"timestamp_ms":1781779667000,"timestamp_seconds":1781779667,"priority":1,"record_length":96,"hex_timestamp":"0000019eda581838"} 
[2026-06-18 16:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 16:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106102,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:20:59] 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-06-18 16:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135590400001,"66":13178,"192":206,"87":13824,"24":0,"16":93910615273242624,"45":8968707577069359104},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,87,24,16,45]} 
[2026-06-18 16:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135590400001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:20:59] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-06-18 16:20:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93910615273242624,"km_value":93910615273242.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8968707577069359104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135590400001,"power":13178,"unknown_192":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8968707577069359104}} 
[2026-06-18 16:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":106102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344893,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:20:59] local.INFO: GPS data processed {"connection_id":106102,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:20:59] local.INFO: Acknowledgment sent {"connection_id":106102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:21:09] local.INFO: TCP Data received {"connection_id":107656,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:09] local.INFO: Processing buffer {"connection_id":107656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:09] local.INFO: IMEI packet received {"connection_id":107656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":107656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:21:09] local.INFO: TCP Data received {"connection_id":105915,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda58eb28012cd77c4007365188000f01222c..."} 
[2026-06-18 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda58eb28012cd77c4007365188000f01222c..."} 
[2026-06-18 16:21:09] local.INFO: Processing buffer {"connection_id":105915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda58eb28012cd77c4007365188000f01222c..."} 
[2026-06-18 16:21:09] local.INFO: Packet analysis {"connection_id":105915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:21:09] local.INFO: Extracted packet for processing {"connection_id":105915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":752319552,"raw_latitude":121000328,"longitude_deg":75.2319552,"latitude_deg":12.1000328,"altitude":15,"angle":290,"satellites":44,"speed":35,"hex_longitude":"2cd77c40","hex_latitude":"07365188","is_valid_coordinates":true} 
[2026-06-18 16:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135606016001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318691160388272128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2909817909515317248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781779721000,"timestamp_ms":1781779721000,"timestamp_seconds":1781779721,"priority":1,"record_length":96,"hex_timestamp":"0000019eda58eb28"} 
[2026-06-18 16:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 16:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:21: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-06-18 16:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":105915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":105915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":105915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135606016001,"66":27974,"92":206,"2":56832,"24":35,"16":318691160388272128,"44":-2909817909515317248},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135606016001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:21:09] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318691160388272128,"km_value":318691160388272.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2909817909515317248,"description":"Unknown IO ID 44"} 
[2026-06-18 16:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135606016001,"power":27974,"unknown_92":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-2909817909515317248}} 
[2026-06-18 16:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":105915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:21:09] local.INFO: GPS data processed {"connection_id":105915,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:21:09] local.INFO: Acknowledgment sent {"connection_id":105915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:21:12] local.INFO: TCP Data received {"connection_id":107656,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107656,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:12] local.INFO: Processing buffer {"connection_id":107656,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:12] local.INFO: IMEI packet received {"connection_id":107656,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":107656,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:21:13] local.INFO: TCP Data received {"connection_id":107656,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5a42e8012d7b8d0005e93c580004010226..."} 
[2026-06-18 16:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5a42e8012d7b8d0005e93c580004010226..."} 
[2026-06-18 16:21:13] local.INFO: Processing buffer {"connection_id":107656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5a42e8012d7b8d0005e93c580004010226..."} 
[2026-06-18 16:21:13] local.INFO: Packet analysis {"connection_id":107656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:21:13] local.INFO: Extracted packet for processing {"connection_id":107656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:21:13] local.INFO: GPS Element Parsed {"raw_longitude":763071744,"raw_latitude":99171416,"longitude_deg":76.3071744,"latitude_deg":9.9171416,"altitude":4,"angle":258,"satellites":38,"speed":6,"hex_longitude":"2d7b8d00","hex_latitude":"05e93c58","is_valid_coordinates":true} 
[2026-06-18 16:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135627008001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93913643225186304,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8905305338559850496,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:13] 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-06-18 16:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781779809000,"timestamp_ms":1781779809000,"timestamp_seconds":1781779809,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5a42e8"} 
[2026-06-18 16:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 16:21:13] 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-06-18 16:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107656,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135627008001,"66":13015,"9":206,"87":13824,"24":6,"16":93913643225186304,"45":8905305338559850496},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,9,87,24,16,45]} 
[2026-06-18 16:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135627008001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:21:13] local.INFO: Unknown IO ID detected {"io_id":9,"value":206,"description":"Unknown IO ID 9"} 
[2026-06-18 16:21:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93913643225186304,"km_value":93913643225186.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8905305338559850496,"description":"Unknown IO ID 45"} 
[2026-06-18 16:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135627008001,"power":13015,"unknown_9":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8905305338559850496}} 
[2026-06-18 16:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":107656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344895,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:21:13] local.INFO: GPS data processed {"connection_id":107656,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:21:13] local.INFO: Acknowledgment sent {"connection_id":107656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:21:29] local.INFO: TCP Data received {"connection_id":106688,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda58f6e0012d1b3380072082980051015c22..."} 
[2026-06-18 16:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda58f6e0012d1b3380072082980051015c22..."} 
[2026-06-18 16:21:29] local.INFO: Processing buffer {"connection_id":106688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda58f6e0012d1b3380072082980051015c22..."} 
[2026-06-18 16:21:29] local.INFO: Packet analysis {"connection_id":106688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:21:29] local.INFO: Extracted packet for processing {"connection_id":106688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":34,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135603968001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781779724000,"timestamp_ms":1781779724000,"timestamp_seconds":1781779724,"priority":1,"record_length":96,"hex_timestamp":"0000019eda58f6e0"} 
[2026-06-18 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-06-18 16:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:21:29] 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-06-18 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-06-18 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-06-18 16:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135603968001,"66":12298,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135603968001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:21:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:21:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135603968001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":106688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:21:30] local.INFO: GPS data processed {"connection_id":106688,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:21:30] local.INFO: Acknowledgment sent {"connection_id":106688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:21:30] local.INFO: TCP Data received {"connection_id":107657,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:21:30] local.INFO: Processing buffer {"connection_id":107657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:21:30] local.INFO: IMEI packet received {"connection_id":107657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":107657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:21:35] local.INFO: TCP Data received {"connection_id":107657,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:21:35] local.INFO: Processing buffer {"connection_id":107657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:21:35] local.INFO: IMEI packet received {"connection_id":107657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":107657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:21:36] local.INFO: TCP Data received {"connection_id":107658,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:36] local.INFO: Processing buffer {"connection_id":107658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:36] local.INFO: IMEI packet received {"connection_id":107658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:21:36] local.INFO: IMEI acknowledgment sent {"connection_id":107658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:21:36] local.INFO: TCP Data received {"connection_id":107657,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda591238012cd75b0007365de8001001222d..."} 
[2026-06-18 16:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda591238012cd75b0007365de8001001222d..."} 
[2026-06-18 16:21:36] local.INFO: Processing buffer {"connection_id":107657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda591238012cd75b0007365de8001001222d..."} 
[2026-06-18 16:21:36] local.INFO: Packet analysis {"connection_id":107657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:21:36] local.INFO: Extracted packet for processing {"connection_id":107657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":752311040,"raw_latitude":121003496,"longitude_deg":75.231104,"latitude_deg":12.1003496,"altitude":16,"angle":290,"satellites":45,"speed":35,"hex_longitude":"2cd75b00","hex_latitude":"07365de8","is_valid_coordinates":true} 
[2026-06-18 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135608576001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318691589885001728,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2919388058722662400,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781779731000,"timestamp_ms":1781779731000,"timestamp_seconds":1781779731,"priority":1,"record_length":96,"hex_timestamp":"0000019eda591238"} 
[2026-06-18 16:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 16:21: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-06-18 16:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135608576001,"66":27919,"92":206,"2":56832,"24":35,"16":318691589885001728,"44":-2919388058722662400},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135608576001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:21:36] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318691589885001728,"km_value":318691589885001.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:21:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2919388058722662400,"description":"Unknown IO ID 44"} 
[2026-06-18 16:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135608576001,"power":27919,"unknown_92":206,"power_alt":56832,"ignition":35,"odometer":null,"unknown_44":-2919388058722662400}} 
[2026-06-18 16:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":107657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:21:36] local.INFO: GPS data processed {"connection_id":107657,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:21:36] local.INFO: Acknowledgment sent {"connection_id":107657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:21:39] local.INFO: TCP Data received {"connection_id":107658,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107658,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:39] local.INFO: Processing buffer {"connection_id":107658,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:21:39] local.INFO: IMEI packet received {"connection_id":107658,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:21:39] local.INFO: IMEI acknowledgment sent {"connection_id":107658,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:21:39] local.INFO: TCP Data received {"connection_id":107658,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5a9108012d7b830005e93ac8000201071f..."} 
[2026-06-18 16:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5a9108012d7b830005e93ac8000201071f..."} 
[2026-06-18 16:21:39] local.INFO: Processing buffer {"connection_id":107658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5a9108012d7b830005e93ac8000201071f..."} 
[2026-06-18 16:21:39] local.INFO: Packet analysis {"connection_id":107658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:21:39] local.INFO: Extracted packet for processing {"connection_id":107658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:21:39] local.INFO: GPS Element Parsed {"raw_longitude":763069184,"raw_latitude":99171016,"longitude_deg":76.3069184,"latitude_deg":9.9171016,"altitude":2,"angle":263,"satellites":31,"speed":0,"hex_longitude":"2d7b8300","hex_latitude":"05e93ac8","is_valid_coordinates":true} 
[2026-06-18 16:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135631104001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93913767779237888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8902772063769221120,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781779829000,"timestamp_ms":1781779829000,"timestamp_seconds":1781779829,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5a9108"} 
[2026-06-18 16:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 16:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135631104001,"66":13037,"181":206,"87":13824,"24":0,"16":93913767779237888,"45":8902772063769221120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-06-18 16:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135631104001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:21:39] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-06-18 16:21:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93913767779237888,"km_value":93913767779237.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8902772063769221120,"description":"Unknown IO ID 45"} 
[2026-06-18 16:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135631104001,"power":13037,"unknown_181":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8902772063769221120}} 
[2026-06-18 16:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":107658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:21:39] local.INFO: GPS data processed {"connection_id":107658,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:21:39] local.INFO: Acknowledgment sent {"connection_id":107658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:21:44] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:21:44] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:21:44] local.INFO: IMEI packet received {"connection_id":105918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":105918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:21:45] local.INFO: TCP Data received {"connection_id":107658,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5ad758012d7b7e8005e93a38000300f629..."} 
[2026-06-18 16:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5ad758012d7b7e8005e93a38000300f629..."} 
[2026-06-18 16:21:45] local.INFO: Processing buffer {"connection_id":107658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5ad758012d7b7e8005e93a38000300f629..."} 
[2026-06-18 16:21:45] local.INFO: Packet analysis {"connection_id":107658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:21:45] local.INFO: Extracted packet for processing {"connection_id":107658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":763068032,"raw_latitude":99170872,"longitude_deg":76.3068032,"latitude_deg":9.9170872,"altitude":3,"angle":246,"satellites":41,"speed":11,"hex_longitude":"2d7b7e80","hex_latitude":"05e93a38","is_valid_coordinates":true} 
[2026-06-18 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:21:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135636224001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93913823613812736,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8899957314002012160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:21:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781779847000,"timestamp_ms":1781779847000,"timestamp_seconds":1781779847,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5ad758"} 
[2026-06-18 16:21:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:21:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:21:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 16:21:45] 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-06-18 16:21:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:21:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:21:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:21:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:21:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:21:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107658,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:21:45] 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-06-18 16:21:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:21:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:21:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135636224001,"66":13319,"181":206,"87":13824,"24":11,"16":93913823613812736,"45":8899957314002012160},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,87,24,16,45]} 
[2026-06-18 16:21:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:21:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:21:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135636224001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:21:45] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-06-18 16:21:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:21:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93913823613812736,"km_value":93913823613812.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:21:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8899957314002012160,"description":"Unknown IO ID 45"} 
[2026-06-18 16:21:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135636224001,"power":13319,"unknown_181":206,"unknown_87":13824,"ignition":11,"odometer":null,"unknown_45":8899957314002012160}} 
[2026-06-18 16:21:45] local.INFO: DEBUG: GPS processor result {"connection_id":107658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344899,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:21:45] local.INFO: GPS data processed {"connection_id":107658,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:21:45] local.INFO: Acknowledgment sent {"connection_id":107658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:21:48] local.INFO: TCP Data received {"connection_id":107659,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:21:48] local.INFO: Processing buffer {"connection_id":107659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:21:48] local.INFO: IMEI packet received {"connection_id":107659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":107659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:21:50] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:21:50] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:21:50] local.INFO: IMEI packet received {"connection_id":105918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":105918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:21:51] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5948e8012d1b3380072082980051015c21..."} 
[2026-06-18 16:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5948e8012d1b3380072082980051015c21..."} 
[2026-06-18 16:21:51] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5948e8012d1b3380072082980051015c21..."} 
[2026-06-18 16:21:51] local.INFO: Packet analysis {"connection_id":105918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:21:51] local.INFO: Extracted packet for processing {"connection_id":105918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":33,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135609344001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781779745000,"timestamp_ms":1781779745000,"timestamp_seconds":1781779745,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5948e8"} 
[2026-06-18 16:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:21:51] 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-06-18 16:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2713778693730395341,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2017612633061982209,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513553946872185180,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":81,"raw_value":97991774802280448,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939410126,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2190999633,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3087084827,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:21:51] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,190,164,45,128,130,81,35,10,66,82,1,240,6,218,32,4,113,205,92,51,152,36,239,47,2,11,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:21:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047893147516928,"timestamp_seconds":5837047893147517.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135609344001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135609344001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:21:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:21:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135609344001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":105918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:21:51] local.INFO: GPS data processed {"connection_id":105918,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:21:51] local.INFO: Acknowledgment sent {"connection_id":105918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:22:07] local.INFO: TCP Data received {"connection_id":107657,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda593948012cd73a8007366bb0001001292c..."} 
[2026-06-18 16:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda593948012cd73a8007366bb0001001292c..."} 
[2026-06-18 16:22:07] local.INFO: Processing buffer {"connection_id":107657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda593948012cd73a8007366bb0001001292c..."} 
[2026-06-18 16:22:07] local.INFO: Packet analysis {"connection_id":107657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:22:07] local.INFO: Extracted packet for processing {"connection_id":107657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":752302720,"raw_latitude":121007024,"longitude_deg":75.230272,"latitude_deg":12.1007024,"altitude":16,"angle":297,"satellites":44,"speed":34,"hex_longitude":"2cd73a80","hex_latitude":"07366bb0","is_valid_coordinates":true} 
[2026-06-18 16:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135611136001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318692019381731328,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2928747101697480704,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781779741000,"timestamp_ms":1781779741000,"timestamp_seconds":1781779741,"priority":1,"record_length":96,"hex_timestamp":"0000019eda593948"} 
[2026-06-18 16:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:22:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 16:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:22:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:22:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135611136001,"66":28082,"92":206,"2":56832,"24":34,"16":318692019381731328,"44":-2928747101697480704},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135611136001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:22:07] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318692019381731328,"km_value":318692019381731.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:22:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2928747101697480704,"description":"Unknown IO ID 44"} 
[2026-06-18 16:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135611136001,"power":28082,"unknown_92":206,"power_alt":56832,"ignition":34,"odometer":null,"unknown_44":-2928747101697480704}} 
[2026-06-18 16:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":107657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:22:07] local.INFO: GPS data processed {"connection_id":107657,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:22:07] local.INFO: Acknowledgment sent {"connection_id":107657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:22:23] local.INFO: TCP Data received {"connection_id":105918,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda599af0012d1b3380072082980051015c20..."} 
[2026-06-18 16:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda599af0012d1b3380072082980051015c20..."} 
[2026-06-18 16:22:23] local.INFO: Processing buffer {"connection_id":105918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda599af0012d1b3380072082980051015c20..."} 
[2026-06-18 16:22:23] local.INFO: Packet analysis {"connection_id":105918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:22:23] local.INFO: Extracted packet for processing {"connection_id":105918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:22:23] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":32,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135614720001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781779766000,"timestamp_ms":1781779766000,"timestamp_seconds":1781779766,"priority":1,"record_length":96,"hex_timestamp":"0000019eda599af0"} 
[2026-06-18 16:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:22: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-06-18 16:22:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:22:23] 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-06-18 16:22:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":105918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":105918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":105918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135614720001,"66":12298,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135614720001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:22:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:22:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135614720001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":105918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344902,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:22:23] local.INFO: GPS data processed {"connection_id":105918,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:22:23] local.INFO: Acknowledgment sent {"connection_id":105918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:22:25] local.INFO: TCP Data received {"connection_id":107660,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:25] local.INFO: Processing buffer {"connection_id":107660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:25] local.INFO: IMEI packet received {"connection_id":107660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":107660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:22:27] local.INFO: TCP Data received {"connection_id":107660,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:27] local.INFO: Processing buffer {"connection_id":107660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:27] local.INFO: IMEI packet received {"connection_id":107660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":107660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:22:30] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:22:30] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:22:30] local.INFO: IMEI packet received {"connection_id":106104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:22:30] local.INFO: IMEI acknowledgment sent {"connection_id":106104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:22:33] local.INFO: TCP Data received {"connection_id":107660,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:33] local.INFO: Processing buffer {"connection_id":107660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:22:33] local.INFO: IMEI packet received {"connection_id":107660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":107660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:22:34] local.INFO: TCP Data received {"connection_id":107660,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5954a0012cd724c007367778000f012c2e..."} 
[2026-06-18 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5954a0012cd724c007367778000f012c2e..."} 
[2026-06-18 16:22:34] local.INFO: Processing buffer {"connection_id":107660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5954a0012cd724c007367778000f012c2e..."} 
[2026-06-18 16:22:34] local.INFO: Packet analysis {"connection_id":107660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:22:34] local.INFO: Extracted packet for processing {"connection_id":107660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":752297152,"raw_latitude":121010040,"longitude_deg":75.2297152,"latitude_deg":12.101004,"altitude":15,"angle":300,"satellites":46,"speed":36,"hex_longitude":"2cd724c0","hex_latitude":"07367778","is_valid_coordinates":true} 
[2026-06-18 16:22: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-06-18 16:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135613696001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318692324324409344,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2937895038439673856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781779748000,"timestamp_ms":1781779748000,"timestamp_seconds":1781779748,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5954a0"} 
[2026-06-18 16:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:22:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:22:34] 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-06-18 16: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-06-18 16:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135613696001,"66":28093,"92":206,"2":56832,"24":36,"16":318692324324409344,"44":-2937895038439673856},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135613696001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:22:34] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318692324324409344,"km_value":318692324324409.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:22:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2937895038439673856,"description":"Unknown IO ID 44"} 
[2026-06-18 16:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135613696001,"power":28093,"unknown_92":206,"power_alt":56832,"ignition":36,"odometer":null,"unknown_44":-2937895038439673856}} 
[2026-06-18 16:22:34] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:22:34] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:22:34] local.INFO: IMEI packet received {"connection_id":106104,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":106104,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":107660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:22:34] local.INFO: GPS data processed {"connection_id":107660,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:22:34] local.INFO: Acknowledgment sent {"connection_id":107660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:22:35] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5bd928012d7b4bc005e92dc0000600c726..."} 
[2026-06-18 16:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5bd928012d7b4bc005e92dc0000600c726..."} 
[2026-06-18 16:22:35] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5bd928012d7b4bc005e92dc0000600c726..."} 
[2026-06-18 16:22:35] local.INFO: Packet analysis {"connection_id":106104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:22:35] local.INFO: Extracted packet for processing {"connection_id":106104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:22:35] local.INFO: GPS Element Parsed {"raw_longitude":763055040,"raw_latitude":99167680,"longitude_deg":76.305504,"latitude_deg":9.916768,"altitude":6,"angle":199,"satellites":38,"speed":5,"hex_longitude":"2d7b4bc0","hex_latitude":"05e92dc0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135657472001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93914476448841728,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884476190282100736,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22: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-06-18 16:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781779913000,"timestamp_ms":1781779913000,"timestamp_seconds":1781779913,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5bd928"} 
[2026-06-18 16:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:22: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-06-18 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 16:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:22:35] 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-06-18 16:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135657472001,"66":12602,"201":206,"87":13824,"24":5,"16":93914476448841728,"45":8884476190282100736},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 16:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135657472001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:22:35] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 16:22:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93914476448841728,"km_value":93914476448841.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884476190282100736,"description":"Unknown IO ID 45"} 
[2026-06-18 16:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135657472001,"power":12602,"unknown_201":206,"unknown_87":13824,"ignition":5,"odometer":null,"unknown_45":8884476190282100736}} 
[2026-06-18 16:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":106104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344904,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:22:35] local.INFO: GPS data processed {"connection_id":106104,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:22:35] local.INFO: Acknowledgment sent {"connection_id":106104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:22:35] local.INFO: TCP Data received {"connection_id":107660,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5ac3d0012cd6f68007369978000b01302d..."} 
[2026-06-18 16:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5ac3d0012cd6f68007369978000b01302d..."} 
[2026-06-18 16:22:35] local.INFO: Processing buffer {"connection_id":107660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5ac3d0012cd6f68007369978000b01302d..."} 
[2026-06-18 16:22:35] local.INFO: Packet analysis {"connection_id":107660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:22:35] local.INFO: Extracted packet for processing {"connection_id":107660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:22:35] local.INFO: GPS Element Parsed {"raw_longitude":752285312,"raw_latitude":121018744,"longitude_deg":75.2285312,"latitude_deg":12.1018744,"altitude":11,"angle":304,"satellites":45,"speed":0,"hex_longitude":"2cd6f680","hex_latitude":"07369978","is_valid_coordinates":true} 
[2026-06-18 16:22: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-06-18 16:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135615488001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318692324324409344,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2944017119182358528,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781779842000,"timestamp_ms":1781779842000,"timestamp_seconds":1781779842,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5ac3d0"} 
[2026-06-18 16:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-06-18 16:22:35] 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-06-18 16: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-06-18 16:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135615488001,"66":26560,"92":206,"2":56832,"24":0,"16":318692324324409344,"44":-2944017119182358528},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135615488001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:22:35] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318692324324409344,"km_value":318692324324409.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:22:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2944017119182358528,"description":"Unknown IO ID 44"} 
[2026-06-18 16:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135615488001,"power":26560,"unknown_92":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2944017119182358528}} 
[2026-06-18 16:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":107660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:22:35] local.INFO: GPS data processed {"connection_id":107660,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:22:35] local.INFO: Acknowledgment sent {"connection_id":107660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:22:38] local.INFO: TCP Data received {"connection_id":105919,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:22:38] local.INFO: Processing buffer {"connection_id":105919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:22:38] local.INFO: IMEI packet received {"connection_id":105919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":105919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:22:44] local.INFO: TCP Data received {"connection_id":105920,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:22:44] local.INFO: Processing buffer {"connection_id":105920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:22:44] local.INFO: IMEI packet received {"connection_id":105920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":105920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:22:49] local.INFO: TCP Data received {"connection_id":105920,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:22:49] local.INFO: Processing buffer {"connection_id":105920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:22:49] local.INFO: IMEI packet received {"connection_id":105920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":105920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:22:51] local.INFO: TCP Data received {"connection_id":105920,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda59ecf8012d1b3380072082980051015c1e..."} 
[2026-06-18 16:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda59ecf8012d1b3380072082980051015c1e..."} 
[2026-06-18 16:22:51] local.INFO: Processing buffer {"connection_id":105920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda59ecf8012d1b3380072082980051015c1e..."} 
[2026-06-18 16:22:51] local.INFO: Packet analysis {"connection_id":105920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:22:51] local.INFO: Extracted packet for processing {"connection_id":105920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda59"} 
[2026-06-18 16:22:51] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":30,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135620096001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:22:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781779787000,"timestamp_ms":1781779787000,"timestamp_seconds":1781779787,"priority":1,"record_length":96,"hex_timestamp":"0000019eda59ecf8"} 
[2026-06-18 16:22:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:22:51] 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-06-18 16:22:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2713598305103963341,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2017612633061982209,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513553946872185180,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":81,"raw_value":97990675290652672,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147939410126,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57345,"corrected_to":0} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2190999633,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:22:51] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,190,72,45,128,130,81,33,10,66,246,34,164,1,240,255,218,32,4,113,205,51,152,35,239,2,11,7,36],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":246,"original":57345,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:22:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047884557582336,"timestamp_seconds":5837047884557582.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:22:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:22:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:22:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:22:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:22:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:22:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:22:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:22:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:22:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135620096001,"66":12298,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:22:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:22:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:22:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135620096001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:22:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:22:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:22:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:22:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:22:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135620096001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:22:51] local.INFO: DEBUG: GPS processor result {"connection_id":105920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:22:51] local.INFO: GPS data processed {"connection_id":105920,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:22:51] local.INFO: Acknowledgment sent {"connection_id":105920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:23:06] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5be0f8012d7b4ac005e92c38000600b728..."} 
[2026-06-18 16:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5be0f8012d7b4ac005e92c38000600b728..."} 
[2026-06-18 16:23:06] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5be0f8012d7b4ac005e92c38000600b728..."} 
[2026-06-18 16:23:06] local.INFO: Packet analysis {"connection_id":106104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:23:06] local.INFO: Extracted packet for processing {"connection_id":106104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763054784,"raw_latitude":99167288,"longitude_deg":76.3054784,"latitude_deg":9.9167288,"altitude":6,"angle":183,"satellites":40,"speed":9,"hex_longitude":"2d7b4ac0","hex_latitude":"05e92c38","is_valid_coordinates":true} 
[2026-06-18 16:23: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-06-18 16:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135657728001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93914497923678208,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884405821537894400,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:06] 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-06-18 16:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781779915000,"timestamp_ms":1781779915000,"timestamp_seconds":1781779915,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5be0f8"} 
[2026-06-18 16:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:23: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":58,"data_length":795,"current_offset":136} 
[2026-06-18 16:23:06] 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-06-18 16:23: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-06-18 16:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106104,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:23:06] 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-06-18 16:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135657728001,"66":13037,"201":206,"87":13824,"24":9,"16":93914497923678208,"45":8884405821537894400},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 16:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135657728001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:23:06] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 16:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93914497923678208,"km_value":93914497923678.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884405821537894400,"description":"Unknown IO ID 45"} 
[2026-06-18 16:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135657728001,"power":13037,"unknown_201":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8884405821537894400}} 
[2026-06-18 16:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":106104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:23:06] local.INFO: GPS data processed {"connection_id":106104,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:23:06] local.INFO: Acknowledgment sent {"connection_id":106104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:23:07] local.INFO: TCP Data received {"connection_id":107660,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5b2578012cd6eec00736a058000b01392e..."} 
[2026-06-18 16:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5b2578012cd6eec00736a058000b01392e..."} 
[2026-06-18 16:23:07] local.INFO: Processing buffer {"connection_id":107660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5b2578012cd6eec00736a058000b01392e..."} 
[2026-06-18 16:23:07] local.INFO: Packet analysis {"connection_id":107660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:23:07] local.INFO: Extracted packet for processing {"connection_id":107660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":752283328,"raw_latitude":121020504,"longitude_deg":75.2283328,"latitude_deg":12.1020504,"altitude":11,"angle":313,"satellites":46,"speed":0,"hex_longitude":"2cd6eec0","hex_latitude":"0736a058","is_valid_coordinates":true} 
[2026-06-18 16:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135639552001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318692324324409344,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2957035336852998144,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781779867000,"timestamp_ms":1781779867000,"timestamp_seconds":1781779867,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5b2578"} 
[2026-06-18 16:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:23:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-06-18 16:23:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:23:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135639552001,"66":27974,"92":206,"2":56832,"24":0,"16":318692324324409344,"44":-2957035336852998144},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135639552001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:23:07] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318692324324409344,"km_value":318692324324409.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:23:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2957035336852998144,"description":"Unknown IO ID 44"} 
[2026-06-18 16:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135639552001,"power":27974,"unknown_92":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2957035336852998144}} 
[2026-06-18 16:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":107660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:23:07] local.INFO: GPS data processed {"connection_id":107660,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:23:07] local.INFO: Acknowledgment sent {"connection_id":107660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:23:22] local.INFO: TCP Data received {"connection_id":105920,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5a3f00012d1b3380072082980051015c20..."} 
[2026-06-18 16:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5a3f00012d1b3380072082980051015c20..."} 
[2026-06-18 16:23:22] local.INFO: Processing buffer {"connection_id":105920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5a3f00012d1b3380072082980051015c20..."} 
[2026-06-18 16:23:22] local.INFO: Packet analysis {"connection_id":105920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:23:22] local.INFO: Extracted packet for processing {"connection_id":105920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:23:22] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":32,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135625472001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781779808000,"timestamp_ms":1781779808000,"timestamp_seconds":1781779808,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5a3f00"} 
[2026-06-18 16:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:23:22] 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-06-18 16:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2713508110790747341,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2017612633061982209,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":128,"raw_value":513553946872185180,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":81,"raw_value":97991774802280448,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2190999633,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832565,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3244281465918783694,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":57345,"corrected_to":0} 
[2026-06-18 16:23:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3489738011,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2147950722,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":47,"raw_value":4278242791,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3189506048,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:22] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,190,154,45,128,130,81,32,10,66,72,33,246,1,240,218,4,113,205,82,51,152,35,239,47,2,11,7,34],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":246,"original":57345,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:23:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5837047875967647744,"timestamp_seconds":5837047875967648.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135625472001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135625472001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:23:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:23:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135625472001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:23:23] local.INFO: DEBUG: GPS processor result {"connection_id":105920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:23:23] local.INFO: GPS data processed {"connection_id":105920,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:23:23] local.INFO: Acknowledgment sent {"connection_id":105920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:23:28] local.INFO: TCP Data received {"connection_id":107661,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:28] local.INFO: Processing buffer {"connection_id":107661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:28] local.INFO: IMEI packet received {"connection_id":107661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":107661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:23:29] local.INFO: TCP Data received {"connection_id":107661,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:29] local.INFO: Processing buffer {"connection_id":107661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:29] local.INFO: IMEI packet received {"connection_id":107661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":107661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:23:30] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:23:30] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:23:30] local.INFO: IMEI packet received {"connection_id":105922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":105922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:23:32] local.INFO: TCP Data received {"connection_id":107661,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107661,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:32] local.INFO: Processing buffer {"connection_id":107661,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:23:32] local.INFO: IMEI packet received {"connection_id":107661,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":107661,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:23:33] local.INFO: TCP Data received {"connection_id":107661,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5c1f78012d7b4cc005e90be0000500ac26..."} 
[2026-06-18 16:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5c1f78012d7b4cc005e90be0000500ac26..."} 
[2026-06-18 16:23:33] local.INFO: Processing buffer {"connection_id":107661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5c1f78012d7b4cc005e90be0000500ac26..."} 
[2026-06-18 16:23:33] local.INFO: Packet analysis {"connection_id":107661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:23:33] local.INFO: Extracted packet for processing {"connection_id":107661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763055296,"raw_latitude":99159008,"longitude_deg":76.3055296,"latitude_deg":9.9159008,"altitude":5,"angle":172,"satellites":38,"speed":28,"hex_longitude":"2d7b4cc0","hex_latitude":"05e90be0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135658240001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93914901650604032,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884124346561083392,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:33] 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-06-18 16:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781779931000,"timestamp_ms":1781779931000,"timestamp_seconds":1781779931,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5c1f78"} 
[2026-06-18 16:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16: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-06-18 16: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-06-18 16:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:23:33] 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-06-18 16:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:23:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:23:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135658240001,"66":13178,"201":206,"87":13824,"24":28,"16":93914901650604032,"45":8884124346561083392},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 16:23:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:23:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:23:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135658240001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:23:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 16:23:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:23:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93914901650604032,"km_value":93914901650604.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:23:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884124346561083392,"description":"Unknown IO ID 45"} 
[2026-06-18 16:23:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135658240001,"power":13178,"unknown_201":206,"unknown_87":13824,"ignition":28,"odometer":null,"unknown_45":8884124346561083392}} 
[2026-06-18 16:23:34] local.INFO: DEBUG: GPS processor result {"connection_id":107661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344910,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:23:34] local.INFO: GPS data processed {"connection_id":107661,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:23:34] local.INFO: Acknowledgment sent {"connection_id":107661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:23:35] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:23:35] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:23:35] local.INFO: IMEI packet received {"connection_id":105922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":105922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:23:37] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5b7780012cd6edc00736a1b0001001392f..."} 
[2026-06-18 16:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5b7780012cd6edc00736a1b0001001392f..."} 
[2026-06-18 16:23:37] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5b7780012cd6edc00736a1b0001001392f..."} 
[2026-06-18 16:23:37] local.INFO: Packet analysis {"connection_id":105922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:23:37] local.INFO: Extracted packet for processing {"connection_id":105922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":752283072,"raw_latitude":121020848,"longitude_deg":75.2283072,"latitude_deg":12.1020848,"altitude":16,"angle":313,"satellites":47,"speed":5,"hex_longitude":"2cd6edc0","hex_latitude":"0736a1b0","is_valid_coordinates":true} 
[2026-06-18 16:23:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135645952001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318692341504278528,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2959216767922055168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781779888000,"timestamp_ms":1781779888000,"timestamp_seconds":1781779888,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5b7780"} 
[2026-06-18 16:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 16:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135645952001,"66":27865,"92":206,"2":56832,"24":5,"16":318692341504278528,"44":-2959216767922055168},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135645952001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:23:37] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318692341504278528,"km_value":318692341504278.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:23:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2959216767922055168,"description":"Unknown IO ID 44"} 
[2026-06-18 16:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135645952001,"power":27865,"unknown_92":206,"power_alt":56832,"ignition":5,"odometer":null,"unknown_44":-2959216767922055168}} 
[2026-06-18 16:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":105922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:23:37] local.INFO: GPS data processed {"connection_id":105922,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:23:37] local.INFO: Acknowledgment sent {"connection_id":105922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:23:38] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5bc5a0012cd6d5c00736bb38000e013d2d..."} 
[2026-06-18 16:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5bc5a0012cd6d5c00736bb38000e013d2d..."} 
[2026-06-18 16:23:38] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5bc5a0012cd6d5c00736bb38000e013d2d..."} 
[2026-06-18 16:23:38] local.INFO: Packet analysis {"connection_id":105922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:23:38] local.INFO: Extracted packet for processing {"connection_id":105922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":752276928,"raw_latitude":121027384,"longitude_deg":75.2276928,"latitude_deg":12.1027384,"altitude":14,"angle":317,"satellites":45,"speed":22,"hex_longitude":"2cd6d5c0","hex_latitude":"0736bb38","is_valid_coordinates":true} 
[2026-06-18 16:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135651328001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318692775295975424,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2959498242898677760,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781779908000,"timestamp_ms":1781779908000,"timestamp_seconds":1781779908,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5bc5a0"} 
[2026-06-18 16:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 16:23: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-06-18 16:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135651328001,"66":27745,"92":206,"2":56832,"24":22,"16":318692775295975424,"44":-2959498242898677760},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135651328001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:23:38] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318692775295975424,"km_value":318692775295975.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:23:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2959498242898677760,"description":"Unknown IO ID 44"} 
[2026-06-18 16:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135651328001,"power":27745,"unknown_92":206,"power_alt":56832,"ignition":22,"odometer":null,"unknown_44":-2959498242898677760}} 
[2026-06-18 16:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":105922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:23:38] local.INFO: GPS data processed {"connection_id":105922,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:23:38] local.INFO: Acknowledgment sent {"connection_id":105922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:23:45] local.INFO: TCP Data received {"connection_id":106689,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:23:45] local.INFO: Processing buffer {"connection_id":106689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:23:45] local.INFO: IMEI packet received {"connection_id":106689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":106689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:23:50] local.INFO: TCP Data received {"connection_id":106689,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:23:50] local.INFO: Processing buffer {"connection_id":106689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:23:50] local.INFO: IMEI packet received {"connection_id":106689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":106689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:23:51] local.INFO: TCP Data received {"connection_id":106689,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5a9108012d1b3380072082980051015c21..."} 
[2026-06-18 16:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5a9108012d1b3380072082980051015c21..."} 
[2026-06-18 16:23:51] local.INFO: Processing buffer {"connection_id":106689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5a9108012d1b3380072082980051015c21..."} 
[2026-06-18 16:23:51] local.INFO: Packet analysis {"connection_id":106689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:23:51] local.INFO: Extracted packet for processing {"connection_id":106689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5a"} 
[2026-06-18 16:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756757376,"raw_latitude":119571096,"longitude_deg":75.6757376,"latitude_deg":11.9571096,"altitude":81,"angle":348,"satellites":33,"speed":0,"hex_longitude":"2d1b3380","hex_latitude":"07208298","is_valid_coordinates":true} 
[2026-06-18 16:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135630848001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305252212178944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960051030934853632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781779829000,"timestamp_ms":1781779829000,"timestamp_seconds":1781779829,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5a9108"} 
[2026-06-18 16:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:23:51] 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-06-18 16:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 16:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135630848001,"66":12287,"121":206,"28":31744,"24":0,"16":3305252212178944,"45":1960051030934853632},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135630848001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:23:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:23:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305252212178944,"km_value":3305252212178.944,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960051030934853632,"description":"Unknown IO ID 45"} 
[2026-06-18 16:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135630848001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1960051030934853632}} 
[2026-06-18 16:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":106689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:23:51] local.INFO: GPS data processed {"connection_id":106689,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:23:51] local.INFO: Acknowledgment sent {"connection_id":106689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:24:10] local.INFO: TCP Data received {"connection_id":105922,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5becb0012cd6c5000736caf8000c01302c..."} 
[2026-06-18 16:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5becb0012cd6c5000736caf8000c01302c..."} 
[2026-06-18 16:24:10] local.INFO: Processing buffer {"connection_id":105922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5becb0012cd6c5000736caf8000c01302c..."} 
[2026-06-18 16:24:10] local.INFO: Packet analysis {"connection_id":105922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:24:10] local.INFO: Extracted packet for processing {"connection_id":105922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5b"} 
[2026-06-18 16:24:10] local.INFO: GPS Element Parsed {"raw_longitude":752272640,"raw_latitude":121031416,"longitude_deg":75.227264,"latitude_deg":12.1031416,"altitude":12,"angle":304,"satellites":44,"speed":24,"hex_longitude":"2cd6c500","hex_latitude":"0736caf8","is_valid_coordinates":true} 
[2026-06-18 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135656448001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318693058763816960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2966253642338060288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781779918000,"timestamp_ms":1781779918000,"timestamp_seconds":1781779918,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5becb0"} 
[2026-06-18 16:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:24:10] 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-06-18 16:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 16:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135656448001,"66":27876,"92":206,"2":56832,"24":24,"16":318693058763816960,"44":-2966253642338060288},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135656448001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:24:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318693058763816960,"km_value":318693058763816.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:24:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2966253642338060288,"description":"Unknown IO ID 44"} 
[2026-06-18 16:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135656448001,"power":27876,"unknown_92":206,"power_alt":56832,"ignition":24,"odometer":null,"unknown_44":-2966253642338060288}} 
[2026-06-18 16:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":105922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:24:10] local.INFO: GPS data processed {"connection_id":105922,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:24:10] local.INFO: Acknowledgment sent {"connection_id":105922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:24:22] local.INFO: TCP Data received {"connection_id":107661,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5c4e58012d7b510005e8e768000400ad27..."} 
[2026-06-18 16:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5c4e58012d7b510005e8e768000400ad27..."} 
[2026-06-18 16:24:22] local.INFO: Processing buffer {"connection_id":107661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5c4e58012d7b510005e8e768000400ad27..."} 
[2026-06-18 16:24:22] local.INFO: Packet analysis {"connection_id":107661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:24:22] local.INFO: Extracted packet for processing {"connection_id":107661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:24:22] local.INFO: GPS Element Parsed {"raw_longitude":763056384,"raw_latitude":99149672,"longitude_deg":76.3056384,"latitude_deg":9.9149672,"altitude":4,"angle":173,"satellites":39,"speed":32,"hex_longitude":"2d7b5100","hex_latitude":"05e8e768","is_valid_coordinates":true} 
[2026-06-18 16:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135662336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93915356917137408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8884687296512385024,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24: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-06-18 16:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781779943000,"timestamp_ms":1781779943000,"timestamp_seconds":1781779943,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5c4e58"} 
[2026-06-18 16:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:24:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:24:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-18 16:24:22] 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-06-18 16:24:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107661,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:24:22] 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-06-18 16:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135662336001,"66":13276,"201":206,"87":13824,"24":32,"16":93915356917137408,"45":8884687296512385024},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 16:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135662336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:24:22] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 16:24:22] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93915356917137408,"km_value":93915356917137.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":8884687296512385024,"description":"Unknown IO ID 45"} 
[2026-06-18 16:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135662336001,"power":13276,"unknown_201":206,"unknown_87":13824,"ignition":32,"odometer":null,"unknown_45":8884687296512385024}} 
[2026-06-18 16:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":107661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:24:22] local.INFO: GPS data processed {"connection_id":107661,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:24:22] local.INFO: Acknowledgment sent {"connection_id":107661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:24:27] local.INFO: TCP Data received {"connection_id":106107,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:24:27] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:24:27] local.INFO: IMEI packet received {"connection_id":106107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":106107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:24:28] local.INFO: TCP Data received {"connection_id":107663,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:24:28] local.INFO: Processing buffer {"connection_id":107663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:24:28] local.INFO: IMEI packet received {"connection_id":107663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":107663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:24:29] local.INFO: TCP Data received {"connection_id":106107,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:24:29] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:24:29] local.INFO: IMEI packet received {"connection_id":106107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":106107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:24:33] local.INFO: TCP Data received {"connection_id":106689,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5d5410012d1b3140072079d8005300d823..."} 
[2026-06-18 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5d5410012d1b3140072079d8005300d823..."} 
[2026-06-18 16:24:33] local.INFO: Processing buffer {"connection_id":106689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5d5410012d1b3140072079d8005300d823..."} 
[2026-06-18 16:24:33] local.INFO: Packet analysis {"connection_id":106689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:24:33] local.INFO: Extracted packet for processing {"connection_id":106689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756756800,"raw_latitude":119568856,"longitude_deg":75.67568,"latitude_deg":11.9568856,"altitude":83,"angle":216,"satellites":35,"speed":14,"hex_longitude":"2d1b3140","hex_latitude":"072079d8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135682304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305363881328640,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959699187213475840,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781780010000,"timestamp_ms":1781780010000,"timestamp_seconds":1781780010,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5d5410"} 
[2026-06-18 16:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:24:33] 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-06-18 16:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-18 16:24:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106689,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135682304001,"66":13972,"121":206,"28":31744,"24":14,"16":3305363881328640,"45":1959699187213475840},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135682304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305363881328640,"km_value":3305363881328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959699187213475840,"description":"Unknown IO ID 45"} 
[2026-06-18 16:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135682304001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1959699187213475840}} 
[2026-06-18 16:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":106689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:24:33] local.INFO: GPS data processed {"connection_id":106689,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:24:33] local.INFO: Acknowledgment sent {"connection_id":106689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:24:33] local.INFO: TCP Data received {"connection_id":106107,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5c0038012cd6bb800736d2a8000b013b2e..."} 
[2026-06-18 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5c0038012cd6bb800736d2a8000b013b2e..."} 
[2026-06-18 16:24:33] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5c0038012cd6bb800736d2a8000b013b2e..."} 
[2026-06-18 16:24:33] local.INFO: Packet analysis {"connection_id":106107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:24:33] local.INFO: Extracted packet for processing {"connection_id":106107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":752270208,"raw_latitude":121033384,"longitude_deg":75.2270208,"latitude_deg":12.1033384,"altitude":11,"angle":315,"satellites":46,"speed":25,"hex_longitude":"2cd6bb80","hex_latitude":"0736d2a8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135659008001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318693209087672320,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2970968348196931584,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781779923000,"timestamp_ms":1781779923000,"timestamp_seconds":1781779923,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5c0038"} 
[2026-06-18 16:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:24:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 16:24: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-06-18 16: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-06-18 16:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135659008001,"66":27930,"92":206,"2":56832,"24":25,"16":318693209087672320,"44":-2970968348196931584},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135659008001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318693209087672320,"km_value":318693209087672.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:24:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2970968348196931584,"description":"Unknown IO ID 44"} 
[2026-06-18 16:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135659008001,"power":27930,"unknown_92":206,"power_alt":56832,"ignition":25,"odometer":null,"unknown_44":-2970968348196931584}} 
[2026-06-18 16:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":106107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:24:33] local.INFO: GPS data processed {"connection_id":106107,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:24:33] local.INFO: Acknowledgment sent {"connection_id":106107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:24:33] local.INFO: TCP Data received {"connection_id":107663,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107663,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:24:33] local.INFO: Processing buffer {"connection_id":107663,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:24:33] local.INFO: IMEI packet received {"connection_id":107663,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":107663,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:24:34] local.INFO: TCP Data received {"connection_id":107663,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5c7950012d7b550005e8c430000400ad29..."} 
[2026-06-18 16:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5c7950012d7b550005e8c430000400ad29..."} 
[2026-06-18 16:24:34] local.INFO: Processing buffer {"connection_id":107663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5c7950012d7b550005e8c430000400ad29..."} 
[2026-06-18 16:24:34] local.INFO: Packet analysis {"connection_id":107663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:24:34] local.INFO: Extracted packet for processing {"connection_id":107663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763057408,"raw_latitude":99140656,"longitude_deg":76.3057408,"latitude_deg":9.9140656,"altitude":4,"angle":173,"satellites":41,"speed":33,"hex_longitude":"2d7b5500","hex_latitude":"05e8c430","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93915799298768896,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885883565161015296,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24: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-06-18 16:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781779954000,"timestamp_ms":1781779954000,"timestamp_seconds":1781779954,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5c7950"} 
[2026-06-18 16:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 16:24:34] 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-06-18 16: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-06-18 16:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:24: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-06-18 16:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135665408001,"66":13189,"201":206,"87":13824,"24":33,"16":93915799298768896,"45":8885883565161015296},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,87,24,16,45]} 
[2026-06-18 16:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:24:34] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-06-18 16:24:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93915799298768896,"km_value":93915799298768.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885883565161015296,"description":"Unknown IO ID 45"} 
[2026-06-18 16:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135665408001,"power":13189,"unknown_201":206,"unknown_87":13824,"ignition":33,"odometer":null,"unknown_45":8885883565161015296}} 
[2026-06-18 16:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":107663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344918,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:24:34] local.INFO: GPS data processed {"connection_id":107663,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:24:34] local.INFO: Acknowledgment sent {"connection_id":107663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:24:35] local.INFO: TCP Data received {"connection_id":106107,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5c2748012cd6a5800736e588000901302e..."} 
[2026-06-18 16:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5c2748012cd6a5800736e588000901302e..."} 
[2026-06-18 16:24:35] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5c2748012cd6a5800736e588000901302e..."} 
[2026-06-18 16:24:35] local.INFO: Packet analysis {"connection_id":106107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:24:35] local.INFO: Extracted packet for processing {"connection_id":106107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:24:35] local.INFO: GPS Element Parsed {"raw_longitude":752264576,"raw_latitude":121038216,"longitude_deg":75.2264576,"latitude_deg":12.1038216,"altitude":9,"angle":304,"satellites":46,"speed":30,"hex_longitude":"2cd6a580","hex_latitude":"0736e588","is_valid_coordinates":true} 
[2026-06-18 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135660288001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318693565569957888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2973642360475179008,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781779933000,"timestamp_ms":1781779933000,"timestamp_seconds":1781779933,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5c2748"} 
[2026-06-18 16:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:24: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-06-18 16:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:24: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-06-18 16:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135660288001,"66":27658,"92":206,"2":56832,"24":30,"16":318693565569957888,"44":-2973642360475179008},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135660288001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:24:35] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318693565569957888,"km_value":318693565569957.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:24:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2973642360475179008,"description":"Unknown IO ID 44"} 
[2026-06-18 16:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135660288001,"power":27658,"unknown_92":206,"power_alt":56832,"ignition":30,"odometer":null,"unknown_44":-2973642360475179008}} 
[2026-06-18 16:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":106107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:24:35] local.INFO: GPS data processed {"connection_id":106107,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:24:35] local.INFO: Acknowledgment sent {"connection_id":106107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:24:44] local.INFO: TCP Data received {"connection_id":105924,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:24:44] local.INFO: Processing buffer {"connection_id":105924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:24:44] local.INFO: IMEI packet received {"connection_id":105924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":105924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:24:49] local.INFO: TCP Data received {"connection_id":105924,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:24:49] local.INFO: Processing buffer {"connection_id":105924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:24:49] local.INFO: IMEI packet received {"connection_id":105924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":105924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:24:51] local.INFO: TCP Data received {"connection_id":105924,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5d57f8012d1b3040072078c8005400e924..."} 
[2026-06-18 16:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5d57f8012d1b3040072078c8005400e924..."} 
[2026-06-18 16:24:51] local.INFO: Processing buffer {"connection_id":105924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5d57f8012d1b3040072078c8005400e924..."} 
[2026-06-18 16:24:51] local.INFO: Packet analysis {"connection_id":105924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:24:51] local.INFO: Extracted packet for processing {"connection_id":105924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756756544,"raw_latitude":119568584,"longitude_deg":75.6756544,"latitude_deg":11.9568584,"altitude":84,"angle":233,"satellites":36,"speed":15,"hex_longitude":"2d1b3040","hex_latitude":"072078c8","is_valid_coordinates":true} 
[2026-06-18 16:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135682560001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305385356165120,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959417712236681216,"note":"Value kept but may cause issues"} 
[2026-06-18 16:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781780011000,"timestamp_ms":1781780011000,"timestamp_seconds":1781780011,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5d57f8"} 
[2026-06-18 16:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:24:51] 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-06-18 16:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-18 16:24:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135682560001,"66":13928,"121":206,"28":31744,"24":15,"16":3305385356165120,"45":1959417712236681216},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135682560001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:24:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:24:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305385356165120,"km_value":3305385356165.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959417712236681216,"description":"Unknown IO ID 45"} 
[2026-06-18 16:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135682560001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1959417712236681216}} 
[2026-06-18 16:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":105924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:24:51] local.INFO: GPS data processed {"connection_id":105924,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:24:51] local.INFO: Acknowledgment sent {"connection_id":105924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:25:06] local.INFO: TCP Data received {"connection_id":107663,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5e4e10012d7b614005e7b6a8000600b32b..."} 
[2026-06-18 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5e4e10012d7b614005e7b6a8000600b32b..."} 
[2026-06-18 16:25:06] local.INFO: Processing buffer {"connection_id":107663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5e4e10012d7b614005e7b6a8000600b32b..."} 
[2026-06-18 16:25:06] local.INFO: Packet analysis {"connection_id":107663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:06] local.INFO: Extracted packet for processing {"connection_id":107663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763060544,"raw_latitude":99071656,"longitude_deg":76.3060544,"latitude_deg":9.9071656,"altitude":6,"angle":179,"satellites":43,"speed":6,"hex_longitude":"2d7b6140","hex_latitude":"05e7b6a8","is_valid_coordinates":true} 
[2026-06-18 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135695872001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93919175143063552,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889824214815688704,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:06] 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-06-18 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780074000,"timestamp_ms":1781780074000,"timestamp_seconds":1781780074,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5e4e10"} 
[2026-06-18 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 16:25:06] 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-06-18 16:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107663,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:25:06] 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-06-18 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135695872001,"66":13222,"96":206,"87":13824,"24":6,"16":93919175143063552,"45":8889824214815688704},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135695872001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:25:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:25:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93919175143063552,"km_value":93919175143063.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889824214815688704,"description":"Unknown IO ID 45"} 
[2026-06-18 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135695872001,"power":13222,"unknown_96":206,"unknown_87":13824,"ignition":6,"odometer":null,"unknown_45":8889824214815688704}} 
[2026-06-18 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":107663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:25:06] local.INFO: GPS data processed {"connection_id":107663,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:25:06] local.INFO: Acknowledgment sent {"connection_id":107663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:25:06] local.INFO: TCP Data received {"connection_id":106107,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5c5240012cd686400736f758000901282e..."} 
[2026-06-18 16:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5c5240012cd686400736f758000901282e..."} 
[2026-06-18 16:25:06] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5c5240012cd686400736f758000901282e..."} 
[2026-06-18 16:25:06] local.INFO: Packet analysis {"connection_id":106107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:25:06] local.INFO: Extracted packet for processing {"connection_id":106107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5c"} 
[2026-06-18 16:25:06] local.INFO: GPS Element Parsed {"raw_longitude":752256576,"raw_latitude":121042776,"longitude_deg":75.2256576,"latitude_deg":12.1042776,"altitude":9,"angle":296,"satellites":46,"speed":33,"hex_longitude":"2cd68640","hex_latitude":"0736f758","is_valid_coordinates":true} 
[2026-06-18 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135662848001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318694003656622080,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2979834809961576448,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781779944000,"timestamp_ms":1781779944000,"timestamp_seconds":1781779944,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5c5240"} 
[2026-06-18 16:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:25:06] 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-06-18 16:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 16:25:06] 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-06-18 16:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135662848001,"66":27800,"92":206,"2":56832,"24":33,"16":318694003656622080,"44":-2979834809961576448},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,2,24,16,44]} 
[2026-06-18 16:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135662848001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:25:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 16:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318694003656622080,"km_value":318694003656622.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:25:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2979834809961576448,"description":"Unknown IO ID 44"} 
[2026-06-18 16:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135662848001,"power":27800,"unknown_92":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-2979834809961576448}} 
[2026-06-18 16:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":106107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:25:06] local.INFO: GPS data processed {"connection_id":106107,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:25:06] local.INFO: Acknowledgment sent {"connection_id":106107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:25:22] local.INFO: TCP Data received {"connection_id":105924,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5d63b0012d1b2b4007207648005400f724..."} 
[2026-06-18 16:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5d63b0012d1b2b4007207648005400f724..."} 
[2026-06-18 16:25:22] local.INFO: Processing buffer {"connection_id":105924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5d63b0012d1b2b4007207648005400f724..."} 
[2026-06-18 16:25:22] local.INFO: Packet analysis {"connection_id":105924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:25:22] local.INFO: Extracted packet for processing {"connection_id":105924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756755264,"raw_latitude":119567944,"longitude_deg":75.6755264,"latitude_deg":11.9567944,"altitude":84,"angle":247,"satellites":36,"speed":17,"hex_longitude":"2d1b2b40","hex_latitude":"07207648","is_valid_coordinates":true} 
[2026-06-18 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135682816001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3305449780674560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959136237259900928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781780014000,"timestamp_ms":1781780014000,"timestamp_seconds":1781780014,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5d63b0"} 
[2026-06-18 16:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:25:22] 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-06-18 16:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 16:25:22] 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-06-18 16:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135682816001,"66":13972,"121":206,"28":31744,"24":17,"16":3305449780674560,"45":1959136237259900928},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135682816001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:25:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:25:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3305449780674560,"km_value":3305449780674.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959136237259900928,"description":"Unknown IO ID 45"} 
[2026-06-18 16:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135682816001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1959136237259900928}} 
[2026-06-18 16:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":105924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:25:22] local.INFO: GPS data processed {"connection_id":105924,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:25:22] local.INFO: Acknowledgment sent {"connection_id":105924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:25:24] local.INFO: TCP Data received {"connection_id":106690,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:25:24] local.INFO: Processing buffer {"connection_id":106690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:25:24] local.INFO: IMEI packet received {"connection_id":106690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":106690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:25:29] local.INFO: TCP Data received {"connection_id":106690,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:25:29] local.INFO: Processing buffer {"connection_id":106690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:25:29] local.INFO: IMEI packet received {"connection_id":106690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":106690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:25:30] local.INFO: TCP Data received {"connection_id":106690,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5e2ae8012cd5af800737d500000801152e..."} 
[2026-06-18 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5e2ae8012cd5af800737d500000801152e..."} 
[2026-06-18 16:25:30] local.INFO: Processing buffer {"connection_id":106690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5e2ae8012cd5af800737d500000801152e..."} 
[2026-06-18 16:25:30] local.INFO: Packet analysis {"connection_id":106690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:30] local.INFO: Extracted packet for processing {"connection_id":106690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:30] local.INFO: GPS Element Parsed {"raw_longitude":752201600,"raw_latitude":121099520,"longitude_deg":75.22016,"latitude_deg":12.109952,"altitude":8,"angle":277,"satellites":46,"speed":21,"hex_longitude":"2cd5af80","hex_latitude":"0737d500","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135695872001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318697860537253888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3047248066868201472,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781780065000,"timestamp_ms":1781780065000,"timestamp_seconds":1781780065,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5e2ae8"} 
[2026-06-18 16:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:25: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-06-18 16: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":228,"data_length":795,"current_offset":136} 
[2026-06-18 16:25: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-06-18 16: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-06-18 16:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135695872001,"66":27865,"215":206,"2":56832,"24":21,"16":318697860537253888,"44":-3047248066868201472},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135695872001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:25:31] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318697860537253888,"km_value":318697860537253.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:25:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3047248066868201472,"description":"Unknown IO ID 44"} 
[2026-06-18 16:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135695872001,"power":27865,"unknown_215":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-3047248066868201472}} 
[2026-06-18 16:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":106690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:25:31] local.INFO: GPS data processed {"connection_id":106690,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:25:31] local.INFO: Acknowledgment sent {"connection_id":106690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:25:31] local.INFO: TCP Data received {"connection_id":106691,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:31] local.INFO: Processing buffer {"connection_id":106691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:31] local.INFO: IMEI packet received {"connection_id":106691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:25:31] local.INFO: IMEI acknowledgment sent {"connection_id":106691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:25:33] local.INFO: TCP Data received {"connection_id":106691,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:33] local.INFO: Processing buffer {"connection_id":106691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:33] local.INFO: IMEI packet received {"connection_id":106691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":106691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:25:38] local.INFO: TCP Data received {"connection_id":106691,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106691,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:38] local.INFO: Processing buffer {"connection_id":106691,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:25:38] local.INFO: IMEI packet received {"connection_id":106691,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":106691,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:25:39] local.INFO: TCP Data received {"connection_id":106691,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5e9c30012d7b61c005e79f48000700b02a..."} 
[2026-06-18 16:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5e9c30012d7b61c005e79f48000700b02a..."} 
[2026-06-18 16:25:39] local.INFO: Processing buffer {"connection_id":106691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5e9c30012d7b61c005e79f48000700b02a..."} 
[2026-06-18 16:25:39] local.INFO: Packet analysis {"connection_id":106691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:39] local.INFO: Extracted packet for processing {"connection_id":106691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:39] local.INFO: GPS Element Parsed {"raw_longitude":763060672,"raw_latitude":99065672,"longitude_deg":76.3060672,"latitude_deg":9.9065672,"altitude":7,"angle":176,"satellites":42,"speed":17,"hex_longitude":"2d7b61c0","hex_latitude":"05e79f48","is_valid_coordinates":true} 
[2026-06-18 16:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135698944001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93919467200839680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890457533512591360,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:39] 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-06-18 16:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781780094000,"timestamp_ms":1781780094000,"timestamp_seconds":1781780094,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5e9c30"} 
[2026-06-18 16:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 16:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135698944001,"66":13015,"96":206,"87":13824,"24":17,"16":93919467200839680,"45":8890457533512591360},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 16:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135698944001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:25:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:25:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93919467200839680,"km_value":93919467200839.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890457533512591360,"description":"Unknown IO ID 45"} 
[2026-06-18 16:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135698944001,"power":13015,"unknown_96":206,"unknown_87":13824,"ignition":17,"odometer":null,"unknown_45":8890457533512591360}} 
[2026-06-18 16:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":106691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344925,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:25:39] local.INFO: GPS data processed {"connection_id":106691,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:25:39] local.INFO: Acknowledgment sent {"connection_id":106691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:25:40] local.INFO: TCP Data received {"connection_id":106691,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5eafb8012d7b638005e79718000600a32a..."} 
[2026-06-18 16:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5eafb8012d7b638005e79718000600a32a..."} 
[2026-06-18 16:25:40] local.INFO: Processing buffer {"connection_id":106691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5eafb8012d7b638005e79718000600a32a..."} 
[2026-06-18 16:25:40] local.INFO: Packet analysis {"connection_id":106691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:40] local.INFO: Extracted packet for processing {"connection_id":106691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:40] local.INFO: GPS Element Parsed {"raw_longitude":763061120,"raw_latitude":99063576,"longitude_deg":76.306112,"latitude_deg":9.9063576,"altitude":6,"angle":163,"satellites":42,"speed":21,"hex_longitude":"2d7b6380","hex_latitude":"05e79718","is_valid_coordinates":true} 
[2026-06-18 16:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135704064001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93919570280054784,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890598270999414784,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:40] 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-06-18 16:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781780099000,"timestamp_ms":1781780099000,"timestamp_seconds":1781780099,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5eafb8"} 
[2026-06-18 16:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 16:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135704064001,"66":13059,"96":206,"87":13824,"24":21,"16":93919570280054784,"45":8890598270999414784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 16:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135704064001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:25:40] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:25:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93919570280054784,"km_value":93919570280054.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890598270999414784,"description":"Unknown IO ID 45"} 
[2026-06-18 16:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135704064001,"power":13059,"unknown_96":206,"unknown_87":13824,"ignition":21,"odometer":null,"unknown_45":8890598270999414784}} 
[2026-06-18 16:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":106691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:25:40] local.INFO: GPS data processed {"connection_id":106691,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:25:40] local.INFO: Acknowledgment sent {"connection_id":106691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:25:47] local.INFO: TCP Data received {"connection_id":106693,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:47] local.INFO: Processing buffer {"connection_id":106693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:47] local.INFO: IMEI packet received {"connection_id":106693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":106693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:25:49] local.INFO: TCP Data received {"connection_id":106693,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:49] local.INFO: Processing buffer {"connection_id":106693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:49] local.INFO: IMEI packet received {"connection_id":106693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":106693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:25:50] local.INFO: TCP Data received {"connection_id":106693,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:50] local.INFO: Processing buffer {"connection_id":106693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:25:50] local.INFO: IMEI packet received {"connection_id":106693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":106693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:25:52] local.INFO: TCP Data received {"connection_id":106693,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5ea400012d1ade8007206538004d015b23..."} 
[2026-06-18 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5ea400012d1ade8007206538004d015b23..."} 
[2026-06-18 16:25:52] local.INFO: Processing buffer {"connection_id":106693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5ea400012d1ade8007206538004d015b23..."} 
[2026-06-18 16:25:52] local.INFO: Packet analysis {"connection_id":106693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:52] local.INFO: Extracted packet for processing {"connection_id":106693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:52] local.INFO: GPS Element Parsed {"raw_longitude":756735616,"raw_latitude":119563576,"longitude_deg":75.6735616,"latitude_deg":11.9563576,"altitude":77,"angle":347,"satellites":35,"speed":17,"hex_longitude":"2d1ade80","hex_latitude":"07206538","is_valid_coordinates":true} 
[2026-06-18 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:25:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135704320001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3306476277858304,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936196026656585728,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:25:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781780096000,"timestamp_ms":1781780096000,"timestamp_seconds":1781780096,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5ea400"} 
[2026-06-18 16:25:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:25:52] 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-06-18 16:25:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 16:25:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:25:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:25:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:25:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:25:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:25:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:25:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:25:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:25:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:25:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:25:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135704320001,"66":14189,"70":206,"28":31744,"24":17,"16":3306476277858304,"45":1936196026656585728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-06-18 16:25:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:25:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:25:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135704320001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:25:52] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-06-18 16:25:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:25:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3306476277858304,"km_value":3306476277858.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:25:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936196026656585728,"description":"Unknown IO ID 45"} 
[2026-06-18 16:25:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135704320001,"power":14189,"unknown_70":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1936196026656585728}} 
[2026-06-18 16:25:52] local.INFO: DEBUG: GPS processor result {"connection_id":106693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:25:52] local.INFO: GPS data processed {"connection_id":106693,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:25:52] local.INFO: Acknowledgment sent {"connection_id":106693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:25:53] local.INFO: TCP Data received {"connection_id":106693,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5eafb8012d1adcc0072069c0004c013f23..."} 
[2026-06-18 16:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5eafb8012d1adcc0072069c0004c013f23..."} 
[2026-06-18 16:25:53] local.INFO: Processing buffer {"connection_id":106693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5eafb8012d1adcc0072069c0004c013f23..."} 
[2026-06-18 16:25:53] local.INFO: Packet analysis {"connection_id":106693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:53] local.INFO: Extracted packet for processing {"connection_id":106693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:25:53] local.INFO: GPS Element Parsed {"raw_longitude":756735168,"raw_latitude":119564736,"longitude_deg":75.6735168,"latitude_deg":11.9564736,"altitude":76,"angle":319,"satellites":35,"speed":15,"hex_longitude":"2d1adcc0","hex_latitude":"072069c0","is_valid_coordinates":true} 
[2026-06-18 16:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135704576001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3306540702367744,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936125657912522752,"note":"Value kept but may cause issues"} 
[2026-06-18 16:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781780099000,"timestamp_ms":1781780099000,"timestamp_seconds":1781780099,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5eafb8"} 
[2026-06-18 16:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:25:53] 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-06-18 16:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 16:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:25:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135704576001,"66":13439,"70":206,"28":31744,"24":15,"16":3306540702367744,"45":1936125657912522752},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-06-18 16:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135704576001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:25:53] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-06-18 16:25:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3306540702367744,"km_value":3306540702367.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936125657912522752,"description":"Unknown IO ID 45"} 
[2026-06-18 16:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135704576001,"power":13439,"unknown_70":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1936125657912522752}} 
[2026-06-18 16:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":106693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:25:53] local.INFO: GPS data processed {"connection_id":106693,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:25:53] local.INFO: Acknowledgment sent {"connection_id":106693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:26:02] local.INFO: TCP Data received {"connection_id":106690,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5e36a0012cd5aa000737d500000901082d..."} 
[2026-06-18 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5e36a0012cd5aa000737d500000901082d..."} 
[2026-06-18 16:26:02] local.INFO: Processing buffer {"connection_id":106690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5e36a0012cd5aa000737d500000901082d..."} 
[2026-06-18 16:26:02] local.INFO: Packet analysis {"connection_id":106690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:26:02] local.INFO: Extracted packet for processing {"connection_id":106690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:26:02] local.INFO: GPS Element Parsed {"raw_longitude":752200192,"raw_latitude":121099520,"longitude_deg":75.2200192,"latitude_deg":12.109952,"altitude":9,"angle":264,"satellites":45,"speed":17,"hex_longitude":"2cd5aa00","hex_latitude":"0737d500","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135696640001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318697929256730624,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3049077654216704000,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781780068000,"timestamp_ms":1781780068000,"timestamp_seconds":1781780068,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5e36a0"} 
[2026-06-18 16:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:26: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-06-18 16:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 16:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135696640001,"66":27604,"215":206,"2":56832,"24":17,"16":318697929256730624,"44":-3049077654216704000},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135696640001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:26:02] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318697929256730624,"km_value":318697929256730.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:26:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3049077654216704000,"description":"Unknown IO ID 44"} 
[2026-06-18 16:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135696640001,"power":27604,"unknown_215":206,"power_alt":56832,"ignition":17,"odometer":null,"unknown_44":-3049077654216704000}} 
[2026-06-18 16:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":106690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:26:02] local.INFO: GPS data processed {"connection_id":106690,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:26:02] local.INFO: Acknowledgment sent {"connection_id":106690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:26:11] local.INFO: TCP Data received {"connection_id":106691,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5efdd8012d7b6ac005e780c8000500a32a..."} 
[2026-06-18 16:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5efdd8012d7b6ac005e780c8000500a32a..."} 
[2026-06-18 16:26:11] local.INFO: Processing buffer {"connection_id":106691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5efdd8012d7b6ac005e780c8000500a32a..."} 
[2026-06-18 16:26:11] local.INFO: Packet analysis {"connection_id":106691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:26:11] local.INFO: Extracted packet for processing {"connection_id":106691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":763062976,"raw_latitude":99057864,"longitude_deg":76.3062976,"latitude_deg":9.9057864,"altitude":5,"angle":163,"satellites":42,"speed":22,"hex_longitude":"2d7b6ac0","hex_latitude":"05e780c8","is_valid_coordinates":true} 
[2026-06-18 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135705344001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93919862337830912,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891090852208121856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] 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-06-18 16:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781780119000,"timestamp_ms":1781780119000,"timestamp_seconds":1781780119,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5efdd8"} 
[2026-06-18 16:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166284418349,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3663570456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":231,"raw_value":3829923840,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":768147662,"corrected_to":0} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070381,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":201,"raw_value":58079734643818516,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":77,"raw_value":2857172992,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3893100544,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:11] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,96,87,24,241,157,16,171,158,156,45,192,159,7,42,10,66,78,64,182,6,43,170,31,1,240,79,227,218,231,4,113,205,25,209,91,32,41,239,51,201,2,77,5,20],"length":486,"final_offset":616,"validated_count":45,"validation_warnings":[{"io_id":205,"original":768147662,"validated":0}]} 
[2026-06-18 16:26:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432524965012897792,"timestamp_seconds":432524965012897.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106691,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:26: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-06-18 16:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135705344001,"66":13254,"96":206,"87":13824,"24":22,"16":93919862337830912,"45":8891090852208121856},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 16:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135705344001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:26:11] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:26:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93919862337830912,"km_value":93919862337830.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891090852208121856,"description":"Unknown IO ID 45"} 
[2026-06-18 16:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135705344001,"power":13254,"unknown_96":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":8891090852208121856}} 
[2026-06-18 16:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":106691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:26:11] local.INFO: GPS data processed {"connection_id":106691,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:26:11] local.INFO: Acknowledgment sent {"connection_id":106691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:26:24] local.INFO: TCP Data received {"connection_id":105925,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:26:24] local.INFO: Processing buffer {"connection_id":105925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:26:24] local.INFO: IMEI packet received {"connection_id":105925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":105925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:26:28] local.INFO: TCP Data received {"connection_id":106693,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5f6750012d1a898007205920004000e223..."} 
[2026-06-18 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5f6750012d1a898007205920004000e223..."} 
[2026-06-18 16:26:28] local.INFO: Processing buffer {"connection_id":106693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5f6750012d1a898007205920004000e223..."} 
[2026-06-18 16:26:28] local.INFO: Packet analysis {"connection_id":106693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:26:28] local.INFO: Extracted packet for processing {"connection_id":106693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756713856,"raw_latitude":119560480,"longitude_deg":75.6713856,"latitude_deg":11.956048,"altitude":64,"angle":226,"satellites":35,"speed":10,"hex_longitude":"2d1a8980","hex_latitude":"07205920","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135716864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3307657393864704,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912833603589013504,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781780146000,"timestamp_ms":1781780146000,"timestamp_seconds":1781780146,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5f6750"} 
[2026-06-18 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-06-18 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-18 16:26:28] 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-06-18 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-06-18 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-06-18 16:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135716864001,"66":14189,"121":206,"28":31744,"24":10,"16":3307657393864704,"45":1912833603589013504},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135716864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:26:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3307657393864704,"km_value":3307657393864.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912833603589013504,"description":"Unknown IO ID 45"} 
[2026-06-18 16:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135716864001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1912833603589013504}} 
[2026-06-18 16:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":106693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:26:28] local.INFO: GPS data processed {"connection_id":106693,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:26:28] local.INFO: Acknowledgment sent {"connection_id":106693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:26:28] local.INFO: TCP Data received {"connection_id":105926,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:26:28] local.INFO: Processing buffer {"connection_id":105926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:26:28] local.INFO: IMEI packet received {"connection_id":105926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":105926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:26:29] local.INFO: TCP Data received {"connection_id":105925,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:26:29] local.INFO: Processing buffer {"connection_id":105925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:26:29] local.INFO: IMEI packet received {"connection_id":105925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":105925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:26:31] local.INFO: TCP Data received {"connection_id":105925,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5e4a28012cd5a2c00737d430000800f92d..."} 
[2026-06-18 16:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5e4a28012cd5a2c00737d430000800f92d..."} 
[2026-06-18 16:26:31] local.INFO: Processing buffer {"connection_id":105925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5e4a28012cd5a2c00737d430000800f92d..."} 
[2026-06-18 16:26:31] local.INFO: Packet analysis {"connection_id":105925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:26:31] local.INFO: Extracted packet for processing {"connection_id":105925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":752198336,"raw_latitude":121099312,"longitude_deg":75.2198336,"latitude_deg":12.1099312,"altitude":8,"angle":249,"satellites":45,"speed":9,"hex_longitude":"2cd5a2c0","hex_latitude":"0737d430","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135697408001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698019451043840,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3050625766588612608,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781780073000,"timestamp_ms":1781780073000,"timestamp_seconds":1781780073,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5e4a28"} 
[2026-06-18 16:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":212,"data_length":795,"current_offset":136} 
[2026-06-18 16:26:31] 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-06-18 16: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-06-18 16:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135697408001,"66":27908,"215":206,"2":56832,"24":9,"16":318698019451043840,"44":-3050625766588612608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135697408001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:26:31] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698019451043840,"km_value":318698019451043.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3050625766588612608,"description":"Unknown IO ID 44"} 
[2026-06-18 16:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135697408001,"power":27908,"unknown_215":206,"power_alt":56832,"ignition":9,"odometer":null,"unknown_44":-3050625766588612608}} 
[2026-06-18 16:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":105925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:26:31] local.INFO: GPS data processed {"connection_id":105925,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:26:31] local.INFO: Acknowledgment sent {"connection_id":105925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:26:32] local.INFO: TCP Data received {"connection_id":105926,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105926,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:26:32] local.INFO: Processing buffer {"connection_id":105926,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:26:32] local.INFO: IMEI packet received {"connection_id":105926,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":105926,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:26:33] local.INFO: TCP Data received {"connection_id":105926,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5f28d0012d7b724005e75e60000500a42b..."} 
[2026-06-18 16:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5f28d0012d7b724005e75e60000500a42b..."} 
[2026-06-18 16:26:33] local.INFO: Processing buffer {"connection_id":105926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5f28d0012d7b724005e75e60000500a42b..."} 
[2026-06-18 16:26:33] local.INFO: Packet analysis {"connection_id":105926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:26:33] local.INFO: Extracted packet for processing {"connection_id":105926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":763064896,"raw_latitude":99049056,"longitude_deg":76.3064896,"latitude_deg":9.9049056,"altitude":5,"angle":164,"satellites":43,"speed":31,"hex_longitude":"2d7b7240","hex_latitude":"05e75e60","is_valid_coordinates":true} 
[2026-06-18 16:26:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:26:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135710464001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93920300424495104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893131545787811840,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:33] 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-06-18 16:26:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781780130000,"timestamp_ms":1781780130000,"timestamp_seconds":1781780130,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5f28d0"} 
[2026-06-18 16:26:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:26:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 16:26:33] 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-06-18 16: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-06-18 16:26:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:26:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:26:33] local.INFO: Teltonika packet parsed successfully {"connection_id":105926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:26:33] local.INFO: Passing IMEI to GPS processor {"connection_id":105926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:26:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":105926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:26:33] 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-06-18 16:26:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:26:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:26:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135710464001,"66":12211,"96":206,"87":13824,"24":31,"16":93920300424495104,"45":8893131545787811840},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 16:26:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:26:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:26:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135710464001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:26:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:26:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:26:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93920300424495104,"km_value":93920300424495.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:26:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893131545787811840,"description":"Unknown IO ID 45"} 
[2026-06-18 16:26:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135710464001,"power":12211,"unknown_96":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8893131545787811840}} 
[2026-06-18 16:26:33] local.INFO: DEBUG: GPS processor result {"connection_id":105926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344933,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:26:33] local.INFO: GPS data processed {"connection_id":105926,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:26:33] local.INFO: Acknowledgment sent {"connection_id":105926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:26:37] local.INFO: TCP Data received {"connection_id":107664,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107664,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:26:37] local.INFO: Processing buffer {"connection_id":107664,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:26:37] local.INFO: IMEI packet received {"connection_id":107664,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":107664,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:26:42] local.INFO: TCP Data received {"connection_id":107665,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:42] local.INFO: Processing buffer {"connection_id":107665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:42] local.INFO: IMEI packet received {"connection_id":107665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":107665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:26:44] local.INFO: TCP Data received {"connection_id":107665,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:44] local.INFO: Processing buffer {"connection_id":107665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:44] local.INFO: IMEI packet received {"connection_id":107665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":107665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:26:49] local.INFO: TCP Data received {"connection_id":107665,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:49] local.INFO: Processing buffer {"connection_id":107665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:26:49] local.INFO: IMEI packet received {"connection_id":107665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":107665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:26:52] local.INFO: TCP Data received {"connection_id":107665,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5f6b38012d1a890007205850004000d524..."} 
[2026-06-18 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5f6b38012d1a890007205850004000d524..."} 
[2026-06-18 16:26:52] local.INFO: Processing buffer {"connection_id":107665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5f6b38012d1a890007205850004000d524..."} 
[2026-06-18 16:26:52] local.INFO: Packet analysis {"connection_id":107665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:26:52] local.INFO: Extracted packet for processing {"connection_id":107665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:26:52] local.INFO: GPS Element Parsed {"raw_longitude":756713728,"raw_latitude":119560272,"longitude_deg":75.6713728,"latitude_deg":11.9560272,"altitude":64,"angle":213,"satellites":36,"speed":10,"hex_longitude":"2d1a8900","hex_latitude":"07205850","is_valid_coordinates":true} 
[2026-06-18 16:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:26:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135717376001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3307670278766592,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912200284891324416,"note":"Value kept but may cause issues"} 
[2026-06-18 16:26:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:26:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781780147000,"timestamp_ms":1781780147000,"timestamp_seconds":1781780147,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5f6b38"} 
[2026-06-18 16:26:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:26:52] 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-06-18 16:26:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 16:26:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:26:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:26:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:26:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:26:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:26:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:26:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:26:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:26:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:26:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:26:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135717376001,"66":13439,"121":206,"28":31744,"24":10,"16":3307670278766592,"45":1912200284891324416},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:26:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:26:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:26:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135717376001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:26:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:26:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:26:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3307670278766592,"km_value":3307670278766.592,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:26:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912200284891324416,"description":"Unknown IO ID 45"} 
[2026-06-18 16:26:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135717376001,"power":13439,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1912200284891324416}} 
[2026-06-18 16:26:52] local.INFO: DEBUG: GPS processor result {"connection_id":107665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:26:52] local.INFO: GPS data processed {"connection_id":107665,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:26:52] local.INFO: Acknowledgment sent {"connection_id":107665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:26:56] local.INFO: TCP Data received {"connection_id":106108,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:26:56] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:26:56] local.INFO: IMEI packet received {"connection_id":106108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":106108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:27:02] local.INFO: TCP Data received {"connection_id":106108,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:27:02] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:27:02] local.INFO: IMEI packet received {"connection_id":106108,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":106108,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:27:02] local.INFO: TCP Data received {"connection_id":106108,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5d1978012d0b6ac00705e7000014007d1c..."} 
[2026-06-18 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5d1978012d0b6ac00705e7000014007d1c..."} 
[2026-06-18 16:27:02] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5d1978012d0b6ac00705e7000014007d1c..."} 
[2026-06-18 16:27:02] local.INFO: Packet analysis {"connection_id":106108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:27:02] local.INFO: Extracted packet for processing {"connection_id":106108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:27:02] local.INFO: GPS Element Parsed {"raw_longitude":755722944,"raw_latitude":117827328,"longitude_deg":75.5722944,"latitude_deg":11.7827328,"altitude":20,"angle":125,"satellites":28,"speed":27,"hex_longitude":"2d0b6ac0","hex_latitude":"0705e700","is_valid_coordinates":true} 
[2026-06-18 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:27:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135674368001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21197630700781568,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":814447875277586432,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:27:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781779995000,"timestamp_ms":1781779995000,"timestamp_seconds":1781779995,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5d1978"} 
[2026-06-18 16:27:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:27: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-06-18 16:27:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 16:27:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:27:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:27:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:27:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:27:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:27:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:27:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106108,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:27:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:27:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:27:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:27:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135674368001,"66":14461,"165":206,"94":10240,"24":27,"16":21197630700781568,"45":814447875277586432},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:27:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:27:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:27:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135674368001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:27:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:27:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:27:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21197630700781568,"km_value":21197630700781.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:27:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":814447875277586432,"description":"Unknown IO ID 45"} 
[2026-06-18 16:27:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135674368001,"power":14461,"unknown_165":206,"unknown_94":10240,"ignition":27,"odometer":null,"unknown_45":814447875277586432}} 
[2026-06-18 16:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":106108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:27:03] local.INFO: GPS data processed {"connection_id":106108,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:27:03] local.INFO: Acknowledgment sent {"connection_id":106108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:27:03] local.INFO: TCP Data received {"connection_id":105925,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5e9c30012cd59d000737d308000c00f02c..."} 
[2026-06-18 16:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5e9c30012cd59d000737d308000c00f02c..."} 
[2026-06-18 16:27:03] local.INFO: Processing buffer {"connection_id":105925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5e9c30012cd59d000737d308000c00f02c..."} 
[2026-06-18 16:27:03] local.INFO: Packet analysis {"connection_id":105925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:27:03] local.INFO: Extracted packet for processing {"connection_id":105925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:27:03] local.INFO: GPS Element Parsed {"raw_longitude":752196864,"raw_latitude":121099016,"longitude_deg":75.2196864,"latitude_deg":12.1099016,"altitude":12,"angle":240,"satellites":44,"speed":0,"hex_longitude":"2cd59d00","hex_latitude":"0737d308","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135698688001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698092465487872,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3052666460169818112,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781780094000,"timestamp_ms":1781780094000,"timestamp_seconds":1781780094,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5e9c30"} 
[2026-06-18 16:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135698688001,"66":27245,"215":206,"2":56832,"24":0,"16":318698092465487872,"44":-3052666460169818112},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135698688001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:27:03] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698092465487872,"km_value":318698092465487.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:27:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3052666460169818112,"description":"Unknown IO ID 44"} 
[2026-06-18 16:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135698688001,"power":27245,"unknown_215":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3052666460169818112}} 
[2026-06-18 16:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":105925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:27:03] local.INFO: GPS data processed {"connection_id":105925,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:27:03] local.INFO: Acknowledgment sent {"connection_id":105925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:27:05] local.INFO: TCP Data received {"connection_id":105926,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5f4810012d7b758005e74a50000500b22a..."} 
[2026-06-18 16:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5f4810012d7b758005e74a50000500b22a..."} 
[2026-06-18 16:27:05] local.INFO: Processing buffer {"connection_id":105926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5f4810012d7b758005e74a50000500b22a..."} 
[2026-06-18 16:27:06] local.INFO: Packet analysis {"connection_id":105926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:27:06] local.INFO: Extracted packet for processing {"connection_id":105926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763065728,"raw_latitude":99043920,"longitude_deg":76.3065728,"latitude_deg":9.904392,"altitude":5,"angle":178,"satellites":42,"speed":27,"hex_longitude":"2d7b7580","hex_latitude":"05e74a50","is_valid_coordinates":true} 
[2026-06-18 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135713280001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93920553827565568,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895242608110886912,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:06] 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-06-18 16:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780138000,"timestamp_ms":1781780138000,"timestamp_seconds":1781780138,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5f4810"} 
[2026-06-18 16:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 16:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105926,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:27:06] 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-06-18 16:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135713280001,"66":13222,"96":206,"87":13824,"24":27,"16":93920553827565568,"45":8895242608110886912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 16:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135713280001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:27:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:27:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93920553827565568,"km_value":93920553827565.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895242608110886912,"description":"Unknown IO ID 45"} 
[2026-06-18 16:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135713280001,"power":13222,"unknown_96":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8895242608110886912}} 
[2026-06-18 16:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":105926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344937,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:27:06] local.INFO: GPS data processed {"connection_id":105926,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:27:06] local.INFO: Acknowledgment sent {"connection_id":105926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:27:24] local.INFO: TCP Data received {"connection_id":106109,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:27:24] local.INFO: Processing buffer {"connection_id":106109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:27:24] local.INFO: IMEI packet received {"connection_id":106109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":106109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:27:27] local.INFO: TCP Data received {"connection_id":107665,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5fe838012d1a5200072047d80032010123..."} 
[2026-06-18 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5fe838012d1a5200072047d80032010123..."} 
[2026-06-18 16:27:27] local.INFO: Processing buffer {"connection_id":107665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5fe838012d1a5200072047d80032010123..."} 
[2026-06-18 16:27:27] local.INFO: Packet analysis {"connection_id":107665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:27:27] local.INFO: Extracted packet for processing {"connection_id":107665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756699648,"raw_latitude":119556056,"longitude_deg":75.6699648,"latitude_deg":11.9556056,"altitude":50,"angle":257,"satellites":35,"speed":23,"hex_longitude":"2d1a5200","hex_latitude":"072047d8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135725056001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3308512092356608,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1898548748519854080,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781780179000,"timestamp_ms":1781780179000,"timestamp_seconds":1781780179,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5fe838"} 
[2026-06-18 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-06-18 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 16:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135725056001,"66":14243,"121":206,"28":31744,"24":23,"16":3308512092356608,"45":1898548748519854080},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135725056001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:27:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3308512092356608,"km_value":3308512092356.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1898548748519854080,"description":"Unknown IO ID 45"} 
[2026-06-18 16:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135725056001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1898548748519854080}} 
[2026-06-18 16:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":107665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:27:27] local.INFO: GPS data processed {"connection_id":107665,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:27:27] local.INFO: Acknowledgment sent {"connection_id":107665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:27:28] local.INFO: TCP Data received {"connection_id":106695,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:27:28] local.INFO: Processing buffer {"connection_id":106695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:27:28] local.INFO: IMEI packet received {"connection_id":106695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":106695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:27:30] local.INFO: TCP Data received {"connection_id":106109,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:27:30] local.INFO: Processing buffer {"connection_id":106109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:27:30] local.INFO: IMEI packet received {"connection_id":106109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":106109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:27:33] local.INFO: TCP Data received {"connection_id":106695,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106695,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:27:33] local.INFO: Processing buffer {"connection_id":106695,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:27:33] local.INFO: IMEI packet received {"connection_id":106695,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":106695,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:27:33] local.INFO: TCP Data received {"connection_id":106695,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda60cac8012d7ba5c005e67238000300a82a..."} 
[2026-06-18 16:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda60cac8012d7ba5c005e67238000300a82a..."} 
[2026-06-18 16:27:33] local.INFO: Processing buffer {"connection_id":106695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda60cac8012d7ba5c005e67238000300a82a..."} 
[2026-06-18 16:27:33] local.INFO: Packet analysis {"connection_id":106695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:27:33] local.INFO: Extracted packet for processing {"connection_id":106695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763078080,"raw_latitude":98988600,"longitude_deg":76.307808,"latitude_deg":9.89886,"altitude":3,"angle":168,"satellites":42,"speed":29,"hex_longitude":"2d7ba5c0","hex_latitude":"05e67238","is_valid_coordinates":true} 
[2026-06-18 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135737600001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93923349851275264,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907275663352025088,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:33] 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-06-18 16:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781780237000,"timestamp_ms":1781780237000,"timestamp_seconds":1781780237,"priority":1,"record_length":96,"hex_timestamp":"0000019eda60cac8"} 
[2026-06-18 16:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 16:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:27:33] 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-06-18 16:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135737600001,"66":13102,"96":206,"87":13824,"24":29,"16":93923349851275264,"45":8907275663352025088},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 16:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135737600001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:27:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:27:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93923349851275264,"km_value":93923349851275.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907275663352025088,"description":"Unknown IO ID 45"} 
[2026-06-18 16:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135737600001,"power":13102,"unknown_96":206,"unknown_87":13824,"ignition":29,"odometer":null,"unknown_45":8907275663352025088}} 
[2026-06-18 16:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":106695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:27:34] local.INFO: GPS data processed {"connection_id":106695,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:27:34] local.INFO: Acknowledgment sent {"connection_id":106695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:27:39] local.INFO: TCP Data received {"connection_id":106109,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5eb788012cd59d000737d308000c00f02d..."} 
[2026-06-18 16:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5eb788012cd59d000737d308000c00f02d..."} 
[2026-06-18 16:27:39] local.INFO: Processing buffer {"connection_id":106109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5eb788012cd59d000737d308000c00f02d..."} 
[2026-06-18 16:27:39] local.INFO: Packet analysis {"connection_id":106109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:27:39] local.INFO: Extracted packet for processing {"connection_id":106109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:27:39] local.INFO: GPS Element Parsed {"raw_longitude":752196864,"raw_latitude":121099016,"longitude_deg":75.2196864,"latitude_deg":12.1099016,"altitude":12,"angle":240,"satellites":45,"speed":0,"hex_longitude":"2cd59d00","hex_latitude":"0737d308","is_valid_coordinates":true} 
[2026-06-18 16:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135704064001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698092465487872,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054284941285980160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781780101000,"timestamp_ms":1781780101000,"timestamp_seconds":1781780101,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5eb788"} 
[2026-06-18 16:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 16:27:39] 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-06-18 16:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135704064001,"66":27908,"215":206,"2":56832,"24":0,"16":318698092465487872,"44":-3054284941285980160},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135704064001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:27:39] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698092465487872,"km_value":318698092465487.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:27:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054284941285980160,"description":"Unknown IO ID 44"} 
[2026-06-18 16:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135704064001,"power":27908,"unknown_215":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3054284941285980160}} 
[2026-06-18 16:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":106109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:27:39] local.INFO: GPS data processed {"connection_id":106109,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:27:39] local.INFO: Acknowledgment sent {"connection_id":106109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:27:44] local.INFO: TCP Data received {"connection_id":107666,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:27:44] local.INFO: Processing buffer {"connection_id":107666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:27:44] local.INFO: IMEI packet received {"connection_id":107666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":107666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:27:44] local.INFO: TCP Data received {"connection_id":107666,"ip":"117.224.105.184","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 16:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107666,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 16:27:44] local.INFO: Processing buffer {"connection_id":107666,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 16:27:44] local.INFO: IMEI packet received {"connection_id":107666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":107666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:27:49] local.INFO: TCP Data received {"connection_id":107666,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:27:49] local.INFO: Processing buffer {"connection_id":107666,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 16:27:49] local.INFO: IMEI packet received {"connection_id":107666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":107666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:27:51] local.INFO: TCP Data received {"connection_id":107666,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda601b00012d1a3400072042680034011124..."} 
[2026-06-18 16:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda601b00012d1a3400072042680034011124..."} 
[2026-06-18 16:27:51] local.INFO: Processing buffer {"connection_id":107666,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019eda..."} 
[2026-06-18 16:27:51] local.INFO: IMEI packet received {"connection_id":107666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":107666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:27:54] local.INFO: TCP Data received {"connection_id":107666,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda603a40012d1a1b40072043300038010424..."} 
[2026-06-18 16:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda603a40012d1a1b40072043300038010424..."} 
[2026-06-18 16:27:54] local.INFO: Processing buffer {"connection_id":107666,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019eda601b00012d1a3400072042680034011124..."} 
[2026-06-18 16:27:54] local.INFO: Packet analysis {"connection_id":107666,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:27:54] local.INFO: Extracted packet for processing {"connection_id":107666,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756691968,"raw_latitude":119554664,"longitude_deg":75.6691968,"latitude_deg":11.9554664,"altitude":52,"angle":273,"satellites":36,"speed":27,"hex_longitude":"2d1a3400","hex_latitude":"07204268","is_valid_coordinates":true} 
[2026-06-18 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135725824001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3308885754511360,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1896578423682750464,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781780192000,"timestamp_ms":1781780192000,"timestamp_seconds":1781780192,"priority":1,"record_length":96,"hex_timestamp":"0000019eda601b00"} 
[2026-06-18 16:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:27: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-06-18 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 16:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":107666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":107666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":107666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135725824001,"66":14113,"121":206,"28":31744,"24":27,"16":3308885754511360,"45":1896578423682750464},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135725824001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3308885754511360,"km_value":3308885754511.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1896578423682750464,"description":"Unknown IO ID 45"} 
[2026-06-18 16:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135725824001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1896578423682750464}} 
[2026-06-18 16:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":107666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:27:54] local.INFO: GPS data processed {"connection_id":107666,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:27:54] local.INFO: Acknowledgment sent {"connection_id":107666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:27:54] local.INFO: Packet analysis {"connection_id":107666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:27:54] local.INFO: Extracted packet for processing {"connection_id":107666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756685632,"raw_latitude":119554864,"longitude_deg":75.6685632,"latitude_deg":11.9554864,"altitude":56,"angle":260,"satellites":36,"speed":31,"hex_longitude":"2d1a1b40","hex_latitude":"07204330","is_valid_coordinates":true} 
[2026-06-18 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135729152001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3309186402222080,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888134174381074432,"note":"Value kept but may cause issues"} 
[2026-06-18 16:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781780200000,"timestamp_ms":1781780200000,"timestamp_seconds":1781780200,"priority":1,"record_length":96,"hex_timestamp":"0000019eda603a40"} 
[2026-06-18 16:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:27:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-18 16:27:54] 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-06-18 16:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":107666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":107666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":107666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135729152001,"66":14374,"121":206,"28":31744,"24":31,"16":3309186402222080,"45":1888134174381074432},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135729152001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3309186402222080,"km_value":3309186402222.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888134174381074432,"description":"Unknown IO ID 45"} 
[2026-06-18 16:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135729152001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1888134174381074432}} 
[2026-06-18 16:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":107666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:27:54] local.INFO: GPS data processed {"connection_id":107666,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:27:54] local.INFO: Acknowledgment sent {"connection_id":107666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:28:03] local.INFO: TCP Data received {"connection_id":106110,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:28:03] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:28:03] local.INFO: IMEI packet received {"connection_id":106110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":106110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:28:05] local.INFO: TCP Data received {"connection_id":106695,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda60d680012d7ba88005e669d00003009b2a..."} 
[2026-06-18 16:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda60d680012d7ba88005e669d00003009b2a..."} 
[2026-06-18 16:28:05] local.INFO: Processing buffer {"connection_id":106695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda60d680012d7ba88005e669d00003009b2a..."} 
[2026-06-18 16:28:05] local.INFO: Packet analysis {"connection_id":106695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:28:05] local.INFO: Extracted packet for processing {"connection_id":106695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763078784,"raw_latitude":98986448,"longitude_deg":76.3078784,"latitude_deg":9.8986448,"altitude":3,"angle":155,"satellites":42,"speed":30,"hex_longitude":"2d7ba880","hex_latitude":"05e669d0","is_valid_coordinates":true} 
[2026-06-18 16:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135740672001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93923461520424960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909738569396008960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:05] 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-06-18 16:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781780240000,"timestamp_ms":1781780240000,"timestamp_seconds":1781780240,"priority":1,"record_length":96,"hex_timestamp":"0000019eda60d680"} 
[2026-06-18 16:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 16:28:05] 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-06-18 16:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106695,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:28: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-06-18 16:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135740672001,"66":13461,"96":206,"87":13824,"24":30,"16":93923461520424960,"45":8909738569396008960},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-06-18 16:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135740672001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:28:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:28:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93923461520424960,"km_value":93923461520424.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909738569396008960,"description":"Unknown IO ID 45"} 
[2026-06-18 16:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135740672001,"power":13461,"unknown_96":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8909738569396008960}} 
[2026-06-18 16:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":106695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344943,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:28:05] local.INFO: GPS data processed {"connection_id":106695,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:28:05] local.INFO: Acknowledgment sent {"connection_id":106695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:28:28] local.INFO: TCP Data received {"connection_id":107667,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:28:28] local.INFO: Processing buffer {"connection_id":107667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:28:28] local.INFO: IMEI packet received {"connection_id":107667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":107667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:28:29] local.INFO: TCP Data received {"connection_id":107666,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda613c10012d19ca40071ff298002c00e625..."} 
[2026-06-18 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda613c10012d19ca40071ff298002c00e625..."} 
[2026-06-18 16:28:29] local.INFO: Processing buffer {"connection_id":107666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda613c10012d19ca40071ff298002c00e625..."} 
[2026-06-18 16:28:29] local.INFO: Packet analysis {"connection_id":107666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:28:29] local.INFO: Extracted packet for processing {"connection_id":107666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119534232,"longitude_deg":75.6664896,"latitude_deg":11.9534232,"altitude":44,"angle":230,"satellites":37,"speed":15,"hex_longitude":"2d19ca40","hex_latitude":"071ff298","is_valid_coordinates":true} 
[2026-06-18 16:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135747072001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3311046123061248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859282989263353856,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781780266000,"timestamp_ms":1781780266000,"timestamp_seconds":1781780266,"priority":1,"record_length":96,"hex_timestamp":"0000019eda613c10"} 
[2026-06-18 16:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:28:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 16:28:29] 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-06-18 16: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-06-18 16:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135747072001,"66":14396,"121":206,"28":31744,"24":15,"16":3311046123061248,"45":1859282989263353856},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135747072001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:28:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:28:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3311046123061248,"km_value":3311046123061.248,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859282989263353856,"description":"Unknown IO ID 45"} 
[2026-06-18 16:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135747072001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1859282989263353856}} 
[2026-06-18 16:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":107666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:28:29] local.INFO: GPS data processed {"connection_id":107666,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:28:29] local.INFO: Acknowledgment sent {"connection_id":107666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:28:33] local.INFO: TCP Data received {"connection_id":106111,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:28:33] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:28:33] local.INFO: IMEI packet received {"connection_id":106111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":106111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:28:33] local.INFO: TCP Data received {"connection_id":107667,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107667,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:28:33] local.INFO: Processing buffer {"connection_id":107667,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:28:33] local.INFO: IMEI packet received {"connection_id":107667,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":107667,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:28:34] local.INFO: TCP Data received {"connection_id":107667,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda610178012d7bbbc005e64a380004009829..."} 
[2026-06-18 16:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda610178012d7bbbc005e64a380004009829..."} 
[2026-06-18 16:28:34] local.INFO: Processing buffer {"connection_id":107667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda610178012d7bbbc005e64a380004009829..."} 
[2026-06-18 16:28:34] local.INFO: Packet analysis {"connection_id":107667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:28:34] local.INFO: Extracted packet for processing {"connection_id":107667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":763083712,"raw_latitude":98978360,"longitude_deg":76.3083712,"latitude_deg":9.897836,"altitude":4,"angle":152,"satellites":41,"speed":34,"hex_longitude":"2d7bbbc0","hex_latitude":"05e64a38","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135741440001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93923921081925632,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910512625581412352,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:34] 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-06-18 16:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781780251000,"timestamp_ms":1781780251000,"timestamp_seconds":1781780251,"priority":1,"record_length":96,"hex_timestamp":"0000019eda610178"} 
[2026-06-18 16:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-06-18 16:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1799,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:28: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-06-18 16:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135741440001,"66":13048,"95":206,"87":13824,"24":34,"16":93923921081925632,"45":8910512625581412352},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-18 16:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135741440001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:28:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 16:28:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93923921081925632,"km_value":93923921081925.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910512625581412352,"description":"Unknown IO ID 45"} 
[2026-06-18 16:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135741440001,"power":13048,"unknown_95":206,"unknown_87":13824,"ignition":34,"odometer":null,"unknown_45":8910512625581412352}} 
[2026-06-18 16:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":107667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344945,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:28:34] local.INFO: GPS data processed {"connection_id":107667,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:28:34] local.INFO: Acknowledgment sent {"connection_id":107667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:28:39] local.INFO: TCP Data received {"connection_id":106696,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:39] local.INFO: Processing buffer {"connection_id":106696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:39] local.INFO: IMEI packet received {"connection_id":106696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":106696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:28:40] local.INFO: TCP Data received {"connection_id":106696,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:40] local.INFO: Processing buffer {"connection_id":106696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:40] local.INFO: IMEI packet received {"connection_id":106696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":106696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:28:44] local.INFO: TCP Data received {"connection_id":105927,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:44] local.INFO: Processing buffer {"connection_id":105927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:44] local.INFO: IMEI packet received {"connection_id":105927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":105927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:28:45] local.INFO: TCP Data received {"connection_id":106696,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:45] local.INFO: Processing buffer {"connection_id":106696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:28:45] local.INFO: IMEI packet received {"connection_id":106696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":106696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:28:46] local.INFO: TCP Data received {"connection_id":105927,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:46] local.INFO: Processing buffer {"connection_id":105927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:46] local.INFO: IMEI packet received {"connection_id":105927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":105927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:28:49] local.INFO: TCP Data received {"connection_id":105927,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:49] local.INFO: Processing buffer {"connection_id":105927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:28:49] local.INFO: IMEI packet received {"connection_id":105927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":105927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:28:50] local.INFO: TCP Data received {"connection_id":106696,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda60af70012cd59e000737d320000c00f02d..."} 
[2026-06-18 16:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda60af70012cd59e000737d320000c00f02d..."} 
[2026-06-18 16:28:50] local.INFO: Processing buffer {"connection_id":106696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda60af70012cd59e000737d320000c00f02d..."} 
[2026-06-18 16:28:50] local.INFO: Packet analysis {"connection_id":106696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:28:50] local.INFO: Extracted packet for processing {"connection_id":106696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda60"} 
[2026-06-18 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":752197120,"raw_latitude":121099040,"longitude_deg":75.219712,"latitude_deg":12.109904,"altitude":12,"angle":240,"satellites":45,"speed":0,"hex_longitude":"2cd59e00","hex_latitude":"0737d320","is_valid_coordinates":true} 
[2026-06-18 16:28: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-06-18 16:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135705856001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698092465487872,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054284941285980160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781780230000,"timestamp_ms":1781780230000,"timestamp_seconds":1781780230,"priority":1,"record_length":96,"hex_timestamp":"0000019eda60af70"} 
[2026-06-18 16:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135705856001,"66":26560,"215":206,"2":56832,"24":0,"16":318698092465487872,"44":-3054284941285980160},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135705856001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:28:50] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698092465487872,"km_value":318698092465487.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:28:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054284941285980160,"description":"Unknown IO ID 44"} 
[2026-06-18 16:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135705856001,"power":26560,"unknown_215":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3054284941285980160}} 
[2026-06-18 16:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":106696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:28:50] local.INFO: GPS data processed {"connection_id":106696,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:28:50] local.INFO: Acknowledgment sent {"connection_id":106696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:28:50] local.INFO: TCP Data received {"connection_id":105927,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda613ff8012d19c8c0071ff1c0002d00f525..."} 
[2026-06-18 16:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda613ff8012d19c8c0071ff1c0002d00f525..."} 
[2026-06-18 16:28:50] local.INFO: Processing buffer {"connection_id":105927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda613ff8012d19c8c0071ff1c0002d00f525..."} 
[2026-06-18 16:28:50] local.INFO: Packet analysis {"connection_id":105927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:28:50] local.INFO: Extracted packet for processing {"connection_id":105927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756664512,"raw_latitude":119534016,"longitude_deg":75.6664512,"latitude_deg":11.9534016,"altitude":45,"angle":245,"satellites":37,"speed":17,"hex_longitude":"2d19c8c0","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-18 16:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135748096001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3311067597897728,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195588691968,"note":"Value kept but may cause issues"} 
[2026-06-18 16:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781780267000,"timestamp_ms":1781780267000,"timestamp_seconds":1781780267,"priority":1,"record_length":96,"hex_timestamp":"0000019eda613ff8"} 
[2026-06-18 16:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:28:50] 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-06-18 16:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 16:28:50] 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-06-18 16:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135748096001,"66":14374,"121":206,"28":31744,"24":17,"16":3311067597897728,"45":1858368195588691968},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135748096001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:28:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:28:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3311067597897728,"km_value":3311067597897.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195588691968,"description":"Unknown IO ID 45"} 
[2026-06-18 16:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135748096001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1858368195588691968}} 
[2026-06-18 16:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":105927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:28:50] local.INFO: GPS data processed {"connection_id":105927,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:28:50] local.INFO: Acknowledgment sent {"connection_id":105927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:29:05] local.INFO: TCP Data received {"connection_id":107667,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda612c70012d7bc44005e63a28000500a82a..."} 
[2026-06-18 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda612c70012d7bc44005e63a28000500a82a..."} 
[2026-06-18 16:29:05] local.INFO: Processing buffer {"connection_id":107667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda612c70012d7bc44005e63a28000500a82a..."} 
[2026-06-18 16:29:05] local.INFO: Packet analysis {"connection_id":107667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:29:05] local.INFO: Extracted packet for processing {"connection_id":107667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":763085888,"raw_latitude":98974248,"longitude_deg":76.3085888,"latitude_deg":9.8974248,"altitude":5,"angle":168,"satellites":42,"speed":9,"hex_longitude":"2d7bc440","hex_latitude":"05e63a28","is_valid_coordinates":true} 
[2026-06-18 16:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135744256001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93924144420225024,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915931018881021952,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:05] 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-06-18 16:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781780262000,"timestamp_ms":1781780262000,"timestamp_seconds":1781780262,"priority":1,"record_length":96,"hex_timestamp":"0000019eda612c70"} 
[2026-06-18 16:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 16:29:05] 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-06-18 16:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107667,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:29: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-06-18 16:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135744256001,"66":13298,"95":206,"87":13824,"24":9,"16":93924144420225024,"45":8915931018881021952},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,87,24,16,45]} 
[2026-06-18 16:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135744256001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:29:05] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 16:29:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93924144420225024,"km_value":93924144420225.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915931018881021952,"description":"Unknown IO ID 45"} 
[2026-06-18 16:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135744256001,"power":13298,"unknown_95":206,"unknown_87":13824,"ignition":9,"odometer":null,"unknown_45":8915931018881021952}} 
[2026-06-18 16:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":107667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:29:05] local.INFO: GPS data processed {"connection_id":107667,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:29:05] local.INFO: Acknowledgment sent {"connection_id":107667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:29:22] local.INFO: TCP Data received {"connection_id":105927,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda61d850012d197d40071fecb0003700ff25..."} 
[2026-06-18 16:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda61d850012d197d40071fecb0003700ff25..."} 
[2026-06-18 16:29:22] local.INFO: Processing buffer {"connection_id":105927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda61d850012d197d40071fecb0003700ff25..."} 
[2026-06-18 16:29:22] local.INFO: Packet analysis {"connection_id":105927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:29:22] local.INFO: Extracted packet for processing {"connection_id":105927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756645184,"raw_latitude":119532720,"longitude_deg":75.6645184,"latitude_deg":11.953272,"altitude":55,"angle":255,"satellites":37,"speed":20,"hex_longitude":"2d197d40","hex_latitude":"071fecb0","is_valid_coordinates":true} 
[2026-06-18 16:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135757568001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312008195735552,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838242734753669120,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781780306000,"timestamp_ms":1781780306000,"timestamp_seconds":1781780306,"priority":1,"record_length":96,"hex_timestamp":"0000019eda61d850"} 
[2026-06-18 16:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:29:22] 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-06-18 16:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3663822456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-1150669494321273600,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":162,"raw_value":3221692401,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3285385216,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":127,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.WARNING: Large IO value detected {"io_id":97,"raw_value":7987135232357416967,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:22] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,196,45,128,240,56,35,10,66,181,57,36,157,192,1,167,195,218,31,4,113,205,130,162,104,239,52,2,11,7,51,14,127,97],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 16:29:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963428415256788992,"timestamp_seconds":3963428415256789.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":105927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":105927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":105927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135757568001,"66":13254,"121":206,"28":31744,"24":20,"16":3312008195735552,"45":1838242734753669120},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135757568001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:29:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:29:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312008195735552,"km_value":3312008195735.552,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838242734753669120,"description":"Unknown IO ID 45"} 
[2026-06-18 16:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135757568001,"power":13254,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1838242734753669120}} 
[2026-06-18 16:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":105927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:29:22] local.INFO: GPS data processed {"connection_id":105927,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:29:22] local.INFO: Acknowledgment sent {"connection_id":105927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:29:24] local.INFO: TCP Data received {"connection_id":106697,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:29:24] local.INFO: Processing buffer {"connection_id":106697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:29:24] local.INFO: IMEI packet received {"connection_id":106697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":106697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:29:28] local.INFO: TCP Data received {"connection_id":107668,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:29:28] local.INFO: Processing buffer {"connection_id":107668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:29:28] local.INFO: IMEI packet received {"connection_id":107668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":107668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:29:29] local.INFO: TCP Data received {"connection_id":106697,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:29:29] local.INFO: Processing buffer {"connection_id":106697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:29:29] local.INFO: IMEI packet received {"connection_id":106697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":106697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:29:30] local.INFO: TCP Data received {"connection_id":106697,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda610560012cd59d000737d308000c00f02e..."} 
[2026-06-18 16:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda610560012cd59d000737d308000c00f02e..."} 
[2026-06-18 16:29:30] local.INFO: Processing buffer {"connection_id":106697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda610560012cd59d000737d308000c00f02e..."} 
[2026-06-18 16:29:30] local.INFO: Packet analysis {"connection_id":106697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:29:30] local.INFO: Extracted packet for processing {"connection_id":106697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:29:30] local.INFO: GPS Element Parsed {"raw_longitude":752196864,"raw_latitude":121099016,"longitude_deg":75.2196864,"latitude_deg":12.1099016,"altitude":12,"angle":240,"satellites":46,"speed":0,"hex_longitude":"2cd59d00","hex_latitude":"0737d308","is_valid_coordinates":true} 
[2026-06-18 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135738880001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698092465487872,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054003466309263360,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781780252000,"timestamp_ms":1781780252000,"timestamp_seconds":1781780252,"priority":1,"record_length":96,"hex_timestamp":"0000019eda610560"} 
[2026-06-18 16:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:29: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-06-18 16:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-06-18 16:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2441,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135738880001,"66":27789,"215":206,"2":56832,"24":0,"16":318698092465487872,"44":-3054003466309263360},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135738880001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:29:30] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698092465487872,"km_value":318698092465487.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054003466309263360,"description":"Unknown IO ID 44"} 
[2026-06-18 16:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135738880001,"power":27789,"unknown_215":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3054003466309263360}} 
[2026-06-18 16:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":106697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:29:30] local.INFO: GPS data processed {"connection_id":106697,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:29:30] local.INFO: Acknowledgment sent {"connection_id":106697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:29:34] local.INFO: TCP Data received {"connection_id":107668,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107668,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:29:34] local.INFO: Processing buffer {"connection_id":107668,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:29:34] local.INFO: IMEI packet received {"connection_id":107668,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":107668,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:29:35] local.INFO: TCP Data received {"connection_id":107668,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda627490012d7c258005e58788000700a02a..."} 
[2026-06-18 16:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda627490012d7c258005e58788000700a02a..."} 
[2026-06-18 16:29:35] local.INFO: Processing buffer {"connection_id":107668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda627490012d7c258005e58788000700a02a..."} 
[2026-06-18 16:29:35] local.INFO: Packet analysis {"connection_id":107668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:29:35] local.INFO: Extracted packet for processing {"connection_id":107668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:29:35] local.INFO: GPS Element Parsed {"raw_longitude":763110784,"raw_latitude":98928520,"longitude_deg":76.3110784,"latitude_deg":9.892852,"altitude":7,"angle":160,"satellites":42,"speed":35,"hex_longitude":"2d7c2580","hex_latitude":"05e58788","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135765248001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93926712810668032,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941545241751103488,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781780346000,"timestamp_ms":1781780346000,"timestamp_seconds":1781780346,"priority":1,"record_length":96,"hex_timestamp":"0000019eda627490"} 
[2026-06-18 16:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:29:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 16:29:35] 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-06-18 16: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-06-18 16:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:29:35] 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-06-18 16:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135765248001,"66":13080,"40":206,"87":13824,"24":35,"16":93926712810668032,"45":8941545241751103488},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,87,24,16,45]} 
[2026-06-18 16:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135765248001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:29:35] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-06-18 16:29:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93926712810668032,"km_value":93926712810668.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941545241751103488,"description":"Unknown IO ID 45"} 
[2026-06-18 16:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135765248001,"power":13080,"unknown_40":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8941545241751103488}} 
[2026-06-18 16:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":107668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344951,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:29:35] local.INFO: GPS data processed {"connection_id":107668,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:29:35] local.INFO: Acknowledgment sent {"connection_id":107668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:29:44] local.INFO: TCP Data received {"connection_id":106699,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:29:44] local.INFO: Processing buffer {"connection_id":106699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:29:44] local.INFO: IMEI packet received {"connection_id":106699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":106699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:29:49] local.INFO: TCP Data received {"connection_id":106699,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106699,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:29:49] local.INFO: Processing buffer {"connection_id":106699,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:29:49] local.INFO: IMEI packet received {"connection_id":106699,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":106699,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:29:56] local.INFO: TCP Data received {"connection_id":106699,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda61e020012d197980071fec500037010b25..."} 
[2026-06-18 16:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda61e020012d197980071fec500037010b25..."} 
[2026-06-18 16:29:56] local.INFO: Processing buffer {"connection_id":106699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda61e020012d197980071fec500037010b25..."} 
[2026-06-18 16:29:56] local.INFO: Packet analysis {"connection_id":106699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:29:56] local.INFO: Extracted packet for processing {"connection_id":106699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:29:56] local.INFO: GPS Element Parsed {"raw_longitude":756644224,"raw_latitude":119532624,"longitude_deg":75.6644224,"latitude_deg":11.9532624,"altitude":55,"angle":267,"satellites":37,"speed":18,"hex_longitude":"2d197980","hex_latitude":"071fec50","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135758336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312055440375808,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836694622381584384,"note":"Value kept but may cause issues"} 
[2026-06-18 16:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781780308000,"timestamp_ms":1781780308000,"timestamp_seconds":1781780308,"priority":1,"record_length":96,"hex_timestamp":"0000019eda61e020"} 
[2026-06-18 16:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:29:56] 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-06-18 16:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 16:29: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-06-18 16: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-06-18 16:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135758336001,"66":13276,"121":206,"28":31744,"24":18,"16":3312055440375808,"45":1836694622381584384},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135758336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:29:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312055440375808,"km_value":3312055440375.808,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836694622381584384,"description":"Unknown IO ID 45"} 
[2026-06-18 16:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135758336001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1836694622381584384}} 
[2026-06-18 16:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":106699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:29:56] local.INFO: GPS data processed {"connection_id":106699,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:29:56] local.INFO: Acknowledgment sent {"connection_id":106699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:30:05] local.INFO: TCP Data received {"connection_id":106697,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda615768012cd59d000737d308000c00f02d..."} 
[2026-06-18 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda615768012cd59d000737d308000c00f02d..."} 
[2026-06-18 16:30:05] local.INFO: Processing buffer {"connection_id":106697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda615768012cd59d000737d308000c00f02d..."} 
[2026-06-18 16:30:05] local.INFO: Packet analysis {"connection_id":106697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:30:05] local.INFO: Extracted packet for processing {"connection_id":106697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":752196864,"raw_latitude":121099016,"longitude_deg":75.2196864,"latitude_deg":12.1099016,"altitude":12,"angle":240,"satellites":45,"speed":0,"hex_longitude":"2cd59d00","hex_latitude":"0737d308","is_valid_coordinates":true} 
[2026-06-18 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135744512001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698092465487872,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054284941285980160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781780273000,"timestamp_ms":1781780273000,"timestamp_seconds":1781780273,"priority":1,"record_length":96,"hex_timestamp":"0000019eda615768"} 
[2026-06-18 16:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 16:30: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-06-18 16:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135744512001,"66":27919,"215":206,"2":56832,"24":0,"16":318698092465487872,"44":-3054284941285980160},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135744512001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:30:05] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698092465487872,"km_value":318698092465487.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054284941285980160,"description":"Unknown IO ID 44"} 
[2026-06-18 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135744512001,"power":27919,"unknown_215":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3054284941285980160}} 
[2026-06-18 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":106697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:30:05] local.INFO: GPS data processed {"connection_id":106697,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:30:05] local.INFO: Acknowledgment sent {"connection_id":106697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:30:06] local.INFO: TCP Data received {"connection_id":107668,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda629f88012d7c2dc005e56418000800a929..."} 
[2026-06-18 16:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda629f88012d7c2dc005e56418000800a929..."} 
[2026-06-18 16:30:07] local.INFO: Processing buffer {"connection_id":107668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda629f88012d7c2dc005e56418000800a929..."} 
[2026-06-18 16:30:07] local.INFO: Packet analysis {"connection_id":107668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:30:07] local.INFO: Extracted packet for processing {"connection_id":107668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763112896,"raw_latitude":98919448,"longitude_deg":76.3112896,"latitude_deg":9.8919448,"altitude":8,"angle":169,"satellites":41,"speed":30,"hex_longitude":"2d7c2dc0","hex_latitude":"05e56418","is_valid_coordinates":true} 
[2026-06-18 16:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135768576001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93927163782234112,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8945696997655414784,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781780357000,"timestamp_ms":1781780357000,"timestamp_seconds":1781780357,"priority":1,"record_length":96,"hex_timestamp":"0000019eda629f88"} 
[2026-06-18 16:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:30:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 16:30:07] 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-06-18 16:30: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-06-18 16:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107668,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:30:07] 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-06-18 16:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135768576001,"66":12982,"39":206,"87":13824,"24":30,"16":93927163782234112,"45":8945696997655414784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-18 16:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135768576001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:30:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 16:30:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93927163782234112,"km_value":93927163782234.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8945696997655414784,"description":"Unknown IO ID 45"} 
[2026-06-18 16:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135768576001,"power":12982,"unknown_39":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8945696997655414784}} 
[2026-06-18 16:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":107668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344954,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:30:07] local.INFO: GPS data processed {"connection_id":107668,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:30:07] local.INFO: Acknowledgment sent {"connection_id":107668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:30:29] local.INFO: TCP Data received {"connection_id":106699,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda620b18012d196a80071fec58003b011723..."} 
[2026-06-18 16:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda620b18012d196a80071fec58003b011723..."} 
[2026-06-18 16:30:29] local.INFO: Processing buffer {"connection_id":106699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda620b18012d196a80071fec58003b011723..."} 
[2026-06-18 16:30:29] local.INFO: Packet analysis {"connection_id":106699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:30:29] local.INFO: Extracted packet for processing {"connection_id":106699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":756640384,"raw_latitude":119532632,"longitude_deg":75.6640384,"latitude_deg":11.9532632,"altitude":59,"angle":279,"satellites":35,"speed":6,"hex_longitude":"2d196a80","hex_latitude":"071fec58","is_valid_coordinates":true} 
[2026-06-18 16:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135758848001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312235829002240,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835639091218894848,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781780319000,"timestamp_ms":1781780319000,"timestamp_seconds":1781780319,"priority":1,"record_length":96,"hex_timestamp":"0000019eda620b18"} 
[2026-06-18 16:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 16:30:29] 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-06-18 16: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-06-18 16:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106699,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135758848001,"66":13276,"121":206,"28":31744,"24":6,"16":3312235829002240,"45":1835639091218894848},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135758848001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:30:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:30:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312235829002240,"km_value":3312235829002.24,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835639091218894848,"description":"Unknown IO ID 45"} 
[2026-06-18 16:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135758848001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1835639091218894848}} 
[2026-06-18 16:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":106699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:30:29] local.INFO: GPS data processed {"connection_id":106699,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:30:29] local.INFO: Acknowledgment sent {"connection_id":106699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:30:30] local.INFO: TCP Data received {"connection_id":106112,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:30:30] local.INFO: Processing buffer {"connection_id":106112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:30:30] local.INFO: IMEI packet received {"connection_id":106112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:30:30] local.INFO: IMEI acknowledgment sent {"connection_id":106112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:30:31] local.INFO: TCP Data received {"connection_id":106112,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:30:31] local.INFO: Processing buffer {"connection_id":106112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:30:31] local.INFO: IMEI packet received {"connection_id":106112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":106112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:30:32] local.INFO: TCP Data received {"connection_id":106700,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:32] local.INFO: Processing buffer {"connection_id":106700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:32] local.INFO: IMEI packet received {"connection_id":106700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":106700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:30:33] local.INFO: TCP Data received {"connection_id":106112,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6176a8012cd599400737d340001f010a2d..."} 
[2026-06-18 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6176a8012cd599400737d340001f010a2d..."} 
[2026-06-18 16:30:33] local.INFO: Processing buffer {"connection_id":106112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6176a8012cd599400737d340001f010a2d..."} 
[2026-06-18 16:30:33] local.INFO: Packet analysis {"connection_id":106112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:30:33] local.INFO: Extracted packet for processing {"connection_id":106112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":752195904,"raw_latitude":121099072,"longitude_deg":75.2195904,"latitude_deg":12.1099072,"altitude":31,"angle":266,"satellites":45,"speed":5,"hex_longitude":"2cd59940","hex_latitude":"0737d340","is_valid_coordinates":true} 
[2026-06-18 16:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135749888001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698139710128128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3054284941285980160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781780281000,"timestamp_ms":1781780281000,"timestamp_seconds":1781780281,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6176a8"} 
[2026-06-18 16:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:30:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 16:30:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135749888001,"66":27995,"215":206,"2":56832,"24":5,"16":318698139710128128,"44":-3054284941285980160},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,2,24,16,44]} 
[2026-06-18 16:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135749888001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:30:33] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-06-18 16:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698139710128128,"km_value":318698139710128.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:30:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3054284941285980160,"description":"Unknown IO ID 44"} 
[2026-06-18 16:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135749888001,"power":27995,"unknown_215":206,"power_alt":56832,"ignition":5,"odometer":null,"unknown_44":-3054284941285980160}} 
[2026-06-18 16:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":106112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:30:33] local.INFO: GPS data processed {"connection_id":106112,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:30:33] local.INFO: Acknowledgment sent {"connection_id":106112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:30:33] local.INFO: TCP Data received {"connection_id":106700,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:33] local.INFO: Processing buffer {"connection_id":106700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:33] local.INFO: IMEI packet received {"connection_id":106700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":106700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:30:38] local.INFO: TCP Data received {"connection_id":106700,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106700,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:38] local.INFO: Processing buffer {"connection_id":106700,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:30:38] local.INFO: IMEI packet received {"connection_id":106700,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":106700,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:30:40] local.INFO: TCP Data received {"connection_id":106700,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda62af28012d7c304005e559a80008009a29..."} 
[2026-06-18 16:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda62af28012d7c304005e559a80008009a29..."} 
[2026-06-18 16:30:40] local.INFO: Processing buffer {"connection_id":106700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda62af28012d7c304005e559a80008009a29..."} 
[2026-06-18 16:30:40] local.INFO: Packet analysis {"connection_id":106700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:30:40] local.INFO: Extracted packet for processing {"connection_id":106700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":763113536,"raw_latitude":98916776,"longitude_deg":76.3113536,"latitude_deg":9.8916776,"altitude":8,"angle":154,"satellites":41,"speed":24,"hex_longitude":"2d7c3040","hex_latitude":"05e559a8","is_valid_coordinates":true} 
[2026-06-18 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135771392001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93927301221187584,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8948019166210955264,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:40] 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-06-18 16:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781780361000,"timestamp_ms":1781780361000,"timestamp_seconds":1781780361,"priority":1,"record_length":96,"hex_timestamp":"0000019eda62af28"} 
[2026-06-18 16:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:30:40] 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-06-18 16:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135771392001,"66":12645,"39":206,"87":13824,"24":24,"16":93927301221187584,"45":8948019166210955264},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-06-18 16:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135771392001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:30:40] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 16:30:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 16:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93927301221187584,"km_value":93927301221187.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8948019166210955264,"description":"Unknown IO ID 45"} 
[2026-06-18 16:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135771392001,"power":12645,"unknown_39":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8948019166210955264}} 
[2026-06-18 16:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":106700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344957,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:30:40] local.INFO: GPS data processed {"connection_id":106700,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:30:40] local.INFO: Acknowledgment sent {"connection_id":106700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:30:49] local.INFO: TCP Data received {"connection_id":105928,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:30:49] local.INFO: Processing buffer {"connection_id":105928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:30:49] local.INFO: IMEI packet received {"connection_id":105928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":105928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:30:54] local.INFO: TCP Data received {"connection_id":105928,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105928,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:30:54] local.INFO: Processing buffer {"connection_id":105928,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:30:54] local.INFO: IMEI packet received {"connection_id":105928,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":105928,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:30:56] local.INFO: TCP Data received {"connection_id":105928,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda625d20012d1969c0071fec18003b011724..."} 
[2026-06-18 16:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda625d20012d1969c0071fec18003b011724..."} 
[2026-06-18 16:30:56] local.INFO: Processing buffer {"connection_id":105928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda625d20012d1969c0071fec18003b011724..."} 
[2026-06-18 16:30:56] local.INFO: Packet analysis {"connection_id":105928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:30:56] local.INFO: Extracted packet for processing {"connection_id":105928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:30:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135761664001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966568237056,"note":"Value kept but may cause issues"} 
[2026-06-18 16:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781780340000,"timestamp_ms":1781780340000,"timestamp_seconds":1781780340,"priority":1,"record_length":96,"hex_timestamp":"0000019eda625d20"} 
[2026-06-18 16:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:30:56] 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-06-18 16:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 16:30:56] 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-06-18 16:30:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135761664001,"66":13156,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831416966568237056},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135761664001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:30:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966568237056,"description":"Unknown IO ID 45"} 
[2026-06-18 16:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135761664001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831416966568237056}} 
[2026-06-18 16:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":105928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:30:56] local.INFO: GPS data processed {"connection_id":105928,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:30:56] local.INFO: Acknowledgment sent {"connection_id":105928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:31:00] local.INFO: TCP Data received {"connection_id":105928,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda62af28012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda62af28012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:00] local.INFO: Processing buffer {"connection_id":105928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda62af28012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:00] local.INFO: Packet analysis {"connection_id":105928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:31:00] local.INFO: Extracted packet for processing {"connection_id":105928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135767040001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781780361000,"timestamp_ms":1781780361000,"timestamp_seconds":1781780361,"priority":1,"record_length":96,"hex_timestamp":"0000019eda62af28"} 
[2026-06-18 16:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-18 16:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105928,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135767040001,"66":12428,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135767040001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:31:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135767040001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":105928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:31:00] local.INFO: GPS data processed {"connection_id":105928,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:31:00] local.INFO: Acknowledgment sent {"connection_id":105928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:31:04] local.INFO: TCP Data received {"connection_id":106112,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda618a30012cd594800737d2a0001e00fb2e..."} 
[2026-06-18 16:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda618a30012cd594800737d2a0001e00fb2e..."} 
[2026-06-18 16:31:04] local.INFO: Processing buffer {"connection_id":106112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda618a30012cd594800737d2a0001e00fb2e..."} 
[2026-06-18 16:31:04] local.INFO: Packet analysis {"connection_id":106112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:31:04] local.INFO: Extracted packet for processing {"connection_id":106112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":752194688,"raw_latitude":121098912,"longitude_deg":75.2194688,"latitude_deg":12.1098912,"altitude":30,"angle":251,"satellites":46,"speed":11,"hex_longitude":"2cd59480","hex_latitude":"0737d2a0","is_valid_coordinates":true} 
[2026-06-18 16:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135751936001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698195544702976,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3055340472448630784,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781780286000,"timestamp_ms":1781780286000,"timestamp_seconds":1781780286,"priority":1,"record_length":96,"hex_timestamp":"0000019eda618a30"} 
[2026-06-18 16:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 16:31:04] 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-06-18 16:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135751936001,"66":27876,"230":206,"2":56832,"24":11,"16":318698195544702976,"44":-3055340472448630784},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16,44]} 
[2026-06-18 16:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135751936001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:31:04] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-06-18 16:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698195544702976,"km_value":318698195544703.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:31:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3055340472448630784,"description":"Unknown IO ID 44"} 
[2026-06-18 16:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135751936001,"power":27876,"unknown_230":206,"power_alt":56832,"ignition":11,"odometer":null,"unknown_44":-3055340472448630784}} 
[2026-06-18 16:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":106112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:31:04] local.INFO: GPS data processed {"connection_id":106112,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:31:04] local.INFO: Acknowledgment sent {"connection_id":106112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:31:07] local.INFO: TCP Data received {"connection_id":106702,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106702,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:31:07] local.INFO: Processing buffer {"connection_id":106702,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:31:07] local.INFO: IMEI packet received {"connection_id":106702,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":106702,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:31:10] local.INFO: TCP Data received {"connection_id":106700,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6412a0012d7bf58005e4a2d8000c00d528..."} 
[2026-06-18 16:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6412a0012d7bf58005e4a2d8000c00d528..."} 
[2026-06-18 16:31:10] local.INFO: Processing buffer {"connection_id":106700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6412a0012d7bf58005e4a2d8000c00d528..."} 
[2026-06-18 16:31:10] local.INFO: Packet analysis {"connection_id":106700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:31:10] local.INFO: Extracted packet for processing {"connection_id":106700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:31:10] local.INFO: GPS Element Parsed {"raw_longitude":763098496,"raw_latitude":98869976,"longitude_deg":76.3098496,"latitude_deg":9.8869976,"altitude":12,"angle":213,"satellites":40,"speed":43,"hex_longitude":"2d7bf580","hex_latitude":"05e4a2d8","is_valid_coordinates":true} 
[2026-06-18 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135793408001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93929908266336256,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8937674960806068224,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781780452000,"timestamp_ms":1781780452000,"timestamp_seconds":1781780452,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6412a0"} 
[2026-06-18 16:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3663945456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2652620202004916736,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3623955836,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3137391960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3004760064,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3844077568,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57799294766176054,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.WARNING: Large IO value detected {"io_id":99,"raw_value":2618844478185701381,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,39,87,24,241,157,16,180,158,192,45,221,11,41,10,66,179,253,42,110,1,240,248,227,218,229,4,113,205,13,98,69,44,239,51,2,77,5,7,99],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-06-18 16:31:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864924401016373248,"timestamp_seconds":864924401016373.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106700,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:31:10] 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-06-18 16:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135793408001,"66":13189,"43":206,"85":15104,"24":43,"16":93929908266336256,"45":8937674960806068224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 16:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135793408001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:31:10] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 16:31:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93929908266336256,"km_value":93929908266336.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8937674960806068224,"description":"Unknown IO ID 45"} 
[2026-06-18 16:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135793408001,"power":13189,"unknown_43":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8937674960806068224}} 
[2026-06-18 16:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":106700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:31:10] local.INFO: GPS data processed {"connection_id":106700,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:31:10] local.INFO: Acknowledgment sent {"connection_id":106700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:31:25] local.INFO: TCP Data received {"connection_id":107669,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:25] local.INFO: Processing buffer {"connection_id":107669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:25] local.INFO: IMEI packet received {"connection_id":107669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":107669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:31:28] local.INFO: TCP Data received {"connection_id":107670,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:31:28] local.INFO: Processing buffer {"connection_id":107670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:31:28] local.INFO: IMEI packet received {"connection_id":107670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":107670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:31:33] local.INFO: TCP Data received {"connection_id":107669,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:33] local.INFO: Processing buffer {"connection_id":107669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:33] local.INFO: IMEI packet received {"connection_id":107669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":107669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:31:33] local.INFO: TCP Data received {"connection_id":107670,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107670,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:31:33] local.INFO: Processing buffer {"connection_id":107670,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:31:33] local.INFO: IMEI packet received {"connection_id":107670,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":107670,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:31:34] local.INFO: TCP Data received {"connection_id":107669,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:34] local.INFO: Processing buffer {"connection_id":107669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:34] local.INFO: IMEI packet received {"connection_id":107669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":107669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:31:35] local.INFO: TCP Data received {"connection_id":107670,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6431e0012d7be20005e48438000d00d52a..."} 
[2026-06-18 16:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6431e0012d7be20005e48438000d00d52a..."} 
[2026-06-18 16:31:35] local.INFO: Processing buffer {"connection_id":107670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6431e0012d7be20005e48438000d00d52a..."} 
[2026-06-18 16:31:35] local.INFO: Packet analysis {"connection_id":107670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:31:35] local.INFO: Extracted packet for processing {"connection_id":107670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":763093504,"raw_latitude":98862136,"longitude_deg":76.3093504,"latitude_deg":9.8862136,"altitude":13,"angle":213,"satellites":42,"speed":47,"hex_longitude":"2d7be200","hex_latitude":"05e48438","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135795712001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93930359237902336,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8932186198758316032,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781780460000,"timestamp_ms":1781780460000,"timestamp_seconds":1781780460,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6431e0"} 
[2026-06-18 16:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 16:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:31:35] 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-06-18 16:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135795712001,"66":13178,"43":206,"85":15104,"24":47,"16":93930359237902336,"45":8932186198758316032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 16:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135795712001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:31:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 16:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93930359237902336,"km_value":93930359237902.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8932186198758316032,"description":"Unknown IO ID 45"} 
[2026-06-18 16:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135795712001,"power":13178,"unknown_43":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8932186198758316032}} 
[2026-06-18 16:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":107670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:31:35] local.INFO: GPS data processed {"connection_id":107670,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:31:35] local.INFO: Acknowledgment sent {"connection_id":107670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:31:44] local.INFO: TCP Data received {"connection_id":106113,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:44] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:44] local.INFO: IMEI packet received {"connection_id":106113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":106113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:31:45] local.INFO: TCP Data received {"connection_id":106113,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:45] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:45] local.INFO: IMEI packet received {"connection_id":106113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":106113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:31:46] local.INFO: TCP Data received {"connection_id":107669,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:46] local.INFO: Processing buffer {"connection_id":107669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:31:46] local.INFO: IMEI packet received {"connection_id":107669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":107669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:31:48] local.INFO: TCP Data received {"connection_id":107669,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda61d850012cd571400737c9b8001a01002a..."} 
[2026-06-18 16:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda61d850012cd571400737c9b8001a01002a..."} 
[2026-06-18 16:31:48] local.INFO: Processing buffer {"connection_id":107669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda61d850012cd571400737c9b8001a01002a..."} 
[2026-06-18 16:31:48] local.INFO: Packet analysis {"connection_id":107669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:31:48] local.INFO: Extracted packet for processing {"connection_id":107669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:31:48] local.INFO: GPS Element Parsed {"raw_longitude":752185664,"raw_latitude":121096632,"longitude_deg":75.2185664,"latitude_deg":12.1096632,"altitude":26,"angle":256,"satellites":42,"speed":18,"hex_longitude":"2cd57140","hex_latitude":"0737c9b8","is_valid_coordinates":true} 
[2026-06-18 16:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135753216001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318698637926334464,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3056677478588047360,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781780306000,"timestamp_ms":1781780306000,"timestamp_seconds":1781780306,"priority":1,"record_length":96,"hex_timestamp":"0000019eda61d850"} 
[2026-06-18 16:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:31:48] 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-06-18 16:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 16:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135753216001,"66":28050,"230":206,"2":56832,"24":18,"16":318698637926334464,"44":-3056677478588047360},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16,44]} 
[2026-06-18 16:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135753216001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:31:48] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-06-18 16:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318698637926334464,"km_value":318698637926334.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:31:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3056677478588047360,"description":"Unknown IO ID 44"} 
[2026-06-18 16:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135753216001,"power":28050,"unknown_230":206,"power_alt":56832,"ignition":18,"odometer":null,"unknown_44":-3056677478588047360}} 
[2026-06-18 16:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":107669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:31:48] local.INFO: GPS data processed {"connection_id":107669,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:31:48] local.INFO: Acknowledgment sent {"connection_id":107669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:31:49] local.INFO: TCP Data received {"connection_id":106113,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:49] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:31:49] local.INFO: IMEI packet received {"connection_id":106113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":106113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:31:50] local.INFO: TCP Data received {"connection_id":106113,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda630130012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda630130012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:50] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda630130012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:50] local.INFO: Packet analysis {"connection_id":106113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:31:50] local.INFO: Extracted packet for processing {"connection_id":106113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:31:50] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:31:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135772416001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:31:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781780382000,"timestamp_ms":1781780382000,"timestamp_seconds":1781780382,"priority":1,"record_length":96,"hex_timestamp":"0000019eda630130"} 
[2026-06-18 16:31:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:31:50] 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-06-18 16:31:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:31:50] 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-06-18 16:31:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:31:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:31:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:31:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:31:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:31:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:31:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:31:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:31:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:31:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135772416001,"66":13135,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:31:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:31:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:31:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135772416001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:31:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:31:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:31:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:31:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:31:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135772416001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":106113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:31:50] local.INFO: GPS data processed {"connection_id":106113,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:31:50] local.INFO: Acknowledgment sent {"connection_id":106113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:31:55] local.INFO: TCP Data received {"connection_id":106113,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda635338012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda635338012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:55] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda635338012d1969c0071fec18003b011725..."} 
[2026-06-18 16:31:55] local.INFO: Packet analysis {"connection_id":106113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:31:55] local.INFO: Extracted packet for processing {"connection_id":106113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135777792001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781780403000,"timestamp_ms":1781780403000,"timestamp_seconds":1781780403,"priority":1,"record_length":96,"hex_timestamp":"0000019eda635338"} 
[2026-06-18 16:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:31:55] 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-06-18 16:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 16:31:55] 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-06-18 16:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135777792001,"66":13091,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135777792001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:31:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135777792001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":106113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:31:55] local.INFO: GPS data processed {"connection_id":106113,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:31:55] local.INFO: Acknowledgment sent {"connection_id":106113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:32:06] local.INFO: TCP Data received {"connection_id":107670,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda645120012d7bcc4005e46360000e00d52c..."} 
[2026-06-18 16:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda645120012d7bcc4005e46360000e00d52c..."} 
[2026-06-18 16:32:06] local.INFO: Processing buffer {"connection_id":107670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda645120012d7bcc4005e46360000e00d52c..."} 
[2026-06-18 16:32:06] local.INFO: Packet analysis {"connection_id":107670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:32:06] local.INFO: Extracted packet for processing {"connection_id":107670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763087936,"raw_latitude":98853728,"longitude_deg":76.3087936,"latitude_deg":9.8853728,"altitude":14,"angle":213,"satellites":44,"speed":50,"hex_longitude":"2d7bcc40","hex_latitude":"05e46360","is_valid_coordinates":true} 
[2026-06-18 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135797760001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93930844569206784,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926697436710451200,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780468000,"timestamp_ms":1781780468000,"timestamp_seconds":1781780468,"priority":1,"record_length":96,"hex_timestamp":"0000019eda645120"} 
[2026-06-18 16:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-18 16:32:06] 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-06-18 16:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107670,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:32:06] 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-06-18 16:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135797760001,"66":13059,"43":206,"85":15104,"24":50,"16":93930844569206784,"45":8926697436710451200},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 16:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135797760001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:32:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 16:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93930844569206784,"km_value":93930844569206.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926697436710451200,"description":"Unknown IO ID 45"} 
[2026-06-18 16:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135797760001,"power":13059,"unknown_43":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8926697436710451200}} 
[2026-06-18 16:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":107670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:32:06] local.INFO: GPS data processed {"connection_id":107670,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:32:06] local.INFO: Acknowledgment sent {"connection_id":107670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:32:24] local.INFO: TCP Data received {"connection_id":107672,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:24] local.INFO: Processing buffer {"connection_id":107672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:24] local.INFO: IMEI packet received {"connection_id":107672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":107672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:32:26] local.INFO: TCP Data received {"connection_id":106113,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda63a540012d1969c0071fec18003b011726..."} 
[2026-06-18 16:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda63a540012d1969c0071fec18003b011726..."} 
[2026-06-18 16:32:26] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda63a540012d1969c0071fec18003b011726..."} 
[2026-06-18 16:32:26] local.INFO: Packet analysis {"connection_id":106113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:32:26] local.INFO: Extracted packet for processing {"connection_id":106113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781780424000,"timestamp_ms":1781780424000,"timestamp_seconds":1781780424,"priority":1,"record_length":96,"hex_timestamp":"0000019eda63a540"} 
[2026-06-18 16:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:32:26] 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-06-18 16:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:32: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-06-18 16:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135783168001,"66":13004,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 16:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:32:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 16:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135783168001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":106113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:32:27] local.INFO: GPS data processed {"connection_id":106113,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:32:27] local.INFO: Acknowledgment sent {"connection_id":106113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:32:27] local.INFO: TCP Data received {"connection_id":107672,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:27] local.INFO: Processing buffer {"connection_id":107672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:27] local.INFO: IMEI packet received {"connection_id":107672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":107672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:32:28] local.INFO: TCP Data received {"connection_id":106703,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:28] local.INFO: Processing buffer {"connection_id":106703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:28] local.INFO: IMEI packet received {"connection_id":106703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":106703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:32:29] local.INFO: TCP Data received {"connection_id":107672,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:29] local.INFO: Processing buffer {"connection_id":107672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:32:29] local.INFO: IMEI packet received {"connection_id":107672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":107672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:32:30] local.INFO: TCP Data received {"connection_id":107672,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda621ea0012cd54f400737c000001600f62c..."} 
[2026-06-18 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda621ea0012cd54f400737c000001600f62c..."} 
[2026-06-18 16:32:30] local.INFO: Processing buffer {"connection_id":107672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda621ea0012cd54f400737c000001600f62c..."} 
[2026-06-18 16:32:30] local.INFO: Packet analysis {"connection_id":107672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:32:30] local.INFO: Extracted packet for processing {"connection_id":107672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":752176960,"raw_latitude":121094144,"longitude_deg":75.217696,"latitude_deg":12.1094144,"altitude":22,"angle":246,"satellites":44,"speed":22,"hex_longitude":"2cd54f40","hex_latitude":"0737c000","is_valid_coordinates":true} 
[2026-06-18 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135758336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318699067423064064,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3066599471517681664,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781780324000,"timestamp_ms":1781780324000,"timestamp_seconds":1781780324,"priority":1,"record_length":96,"hex_timestamp":"0000019eda621ea0"} 
[2026-06-18 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:32: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-06-18 16:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 16:32: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-06-18 16:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135758336001,"66":27908,"230":206,"2":56832,"24":22,"16":318699067423064064,"44":-3066599471517681664},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16,44]} 
[2026-06-18 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135758336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-06-18 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318699067423064064,"km_value":318699067423064.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3066599471517681664,"description":"Unknown IO ID 44"} 
[2026-06-18 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135758336001,"power":27908,"unknown_230":206,"power_alt":56832,"ignition":22,"odometer":null,"unknown_44":-3066599471517681664}} 
[2026-06-18 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":107672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:32:30] local.INFO: GPS data processed {"connection_id":107672,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:32:30] local.INFO: Acknowledgment sent {"connection_id":107672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:32:31] local.INFO: TCP Data received {"connection_id":106703,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:31] local.INFO: Processing buffer {"connection_id":106703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:31] local.INFO: IMEI packet received {"connection_id":106703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:32:31] local.INFO: IMEI acknowledgment sent {"connection_id":106703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:32:33] local.INFO: TCP Data received {"connection_id":106703,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106703,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:33] local.INFO: Processing buffer {"connection_id":106703,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:32:33] local.INFO: IMEI packet received {"connection_id":106703,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":106703,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:32:34] local.INFO: TCP Data received {"connection_id":106703,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda647060012d7bb6c005e442f0000e00d42c..."} 
[2026-06-18 16:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda647060012d7bb6c005e442f0000e00d42c..."} 
[2026-06-18 16:32:34] local.INFO: Processing buffer {"connection_id":106703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda647060012d7bb6c005e442f0000e00d42c..."} 
[2026-06-18 16:32:34] local.INFO: Packet analysis {"connection_id":106703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:32:34] local.INFO: Extracted packet for processing {"connection_id":106703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":763082432,"raw_latitude":98845424,"longitude_deg":76.3082432,"latitude_deg":9.8845424,"altitude":14,"angle":212,"satellites":44,"speed":46,"hex_longitude":"2d7bb6c0","hex_latitude":"05e442f0","is_valid_coordinates":true} 
[2026-06-18 16:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135799808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93931325605543936,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920575355964841984,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781780476000,"timestamp_ms":1781780476000,"timestamp_seconds":1781780476,"priority":1,"record_length":96,"hex_timestamp":"0000019eda647060"} 
[2026-06-18 16:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:32:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311896,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3663949456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":228,"raw_value":3717201931,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1478951118,"corrected_to":0} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221611773,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040088,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":39,"raw_value":58079734643818510,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3012296704,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3843790848,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:34] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,43,85,24,241,157,16,181,158,49,45,132,13,42,10,66,18,128,162,12,40,180,239,1,240,7,227,218,228,4,113,205,87,34,47,51,39,2,77,5,9,14],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1478951118,"validated":0}]} 
[2026-06-18 16:32:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1009040701489545216,"timestamp_seconds":1009040701489545.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:32: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-06-18 16:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135799808001,"66":12993,"43":206,"85":15104,"24":46,"16":93931325605543936,"45":8920575355964841984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 16:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135799808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:32:34] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 16:32:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93931325605543936,"km_value":93931325605543.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920575355964841984,"description":"Unknown IO ID 45"} 
[2026-06-18 16:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135799808001,"power":12993,"unknown_43":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8920575355964841984}} 
[2026-06-18 16:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":106703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:32:34] local.INFO: GPS data processed {"connection_id":106703,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:32:34] local.INFO: Acknowledgment sent {"connection_id":106703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:32:37] local.INFO: TCP Data received {"connection_id":107672,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda625938012cd52d800737b398001700f92b..."} 
[2026-06-18 16:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda625938012cd52d800737b398001700f92b..."} 
[2026-06-18 16:32:37] local.INFO: Processing buffer {"connection_id":107672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda625938012cd52d800737b398001700f92b..."} 
[2026-06-18 16:32:37] local.INFO: Packet analysis {"connection_id":107672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:32:37] local.INFO: Extracted packet for processing {"connection_id":107672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":752168320,"raw_latitude":121090968,"longitude_deg":75.216832,"latitude_deg":12.1090968,"altitude":23,"angle":249,"satellites":43,"speed":24,"hex_longitude":"2cd52d80","hex_latitude":"0737b398","is_valid_coordinates":true} 
[2026-06-18 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135762944001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318699505509728256,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3076169620726480896,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,230,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781780339000,"timestamp_ms":1781780339000,"timestamp_seconds":1781780339,"priority":1,"record_length":96,"hex_timestamp":"0000019eda625938"} 
[2026-06-18 16:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:32: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-06-18 16:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135762944001,"66":27908,"230":206,"2":56832,"24":24,"16":318699505509728256,"44":-3076169620726480896},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,230,2,24,16,44]} 
[2026-06-18 16:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135762944001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:32:37] local.INFO: Unknown IO ID detected {"io_id":230,"value":206,"description":"Unknown IO ID 230"} 
[2026-06-18 16:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318699505509728256,"km_value":318699505509728.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:32:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3076169620726480896,"description":"Unknown IO ID 44"} 
[2026-06-18 16:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135762944001,"power":27908,"unknown_230":206,"power_alt":56832,"ignition":24,"odometer":null,"unknown_44":-3076169620726480896}} 
[2026-06-18 16:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":107672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:32:37] local.INFO: GPS data processed {"connection_id":107672,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:32:37] local.INFO: Acknowledgment sent {"connection_id":107672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:32:44] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:44] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:44] local.INFO: IMEI packet received {"connection_id":105929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":105929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:32:51] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:51] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:51] local.INFO: IMEI packet received {"connection_id":105929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":105929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:32:52] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:52] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:52] local.INFO: IMEI packet received {"connection_id":105929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":105929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:32:55] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:55] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:32:55] local.INFO: IMEI packet received {"connection_id":105929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":105929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:32:56] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda63f748012d1969c0071fec18003b011726..."} 
[2026-06-18 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda63f748012d1969c0071fec18003b011726..."} 
[2026-06-18 16:32:56] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda63f748012d1969c0071fec18003b011726..."} 
[2026-06-18 16:32:56] local.INFO: Packet analysis {"connection_id":105929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:32:56] local.INFO: Extracted packet for processing {"connection_id":105929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:32:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135788544001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781780445000,"timestamp_ms":1781780445000,"timestamp_seconds":1781780445,"priority":1,"record_length":96,"hex_timestamp":"0000019eda63f748"} 
[2026-06-18 16:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:32:56] 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-06-18 16: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 16:32:56] 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-06-18 16: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-06-18 16:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135788544001,"66":12993,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135788544001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:32:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:32:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135788544001,"power":12993,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":105929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:32:56] local.INFO: GPS data processed {"connection_id":105929,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:32:56] local.INFO: Acknowledgment sent {"connection_id":105929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:32:58] local.INFO: TCP Data received {"connection_id":106702,"ip":"42.106.6.20","data_length":34,"data_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 16:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106702,"packet_length":34,"packet_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 16:32:58] local.INFO: Processing buffer {"connection_id":106702,"buffer_length":34,"buffer_hex":"000f383632353637303732353733323130000f38363235363730373235373332..."} 
[2026-06-18 16:32:58] local.INFO: IMEI packet received {"connection_id":106702,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":106702,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:33:00] local.INFO: TCP Data received {"connection_id":105929,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda644950012d1969c0071fec18003b011726..."} 
[2026-06-18 16:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda644950012d1969c0071fec18003b011726..."} 
[2026-06-18 16:33:00] local.INFO: Processing buffer {"connection_id":105929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda644950012d1969c0071fec18003b011726..."} 
[2026-06-18 16:33:00] local.INFO: Packet analysis {"connection_id":105929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:33:00] local.INFO: Extracted packet for processing {"connection_id":105929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135793920001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781780466000,"timestamp_ms":1781780466000,"timestamp_seconds":1781780466,"priority":1,"record_length":96,"hex_timestamp":"0000019eda644950"} 
[2026-06-18 16:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 16:33:00] 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-06-18 16: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-06-18 16:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":105929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":105929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":105929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135793920001,"66":12982,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135793920001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:33:00] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135793920001,"power":12982,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":105929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:33:00] local.INFO: GPS data processed {"connection_id":105929,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:33:00] local.INFO: Acknowledgment sent {"connection_id":105929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:33:01] local.INFO: TCP Data received {"connection_id":106704,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106704,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:33:01] local.INFO: Processing buffer {"connection_id":106704,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:33:01] local.INFO: IMEI packet received {"connection_id":106704,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":106704,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:33:06] local.INFO: TCP Data received {"connection_id":106703,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6602b8012d7b08c005e32a60000701572a..."} 
[2026-06-18 16:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6602b8012d7b08c005e32a60000701572a..."} 
[2026-06-18 16:33:06] local.INFO: Processing buffer {"connection_id":106703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6602b8012d7b08c005e32a60000701572a..."} 
[2026-06-18 16:33:06] local.INFO: Packet analysis {"connection_id":106703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:33:06] local.INFO: Extracted packet for processing {"connection_id":106703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98773600,"longitude_deg":76.3037888,"latitude_deg":9.87736,"altitude":7,"angle":343,"satellites":42,"speed":6,"hex_longitude":"2d7b08c0","hex_latitude":"05e32a60","is_valid_coordinates":true} 
[2026-06-18 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135827968001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93935500313755648,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865687735485700096,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:06] 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-06-18 16:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780579000,"timestamp_ms":1781780579000,"timestamp_seconds":1781780579,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6602b8"} 
[2026-06-18 16:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:33:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 16:33:06] 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-06-18 16:33:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106703,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:33:06] 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-06-18 16:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135827968001,"66":12765,"97":206,"85":15104,"24":6,"16":93935500313755648,"45":8865687735485700096},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135827968001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:33:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93935500313755648,"km_value":93935500313755.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865687735485700096,"description":"Unknown IO ID 45"} 
[2026-06-18 16:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135827968001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8865687735485700096}} 
[2026-06-18 16:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":106703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:33:06] local.INFO: GPS data processed {"connection_id":106703,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:33:06] local.INFO: Acknowledgment sent {"connection_id":106703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:33:09] local.INFO: TCP Data received {"connection_id":107672,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6293d0012cd50a800737a5b0001600f82b..."} 
[2026-06-18 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6293d0012cd50a800737a5b0001600f82b..."} 
[2026-06-18 16:33:09] local.INFO: Processing buffer {"connection_id":107672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6293d0012cd50a800737a5b0001600f82b..."} 
[2026-06-18 16:33:09] local.INFO: Packet analysis {"connection_id":107672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:33:09] local.INFO: Extracted packet for processing {"connection_id":107672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":752159360,"raw_latitude":121087408,"longitude_deg":75.215936,"latitude_deg":12.1087408,"altitude":22,"angle":248,"satellites":43,"speed":25,"hex_longitude":"2cd50a80","hex_latitude":"0737a5b0","is_valid_coordinates":true} 
[2026-06-18 16:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135766784001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318699965071228928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3085669401191278592,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781780354000,"timestamp_ms":1781780354000,"timestamp_seconds":1781780354,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6293d0"} 
[2026-06-18 16:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135766784001,"66":27865,"231":206,"2":56832,"24":25,"16":318699965071228928,"44":-3085669401191278592},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135766784001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:33:09] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318699965071228928,"km_value":318699965071228.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:33:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3085669401191278592,"description":"Unknown IO ID 44"} 
[2026-06-18 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135766784001,"power":27865,"unknown_231":206,"power_alt":56832,"ignition":25,"odometer":null,"unknown_44":-3085669401191278592}} 
[2026-06-18 16:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":107672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:33:09] local.INFO: GPS data processed {"connection_id":107672,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:33:09] local.INFO: Acknowledgment sent {"connection_id":107672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:33:28] local.INFO: TCP Data received {"connection_id":106114,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:28] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:28] local.INFO: IMEI packet received {"connection_id":106114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":106114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:33:29] local.INFO: TCP Data received {"connection_id":106114,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:29] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:29] local.INFO: IMEI packet received {"connection_id":106114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":106114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:33:30] local.INFO: TCP Data received {"connection_id":107674,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:33:30] local.INFO: Processing buffer {"connection_id":107674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:33:30] local.INFO: IMEI packet received {"connection_id":107674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":107674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:33:33] local.INFO: TCP Data received {"connection_id":106114,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:33] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:33:33] local.INFO: IMEI packet received {"connection_id":106114,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:33:33] local.INFO: IMEI acknowledgment sent {"connection_id":106114,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:33:34] local.INFO: TCP Data received {"connection_id":106114,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6606a0012d7b08c005e32b48000700012a..."} 
[2026-06-18 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6606a0012d7b08c005e32b48000700012a..."} 
[2026-06-18 16:33:34] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6606a0012d7b08c005e32b48000700012a..."} 
[2026-06-18 16:33:34] local.INFO: Packet analysis {"connection_id":106114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:33:34] local.INFO: Extracted packet for processing {"connection_id":106114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":98773832,"longitude_deg":76.3037888,"latitude_deg":9.8773832,"altitude":7,"angle":1,"satellites":42,"speed":8,"hex_longitude":"2d7b08c0","hex_latitude":"05e32b48","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135828224001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93935508903690240,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997997395968,"note":"Value kept but may cause issues"} 
[2026-06-18 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-06-18 16:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781780580000,"timestamp_ms":1781780580000,"timestamp_seconds":1781780580,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6606a0"} 
[2026-06-18 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-06-18 16:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 16:33:34] 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-06-18 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-06-18 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-06-18 16:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:33: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-06-18 16:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135828224001,"66":12765,"97":206,"85":15104,"24":8,"16":93935508903690240,"45":8865546997997395968},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135828224001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:33:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:33:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93935508903690240,"km_value":93935508903690.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997997395968,"description":"Unknown IO ID 45"} 
[2026-06-18 16:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135828224001,"power":12765,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8865546997997395968}} 
[2026-06-18 16:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":106114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344975,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:33:34] local.INFO: GPS data processed {"connection_id":106114,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:33:34] local.INFO: Acknowledgment sent {"connection_id":106114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:33:34] local.INFO: TCP Data received {"connection_id":107674,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:33:34] local.INFO: Processing buffer {"connection_id":107674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:33:34] local.INFO: IMEI packet received {"connection_id":107674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":107674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:33:35] local.INFO: TCP Data received {"connection_id":107674,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda62da20012cd4e9c0073797f0001100f52d..."} 
[2026-06-18 16:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda62da20012cd4e9c0073797f0001100f52d..."} 
[2026-06-18 16:33:35] local.INFO: Processing buffer {"connection_id":107674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda62da20012cd4e9c0073797f0001100f52d..."} 
[2026-06-18 16:33:35] local.INFO: Packet analysis {"connection_id":107674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:33:35] local.INFO: Extracted packet for processing {"connection_id":107674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda62"} 
[2026-06-18 16:33:35] local.INFO: GPS Element Parsed {"raw_longitude":752150976,"raw_latitude":121083888,"longitude_deg":75.2150976,"latitude_deg":12.1083888,"altitude":17,"angle":245,"satellites":45,"speed":17,"hex_longitude":"2cd4e9c0","hex_latitude":"073797f0","is_valid_coordinates":true} 
[2026-06-18 16:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135770624001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318700398862925824,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3095521025377062912,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781780372000,"timestamp_ms":1781780372000,"timestamp_seconds":1781780372,"priority":1,"record_length":96,"hex_timestamp":"0000019eda62da20"} 
[2026-06-18 16:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:33: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-06-18 16:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 16:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:33:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135770624001,"66":27876,"231":206,"2":56832,"24":17,"16":318700398862925824,"44":-3095521025377062912},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135770624001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:33:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318700398862925824,"km_value":318700398862925.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:33:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3095521025377062912,"description":"Unknown IO ID 44"} 
[2026-06-18 16:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135770624001,"power":27876,"unknown_231":206,"power_alt":56832,"ignition":17,"odometer":null,"unknown_44":-3095521025377062912}} 
[2026-06-18 16:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":107674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:33:35] local.INFO: GPS data processed {"connection_id":107674,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:33:35] local.INFO: Acknowledgment sent {"connection_id":107674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:33:37] local.INFO: TCP Data received {"connection_id":107674,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda632c28012cd4ca80073789f0001200f42b..."} 
[2026-06-18 16:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda632c28012cd4ca80073789f0001200f42b..."} 
[2026-06-18 16:33:37] local.INFO: Processing buffer {"connection_id":107674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda632c28012cd4ca80073789f0001200f42b..."} 
[2026-06-18 16:33:37] local.INFO: Packet analysis {"connection_id":107674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:33:37] local.INFO: Extracted packet for processing {"connection_id":107674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":752142976,"raw_latitude":121080304,"longitude_deg":75.2142976,"latitude_deg":12.1080304,"altitude":18,"angle":244,"satellites":43,"speed":14,"hex_longitude":"2cd4ca80","hex_latitude":"073789f0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135775232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318700815474753536,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3104739330865238016,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781780393000,"timestamp_ms":1781780393000,"timestamp_seconds":1781780393,"priority":1,"record_length":96,"hex_timestamp":"0000019eda632c28"} 
[2026-06-18 16:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":228,"data_length":795,"current_offset":136} 
[2026-06-18 16:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:33:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135775232001,"66":27767,"231":206,"2":56832,"24":14,"16":318700815474753536,"44":-3104739330865238016},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135775232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:33:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318700815474753536,"km_value":318700815474753.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:33:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3104739330865238016,"description":"Unknown IO ID 44"} 
[2026-06-18 16:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135775232001,"power":27767,"unknown_231":206,"power_alt":56832,"ignition":14,"odometer":null,"unknown_44":-3104739330865238016}} 
[2026-06-18 16:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":107674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:33:37] local.INFO: GPS data processed {"connection_id":107674,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:33:37] local.INFO: Acknowledgment sent {"connection_id":107674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:33:44] local.INFO: TCP Data received {"connection_id":107675,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:33:44] local.INFO: Processing buffer {"connection_id":107675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:33:44] local.INFO: IMEI packet received {"connection_id":107675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":107675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:33:50] local.INFO: TCP Data received {"connection_id":107675,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107675,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:33:50] local.INFO: Processing buffer {"connection_id":107675,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:33:50] local.INFO: IMEI packet received {"connection_id":107675,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":107675,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:33:52] local.INFO: TCP Data received {"connection_id":107675,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda649b58012d1969c0071fec18003b011726..."} 
[2026-06-18 16:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda649b58012d1969c0071fec18003b011726..."} 
[2026-06-18 16:33:52] local.INFO: Processing buffer {"connection_id":107675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda649b58012d1969c0071fec18003b011726..."} 
[2026-06-18 16:33:52] local.INFO: Packet analysis {"connection_id":107675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:33:52] local.INFO: Extracted packet for processing {"connection_id":107675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:33:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:33:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135799296001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:33:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:33:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781780487000,"timestamp_ms":1781780487000,"timestamp_seconds":1781780487,"priority":1,"record_length":96,"hex_timestamp":"0000019eda649b58"} 
[2026-06-18 16:33:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:33:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:33:52] 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-06-18 16: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-06-18 16:33:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:33:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:33:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:33:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:33:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:33:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:33:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:33:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:33:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135799296001,"66":12950,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:33:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:33:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:33:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135799296001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:33:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:33:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:33:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:33:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:33:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135799296001,"power":12950,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:33:52] local.INFO: DEBUG: GPS processor result {"connection_id":107675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344978,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:33:52] local.INFO: GPS data processed {"connection_id":107675,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:33:52] local.INFO: Acknowledgment sent {"connection_id":107675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:33:58] local.INFO: TCP Data received {"connection_id":106705,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:33:58] local.INFO: Processing buffer {"connection_id":106705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:33:58] local.INFO: IMEI packet received {"connection_id":106705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":106705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:34:06] local.INFO: TCP Data received {"connection_id":106114,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda661258012d7b080005e32f580007015e2a..."} 
[2026-06-18 16:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda661258012d7b080005e32f580007015e2a..."} 
[2026-06-18 16:34:06] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda661258012d7b080005e32f580007015e2a..."} 
[2026-06-18 16:34:06] local.INFO: Packet analysis {"connection_id":106114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:34:06] local.INFO: Extracted packet for processing {"connection_id":106114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763037696,"raw_latitude":98774872,"longitude_deg":76.3037696,"latitude_deg":9.8774872,"altitude":7,"angle":350,"satellites":42,"speed":14,"hex_longitude":"2d7b0800","hex_latitude":"05e32f58","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135828480001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93935560443297792,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865546997997455360,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:06] 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-06-18 16:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780583000,"timestamp_ms":1781780583000,"timestamp_seconds":1781780583,"priority":1,"record_length":96,"hex_timestamp":"0000019eda661258"} 
[2026-06-18 16:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 16:34:06] 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-06-18 16: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-06-18 16:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106114,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:34:06] 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-06-18 16:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135828480001,"66":12961,"97":206,"85":15104,"24":14,"16":93935560443297792,"45":8865546997997455360},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135828480001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:34:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93935560443297792,"km_value":93935560443297.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865546997997455360,"description":"Unknown IO ID 45"} 
[2026-06-18 16:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135828480001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8865546997997455360}} 
[2026-06-18 16:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":106114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344979,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:34:06] local.INFO: GPS data processed {"connection_id":106114,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:34:06] local.INFO: Acknowledgment sent {"connection_id":106114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:34:09] local.INFO: TCP Data received {"connection_id":107674,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda634780012cd4c30007378570001100e829..."} 
[2026-06-18 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda634780012cd4c30007378570001100e829..."} 
[2026-06-18 16:34:09] local.INFO: Processing buffer {"connection_id":107674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda634780012cd4c30007378570001100e829..."} 
[2026-06-18 16:34:09] local.INFO: Packet analysis {"connection_id":107674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:34:09] local.INFO: Extracted packet for processing {"connection_id":107674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:34:09] local.INFO: GPS Element Parsed {"raw_longitude":752141056,"raw_latitude":121079152,"longitude_deg":75.2141056,"latitude_deg":12.1079152,"altitude":17,"angle":232,"satellites":41,"speed":10,"hex_longitude":"2cd4c300","hex_latitude":"07378570","is_valid_coordinates":true} 
[2026-06-18 16:34: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-06-18 16:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135780608001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318700922848935936,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3113535423888363520,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781780400000,"timestamp_ms":1781780400000,"timestamp_seconds":1781780400,"priority":1,"record_length":96,"hex_timestamp":"0000019eda634780"} 
[2026-06-18 16:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 16:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135780608001,"66":27800,"231":206,"2":56832,"24":10,"16":318700922848935936,"44":-3113535423888363520},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135780608001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:34:09] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318700922848935936,"km_value":318700922848935.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:34:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3113535423888363520,"description":"Unknown IO ID 44"} 
[2026-06-18 16:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135780608001,"power":27800,"unknown_231":206,"power_alt":56832,"ignition":10,"odometer":null,"unknown_44":-3113535423888363520}} 
[2026-06-18 16:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":107674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:34:09] local.INFO: GPS data processed {"connection_id":107674,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:34:09] local.INFO: Acknowledgment sent {"connection_id":107674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:34:24] local.INFO: TCP Data received {"connection_id":107675,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda64ed60012d1969c0071fec18003b011726..."} 
[2026-06-18 16:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda64ed60012d1969c0071fec18003b011726..."} 
[2026-06-18 16:34:24] local.INFO: Processing buffer {"connection_id":107675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda64ed60012d1969c0071fec18003b011726..."} 
[2026-06-18 16:34:24] local.INFO: Packet analysis {"connection_id":107675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:34:24] local.INFO: Extracted packet for processing {"connection_id":107675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135804672001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781780508000,"timestamp_ms":1781780508000,"timestamp_seconds":1781780508,"priority":1,"record_length":96,"hex_timestamp":"0000019eda64ed60"} 
[2026-06-18 16:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:34:24] 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-06-18 16:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 16:34:24] 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-06-18 16:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":107675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":107675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":107675,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135804672001,"66":12885,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135804672001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:34:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:34:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135804672001,"power":12885,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":107675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:34:24] local.INFO: GPS data processed {"connection_id":107675,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:34:24] local.INFO: Acknowledgment sent {"connection_id":107675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:34:28] local.INFO: TCP Data received {"connection_id":107676,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:34:28] local.INFO: Processing buffer {"connection_id":107676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:34:28] local.INFO: IMEI packet received {"connection_id":107676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:34:28] local.INFO: IMEI acknowledgment sent {"connection_id":107676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:34:30] local.INFO: TCP Data received {"connection_id":106115,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:30] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:30] local.INFO: IMEI packet received {"connection_id":106115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":106115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:34:33] local.INFO: TCP Data received {"connection_id":106115,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:33] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:33] local.INFO: IMEI packet received {"connection_id":106115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":106115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:34:34] local.INFO: TCP Data received {"connection_id":107676,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:34:34] local.INFO: Processing buffer {"connection_id":107676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:34:34] local.INFO: IMEI packet received {"connection_id":107676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":107676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:34:38] local.INFO: TCP Data received {"connection_id":106115,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:38] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:34:38] local.INFO: IMEI packet received {"connection_id":106115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":106115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:34:38] local.INFO: TCP Data received {"connection_id":105930,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:34:38] local.INFO: Processing buffer {"connection_id":105930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:34:38] local.INFO: IMEI packet received {"connection_id":105930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":105930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:34:40] local.INFO: TCP Data received {"connection_id":106115,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda663d50012d7b05c005e343f80008014d23..."} 
[2026-06-18 16:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda663d50012d7b05c005e343f80008014d23..."} 
[2026-06-18 16:34:40] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda663d50012d7b05c005e343f80008014d23..."} 
[2026-06-18 16:34:40] local.INFO: Packet analysis {"connection_id":106115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:34:40] local.INFO: Extracted packet for processing {"connection_id":106115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:34:40] local.INFO: GPS Element Parsed {"raw_longitude":763037120,"raw_latitude":98780152,"longitude_deg":76.303712,"latitude_deg":9.8780152,"altitude":8,"angle":333,"satellites":35,"speed":13,"hex_longitude":"2d7b05c0","hex_latitude":"05e343f8","is_valid_coordinates":true} 
[2026-06-18 16:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135829248001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93935822436302848,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865335891765188608,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781780594000,"timestamp_ms":1781780594000,"timestamp_seconds":1781780594,"priority":1,"record_length":96,"hex_timestamp":"0000019eda663d50"} 
[2026-06-18 16:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 16:34: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-06-18 16:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135829248001,"66":12319,"97":206,"85":15104,"24":13,"16":93935822436302848,"45":8865335891765188608},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135829248001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:34:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93935822436302848,"km_value":93935822436302.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865335891765188608,"description":"Unknown IO ID 45"} 
[2026-06-18 16:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135829248001,"power":12319,"unknown_97":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8865335891765188608}} 
[2026-06-18 16:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":106115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344982,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:34:40] local.INFO: GPS data processed {"connection_id":106115,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:34:40] local.INFO: Acknowledgment sent {"connection_id":106115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:34:46] local.INFO: TCP Data received {"connection_id":107676,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda639988012cd4bdc0073781c0001300e828..."} 
[2026-06-18 16:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda639988012cd4bdc0073781c0001300e828..."} 
[2026-06-18 16:34:46] local.INFO: Processing buffer {"connection_id":107676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda639988012cd4bdc0073781c0001300e828..."} 
[2026-06-18 16:34:46] local.INFO: Packet analysis {"connection_id":107676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:34:46] local.INFO: Extracted packet for processing {"connection_id":107676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:34:46] local.INFO: GPS Element Parsed {"raw_longitude":752139712,"raw_latitude":121078208,"longitude_deg":75.2139712,"latitude_deg":12.1078208,"altitude":19,"angle":232,"satellites":40,"speed":0,"hex_longitude":"2cd4bdc0","hex_latitude":"073781c0","is_valid_coordinates":true} 
[2026-06-18 16:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135782400001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701004453314560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3115646486213988352,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781780421000,"timestamp_ms":1781780421000,"timestamp_seconds":1781780421,"priority":1,"record_length":96,"hex_timestamp":"0000019eda639988"} 
[2026-06-18 16:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:34:46] 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-06-18 16:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 16:34:46] 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-06-18 16:34:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135782400001,"66":27745,"231":206,"2":56832,"24":0,"16":318701004453314560,"44":-3115646486213988352},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135782400001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:34:46] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701004453314560,"km_value":318701004453314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:34:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3115646486213988352,"description":"Unknown IO ID 44"} 
[2026-06-18 16:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135782400001,"power":27745,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3115646486213988352}} 
[2026-06-18 16:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":107676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:34:46] local.INFO: GPS data processed {"connection_id":107676,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:34:46] local.INFO: Acknowledgment sent {"connection_id":107676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:34:47] local.INFO: TCP Data received {"connection_id":107676,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda63eb90012cd4bdc0073781c0001300e82b..."} 
[2026-06-18 16:34:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda63eb90012cd4bdc0073781c0001300e82b..."} 
[2026-06-18 16:34:47] local.INFO: Processing buffer {"connection_id":107676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda63eb90012cd4bdc0073781c0001300e82b..."} 
[2026-06-18 16:34:47] local.INFO: Packet analysis {"connection_id":107676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:34:47] local.INFO: Extracted packet for processing {"connection_id":107676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":752139712,"raw_latitude":121078208,"longitude_deg":75.2139712,"latitude_deg":12.1078208,"altitude":19,"angle":232,"satellites":43,"speed":0,"hex_longitude":"2cd4bdc0","hex_latitude":"073781c0","is_valid_coordinates":true} 
[2026-06-18 16:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:34:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135787776001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701004453314560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117124229841960960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:34:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:34:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781780442000,"timestamp_ms":1781780442000,"timestamp_seconds":1781780442,"priority":1,"record_length":96,"hex_timestamp":"0000019eda63eb90"} 
[2026-06-18 16:34:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:34:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:34:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 16:34:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:34:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:34:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:34:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:34:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:34:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:34:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:34:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:34:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:34:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:34:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135787776001,"66":27821,"231":206,"2":56832,"24":0,"16":318701004453314560,"44":-3117124229841960960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:34:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:34:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:34:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135787776001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:34:47] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:34:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701004453314560,"km_value":318701004453314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:34:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117124229841960960,"description":"Unknown IO ID 44"} 
[2026-06-18 16:34:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135787776001,"power":27821,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3117124229841960960}} 
[2026-06-18 16:34:47] local.INFO: DEBUG: GPS processor result {"connection_id":107676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:34:47] local.INFO: GPS data processed {"connection_id":107676,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:34:47] local.INFO: Acknowledgment sent {"connection_id":107676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:34:49] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:49] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:49] local.INFO: IMEI packet received {"connection_id":105931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":105931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:34:55] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:55] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:55] local.INFO: IMEI packet received {"connection_id":105931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":105931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:34:56] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:56] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:56] local.INFO: IMEI packet received {"connection_id":105931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":105931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:34:59] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:59] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:34:59] local.INFO: IMEI packet received {"connection_id":105931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":105931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:35:04] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda653f68012d1969c0071fec18003b011726..."} 
[2026-06-18 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda653f68012d1969c0071fec18003b011726..."} 
[2026-06-18 16:35:04] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda653f68012d1969c0071fec18003b011726..."} 
[2026-06-18 16:35:04] local.INFO: Packet analysis {"connection_id":105931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:35:04] local.INFO: Extracted packet for processing {"connection_id":105931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:35:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135810048001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:35:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781780529000,"timestamp_ms":1781780529000,"timestamp_seconds":1781780529,"priority":1,"record_length":96,"hex_timestamp":"0000019eda653f68"} 
[2026-06-18 16:35:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:35:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:35:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 16:35:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:35:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:35:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:35:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:35:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:35:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:35:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:35:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:35:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:35:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135810048001,"66":12885,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:35:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:35:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:35:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135810048001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:35:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:35:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:35:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:35:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:35:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135810048001,"power":12885,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:35:04] local.INFO: DEBUG: GPS processor result {"connection_id":105931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:35:04] local.INFO: GPS data processed {"connection_id":105931,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:35:04] local.INFO: Acknowledgment sent {"connection_id":105931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:35:11] local.INFO: TCP Data received {"connection_id":106115,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda664cf0012d7b040005e348180008015e25..."} 
[2026-06-18 16:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda664cf0012d7b040005e348180008015e25..."} 
[2026-06-18 16:35:11] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda664cf0012d7b040005e348180008015e25..."} 
[2026-06-18 16:35:11] local.INFO: Packet analysis {"connection_id":106115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:35:11] local.INFO: Extracted packet for processing {"connection_id":106115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:35:11] local.INFO: GPS Element Parsed {"raw_longitude":763036672,"raw_latitude":98781208,"longitude_deg":76.3036672,"latitude_deg":9.8781208,"altitude":8,"angle":350,"satellites":37,"speed":8,"hex_longitude":"2d7b0400","hex_latitude":"05e34818","is_valid_coordinates":true} 
[2026-06-18 16:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135832064001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93935878270877696,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864702573068941312,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781780598000,"timestamp_ms":1781780598000,"timestamp_seconds":1781780598,"priority":1,"record_length":96,"hex_timestamp":"0000019eda664cf0"} 
[2026-06-18 16:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 16:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:35: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-06-18 16:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135832064001,"66":12722,"97":206,"85":15104,"24":8,"16":93935878270877696,"45":8864702573068941312},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135832064001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:35:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:35:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93935878270877696,"km_value":93935878270877.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864702573068941312,"description":"Unknown IO ID 45"} 
[2026-06-18 16:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135832064001,"power":12722,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8864702573068941312}} 
[2026-06-18 16:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":106115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:35:11] local.INFO: GPS data processed {"connection_id":106115,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:35:11] local.INFO: Acknowledgment sent {"connection_id":106115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:35:14] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda659170012d1969c0071fec18003b011727..."} 
[2026-06-18 16:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda659170012d1969c0071fec18003b011727..."} 
[2026-06-18 16:35:14] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda659170012d1969c0071fec18003b011727..."} 
[2026-06-18 16:35:14] local.INFO: Packet analysis {"connection_id":105931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:35:14] local.INFO: Extracted packet for processing {"connection_id":105931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:35:14] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135815424001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781780550000,"timestamp_ms":1781780550000,"timestamp_seconds":1781780550,"priority":1,"record_length":96,"hex_timestamp":"0000019eda659170"} 
[2026-06-18 16:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:35:14] 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-06-18 16:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 16:35:14] 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-06-18 16:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":105931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":105931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":105931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135815424001,"66":12841,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135815424001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:35:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:35:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135815424001,"power":12841,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":105931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:35:14] local.INFO: GPS data processed {"connection_id":105931,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:35:14] local.INFO: Acknowledgment sent {"connection_id":105931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:35:16] local.INFO: TCP Data received {"connection_id":105931,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda65e378012d1969c0071fec18003b011727..."} 
[2026-06-18 16:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda65e378012d1969c0071fec18003b011727..."} 
[2026-06-18 16:35:16] local.INFO: Processing buffer {"connection_id":105931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda65e378012d1969c0071fec18003b011727..."} 
[2026-06-18 16:35:16] local.INFO: Packet analysis {"connection_id":105931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:35:16] local.INFO: Extracted packet for processing {"connection_id":105931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:35: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-06-18 16:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135820800001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781780571000,"timestamp_ms":1781780571000,"timestamp_seconds":1781780571,"priority":1,"record_length":96,"hex_timestamp":"0000019eda65e378"} 
[2026-06-18 16:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:35:16] 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-06-18 16:35: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 16:35:16] 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-06-18 16:35: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-06-18 16:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":105931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":105931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":105931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135820800001,"66":12841,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135820800001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:35:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:35:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135820800001,"power":12841,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":105931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:35:17] local.INFO: GPS data processed {"connection_id":105931,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:35:17] local.INFO: Acknowledgment sent {"connection_id":105931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:35:24] local.INFO: TCP Data received {"connection_id":107677,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:35:24] local.INFO: Processing buffer {"connection_id":107677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:35:24] local.INFO: IMEI packet received {"connection_id":107677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":107677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:35:29] local.INFO: TCP Data received {"connection_id":106706,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:29] local.INFO: Processing buffer {"connection_id":106706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:29] local.INFO: IMEI packet received {"connection_id":106706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":106706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:35:29] local.INFO: TCP Data received {"connection_id":106706,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:29] local.INFO: Processing buffer {"connection_id":106706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:29] local.INFO: IMEI packet received {"connection_id":106706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":106706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:35:29] local.INFO: TCP Data received {"connection_id":107677,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:35:29] local.INFO: Processing buffer {"connection_id":107677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:35:29] local.INFO: IMEI packet received {"connection_id":107677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":107677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:35:31] local.INFO: TCP Data received {"connection_id":107677,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda643d98012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda643d98012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:35:31] local.INFO: Processing buffer {"connection_id":107677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda643d98012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:35:31] local.INFO: Packet analysis {"connection_id":107677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:35:31] local.INFO: Extracted packet for processing {"connection_id":107677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":752139712,"raw_latitude":121078208,"longitude_deg":75.2139712,"latitude_deg":12.1078208,"altitude":19,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2cd4bdc0","hex_latitude":"073781c0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135793152001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701004453314560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117124229841960960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781780463000,"timestamp_ms":1781780463000,"timestamp_seconds":1781780463,"priority":1,"record_length":96,"hex_timestamp":"0000019eda643d98"} 
[2026-06-18 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-06-18 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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-06-18 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-06-18 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-06-18 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-06-18 16:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135793152001,"66":27745,"231":206,"2":56832,"24":0,"16":318701004453314560,"44":-3117124229841960960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135793152001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:35:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701004453314560,"km_value":318701004453314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:35:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117124229841960960,"description":"Unknown IO ID 44"} 
[2026-06-18 16:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135793152001,"power":27745,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3117124229841960960}} 
[2026-06-18 16:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":107677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:35:31] local.INFO: GPS data processed {"connection_id":107677,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:35:31] local.INFO: Acknowledgment sent {"connection_id":107677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:35:33] local.INFO: TCP Data received {"connection_id":106706,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106706,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:33] local.INFO: Processing buffer {"connection_id":106706,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:35:33] local.INFO: IMEI packet received {"connection_id":106706,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":106706,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:35:34] local.INFO: TCP Data received {"connection_id":106706,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda666c30012d7b030005e349500008000327..."} 
[2026-06-18 16:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda666c30012d7b030005e349500008000327..."} 
[2026-06-18 16:35:34] local.INFO: Processing buffer {"connection_id":106706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda666c30012d7b030005e349500008000327..."} 
[2026-06-18 16:35:34] local.INFO: Packet analysis {"connection_id":106706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:35:34] local.INFO: Extracted packet for processing {"connection_id":106706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763036416,"raw_latitude":98781520,"longitude_deg":76.3036416,"latitude_deg":9.878152,"altitude":8,"angle":3,"satellites":39,"speed":10,"hex_longitude":"2d7b0300","hex_latitude":"05e34950","is_valid_coordinates":true} 
[2026-06-18 16:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135833088001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93935899745714176,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864209991859968000,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35: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-06-18 16:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781780606000,"timestamp_ms":1781780606000,"timestamp_seconds":1781780606,"priority":1,"record_length":96,"hex_timestamp":"0000019eda666c30"} 
[2026-06-18 16:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:35: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-06-18 16:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135833088001,"66":13276,"97":206,"85":15104,"24":10,"16":93935899745714176,"45":8864209991859968000},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135833088001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:35:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93935899745714176,"km_value":93935899745714.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864209991859968000,"description":"Unknown IO ID 45"} 
[2026-06-18 16:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135833088001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":8864209991859968000}} 
[2026-06-18 16:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":106706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344990,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:35:34] local.INFO: GPS data processed {"connection_id":106706,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:35:34] local.INFO: Acknowledgment sent {"connection_id":106706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:35:44] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:35:44] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:35:44] local.INFO: IMEI packet received {"connection_id":105932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":105932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:35:50] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:35:50] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:35:50] local.INFO: IMEI packet received {"connection_id":105932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":105932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:35:51] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda663580012d1969c0071fec18003b011726..."} 
[2026-06-18 16:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda663580012d1969c0071fec18003b011726..."} 
[2026-06-18 16:35:51] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda663580012d1969c0071fec18003b011726..."} 
[2026-06-18 16:35:51] local.INFO: Packet analysis {"connection_id":105932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:35:51] local.INFO: Extracted packet for processing {"connection_id":105932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135826176001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781780592000,"timestamp_ms":1781780592000,"timestamp_seconds":1781780592,"priority":1,"record_length":96,"hex_timestamp":"0000019eda663580"} 
[2026-06-18 16:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 16:35:51] 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-06-18 16:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135826176001,"66":12841,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135826176001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:35:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:35:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135826176001,"power":12841,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":105932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:35:51] local.INFO: GPS data processed {"connection_id":105932,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:35:51] local.INFO: Acknowledgment sent {"connection_id":105932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:03] local.INFO: TCP Data received {"connection_id":107677,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda648fa0012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda648fa0012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:36:03] local.INFO: Processing buffer {"connection_id":107677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda648fa0012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:36:03] local.INFO: Packet analysis {"connection_id":107677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:36:03] local.INFO: Extracted packet for processing {"connection_id":107677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:36:03] local.INFO: GPS Element Parsed {"raw_longitude":752139712,"raw_latitude":121078208,"longitude_deg":75.2139712,"latitude_deg":12.1078208,"altitude":19,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2cd4bdc0","hex_latitude":"073781c0","is_valid_coordinates":true} 
[2026-06-18 16:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135798528001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701004453314560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117124229841960960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781780484000,"timestamp_ms":1781780484000,"timestamp_seconds":1781780484,"priority":1,"record_length":96,"hex_timestamp":"0000019eda648fa0"} 
[2026-06-18 16:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:36:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 16:36: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-06-18 16:36:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135798528001,"66":27821,"231":206,"2":56832,"24":0,"16":318701004453314560,"44":-3117124229841960960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135798528001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:03] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701004453314560,"km_value":318701004453314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117124229841960960,"description":"Unknown IO ID 44"} 
[2026-06-18 16:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135798528001,"power":27821,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3117124229841960960}} 
[2026-06-18 16:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":107677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:03] local.INFO: GPS data processed {"connection_id":107677,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:03] local.INFO: Acknowledgment sent {"connection_id":107677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:06] local.INFO: TCP Data received {"connection_id":106706,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda68ae50012d7acac005e41050000901222b..."} 
[2026-06-18 16:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda68ae50012d7acac005e41050000901222b..."} 
[2026-06-18 16:36:06] local.INFO: Processing buffer {"connection_id":106706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda68ae50012d7acac005e41050000901222b..."} 
[2026-06-18 16:36:06] local.INFO: Packet analysis {"connection_id":106706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:36:06] local.INFO: Extracted packet for processing {"connection_id":106706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763022016,"raw_latitude":98832464,"longitude_deg":76.3022016,"latitude_deg":9.8832464,"altitude":9,"angle":290,"satellites":43,"speed":8,"hex_longitude":"2d7acac0","hex_latitude":"05e41050","is_valid_coordinates":true} 
[2026-06-18 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135872512001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93938485316026368,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848588130665570304,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:06] 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-06-18 16:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780754000,"timestamp_ms":1781780754000,"timestamp_seconds":1781780754,"priority":1,"record_length":96,"hex_timestamp":"0000019eda68ae50"} 
[2026-06-18 16:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 16:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106706,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:36:06] 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-06-18 16:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135872512001,"66":13059,"97":206,"85":15104,"24":8,"16":93938485316026368,"45":8848588130665570304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135872512001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93938485316026368,"km_value":93938485316026.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848588130665570304,"description":"Unknown IO ID 45"} 
[2026-06-18 16:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135872512001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8848588130665570304}} 
[2026-06-18 16:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":106706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:06] local.INFO: GPS data processed {"connection_id":106706,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:06] local.INFO: Acknowledgment sent {"connection_id":106706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:28] local.INFO: TCP Data received {"connection_id":105932,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda668788012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda668788012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:28] local.INFO: Processing buffer {"connection_id":105932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda668788012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:28] local.INFO: Packet analysis {"connection_id":105932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:36:28] local.INFO: Extracted packet for processing {"connection_id":105932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135831552001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781780613000,"timestamp_ms":1781780613000,"timestamp_seconds":1781780613,"priority":1,"record_length":96,"hex_timestamp":"0000019eda668788"} 
[2026-06-18 16:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 16:36:28] 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-06-18 16: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-06-18 16:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":105932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":105932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":105932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135831552001,"66":12776,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135831552001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135831552001,"power":12776,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":105932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:28] local.INFO: GPS data processed {"connection_id":105932,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:28] local.INFO: Acknowledgment sent {"connection_id":105932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:28] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:28] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:28] local.INFO: IMEI packet received {"connection_id":106118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:36:28] local.INFO: IMEI acknowledgment sent {"connection_id":106118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:36:30] local.INFO: TCP Data received {"connection_id":106117,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:36:30] local.INFO: Processing buffer {"connection_id":106117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:36:30] local.INFO: IMEI packet received {"connection_id":106117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":106117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:36:30] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:30] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:30] local.INFO: IMEI packet received {"connection_id":106118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:36:30] local.INFO: IMEI acknowledgment sent {"connection_id":106118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:36:34] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:34] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:36:34] local.INFO: IMEI packet received {"connection_id":106118,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:36:34] local.INFO: IMEI acknowledgment sent {"connection_id":106118,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:36:35] local.INFO: TCP Data received {"connection_id":106117,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:36:35] local.INFO: Processing buffer {"connection_id":106117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:36:35] local.INFO: IMEI packet received {"connection_id":106117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:36:35] local.INFO: IMEI acknowledgment sent {"connection_id":106117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:36:35] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda68b238012d7ac9c005e410600009010c2b..."} 
[2026-06-18 16:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda68b238012d7ac9c005e410600009010c2b..."} 
[2026-06-18 16:36:35] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda68b238012d7ac9c005e410600009010c2b..."} 
[2026-06-18 16:36:35] local.INFO: Packet analysis {"connection_id":106118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:36:35] local.INFO: Extracted packet for processing {"connection_id":106118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:36:35] local.INFO: GPS Element Parsed {"raw_longitude":763021760,"raw_latitude":98832480,"longitude_deg":76.302176,"latitude_deg":9.883248,"altitude":9,"angle":268,"satellites":43,"speed":9,"hex_longitude":"2d7ac9c0","hex_latitude":"05e41060","is_valid_coordinates":true} 
[2026-06-18 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135873024001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93938498200928256,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8848095549456404480,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781780755000,"timestamp_ms":1781780755000,"timestamp_seconds":1781780755,"priority":1,"record_length":96,"hex_timestamp":"0000019eda68b238"} 
[2026-06-18 16:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869094,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399457,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3664241456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3722444808,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3758173562,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":216,"raw_value":2147869658,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3152805888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3820570624,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:35] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,97,85,24,241,157,16,188,158,166,45,128,15,9,43,10,66,64,12,139,1,240,187,227,218,4,113,205,11,25,216,208,239,51,2,77,5,8,33],"length":486,"final_offset":616,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 16:36:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648837389397524480,"timestamp_seconds":648837389397524.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:36:35] 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-06-18 16:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135873024001,"66":13059,"97":206,"85":15104,"24":9,"16":93938498200928256,"45":8848095549456404480},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135873024001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:36:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93938498200928256,"km_value":93938498200928.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8848095549456404480,"description":"Unknown IO ID 45"} 
[2026-06-18 16:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135873024001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8848095549456404480}} 
[2026-06-18 16:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":106118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344995,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:35] local.INFO: GPS data processed {"connection_id":106118,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:35] local.INFO: Acknowledgment sent {"connection_id":106118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:36] local.INFO: TCP Data received {"connection_id":106117,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda64e1a8012cd4bdc0073781c0001300e82b..."} 
[2026-06-18 16:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda64e1a8012cd4bdc0073781c0001300e82b..."} 
[2026-06-18 16:36:36] local.INFO: Processing buffer {"connection_id":106117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda64e1a8012cd4bdc0073781c0001300e82b..."} 
[2026-06-18 16:36:36] local.INFO: Packet analysis {"connection_id":106117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:36:36] local.INFO: Extracted packet for processing {"connection_id":106117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda64"} 
[2026-06-18 16:36:36] local.INFO: GPS Element Parsed {"raw_longitude":752139712,"raw_latitude":121078208,"longitude_deg":75.2139712,"latitude_deg":12.1078208,"altitude":19,"angle":232,"satellites":43,"speed":0,"hex_longitude":"2cd4bdc0","hex_latitude":"073781c0","is_valid_coordinates":true} 
[2026-06-18 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135803904001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701004453314560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117124229841960960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781780505000,"timestamp_ms":1781780505000,"timestamp_seconds":1781780505,"priority":1,"record_length":96,"hex_timestamp":"0000019eda64e1a8"} 
[2026-06-18 16:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36: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-06-18 16:36:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:36:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135803904001,"66":27800,"231":206,"2":56832,"24":0,"16":318701004453314560,"44":-3117124229841960960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135803904001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701004453314560,"km_value":318701004453314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117124229841960960,"description":"Unknown IO ID 44"} 
[2026-06-18 16:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135803904001,"power":27800,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3117124229841960960}} 
[2026-06-18 16:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":106117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:36] local.INFO: GPS data processed {"connection_id":106117,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:36] local.INFO: Acknowledgment sent {"connection_id":106117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:40] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda68bdf0012d7ac68005e40fb0000a01002b..."} 
[2026-06-18 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda68bdf0012d7ac68005e40fb0000a01002b..."} 
[2026-06-18 16:36:40] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda68bdf0012d7ac68005e40fb0000a01002b..."} 
[2026-06-18 16:36:40] local.INFO: Packet analysis {"connection_id":106118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:36:40] local.INFO: Extracted packet for processing {"connection_id":106118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":763020928,"raw_latitude":98832304,"longitude_deg":76.3020928,"latitude_deg":9.8832304,"altitude":10,"angle":256,"satellites":43,"speed":12,"hex_longitude":"2d7ac680","hex_latitude":"05e40fb0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135873280001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93938536855633920,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8847814074479697920,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781780758000,"timestamp_ms":1781780758000,"timestamp_seconds":1781780758,"priority":1,"record_length":96,"hex_timestamp":"0000019eda68bdf0"} 
[2026-06-18 16:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165009350054,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399431,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3664255456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3623955834,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3221611485,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3153395712,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3822768128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,97,85,24,241,157,16,188,158,174,45,192,9,43,10,66,166,128,15,64,1,240,69,227,218,228,4,113,205,23,68,215,224,44,239,50,2,77,5,8,7],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 16:36:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648813200141778944,"timestamp_seconds":648813200141779.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135873280001,"66":13243,"97":206,"85":15104,"24":12,"16":93938536855633920,"45":8847814074479697920},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135873280001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:36:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93938536855633920,"km_value":93938536855633.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8847814074479697920,"description":"Unknown IO ID 45"} 
[2026-06-18 16:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135873280001,"power":13243,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8847814074479697920}} 
[2026-06-18 16:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":106118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:40] local.INFO: GPS data processed {"connection_id":106118,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:40] local.INFO: Acknowledgment sent {"connection_id":106118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:40] local.INFO: TCP Data received {"connection_id":106117,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6533b0012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6533b0012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:36:40] local.INFO: Processing buffer {"connection_id":106117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6533b0012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:36:40] local.INFO: Packet analysis {"connection_id":106117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:36:40] local.INFO: Extracted packet for processing {"connection_id":106117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":752139712,"raw_latitude":121078208,"longitude_deg":75.2139712,"latitude_deg":12.1078208,"altitude":19,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2cd4bdc0","hex_latitude":"073781c0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135809280001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701004453314560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117124229841960960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781780526000,"timestamp_ms":1781780526000,"timestamp_seconds":1781780526,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6533b0"} 
[2026-06-18 16:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 16:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135809280001,"66":27169,"231":206,"2":56832,"24":0,"16":318701004453314560,"44":-3117124229841960960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135809280001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:40] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701004453314560,"km_value":318701004453314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117124229841960960,"description":"Unknown IO ID 44"} 
[2026-06-18 16:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135809280001,"power":27169,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3117124229841960960}} 
[2026-06-18 16:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":106117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:40] local.INFO: GPS data processed {"connection_id":106117,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:40] local.INFO: Acknowledgment sent {"connection_id":106117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:44] local.INFO: TCP Data received {"connection_id":106708,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:36:44] local.INFO: Processing buffer {"connection_id":106708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:36:44] local.INFO: IMEI packet received {"connection_id":106708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":106708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:36:49] local.INFO: TCP Data received {"connection_id":106708,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:36:49] local.INFO: Processing buffer {"connection_id":106708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:36:49] local.INFO: IMEI packet received {"connection_id":106708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":106708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:36:51] local.INFO: TCP Data received {"connection_id":106708,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda66d990012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda66d990012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:51] local.INFO: Processing buffer {"connection_id":106708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda66d990012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:51] local.INFO: Packet analysis {"connection_id":106708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:36:51] local.INFO: Extracted packet for processing {"connection_id":106708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:36:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135836928001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:36:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781780634000,"timestamp_ms":1781780634000,"timestamp_seconds":1781780634,"priority":1,"record_length":96,"hex_timestamp":"0000019eda66d990"} 
[2026-06-18 16:36:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:36:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 16:36:51] 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-06-18 16:36:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:36:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:36:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:36:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:36:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:36:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:36:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135836928001,"66":11906,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:36:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:36:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:36:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135836928001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:36:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:36:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:36:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135836928001,"power":11906,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:36:51] local.INFO: DEBUG: GPS processor result {"connection_id":106708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":344999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:51] local.INFO: GPS data processed {"connection_id":106708,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:51] local.INFO: Acknowledgment sent {"connection_id":106708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:36:55] local.INFO: TCP Data received {"connection_id":106708,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda672b98012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda672b98012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:55] local.INFO: Processing buffer {"connection_id":106708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda672b98012d1969c0071fec18003b011726..."} 
[2026-06-18 16:36:55] local.INFO: Packet analysis {"connection_id":106708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda67"} 
[2026-06-18 16:36:55] local.INFO: Extracted packet for processing {"connection_id":106708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda67"} 
[2026-06-18 16:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135842304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781780655000,"timestamp_ms":1781780655000,"timestamp_seconds":1781780655,"priority":1,"record_length":96,"hex_timestamp":"0000019eda672b98"} 
[2026-06-18 16:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:36:55] 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-06-18 16:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 16:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:36:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135842304001,"66":12776,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135842304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:36:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135842304001,"power":12776,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":106708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:36:55] local.INFO: GPS data processed {"connection_id":106708,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:36:55] local.INFO: Acknowledgment sent {"connection_id":106708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:37:11] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda690c10012d7aad8005e40b80000b010726..."} 
[2026-06-18 16:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda690c10012d7aad8005e40b80000b010726..."} 
[2026-06-18 16:37:11] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda690c10012d7aad8005e40b80000b010726..."} 
[2026-06-18 16:37:11] local.INFO: Packet analysis {"connection_id":106118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:37:11] local.INFO: Extracted packet for processing {"connection_id":106118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:37:11] local.INFO: GPS Element Parsed {"raw_longitude":763014528,"raw_latitude":98831232,"longitude_deg":76.3014528,"latitude_deg":9.8831232,"altitude":11,"angle":263,"satellites":38,"speed":16,"hex_longitude":"2d7aad80","hex_latitude":"05e40b80","is_valid_coordinates":true} 
[2026-06-18 16:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135874048001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93938850388246528,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8846899280805343232,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781780778000,"timestamp_ms":1781780778000,"timestamp_seconds":1781780778,"priority":1,"record_length":96,"hex_timestamp":"0000019eda690c10"} 
[2026-06-18 16:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 16:37:11] 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-06-18 16:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106118,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:37: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-06-18 16:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135874048001,"66":13363,"97":206,"85":15104,"24":16,"16":93938850388246528,"45":8846899280805343232},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135874048001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:37:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93938850388246528,"km_value":93938850388246.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8846899280805343232,"description":"Unknown IO ID 45"} 
[2026-06-18 16:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135874048001,"power":13363,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8846899280805343232}} 
[2026-06-18 16:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":106118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345001,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:37:11] local.INFO: GPS data processed {"connection_id":106118,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:37:11] local.INFO: Acknowledgment sent {"connection_id":106118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:37:24] local.INFO: TCP Data received {"connection_id":107678,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:37:24] local.INFO: Processing buffer {"connection_id":107678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:37:24] local.INFO: IMEI packet received {"connection_id":107678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":107678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:37:27] local.INFO: TCP Data received {"connection_id":106708,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda677da0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda677da0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:37:27] local.INFO: Processing buffer {"connection_id":106708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda677da0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:37:27] local.INFO: Packet analysis {"connection_id":106708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda67"} 
[2026-06-18 16:37:27] local.INFO: Extracted packet for processing {"connection_id":106708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda67"} 
[2026-06-18 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135847680001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781780676000,"timestamp_ms":1781780676000,"timestamp_seconds":1781780676,"priority":1,"record_length":96,"hex_timestamp":"0000019eda677da0"} 
[2026-06-18 16:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 16:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135847680001,"66":12722,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135847680001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:37:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135847680001,"power":12722,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":106708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:37:27] local.INFO: GPS data processed {"connection_id":106708,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:37:27] local.INFO: Acknowledgment sent {"connection_id":106708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:37:29] local.INFO: TCP Data received {"connection_id":107679,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:29] local.INFO: Processing buffer {"connection_id":107679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:29] local.INFO: IMEI packet received {"connection_id":107679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":107679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:37:29] local.INFO: TCP Data received {"connection_id":107678,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:37:29] local.INFO: Processing buffer {"connection_id":107678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:37:29] local.INFO: IMEI packet received {"connection_id":107678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":107678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:37:30] local.INFO: TCP Data received {"connection_id":107679,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:30] local.INFO: Processing buffer {"connection_id":107679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:30] local.INFO: IMEI packet received {"connection_id":107679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:37:30] local.INFO: IMEI acknowledgment sent {"connection_id":107679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:37:30] local.INFO: TCP Data received {"connection_id":107678,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6585b8012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6585b8012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:37:30] local.INFO: Processing buffer {"connection_id":107678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6585b8012cd4bdc0073781c0001300e82c..."} 
[2026-06-18 16:37:30] local.INFO: Packet analysis {"connection_id":107678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:37:30] local.INFO: Extracted packet for processing {"connection_id":107678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":752139712,"raw_latitude":121078208,"longitude_deg":75.2139712,"latitude_deg":12.1078208,"altitude":19,"angle":232,"satellites":44,"speed":0,"hex_longitude":"2cd4bdc0","hex_latitude":"073781c0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135814656001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701004453314560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117124229841960960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781780547000,"timestamp_ms":1781780547000,"timestamp_seconds":1781780547,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6585b8"} 
[2026-06-18 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-06-18 16:37: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-06-18 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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-18 16:37: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-06-18 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-06-18 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-06-18 16:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135814656001,"66":27789,"231":206,"2":56832,"24":0,"16":318701004453314560,"44":-3117124229841960960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135814656001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:37:30] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701004453314560,"km_value":318701004453314.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117124229841960960,"description":"Unknown IO ID 44"} 
[2026-06-18 16:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135814656001,"power":27789,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3117124229841960960}} 
[2026-06-18 16:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":107678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:37:30] local.INFO: GPS data processed {"connection_id":107678,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:37:30] local.INFO: Acknowledgment sent {"connection_id":107678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:37:33] local.INFO: TCP Data received {"connection_id":107679,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107679,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:33] local.INFO: Processing buffer {"connection_id":107679,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:37:33] local.INFO: IMEI packet received {"connection_id":107679,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":107679,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:37:35] local.INFO: TCP Data received {"connection_id":107678,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda65a8e0012cd4b88007378088001b00f42c..."} 
[2026-06-18 16:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda65a8e0012cd4b88007378088001b00f42c..."} 
[2026-06-18 16:37:35] local.INFO: Processing buffer {"connection_id":107678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda65a8e0012cd4b88007378088001b00f42c..."} 
[2026-06-18 16:37:35] local.INFO: Packet analysis {"connection_id":107678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:37:35] local.INFO: Extracted packet for processing {"connection_id":107678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:37:35] local.INFO: GPS Element Parsed {"raw_longitude":752138368,"raw_latitude":121077896,"longitude_deg":75.2138368,"latitude_deg":12.1077896,"altitude":27,"angle":244,"satellites":44,"speed":5,"hex_longitude":"2cd4b880","hex_latitude":"07378088","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135820032001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701073172791296,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3117124229841960960,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781780556000,"timestamp_ms":1781780556000,"timestamp_seconds":1781780556,"priority":1,"record_length":96,"hex_timestamp":"0000019eda65a8e0"} 
[2026-06-18 16:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:37: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-06-18 16: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 16:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:37:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135820032001,"66":27908,"231":206,"2":56832,"24":5,"16":318701073172791296,"44":-3117124229841960960},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135820032001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:37:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701073172791296,"km_value":318701073172791.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3117124229841960960,"description":"Unknown IO ID 44"} 
[2026-06-18 16:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135820032001,"power":27908,"unknown_231":206,"power_alt":56832,"ignition":5,"odometer":null,"unknown_44":-3117124229841960960}} 
[2026-06-18 16:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":107678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:37:35] local.INFO: GPS data processed {"connection_id":107678,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:37:35] local.INFO: Acknowledgment sent {"connection_id":107678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:37:36] local.INFO: TCP Data received {"connection_id":107679,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda693708012d7a9e4005e40a40000b011424..."} 
[2026-06-18 16:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda693708012d7a9e4005e40a40000b011424..."} 
[2026-06-18 16:37:36] local.INFO: Processing buffer {"connection_id":107679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda693708012d7a9e4005e40a40000b011424..."} 
[2026-06-18 16:37:36] local.INFO: Packet analysis {"connection_id":107679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:37:36] local.INFO: Extracted packet for processing {"connection_id":107679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":98830912,"longitude_deg":76.3010624,"latitude_deg":9.8830912,"altitude":11,"angle":276,"satellites":36,"speed":6,"hex_longitude":"2d7a9e40","hex_latitude":"05e40a40","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135879168001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93939035071840256,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8839862406387302400,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37: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-06-18 16:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781780789000,"timestamp_ms":1781780789000,"timestamp_seconds":1781780789,"priority":1,"record_length":96,"hex_timestamp":"0000019eda693708"} 
[2026-06-18 16:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:37:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 16:37:36] 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-06-18 16: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-06-18 16:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:37:36] 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-06-18 16:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135879168001,"66":13015,"97":206,"85":15104,"24":6,"16":93939035071840256,"45":8839862406387302400},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135879168001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:37:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:37:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93939035071840256,"km_value":93939035071840.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8839862406387302400,"description":"Unknown IO ID 45"} 
[2026-06-18 16:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135879168001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":8839862406387302400}} 
[2026-06-18 16:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":107679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345005,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:37:36] local.INFO: GPS data processed {"connection_id":107679,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:37:36] local.INFO: Acknowledgment sent {"connection_id":107679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:37:50] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:37:50] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:37:50] local.INFO: IMEI packet received {"connection_id":106119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":106119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:37:54] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:37:54] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:37:54] local.INFO: IMEI packet received {"connection_id":106119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":106119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:37:55] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda67cfa8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda67cfa8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:37:55] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda67cfa8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:37:55] local.INFO: Packet analysis {"connection_id":106119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda67"} 
[2026-06-18 16:37:55] local.INFO: Extracted packet for processing {"connection_id":106119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda67"} 
[2026-06-18 16:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135853056001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781780697000,"timestamp_ms":1781780697000,"timestamp_seconds":1781780697,"priority":1,"record_length":96,"hex_timestamp":"0000019eda67cfa8"} 
[2026-06-18 16:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:37:55] 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-06-18 16:37:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135853056001,"66":12743,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135853056001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:37:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135853056001,"power":12743,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":106119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345006,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:37:56] local.INFO: GPS data processed {"connection_id":106119,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:37:56] local.INFO: Acknowledgment sent {"connection_id":106119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:38:04] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6821b0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6821b0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:38:04] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6821b0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:38:04] local.INFO: Packet analysis {"connection_id":106119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:38:04] local.INFO: Extracted packet for processing {"connection_id":106119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135858432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781780718000,"timestamp_ms":1781780718000,"timestamp_seconds":1781780718,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6821b0"} 
[2026-06-18 16:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 16:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135858432001,"66":12722,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135858432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:38:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135858432001,"power":12722,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":106119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:38:04] local.INFO: GPS data processed {"connection_id":106119,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:38:04] local.INFO: Acknowledgment sent {"connection_id":106119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:38:06] local.INFO: TCP Data received {"connection_id":107678,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda65fae8012cd4b04007377c90001700ef2f..."} 
[2026-06-18 16:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda65fae8012cd4b04007377c90001700ef2f..."} 
[2026-06-18 16:38:06] local.INFO: Processing buffer {"connection_id":107678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda65fae8012cd4b04007377c90001700ef2f..."} 
[2026-06-18 16:38:06] local.INFO: Packet analysis {"connection_id":107678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:38:06] local.INFO: Extracted packet for processing {"connection_id":107678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda65"} 
[2026-06-18 16:38:06] local.INFO: GPS Element Parsed {"raw_longitude":752136256,"raw_latitude":121076880,"longitude_deg":75.2136256,"latitude_deg":12.107688,"altitude":23,"angle":239,"satellites":47,"speed":0,"hex_longitude":"2cd4b040","hex_latitude":"07377c90","is_valid_coordinates":true} 
[2026-06-18 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135822336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701184841940992,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3118601973469771776,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780577000,"timestamp_ms":1781780577000,"timestamp_seconds":1781780577,"priority":1,"record_length":96,"hex_timestamp":"0000019eda65fae8"} 
[2026-06-18 16:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:38: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-06-18 16:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 16:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135822336001,"66":27343,"231":206,"2":56832,"24":0,"16":318701184841940992,"44":-3118601973469771776},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135822336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:38:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701184841940992,"km_value":318701184841941.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:38:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3118601973469771776,"description":"Unknown IO ID 44"} 
[2026-06-18 16:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135822336001,"power":27343,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3118601973469771776}} 
[2026-06-18 16:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":107678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:38:07] local.INFO: GPS data processed {"connection_id":107678,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:38:07] local.INFO: Acknowledgment sent {"connection_id":107678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:38:08] local.INFO: TCP Data received {"connection_id":107679,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6965e8012d7a9e4005e40a80000c00632a..."} 
[2026-06-18 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6965e8012d7a9e4005e40a80000c00632a..."} 
[2026-06-18 16:38:08] local.INFO: Processing buffer {"connection_id":107679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6965e8012d7a9e4005e40a80000c00632a..."} 
[2026-06-18 16:38:08] local.INFO: Packet analysis {"connection_id":107679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:38:08] local.INFO: Extracted packet for processing {"connection_id":107679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":763010624,"raw_latitude":98830976,"longitude_deg":76.3010624,"latitude_deg":9.8830976,"altitude":12,"angle":99,"satellites":42,"speed":1,"hex_longitude":"2d7a9e40","hex_latitude":"05e40a80","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135881984001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93939060841644032,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835569912992382976,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781780801000,"timestamp_ms":1781780801000,"timestamp_seconds":1781780801,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6965e8"} 
[2026-06-18 16:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:38: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-06-18 16: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 16:38:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107679,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135881984001,"66":13091,"97":206,"85":15104,"24":1,"16":93939060841644032,"45":8835569912992382976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135881984001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:38:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93939060841644032,"km_value":93939060841644.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835569912992382976,"description":"Unknown IO ID 45"} 
[2026-06-18 16:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135881984001,"power":13091,"unknown_97":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":8835569912992382976}} 
[2026-06-18 16:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":107679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:38:08] local.INFO: GPS data processed {"connection_id":107679,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:38:08] local.INFO: Acknowledgment sent {"connection_id":107679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:38:24] local.INFO: TCP Data received {"connection_id":106120,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:38:24] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:38:24] local.INFO: IMEI packet received {"connection_id":106120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":106120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:38:28] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:28] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:28] local.INFO: IMEI packet received {"connection_id":106121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":106121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:38:29] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:29] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:29] local.INFO: IMEI packet received {"connection_id":106121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":106121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:38:30] local.INFO: TCP Data received {"connection_id":106120,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:38:30] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:38:30] local.INFO: IMEI packet received {"connection_id":106120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":106120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:38:31] local.INFO: TCP Data received {"connection_id":106120,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda664cf0012cd4adc007377a48001600ef2d..."} 
[2026-06-18 16:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda664cf0012cd4adc007377a48001600ef2d..."} 
[2026-06-18 16:38:31] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda664cf0012cd4adc007377a48001600ef2d..."} 
[2026-06-18 16:38:31] local.INFO: Packet analysis {"connection_id":106120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:38:31] local.INFO: Extracted packet for processing {"connection_id":106120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":752135616,"raw_latitude":121076296,"longitude_deg":75.2135616,"latitude_deg":12.1076296,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4adc0","hex_latitude":"07377a48","is_valid_coordinates":true} 
[2026-06-18 16:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135827712001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3120924142027894784,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781780598000,"timestamp_ms":1781780598000,"timestamp_seconds":1781780598,"priority":1,"record_length":96,"hex_timestamp":"0000019eda664cf0"} 
[2026-06-18 16:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 16:38: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-06-18 16:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135827712001,"66":27800,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3120924142027894784},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135827712001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:38:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:38:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3120924142027894784,"description":"Unknown IO ID 44"} 
[2026-06-18 16:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135827712001,"power":27800,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3120924142027894784}} 
[2026-06-18 16:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":106120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:38:31] local.INFO: GPS data processed {"connection_id":106120,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:38:31] local.INFO: Acknowledgment sent {"connection_id":106120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:38:33] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:33] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:38:33] local.INFO: IMEI packet received {"connection_id":106121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":106121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:38:34] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda69b7f0012d7a9f4005e40a50000c006c2b..."} 
[2026-06-18 16:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda69b7f0012d7a9f4005e40a50000c006c2b..."} 
[2026-06-18 16:38:34] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda69b7f0012d7a9f4005e40a50000c006c2b..."} 
[2026-06-18 16:38:34] local.INFO: Packet analysis {"connection_id":106121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:38:34] local.INFO: Extracted packet for processing {"connection_id":106121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":763010880,"raw_latitude":98830928,"longitude_deg":76.301088,"latitude_deg":9.8830928,"altitude":12,"angle":108,"satellites":43,"speed":0,"hex_longitude":"2d7a9f40","hex_latitude":"05e40a50","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135885056001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93939082316480512,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835569912992399360,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38: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-06-18 16:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781780822000,"timestamp_ms":1781780822000,"timestamp_seconds":1781780822,"priority":1,"record_length":96,"hex_timestamp":"0000019eda69b7f0"} 
[2026-06-18 16:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16: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-06-18 16:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135885056001,"66":13059,"97":206,"85":15104,"24":0,"16":93939082316480512,"45":8835569912992399360},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135885056001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:38:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93939082316480512,"km_value":93939082316480.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835569912992399360,"description":"Unknown IO ID 45"} 
[2026-06-18 16:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135885056001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8835569912992399360}} 
[2026-06-18 16:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":106121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345011,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:38:34] local.INFO: GPS data processed {"connection_id":106121,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:38:34] local.INFO: Acknowledgment sent {"connection_id":106121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:38:45] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:45] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:45] local.INFO: IMEI packet received {"connection_id":106122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":106122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:38:46] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:46] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:46] local.INFO: IMEI packet received {"connection_id":106122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":106122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:38:49] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:49] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:38:49] local.INFO: IMEI packet received {"connection_id":106122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":106122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:38:51] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6873b8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6873b8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:38:51] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6873b8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:38:51] local.INFO: Packet analysis {"connection_id":106122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:38:51] local.INFO: Extracted packet for processing {"connection_id":106122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135863808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781780739000,"timestamp_ms":1781780739000,"timestamp_seconds":1781780739,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6873b8"} 
[2026-06-18 16:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135863808001,"66":12711,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135863808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:38:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:38:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135863808001,"power":12711,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":106122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345012,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:38:51] local.INFO: GPS data processed {"connection_id":106122,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:38:51] local.INFO: Acknowledgment sent {"connection_id":106122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:38:55] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda68c5c0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda68c5c0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:38:55] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda68c5c0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:38:55] local.INFO: Packet analysis {"connection_id":106122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:38:55] local.INFO: Extracted packet for processing {"connection_id":106122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:38:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135869184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781780760000,"timestamp_ms":1781780760000,"timestamp_seconds":1781780760,"priority":1,"record_length":96,"hex_timestamp":"0000019eda68c5c0"} 
[2026-06-18 16:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 16:38:55] 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-06-18 16:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135869184001,"66":12689,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135869184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:38:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:38:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135869184001,"power":12689,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":106122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:38:56] local.INFO: GPS data processed {"connection_id":106122,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:38:56] local.INFO: Acknowledgment sent {"connection_id":106122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:05] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda69d348012d7a9fc005e40a88000c00562d..."} 
[2026-06-18 16:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda69d348012d7a9fc005e40a88000c00562d..."} 
[2026-06-18 16:39:05] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda69d348012d7a9fc005e40a88000c00562d..."} 
[2026-06-18 16:39:05] local.INFO: Packet analysis {"connection_id":106121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:39:05] local.INFO: Extracted packet for processing {"connection_id":106121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":763011008,"raw_latitude":98830984,"longitude_deg":76.3011008,"latitude_deg":9.8830984,"altitude":12,"angle":86,"satellites":45,"speed":3,"hex_longitude":"2d7a9fc0","hex_latitude":"05e40a88","is_valid_coordinates":true} 
[2026-06-18 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135890432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93939090906415104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8835851387969097728,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] 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-06-18 16:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781780829000,"timestamp_ms":1781780829000,"timestamp_seconds":1781780829,"priority":1,"record_length":96,"hex_timestamp":"0000019eda69d348"} 
[2026-06-18 16:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303163012861350,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":97,"raw_value":58077557095399432,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3664293456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3808428032,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791375054,"corrected_to":0} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3221611536,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3163619328,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3826274304,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,189,158,101,45,64,10,12,42,66,55,11,36,128,1,240,51,227,188,218,228,4,113,205,178,201,96,43,239,2,77,5,9,8],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2791375054,"validated":0}]} 
[2026-06-18 16:39:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864810060394528768,"timestamp_seconds":864810060394528.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:39: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-06-18 16:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135890432001,"66":13276,"97":206,"85":15104,"24":3,"16":93939090906415104,"45":8835851387969097728},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135890432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93939090906415104,"km_value":93939090906415.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8835851387969097728,"description":"Unknown IO ID 45"} 
[2026-06-18 16:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135890432001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":8835851387969097728}} 
[2026-06-18 16:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":106121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345014,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:05] local.INFO: GPS data processed {"connection_id":106121,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:05] local.INFO: Acknowledgment sent {"connection_id":106121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:06] local.INFO: TCP Data received {"connection_id":106120,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda668b70012cd4adc007377a48001600ef2b..."} 
[2026-06-18 16:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda668b70012cd4adc007377a48001600ef2b..."} 
[2026-06-18 16:39:06] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda668b70012cd4adc007377a48001600ef2b..."} 
[2026-06-18 16:39:06] local.INFO: Packet analysis {"connection_id":106120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:39:06] local.INFO: Extracted packet for processing {"connection_id":106120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:39:06] local.INFO: GPS Element Parsed {"raw_longitude":752135616,"raw_latitude":121076296,"longitude_deg":75.2135616,"latitude_deg":12.1076296,"altitude":22,"angle":239,"satellites":43,"speed":0,"hex_longitude":"2cd4adc0","hex_latitude":"07377a48","is_valid_coordinates":true} 
[2026-06-18 16:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135833088001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780614000,"timestamp_ms":1781780614000,"timestamp_seconds":1781780614,"priority":1,"record_length":96,"hex_timestamp":"0000019eda668b70"} 
[2026-06-18 16:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39: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-06-18 16: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135833088001,"66":27930,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135833088001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135833088001,"power":27930,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":106120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:06] local.INFO: GPS data processed {"connection_id":106120,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:06] local.INFO: Acknowledgment sent {"connection_id":106120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:17] local.INFO: TCP Data received {"connection_id":106123,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:39:17] local.INFO: Processing buffer {"connection_id":106123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:39:17] local.INFO: IMEI packet received {"connection_id":106123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":106123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:39:22] local.INFO: TCP Data received {"connection_id":106123,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106123,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:39:22] local.INFO: Processing buffer {"connection_id":106123,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:39:22] local.INFO: IMEI packet received {"connection_id":106123,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":106123,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:39:23] local.INFO: TCP Data received {"connection_id":106123,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5d63b0012d0b9fc00705d0400013006a1c..."} 
[2026-06-18 16:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5d63b0012d0b9fc00705d0400013006a1c..."} 
[2026-06-18 16:39:23] local.INFO: Processing buffer {"connection_id":106123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5d63b0012d0b9fc00705d0400013006a1c..."} 
[2026-06-18 16:39:23] local.INFO: Packet analysis {"connection_id":106123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:39:23] local.INFO: Extracted packet for processing {"connection_id":106123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755736512,"raw_latitude":117821504,"longitude_deg":75.5736512,"latitude_deg":11.7821504,"altitude":19,"angle":106,"satellites":28,"speed":18,"hex_longitude":"2d0b9fc0","hex_latitude":"0705d040","is_valid_coordinates":true} 
[2026-06-18 16:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135680512001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198335075418112,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827888305413347328,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781780014000,"timestamp_ms":1781780014000,"timestamp_seconds":1781780014,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5d63b0"} 
[2026-06-18 16:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106123,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135680512001,"66":14494,"165":206,"94":10240,"24":18,"16":21198335075418112,"45":827888305413347328},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135680512001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:23] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:39:23] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198335075418112,"km_value":21198335075418.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":827888305413347328,"description":"Unknown IO ID 45"} 
[2026-06-18 16:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135680512001,"power":14494,"unknown_165":206,"unknown_94":10240,"ignition":18,"odometer":null,"unknown_45":827888305413347328}} 
[2026-06-18 16:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":106123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345016,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:23] local.INFO: GPS data processed {"connection_id":106123,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:23] local.INFO: Acknowledgment sent {"connection_id":106123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:24] local.INFO: TCP Data received {"connection_id":106709,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:39:24] local.INFO: Processing buffer {"connection_id":106709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:39:24] local.INFO: IMEI packet received {"connection_id":106709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":106709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:39:27] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6917c8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6917c8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:27] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6917c8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:27] local.INFO: Packet analysis {"connection_id":106122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:39:27] local.INFO: Extracted packet for processing {"connection_id":106122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135874560001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781780781000,"timestamp_ms":1781780781000,"timestamp_seconds":1781780781,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6917c8"} 
[2026-06-18 16:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:27] 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-06-18 16: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-06-18 16:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135874560001,"66":12711,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135874560001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135874560001,"power":12711,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":106122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:27] local.INFO: GPS data processed {"connection_id":106122,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:27] local.INFO: Acknowledgment sent {"connection_id":106122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:30] local.INFO: TCP Data received {"connection_id":106709,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:39:30] local.INFO: Processing buffer {"connection_id":106709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:39:30] local.INFO: IMEI packet received {"connection_id":106709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":106709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:39:33] local.INFO: TCP Data received {"connection_id":106709,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:39:33] local.INFO: Processing buffer {"connection_id":106709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:39:33] local.INFO: Packet analysis {"connection_id":106709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:39:33] local.INFO: Extracted packet for processing {"connection_id":106709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 16:39:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:39:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:39:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:39:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:33] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":106709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:33] local.INFO: GPS data processed {"connection_id":106709,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:33] local.INFO: Acknowledgment sent {"connection_id":106709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:33] local.INFO: TCP Data received {"connection_id":105933,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:39:33] local.INFO: Processing buffer {"connection_id":105933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:39:33] local.INFO: IMEI packet received {"connection_id":105933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":105933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:39:35] local.INFO: TCP Data received {"connection_id":106709,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:39:35] local.INFO: Processing buffer {"connection_id":106709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:39:35] local.INFO: Packet analysis {"connection_id":106709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:39:35] local.INFO: Extracted packet for processing {"connection_id":106709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 16:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:39: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-06-18 16:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":106709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:35] local.INFO: GPS data processed {"connection_id":106709,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:35] local.INFO: Acknowledgment sent {"connection_id":106709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:36] local.INFO: TCP Data received {"connection_id":105933,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105933,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:39:36] local.INFO: Processing buffer {"connection_id":105933,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:39:36] local.INFO: IMEI packet received {"connection_id":105933,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":105933,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:39:37] local.INFO: TCP Data received {"connection_id":105933,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6bcb30012d7b0c0005e34258001000a623..."} 
[2026-06-18 16:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6bcb30012d7b0c0005e34258001000a623..."} 
[2026-06-18 16:39:37] local.INFO: Processing buffer {"connection_id":105933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6bcb30012d7b0c0005e34258001000a623..."} 
[2026-06-18 16:39:37] local.INFO: Packet analysis {"connection_id":105933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:39:37] local.INFO: Extracted packet for processing {"connection_id":105933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763038720,"raw_latitude":98779736,"longitude_deg":76.303872,"latitude_deg":9.8779736,"altitude":16,"angle":166,"satellites":35,"speed":20,"hex_longitude":"2d7b0c00","hex_latitude":"05e34258","is_valid_coordinates":true} 
[2026-06-18 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135921408001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93942350786592768,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863084091954876416,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:37] 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-06-18 16:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781780958000,"timestamp_ms":1781780958000,"timestamp_seconds":1781780958,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6bcb30"} 
[2026-06-18 16:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:39:37] 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-06-18 16:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135921408001,"66":13124,"97":206,"85":15104,"24":20,"16":93942350786592768,"45":8863084091954876416},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135921408001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93942350786592768,"km_value":93942350786592.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863084091954876416,"description":"Unknown IO ID 45"} 
[2026-06-18 16:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135921408001,"power":13124,"unknown_97":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8863084091954876416}} 
[2026-06-18 16:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":105933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345020,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:37] local.INFO: GPS data processed {"connection_id":105933,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:37] local.INFO: Acknowledgment sent {"connection_id":105933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:38] local.INFO: TCP Data received {"connection_id":105933,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6bdad0012d7b0d4005e33ac8001200b227..."} 
[2026-06-18 16:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6bdad0012d7b0d4005e33ac8001200b227..."} 
[2026-06-18 16:39:38] local.INFO: Processing buffer {"connection_id":105933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6bdad0012d7b0d4005e33ac8001200b227..."} 
[2026-06-18 16:39:38] local.INFO: Packet analysis {"connection_id":105933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:39:38] local.INFO: Extracted packet for processing {"connection_id":105933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763039040,"raw_latitude":98777800,"longitude_deg":76.303904,"latitude_deg":9.87778,"altitude":18,"angle":178,"satellites":39,"speed":19,"hex_longitude":"2d7b0d40","hex_latitude":"05e33ac8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135925248001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93942445275873280,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866461791673276416,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:38] 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-06-18 16:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781780962000,"timestamp_ms":1781780962000,"timestamp_seconds":1781780962,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6bdad0"} 
[2026-06-18 16:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:39:38] 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-06-18 16:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135925248001,"66":13189,"97":206,"85":15104,"24":19,"16":93942445275873280,"45":8866461791673276416},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135925248001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93942445275873280,"km_value":93942445275873.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866461791673276416,"description":"Unknown IO ID 45"} 
[2026-06-18 16:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135925248001,"power":13189,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8866461791673276416}} 
[2026-06-18 16:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":105933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:38] local.INFO: GPS data processed {"connection_id":105933,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:38] local.INFO: Acknowledgment sent {"connection_id":105933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:44] local.INFO: TCP Data received {"connection_id":105934,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:44] local.INFO: Processing buffer {"connection_id":105934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:44] local.INFO: IMEI packet received {"connection_id":105934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":105934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:39:47] local.INFO: TCP Data received {"connection_id":105934,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:47] local.INFO: Processing buffer {"connection_id":105934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:47] local.INFO: IMEI packet received {"connection_id":105934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:39:47] local.INFO: IMEI acknowledgment sent {"connection_id":105934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:39:49] local.INFO: TCP Data received {"connection_id":105934,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:49] local.INFO: Processing buffer {"connection_id":105934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:39:49] local.INFO: IMEI packet received {"connection_id":105934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":105934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:39:51] local.INFO: TCP Data received {"connection_id":105934,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6969d0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6969d0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:51] local.INFO: Processing buffer {"connection_id":105934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6969d0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:51] local.INFO: Packet analysis {"connection_id":105934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:39:51] local.INFO: Extracted packet for processing {"connection_id":105934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135879936001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781780802000,"timestamp_ms":1781780802000,"timestamp_seconds":1781780802,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6969d0"} 
[2026-06-18 16:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:51] 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-06-18 16:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135879936001,"66":12667,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135879936001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:39:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135879936001,"power":12667,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":105934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:51] local.INFO: GPS data processed {"connection_id":105934,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:51] local.INFO: Acknowledgment sent {"connection_id":105934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:39:56] local.INFO: TCP Data received {"connection_id":105934,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda69bbd8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda69bbd8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:56] local.INFO: Processing buffer {"connection_id":105934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda69bbd8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:39:56] local.INFO: Packet analysis {"connection_id":105934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:39:56] local.INFO: Extracted packet for processing {"connection_id":105934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda69"} 
[2026-06-18 16:39:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135885312001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781780823000,"timestamp_ms":1781780823000,"timestamp_seconds":1781780823,"priority":1,"record_length":96,"hex_timestamp":"0000019eda69bbd8"} 
[2026-06-18 16:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 16:39:56] 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-06-18 16: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-06-18 16:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135885312001,"66":12667,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135885312001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:39:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:39:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135885312001,"power":12667,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":105934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:39:57] local.INFO: GPS data processed {"connection_id":105934,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:39:57] local.INFO: Acknowledgment sent {"connection_id":105934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:40:07] local.INFO: TCP Data received {"connection_id":106709,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:07] local.INFO: Processing buffer {"connection_id":106709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:07] local.INFO: Packet analysis {"connection_id":106709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:40:07] local.INFO: Extracted packet for processing {"connection_id":106709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:40:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:40:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 16:40:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:40:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:40:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:40:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:40:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:40:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:40:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:40:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:40:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:40:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:40:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:40:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:40:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:40:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:40:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:40:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:40:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:40:07] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:40:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:40:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:40:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:40:07] local.INFO: DEBUG: GPS processor result {"connection_id":106709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:40:07] local.INFO: GPS data processed {"connection_id":106709,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:40:07] local.INFO: Acknowledgment sent {"connection_id":106709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:40:10] local.INFO: TCP Data received {"connection_id":105933,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6c0d98012d7b108005e31810001400a824..."} 
[2026-06-18 16:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6c0d98012d7b108005e31810001400a824..."} 
[2026-06-18 16:40:10] local.INFO: Processing buffer {"connection_id":105933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6c0d98012d7b108005e31810001400a824..."} 
[2026-06-18 16:40:10] local.INFO: Packet analysis {"connection_id":105933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:40:10] local.INFO: Extracted packet for processing {"connection_id":105933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763039872,"raw_latitude":98768912,"longitude_deg":76.3039872,"latitude_deg":9.8768912,"altitude":20,"angle":168,"satellites":36,"speed":31,"hex_longitude":"2d7b1080","hex_latitude":"05e31810","is_valid_coordinates":true} 
[2026-06-18 16:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135926272001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93942879067570176,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866813635393669120,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781780975000,"timestamp_ms":1781780975000,"timestamp_seconds":1781780975,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6c0d98"} 
[2026-06-18 16:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 16:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":105933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":105933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":105933,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:40:10] 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-06-18 16:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135926272001,"66":13276,"97":206,"85":15104,"24":31,"16":93942879067570176,"45":8866813635393669120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135926272001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93942879067570176,"km_value":93942879067570.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866813635393669120,"description":"Unknown IO ID 45"} 
[2026-06-18 16:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135926272001,"power":13276,"unknown_97":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8866813635393669120}} 
[2026-06-18 16:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":105933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345025,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:40:10] local.INFO: GPS data processed {"connection_id":105933,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:40:10] local.INFO: Acknowledgment sent {"connection_id":105933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:40:27] local.INFO: TCP Data received {"connection_id":107680,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:40:27] local.INFO: Processing buffer {"connection_id":107680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:40:27] local.INFO: IMEI packet received {"connection_id":107680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":107680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:40:28] local.INFO: TCP Data received {"connection_id":106710,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:40:28] local.INFO: Processing buffer {"connection_id":106710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:40:28] local.INFO: IMEI packet received {"connection_id":106710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":106710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:40:29] local.INFO: TCP Data received {"connection_id":107680,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:40:29] local.INFO: Processing buffer {"connection_id":107680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:40:29] local.INFO: IMEI packet received {"connection_id":107680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":107680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:40:31] local.INFO: TCP Data received {"connection_id":107680,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:31] local.INFO: Processing buffer {"connection_id":107680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:31] local.INFO: Packet analysis {"connection_id":107680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:40:31] local.INFO: Extracted packet for processing {"connection_id":107680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 16:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16: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-06-18 16: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-06-18 16:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:40:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:40:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":107680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:40:31] local.INFO: GPS data processed {"connection_id":107680,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:40:31] local.INFO: Acknowledgment sent {"connection_id":107680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:40:33] local.INFO: TCP Data received {"connection_id":106710,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106710,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:40:33] local.INFO: Processing buffer {"connection_id":106710,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:40:33] local.INFO: IMEI packet received {"connection_id":106710,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":106710,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:40:34] local.INFO: TCP Data received {"connection_id":106710,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6c3c78012d7b174005e2f2f8001400aa24..."} 
[2026-06-18 16:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6c3c78012d7b174005e2f2f8001400aa24..."} 
[2026-06-18 16:40:34] local.INFO: Processing buffer {"connection_id":106710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6c3c78012d7b174005e2f2f8001400aa24..."} 
[2026-06-18 16:40:34] local.INFO: Packet analysis {"connection_id":106710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:40:34] local.INFO: Extracted packet for processing {"connection_id":106710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:40:34] local.INFO: GPS Element Parsed {"raw_longitude":763041600,"raw_latitude":98759416,"longitude_deg":76.30416,"latitude_deg":9.8759416,"altitude":20,"angle":170,"satellites":36,"speed":33,"hex_longitude":"2d7b1740","hex_latitude":"05e2f2f8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135929600001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93943347219005440,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867728429065703424,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40: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-06-18 16:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781780987000,"timestamp_ms":1781780987000,"timestamp_seconds":1781780987,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6c3c78"} 
[2026-06-18 16:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16: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-06-18 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 16:40:34] 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-06-18 16: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-06-18 16:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:40: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-06-18 16:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135929600001,"66":13341,"97":206,"85":15104,"24":33,"16":93943347219005440,"45":8867728429065703424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135929600001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:40:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:40:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93943347219005440,"km_value":93943347219005.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867728429065703424,"description":"Unknown IO ID 45"} 
[2026-06-18 16:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135929600001,"power":13341,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8867728429065703424}} 
[2026-06-18 16:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":106710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345027,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:40:34] local.INFO: GPS data processed {"connection_id":106710,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:40:34] local.INFO: Acknowledgment sent {"connection_id":106710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:40:35] local.INFO: TCP Data received {"connection_id":107680,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:35] local.INFO: Processing buffer {"connection_id":107680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:40:35] local.INFO: Packet analysis {"connection_id":107680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:40:35] local.INFO: Extracted packet for processing {"connection_id":107680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 16:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:40:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:40: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-06-18 16:40:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:40:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":107680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:40:35] local.INFO: GPS data processed {"connection_id":107680,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:40:35] local.INFO: Acknowledgment sent {"connection_id":107680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:40:37] local.INFO: TCP Data received {"connection_id":106710,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6c6f40012d7b1b4005e2d058001400ab1c..."} 
[2026-06-18 16:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6c6f40012d7b1b4005e2d058001400ab1c..."} 
[2026-06-18 16:40:37] local.INFO: Processing buffer {"connection_id":106710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6c6f40012d7b1b4005e2d058001400ab1c..."} 
[2026-06-18 16:40:37] local.INFO: Packet analysis {"connection_id":106710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:40:37] local.INFO: Extracted packet for processing {"connection_id":106710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":763042624,"raw_latitude":98750552,"longitude_deg":76.3042624,"latitude_deg":9.8750552,"altitude":20,"angle":171,"satellites":28,"speed":28,"hex_longitude":"2d7b1b40","hex_latitude":"05e2d058","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135932672001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93943781010702336,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869628385156069376,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:37] 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-06-18 16:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781781000000,"timestamp_ms":1781781000000,"timestamp_seconds":1781781000,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6c6f40"} 
[2026-06-18 16:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 16:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:40:37] 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-06-18 16:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135932672001,"66":13048,"97":206,"85":15104,"24":28,"16":93943781010702336,"45":8869628385156069376},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135932672001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:40:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:40:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93943781010702336,"km_value":93943781010702.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869628385156069376,"description":"Unknown IO ID 45"} 
[2026-06-18 16:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135932672001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8869628385156069376}} 
[2026-06-18 16:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":106710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345029,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:40:37] local.INFO: GPS data processed {"connection_id":106710,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:40:37] local.INFO: Acknowledgment sent {"connection_id":106710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:40:44] local.INFO: TCP Data received {"connection_id":105935,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:40:44] local.INFO: Processing buffer {"connection_id":105935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:40:44] local.INFO: IMEI packet received {"connection_id":105935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":105935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:40:49] local.INFO: TCP Data received {"connection_id":105935,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:40:49] local.INFO: Processing buffer {"connection_id":105935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:40:49] local.INFO: IMEI packet received {"connection_id":105935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":105935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:40:51] local.INFO: TCP Data received {"connection_id":105935,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6a0de0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6a0de0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:40:51] local.INFO: Processing buffer {"connection_id":105935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6a0de0012d1969c0071fec18003b011727..."} 
[2026-06-18 16:40:51] local.INFO: Packet analysis {"connection_id":105935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6a"} 
[2026-06-18 16:40:51] local.INFO: Extracted packet for processing {"connection_id":105935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6a"} 
[2026-06-18 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135890688001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:40:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781780844000,"timestamp_ms":1781780844000,"timestamp_seconds":1781780844,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6a0de0"} 
[2026-06-18 16:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:40:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 16:40:51] 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-06-18 16:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135890688001,"66":12667,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135890688001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:40:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:40:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135890688001,"power":12667,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":105935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:40:51] local.INFO: GPS data processed {"connection_id":105935,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:40:51] local.INFO: Acknowledgment sent {"connection_id":105935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:40:51] local.INFO: TCP Data received {"connection_id":105936,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:40:51] local.INFO: Processing buffer {"connection_id":105936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:40:51] local.INFO: IMEI packet received {"connection_id":105936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":105936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:40:58] local.INFO: TCP Data received {"connection_id":105936,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:40:58] local.INFO: Processing buffer {"connection_id":105936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:40:58] local.INFO: IMEI packet received {"connection_id":105936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":105936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:41:07] local.INFO: TCP Data received {"connection_id":107680,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:41:07] local.INFO: Processing buffer {"connection_id":107680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:41:07] local.INFO: Packet analysis {"connection_id":107680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:41:07] local.INFO: Extracted packet for processing {"connection_id":107680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 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-06-18 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:41:07] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":107680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:41:07] local.INFO: GPS data processed {"connection_id":107680,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:41:07] local.INFO: Acknowledgment sent {"connection_id":107680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:41:07] local.INFO: TCP Data received {"connection_id":106710,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6ca9d8012d7b208005e2ad58001400ab25..."} 
[2026-06-18 16:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6ca9d8012d7b208005e2ad58001400ab25..."} 
[2026-06-18 16:41:07] local.INFO: Processing buffer {"connection_id":106710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6ca9d8012d7b208005e2ad58001400ab25..."} 
[2026-06-18 16:41:07] local.INFO: Packet analysis {"connection_id":106710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:41:07] local.INFO: Extracted packet for processing {"connection_id":106710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98741592,"longitude_deg":76.3043968,"latitude_deg":9.8741592,"altitude":20,"angle":171,"satellites":37,"speed":26,"hex_longitude":"2d7b2080","hex_latitude":"05e2ad58","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135936000001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93944223392333824,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870754285060642816,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:07] 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-06-18 16:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781781015000,"timestamp_ms":1781781015000,"timestamp_seconds":1781781015,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6ca9d8"} 
[2026-06-18 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-06-18 16:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 16:41: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-06-18 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-06-18 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-06-18 16:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106710,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:41:07] 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-06-18 16:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135936000001,"66":13189,"96":206,"85":15104,"24":26,"16":93944223392333824,"45":8870754285060642816},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 16:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135936000001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:41:07] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:41:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93944223392333824,"km_value":93944223392333.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:41:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870754285060642816,"description":"Unknown IO ID 45"} 
[2026-06-18 16:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135936000001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8870754285060642816}} 
[2026-06-18 16:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":106710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345032,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:41:07] local.INFO: GPS data processed {"connection_id":106710,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:41:07] local.INFO: Acknowledgment sent {"connection_id":106710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:41:23] local.INFO: TCP Data received {"connection_id":105935,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6a5fe8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6a5fe8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:41:23] local.INFO: Processing buffer {"connection_id":105935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6a5fe8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:41:23] local.INFO: Packet analysis {"connection_id":105935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6a"} 
[2026-06-18 16:41:23] local.INFO: Extracted packet for processing {"connection_id":105935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6a"} 
[2026-06-18 16:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135896064001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781780865000,"timestamp_ms":1781780865000,"timestamp_seconds":1781780865,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6a5fe8"} 
[2026-06-18 16:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:41:23] 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-06-18 16:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 16:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":105935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":105935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":105935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135896064001,"66":12645,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135896064001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:41:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:41:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135896064001,"power":12645,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":105935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:41:23] local.INFO: GPS data processed {"connection_id":105935,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:41:23] local.INFO: Acknowledgment sent {"connection_id":105935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:41:24] local.INFO: TCP Data received {"connection_id":105937,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:41:24] local.INFO: Processing buffer {"connection_id":105937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:41:24] local.INFO: IMEI packet received {"connection_id":105937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":105937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:41:29] local.INFO: TCP Data received {"connection_id":106711,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:41:29] local.INFO: Processing buffer {"connection_id":106711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:41:29] local.INFO: IMEI packet received {"connection_id":106711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":106711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:41:31] local.INFO: TCP Data received {"connection_id":105937,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:41:31] local.INFO: Processing buffer {"connection_id":105937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:41:31] local.INFO: IMEI packet received {"connection_id":105937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":105937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:41:31] local.INFO: TCP Data received {"connection_id":106711,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106711,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:41:31] local.INFO: Processing buffer {"connection_id":106711,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:41:31] local.INFO: IMEI packet received {"connection_id":106711,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":106711,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:41:32] local.INFO: TCP Data received {"connection_id":106711,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6d9050012d7b208005e291a8000e014528..."} 
[2026-06-18 16:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6d9050012d7b208005e291a8000e014528..."} 
[2026-06-18 16:41:32] local.INFO: Processing buffer {"connection_id":106711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6d9050012d7b208005e291a8000e014528..."} 
[2026-06-18 16:41:32] local.INFO: Packet analysis {"connection_id":106711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6d"} 
[2026-06-18 16:41:32] local.INFO: Extracted packet for processing {"connection_id":106711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6d"} 
[2026-06-18 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":763043968,"raw_latitude":98734504,"longitude_deg":76.3043968,"latitude_deg":9.8734504,"altitude":14,"angle":325,"satellites":40,"speed":5,"hex_longitude":"2d7b2080","hex_latitude":"05e291a8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135954176001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93944691543769088,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872583872405057536,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:32] 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-06-18 16:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781781074000,"timestamp_ms":1781781074000,"timestamp_seconds":1781781074,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6d9050"} 
[2026-06-18 16:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:41:32] 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-06-18 16:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135954176001,"66":12428,"96":206,"85":15104,"24":5,"16":93944691543769088,"45":8872583872405057536},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 16:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135954176001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:41:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:41:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93944691543769088,"km_value":93944691543769.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872583872405057536,"description":"Unknown IO ID 45"} 
[2026-06-18 16:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135954176001,"power":12428,"unknown_96":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":8872583872405057536}} 
[2026-06-18 16:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":106711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345034,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:41:32] local.INFO: GPS data processed {"connection_id":106711,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:41:32] local.INFO: Acknowledgment sent {"connection_id":106711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:41:33] local.INFO: TCP Data received {"connection_id":106711,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6d9438012d7b204005e29288000e015828..."} 
[2026-06-18 16:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6d9438012d7b204005e29288000e015828..."} 
[2026-06-18 16:41:33] local.INFO: Processing buffer {"connection_id":106711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6d9438012d7b204005e29288000e015828..."} 
[2026-06-18 16:41:33] local.INFO: Packet analysis {"connection_id":106711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6d"} 
[2026-06-18 16:41:33] local.INFO: Extracted packet for processing {"connection_id":106711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6d"} 
[2026-06-18 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":763043904,"raw_latitude":98734728,"longitude_deg":76.3043904,"latitude_deg":9.8734728,"altitude":14,"angle":344,"satellites":40,"speed":9,"hex_longitude":"2d7b2040","hex_latitude":"05e29288","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135954944001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93944704428670976,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872232028684265472,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41: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-06-18 16:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781781075000,"timestamp_ms":1781781075000,"timestamp_seconds":1781781075,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6d9438"} 
[2026-06-18 16:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:41:33] 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-06-18 16: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-06-18 16:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:41:33] 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-06-18 16:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135954944001,"66":12917,"96":206,"85":15104,"24":9,"16":93944704428670976,"45":8872232028684265472},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 16:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135954944001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:41:33] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:41:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93944704428670976,"km_value":93944704428670.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872232028684265472,"description":"Unknown IO ID 45"} 
[2026-06-18 16:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135954944001,"power":12917,"unknown_96":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8872232028684265472}} 
[2026-06-18 16:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":106711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:41:33] local.INFO: GPS data processed {"connection_id":106711,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:41:33] local.INFO: Acknowledgment sent {"connection_id":106711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:41:35] local.INFO: TCP Data received {"connection_id":105937,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:41:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:41:35] local.INFO: Processing buffer {"connection_id":105937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:41:35] local.INFO: Packet analysis {"connection_id":105937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:41:35] local.INFO: Extracted packet for processing {"connection_id":105937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:41:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:41:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:41:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 16:41:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:41:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:41:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:41:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:41:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:41:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:41:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:41:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:41:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:41:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:41:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:41:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:41:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:41:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:41:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:41:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:41:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:41:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:41:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:41:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:41:35] local.INFO: DEBUG: GPS processor result {"connection_id":105937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:41:35] local.INFO: GPS data processed {"connection_id":105937,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:41:35] local.INFO: Acknowledgment sent {"connection_id":105937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:41:47] local.INFO: TCP Data received {"connection_id":105936,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:41:47] local.INFO: Processing buffer {"connection_id":105936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:41:47] local.INFO: IMEI packet received {"connection_id":105936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":105936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:41:51] local.INFO: TCP Data received {"connection_id":105938,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:41:51] local.INFO: Processing buffer {"connection_id":105938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:41:51] local.INFO: IMEI packet received {"connection_id":105938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":105938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:41:53] local.INFO: TCP Data received {"connection_id":105938,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105938,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:41:53] local.INFO: Processing buffer {"connection_id":105938,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:41:53] local.INFO: IMEI packet received {"connection_id":105938,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":105938,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:41:56] local.INFO: TCP Data received {"connection_id":105939,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105939,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:41:56] local.INFO: Processing buffer {"connection_id":105939,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:41:56] local.INFO: IMEI packet received {"connection_id":105939,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":105939,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:42:04] local.INFO: TCP Data received {"connection_id":106711,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6dced0012d7b1a0005e2b770000c015f27..."} 
[2026-06-18 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6dced0012d7b1a0005e2b770000c015f27..."} 
[2026-06-18 16:42:04] local.INFO: Processing buffer {"connection_id":106711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6dced0012d7b1a0005e2b770000c015f27..."} 
[2026-06-18 16:42:04] local.INFO: Packet analysis {"connection_id":106711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6d"} 
[2026-06-18 16:42:04] local.INFO: Extracted packet for processing {"connection_id":106711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6d"} 
[2026-06-18 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":763042304,"raw_latitude":98744176,"longitude_deg":76.3042304,"latitude_deg":9.8744176,"altitude":12,"angle":351,"satellites":39,"speed":32,"hex_longitude":"2d7b1a00","hex_latitude":"05e2b770","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135955200001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93945168285138944,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872161659940145152,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781781090000,"timestamp_ms":1781781090000,"timestamp_seconds":1781781090,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6dced0"} 
[2026-06-18 16:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:42:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-18 16:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106711,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:42:04] 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-06-18 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135955200001,"66":13091,"96":206,"85":15104,"24":32,"16":93945168285138944,"45":8872161659940145152},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135955200001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:42:04] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:42:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93945168285138944,"km_value":93945168285138.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872161659940145152,"description":"Unknown IO ID 45"} 
[2026-06-18 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135955200001,"power":13091,"unknown_96":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8872161659940145152}} 
[2026-06-18 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":106711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345037,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:42:04] local.INFO: GPS data processed {"connection_id":106711,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:42:04] local.INFO: Acknowledgment sent {"connection_id":106711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:42:04] local.INFO: TCP Data received {"connection_id":105938,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6ab1f0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6ab1f0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:42:04] local.INFO: Processing buffer {"connection_id":105938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6ab1f0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:42:04] local.INFO: Packet analysis {"connection_id":105938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6a"} 
[2026-06-18 16:42:04] local.INFO: Extracted packet for processing {"connection_id":105938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6a"} 
[2026-06-18 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135901440001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781780886000,"timestamp_ms":1781780886000,"timestamp_seconds":1781780886,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6ab1f0"} 
[2026-06-18 16:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-18 16:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135901440001,"66":12015,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135901440001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:42:04] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135901440001,"power":12015,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":105938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:42:04] local.INFO: GPS data processed {"connection_id":105938,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:42:04] local.INFO: Acknowledgment sent {"connection_id":105938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:42:06] local.INFO: TCP Data received {"connection_id":105938,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b03f8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b03f8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:42:06] local.INFO: Processing buffer {"connection_id":105938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b03f8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:42:06] local.INFO: Packet analysis {"connection_id":105938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:42:06] local.INFO: Extracted packet for processing {"connection_id":105938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:42:06] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135906816001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781780907000,"timestamp_ms":1781780907000,"timestamp_seconds":1781780907,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b03f8"} 
[2026-06-18 16:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:42:06] 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-06-18 16:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 16:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105938,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135906816001,"66":12602,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135906816001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:42:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:42:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135906816001,"power":12602,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":105938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:42:06] local.INFO: GPS data processed {"connection_id":105938,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:42:06] local.INFO: Acknowledgment sent {"connection_id":105938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:42:07] local.INFO: TCP Data received {"connection_id":105937,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:42:07] local.INFO: Processing buffer {"connection_id":105937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:42:07] local.INFO: Packet analysis {"connection_id":105937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:42:07] local.INFO: Extracted packet for processing {"connection_id":105937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:42:07] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 16:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:42:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:42:07] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:42:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":105937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:42:07] local.INFO: GPS data processed {"connection_id":105937,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:42:07] local.INFO: Acknowledgment sent {"connection_id":105937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:42:25] local.INFO: TCP Data received {"connection_id":106124,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:25] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:25] local.INFO: IMEI packet received {"connection_id":106124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:42:25] local.INFO: IMEI acknowledgment sent {"connection_id":106124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:42:28] local.INFO: TCP Data received {"connection_id":106124,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:28] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:28] local.INFO: IMEI packet received {"connection_id":106124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":106124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:42:30] local.INFO: TCP Data received {"connection_id":106712,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:42:30] local.INFO: Processing buffer {"connection_id":106712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:42:30] local.INFO: IMEI packet received {"connection_id":106712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:42:30] local.INFO: IMEI acknowledgment sent {"connection_id":106712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:42:33] local.INFO: TCP Data received {"connection_id":106124,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:33] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:42:33] local.INFO: IMEI packet received {"connection_id":106124,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":106124,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:42:34] local.INFO: TCP Data received {"connection_id":106124,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6df9c8012d7b140005e2db80000a016021..."} 
[2026-06-18 16:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6df9c8012d7b140005e2db80000a016021..."} 
[2026-06-18 16:42:34] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6df9c8012d7b140005e2db80000a016021..."} 
[2026-06-18 16:42:34] local.INFO: Packet analysis {"connection_id":106124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6d"} 
[2026-06-18 16:42:34] local.INFO: Extracted packet for processing {"connection_id":106124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6d"} 
[2026-06-18 16:42:34] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98753408,"longitude_deg":76.3040768,"latitude_deg":9.8753408,"altitude":10,"angle":352,"satellites":33,"speed":33,"hex_longitude":"2d7b1400","hex_latitude":"05e2db80","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135959040001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93945623551672320,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870402441338122240,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:34] 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-06-18 16:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781781101000,"timestamp_ms":1781781101000,"timestamp_seconds":1781781101,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6df9c8"} 
[2026-06-18 16:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16: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-06-18 16:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135959040001,"66":13363,"96":206,"85":15104,"24":33,"16":93945623551672320,"45":8870402441338122240},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 16:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135959040001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:42:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:42:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93945623551672320,"km_value":93945623551672.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870402441338122240,"description":"Unknown IO ID 45"} 
[2026-06-18 16:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135959040001,"power":13363,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8870402441338122240}} 
[2026-06-18 16:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":106124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345041,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:42:34] local.INFO: GPS data processed {"connection_id":106124,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:42:34] local.INFO: Acknowledgment sent {"connection_id":106124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:42:35] local.INFO: TCP Data received {"connection_id":106712,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:42:35] local.INFO: Processing buffer {"connection_id":106712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:42:35] local.INFO: IMEI packet received {"connection_id":106712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:42:35] local.INFO: IMEI acknowledgment sent {"connection_id":106712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:42:36] local.INFO: TCP Data received {"connection_id":106712,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:42:36] local.INFO: Processing buffer {"connection_id":106712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b2b08012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:42:36] local.INFO: Packet analysis {"connection_id":106712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:42:36] local.INFO: Extracted packet for processing {"connection_id":106712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135837184001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781780917000,"timestamp_ms":1781780917000,"timestamp_seconds":1781780917,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b2b08"} 
[2026-06-18 16:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 16:42: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-06-18 16:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135837184001,"66":26267,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135837184001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:42:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:42:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 16:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135837184001,"power":26267,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":106712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:42:36] local.INFO: GPS data processed {"connection_id":106712,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:42:36] local.INFO: Acknowledgment sent {"connection_id":106712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:42:45] local.INFO: TCP Data received {"connection_id":106125,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:42:45] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:42:45] local.INFO: IMEI packet received {"connection_id":106125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:42:45] local.INFO: IMEI acknowledgment sent {"connection_id":106125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:42:49] local.INFO: TCP Data received {"connection_id":106125,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:42:49] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:42:49] local.INFO: IMEI packet received {"connection_id":106125,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":106125,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:42:51] local.INFO: TCP Data received {"connection_id":106125,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6b5600012d1969c0071fec18003b011727..."} 
[2026-06-18 16:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6b5600012d1969c0071fec18003b011727..."} 
[2026-06-18 16:42:51] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6b5600012d1969c0071fec18003b011727..."} 
[2026-06-18 16:42:51] local.INFO: Packet analysis {"connection_id":106125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:42:51] local.INFO: Extracted packet for processing {"connection_id":106125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135912192001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781780928000,"timestamp_ms":1781780928000,"timestamp_seconds":1781780928,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6b5600"} 
[2026-06-18 16:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-18 16:42:51] 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-06-18 16:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135912192001,"66":12602,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135912192001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:42:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:42:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135912192001,"power":12602,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":106125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:42:51] local.INFO: GPS data processed {"connection_id":106125,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:42:51] local.INFO: Acknowledgment sent {"connection_id":106125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:43:05] local.INFO: TCP Data received {"connection_id":106124,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6e47e8012d7b0fc005e2fbf0000400031d..."} 
[2026-06-18 16:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6e47e8012d7b0fc005e2fbf0000400031d..."} 
[2026-06-18 16:43:05] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6e47e8012d7b0fc005e2fbf0000400031d..."} 
[2026-06-18 16:43:05] local.INFO: Packet analysis {"connection_id":106124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:43:05] local.INFO: Extracted packet for processing {"connection_id":106124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98761712,"longitude_deg":76.303968,"latitude_deg":9.8761712,"altitude":4,"angle":3,"satellites":29,"speed":7,"hex_longitude":"2d7b0fc0","hex_latitude":"05e2fbf0","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135961856001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93946048753434624,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591480221696,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781781121000,"timestamp_ms":1781781121000,"timestamp_seconds":1781781121,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6e47e8"} 
[2026-06-18 16:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:43:05] 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-06-18 16: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":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 16:43:05] 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-06-18 16: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-06-18 16:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106124,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:43: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-06-18 16:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135961856001,"66":12885,"96":206,"85":15104,"24":7,"16":93946048753434624,"45":8868713591480221696},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 16:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135961856001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:43:05] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93946048753434624,"km_value":93946048753434.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591480221696,"description":"Unknown IO ID 45"} 
[2026-06-18 16:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135961856001,"power":12885,"unknown_96":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8868713591480221696}} 
[2026-06-18 16:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":106124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345044,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:43:05] local.INFO: GPS data processed {"connection_id":106124,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:43:05] local.INFO: Acknowledgment sent {"connection_id":106124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:43:24] local.INFO: TCP Data received {"connection_id":106125,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6ba808012d1969c0071fec18003b011726..."} 
[2026-06-18 16:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6ba808012d1969c0071fec18003b011726..."} 
[2026-06-18 16:43:24] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6ba808012d1969c0071fec18003b011726..."} 
[2026-06-18 16:43:24] local.INFO: Packet analysis {"connection_id":106125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:43:24] local.INFO: Extracted packet for processing {"connection_id":106125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:43:24] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:43:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135917568001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781780949000,"timestamp_ms":1781780949000,"timestamp_seconds":1781780949,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6ba808"} 
[2026-06-18 16:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:43:24] 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-06-18 16: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":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-18 16:43:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106125,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135917568001,"66":12558,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135917568001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:43:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:43:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:43:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:43:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135917568001,"power":12558,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":106125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:43:24] local.INFO: GPS data processed {"connection_id":106125,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:43:24] local.INFO: Acknowledgment sent {"connection_id":106125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:43:26] local.INFO: TCP Data received {"connection_id":107681,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:43:26] local.INFO: Processing buffer {"connection_id":107681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:43:26] local.INFO: IMEI packet received {"connection_id":107681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":107681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:43:28] local.INFO: TCP Data received {"connection_id":106713,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:43:28] local.INFO: Processing buffer {"connection_id":106713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:43:28] local.INFO: IMEI packet received {"connection_id":106713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:43:28] local.INFO: IMEI acknowledgment sent {"connection_id":106713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:43:29] local.INFO: TCP Data received {"connection_id":107681,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:43:29] local.INFO: Processing buffer {"connection_id":107681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:43:29] local.INFO: IMEI packet received {"connection_id":107681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":107681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:43:33] local.INFO: TCP Data received {"connection_id":106713,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106713,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:43:33] local.INFO: Processing buffer {"connection_id":106713,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:43:33] local.INFO: IMEI packet received {"connection_id":106713,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":106713,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:43:34] local.INFO: TCP Data received {"connection_id":106713,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6e53a0012d7b0fc005e2ff100005015d1f..."} 
[2026-06-18 16:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6e53a0012d7b0fc005e2ff100005015d1f..."} 
[2026-06-18 16:43:34] local.INFO: Processing buffer {"connection_id":106713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6e53a0012d7b0fc005e2ff100005015d1f..."} 
[2026-06-18 16:43:34] local.INFO: Packet analysis {"connection_id":106713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:43:34] local.INFO: Extracted packet for processing {"connection_id":106713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":763039680,"raw_latitude":98762512,"longitude_deg":76.303968,"latitude_deg":9.8762512,"altitude":5,"angle":349,"satellites":31,"speed":12,"hex_longitude":"2d7b0fc0","hex_latitude":"05e2ff10","is_valid_coordinates":true} 
[2026-06-18 16:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135966976001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93946087408140288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322831327232,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:34] 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-06-18 16:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781781124000,"timestamp_ms":1781781124000,"timestamp_seconds":1781781124,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6e53a0"} 
[2026-06-18 16:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 16:43:34] 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-06-18 16: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-06-18 16:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:43: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-06-18 16:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135966976001,"66":13189,"96":206,"85":15104,"24":12,"16":93946087408140288,"45":8867517322831327232},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 16:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135966976001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:43:34] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:43:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93946087408140288,"km_value":93946087408140.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322831327232,"description":"Unknown IO ID 45"} 
[2026-06-18 16:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135966976001,"power":13189,"unknown_96":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8867517322831327232}} 
[2026-06-18 16:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":106713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345046,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:43:34] local.INFO: GPS data processed {"connection_id":106713,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:43:34] local.INFO: Acknowledgment sent {"connection_id":106713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:43:44] local.INFO: TCP Data received {"connection_id":107682,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:43:44] local.INFO: Processing buffer {"connection_id":107682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:43:44] local.INFO: IMEI packet received {"connection_id":107682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":107682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:43:50] local.INFO: TCP Data received {"connection_id":107682,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:43:50] local.INFO: Processing buffer {"connection_id":107682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:43:50] local.INFO: IMEI packet received {"connection_id":107682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":107682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:43:51] local.INFO: TCP Data received {"connection_id":107682,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6bfa10012d1969c0071fec18003b011727..."} 
[2026-06-18 16:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6bfa10012d1969c0071fec18003b011727..."} 
[2026-06-18 16:43:51] local.INFO: Processing buffer {"connection_id":107682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6bfa10012d1969c0071fec18003b011727..."} 
[2026-06-18 16:43:51] local.INFO: Packet analysis {"connection_id":107682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:43:51] local.INFO: Extracted packet for processing {"connection_id":107682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6b"} 
[2026-06-18 16:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135922944001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781780970000,"timestamp_ms":1781780970000,"timestamp_seconds":1781780970,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6bfa10"} 
[2026-06-18 16:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3664362456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249744879598693400,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960995899,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":13,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3296264192,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5116315798427670528,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":57,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-06-18 16:43:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,71,28,24,241,158,16,196,86,45,192,236,59,39,10,66,3,38,177,1,240,239,218,31,4,113,205,13,105,49,2,11,7,231,57,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-06-18 16:43:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251704975190654976,"timestamp_seconds":4251704975190655.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135922944001,"66":12428,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135922944001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:43:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:43:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135922944001,"power":12428,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":107682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345047,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:43:51] local.INFO: GPS data processed {"connection_id":107682,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:43:51] local.INFO: Acknowledgment sent {"connection_id":107682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:44:00] local.INFO: TCP Data received {"connection_id":107681,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:44:00] local.INFO: Processing buffer {"connection_id":107681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:44:00] local.INFO: IMEI packet received {"connection_id":107681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":107681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:44:06] local.INFO: TCP Data received {"connection_id":106713,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6e9608012d7b0b4005e30f180005000722..."} 
[2026-06-18 16:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6e9608012d7b0b4005e30f180005000722..."} 
[2026-06-18 16:44:06] local.INFO: Processing buffer {"connection_id":106713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6e9608012d7b0b4005e30f180005000722..."} 
[2026-06-18 16:44:06] local.INFO: Packet analysis {"connection_id":106713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:44:06] local.INFO: Extracted packet for processing {"connection_id":106713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763038528,"raw_latitude":98766616,"longitude_deg":76.3038528,"latitude_deg":9.8766616,"altitude":5,"angle":7,"satellites":34,"speed":8,"hex_longitude":"2d7b0b40","hex_latitude":"05e30f18","is_valid_coordinates":true} 
[2026-06-18 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135967744001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93946302156505088,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867517322831532032,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:06] 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-06-18 16:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781781141000,"timestamp_ms":1781781141000,"timestamp_seconds":1781781141,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6e9608"} 
[2026-06-18 16:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 16:44:06] 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-06-18 16:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106713,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:44:06] 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-06-18 16:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135967744001,"66":13276,"96":206,"85":15104,"24":8,"16":93946302156505088,"45":8867517322831532032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 16:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135967744001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:44:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 16:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93946302156505088,"km_value":93946302156505.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867517322831532032,"description":"Unknown IO ID 45"} 
[2026-06-18 16:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135967744001,"power":13276,"unknown_96":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":8867517322831532032}} 
[2026-06-18 16:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":106713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:44:06] local.INFO: GPS data processed {"connection_id":106713,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:44:06] local.INFO: Acknowledgment sent {"connection_id":106713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:44:24] local.INFO: TCP Data received {"connection_id":105940,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:44:24] local.INFO: Processing buffer {"connection_id":105940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:44:24] local.INFO: IMEI packet received {"connection_id":105940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":105940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:44:26] local.INFO: TCP Data received {"connection_id":107682,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6c4c18012d1969c0071fec18003b011727..."} 
[2026-06-18 16:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6c4c18012d1969c0071fec18003b011727..."} 
[2026-06-18 16:44:26] local.INFO: Processing buffer {"connection_id":107682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6c4c18012d1969c0071fec18003b011727..."} 
[2026-06-18 16:44:26] local.INFO: Packet analysis {"connection_id":107682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:44:26] local.INFO: Extracted packet for processing {"connection_id":107682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:44:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135928320001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781780991000,"timestamp_ms":1781780991000,"timestamp_seconds":1781780991,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6c4c18"} 
[2026-06-18 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-06-18 16:44:26] 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-06-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:44:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":107682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":107682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":107682,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135928320001,"66":12591,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135928320001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:44:26] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:44:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135928320001,"power":12591,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":107682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:44:26] local.INFO: GPS data processed {"connection_id":107682,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:44:26] local.INFO: Acknowledgment sent {"connection_id":107682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:44:28] local.INFO: TCP Data received {"connection_id":107683,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:28] local.INFO: Processing buffer {"connection_id":107683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:28] local.INFO: IMEI packet received {"connection_id":107683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":107683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:44:34] local.INFO: TCP Data received {"connection_id":107683,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:34] local.INFO: Processing buffer {"connection_id":107683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:34] local.INFO: IMEI packet received {"connection_id":107683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:44:34] local.INFO: IMEI acknowledgment sent {"connection_id":107683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:44:35] local.INFO: TCP Data received {"connection_id":107683,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:35] local.INFO: Processing buffer {"connection_id":107683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:35] local.INFO: IMEI packet received {"connection_id":107683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:44:35] local.INFO: IMEI acknowledgment sent {"connection_id":107683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:44:39] local.INFO: TCP Data received {"connection_id":107683,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107683,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:39] local.INFO: Processing buffer {"connection_id":107683,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:44:39] local.INFO: IMEI packet received {"connection_id":107683,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:44:39] local.INFO: IMEI acknowledgment sent {"connection_id":107683,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:44:40] local.INFO: TCP Data received {"connection_id":107683,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6ea1c0012d7b0b0005e313780005015e21..."} 
[2026-06-18 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6ea1c0012d7b0b0005e313780005015e21..."} 
[2026-06-18 16:44:40] local.INFO: Processing buffer {"connection_id":107683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6ea1c0012d7b0b0005e313780005015e21..."} 
[2026-06-18 16:44:40] local.INFO: Packet analysis {"connection_id":107683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:44:40] local.INFO: Extracted packet for processing {"connection_id":107683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98767736,"longitude_deg":76.3038464,"latitude_deg":9.8767736,"altitude":5,"angle":350,"satellites":33,"speed":19,"hex_longitude":"2d7b0b00","hex_latitude":"05e31378","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135972096001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93946357991079936,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866250685437384704,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781781144000,"timestamp_ms":1781781144000,"timestamp_seconds":1781781144,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6ea1c0"} 
[2026-06-18 16:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 16:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135972096001,"66":13059,"97":206,"85":15104,"24":19,"16":93946357991079936,"45":8866250685437384704},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135972096001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:44:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93946357991079936,"km_value":93946357991079.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866250685437384704,"description":"Unknown IO ID 45"} 
[2026-06-18 16:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135972096001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8866250685437384704}} 
[2026-06-18 16:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":107683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345050,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:44:41] local.INFO: GPS data processed {"connection_id":107683,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:44:41] local.INFO: Acknowledgment sent {"connection_id":107683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:44:44] local.INFO: TCP Data received {"connection_id":107683,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6ec8d0012d7b07c005e32ce0000600001d..."} 
[2026-06-18 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6ec8d0012d7b07c005e32ce0000600001d..."} 
[2026-06-18 16:44:44] local.INFO: Processing buffer {"connection_id":107683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6ec8d0012d7b07c005e32ce0000600001d..."} 
[2026-06-18 16:44:44] local.INFO: Packet analysis {"connection_id":107683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:44:44] local.INFO: Extracted packet for processing {"connection_id":107683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6e"} 
[2026-06-18 16:44:44] local.INFO: GPS Element Parsed {"raw_longitude":763037632,"raw_latitude":98774240,"longitude_deg":76.3037632,"latitude_deg":9.877424,"altitude":6,"angle":0,"satellites":29,"speed":22,"hex_longitude":"2d7b07c0","hex_latitude":"05e32ce0","is_valid_coordinates":true} 
[2026-06-18 16:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135972864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93946675818659840,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316693493760,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] 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-06-18 16:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781781154000,"timestamp_ms":1781781154000,"timestamp_seconds":1781781154,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6ec8d0"} 
[2026-06-18 16:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496678,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3664614456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3801253888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":96,"raw_value":58077557095399433,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":226,"raw_value":3682598922,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2791309518,"corrected_to":0} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":206,"raw_value":3489738107,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3265396736,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:44] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,97,85,24,241,157,16,195,158,150,45,64,15,5,34,10,66,96,83,192,255,31,71,1,240,227,218,226,4,113,205,33,206,26,112,39,239,51,2,77,14,9],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2791309518,"validated":0}]} 
[2026-06-18 16:44:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360672940994527232,"timestamp_seconds":360672940994527.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107683,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:44:44] 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-06-18 16:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135972864001,"66":12961,"97":206,"85":15104,"24":22,"16":93946675818659840,"45":8866180316693493760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135972864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:44:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:44:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93946675818659840,"km_value":93946675818659.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316693493760,"description":"Unknown IO ID 45"} 
[2026-06-18 16:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135972864001,"power":12961,"unknown_97":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":8866180316693493760}} 
[2026-06-18 16:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":107683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:44:44] local.INFO: GPS data processed {"connection_id":107683,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:44:44] local.INFO: Acknowledgment sent {"connection_id":107683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:44:44] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:44:44] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:44:44] local.INFO: IMEI packet received {"connection_id":106126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":106126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:44:49] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:44:49] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:44:49] local.INFO: IMEI packet received {"connection_id":106126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":106126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:44:55] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6c9e20012d1969c0071fec18003b011726..."} 
[2026-06-18 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6c9e20012d1969c0071fec18003b011726..."} 
[2026-06-18 16:44:55] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6c9e20012d1969c0071fec18003b011726..."} 
[2026-06-18 16:44:55] local.INFO: Packet analysis {"connection_id":106126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:44:55] local.INFO: Extracted packet for processing {"connection_id":106126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135933696001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781781012000,"timestamp_ms":1781781012000,"timestamp_seconds":1781781012,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6c9e20"} 
[2026-06-18 16:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 16:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135933696001,"66":12558,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135933696001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:44:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135933696001,"power":12558,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":106126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:44:56] local.INFO: GPS data processed {"connection_id":106126,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:44:56] local.INFO: Acknowledgment sent {"connection_id":106126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:45:28] local.INFO: TCP Data received {"connection_id":106715,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:45:28] local.INFO: Processing buffer {"connection_id":106715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:45:28] local.INFO: IMEI packet received {"connection_id":106715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":106715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:45:33] local.INFO: TCP Data received {"connection_id":106715,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106715,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:45:33] local.INFO: Processing buffer {"connection_id":106715,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:45:33] local.INFO: IMEI packet received {"connection_id":106715,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":106715,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:45:34] local.INFO: TCP Data received {"connection_id":106715,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda711e78012d7a644005e46948000501182a..."} 
[2026-06-18 16:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda711e78012d7a644005e46948000501182a..."} 
[2026-06-18 16:45:34] local.INFO: Processing buffer {"connection_id":106715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda711e78012d7a644005e46948000501182a..."} 
[2026-06-18 16:45:34] local.INFO: Packet analysis {"connection_id":106715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:45:34] local.INFO: Extracted packet for processing {"connection_id":106715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:45:34] local.INFO: GPS Element Parsed {"raw_longitude":762995776,"raw_latitude":98855240,"longitude_deg":76.2995776,"latitude_deg":9.885524,"altitude":5,"angle":280,"satellites":42,"speed":9,"hex_longitude":"2d7a6440","hex_latitude":"05e46948","is_valid_coordinates":true} 
[2026-06-18 16:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93951297203470336,"note":"Value kept but may cause issues"} 
[2026-06-18 16:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819455470581907456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:45: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-06-18 16:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781781307000,"timestamp_ms":1781781307000,"timestamp_seconds":1781781307,"priority":1,"record_length":96,"hex_timestamp":"0000019eda711e78"} 
[2026-06-18 16:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:45:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:45:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:45: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-06-18 16:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136014336001,"66":12841,"97":206,"85":15104,"24":9,"16":93951297203470336,"45":8819455470581907456},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:45:34] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:45:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93951297203470336,"km_value":93951297203470.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819455470581907456,"description":"Unknown IO ID 45"} 
[2026-06-18 16:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136014336001,"power":12841,"unknown_97":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8819455470581907456}} 
[2026-06-18 16:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":106715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345053,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:45:34] local.INFO: GPS data processed {"connection_id":106715,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:45:34] local.INFO: Acknowledgment sent {"connection_id":106715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:45:49] local.INFO: TCP Data received {"connection_id":107685,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:45:49] local.INFO: Processing buffer {"connection_id":107685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:45:49] local.INFO: IMEI packet received {"connection_id":107685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":107685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:45:55] local.INFO: TCP Data received {"connection_id":107685,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:45:55] local.INFO: Processing buffer {"connection_id":107685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:45:55] local.INFO: IMEI packet received {"connection_id":107685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":107685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:45:58] local.INFO: TCP Data received {"connection_id":107685,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda702478012d1969c0071fec18003b011727..."} 
[2026-06-18 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda702478012d1969c0071fec18003b011727..."} 
[2026-06-18 16:45:58] local.INFO: Processing buffer {"connection_id":107685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda702478012d1969c0071fec18003b011727..."} 
[2026-06-18 16:45:58] local.INFO: Packet analysis {"connection_id":107685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda70"} 
[2026-06-18 16:45:58] local.INFO: Extracted packet for processing {"connection_id":107685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda70"} 
[2026-06-18 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135992832001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781781243000,"timestamp_ms":1781781243000,"timestamp_seconds":1781781243,"priority":1,"record_length":96,"hex_timestamp":"0000019eda702478"} 
[2026-06-18 16:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":227,"data_length":795,"current_offset":136} 
[2026-06-18 16:45: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-06-18 16: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-06-18 16:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135992832001,"66":12515,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135992832001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:45:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135992832001,"power":12515,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":107685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:45:58] local.INFO: GPS data processed {"connection_id":107685,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:45:58] local.INFO: Acknowledgment sent {"connection_id":107685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:46:00] local.INFO: TCP Data received {"connection_id":107685,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda707680012d1969c0071fec18003b011727..."} 
[2026-06-18 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda707680012d1969c0071fec18003b011727..."} 
[2026-06-18 16:46:00] local.INFO: Processing buffer {"connection_id":107685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda707680012d1969c0071fec18003b011727..."} 
[2026-06-18 16:46:00] local.INFO: Packet analysis {"connection_id":107685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda70"} 
[2026-06-18 16:46:00] local.INFO: Extracted packet for processing {"connection_id":107685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda70"} 
[2026-06-18 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135998208001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781781264000,"timestamp_ms":1781781264000,"timestamp_seconds":1781781264,"priority":1,"record_length":96,"hex_timestamp":"0000019eda707680"} 
[2026-06-18 16:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 16:46:00] 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-06-18 16: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-06-18 16:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135998208001,"66":12526,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135998208001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:46:00] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135998208001,"power":12526,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":107685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:46:00] local.INFO: GPS data processed {"connection_id":107685,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:46:00] local.INFO: Acknowledgment sent {"connection_id":107685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:46:06] local.INFO: TCP Data received {"connection_id":106715,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda712648012d7a62c005e46940000501072a..."} 
[2026-06-18 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda712648012d7a62c005e46940000501072a..."} 
[2026-06-18 16:46:06] local.INFO: Processing buffer {"connection_id":106715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda712648012d7a62c005e46940000501072a..."} 
[2026-06-18 16:46:06] local.INFO: Packet analysis {"connection_id":106715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:46:06] local.INFO: Extracted packet for processing {"connection_id":106715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:46:06] local.INFO: GPS Element Parsed {"raw_longitude":762995392,"raw_latitude":98855232,"longitude_deg":76.2995392,"latitude_deg":9.8855232,"altitude":5,"angle":263,"satellites":42,"speed":7,"hex_longitude":"2d7a62c0","hex_latitude":"05e46940","is_valid_coordinates":true} 
[2026-06-18 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136014592001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93951314383339520,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819244364349392896,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:06] 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-06-18 16:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781781309000,"timestamp_ms":1781781309000,"timestamp_seconds":1781781309,"priority":1,"record_length":96,"hex_timestamp":"0000019eda712648"} 
[2026-06-18 16:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:46: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-06-18 16:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 16:46:06] 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-06-18 16:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106715,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:46:06] 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-06-18 16:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136014592001,"66":13048,"97":206,"85":15104,"24":7,"16":93951314383339520,"45":8819244364349392896},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136014592001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:46:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93951314383339520,"km_value":93951314383339.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819244364349392896,"description":"Unknown IO ID 45"} 
[2026-06-18 16:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136014592001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":8819244364349392896}} 
[2026-06-18 16:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":106715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345056,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:46:06] local.INFO: GPS data processed {"connection_id":106715,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:46:06] local.INFO: Acknowledgment sent {"connection_id":106715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:46:28] local.INFO: TCP Data received {"connection_id":106129,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:46:28] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:46:28] local.INFO: IMEI packet received {"connection_id":106129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":106129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:46:37] local.INFO: TCP Data received {"connection_id":106129,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:46:37] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:46:37] local.INFO: IMEI packet received {"connection_id":106129,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":106129,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:46:38] local.INFO: TCP Data received {"connection_id":106129,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda713200012d7a600005e46860000500fc2c..."} 
[2026-06-18 16:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda713200012d7a600005e46860000500fc2c..."} 
[2026-06-18 16:46:38] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda713200012d7a600005e46860000500fc2c..."} 
[2026-06-18 16:46:38] local.INFO: Packet analysis {"connection_id":106129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:46:38] local.INFO: Extracted packet for processing {"connection_id":106129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":762994688,"raw_latitude":98855008,"longitude_deg":76.2994688,"latitude_deg":9.8855008,"altitude":5,"angle":252,"satellites":44,"speed":12,"hex_longitude":"2d7a6000","hex_latitude":"05e46860","is_valid_coordinates":true} 
[2026-06-18 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136015104001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93951348743077888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8818822151884324864,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:38] 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-06-18 16:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781781312000,"timestamp_ms":1781781312000,"timestamp_seconds":1781781312,"priority":1,"record_length":96,"hex_timestamp":"0000019eda713200"} 
[2026-06-18 16:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:46:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 16:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:46:38] 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-06-18 16:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136015104001,"66":12906,"97":206,"85":15104,"24":12,"16":93951348743077888,"45":8818822151884324864},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 16:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136015104001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:46:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93951348743077888,"km_value":93951348743077.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8818822151884324864,"description":"Unknown IO ID 45"} 
[2026-06-18 16:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136015104001,"power":12906,"unknown_97":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8818822151884324864}} 
[2026-06-18 16:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":106129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345057,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:46:38] local.INFO: GPS data processed {"connection_id":106129,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:46:38] local.INFO: Acknowledgment sent {"connection_id":106129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:46:44] local.INFO: TCP Data received {"connection_id":107686,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:46:44] local.INFO: Processing buffer {"connection_id":107686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:46:44] local.INFO: IMEI packet received {"connection_id":107686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":107686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:46:47] local.INFO: TCP Data received {"connection_id":107686,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107686,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:46:47] local.INFO: Processing buffer {"connection_id":107686,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:46:47] local.INFO: IMEI packet received {"connection_id":107686,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":107686,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:46:49] local.INFO: TCP Data received {"connection_id":107686,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda70c888012d1969c0071fec18003b011727..."} 
[2026-06-18 16:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda70c888012d1969c0071fec18003b011727..."} 
[2026-06-18 16:46:49] local.INFO: Processing buffer {"connection_id":107686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda70c888012d1969c0071fec18003b011727..."} 
[2026-06-18 16:46:49] local.INFO: Packet analysis {"connection_id":107686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda70"} 
[2026-06-18 16:46:49] local.INFO: Extracted packet for processing {"connection_id":107686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda70"} 
[2026-06-18 16:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136003584001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781781285000,"timestamp_ms":1781781285000,"timestamp_seconds":1781781285,"priority":1,"record_length":96,"hex_timestamp":"0000019eda70c888"} 
[2026-06-18 16:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:46:49] 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-06-18 16:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 16:46:49] 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-06-18 16:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136003584001,"66":12504,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136003584001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:46:49] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:46:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136003584001,"power":12504,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":107686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:46:49] local.INFO: GPS data processed {"connection_id":107686,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:46:49] local.INFO: Acknowledgment sent {"connection_id":107686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:47:01] local.INFO: TCP Data received {"connection_id":105942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:01] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:01] local.INFO: IMEI packet received {"connection_id":105942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":105942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:47:07] local.INFO: TCP Data received {"connection_id":105942,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:07] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:07] local.INFO: IMEI packet received {"connection_id":105942,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":105942,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:47:08] local.INFO: TCP Data received {"connection_id":105942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5d6f68012d0ba3c00705ceb8001200771c..."} 
[2026-06-18 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5d6f68012d0ba3c00705ceb8001200771c..."} 
[2026-06-18 16:47:08] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5d6f68012d0ba3c00705ceb8001200771c..."} 
[2026-06-18 16:47:08] local.INFO: Packet analysis {"connection_id":105942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:47:08] local.INFO: Extracted packet for processing {"connection_id":105942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:47:08] local.INFO: GPS Element Parsed {"raw_longitude":755737536,"raw_latitude":117821112,"longitude_deg":75.5737536,"latitude_deg":11.7821112,"altitude":18,"angle":119,"satellites":28,"speed":10,"hex_longitude":"2d0ba3c0","hex_latitude":"0705ceb8","is_valid_coordinates":true} 
[2026-06-18 16:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135683584001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198386615025664,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":837599192109039616,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781780017000,"timestamp_ms":1781780017000,"timestamp_seconds":1781780017,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5d6f68"} 
[2026-06-18 16:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:47: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-06-18 16:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 16:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1900,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135683584001,"66":14396,"165":206,"94":10240,"24":10,"16":21198386615025664,"45":837599192109039616},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135683584001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:47:08] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:47:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198386615025664,"km_value":21198386615025.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":837599192109039616,"description":"Unknown IO ID 45"} 
[2026-06-18 16:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135683584001,"power":14396,"unknown_165":206,"unknown_94":10240,"ignition":10,"odometer":null,"unknown_45":837599192109039616}} 
[2026-06-18 16:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":105942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345059,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:47:08] local.INFO: GPS data processed {"connection_id":105942,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:47:08] local.INFO: Acknowledgment sent {"connection_id":105942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:47:18] local.INFO: TCP Data received {"connection_id":106129,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda727638012d7a304005e45b38000d00322c..."} 
[2026-06-18 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda727638012d7a304005e45b38000d00322c..."} 
[2026-06-18 16:47:18] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda727638012d7a304005e45b38000d00322c..."} 
[2026-06-18 16:47:18] local.INFO: Packet analysis {"connection_id":106129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:47:18] local.INFO: Extracted packet for processing {"connection_id":106129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:47:18] local.INFO: GPS Element Parsed {"raw_longitude":762982464,"raw_latitude":98851640,"longitude_deg":76.2982464,"latitude_deg":9.885164,"altitude":13,"angle":50,"satellites":44,"speed":9,"hex_longitude":"2d7a3040","hex_latitude":"05e45b38","is_valid_coordinates":true} 
[2026-06-18 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136036864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952100362354688,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804466928071116800,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781781395000,"timestamp_ms":1781781395000,"timestamp_seconds":1781781395,"priority":1,"record_length":96,"hex_timestamp":"0000019eda727638"} 
[2026-06-18 16:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:47:18] 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-06-18 16:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 16:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":106129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":106129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":106129,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136036864001,"66":13243,"157":206,"87":12288,"24":9,"16":93952100362354688,"45":8804466928071116800},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136036864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:47:18] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:47:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952100362354688,"km_value":93952100362354.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804466928071116800,"description":"Unknown IO ID 45"} 
[2026-06-18 16:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136036864001,"power":13243,"unknown_157":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8804466928071116800}} 
[2026-06-18 16:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":106129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345060,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:47:18] local.INFO: GPS data processed {"connection_id":106129,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:47:18] local.INFO: Acknowledgment sent {"connection_id":106129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:47:21] local.INFO: TCP Data received {"connection_id":107686,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda711a90012d1969c0071fec18003b011727..."} 
[2026-06-18 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda711a90012d1969c0071fec18003b011727..."} 
[2026-06-18 16:47:21] local.INFO: Processing buffer {"connection_id":107686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda711a90012d1969c0071fec18003b011727..."} 
[2026-06-18 16:47:21] local.INFO: Packet analysis {"connection_id":107686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:47:21] local.INFO: Extracted packet for processing {"connection_id":107686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:47: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-06-18 16:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136008960001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781781306000,"timestamp_ms":1781781306000,"timestamp_seconds":1781781306,"priority":1,"record_length":96,"hex_timestamp":"0000019eda711a90"} 
[2026-06-18 16:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:47:21] 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-06-18 16:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 16:47:21] 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-06-18 16:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107686,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136008960001,"66":12504,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136008960001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:47:21] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:47:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136008960001,"power":12504,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":107686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:47:21] local.INFO: GPS data processed {"connection_id":107686,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:47:21] local.INFO: Acknowledgment sent {"connection_id":107686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:47:40] local.INFO: TCP Data received {"connection_id":105942,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5dc170012d0ba9800705cb78001100781b..."} 
[2026-06-18 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5dc170012d0ba9800705cb78001100781b..."} 
[2026-06-18 16:47:40] local.INFO: Processing buffer {"connection_id":105942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5dc170012d0ba9800705cb78001100781b..."} 
[2026-06-18 16:47:40] local.INFO: Packet analysis {"connection_id":105942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:47:40] local.INFO: Extracted packet for processing {"connection_id":105942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":755739008,"raw_latitude":117820280,"longitude_deg":75.5739008,"latitude_deg":11.782028,"altitude":17,"angle":120,"satellites":27,"speed":0,"hex_longitude":"2d0ba980","hex_latitude":"0705cb78","is_valid_coordinates":true} 
[2026-06-18 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135684352001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":838725092015781888,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781780038000,"timestamp_ms":1781780038000,"timestamp_seconds":1781780038,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5dc170"} 
[2026-06-18 16:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 16:47:40] 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-06-18 16:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105942,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135684352001,"66":14428,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":838725092015781888},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135684352001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:47:40] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:47:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":838725092015781888,"description":"Unknown IO ID 45"} 
[2026-06-18 16:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135684352001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":838725092015781888}} 
[2026-06-18 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":105942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345062,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:47:40] local.INFO: GPS data processed {"connection_id":105942,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:47:40] local.INFO: Acknowledgment sent {"connection_id":105942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:47:44] local.INFO: TCP Data received {"connection_id":106716,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:47:44] local.INFO: Processing buffer {"connection_id":106716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:47:44] local.INFO: IMEI packet received {"connection_id":106716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":106716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:47:48] local.INFO: TCP Data received {"connection_id":107688,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:47:48] local.INFO: Processing buffer {"connection_id":107688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:47:48] local.INFO: IMEI packet received {"connection_id":107688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":107688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:47:50] local.INFO: TCP Data received {"connection_id":106716,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:47:50] local.INFO: Processing buffer {"connection_id":106716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:47:50] local.INFO: IMEI packet received {"connection_id":106716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":106716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:47:51] local.INFO: TCP Data received {"connection_id":106716,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda716c98012d1969c0071fec18003b011727..."} 
[2026-06-18 16:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda716c98012d1969c0071fec18003b011727..."} 
[2026-06-18 16:47:51] local.INFO: Processing buffer {"connection_id":106716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda716c98012d1969c0071fec18003b011727..."} 
[2026-06-18 16:47:51] local.INFO: Packet analysis {"connection_id":106716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:47:51] local.INFO: Extracted packet for processing {"connection_id":106716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781781327000,"timestamp_ms":1781781327000,"timestamp_seconds":1781781327,"priority":1,"record_length":96,"hex_timestamp":"0000019eda716c98"} 
[2026-06-18 16:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 16:47:51] 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-06-18 16:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136014336001,"66":11547,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:47:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136014336001,"power":11547,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":106716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:47:51] local.INFO: GPS data processed {"connection_id":106716,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:47:51] local.INFO: Acknowledgment sent {"connection_id":106716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:47:53] local.INFO: TCP Data received {"connection_id":107688,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107688,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:47:53] local.INFO: Processing buffer {"connection_id":107688,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:47:53] local.INFO: IMEI packet received {"connection_id":107688,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":107688,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:47:55] local.INFO: TCP Data received {"connection_id":107688,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda727a20012d7a310005e45bc0000c00432c..."} 
[2026-06-18 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda727a20012d7a310005e45bc0000c00432c..."} 
[2026-06-18 16:47:56] local.INFO: Processing buffer {"connection_id":107688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda727a20012d7a310005e45bc0000c00432c..."} 
[2026-06-18 16:47:56] local.INFO: Packet analysis {"connection_id":107688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:47:56] local.INFO: Extracted packet for processing {"connection_id":107688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:47:56] local.INFO: GPS Element Parsed {"raw_longitude":762982656,"raw_latitude":98851776,"longitude_deg":76.2982656,"latitude_deg":9.8851776,"altitude":12,"angle":67,"satellites":44,"speed":9,"hex_longitude":"2d7a3100","hex_latitude":"05e45bc0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136037120001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952113247256576,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804607665559517184,"note":"Value kept but may cause issues"} 
[2026-06-18 16:47: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-06-18 16:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781781396000,"timestamp_ms":1781781396000,"timestamp_seconds":1781781396,"priority":1,"record_length":96,"hex_timestamp":"0000019eda727a20"} 
[2026-06-18 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-06-18 16: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-06-18 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 16:47: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-06-18 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-06-18 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-06-18 16:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107688,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:47: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-06-18 16:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136037120001,"66":13243,"157":206,"87":12288,"24":9,"16":93952113247256576,"45":8804607665559517184},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136037120001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:47:56] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:47:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952113247256576,"km_value":93952113247256.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804607665559517184,"description":"Unknown IO ID 45"} 
[2026-06-18 16:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136037120001,"power":13243,"unknown_157":206,"unknown_87":12288,"ignition":9,"odometer":null,"unknown_45":8804607665559517184}} 
[2026-06-18 16:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":107688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345064,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:47:56] local.INFO: GPS data processed {"connection_id":107688,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:47:56] local.INFO: Acknowledgment sent {"connection_id":107688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:47:57] local.INFO: TCP Data received {"connection_id":106130,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:57] local.INFO: Processing buffer {"connection_id":106130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:47:57] local.INFO: IMEI packet received {"connection_id":106130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":106130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:48:01] local.INFO: TCP Data received {"connection_id":106130,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106130,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:48:01] local.INFO: Processing buffer {"connection_id":106130,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:48:01] local.INFO: IMEI packet received {"connection_id":106130,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":106130,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:48:02] local.INFO: TCP Data received {"connection_id":106130,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5e1378012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5e1378012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:48:02] local.INFO: Processing buffer {"connection_id":106130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5e1378012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:48:02] local.INFO: Packet analysis {"connection_id":106130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:48:02] local.INFO: Extracted packet for processing {"connection_id":106130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:48:02] local.INFO: GPS Element Parsed {"raw_longitude":755739008,"raw_latitude":117820280,"longitude_deg":75.5739008,"latitude_deg":11.782028,"altitude":17,"angle":120,"satellites":30,"speed":0,"hex_longitude":"2d0ba980","hex_latitude":"0705cb78","is_valid_coordinates":true} 
[2026-06-18 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135689728001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840343573131655168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781780059000,"timestamp_ms":1781780059000,"timestamp_seconds":1781780059,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5e1378"} 
[2026-06-18 16:48:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:48: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-06-18 16:48:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 16:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:48:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:48:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135689728001,"66":14407,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840343573131655168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135689728001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:48:02] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:48:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840343573131655168,"description":"Unknown IO ID 45"} 
[2026-06-18 16:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135689728001,"power":14407,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840343573131655168}} 
[2026-06-18 16:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":106130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345065,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:48:02] local.INFO: GPS data processed {"connection_id":106130,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:48:02] local.INFO: Acknowledgment sent {"connection_id":106130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:48:26] local.INFO: TCP Data received {"connection_id":106716,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda71bea0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda71bea0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:48:26] local.INFO: Processing buffer {"connection_id":106716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda71bea0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:48:26] local.INFO: Packet analysis {"connection_id":106716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:48:26] local.INFO: Extracted packet for processing {"connection_id":106716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:48:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136019712001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781781348000,"timestamp_ms":1781781348000,"timestamp_seconds":1781781348,"priority":1,"record_length":96,"hex_timestamp":"0000019eda71bea0"} 
[2026-06-18 16:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:48: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-06-18 16: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 16:48:26] 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-06-18 16: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-06-18 16:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136019712001,"66":12504,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136019712001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:48:26] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136019712001,"power":12504,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":106716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:48:26] local.INFO: GPS data processed {"connection_id":106716,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:48:26] local.INFO: Acknowledgment sent {"connection_id":106716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:48:28] local.INFO: TCP Data received {"connection_id":105944,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:48:28] local.INFO: Processing buffer {"connection_id":105944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:48:28] local.INFO: IMEI packet received {"connection_id":105944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":105944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:48:33] local.INFO: TCP Data received {"connection_id":106130,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5e6580012d0ba9800705cb78001100781f..."} 
[2026-06-18 16:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5e6580012d0ba9800705cb78001100781f..."} 
[2026-06-18 16:48:33] local.INFO: Processing buffer {"connection_id":106130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5e6580012d0ba9800705cb78001100781f..."} 
[2026-06-18 16:48:33] local.INFO: Packet analysis {"connection_id":106130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:48:33] local.INFO: Extracted packet for processing {"connection_id":106130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":755739008,"raw_latitude":117820280,"longitude_deg":75.5739008,"latitude_deg":11.782028,"altitude":17,"angle":120,"satellites":31,"speed":0,"hex_longitude":"2d0ba980","hex_latitude":"0705cb78","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:48:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135695104001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840343573131655168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:48:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781780080000,"timestamp_ms":1781780080000,"timestamp_seconds":1781780080,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5e6580"} 
[2026-06-18 16:48:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:48:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 16:48:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:48:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:48:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:48:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:48:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:48:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106130,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:48:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:48:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:48:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:48:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135695104001,"66":14428,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840343573131655168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:48:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:48:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:48:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135695104001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:48:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:48:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:48:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:48:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840343573131655168,"description":"Unknown IO ID 45"} 
[2026-06-18 16:48:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135695104001,"power":14428,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840343573131655168}} 
[2026-06-18 16:48:34] local.INFO: DEBUG: GPS processor result {"connection_id":106130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345067,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:48:34] local.INFO: GPS data processed {"connection_id":106130,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:48:34] local.INFO: Acknowledgment sent {"connection_id":106130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:48:35] local.INFO: TCP Data received {"connection_id":105944,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105944,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:48:35] local.INFO: Processing buffer {"connection_id":105944,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:48:35] local.INFO: IMEI packet received {"connection_id":105944,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":105944,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:48:35] local.INFO: TCP Data received {"connection_id":105944,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda72c840012d7a34c005e45da8000d004d2a..."} 
[2026-06-18 16:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda72c840012d7a34c005e45da8000d004d2a..."} 
[2026-06-18 16:48:36] local.INFO: Processing buffer {"connection_id":105944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda72c840012d7a34c005e45da8000d004d2a..."} 
[2026-06-18 16:48:36] local.INFO: Packet analysis {"connection_id":105944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:48:36] local.INFO: Extracted packet for processing {"connection_id":105944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:48:36] local.INFO: GPS Element Parsed {"raw_longitude":762983616,"raw_latitude":98852264,"longitude_deg":76.2983616,"latitude_deg":9.8852264,"altitude":13,"angle":77,"satellites":42,"speed":0,"hex_longitude":"2d7a34c0","hex_latitude":"05e45da8","is_valid_coordinates":true} 
[2026-06-18 16:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136037376001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8804818771792084992,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781781416000,"timestamp_ms":1781781416000,"timestamp_seconds":1781781416,"priority":1,"record_length":96,"hex_timestamp":"0000019eda72c840"} 
[2026-06-18 16:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 16:48:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:48:36] 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-06-18 16:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136037376001,"66":13222,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8804818771792084992},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136037376001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:48:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:48:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8804818771792084992,"description":"Unknown IO ID 45"} 
[2026-06-18 16:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136037376001,"power":13222,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8804818771792084992}} 
[2026-06-18 16:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":105944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345068,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:48:36] local.INFO: GPS data processed {"connection_id":105944,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:48:36] local.INFO: Acknowledgment sent {"connection_id":105944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:48:49] local.INFO: TCP Data received {"connection_id":106717,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:48:49] local.INFO: Processing buffer {"connection_id":106717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:48:49] local.INFO: IMEI packet received {"connection_id":106717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":106717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:48:54] local.INFO: TCP Data received {"connection_id":106717,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:48:54] local.INFO: Processing buffer {"connection_id":106717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:48:54] local.INFO: IMEI packet received {"connection_id":106717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":106717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:48:57] local.INFO: TCP Data received {"connection_id":106717,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7210a8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7210a8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:48:57] local.INFO: Processing buffer {"connection_id":106717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7210a8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:48:57] local.INFO: Packet analysis {"connection_id":106717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:48:57] local.INFO: Extracted packet for processing {"connection_id":106717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:48:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136025088001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781781369000,"timestamp_ms":1781781369000,"timestamp_seconds":1781781369,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7210a8"} 
[2026-06-18 16:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:48: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-06-18 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 16:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136025088001,"66":12461,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136025088001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:48:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:48:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136025088001,"power":12461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":106717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:48:57] local.INFO: GPS data processed {"connection_id":106717,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:48:57] local.INFO: Acknowledgment sent {"connection_id":106717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:48:59] local.INFO: TCP Data received {"connection_id":106717,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7262b0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7262b0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:48:59] local.INFO: Processing buffer {"connection_id":106717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7262b0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:48:59] local.INFO: Packet analysis {"connection_id":106717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:48:59] local.INFO: Extracted packet for processing {"connection_id":106717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136030464001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781781390000,"timestamp_ms":1781781390000,"timestamp_seconds":1781781390,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7262b0"} 
[2026-06-18 16:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:48:59] 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-06-18 16: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-06-18 16:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136030464001,"66":12461,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136030464001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:48:59] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136030464001,"power":12461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":106717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:48:59] local.INFO: GPS data processed {"connection_id":106717,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:48:59] local.INFO: Acknowledgment sent {"connection_id":106717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:49:07] local.INFO: TCP Data received {"connection_id":105944,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda731a48012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda731a48012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:49:07] local.INFO: Processing buffer {"connection_id":105944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda731a48012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:49:07] local.INFO: Packet analysis {"connection_id":105944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:49:07] local.INFO: Extracted packet for processing {"connection_id":105944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":762983616,"raw_latitude":98852264,"longitude_deg":76.2983616,"latitude_deg":9.8852264,"altitude":13,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a34c0","hex_latitude":"05e45da8","is_valid_coordinates":true} 
[2026-06-18 16:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136042496001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49: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-06-18 16:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781781437000,"timestamp_ms":1781781437000,"timestamp_seconds":1781781437,"priority":1,"record_length":96,"hex_timestamp":"0000019eda731a48"} 
[2026-06-18 16:49:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:49:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 16:49:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:49:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:49:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105944,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:49:07] 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-06-18 16:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136042496001,"66":13189,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136042496001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:49:07] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:49:07] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136042496001,"power":13189,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":105944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345071,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:49:07] local.INFO: GPS data processed {"connection_id":105944,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:49:07] local.INFO: Acknowledgment sent {"connection_id":105944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:49:30] local.INFO: TCP Data received {"connection_id":105945,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:49:30] local.INFO: Processing buffer {"connection_id":105945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:49:30] local.INFO: IMEI packet received {"connection_id":105945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:49:30] local.INFO: IMEI acknowledgment sent {"connection_id":105945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:49:34] local.INFO: TCP Data received {"connection_id":105945,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6fc2d0012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6fc2d0012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:49:34] local.INFO: Processing buffer {"connection_id":105945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6fc2d0012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:49:34] local.INFO: Packet analysis {"connection_id":105945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6f"} 
[2026-06-18 16:49:34] local.INFO: Extracted packet for processing {"connection_id":105945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6f"} 
[2026-06-18 16:49:34] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":44,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135914752001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781781218000,"timestamp_ms":1781781218000,"timestamp_seconds":1781781218,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6fc2d0"} 
[2026-06-18 16:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 16:49: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-06-18 16: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-06-18 16:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135914752001,"66":26006,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135914752001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:49:34] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135914752001,"power":26006,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":105945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:49:34] local.INFO: GPS data processed {"connection_id":105945,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:49:34] local.INFO: Acknowledgment sent {"connection_id":105945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:49:34] local.INFO: TCP Data received {"connection_id":106718,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:49:34] local.INFO: Processing buffer {"connection_id":106718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:49:34] local.INFO: IMEI packet received {"connection_id":106718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":106718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:49:38] local.INFO: TCP Data received {"connection_id":106718,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106718,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:49:38] local.INFO: Processing buffer {"connection_id":106718,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:49:38] local.INFO: IMEI packet received {"connection_id":106718,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":106718,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:49:39] local.INFO: TCP Data received {"connection_id":106718,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:49:39] local.INFO: Processing buffer {"connection_id":106718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:49:39] local.INFO: Packet analysis {"connection_id":106718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:49:39] local.INFO: Extracted packet for processing {"connection_id":106718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":762983616,"raw_latitude":98852264,"longitude_deg":76.2983616,"latitude_deg":9.8852264,"altitude":13,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a34c0","hex_latitude":"05e45da8","is_valid_coordinates":true} 
[2026-06-18 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136047872001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781781447000,"timestamp_ms":1781781447000,"timestamp_seconds":1781781447,"priority":1,"record_length":96,"hex_timestamp":"0000019eda734158"} 
[2026-06-18 16:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 16:49:39] 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-06-18 16:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:49:39] 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-06-18 16:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136047872001,"66":12982,"145":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-06-18 16:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136047872001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:49:39] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-18 16:49:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136047872001,"power":12982,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":106718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345073,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:49:39] local.INFO: GPS data processed {"connection_id":106718,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:49:39] local.INFO: Acknowledgment sent {"connection_id":106718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:49:45] local.INFO: TCP Data received {"connection_id":106720,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:49:45] local.INFO: Processing buffer {"connection_id":106720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:49:45] local.INFO: IMEI packet received {"connection_id":106720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":106720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:49:50] local.INFO: TCP Data received {"connection_id":106720,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:49:50] local.INFO: Processing buffer {"connection_id":106720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:49:50] local.INFO: IMEI packet received {"connection_id":106720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":106720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:49:52] local.INFO: TCP Data received {"connection_id":106720,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda72b4b8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda72b4b8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:49:52] local.INFO: Processing buffer {"connection_id":106720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda72b4b8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:49:52] local.INFO: Packet analysis {"connection_id":106720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:49:52] local.INFO: Extracted packet for processing {"connection_id":106720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda72"} 
[2026-06-18 16:49:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136035840001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781781411000,"timestamp_ms":1781781411000,"timestamp_seconds":1781781411,"priority":1,"record_length":96,"hex_timestamp":"0000019eda72b4b8"} 
[2026-06-18 16:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:49:52] 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-06-18 16:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:49:52] 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-06-18 16:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136035840001,"66":12254,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136035840001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:49:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:49:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136035840001,"power":12254,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":106720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:49:52] local.INFO: GPS data processed {"connection_id":106720,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:49:52] local.INFO: Acknowledgment sent {"connection_id":106720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:49:58] local.INFO: TCP Data received {"connection_id":106720,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7306c0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7306c0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:49:58] local.INFO: Processing buffer {"connection_id":106720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7306c0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:49:58] local.INFO: Packet analysis {"connection_id":106720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:49:58] local.INFO: Extracted packet for processing {"connection_id":106720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136041216001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781781432000,"timestamp_ms":1781781432000,"timestamp_seconds":1781781432,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7306c0"} 
[2026-06-18 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-06-18 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-18 16:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136041216001,"66":12504,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136041216001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:49:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136041216001,"power":12504,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":106720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:49:58] local.INFO: GPS data processed {"connection_id":106720,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:49:58] local.INFO: Acknowledgment sent {"connection_id":106720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:50:01] local.INFO: TCP Data received {"connection_id":106131,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106131,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:50:01] local.INFO: Processing buffer {"connection_id":106131,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:50:01] local.INFO: IMEI packet received {"connection_id":106131,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":106131,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:50:06] local.INFO: TCP Data received {"connection_id":105945,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:50:06] local.INFO: Processing buffer {"connection_id":105945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:50:06] local.INFO: Packet analysis {"connection_id":105945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:50:06] local.INFO: Extracted packet for processing {"connection_id":105945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135991808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781781519000,"timestamp_ms":1781781519000,"timestamp_seconds":1781781519,"priority":1,"record_length":96,"hex_timestamp":"0000019eda745a98"} 
[2026-06-18 16:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 16:50:06] 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-06-18 16: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-06-18 16:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135991808001,"66":25908,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135991808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:50:06] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:50:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135991808001,"power":25908,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":105945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:50:06] local.INFO: GPS data processed {"connection_id":105945,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:50:06] local.INFO: Acknowledgment sent {"connection_id":105945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:50:07] local.INFO: TCP Data received {"connection_id":106131,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106131,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:50:07] local.INFO: Processing buffer {"connection_id":106131,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:50:07] local.INFO: IMEI packet received {"connection_id":106131,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":106131,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:50:07] local.INFO: TCP Data received {"connection_id":106131,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5eb788012d0ba9800705cb780011007820..."} 
[2026-06-18 16:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5eb788012d0ba9800705cb780011007820..."} 
[2026-06-18 16:50:07] local.INFO: Processing buffer {"connection_id":106131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5eb788012d0ba9800705cb780011007820..."} 
[2026-06-18 16:50:07] local.INFO: Packet analysis {"connection_id":106131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:50:07] local.INFO: Extracted packet for processing {"connection_id":106131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5e"} 
[2026-06-18 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":755739008,"raw_latitude":117820280,"longitude_deg":75.5739008,"latitude_deg":11.782028,"altitude":17,"angle":120,"satellites":32,"speed":0,"hex_longitude":"2d0ba980","hex_latitude":"0705cb78","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:50:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135700480001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840343573131655168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:50:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781780101000,"timestamp_ms":1781780101000,"timestamp_seconds":1781780101,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5eb788"} 
[2026-06-18 16:50:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:50:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:50:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 16:50:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:50:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:50:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:50:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:50:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:50:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:50:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:50:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:50:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:50:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135700480001,"66":14439,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840343573131655168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:50:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:50:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:50:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135700480001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:50:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:50:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:50:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:50:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":840343573131655168,"description":"Unknown IO ID 45"} 
[2026-06-18 16:50:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135700480001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840343573131655168}} 
[2026-06-18 16:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":106131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345077,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:50:08] local.INFO: GPS data processed {"connection_id":106131,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:50:08] local.INFO: Acknowledgment sent {"connection_id":106131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:50:10] local.INFO: TCP Data received {"connection_id":106718,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:50:10] local.INFO: Processing buffer {"connection_id":106718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:50:10] local.INFO: Packet analysis {"connection_id":106718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:50:10] local.INFO: Extracted packet for processing {"connection_id":106718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":762983616,"raw_latitude":98852264,"longitude_deg":76.2983616,"latitude_deg":9.8852264,"altitude":13,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a34c0","hex_latitude":"05e45da8","is_valid_coordinates":true} 
[2026-06-18 16:50:10] 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-06-18 16:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781781447000,"timestamp_ms":1781781447000,"timestamp_seconds":1781781447,"priority":1,"record_length":96,"hex_timestamp":"0000019eda734158"} 
[2026-06-18 16:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:50:10] 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-06-18 16:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106718,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:50:10] 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-06-18 16:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":12982,"145":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-06-18 16:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:50:10] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-18 16:50:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":12982,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":106718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345078,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:50:10] local.INFO: GPS data processed {"connection_id":106718,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:50:10] local.INFO: Acknowledgment sent {"connection_id":106718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:50:25] local.INFO: TCP Data received {"connection_id":105946,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:50:25] local.INFO: Processing buffer {"connection_id":105946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:50:25] local.INFO: IMEI packet received {"connection_id":105946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":105946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:50:29] local.INFO: TCP Data received {"connection_id":105946,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:50:29] local.INFO: Processing buffer {"connection_id":105946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:50:29] local.INFO: IMEI packet received {"connection_id":105946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":105946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:50:30] local.INFO: TCP Data received {"connection_id":106720,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7358c8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7358c8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:50:30] local.INFO: Processing buffer {"connection_id":106720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7358c8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:50:30] local.INFO: Packet analysis {"connection_id":106720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:50:30] local.INFO: Extracted packet for processing {"connection_id":106720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136046592001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781781453000,"timestamp_ms":1781781453000,"timestamp_seconds":1781781453,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7358c8"} 
[2026-06-18 16:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 16:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136046592001,"66":12504,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136046592001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:50:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136046592001,"power":12504,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:50:31] local.INFO: TCP Data received {"connection_id":105946,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:50:31] local.INFO: Processing buffer {"connection_id":105946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:50:31] local.INFO: Packet analysis {"connection_id":105946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:50:31] local.INFO: Extracted packet for processing {"connection_id":105946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135991808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781781519000,"timestamp_ms":1781781519000,"timestamp_seconds":1781781519,"priority":1,"record_length":96,"hex_timestamp":"0000019eda745a98"} 
[2026-06-18 16:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 16:50: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-06-18 16:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135991808001,"66":25908,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135991808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:50:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:50:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135991808001,"power":25908,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":105946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:50:31] local.INFO: GPS data processed {"connection_id":105946,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:50:31] local.INFO: Acknowledgment sent {"connection_id":105946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":106720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:50:31] local.INFO: GPS data processed {"connection_id":106720,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:50:31] local.INFO: Acknowledgment sent {"connection_id":106720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:50:38] local.INFO: TCP Data received {"connection_id":107689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:50:38] local.INFO: Processing buffer {"connection_id":107689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:50:38] local.INFO: IMEI packet received {"connection_id":107689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":107689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:50:39] local.INFO: TCP Data received {"connection_id":106131,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5f0990012d0ba9800705cb780011007820..."} 
[2026-06-18 16:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5f0990012d0ba9800705cb780011007820..."} 
[2026-06-18 16:50:39] local.INFO: Processing buffer {"connection_id":106131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5f0990012d0ba9800705cb780011007820..."} 
[2026-06-18 16:50:39] local.INFO: Packet analysis {"connection_id":106131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:50:39] local.INFO: Extracted packet for processing {"connection_id":106131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:50:39] local.INFO: GPS Element Parsed {"raw_longitude":755739008,"raw_latitude":117820280,"longitude_deg":75.5739008,"latitude_deg":11.782028,"altitude":17,"angle":120,"satellites":32,"speed":0,"hex_longitude":"2d0ba980","hex_latitude":"0705cb78","is_valid_coordinates":true} 
[2026-06-18 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135705856001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840343573131655168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781780122000,"timestamp_ms":1781780122000,"timestamp_seconds":1781780122,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5f0990"} 
[2026-06-18 16:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:50:39] 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-06-18 16:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 16:50:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106131,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135705856001,"66":14374,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840343573131655168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135705856001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:50:39] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:50:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":840343573131655168,"description":"Unknown IO ID 45"} 
[2026-06-18 16:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135705856001,"power":14374,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840343573131655168}} 
[2026-06-18 16:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":106131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345081,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:50:39] local.INFO: GPS data processed {"connection_id":106131,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:50:39] local.INFO: Acknowledgment sent {"connection_id":106131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:50:43] local.INFO: TCP Data received {"connection_id":107689,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107689,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:50:43] local.INFO: Processing buffer {"connection_id":107689,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:50:43] local.INFO: IMEI packet received {"connection_id":107689,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":107689,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:50:44] local.INFO: TCP Data received {"connection_id":106721,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:50:44] local.INFO: Processing buffer {"connection_id":106721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:50:44] local.INFO: IMEI packet received {"connection_id":106721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":106721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:50:45] local.INFO: TCP Data received {"connection_id":107689,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:50:45] local.INFO: Processing buffer {"connection_id":107689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:50:45] local.INFO: Packet analysis {"connection_id":107689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:50:45] local.INFO: Extracted packet for processing {"connection_id":107689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:50:45] local.INFO: GPS Element Parsed {"raw_longitude":762983616,"raw_latitude":98852264,"longitude_deg":76.2983616,"latitude_deg":9.8852264,"altitude":13,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a34c0","hex_latitude":"05e45da8","is_valid_coordinates":true} 
[2026-06-18 16:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781781447000,"timestamp_ms":1781781447000,"timestamp_seconds":1781781447,"priority":1,"record_length":96,"hex_timestamp":"0000019eda734158"} 
[2026-06-18 16:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:50:45] 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-06-18 16:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107689,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:50:45] 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-06-18 16:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":12982,"145":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-06-18 16:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:50:45] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-18 16:50:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":12982,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":107689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345082,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:50:45] local.INFO: GPS data processed {"connection_id":107689,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:50:45] local.INFO: Acknowledgment sent {"connection_id":107689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:50:49] local.INFO: TCP Data received {"connection_id":106721,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106721,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:50:49] local.INFO: Processing buffer {"connection_id":106721,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:50:49] local.INFO: IMEI packet received {"connection_id":106721,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":106721,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:50:50] local.INFO: TCP Data received {"connection_id":106721,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda73aad0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda73aad0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:50:50] local.INFO: Processing buffer {"connection_id":106721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda73aad0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:50:50] local.INFO: Packet analysis {"connection_id":106721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:50:50] local.INFO: Extracted packet for processing {"connection_id":106721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136051968001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781781474000,"timestamp_ms":1781781474000,"timestamp_seconds":1781781474,"priority":1,"record_length":96,"hex_timestamp":"0000019eda73aad0"} 
[2026-06-18 16:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 16:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136051968001,"66":11678,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136051968001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:50:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:50:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136051968001,"power":11678,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":106721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:50:50] local.INFO: GPS data processed {"connection_id":106721,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:50:50] local.INFO: Acknowledgment sent {"connection_id":106721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:02] local.INFO: TCP Data received {"connection_id":105947,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:02] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:02] local.INFO: IMEI packet received {"connection_id":105947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":105947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:51:02] local.INFO: TCP Data received {"connection_id":105946,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:51:02] local.INFO: Processing buffer {"connection_id":105946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:51:02] local.INFO: Packet analysis {"connection_id":105946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:51:02] local.INFO: Extracted packet for processing {"connection_id":105946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135991808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781519000,"timestamp_ms":1781781519000,"timestamp_seconds":1781781519,"priority":1,"record_length":96,"hex_timestamp":"0000019eda745a98"} 
[2026-06-18 16:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 16:51: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-06-18 16:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135991808001,"66":25908,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135991808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:02] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135991808001,"power":25908,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":105946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:02] local.INFO: GPS data processed {"connection_id":105946,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:02] local.INFO: Acknowledgment sent {"connection_id":105946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:07] local.INFO: TCP Data received {"connection_id":105947,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:07] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:07] local.INFO: IMEI packet received {"connection_id":105947,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":105947,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:51:07] local.INFO: TCP Data received {"connection_id":105947,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5f1930012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5f1930012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:51:07] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5f1930012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:51:07] local.INFO: Packet analysis {"connection_id":105947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:51:07] local.INFO: Extracted packet for processing {"connection_id":105947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:51:07] local.INFO: GPS Element Parsed {"raw_longitude":755739008,"raw_latitude":117820280,"longitude_deg":75.5739008,"latitude_deg":11.782028,"altitude":17,"angle":120,"satellites":30,"speed":0,"hex_longitude":"2d0ba980","hex_latitude":"0705cb78","is_valid_coordinates":true} 
[2026-06-18 16:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135711232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840343573131655168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781780126000,"timestamp_ms":1781780126000,"timestamp_seconds":1781780126,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5f1930"} 
[2026-06-18 16:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 16:51:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135711232001,"66":14439,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840343573131655168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135711232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:07] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:51:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":840343573131655168,"description":"Unknown IO ID 45"} 
[2026-06-18 16:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135711232001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840343573131655168}} 
[2026-06-18 16:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":105947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345085,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:07] local.INFO: GPS data processed {"connection_id":105947,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:07] local.INFO: Acknowledgment sent {"connection_id":105947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:12] local.INFO: TCP Data received {"connection_id":105947,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5f1930012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5f1930012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:51:12] local.INFO: Processing buffer {"connection_id":105947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5f1930012d0ba9800705cb78001100781e..."} 
[2026-06-18 16:51:12] local.INFO: Packet analysis {"connection_id":105947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:51:12] local.INFO: Extracted packet for processing {"connection_id":105947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5f"} 
[2026-06-18 16:51:12] local.INFO: GPS Element Parsed {"raw_longitude":755739008,"raw_latitude":117820280,"longitude_deg":75.5739008,"latitude_deg":11.782028,"altitude":17,"angle":120,"satellites":30,"speed":0,"hex_longitude":"2d0ba980","hex_latitude":"0705cb78","is_valid_coordinates":true} 
[2026-06-18 16:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135712256001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840343573131655168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781780126000,"timestamp_ms":1781780126000,"timestamp_seconds":1781780126,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5f1930"} 
[2026-06-18 16:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 16:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105947,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135712256001,"66":14439,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840343573131655168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135712256001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:12] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:51:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":840343573131655168,"description":"Unknown IO ID 45"} 
[2026-06-18 16:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135712256001,"power":14439,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840343573131655168}} 
[2026-06-18 16:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":105947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345086,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:12] local.INFO: GPS data processed {"connection_id":105947,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:12] local.INFO: Acknowledgment sent {"connection_id":105947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:24] local.INFO: TCP Data received {"connection_id":105948,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:51:24] local.INFO: Processing buffer {"connection_id":105948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:51:24] local.INFO: IMEI packet received {"connection_id":105948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":105948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:51:25] local.INFO: TCP Data received {"connection_id":106721,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda73fcd8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda73fcd8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:51:25] local.INFO: Processing buffer {"connection_id":106721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda73fcd8012d1969c0071fec18003b011726..."} 
[2026-06-18 16:51:25] local.INFO: Packet analysis {"connection_id":106721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:51:25] local.INFO: Extracted packet for processing {"connection_id":106721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:51:25] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136057344001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781781495000,"timestamp_ms":1781781495000,"timestamp_seconds":1781781495,"priority":1,"record_length":96,"hex_timestamp":"0000019eda73fcd8"} 
[2026-06-18 16:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:25] 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-06-18 16: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 16:51: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-06-18 16: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-06-18 16:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106721,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136057344001,"66":12461,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136057344001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:25] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:51:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136057344001,"power":12461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":106721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:25] local.INFO: GPS data processed {"connection_id":106721,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:25] local.INFO: Acknowledgment sent {"connection_id":106721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:28] local.INFO: TCP Data received {"connection_id":106132,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:51:28] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:51:28] local.INFO: IMEI packet received {"connection_id":106132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":106132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:51:30] local.INFO: TCP Data received {"connection_id":105948,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:51:30] local.INFO: Processing buffer {"connection_id":105948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:51:30] local.INFO: IMEI packet received {"connection_id":105948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":105948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:51:31] local.INFO: TCP Data received {"connection_id":105948,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:51:31] local.INFO: Processing buffer {"connection_id":105948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:51:31] local.INFO: Packet analysis {"connection_id":105948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:51:31] local.INFO: Extracted packet for processing {"connection_id":105948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135991808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781781519000,"timestamp_ms":1781781519000,"timestamp_seconds":1781781519,"priority":1,"record_length":96,"hex_timestamp":"0000019eda745a98"} 
[2026-06-18 16:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 16:51: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-06-18 16:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135991808001,"66":25908,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135991808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135991808001,"power":25908,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":105948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:31] local.INFO: GPS data processed {"connection_id":105948,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:31] local.INFO: Acknowledgment sent {"connection_id":105948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:33] local.INFO: TCP Data received {"connection_id":106132,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:51:33] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:51:33] local.INFO: IMEI packet received {"connection_id":106132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":106132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:51:38] local.INFO: TCP Data received {"connection_id":106133,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:51:38] local.INFO: Processing buffer {"connection_id":106133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:51:38] local.INFO: IMEI packet received {"connection_id":106133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":106133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:51:43] local.INFO: TCP Data received {"connection_id":106133,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:51:43] local.INFO: Processing buffer {"connection_id":106133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:51:43] local.INFO: IMEI packet received {"connection_id":106133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":106133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:51:44] local.INFO: TCP Data received {"connection_id":107690,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:51:44] local.INFO: Processing buffer {"connection_id":107690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:51:44] local.INFO: IMEI packet received {"connection_id":107690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":107690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:51:45] local.INFO: TCP Data received {"connection_id":106133,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda4f4668012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda4f4668012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:51:45] local.INFO: Processing buffer {"connection_id":106133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda4f4668012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:51:45] local.INFO: Packet analysis {"connection_id":106133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda4f"} 
[2026-06-18 16:51:45] local.INFO: Extracted packet for processing {"connection_id":106133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda4f"} 
[2026-06-18 16:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135369728001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781779089000,"timestamp_ms":1781779089000,"timestamp_seconds":1781779089,"priority":1,"record_length":96,"hex_timestamp":"0000019eda4f4668"} 
[2026-06-18 16:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 16:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135369728001,"66":25625,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135369728001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135369728001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":106133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:45] local.INFO: GPS data processed {"connection_id":106133,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:45] local.INFO: Acknowledgment sent {"connection_id":106133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:49] local.INFO: TCP Data received {"connection_id":107690,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:51:49] local.INFO: Processing buffer {"connection_id":107690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:51:49] local.INFO: IMEI packet received {"connection_id":107690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":107690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:51:49] local.INFO: TCP Data received {"connection_id":106133,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda53de30012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda53de30012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:51:49] local.INFO: Processing buffer {"connection_id":106133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda53de30012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:51:49] local.INFO: Packet analysis {"connection_id":106133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:51:49] local.INFO: Extracted packet for processing {"connection_id":106133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda53"} 
[2026-06-18 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135446784001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781779390000,"timestamp_ms":1781779390000,"timestamp_seconds":1781779390,"priority":1,"record_length":96,"hex_timestamp":"0000019eda53de30"} 
[2026-06-18 16:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 16:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135446784001,"66":25615,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135446784001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:51:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135446784001,"power":25615,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":106133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:49] local.INFO: GPS data processed {"connection_id":106133,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:49] local.INFO: Acknowledgment sent {"connection_id":106133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:51] local.INFO: TCP Data received {"connection_id":107690,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda744ee0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda744ee0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:51:51] local.INFO: Processing buffer {"connection_id":107690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda744ee0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:51:51] local.INFO: Packet analysis {"connection_id":107690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:51:51] local.INFO: Extracted packet for processing {"connection_id":107690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136062720001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781781516000,"timestamp_ms":1781781516000,"timestamp_seconds":1781781516,"priority":1,"record_length":96,"hex_timestamp":"0000019eda744ee0"} 
[2026-06-18 16:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:51] 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-06-18 16:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:51:51] 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-06-18 16:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136062720001,"66":12461,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136062720001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:51:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136062720001,"power":12461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":107690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:51] local.INFO: GPS data processed {"connection_id":107690,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:51] local.INFO: Acknowledgment sent {"connection_id":107690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:56] local.INFO: TCP Data received {"connection_id":106132,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:51:56] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda734158012d7a34c005e45da8000d004d2f..."} 
[2026-06-18 16:51:56] local.INFO: Packet analysis {"connection_id":106132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:51:56] local.INFO: Extracted packet for processing {"connection_id":106132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda73"} 
[2026-06-18 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":762983616,"raw_latitude":98852264,"longitude_deg":76.2983616,"latitude_deg":9.8852264,"altitude":13,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a34c0","hex_latitude":"05e45da8","is_valid_coordinates":true} 
[2026-06-18 16:51: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-06-18 16:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781781447000,"timestamp_ms":1781781447000,"timestamp_seconds":1781781447,"priority":1,"record_length":96,"hex_timestamp":"0000019eda734158"} 
[2026-06-18 16:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:51: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-06-18 16:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:51:56] 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-06-18 16:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":12982,"145":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-06-18 16:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:51:56] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-18 16:51:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":12982,"unknown_145":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":106132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345092,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:51:56] local.INFO: GPS data processed {"connection_id":106132,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:51:56] local.INFO: Acknowledgment sent {"connection_id":106132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:51:57] local.INFO: TCP Data received {"connection_id":107691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:57] local.INFO: Processing buffer {"connection_id":107691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:51:57] local.INFO: IMEI packet received {"connection_id":107691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":107691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:52:02] local.INFO: TCP Data received {"connection_id":107691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107691,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:52:02] local.INFO: Processing buffer {"connection_id":107691,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:52:02] local.INFO: IMEI packet received {"connection_id":107691,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":107691,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:52:02] local.INFO: TCP Data received {"connection_id":107691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda63bcb0012d0ba9c00705cbd80011007824..."} 
[2026-06-18 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda63bcb0012d0ba9c00705cbd80011007824..."} 
[2026-06-18 16:52:02] local.INFO: Processing buffer {"connection_id":107691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda63bcb0012d0ba9c00705cbd80011007824..."} 
[2026-06-18 16:52:02] local.INFO: Packet analysis {"connection_id":107691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:52:02] local.INFO: Extracted packet for processing {"connection_id":107691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda63"} 
[2026-06-18 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":36,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135712256001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840343573131655168,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781780430000,"timestamp_ms":1781780430000,"timestamp_seconds":1781780430,"priority":1,"record_length":96,"hex_timestamp":"0000019eda63bcb0"} 
[2026-06-18 16:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 16:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1405,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135712256001,"66":12819,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840343573131655168},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135712256001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:52:02] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:52:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840343573131655168,"description":"Unknown IO ID 45"} 
[2026-06-18 16:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135712256001,"power":12819,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840343573131655168}} 
[2026-06-18 16:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":107691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345093,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:52:02] local.INFO: GPS data processed {"connection_id":107691,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:52:02] local.INFO: Acknowledgment sent {"connection_id":107691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:52:03] local.INFO: TCP Data received {"connection_id":105948,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:52:03] local.INFO: Processing buffer {"connection_id":105948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:52:03] local.INFO: Packet analysis {"connection_id":105948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:52:03] local.INFO: Extracted packet for processing {"connection_id":105948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135991808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781781519000,"timestamp_ms":1781781519000,"timestamp_seconds":1781781519,"priority":1,"record_length":96,"hex_timestamp":"0000019eda745a98"} 
[2026-06-18 16:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 16:52:03] 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-06-18 16:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135991808001,"66":25908,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135991808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:52:03] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:52:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135991808001,"power":25908,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":105948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:52:03] local.INFO: GPS data processed {"connection_id":105948,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:52:03] local.INFO: Acknowledgment sent {"connection_id":105948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:52:23] local.INFO: TCP Data received {"connection_id":107690,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda74a0e8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda74a0e8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:52:23] local.INFO: Processing buffer {"connection_id":107690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda74a0e8012d1969c0071fec18003b011725..."} 
[2026-06-18 16:52:23] local.INFO: Packet analysis {"connection_id":107690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:52:23] local.INFO: Extracted packet for processing {"connection_id":107690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068096001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781781537000,"timestamp_ms":1781781537000,"timestamp_seconds":1781781537,"priority":1,"record_length":96,"hex_timestamp":"0000019eda74a0e8"} 
[2026-06-18 16:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:52: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-06-18 16:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068096001,"66":12428,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068096001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:52:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:52:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068096001,"power":12428,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":107690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:52:23] local.INFO: GPS data processed {"connection_id":107690,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:52:23] local.INFO: Acknowledgment sent {"connection_id":107690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:52:24] local.INFO: TCP Data received {"connection_id":105949,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:52:24] local.INFO: Processing buffer {"connection_id":105949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:52:24] local.INFO: IMEI packet received {"connection_id":105949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":105949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:52:28] local.INFO: TCP Data received {"connection_id":107692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:52:28] local.INFO: Processing buffer {"connection_id":107692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:52:28] local.INFO: IMEI packet received {"connection_id":107692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":107692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:52:33] local.INFO: TCP Data received {"connection_id":107691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda685478012d0ba9c00705cbd80011007827..."} 
[2026-06-18 16:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda685478012d0ba9c00705cbd80011007827..."} 
[2026-06-18 16:52:33] local.INFO: Processing buffer {"connection_id":107691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda685478012d0ba9c00705cbd80011007827..."} 
[2026-06-18 16:52:33] local.INFO: Packet analysis {"connection_id":107691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:52:33] local.INFO: Extracted packet for processing {"connection_id":107691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda68"} 
[2026-06-18 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":39,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135790080001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781780731000,"timestamp_ms":1781780731000,"timestamp_seconds":1781780731,"priority":1,"record_length":96,"hex_timestamp":"0000019eda685478"} 
[2026-06-18 16:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:52:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3841982464,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3663598456,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":30720,"corrected_to":0} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503923090325504,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":218,"raw_value":6755804066385471872,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3413639185,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5836929004162318592,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7468094968430067736,"corrected_to":0} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147560715,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2147943883,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182191054913792,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":56,"raw_value":5116315021709725278,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":417559332142479387,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":40,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195428864,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84736765919167950,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.WARNING: Large IO value detected {"io_id":184,"raw_value":5067061151664640,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:33] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,164,94,24,241,157,16,79,158,25,45,128,203,17,30,10,66,9,1,240,38,227,218,5,4,113,205,101,169,120,31,239,56,2,75,7,40,229,69,104,184],"length":625,"final_offset":755,"validated_count":41,"validation_warnings":[{"io_id":203,"original":30720,"validated":0},{"io_id":205,"original":7468094968430067736,"validated":0}]} 
[2026-06-18 16:52:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225111194658930688,"timestamp_seconds":1225111194658930.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 16:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107691,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:52:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135790080001,"66":12711,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135790080001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:52:33] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:52:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135790080001,"power":12711,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:52:34] local.INFO: DEBUG: GPS processor result {"connection_id":107691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345096,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:52:34] local.INFO: GPS data processed {"connection_id":107691,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:52:34] local.INFO: Acknowledgment sent {"connection_id":107691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:52:34] local.INFO: TCP Data received {"connection_id":105949,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:52:34] local.INFO: Processing buffer {"connection_id":105949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:52:34] local.INFO: IMEI packet received {"connection_id":105949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":105949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:52:37] local.INFO: TCP Data received {"connection_id":105949,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:52:37] local.INFO: Processing buffer {"connection_id":105949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:52:37] local.INFO: Packet analysis {"connection_id":105949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:52:37] local.INFO: Extracted packet for processing {"connection_id":105949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:52:37] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135991808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781781519000,"timestamp_ms":1781781519000,"timestamp_seconds":1781781519,"priority":1,"record_length":96,"hex_timestamp":"0000019eda745a98"} 
[2026-06-18 16:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 16:52:37] 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-06-18 16: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-06-18 16:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":105949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":105949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":105949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135991808001,"66":25908,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135991808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:52:37] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:52:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135991808001,"power":25908,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":105949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:52:37] local.INFO: GPS data processed {"connection_id":105949,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:52:37] local.INFO: Acknowledgment sent {"connection_id":105949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:52:39] local.INFO: TCP Data received {"connection_id":107692,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107692,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:52:39] local.INFO: Processing buffer {"connection_id":107692,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:52:39] local.INFO: IMEI packet received {"connection_id":107692,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:52:39] local.INFO: IMEI acknowledgment sent {"connection_id":107692,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:52:40] local.INFO: TCP Data received {"connection_id":107692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:52:40] local.INFO: Processing buffer {"connection_id":107692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:52:40] local.INFO: Packet analysis {"connection_id":107692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:52:40] local.INFO: Extracted packet for processing {"connection_id":107692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:52:40] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:52:40] 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-06-18 16:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:52:40] 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-06-18 16:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:52:40] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:52:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":107692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345098,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:52:40] local.INFO: GPS data processed {"connection_id":107692,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:52:40] local.INFO: Acknowledgment sent {"connection_id":107692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:52:44] local.INFO: TCP Data received {"connection_id":107693,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:44] local.INFO: Processing buffer {"connection_id":107693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:44] local.INFO: IMEI packet received {"connection_id":107693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":107693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:52:45] local.INFO: TCP Data received {"connection_id":107693,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:45] local.INFO: Processing buffer {"connection_id":107693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:45] local.INFO: IMEI packet received {"connection_id":107693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":107693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:52:49] local.INFO: TCP Data received {"connection_id":107693,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:49] local.INFO: Processing buffer {"connection_id":107693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:52:49] local.INFO: IMEI packet received {"connection_id":107693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":107693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:52:56] local.INFO: TCP Data received {"connection_id":106134,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:52:56] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:52:56] local.INFO: IMEI packet received {"connection_id":106134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":106134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:52:58] local.INFO: TCP Data received {"connection_id":107693,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda74f2f0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda74f2f0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:52:58] local.INFO: Processing buffer {"connection_id":107693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda74f2f0012d1969c0071fec18003b011725..."} 
[2026-06-18 16:52:58] local.INFO: Packet analysis {"connection_id":107693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:52:58] local.INFO: Extracted packet for processing {"connection_id":107693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136073472001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781781558000,"timestamp_ms":1781781558000,"timestamp_seconds":1781781558,"priority":1,"record_length":96,"hex_timestamp":"0000019eda74f2f0"} 
[2026-06-18 16:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136073472001,"66":12461,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136073472001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:52:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136073472001,"power":12461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":107693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:52:58] local.INFO: GPS data processed {"connection_id":107693,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:52:58] local.INFO: Acknowledgment sent {"connection_id":107693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:02] local.INFO: TCP Data received {"connection_id":106134,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:53:02] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:53:02] local.INFO: IMEI packet received {"connection_id":106134,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":106134,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:53:02] local.INFO: TCP Data received {"connection_id":106134,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6cec40012d0ba9c00705cbd8001100782a..."} 
[2026-06-18 16:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6cec40012d0ba9c00705cbd8001100782a..."} 
[2026-06-18 16:53:02] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6cec40012d0ba9c00705cbd8001100782a..."} 
[2026-06-18 16:53:02] local.INFO: Packet analysis {"connection_id":106134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:53:02] local.INFO: Extracted packet for processing {"connection_id":106134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6c"} 
[2026-06-18 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":42,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135867136001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781032000,"timestamp_ms":1781781032000,"timestamp_seconds":1781781032,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6cec40"} 
[2026-06-18 16:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 16:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:53:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135867136001,"66":12743,"164":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,94,24,16,45]} 
[2026-06-18 16:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135867136001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:02] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 16:53:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135867136001,"power":12743,"unknown_164":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":106134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345100,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:02] local.INFO: GPS data processed {"connection_id":106134,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:02] local.INFO: Acknowledgment sent {"connection_id":106134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:13] local.INFO: TCP Data received {"connection_id":106722,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:13] local.INFO: Processing buffer {"connection_id":106722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:13] local.INFO: IMEI packet received {"connection_id":106722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":106722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:53:24] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:24] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:24] local.INFO: IMEI packet received {"connection_id":105950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":105950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:53:25] local.INFO: TCP Data received {"connection_id":107692,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:25] local.INFO: Processing buffer {"connection_id":107692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:25] local.INFO: Packet analysis {"connection_id":107692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:53:25] local.INFO: Extracted packet for processing {"connection_id":107692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:53:25] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:53:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53: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-06-18 16:53:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:53:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:53: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-06-18 16: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-06-18 16:53:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:53:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107692,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:53:25] 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-06-18 16:53:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:53:25] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:53:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:53:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:53:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:53:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:25] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:53:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:53:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:53:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:53:25] local.INFO: DEBUG: GPS processor result {"connection_id":107692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345101,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:25] local.INFO: GPS data processed {"connection_id":107692,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:25] local.INFO: Acknowledgment sent {"connection_id":107692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:29] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:29] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:29] local.INFO: IMEI packet received {"connection_id":105950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":105950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:53:30] local.INFO: TCP Data received {"connection_id":107693,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7544f8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7544f8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:53:30] local.INFO: Processing buffer {"connection_id":107693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7544f8012d1969c0071fec18003b011727..."} 
[2026-06-18 16:53:30] local.INFO: Packet analysis {"connection_id":107693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda75"} 
[2026-06-18 16:53:30] local.INFO: Extracted packet for processing {"connection_id":107693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda75"} 
[2026-06-18 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136078848001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781781579000,"timestamp_ms":1781781579000,"timestamp_seconds":1781781579,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7544f8"} 
[2026-06-18 16:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136078848001,"66":12461,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136078848001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136078848001,"power":12461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":107693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:30] local.INFO: GPS data processed {"connection_id":107693,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:30] local.INFO: Acknowledgment sent {"connection_id":107693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:33] local.INFO: TCP Data received {"connection_id":106134,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda718408012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda718408012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:53:33] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda718408012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:53:33] local.INFO: Packet analysis {"connection_id":106134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:53:33] local.INFO: Extracted packet for processing {"connection_id":106134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda71"} 
[2026-06-18 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135944192001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781781333000,"timestamp_ms":1781781333000,"timestamp_seconds":1781781333,"priority":1,"record_length":96,"hex_timestamp":"0000019eda718408"} 
[2026-06-18 16:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 16:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106134,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135944192001,"66":12743,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135944192001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:53:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135944192001,"power":12743,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":106134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345103,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:34] local.INFO: GPS data processed {"connection_id":106134,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:34] local.INFO: Acknowledgment sent {"connection_id":106134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:35] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:35] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:53:35] local.INFO: IMEI packet received {"connection_id":105950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":105950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:53:36] local.INFO: TCP Data received {"connection_id":105951,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:53:36] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:53:36] local.INFO: IMEI packet received {"connection_id":105951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":105951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:53:36] local.INFO: TCP Data received {"connection_id":105950,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:53:36] local.INFO: Processing buffer {"connection_id":105950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda745a98012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:53:36] local.INFO: Packet analysis {"connection_id":105950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:53:36] local.INFO: Extracted packet for processing {"connection_id":105950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:53:36] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135991808001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781781519000,"timestamp_ms":1781781519000,"timestamp_seconds":1781781519,"priority":1,"record_length":96,"hex_timestamp":"0000019eda745a98"} 
[2026-06-18 16:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 16:53: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-06-18 16: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-06-18 16:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":105950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":105950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":105950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135991808001,"66":25908,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135991808001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:36] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135991808001,"power":25908,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":105950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:36] local.INFO: GPS data processed {"connection_id":105950,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:36] local.INFO: Acknowledgment sent {"connection_id":105950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:36] local.INFO: TCP Data received {"connection_id":105951,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:53:37] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:53:37] local.INFO: IMEI packet received {"connection_id":105951,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:53:37] local.INFO: IMEI acknowledgment sent {"connection_id":105951,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:53:38] local.INFO: TCP Data received {"connection_id":105951,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:38] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:38] local.INFO: Packet analysis {"connection_id":105951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:53:38] local.INFO: Extracted packet for processing {"connection_id":105951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:53:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:53:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:53:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:53:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:53:38] 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-06-18 16:53:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:53:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:53:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:53:38] 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-06-18 16:53:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:53:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:53:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:53:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:53:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:53:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:38] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:53:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:53:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:53:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:53:38] local.INFO: DEBUG: GPS processor result {"connection_id":105951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345105,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:38] local.INFO: GPS data processed {"connection_id":105951,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:38] local.INFO: Acknowledgment sent {"connection_id":105951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:38] local.INFO: TCP Data received {"connection_id":107694,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:38] local.INFO: Processing buffer {"connection_id":107694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:38] local.INFO: IMEI packet received {"connection_id":107694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":107694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:53:39] local.INFO: TCP Data received {"connection_id":105951,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:39] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:53:39] local.INFO: Packet analysis {"connection_id":105951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:53:39] local.INFO: Extracted packet for processing {"connection_id":105951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:53:39] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:53:39] 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-06-18 16:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:53:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":105951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345106,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:39] local.INFO: GPS data processed {"connection_id":105951,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:39] local.INFO: Acknowledgment sent {"connection_id":105951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:46] local.INFO: TCP Data received {"connection_id":107694,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:46] local.INFO: Processing buffer {"connection_id":107694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:53:46] local.INFO: IMEI packet received {"connection_id":107694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:53:46] local.INFO: IMEI acknowledgment sent {"connection_id":107694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:53:47] local.INFO: TCP Data received {"connection_id":107694,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5875f8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5875f8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:53:47] local.INFO: Processing buffer {"connection_id":107694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5875f8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:53:47] local.INFO: Packet analysis {"connection_id":107694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:53:47] local.INFO: Extracted packet for processing {"connection_id":107694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda58"} 
[2026-06-18 16:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135523840001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781779691000,"timestamp_ms":1781779691000,"timestamp_seconds":1781779691,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5875f8"} 
[2026-06-18 16:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 16:53:47] 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-06-18 16:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135523840001,"66":25625,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135523840001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135523840001,"power":25625,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":107694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345107,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:47] local.INFO: GPS data processed {"connection_id":107694,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:47] local.INFO: Acknowledgment sent {"connection_id":107694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:48] local.INFO: TCP Data received {"connection_id":107695,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:48] local.INFO: Processing buffer {"connection_id":107695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:48] local.INFO: IMEI packet received {"connection_id":107695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":107695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:53:49] local.INFO: TCP Data received {"connection_id":107694,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda5d0dc0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda5d0dc0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:53:49] local.INFO: Processing buffer {"connection_id":107694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda5d0dc0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:53:49] local.INFO: Packet analysis {"connection_id":107694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:53:49] local.INFO: Extracted packet for processing {"connection_id":107694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda5d"} 
[2026-06-18 16:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135600896001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781779992000,"timestamp_ms":1781779992000,"timestamp_seconds":1781779992,"priority":1,"record_length":96,"hex_timestamp":"0000019eda5d0dc0"} 
[2026-06-18 16:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 16:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135600896001,"66":25549,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135600896001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:53:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:53:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135600896001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":107694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:53:49] local.INFO: GPS data processed {"connection_id":107694,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:53:49] local.INFO: Acknowledgment sent {"connection_id":107694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:53:49] local.INFO: TCP Data received {"connection_id":107695,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:49] local.INFO: Processing buffer {"connection_id":107695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:49] local.INFO: IMEI packet received {"connection_id":107695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":107695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:53:57] local.INFO: TCP Data received {"connection_id":107696,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:53:57] local.INFO: Processing buffer {"connection_id":107696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:53:57] local.INFO: IMEI packet received {"connection_id":107696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":107696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:53:58] local.INFO: TCP Data received {"connection_id":107695,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:58] local.INFO: Processing buffer {"connection_id":107695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:53:58] local.INFO: IMEI packet received {"connection_id":107695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":107695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:54:00] local.INFO: TCP Data received {"connection_id":107695,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda759700012d1969c0071fec18003b011727..."} 
[2026-06-18 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda759700012d1969c0071fec18003b011727..."} 
[2026-06-18 16:54:00] local.INFO: Processing buffer {"connection_id":107695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda759700012d1969c0071fec18003b011727..."} 
[2026-06-18 16:54:00] local.INFO: Packet analysis {"connection_id":107695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda75"} 
[2026-06-18 16:54:00] local.INFO: Extracted packet for processing {"connection_id":107695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda75"} 
[2026-06-18 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136084224001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781781600000,"timestamp_ms":1781781600000,"timestamp_seconds":1781781600,"priority":1,"record_length":96,"hex_timestamp":"0000019eda759700"} 
[2026-06-18 16:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136084224001,"66":12461,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136084224001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:00] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136084224001,"power":12461,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":107695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:01] local.INFO: GPS data processed {"connection_id":107695,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:01] local.INFO: Acknowledgment sent {"connection_id":107695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:54:02] local.INFO: TCP Data received {"connection_id":107696,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107696,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:54:02] local.INFO: Processing buffer {"connection_id":107696,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:54:02] local.INFO: IMEI packet received {"connection_id":107696,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":107696,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:54:02] local.INFO: TCP Data received {"connection_id":107696,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:54:02] local.INFO: Processing buffer {"connection_id":107696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:54:02] local.INFO: Packet analysis {"connection_id":107696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda76"} 
[2026-06-18 16:54:02] local.INFO: Extracted packet for processing {"connection_id":107696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda76"} 
[2026-06-18 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":40,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136021248001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781634000,"timestamp_ms":1781781634000,"timestamp_seconds":1781781634,"priority":1,"record_length":96,"hex_timestamp":"0000019eda761bd0"} 
[2026-06-18 16:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 16:54: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-06-18 16: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-06-18 16:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136021248001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136021248001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:54:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136021248001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":107696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345110,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:02] local.INFO: GPS data processed {"connection_id":107696,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:02] local.INFO: Acknowledgment sent {"connection_id":107696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:54:13] local.INFO: TCP Data received {"connection_id":105951,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:13] local.INFO: Processing buffer {"connection_id":105951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:13] local.INFO: Packet analysis {"connection_id":105951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:54:13] local.INFO: Extracted packet for processing {"connection_id":105951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:54:13] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54: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-06-18 16:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:54: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-06-18 16:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":105951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":105951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":105951,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:54:13] 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-06-18 16:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:54:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":105951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345111,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:13] local.INFO: GPS data processed {"connection_id":105951,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:13] local.INFO: Acknowledgment sent {"connection_id":105951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:54:29] local.INFO: TCP Data received {"connection_id":107697,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:54:29] local.INFO: Processing buffer {"connection_id":107697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:54:29] local.INFO: IMEI packet received {"connection_id":107697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":107697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:54:33] local.INFO: TCP Data received {"connection_id":106723,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:54:33] local.INFO: Processing buffer {"connection_id":106723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:54:33] local.INFO: IMEI packet received {"connection_id":106723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":106723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:54:34] local.INFO: TCP Data received {"connection_id":107696,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:54:34] local.INFO: Processing buffer {"connection_id":107696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:54:34] local.INFO: Packet analysis {"connection_id":107696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda76"} 
[2026-06-18 16:54:34] local.INFO: Extracted packet for processing {"connection_id":107696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda76"} 
[2026-06-18 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":40,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136021248001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781781634000,"timestamp_ms":1781781634000,"timestamp_seconds":1781781634,"priority":1,"record_length":96,"hex_timestamp":"0000019eda761bd0"} 
[2026-06-18 16:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 16:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107696,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136021248001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136021248001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:54:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136021248001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":107696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345112,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:34] local.INFO: GPS data processed {"connection_id":107696,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:34] local.INFO: Acknowledgment sent {"connection_id":107696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:54:34] local.INFO: TCP Data received {"connection_id":107697,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:54:34] local.INFO: Processing buffer {"connection_id":107697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:54:34] local.INFO: IMEI packet received {"connection_id":107697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":107697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:54:35] local.INFO: TCP Data received {"connection_id":107697,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:54:35] local.INFO: Processing buffer {"connection_id":107697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:54:35] local.INFO: Packet analysis {"connection_id":107697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:54:35] local.INFO: Extracted packet for processing {"connection_id":107697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:54:35] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:54:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:54:35] 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-06-18 16:54:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:54:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":107697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:35] local.INFO: GPS data processed {"connection_id":107697,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:35] local.INFO: Acknowledgment sent {"connection_id":107697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:54:37] local.INFO: TCP Data received {"connection_id":106135,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:54:37] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:54:37] local.INFO: IMEI packet received {"connection_id":106135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:54:37] local.INFO: IMEI acknowledgment sent {"connection_id":106135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:54:38] local.INFO: TCP Data received {"connection_id":106135,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:54:38] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:54:38] local.INFO: IMEI packet received {"connection_id":106135,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":106135,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:54:38] local.INFO: TCP Data received {"connection_id":106723,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:54:38] local.INFO: Processing buffer {"connection_id":106723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:54:38] local.INFO: IMEI packet received {"connection_id":106723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":106723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:54:39] local.INFO: TCP Data received {"connection_id":106135,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:39] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:39] local.INFO: Packet analysis {"connection_id":106135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:54:39] local.INFO: Extracted packet for processing {"connection_id":106135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:54:39] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:54:39] 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-06-18 16:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:54:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":106135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345114,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:39] local.INFO: GPS data processed {"connection_id":106135,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:39] local.INFO: Acknowledgment sent {"connection_id":106135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:54:40] local.INFO: TCP Data received {"connection_id":106723,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda61a588012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda61a588012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:54:40] local.INFO: Processing buffer {"connection_id":106723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda61a588012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:54:40] local.INFO: Packet analysis {"connection_id":106723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:54:40] local.INFO: Extracted packet for processing {"connection_id":106723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda61"} 
[2026-06-18 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135677952001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781780293000,"timestamp_ms":1781780293000,"timestamp_seconds":1781780293,"priority":1,"record_length":96,"hex_timestamp":"0000019eda61a588"} 
[2026-06-18 16:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 16:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135677952001,"66":25549,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135677952001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:54:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135677952001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":106723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:40] local.INFO: GPS data processed {"connection_id":106723,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:40] local.INFO: Acknowledgment sent {"connection_id":106723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:54:45] local.INFO: TCP Data received {"connection_id":106136,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:54:45] local.INFO: Processing buffer {"connection_id":106136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:54:45] local.INFO: IMEI packet received {"connection_id":106136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":106136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:54:46] local.INFO: TCP Data received {"connection_id":106135,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:46] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:54:46] local.INFO: Packet analysis {"connection_id":106135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:54:46] local.INFO: Extracted packet for processing {"connection_id":106135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:54:46] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:46] 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-06-18 16:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:54:46] 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-06-18 16:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106135,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:54:46] 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-06-18 16:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:46] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:54:46] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":106135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345116,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:46] local.INFO: GPS data processed {"connection_id":106135,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:46] local.INFO: Acknowledgment sent {"connection_id":106135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:54:50] local.INFO: TCP Data received {"connection_id":106136,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:54:50] local.INFO: Processing buffer {"connection_id":106136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:54:50] local.INFO: IMEI packet received {"connection_id":106136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":106136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:54:57] local.INFO: TCP Data received {"connection_id":105952,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105952,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:54:57] local.INFO: Processing buffer {"connection_id":105952,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:54:57] local.INFO: IMEI packet received {"connection_id":105952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":105952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:54:58] local.INFO: TCP Data received {"connection_id":106136,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda75e908012d1969c0071fec18003b011727..."} 
[2026-06-18 16:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda75e908012d1969c0071fec18003b011727..."} 
[2026-06-18 16:54:58] local.INFO: Processing buffer {"connection_id":106136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda75e908012d1969c0071fec18003b011727..."} 
[2026-06-18 16:54:58] local.INFO: Packet analysis {"connection_id":106136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda75"} 
[2026-06-18 16:54:58] local.INFO: Extracted packet for processing {"connection_id":106136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda75"} 
[2026-06-18 16:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136089600001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781781621000,"timestamp_ms":1781781621000,"timestamp_seconds":1781781621,"priority":1,"record_length":96,"hex_timestamp":"0000019eda75e908"} 
[2026-06-18 16:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 16:54: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-06-18 16: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-06-18 16:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136089600001,"66":12439,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136089600001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:54:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:54:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136089600001,"power":12439,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":106136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:54:58] local.INFO: GPS data processed {"connection_id":106136,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:54:58] local.INFO: Acknowledgment sent {"connection_id":106136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:02] local.INFO: TCP Data received {"connection_id":105952,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105952,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:55:02] local.INFO: Processing buffer {"connection_id":105952,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:55:02] local.INFO: IMEI packet received {"connection_id":105952,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":105952,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:55:02] local.INFO: TCP Data received {"connection_id":105952,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:55:02] local.INFO: Processing buffer {"connection_id":105952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:55:02] local.INFO: Packet analysis {"connection_id":105952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda76"} 
[2026-06-18 16:55:02] local.INFO: Extracted packet for processing {"connection_id":105952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda76"} 
[2026-06-18 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":40,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136021248001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781634000,"timestamp_ms":1781781634000,"timestamp_seconds":1781781634,"priority":1,"record_length":96,"hex_timestamp":"0000019eda761bd0"} 
[2026-06-18 16:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 16:55: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-06-18 16: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-06-18 16:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136021248001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136021248001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:55:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136021248001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":105952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345118,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:02] local.INFO: GPS data processed {"connection_id":105952,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:02] local.INFO: Acknowledgment sent {"connection_id":105952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:07] local.INFO: TCP Data received {"connection_id":107697,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:07] local.INFO: Processing buffer {"connection_id":107697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:07] local.INFO: Packet analysis {"connection_id":107697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:55:07] local.INFO: Extracted packet for processing {"connection_id":107697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:55:07] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:55:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:55:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:55:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:55:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:07] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":107697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:07] local.INFO: GPS data processed {"connection_id":107697,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:07] local.INFO: Acknowledgment sent {"connection_id":107697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:12] local.INFO: TCP Data received {"connection_id":106723,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda663d50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda663d50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:55:12] local.INFO: Processing buffer {"connection_id":106723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda663d50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:55:12] local.INFO: Packet analysis {"connection_id":106723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:55:12] local.INFO: Extracted packet for processing {"connection_id":106723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda66"} 
[2026-06-18 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135755008001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781780594000,"timestamp_ms":1781780594000,"timestamp_seconds":1781780594,"priority":1,"record_length":96,"hex_timestamp":"0000019eda663d50"} 
[2026-06-18 16:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 16:55:12] 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-06-18 16:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135755008001,"66":25549,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135755008001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:55:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135755008001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":106723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:12] local.INFO: GPS data processed {"connection_id":106723,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:12] local.INFO: Acknowledgment sent {"connection_id":106723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:28] local.INFO: TCP Data received {"connection_id":107698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:55:28] local.INFO: Processing buffer {"connection_id":107698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:55:28] local.INFO: IMEI packet received {"connection_id":107698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":107698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:55:30] local.INFO: TCP Data received {"connection_id":106137,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:55:30] local.INFO: Processing buffer {"connection_id":106137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:55:30] local.INFO: IMEI packet received {"connection_id":106137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:55:30] local.INFO: IMEI acknowledgment sent {"connection_id":106137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:55:33] local.INFO: TCP Data received {"connection_id":107699,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:55:33] local.INFO: Processing buffer {"connection_id":107699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:55:33] local.INFO: IMEI packet received {"connection_id":107699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":107699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:55:34] local.INFO: TCP Data received {"connection_id":105952,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:55:34] local.INFO: Processing buffer {"connection_id":105952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda761bd0012d0ba9c00705cbd80011007828..."} 
[2026-06-18 16:55:34] local.INFO: Packet analysis {"connection_id":105952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda76"} 
[2026-06-18 16:55:34] local.INFO: Extracted packet for processing {"connection_id":105952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda76"} 
[2026-06-18 16:55:34] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":40,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136021248001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781781634000,"timestamp_ms":1781781634000,"timestamp_seconds":1781781634,"priority":1,"record_length":96,"hex_timestamp":"0000019eda761bd0"} 
[2026-06-18 16:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 16:55:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":105952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":105952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":105952,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136021248001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136021248001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:55:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136021248001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":105952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345121,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:34] local.INFO: GPS data processed {"connection_id":105952,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:34] local.INFO: Acknowledgment sent {"connection_id":105952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:35] local.INFO: TCP Data received {"connection_id":106137,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:55:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:55:35] local.INFO: Processing buffer {"connection_id":106137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:55:35] local.INFO: IMEI packet received {"connection_id":106137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:55:35] local.INFO: IMEI acknowledgment sent {"connection_id":106137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:55:36] local.INFO: TCP Data received {"connection_id":107698,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107698,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:55:36] local.INFO: Processing buffer {"connection_id":107698,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:55:36] local.INFO: IMEI packet received {"connection_id":107698,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":107698,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:55:36] local.INFO: TCP Data received {"connection_id":107698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:55:36] local.INFO: Processing buffer {"connection_id":107698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:55:36] local.INFO: Packet analysis {"connection_id":107698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:55:36] local.INFO: Extracted packet for processing {"connection_id":107698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:55:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:55:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:55:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:55:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:55:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:55:36] 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-06-18 16:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:36] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:55:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":107698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345122,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:37] local.INFO: GPS data processed {"connection_id":107698,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:37] local.INFO: Acknowledgment sent {"connection_id":107698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:38] local.INFO: TCP Data received {"connection_id":107699,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:55:38] local.INFO: Processing buffer {"connection_id":107699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:55:38] local.INFO: IMEI packet received {"connection_id":107699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":107699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:55:40] local.INFO: TCP Data received {"connection_id":107699,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6ad518012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6ad518012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:55:40] local.INFO: Processing buffer {"connection_id":107699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6ad518012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:55:40] local.INFO: Packet analysis {"connection_id":107699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6a"} 
[2026-06-18 16:55:40] local.INFO: Extracted packet for processing {"connection_id":107699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6a"} 
[2026-06-18 16:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135832064001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781780895000,"timestamp_ms":1781780895000,"timestamp_seconds":1781780895,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6ad518"} 
[2026-06-18 16:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 16:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135832064001,"66":25528,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135832064001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:55:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135832064001,"power":25528,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":107699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:40] local.INFO: GPS data processed {"connection_id":107699,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:40] local.INFO: Acknowledgment sent {"connection_id":107699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:44] local.INFO: TCP Data received {"connection_id":106137,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:44] local.INFO: Processing buffer {"connection_id":106137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:44] local.INFO: Packet analysis {"connection_id":106137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:55:44] local.INFO: Extracted packet for processing {"connection_id":106137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:55:44] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:44] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":106137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:44] local.INFO: GPS data processed {"connection_id":106137,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:44] local.INFO: Acknowledgment sent {"connection_id":106137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:44] local.INFO: TCP Data received {"connection_id":106724,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:55:44] local.INFO: Processing buffer {"connection_id":106724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:55:44] local.INFO: IMEI packet received {"connection_id":106724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":106724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:55:46] local.INFO: TCP Data received {"connection_id":106137,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:46] local.INFO: Processing buffer {"connection_id":106137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:55:46] local.INFO: Packet analysis {"connection_id":106137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:55:46] local.INFO: Extracted packet for processing {"connection_id":106137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:46] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":106137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:46] local.INFO: GPS data processed {"connection_id":106137,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:46] local.INFO: Acknowledgment sent {"connection_id":106137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:55:50] local.INFO: TCP Data received {"connection_id":106724,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:55:50] local.INFO: Processing buffer {"connection_id":106724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:55:50] local.INFO: IMEI packet received {"connection_id":106724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":106724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:55:51] local.INFO: TCP Data received {"connection_id":106724,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda796f60012d1969c0071fec18003b011727..."} 
[2026-06-18 16:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda796f60012d1969c0071fec18003b011727..."} 
[2026-06-18 16:55:51] local.INFO: Processing buffer {"connection_id":106724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda796f60012d1969c0071fec18003b011727..."} 
[2026-06-18 16:55:51] local.INFO: Packet analysis {"connection_id":106724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:55:51] local.INFO: Extracted packet for processing {"connection_id":106724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136148736001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781781852000,"timestamp_ms":1781781852000,"timestamp_seconds":1781781852,"priority":1,"record_length":96,"hex_timestamp":"0000019eda796f60"} 
[2026-06-18 16:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-06-18 16:55:51] 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-06-18 16:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136148736001,"66":12428,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136148736001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:55:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:55:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136148736001,"power":12428,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:55:52] local.INFO: DEBUG: GPS processor result {"connection_id":106724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:55:52] local.INFO: GPS data processed {"connection_id":106724,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:55:52] local.INFO: Acknowledgment sent {"connection_id":106724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:02] local.INFO: TCP Data received {"connection_id":106725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106725,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:02] local.INFO: Processing buffer {"connection_id":106725,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:02] local.INFO: IMEI packet received {"connection_id":106725,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":106725,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:56:07] local.INFO: TCP Data received {"connection_id":106725,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106725,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:07] local.INFO: Processing buffer {"connection_id":106725,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:07] local.INFO: IMEI packet received {"connection_id":106725,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":106725,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:56:07] local.INFO: TCP Data received {"connection_id":106725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:56:07] local.INFO: Processing buffer {"connection_id":106725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:56:07] local.INFO: Packet analysis {"connection_id":106725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:56:07] local.INFO: Extracted packet for processing {"connection_id":106725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:56:07] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 16:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:56:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:07] 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-06-18 16:56:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:56:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":106725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345127,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:08] local.INFO: GPS data processed {"connection_id":106725,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:08] local.INFO: Acknowledgment sent {"connection_id":106725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:12] local.INFO: TCP Data received {"connection_id":106725,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:56:12] local.INFO: Processing buffer {"connection_id":106725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:56:12] local.INFO: Packet analysis {"connection_id":106725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:56:12] local.INFO: Extracted packet for processing {"connection_id":106725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:56:12] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 16:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:12] 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-06-18 16:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106725,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:56:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":106725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345128,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:12] local.INFO: GPS data processed {"connection_id":106725,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:12] local.INFO: Acknowledgment sent {"connection_id":106725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:13] local.INFO: TCP Data received {"connection_id":107698,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:56:13] local.INFO: Processing buffer {"connection_id":107698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:56:13] local.INFO: Packet analysis {"connection_id":107698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:56:13] local.INFO: Extracted packet for processing {"connection_id":107698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56: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-06-18 16:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:56: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-06-18 16:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107698,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:13] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:56:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":107698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345129,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:13] local.INFO: GPS data processed {"connection_id":107698,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:13] local.INFO: Acknowledgment sent {"connection_id":107698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:13] local.INFO: TCP Data received {"connection_id":107699,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda6f6ce0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda6f6ce0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:13] local.INFO: Processing buffer {"connection_id":107699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda6f6ce0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:13] local.INFO: Packet analysis {"connection_id":107699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda6f"} 
[2026-06-18 16:56:13] local.INFO: Extracted packet for processing {"connection_id":107699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda6f"} 
[2026-06-18 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135909120001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781781196000,"timestamp_ms":1781781196000,"timestamp_seconds":1781781196,"priority":1,"record_length":96,"hex_timestamp":"0000019eda6f6ce0"} 
[2026-06-18 16:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107699,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135909120001,"66":25549,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135909120001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135909120001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":107699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:13] local.INFO: GPS data processed {"connection_id":107699,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:13] local.INFO: Acknowledgment sent {"connection_id":107699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:23] local.INFO: TCP Data received {"connection_id":106724,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda79c168012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda79c168012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:23] local.INFO: Processing buffer {"connection_id":106724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda79c168012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:23] local.INFO: Packet analysis {"connection_id":106724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:56:23] local.INFO: Extracted packet for processing {"connection_id":106724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:56:23] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136154112001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781781873000,"timestamp_ms":1781781873000,"timestamp_seconds":1781781873,"priority":1,"record_length":96,"hex_timestamp":"0000019eda79c168"} 
[2026-06-18 16:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136154112001,"66":12428,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136154112001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:56:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136154112001,"power":12428,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":106724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:23] local.INFO: GPS data processed {"connection_id":106724,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:23] local.INFO: Acknowledgment sent {"connection_id":106724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:24] local.INFO: TCP Data received {"connection_id":105953,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:56:24] local.INFO: Processing buffer {"connection_id":105953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:56:24] local.INFO: IMEI packet received {"connection_id":105953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":105953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:56:29] local.INFO: TCP Data received {"connection_id":105953,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:56:29] local.INFO: Processing buffer {"connection_id":105953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:56:29] local.INFO: IMEI packet received {"connection_id":105953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":105953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:56:32] local.INFO: TCP Data received {"connection_id":105953,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:56:32] local.INFO: Processing buffer {"connection_id":105953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:56:32] local.INFO: Packet analysis {"connection_id":105953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:56:32] local.INFO: Extracted packet for processing {"connection_id":105953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":105953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":105953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":105953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:32] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":105953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:32] local.INFO: GPS data processed {"connection_id":105953,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:32] local.INFO: Acknowledgment sent {"connection_id":105953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:35] local.INFO: TCP Data received {"connection_id":105953,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:56:35] local.INFO: Processing buffer {"connection_id":105953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:56:35] local.INFO: Packet analysis {"connection_id":105953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:56:35] local.INFO: Extracted packet for processing {"connection_id":105953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:56:35] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:35] 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-06-18 16: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-06-18 16:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":105953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:35] local.INFO: GPS data processed {"connection_id":105953,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:35] local.INFO: Acknowledgment sent {"connection_id":105953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:39] local.INFO: TCP Data received {"connection_id":106726,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:56:39] local.INFO: Processing buffer {"connection_id":106726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:56:39] local.INFO: IMEI packet received {"connection_id":106726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:56:39] local.INFO: IMEI acknowledgment sent {"connection_id":106726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:56:50] local.INFO: TCP Data received {"connection_id":106726,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:56:50] local.INFO: Processing buffer {"connection_id":106726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:56:50] local.INFO: IMEI packet received {"connection_id":106726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":106726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:56:50] local.INFO: TCP Data received {"connection_id":105954,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:56:50] local.INFO: Processing buffer {"connection_id":105954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:56:50] local.INFO: IMEI packet received {"connection_id":105954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":105954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:56:51] local.INFO: TCP Data received {"connection_id":106726,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7404a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7404a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:51] local.INFO: Processing buffer {"connection_id":106726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7404a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:51] local.INFO: Packet analysis {"connection_id":106726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:56:51] local.INFO: Extracted packet for processing {"connection_id":106726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda74"} 
[2026-06-18 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456135986176001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781781497000,"timestamp_ms":1781781497000,"timestamp_seconds":1781781497,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7404a8"} 
[2026-06-18 16:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456135986176001,"66":25538,"97":206,"81":23296,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-06-18 16:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456135986176001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:51] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 16:56:51] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-06-18 16:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456135986176001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":106726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:51] local.INFO: GPS data processed {"connection_id":106726,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:51] local.INFO: Acknowledgment sent {"connection_id":106726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:53] local.INFO: TCP Data received {"connection_id":106726,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:53] local.INFO: Processing buffer {"connection_id":106726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:56:53] local.INFO: Packet analysis {"connection_id":106726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:56:53] local.INFO: Extracted packet for processing {"connection_id":106726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:56:53] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:56:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136063232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781781881000,"timestamp_ms":1781781881000,"timestamp_seconds":1781781881,"priority":1,"record_length":96,"hex_timestamp":"0000019eda79e0a8"} 
[2026-06-18 16:56:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:56:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:56:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:56:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:56:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:56:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:56:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:56:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136063232001,"66":25538,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 16:56:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:56:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:56:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136063232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 16:56:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 16:56:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136063232001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:56:53] local.INFO: DEBUG: GPS processor result {"connection_id":106726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:53] local.INFO: GPS data processed {"connection_id":106726,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:53] local.INFO: Acknowledgment sent {"connection_id":106726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:55] local.INFO: TCP Data received {"connection_id":105954,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:56:55] local.INFO: Processing buffer {"connection_id":105954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:56:55] local.INFO: IMEI packet received {"connection_id":105954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":105954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:56:57] local.INFO: TCP Data received {"connection_id":106138,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:57] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:56:57] local.INFO: IMEI packet received {"connection_id":106138,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":106138,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:56:57] local.INFO: TCP Data received {"connection_id":105954,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7a1370012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7a1370012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:57] local.INFO: Processing buffer {"connection_id":105954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7a1370012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:57] local.INFO: Packet analysis {"connection_id":105954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:56:57] local.INFO: Extracted packet for processing {"connection_id":105954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136159488001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781781894000,"timestamp_ms":1781781894000,"timestamp_seconds":1781781894,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7a1370"} 
[2026-06-18 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-06-18 16:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:57] 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-06-18 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-06-18 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-06-18 16:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136159488001,"66":11721,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136159488001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:56:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136159488001,"power":11721,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":105954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:57] local.INFO: GPS data processed {"connection_id":105954,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:57] local.INFO: Acknowledgment sent {"connection_id":105954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:58] local.INFO: TCP Data received {"connection_id":105954,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7a6578012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7a6578012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:58] local.INFO: Processing buffer {"connection_id":105954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7a6578012d1969c0071fec18003b011727..."} 
[2026-06-18 16:56:58] local.INFO: Packet analysis {"connection_id":105954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:56:58] local.INFO: Extracted packet for processing {"connection_id":105954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136164864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781781915000,"timestamp_ms":1781781915000,"timestamp_seconds":1781781915,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7a6578"} 
[2026-06-18 16:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 16:56:58] 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-06-18 16: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-06-18 16:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":105954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":105954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":105954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136164864001,"66":12406,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136164864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:56:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136164864001,"power":12406,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":105954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:56:58] local.INFO: GPS data processed {"connection_id":105954,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:56:58] local.INFO: Acknowledgment sent {"connection_id":105954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:56:59] local.INFO: TCP Data received {"connection_id":106727,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:56:59] local.INFO: Processing buffer {"connection_id":106727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:56:59] local.INFO: IMEI packet received {"connection_id":106727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":106727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:57:02] local.INFO: TCP Data received {"connection_id":106138,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:57:02] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:57:02] local.INFO: IMEI packet received {"connection_id":106138,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":106138,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:57:02] local.INFO: TCP Data received {"connection_id":106138,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:57:02] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:57:02] local.INFO: Packet analysis {"connection_id":106138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:57:02] local.INFO: Extracted packet for processing {"connection_id":106138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 16:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:57:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:57:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":106138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345138,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:02] local.INFO: GPS data processed {"connection_id":106138,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:02] local.INFO: Acknowledgment sent {"connection_id":106138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:03] local.INFO: TCP Data received {"connection_id":106727,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106727,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:03] local.INFO: Processing buffer {"connection_id":106727,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:03] local.INFO: IMEI packet received {"connection_id":106727,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":106727,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:57:04] local.INFO: TCP Data received {"connection_id":106727,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:57:04] local.INFO: Processing buffer {"connection_id":106727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:57:04] local.INFO: Packet analysis {"connection_id":106727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:57:04] local.INFO: Extracted packet for processing {"connection_id":106727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:57:04] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57: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-06-18 16:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:04] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:57:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":106727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345139,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:04] local.INFO: GPS data processed {"connection_id":106727,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:04] local.INFO: Acknowledgment sent {"connection_id":106727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:07] local.INFO: TCP Data received {"connection_id":105953,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:57:07] local.INFO: Processing buffer {"connection_id":105953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:57:07] local.INFO: Packet analysis {"connection_id":105953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:57:07] local.INFO: Extracted packet for processing {"connection_id":105953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:57:07] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:57:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:07] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":105953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:07] local.INFO: GPS data processed {"connection_id":105953,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:07] local.INFO: Acknowledgment sent {"connection_id":105953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:09] local.INFO: TCP Data received {"connection_id":106727,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:57:09] local.INFO: Processing buffer {"connection_id":106727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda77e8c0012d7a344005e45db8000d004d2e..."} 
[2026-06-18 16:57:09] local.INFO: Packet analysis {"connection_id":106727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:57:09] local.INFO: Extracted packet for processing {"connection_id":106727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda77"} 
[2026-06-18 16:57:09] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":13,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136050432001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805874302954874880,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57: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-06-18 16:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781781752000,"timestamp_ms":1781781752000,"timestamp_seconds":1781781752,"priority":1,"record_length":96,"hex_timestamp":"0000019eda77e8c0"} 
[2026-06-18 16:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:09] 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-06-18 16:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106727,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136050432001,"66":13080,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8805874302954874880},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 16:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136050432001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:09] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 16:57:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 16:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805874302954874880,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136050432001,"power":13080,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8805874302954874880}} 
[2026-06-18 16:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":106727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345141,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:09] local.INFO: GPS data processed {"connection_id":106727,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:09] local.INFO: Acknowledgment sent {"connection_id":106727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:24] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:57:24] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:57:24] local.INFO: IMEI packet received {"connection_id":105955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":105955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:57:29] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:57:29] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:57:29] local.INFO: IMEI packet received {"connection_id":105955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":105955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:57:30] local.INFO: TCP Data received {"connection_id":105954,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab780012d1969c0071fec18003b011725..."} 
[2026-06-18 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab780012d1969c0071fec18003b011725..."} 
[2026-06-18 16:57:30] local.INFO: Processing buffer {"connection_id":105954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab780012d1969c0071fec18003b011725..."} 
[2026-06-18 16:57:30] local.INFO: Packet analysis {"connection_id":105954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:57:30] local.INFO: Extracted packet for processing {"connection_id":105954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136170240001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781781936000,"timestamp_ms":1781781936000,"timestamp_seconds":1781781936,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab780"} 
[2026-06-18 16:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:57:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":105954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":105954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":105954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136170240001,"66":12406,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136170240001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136170240001,"power":12406,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":105954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:30] local.INFO: GPS data processed {"connection_id":105954,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:30] local.INFO: Acknowledgment sent {"connection_id":105954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:31] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:57:31] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:57:31] local.INFO: Packet analysis {"connection_id":105955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:57:31] local.INFO: Extracted packet for processing {"connection_id":105955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:57:31] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:31] 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-06-18 16:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":105955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:31] local.INFO: GPS data processed {"connection_id":105955,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:31] local.INFO: Acknowledgment sent {"connection_id":105955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:34] local.INFO: TCP Data received {"connection_id":106138,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:57:34] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:57:34] local.INFO: Packet analysis {"connection_id":106138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:57:34] local.INFO: Extracted packet for processing {"connection_id":106138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:57:34] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 16:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106138,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:57:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":106138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345144,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:34] local.INFO: GPS data processed {"connection_id":106138,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:34] local.INFO: Acknowledgment sent {"connection_id":106138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:34] local.INFO: TCP Data received {"connection_id":106728,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:57:34] local.INFO: Processing buffer {"connection_id":106728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:57:34] local.INFO: IMEI packet received {"connection_id":106728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:57:34] local.INFO: IMEI acknowledgment sent {"connection_id":106728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:57:38] local.INFO: TCP Data received {"connection_id":106728,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:57:38] local.INFO: Processing buffer {"connection_id":106728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:57:38] local.INFO: IMEI packet received {"connection_id":106728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":106728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:57:38] local.INFO: TCP Data received {"connection_id":105956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:38] local.INFO: Processing buffer {"connection_id":105956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:38] local.INFO: IMEI packet received {"connection_id":105956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":105956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:57:40] local.INFO: TCP Data received {"connection_id":106728,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:57:40] local.INFO: Processing buffer {"connection_id":106728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:57:40] local.INFO: Packet analysis {"connection_id":106728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:57:40] local.INFO: Extracted packet for processing {"connection_id":106728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136063232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781781881000,"timestamp_ms":1781781881000,"timestamp_seconds":1781781881,"priority":1,"record_length":96,"hex_timestamp":"0000019eda79e0a8"} 
[2026-06-18 16:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136063232001,"66":25538,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 16:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136063232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 16:57:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 16:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136063232001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":106728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:40] local.INFO: GPS data processed {"connection_id":106728,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:40] local.INFO: Acknowledgment sent {"connection_id":106728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:43] local.INFO: TCP Data received {"connection_id":105956,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:43] local.INFO: Processing buffer {"connection_id":105956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:57:43] local.INFO: IMEI packet received {"connection_id":105956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":105956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:57:45] local.INFO: TCP Data received {"connection_id":107700,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:57:45] local.INFO: Processing buffer {"connection_id":107700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:57:45] local.INFO: IMEI packet received {"connection_id":107700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":107700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:57:45] local.INFO: TCP Data received {"connection_id":105956,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7c6148012d7a344005e45db8001c004d2f..."} 
[2026-06-18 16:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7c6148012d7a344005e45db8001c004d2f..."} 
[2026-06-18 16:57:45] local.INFO: Processing buffer {"connection_id":105956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7c6148012d7a344005e45db8001c004d2f..."} 
[2026-06-18 16:57:45] local.INFO: Packet analysis {"connection_id":105956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 16:57:45] local.INFO: Extracted packet for processing {"connection_id":105956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 16:57:45] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":28,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136128512001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466523648,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:45] 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-06-18 16:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781782045000,"timestamp_ms":1781782045000,"timestamp_seconds":1781782045,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7c6148"} 
[2026-06-18 16:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:45] 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-06-18 16:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:57:45] 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-06-18 16:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136128512001,"66":12841,"47":206,"85":15104,"24":0,"16":93952164786864128,"45":8805733565466523648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-18 16:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136128512001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:45] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-18 16:57:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466523648,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136128512001,"power":12841,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805733565466523648}} 
[2026-06-18 16:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":105956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345146,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:45] local.INFO: GPS data processed {"connection_id":105956,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:45] local.INFO: Acknowledgment sent {"connection_id":105956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:49] local.INFO: TCP Data received {"connection_id":107700,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107700,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:57:49] local.INFO: Processing buffer {"connection_id":107700,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:57:49] local.INFO: IMEI packet received {"connection_id":107700,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":107700,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:57:53] local.INFO: TCP Data received {"connection_id":107700,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7b0988012d1969c0071fec18003b011727..."} 
[2026-06-18 16:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7b0988012d1969c0071fec18003b011727..."} 
[2026-06-18 16:57:53] local.INFO: Processing buffer {"connection_id":107700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7b0988012d1969c0071fec18003b011727..."} 
[2026-06-18 16:57:53] local.INFO: Packet analysis {"connection_id":107700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7b"} 
[2026-06-18 16:57:53] local.INFO: Extracted packet for processing {"connection_id":107700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7b"} 
[2026-06-18 16:57:53] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175616001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781781957000,"timestamp_ms":1781781957000,"timestamp_seconds":1781781957,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7b0988"} 
[2026-06-18 16:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:57:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 16: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175616001,"66":12406,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175616001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:53] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:57:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175616001,"power":12406,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":107700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:54] local.INFO: GPS data processed {"connection_id":107700,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:54] local.INFO: Acknowledgment sent {"connection_id":107700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:56] local.INFO: TCP Data received {"connection_id":107700,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7b5b90012d1969c0071fec18003b011727..."} 
[2026-06-18 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7b5b90012d1969c0071fec18003b011727..."} 
[2026-06-18 16:57:56] local.INFO: Processing buffer {"connection_id":107700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7b5b90012d1969c0071fec18003b011727..."} 
[2026-06-18 16:57:56] local.INFO: Packet analysis {"connection_id":107700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7b"} 
[2026-06-18 16:57:56] local.INFO: Extracted packet for processing {"connection_id":107700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7b"} 
[2026-06-18 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136180992001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781781978000,"timestamp_ms":1781781978000,"timestamp_seconds":1781781978,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7b5b90"} 
[2026-06-18 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-06-18 16:57:56] 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-06-18 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 16:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136180992001,"66":12363,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136180992001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:57:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:57:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136180992001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":107700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:57:56] local.INFO: GPS data processed {"connection_id":107700,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:57:56] local.INFO: Acknowledgment sent {"connection_id":107700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:57:57] local.INFO: TCP Data received {"connection_id":107701,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:57:57] local.INFO: Processing buffer {"connection_id":107701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:57:57] local.INFO: IMEI packet received {"connection_id":107701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":107701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:58:02] local.INFO: TCP Data received {"connection_id":107701,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107701,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:58:02] local.INFO: Processing buffer {"connection_id":107701,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:58:02] local.INFO: IMEI packet received {"connection_id":107701,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":107701,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:58:02] local.INFO: TCP Data received {"connection_id":107701,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:58:02] local.INFO: Processing buffer {"connection_id":107701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:58:02] local.INFO: Packet analysis {"connection_id":107701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:58:02] local.INFO: Extracted packet for processing {"connection_id":107701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 16:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:58:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:58:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:58:02] local.INFO: TCP Data received {"connection_id":105955,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:58:02] local.INFO: Processing buffer {"connection_id":105955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:58:02] local.INFO: Packet analysis {"connection_id":105955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:58:02] local.INFO: Extracted packet for processing {"connection_id":105955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":105955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":105955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":105955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:58:02] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:58:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":105955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:58:02] local.INFO: GPS data processed {"connection_id":105955,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:58:02] local.INFO: Acknowledgment sent {"connection_id":105955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":107701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345150,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:58:02] local.INFO: GPS data processed {"connection_id":107701,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:58:02] local.INFO: Acknowledgment sent {"connection_id":107701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:58:12] local.INFO: TCP Data received {"connection_id":106728,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:58:12] local.INFO: Processing buffer {"connection_id":106728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:58:12] local.INFO: Packet analysis {"connection_id":106728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:58:12] local.INFO: Extracted packet for processing {"connection_id":106728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136063232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781781881000,"timestamp_ms":1781781881000,"timestamp_seconds":1781781881,"priority":1,"record_length":96,"hex_timestamp":"0000019eda79e0a8"} 
[2026-06-18 16:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 16:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136063232001,"66":25538,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 16:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136063232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:58:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 16:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 16:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136063232001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":106728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:58:12] local.INFO: GPS data processed {"connection_id":106728,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:58:12] local.INFO: Acknowledgment sent {"connection_id":106728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:58:24] local.INFO: TCP Data received {"connection_id":107702,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:58:24] local.INFO: Processing buffer {"connection_id":107702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:58:24] local.INFO: IMEI packet received {"connection_id":107702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":107702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:58:28] local.INFO: TCP Data received {"connection_id":107700,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7bad98012d1969c0071fec18003b011728..."} 
[2026-06-18 16:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7bad98012d1969c0071fec18003b011728..."} 
[2026-06-18 16:58:28] local.INFO: Processing buffer {"connection_id":107700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7bad98012d1969c0071fec18003b011728..."} 
[2026-06-18 16:58:28] local.INFO: Packet analysis {"connection_id":107700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7b"} 
[2026-06-18 16:58:28] local.INFO: Extracted packet for processing {"connection_id":107700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7b"} 
[2026-06-18 16:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136186368001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781781999000,"timestamp_ms":1781781999000,"timestamp_seconds":1781781999,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7bad98"} 
[2026-06-18 16:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:58:28] 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-06-18 16: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 16:58:28] 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-06-18 16: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-06-18 16:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107700,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136186368001,"66":12385,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136186368001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:58:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:58:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136186368001,"power":12385,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":107700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:58:28] local.INFO: GPS data processed {"connection_id":107700,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:58:28] local.INFO: Acknowledgment sent {"connection_id":107700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:58:29] local.INFO: TCP Data received {"connection_id":107702,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:58:29] local.INFO: Processing buffer {"connection_id":107702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:58:29] local.INFO: IMEI packet received {"connection_id":107702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":107702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:58:31] local.INFO: TCP Data received {"connection_id":107702,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:58:31] local.INFO: Processing buffer {"connection_id":107702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:58:31] local.INFO: Packet analysis {"connection_id":107702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:58:31] local.INFO: Extracted packet for processing {"connection_id":107702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 16:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 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-06-18 16:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:58:31] 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-06-18 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-06-18 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-06-18 16:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:58:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:58:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":107702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:58:31] local.INFO: GPS data processed {"connection_id":107702,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:58:31] local.INFO: Acknowledgment sent {"connection_id":107702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:58:33] local.INFO: TCP Data received {"connection_id":106729,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:58:33] local.INFO: Processing buffer {"connection_id":106729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:58:33] local.INFO: IMEI packet received {"connection_id":106729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":106729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:58:34] local.INFO: TCP Data received {"connection_id":107701,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:58:34] local.INFO: Processing buffer {"connection_id":107701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:58:34] local.INFO: Packet analysis {"connection_id":107701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:58:34] local.INFO: Extracted packet for processing {"connection_id":107701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:58:34] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 16:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107701,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:58:34] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:58:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":107701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345154,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:58:34] local.INFO: GPS data processed {"connection_id":107701,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:58:34] local.INFO: Acknowledgment sent {"connection_id":107701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:58:38] local.INFO: TCP Data received {"connection_id":106729,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:58:38] local.INFO: Processing buffer {"connection_id":106729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:58:38] local.INFO: IMEI packet received {"connection_id":106729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":106729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:58:39] local.INFO: TCP Data received {"connection_id":106729,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:58:39] local.INFO: Processing buffer {"connection_id":106729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:58:39] local.INFO: Packet analysis {"connection_id":106729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:58:39] local.INFO: Extracted packet for processing {"connection_id":106729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136063232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781781881000,"timestamp_ms":1781781881000,"timestamp_seconds":1781781881,"priority":1,"record_length":96,"hex_timestamp":"0000019eda79e0a8"} 
[2026-06-18 16:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 16:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136063232001,"66":25538,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 16:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136063232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:58:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 16:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 16:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136063232001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":106729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345155,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:58:39] local.INFO: GPS data processed {"connection_id":106729,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:58:39] local.INFO: Acknowledgment sent {"connection_id":106729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:58:44] local.INFO: TCP Data received {"connection_id":106139,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:58:44] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:58:44] local.INFO: IMEI packet received {"connection_id":106139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":106139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:58:50] local.INFO: TCP Data received {"connection_id":106139,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:58:50] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:58:50] local.INFO: IMEI packet received {"connection_id":106139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":106139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:58:52] local.INFO: TCP Data received {"connection_id":106139,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7bffa0012d1969c0071fec18003b011728..."} 
[2026-06-18 16:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7bffa0012d1969c0071fec18003b011728..."} 
[2026-06-18 16:58:52] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7bffa0012d1969c0071fec18003b011728..."} 
[2026-06-18 16:58:52] local.INFO: Packet analysis {"connection_id":106139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7b"} 
[2026-06-18 16:58:52] local.INFO: Extracted packet for processing {"connection_id":106139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7b"} 
[2026-06-18 16:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136191744001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781782020000,"timestamp_ms":1781782020000,"timestamp_seconds":1781782020,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7bffa0"} 
[2026-06-18 16:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:58:52] 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-06-18 16:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 16:58:52] 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-06-18 16:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136191744001,"66":12428,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136191744001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:58:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:58:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136191744001,"power":12428,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":106139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:58:52] local.INFO: GPS data processed {"connection_id":106139,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:58:52] local.INFO: Acknowledgment sent {"connection_id":106139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:58:56] local.INFO: TCP Data received {"connection_id":106140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:58:56] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:58:56] local.INFO: IMEI packet received {"connection_id":106140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":106140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:58:58] local.INFO: TCP Data received {"connection_id":105957,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:58:58] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:58:58] local.INFO: IMEI packet received {"connection_id":105957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 16:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":105957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:59:02] local.INFO: TCP Data received {"connection_id":106140,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:59:02] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:59:02] local.INFO: IMEI packet received {"connection_id":106140,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 16:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":106140,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:59:02] local.INFO: TCP Data received {"connection_id":106140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:59:02] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:59:02] local.INFO: Packet analysis {"connection_id":106140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:59:02] local.INFO: Extracted packet for processing {"connection_id":106140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:59:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 16:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16: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-06-18 16:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:59:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:59:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":106140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345157,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:02] local.INFO: GPS data processed {"connection_id":106140,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:02] local.INFO: Acknowledgment sent {"connection_id":106140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:03] local.INFO: TCP Data received {"connection_id":107702,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:59:03] local.INFO: Processing buffer {"connection_id":107702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda78f260012cd4aec007377a18001600ef2d..."} 
[2026-06-18 16:59:03] local.INFO: Packet analysis {"connection_id":107702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:59:03] local.INFO: Extracted packet for processing {"connection_id":107702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda78"} 
[2026-06-18 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136068864001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781781820000,"timestamp_ms":1781781820000,"timestamp_seconds":1781781820,"priority":1,"record_length":96,"hex_timestamp":"0000019eda78f260"} 
[2026-06-18 16:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:03] 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-06-18 16:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136068864001,"66":25854,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136068864001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:03] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136068864001,"power":25854,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":107702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:03] local.INFO: GPS data processed {"connection_id":107702,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:03] local.INFO: Acknowledgment sent {"connection_id":107702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:03] local.INFO: TCP Data received {"connection_id":105957,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:59:03] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 16:59:03] local.INFO: IMEI packet received {"connection_id":105957,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 16:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":105957,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:59:04] local.INFO: TCP Data received {"connection_id":105957,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7c6530012d7a344005e45db8001c004d2e..."} 
[2026-06-18 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7c6530012d7a344005e45db8001c004d2e..."} 
[2026-06-18 16:59:04] local.INFO: Processing buffer {"connection_id":105957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7c6530012d7a344005e45db8001c004d2e..."} 
[2026-06-18 16:59:04] local.INFO: Packet analysis {"connection_id":105957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 16:59:04] local.INFO: Extracted packet for processing {"connection_id":105957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 16:59:04] local.INFO: GPS Element Parsed {"raw_longitude":762983488,"raw_latitude":98852280,"longitude_deg":76.2983488,"latitude_deg":9.885228,"altitude":28,"angle":77,"satellites":46,"speed":0,"hex_longitude":"2d7a3440","hex_latitude":"05e45db8","is_valid_coordinates":true} 
[2026-06-18 16:59:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136203520001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8805733565466523648,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,47,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781782046000,"timestamp_ms":1781782046000,"timestamp_seconds":1781782046,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7c6530"} 
[2026-06-18 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-06-18 16:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 16:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105957,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 16:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 16:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 16:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136203520001,"66":4710,"47":206,"85":15104,"24":0,"16":93952164786864128,"45":8805733565466523648},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-18 16:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 16:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 16:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136203520001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:04] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-18 16:59:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 16:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8805733565466523648,"description":"Unknown IO ID 45"} 
[2026-06-18 16:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136203520001,"power":4710,"unknown_47":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":8805733565466523648}} 
[2026-06-18 16:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":105957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345159,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:04] local.INFO: GPS data processed {"connection_id":105957,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:04] local.INFO: Acknowledgment sent {"connection_id":105957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:11] local.INFO: TCP Data received {"connection_id":106729,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:11] local.INFO: Processing buffer {"connection_id":106729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:11] local.INFO: Packet analysis {"connection_id":106729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:59:11] local.INFO: Extracted packet for processing {"connection_id":106729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136063232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781781881000,"timestamp_ms":1781781881000,"timestamp_seconds":1781781881,"priority":1,"record_length":96,"hex_timestamp":"0000019eda79e0a8"} 
[2026-06-18 16:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136063232001,"66":25538,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 16:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136063232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 16:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 16:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136063232001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":106729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:11] local.INFO: GPS data processed {"connection_id":106729,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:11] local.INFO: Acknowledgment sent {"connection_id":106729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:24] local.INFO: TCP Data received {"connection_id":106141,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:59:24] local.INFO: Processing buffer {"connection_id":106141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:59:24] local.INFO: IMEI packet received {"connection_id":106141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 16:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":106141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:59:24] local.INFO: TCP Data received {"connection_id":106139,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7c51a8012d1969c0071fec18003b011728..."} 
[2026-06-18 16:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7c51a8012d1969c0071fec18003b011728..."} 
[2026-06-18 16:59:24] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7c51a8012d1969c0071fec18003b011728..."} 
[2026-06-18 16:59:24] local.INFO: Packet analysis {"connection_id":106139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 16:59:24] local.INFO: Extracted packet for processing {"connection_id":106139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 16:59:24] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136197120001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781782041000,"timestamp_ms":1781782041000,"timestamp_seconds":1781782041,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7c51a8"} 
[2026-06-18 16:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:24] 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-06-18 16: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":140,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:24] 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-06-18 16: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-06-18 16:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136197120001,"66":12363,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136197120001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136197120001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":106139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:24] local.INFO: GPS data processed {"connection_id":106139,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:24] local.INFO: Acknowledgment sent {"connection_id":106139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:30] local.INFO: TCP Data received {"connection_id":106141,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:59:30] local.INFO: Processing buffer {"connection_id":106141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 16:59:30] local.INFO: IMEI packet received {"connection_id":106141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 16:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":106141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:59:33] local.INFO: TCP Data received {"connection_id":106140,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:59:33] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 16:59:33] local.INFO: Packet analysis {"connection_id":106140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:59:33] local.INFO: Extracted packet for processing {"connection_id":106140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 16:59:33] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:59:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 16:59:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:33] 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-06-18 16: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-06-18 16:59:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:59:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106140,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 16:59:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 16:59:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 16:59:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 16:59:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 16:59:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 16:59:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 16:59:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 16:59:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 16:59:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 16:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":106140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345162,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:34] local.INFO: GPS data processed {"connection_id":106140,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:34] local.INFO: Acknowledgment sent {"connection_id":106140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:38] local.INFO: TCP Data received {"connection_id":106730,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:38] local.INFO: Processing buffer {"connection_id":106730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:38] local.INFO: IMEI packet received {"connection_id":106730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 16:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":106730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:59:45] local.INFO: TCP Data received {"connection_id":106730,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:45] local.INFO: Processing buffer {"connection_id":106730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:45] local.INFO: IMEI packet received {"connection_id":106730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":106730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:59:49] local.INFO: TCP Data received {"connection_id":106730,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:49] local.INFO: Processing buffer {"connection_id":106730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 16:59:49] local.INFO: IMEI packet received {"connection_id":106730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 16:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":106730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:59:50] local.INFO: TCP Data received {"connection_id":106730,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:50] local.INFO: Processing buffer {"connection_id":106730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:50] local.INFO: Packet analysis {"connection_id":106730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:59:50] local.INFO: Extracted packet for processing {"connection_id":106730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:59:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136063232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781781881000,"timestamp_ms":1781781881000,"timestamp_seconds":1781781881,"priority":1,"record_length":96,"hex_timestamp":"0000019eda79e0a8"} 
[2026-06-18 16:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136063232001,"66":25538,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 16:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136063232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 16:59:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 16:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136063232001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":106730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:51] local.INFO: GPS data processed {"connection_id":106730,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:51] local.INFO: Acknowledgment sent {"connection_id":106730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:51] local.INFO: TCP Data received {"connection_id":106731,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:59:51] local.INFO: Processing buffer {"connection_id":106731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:59:51] local.INFO: IMEI packet received {"connection_id":106731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 16:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":106731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:59:53] local.INFO: TCP Data received {"connection_id":106141,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7d8a28012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7d8a28012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:59:53] local.INFO: Processing buffer {"connection_id":106141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7d8a28012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:59:53] local.INFO: Packet analysis {"connection_id":106141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 16:59:53] local.INFO: Extracted packet for processing {"connection_id":106141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 16:59:53] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":44,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:59:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136145920001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781782121000,"timestamp_ms":1781782121000,"timestamp_seconds":1781782121,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7d8a28"} 
[2026-06-18 16:59:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:59:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:59:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:59:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:59:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:59:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:59:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:59:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136145920001,"66":25756,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:59:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:59:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:59:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136145920001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:53] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:59:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:59:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136145920001,"power":25756,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:59:53] local.INFO: DEBUG: GPS processor result {"connection_id":106141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:53] local.INFO: GPS data processed {"connection_id":106141,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:53] local.INFO: Acknowledgment sent {"connection_id":106141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:54] local.INFO: TCP Data received {"connection_id":106730,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:54] local.INFO: Processing buffer {"connection_id":106730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda79e0a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 16:59:54] local.INFO: Packet analysis {"connection_id":106730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:59:54] local.INFO: Extracted packet for processing {"connection_id":106730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda79"} 
[2026-06-18 16:59:54] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136063232001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781781881000,"timestamp_ms":1781781881000,"timestamp_seconds":1781781881,"priority":1,"record_length":96,"hex_timestamp":"0000019eda79e0a8"} 
[2026-06-18 16:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 16:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 16:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 16:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136063232001,"66":25538,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 16:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 16:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 16:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136063232001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 16:59:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 16:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 16:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136063232001,"power":25538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 16:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":106730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:54] local.INFO: GPS data processed {"connection_id":106730,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:54] local.INFO: Acknowledgment sent {"connection_id":106730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:54] local.INFO: TCP Data received {"connection_id":106141,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7d8a28012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7d8a28012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:59:54] local.INFO: Processing buffer {"connection_id":106141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7d8a28012cd4aec007377a18001600ef2c..."} 
[2026-06-18 16:59:54] local.INFO: Packet analysis {"connection_id":106141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 16:59:54] local.INFO: Extracted packet for processing {"connection_id":106141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 16:59:54] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":44,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 16:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136145920001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781782121000,"timestamp_ms":1781782121000,"timestamp_seconds":1781782121,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7d8a28"} 
[2026-06-18 16:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59: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-06-18 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 16:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 16:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 16:59:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 16:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 16:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136145920001,"66":25756,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 16:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 16:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 16:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136145920001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 16:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 16:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136145920001,"power":25756,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 16:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":106141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:54] local.INFO: GPS data processed {"connection_id":106141,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:54] local.INFO: Acknowledgment sent {"connection_id":106141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 16:59:55] local.INFO: TCP Data received {"connection_id":106731,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:59:55] local.INFO: Processing buffer {"connection_id":106731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 16:59:55] local.INFO: IMEI packet received {"connection_id":106731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 16:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":106731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 16:59:56] local.INFO: TCP Data received {"connection_id":106142,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:59:56] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 16:59:56] local.INFO: IMEI packet received {"connection_id":106142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 16:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":106142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 16:59:56] local.INFO: TCP Data received {"connection_id":106731,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ca3b0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ca3b0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:59:56] local.INFO: Processing buffer {"connection_id":106731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ca3b0012d1969c0071fec18003b011726..."} 
[2026-06-18 16:59:56] local.INFO: Packet analysis {"connection_id":106731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 16:59:56] local.INFO: Extracted packet for processing {"connection_id":106731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 16:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 16: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-06-18 16:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136202496001,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 16:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 16:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781782062000,"timestamp_ms":1781782062000,"timestamp_seconds":1781782062,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ca3b0"} 
[2026-06-18 16:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 16:59:56] 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-06-18 16: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 16:59:56] 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-06-18 16: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-06-18 16:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 16:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 16:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 16:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 16:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 16:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 16:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 16:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136202496001,"66":12385,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 16:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 16:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 16:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136202496001,"description":"Unknown IO ID 0"} 
[2026-06-18 16:59:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 16:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 16:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 16:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 16:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136202496001,"power":12385,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 16:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":106731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 16:59:57] local.INFO: GPS data processed {"connection_id":106731,"processed":1,"errors":0,"total":1} 
[2026-06-18 16:59:57] local.INFO: Acknowledgment sent {"connection_id":106731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:00:02] local.INFO: TCP Data received {"connection_id":106142,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:00:02] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:00:02] local.INFO: IMEI packet received {"connection_id":106142,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 17:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":106142,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:00:02] local.INFO: TCP Data received {"connection_id":106142,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 17:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 17:00:02] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 17:00:02] local.INFO: Packet analysis {"connection_id":106142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 17:00:02] local.INFO: Extracted packet for processing {"connection_id":106142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 17:00:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 17:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:00:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:00:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":106142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345168,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:00:02] local.INFO: GPS data processed {"connection_id":106142,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:00:02] local.INFO: Acknowledgment sent {"connection_id":106142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:00:17] local.INFO: TCP Data received {"connection_id":106731,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7cf5b8012d1969c0071fec18003b011728..."} 
[2026-06-18 17:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7cf5b8012d1969c0071fec18003b011728..."} 
[2026-06-18 17:00:17] local.INFO: Processing buffer {"connection_id":106731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7cf5b8012d1969c0071fec18003b011728..."} 
[2026-06-18 17:00:17] local.INFO: Packet analysis {"connection_id":106731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 17:00:17] local.INFO: Extracted packet for processing {"connection_id":106731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7c"} 
[2026-06-18 17:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136207872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781782083000,"timestamp_ms":1781782083000,"timestamp_seconds":1781782083,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7cf5b8"} 
[2026-06-18 17:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:00:17] 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-06-18 17:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:00:17] 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-06-18 17:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106731,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136207872001,"66":12156,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136207872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:00:17] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136207872001,"power":12156,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":106731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:00:17] local.INFO: GPS data processed {"connection_id":106731,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:00:17] local.INFO: Acknowledgment sent {"connection_id":106731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:00:24] local.INFO: TCP Data received {"connection_id":107703,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:00:24] local.INFO: Processing buffer {"connection_id":107703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:00:24] local.INFO: IMEI packet received {"connection_id":107703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":107703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:00:29] local.INFO: TCP Data received {"connection_id":107703,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:00:29] local.INFO: Processing buffer {"connection_id":107703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:00:29] local.INFO: IMEI packet received {"connection_id":107703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":107703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:00:30] local.INFO: TCP Data received {"connection_id":107703,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e5d18012cd4aec007377a18001600ef29..."} 
[2026-06-18 17:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e5d18012cd4aec007377a18001600ef29..."} 
[2026-06-18 17:00:30] local.INFO: Processing buffer {"connection_id":107703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e5d18012cd4aec007377a18001600ef29..."} 
[2026-06-18 17:00:30] local.INFO: Packet analysis {"connection_id":107703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:00:30] local.INFO: Extracted packet for processing {"connection_id":107703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:00:30] local.INFO: GPS Element Parsed {"raw_longitude":752135872,"raw_latitude":121076248,"longitude_deg":75.2135872,"latitude_deg":12.1076248,"altitude":22,"angle":239,"satellites":41,"speed":0,"hex_longitude":"2cd4aec0","hex_latitude":"07377a18","is_valid_coordinates":true} 
[2026-06-18 17:00: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-06-18 17:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136222976001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781782175000,"timestamp_ms":1781782175000,"timestamp_seconds":1781782175,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e5d18"} 
[2026-06-18 17:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 17:00:30] 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-06-18 17: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-06-18 17:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136222976001,"66":25756,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136222976001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:00:30] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 17:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136222976001,"power":25756,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 17:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":107703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:00:30] local.INFO: GPS data processed {"connection_id":107703,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:00:30] local.INFO: Acknowledgment sent {"connection_id":107703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:00:33] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:00:33] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:00:33] local.INFO: IMEI packet received {"connection_id":106143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":106143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:00:33] local.INFO: TCP Data received {"connection_id":106142,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 17:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 17:00:33] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ab398012d0ba9c00705cbd80011007829..."} 
[2026-06-18 17:00:33] local.INFO: Packet analysis {"connection_id":106142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 17:00:33] local.INFO: Extracted packet for processing {"connection_id":106142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7a"} 
[2026-06-18 17:00:33] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":41,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136098304001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781781935000,"timestamp_ms":1781781935000,"timestamp_seconds":1781781935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ab398"} 
[2026-06-18 17:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:00:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:00:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:00:33] 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-06-18 17:00:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106142,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136098304001,"66":12722,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136098304001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:00:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:00:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136098304001,"power":12722,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":106142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345171,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:00:34] local.INFO: GPS data processed {"connection_id":106142,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:00:34] local.INFO: Acknowledgment sent {"connection_id":106142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:00:38] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:00:38] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:00:38] local.INFO: IMEI packet received {"connection_id":106143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":106143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:00:39] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:00:39] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:00:39] local.INFO: Packet analysis {"connection_id":106143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:00:39] local.INFO: Extracted packet for processing {"connection_id":106143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:00:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:00:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":106143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:00:39] local.INFO: GPS data processed {"connection_id":106143,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:00:39] local.INFO: Acknowledgment sent {"connection_id":106143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:00:44] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:00:44] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:00:44] local.INFO: Packet analysis {"connection_id":106143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:00:44] local.INFO: Extracted packet for processing {"connection_id":106143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:00:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:00:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:00:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:00:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":106143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:00:44] local.INFO: GPS data processed {"connection_id":106143,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:00:44] local.INFO: Acknowledgment sent {"connection_id":106143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:00:44] local.INFO: TCP Data received {"connection_id":107704,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:44] local.INFO: Processing buffer {"connection_id":107704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:44] local.INFO: IMEI packet received {"connection_id":107704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":107704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:00:47] local.INFO: TCP Data received {"connection_id":107704,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:47] local.INFO: Processing buffer {"connection_id":107704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:47] local.INFO: IMEI packet received {"connection_id":107704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":107704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:00:49] local.INFO: TCP Data received {"connection_id":107704,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:49] local.INFO: Processing buffer {"connection_id":107704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:00:49] local.INFO: IMEI packet received {"connection_id":107704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":107704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:00:50] local.INFO: TCP Data received {"connection_id":107704,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7d47c0012d1969c0071fec18003b011727..."} 
[2026-06-18 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7d47c0012d1969c0071fec18003b011727..."} 
[2026-06-18 17:00:50] local.INFO: Processing buffer {"connection_id":107704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7d47c0012d1969c0071fec18003b011727..."} 
[2026-06-18 17:00:50] local.INFO: Packet analysis {"connection_id":107704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 17:00:50] local.INFO: Extracted packet for processing {"connection_id":107704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136213248001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781782104000,"timestamp_ms":1781782104000,"timestamp_seconds":1781782104,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7d47c0"} 
[2026-06-18 17:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:00:50] 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-06-18 17:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 17:00:50] 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-06-18 17:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136213248001,"66":12406,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136213248001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:00:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:00:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136213248001,"power":12406,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":107704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:00:51] local.INFO: GPS data processed {"connection_id":107704,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:00:51] local.INFO: Acknowledgment sent {"connection_id":107704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:00:55] local.INFO: TCP Data received {"connection_id":107704,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7d99c8012d1969c0071fec18003b011727..."} 
[2026-06-18 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7d99c8012d1969c0071fec18003b011727..."} 
[2026-06-18 17:00:55] local.INFO: Processing buffer {"connection_id":107704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7d99c8012d1969c0071fec18003b011727..."} 
[2026-06-18 17:00:55] local.INFO: Packet analysis {"connection_id":107704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 17:00:55] local.INFO: Extracted packet for processing {"connection_id":107704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 17:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136218624001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781782125000,"timestamp_ms":1781782125000,"timestamp_seconds":1781782125,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7d99c8"} 
[2026-06-18 17:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:00:55] 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-06-18 17:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 17:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136218624001,"66":12385,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136218624001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:00:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136218624001,"power":12385,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":107704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:00:55] local.INFO: GPS data processed {"connection_id":107704,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:00:55] local.INFO: Acknowledgment sent {"connection_id":107704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:02] local.INFO: TCP Data received {"connection_id":105958,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:02] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:02] local.INFO: IMEI packet received {"connection_id":105958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 17:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":105958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:01:02] local.INFO: TCP Data received {"connection_id":107703,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7eb308012cd4adc007377a48001600ef2a..."} 
[2026-06-18 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7eb308012cd4adc007377a48001600ef2a..."} 
[2026-06-18 17:01:02] local.INFO: Processing buffer {"connection_id":107703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7eb308012cd4adc007377a48001600ef2a..."} 
[2026-06-18 17:01:02] local.INFO: Packet analysis {"connection_id":107703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:02] local.INFO: Extracted packet for processing {"connection_id":107703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":752135616,"raw_latitude":121076296,"longitude_deg":75.2135616,"latitude_deg":12.1076296,"altitude":22,"angle":239,"satellites":42,"speed":0,"hex_longitude":"2cd4adc0","hex_latitude":"07377a48","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136236800001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121346354493122560,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781782197000,"timestamp_ms":1781782197000,"timestamp_seconds":1781782197,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7eb308"} 
[2026-06-18 17:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 17:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136236800001,"66":25473,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121346354493122560},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136236800001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:02] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121346354493122560,"description":"Unknown IO ID 44"} 
[2026-06-18 17:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136236800001,"power":25473,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121346354493122560}} 
[2026-06-18 17:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":107703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:02] local.INFO: GPS data processed {"connection_id":107703,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:02] local.INFO: Acknowledgment sent {"connection_id":107703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:07] local.INFO: TCP Data received {"connection_id":105958,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:07] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:07] local.INFO: IMEI packet received {"connection_id":105958,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 17:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":105958,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:01:07] local.INFO: TCP Data received {"connection_id":105958,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:01:07] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:01:07] local.INFO: Packet analysis {"connection_id":105958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:01:07] local.INFO: Extracted packet for processing {"connection_id":105958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781782236000,"timestamp_ms":1781782236000,"timestamp_seconds":1781782236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f4b60"} 
[2026-06-18 17:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:01:07] 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-06-18 17:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175360001,"66":12689,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:07] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:01:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175360001,"power":12689,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":105958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345177,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:07] local.INFO: GPS data processed {"connection_id":105958,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:07] local.INFO: Acknowledgment sent {"connection_id":105958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:12] local.INFO: TCP Data received {"connection_id":105958,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:01:12] local.INFO: Processing buffer {"connection_id":105958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:01:12] local.INFO: Packet analysis {"connection_id":105958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:01:12] local.INFO: Extracted packet for processing {"connection_id":105958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:01:12] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781782236000,"timestamp_ms":1781782236000,"timestamp_seconds":1781782236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f4b60"} 
[2026-06-18 17:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:01:12] 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-06-18 17:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105958,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175360001,"66":12689,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:12] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:01:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175360001,"power":12689,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":105958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345178,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:12] local.INFO: GPS data processed {"connection_id":105958,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:12] local.INFO: Acknowledgment sent {"connection_id":105958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:16] local.INFO: TCP Data received {"connection_id":106143,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:01:16] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:01:16] local.INFO: Packet analysis {"connection_id":106143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:16] local.INFO: Extracted packet for processing {"connection_id":106143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106143,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":106143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:16] local.INFO: GPS data processed {"connection_id":106143,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:16] local.INFO: Acknowledgment sent {"connection_id":106143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:24] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:01:24] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:01:24] local.INFO: IMEI packet received {"connection_id":106144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":106144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:01:27] local.INFO: TCP Data received {"connection_id":107704,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7debd0012d1969c0071fec18003b011728..."} 
[2026-06-18 17:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7debd0012d1969c0071fec18003b011728..."} 
[2026-06-18 17:01:27] local.INFO: Processing buffer {"connection_id":107704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7debd0012d1969c0071fec18003b011728..."} 
[2026-06-18 17:01:27] local.INFO: Packet analysis {"connection_id":107704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 17:01:27] local.INFO: Extracted packet for processing {"connection_id":107704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7d"} 
[2026-06-18 17:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136224000001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781782146000,"timestamp_ms":1781782146000,"timestamp_seconds":1781782146,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7debd0"} 
[2026-06-18 17:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01:27] 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-06-18 17:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:01:27] 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-06-18 17: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-06-18 17:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136224000001,"66":12385,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136224000001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136224000001,"power":12385,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":107704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:27] local.INFO: GPS data processed {"connection_id":107704,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:27] local.INFO: Acknowledgment sent {"connection_id":107704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:29] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:01:29] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:01:29] local.INFO: IMEI packet received {"connection_id":106144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":106144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:01:31] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f0510012cd4adc007377a48001600ef29..."} 
[2026-06-18 17:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f0510012cd4adc007377a48001600ef29..."} 
[2026-06-18 17:01:31] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f0510012cd4adc007377a48001600ef29..."} 
[2026-06-18 17:01:31] local.INFO: Packet analysis {"connection_id":106144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:01:31] local.INFO: Extracted packet for processing {"connection_id":106144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:01:31] local.INFO: GPS Element Parsed {"raw_longitude":752135616,"raw_latitude":121076296,"longitude_deg":75.2135616,"latitude_deg":12.1076296,"altitude":22,"angle":239,"satellites":41,"speed":0,"hex_longitude":"2cd4adc0","hex_latitude":"07377a48","is_valid_coordinates":true} 
[2026-06-18 17:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136242432001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781782218000,"timestamp_ms":1781782218000,"timestamp_seconds":1781782218,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f0510"} 
[2026-06-18 17:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 17:01: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-06-18 17:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136242432001,"66":27745,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136242432001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:31] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 17:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136242432001,"power":27745,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 17:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":106144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:31] local.INFO: GPS data processed {"connection_id":106144,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:31] local.INFO: Acknowledgment sent {"connection_id":106144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:33] local.INFO: TCP Data received {"connection_id":107705,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:01:33] local.INFO: Processing buffer {"connection_id":107705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:01:33] local.INFO: IMEI packet received {"connection_id":107705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":107705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:01:35] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f5718012cd4adc007377a48001600ef2b..."} 
[2026-06-18 17:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f5718012cd4adc007377a48001600ef2b..."} 
[2026-06-18 17:01:35] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f5718012cd4adc007377a48001600ef2b..."} 
[2026-06-18 17:01:35] local.INFO: Packet analysis {"connection_id":106144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:01:35] local.INFO: Extracted packet for processing {"connection_id":106144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:01:35] local.INFO: GPS Element Parsed {"raw_longitude":752135616,"raw_latitude":121076296,"longitude_deg":75.2135616,"latitude_deg":12.1076296,"altitude":22,"angle":239,"satellites":43,"speed":0,"hex_longitude":"2cd4adc0","hex_latitude":"07377a48","is_valid_coordinates":true} 
[2026-06-18 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136247808001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781782239000,"timestamp_ms":1781782239000,"timestamp_seconds":1781782239,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f5718"} 
[2026-06-18 17:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01: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-06-18 17:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:01: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-06-18 17:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136247808001,"66":27919,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136247808001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:35] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 17:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136247808001,"power":27919,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 17:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":106144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:35] local.INFO: GPS data processed {"connection_id":106144,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:35] local.INFO: Acknowledgment sent {"connection_id":106144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:39] local.INFO: TCP Data received {"connection_id":107705,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:01:39] local.INFO: Processing buffer {"connection_id":107705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:01:39] local.INFO: IMEI packet received {"connection_id":107705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":107705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:01:49] local.INFO: TCP Data received {"connection_id":105959,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:01:49] local.INFO: Processing buffer {"connection_id":105959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:01:49] local.INFO: IMEI packet received {"connection_id":105959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":105959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:01:51] local.INFO: TCP Data received {"connection_id":105959,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:01:51] local.INFO: Processing buffer {"connection_id":105959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:01:51] local.INFO: IMEI packet received {"connection_id":105959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":105959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:01:52] local.INFO: TCP Data received {"connection_id":105959,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e3dd8012d1969c0071fec18003b011727..."} 
[2026-06-18 17:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e3dd8012d1969c0071fec18003b011727..."} 
[2026-06-18 17:01:52] local.INFO: Processing buffer {"connection_id":105959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e3dd8012d1969c0071fec18003b011727..."} 
[2026-06-18 17:01:52] local.INFO: Packet analysis {"connection_id":105959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:52] local.INFO: Extracted packet for processing {"connection_id":105959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136229376001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781782167000,"timestamp_ms":1781782167000,"timestamp_seconds":1781782167,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e3dd8"} 
[2026-06-18 17:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01:52] 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-06-18 17:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:01:52] 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-06-18 17:01:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":105959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":105959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":105959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136229376001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136229376001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:01:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136229376001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":105959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:52] local.INFO: GPS data processed {"connection_id":105959,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:52] local.INFO: Acknowledgment sent {"connection_id":105959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:55] local.INFO: TCP Data received {"connection_id":105959,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e8fe0012d1969c0071fec18003b011727..."} 
[2026-06-18 17:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e8fe0012d1969c0071fec18003b011727..."} 
[2026-06-18 17:01:55] local.INFO: Processing buffer {"connection_id":105959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e8fe0012d1969c0071fec18003b011727..."} 
[2026-06-18 17:01:55] local.INFO: Packet analysis {"connection_id":105959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:55] local.INFO: Extracted packet for processing {"connection_id":105959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136234752001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781782188000,"timestamp_ms":1781782188000,"timestamp_seconds":1781782188,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e8fe0"} 
[2026-06-18 17:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:01:55] 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-06-18 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:01:55] 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-06-18 17: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-06-18 17:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":105959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":105959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":105959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136234752001,"66":12385,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136234752001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136234752001,"power":12385,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":105959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:55] local.INFO: GPS data processed {"connection_id":105959,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:55] local.INFO: Acknowledgment sent {"connection_id":105959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:01:57] local.INFO: TCP Data received {"connection_id":106145,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:57] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:01:57] local.INFO: IMEI packet received {"connection_id":106145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 17:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":106145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:01:57] local.INFO: TCP Data received {"connection_id":107705,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:01:57] local.INFO: Processing buffer {"connection_id":107705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:01:57] local.INFO: Packet analysis {"connection_id":107705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:57] local.INFO: Extracted packet for processing {"connection_id":107705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:01:57] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 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-06-18 17:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 17:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":107705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":107705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":107705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:01:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:01:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":107705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:01:57] local.INFO: GPS data processed {"connection_id":107705,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:01:57] local.INFO: Acknowledgment sent {"connection_id":107705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:02] local.INFO: TCP Data received {"connection_id":106145,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:02:02] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:02:02] local.INFO: IMEI packet received {"connection_id":106145,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 17:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":106145,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:02:02] local.INFO: TCP Data received {"connection_id":106145,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:02:02] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:02:02] local.INFO: Packet analysis {"connection_id":106145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:02] local.INFO: Extracted packet for processing {"connection_id":106145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781782236000,"timestamp_ms":1781782236000,"timestamp_seconds":1781782236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f4b60"} 
[2026-06-18 17:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175360001,"66":12689,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:02:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175360001,"power":12689,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":106145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345186,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:02] local.INFO: GPS data processed {"connection_id":106145,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:02] local.INFO: Acknowledgment sent {"connection_id":106145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:09] local.INFO: TCP Data received {"connection_id":106144,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7fa920012cd4adc007377a48001600ef2d..."} 
[2026-06-18 17:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7fa920012cd4adc007377a48001600ef2d..."} 
[2026-06-18 17:02:09] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7fa920012cd4adc007377a48001600ef2d..."} 
[2026-06-18 17:02:09] local.INFO: Packet analysis {"connection_id":106144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:09] local.INFO: Extracted packet for processing {"connection_id":106144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":752135616,"raw_latitude":121076296,"longitude_deg":75.2135616,"latitude_deg":12.1076296,"altitude":22,"angle":239,"satellites":45,"speed":0,"hex_longitude":"2cd4adc0","hex_latitude":"07377a48","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136253184001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781782260000,"timestamp_ms":1781782260000,"timestamp_seconds":1781782260,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7fa920"} 
[2026-06-18 17:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136253184001,"66":27767,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136253184001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:09] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 17:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136253184001,"power":27767,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 17:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":106144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:09] local.INFO: GPS data processed {"connection_id":106144,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:09] local.INFO: Acknowledgment sent {"connection_id":106144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:24] local.INFO: TCP Data received {"connection_id":106732,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:02:24] local.INFO: Processing buffer {"connection_id":106732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:02:24] local.INFO: IMEI packet received {"connection_id":106732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":106732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:02:27] local.INFO: TCP Data received {"connection_id":105959,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ee1e8012d1969c0071fec18003b011726..."} 
[2026-06-18 17:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ee1e8012d1969c0071fec18003b011726..."} 
[2026-06-18 17:02:27] local.INFO: Processing buffer {"connection_id":105959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7ee1e8012d1969c0071fec18003b011726..."} 
[2026-06-18 17:02:27] local.INFO: Packet analysis {"connection_id":105959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:02:27] local.INFO: Extracted packet for processing {"connection_id":105959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136240128001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781782209000,"timestamp_ms":1781782209000,"timestamp_seconds":1781782209,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ee1e8"} 
[2026-06-18 17:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:27] 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-06-18 17:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:27] 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-06-18 17:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":105959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":105959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":105959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136240128001,"66":12385,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136240128001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136240128001,"power":12385,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":105959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:28] local.INFO: GPS data processed {"connection_id":105959,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:28] local.INFO: Acknowledgment sent {"connection_id":105959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:33] local.INFO: TCP Data received {"connection_id":106145,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:02:33] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:02:33] local.INFO: Packet analysis {"connection_id":106145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:33] local.INFO: Extracted packet for processing {"connection_id":106145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:33] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:02:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781782236000,"timestamp_ms":1781782236000,"timestamp_seconds":1781782236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f4b60"} 
[2026-06-18 17:02:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:02:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:33] 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-06-18 17:02:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:02:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:02:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106145,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:02:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:02:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:02:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175360001,"66":12689,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:02:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:02:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:02:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:02:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:02:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:02:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175360001,"power":12689,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:02:34] local.INFO: TCP Data received {"connection_id":106732,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:02:34] local.INFO: Processing buffer {"connection_id":106732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:02:34] local.INFO: IMEI packet received {"connection_id":106732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:02:34] local.INFO: IMEI acknowledgment sent {"connection_id":106732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":106145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345189,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:34] local.INFO: GPS data processed {"connection_id":106145,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:34] local.INFO: Acknowledgment sent {"connection_id":106145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:38] local.INFO: TCP Data received {"connection_id":106732,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106732,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:02:38] local.INFO: Processing buffer {"connection_id":106732,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:02:38] local.INFO: IMEI packet received {"connection_id":106732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":106732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:02:38] local.INFO: TCP Data received {"connection_id":105960,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:02:38] local.INFO: Processing buffer {"connection_id":105960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:02:38] local.INFO: IMEI packet received {"connection_id":105960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":105960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:02:43] local.INFO: TCP Data received {"connection_id":105960,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:02:43] local.INFO: Processing buffer {"connection_id":105960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:02:43] local.INFO: IMEI packet received {"connection_id":105960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":105960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:02:45] local.INFO: TCP Data received {"connection_id":105960,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:02:45] local.INFO: Processing buffer {"connection_id":105960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:02:45] local.INFO: Packet analysis {"connection_id":105960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:02:45] local.INFO: Extracted packet for processing {"connection_id":105960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":105960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":105960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":105960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":105960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:45] local.INFO: GPS data processed {"connection_id":105960,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:45] local.INFO: Acknowledgment sent {"connection_id":105960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:45] local.INFO: TCP Data received {"connection_id":107707,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:02:45] local.INFO: Processing buffer {"connection_id":107707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:02:45] local.INFO: IMEI packet received {"connection_id":107707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":107707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:02:48] local.INFO: TCP Data received {"connection_id":106732,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7ffb28012cd4adc007377a48001600ef2b..."} 
[2026-06-18 17:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7ffb28012cd4adc007377a48001600ef2b..."} 
[2026-06-18 17:02:48] local.INFO: Processing buffer {"connection_id":106732,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019eda..."} 
[2026-06-18 17:02:48] local.INFO: IMEI packet received {"connection_id":106732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":106732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:02:49] local.INFO: TCP Data received {"connection_id":105960,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:02:49] local.INFO: Processing buffer {"connection_id":105960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:02:49] local.INFO: Packet analysis {"connection_id":105960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:02:49] local.INFO: Extracted packet for processing {"connection_id":105960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:02:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:02:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":105960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:49] local.INFO: GPS data processed {"connection_id":105960,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:49] local.INFO: Acknowledgment sent {"connection_id":105960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:50] local.INFO: TCP Data received {"connection_id":107707,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107707,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:02:50] local.INFO: Processing buffer {"connection_id":107707,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:02:50] local.INFO: IMEI packet received {"connection_id":107707,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":107707,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:02:51] local.INFO: TCP Data received {"connection_id":106732,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda801680012cd4aa8007377a30001401072f..."} 
[2026-06-18 17:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda801680012cd4aa8007377a30001401072f..."} 
[2026-06-18 17:02:51] local.INFO: Processing buffer {"connection_id":106732,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019eda7ffb28012cd4adc007377a48001600ef2b..."} 
[2026-06-18 17:02:51] local.INFO: Packet analysis {"connection_id":106732,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:51] local.INFO: Extracted packet for processing {"connection_id":106732,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:51] local.INFO: GPS Element Parsed {"raw_longitude":752135616,"raw_latitude":121076296,"longitude_deg":75.2135616,"latitude_deg":12.1076296,"altitude":22,"angle":239,"satellites":43,"speed":0,"hex_longitude":"2cd4adc0","hex_latitude":"07377a48","is_valid_coordinates":true} 
[2026-06-18 17:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136258560001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701232086581248,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781782281000,"timestamp_ms":1781782281000,"timestamp_seconds":1781782281,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7ffb28"} 
[2026-06-18 17:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:51] 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-06-18 17:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136258560001,"66":27713,"231":206,"2":56832,"24":0,"16":318701232086581248,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136258560001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:51] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701232086581248,"km_value":318701232086581.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 17:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136258560001,"power":27713,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 17:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":106732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:51] local.INFO: GPS data processed {"connection_id":106732,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:51] local.INFO: Acknowledgment sent {"connection_id":106732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:51] local.INFO: Packet analysis {"connection_id":106732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:02:51] local.INFO: Extracted packet for processing {"connection_id":106732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:02:51] local.INFO: GPS Element Parsed {"raw_longitude":752134784,"raw_latitude":121076272,"longitude_deg":75.2134784,"latitude_deg":12.1076272,"altitude":20,"angle":263,"satellites":47,"speed":8,"hex_longitude":"2cd4aa80","hex_latitude":"07377a30","is_valid_coordinates":true} 
[2026-06-18 17:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136263936001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701270741286912,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3121627829469820928,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781782288000,"timestamp_ms":1781782288000,"timestamp_seconds":1781782288,"priority":1,"record_length":96,"hex_timestamp":"0000019eda801680"} 
[2026-06-18 17:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:51] 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-06-18 17:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:51] 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-06-18 17:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136263936001,"66":27919,"231":206,"2":56832,"24":8,"16":318701270741286912,"44":-3121627829469820928},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136263936001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:51] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701270741286912,"km_value":318701270741286.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3121627829469820928,"description":"Unknown IO ID 44"} 
[2026-06-18 17:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136263936001,"power":27919,"unknown_231":206,"power_alt":56832,"ignition":8,"odometer":null,"unknown_44":-3121627829469820928}} 
[2026-06-18 17:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":106732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:51] local.INFO: GPS data processed {"connection_id":106732,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:51] local.INFO: Acknowledgment sent {"connection_id":106732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:52] local.INFO: TCP Data received {"connection_id":107707,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f33f0012d1969c0071fec18003b011728..."} 
[2026-06-18 17:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f33f0012d1969c0071fec18003b011728..."} 
[2026-06-18 17:02:52] local.INFO: Processing buffer {"connection_id":107707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f33f0012d1969c0071fec18003b011728..."} 
[2026-06-18 17:02:52] local.INFO: Packet analysis {"connection_id":107707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:52] local.INFO: Extracted packet for processing {"connection_id":107707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:02:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:02:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781782230000,"timestamp_ms":1781782230000,"timestamp_seconds":1781782230,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f33f0"} 
[2026-06-18 17:02:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:52] 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-06-18 17: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:52] 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-06-18 17: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-06-18 17:02:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:02:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:02:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:02:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:02:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136245504001,"66":12298,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:02:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:02:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:02:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:02:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:02:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:02:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136245504001,"power":12298,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:02:52] local.INFO: DEBUG: GPS processor result {"connection_id":107707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:52] local.INFO: GPS data processed {"connection_id":107707,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:52] local.INFO: Acknowledgment sent {"connection_id":107707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:54] local.INFO: TCP Data received {"connection_id":106732,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda801e50012cd4a88007377980001300f630..."} 
[2026-06-18 17:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda801e50012cd4a88007377980001300f630..."} 
[2026-06-18 17:02:54] local.INFO: Processing buffer {"connection_id":106732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda801e50012cd4a88007377980001300f630..."} 
[2026-06-18 17:02:54] local.INFO: Packet analysis {"connection_id":106732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:02:54] local.INFO: Extracted packet for processing {"connection_id":106732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":752134272,"raw_latitude":121076096,"longitude_deg":75.2134272,"latitude_deg":12.1076096,"altitude":19,"angle":246,"satellites":48,"speed":14,"hex_longitude":"2cd4a880","hex_latitude":"07377980","is_valid_coordinates":true} 
[2026-06-18 17:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:02:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136265728001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701296511090688,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3122542623144136704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:02:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:02:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781782290000,"timestamp_ms":1781782290000,"timestamp_seconds":1781782290,"priority":1,"record_length":96,"hex_timestamp":"0000019eda801e50"} 
[2026-06-18 17:02:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:02:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:02:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:02:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:02:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:02:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:02:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:02:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:02:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:02:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:02:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:02:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:02:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:02:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136265728001,"66":27865,"231":206,"2":56832,"24":14,"16":318701296511090688,"44":-3122542623144136704},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:02:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:02:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:02:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136265728001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:02:54] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:02:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701296511090688,"km_value":318701296511090.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:02:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3122542623144136704,"description":"Unknown IO ID 44"} 
[2026-06-18 17:02:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136265728001,"power":27865,"unknown_231":206,"power_alt":56832,"ignition":14,"odometer":null,"unknown_44":-3122542623144136704}} 
[2026-06-18 17:02:54] local.INFO: DEBUG: GPS processor result {"connection_id":106732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:02:54] local.INFO: GPS data processed {"connection_id":106732,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:02:54] local.INFO: Acknowledgment sent {"connection_id":106732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:02:57] local.INFO: TCP Data received {"connection_id":106733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106733,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:02:57] local.INFO: Processing buffer {"connection_id":106733,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:02:57] local.INFO: IMEI packet received {"connection_id":106733,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 17:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":106733,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:03:02] local.INFO: TCP Data received {"connection_id":106733,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106733,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:03:02] local.INFO: Processing buffer {"connection_id":106733,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:03:02] local.INFO: IMEI packet received {"connection_id":106733,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 17:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":106733,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:03:02] local.INFO: TCP Data received {"connection_id":106733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:03:02] local.INFO: Processing buffer {"connection_id":106733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:03:02] local.INFO: Packet analysis {"connection_id":106733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:03:02] local.INFO: Extracted packet for processing {"connection_id":106733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781782236000,"timestamp_ms":1781782236000,"timestamp_seconds":1781782236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f4b60"} 
[2026-06-18 17:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106733,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106733,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175360001,"66":12689,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:03:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:03:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175360001,"power":12689,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":106733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345196,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:03:02] local.INFO: GPS data processed {"connection_id":106733,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:03:02] local.INFO: Acknowledgment sent {"connection_id":106733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:03:23] local.INFO: TCP Data received {"connection_id":107707,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f85f8012d1969c0071fec18003b011729..."} 
[2026-06-18 17:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f85f8012d1969c0071fec18003b011729..."} 
[2026-06-18 17:03:23] local.INFO: Processing buffer {"connection_id":107707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f85f8012d1969c0071fec18003b011729..."} 
[2026-06-18 17:03:23] local.INFO: Packet analysis {"connection_id":107707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:03:23] local.INFO: Extracted packet for processing {"connection_id":107707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136250880001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781782251000,"timestamp_ms":1781782251000,"timestamp_seconds":1781782251,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f85f8"} 
[2026-06-18 17:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:03:23] 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-06-18 17:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2703015505686619799,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":196,"raw_value":8718968878589280257,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513388470370763031,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":59,"raw_value":78574399455756288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832574,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979445420884174,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960995899,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3355520281,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3296264192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:23] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,71,28,24,241,158,16,196,225,45,192,236,59,38,10,66,143,39,61,1,240,53,218,31,4,113,205,153,105,239,48,2,11,7,40],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-06-18 17:03:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251704983780589568,"timestamp_seconds":4251704983780589.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107707,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136250880001,"66":12363,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136250880001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:03:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:03:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136250880001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":107707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:03:24] local.INFO: GPS data processed {"connection_id":107707,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:03:24] local.INFO: Acknowledgment sent {"connection_id":107707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:03:33] local.INFO: TCP Data received {"connection_id":106733,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:03:33] local.INFO: Processing buffer {"connection_id":106733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:03:33] local.INFO: Packet analysis {"connection_id":106733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:03:33] local.INFO: Extracted packet for processing {"connection_id":106733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781782236000,"timestamp_ms":1781782236000,"timestamp_seconds":1781782236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f4b60"} 
[2026-06-18 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-06-18 17:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:03:33] 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-06-18 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-06-18 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-06-18 17:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106733,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106733,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175360001,"66":12689,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:03:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:03:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175360001,"power":12689,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":106733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345198,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:03:34] local.INFO: GPS data processed {"connection_id":106733,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:03:34] local.INFO: Acknowledgment sent {"connection_id":106733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:03:34] local.INFO: TCP Data received {"connection_id":106734,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:03:34] local.INFO: Processing buffer {"connection_id":106734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:03:34] local.INFO: IMEI packet received {"connection_id":106734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":106734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:03:34] local.INFO: TCP Data received {"connection_id":107709,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:03:34] local.INFO: Processing buffer {"connection_id":107709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:03:34] local.INFO: IMEI packet received {"connection_id":107709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:03:34] local.INFO: IMEI acknowledgment sent {"connection_id":107709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:03:38] local.INFO: TCP Data received {"connection_id":106734,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:03:38] local.INFO: Processing buffer {"connection_id":106734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:03:38] local.INFO: IMEI packet received {"connection_id":106734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":106734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:03:40] local.INFO: TCP Data received {"connection_id":107709,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:03:40] local.INFO: Processing buffer {"connection_id":107709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:03:40] local.INFO: IMEI packet received {"connection_id":107709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:03:40] local.INFO: IMEI acknowledgment sent {"connection_id":107709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:03:40] local.INFO: TCP Data received {"connection_id":106734,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:03:40] local.INFO: Processing buffer {"connection_id":106734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:03:40] local.INFO: Packet analysis {"connection_id":106734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:03:40] local.INFO: Extracted packet for processing {"connection_id":106734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:03:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":106734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:03:40] local.INFO: GPS data processed {"connection_id":106734,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:03:40] local.INFO: Acknowledgment sent {"connection_id":106734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:03:41] local.INFO: TCP Data received {"connection_id":107709,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8064a0012cd4868007376b00001100ff30..."} 
[2026-06-18 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8064a0012cd4868007376b00001100ff30..."} 
[2026-06-18 17:03:41] local.INFO: Processing buffer {"connection_id":107709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8064a0012cd4868007376b00001100ff30..."} 
[2026-06-18 17:03:41] local.INFO: Packet analysis {"connection_id":107709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:03:41] local.INFO: Extracted packet for processing {"connection_id":107709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":752125568,"raw_latitude":121072384,"longitude_deg":75.2125568,"latitude_deg":12.1072384,"altitude":17,"angle":255,"satellites":48,"speed":25,"hex_longitude":"2cd48680","hex_latitude":"07376b00","is_valid_coordinates":true} 
[2026-06-18 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136266240001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318701747482656768,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3123105573097603072,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,231,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781782308000,"timestamp_ms":1781782308000,"timestamp_seconds":1781782308,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8064a0"} 
[2026-06-18 17:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:03:41] 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-06-18 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 17:03: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-06-18 17:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136266240001,"66":27767,"231":206,"2":56832,"24":25,"16":318701747482656768,"44":-3123105573097603072},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-06-18 17:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136266240001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:03:41] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-06-18 17:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318701747482656768,"km_value":318701747482656.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:03:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3123105573097603072,"description":"Unknown IO ID 44"} 
[2026-06-18 17:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136266240001,"power":27767,"unknown_231":206,"power_alt":56832,"ignition":25,"odometer":null,"unknown_44":-3123105573097603072}} 
[2026-06-18 17:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":107709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:03:41] local.INFO: GPS data processed {"connection_id":107709,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:03:41] local.INFO: Acknowledgment sent {"connection_id":107709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:03:44] local.INFO: TCP Data received {"connection_id":106734,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:03:44] local.INFO: Processing buffer {"connection_id":106734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:03:44] local.INFO: Packet analysis {"connection_id":106734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:03:44] local.INFO: Extracted packet for processing {"connection_id":106734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:03:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:03:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":106734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:03:44] local.INFO: GPS data processed {"connection_id":106734,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:03:44] local.INFO: Acknowledgment sent {"connection_id":106734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:03:44] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:03:44] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:03:44] local.INFO: IMEI packet received {"connection_id":105961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":105961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:03:49] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:03:49] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:03:49] local.INFO: IMEI packet received {"connection_id":105961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":105961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:03:51] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7fd800012d1969c0071fec18003b011729..."} 
[2026-06-18 17:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7fd800012d1969c0071fec18003b011729..."} 
[2026-06-18 17:03:51] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7fd800012d1969c0071fec18003b011729..."} 
[2026-06-18 17:03:51] local.INFO: Packet analysis {"connection_id":105961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:03:51] local.INFO: Extracted packet for processing {"connection_id":105961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136256256001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781782272000,"timestamp_ms":1781782272000,"timestamp_seconds":1781782272,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7fd800"} 
[2026-06-18 17:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 17:03:51] 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-06-18 17:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136256256001,"66":12319,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136256256001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:03:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136256256001,"power":12319,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":105961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:03:51] local.INFO: GPS data processed {"connection_id":105961,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:03:51] local.INFO: Acknowledgment sent {"connection_id":105961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:03:56] local.INFO: TCP Data received {"connection_id":106146,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:03:56] local.INFO: Processing buffer {"connection_id":106146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:03:56] local.INFO: IMEI packet received {"connection_id":106146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 17:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":106146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:04:02] local.INFO: TCP Data received {"connection_id":106146,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106146,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:04:02] local.INFO: Processing buffer {"connection_id":106146,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:04:02] local.INFO: IMEI packet received {"connection_id":106146,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 17:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":106146,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:04:02] local.INFO: TCP Data received {"connection_id":106146,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:04:02] local.INFO: Processing buffer {"connection_id":106146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:04:02] local.INFO: Packet analysis {"connection_id":106146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:04:02] local.INFO: Extracted packet for processing {"connection_id":106146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:04:02] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781782236000,"timestamp_ms":1781782236000,"timestamp_seconds":1781782236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f4b60"} 
[2026-06-18 17:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175360001,"66":12689,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:04:02] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:04:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175360001,"power":12689,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":106146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345203,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:04:02] local.INFO: GPS data processed {"connection_id":106146,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:04:02] local.INFO: Acknowledgment sent {"connection_id":106146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:04:16] local.INFO: TCP Data received {"connection_id":106734,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:16] local.INFO: Processing buffer {"connection_id":106734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:16] local.INFO: Packet analysis {"connection_id":106734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:04:16] local.INFO: Extracted packet for processing {"connection_id":106734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:04:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:04:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:04:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:04:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:04:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:04:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:04:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:04:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:04:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:04:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:04:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:04:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:04:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:04:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:04:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:04:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:04:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:04:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:04:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:04:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:04:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:04:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:04:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:04:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:04:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:04:16] local.INFO: DEBUG: GPS processor result {"connection_id":106734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:04:16] local.INFO: GPS data processed {"connection_id":106734,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:04:16] local.INFO: Acknowledgment sent {"connection_id":106734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:04:24] local.INFO: TCP Data received {"connection_id":105961,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda802a08012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda802a08012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:04:24] local.INFO: Processing buffer {"connection_id":105961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda802a08012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:04:24] local.INFO: Packet analysis {"connection_id":105961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:04:24] local.INFO: Extracted packet for processing {"connection_id":105961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136261632001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781782293000,"timestamp_ms":1781782293000,"timestamp_seconds":1781782293,"priority":1,"record_length":96,"hex_timestamp":"0000019eda802a08"} 
[2026-06-18 17:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:04:24] 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-06-18 17: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 17:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":105961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":105961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":105961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136261632001,"66":12319,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136261632001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:04:24] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:04:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136261632001,"power":12319,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":105961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:04:24] local.INFO: GPS data processed {"connection_id":105961,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:04:24] local.INFO: Acknowledgment sent {"connection_id":105961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:04:24] local.INFO: TCP Data received {"connection_id":107710,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:04:24] local.INFO: Processing buffer {"connection_id":107710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:04:24] local.INFO: IMEI packet received {"connection_id":107710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":107710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:04:30] local.INFO: TCP Data received {"connection_id":107710,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:04:30] local.INFO: Processing buffer {"connection_id":107710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:04:30] local.INFO: IMEI packet received {"connection_id":107710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":107710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:04:33] local.INFO: TCP Data received {"connection_id":105962,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:04:33] local.INFO: Processing buffer {"connection_id":105962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:04:33] local.INFO: IMEI packet received {"connection_id":105962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":105962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:04:33] local.INFO: TCP Data received {"connection_id":106146,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:04:33] local.INFO: Processing buffer {"connection_id":106146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7f4b60012d0ba9c00705cbd8001100782c..."} 
[2026-06-18 17:04:33] local.INFO: Packet analysis {"connection_id":106146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:04:33] local.INFO: Extracted packet for processing {"connection_id":106146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7f"} 
[2026-06-18 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":755739072,"raw_latitude":117820376,"longitude_deg":75.5739072,"latitude_deg":11.7820376,"altitude":17,"angle":120,"satellites":44,"speed":0,"hex_longitude":"2d0ba9c0","hex_latitude":"0705cbd8","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136175360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21198468219404288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":840413941875857408,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,165,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781782236000,"timestamp_ms":1781782236000,"timestamp_seconds":1781782236,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7f4b60"} 
[2026-06-18 17:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:04:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:04:33] 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-06-18 17: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-06-18 17:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106146,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136175360001,"66":12689,"165":206,"94":10240,"24":0,"16":21198468219404288,"45":840413941875857408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,94,24,16,45]} 
[2026-06-18 17:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136175360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:04:33] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:04:33] local.INFO: Unknown IO ID detected {"io_id":94,"value":10240,"description":"Unknown IO ID 94"} 
[2026-06-18 17:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21198468219404288,"km_value":21198468219404.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":840413941875857408,"description":"Unknown IO ID 45"} 
[2026-06-18 17:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136175360001,"power":12689,"unknown_165":206,"unknown_94":10240,"ignition":0,"odometer":null,"unknown_45":840413941875857408}} 
[2026-06-18 17:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":106146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345206,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:04:34] local.INFO: GPS data processed {"connection_id":106146,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:04:34] local.INFO: Acknowledgment sent {"connection_id":106146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:04:35] local.INFO: TCP Data received {"connection_id":107710,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda80aaf0012cd46300073763480012010a29..."} 
[2026-06-18 17:04:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda80aaf0012cd46300073763480012010a29..."} 
[2026-06-18 17:04:35] local.INFO: Processing buffer {"connection_id":107710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda80aaf0012cd46300073763480012010a29..."} 
[2026-06-18 17:04:35] local.INFO: Packet analysis {"connection_id":107710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:04:35] local.INFO: Extracted packet for processing {"connection_id":107710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":752116480,"raw_latitude":121070408,"longitude_deg":75.211648,"latitude_deg":12.1070408,"altitude":18,"angle":266,"satellites":41,"speed":24,"hex_longitude":"2cd46300","hex_latitude":"07376348","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:04:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136270848001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318702189864288256,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3132675722306715648,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:04:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781782326000,"timestamp_ms":1781782326000,"timestamp_seconds":1781782326,"priority":1,"record_length":96,"hex_timestamp":"0000019eda80aaf0"} 
[2026-06-18 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-06-18 17:04:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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-06-18 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-06-18 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-06-18 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-06-18 17:04:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:04:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:04:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:04:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:04:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:04:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:04:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:04:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136270848001,"66":27995,"254":206,"2":56832,"24":24,"16":318702189864288256,"44":-3132675722306715648},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-18 17:04:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:04:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:04:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136270848001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:04:35] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 17:04:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318702189864288256,"km_value":318702189864288.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:04:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3132675722306715648,"description":"Unknown IO ID 44"} 
[2026-06-18 17:04:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136270848001,"power":27995,"unknown_254":206,"power_alt":56832,"ignition":24,"odometer":null,"unknown_44":-3132675722306715648}} 
[2026-06-18 17:04:35] local.INFO: DEBUG: GPS processor result {"connection_id":107710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:04:35] local.INFO: GPS data processed {"connection_id":107710,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:04:35] local.INFO: Acknowledgment sent {"connection_id":107710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:04:38] local.INFO: TCP Data received {"connection_id":105962,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105962,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:04:38] local.INFO: Processing buffer {"connection_id":105962,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:04:38] local.INFO: IMEI packet received {"connection_id":105962,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":105962,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:04:46] local.INFO: TCP Data received {"connection_id":105962,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:46] local.INFO: Processing buffer {"connection_id":105962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:46] local.INFO: Packet analysis {"connection_id":105962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:04:46] local.INFO: Extracted packet for processing {"connection_id":105962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":105962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":105962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":105962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:04:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:04:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:04:47] local.INFO: DEBUG: GPS processor result {"connection_id":105962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:04:47] local.INFO: GPS data processed {"connection_id":105962,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:04:47] local.INFO: Acknowledgment sent {"connection_id":105962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:04:48] local.INFO: TCP Data received {"connection_id":105962,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:48] local.INFO: Processing buffer {"connection_id":105962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda7e7870012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:04:48] local.INFO: Packet analysis {"connection_id":105962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:04:48] local.INFO: Extracted packet for processing {"connection_id":105962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda7e"} 
[2026-06-18 17:04:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:04: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-06-18 17:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136161536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781782182000,"timestamp_ms":1781782182000,"timestamp_seconds":1781782182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda7e7870"} 
[2026-06-18 17:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 17:04:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:04:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":105962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":105962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":105962,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136161536001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136161536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:04:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:04:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136161536001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:04:48] local.INFO: DEBUG: GPS processor result {"connection_id":105962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:04:48] local.INFO: GPS data processed {"connection_id":105962,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:04:48] local.INFO: Acknowledgment sent {"connection_id":105962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:04:54] local.INFO: TCP Data received {"connection_id":106735,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:04:54] local.INFO: Processing buffer {"connection_id":106735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:04:54] local.INFO: IMEI packet received {"connection_id":106735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":106735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:04:55] local.INFO: TCP Data received {"connection_id":106735,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:04:55] local.INFO: Processing buffer {"connection_id":106735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:04:55] local.INFO: IMEI packet received {"connection_id":106735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":106735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:04:56] local.INFO: TCP Data received {"connection_id":106735,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda807c10012d1969c0071fec18003b011729..."} 
[2026-06-18 17:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda807c10012d1969c0071fec18003b011729..."} 
[2026-06-18 17:04:56] local.INFO: Processing buffer {"connection_id":106735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda807c10012d1969c0071fec18003b011729..."} 
[2026-06-18 17:04:56] local.INFO: Packet analysis {"connection_id":106735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:04:56] local.INFO: Extracted packet for processing {"connection_id":106735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:04:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136267008001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781782314000,"timestamp_ms":1781782314000,"timestamp_seconds":1781782314,"priority":1,"record_length":96,"hex_timestamp":"0000019eda807c10"} 
[2026-06-18 17:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:04:56] 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-06-18 17: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 17:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136267008001,"66":11417,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136267008001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:04:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136267008001,"power":11417,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":106735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345210,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:04:56] local.INFO: GPS data processed {"connection_id":106735,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:04:56] local.INFO: Acknowledgment sent {"connection_id":106735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:05:00] local.INFO: TCP Data received {"connection_id":106735,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda80ce18012d1969c0071fec18003b011729..."} 
[2026-06-18 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda80ce18012d1969c0071fec18003b011729..."} 
[2026-06-18 17:05:00] local.INFO: Processing buffer {"connection_id":106735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda80ce18012d1969c0071fec18003b011729..."} 
[2026-06-18 17:05:00] local.INFO: Packet analysis {"connection_id":106735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:05:00] local.INFO: Extracted packet for processing {"connection_id":106735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:05:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136272384001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781782335000,"timestamp_ms":1781782335000,"timestamp_seconds":1781782335,"priority":1,"record_length":96,"hex_timestamp":"0000019eda80ce18"} 
[2026-06-18 17:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":44,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-18 17:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1795,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136272384001,"66":12254,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136272384001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:05:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136272384001,"power":12254,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":106735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:05:00] local.INFO: GPS data processed {"connection_id":106735,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:05:00] local.INFO: Acknowledgment sent {"connection_id":106735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:05:24] local.INFO: TCP Data received {"connection_id":107711,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:05:24] local.INFO: Processing buffer {"connection_id":107711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:05:24] local.INFO: IMEI packet received {"connection_id":107711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":107711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:05:30] local.INFO: TCP Data received {"connection_id":107711,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:05:30] local.INFO: Processing buffer {"connection_id":107711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:05:30] local.INFO: IMEI packet received {"connection_id":107711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:05:30] local.INFO: IMEI acknowledgment sent {"connection_id":107711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:05:31] local.INFO: TCP Data received {"connection_id":107711,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda80fcf8012cd44640073760500014010229..."} 
[2026-06-18 17:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda80fcf8012cd44640073760500014010229..."} 
[2026-06-18 17:05:31] local.INFO: Processing buffer {"connection_id":107711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda80fcf8012cd44640073760500014010229..."} 
[2026-06-18 17:05:31] local.INFO: Packet analysis {"connection_id":107711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:05:31] local.INFO: Extracted packet for processing {"connection_id":107711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda80"} 
[2026-06-18 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":752109120,"raw_latitude":121069648,"longitude_deg":75.210912,"latitude_deg":12.1069648,"altitude":20,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2cd44640","hex_latitude":"07376050","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136275456001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318702542051606528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3142668083980449792,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781782347000,"timestamp_ms":1781782347000,"timestamp_seconds":1781782347,"priority":1,"record_length":96,"hex_timestamp":"0000019eda80fcf8"} 
[2026-06-18 17:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":91,"data_length":795,"current_offset":136} 
[2026-06-18 17:05: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-06-18 17: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-06-18 17:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136275456001,"66":28104,"254":206,"2":56832,"24":0,"16":318702542051606528,"44":-3142668083980449792},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-18 17:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136275456001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:05:31] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 17:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318702542051606528,"km_value":318702542051606.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3142668083980449792,"description":"Unknown IO ID 44"} 
[2026-06-18 17:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136275456001,"power":28104,"unknown_254":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3142668083980449792}} 
[2026-06-18 17:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":107711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:05:31] local.INFO: GPS data processed {"connection_id":107711,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:05:31] local.INFO: Acknowledgment sent {"connection_id":107711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:05:33] local.INFO: TCP Data received {"connection_id":107711,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda814f00012cd4464007376050001401022d..."} 
[2026-06-18 17:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda814f00012cd4464007376050001401022d..."} 
[2026-06-18 17:05:33] local.INFO: Processing buffer {"connection_id":107711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda814f00012cd4464007376050001401022d..."} 
[2026-06-18 17:05:33] local.INFO: Packet analysis {"connection_id":107711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:05:33] local.INFO: Extracted packet for processing {"connection_id":107711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:05:33] local.INFO: GPS Element Parsed {"raw_longitude":752109120,"raw_latitude":121069648,"longitude_deg":75.210912,"latitude_deg":12.1069648,"altitude":20,"angle":258,"satellites":45,"speed":0,"hex_longitude":"2cd44640","hex_latitude":"07376050","is_valid_coordinates":true} 
[2026-06-18 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136280832001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318702542051606528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150760489561075712,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781782368000,"timestamp_ms":1781782368000,"timestamp_seconds":1781782368,"priority":1,"record_length":96,"hex_timestamp":"0000019eda814f00"} 
[2026-06-18 17:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:05: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-06-18 17:05:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 17:05:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:05:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136280832001,"66":27767,"254":206,"2":56832,"24":0,"16":318702542051606528,"44":-3150760489561075712},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-18 17:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136280832001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:05:33] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 17:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318702542051606528,"km_value":318702542051606.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:05:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150760489561075712,"description":"Unknown IO ID 44"} 
[2026-06-18 17:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136280832001,"power":27767,"unknown_254":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-3150760489561075712}} 
[2026-06-18 17:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":107711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:05:33] local.INFO: GPS data processed {"connection_id":107711,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:05:33] local.INFO: Acknowledgment sent {"connection_id":107711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:05:38] local.INFO: TCP Data received {"connection_id":107712,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:05:38] local.INFO: Processing buffer {"connection_id":107712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:05:38] local.INFO: IMEI packet received {"connection_id":107712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":107712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:05:42] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:42] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:42] local.INFO: IMEI packet received {"connection_id":106147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":106147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:05:43] local.INFO: TCP Data received {"connection_id":107712,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:05:43] local.INFO: Processing buffer {"connection_id":107712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:05:43] local.INFO: IMEI packet received {"connection_id":107712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":107712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:05:44] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:44] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:44] local.INFO: IMEI packet received {"connection_id":106147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":106147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:05:45] local.INFO: TCP Data received {"connection_id":107712,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:05:45] local.INFO: Processing buffer {"connection_id":107712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:05:45] local.INFO: Packet analysis {"connection_id":107712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:05:45] local.INFO: Extracted packet for processing {"connection_id":107712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:05:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:05:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":107712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:05:45] local.INFO: GPS data processed {"connection_id":107712,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:05:45] local.INFO: Acknowledgment sent {"connection_id":107712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:05:49] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:49] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:05:49] local.INFO: IMEI packet received {"connection_id":106147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":106147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:05:50] local.INFO: TCP Data received {"connection_id":107712,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:05:50] local.INFO: Processing buffer {"connection_id":107712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:05:50] local.INFO: Packet analysis {"connection_id":107712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:05:50] local.INFO: Extracted packet for processing {"connection_id":107712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:05:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:05:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:05:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":107712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:05:50] local.INFO: GPS data processed {"connection_id":107712,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:05:50] local.INFO: Acknowledgment sent {"connection_id":107712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:06:03] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda812020012d1969c0071fec18003b011728..."} 
[2026-06-18 17:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda812020012d1969c0071fec18003b011728..."} 
[2026-06-18 17:06:03] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda812020012d1969c0071fec18003b011728..."} 
[2026-06-18 17:06:03] local.INFO: Packet analysis {"connection_id":106147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:06:03] local.INFO: Extracted packet for processing {"connection_id":106147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136277760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781782356000,"timestamp_ms":1781782356000,"timestamp_seconds":1781782356,"priority":1,"record_length":96,"hex_timestamp":"0000019eda812020"} 
[2026-06-18 17:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:06: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-06-18 17: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":47,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-18 17:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2431,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136277760001,"66":12374,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136277760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:06:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136277760001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":106147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:06:03] local.INFO: GPS data processed {"connection_id":106147,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:06:03] local.INFO: Acknowledgment sent {"connection_id":106147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:06:08] local.INFO: TCP Data received {"connection_id":107711,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda81a108012cd4298007375b98001201092d..."} 
[2026-06-18 17:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda81a108012cd4298007375b98001201092d..."} 
[2026-06-18 17:06:08] local.INFO: Processing buffer {"connection_id":107711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda81a108012cd4298007375b98001201092d..."} 
[2026-06-18 17:06:08] local.INFO: Packet analysis {"connection_id":107711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:06:08] local.INFO: Extracted packet for processing {"connection_id":107711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:06:08] local.INFO: GPS Element Parsed {"raw_longitude":752101760,"raw_latitude":121068440,"longitude_deg":75.210176,"latitude_deg":12.106844,"altitude":18,"angle":265,"satellites":45,"speed":8,"hex_longitude":"2cd42980","hex_latitude":"07375b98","is_valid_coordinates":true} 
[2026-06-18 17:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136286208001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318702898533892096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3150760489561075712,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781782389000,"timestamp_ms":1781782389000,"timestamp_seconds":1781782389,"priority":1,"record_length":96,"hex_timestamp":"0000019eda81a108"} 
[2026-06-18 17:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 17:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136286208001,"66":27995,"254":206,"2":56832,"24":8,"16":318702898533892096,"44":-3150760489561075712},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,2,24,16,44]} 
[2026-06-18 17:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136286208001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:06:08] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-06-18 17:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318702898533892096,"km_value":318702898533892.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:06:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3150760489561075712,"description":"Unknown IO ID 44"} 
[2026-06-18 17:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136286208001,"power":27995,"unknown_254":206,"power_alt":56832,"ignition":8,"odometer":null,"unknown_44":-3150760489561075712}} 
[2026-06-18 17:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":107711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:06:08] local.INFO: GPS data processed {"connection_id":107711,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:06:08] local.INFO: Acknowledgment sent {"connection_id":107711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:06:29] local.INFO: TCP Data received {"connection_id":107713,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:06:29] local.INFO: Processing buffer {"connection_id":107713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:06:29] local.INFO: IMEI packet received {"connection_id":107713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":107713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:06:33] local.INFO: TCP Data received {"connection_id":106736,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:06:33] local.INFO: Processing buffer {"connection_id":106736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:06:33] local.INFO: IMEI packet received {"connection_id":106736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":106736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:06:38] local.INFO: TCP Data received {"connection_id":106736,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:06:38] local.INFO: Processing buffer {"connection_id":106736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:06:38] local.INFO: IMEI packet received {"connection_id":106736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":106736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:06:43] local.INFO: TCP Data received {"connection_id":106736,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:06:43] local.INFO: Processing buffer {"connection_id":106736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:06:43] local.INFO: Packet analysis {"connection_id":106736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:06:43] local.INFO: Extracted packet for processing {"connection_id":106736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:06:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:06:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:06:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":106736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:06:43] local.INFO: GPS data processed {"connection_id":106736,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:06:43] local.INFO: Acknowledgment sent {"connection_id":106736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:06:45] local.INFO: TCP Data received {"connection_id":106737,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:45] local.INFO: Processing buffer {"connection_id":106737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:45] local.INFO: IMEI packet received {"connection_id":106737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":106737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:06:48] local.INFO: TCP Data received {"connection_id":107713,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:06:48] local.INFO: Processing buffer {"connection_id":107713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:06:48] local.INFO: IMEI packet received {"connection_id":107713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":107713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:06:48] local.INFO: TCP Data received {"connection_id":106737,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:48] local.INFO: Processing buffer {"connection_id":106737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:48] local.INFO: IMEI packet received {"connection_id":106737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":106737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:06:50] local.INFO: TCP Data received {"connection_id":106737,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:50] local.INFO: Processing buffer {"connection_id":106737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:50] local.INFO: IMEI packet received {"connection_id":106737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":106737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:06:50] local.INFO: TCP Data received {"connection_id":107713,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107713,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:06:50] local.INFO: Processing buffer {"connection_id":107713,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:06:50] local.INFO: IMEI packet received {"connection_id":107713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":107713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:06:55] local.INFO: TCP Data received {"connection_id":106737,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:55] local.INFO: Processing buffer {"connection_id":106737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:06:55] local.INFO: IMEI packet received {"connection_id":106737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":106737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:07:02] local.INFO: TCP Data received {"connection_id":106737,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda817228012d1969c0071fec18003b011729..."} 
[2026-06-18 17:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda817228012d1969c0071fec18003b011729..."} 
[2026-06-18 17:07:02] local.INFO: Processing buffer {"connection_id":106737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda817228012d1969c0071fec18003b011729..."} 
[2026-06-18 17:07:02] local.INFO: Packet analysis {"connection_id":106737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:07:02] local.INFO: Extracted packet for processing {"connection_id":106737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136283136001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781782377000,"timestamp_ms":1781782377000,"timestamp_seconds":1781782377,"priority":1,"record_length":96,"hex_timestamp":"0000019eda817228"} 
[2026-06-18 17:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:07:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 17:07: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-06-18 17: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-06-18 17:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136283136001,"66":12374,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136283136001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:07:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:07:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136283136001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":106737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:07:02] local.INFO: GPS data processed {"connection_id":106737,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:07:02] local.INFO: Acknowledgment sent {"connection_id":106737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:07:05] local.INFO: TCP Data received {"connection_id":106737,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda81c430012d1969c0071fec18003b011728..."} 
[2026-06-18 17:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda81c430012d1969c0071fec18003b011728..."} 
[2026-06-18 17:07:05] local.INFO: Processing buffer {"connection_id":106737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda81c430012d1969c0071fec18003b011728..."} 
[2026-06-18 17:07:05] local.INFO: Packet analysis {"connection_id":106737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:07:05] local.INFO: Extracted packet for processing {"connection_id":106737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda81"} 
[2026-06-18 17:07:05] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136288512001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781782398000,"timestamp_ms":1781782398000,"timestamp_seconds":1781782398,"priority":1,"record_length":96,"hex_timestamp":"0000019eda81c430"} 
[2026-06-18 17:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:07:05] 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-06-18 17:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 17:07:05] 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-06-18 17:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106737,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136288512001,"66":12385,"121":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136288512001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:07:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136288512001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":106737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:07:05] local.INFO: GPS data processed {"connection_id":106737,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:07:05] local.INFO: Acknowledgment sent {"connection_id":106737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:07:38] local.INFO: TCP Data received {"connection_id":107714,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:07:38] local.INFO: Processing buffer {"connection_id":107714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:07:38] local.INFO: IMEI packet received {"connection_id":107714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":107714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:07:43] local.INFO: TCP Data received {"connection_id":107714,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:07:43] local.INFO: Processing buffer {"connection_id":107714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:07:43] local.INFO: IMEI packet received {"connection_id":107714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":107714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:07:45] local.INFO: TCP Data received {"connection_id":107714,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:07:45] local.INFO: Processing buffer {"connection_id":107714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:07:45] local.INFO: Packet analysis {"connection_id":107714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:07:45] local.INFO: Extracted packet for processing {"connection_id":107714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:07:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:07:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:07:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:07:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:07:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:07:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:07:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:07:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:07:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:07:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:07:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:07:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:07:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":107714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345221,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:07:45] local.INFO: GPS data processed {"connection_id":107714,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:07:45] local.INFO: Acknowledgment sent {"connection_id":107714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:07:48] local.INFO: TCP Data received {"connection_id":107715,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:48] local.INFO: Processing buffer {"connection_id":107715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:48] local.INFO: IMEI packet received {"connection_id":107715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":107715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:07:49] local.INFO: TCP Data received {"connection_id":107714,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:07:49] local.INFO: Processing buffer {"connection_id":107714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:07:49] local.INFO: Packet analysis {"connection_id":107714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:07:49] local.INFO: Extracted packet for processing {"connection_id":107714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:07:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:07:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":107714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:07:49] local.INFO: GPS data processed {"connection_id":107714,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:07:49] local.INFO: Acknowledgment sent {"connection_id":107714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:07:49] local.INFO: TCP Data received {"connection_id":107715,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:49] local.INFO: Processing buffer {"connection_id":107715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:49] local.INFO: IMEI packet received {"connection_id":107715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":107715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:07:55] local.INFO: TCP Data received {"connection_id":107715,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:55] local.INFO: Processing buffer {"connection_id":107715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:07:55] local.INFO: IMEI packet received {"connection_id":107715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":107715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:07:57] local.INFO: TCP Data received {"connection_id":107715,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda821638012d1969c0071fec18003b011728..."} 
[2026-06-18 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda821638012d1969c0071fec18003b011728..."} 
[2026-06-18 17:07:57] local.INFO: Processing buffer {"connection_id":107715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda821638012d1969c0071fec18003b011728..."} 
[2026-06-18 17:07:57] local.INFO: Packet analysis {"connection_id":107715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda82"} 
[2026-06-18 17:07:57] local.INFO: Extracted packet for processing {"connection_id":107715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda82"} 
[2026-06-18 17:07:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136293888001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781782419000,"timestamp_ms":1781782419000,"timestamp_seconds":1781782419,"priority":1,"record_length":96,"hex_timestamp":"0000019eda821638"} 
[2026-06-18 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-06-18 17:07: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-06-18 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:07: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-06-18 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-06-18 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-06-18 17:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":107715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":107715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":107715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136293888001,"66":12363,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136293888001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:07:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:07:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136293888001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":107715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:07:57] local.INFO: GPS data processed {"connection_id":107715,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:07:57] local.INFO: Acknowledgment sent {"connection_id":107715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:08:01] local.INFO: TCP Data received {"connection_id":107715,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda826840012d1969c0071fec18003b011729..."} 
[2026-06-18 17:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda826840012d1969c0071fec18003b011729..."} 
[2026-06-18 17:08:01] local.INFO: Processing buffer {"connection_id":107715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda826840012d1969c0071fec18003b011729..."} 
[2026-06-18 17:08:01] local.INFO: Packet analysis {"connection_id":107715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda82"} 
[2026-06-18 17:08:01] local.INFO: Extracted packet for processing {"connection_id":107715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda82"} 
[2026-06-18 17:08:01] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136299264001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781782440000,"timestamp_ms":1781782440000,"timestamp_seconds":1781782440,"priority":1,"record_length":96,"hex_timestamp":"0000019eda826840"} 
[2026-06-18 17:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 17:08:01] 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-06-18 17:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136299264001,"66":12374,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136299264001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:08:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:08:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136299264001,"power":12374,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":107715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:08:01] local.INFO: GPS data processed {"connection_id":107715,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:08:01] local.INFO: Acknowledgment sent {"connection_id":107715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:08:34] local.INFO: TCP Data received {"connection_id":106738,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:08:34] local.INFO: Processing buffer {"connection_id":106738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:08:34] local.INFO: IMEI packet received {"connection_id":106738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":106738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:08:38] local.INFO: TCP Data received {"connection_id":106738,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:08:38] local.INFO: Processing buffer {"connection_id":106738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:08:38] local.INFO: IMEI packet received {"connection_id":106738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":106738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:08:40] local.INFO: TCP Data received {"connection_id":106738,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:08:40] local.INFO: Processing buffer {"connection_id":106738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:08:40] local.INFO: Packet analysis {"connection_id":106738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:08:40] local.INFO: Extracted packet for processing {"connection_id":106738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:08:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:08:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":106738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:08:40] local.INFO: GPS data processed {"connection_id":106738,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:08:40] local.INFO: Acknowledgment sent {"connection_id":106738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:08:45] local.INFO: TCP Data received {"connection_id":106148,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:08:45] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:08:45] local.INFO: IMEI packet received {"connection_id":106148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:08:45] local.INFO: IMEI acknowledgment sent {"connection_id":106148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:08:49] local.INFO: TCP Data received {"connection_id":106148,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:08:49] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:08:49] local.INFO: IMEI packet received {"connection_id":106148,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":106148,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:08:51] local.INFO: TCP Data received {"connection_id":106148,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda82ba48012d1969c0071fec18003b011728..."} 
[2026-06-18 17:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda82ba48012d1969c0071fec18003b011728..."} 
[2026-06-18 17:08:51] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda82ba48012d1969c0071fec18003b011728..."} 
[2026-06-18 17:08:51] local.INFO: Packet analysis {"connection_id":106148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda82"} 
[2026-06-18 17:08:51] local.INFO: Extracted packet for processing {"connection_id":106148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda82"} 
[2026-06-18 17:08:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:08:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136304640001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:08:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781782461000,"timestamp_ms":1781782461000,"timestamp_seconds":1781782461,"priority":1,"record_length":96,"hex_timestamp":"0000019eda82ba48"} 
[2026-06-18 17:08:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:08:51] 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-06-18 17:08:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 17:08:51] 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-06-18 17:08:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:08:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:08:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:08:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:08:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:08:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:08:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:08:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136304640001,"66":12374,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136304640001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:08:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:08:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136304640001,"power":12374,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":106148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:08:51] local.INFO: GPS data processed {"connection_id":106148,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:08:51] local.INFO: Acknowledgment sent {"connection_id":106148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:08:57] local.INFO: TCP Data received {"connection_id":106148,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda830c50012d1969c0071fec18003b011728..."} 
[2026-06-18 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda830c50012d1969c0071fec18003b011728..."} 
[2026-06-18 17:08:57] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda830c50012d1969c0071fec18003b011728..."} 
[2026-06-18 17:08:57] local.INFO: Packet analysis {"connection_id":106148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:08:57] local.INFO: Extracted packet for processing {"connection_id":106148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":40,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136310016001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781782482000,"timestamp_ms":1781782482000,"timestamp_seconds":1781782482,"priority":1,"record_length":96,"hex_timestamp":"0000019eda830c50"} 
[2026-06-18 17:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:08: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-06-18 17:08:57] local.INFO: IO Element 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-06-18 17:08:57] 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-06-18 17:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136310016001,"66":12287,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136310016001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:08:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:08:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136310016001,"power":12287,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":106148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:08:57] local.INFO: GPS data processed {"connection_id":106148,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:08:57] local.INFO: Acknowledgment sent {"connection_id":106148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:09:12] local.INFO: TCP Data received {"connection_id":106738,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:09:12] local.INFO: Processing buffer {"connection_id":106738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:09:12] local.INFO: Packet analysis {"connection_id":106738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:09:12] local.INFO: Extracted packet for processing {"connection_id":106738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:09:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:09:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":106738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:09:12] local.INFO: GPS data processed {"connection_id":106738,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:09:12] local.INFO: Acknowledgment sent {"connection_id":106738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:09:30] local.INFO: TCP Data received {"connection_id":106148,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda835e58012d1969c0071fec18003b011727..."} 
[2026-06-18 17:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda835e58012d1969c0071fec18003b011727..."} 
[2026-06-18 17:09:30] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda835e58012d1969c0071fec18003b011727..."} 
[2026-06-18 17:09:30] local.INFO: Packet analysis {"connection_id":106148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:09:30] local.INFO: Extracted packet for processing {"connection_id":106148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:09:30] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315392001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781782503000,"timestamp_ms":1781782503000,"timestamp_seconds":1781782503,"priority":1,"record_length":96,"hex_timestamp":"0000019eda835e58"} 
[2026-06-18 17:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 17:09:30] 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-06-18 17: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-06-18 17:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106148,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315392001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315392001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:09:30] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315392001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":106148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:09:30] local.INFO: GPS data processed {"connection_id":106148,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:09:30] local.INFO: Acknowledgment sent {"connection_id":106148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:09:33] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:09:33] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:09:33] local.INFO: IMEI packet received {"connection_id":105964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":105964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:09:38] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:09:38] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:09:38] local.INFO: IMEI packet received {"connection_id":105964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":105964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:09:40] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:09:40] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:09:40] local.INFO: Packet analysis {"connection_id":105964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:09:40] local.INFO: Extracted packet for processing {"connection_id":105964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:09:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:09:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":105964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:09:40] local.INFO: GPS data processed {"connection_id":105964,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:09:40] local.INFO: Acknowledgment sent {"connection_id":105964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:09:44] local.INFO: TCP Data received {"connection_id":106739,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:09:44] local.INFO: Processing buffer {"connection_id":106739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:09:44] local.INFO: IMEI packet received {"connection_id":106739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":106739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:09:49] local.INFO: TCP Data received {"connection_id":106739,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:09:49] local.INFO: Processing buffer {"connection_id":106739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:09:49] local.INFO: IMEI packet received {"connection_id":106739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":106739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:09:51] local.INFO: TCP Data received {"connection_id":106739,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda83b060012d1969c0071fec18003b011726..."} 
[2026-06-18 17:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda83b060012d1969c0071fec18003b011726..."} 
[2026-06-18 17:09:51] local.INFO: Processing buffer {"connection_id":106739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda83b060012d1969c0071fec18003b011726..."} 
[2026-06-18 17:09:51] local.INFO: Packet analysis {"connection_id":106739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:09:51] local.INFO: Extracted packet for processing {"connection_id":106739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136320768001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781782524000,"timestamp_ms":1781782524000,"timestamp_seconds":1781782524,"priority":1,"record_length":96,"hex_timestamp":"0000019eda83b060"} 
[2026-06-18 17:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136320768001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136320768001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:09:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:09:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136320768001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":106739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:09:51] local.INFO: GPS data processed {"connection_id":106739,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:09:51] local.INFO: Acknowledgment sent {"connection_id":106739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:10:12] local.INFO: TCP Data received {"connection_id":105964,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:12] local.INFO: Processing buffer {"connection_id":105964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda831038012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:12] local.INFO: Packet analysis {"connection_id":105964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:10:12] local.INFO: Extracted packet for processing {"connection_id":105964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda83"} 
[2026-06-18 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136238592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781782483000,"timestamp_ms":1781782483000,"timestamp_seconds":1781782483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda831038"} 
[2026-06-18 17:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:10:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136238592001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136238592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:10:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:10:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136238592001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":105964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:10:12] local.INFO: GPS data processed {"connection_id":105964,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:10:12] local.INFO: Acknowledgment sent {"connection_id":105964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:10:26] local.INFO: TCP Data received {"connection_id":106739,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda840268012d1969c0071fec18003b011727..."} 
[2026-06-18 17:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda840268012d1969c0071fec18003b011727..."} 
[2026-06-18 17:10:26] local.INFO: Processing buffer {"connection_id":106739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda840268012d1969c0071fec18003b011727..."} 
[2026-06-18 17:10:26] local.INFO: Packet analysis {"connection_id":106739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda84"} 
[2026-06-18 17:10:26] local.INFO: Extracted packet for processing {"connection_id":106739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda84"} 
[2026-06-18 17:10:26] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":39,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:10:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136326144001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:10:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781782545000,"timestamp_ms":1781782545000,"timestamp_seconds":1781782545,"priority":1,"record_length":96,"hex_timestamp":"0000019eda840268"} 
[2026-06-18 17:10:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:10:26] 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-06-18 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:10:26] 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-06-18 17: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-06-18 17:10:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:10:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:10:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:10:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:10:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:10:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:10:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:10:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:10:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136326144001,"66":12374,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:10:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:10:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:10:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136326144001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:10:26] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:10:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:10:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:10:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:10:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136326144001,"power":12374,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:10:26] local.INFO: DEBUG: GPS processor result {"connection_id":106739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:10:26] local.INFO: GPS data processed {"connection_id":106739,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:10:26] local.INFO: Acknowledgment sent {"connection_id":106739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:10:38] local.INFO: TCP Data received {"connection_id":105965,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:10:38] local.INFO: Processing buffer {"connection_id":105965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:10:38] local.INFO: IMEI packet received {"connection_id":105965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":105965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:10:44] local.INFO: TCP Data received {"connection_id":106149,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:10:44] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:10:44] local.INFO: IMEI packet received {"connection_id":106149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":106149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:10:48] local.INFO: TCP Data received {"connection_id":105965,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105965,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:10:48] local.INFO: Processing buffer {"connection_id":105965,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:10:48] local.INFO: IMEI packet received {"connection_id":105965,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":105965,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:10:49] local.INFO: TCP Data received {"connection_id":105965,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:49] local.INFO: Processing buffer {"connection_id":105965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:49] local.INFO: Packet analysis {"connection_id":105965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:10:49] local.INFO: Extracted packet for processing {"connection_id":105965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:10:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:10:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:10:49] local.INFO: TCP Data received {"connection_id":106149,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:10:49] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:10:49] local.INFO: IMEI packet received {"connection_id":106149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":106149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":105965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:10:49] local.INFO: GPS data processed {"connection_id":105965,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:10:49] local.INFO: Acknowledgment sent {"connection_id":105965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:10:50] local.INFO: TCP Data received {"connection_id":105965,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:50] local.INFO: Processing buffer {"connection_id":105965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:10:50] local.INFO: Packet analysis {"connection_id":105965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:10:50] local.INFO: Extracted packet for processing {"connection_id":105965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105965,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:10:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:10:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":105965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:10:50] local.INFO: GPS data processed {"connection_id":105965,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:10:50] local.INFO: Acknowledgment sent {"connection_id":105965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:10:51] local.INFO: TCP Data received {"connection_id":106149,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda845470012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda845470012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:10:51] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda845470012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:10:51] local.INFO: Packet analysis {"connection_id":106149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda84"} 
[2026-06-18 17:10:51] local.INFO: Extracted packet for processing {"connection_id":106149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda84"} 
[2026-06-18 17:10:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:10:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136331520001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:10:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:10:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781782566000,"timestamp_ms":1781782566000,"timestamp_seconds":1781782566,"priority":1,"record_length":96,"hex_timestamp":"0000019eda845470"} 
[2026-06-18 17:10:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:10:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 17:10:51] 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-06-18 17: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-06-18 17:10:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:10:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:10:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:10:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:10:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:10:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:10:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:10:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:10:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136331520001,"66":12319,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:10:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:10:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:10:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136331520001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:10:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:10:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:10:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:10:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:10:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136331520001,"power":12319,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":106149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:10:51] local.INFO: GPS data processed {"connection_id":106149,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:10:51] local.INFO: Acknowledgment sent {"connection_id":106149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:11:27] local.INFO: TCP Data received {"connection_id":106149,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87dac8012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87dac8012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:11:27] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87dac8012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:11:27] local.INFO: Packet analysis {"connection_id":106149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:11:27] local.INFO: Extracted packet for processing {"connection_id":106149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136390656001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781782797000,"timestamp_ms":1781782797000,"timestamp_seconds":1781782797,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87dac8"} 
[2026-06-18 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-06-18 17:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:11:27] 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-06-18 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-06-18 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-06-18 17:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136390656001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136390656001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:11:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136390656001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":106149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:11:28] local.INFO: GPS data processed {"connection_id":106149,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:11:28] local.INFO: Acknowledgment sent {"connection_id":106149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:11:33] local.INFO: TCP Data received {"connection_id":105966,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:11:33] local.INFO: Processing buffer {"connection_id":105966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:11:33] local.INFO: IMEI packet received {"connection_id":105966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":105966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:11:38] local.INFO: TCP Data received {"connection_id":105966,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:11:38] local.INFO: Processing buffer {"connection_id":105966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:11:38] local.INFO: IMEI packet received {"connection_id":105966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":105966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:11:49] local.INFO: TCP Data received {"connection_id":106150,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:11:49] local.INFO: Processing buffer {"connection_id":106150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:11:49] local.INFO: IMEI packet received {"connection_id":106150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":106150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:11:49] local.INFO: TCP Data received {"connection_id":107718,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:11:49] local.INFO: Processing buffer {"connection_id":107718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:11:49] local.INFO: IMEI packet received {"connection_id":107718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":107718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:11:51] local.INFO: TCP Data received {"connection_id":107718,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda884440012cd2668007397868000a01422d..."} 
[2026-06-18 17:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda884440012cd2668007397868000a01422d..."} 
[2026-06-18 17:11:51] local.INFO: Processing buffer {"connection_id":107718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda884440012cd2668007397868000a01422d..."} 
[2026-06-18 17:11:51] local.INFO: Packet analysis {"connection_id":107718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda88"} 
[2026-06-18 17:11:51] local.INFO: Extracted packet for processing {"connection_id":107718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda88"} 
[2026-06-18 17:11:51] local.INFO: GPS Element Parsed {"raw_longitude":751986304,"raw_latitude":121206888,"longitude_deg":75.1986304,"latitude_deg":12.1206888,"altitude":10,"angle":322,"satellites":45,"speed":21,"hex_longitude":"2cd26680","hex_latitude":"07397868","is_valid_coordinates":true} 
[2026-06-18 17:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:11:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136401152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318714366096572416,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3281505616208893952,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:11:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781782824000,"timestamp_ms":1781782824000,"timestamp_seconds":1781782824,"priority":1,"record_length":96,"hex_timestamp":"0000019eda884440"} 
[2026-06-18 17:11:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:11:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:11:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 17:11:51] 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-06-18 17:11:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:11:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:11:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:11:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:11:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:11:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:11:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:11:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:11:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:11:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136401152001,"66":27343,"132":206,"2":56832,"24":21,"16":318714366096572416,"44":-3281505616208893952},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,2,24,16,44]} 
[2026-06-18 17:11:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:11:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:11:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136401152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:11:51] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-06-18 17:11:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318714366096572416,"km_value":318714366096572.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:11:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3281505616208893952,"description":"Unknown IO ID 44"} 
[2026-06-18 17:11:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136401152001,"power":27343,"unknown_132":206,"power_alt":56832,"ignition":21,"odometer":null,"unknown_44":-3281505616208893952}} 
[2026-06-18 17:11:51] local.INFO: DEBUG: GPS processor result {"connection_id":107718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:11:51] local.INFO: GPS data processed {"connection_id":107718,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:11:51] local.INFO: Acknowledgment sent {"connection_id":107718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:11:54] local.INFO: TCP Data received {"connection_id":105966,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:11:54] local.INFO: Processing buffer {"connection_id":105966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:11:54] local.INFO: Packet analysis {"connection_id":105966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:11:54] local.INFO: Extracted packet for processing {"connection_id":105966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:11:54] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":105966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":105966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":105966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:11:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:11:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":105966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:11:54] local.INFO: GPS data processed {"connection_id":105966,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:11:54] local.INFO: Acknowledgment sent {"connection_id":105966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:11:55] local.INFO: TCP Data received {"connection_id":106150,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:11:55] local.INFO: Processing buffer {"connection_id":106150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:11:55] local.INFO: IMEI packet received {"connection_id":106150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":106150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:11:56] local.INFO: TCP Data received {"connection_id":106150,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda882cd0012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda882cd0012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:11:56] local.INFO: Processing buffer {"connection_id":106150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda882cd0012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:11:56] local.INFO: Packet analysis {"connection_id":106150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda88"} 
[2026-06-18 17:11:56] local.INFO: Extracted packet for processing {"connection_id":106150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda88"} 
[2026-06-18 17:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136396032001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781782818000,"timestamp_ms":1781782818000,"timestamp_seconds":1781782818,"priority":1,"record_length":96,"hex_timestamp":"0000019eda882cd0"} 
[2026-06-18 17:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:11: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-06-18 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:11:56] 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-06-18 17: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-06-18 17:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136396032001,"66":12298,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136396032001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:11:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:11:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136396032001,"power":12298,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":106150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:11:56] local.INFO: GPS data processed {"connection_id":106150,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:11:56] local.INFO: Acknowledgment sent {"connection_id":106150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:12:01] local.INFO: TCP Data received {"connection_id":106150,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda887ed8012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda887ed8012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:12:01] local.INFO: Processing buffer {"connection_id":106150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda887ed8012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:12:01] local.INFO: Packet analysis {"connection_id":106150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda88"} 
[2026-06-18 17:12:01] local.INFO: Extracted packet for processing {"connection_id":106150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda88"} 
[2026-06-18 17:12:01] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136401408001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781782839000,"timestamp_ms":1781782839000,"timestamp_seconds":1781782839,"priority":1,"record_length":96,"hex_timestamp":"0000019eda887ed8"} 
[2026-06-18 17:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2700490064916571799,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":196,"raw_value":8718968878589280257,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2263134209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513388470370763031,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":59,"raw_value":78575498967384064,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571934691534,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960995899,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3296264192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:01] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,71,28,24,241,158,16,196,218,45,192,236,59,42,10,66,136,54,1,240,53,31,4,113,205,146,105,41,239,48,2,11,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-06-18 17:12:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251704992370524160,"timestamp_seconds":4251704992370524.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136401408001,"66":12026,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136401408001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:12:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:12:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136401408001,"power":12026,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":106150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:12:01] local.INFO: GPS data processed {"connection_id":106150,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:12:01] local.INFO: Acknowledgment sent {"connection_id":106150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:12:29] local.INFO: TCP Data received {"connection_id":105967,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:12:29] local.INFO: Processing buffer {"connection_id":105967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:12:29] local.INFO: IMEI packet received {"connection_id":105967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":105967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:12:33] local.INFO: TCP Data received {"connection_id":105968,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:12:33] local.INFO: Processing buffer {"connection_id":105968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:12:33] local.INFO: IMEI packet received {"connection_id":105968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":105968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:12:37] local.INFO: TCP Data received {"connection_id":105967,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:12:37] local.INFO: Processing buffer {"connection_id":105967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:12:37] local.INFO: IMEI packet received {"connection_id":105967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":105967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:12:38] local.INFO: TCP Data received {"connection_id":105968,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:12:38] local.INFO: Processing buffer {"connection_id":105968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:12:38] local.INFO: IMEI packet received {"connection_id":105968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":105968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:12:39] local.INFO: TCP Data received {"connection_id":105967,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105967,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:12:39] local.INFO: Processing buffer {"connection_id":105967,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:12:39] local.INFO: IMEI packet received {"connection_id":105967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":105967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:12:40] local.INFO: TCP Data received {"connection_id":105968,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:12:40] local.INFO: Processing buffer {"connection_id":105968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:12:40] local.INFO: Packet analysis {"connection_id":105968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:12:40] local.INFO: Extracted packet for processing {"connection_id":105968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:12:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:12:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":105968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:12:40] local.INFO: GPS data processed {"connection_id":105968,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:12:40] local.INFO: Acknowledgment sent {"connection_id":105968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:12:41] local.INFO: TCP Data received {"connection_id":107719,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:41] local.INFO: Processing buffer {"connection_id":107719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:41] local.INFO: IMEI packet received {"connection_id":107719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:12:41] local.INFO: IMEI acknowledgment sent {"connection_id":107719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:12:44] local.INFO: TCP Data received {"connection_id":107719,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:44] local.INFO: Processing buffer {"connection_id":107719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:44] local.INFO: IMEI packet received {"connection_id":107719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":107719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:12:49] local.INFO: TCP Data received {"connection_id":107719,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:49] local.INFO: Processing buffer {"connection_id":107719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:12:49] local.INFO: IMEI packet received {"connection_id":107719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":107719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:13:02] local.INFO: TCP Data received {"connection_id":107719,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda88d0e0012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda88d0e0012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:13:02] local.INFO: Processing buffer {"connection_id":107719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda88d0e0012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:13:02] local.INFO: Packet analysis {"connection_id":107719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda88"} 
[2026-06-18 17:13:02] local.INFO: Extracted packet for processing {"connection_id":107719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda88"} 
[2026-06-18 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136406784001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781782860000,"timestamp_ms":1781782860000,"timestamp_seconds":1781782860,"priority":1,"record_length":96,"hex_timestamp":"0000019eda88d0e0"} 
[2026-06-18 17:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-18 17:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136406784001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136406784001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:13:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:13:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136406784001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":107719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:13:03] local.INFO: GPS data processed {"connection_id":107719,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:13:03] local.INFO: Acknowledgment sent {"connection_id":107719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:13:12] local.INFO: TCP Data received {"connection_id":105968,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:12] local.INFO: Processing buffer {"connection_id":105968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:12] local.INFO: Packet analysis {"connection_id":105968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:13:12] local.INFO: Extracted packet for processing {"connection_id":105968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:13:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:13:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:13:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105968,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:13:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":105968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:13:12] local.INFO: GPS data processed {"connection_id":105968,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:13:12] local.INFO: Acknowledgment sent {"connection_id":105968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:13:38] local.INFO: TCP Data received {"connection_id":107721,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:13:38] local.INFO: Processing buffer {"connection_id":107721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:13:38] local.INFO: IMEI packet received {"connection_id":107721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":107721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:13:43] local.INFO: TCP Data received {"connection_id":107721,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:13:43] local.INFO: Processing buffer {"connection_id":107721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:13:43] local.INFO: IMEI packet received {"connection_id":107721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":107721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:13:44] local.INFO: TCP Data received {"connection_id":107721,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:44] local.INFO: Processing buffer {"connection_id":107721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:44] local.INFO: Packet analysis {"connection_id":107721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:13:44] local.INFO: Extracted packet for processing {"connection_id":107721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:13:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:13:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:13:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:13:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:13:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:13:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:13:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":107721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:13:44] local.INFO: GPS data processed {"connection_id":107721,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:13:44] local.INFO: Acknowledgment sent {"connection_id":107721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:13:45] local.INFO: TCP Data received {"connection_id":106151,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:45] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:45] local.INFO: IMEI packet received {"connection_id":106151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":106151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:13:47] local.INFO: TCP Data received {"connection_id":106151,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:47] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:47] local.INFO: IMEI packet received {"connection_id":106151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":106151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:13:50] local.INFO: TCP Data received {"connection_id":106151,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:50] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:13:50] local.INFO: IMEI packet received {"connection_id":106151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":106151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:13:50] local.INFO: TCP Data received {"connection_id":107721,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:50] local.INFO: Processing buffer {"connection_id":107721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:13:50] local.INFO: Packet analysis {"connection_id":107721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:13:50] local.INFO: Extracted packet for processing {"connection_id":107721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:13:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:13:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":107721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:13:50] local.INFO: GPS data processed {"connection_id":107721,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:13:50] local.INFO: Acknowledgment sent {"connection_id":107721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:13:51] local.INFO: TCP Data received {"connection_id":106151,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8922e8012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8922e8012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:13:51] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8922e8012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:13:51] local.INFO: Packet analysis {"connection_id":106151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda89"} 
[2026-06-18 17:13:51] local.INFO: Extracted packet for processing {"connection_id":106151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda89"} 
[2026-06-18 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136412160001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781782881000,"timestamp_ms":1781782881000,"timestamp_seconds":1781782881,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8922e8"} 
[2026-06-18 17:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136412160001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136412160001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:13:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136412160001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":106151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:13:51] local.INFO: GPS data processed {"connection_id":106151,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:13:51] local.INFO: Acknowledgment sent {"connection_id":106151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:13:56] local.INFO: TCP Data received {"connection_id":106151,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8974f0012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8974f0012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:13:56] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8974f0012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:13:56] local.INFO: Packet analysis {"connection_id":106151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda89"} 
[2026-06-18 17:13:56] local.INFO: Extracted packet for processing {"connection_id":106151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda89"} 
[2026-06-18 17:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136417536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781782902000,"timestamp_ms":1781782902000,"timestamp_seconds":1781782902,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8974f0"} 
[2026-06-18 17:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:13: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-06-18 17:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:13:56] 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-06-18 17:13:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136417536001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136417536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:13:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:13:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136417536001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":106151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:13:56] local.INFO: GPS data processed {"connection_id":106151,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:13:56] local.INFO: Acknowledgment sent {"connection_id":106151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:14:34] local.INFO: TCP Data received {"connection_id":106741,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:14:34] local.INFO: Processing buffer {"connection_id":106741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:14:34] local.INFO: IMEI packet received {"connection_id":106741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":106741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:14:38] local.INFO: TCP Data received {"connection_id":106741,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:14:38] local.INFO: Processing buffer {"connection_id":106741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:14:38] local.INFO: IMEI packet received {"connection_id":106741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":106741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:14:40] local.INFO: TCP Data received {"connection_id":106741,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:14:40] local.INFO: Processing buffer {"connection_id":106741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:14:40] local.INFO: Packet analysis {"connection_id":106741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:14:40] local.INFO: Extracted packet for processing {"connection_id":106741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:14:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:14:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":106741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:14:40] local.INFO: GPS data processed {"connection_id":106741,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:14:40] local.INFO: Acknowledgment sent {"connection_id":106741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:14:40] local.INFO: TCP Data received {"connection_id":105970,"ip":"117.224.94.103","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105970,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:14:40] local.INFO: Processing buffer {"connection_id":105970,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:14:40] local.INFO: IMEI packet received {"connection_id":105970,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 17:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":105970,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:14:44] local.INFO: TCP Data received {"connection_id":107722,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:44] local.INFO: Processing buffer {"connection_id":107722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:44] local.INFO: IMEI packet received {"connection_id":107722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":107722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:14:47] local.INFO: TCP Data received {"connection_id":107722,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:47] local.INFO: Processing buffer {"connection_id":107722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:47] local.INFO: IMEI packet received {"connection_id":107722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":107722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:14:49] local.INFO: TCP Data received {"connection_id":107722,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:49] local.INFO: Processing buffer {"connection_id":107722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:14:49] local.INFO: IMEI packet received {"connection_id":107722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":107722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:14:53] local.INFO: TCP Data received {"connection_id":107722,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8a1900012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8a1900012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:14:53] local.INFO: Processing buffer {"connection_id":107722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8a1900012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:14:53] local.INFO: Packet analysis {"connection_id":107722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8a"} 
[2026-06-18 17:14:53] local.INFO: Extracted packet for processing {"connection_id":107722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8a"} 
[2026-06-18 17:14:53] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136428288001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781782944000,"timestamp_ms":1781782944000,"timestamp_seconds":1781782944,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8a1900"} 
[2026-06-18 17:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:14: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-06-18 17:14:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2700039093350491799,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":196,"raw_value":8718968878589280257,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513388470370763031,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":59,"raw_value":78577697990639616,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832576,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571934691534,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2290014209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960995899,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3296264192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:14:53] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,71,28,24,241,158,16,196,116,45,192,236,59,43,10,66,34,208,1,240,53,218,31,4,113,205,44,105,42,239,48,2,11,7],"length":534,"final_offset":664,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-06-18 17:14:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251704992370524160,"timestamp_seconds":4251704992370524.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136428288001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136428288001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:14:53] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:14:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136428288001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":107722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:14:53] local.INFO: GPS data processed {"connection_id":107722,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:14:53] local.INFO: Acknowledgment sent {"connection_id":107722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:15:14] local.INFO: TCP Data received {"connection_id":105971,"ip":"117.224.94.103","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:15:14] local.INFO: Processing buffer {"connection_id":105971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:15:14] local.INFO: IMEI packet received {"connection_id":105971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 17:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":105971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:15:15] local.INFO: TCP Data received {"connection_id":106741,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:15:15] local.INFO: Processing buffer {"connection_id":106741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda87a800012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:15:15] local.INFO: Packet analysis {"connection_id":106741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:15:15] local.INFO: Extracted packet for processing {"connection_id":106741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda87"} 
[2026-06-18 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136315648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781782784000,"timestamp_ms":1781782784000,"timestamp_seconds":1781782784,"priority":1,"record_length":96,"hex_timestamp":"0000019eda87a800"} 
[2026-06-18 17:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:15:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136315648001,"66":25191,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136315648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:15:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:15:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136315648001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:15:15] local.INFO: DEBUG: GPS processor result {"connection_id":106741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:15:15] local.INFO: GPS data processed {"connection_id":106741,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:15:15] local.INFO: Acknowledgment sent {"connection_id":106741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:15:17] local.INFO: TCP Data received {"connection_id":105971,"ip":"117.224.94.103","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105971,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:15:17] local.INFO: Processing buffer {"connection_id":105971,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:15:17] local.INFO: IMEI packet received {"connection_id":105971,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 17:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":105971,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:15:29] local.INFO: TCP Data received {"connection_id":107722,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8a6b08012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8a6b08012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:15:29] local.INFO: Processing buffer {"connection_id":107722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8a6b08012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:15:29] local.INFO: Packet analysis {"connection_id":107722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8a"} 
[2026-06-18 17:15:29] local.INFO: Extracted packet for processing {"connection_id":107722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8a"} 
[2026-06-18 17:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136433664001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781782965000,"timestamp_ms":1781782965000,"timestamp_seconds":1781782965,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8a6b08"} 
[2026-06-18 17:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:15: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-06-18 17: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136433664001,"66":11863,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136433664001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:15:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:15:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136433664001,"power":11863,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":107722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:15:29] local.INFO: GPS data processed {"connection_id":107722,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:15:29] local.INFO: Acknowledgment sent {"connection_id":107722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:15:33] local.INFO: TCP Data received {"connection_id":105972,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:15:33] local.INFO: Processing buffer {"connection_id":105972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:15:33] local.INFO: IMEI packet received {"connection_id":105972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":105972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:15:33] local.INFO: TCP Data received {"connection_id":106152,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:15:33] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:15:33] local.INFO: IMEI packet received {"connection_id":106152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":106152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:15:38] local.INFO: TCP Data received {"connection_id":105972,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:15:38] local.INFO: Processing buffer {"connection_id":105972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:15:38] local.INFO: IMEI packet received {"connection_id":105972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":105972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:15:38] local.INFO: TCP Data received {"connection_id":106152,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:15:38] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:15:38] local.INFO: IMEI packet received {"connection_id":106152,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":106152,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:15:39] local.INFO: TCP Data received {"connection_id":106152,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8b97d0012d7a364005e45f70001a004d2f..."} 
[2026-06-18 17:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8b97d0012d7a364005e45f70001a004d2f..."} 
[2026-06-18 17:15:39] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8b97d0012d7a364005e45f70001a004d2f..."} 
[2026-06-18 17:15:39] local.INFO: Packet analysis {"connection_id":106152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:15:39] local.INFO: Extracted packet for processing {"connection_id":106152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":762984000,"raw_latitude":98852720,"longitude_deg":76.2984,"latitude_deg":9.885272,"altitude":26,"angle":77,"satellites":47,"speed":0,"hex_longitude":"2d7a3640","hex_latitude":"05e45f70","is_valid_coordinates":true} 
[2026-06-18 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136453376001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806296515420057600,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781783042000,"timestamp_ms":1781783042000,"timestamp_seconds":1781783042,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8b97d0"} 
[2026-06-18 17:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-18 17:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:15:39] 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-06-18 17:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136453376001,"66":11384,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8806296515420057600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 17:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136453376001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:15:39] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 17:15:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 17:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806296515420057600,"description":"Unknown IO ID 45"} 
[2026-06-18 17:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136453376001,"power":11384,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8806296515420057600}} 
[2026-06-18 17:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":106152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345253,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:15:39] local.INFO: GPS data processed {"connection_id":106152,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:15:39] local.INFO: Acknowledgment sent {"connection_id":106152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:15:40] local.INFO: TCP Data received {"connection_id":105972,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:15:40] local.INFO: Processing buffer {"connection_id":105972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:15:40] local.INFO: Packet analysis {"connection_id":105972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:15:40] local.INFO: Extracted packet for processing {"connection_id":105972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:15:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":105972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345254,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:15:40] local.INFO: GPS data processed {"connection_id":105972,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:15:40] local.INFO: Acknowledgment sent {"connection_id":105972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:15:49] local.INFO: TCP Data received {"connection_id":106153,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:49] local.INFO: Processing buffer {"connection_id":106153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:49] local.INFO: IMEI packet received {"connection_id":106153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":106153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:15:50] local.INFO: TCP Data received {"connection_id":106153,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:50] local.INFO: Processing buffer {"connection_id":106153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:50] local.INFO: IMEI packet received {"connection_id":106153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":106153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:15:54] local.INFO: TCP Data received {"connection_id":106153,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:54] local.INFO: Processing buffer {"connection_id":106153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:15:54] local.INFO: IMEI packet received {"connection_id":106153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":106153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:15:55] local.INFO: TCP Data received {"connection_id":106153,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8abd10012d1969c0071fec18003b011729..."} 
[2026-06-18 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8abd10012d1969c0071fec18003b011729..."} 
[2026-06-18 17:15:55] local.INFO: Processing buffer {"connection_id":106153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8abd10012d1969c0071fec18003b011729..."} 
[2026-06-18 17:15:55] local.INFO: Packet analysis {"connection_id":106153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8a"} 
[2026-06-18 17:15:55] local.INFO: Extracted packet for processing {"connection_id":106153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8a"} 
[2026-06-18 17:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":41,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136439040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781782986000,"timestamp_ms":1781782986000,"timestamp_seconds":1781782986,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8abd10"} 
[2026-06-18 17:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:15: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-06-18 17: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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 17:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136439040001,"66":11787,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136439040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:15:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136439040001,"power":11787,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":106153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:15:56] local.INFO: GPS data processed {"connection_id":106153,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:15:56] local.INFO: Acknowledgment sent {"connection_id":106153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:16:00] local.INFO: TCP Data received {"connection_id":106153,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8b0f18012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8b0f18012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:16:00] local.INFO: Processing buffer {"connection_id":106153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8b0f18012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:16:00] local.INFO: Packet analysis {"connection_id":106153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:16:00] local.INFO: Extracted packet for processing {"connection_id":106153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136444416001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781783007000,"timestamp_ms":1781783007000,"timestamp_seconds":1781783007,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8b0f18"} 
[2026-06-18 17:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:16:00] 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-06-18 17:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3666399456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7000132592422802151,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2306142209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960995899,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":105,"raw_value":-4609680594715002111,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-4289397170093686784,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":65,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.WARNING: Large IO value detected {"io_id":23,"raw_value":3026418949592975872,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:00] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,71,28,24,241,158,16,196,107,45,192,236,59,42,10,66,25,198,1,240,218,31,4,113,205,34,105,43,239,48,2,11,65,206,23],"length":533,"final_offset":663,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-06-18 17:16:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251704988075556864,"timestamp_seconds":4251704988075557.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136444416001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136444416001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:16:00] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136444416001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":106153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:16:00] local.INFO: GPS data processed {"connection_id":106153,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:16:00] local.INFO: Acknowledgment sent {"connection_id":106153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:16:10] local.INFO: TCP Data received {"connection_id":106152,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:16:10] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:16:10] local.INFO: Packet analysis {"connection_id":106152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:16:10] local.INFO: Extracted packet for processing {"connection_id":106152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":762984000,"raw_latitude":98852720,"longitude_deg":76.2984,"latitude_deg":9.885272,"altitude":26,"angle":77,"satellites":48,"speed":0,"hex_longitude":"2d7a3640","hex_latitude":"05e45f70","is_valid_coordinates":true} 
[2026-06-18 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136458752001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806296515420057600,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781783059000,"timestamp_ms":1781783059000,"timestamp_seconds":1781783059,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8bda38"} 
[2026-06-18 17:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-06-18 17:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1498,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106152,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:16:10] 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-06-18 17:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136458752001,"66":11004,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8806296515420057600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 17:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136458752001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:16:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 17:16:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 17:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806296515420057600,"description":"Unknown IO ID 45"} 
[2026-06-18 17:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136458752001,"power":11004,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8806296515420057600}} 
[2026-06-18 17:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":106152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345257,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:16:10] local.INFO: GPS data processed {"connection_id":106152,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:16:10] local.INFO: Acknowledgment sent {"connection_id":106152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:16:12] local.INFO: TCP Data received {"connection_id":105972,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:12] local.INFO: Processing buffer {"connection_id":105972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:12] local.INFO: Packet analysis {"connection_id":105972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:16:12] local.INFO: Extracted packet for processing {"connection_id":105972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:16:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:16:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:16:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":105972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:16:12] local.INFO: GPS data processed {"connection_id":105972,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:16:12] local.INFO: Acknowledgment sent {"connection_id":105972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:16:38] local.INFO: TCP Data received {"connection_id":107724,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:16:38] local.INFO: Processing buffer {"connection_id":107724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:16:38] local.INFO: IMEI packet received {"connection_id":107724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":107724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:16:43] local.INFO: TCP Data received {"connection_id":107724,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:16:43] local.INFO: Processing buffer {"connection_id":107724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:16:43] local.INFO: IMEI packet received {"connection_id":107724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":107724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:16:44] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:16:44] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:16:44] local.INFO: IMEI packet received {"connection_id":106154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":106154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:16:46] local.INFO: TCP Data received {"connection_id":107724,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:46] local.INFO: Processing buffer {"connection_id":107724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:46] local.INFO: Packet analysis {"connection_id":107724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:16:46] local.INFO: Extracted packet for processing {"connection_id":107724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:16:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:16:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:16:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:16:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:16:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:16:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:16:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:16:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:16:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:16:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:16:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:16:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:16:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:16:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:16:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:16:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:16:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:16:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:16:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:16:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:16:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:16:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:16:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:16:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":107724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:16:46] local.INFO: GPS data processed {"connection_id":107724,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:16:46] local.INFO: Acknowledgment sent {"connection_id":107724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:16:48] local.INFO: TCP Data received {"connection_id":107724,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:48] local.INFO: Processing buffer {"connection_id":107724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:16:48] local.INFO: Packet analysis {"connection_id":107724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:16:48] local.INFO: Extracted packet for processing {"connection_id":107724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:16:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:16:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:16:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:16:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:16:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":107724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:16:48] local.INFO: GPS data processed {"connection_id":107724,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:16:48] local.INFO: Acknowledgment sent {"connection_id":107724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:16:49] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:16:49] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:16:49] local.INFO: IMEI packet received {"connection_id":106154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":106154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:16:50] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8b6120012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8b6120012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:16:50] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8b6120012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:16:50] local.INFO: Packet analysis {"connection_id":106154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:16:50] local.INFO: Extracted packet for processing {"connection_id":106154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136449792001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781783028000,"timestamp_ms":1781783028000,"timestamp_seconds":1781783028,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8b6120"} 
[2026-06-18 17:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:16:50] 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-06-18 17:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136449792001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136449792001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:16:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:16:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136449792001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":106154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:16:51] local.INFO: GPS data processed {"connection_id":106154,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:16:51] local.INFO: Acknowledgment sent {"connection_id":106154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:16:53] local.INFO: TCP Data received {"connection_id":106155,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:16:53] local.INFO: Processing buffer {"connection_id":106155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:16:53] local.INFO: IMEI packet received {"connection_id":106155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":106155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:16:58] local.INFO: TCP Data received {"connection_id":106155,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106155,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:16:58] local.INFO: Processing buffer {"connection_id":106155,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:16:58] local.INFO: IMEI packet received {"connection_id":106155,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":106155,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:16:59] local.INFO: TCP Data received {"connection_id":106155,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:16:59] local.INFO: Processing buffer {"connection_id":106155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:16:59] local.INFO: Packet analysis {"connection_id":106155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:16:59] local.INFO: Extracted packet for processing {"connection_id":106155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:16:59] local.INFO: GPS Element Parsed {"raw_longitude":762984000,"raw_latitude":98852720,"longitude_deg":76.2984,"latitude_deg":9.885272,"altitude":26,"angle":77,"satellites":48,"speed":0,"hex_longitude":"2d7a3640","hex_latitude":"05e45f70","is_valid_coordinates":true} 
[2026-06-18 17:16: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-06-18 17:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136463104001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806296515420057600,"note":"Value kept but may cause issues"} 
[2026-06-18 17:16: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-06-18 17:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781783059000,"timestamp_ms":1781783059000,"timestamp_seconds":1781783059,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8bda38"} 
[2026-06-18 17:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 17:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106155,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:16:59] 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-06-18 17:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136463104001,"66":11004,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8806296515420057600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 17:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136463104001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:16:59] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 17:16:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 17:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806296515420057600,"description":"Unknown IO ID 45"} 
[2026-06-18 17:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136463104001,"power":11004,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8806296515420057600}} 
[2026-06-18 17:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":106155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345262,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:16:59] local.INFO: GPS data processed {"connection_id":106155,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:16:59] local.INFO: Acknowledgment sent {"connection_id":106155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:17:22] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8bb328012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8bb328012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:17:22] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8bb328012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:17:22] local.INFO: Packet analysis {"connection_id":106154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:17:22] local.INFO: Extracted packet for processing {"connection_id":106154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136455168001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781783049000,"timestamp_ms":1781783049000,"timestamp_seconds":1781783049,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8bb328"} 
[2026-06-18 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-06-18 17:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:17:22] 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-06-18 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-06-18 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-06-18 17:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136455168001,"66":12298,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136455168001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:17:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:17:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136455168001,"power":12298,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":106154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:17:22] local.INFO: GPS data processed {"connection_id":106154,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:17:22] local.INFO: Acknowledgment sent {"connection_id":106154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:17:28] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:17:28] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:17:28] local.INFO: IMEI packet received {"connection_id":106156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:17:28] local.INFO: IMEI acknowledgment sent {"connection_id":106156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:17:33] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:17:33] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:17:33] local.INFO: IMEI packet received {"connection_id":106156,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":106156,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:17:34] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:17:34] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:17:34] local.INFO: Packet analysis {"connection_id":106156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:17:34] local.INFO: Extracted packet for processing {"connection_id":106156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:17:34] local.INFO: GPS Element Parsed {"raw_longitude":762984000,"raw_latitude":98852720,"longitude_deg":76.2984,"latitude_deg":9.885272,"altitude":26,"angle":77,"satellites":48,"speed":0,"hex_longitude":"2d7a3640","hex_latitude":"05e45f70","is_valid_coordinates":true} 
[2026-06-18 17:17: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-06-18 17:17:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136463104001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806296515420057600,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17: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-06-18 17:17:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781783059000,"timestamp_ms":1781783059000,"timestamp_seconds":1781783059,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8bda38"} 
[2026-06-18 17:17:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:17:34] 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-06-18 17:17:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 17:17:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:17:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:17:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:17:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:17:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:17:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:17:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:17:34] 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-06-18 17:17:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:17:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:17:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136463104001,"66":11004,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8806296515420057600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 17:17:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:17:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:17:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136463104001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:17:34] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 17:17:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 17:17:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:17:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806296515420057600,"description":"Unknown IO ID 45"} 
[2026-06-18 17:17:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136463104001,"power":11004,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8806296515420057600}} 
[2026-06-18 17:17:34] local.INFO: DEBUG: GPS processor result {"connection_id":106156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:17:34] local.INFO: GPS data processed {"connection_id":106156,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:17:34] local.INFO: Acknowledgment sent {"connection_id":106156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:17:39] local.INFO: TCP Data received {"connection_id":107725,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:17:39] local.INFO: Processing buffer {"connection_id":107725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:17:39] local.INFO: IMEI packet received {"connection_id":107725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":107725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:17:41] local.INFO: TCP Data received {"connection_id":107725,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c91d0012cd02400073b26a00008016529..."} 
[2026-06-18 17:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c91d0012cd02400073b26a00008016529..."} 
[2026-06-18 17:17:41] local.INFO: Processing buffer {"connection_id":107725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c91d0012cd02400073b26a00008016529..."} 
[2026-06-18 17:17:41] local.INFO: Packet analysis {"connection_id":107725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:17:41] local.INFO: Extracted packet for processing {"connection_id":107725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:17:41] local.INFO: GPS Element Parsed {"raw_longitude":751838208,"raw_latitude":121317024,"longitude_deg":75.1838208,"latitude_deg":12.1317024,"altitude":8,"angle":357,"satellites":41,"speed":26,"hex_longitude":"2cd02400","hex_latitude":"073b26a0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136474112001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318725481471934464,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3448209171137374208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781783106000,"timestamp_ms":1781783106000,"timestamp_seconds":1781783106,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c91d0"} 
[2026-06-18 17:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:17:41] 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-06-18 17: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":102,"data_length":795,"current_offset":136} 
[2026-06-18 17:17:41] 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-06-18 17: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-06-18 17:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136474112001,"66":27974,"68":206,"2":56832,"24":26,"16":318725481471934464,"44":-3448209171137374208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,2,24,16,44]} 
[2026-06-18 17:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136474112001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:17:41] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-06-18 17:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318725481471934464,"km_value":318725481471934.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:17:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3448209171137374208,"description":"Unknown IO ID 44"} 
[2026-06-18 17:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136474112001,"power":27974,"unknown_68":206,"power_alt":56832,"ignition":26,"odometer":null,"unknown_44":-3448209171137374208}} 
[2026-06-18 17:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":107725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:17:41] local.INFO: GPS data processed {"connection_id":107725,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:17:41] local.INFO: Acknowledgment sent {"connection_id":107725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:17:43] local.INFO: TCP Data received {"connection_id":106742,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:17:43] local.INFO: Processing buffer {"connection_id":106742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:17:43] local.INFO: IMEI packet received {"connection_id":106742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:17:43] local.INFO: IMEI acknowledgment sent {"connection_id":106742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:17:44] local.INFO: TCP Data received {"connection_id":106742,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:17:44] local.INFO: Processing buffer {"connection_id":106742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:17:44] local.INFO: IMEI packet received {"connection_id":106742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":106742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:17:45] local.INFO: TCP Data received {"connection_id":107726,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:17:45] local.INFO: Processing buffer {"connection_id":107726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:17:45] local.INFO: IMEI packet received {"connection_id":107726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":107726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:17:46] local.INFO: TCP Data received {"connection_id":106742,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:17:46] local.INFO: Processing buffer {"connection_id":106742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:17:46] local.INFO: Packet analysis {"connection_id":106742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:17:46] local.INFO: Extracted packet for processing {"connection_id":106742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:17:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:17:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":106742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:17:46] local.INFO: GPS data processed {"connection_id":106742,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:17:46] local.INFO: Acknowledgment sent {"connection_id":106742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:17:47] local.INFO: TCP Data received {"connection_id":106742,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:17:47] local.INFO: Processing buffer {"connection_id":106742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:17:47] local.INFO: Packet analysis {"connection_id":106742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:17:47] local.INFO: Extracted packet for processing {"connection_id":106742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:17:47] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:17:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:17:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:17:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:17:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:17:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:17:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":106742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:17:47] local.INFO: GPS data processed {"connection_id":106742,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:17:47] local.INFO: Acknowledgment sent {"connection_id":106742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:17:49] local.INFO: TCP Data received {"connection_id":107726,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:17:49] local.INFO: Processing buffer {"connection_id":107726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:17:49] local.INFO: IMEI packet received {"connection_id":107726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":107726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:17:56] local.INFO: TCP Data received {"connection_id":107726,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c0530012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c0530012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:17:56] local.INFO: Processing buffer {"connection_id":107726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c0530012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:17:56] local.INFO: Packet analysis {"connection_id":107726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:17:56] local.INFO: Extracted packet for processing {"connection_id":107726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:17:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136460544001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781783070000,"timestamp_ms":1781783070000,"timestamp_seconds":1781783070,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c0530"} 
[2026-06-18 17:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:17: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-06-18 17:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2699497927471195799,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":196,"raw_value":8718968878589280257,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513388470370763031,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":59,"raw_value":78577697990639616,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3461580147936133326,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3296264192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2322270209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960995899,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-06-18 17:17:56] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-06-18 17:17:56] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,71,28,24,241,158,16,196,97,45,192,236,59,43,10,66,15,42,189,1,240,11,218,31,4,113,205,25,105,239,48,2,7],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-06-18 17:17:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251705000960458752,"timestamp_seconds":4251705000960459.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136460544001,"66":12298,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136460544001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:17:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:17:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136460544001,"power":12298,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":107726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:17:56] local.INFO: GPS data processed {"connection_id":107726,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:17:56] local.INFO: Acknowledgment sent {"connection_id":107726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:18:06] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:18:06] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8bda38012d7a364005e45f70001a004d30..."} 
[2026-06-18 17:18:06] local.INFO: Packet analysis {"connection_id":106156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:18:06] local.INFO: Extracted packet for processing {"connection_id":106156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8b"} 
[2026-06-18 17:18:06] local.INFO: GPS Element Parsed {"raw_longitude":762984000,"raw_latitude":98852720,"longitude_deg":76.2984,"latitude_deg":9.885272,"altitude":26,"angle":77,"satellites":48,"speed":0,"hex_longitude":"2d7a3640","hex_latitude":"05e45f70","is_valid_coordinates":true} 
[2026-06-18 17:18:06] 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-06-18 17:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136463104001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93952164786864128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8806296515420057600,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:06] 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-06-18 17:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781783059000,"timestamp_ms":1781783059000,"timestamp_seconds":1781783059,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8bda38"} 
[2026-06-18 17:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:18:06] 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-06-18 17:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-06-18 17:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2676,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106156,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:18:06] 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-06-18 17:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136463104001,"66":11004,"157":206,"87":12288,"24":0,"16":93952164786864128,"45":8806296515420057600},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 17:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136463104001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:18:06] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 17:18:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-06-18 17:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93952164786864128,"km_value":93952164786864.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8806296515420057600,"description":"Unknown IO ID 45"} 
[2026-06-18 17:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136463104001,"power":11004,"unknown_157":206,"unknown_87":12288,"ignition":0,"odometer":null,"unknown_45":8806296515420057600}} 
[2026-06-18 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":106156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345269,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:18:06] local.INFO: GPS data processed {"connection_id":106156,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:18:06] local.INFO: Acknowledgment sent {"connection_id":106156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:18:27] local.INFO: TCP Data received {"connection_id":107726,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c5738012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c5738012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:18:27] local.INFO: Processing buffer {"connection_id":107726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c5738012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:18:27] local.INFO: Packet analysis {"connection_id":107726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:18:27] local.INFO: Extracted packet for processing {"connection_id":107726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136465920001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781783091000,"timestamp_ms":1781783091000,"timestamp_seconds":1781783091,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c5738"} 
[2026-06-18 17:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:18:27] 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-06-18 17:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2699407733157979799,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":196,"raw_value":8718968878589280257,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513388470370763031,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":59,"raw_value":78577697990639616,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832577,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3473683571934691534,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2327646209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3960995899,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880190158,"corrected_to":0} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":105,"raw_value":3221692396,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3296264192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:27] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,71,28,24,241,158,16,196,179,45,192,236,59,44,10,66,97,43,15,1,240,53,218,31,4,113,205,107,105,42,239,46,2,11,7],"length":534,"final_offset":664,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3880190158,"validated":0}]} 
[2026-06-18 17:18:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251704992370524160,"timestamp_seconds":4251704992370524.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136465920001,"66":11754,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136465920001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:18:27] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136465920001,"power":11754,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":107726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:18:27] local.INFO: GPS data processed {"connection_id":107726,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:18:27] local.INFO: Acknowledgment sent {"connection_id":107726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:18:30] local.INFO: TCP Data received {"connection_id":107727,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:18:30] local.INFO: Processing buffer {"connection_id":107727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:18:30] local.INFO: IMEI packet received {"connection_id":107727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:18:30] local.INFO: IMEI acknowledgment sent {"connection_id":107727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:18:33] local.INFO: TCP Data received {"connection_id":105974,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:18:33] local.INFO: Processing buffer {"connection_id":105974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:18:33] local.INFO: IMEI packet received {"connection_id":105974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":105974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:18:33] local.INFO: TCP Data received {"connection_id":107727,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:18:33] local.INFO: Processing buffer {"connection_id":107727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:18:33] local.INFO: IMEI packet received {"connection_id":107727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":107727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:18:34] local.INFO: TCP Data received {"connection_id":107727,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8e56f0012ccff200073c6188000d01632a..."} 
[2026-06-18 17:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8e56f0012ccff200073c6188000d01632a..."} 
[2026-06-18 17:18:34] local.INFO: Processing buffer {"connection_id":107727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8e56f0012ccff200073c6188000d01632a..."} 
[2026-06-18 17:18:34] local.INFO: Packet analysis {"connection_id":107727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:18:34] local.INFO: Extracted packet for processing {"connection_id":107727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:18:34] local.INFO: GPS Element Parsed {"raw_longitude":751825408,"raw_latitude":121397640,"longitude_deg":75.1825408,"latitude_deg":12.139764,"altitude":13,"angle":355,"satellites":42,"speed":29,"hex_longitude":"2ccff200","hex_latitude":"073c6188","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136501760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318729467201585152,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3461297757535502336,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781783222000,"timestamp_ms":1781783222000,"timestamp_seconds":1781783222,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8e56f0"} 
[2026-06-18 17:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:18:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136501760001,"66":27767,"21":206,"2":56832,"24":29,"16":318729467201585152,"44":-3461297757535502336},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,2,24,16,44]} 
[2026-06-18 17:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136501760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:18:34] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 17:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318729467201585152,"km_value":318729467201585.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:18:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3461297757535502336,"description":"Unknown IO ID 44"} 
[2026-06-18 17:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136501760001,"power":27767,"unknown_21":206,"power_alt":56832,"ignition":29,"odometer":null,"unknown_44":-3461297757535502336}} 
[2026-06-18 17:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":107727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:18:34] local.INFO: GPS data processed {"connection_id":107727,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:18:34] local.INFO: Acknowledgment sent {"connection_id":107727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:18:36] local.INFO: TCP Data received {"connection_id":107727,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8e9570012ccfed80073c85e0000d01612d..."} 
[2026-06-18 17:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8e9570012ccfed80073c85e0000d01612d..."} 
[2026-06-18 17:18:36] local.INFO: Processing buffer {"connection_id":107727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8e9570012ccfed80073c85e0000d01612d..."} 
[2026-06-18 17:18:36] local.INFO: Packet analysis {"connection_id":107727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:18:36] local.INFO: Extracted packet for processing {"connection_id":107727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":751824256,"raw_latitude":121406944,"longitude_deg":75.1824256,"latitude_deg":12.1406944,"altitude":13,"angle":353,"satellites":45,"speed":27,"hex_longitude":"2ccfed80","hex_latitude":"073c85e0","is_valid_coordinates":true} 
[2026-06-18 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136504832001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318729922468118528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3462705132416694272,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781783238000,"timestamp_ms":1781783238000,"timestamp_seconds":1781783238,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8e9570"} 
[2026-06-18 17:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 17:18: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-06-18 17:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:18:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136504832001,"66":27843,"21":206,"2":56832,"24":27,"16":318729922468118528,"44":-3462705132416694272},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,2,24,16,44]} 
[2026-06-18 17:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136504832001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:18:36] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 17:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318729922468118528,"km_value":318729922468118.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:18:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3462705132416694272,"description":"Unknown IO ID 44"} 
[2026-06-18 17:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136504832001,"power":27843,"unknown_21":206,"power_alt":56832,"ignition":27,"odometer":null,"unknown_44":-3462705132416694272}} 
[2026-06-18 17:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":107727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:18:36] local.INFO: GPS data processed {"connection_id":107727,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:18:36] local.INFO: Acknowledgment sent {"connection_id":107727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:18:39] local.INFO: TCP Data received {"connection_id":105974,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:18:39] local.INFO: Processing buffer {"connection_id":105974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:18:39] local.INFO: IMEI packet received {"connection_id":105974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":105974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:18:41] local.INFO: TCP Data received {"connection_id":105974,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:18:41] local.INFO: Processing buffer {"connection_id":105974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:18:41] local.INFO: Packet analysis {"connection_id":105974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:18:41] local.INFO: Extracted packet for processing {"connection_id":105974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:18:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:18:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":105974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:18:41] local.INFO: GPS data processed {"connection_id":105974,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:18:41] local.INFO: Acknowledgment sent {"connection_id":105974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:18:44] local.INFO: TCP Data received {"connection_id":106157,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:18:44] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:18:44] local.INFO: IMEI packet received {"connection_id":106157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":106157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:18:49] local.INFO: TCP Data received {"connection_id":106157,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:18:49] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:18:49] local.INFO: IMEI packet received {"connection_id":106157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":106157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:18:51] local.INFO: TCP Data received {"connection_id":106157,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8ca940012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8ca940012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:18:51] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8ca940012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:18:51] local.INFO: Packet analysis {"connection_id":106157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:18:51] local.INFO: Extracted packet for processing {"connection_id":106157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136471296001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781783112000,"timestamp_ms":1781783112000,"timestamp_seconds":1781783112,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8ca940"} 
[2026-06-18 17:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 17:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136471296001,"66":11678,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136471296001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:18:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:18:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136471296001,"power":11678,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":106157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:18:51] local.INFO: GPS data processed {"connection_id":106157,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:18:51] local.INFO: Acknowledgment sent {"connection_id":106157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:19:08] local.INFO: TCP Data received {"connection_id":107727,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8ec450012ccfeac0073cab20000d01642c..."} 
[2026-06-18 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8ec450012ccfeac0073cab20000d01642c..."} 
[2026-06-18 17:19:08] local.INFO: Processing buffer {"connection_id":107727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8ec450012ccfeac0073cab20000d01642c..."} 
[2026-06-18 17:19:08] local.INFO: Packet analysis {"connection_id":107727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:19:08] local.INFO: Extracted packet for processing {"connection_id":107727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:19:08] local.INFO: GPS Element Parsed {"raw_longitude":751823552,"raw_latitude":121416480,"longitude_deg":75.1823552,"latitude_deg":12.141648,"altitude":13,"angle":356,"satellites":44,"speed":34,"hex_longitude":"2ccfeac0","hex_latitude":"073cab20","is_valid_coordinates":true} 
[2026-06-18 17:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136508928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318730386324586496,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3463971769809510400,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781783250000,"timestamp_ms":1781783250000,"timestamp_seconds":1781783250,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8ec450"} 
[2026-06-18 17:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 17:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136508928001,"66":27952,"21":206,"2":56832,"24":34,"16":318730386324586496,"44":-3463971769809510400},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,2,24,16,44]} 
[2026-06-18 17:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136508928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:19:08] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 17:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318730386324586496,"km_value":318730386324586.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:19:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3463971769809510400,"description":"Unknown IO ID 44"} 
[2026-06-18 17:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136508928001,"power":27952,"unknown_21":206,"power_alt":56832,"ignition":34,"odometer":null,"unknown_44":-3463971769809510400}} 
[2026-06-18 17:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":107727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:19:08] local.INFO: GPS data processed {"connection_id":107727,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:19:08] local.INFO: Acknowledgment sent {"connection_id":107727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:19:17] local.INFO: TCP Data received {"connection_id":105974,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:19:17] local.INFO: Processing buffer {"connection_id":105974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:19:17] local.INFO: Packet analysis {"connection_id":105974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:19:17] local.INFO: Extracted packet for processing {"connection_id":105974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:19:17] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":105974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":105974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":105974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:19:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:19:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":105974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:19:17] local.INFO: GPS data processed {"connection_id":105974,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:19:17] local.INFO: Acknowledgment sent {"connection_id":105974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:19:25] local.INFO: TCP Data received {"connection_id":106157,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8cfb48012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8cfb48012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:19:25] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8cfb48012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:19:25] local.INFO: Packet analysis {"connection_id":106157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:19:25] local.INFO: Extracted packet for processing {"connection_id":106157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:19:25] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:19:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136476672001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:19:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781783133000,"timestamp_ms":1781783133000,"timestamp_seconds":1781783133,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8cfb48"} 
[2026-06-18 17:19:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:19:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 17:19: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-06-18 17: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-06-18 17:19:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:19:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:19:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:19:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:19:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:19:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:19:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:19:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:19:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136476672001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:19:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:19:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:19:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136476672001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:19:25] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:19:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:19:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:19:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:19:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136476672001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:19:25] local.INFO: DEBUG: GPS processor result {"connection_id":106157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:19:25] local.INFO: GPS data processed {"connection_id":106157,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:19:25] local.INFO: Acknowledgment sent {"connection_id":106157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:19:28] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:19:28] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:19:28] local.INFO: IMEI packet received {"connection_id":105975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":105975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:19:28] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:19:28] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:19:28] local.INFO: IMEI packet received {"connection_id":105975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":105975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:19:38] local.INFO: TCP Data received {"connection_id":106743,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:19:38] local.INFO: Processing buffer {"connection_id":106743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:19:38] local.INFO: IMEI packet received {"connection_id":106743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":106743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:19:44] local.INFO: TCP Data received {"connection_id":106744,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:44] local.INFO: Processing buffer {"connection_id":106744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:44] local.INFO: IMEI packet received {"connection_id":106744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":106744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:19:44] local.INFO: TCP Data received {"connection_id":106743,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:19:44] local.INFO: Processing buffer {"connection_id":106743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:19:44] local.INFO: IMEI packet received {"connection_id":106743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":106743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:19:46] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:19:46] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:19:46] local.INFO: IMEI packet received {"connection_id":105975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":105975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:19:49] local.INFO: TCP Data received {"connection_id":106743,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:19:49] local.INFO: Processing buffer {"connection_id":106743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:19:49] local.INFO: Packet analysis {"connection_id":106743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:19:49] local.INFO: Extracted packet for processing {"connection_id":106743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:19:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:19:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":106743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:19:49] local.INFO: GPS data processed {"connection_id":106743,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:19:49] local.INFO: Acknowledgment sent {"connection_id":106743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:19:53] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8eef48012ccfe8c0073ccfb0000e01642c..."} 
[2026-06-18 17:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8eef48012ccfe8c0073ccfb0000e01642c..."} 
[2026-06-18 17:19:53] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019eda..."} 
[2026-06-18 17:19:53] local.INFO: IMEI packet received {"connection_id":105975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":105975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:19:54] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8f2210012ccfe700073cf2d0001101652c..."} 
[2026-06-18 17:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8f2210012ccfe700073cf2d0001101652c..."} 
[2026-06-18 17:19:54] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019eda8eef48012ccfe8c0073ccfb0000e01642c..."} 
[2026-06-18 17:19:54] local.INFO: Packet analysis {"connection_id":105975,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:19:54] local.INFO: Extracted packet for processing {"connection_id":105975,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":751823040,"raw_latitude":121425840,"longitude_deg":75.182304,"latitude_deg":12.142584,"altitude":14,"angle":356,"satellites":44,"speed":33,"hex_longitude":"2ccfe8c0","hex_latitude":"073ccfb0","is_valid_coordinates":true} 
[2026-06-18 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136512000001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318730841591119872,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3464745825993023488,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781783261000,"timestamp_ms":1781783261000,"timestamp_seconds":1781783261,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8eef48"} 
[2026-06-18 17:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 17:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":105975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136512000001,"66":27919,"21":206,"2":56832,"24":33,"16":318730841591119872,"44":-3464745825993023488},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,2,24,16,44]} 
[2026-06-18 17:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136512000001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:19:54] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 17:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318730841591119872,"km_value":318730841591119.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3464745825993023488,"description":"Unknown IO ID 44"} 
[2026-06-18 17:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136512000001,"power":27919,"unknown_21":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-3464745825993023488}} 
[2026-06-18 17:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":105975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:19:54] local.INFO: GPS data processed {"connection_id":105975,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:19:54] local.INFO: Acknowledgment sent {"connection_id":105975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:19:54] local.INFO: Packet analysis {"connection_id":105975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:19:54] local.INFO: Extracted packet for processing {"connection_id":105975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":751822592,"raw_latitude":121434832,"longitude_deg":75.1822592,"latitude_deg":12.1434832,"altitude":17,"angle":357,"satellites":44,"speed":24,"hex_longitude":"2ccfe700","hex_latitude":"073cf2d0","is_valid_coordinates":true} 
[2026-06-18 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136514816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318731279677784064,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:54] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3465308775944048640,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781783274000,"timestamp_ms":1781783274000,"timestamp_seconds":1781783274,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8f2210"} 
[2026-06-18 17:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":105975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:19:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136514816001,"66":27745,"20":206,"2":56832,"24":24,"16":318731279677784064,"44":-3465308775944048640},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,2,24,16,44]} 
[2026-06-18 17:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136514816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:19:54] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 17:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318731279677784064,"km_value":318731279677784.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:19:54] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3465308775944048640,"description":"Unknown IO ID 44"} 
[2026-06-18 17:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136514816001,"power":27745,"unknown_20":206,"power_alt":56832,"ignition":24,"odometer":null,"unknown_44":-3465308775944048640}} 
[2026-06-18 17:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":105975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:19:54] local.INFO: GPS data processed {"connection_id":105975,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:19:54] local.INFO: Acknowledgment sent {"connection_id":105975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:19:55] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":1360,"data_hex":"000000000000030f8e0a0000019eda8f31b0012ccfe700073cfb48000f000a2b..."} 
[2026-06-18 17:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019eda8f31b0012ccfe700073cfb48000f000a2b..."} 
[2026-06-18 17:19:55] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019eda8f31b0012ccfe700073cfb48000f000a2b..."} 
[2026-06-18 17:19:55] local.INFO: Packet analysis {"connection_id":105975,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:19:55] local.INFO: Extracted packet for processing {"connection_id":105975,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:19:55] local.INFO: GPS Element Parsed {"raw_longitude":751822592,"raw_latitude":121437000,"longitude_deg":75.1822592,"latitude_deg":12.1437,"altitude":15,"angle":10,"satellites":43,"speed":22,"hex_longitude":"2ccfe700","hex_latitude":"073cfb48","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136518144001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318731382756999168,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3465801357150990336,"note":"Value kept but may cause issues"} 
[2026-06-18 17:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781783278000,"timestamp_ms":1781783278000,"timestamp_seconds":1781783278,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8f31b0"} 
[2026-06-18 17:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:19: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-06-18 17: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":105975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136518144001,"66":27908,"20":206,"2":56832,"24":22,"16":318731382756999168,"44":-3465801357150990336},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,2,24,16,44]} 
[2026-06-18 17:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136518144001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:19:55] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 17:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318731382756999168,"km_value":318731382756999.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:19:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3465801357150990336,"description":"Unknown IO ID 44"} 
[2026-06-18 17:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136518144001,"power":27908,"unknown_20":206,"power_alt":56832,"ignition":22,"odometer":null,"unknown_44":-3465801357150990336}} 
[2026-06-18 17:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":105975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:19:55] local.INFO: GPS data processed {"connection_id":105975,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:19:55] local.INFO: Acknowledgment sent {"connection_id":105975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:19:55] local.INFO: Packet analysis {"connection_id":105975,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:19:55] local.INFO: Incomplete packet, waiting for more data {"connection_id":105975,"needed":795,"available":565} 
[2026-06-18 17:19:56] local.INFO: TCP Data received {"connection_id":106744,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:56] local.INFO: Processing buffer {"connection_id":106744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:56] local.INFO: IMEI packet received {"connection_id":106744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":106744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:19:57] local.INFO: TCP Data received {"connection_id":106744,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:57] local.INFO: Processing buffer {"connection_id":106744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:19:57] local.INFO: IMEI packet received {"connection_id":106744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":106744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:20:00] local.INFO: TCP Data received {"connection_id":106743,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:00] local.INFO: Processing buffer {"connection_id":106743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8c3fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:00] local.INFO: Packet analysis {"connection_id":106743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:20:00] local.INFO: Extracted packet for processing {"connection_id":106743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8c"} 
[2026-06-18 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136392704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781783085000,"timestamp_ms":1781783085000,"timestamp_seconds":1781783085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8c3fc8"} 
[2026-06-18 17:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 17:20:00] 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-06-18 17: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-06-18 17:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136392704001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136392704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136392704001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":106743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:00] local.INFO: GPS data processed {"connection_id":106743,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:00] local.INFO: Acknowledgment sent {"connection_id":106743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:20:04] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":230,"data_hex":"2ccff700073c3d80000d015f2900210000000a000400ef0100715500f0010045..."} 
[2026-06-18 17:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":230,"packet_hex":"2ccff700073c3d80000d015f2900210000000a000400ef0100715500f0010045..."} 
[2026-06-18 17:20:04] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8f6090012ccfeb40073d1da0000d00032c..."} 
[2026-06-18 17:20:04] local.INFO: Packet analysis {"connection_id":105975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:20:04] local.INFO: Extracted packet for processing {"connection_id":105975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:20:04] local.INFO: GPS Element Parsed {"raw_longitude":751823680,"raw_latitude":121445792,"longitude_deg":75.182368,"latitude_deg":12.1445792,"altitude":13,"angle":3,"satellites":44,"speed":31,"hex_longitude":"2ccfeb40","hex_latitude":"073d1da0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136519168001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318731816548696064,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3465801357150435328,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781783290000,"timestamp_ms":1781783290000,"timestamp_seconds":1781783290,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8f6090"} 
[2026-06-18 17:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20: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-06-18 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:20: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-06-18 17: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-06-18 17:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":105975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136519168001,"66":27919,"20":206,"2":56832,"24":31,"16":318731816548696064,"44":-3465801357150435328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,2,24,16,44]} 
[2026-06-18 17:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136519168001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:04] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 17:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318731816548696064,"km_value":318731816548696.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3465801357150435328,"description":"Unknown IO ID 44"} 
[2026-06-18 17:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136519168001,"power":27919,"unknown_20":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-3465801357150435328}} 
[2026-06-18 17:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":105975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:04] local.INFO: GPS data processed {"connection_id":105975,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:04] local.INFO: Acknowledgment sent {"connection_id":105975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:20:05] local.INFO: TCP Data received {"connection_id":105975,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8f87a0012ccfed00073d31e8000c000f2d..."} 
[2026-06-18 17:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8f87a0012ccfed00073d31e8000c000f2d..."} 
[2026-06-18 17:20:05] local.INFO: Processing buffer {"connection_id":105975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8f87a0012ccfed00073d31e8000c000f2d..."} 
[2026-06-18 17:20:05] local.INFO: Packet analysis {"connection_id":105975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:20:05] local.INFO: Extracted packet for processing {"connection_id":105975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":751824128,"raw_latitude":121450984,"longitude_deg":75.1824128,"latitude_deg":12.1450984,"altitude":12,"angle":15,"satellites":45,"speed":13,"hex_longitude":"2ccfed00","hex_latitude":"073d31e8","is_valid_coordinates":true} 
[2026-06-18 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136522240001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318732069951766528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3464605088497164288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781783300000,"timestamp_ms":1781783300000,"timestamp_seconds":1781783300,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8f87a0"} 
[2026-06-18 17:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":105975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":105975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136522240001,"66":27876,"20":206,"2":56832,"24":13,"16":318732069951766528,"44":-3464605088497164288},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,2,24,16,44]} 
[2026-06-18 17:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136522240001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:05] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 17:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318732069951766528,"km_value":318732069951766.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3464605088497164288,"description":"Unknown IO ID 44"} 
[2026-06-18 17:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136522240001,"power":27876,"unknown_20":206,"power_alt":56832,"ignition":13,"odometer":null,"unknown_44":-3464605088497164288}} 
[2026-06-18 17:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":105975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:05] local.INFO: GPS data processed {"connection_id":105975,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:05] local.INFO: Acknowledgment sent {"connection_id":105975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:20:07] local.INFO: TCP Data received {"connection_id":106744,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:07] local.INFO: Processing buffer {"connection_id":106744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:07] local.INFO: IMEI packet received {"connection_id":106744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":106744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:20:14] local.INFO: TCP Data received {"connection_id":106744,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8d4d50012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8d4d50012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:20:14] local.INFO: Processing buffer {"connection_id":106744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8d4d50012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:20:14] local.INFO: Packet analysis {"connection_id":106744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8d"} 
[2026-06-18 17:20:14] local.INFO: Extracted packet for processing {"connection_id":106744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8d"} 
[2026-06-18 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136482048001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781783154000,"timestamp_ms":1781783154000,"timestamp_seconds":1781783154,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8d4d50"} 
[2026-06-18 17:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:20:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:20:14] 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-06-18 17:20:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136482048001,"66":12341,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136482048001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:14] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:20:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136482048001,"power":12341,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":106744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:14] local.INFO: GPS data processed {"connection_id":106744,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:14] local.INFO: Acknowledgment sent {"connection_id":106744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:20:16] local.INFO: TCP Data received {"connection_id":106744,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8d9f58012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8d9f58012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:20:16] local.INFO: Processing buffer {"connection_id":106744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8d9f58012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:20:16] local.INFO: Packet analysis {"connection_id":106744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8d"} 
[2026-06-18 17:20:16] local.INFO: Extracted packet for processing {"connection_id":106744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8d"} 
[2026-06-18 17:20:16] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136487424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781783175000,"timestamp_ms":1781783175000,"timestamp_seconds":1781783175,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8d9f58"} 
[2026-06-18 17:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:20:16] 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-06-18 17:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136487424001,"66":11700,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136487424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:20:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136487424001,"power":11700,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":106744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:16] local.INFO: GPS data processed {"connection_id":106744,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:16] local.INFO: Acknowledgment sent {"connection_id":106744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:20:24] local.INFO: TCP Data received {"connection_id":107728,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:20:24] local.INFO: Processing buffer {"connection_id":107728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:20:24] local.INFO: IMEI packet received {"connection_id":107728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":107728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:20:29] local.INFO: TCP Data received {"connection_id":107728,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:20:29] local.INFO: Processing buffer {"connection_id":107728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:20:29] local.INFO: IMEI packet received {"connection_id":107728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":107728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:20:30] local.INFO: TCP Data received {"connection_id":107728,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8f8f70012ccfed40073d34f0000c00002d..."} 
[2026-06-18 17:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8f8f70012ccfed40073d34f0000c00002d..."} 
[2026-06-18 17:20:30] local.INFO: Processing buffer {"connection_id":107728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8f8f70012ccfed40073d34f0000c00002d..."} 
[2026-06-18 17:20:30] local.INFO: Packet analysis {"connection_id":107728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:20:30] local.INFO: Extracted packet for processing {"connection_id":107728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:20:30] local.INFO: GPS Element Parsed {"raw_longitude":751824192,"raw_latitude":121451760,"longitude_deg":75.1824192,"latitude_deg":12.145176,"altitude":12,"angle":0,"satellites":45,"speed":17,"hex_longitude":"2ccfed40","hex_latitude":"073d34f0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136524800001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318732104311504896,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3464112507286591488,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781783302000,"timestamp_ms":1781783302000,"timestamp_seconds":1781783302,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8f8f70"} 
[2026-06-18 17:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 17:20: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-06-18 17: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-06-18 17:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136524800001,"66":27919,"20":206,"2":56832,"24":17,"16":318732104311504896,"44":-3464112507286591488},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,2,24,16,44]} 
[2026-06-18 17:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136524800001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:30] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 17:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318732104311504896,"km_value":318732104311504.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3464112507286591488,"description":"Unknown IO ID 44"} 
[2026-06-18 17:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136524800001,"power":27919,"unknown_20":206,"power_alt":56832,"ignition":17,"odometer":null,"unknown_44":-3464112507286591488}} 
[2026-06-18 17:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":107728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:30] local.INFO: GPS data processed {"connection_id":107728,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:30] local.INFO: Acknowledgment sent {"connection_id":107728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:20:33] local.INFO: TCP Data received {"connection_id":107729,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:33] local.INFO: Processing buffer {"connection_id":107729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:33] local.INFO: IMEI packet received {"connection_id":107729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":107729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:20:35] local.INFO: TCP Data received {"connection_id":105976,"ip":"117.224.94.103","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:20:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105976,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:20:35] local.INFO: Processing buffer {"connection_id":105976,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:20:35] local.INFO: IMEI packet received {"connection_id":105976,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 17:20:35] local.INFO: IMEI acknowledgment sent {"connection_id":105976,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:20:39] local.INFO: TCP Data received {"connection_id":107729,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:39] local.INFO: Processing buffer {"connection_id":107729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:39] local.INFO: IMEI packet received {"connection_id":107729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:20:39] local.INFO: IMEI acknowledgment sent {"connection_id":107729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:20:47] local.INFO: TCP Data received {"connection_id":107729,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:47] local.INFO: Processing buffer {"connection_id":107729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:20:47] local.INFO: IMEI packet received {"connection_id":107729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":107729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:20:50] local.INFO: TCP Data received {"connection_id":106158,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:50] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:50] local.INFO: IMEI packet received {"connection_id":106158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":106158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:20:51] local.INFO: TCP Data received {"connection_id":107729,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:51] local.INFO: Processing buffer {"connection_id":107729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:51] local.INFO: Packet analysis {"connection_id":107729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:20:51] local.INFO: Extracted packet for processing {"connection_id":107729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:20:51] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:20:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:20:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:20:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:20:51] 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-06-18 17:20:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:20:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:20:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:20:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:20:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:20:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:20:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:20:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:20:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:20:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:20:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:20:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:20:51] local.INFO: DEBUG: GPS processor result {"connection_id":107729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:51] local.INFO: GPS data processed {"connection_id":107729,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:51] local.INFO: Acknowledgment sent {"connection_id":107729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:20:52] local.INFO: TCP Data received {"connection_id":107729,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:52] local.INFO: Processing buffer {"connection_id":107729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:20:52] local.INFO: Packet analysis {"connection_id":107729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:20:52] local.INFO: Extracted packet for processing {"connection_id":107729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:20:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":107729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:52] local.INFO: GPS data processed {"connection_id":107729,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:52] local.INFO: Acknowledgment sent {"connection_id":107729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:20:55] local.INFO: TCP Data received {"connection_id":106158,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:55] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:20:55] local.INFO: IMEI packet received {"connection_id":106158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":106158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:20:56] local.INFO: TCP Data received {"connection_id":106158,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8df160012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8df160012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:20:56] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8df160012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:20:56] local.INFO: Packet analysis {"connection_id":106158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8d"} 
[2026-06-18 17:20:56] local.INFO: Extracted packet for processing {"connection_id":106158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8d"} 
[2026-06-18 17:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136492800001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781783196000,"timestamp_ms":1781783196000,"timestamp_seconds":1781783196,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8df160"} 
[2026-06-18 17:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:20: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-06-18 17:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 17:20:56] 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-06-18 17:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136492800001,"66":11754,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136492800001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:20:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:20:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136492800001,"power":11754,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":106158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:20:56] local.INFO: GPS data processed {"connection_id":106158,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:20:56] local.INFO: Acknowledgment sent {"connection_id":106158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:21:00] local.INFO: TCP Data received {"connection_id":106158,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8e4368012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8e4368012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:21:00] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8e4368012d1969c0071fec18003b01172c..."} 
[2026-06-18 17:21:00] local.INFO: Packet analysis {"connection_id":106158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:21:00] local.INFO: Extracted packet for processing {"connection_id":106158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":44,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136498176001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781783217000,"timestamp_ms":1781783217000,"timestamp_seconds":1781783217,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8e4368"} 
[2026-06-18 17:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:21:00] 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-06-18 17:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 17:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136498176001,"66":12363,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136498176001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:21:00] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136498176001,"power":12363,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":106158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:21:00] local.INFO: GPS data processed {"connection_id":106158,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:21:00] local.INFO: Acknowledgment sent {"connection_id":106158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:21:06] local.INFO: TCP Data received {"connection_id":105977,"ip":"117.224.94.103","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:06] local.INFO: Processing buffer {"connection_id":105977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:06] local.INFO: IMEI packet received {"connection_id":105977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-06-18 17:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":105977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:21:07] local.INFO: TCP Data received {"connection_id":105977,"ip":"117.224.94.103","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:07] local.INFO: Processing buffer {"connection_id":105977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:07] local.INFO: IMEI packet received {"connection_id":105977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 17:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":105977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:21:08] local.INFO: TCP Data received {"connection_id":107728,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8fca08012ccff0c0073d5868000f01662d..."} 
[2026-06-18 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8fca08012ccff0c0073d5868000f01662d..."} 
[2026-06-18 17:21:09] local.INFO: Processing buffer {"connection_id":107728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8fca08012ccff0c0073d5868000f01662d..."} 
[2026-06-18 17:21:09] local.INFO: Packet analysis {"connection_id":107728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:21:09] local.INFO: Extracted packet for processing {"connection_id":107728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":751825088,"raw_latitude":121460840,"longitude_deg":75.1825088,"latitude_deg":12.146084,"altitude":15,"angle":358,"satellites":45,"speed":26,"hex_longitude":"2ccff0c0","hex_latitude":"073d5868","is_valid_coordinates":true} 
[2026-06-18 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136525312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318732550988103680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3464042138542215168,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781783317000,"timestamp_ms":1781783317000,"timestamp_seconds":1781783317,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8fca08"} 
[2026-06-18 17:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:21:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:21: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-06-18 17:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136525312001,"66":27995,"20":206,"2":56832,"24":26,"16":318732550988103680,"44":-3464042138542215168},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,2,24,16,44]} 
[2026-06-18 17:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136525312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:21:09] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 17:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318732550988103680,"km_value":318732550988103.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:21:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3464042138542215168,"description":"Unknown IO ID 44"} 
[2026-06-18 17:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136525312001,"power":27995,"unknown_20":206,"power_alt":56832,"ignition":26,"odometer":null,"unknown_44":-3464042138542215168}} 
[2026-06-18 17:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":107728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:21:09] local.INFO: GPS data processed {"connection_id":107728,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:21:09] local.INFO: Acknowledgment sent {"connection_id":107728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:21:12] local.INFO: TCP Data received {"connection_id":105977,"ip":"117.224.94.103","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105977,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:12] local.INFO: Processing buffer {"connection_id":105977,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-06-18 17:21:12] local.INFO: IMEI packet received {"connection_id":105977,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-06-18 17:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":105977,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:21:15] local.INFO: TCP Data received {"connection_id":105977,"ip":"117.224.94.103","data_length":795,"data_hex":"000000000000030f8e0a0000019eda91ae68012d0af2000702c730001400812c..."} 
[2026-06-18 17:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda91ae68012d0af2000702c730001400812c..."} 
[2026-06-18 17:21:15] local.INFO: Processing buffer {"connection_id":105977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda91ae68012d0af2000702c730001400812c..."} 
[2026-06-18 17:21:15] local.INFO: Packet analysis {"connection_id":105977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda91"} 
[2026-06-18 17:21:15] local.INFO: Extracted packet for processing {"connection_id":105977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda91"} 
[2026-06-18 17:21:15] local.INFO: GPS Element Parsed {"raw_longitude":755692032,"raw_latitude":117622576,"longitude_deg":75.5692032,"latitude_deg":11.7622576,"altitude":20,"angle":129,"satellites":44,"speed":10,"hex_longitude":"2d0af200","hex_latitude":"0702c730","is_valid_coordinates":true} 
[2026-06-18 17:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136559104001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":21213685288534016,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787144802483404800,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781783441000,"timestamp_ms":1781783441000,"timestamp_seconds":1781783441,"priority":1,"record_length":96,"hex_timestamp":"0000019eda91ae68"} 
[2026-06-18 17:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 17:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2287,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":105977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":105977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":105977,"device_imei":"862567072573210","avl_records_count":1} 
[2026-06-18 17:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"117.224.94.103","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-06-18 17:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-06-18 17:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136559104001,"66":14580,"21":206,"28":32256,"24":10,"16":21213685288534016,"45":787144802483404800},"client_ip":"117.224.94.103","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,28,24,16,45]} 
[2026-06-18 17:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-06-18 17:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-06-18 17:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136559104001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:21:15] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 17:21:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-06-18 17:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":21213685288534016,"km_value":21213685288534.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":787144802483404800,"description":"Unknown IO ID 45"} 
[2026-06-18 17:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136559104001,"power":14580,"unknown_21":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":787144802483404800}} 
[2026-06-18 17:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":105977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345293,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:21:16] local.INFO: GPS data processed {"connection_id":105977,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:21:16] local.INFO: Acknowledgment sent {"connection_id":105977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:21:24] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:24] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:24] local.INFO: IMEI packet received {"connection_id":106159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":106159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:21:27] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:27] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:27] local.INFO: IMEI packet received {"connection_id":106159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":106159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:21:29] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:29] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:21:29] local.INFO: IMEI packet received {"connection_id":106159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":106159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:21:33] local.INFO: TCP Data received {"connection_id":106745,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:21:33] local.INFO: Processing buffer {"connection_id":106745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:21:33] local.INFO: IMEI packet received {"connection_id":106745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":106745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:21:38] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8ff8e8012ccfedc0073d7cb8000f01612b..."} 
[2026-06-18 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8ff8e8012ccfedc0073d7cb8000f01612b..."} 
[2026-06-18 17:21:38] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8ff8e8012ccfedc0073d7cb8000f01612b..."} 
[2026-06-18 17:21:38] local.INFO: Packet analysis {"connection_id":106159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:21:38] local.INFO: Extracted packet for processing {"connection_id":106159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8f"} 
[2026-06-18 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":751824320,"raw_latitude":121470136,"longitude_deg":75.182432,"latitude_deg":12.1470136,"altitude":15,"angle":353,"satellites":43,"speed":33,"hex_longitude":"2ccfedc0","hex_latitude":"073d7cb8","is_valid_coordinates":true} 
[2026-06-18 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136529152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318733001959669760,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3463056976121403392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781783329000,"timestamp_ms":1781783329000,"timestamp_seconds":1781783329,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8ff8e8"} 
[2026-06-18 17:21:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:21:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 17:21: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-06-18 17:21:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:21:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136529152001,"66":27908,"20":206,"2":56832,"24":33,"16":318733001959669760,"44":-3463056976121403392},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,2,24,16,44]} 
[2026-06-18 17:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136529152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:21:38] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 17:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318733001959669760,"km_value":318733001959669.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:21:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3463056976121403392,"description":"Unknown IO ID 44"} 
[2026-06-18 17:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136529152001,"power":27908,"unknown_20":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-3463056976121403392}} 
[2026-06-18 17:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":106159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:21:38] local.INFO: GPS data processed {"connection_id":106159,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:21:38] local.INFO: Acknowledgment sent {"connection_id":106159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:21:38] local.INFO: TCP Data received {"connection_id":106745,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106745,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:21:38] local.INFO: Processing buffer {"connection_id":106745,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:21:38] local.INFO: IMEI packet received {"connection_id":106745,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":106745,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:21:40] local.INFO: TCP Data received {"connection_id":106745,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:21:40] local.INFO: Processing buffer {"connection_id":106745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:21:40] local.INFO: Packet analysis {"connection_id":106745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:21:40] local.INFO: Extracted packet for processing {"connection_id":106745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:21:40] 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-06-18 17:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:21:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:21:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":106745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:21:40] local.INFO: GPS data processed {"connection_id":106745,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:21:40] local.INFO: Acknowledgment sent {"connection_id":106745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:21:41] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9023e0012ccfe880073d9f98000e01612d..."} 
[2026-06-18 17:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9023e0012ccfe880073d9f98000e01612d..."} 
[2026-06-18 17:21:41] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9023e0012ccfe880073d9f98000e01612d..."} 
[2026-06-18 17:21:41] local.INFO: Packet analysis {"connection_id":106159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:21:41] local.INFO: Extracted packet for processing {"connection_id":106159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:21:41] local.INFO: GPS Element Parsed {"raw_longitude":751822976,"raw_latitude":121479064,"longitude_deg":75.1822976,"latitude_deg":12.1479064,"altitude":14,"angle":353,"satellites":45,"speed":29,"hex_longitude":"2ccfe880","hex_latitude":"073d9f98","is_valid_coordinates":true} 
[2026-06-18 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136532224001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318733440046333952,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3463901401049155584,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781783340000,"timestamp_ms":1781783340000,"timestamp_seconds":1781783340,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9023e0"} 
[2026-06-18 17:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:21:41] 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-06-18 17:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:21: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-06-18 17:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136532224001,"66":27908,"20":206,"2":56832,"24":29,"16":318733440046333952,"44":-3463901401049155584},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,2,24,16,44]} 
[2026-06-18 17:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136532224001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:21:41] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 17:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318733440046333952,"km_value":318733440046333.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:21:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3463901401049155584,"description":"Unknown IO ID 44"} 
[2026-06-18 17:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136532224001,"power":27908,"unknown_20":206,"power_alt":56832,"ignition":29,"odometer":null,"unknown_44":-3463901401049155584}} 
[2026-06-18 17:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":106159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:21:41] local.INFO: GPS data processed {"connection_id":106159,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:21:41] local.INFO: Acknowledgment sent {"connection_id":106159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:21:44] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:44] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:44] local.INFO: IMEI packet received {"connection_id":105978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":105978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:21:47] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:47] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:47] local.INFO: IMEI packet received {"connection_id":105978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:21:47] local.INFO: IMEI acknowledgment sent {"connection_id":105978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:21:49] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:49] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:21:49] local.INFO: IMEI packet received {"connection_id":105978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":105978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:21:55] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8e9570012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8e9570012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:21:55] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8e9570012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:21:55] local.INFO: Packet analysis {"connection_id":105978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:21:55] local.INFO: Extracted packet for processing {"connection_id":105978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136503552001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781783238000,"timestamp_ms":1781783238000,"timestamp_seconds":1781783238,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8e9570"} 
[2026-06-18 17:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 17:21:55] 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-06-18 17: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-06-18 17:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":105978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":105978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":105978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136503552001,"66":12178,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136503552001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:21:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136503552001,"power":12178,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":105978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:21:55] local.INFO: GPS data processed {"connection_id":105978,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:21:55] local.INFO: Acknowledgment sent {"connection_id":105978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:21:57] local.INFO: TCP Data received {"connection_id":105978,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda8ee778012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda8ee778012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:21:57] local.INFO: Processing buffer {"connection_id":105978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda8ee778012d1969c0071fec18003b01172a..."} 
[2026-06-18 17:21:57] local.INFO: Packet analysis {"connection_id":105978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:21:57] local.INFO: Extracted packet for processing {"connection_id":105978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda8e"} 
[2026-06-18 17:21:57] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":42,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136508928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781783259000,"timestamp_ms":1781783259000,"timestamp_seconds":1781783259,"priority":1,"record_length":96,"hex_timestamp":"0000019eda8ee778"} 
[2026-06-18 17:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:21: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-06-18 17: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 17:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136508928001,"66":12319,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136508928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:21:57] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:21:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136508928001,"power":12319,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":105978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:21:57] local.INFO: GPS data processed {"connection_id":105978,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:21:57] local.INFO: Acknowledgment sent {"connection_id":105978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:22:12] local.INFO: TCP Data received {"connection_id":106745,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:22:12] local.INFO: Processing buffer {"connection_id":106745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:22:12] local.INFO: Packet analysis {"connection_id":106745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:22:12] local.INFO: Extracted packet for processing {"connection_id":106745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:22:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:22:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:22:12] 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-06-18 17:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106745,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:22:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":106745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:22:12] local.INFO: GPS data processed {"connection_id":106745,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:22:12] local.INFO: Acknowledgment sent {"connection_id":106745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:22:20] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:22:20] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:22:20] local.INFO: IMEI packet received {"connection_id":106746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":106746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:22:24] local.INFO: TCP Data received {"connection_id":106160,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:24] local.INFO: Processing buffer {"connection_id":106160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:24] local.INFO: IMEI packet received {"connection_id":106160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":106160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:22:25] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:22:25] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:22:25] local.INFO: IMEI packet received {"connection_id":106746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":106746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:22:25] local.INFO: TCP Data received {"connection_id":106160,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:25] local.INFO: Processing buffer {"connection_id":106160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:25] local.INFO: IMEI packet received {"connection_id":106160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":106160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:22:26] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda932180012d7b0b0005e34930000c00ab2d..."} 
[2026-06-18 17:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda932180012d7b0b0005e34930000c00ab2d..."} 
[2026-06-18 17:22:26] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda932180012d7b0b0005e34930000c00ab2d..."} 
[2026-06-18 17:22:26] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:22:26] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763038464,"raw_latitude":98781488,"longitude_deg":76.3038464,"latitude_deg":9.8781488,"altitude":12,"angle":171,"satellites":45,"speed":16,"hex_longitude":"2d7b0b00","hex_latitude":"05e34930","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136582144001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93955914293313536,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8863717410652088320,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781783536000,"timestamp_ms":1781783536000,"timestamp_seconds":1781783536,"priority":1,"record_length":96,"hex_timestamp":"0000019eda932180"} 
[2026-06-18 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-06-18 17:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-06-18 17:22:26] 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-06-18 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-06-18 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-06-18 17:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:22: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-06-18 17:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136582144001,"66":13048,"97":206,"85":15104,"24":16,"16":93955914293313536,"45":8863717410652088320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 17:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136582144001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:22:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 17:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93955914293313536,"km_value":93955914293313.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8863717410652088320,"description":"Unknown IO ID 45"} 
[2026-06-18 17:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136582144001,"power":13048,"unknown_97":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":8863717410652088320}} 
[2026-06-18 17:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:22:26] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:22:26] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:22:29] local.INFO: TCP Data received {"connection_id":106160,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:29] local.INFO: Processing buffer {"connection_id":106160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:22:29] local.INFO: IMEI packet received {"connection_id":106160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":106160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:22:33] local.INFO: TCP Data received {"connection_id":106160,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda921010012ccf70c0073f1be0000e014c2c..."} 
[2026-06-18 17:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda921010012ccf70c0073f1be0000e014c2c..."} 
[2026-06-18 17:22:33] local.INFO: Processing buffer {"connection_id":106160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda921010012ccf70c0073f1be0000e014c2c..."} 
[2026-06-18 17:22:33] local.INFO: Packet analysis {"connection_id":106160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:22:33] local.INFO: Extracted packet for processing {"connection_id":106160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:22:33] local.INFO: GPS Element Parsed {"raw_longitude":751792320,"raw_latitude":121576416,"longitude_deg":75.179232,"latitude_deg":12.1576416,"altitude":14,"angle":332,"satellites":44,"speed":45,"hex_longitude":"2ccf70c0","hex_latitude":"073f1be0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136565248001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318738413618462720,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3494159961020397568,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781783466000,"timestamp_ms":1781783466000,"timestamp_seconds":1781783466,"priority":1,"record_length":96,"hex_timestamp":"0000019eda921010"} 
[2026-06-18 17:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:22: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-06-18 17:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 17:22: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-06-18 17: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-06-18 17:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136565248001,"66":27974,"144":206,"2":54016,"24":45,"16":318738413618462720,"44":-3494159961020397568},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-06-18 17:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136565248001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:22:33] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-06-18 17:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318738413618462720,"km_value":318738413618462.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:22:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3494159961020397568,"description":"Unknown IO ID 44"} 
[2026-06-18 17:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136565248001,"power":27974,"unknown_144":206,"power_alt":54016,"ignition":45,"odometer":null,"unknown_44":-3494159961020397568}} 
[2026-06-18 17:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":106160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:22:33] local.INFO: GPS data processed {"connection_id":106160,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:22:33] local.INFO: Acknowledgment sent {"connection_id":106160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:22:38] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:22:38] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:22:38] local.INFO: IMEI packet received {"connection_id":105979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":105979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:22:43] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:22:43] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:22:43] local.INFO: IMEI packet received {"connection_id":105979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":105979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:22:44] local.INFO: TCP Data received {"connection_id":107730,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:22:44] local.INFO: Processing buffer {"connection_id":107730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:22:44] local.INFO: IMEI packet received {"connection_id":107730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":107730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:22:49] local.INFO: TCP Data received {"connection_id":105979,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:22:49] local.INFO: Processing buffer {"connection_id":105979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:22:49] local.INFO: Packet analysis {"connection_id":105979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:22:49] local.INFO: Extracted packet for processing {"connection_id":105979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:22:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:22:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":105979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:22:49] local.INFO: GPS data processed {"connection_id":105979,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:22:49] local.INFO: Acknowledgment sent {"connection_id":105979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:22:57] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda934890012d7b0cc005e33a38000e00b92b..."} 
[2026-06-18 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda934890012d7b0cc005e33a38000e00b92b..."} 
[2026-06-18 17:22:57] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda934890012d7b0cc005e33a38000e00b92b..."} 
[2026-06-18 17:22:57] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:22:57] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763038912,"raw_latitude":98777656,"longitude_deg":76.3038912,"latitude_deg":9.8777656,"altitude":14,"angle":185,"satellites":43,"speed":14,"hex_longitude":"2d7b0cc0","hex_latitude":"05e33a38","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136585216001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93956103271874560,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866180316697014272,"note":"Value kept but may cause issues"} 
[2026-06-18 17:22: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-06-18 17:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781783546000,"timestamp_ms":1781783546000,"timestamp_seconds":1781783546,"priority":1,"record_length":96,"hex_timestamp":"0000019eda934890"} 
[2026-06-18 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-06-18 17:22:57] 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-06-18 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 17:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 17:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:22: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-06-18 17:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136585216001,"66":13015,"97":206,"85":15104,"24":14,"16":93956103271874560,"45":8866180316697014272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 17:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136585216001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:22:57] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 17:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93956103271874560,"km_value":93956103271874.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866180316697014272,"description":"Unknown IO ID 45"} 
[2026-06-18 17:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136585216001,"power":13015,"unknown_97":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":8866180316697014272}} 
[2026-06-18 17:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345303,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:22:57] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:22:57] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:23:08] local.INFO: TCP Data received {"connection_id":106160,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda922f50012ccf6240073f3b88000f01552e..."} 
[2026-06-18 17:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda922f50012ccf6240073f3b88000f01552e..."} 
[2026-06-18 17:23:08] local.INFO: Processing buffer {"connection_id":106160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda922f50012ccf6240073f3b88000f01552e..."} 
[2026-06-18 17:23:08] local.INFO: Packet analysis {"connection_id":106160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:23:08] local.INFO: Extracted packet for processing {"connection_id":106160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:23:08] local.INFO: GPS Element Parsed {"raw_longitude":751788608,"raw_latitude":121584520,"longitude_deg":75.1788608,"latitude_deg":12.158452,"altitude":15,"angle":341,"satellites":46,"speed":42,"hex_longitude":"2ccf6240","hex_latitude":"073f3b88","is_valid_coordinates":true} 
[2026-06-18 17:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136567296001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318738843115192320,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3499085773110779904,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781783474000,"timestamp_ms":1781783474000,"timestamp_seconds":1781783474,"priority":1,"record_length":96,"hex_timestamp":"0000019eda922f50"} 
[2026-06-18 17:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:23:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 17:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:23:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136567296001,"66":27995,"144":206,"2":54016,"24":42,"16":318738843115192320,"44":-3499085773110779904},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,2,24,16,44]} 
[2026-06-18 17:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136567296001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:23:08] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-06-18 17:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318738843115192320,"km_value":318738843115192.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:23:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3499085773110779904,"description":"Unknown IO ID 44"} 
[2026-06-18 17:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136567296001,"power":27995,"unknown_144":206,"power_alt":54016,"ignition":42,"odometer":null,"unknown_44":-3499085773110779904}} 
[2026-06-18 17:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":106160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:23:08] local.INFO: GPS data processed {"connection_id":106160,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:23:08] local.INFO: Acknowledgment sent {"connection_id":106160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:23:14] local.INFO: TCP Data received {"connection_id":107730,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:14] local.INFO: Processing buffer {"connection_id":107730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:14] local.INFO: IMEI packet received {"connection_id":107730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":107730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:23:24] local.INFO: TCP Data received {"connection_id":107731,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:24] local.INFO: Processing buffer {"connection_id":107731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:24] local.INFO: IMEI packet received {"connection_id":107731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":107731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:23:24] local.INFO: TCP Data received {"connection_id":107731,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:24] local.INFO: Processing buffer {"connection_id":107731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:24] local.INFO: IMEI packet received {"connection_id":107731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":107731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:23:29] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda937388012d7b0e0005e32340000c00ac28..."} 
[2026-06-18 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda937388012d7b0e0005e32340000c00ac28..."} 
[2026-06-18 17:23:29] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda937388012d7b0e0005e32340000c00ac28..."} 
[2026-06-18 17:23:29] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:23:29] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763039232,"raw_latitude":98771776,"longitude_deg":76.3039232,"latitude_deg":9.8771776,"altitude":12,"angle":172,"satellites":40,"speed":24,"hex_longitude":"2d7b0e00","hex_latitude":"05e32340","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136587776001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93956391034683392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866672897905276928,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23: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-06-18 17:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781783557000,"timestamp_ms":1781783557000,"timestamp_seconds":1781783557,"priority":1,"record_length":96,"hex_timestamp":"0000019eda937388"} 
[2026-06-18 17:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:23:29] 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-06-18 17: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-06-18 17: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-06-18 17: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-06-18 17:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:23: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-06-18 17:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136587776001,"66":12819,"97":206,"85":15104,"24":24,"16":93956391034683392,"45":8866672897905276928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 17:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136587776001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:23:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 17:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93956391034683392,"km_value":93956391034683.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866672897905276928,"description":"Unknown IO ID 45"} 
[2026-06-18 17:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136587776001,"power":12819,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8866672897905276928}} 
[2026-06-18 17:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:23:29] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:23:29] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:23:29] local.INFO: TCP Data received {"connection_id":107731,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:29] local.INFO: Processing buffer {"connection_id":107731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:23:29] local.INFO: IMEI packet received {"connection_id":107731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":107731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:23:30] local.INFO: TCP Data received {"connection_id":107731,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda925278012ccf5980073f5da0000e015b2c..."} 
[2026-06-18 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda925278012ccf5980073f5da0000e015b2c..."} 
[2026-06-18 17:23:30] local.INFO: Processing buffer {"connection_id":107731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda925278012ccf5980073f5da0000e015b2c..."} 
[2026-06-18 17:23:30] local.INFO: Packet analysis {"connection_id":107731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:23:30] local.INFO: Extracted packet for processing {"connection_id":107731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:23:30] local.INFO: GPS Element Parsed {"raw_longitude":751786368,"raw_latitude":121593248,"longitude_deg":75.1786368,"latitude_deg":12.1593248,"altitude":14,"angle":347,"satellites":44,"speed":39,"hex_longitude":"2ccf5980","hex_latitude":"073f5da0","is_valid_coordinates":true} 
[2026-06-18 17:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136569344001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318739281201856512,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3503167160271009792,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781783483000,"timestamp_ms":1781783483000,"timestamp_seconds":1781783483,"priority":1,"record_length":96,"hex_timestamp":"0000019eda925278"} 
[2026-06-18 17:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:23: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-06-18 17:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 17:23: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-06-18 17:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136569344001,"66":27245,"206":206,"2":54016,"24":39,"16":318739281201856512,"44":-3503167160271009792},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-06-18 17:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136569344001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:23:30] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318739281201856512,"km_value":318739281201856.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3503167160271009792,"description":"Unknown IO ID 44"} 
[2026-06-18 17:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136569344001,"power":27245,"unknown_206":206,"power_alt":54016,"ignition":39,"odometer":null,"unknown_44":-3503167160271009792}} 
[2026-06-18 17:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":107731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:23:30] local.INFO: GPS data processed {"connection_id":107731,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:23:30] local.INFO: Acknowledgment sent {"connection_id":107731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:23:33] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:23:33] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:23:33] local.INFO: IMEI packet received {"connection_id":106161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":106161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:23:38] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:23:38] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:23:38] local.INFO: IMEI packet received {"connection_id":106161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":106161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:23:40] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:23:40] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:23:40] local.INFO: Packet analysis {"connection_id":106161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:23:40] local.INFO: Extracted packet for processing {"connection_id":106161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:23:40] 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-06-18 17:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:23:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":106161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:23:41] local.INFO: GPS data processed {"connection_id":106161,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:23:41] local.INFO: Acknowledgment sent {"connection_id":106161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:23:49] local.INFO: TCP Data received {"connection_id":106747,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:49] local.INFO: Processing buffer {"connection_id":106747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:49] local.INFO: IMEI packet received {"connection_id":106747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":106747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:23:51] local.INFO: TCP Data received {"connection_id":106747,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:51] local.INFO: Processing buffer {"connection_id":106747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:23:51] local.INFO: IMEI packet received {"connection_id":106747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":106747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:23:52] local.INFO: TCP Data received {"connection_id":106747,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda92bfd8012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda92bfd8012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:23:52] local.INFO: Processing buffer {"connection_id":106747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda92bfd8012d1969c0071fec18003b01172b..."} 
[2026-06-18 17:23:52] local.INFO: Packet analysis {"connection_id":106747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:23:52] local.INFO: Extracted packet for processing {"connection_id":106747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:23:52] local.INFO: GPS Element Parsed {"raw_longitude":756640192,"raw_latitude":119532568,"longitude_deg":75.6640192,"latitude_deg":11.9532568,"altitude":59,"angle":279,"satellites":43,"speed":0,"hex_longitude":"2d1969c0","hex_latitude":"071fec18","is_valid_coordinates":true} 
[2026-06-18 17:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:23:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136573440001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3312248713904128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860335687680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:23:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:23:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781783511000,"timestamp_ms":1781783511000,"timestamp_seconds":1781783511,"priority":1,"record_length":96,"hex_timestamp":"0000019eda92bfd8"} 
[2026-06-18 17:23:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:23:52] 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-06-18 17:23:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:23:52] 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-06-18 17:23:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:23:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:23:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:23:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:23:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:23:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:23:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:23:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:23:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:23:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136573440001,"66":12298,"71":206,"28":31744,"24":0,"16":3312248713904128,"45":1831205860335687680},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 17:23:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:23:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:23:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136573440001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:23:52] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:23:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:23:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3312248713904128,"km_value":3312248713904.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:23:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860335687680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:23:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136573440001,"power":12298,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831205860335687680}} 
[2026-06-18 17:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":106747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:23:52] local.INFO: GPS data processed {"connection_id":106747,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:23:52] local.INFO: Acknowledgment sent {"connection_id":106747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:00] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda93aa38012d7b144005e2ff30000700b028..."} 
[2026-06-18 17:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda93aa38012d7b144005e2ff30000700b028..."} 
[2026-06-18 17:24:00] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda93aa38012d7b144005e2ff30000700b028..."} 
[2026-06-18 17:24:00] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:24:00] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:24:00] local.INFO: GPS Element Parsed {"raw_longitude":763040832,"raw_latitude":98762544,"longitude_deg":76.3040832,"latitude_deg":9.8762544,"altitude":7,"angle":176,"satellites":40,"speed":32,"hex_longitude":"2d7b1440","hex_latitude":"05e2ff30","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136590592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93956846301216768,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867024741624659968,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781783571000,"timestamp_ms":1781783571000,"timestamp_seconds":1781783571,"priority":1,"record_length":96,"hex_timestamp":"0000019eda93aa38"} 
[2026-06-18 17:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24:00] 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-06-18 17: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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-06-18 17:24:00] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":704643072,"corrected_to":0} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3666937456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-7996580938752458752,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5548698628010607104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":884763263000,"corrected_to":0} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182169580077312,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3026644349476720128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3420979200,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":69,"raw_value":144119587232819712,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":112,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,97,85,24,241,157,16,204,158,72,45,192,58,14,43,10,66,33,73,12,242,64,1,240,111,218,227,4,113,205,18,6,239,2,48,77,232,69,112,31],"length":625,"final_offset":755,"validated_count":40,"validation_warnings":[{"io_id":204,"original":704643072,"validated":0},{"io_id":205,"original":884763263000,"validated":0}]} 
[2026-06-18 17:24:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864880416255377408,"timestamp_seconds":864880416255377.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:24: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-06-18 17:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136590592001,"66":13037,"97":206,"85":15104,"24":32,"16":93956846301216768,"45":8867024741624659968},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 17:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136590592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:00] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 17:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93956846301216768,"km_value":93956846301216.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867024741624659968,"description":"Unknown IO ID 45"} 
[2026-06-18 17:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136590592001,"power":13037,"unknown_97":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8867024741624659968}} 
[2026-06-18 17:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345309,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:00] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:00] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:01] local.INFO: TCP Data received {"connection_id":107731,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda927d70012ccf5200073f8138000f015a2c..."} 
[2026-06-18 17:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda927d70012ccf5200073f8138000f015a2c..."} 
[2026-06-18 17:24:01] local.INFO: Processing buffer {"connection_id":107731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda927d70012ccf5200073f8138000f015a2c..."} 
[2026-06-18 17:24:01] local.INFO: Packet analysis {"connection_id":107731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:24:01] local.INFO: Extracted packet for processing {"connection_id":107731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda92"} 
[2026-06-18 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":751784448,"raw_latitude":121602360,"longitude_deg":75.1784448,"latitude_deg":12.160236,"altitude":15,"angle":346,"satellites":44,"speed":30,"hex_longitude":"2ccf5200","hex_latitude":"073f8138","is_valid_coordinates":true} 
[2026-06-18 17:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136571648001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318739732173422592,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3505630066314993664,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781783494000,"timestamp_ms":1781783494000,"timestamp_seconds":1781783494,"priority":1,"record_length":96,"hex_timestamp":"0000019eda927d70"} 
[2026-06-18 17:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 17:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:24:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136571648001,"66":27876,"206":206,"2":54016,"24":30,"16":318739732173422592,"44":-3505630066314993664},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-06-18 17:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136571648001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:01] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318739732173422592,"km_value":318739732173422.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3505630066314993664,"description":"Unknown IO ID 44"} 
[2026-06-18 17:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136571648001,"power":27876,"unknown_206":206,"power_alt":54016,"ignition":30,"odometer":null,"unknown_44":-3505630066314993664}} 
[2026-06-18 17:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":107731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:01] local.INFO: GPS data processed {"connection_id":107731,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:01] local.INFO: Acknowledgment sent {"connection_id":107731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:12] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:12] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:12] local.INFO: Packet analysis {"connection_id":106161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:24:12] local.INFO: Extracted packet for processing {"connection_id":106161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:24:12] 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-06-18 17:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:24:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":106161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:12] local.INFO: GPS data processed {"connection_id":106161,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:12] local.INFO: Acknowledgment sent {"connection_id":106161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:23] local.INFO: TCP Data received {"connection_id":106747,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9461d0012d19a540071ff1a0004000612c..."} 
[2026-06-18 17:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9461d0012d19a540071ff1a0004000612c..."} 
[2026-06-18 17:24:23] local.INFO: Processing buffer {"connection_id":106747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9461d0012d19a540071ff1a0004000612c..."} 
[2026-06-18 17:24:23] local.INFO: Packet analysis {"connection_id":106747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:24:23] local.INFO: Extracted packet for processing {"connection_id":106747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756655424,"raw_latitude":119533984,"longitude_deg":75.6655424,"latitude_deg":11.9533984,"altitude":64,"angle":97,"satellites":44,"speed":12,"hex_longitude":"2d19a540","hex_latitude":"071ff1a0","is_valid_coordinates":true} 
[2026-06-18 17:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136605952001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3313064757690368,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777729449984,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781783618000,"timestamp_ms":1781783618000,"timestamp_seconds":1781783618,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9461d0"} 
[2026-06-18 17:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667136456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3875536896,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2484830209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4040163394,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":131,"raw_value":2147950576,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3302359040,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,197,86,45,192,240,64,44,10,66,82,35,128,1,55,196,218,31,4,113,205,19,23,131,96,43,239,2,11,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 17:24:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611771969313636352,"timestamp_seconds":4611771969313636.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136605952001,"66":14080,"121":206,"28":31744,"24":12,"16":3313064757690368,"45":1847601777729449984},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136605952001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:24:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3313064757690368,"km_value":3313064757690.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777729449984,"description":"Unknown IO ID 45"} 
[2026-06-18 17:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136605952001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1847601777729449984}} 
[2026-06-18 17:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":106747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:23] local.INFO: GPS data processed {"connection_id":106747,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:23] local.INFO: Acknowledgment sent {"connection_id":106747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:29] local.INFO: TCP Data received {"connection_id":106748,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:24:29] local.INFO: Processing buffer {"connection_id":106748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:24:29] local.INFO: IMEI packet received {"connection_id":106748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":106748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:24:32] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda93cd60012d7b1a4005e2dd10000300a922..."} 
[2026-06-18 17:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda93cd60012d7b1a4005e2dd10000300a922..."} 
[2026-06-18 17:24:32] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda93cd60012d7b1a4005e2dd10000300a922..."} 
[2026-06-18 17:24:32] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:24:32] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda93"} 
[2026-06-18 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":763042368,"raw_latitude":98753808,"longitude_deg":76.3042368,"latitude_deg":9.8753808,"altitude":3,"angle":169,"satellites":34,"speed":38,"hex_longitude":"2d7b1a40","hex_latitude":"05e2dd10","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136594176001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93957280092913664,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868783960226738176,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24: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-06-18 17:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781783580000,"timestamp_ms":1781783580000,"timestamp_seconds":1781783580,"priority":1,"record_length":96,"hex_timestamp":"0000019eda93cd60"} 
[2026-06-18 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-06-18 17:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 17:24: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-06-18 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-06-18 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-06-18 17:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:24:32] 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-06-18 17:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136594176001,"66":13059,"97":206,"85":15104,"24":38,"16":93957280092913664,"45":8868783960226738176},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-06-18 17:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136594176001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 17:24:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93957280092913664,"km_value":93957280092913.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868783960226738176,"description":"Unknown IO ID 45"} 
[2026-06-18 17:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136594176001,"power":13059,"unknown_97":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8868783960226738176}} 
[2026-06-18 17:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345313,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:32] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:32] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:33] local.INFO: TCP Data received {"connection_id":106748,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:24:33] local.INFO: Processing buffer {"connection_id":106748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:24:33] local.INFO: IMEI packet received {"connection_id":106748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":106748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:24:35] local.INFO: TCP Data received {"connection_id":106748,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda944e48012ccef540074108e0000e01562b..."} 
[2026-06-18 17:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda944e48012ccef540074108e0000e01562b..."} 
[2026-06-18 17:24:35] local.INFO: Processing buffer {"connection_id":106748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda944e48012ccef540074108e0000e01562b..."} 
[2026-06-18 17:24:35] local.INFO: Packet analysis {"connection_id":106748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:24:35] local.INFO: Extracted packet for processing {"connection_id":106748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:24:35] local.INFO: GPS Element Parsed {"raw_longitude":751760704,"raw_latitude":121702624,"longitude_deg":75.1760704,"latitude_deg":12.1702624,"altitude":14,"angle":342,"satellites":43,"speed":31,"hex_longitude":"2ccef540","hex_latitude":"074108e0","is_valid_coordinates":true} 
[2026-06-18 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136601856001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318744731515355136,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3530892445448976384,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781783613000,"timestamp_ms":1781783613000,"timestamp_seconds":1781783613,"priority":1,"record_length":96,"hex_timestamp":"0000019eda944e48"} 
[2026-06-18 17:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24: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-06-18 17:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:24:35] 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-06-18 17:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136601856001,"66":27974,"206":206,"2":54016,"24":31,"16":318744731515355136,"44":-3530892445448976384},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-06-18 17:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136601856001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:35] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318744731515355136,"km_value":318744731515355.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3530892445448976384,"description":"Unknown IO ID 44"} 
[2026-06-18 17:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136601856001,"power":27974,"unknown_206":206,"power_alt":54016,"ignition":31,"odometer":null,"unknown_44":-3530892445448976384}} 
[2026-06-18 17:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":106748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:35] local.INFO: GPS data processed {"connection_id":106748,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:35] local.INFO: Acknowledgment sent {"connection_id":106748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:36] local.INFO: TCP Data received {"connection_id":106748,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda947940012cceea4007412a10000e01562c..."} 
[2026-06-18 17:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda947940012cceea4007412a10000e01562c..."} 
[2026-06-18 17:24:36] local.INFO: Processing buffer {"connection_id":106748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda947940012cceea4007412a10000e01562c..."} 
[2026-06-18 17:24:36] local.INFO: Packet analysis {"connection_id":106748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:24:36] local.INFO: Extracted packet for processing {"connection_id":106748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":751757888,"raw_latitude":121711120,"longitude_deg":75.1757888,"latitude_deg":12.171112,"altitude":14,"angle":342,"satellites":44,"speed":34,"hex_longitude":"2cceea40","hex_latitude":"07412a10","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136604928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318745165307052032,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3533847932702236672,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781783624000,"timestamp_ms":1781783624000,"timestamp_seconds":1781783624,"priority":1,"record_length":96,"hex_timestamp":"0000019eda947940"} 
[2026-06-18 17:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 17:24: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-06-18 17: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-06-18 17:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136604928001,"66":27484,"206":206,"2":54016,"24":34,"16":318745165307052032,"44":-3533847932702236672},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-06-18 17:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136604928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:36] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318745165307052032,"km_value":318745165307052.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3533847932702236672,"description":"Unknown IO ID 44"} 
[2026-06-18 17:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136604928001,"power":27484,"unknown_206":206,"power_alt":54016,"ignition":34,"odometer":null,"unknown_44":-3533847932702236672}} 
[2026-06-18 17:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":106748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:36] local.INFO: GPS data processed {"connection_id":106748,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:36] local.INFO: Acknowledgment sent {"connection_id":106748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:43] local.INFO: TCP Data received {"connection_id":107732,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:24:43] local.INFO: Processing buffer {"connection_id":107732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:24:43] local.INFO: IMEI packet received {"connection_id":107732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":107732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:24:44] local.INFO: TCP Data received {"connection_id":105980,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:44] local.INFO: Processing buffer {"connection_id":105980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:44] local.INFO: IMEI packet received {"connection_id":105980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":105980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:24:47] local.INFO: TCP Data received {"connection_id":105980,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:47] local.INFO: Processing buffer {"connection_id":105980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:47] local.INFO: IMEI packet received {"connection_id":105980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":105980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:24:48] local.INFO: TCP Data received {"connection_id":107732,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:24:48] local.INFO: Processing buffer {"connection_id":107732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:24:48] local.INFO: IMEI packet received {"connection_id":107732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":107732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:24:49] local.INFO: TCP Data received {"connection_id":105980,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:49] local.INFO: Processing buffer {"connection_id":105980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:24:49] local.INFO: IMEI packet received {"connection_id":105980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":105980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:24:50] local.INFO: TCP Data received {"connection_id":105980,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9469a0012d19a880071ff090003f00702c..."} 
[2026-06-18 17:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9469a0012d19a880071ff090003f00702c..."} 
[2026-06-18 17:24:50] local.INFO: Processing buffer {"connection_id":105980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9469a0012d19a880071ff090003f00702c..."} 
[2026-06-18 17:24:50] local.INFO: Packet analysis {"connection_id":105980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:24:50] local.INFO: Extracted packet for processing {"connection_id":105980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756656256,"raw_latitude":119533712,"longitude_deg":75.6656256,"latitude_deg":11.9533712,"altitude":63,"angle":112,"satellites":44,"speed":19,"hex_longitude":"2d19a880","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-06-18 17:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136606208001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3313107707363328,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847953621450334208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781783620000,"timestamp_ms":1781783620000,"timestamp_seconds":1781783620,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9469a0"} 
[2026-06-18 17:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667138456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2485342209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4045406274,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3302686720,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:50] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,197,93,45,64,44,10,66,86,192,240,82,1,131,218,31,4,113,205,20,27,133,208,43,239,55,2,11,7,18],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 17:24:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4611792860034629632,"timestamp_seconds":4611792860034630.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136606208001,"66":14080,"121":206,"28":31744,"24":19,"16":3313107707363328,"45":1847953621450334208},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136606208001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:24:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3313107707363328,"km_value":3313107707363.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847953621450334208,"description":"Unknown IO ID 45"} 
[2026-06-18 17:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136606208001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1847953621450334208}} 
[2026-06-18 17:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":105980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:50] local.INFO: GPS data processed {"connection_id":105980,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:50] local.INFO: Acknowledgment sent {"connection_id":105980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:52] local.INFO: TCP Data received {"connection_id":107732,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:52] local.INFO: Processing buffer {"connection_id":107732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:52] local.INFO: Packet analysis {"connection_id":107732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:24:52] local.INFO: Extracted packet for processing {"connection_id":107732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:24:52] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:24:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:24:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:24:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:24:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:24:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:24:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:24:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:24:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:24:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:24:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:24:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:24:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:24:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:24:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:52] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:24:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:24:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:24:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:24:53] local.INFO: DEBUG: GPS processor result {"connection_id":107732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:53] local.INFO: GPS data processed {"connection_id":107732,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:53] local.INFO: Acknowledgment sent {"connection_id":107732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:24:54] local.INFO: TCP Data received {"connection_id":107732,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:54] local.INFO: Processing buffer {"connection_id":107732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda90d790012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:24:54] local.INFO: Packet analysis {"connection_id":107732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:24:54] local.INFO: Extracted packet for processing {"connection_id":107732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda90"} 
[2026-06-18 17:24:54] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136469760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781783386000,"timestamp_ms":1781783386000,"timestamp_seconds":1781783386,"priority":1,"record_length":96,"hex_timestamp":"0000019eda90d790"} 
[2026-06-18 17:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:24:54] 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-06-18 17:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":107732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":107732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":107732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136469760001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136469760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:24:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:24:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136469760001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":107732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:24:54] local.INFO: GPS data processed {"connection_id":107732,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:24:54] local.INFO: Acknowledgment sent {"connection_id":107732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:25:03] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda959668012d7b42c005e1b128000200842b..."} 
[2026-06-18 17:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda959668012d7b42c005e1b128000200842b..."} 
[2026-06-18 17:25:03] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda959668012d7b42c005e1b128000200842b..."} 
[2026-06-18 17:25:03] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:03] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763052736,"raw_latitude":98677032,"longitude_deg":76.3052736,"latitude_deg":9.8677032,"altitude":2,"angle":132,"satellites":43,"speed":11,"hex_longitude":"2d7b42c0","hex_latitude":"05e1b128","is_valid_coordinates":true} 
[2026-06-18 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136626176001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93961055369166848,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881661440389416960,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:03] 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-06-18 17:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781783697000,"timestamp_ms":1781783697000,"timestamp_seconds":1781783697,"priority":1,"record_length":96,"hex_timestamp":"0000019eda959668"} 
[2026-06-18 17:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 17:25:03] 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-06-18 17:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136626176001,"66":12906,"169":206,"85":15104,"24":11,"16":93961055369166848,"45":8881661440389416960},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 17:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136626176001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:25:03] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 17:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93961055369166848,"km_value":93961055369166.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881661440389416960,"description":"Unknown IO ID 45"} 
[2026-06-18 17:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136626176001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8881661440389416960}} 
[2026-06-18 17:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345319,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:25:03] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:25:03] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:25:23] local.INFO: TCP Data received {"connection_id":105980,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda94f640012d19dd4007200bc8002f01312b..."} 
[2026-06-18 17:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda94f640012d19dd4007200bc8002f01312b..."} 
[2026-06-18 17:25:23] local.INFO: Processing buffer {"connection_id":105980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda94f640012d19dd4007200bc8002f01312b..."} 
[2026-06-18 17:25:23] local.INFO: Packet analysis {"connection_id":105980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:25:23] local.INFO: Extracted packet for processing {"connection_id":105980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756669760,"raw_latitude":119540680,"longitude_deg":75.666976,"latitude_deg":11.954068,"altitude":47,"angle":305,"satellites":43,"speed":9,"hex_longitude":"2d19dd40","hex_latitude":"07200bc8","is_valid_coordinates":true} 
[2026-06-18 17:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136615680001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3313945225986048,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863927326380345344,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781783656000,"timestamp_ms":1781783656000,"timestamp_seconds":1781783656,"priority":1,"record_length":96,"hex_timestamp":"0000019eda94f640"} 
[2026-06-18 17:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 17:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":105980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":105980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":105980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136615680001,"66":14189,"121":206,"28":31744,"24":9,"16":3313945225986048,"45":1863927326380345344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136615680001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:25:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:25:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3313945225986048,"km_value":3313945225986.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863927326380345344,"description":"Unknown IO ID 45"} 
[2026-06-18 17:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136615680001,"power":14189,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1863927326380345344}} 
[2026-06-18 17:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":105980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:25:23] local.INFO: GPS data processed {"connection_id":105980,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:25:23] local.INFO: Acknowledgment sent {"connection_id":105980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:25:24] local.INFO: TCP Data received {"connection_id":107733,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:25:24] local.INFO: Processing buffer {"connection_id":107733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:25:24] local.INFO: IMEI packet received {"connection_id":107733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":107733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:25:29] local.INFO: TCP Data received {"connection_id":107733,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:25:29] local.INFO: Processing buffer {"connection_id":107733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:25:29] local.INFO: IMEI packet received {"connection_id":107733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":107733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:25:32] local.INFO: TCP Data received {"connection_id":107733,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda94a050012ccedf8007414ba8000e01562c..."} 
[2026-06-18 17:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda94a050012ccedf8007414ba8000e01562c..."} 
[2026-06-18 17:25:32] local.INFO: Processing buffer {"connection_id":107733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda94a050012ccedf8007414ba8000e01562c..."} 
[2026-06-18 17:25:32] local.INFO: Packet analysis {"connection_id":107733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:25:32] local.INFO: Extracted packet for processing {"connection_id":107733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:25:32] local.INFO: GPS Element Parsed {"raw_longitude":751755136,"raw_latitude":121719720,"longitude_deg":75.1755136,"latitude_deg":12.171972,"altitude":14,"angle":342,"satellites":44,"speed":38,"hex_longitude":"2ccedf80","hex_latitude":"07414ba8","is_valid_coordinates":true} 
[2026-06-18 17:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136607744001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318745603393716224,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3536944157443878912,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781783634000,"timestamp_ms":1781783634000,"timestamp_seconds":1781783634,"priority":1,"record_length":96,"hex_timestamp":"0000019eda94a050"} 
[2026-06-18 17:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:25: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-06-18 17:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 17: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-06-18 17:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136607744001,"66":27876,"206":206,"2":54016,"24":38,"16":318745603393716224,"44":-3536944157443878912},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-06-18 17:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136607744001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:25:32] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318745603393716224,"km_value":318745603393716.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:25:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3536944157443878912,"description":"Unknown IO ID 44"} 
[2026-06-18 17:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136607744001,"power":27876,"unknown_206":206,"power_alt":54016,"ignition":38,"odometer":null,"unknown_44":-3536944157443878912}} 
[2026-06-18 17:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":107733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:25:32] local.INFO: GPS data processed {"connection_id":107733,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:25:32] local.INFO: Acknowledgment sent {"connection_id":107733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:25:33] local.INFO: TCP Data received {"connection_id":105981,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:25:33] local.INFO: Processing buffer {"connection_id":105981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:25:33] local.INFO: IMEI packet received {"connection_id":105981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":105981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:25:34] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda959a50012d7b43c005e1b078000200762b..."} 
[2026-06-18 17:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda959a50012d7b43c005e1b078000200762b..."} 
[2026-06-18 17:25:34] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda959a50012d7b43c005e1b078000200762b..."} 
[2026-06-18 17:25:34] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:34] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763052992,"raw_latitude":98676856,"longitude_deg":76.3052992,"latitude_deg":9.8676856,"altitude":2,"angle":118,"satellites":43,"speed":13,"hex_longitude":"2d7b43c0","hex_latitude":"05e1b078","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136626432001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93961068254068736,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881872546621892608,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:34] 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-06-18 17:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781783698000,"timestamp_ms":1781783698000,"timestamp_seconds":1781783698,"priority":1,"record_length":96,"hex_timestamp":"0000019eda959a50"} 
[2026-06-18 17:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:25: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-06-18 17: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":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 17:25: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-06-18 17: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-06-18 17:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:25: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-06-18 17:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136626432001,"66":12743,"169":206,"85":15104,"24":13,"16":93961068254068736,"45":8881872546621892608},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 17:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136626432001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:25:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 17:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93961068254068736,"km_value":93961068254068.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881872546621892608,"description":"Unknown IO ID 45"} 
[2026-06-18 17:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136626432001,"power":12743,"unknown_169":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":8881872546621892608}} 
[2026-06-18 17:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345322,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:25:34] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:25:34] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:25:35] local.INFO: TCP Data received {"connection_id":107733,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda94c760012cced40007416ff0000e01552b..."} 
[2026-06-18 17:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda94c760012cced40007416ff0000e01552b..."} 
[2026-06-18 17:25:35] local.INFO: Processing buffer {"connection_id":107733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda94c760012cced40007416ff0000e01552b..."} 
[2026-06-18 17:25:35] local.INFO: Packet analysis {"connection_id":107733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:25:35] local.INFO: Extracted packet for processing {"connection_id":107733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:25:35] local.INFO: GPS Element Parsed {"raw_longitude":751752192,"raw_latitude":121729008,"longitude_deg":75.1752192,"latitude_deg":12.1729008,"altitude":14,"angle":341,"satellites":43,"speed":38,"hex_longitude":"2cced400","hex_latitude":"07416ff0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136610304001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318746071545151488,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3539970013441316864,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781783644000,"timestamp_ms":1781783644000,"timestamp_seconds":1781783644,"priority":1,"record_length":96,"hex_timestamp":"0000019eda94c760"} 
[2026-06-18 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-06-18 17:25: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-06-18 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 17:25: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-06-18 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-06-18 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-06-18 17:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136610304001,"66":27919,"206":206,"2":54016,"24":38,"16":318746071545151488,"44":-3539970013441316864},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-06-18 17:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136610304001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:25:35] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318746071545151488,"km_value":318746071545151.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:25:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3539970013441316864,"description":"Unknown IO ID 44"} 
[2026-06-18 17:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136610304001,"power":27919,"unknown_206":206,"power_alt":54016,"ignition":38,"odometer":null,"unknown_44":-3539970013441316864}} 
[2026-06-18 17:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":107733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:25:35] local.INFO: GPS data processed {"connection_id":107733,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:25:35] local.INFO: Acknowledgment sent {"connection_id":107733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:25:38] local.INFO: TCP Data received {"connection_id":105981,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:25:38] local.INFO: Processing buffer {"connection_id":105981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:25:38] local.INFO: IMEI packet received {"connection_id":105981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":105981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:25:40] local.INFO: TCP Data received {"connection_id":105981,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:25:40] local.INFO: Processing buffer {"connection_id":105981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:25:40] local.INFO: Packet analysis {"connection_id":105981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:40] local.INFO: Extracted packet for processing {"connection_id":105981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:25:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:25:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:25:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:25:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:25:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:25:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:25:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:25:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:25:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":105981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:25:40] local.INFO: GPS data processed {"connection_id":105981,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:25:40] local.INFO: Acknowledgment sent {"connection_id":105981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:25:47] local.INFO: TCP Data received {"connection_id":105982,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:47] local.INFO: Processing buffer {"connection_id":105982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:47] local.INFO: IMEI packet received {"connection_id":105982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":105982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:25:50] local.INFO: TCP Data received {"connection_id":105982,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:50] local.INFO: Processing buffer {"connection_id":105982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:50] local.INFO: IMEI packet received {"connection_id":105982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":105982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:25:55] local.INFO: TCP Data received {"connection_id":105982,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:55] local.INFO: Processing buffer {"connection_id":105982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:25:55] local.INFO: IMEI packet received {"connection_id":105982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":105982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:25:56] local.INFO: TCP Data received {"connection_id":105982,"ip":"117.224.105.184","data_length":1360,"data_hex":"000000000000030f8e0a0000019eda94fe10012d19dbc007200c88002f01262b..."} 
[2026-06-18 17:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105982,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019eda94fe10012d19dbc007200c88002f01262b..."} 
[2026-06-18 17:25:56] local.INFO: Processing buffer {"connection_id":105982,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019eda94fe10012d19dbc007200c88002f01262b..."} 
[2026-06-18 17:25:56] local.INFO: Packet analysis {"connection_id":105982,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:25:56] local.INFO: Extracted packet for processing {"connection_id":105982,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019eda94"} 
[2026-06-18 17:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756669376,"raw_latitude":119540872,"longitude_deg":75.6669376,"latitude_deg":11.9540872,"altitude":47,"angle":294,"satellites":43,"speed":5,"hex_longitude":"2d19dbc0","hex_latitude":"07200c88","is_valid_coordinates":true} 
[2026-06-18 17:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136615936001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3313966700822528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863716220147845120,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781783658000,"timestamp_ms":1781783658000,"timestamp_seconds":1781783658,"priority":1,"record_length":96,"hex_timestamp":"0000019eda94fe10"} 
[2026-06-18 17:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:25:56] 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-06-18 17:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 17:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:25:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":105982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":105982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":105982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136615936001,"66":14157,"121":206,"28":31744,"24":5,"16":3313966700822528,"45":1863716220147845120},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136615936001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:25:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:25:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3313966700822528,"km_value":3313966700822.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863716220147845120,"description":"Unknown IO ID 45"} 
[2026-06-18 17:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136615936001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1863716220147845120}} 
[2026-06-18 17:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":105982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:25:56] local.INFO: GPS data processed {"connection_id":105982,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:25:56] local.INFO: Acknowledgment sent {"connection_id":105982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:25:56] local.INFO: Packet analysis {"connection_id":105982,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:56] local.INFO: Incomplete packet, waiting for more data {"connection_id":105982,"needed":795,"available":565} 
[2026-06-18 17:25:57] local.INFO: TCP Data received {"connection_id":105982,"ip":"117.224.105.184","data_length":230,"data_hex":"2d19d580071ffdf8003100332b00130000000a000400ef0100714300f0010045..."} 
[2026-06-18 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105982,"packet_length":230,"packet_hex":"2d19d580071ffdf8003100332b00130000000a000400ef0100714300f0010045..."} 
[2026-06-18 17:25:57] local.INFO: Processing buffer {"connection_id":105982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda954848012d19d6c007200f40002e01352b..."} 
[2026-06-18 17:25:57] local.INFO: Packet analysis {"connection_id":105982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:57] local.INFO: Extracted packet for processing {"connection_id":105982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:25:57] local.INFO: GPS Element Parsed {"raw_longitude":756668096,"raw_latitude":119541568,"longitude_deg":75.6668096,"latitude_deg":11.9541568,"altitude":46,"angle":309,"satellites":43,"speed":8,"hex_longitude":"2d19d6c0","hex_latitude":"07200f40","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136616448001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3314039715266560,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863294007682828288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781783677000,"timestamp_ms":1781783677000,"timestamp_seconds":1781783677,"priority":1,"record_length":96,"hex_timestamp":"0000019eda954848"} 
[2026-06-18 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-06-18 17:25: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-06-18 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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 17:25:57] 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-06-18 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-06-18 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-06-18 17:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":105982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":105982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":105982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136616448001,"66":14233,"121":206,"28":31744,"24":8,"16":3314039715266560,"45":1863294007682828288},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136616448001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:25:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:25:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3314039715266560,"km_value":3314039715266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863294007682828288,"description":"Unknown IO ID 45"} 
[2026-06-18 17:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136616448001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1863294007682828288}} 
[2026-06-18 17:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":105982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:25:57] local.INFO: GPS data processed {"connection_id":105982,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:25:57] local.INFO: Acknowledgment sent {"connection_id":105982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:26:05] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda959e38012d7b454005e1b0180002006a2b..."} 
[2026-06-18 17:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda959e38012d7b454005e1b0180002006a2b..."} 
[2026-06-18 17:26:05] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda959e38012d7b454005e1b0180002006a2b..."} 
[2026-06-18 17:26:05] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:05] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763053376,"raw_latitude":98676760,"longitude_deg":76.3053376,"latitude_deg":9.867676,"altitude":2,"angle":106,"satellites":43,"speed":12,"hex_longitude":"2d7b4540","hex_latitude":"05e1b018","is_valid_coordinates":true} 
[2026-06-18 17:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136626688001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93961085433937920,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882154021598558208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781783699000,"timestamp_ms":1781783699000,"timestamp_seconds":1781783699,"priority":1,"record_length":96,"hex_timestamp":"0000019eda959e38"} 
[2026-06-18 17:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 17:26:05] 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-06-18 17:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:26: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-06-18 17:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136626688001,"66":12743,"169":206,"85":15104,"24":12,"16":93961085433937920,"45":8882154021598558208},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 17:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136626688001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:26:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 17:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93961085433937920,"km_value":93961085433937.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882154021598558208,"description":"Unknown IO ID 45"} 
[2026-06-18 17:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136626688001,"power":12743,"unknown_169":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":8882154021598558208}} 
[2026-06-18 17:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345327,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:26:05] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:26:05] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:26:07] local.INFO: TCP Data received {"connection_id":107733,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda951198012ccec94007419228000d01572b..."} 
[2026-06-18 17:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda951198012ccec94007419228000d01572b..."} 
[2026-06-18 17:26:07] local.INFO: Processing buffer {"connection_id":107733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda951198012ccec94007419228000d01572b..."} 
[2026-06-18 17:26:07] local.INFO: Packet analysis {"connection_id":107733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:07] local.INFO: Extracted packet for processing {"connection_id":107733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":751749440,"raw_latitude":121737768,"longitude_deg":75.174944,"latitude_deg":12.1737768,"altitude":13,"angle":343,"satellites":43,"speed":19,"hex_longitude":"2ccec940","hex_latitude":"07419228","is_valid_coordinates":true} 
[2026-06-18 17:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136612864001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318746518221750272,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3543206975671111680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781783663000,"timestamp_ms":1781783663000,"timestamp_seconds":1781783663,"priority":1,"record_length":96,"hex_timestamp":"0000019eda951198"} 
[2026-06-18 17:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:26:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:26:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136612864001,"66":27865,"204":206,"2":54016,"24":19,"16":318746518221750272,"44":-3543206975671111680},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,2,24,16,44]} 
[2026-06-18 17:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136612864001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318746518221750272,"km_value":318746518221750.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:26:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3543206975671111680,"description":"Unknown IO ID 44"} 
[2026-06-18 17:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136612864001,"power":27865,"lac":206,"power_alt":54016,"ignition":19,"odometer":null,"unknown_44":-3543206975671111680}} 
[2026-06-18 17:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":107733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:26:07] local.INFO: GPS data processed {"connection_id":107733,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:26:07] local.INFO: Acknowledgment sent {"connection_id":107733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:26:18] local.INFO: TCP Data received {"connection_id":105981,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:26:18] local.INFO: Processing buffer {"connection_id":105981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:26:18] local.INFO: Packet analysis {"connection_id":105981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:18] local.INFO: Extracted packet for processing {"connection_id":105981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:18] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":105981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":105981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":105981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:26:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:26:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":105981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:26:18] local.INFO: GPS data processed {"connection_id":105981,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:26:18] local.INFO: Acknowledgment sent {"connection_id":105981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:26:23] local.INFO: TCP Data received {"connection_id":106162,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:23] local.INFO: Processing buffer {"connection_id":106162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:23] local.INFO: IMEI packet received {"connection_id":106162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":106162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:26:25] local.INFO: TCP Data received {"connection_id":106162,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:25] local.INFO: Processing buffer {"connection_id":106162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:25] local.INFO: IMEI packet received {"connection_id":106162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":106162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:26:29] local.INFO: TCP Data received {"connection_id":106162,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:29] local.INFO: Processing buffer {"connection_id":106162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:26:29] local.INFO: IMEI packet received {"connection_id":106162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":106162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:26:31] local.INFO: TCP Data received {"connection_id":106162,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda954c30012ccebcc00741b580000c01532a..."} 
[2026-06-18 17:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda954c30012ccebcc00741b580000c01532a..."} 
[2026-06-18 17:26:31] local.INFO: Processing buffer {"connection_id":106162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda954c30012ccebcc00741b580000c01532a..."} 
[2026-06-18 17:26:31] local.INFO: Packet analysis {"connection_id":106162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:31] local.INFO: Extracted packet for processing {"connection_id":106162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":751746240,"raw_latitude":121746816,"longitude_deg":75.174624,"latitude_deg":12.1746816,"altitude":12,"angle":339,"satellites":42,"speed":28,"hex_longitude":"2ccebcc0","hex_latitude":"0741b580","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136617728001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318746982078218240,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3546232831668508672,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781783678000,"timestamp_ms":1781783678000,"timestamp_seconds":1781783678,"priority":1,"record_length":96,"hex_timestamp":"0000019eda954c30"} 
[2026-06-18 17:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":217,"data_length":795,"current_offset":136} 
[2026-06-18 17:26: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-06-18 17: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-06-18 17:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136617728001,"66":27843,"204":206,"2":54016,"24":28,"16":318746982078218240,"44":-3546232831668508672},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,2,24,16,44]} 
[2026-06-18 17:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136617728001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318746982078218240,"km_value":318746982078218.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:26:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3546232831668508672,"description":"Unknown IO ID 44"} 
[2026-06-18 17:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136617728001,"power":27843,"lac":206,"power_alt":54016,"ignition":28,"odometer":null,"unknown_44":-3546232831668508672}} 
[2026-06-18 17:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":106162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:26:31] local.INFO: GPS data processed {"connection_id":106162,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:26:31] local.INFO: Acknowledgment sent {"connection_id":106162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:26:33] local.INFO: TCP Data received {"connection_id":107734,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:26:33] local.INFO: Processing buffer {"connection_id":107734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:26:33] local.INFO: IMEI packet received {"connection_id":107734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":107734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:26:36] local.INFO: TCP Data received {"connection_id":106746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda95a608012d7b474005e1af980003005e2b..."} 
[2026-06-18 17:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda95a608012d7b474005e1af980003005e2b..."} 
[2026-06-18 17:26:36] local.INFO: Processing buffer {"connection_id":106746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda95a608012d7b474005e1af980003005e2b..."} 
[2026-06-18 17:26:36] local.INFO: Packet analysis {"connection_id":106746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:36] local.INFO: Extracted packet for processing {"connection_id":106746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763053888,"raw_latitude":98676632,"longitude_deg":76.3053888,"latitude_deg":9.8676632,"altitude":3,"angle":94,"satellites":43,"speed":11,"hex_longitude":"2d7b4740","hex_latitude":"05e1af98","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136626944001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93961111203741696,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8882576234063599616,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:36] 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-06-18 17:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781783701000,"timestamp_ms":1781783701000,"timestamp_seconds":1781783701,"priority":1,"record_length":96,"hex_timestamp":"0000019eda95a608"} 
[2026-06-18 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-06-18 17:26: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-06-18 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":199,"data_length":795,"current_offset":136} 
[2026-06-18 17:26:36] 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-06-18 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-06-18 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-06-18 17:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:26:36] 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-06-18 17:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136626944001,"66":12906,"169":206,"85":15104,"24":11,"16":93961111203741696,"45":8882576234063599616},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 17:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136626944001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:26:36] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 17:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93961111203741696,"km_value":93961111203741.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8882576234063599616,"description":"Unknown IO ID 45"} 
[2026-06-18 17:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136626944001,"power":12906,"unknown_169":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":8882576234063599616}} 
[2026-06-18 17:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":106746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345331,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:26:36] local.INFO: GPS data processed {"connection_id":106746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:26:36] local.INFO: Acknowledgment sent {"connection_id":106746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:26:38] local.INFO: TCP Data received {"connection_id":107734,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:26:38] local.INFO: Processing buffer {"connection_id":107734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:26:38] local.INFO: IMEI packet received {"connection_id":107734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":107734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:26:40] local.INFO: TCP Data received {"connection_id":107734,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:26:40] local.INFO: Processing buffer {"connection_id":107734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:26:40] local.INFO: Packet analysis {"connection_id":107734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:40] local.INFO: Extracted packet for processing {"connection_id":107734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:26:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:26:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":107734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:26:40] local.INFO: GPS data processed {"connection_id":107734,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:26:40] local.INFO: Acknowledgment sent {"connection_id":107734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:26:41] local.INFO: TCP Data received {"connection_id":105983,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:41] local.INFO: Processing buffer {"connection_id":105983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:41] local.INFO: IMEI packet received {"connection_id":105983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:26:41] local.INFO: IMEI acknowledgment sent {"connection_id":105983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:26:44] local.INFO: TCP Data received {"connection_id":105983,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:44] local.INFO: Processing buffer {"connection_id":105983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:44] local.INFO: IMEI packet received {"connection_id":105983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":105983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:26:48] local.INFO: TCP Data received {"connection_id":105983,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:48] local.INFO: Processing buffer {"connection_id":105983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:26:48] local.INFO: IMEI packet received {"connection_id":105983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":105983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:26:51] local.INFO: TCP Data received {"connection_id":105983,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda962ec0012d19ac000720b0300038011d2a..."} 
[2026-06-18 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda962ec0012d19ac000720b0300038011d2a..."} 
[2026-06-18 17:26:51] local.INFO: Processing buffer {"connection_id":105983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda962ec0012d19ac000720b0300038011d2a..."} 
[2026-06-18 17:26:51] local.INFO: Packet analysis {"connection_id":105983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda96"} 
[2026-06-18 17:26:51] local.INFO: Extracted packet for processing {"connection_id":105983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda96"} 
[2026-06-18 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756657152,"raw_latitude":119582768,"longitude_deg":75.6657152,"latitude_deg":11.9582768,"altitude":56,"angle":285,"satellites":42,"speed":23,"hex_longitude":"2d19ac00","hex_latitude":"0720b030","is_valid_coordinates":true} 
[2026-06-18 17:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136635136001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3316311752966144,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171043332096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781783736000,"timestamp_ms":1781783736000,"timestamp_seconds":1781783736,"priority":1,"record_length":96,"hex_timestamp":"0000019eda962ec0"} 
[2026-06-18 17:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-06-18 17:26:51] 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-06-18 17:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136635136001,"66":14243,"121":206,"28":31744,"24":23,"16":3316311752966144,"45":1853020171043332096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136635136001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:26:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3316311752966144,"km_value":3316311752966.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171043332096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136635136001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1853020171043332096}} 
[2026-06-18 17:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":105983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:26:51] local.INFO: GPS data processed {"connection_id":105983,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:26:51] local.INFO: Acknowledgment sent {"connection_id":105983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:27:00] local.INFO: TCP Data received {"connection_id":106749,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:27:00] local.INFO: Processing buffer {"connection_id":106749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:27:00] local.INFO: IMEI packet received {"connection_id":106749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":106749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:27:05] local.INFO: TCP Data received {"connection_id":106749,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:27:05] local.INFO: Processing buffer {"connection_id":106749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:27:05] local.INFO: IMEI packet received {"connection_id":106749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":106749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:27:06] local.INFO: TCP Data received {"connection_id":106749,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda970980012d7bcfc005e1daa0000d003e2c..."} 
[2026-06-18 17:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda970980012d7bcfc005e1daa0000d003e2c..."} 
[2026-06-18 17:27:06] local.INFO: Processing buffer {"connection_id":106749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda970980012d7bcfc005e1daa0000d003e2c..."} 
[2026-06-18 17:27:06] local.INFO: Packet analysis {"connection_id":106749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:27:06] local.INFO: Extracted packet for processing {"connection_id":106749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763088832,"raw_latitude":98687648,"longitude_deg":76.3088832,"latitude_deg":9.8687648,"altitude":13,"angle":62,"satellites":44,"speed":15,"hex_longitude":"2d7bcfc0","hex_latitude":"05e1daa0","is_valid_coordinates":true} 
[2026-06-18 17:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136650240001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93962927974907904,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920927199643086848,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27: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-06-18 17:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781783792000,"timestamp_ms":1781783792000,"timestamp_seconds":1781783792,"priority":1,"record_length":96,"hex_timestamp":"0000019eda970980"} 
[2026-06-18 17:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:27: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-06-18 17:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 17:27:06] 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-06-18 17:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:27:06] 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-06-18 17:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136650240001,"66":13189,"169":206,"85":15104,"24":15,"16":93962927974907904,"45":8920927199643086848},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 17:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136650240001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:27:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 17:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93962927974907904,"km_value":93962927974907.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920927199643086848,"description":"Unknown IO ID 45"} 
[2026-06-18 17:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136650240001,"power":13189,"unknown_169":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8920927199643086848}} 
[2026-06-18 17:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":106749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:27:06] local.INFO: GPS data processed {"connection_id":106749,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:27:06] local.INFO: Acknowledgment sent {"connection_id":106749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:27:12] local.INFO: TCP Data received {"connection_id":107734,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:12] local.INFO: Processing buffer {"connection_id":107734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:12] local.INFO: Packet analysis {"connection_id":107734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:27:12] local.INFO: Extracted packet for processing {"connection_id":107734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:27:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:27:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:27:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:27:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:27:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:27:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:27:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":107734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:27:12] local.INFO: GPS data processed {"connection_id":107734,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:27:12] local.INFO: Acknowledgment sent {"connection_id":107734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:27:23] local.INFO: TCP Data received {"connection_id":105983,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9651e8012d1994c00720b3800038011029..."} 
[2026-06-18 17:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9651e8012d1994c00720b3800038011029..."} 
[2026-06-18 17:27:23] local.INFO: Processing buffer {"connection_id":105983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9651e8012d1994c00720b3800038011029..."} 
[2026-06-18 17:27:23] local.INFO: Packet analysis {"connection_id":105983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda96"} 
[2026-06-18 17:27:23] local.INFO: Extracted packet for processing {"connection_id":105983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda96"} 
[2026-06-18 17:27:23] local.INFO: GPS Element Parsed {"raw_longitude":756651200,"raw_latitude":119583616,"longitude_deg":75.66512,"latitude_deg":11.9583616,"altitude":56,"angle":272,"satellites":41,"speed":23,"hex_longitude":"2d1994c0","hex_latitude":"0720b380","is_valid_coordinates":true} 
[2026-06-18 17:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136636416001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3316595220807680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849853577555619840,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781783745000,"timestamp_ms":1781783745000,"timestamp_seconds":1781783745,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9651e8"} 
[2026-06-18 17:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:27:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:27:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-06-18 17:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:27:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":105983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":105983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":105983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136636416001,"66":14233,"121":206,"28":31744,"24":23,"16":3316595220807680,"45":1849853577555619840},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136636416001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:27:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:27:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3316595220807680,"km_value":3316595220807.68,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849853577555619840,"description":"Unknown IO ID 45"} 
[2026-06-18 17:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136636416001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1849853577555619840}} 
[2026-06-18 17:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":105983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:27:23] local.INFO: GPS data processed {"connection_id":105983,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:27:23] local.INFO: Acknowledgment sent {"connection_id":105983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:27:24] local.INFO: TCP Data received {"connection_id":105984,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:27:24] local.INFO: Processing buffer {"connection_id":105984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:27:24] local.INFO: IMEI packet received {"connection_id":105984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":105984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:27:33] local.INFO: TCP Data received {"connection_id":105984,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:27:33] local.INFO: Processing buffer {"connection_id":105984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:27:33] local.INFO: IMEI packet received {"connection_id":105984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":105984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:27:35] local.INFO: TCP Data received {"connection_id":105984,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda959e38012cceb1400741d488000c01522b..."} 
[2026-06-18 17:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda959e38012cceb1400741d488000c01522b..."} 
[2026-06-18 17:27:35] local.INFO: Processing buffer {"connection_id":105984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda959e38012cceb1400741d488000c01522b..."} 
[2026-06-18 17:27:35] local.INFO: Packet analysis {"connection_id":105984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:27:35] local.INFO: Extracted packet for processing {"connection_id":105984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:27:35] local.INFO: GPS Element Parsed {"raw_longitude":751743296,"raw_latitude":121754760,"longitude_deg":75.1743296,"latitude_deg":12.175476,"altitude":12,"angle":338,"satellites":43,"speed":14,"hex_longitude":"2cceb140","hex_latitude":"0741d488","is_valid_coordinates":true} 
[2026-06-18 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136621568001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318747394395078656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3549751268875075584,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781783699000,"timestamp_ms":1781783699000,"timestamp_seconds":1781783699,"priority":1,"record_length":96,"hex_timestamp":"0000019eda959e38"} 
[2026-06-18 17:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:27: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-06-18 17:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 17:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":105984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":105984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":105984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:27:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136621568001,"66":27115,"204":206,"2":54016,"24":14,"16":318747394395078656,"44":-3549751268875075584},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,2,24,16,44]} 
[2026-06-18 17:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136621568001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318747394395078656,"km_value":318747394395078.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:27:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3549751268875075584,"description":"Unknown IO ID 44"} 
[2026-06-18 17:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136621568001,"power":27115,"lac":206,"power_alt":54016,"ignition":14,"odometer":null,"unknown_44":-3549751268875075584}} 
[2026-06-18 17:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":105984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:27:35] local.INFO: GPS data processed {"connection_id":105984,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:27:35] local.INFO: Acknowledgment sent {"connection_id":105984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:27:37] local.INFO: TCP Data received {"connection_id":106749,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda97d888012d7c488005e1f320000800352c..."} 
[2026-06-18 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda97d888012d7c488005e1f320000800352c..."} 
[2026-06-18 17:27:37] local.INFO: Processing buffer {"connection_id":106749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda97d888012d7c488005e1f320000800352c..."} 
[2026-06-18 17:27:37] local.INFO: Packet analysis {"connection_id":106749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:27:37] local.INFO: Extracted packet for processing {"connection_id":106749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763119744,"raw_latitude":98693920,"longitude_deg":76.3119744,"latitude_deg":9.869392,"altitude":8,"angle":53,"satellites":44,"speed":25,"hex_longitude":"2d7c4880","hex_latitude":"05e1f320","is_valid_coordinates":true} 
[2026-06-18 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136663552001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93964542882611200,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8953930140663795712,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:37] 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-06-18 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781783845000,"timestamp_ms":1781783845000,"timestamp_seconds":1781783845,"priority":1,"record_length":96,"hex_timestamp":"0000019eda97d888"} 
[2026-06-18 17:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 17:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:27:37] 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-06-18 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136663552001,"66":13254,"43":206,"85":15104,"24":25,"16":93964542882611200,"45":8953930140663795712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136663552001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:27:37] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 17:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93964542882611200,"km_value":93964542882611.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8953930140663795712,"description":"Unknown IO ID 45"} 
[2026-06-18 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136663552001,"power":13254,"unknown_43":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8953930140663795712}} 
[2026-06-18 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":106749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:27:37] local.INFO: GPS data processed {"connection_id":106749,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:27:37] local.INFO: Acknowledgment sent {"connection_id":106749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:27:38] local.INFO: TCP Data received {"connection_id":106750,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:27:38] local.INFO: Processing buffer {"connection_id":106750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:27:38] local.INFO: IMEI packet received {"connection_id":106750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":106750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:27:41] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:41] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:41] local.INFO: IMEI packet received {"connection_id":105985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":105985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:27:43] local.INFO: TCP Data received {"connection_id":106750,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:27:43] local.INFO: Processing buffer {"connection_id":106750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:27:43] local.INFO: IMEI packet received {"connection_id":106750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":106750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:27:44] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:44] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:44] local.INFO: IMEI packet received {"connection_id":105985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":105985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:27:47] local.INFO: TCP Data received {"connection_id":106750,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:47] local.INFO: Processing buffer {"connection_id":106750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:47] local.INFO: Packet analysis {"connection_id":106750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:27:47] local.INFO: Extracted packet for processing {"connection_id":106750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:27:47] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:27:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:27:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:27:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:27:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":106750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:27:47] local.INFO: GPS data processed {"connection_id":106750,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:27:47] local.INFO: Acknowledgment sent {"connection_id":106750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:27:48] local.INFO: TCP Data received {"connection_id":106750,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:48] local.INFO: Processing buffer {"connection_id":106750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:27:48] local.INFO: Packet analysis {"connection_id":106750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:27:48] local.INFO: Extracted packet for processing {"connection_id":106750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:27:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:27:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:27:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:27:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:27:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:27:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:27:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:27:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:27:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:27:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:27:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:27:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:27:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":106750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:27:49] local.INFO: GPS data processed {"connection_id":106750,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:27:49] local.INFO: Acknowledgment sent {"connection_id":106750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:27:50] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:50] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:27:50] local.INFO: IMEI packet received {"connection_id":105985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":105985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:27:51] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9772f8012d18d28007210d70003a015a2b..."} 
[2026-06-18 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9772f8012d18d28007210d70003a015a2b..."} 
[2026-06-18 17:27:51] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9772f8012d18d28007210d70003a015a2b..."} 
[2026-06-18 17:27:51] local.INFO: Packet analysis {"connection_id":105985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:27:51] local.INFO: Extracted packet for processing {"connection_id":105985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756601472,"raw_latitude":119606640,"longitude_deg":75.6601472,"latitude_deg":11.960664,"altitude":58,"angle":346,"satellites":43,"speed":22,"hex_longitude":"2d18d280","hex_latitude":"07210d70","is_valid_coordinates":true} 
[2026-06-18 17:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136656128001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3319485733797888,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789829038777346048,"note":"Value kept but may cause issues"} 
[2026-06-18 17:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781783819000,"timestamp_ms":1781783819000,"timestamp_seconds":1781783819,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9772f8"} 
[2026-06-18 17:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 17:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136656128001,"66":14396,"121":206,"28":31744,"24":22,"16":3319485733797888,"45":1789829038777346048},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136656128001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:27:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:27:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3319485733797888,"km_value":3319485733797.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789829038777346048,"description":"Unknown IO ID 45"} 
[2026-06-18 17:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136656128001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1789829038777346048}} 
[2026-06-18 17:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":105985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:27:51] local.INFO: GPS data processed {"connection_id":105985,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:27:51] local.INFO: Acknowledgment sent {"connection_id":105985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:07] local.INFO: TCP Data received {"connection_id":105984,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda95e0a0012ccea4000741f738000c01542d..."} 
[2026-06-18 17:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda95e0a0012ccea4000741f738000c01542d..."} 
[2026-06-18 17:28:07] local.INFO: Processing buffer {"connection_id":105984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda95e0a0012ccea4000741f738000c01542d..."} 
[2026-06-18 17:28:07] local.INFO: Packet analysis {"connection_id":105984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:28:07] local.INFO: Extracted packet for processing {"connection_id":105984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:28:07] local.INFO: GPS Element Parsed {"raw_longitude":751739904,"raw_latitude":121763640,"longitude_deg":75.1739904,"latitude_deg":12.176364,"altitude":12,"angle":340,"satellites":45,"speed":24,"hex_longitude":"2ccea400","hex_latitude":"0741f738","is_valid_coordinates":true} 
[2026-06-18 17:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136626944001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318747853956579328,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3552988231105214464,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781783716000,"timestamp_ms":1781783716000,"timestamp_seconds":1781783716,"priority":1,"record_length":96,"hex_timestamp":"0000019eda95e0a0"} 
[2026-06-18 17:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:28:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-06-18 17:28:07] 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-06-18 17:28:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":105984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":105984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":105984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:28:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136626944001,"66":27919,"204":206,"2":54016,"24":24,"16":318747853956579328,"44":-3552988231105214464},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,2,24,16,44]} 
[2026-06-18 17:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136626944001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318747853956579328,"km_value":318747853956579.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3552988231105214464,"description":"Unknown IO ID 44"} 
[2026-06-18 17:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136626944001,"power":27919,"lac":206,"power_alt":54016,"ignition":24,"odometer":null,"unknown_44":-3552988231105214464}} 
[2026-06-18 17:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":105984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:07] local.INFO: GPS data processed {"connection_id":105984,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:07] local.INFO: Acknowledgment sent {"connection_id":105984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:08] local.INFO: TCP Data received {"connection_id":106749,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda97ec10012d7c534005e1fc60000a00292c..."} 
[2026-06-18 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda97ec10012d7c534005e1fc60000a00292c..."} 
[2026-06-18 17:28:08] local.INFO: Processing buffer {"connection_id":106749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda97ec10012d7c534005e1fc60000a00292c..."} 
[2026-06-18 17:28:08] local.INFO: Packet analysis {"connection_id":106749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:08] local.INFO: Extracted packet for processing {"connection_id":106749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:08] local.INFO: GPS Element Parsed {"raw_longitude":763122496,"raw_latitude":98696288,"longitude_deg":76.3122496,"latitude_deg":9.8696288,"altitude":10,"angle":41,"satellites":44,"speed":28,"hex_longitude":"2d7c5340","hex_latitude":"05e1fc60","is_valid_coordinates":true} 
[2026-06-18 17:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136664320001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93964718976270336,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955548621780230144,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781783850000,"timestamp_ms":1781783850000,"timestamp_seconds":1781783850,"priority":1,"record_length":96,"hex_timestamp":"0000019eda97ec10"} 
[2026-06-18 17:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 17:28:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136664320001,"66":13091,"43":206,"85":15104,"24":28,"16":93964718976270336,"45":8955548621780230144},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 17:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136664320001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:08] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 17:28:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93964718976270336,"km_value":93964718976270.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955548621780230144,"description":"Unknown IO ID 45"} 
[2026-06-18 17:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136664320001,"power":13091,"unknown_43":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8955548621780230144}} 
[2026-06-18 17:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":106749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345343,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:08] local.INFO: GPS data processed {"connection_id":106749,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:08] local.INFO: Acknowledgment sent {"connection_id":106749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:25] local.INFO: TCP Data received {"connection_id":105985,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda978298012d18d100072116a0003a01662b..."} 
[2026-06-18 17:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda978298012d18d100072116a0003a01662b..."} 
[2026-06-18 17:28:25] local.INFO: Processing buffer {"connection_id":105985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda978298012d18d100072116a0003a01662b..."} 
[2026-06-18 17:28:25] local.INFO: Packet analysis {"connection_id":105985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:25] local.INFO: Extracted packet for processing {"connection_id":105985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:25] local.INFO: GPS Element Parsed {"raw_longitude":756601088,"raw_latitude":119608992,"longitude_deg":75.6601088,"latitude_deg":11.9608992,"altitude":58,"angle":358,"satellites":43,"speed":24,"hex_longitude":"2d18d100","hex_latitude":"072116a0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136657664001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3319601697914880,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770127163392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781783823000,"timestamp_ms":1781783823000,"timestamp_seconds":1781783823,"priority":1,"record_length":96,"hex_timestamp":"0000019eda978298"} 
[2026-06-18 17:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28: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-06-18 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 17:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":105985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":105985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":105985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136657664001,"66":14396,"121":206,"28":31744,"24":24,"16":3319601697914880,"45":1788632770127163392},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136657664001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:28:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3319601697914880,"km_value":3319601697914.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770127163392,"description":"Unknown IO ID 45"} 
[2026-06-18 17:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136657664001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1788632770127163392}} 
[2026-06-18 17:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":105985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:26] local.INFO: GPS data processed {"connection_id":105985,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:26] local.INFO: Acknowledgment sent {"connection_id":105985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:28] local.INFO: TCP Data received {"connection_id":106751,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:28] local.INFO: Processing buffer {"connection_id":106751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:28] local.INFO: IMEI packet received {"connection_id":106751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":106751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:28:32] local.INFO: TCP Data received {"connection_id":106751,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:32] local.INFO: Processing buffer {"connection_id":106751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:32] local.INFO: IMEI packet received {"connection_id":106751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":106751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:28:33] local.INFO: TCP Data received {"connection_id":106163,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:28:33] local.INFO: Processing buffer {"connection_id":106163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:28:33] local.INFO: IMEI packet received {"connection_id":106163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":106163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:28:34] local.INFO: TCP Data received {"connection_id":106751,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:34] local.INFO: Processing buffer {"connection_id":106751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:28:34] local.INFO: IMEI packet received {"connection_id":106751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":106751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:28:38] local.INFO: TCP Data received {"connection_id":106163,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106163,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:28:38] local.INFO: Processing buffer {"connection_id":106163,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:28:38] local.INFO: IMEI packet received {"connection_id":106163,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":106163,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:28:38] local.INFO: TCP Data received {"connection_id":106751,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda97d0b8012cce190007436e180011015328..."} 
[2026-06-18 17:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda97d0b8012cce190007436e180011015328..."} 
[2026-06-18 17:28:38] local.INFO: Processing buffer {"connection_id":106751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda97d0b8012cce190007436e180011015328..."} 
[2026-06-18 17:28:38] local.INFO: Packet analysis {"connection_id":106751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:38] local.INFO: Extracted packet for processing {"connection_id":106751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":751704320,"raw_latitude":121859608,"longitude_deg":75.170432,"latitude_deg":12.1859608,"altitude":17,"angle":339,"satellites":40,"speed":40,"hex_longitude":"2cce1900","hex_latitude":"07436e18","is_valid_coordinates":true} 
[2026-06-18 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136661504001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318752810348838912,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3592465096564353024,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781783843000,"timestamp_ms":1781783843000,"timestamp_seconds":1781783843,"priority":1,"record_length":96,"hex_timestamp":"0000019eda97d0b8"} 
[2026-06-18 17:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:28:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 17:28: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-06-18 17:28:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136661504001,"66":27908,"125":206,"2":54016,"24":40,"16":318752810348838912,"44":-3592465096564353024},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,2,24,16,44]} 
[2026-06-18 17:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136661504001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:38] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-18 17:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318752810348838912,"km_value":318752810348838.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3592465096564353024,"description":"Unknown IO ID 44"} 
[2026-06-18 17:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136661504001,"power":27908,"unknown_125":206,"power_alt":54016,"ignition":40,"odometer":null,"unknown_44":-3592465096564353024}} 
[2026-06-18 17:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":106751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:38] local.INFO: GPS data processed {"connection_id":106751,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:38] local.INFO: Acknowledgment sent {"connection_id":106751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:39] local.INFO: TCP Data received {"connection_id":106749,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda97f3e0012d7c564005e200e0000a001d2c..."} 
[2026-06-18 17:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda97f3e0012d7c564005e200e0000a001d2c..."} 
[2026-06-18 17:28:39] local.INFO: Processing buffer {"connection_id":106749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda97f3e0012d7c564005e200e0000a001d2c..."} 
[2026-06-18 17:28:39] local.INFO: Packet analysis {"connection_id":106749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:39] local.INFO: Extracted packet for processing {"connection_id":106749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:39] local.INFO: GPS Element Parsed {"raw_longitude":763123264,"raw_latitude":98697440,"longitude_deg":76.3123264,"latitude_deg":9.869744,"altitude":10,"angle":29,"satellites":44,"speed":26,"hex_longitude":"2d7c5640","hex_latitude":"05e200e0","is_valid_coordinates":true} 
[2026-06-18 17:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136665600001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93964783400779776,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8958574477780475904,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781783852000,"timestamp_ms":1781783852000,"timestamp_seconds":1781783852,"priority":1,"record_length":96,"hex_timestamp":"0000019eda97f3e0"} 
[2026-06-18 17:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 17:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136665600001,"66":12950,"43":206,"85":15104,"24":26,"16":93964783400779776,"45":8958574477780475904},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 17:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136665600001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:39] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 17:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93964783400779776,"km_value":93964783400779.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8958574477780475904,"description":"Unknown IO ID 45"} 
[2026-06-18 17:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136665600001,"power":12950,"unknown_43":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8958574477780475904}} 
[2026-06-18 17:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":106749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345346,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:39] local.INFO: GPS data processed {"connection_id":106749,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:39] local.INFO: Acknowledgment sent {"connection_id":106749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:40] local.INFO: TCP Data received {"connection_id":106163,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:28:40] local.INFO: Processing buffer {"connection_id":106163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:28:40] local.INFO: Packet analysis {"connection_id":106163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:28:40] local.INFO: Extracted packet for processing {"connection_id":106163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:28:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":106163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:40] local.INFO: GPS data processed {"connection_id":106163,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:40] local.INFO: Acknowledgment sent {"connection_id":106163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:40] local.INFO: TCP Data received {"connection_id":106751,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda97fbb0012cce0c0007439060001201542a..."} 
[2026-06-18 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda97fbb0012cce0c0007439060001201542a..."} 
[2026-06-18 17:28:40] local.INFO: Processing buffer {"connection_id":106751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda97fbb0012cce0c0007439060001201542a..."} 
[2026-06-18 17:28:40] local.INFO: Packet analysis {"connection_id":106751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:40] local.INFO: Extracted packet for processing {"connection_id":106751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":751700992,"raw_latitude":121868384,"longitude_deg":75.1700992,"latitude_deg":12.1868384,"altitude":18,"angle":340,"satellites":42,"speed":17,"hex_longitude":"2cce0c00","hex_latitude":"07439060","is_valid_coordinates":true} 
[2026-06-18 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136663808001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318753265615372288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3595842796282570752,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783854000,"timestamp_ms":1781783854000,"timestamp_seconds":1781783854,"priority":1,"record_length":96,"hex_timestamp":"0000019eda97fbb0"} 
[2026-06-18 17:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136663808001,"66":27930,"125":206,"2":54016,"24":17,"16":318753265615372288,"44":-3595842796282570752},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,2,24,16,44]} 
[2026-06-18 17:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136663808001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:40] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-18 17:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318753265615372288,"km_value":318753265615372.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3595842796282570752,"description":"Unknown IO ID 44"} 
[2026-06-18 17:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136663808001,"power":27930,"unknown_125":206,"power_alt":54016,"ignition":17,"odometer":null,"unknown_44":-3595842796282570752}} 
[2026-06-18 17:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":106751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:40] local.INFO: GPS data processed {"connection_id":106751,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:40] local.INFO: Acknowledgment sent {"connection_id":106751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:45] local.INFO: TCP Data received {"connection_id":107735,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:28:45] local.INFO: Processing buffer {"connection_id":107735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:28:45] local.INFO: IMEI packet received {"connection_id":107735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":107735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:28:52] local.INFO: TCP Data received {"connection_id":107735,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:28:52] local.INFO: Processing buffer {"connection_id":107735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:28:52] local.INFO: IMEI packet received {"connection_id":107735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":107735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:28:53] local.INFO: TCP Data received {"connection_id":107735,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda97a1d8012d18d08007212a40003a01532b..."} 
[2026-06-18 17:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda97a1d8012d18d08007212a40003a01532b..."} 
[2026-06-18 17:28:53] local.INFO: Processing buffer {"connection_id":107735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda97a1d8012d18d08007212a40003a01532b..."} 
[2026-06-18 17:28:53] local.INFO: Packet analysis {"connection_id":107735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:53] local.INFO: Extracted packet for processing {"connection_id":107735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:53] local.INFO: GPS Element Parsed {"raw_longitude":756600960,"raw_latitude":119614016,"longitude_deg":75.660096,"latitude_deg":11.9614016,"altitude":58,"angle":339,"satellites":43,"speed":25,"hex_longitude":"2d18d080","hex_latitude":"07212a40","is_valid_coordinates":true} 
[2026-06-18 17:28: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-06-18 17:28:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136658688001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3319846511050752,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788210557662699520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781783831000,"timestamp_ms":1781783831000,"timestamp_seconds":1781783831,"priority":1,"record_length":96,"hex_timestamp":"0000019eda97a1d8"} 
[2026-06-18 17:28:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28:53] 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-06-18 17:28: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-06-18 17:28: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-06-18 17:28: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-06-18 17:28:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:28:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:28:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:28:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:28:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136658688001,"66":14265,"121":206,"28":31744,"24":25,"16":3319846511050752,"45":1788210557662699520},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:28:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:28:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:28:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136658688001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:28:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:28:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3319846511050752,"km_value":3319846511050.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788210557662699520,"description":"Unknown IO ID 45"} 
[2026-06-18 17:28:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136658688001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1788210557662699520}} 
[2026-06-18 17:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":107735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:54] local.INFO: GPS data processed {"connection_id":107735,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:54] local.INFO: Acknowledgment sent {"connection_id":107735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:28:55] local.INFO: TCP Data received {"connection_id":107735,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda97b178012d18cc0007213290003901462a..."} 
[2026-06-18 17:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda97b178012d18cc0007213290003901462a..."} 
[2026-06-18 17:28:55] local.INFO: Processing buffer {"connection_id":107735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda97b178012d18cc0007213290003901462a..."} 
[2026-06-18 17:28:55] local.INFO: Packet analysis {"connection_id":107735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:55] local.INFO: Extracted packet for processing {"connection_id":107735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda97"} 
[2026-06-18 17:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756599808,"raw_latitude":119616144,"longitude_deg":75.6599808,"latitude_deg":11.9616144,"altitude":57,"angle":326,"satellites":42,"speed":24,"hex_longitude":"2d18cc00","hex_latitude":"07213290","is_valid_coordinates":true} 
[2026-06-18 17:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136660736001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3319962475167744,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788069820175630336,"note":"Value kept but may cause issues"} 
[2026-06-18 17:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781783835000,"timestamp_ms":1781783835000,"timestamp_seconds":1781783835,"priority":1,"record_length":96,"hex_timestamp":"0000019eda97b178"} 
[2026-06-18 17:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:28:55] 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-06-18 17:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 17:28:55] 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-06-18 17:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136660736001,"66":14298,"121":206,"28":31744,"24":24,"16":3319962475167744,"45":1788069820175630336},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 17:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136660736001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:28:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 17:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3319962475167744,"km_value":3319962475167.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788069820175630336,"description":"Unknown IO ID 45"} 
[2026-06-18 17:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136660736001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1788069820175630336}} 
[2026-06-18 17:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":107735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:28:55] local.INFO: GPS data processed {"connection_id":107735,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:28:55] local.INFO: Acknowledgment sent {"connection_id":107735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:29:00] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:00] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:00] local.INFO: IMEI packet received {"connection_id":106164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":106164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:29:02] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:02] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:02] local.INFO: IMEI packet received {"connection_id":106164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":106164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:29:05] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:05] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:29:05] local.INFO: IMEI packet received {"connection_id":106164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":106164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:29:06] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda981320012d7c600005e211a0000f002f2a..."} 
[2026-06-18 17:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda981320012d7c600005e211a0000f002f2a..."} 
[2026-06-18 17:29:06] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda981320012d7c600005e211a0000f002f2a..."} 
[2026-06-18 17:29:06] local.INFO: Packet analysis {"connection_id":106164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:29:06] local.INFO: Extracted packet for processing {"connection_id":106164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763125760,"raw_latitude":98701728,"longitude_deg":76.312576,"latitude_deg":9.8701728,"altitude":15,"angle":47,"satellites":42,"speed":24,"hex_longitude":"2d7c6000","hex_latitude":"05e211a0","is_valid_coordinates":true} 
[2026-06-18 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136666112001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93965023918948352,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959418902710902784,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781783860000,"timestamp_ms":1781783860000,"timestamp_seconds":1781783860,"priority":1,"record_length":96,"hex_timestamp":"0000019eda981320"} 
[2026-06-18 17:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 17:29:06] 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-06-18 17:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:29:06] 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-06-18 17:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136666112001,"66":13102,"43":206,"85":15104,"24":24,"16":93965023918948352,"45":8959418902710902784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,85,24,16,45]} 
[2026-06-18 17:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136666112001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:29:06] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-06-18 17:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93965023918948352,"km_value":93965023918948.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959418902710902784,"description":"Unknown IO ID 45"} 
[2026-06-18 17:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136666112001,"power":13102,"unknown_43":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8959418902710902784}} 
[2026-06-18 17:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":106164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345351,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:29:06] local.INFO: GPS data processed {"connection_id":106164,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:29:06] local.INFO: Acknowledgment sent {"connection_id":106164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:29:12] local.INFO: TCP Data received {"connection_id":106163,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:12] local.INFO: Processing buffer {"connection_id":106163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:12] local.INFO: Packet analysis {"connection_id":106163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:29:12] local.INFO: Extracted packet for processing {"connection_id":106163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106163,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:29:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":106163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:29:12] local.INFO: GPS data processed {"connection_id":106163,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:29:12] local.INFO: Acknowledgment sent {"connection_id":106163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:29:27] local.INFO: TCP Data received {"connection_id":107735,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda988c38012d18600007218320005001232a..."} 
[2026-06-18 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda988c38012d18600007218320005001232a..."} 
[2026-06-18 17:29:27] local.INFO: Processing buffer {"connection_id":107735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda988c38012d18600007218320005001232a..."} 
[2026-06-18 17:29:27] local.INFO: Packet analysis {"connection_id":107735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:29:27] local.INFO: Extracted packet for processing {"connection_id":107735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756572160,"raw_latitude":119636768,"longitude_deg":75.657216,"latitude_deg":11.9636768,"altitude":80,"angle":291,"satellites":42,"speed":27,"hex_longitude":"2d186000","hex_latitude":"07218320","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136675584001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3321817901039616,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757951997673326592,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781783891000,"timestamp_ms":1781783891000,"timestamp_seconds":1781783891,"priority":1,"record_length":96,"hex_timestamp":"0000019eda988c38"} 
[2026-06-18 17:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:29:27] 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-06-18 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667391456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 17:29:27] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":1644167168,"corrected_to":0} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2552670209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":171,"raw_value":3221692785,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3427598336,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,205,105,45,64,129,78,42,10,66,121,204,93,128,77,46,1,240,84,218,33,4,113,23,34,171,136,239,55,2,11,7,65,25],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":1644167168,"validated":0}]} 
[2026-06-18 17:29:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692856873130917888,"timestamp_seconds":5692856873130918.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136675584001,"66":14080,"120":206,"28":31744,"24":27,"16":3321817901039616,"45":1757951997673326592},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136675584001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:29:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3321817901039616,"km_value":3321817901039.616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757951997673326592,"description":"Unknown IO ID 45"} 
[2026-06-18 17:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136675584001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1757951997673326592}} 
[2026-06-18 17:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":107735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:29:27] local.INFO: GPS data processed {"connection_id":107735,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:29:27] local.INFO: Acknowledgment sent {"connection_id":107735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:29:29] local.INFO: TCP Data received {"connection_id":107736,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:29:29] local.INFO: Processing buffer {"connection_id":107736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:29:29] local.INFO: IMEI packet received {"connection_id":107736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":107736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:29:31] local.INFO: TCP Data received {"connection_id":107736,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:29:31] local.INFO: Processing buffer {"connection_id":107736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:29:31] local.INFO: IMEI packet received {"connection_id":107736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":107736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:29:33] local.INFO: TCP Data received {"connection_id":107736,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda983a30012ccdfe800743b1d0001101532b..."} 
[2026-06-18 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda983a30012ccdfe800743b1d0001101532b..."} 
[2026-06-18 17:29:33] local.INFO: Processing buffer {"connection_id":107736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda983a30012ccdfe800743b1d0001101532b..."} 
[2026-06-18 17:29:33] local.INFO: Packet analysis {"connection_id":107736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:29:33] local.INFO: Extracted packet for processing {"connection_id":107736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:29:33] local.INFO: GPS Element Parsed {"raw_longitude":751697536,"raw_latitude":121876944,"longitude_deg":75.1697536,"latitude_deg":12.1876944,"altitude":17,"angle":339,"satellites":43,"speed":35,"hex_longitude":"2ccdfe80","hex_latitude":"0743b1d0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136666624001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318753712291971072,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3599501970977562624,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781783870000,"timestamp_ms":1781783870000,"timestamp_seconds":1781783870,"priority":1,"record_length":96,"hex_timestamp":"0000019eda983a30"} 
[2026-06-18 17:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:29: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-06-18 17: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 17:29: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-06-18 17: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-06-18 17:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":107736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":107736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":107736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136666624001,"66":27397,"125":206,"2":54016,"24":35,"16":318753712291971072,"44":-3599501970977562624},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,2,24,16,44]} 
[2026-06-18 17:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136666624001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:29:33] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-18 17:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318753712291971072,"km_value":318753712291971.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:29:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3599501970977562624,"description":"Unknown IO ID 44"} 
[2026-06-18 17:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136666624001,"power":27397,"unknown_125":206,"power_alt":54016,"ignition":35,"odometer":null,"unknown_44":-3599501970977562624}} 
[2026-06-18 17:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":107736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:29:33] local.INFO: GPS data processed {"connection_id":107736,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:29:33] local.INFO: Acknowledgment sent {"connection_id":107736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:29:33] local.INFO: TCP Data received {"connection_id":106752,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:29:33] local.INFO: Processing buffer {"connection_id":106752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:29:33] local.INFO: IMEI packet received {"connection_id":106752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":106752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:29:37] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda994ba0012d7d3f8005e20880000f005d2d..."} 
[2026-06-18 17:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda994ba0012d7d3f8005e20880000f005d2d..."} 
[2026-06-18 17:29:37] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda994ba0012d7d3f8005e20880000f005d2d..."} 
[2026-06-18 17:29:37] local.INFO: Packet analysis {"connection_id":106164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:29:37] local.INFO: Extracted packet for processing {"connection_id":106164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":98699392,"longitude_deg":76.3182976,"latitude_deg":9.8699392,"altitude":15,"angle":93,"satellites":45,"speed":31,"hex_longitude":"2d7d3f80","hex_latitude":"05e20880","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136685568001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93967798467821568,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014658366891065344,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:37] 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-06-18 17:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781783940000,"timestamp_ms":1781783940000,"timestamp_seconds":1781783940,"priority":1,"record_length":96,"hex_timestamp":"0000019eda994ba0"} 
[2026-06-18 17:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:29:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 17:29:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:29:37] 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-06-18 17:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136685568001,"66":13254,"61":206,"85":15104,"24":31,"16":93967798467821568,"45":9014658366891065344},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 17:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136685568001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:29:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 17:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93967798467821568,"km_value":93967798467821.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014658366891065344,"description":"Unknown IO ID 45"} 
[2026-06-18 17:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136685568001,"power":13254,"unknown_61":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9014658366891065344}} 
[2026-06-18 17:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":106164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345355,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:29:37] local.INFO: GPS data processed {"connection_id":106164,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:29:37] local.INFO: Acknowledgment sent {"connection_id":106164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:29:38] local.INFO: TCP Data received {"connection_id":106752,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:29:38] local.INFO: Processing buffer {"connection_id":106752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:29:38] local.INFO: IMEI packet received {"connection_id":106752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":106752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:29:43] local.INFO: TCP Data received {"connection_id":106752,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:43] local.INFO: Processing buffer {"connection_id":106752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:43] local.INFO: Packet analysis {"connection_id":106752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:29:43] local.INFO: Extracted packet for processing {"connection_id":106752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:29: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-06-18 17:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:29: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-06-18 17:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:29:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":106752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:29:43] local.INFO: GPS data processed {"connection_id":106752,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:29:43] local.INFO: Acknowledgment sent {"connection_id":106752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:29:44] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:29:44] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:29:44] local.INFO: IMEI packet received {"connection_id":105986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":105986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:29:46] local.INFO: TCP Data received {"connection_id":106752,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:46] local.INFO: Processing buffer {"connection_id":106752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda956f58012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:29:46] local.INFO: Packet analysis {"connection_id":106752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:29:46] local.INFO: Extracted packet for processing {"connection_id":106752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda95"} 
[2026-06-18 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:29:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136546816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:29:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781783687000,"timestamp_ms":1781783687000,"timestamp_seconds":1781783687,"priority":1,"record_length":96,"hex_timestamp":"0000019eda956f58"} 
[2026-06-18 17:29:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:29:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:29:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:29:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:29:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:29:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:29:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:29:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:29:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:29:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:29:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:29:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:29:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:29:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136546816001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:29:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:29:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:29:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136546816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:29:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:29:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:29:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:29:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:29:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136546816001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:29:46] local.INFO: DEBUG: GPS processor result {"connection_id":106752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345357,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:29:46] local.INFO: GPS data processed {"connection_id":106752,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:29:46] local.INFO: Acknowledgment sent {"connection_id":106752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:29:49] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:29:49] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:29:49] local.INFO: IMEI packet received {"connection_id":105986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":105986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:29:51] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda98bf00012d183ec007219298005101242a..."} 
[2026-06-18 17:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda98bf00012d183ec007219298005101242a..."} 
[2026-06-18 17:29:51] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda98bf00012d183ec007219298005101242a..."} 
[2026-06-18 17:29:51] local.INFO: Packet analysis {"connection_id":105986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:29:51] local.INFO: Extracted packet for processing {"connection_id":105986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756563648,"raw_latitude":119640728,"longitude_deg":75.6563648,"latitude_deg":11.9640728,"altitude":81,"angle":292,"satellites":42,"speed":26,"hex_longitude":"2d183ec0","hex_latitude":"07219298","is_valid_coordinates":true} 
[2026-06-18 17:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136676096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3322268872605696,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756403885301506048,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781783904000,"timestamp_ms":1781783904000,"timestamp_seconds":1781783904,"priority":1,"record_length":96,"hex_timestamp":"0000019eda98bf00"} 
[2026-06-18 17:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 17:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667403456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 17:29:51] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":3456106496,"corrected_to":0} 
[2026-06-18 17:29:51] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2553182209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:51] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3428057088,"note":"Value kept but may cause issues"} 
[2026-06-18 17:29:51] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,205,132,45,128,129,79,42,10,66,105,64,78,121,204,93,1,240,218,33,4,113,25,38,170,232,43,239,56,2,11,7,73],"length":479,"final_offset":609,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":204,"original":3456106496,"validated":0}]} 
[2026-06-18 17:29:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764927661308313600,"timestamp_seconds":5764927661308314.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136676096001,"66":14483,"120":206,"28":31744,"24":26,"16":3322268872605696,"45":1756403885301506048},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136676096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:29:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:29:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3322268872605696,"km_value":3322268872605.696,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756403885301506048,"description":"Unknown IO ID 45"} 
[2026-06-18 17:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136676096001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1756403885301506048}} 
[2026-06-18 17:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":105986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:29:51] local.INFO: GPS data processed {"connection_id":105986,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:29:51] local.INFO: Acknowledgment sent {"connection_id":105986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:30:05] local.INFO: TCP Data received {"connection_id":107736,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9966f8012ccd8200074449100012013c22..."} 
[2026-06-18 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9966f8012ccd8200074449100012013c22..."} 
[2026-06-18 17:30:05] local.INFO: Processing buffer {"connection_id":107736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9966f8012ccd8200074449100012013c22..."} 
[2026-06-18 17:30:05] local.INFO: Packet analysis {"connection_id":107736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:30:05] local.INFO: Extracted packet for processing {"connection_id":107736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:30:05] local.INFO: GPS Element Parsed {"raw_longitude":751665664,"raw_latitude":121915664,"longitude_deg":75.1665664,"latitude_deg":12.1915664,"altitude":18,"angle":316,"satellites":34,"speed":33,"hex_longitude":"2ccd8200","hex_latitude":"07444910","is_valid_coordinates":true} 
[2026-06-18 17:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136688384001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318756542675419136,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3632997493194979328,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781783947000,"timestamp_ms":1781783947000,"timestamp_seconds":1781783947,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9966f8"} 
[2026-06-18 17:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136688384001,"66":28104,"125":206,"2":54016,"24":33,"16":318756542675419136,"44":-3632997493194979328},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,2,24,16,44]} 
[2026-06-18 17:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136688384001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:30:05] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-18 17:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318756542675419136,"km_value":318756542675419.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3632997493194979328,"description":"Unknown IO ID 44"} 
[2026-06-18 17:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136688384001,"power":28104,"unknown_125":206,"power_alt":54016,"ignition":33,"odometer":null,"unknown_44":-3632997493194979328}} 
[2026-06-18 17:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":107736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:30:05] local.INFO: GPS data processed {"connection_id":107736,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:30:05] local.INFO: Acknowledgment sent {"connection_id":107736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:30:05] local.INFO: TCP Data received {"connection_id":106165,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:05] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:05] local.INFO: IMEI packet received {"connection_id":106165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":106165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:30:10] local.INFO: TCP Data received {"connection_id":106165,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:10] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:10] local.INFO: IMEI packet received {"connection_id":106165,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":106165,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:30:11] local.INFO: TCP Data received {"connection_id":106165,"ip":"42.106.6.48","data_length":93,"data_hex":"00000000000000518e010000019eda997698012d7d62c005e205b0000e005e2d..."} 
[2026-06-18 17:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":93,"packet_hex":"00000000000000518e010000019eda997698012d7d62c005e205b0000e005e2d..."} 
[2026-06-18 17:30:11] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":93,"buffer_hex":"00000000000000518e010000019eda997698012d7d62c005e205b0000e005e2d..."} 
[2026-06-18 17:30:11] local.INFO: Packet analysis {"connection_id":106165,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019eda99"} 
[2026-06-18 17:30:11] local.INFO: Extracted packet for processing {"connection_id":106165,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019eda99"} 
[2026-06-18 17:30:11] local.INFO: GPS Element Parsed {"raw_longitude":763192000,"raw_latitude":98698672,"longitude_deg":76.3192,"latitude_deg":9.8698672,"altitude":14,"angle":94,"satellites":45,"speed":34,"hex_longitude":"2d7d62c0","hex_latitude":"05e205b0","is_valid_coordinates":true} 
[2026-06-18 17:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-06-18 17:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:30:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:30:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 17:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106165,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-18 17:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106165,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 17:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106165,"device_imei":"862567072406932","avl_records_count":0} 
[2026-06-18 17:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 17:30:11] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 17:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":106165,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 17:30:11] local.ERROR: GPS data processing failed {"connection_id":106165,"error":"No valid data to process"} 
[2026-06-18 17:30:11] local.INFO: Acknowledgment sent {"connection_id":106165,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 17:30:15] local.INFO: TCP Data received {"connection_id":106165,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda99a190012d7d888005e202980009005e2d..."} 
[2026-06-18 17:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda99a190012d7d888005e202980009005e2d..."} 
[2026-06-18 17:30:15] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda99a190012d7d888005e202980009005e2d..."} 
[2026-06-18 17:30:15] local.INFO: Packet analysis {"connection_id":106165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:30:15] local.INFO: Extracted packet for processing {"connection_id":106165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":763201664,"raw_latitude":98697880,"longitude_deg":76.3201664,"latitude_deg":9.869788,"altitude":9,"angle":94,"satellites":45,"speed":33,"hex_longitude":"2d7d8880","hex_latitude":"05e20298","is_valid_coordinates":true} 
[2026-06-18 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136691456001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93968696115986432,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9034994933958029312,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:15] 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-06-18 17:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781783962000,"timestamp_ms":1781783962000,"timestamp_seconds":1781783962,"priority":1,"record_length":96,"hex_timestamp":"0000019eda99a190"} 
[2026-06-18 17:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 17:30:15] 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-06-18 17:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106165,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:30:15] 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-06-18 17:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136691456001,"66":12982,"61":206,"85":15104,"24":33,"16":93968696115986432,"45":9034994933958029312},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 17:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136691456001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:30:15] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 17:30:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93968696115986432,"km_value":93968696115986.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9034994933958029312,"description":"Unknown IO ID 45"} 
[2026-06-18 17:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136691456001,"power":12982,"unknown_61":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9034994933958029312}} 
[2026-06-18 17:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":106165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345360,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:30:15] local.INFO: GPS data processed {"connection_id":106165,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:30:15] local.INFO: Acknowledgment sent {"connection_id":106165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:30:23] local.INFO: TCP Data received {"connection_id":105986,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda98e610012d182b0007219b80004f01332b..."} 
[2026-06-18 17:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda98e610012d182b0007219b80004f01332b..."} 
[2026-06-18 17:30:23] local.INFO: Processing buffer {"connection_id":105986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda98e610012d182b0007219b80004f01332b..."} 
[2026-06-18 17:30:23] local.INFO: Packet analysis {"connection_id":105986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:30:23] local.INFO: Extracted packet for processing {"connection_id":105986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda98"} 
[2026-06-18 17:30:23] local.INFO: GPS Element Parsed {"raw_longitude":756558592,"raw_latitude":119643008,"longitude_deg":75.6558592,"latitude_deg":11.9643008,"altitude":79,"angle":307,"satellites":43,"speed":16,"hex_longitude":"2d182b00","hex_latitude":"07219b80","is_valid_coordinates":true} 
[2026-06-18 17:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:30:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136679424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3322530865610752,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747044842326890496,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:30:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781783914000,"timestamp_ms":1781783914000,"timestamp_seconds":1781783914,"priority":1,"record_length":96,"hex_timestamp":"0000019eda98e610"} 
[2026-06-18 17:30:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:30:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:30:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-06-18 17:30: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-06-18 17:30:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:30:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:30:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:30:23] local.INFO: Teltonika packet parsed successfully {"connection_id":105986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:30:23] local.INFO: Passing IMEI to GPS processor {"connection_id":105986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:30:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":105986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:30:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:30:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:30:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:30:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136679424001,"66":14113,"120":206,"28":31744,"24":16,"16":3322530865610752,"45":1747044842326890496},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:30:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:30:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:30:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136679424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:30:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:30:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:30:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3322530865610752,"km_value":3322530865610.752,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:30:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747044842326890496,"description":"Unknown IO ID 45"} 
[2026-06-18 17:30:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136679424001,"power":14113,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1747044842326890496}} 
[2026-06-18 17:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":105986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:30:23] local.INFO: GPS data processed {"connection_id":105986,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:30:23] local.INFO: Acknowledgment sent {"connection_id":105986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:30:33] local.INFO: TCP Data received {"connection_id":107737,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:30:33] local.INFO: Processing buffer {"connection_id":107737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:30:33] local.INFO: IMEI packet received {"connection_id":107737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":107737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:30:34] local.INFO: TCP Data received {"connection_id":106753,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:34] local.INFO: Processing buffer {"connection_id":106753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:34] local.INFO: IMEI packet received {"connection_id":106753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:30:34] local.INFO: IMEI acknowledgment sent {"connection_id":106753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:30:35] local.INFO: TCP Data received {"connection_id":106753,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:35] local.INFO: Processing buffer {"connection_id":106753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:35] local.INFO: IMEI packet received {"connection_id":106753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:30:35] local.INFO: IMEI acknowledgment sent {"connection_id":106753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:30:36] local.INFO: TCP Data received {"connection_id":106753,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:36] local.INFO: Processing buffer {"connection_id":106753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:36] local.INFO: IMEI packet received {"connection_id":106753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:30:36] local.INFO: IMEI acknowledgment sent {"connection_id":106753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:30:38] local.INFO: TCP Data received {"connection_id":107737,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:30:38] local.INFO: Processing buffer {"connection_id":107737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:30:38] local.INFO: IMEI packet received {"connection_id":107737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":107737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:30:39] local.INFO: TCP Data received {"connection_id":106753,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:39] local.INFO: Processing buffer {"connection_id":106753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:30:39] local.INFO: IMEI packet received {"connection_id":106753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":106753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:30:40] local.INFO: TCP Data received {"connection_id":106753,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda997a80012ccd7800074455e00012014822..."} 
[2026-06-18 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda997a80012ccd7800074455e00012014822..."} 
[2026-06-18 17:30:40] local.INFO: Processing buffer {"connection_id":106753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda997a80012ccd7800074455e00012014822..."} 
[2026-06-18 17:30:40] local.INFO: Packet analysis {"connection_id":106753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:30:40] local.INFO: Extracted packet for processing {"connection_id":106753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":751663104,"raw_latitude":121918944,"longitude_deg":75.1663104,"latitude_deg":12.1918944,"altitude":18,"angle":328,"satellites":34,"speed":33,"hex_longitude":"2ccd7800","hex_latitude":"074455e0","is_valid_coordinates":true} 
[2026-06-18 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136690432001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318756744538882048,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3638345517751529472,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783952000,"timestamp_ms":1781783952000,"timestamp_seconds":1781783952,"priority":1,"record_length":96,"hex_timestamp":"0000019eda997a80"} 
[2026-06-18 17:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 17:30:40] 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-06-18 17:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136690432001,"66":27908,"125":206,"2":54016,"24":33,"16":318756744538882048,"44":-3638345517751529472},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,2,24,16,44]} 
[2026-06-18 17:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136690432001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:30:40] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-18 17:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318756744538882048,"km_value":318756744538882.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:30:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3638345517751529472,"description":"Unknown IO ID 44"} 
[2026-06-18 17:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136690432001,"power":27908,"unknown_125":206,"power_alt":54016,"ignition":33,"odometer":null,"unknown_44":-3638345517751529472}} 
[2026-06-18 17:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":106753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:30:40] local.INFO: GPS data processed {"connection_id":106753,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:30:40] local.INFO: Acknowledgment sent {"connection_id":106753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:30:40] local.INFO: TCP Data received {"connection_id":107737,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:30:40] local.INFO: Processing buffer {"connection_id":107737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:30:40] local.INFO: Packet analysis {"connection_id":107737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:30:40] local.INFO: Extracted packet for processing {"connection_id":107737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:30:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:30:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":107737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:30:40] local.INFO: GPS data processed {"connection_id":107737,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:30:40] local.INFO: Acknowledgment sent {"connection_id":107737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:30:44] local.INFO: TCP Data received {"connection_id":107738,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:30:44] local.INFO: Processing buffer {"connection_id":107738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:30:44] local.INFO: IMEI packet received {"connection_id":107738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":107738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:30:50] local.INFO: TCP Data received {"connection_id":107738,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107738,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:30:50] local.INFO: Processing buffer {"connection_id":107738,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:30:50] local.INFO: IMEI packet received {"connection_id":107738,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":107738,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:30:51] local.INFO: TCP Data received {"connection_id":107738,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda993818012d181fc00721a4e8004d01362b..."} 
[2026-06-18 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda993818012d181fc00721a4e8004d01362b..."} 
[2026-06-18 17:30:51] local.INFO: Processing buffer {"connection_id":107738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda993818012d181fc00721a4e8004d01362b..."} 
[2026-06-18 17:30:51] local.INFO: Packet analysis {"connection_id":107738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:30:51] local.INFO: Extracted packet for processing {"connection_id":107738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645416,"longitude_deg":75.6555712,"latitude_deg":11.9645416,"altitude":77,"angle":310,"satellites":43,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721a4e8","is_valid_coordinates":true} 
[2026-06-18 17:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136681984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3322715549204480,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741485711537438720,"note":"Value kept but may cause issues"} 
[2026-06-18 17:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781783935000,"timestamp_ms":1781783935000,"timestamp_seconds":1781783935,"priority":1,"record_length":96,"hex_timestamp":"0000019eda993818"} 
[2026-06-18 17:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:30:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-18 17:30:51] 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-06-18 17:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136681984001,"66":14461,"120":206,"28":31744,"24":0,"16":3322715549204480,"45":1741485711537438720},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136681984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:30:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:30:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3322715549204480,"km_value":3322715549204.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741485711537438720,"description":"Unknown IO ID 45"} 
[2026-06-18 17:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136681984001,"power":14461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741485711537438720}} 
[2026-06-18 17:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":107738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:30:51] local.INFO: GPS data processed {"connection_id":107738,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:30:51] local.INFO: Acknowledgment sent {"connection_id":107738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:30:57] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:57] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:30:57] local.INFO: IMEI packet received {"connection_id":106166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":106166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:31:00] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:31:00] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:31:00] local.INFO: IMEI packet received {"connection_id":106166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":106166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:31:05] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:31:05] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:31:05] local.INFO: IMEI packet received {"connection_id":106166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":106166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:31:06] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9ad240012d7e2bc005e20a200004008e2b..."} 
[2026-06-18 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9ad240012d7e2bc005e20a200004008e2b..."} 
[2026-06-18 17:31:06] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9ad240012d7e2bc005e20a200004008e2b..."} 
[2026-06-18 17:31:06] local.INFO: Packet analysis {"connection_id":106166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:06] local.INFO: Extracted packet for processing {"connection_id":106166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763243456,"raw_latitude":98699808,"longitude_deg":76.3243456,"latitude_deg":9.8699808,"altitude":4,"angle":142,"satellites":43,"speed":19,"hex_longitude":"2d7e2bc0","hex_latitude":"05e20a20","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136713984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93970766290223104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091289929300539392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] 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-06-18 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784040000,"timestamp_ms":1781784040000,"timestamp_seconds":1781784040,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9ad240"} 
[2026-06-18 17:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303165747547559,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":61,"raw_value":58077557095399443,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667533456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":28673,"corrected_to":0} 
[2026-06-18 17:31:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805792974,"corrected_to":0} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2593374209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":108,"raw_value":2952867197,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":233,"raw_value":3221611019,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3643211776,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,61,85,24,241,157,16,217,158,202,45,12,4,44,10,66,155,128,1,240,205,227,218,226,113,28,108,233,152,239,52,2,77,5,19],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":202,"original":28673,"validated":0},{"io_id":205,"original":2805792974,"validated":0}]} 
[2026-06-18 17:31:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":216313708581945344,"timestamp_seconds":216313708581945.34,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:31:06] 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-06-18 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136713984001,"66":12374,"61":206,"85":15104,"24":19,"16":93970766290223104,"45":9091289929300539392},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136713984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:31:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 17:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93970766290223104,"km_value":93970766290223.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091289929300539392,"description":"Unknown IO ID 45"} 
[2026-06-18 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136713984001,"power":12374,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9091289929300539392}} 
[2026-06-18 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":106166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:31:06] local.INFO: GPS data processed {"connection_id":106166,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:31:06] local.INFO: Acknowledgment sent {"connection_id":106166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:31:06] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9ad628012d7e2cc005e208800004009b2b..."} 
[2026-06-18 17:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9ad628012d7e2cc005e208800004009b2b..."} 
[2026-06-18 17:31:06] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9ad628012d7e2cc005e208800004009b2b..."} 
[2026-06-18 17:31:06] local.INFO: Packet analysis {"connection_id":106166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:06] local.INFO: Extracted packet for processing {"connection_id":106166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763243712,"raw_latitude":98699392,"longitude_deg":76.3243712,"latitude_deg":9.8699392,"altitude":4,"angle":155,"satellites":43,"speed":19,"hex_longitude":"2d7e2cc0","hex_latitude":"05e20880","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136714240001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93970792060026880,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091571404277161984,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:06] 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-06-18 17:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784041000,"timestamp_ms":1781784041000,"timestamp_seconds":1781784041,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9ad628"} 
[2026-06-18 17:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 17:31:06] 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-06-18 17: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-06-18 17:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:31:06] 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-06-18 17:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136714240001,"66":12374,"61":206,"85":15104,"24":19,"16":93970792060026880,"45":9091571404277161984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 17:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136714240001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:31:06] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 17:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93970792060026880,"km_value":93970792060026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091571404277161984,"description":"Unknown IO ID 45"} 
[2026-06-18 17:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136714240001,"power":12374,"unknown_61":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9091571404277161984}} 
[2026-06-18 17:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":106166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345366,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:31:06] local.INFO: GPS data processed {"connection_id":106166,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:31:06] local.INFO: Acknowledgment sent {"connection_id":106166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:31:16] local.INFO: TCP Data received {"connection_id":107737,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:31:16] local.INFO: Processing buffer {"connection_id":107737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:31:16] local.INFO: Packet analysis {"connection_id":107737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:16] local.INFO: Extracted packet for processing {"connection_id":107737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:31:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107737,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:31:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:31:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":107737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:31:16] local.INFO: GPS data processed {"connection_id":107737,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:31:16] local.INFO: Acknowledgment sent {"connection_id":107737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:31:24] local.INFO: TCP Data received {"connection_id":107739,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:31:24] local.INFO: Processing buffer {"connection_id":107739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:31:24] local.INFO: IMEI packet received {"connection_id":107739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":107739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:31:25] local.INFO: TCP Data received {"connection_id":107738,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda998a20012d181e800721a5b8004e01362b..."} 
[2026-06-18 17:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda998a20012d181e800721a5b8004e01362b..."} 
[2026-06-18 17:31:25] local.INFO: Processing buffer {"connection_id":107738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda998a20012d181e800721a5b8004e01362b..."} 
[2026-06-18 17:31:25] local.INFO: Packet analysis {"connection_id":107738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:31:25] local.INFO: Extracted packet for processing {"connection_id":107738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:31:25] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645624,"longitude_deg":75.6555392,"latitude_deg":11.9645624,"altitude":78,"angle":310,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721a5b8","is_valid_coordinates":true} 
[2026-06-18 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:31:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136687360001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3322732729073664,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050060288,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:31:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781783956000,"timestamp_ms":1781783956000,"timestamp_seconds":1781783956,"priority":1,"record_length":96,"hex_timestamp":"0000019eda998a20"} 
[2026-06-18 17:31:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:31: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-06-18 17:31:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 17:31:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:31:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:31:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:31:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:31:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:31:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:31:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107738,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:31:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:31:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:31:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:31:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136687360001,"66":14080,"120":206,"28":31744,"24":0,"16":3322732729073664,"45":1738319118050060288},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:31:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:31:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:31:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136687360001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:31:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:31:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:31:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3322732729073664,"km_value":3322732729073.664,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:31:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050060288,"description":"Unknown IO ID 45"} 
[2026-06-18 17:31:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136687360001,"power":14080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050060288}} 
[2026-06-18 17:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":107738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:31:26] local.INFO: GPS data processed {"connection_id":107738,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:31:26] local.INFO: Acknowledgment sent {"connection_id":107738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:31:30] local.INFO: TCP Data received {"connection_id":107739,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:31:30] local.INFO: Processing buffer {"connection_id":107739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:31:30] local.INFO: IMEI packet received {"connection_id":107739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":107739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:31:31] local.INFO: TCP Data received {"connection_id":107739,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9999c0012ccd6e80074467a00013015423..."} 
[2026-06-18 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9999c0012ccd6e80074467a00013015423..."} 
[2026-06-18 17:31:31] local.INFO: Processing buffer {"connection_id":107739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9999c0012ccd6e80074467a00013015423..."} 
[2026-06-18 17:31:31] local.INFO: Packet analysis {"connection_id":107739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:31:31] local.INFO: Extracted packet for processing {"connection_id":107739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:31:31] local.INFO: GPS Element Parsed {"raw_longitude":751660672,"raw_latitude":121923488,"longitude_deg":75.1660672,"latitude_deg":12.1923488,"altitude":19,"angle":340,"satellites":35,"speed":14,"hex_longitude":"2ccd6e80","hex_latitude":"074467a0","is_valid_coordinates":true} 
[2026-06-18 17:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136691712001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318756993646985216,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3641160267517796352,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,125,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781783960000,"timestamp_ms":1781783960000,"timestamp_seconds":1781783960,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9999c0"} 
[2026-06-18 17:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:31: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-06-18 17:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136691712001,"66":27908,"125":206,"2":54016,"24":14,"16":318756993646985216,"44":-3641160267517796352},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,125,2,24,16,44]} 
[2026-06-18 17:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136691712001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:31:31] local.INFO: Unknown IO ID detected {"io_id":125,"value":206,"description":"Unknown IO ID 125"} 
[2026-06-18 17:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318756993646985216,"km_value":318756993646985.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:31:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3641160267517796352,"description":"Unknown IO ID 44"} 
[2026-06-18 17:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136691712001,"power":27908,"unknown_125":206,"power_alt":54016,"ignition":14,"odometer":null,"unknown_44":-3641160267517796352}} 
[2026-06-18 17:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":107739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:31:31] local.INFO: GPS data processed {"connection_id":107739,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:31:31] local.INFO: Acknowledgment sent {"connection_id":107739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:31:33] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:31:33] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:31:33] local.INFO: IMEI packet received {"connection_id":105987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":105987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:31:38] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:31:38] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:31:38] local.INFO: IMEI packet received {"connection_id":105987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":105987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:31:40] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:31:40] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:31:40] local.INFO: Packet analysis {"connection_id":105987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:40] local.INFO: Extracted packet for processing {"connection_id":105987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:31:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:31:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":105987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:31:40] local.INFO: GPS data processed {"connection_id":105987,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:31:40] local.INFO: Acknowledgment sent {"connection_id":105987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:31:41] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9ada10012d7e2d4005e20698000400a92b..."} 
[2026-06-18 17:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9ada10012d7e2d4005e20698000400a92b..."} 
[2026-06-18 17:31:41] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9ada10012d7e2d4005e20698000400a92b..."} 
[2026-06-18 17:31:41] local.INFO: Packet analysis {"connection_id":106166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:41] local.INFO: Extracted packet for processing {"connection_id":106166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":763243840,"raw_latitude":98698904,"longitude_deg":76.324384,"latitude_deg":9.8698904,"altitude":4,"angle":169,"satellites":43,"speed":20,"hex_longitude":"2d7e2d40","hex_latitude":"05e20698","is_valid_coordinates":true} 
[2026-06-18 17:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136714496001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93970817829830656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9091852879253766144,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:41] 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-06-18 17:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781784042000,"timestamp_ms":1781784042000,"timestamp_seconds":1781784042,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9ada10"} 
[2026-06-18 17:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 17:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:31:41] 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-06-18 17:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136714496001,"66":12982,"61":206,"85":15104,"24":20,"16":93970817829830656,"45":9091852879253766144},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,85,24,16,45]} 
[2026-06-18 17:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136714496001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:31:41] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-06-18 17:31:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93970817829830656,"km_value":93970817829830.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9091852879253766144,"description":"Unknown IO ID 45"} 
[2026-06-18 17:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136714496001,"power":12982,"unknown_61":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9091852879253766144}} 
[2026-06-18 17:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":106166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:31:41] local.INFO: GPS data processed {"connection_id":106166,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:31:41] local.INFO: Acknowledgment sent {"connection_id":106166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:31:49] local.INFO: TCP Data received {"connection_id":107740,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:31:49] local.INFO: Processing buffer {"connection_id":107740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:31:49] local.INFO: IMEI packet received {"connection_id":107740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":107740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:31:54] local.INFO: TCP Data received {"connection_id":107740,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:31:54] local.INFO: Processing buffer {"connection_id":107740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:31:54] local.INFO: IMEI packet received {"connection_id":107740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":107740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:31:58] local.INFO: TCP Data received {"connection_id":107740,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda99cc88012d181bc00721a6e0004c011f2c..."} 
[2026-06-18 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda99cc88012d181bc00721a6e0004c011f2c..."} 
[2026-06-18 17:31:58] local.INFO: Processing buffer {"connection_id":107740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda99cc88012d181bc00721a6e0004c011f2c..."} 
[2026-06-18 17:31:58] local.INFO: Packet analysis {"connection_id":107740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:31:58] local.INFO: Extracted packet for processing {"connection_id":107740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda99"} 
[2026-06-18 17:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645920,"longitude_deg":75.6554688,"latitude_deg":11.964592,"altitude":76,"angle":287,"satellites":44,"speed":5,"hex_longitude":"2d181bc0","hex_latitude":"0721a6e0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136692736001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3322771383779328,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329225216,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781783973000,"timestamp_ms":1781783973000,"timestamp_seconds":1781783973,"priority":1,"record_length":96,"hex_timestamp":"0000019eda99cc88"} 
[2026-06-18 17:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:31: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-06-18 17: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":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667421456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2559326209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2199912528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":101,"raw_value":2147950977,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":5177623,"corrected_to":0} 
[2026-06-18 17:31:58] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3441295360,"note":"Value kept but may cause issues"} 
[2026-06-18 17:31:58] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,120,28,24,241,158,16,206,56,45,192,164,77,43,10,66,205,230,155,79,191,1,240,147,218,33,4,113,27,132,101,200,42,239,55,2,11,7,78,26],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0},{"io_id":200,"original":5177623,"validated":0}]} 
[2026-06-18 17:31:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620833368246583296,"timestamp_seconds":5620833368246583.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136692736001,"66":13939,"120":206,"28":31744,"24":5,"16":3322771383779328,"45":1737967274329225216},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136692736001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:31:58] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:31:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3322771383779328,"km_value":3322771383779.328,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329225216,"description":"Unknown IO ID 45"} 
[2026-06-18 17:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136692736001,"power":13939,"unknown_120":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1737967274329225216}} 
[2026-06-18 17:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":107740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:31:58] local.INFO: GPS data processed {"connection_id":107740,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:31:58] local.INFO: Acknowledgment sent {"connection_id":107740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:32:00] local.INFO: TCP Data received {"connection_id":106754,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:32:00] local.INFO: Processing buffer {"connection_id":106754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:32:00] local.INFO: IMEI packet received {"connection_id":106754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":106754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:32:03] local.INFO: TCP Data received {"connection_id":107739,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9b2448012ccd020007455440001e01532c..."} 
[2026-06-18 17:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9b2448012ccd020007455440001e01532c..."} 
[2026-06-18 17:32:03] local.INFO: Processing buffer {"connection_id":107739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9b2448012ccd020007455440001e01532c..."} 
[2026-06-18 17:32:03] local.INFO: Packet analysis {"connection_id":107739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:03] local.INFO: Extracted packet for processing {"connection_id":107739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:03] local.INFO: GPS Element Parsed {"raw_longitude":751632896,"raw_latitude":121984064,"longitude_deg":75.1632896,"latitude_deg":12.1984064,"altitude":30,"angle":339,"satellites":44,"speed":42,"hex_longitude":"2ccd0200","hex_latitude":"07455440","is_valid_coordinates":true} 
[2026-06-18 17:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136717312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318760240642260992,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3670081821360345088,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781784061000,"timestamp_ms":1781784061000,"timestamp_seconds":1781784061,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9b2448"} 
[2026-06-18 17:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:32: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-06-18 17:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 17:32:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:32:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136717312001,"66":27908,"127":206,"2":54016,"24":42,"16":318760240642260992,"44":-3670081821360345088},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136717312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:32:03] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318760240642260992,"km_value":318760240642261.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:32:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3670081821360345088,"description":"Unknown IO ID 44"} 
[2026-06-18 17:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136717312001,"power":27908,"unknown_127":206,"power_alt":54016,"ignition":42,"odometer":null,"unknown_44":-3670081821360345088}} 
[2026-06-18 17:32:03] local.INFO: DEBUG: GPS processor result {"connection_id":107739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:32:03] local.INFO: GPS data processed {"connection_id":107739,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:32:03] local.INFO: Acknowledgment sent {"connection_id":107739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:32:06] local.INFO: TCP Data received {"connection_id":106754,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:32:06] local.INFO: Processing buffer {"connection_id":106754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:32:06] local.INFO: IMEI packet received {"connection_id":106754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":106754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:32:07] local.INFO: TCP Data received {"connection_id":106754,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9bc858012d7e1e8005e11d90000600cc2b..."} 
[2026-06-18 17:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9bc858012d7e1e8005e11d90000600cc2b..."} 
[2026-06-18 17:32:07] local.INFO: Processing buffer {"connection_id":106754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9bc858012d7e1e8005e11d90000600cc2b..."} 
[2026-06-18 17:32:07] local.INFO: Packet analysis {"connection_id":106754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:07] local.INFO: Extracted packet for processing {"connection_id":106754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763240064,"raw_latitude":98639248,"longitude_deg":76.3240064,"latitude_deg":9.8639248,"altitude":6,"angle":204,"satellites":43,"speed":36,"hex_longitude":"2d7e1e80","hex_latitude":"05e11d90","is_valid_coordinates":true} 
[2026-06-18 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136729856001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93973768472363008,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9088475179518287872,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:07] 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-06-18 17:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781784103000,"timestamp_ms":1781784103000,"timestamp_seconds":1781784103,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9bc858"} 
[2026-06-18 17:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-18 17:32:07] 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-06-18 17:32:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:32:07] 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-06-18 17:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136729856001,"66":13102,"60":206,"85":15104,"24":36,"16":93973768472363008,"45":9088475179518287872},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 17:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136729856001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:32:07] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 17:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93973768472363008,"km_value":93973768472363.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9088475179518287872,"description":"Unknown IO ID 45"} 
[2026-06-18 17:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136729856001,"power":13102,"unknown_60":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9088475179518287872}} 
[2026-06-18 17:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":106754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:32:07] local.INFO: GPS data processed {"connection_id":106754,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:32:07] local.INFO: Acknowledgment sent {"connection_id":106754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:32:12] local.INFO: TCP Data received {"connection_id":105987,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:32:12] local.INFO: Processing buffer {"connection_id":105987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:32:12] local.INFO: Packet analysis {"connection_id":105987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:32:12] local.INFO: Extracted packet for processing {"connection_id":105987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:32:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:32:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:32:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:32:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":105987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:32:12] local.INFO: GPS data processed {"connection_id":105987,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:32:12] local.INFO: Acknowledgment sent {"connection_id":105987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:32:30] local.INFO: TCP Data received {"connection_id":107740,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9b10c0012d1824000721b608004f01562b..."} 
[2026-06-18 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9b10c0012d1824000721b608004f01562b..."} 
[2026-06-18 17:32:30] local.INFO: Processing buffer {"connection_id":107740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9b10c0012d1824000721b608004f01562b..."} 
[2026-06-18 17:32:30] local.INFO: Packet analysis {"connection_id":107740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:30] local.INFO: Extracted packet for processing {"connection_id":107740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:30] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649800,"longitude_deg":75.65568,"latitude_deg":11.96498,"altitude":79,"angle":342,"satellites":43,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136712960001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323089211359232,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934823936,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781784056000,"timestamp_ms":1781784056000,"timestamp_seconds":1781784056,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9b10c0"} 
[2026-06-18 17:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:32: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-06-18 17: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":187,"data_length":795,"current_offset":136} 
[2026-06-18 17:32: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-06-18 17: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-06-18 17:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136712960001,"66":13156,"120":206,"28":31744,"24":0,"16":3323089211359232,"45":1739726492934823936},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136712960001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:32:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323089211359232,"km_value":3323089211359.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934823936,"description":"Unknown IO ID 45"} 
[2026-06-18 17:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136712960001,"power":13156,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739726492934823936}} 
[2026-06-18 17:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":107740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:32:30] local.INFO: GPS data processed {"connection_id":107740,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:32:30] local.INFO: Acknowledgment sent {"connection_id":107740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:32:33] local.INFO: TCP Data received {"connection_id":105988,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:32:33] local.INFO: Processing buffer {"connection_id":105988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:32:33] local.INFO: IMEI packet received {"connection_id":105988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":105988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:32:38] local.INFO: TCP Data received {"connection_id":105988,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:32:38] local.INFO: Processing buffer {"connection_id":105988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:32:38] local.INFO: IMEI packet received {"connection_id":105988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":105988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:32:38] local.INFO: TCP Data received {"connection_id":106754,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9be798012d7e120005e103f0000800be2b..."} 
[2026-06-18 17:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9be798012d7e120005e103f0000800be2b..."} 
[2026-06-18 17:32:38] local.INFO: Processing buffer {"connection_id":106754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9be798012d7e120005e103f0000800be2b..."} 
[2026-06-18 17:32:38] local.INFO: Packet analysis {"connection_id":106754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:38] local.INFO: Extracted packet for processing {"connection_id":106754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":763236864,"raw_latitude":98632688,"longitude_deg":76.3236864,"latitude_deg":9.8632688,"altitude":8,"angle":190,"satellites":43,"speed":28,"hex_longitude":"2d7e1200","hex_latitude":"05e103f0","is_valid_coordinates":true} 
[2026-06-18 17:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136730368001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93974124954648576,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9087841860820242432,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:38] 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-06-18 17:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781784111000,"timestamp_ms":1781784111000,"timestamp_seconds":1781784111,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9be798"} 
[2026-06-18 17:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:32:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 17:32:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:32:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:32:38] 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-06-18 17:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136730368001,"66":13048,"60":206,"85":15104,"24":28,"16":93974124954648576,"45":9087841860820242432},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 17:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136730368001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:32:38] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 17:32:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93974124954648576,"km_value":93974124954648.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9087841860820242432,"description":"Unknown IO ID 45"} 
[2026-06-18 17:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136730368001,"power":13048,"unknown_60":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9087841860820242432}} 
[2026-06-18 17:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":106754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:32:38] local.INFO: GPS data processed {"connection_id":106754,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:32:38] local.INFO: Acknowledgment sent {"connection_id":106754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:32:46] local.INFO: TCP Data received {"connection_id":107741,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:32:46] local.INFO: Processing buffer {"connection_id":107741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:32:46] local.INFO: IMEI packet received {"connection_id":107741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":107741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:32:47] local.INFO: TCP Data received {"connection_id":105989,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:32:47] local.INFO: Processing buffer {"connection_id":105989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:32:47] local.INFO: IMEI packet received {"connection_id":105989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":105989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:32:49] local.INFO: TCP Data received {"connection_id":105988,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:32:49] local.INFO: Processing buffer {"connection_id":105988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:32:49] local.INFO: Packet analysis {"connection_id":105988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:32:49] local.INFO: Extracted packet for processing {"connection_id":105988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:32:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:32:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":105988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:32:49] local.INFO: GPS data processed {"connection_id":105988,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:32:49] local.INFO: Acknowledgment sent {"connection_id":105988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:32:49] local.INFO: TCP Data received {"connection_id":105989,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:32:49] local.INFO: Processing buffer {"connection_id":105989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:32:49] local.INFO: IMEI packet received {"connection_id":105989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":105989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:32:50] local.INFO: TCP Data received {"connection_id":105989,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9b62c8012d1824000721b608004f01562a..."} 
[2026-06-18 17:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9b62c8012d1824000721b608004f01562a..."} 
[2026-06-18 17:32:50] local.INFO: Processing buffer {"connection_id":105989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9b62c8012d1824000721b608004f01562a..."} 
[2026-06-18 17:32:50] local.INFO: Packet analysis {"connection_id":105989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:50] local.INFO: Extracted packet for processing {"connection_id":105989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649800,"longitude_deg":75.65568,"latitude_deg":11.96498,"altitude":79,"angle":342,"satellites":42,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-06-18 17:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136718336001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323089211359232,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702202880,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781784077000,"timestamp_ms":1781784077000,"timestamp_seconds":1781784077,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9b62c8"} 
[2026-06-18 17:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:32:50] 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-06-18 17:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-18 17:32:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":105989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":105989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":105989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136718336001,"66":13135,"120":206,"28":31744,"24":0,"16":3323089211359232,"45":1739515386702202880},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136718336001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:32:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:32:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323089211359232,"km_value":3323089211359.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702202880,"description":"Unknown IO ID 45"} 
[2026-06-18 17:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136718336001,"power":13135,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702202880}} 
[2026-06-18 17:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":105989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:32:51] local.INFO: GPS data processed {"connection_id":105989,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:32:51] local.INFO: Acknowledgment sent {"connection_id":105989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:32:55] local.INFO: TCP Data received {"connection_id":105989,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9bb4d0012d1824000721b608004f01562b..."} 
[2026-06-18 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9bb4d0012d1824000721b608004f01562b..."} 
[2026-06-18 17:32:55] local.INFO: Processing buffer {"connection_id":105989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9bb4d0012d1824000721b608004f01562b..."} 
[2026-06-18 17:32:55] local.INFO: Packet analysis {"connection_id":105989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:55] local.INFO: Extracted packet for processing {"connection_id":105989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649800,"longitude_deg":75.65568,"latitude_deg":11.96498,"altitude":79,"angle":342,"satellites":43,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-06-18 17:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136723712001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323089211359232,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702202880,"note":"Value kept but may cause issues"} 
[2026-06-18 17:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781784098000,"timestamp_ms":1781784098000,"timestamp_seconds":1781784098,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9bb4d0"} 
[2026-06-18 17:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:32:55] 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-06-18 17:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 17:32:55] 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-06-18 17:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":105989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":105989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":105989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136723712001,"66":12341,"120":206,"28":31744,"24":0,"16":3323089211359232,"45":1739515386702202880},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136723712001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:32:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323089211359232,"km_value":3323089211359.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702202880,"description":"Unknown IO ID 45"} 
[2026-06-18 17:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136723712001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702202880}} 
[2026-06-18 17:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":105989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:32:55] local.INFO: GPS data processed {"connection_id":105989,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:32:55] local.INFO: Acknowledgment sent {"connection_id":105989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:33:00] local.INFO: TCP Data received {"connection_id":107741,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:33:00] local.INFO: Processing buffer {"connection_id":107741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:33:00] local.INFO: IMEI packet received {"connection_id":107741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":107741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:33:00] local.INFO: TCP Data received {"connection_id":106167,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:33:00] local.INFO: Processing buffer {"connection_id":106167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:33:00] local.INFO: IMEI packet received {"connection_id":106167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":106167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:33:01] local.INFO: TCP Data received {"connection_id":107741,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107741,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:33:01] local.INFO: Processing buffer {"connection_id":107741,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:33:01] local.INFO: IMEI packet received {"connection_id":107741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":107741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:33:03] local.INFO: TCP Data received {"connection_id":106167,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:33:03] local.INFO: Processing buffer {"connection_id":106167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:33:03] local.INFO: IMEI packet received {"connection_id":106167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":106167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:33:03] local.INFO: TCP Data received {"connection_id":106167,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9ca318012d7e394005e082c8000a00a228..."} 
[2026-06-18 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9ca318012d7e394005e082c8000a00a228..."} 
[2026-06-18 17:33:03] local.INFO: Processing buffer {"connection_id":106167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9ca318012d7e394005e082c8000a00a228..."} 
[2026-06-18 17:33:03] local.INFO: Packet analysis {"connection_id":106167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:33:03] local.INFO: Extracted packet for processing {"connection_id":106167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":763246912,"raw_latitude":98599624,"longitude_deg":76.3246912,"latitude_deg":9.8599624,"altitude":10,"angle":162,"satellites":40,"speed":41,"hex_longitude":"2d7e3940","hex_latitude":"05e082c8","is_valid_coordinates":true} 
[2026-06-18 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136742144001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93975937430847488,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093541729090789376,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:03] 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-06-18 17:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781784159000,"timestamp_ms":1781784159000,"timestamp_seconds":1781784159,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9ca318"} 
[2026-06-18 17:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:33: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-06-18 17:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 17:33: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-06-18 17:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136742144001,"66":13276,"60":206,"85":15104,"24":41,"16":93975937430847488,"45":9093541729090789376},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 17:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136742144001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:33:03] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 17:33:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93975937430847488,"km_value":93975937430847.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093541729090789376,"description":"Unknown IO ID 45"} 
[2026-06-18 17:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136742144001,"power":13276,"unknown_60":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9093541729090789376}} 
[2026-06-18 17:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":106167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345381,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:33:04] local.INFO: GPS data processed {"connection_id":106167,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:33:04] local.INFO: Acknowledgment sent {"connection_id":106167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:33:35] local.INFO: TCP Data received {"connection_id":106167,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9cba88012d7e3f0005e069d0000b00af28..."} 
[2026-06-18 17:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9cba88012d7e3f0005e069d0000b00af28..."} 
[2026-06-18 17:33:35] local.INFO: Processing buffer {"connection_id":106167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9cba88012d7e3f0005e069d0000b00af28..."} 
[2026-06-18 17:33:35] local.INFO: Packet analysis {"connection_id":106167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:33:35] local.INFO: Extracted packet for processing {"connection_id":106167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:33:35] local.INFO: GPS Element Parsed {"raw_longitude":763248384,"raw_latitude":98593232,"longitude_deg":76.3248384,"latitude_deg":9.8593232,"altitude":11,"angle":175,"satellites":40,"speed":43,"hex_longitude":"2d7e3f00","hex_latitude":"05e069d0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136744704001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93976255258427392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095371316437108736,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:35] 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-06-18 17:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781784165000,"timestamp_ms":1781784165000,"timestamp_seconds":1781784165,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9cba88"} 
[2026-06-18 17:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:33:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 17:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106167,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:33:35] 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-06-18 17:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136744704001,"66":13135,"60":206,"85":15104,"24":43,"16":93976255258427392,"45":9095371316437108736},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,85,24,16,45]} 
[2026-06-18 17:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136744704001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:33:35] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 17:33:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93976255258427392,"km_value":93976255258427.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095371316437108736,"description":"Unknown IO ID 45"} 
[2026-06-18 17:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136744704001,"power":13135,"unknown_60":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9095371316437108736}} 
[2026-06-18 17:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":106167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:33:35] local.INFO: GPS data processed {"connection_id":106167,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:33:35] local.INFO: Acknowledgment sent {"connection_id":106167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:33:38] local.INFO: TCP Data received {"connection_id":106755,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:33:38] local.INFO: Processing buffer {"connection_id":106755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:33:38] local.INFO: IMEI packet received {"connection_id":106755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":106755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:33:43] local.INFO: TCP Data received {"connection_id":106755,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106755,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:33:43] local.INFO: Processing buffer {"connection_id":106755,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:33:43] local.INFO: IMEI packet received {"connection_id":106755,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":106755,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:33:44] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:33:44] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:33:44] local.INFO: IMEI packet received {"connection_id":105990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":105990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:33:45] local.INFO: TCP Data received {"connection_id":106755,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:33:45] local.INFO: Processing buffer {"connection_id":106755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:33:45] local.INFO: Packet analysis {"connection_id":106755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:33:45] local.INFO: Extracted packet for processing {"connection_id":106755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:33:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:33:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:33:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":106755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:33:45] local.INFO: GPS data processed {"connection_id":106755,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:33:45] local.INFO: Acknowledgment sent {"connection_id":106755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:33:49] local.INFO: TCP Data received {"connection_id":106755,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:33:49] local.INFO: Processing buffer {"connection_id":106755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:33:49] local.INFO: Packet analysis {"connection_id":106755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:33:49] local.INFO: Extracted packet for processing {"connection_id":106755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106755,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:33:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:33:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":106755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:33:49] local.INFO: GPS data processed {"connection_id":106755,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:33:49] local.INFO: Acknowledgment sent {"connection_id":106755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:33:50] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:33:50] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:33:50] local.INFO: IMEI packet received {"connection_id":105990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":105990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:33:54] local.INFO: TCP Data received {"connection_id":105990,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9c06d8012d1824000721b608004f01562b..."} 
[2026-06-18 17:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9c06d8012d1824000721b608004f01562b..."} 
[2026-06-18 17:33:54] local.INFO: Processing buffer {"connection_id":105990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9c06d8012d1824000721b608004f01562b..."} 
[2026-06-18 17:33:54] local.INFO: Packet analysis {"connection_id":105990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:33:54] local.INFO: Extracted packet for processing {"connection_id":105990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:33:54] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649800,"longitude_deg":75.65568,"latitude_deg":11.96498,"altitude":79,"angle":342,"satellites":43,"speed":0,"hex_longitude":"2d182400","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:33:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136729088001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323089211359232,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702202880,"note":"Value kept but may cause issues"} 
[2026-06-18 17:33:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:33:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781784119000,"timestamp_ms":1781784119000,"timestamp_seconds":1781784119,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9c06d8"} 
[2026-06-18 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-06-18 17:33:54] 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-06-18 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 17:33:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 17:33:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:33:54] local.INFO: Teltonika packet parsed successfully {"connection_id":105990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:33:54] local.INFO: Passing IMEI to GPS processor {"connection_id":105990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:33:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":105990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:33:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:33:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:33:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:33:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136729088001,"66":12722,"120":206,"28":31744,"24":0,"16":3323089211359232,"45":1739515386702202880},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:33:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:33:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:33:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136729088001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:33:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:33:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:33:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323089211359232,"km_value":3323089211359.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:33:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702202880,"description":"Unknown IO ID 45"} 
[2026-06-18 17:33:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136729088001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702202880}} 
[2026-06-18 17:33:54] local.INFO: DEBUG: GPS processor result {"connection_id":105990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:33:54] local.INFO: GPS data processed {"connection_id":105990,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:33:54] local.INFO: Acknowledgment sent {"connection_id":105990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:34:00] local.INFO: TCP Data received {"connection_id":107743,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:34:00] local.INFO: Processing buffer {"connection_id":107743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:34:00] local.INFO: IMEI packet received {"connection_id":107743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":107743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:34:04] local.INFO: TCP Data received {"connection_id":107743,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107743,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:34:04] local.INFO: Processing buffer {"connection_id":107743,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:34:04] local.INFO: IMEI packet received {"connection_id":107743,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":107743,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:34:05] local.INFO: TCP Data received {"connection_id":107743,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9cd9c8012d7e428005e04698000c00a829..."} 
[2026-06-18 17:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9cd9c8012d7e428005e04698000c00a829..."} 
[2026-06-18 17:34:05] local.INFO: Processing buffer {"connection_id":107743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9cd9c8012d7e428005e04698000c00a829..."} 
[2026-06-18 17:34:05] local.INFO: Packet analysis {"connection_id":107743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:34:05] local.INFO: Extracted packet for processing {"connection_id":107743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763249280,"raw_latitude":98584216,"longitude_deg":76.324928,"latitude_deg":9.8584216,"altitude":12,"angle":168,"satellites":41,"speed":47,"hex_longitude":"2d7e4280","hex_latitude":"05e04698","is_valid_coordinates":true} 
[2026-06-18 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136746240001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93976693345091584,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9096989797551558656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:05] 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-06-18 17:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781784173000,"timestamp_ms":1781784173000,"timestamp_seconds":1781784173,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9cd9c8"} 
[2026-06-18 17:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 17:34:05] 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-06-18 17:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:34: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-06-18 17:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136746240001,"66":13428,"207":206,"85":15104,"24":47,"16":93976693345091584,"45":9096989797551558656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-18 17:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136746240001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:34:05] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-18 17:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93976693345091584,"km_value":93976693345091.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9096989797551558656,"description":"Unknown IO ID 45"} 
[2026-06-18 17:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136746240001,"power":13428,"unknown_207":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9096989797551558656}} 
[2026-06-18 17:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":107743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345386,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:34:05] local.INFO: GPS data processed {"connection_id":107743,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:34:05] local.INFO: Acknowledgment sent {"connection_id":107743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:34:33] local.INFO: TCP Data received {"connection_id":106756,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:34:33] local.INFO: Processing buffer {"connection_id":106756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:34:33] local.INFO: IMEI packet received {"connection_id":106756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":106756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:34:36] local.INFO: TCP Data received {"connection_id":107743,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9cf908012d7e4dc005e023c8000c009f29..."} 
[2026-06-18 17:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9cf908012d7e4dc005e023c8000c009f29..."} 
[2026-06-18 17:34:36] local.INFO: Processing buffer {"connection_id":107743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9cf908012d7e4dc005e023c8000c009f29..."} 
[2026-06-18 17:34:36] local.INFO: Packet analysis {"connection_id":107743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:34:36] local.INFO: Extracted packet for processing {"connection_id":107743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763252160,"raw_latitude":98575304,"longitude_deg":76.325216,"latitude_deg":9.8575304,"altitude":12,"angle":159,"satellites":41,"speed":45,"hex_longitude":"2d7e4dc0","hex_latitude":"05e023c8","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136748288001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93977148611624960,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9097974959967737856,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:36] 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-06-18 17:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781784181000,"timestamp_ms":1781784181000,"timestamp_seconds":1781784181,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9cf908"} 
[2026-06-18 17:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:34:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-06-18 17:34:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107743,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:34:36] 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-06-18 17:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136748288001,"66":13059,"207":206,"85":15104,"24":45,"16":93977148611624960,"45":9097974959967737856},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-18 17:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136748288001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:34:36] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-18 17:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93977148611624960,"km_value":93977148611624.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9097974959967737856,"description":"Unknown IO ID 45"} 
[2026-06-18 17:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136748288001,"power":13059,"unknown_207":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":9097974959967737856}} 
[2026-06-18 17:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":107743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:34:36] local.INFO: GPS data processed {"connection_id":107743,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:34:36] local.INFO: Acknowledgment sent {"connection_id":107743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:34:38] local.INFO: TCP Data received {"connection_id":106756,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:34:38] local.INFO: Processing buffer {"connection_id":106756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:34:38] local.INFO: IMEI packet received {"connection_id":106756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":106756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:34:40] local.INFO: TCP Data received {"connection_id":106756,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:34:40] local.INFO: Processing buffer {"connection_id":106756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:34:40] local.INFO: Packet analysis {"connection_id":106756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:34:40] local.INFO: Extracted packet for processing {"connection_id":106756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:34:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:34:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":106756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:34:40] local.INFO: GPS data processed {"connection_id":106756,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:34:40] local.INFO: Acknowledgment sent {"connection_id":106756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:34:43] local.INFO: TCP Data received {"connection_id":106757,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:43] local.INFO: Processing buffer {"connection_id":106757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:43] local.INFO: IMEI packet received {"connection_id":106757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":106757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:34:44] local.INFO: TCP Data received {"connection_id":106757,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:44] local.INFO: Processing buffer {"connection_id":106757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:44] local.INFO: IMEI packet received {"connection_id":106757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":106757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:34:44] local.INFO: TCP Data received {"connection_id":106756,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:34:44] local.INFO: Processing buffer {"connection_id":106756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:34:44] local.INFO: Packet analysis {"connection_id":106756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:34:44] local.INFO: Extracted packet for processing {"connection_id":106756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:34:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":106756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:34:44] local.INFO: GPS data processed {"connection_id":106756,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:34:44] local.INFO: Acknowledgment sent {"connection_id":106756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:34:49] local.INFO: TCP Data received {"connection_id":106757,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:49] local.INFO: Processing buffer {"connection_id":106757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:34:49] local.INFO: IMEI packet received {"connection_id":106757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":106757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:34:51] local.INFO: TCP Data received {"connection_id":106757,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9c58e0012d1821c00721b530004b01562c..."} 
[2026-06-18 17:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9c58e0012d1821c00721b530004b01562c..."} 
[2026-06-18 17:34:51] local.INFO: Processing buffer {"connection_id":106757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9c58e0012d1821c00721b530004b01562c..."} 
[2026-06-18 17:34:51] local.INFO: Packet analysis {"connection_id":106757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:34:51] local.INFO: Extracted packet for processing {"connection_id":106757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:34:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649584,"longitude_deg":75.6556224,"latitude_deg":11.9649584,"altitude":75,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-06-18 17:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136734464001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323119276130304,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702202880,"note":"Value kept but may cause issues"} 
[2026-06-18 17:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781784140000,"timestamp_ms":1781784140000,"timestamp_seconds":1781784140,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9c58e0"} 
[2026-06-18 17:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:34:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:34:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:34:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136734464001,"66":13004,"120":206,"28":31744,"24":0,"16":3323119276130304,"45":1739515386702202880},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136734464001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:34:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:34:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323119276130304,"km_value":3323119276130.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702202880,"description":"Unknown IO ID 45"} 
[2026-06-18 17:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136734464001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739515386702202880}} 
[2026-06-18 17:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":106757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:34:51] local.INFO: GPS data processed {"connection_id":106757,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:34:51] local.INFO: Acknowledgment sent {"connection_id":106757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:35:00] local.INFO: TCP Data received {"connection_id":107744,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:00] local.INFO: Processing buffer {"connection_id":107744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:00] local.INFO: IMEI packet received {"connection_id":107744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":107744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:35:02] local.INFO: TCP Data received {"connection_id":107744,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:02] local.INFO: Processing buffer {"connection_id":107744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:02] local.INFO: IMEI packet received {"connection_id":107744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":107744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:35:05] local.INFO: TCP Data received {"connection_id":107744,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107744,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:05] local.INFO: Processing buffer {"connection_id":107744,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:35:05] local.INFO: IMEI packet received {"connection_id":107744,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":107744,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:35:06] local.INFO: TCP Data received {"connection_id":107744,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e6068012d7ec98005def068000e009b2a..."} 
[2026-06-18 17:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e6068012d7ec98005def068000e009b2a..."} 
[2026-06-18 17:35:06] local.INFO: Processing buffer {"connection_id":107744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e6068012d7ec98005def068000e009b2a..."} 
[2026-06-18 17:35:06] local.INFO: Packet analysis {"connection_id":107744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:35:06] local.INFO: Extracted packet for processing {"connection_id":107744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763283840,"raw_latitude":98496616,"longitude_deg":76.328384,"latitude_deg":9.8496616,"altitude":14,"angle":155,"satellites":42,"speed":35,"hex_longitude":"2d7ec980","hex_latitude":"05def068","is_valid_coordinates":true} 
[2026-06-18 17:35: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-06-18 17:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136773120001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93981306139967488,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134285231941572608,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:06] 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-06-18 17:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784273000,"timestamp_ms":1781784273000,"timestamp_seconds":1781784273,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e6068"} 
[2026-06-18 17:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:35: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":254,"data_length":795,"current_offset":136} 
[2026-06-18 17:35:06] 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-06-18 17:35: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-06-18 17:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:35:06] 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-06-18 17:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136773120001,"66":12917,"207":206,"85":15104,"24":35,"16":93981306139967488,"45":9134285231941572608},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-18 17:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136773120001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:35:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-18 17:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93981306139967488,"km_value":93981306139967.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134285231941572608,"description":"Unknown IO ID 45"} 
[2026-06-18 17:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136773120001,"power":12917,"unknown_207":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9134285231941572608}} 
[2026-06-18 17:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":107744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:35:06] local.INFO: GPS data processed {"connection_id":107744,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:35:06] local.INFO: Acknowledgment sent {"connection_id":107744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:35:10] local.INFO: TCP Data received {"connection_id":107744,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e6c20012d7eccc005dee640000f00a92b..."} 
[2026-06-18 17:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e6c20012d7eccc005dee640000f00a92b..."} 
[2026-06-18 17:35:10] local.INFO: Processing buffer {"connection_id":107744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e6c20012d7eccc005dee640000f00a92b..."} 
[2026-06-18 17:35:10] local.INFO: Packet analysis {"connection_id":107744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:35:10] local.INFO: Extracted packet for processing {"connection_id":107744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:35:10] local.INFO: GPS Element Parsed {"raw_longitude":763284672,"raw_latitude":98494016,"longitude_deg":76.3284672,"latitude_deg":9.8494016,"altitude":15,"angle":169,"satellites":43,"speed":37,"hex_longitude":"2d7eccc0","hex_latitude":"05dee640","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136773888001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93981439283953664,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135974081801250816,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:10] 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-06-18 17:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781784276000,"timestamp_ms":1781784276000,"timestamp_seconds":1781784276,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e6c20"} 
[2026-06-18 17:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:35:10] 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-06-18 17: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-06-18 17: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-06-18 17: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-06-18 17:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:35:10] 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-06-18 17:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136773888001,"66":12798,"207":206,"85":15104,"24":37,"16":93981439283953664,"45":9135974081801250816},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-18 17:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136773888001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:35:10] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-18 17:35:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93981439283953664,"km_value":93981439283953.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135974081801250816,"description":"Unknown IO ID 45"} 
[2026-06-18 17:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136773888001,"power":12798,"unknown_207":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9135974081801250816}} 
[2026-06-18 17:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":107744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345392,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:35:10] local.INFO: GPS data processed {"connection_id":107744,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:35:10] local.INFO: Acknowledgment sent {"connection_id":107744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:35:17] local.INFO: TCP Data received {"connection_id":106756,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:35:17] local.INFO: Processing buffer {"connection_id":106756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9a0720012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:35:17] local.INFO: Packet analysis {"connection_id":106756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:35:17] local.INFO: Extracted packet for processing {"connection_id":106756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9a"} 
[2026-06-18 17:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136623872001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781783988000,"timestamp_ms":1781783988000,"timestamp_seconds":1781783988,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9a0720"} 
[2026-06-18 17:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:35:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:35:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136623872001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136623872001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:35:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:35:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136623872001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":106756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345393,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:35:17] local.INFO: GPS data processed {"connection_id":106756,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:35:17] local.INFO: Acknowledgment sent {"connection_id":106756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:35:22] local.INFO: TCP Data received {"connection_id":106757,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9caae8012d1821c00721b530004b01562c..."} 
[2026-06-18 17:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9caae8012d1821c00721b530004b01562c..."} 
[2026-06-18 17:35:22] local.INFO: Processing buffer {"connection_id":106757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9caae8012d1821c00721b530004b01562c..."} 
[2026-06-18 17:35:22] local.INFO: Packet analysis {"connection_id":106757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:35:22] local.INFO: Extracted packet for processing {"connection_id":106757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649584,"longitude_deg":75.6556224,"latitude_deg":11.9649584,"altitude":75,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b530","is_valid_coordinates":true} 
[2026-06-18 17:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136739840001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323119276130304,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004548608,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781784161000,"timestamp_ms":1781784161000,"timestamp_seconds":1781784161,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9caae8"} 
[2026-06-18 17:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 17:35:22] 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-06-18 17:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136739840001,"66":12972,"120":206,"28":31744,"24":0,"16":3323119276130304,"45":1738882068004548608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136739840001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:35:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:35:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323119276130304,"km_value":3323119276130.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004548608,"description":"Unknown IO ID 45"} 
[2026-06-18 17:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136739840001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004548608}} 
[2026-06-18 17:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":106757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:35:22] local.INFO: GPS data processed {"connection_id":106757,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:35:22] local.INFO: Acknowledgment sent {"connection_id":106757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:35:38] local.INFO: TCP Data received {"connection_id":105991,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:35:38] local.INFO: Processing buffer {"connection_id":105991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:35:38] local.INFO: IMEI packet received {"connection_id":105991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":105991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:35:42] local.INFO: TCP Data received {"connection_id":107744,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e8f48012d7ed10005dec118000e00b32a..."} 
[2026-06-18 17:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e8f48012d7ed10005dec118000e00b32a..."} 
[2026-06-18 17:35:42] local.INFO: Processing buffer {"connection_id":107744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e8f48012d7ed10005dec118000e00b32a..."} 
[2026-06-18 17:35:42] local.INFO: Packet analysis {"connection_id":107744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:35:42] local.INFO: Extracted packet for processing {"connection_id":107744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:35:42] local.INFO: GPS Element Parsed {"raw_longitude":763285760,"raw_latitude":98484504,"longitude_deg":76.328576,"latitude_deg":9.8484504,"altitude":14,"angle":179,"satellites":42,"speed":40,"hex_longitude":"2d7ed100","hex_latitude":"05dec118","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136774656001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93981903140421632,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136888875474894848,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:42] 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-06-18 17:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781784285000,"timestamp_ms":1781784285000,"timestamp_seconds":1781784285,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e8f48"} 
[2026-06-18 17:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:35:42] 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-06-18 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-18 17:35:42] 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-06-18 17: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-06-18 17:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107744,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:35:42] 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-06-18 17:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136774656001,"66":13222,"206":206,"85":15104,"24":40,"16":93981903140421632,"45":9136888875474894848},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-18 17:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136774656001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:35:42] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:35:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93981903140421632,"km_value":93981903140421.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136888875474894848,"description":"Unknown IO ID 45"} 
[2026-06-18 17:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136774656001,"power":13222,"unknown_206":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9136888875474894848}} 
[2026-06-18 17:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":107744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:35:42] local.INFO: GPS data processed {"connection_id":107744,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:35:42] local.INFO: Acknowledgment sent {"connection_id":107744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:35:43] local.INFO: TCP Data received {"connection_id":105991,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:35:43] local.INFO: Processing buffer {"connection_id":105991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:35:43] local.INFO: IMEI packet received {"connection_id":105991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":105991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:35:44] local.INFO: TCP Data received {"connection_id":106758,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:44] local.INFO: Processing buffer {"connection_id":106758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:44] local.INFO: IMEI packet received {"connection_id":106758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":106758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:35:47] local.INFO: TCP Data received {"connection_id":106758,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:47] local.INFO: Processing buffer {"connection_id":106758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:47] local.INFO: IMEI packet received {"connection_id":106758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":106758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:35:47] local.INFO: TCP Data received {"connection_id":105991,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:35:47] local.INFO: Processing buffer {"connection_id":105991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:35:47] local.INFO: Packet analysis {"connection_id":105991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:35:47] local.INFO: Extracted packet for processing {"connection_id":105991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:35:47] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:35:47] 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-06-18 17:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":105991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":105991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":105991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:35:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:35:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":105991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:35:47] local.INFO: GPS data processed {"connection_id":105991,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:35:47] local.INFO: Acknowledgment sent {"connection_id":105991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:35:49] local.INFO: TCP Data received {"connection_id":106758,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:49] local.INFO: Processing buffer {"connection_id":106758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:35:49] local.INFO: IMEI packet received {"connection_id":106758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":106758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:35:51] local.INFO: TCP Data received {"connection_id":106758,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9cfcf0012d1821c00721b480004d01562c..."} 
[2026-06-18 17:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9cfcf0012d1821c00721b480004d01562c..."} 
[2026-06-18 17:35:51] local.INFO: Processing buffer {"connection_id":106758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9cfcf0012d1821c00721b480004d01562c..."} 
[2026-06-18 17:35:51] local.INFO: Packet analysis {"connection_id":106758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:35:51] local.INFO: Extracted packet for processing {"connection_id":106758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:35:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":44,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:35:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136745216001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004548608,"note":"Value kept but may cause issues"} 
[2026-06-18 17:35:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:35:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781784182000,"timestamp_ms":1781784182000,"timestamp_seconds":1781784182,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9cfcf0"} 
[2026-06-18 17:35:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:35:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:35:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-18 17:35:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:35:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:35:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:35:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:35:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:35:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:35:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:35:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:35:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:35:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:35:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136745216001,"66":12972,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004548608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:35:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:35:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:35:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136745216001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:35:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:35:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:35:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:35:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004548608,"description":"Unknown IO ID 45"} 
[2026-06-18 17:35:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136745216001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004548608}} 
[2026-06-18 17:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":106758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:35:51] local.INFO: GPS data processed {"connection_id":106758,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:35:51] local.INFO: Acknowledgment sent {"connection_id":106758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:36:00] local.INFO: TCP Data received {"connection_id":106169,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:36:00] local.INFO: Processing buffer {"connection_id":106169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:36:00] local.INFO: IMEI packet received {"connection_id":106169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":106169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:36:05] local.INFO: TCP Data received {"connection_id":106169,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106169,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:36:05] local.INFO: Processing buffer {"connection_id":106169,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:36:05] local.INFO: IMEI packet received {"connection_id":106169,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":106169,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:36:06] local.INFO: TCP Data received {"connection_id":106169,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9ea6b8012d7ed3c005deaa60000e00a62a..."} 
[2026-06-18 17:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9ea6b8012d7ed3c005deaa60000e00a62a..."} 
[2026-06-18 17:36:06] local.INFO: Processing buffer {"connection_id":106169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9ea6b8012d7ed3c005deaa60000e00a62a..."} 
[2026-06-18 17:36:06] local.INFO: Packet analysis {"connection_id":106169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:06] local.INFO: Extracted packet for processing {"connection_id":106169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763286464,"raw_latitude":98478688,"longitude_deg":76.3286464,"latitude_deg":9.8478688,"altitude":14,"angle":166,"satellites":42,"speed":40,"hex_longitude":"2d7ed3c0","hex_latitude":"05deaa60","is_valid_coordinates":true} 
[2026-06-18 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136776960001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93982186608263168,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138085144123480064,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:06] 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-06-18 17:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784291000,"timestamp_ms":1781784291000,"timestamp_seconds":1781784291,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9ea6b8"} 
[2026-06-18 17:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 17:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:36:06] 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-06-18 17:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136776960001,"66":13330,"206":206,"85":15104,"24":40,"16":93982186608263168,"45":9138085144123480064},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-18 17:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136776960001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:36:06] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93982186608263168,"km_value":93982186608263.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138085144123480064,"description":"Unknown IO ID 45"} 
[2026-06-18 17:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136776960001,"power":13330,"unknown_206":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9138085144123480064}} 
[2026-06-18 17:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":106169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:36:06] local.INFO: GPS data processed {"connection_id":106169,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:36:06] local.INFO: Acknowledgment sent {"connection_id":106169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:36:18] local.INFO: TCP Data received {"connection_id":105991,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:18] local.INFO: Processing buffer {"connection_id":105991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:18] local.INFO: Packet analysis {"connection_id":105991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:18] local.INFO: Extracted packet for processing {"connection_id":105991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:18] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":105991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":105991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":105991,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:36:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:36:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":105991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345399,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:36:18] local.INFO: GPS data processed {"connection_id":105991,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:36:18] local.INFO: Acknowledgment sent {"connection_id":105991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:36:23] local.INFO: TCP Data received {"connection_id":106758,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9d4ef8012d1821c00721b480004d01562d..."} 
[2026-06-18 17:36:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9d4ef8012d1821c00721b480004d01562d..."} 
[2026-06-18 17:36:23] local.INFO: Processing buffer {"connection_id":106758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9d4ef8012d1821c00721b480004d01562d..."} 
[2026-06-18 17:36:23] local.INFO: Packet analysis {"connection_id":106758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9d"} 
[2026-06-18 17:36:23] local.INFO: Extracted packet for processing {"connection_id":106758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9d"} 
[2026-06-18 17:36:23] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:36:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136750592001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:36:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781784203000,"timestamp_ms":1781784203000,"timestamp_seconds":1781784203,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9d4ef8"} 
[2026-06-18 17:36:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:36:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:36:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-18 17:36:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:36:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:36:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:36:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:36:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:36:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:36:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:36:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:36:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:36:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:36:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136750592001,"66":12950,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:36:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:36:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:36:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136750592001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:36:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:36:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:36:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:36:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:36:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136750592001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:36:23] local.INFO: DEBUG: GPS processor result {"connection_id":106758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:36:23] local.INFO: GPS data processed {"connection_id":106758,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:36:23] local.INFO: Acknowledgment sent {"connection_id":106758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:36:33] local.INFO: TCP Data received {"connection_id":106759,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:36:33] local.INFO: Processing buffer {"connection_id":106759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:36:33] local.INFO: IMEI packet received {"connection_id":106759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":106759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:36:38] local.INFO: TCP Data received {"connection_id":106759,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:36:38] local.INFO: Processing buffer {"connection_id":106759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:36:38] local.INFO: IMEI packet received {"connection_id":106759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":106759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:36:39] local.INFO: TCP Data received {"connection_id":106169,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9ec9e0012d7eddc005de8868000e009e2b..."} 
[2026-06-18 17:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9ec9e0012d7eddc005de8868000e009e2b..."} 
[2026-06-18 17:36:39] local.INFO: Processing buffer {"connection_id":106169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9ec9e0012d7eddc005de8868000e009e2b..."} 
[2026-06-18 17:36:39] local.INFO: Packet analysis {"connection_id":106169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:39] local.INFO: Extracted packet for processing {"connection_id":106169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763289024,"raw_latitude":98469992,"longitude_deg":76.3289024,"latitude_deg":9.8469992,"altitude":14,"angle":158,"satellites":43,"speed":38,"hex_longitude":"2d7eddc0","hex_latitude":"05de8868","is_valid_coordinates":true} 
[2026-06-18 17:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136778496001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93982628989894656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9138859200307945472,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] 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-06-18 17:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781784300000,"timestamp_ms":1781784300000,"timestamp_seconds":1781784300,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9ec9e0"} 
[2026-06-18 17:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-371545674349297659,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667795456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2684431742,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":227,"raw_value":2147483648,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3278212335132430888,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2656350209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":222,"raw_value":4183293966,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2798584014,"corrected_to":0} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3221610260,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040166,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3807903744,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3743463424,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":106,"raw_value":57885778227647803,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4638707654856288512,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":40,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-3530595242401064960,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.WARNING: Large IO value detected {"io_id":82,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:39] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,206,85,24,241,157,16,228,158,143,45,193,14,42,10,66,108,192,230,15,43,207,227,96,128,1,240,117,218,222,4,113,205,38,170,56,239,51,2,77,5,106,223,40,166,82],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2798584014,"validated":0}]} 
[2026-06-18 17:36:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008989015852449792,"timestamp_seconds":1008989015852449.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106169,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136778496001,"66":12722,"206":206,"85":15104,"24":38,"16":93982628989894656,"45":9138859200307945472},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,85,24,16,45]} 
[2026-06-18 17:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136778496001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:36:39] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-06-18 17:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93982628989894656,"km_value":93982628989894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9138859200307945472,"description":"Unknown IO ID 45"} 
[2026-06-18 17:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136778496001,"power":12722,"unknown_206":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9138859200307945472}} 
[2026-06-18 17:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":106169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345401,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:36:39] local.INFO: GPS data processed {"connection_id":106169,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:36:39] local.INFO: Acknowledgment sent {"connection_id":106169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:36:49] local.INFO: TCP Data received {"connection_id":106759,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:49] local.INFO: Processing buffer {"connection_id":106759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:49] local.INFO: Packet analysis {"connection_id":106759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:49] local.INFO: Extracted packet for processing {"connection_id":106759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:36:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:36:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":106759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:36:49] local.INFO: GPS data processed {"connection_id":106759,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:36:49] local.INFO: Acknowledgment sent {"connection_id":106759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:36:50] local.INFO: TCP Data received {"connection_id":106760,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:50] local.INFO: Processing buffer {"connection_id":106760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:50] local.INFO: IMEI packet received {"connection_id":106760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":106760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:36:50] local.INFO: TCP Data received {"connection_id":106759,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:50] local.INFO: Processing buffer {"connection_id":106759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:36:50] local.INFO: Packet analysis {"connection_id":106759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:50] local.INFO: Extracted packet for processing {"connection_id":106759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:36:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:36:50] 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-06-18 17:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:36:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:36:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":106759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:36:50] local.INFO: GPS data processed {"connection_id":106759,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:36:50] local.INFO: Acknowledgment sent {"connection_id":106759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:36:50] local.INFO: TCP Data received {"connection_id":106760,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:50] local.INFO: Processing buffer {"connection_id":106760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:50] local.INFO: IMEI packet received {"connection_id":106760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":106760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:36:54] local.INFO: TCP Data received {"connection_id":106760,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:54] local.INFO: Processing buffer {"connection_id":106760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:36:54] local.INFO: IMEI packet received {"connection_id":106760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":106760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:36:55] local.INFO: TCP Data received {"connection_id":106760,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9da100012d1821c00721b480004d01562d..."} 
[2026-06-18 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9da100012d1821c00721b480004d01562d..."} 
[2026-06-18 17:36:55] local.INFO: Processing buffer {"connection_id":106760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9da100012d1821c00721b480004d01562d..."} 
[2026-06-18 17:36:55] local.INFO: Packet analysis {"connection_id":106760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9d"} 
[2026-06-18 17:36:55] local.INFO: Extracted packet for processing {"connection_id":106760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9d"} 
[2026-06-18 17:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136755968001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781784224000,"timestamp_ms":1781784224000,"timestamp_seconds":1781784224,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9da100"} 
[2026-06-18 17:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:36: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-06-18 17:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 17:36:55] 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-06-18 17: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-06-18 17:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136755968001,"66":12885,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136755968001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:36:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136755968001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":106760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:36:55] local.INFO: GPS data processed {"connection_id":106760,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:36:55] local.INFO: Acknowledgment sent {"connection_id":106760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:37:00] local.INFO: TCP Data received {"connection_id":105993,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:00] local.INFO: Processing buffer {"connection_id":105993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:00] local.INFO: IMEI packet received {"connection_id":105993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":105993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:37:00] local.INFO: TCP Data received {"connection_id":106760,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9df308012d1821c00721b480004d01562e..."} 
[2026-06-18 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9df308012d1821c00721b480004d01562e..."} 
[2026-06-18 17:37:00] local.INFO: Processing buffer {"connection_id":106760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9df308012d1821c00721b480004d01562e..."} 
[2026-06-18 17:37:00] local.INFO: Packet analysis {"connection_id":106760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9d"} 
[2026-06-18 17:37:00] local.INFO: Extracted packet for processing {"connection_id":106760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9d"} 
[2026-06-18 17:37:00] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136761344001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781784245000,"timestamp_ms":1781784245000,"timestamp_seconds":1781784245,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9df308"} 
[2026-06-18 17:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:37:00] 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-06-18 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 17:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136761344001,"66":12841,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136761344001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:37:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136761344001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:37:00] local.INFO: TCP Data received {"connection_id":105993,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:00] local.INFO: Processing buffer {"connection_id":105993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:00] local.INFO: IMEI packet received {"connection_id":105993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":105993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":106760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:37:00] local.INFO: GPS data processed {"connection_id":106760,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:37:00] local.INFO: Acknowledgment sent {"connection_id":106760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:37:05] local.INFO: TCP Data received {"connection_id":105993,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105993,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:05] local.INFO: Processing buffer {"connection_id":105993,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:37:05] local.INFO: IMEI packet received {"connection_id":105993,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":105993,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:37:08] local.INFO: TCP Data received {"connection_id":105993,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa05850012d7f3d8005dd97b8000a00b02a..."} 
[2026-06-18 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa05850012d7f3d8005dd97b8000a00b02a..."} 
[2026-06-18 17:37:08] local.INFO: Processing buffer {"connection_id":105993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa05850012d7f3d8005dd97b8000a00b02a..."} 
[2026-06-18 17:37:08] local.INFO: Packet analysis {"connection_id":105993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:37:08] local.INFO: Extracted packet for processing {"connection_id":105993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":763313536,"raw_latitude":98408376,"longitude_deg":76.3313536,"latitude_deg":9.8408376,"altitude":10,"angle":176,"satellites":42,"speed":44,"hex_longitude":"2d7f3d80","hex_latitude":"05dd97b8","is_valid_coordinates":true} 
[2026-06-18 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136805632001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93985867395235840,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9167710385404098560,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781784402000,"timestamp_ms":1781784402000,"timestamp_seconds":1781784402,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa05850"} 
[2026-06-18 17:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 17:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":105993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":105993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":105993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136805632001,"66":13178,"113":206,"85":15104,"24":44,"16":93985867395235840,"45":9167710385404098560},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-06-18 17:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136805632001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:37:08] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 17:37:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93985867395235840,"km_value":93985867395235.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9167710385404098560,"description":"Unknown IO ID 45"} 
[2026-06-18 17:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136805632001,"power":13178,"unknown_113":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9167710385404098560}} 
[2026-06-18 17:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":105993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345406,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:37:08] local.INFO: GPS data processed {"connection_id":105993,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:37:08] local.INFO: Acknowledgment sent {"connection_id":105993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:37:33] local.INFO: TCP Data received {"connection_id":106762,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:37:33] local.INFO: Processing buffer {"connection_id":106762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:37:33] local.INFO: IMEI packet received {"connection_id":106762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":106762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:37:38] local.INFO: TCP Data received {"connection_id":106762,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:37:38] local.INFO: Processing buffer {"connection_id":106762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:37:38] local.INFO: IMEI packet received {"connection_id":106762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":106762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:37:39] local.INFO: TCP Data received {"connection_id":105993,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa07790012d7f3fc005dd7490000800a62a..."} 
[2026-06-18 17:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa07790012d7f3fc005dd7490000800a62a..."} 
[2026-06-18 17:37:39] local.INFO: Processing buffer {"connection_id":105993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa07790012d7f3fc005dd7490000800a62a..."} 
[2026-06-18 17:37:39] local.INFO: Packet analysis {"connection_id":105993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:37:39] local.INFO: Extracted packet for processing {"connection_id":105993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:37:39] local.INFO: GPS Element Parsed {"raw_longitude":763314112,"raw_latitude":98399376,"longitude_deg":76.3314112,"latitude_deg":9.8399376,"altitude":8,"angle":166,"satellites":42,"speed":46,"hex_longitude":"2d7f3fc0","hex_latitude":"05dd7490","is_valid_coordinates":true} 
[2026-06-18 17:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136806912001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93986305481900032,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9168625179077097472,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781784410000,"timestamp_ms":1781784410000,"timestamp_seconds":1781784410,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa07790"} 
[2026-06-18 17:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:37: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-06-18 17:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-18 17:37:39] 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-06-18 17:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":105993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":105993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":105993,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136806912001,"66":13048,"113":206,"85":15104,"24":46,"16":93986305481900032,"45":9168625179077097472},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-06-18 17:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136806912001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:37:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 17:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93986305481900032,"km_value":93986305481900.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9168625179077097472,"description":"Unknown IO ID 45"} 
[2026-06-18 17:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136806912001,"power":13048,"unknown_113":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9168625179077097472}} 
[2026-06-18 17:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":105993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345407,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:37:40] local.INFO: GPS data processed {"connection_id":105993,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:37:40] local.INFO: Acknowledgment sent {"connection_id":105993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:37:42] local.INFO: TCP Data received {"connection_id":106762,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:37:42] local.INFO: Processing buffer {"connection_id":106762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:37:42] local.INFO: Packet analysis {"connection_id":106762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:37:42] local.INFO: Extracted packet for processing {"connection_id":106762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:37:42] 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-06-18 17:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:37:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:37:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":106762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:37:42] local.INFO: GPS data processed {"connection_id":106762,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:37:42] local.INFO: Acknowledgment sent {"connection_id":106762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:37:44] local.INFO: TCP Data received {"connection_id":105994,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:37:44] local.INFO: Processing buffer {"connection_id":105994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:37:44] local.INFO: IMEI packet received {"connection_id":105994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":105994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:37:49] local.INFO: TCP Data received {"connection_id":105994,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:37:49] local.INFO: Processing buffer {"connection_id":105994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:37:49] local.INFO: IMEI packet received {"connection_id":105994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":105994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:37:51] local.INFO: TCP Data received {"connection_id":105994,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e4510012d1821c00721b480004d01562e..."} 
[2026-06-18 17:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e4510012d1821c00721b480004d01562e..."} 
[2026-06-18 17:37:51] local.INFO: Processing buffer {"connection_id":105994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e4510012d1821c00721b480004d01562e..."} 
[2026-06-18 17:37:51] local.INFO: Packet analysis {"connection_id":105994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:37:51] local.INFO: Extracted packet for processing {"connection_id":105994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":46,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136766720001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781784266000,"timestamp_ms":1781784266000,"timestamp_seconds":1781784266,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e4510"} 
[2026-06-18 17:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 17:37:51] 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-06-18 17:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":105994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":105994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":105994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136766720001,"66":12841,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136766720001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:37:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:37:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136766720001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":105994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:37:51] local.INFO: GPS data processed {"connection_id":105994,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:37:51] local.INFO: Acknowledgment sent {"connection_id":105994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:37:53] local.INFO: TCP Data received {"connection_id":105994,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9718012d1821c00721b480004d01562f..."} 
[2026-06-18 17:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9718012d1821c00721b480004d01562f..."} 
[2026-06-18 17:37:53] local.INFO: Processing buffer {"connection_id":105994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9718012d1821c00721b480004d01562f..."} 
[2026-06-18 17:37:53] local.INFO: Packet analysis {"connection_id":105994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:37:53] local.INFO: Extracted packet for processing {"connection_id":105994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:37:53] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:37:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136772096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:37:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781784287000,"timestamp_ms":1781784287000,"timestamp_seconds":1781784287,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9718"} 
[2026-06-18 17:37:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:37:53] 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-06-18 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 17:37:53] 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-06-18 17: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-06-18 17:37:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:37:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:37:53] local.INFO: Teltonika packet parsed successfully {"connection_id":105994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:37:53] local.INFO: Passing IMEI to GPS processor {"connection_id":105994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:37:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":105994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:37:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:37:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:37:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:37:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136772096001,"66":12841,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:37:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:37:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:37:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136772096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:37:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:37:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:37:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:37:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:37:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136772096001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:37:53] local.INFO: DEBUG: GPS processor result {"connection_id":105994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:37:53] local.INFO: GPS data processed {"connection_id":105994,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:37:53] local.INFO: Acknowledgment sent {"connection_id":105994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:37:54] local.INFO: TCP Data received {"connection_id":106761,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:37:54] local.INFO: Processing buffer {"connection_id":106761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:37:54] local.INFO: IMEI packet received {"connection_id":106761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":106761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:37:56] local.INFO: TCP Data received {"connection_id":106761,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9b4770012cccf740074579c8001e01592e..."} 
[2026-06-18 17:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9b4770012cccf740074579c8001e01592e..."} 
[2026-06-18 17:37:56] local.INFO: Processing buffer {"connection_id":106761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9b4770012cccf740074579c8001e01592e..."} 
[2026-06-18 17:37:56] local.INFO: Packet analysis {"connection_id":106761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:37:56] local.INFO: Extracted packet for processing {"connection_id":106761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:37:56] local.INFO: GPS Element Parsed {"raw_longitude":751630144,"raw_latitude":121993672,"longitude_deg":75.1630144,"latitude_deg":12.1993672,"altitude":30,"angle":345,"satellites":46,"speed":47,"hex_longitude":"2cccf740","hex_latitude":"074579c8","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136719616001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318760725973565440,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3674374314752983040,"note":"Value kept but may cause issues"} 
[2026-06-18 17:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781784070000,"timestamp_ms":1781784070000,"timestamp_seconds":1781784070,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9b4770"} 
[2026-06-18 17:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:37: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-06-18 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:37: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-06-18 17: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-06-18 17:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136719616001,"66":27908,"127":206,"2":54016,"24":47,"16":318760725973565440,"44":-3674374314752983040},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136719616001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:37:56] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318760725973565440,"km_value":318760725973565.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:37:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3674374314752983040,"description":"Unknown IO ID 44"} 
[2026-06-18 17:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136719616001,"power":27908,"unknown_127":206,"power_alt":54016,"ignition":47,"odometer":null,"unknown_44":-3674374314752983040}} 
[2026-06-18 17:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":106761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:37:56] local.INFO: GPS data processed {"connection_id":106761,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:37:56] local.INFO: Acknowledgment sent {"connection_id":106761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:38:01] local.INFO: TCP Data received {"connection_id":107746,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:01] local.INFO: Processing buffer {"connection_id":107746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:01] local.INFO: IMEI packet received {"connection_id":107746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":107746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:38:10] local.INFO: TCP Data received {"connection_id":107746,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:10] local.INFO: Processing buffer {"connection_id":107746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:10] local.INFO: IMEI packet received {"connection_id":107746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":107746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:38:11] local.INFO: TCP Data received {"connection_id":107746,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107746,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:11] local.INFO: Processing buffer {"connection_id":107746,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:38:11] local.INFO: IMEI packet received {"connection_id":107746,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":107746,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:38:12] local.INFO: TCP Data received {"connection_id":107746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa096d0012d7f488005dd4f48000900a82b..."} 
[2026-06-18 17:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa096d0012d7f488005dd4f48000900a82b..."} 
[2026-06-18 17:38:12] local.INFO: Processing buffer {"connection_id":107746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa096d0012d7f488005dd4f48000900a82b..."} 
[2026-06-18 17:38:12] local.INFO: Packet analysis {"connection_id":107746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:38:12] local.INFO: Extracted packet for processing {"connection_id":107746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:38:12] local.INFO: GPS Element Parsed {"raw_longitude":763316352,"raw_latitude":98389832,"longitude_deg":76.3316352,"latitude_deg":9.8389832,"altitude":9,"angle":168,"satellites":43,"speed":48,"hex_longitude":"2d7f4880","hex_latitude":"05dd4f48","is_valid_coordinates":true} 
[2026-06-18 17:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136808960001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93986777928302592,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9169258497772392448,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781784418000,"timestamp_ms":1781784418000,"timestamp_seconds":1781784418,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa096d0"} 
[2026-06-18 17:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 17:38:12] 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-06-18 17:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:38:12] 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-06-18 17:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136808960001,"66":13298,"113":206,"85":15104,"24":48,"16":93986777928302592,"45":9169258497772392448},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-06-18 17:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136808960001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:38:12] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 17:38:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93986777928302592,"km_value":93986777928302.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9169258497772392448,"description":"Unknown IO ID 45"} 
[2026-06-18 17:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136808960001,"power":13298,"unknown_113":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":9169258497772392448}} 
[2026-06-18 17:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":107746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345412,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:38:12] local.INFO: GPS data processed {"connection_id":107746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:38:12] local.INFO: Acknowledgment sent {"connection_id":107746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:38:13] local.INFO: TCP Data received {"connection_id":107746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa0b9f8012d7f504005dd2ad0000700a82a..."} 
[2026-06-18 17:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa0b9f8012d7f504005dd2ad0000700a82a..."} 
[2026-06-18 17:38:13] local.INFO: Processing buffer {"connection_id":107746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa0b9f8012d7f504005dd2ad0000700a82a..."} 
[2026-06-18 17:38:13] local.INFO: Packet analysis {"connection_id":107746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:38:13] local.INFO: Extracted packet for processing {"connection_id":107746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:38:13] local.INFO: GPS Element Parsed {"raw_longitude":763318336,"raw_latitude":98380496,"longitude_deg":76.3318336,"latitude_deg":9.8380496,"altitude":7,"angle":168,"satellites":42,"speed":30,"hex_longitude":"2d7f5040","hex_latitude":"05dd2ad0","is_valid_coordinates":true} 
[2026-06-18 17:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136811008001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93987241784770560,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171721403816167424,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781784427000,"timestamp_ms":1781784427000,"timestamp_seconds":1781784427,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa0b9f8"} 
[2026-06-18 17:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-18 17:38:13] 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-06-18 17:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136811008001,"66":12993,"113":206,"85":15104,"24":30,"16":93987241784770560,"45":9171721403816167424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,85,24,16,45]} 
[2026-06-18 17:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136811008001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:38:13] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 17:38:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93987241784770560,"km_value":93987241784770.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171721403816167424,"description":"Unknown IO ID 45"} 
[2026-06-18 17:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136811008001,"power":12993,"unknown_113":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9171721403816167424}} 
[2026-06-18 17:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":107746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:38:13] local.INFO: GPS data processed {"connection_id":107746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:38:13] local.INFO: Acknowledgment sent {"connection_id":107746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:38:13] local.INFO: TCP Data received {"connection_id":106762,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:38:13] local.INFO: Processing buffer {"connection_id":106762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:38:13] local.INFO: Packet analysis {"connection_id":106762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:38:13] local.INFO: Extracted packet for processing {"connection_id":106762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:38:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:38:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":106762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:38:13] local.INFO: GPS data processed {"connection_id":106762,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:38:13] local.INFO: Acknowledgment sent {"connection_id":106762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:38:24] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:38:24] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:38:24] local.INFO: IMEI packet received {"connection_id":105995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":105995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:38:25] local.INFO: TCP Data received {"connection_id":105994,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9ee920012d1821c00721b480004d01562f..."} 
[2026-06-18 17:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9ee920012d1821c00721b480004d01562f..."} 
[2026-06-18 17:38:25] local.INFO: Processing buffer {"connection_id":105994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9ee920012d1821c00721b480004d01562f..."} 
[2026-06-18 17:38:25] local.INFO: Packet analysis {"connection_id":105994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:38:25] local.INFO: Extracted packet for processing {"connection_id":105994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:38:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777472001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:38:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781784308000,"timestamp_ms":1781784308000,"timestamp_seconds":1781784308,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9ee920"} 
[2026-06-18 17:38:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:38:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 17:38: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-06-18 17: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-06-18 17:38:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:38:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:38:25] local.INFO: Teltonika packet parsed successfully {"connection_id":105994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:38:25] local.INFO: Passing IMEI to GPS processor {"connection_id":105994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:38:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":105994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:38:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:38:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:38:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:38:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777472001,"66":12809,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:38:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:38:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:38:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777472001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:38:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:38:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:38:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:38:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:38:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777472001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:38:25] local.INFO: DEBUG: GPS processor result {"connection_id":105994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:38:25] local.INFO: GPS data processed {"connection_id":105994,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:38:25] local.INFO: Acknowledgment sent {"connection_id":105994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:38:29] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:38:29] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:38:29] local.INFO: IMEI packet received {"connection_id":105995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":105995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:38:31] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9b66b0012ccced0007459f90001c01582e..."} 
[2026-06-18 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9b66b0012ccced0007459f90001c01582e..."} 
[2026-06-18 17:38:31] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9b66b0012ccced0007459f90001c01582e..."} 
[2026-06-18 17:38:31] local.INFO: Packet analysis {"connection_id":105995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:38:31] local.INFO: Extracted packet for processing {"connection_id":105995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:38:31] local.INFO: GPS Element Parsed {"raw_longitude":751627520,"raw_latitude":122003344,"longitude_deg":75.162752,"latitude_deg":12.2003344,"altitude":28,"angle":344,"satellites":46,"speed":51,"hex_longitude":"2ccced00","hex_latitude":"07459f90","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136721920001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318761211304869888,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3677400170750162944,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781784078000,"timestamp_ms":1781784078000,"timestamp_seconds":1781784078,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9b66b0"} 
[2026-06-18 17:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:38: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-06-18 17: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-06-18 17:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":105995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136721920001,"66":27974,"127":206,"2":54016,"24":51,"16":318761211304869888,"44":-3677400170750162944},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136721920001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:38:31] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318761211304869888,"km_value":318761211304869.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:38:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3677400170750162944,"description":"Unknown IO ID 44"} 
[2026-06-18 17:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136721920001,"power":27974,"unknown_127":206,"power_alt":54016,"ignition":51,"odometer":null,"unknown_44":-3677400170750162944}} 
[2026-06-18 17:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":105995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:38:31] local.INFO: GPS data processed {"connection_id":105995,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:38:31] local.INFO: Acknowledgment sent {"connection_id":105995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:38:33] local.INFO: TCP Data received {"connection_id":106763,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:38:33] local.INFO: Processing buffer {"connection_id":106763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:38:33] local.INFO: IMEI packet received {"connection_id":106763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":106763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:38:38] local.INFO: TCP Data received {"connection_id":106763,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:38:38] local.INFO: Processing buffer {"connection_id":106763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:38:38] local.INFO: IMEI packet received {"connection_id":106763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":106763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:38:39] local.INFO: TCP Data received {"connection_id":106763,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:38:39] local.INFO: Processing buffer {"connection_id":106763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:38:39] local.INFO: Packet analysis {"connection_id":106763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:38:39] local.INFO: Extracted packet for processing {"connection_id":106763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:38:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":106763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:38:39] local.INFO: GPS data processed {"connection_id":106763,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:38:39] local.INFO: Acknowledgment sent {"connection_id":106763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:38:44] local.INFO: TCP Data received {"connection_id":107746,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa1e2d8012d7fd60005dc89000008004e2b..."} 
[2026-06-18 17:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa1e2d8012d7fd60005dc89000008004e2b..."} 
[2026-06-18 17:38:44] local.INFO: Processing buffer {"connection_id":107746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa1e2d8012d7fd60005dc89000008004e2b..."} 
[2026-06-18 17:38:44] local.INFO: Packet analysis {"connection_id":107746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa1"} 
[2026-06-18 17:38:44] local.INFO: Extracted packet for processing {"connection_id":107746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa1"} 
[2026-06-18 17:38:44] local.INFO: GPS Element Parsed {"raw_longitude":763352576,"raw_latitude":98339072,"longitude_deg":76.3352576,"latitude_deg":9.8339072,"altitude":8,"angle":78,"satellites":43,"speed":46,"hex_longitude":"2d7fd600","hex_latitude":"05dc8900","is_valid_coordinates":true} 
[2026-06-18 17:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136830720001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93990282621616128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201979963798962176,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781784503000,"timestamp_ms":1781784503000,"timestamp_seconds":1781784503,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa1e2d8"} 
[2026-06-18 17:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:38:44] 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-06-18 17:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668009456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2712158209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":220,"raw_value":-4017210828950918656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":151,"raw_value":2147867802,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":77,"raw_value":3938254848,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3703339008,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":46,"raw_value":57719339654993211,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.WARNING: Large IO value detected {"io_id":161,"raw_value":5931242004171194373,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:44] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,111,85,24,241,157,16,235,158,187,45,128,125,7,41,10,66,179,64,172,1,240,166,227,218,220,4,113,205,22,133,151,104,239,51,2,77,5,39,46,161],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[]} 
[2026-06-18 17:38:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504482494903681024,"timestamp_seconds":504482494903681.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107746,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:38:44] 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-06-18 17:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136830720001,"66":13396,"53":206,"85":15104,"24":46,"16":93990282621616128,"45":9201979963798962176},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-06-18 17:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136830720001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:38:44] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-18 17:38:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93990282621616128,"km_value":93990282621616.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201979963798962176,"description":"Unknown IO ID 45"} 
[2026-06-18 17:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136830720001,"power":13396,"unknown_53":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9201979963798962176}} 
[2026-06-18 17:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":107746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345418,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:38:44] local.INFO: GPS data processed {"connection_id":107746,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:38:44] local.INFO: Acknowledgment sent {"connection_id":107746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:38:44] local.INFO: TCP Data received {"connection_id":107747,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:38:44] local.INFO: Processing buffer {"connection_id":107747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:38:44] local.INFO: IMEI packet received {"connection_id":107747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":107747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:38:49] local.INFO: TCP Data received {"connection_id":107747,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:38:49] local.INFO: Processing buffer {"connection_id":107747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:38:49] local.INFO: IMEI packet received {"connection_id":107747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":107747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:38:51] local.INFO: TCP Data received {"connection_id":107747,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9f3b28012d1821c00721b480004d01562f..."} 
[2026-06-18 17:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9f3b28012d1821c00721b480004d01562f..."} 
[2026-06-18 17:38:51] local.INFO: Processing buffer {"connection_id":107747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9f3b28012d1821c00721b480004d01562f..."} 
[2026-06-18 17:38:51] local.INFO: Packet analysis {"connection_id":107747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9f"} 
[2026-06-18 17:38:51] local.INFO: Extracted packet for processing {"connection_id":107747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9f"} 
[2026-06-18 17:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":47,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136782848001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781784329000,"timestamp_ms":1781784329000,"timestamp_seconds":1781784329,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9f3b28"} 
[2026-06-18 17:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667721456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-7157653566002814528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":78,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052611505151488484,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3462332416,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428900351852762668,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-18 17:38:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,206,151,45,192,180,77,47,10,66,69,46,243,1,240,41,218,33,4,113,205,78,128,239,50,2,11,7,124,95],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 17:38:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548810975760613376,"timestamp_seconds":5548810975760613.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136782848001,"66":12809,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136782848001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:38:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:38:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136782848001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":107747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:38:51] local.INFO: GPS data processed {"connection_id":107747,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:38:51] local.INFO: Acknowledgment sent {"connection_id":107747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:00] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:00] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:00] local.INFO: IMEI packet received {"connection_id":106170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":106170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:39:03] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:03] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:03] local.INFO: IMEI packet received {"connection_id":106170,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":106170,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:39:03] local.INFO: TCP Data received {"connection_id":105995,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9b8208012ccce4000745c120001a01582d..."} 
[2026-06-18 17:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9b8208012ccce4000745c120001a01582d..."} 
[2026-06-18 17:39:03] local.INFO: Processing buffer {"connection_id":105995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9b8208012ccce4000745c120001a01582d..."} 
[2026-06-18 17:39:03] local.INFO: Packet analysis {"connection_id":105995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:39:03] local.INFO: Extracted packet for processing {"connection_id":105995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":751625216,"raw_latitude":122011936,"longitude_deg":75.1625216,"latitude_deg":12.2011936,"altitude":26,"angle":344,"satellites":45,"speed":48,"hex_longitude":"2ccce400","hex_latitude":"0745c120","is_valid_coordinates":true} 
[2026-06-18 17:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136723968001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318761645096566784,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3680285289258971136,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781784085000,"timestamp_ms":1781784085000,"timestamp_seconds":1781784085,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9b8208"} 
[2026-06-18 17:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 17:39:03] 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-06-18 17:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":105995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":105995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136723968001,"66":27919,"127":206,"2":54016,"24":48,"16":318761645096566784,"44":-3680285289258971136},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136723968001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:03] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318761645096566784,"km_value":318761645096566.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3680285289258971136,"description":"Unknown IO ID 44"} 
[2026-06-18 17:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136723968001,"power":27919,"unknown_127":206,"power_alt":54016,"ignition":48,"odometer":null,"unknown_44":-3680285289258971136}} 
[2026-06-18 17:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":105995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:03] local.INFO: GPS data processed {"connection_id":105995,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:03] local.INFO: Acknowledgment sent {"connection_id":105995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:04] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa20218012d7ff84005dc91300008004b2b..."} 
[2026-06-18 17:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa20218012d7ff84005dc91300008004b2b..."} 
[2026-06-18 17:39:04] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa20218012d7ff84005dc91300008004b2b..."} 
[2026-06-18 17:39:04] local.INFO: Packet analysis {"connection_id":106170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa2"} 
[2026-06-18 17:39:04] local.INFO: Extracted packet for processing {"connection_id":106170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa2"} 
[2026-06-18 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":763361344,"raw_latitude":98341168,"longitude_deg":76.3361344,"latitude_deg":9.8341168,"altitude":8,"angle":75,"satellites":43,"speed":46,"hex_longitude":"2d7ff840","hex_latitude":"05dc9130","is_valid_coordinates":true} 
[2026-06-18 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136832768001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93990716413313024,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9211550113007730688,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781784511000,"timestamp_ms":1781784511000,"timestamp_seconds":1781784511,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa20218"} 
[2026-06-18 17:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:39:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-18 17:39:04] 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-06-18 17:39:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:39:04] 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-06-18 17:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136832768001,"66":13493,"53":206,"85":15104,"24":46,"16":93990716413313024,"45":9211550113007730688},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-06-18 17:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136832768001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:04] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-18 17:39:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93990716413313024,"km_value":93990716413313.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9211550113007730688,"description":"Unknown IO ID 45"} 
[2026-06-18 17:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136832768001,"power":13493,"unknown_53":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":9211550113007730688}} 
[2026-06-18 17:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":106170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345421,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:04] local.INFO: GPS data processed {"connection_id":106170,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:04] local.INFO: Acknowledgment sent {"connection_id":106170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:11] local.INFO: TCP Data received {"connection_id":106763,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:11] local.INFO: Processing buffer {"connection_id":106763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:11] local.INFO: Packet analysis {"connection_id":106763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:39:11] local.INFO: Extracted packet for processing {"connection_id":106763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:39:11] 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-06-18 17:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":106763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:11] local.INFO: GPS data processed {"connection_id":106763,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:11] local.INFO: Acknowledgment sent {"connection_id":106763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:22] local.INFO: TCP Data received {"connection_id":107747,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9f8d30012d1821c00721b480004d015630..."} 
[2026-06-18 17:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9f8d30012d1821c00721b480004d015630..."} 
[2026-06-18 17:39:22] local.INFO: Processing buffer {"connection_id":107747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9f8d30012d1821c00721b480004d015630..."} 
[2026-06-18 17:39:22] local.INFO: Packet analysis {"connection_id":107747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9f"} 
[2026-06-18 17:39:22] local.INFO: Extracted packet for processing {"connection_id":107747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9f"} 
[2026-06-18 17:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136788224001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781784350000,"timestamp_ms":1781784350000,"timestamp_seconds":1781784350,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9f8d30"} 
[2026-06-18 17:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3667742456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-7134563821819518528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-7637878573985903076,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3462332416,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428706837839828524,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:22] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,206,233,45,192,180,77,47,10,66,151,69,1,240,41,218,33,4,113,205,161,128,239,50,2,11,7,124,95],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 17:39:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548810975760613376,"timestamp_seconds":5548810975760613.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136788224001,"66":12743,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136788224001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:39:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136788224001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":107747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:22] local.INFO: GPS data processed {"connection_id":107747,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:22] local.INFO: Acknowledgment sent {"connection_id":107747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:24] local.INFO: TCP Data received {"connection_id":106764,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:39:24] local.INFO: Processing buffer {"connection_id":106764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:39:24] local.INFO: IMEI packet received {"connection_id":106764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":106764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:39:31] local.INFO: TCP Data received {"connection_id":106764,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:39:31] local.INFO: Processing buffer {"connection_id":106764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:39:31] local.INFO: IMEI packet received {"connection_id":106764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:39:31] local.INFO: IMEI acknowledgment sent {"connection_id":106764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:39:35] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa22158012d801f4005dc99c00006004d2c..."} 
[2026-06-18 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa22158012d801f4005dc99c00006004d2c..."} 
[2026-06-18 17:39:35] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa22158012d801f4005dc99c00006004d2c..."} 
[2026-06-18 17:39:35] local.INFO: Packet analysis {"connection_id":106170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa2"} 
[2026-06-18 17:39:35] local.INFO: Extracted packet for processing {"connection_id":106170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa2"} 
[2026-06-18 17:39:35] local.INFO: GPS Element Parsed {"raw_longitude":763371328,"raw_latitude":98343360,"longitude_deg":76.3371328,"latitude_deg":9.834336,"altitude":6,"angle":77,"satellites":44,"speed":52,"hex_longitude":"2d801f40","hex_latitude":"05dc99c0","is_valid_coordinates":true} 
[2026-06-18 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136834816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93991201744617472,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221190630960607232,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781784519000,"timestamp_ms":1781784519000,"timestamp_seconds":1781784519,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa22158"} 
[2026-06-18 17:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39: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-06-18 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 17:39:35] 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-06-18 17:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106170,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:39:35] 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-06-18 17:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136834816001,"66":13363,"53":206,"85":15104,"24":52,"16":93991201744617472,"45":9221190630960607232},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,85,24,16,45]} 
[2026-06-18 17:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136834816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:35] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-06-18 17:39:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93991201744617472,"km_value":93991201744617.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221190630960607232,"description":"Unknown IO ID 45"} 
[2026-06-18 17:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136834816001,"power":13363,"unknown_53":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":9221190630960607232}} 
[2026-06-18 17:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":106170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:35] local.INFO: GPS data processed {"connection_id":106170,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:35] local.INFO: Acknowledgment sent {"connection_id":106170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:35] local.INFO: TCP Data received {"connection_id":106764,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9ba148012cccda400745e4c0001801582e..."} 
[2026-06-18 17:39:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9ba148012cccda400745e4c0001801582e..."} 
[2026-06-18 17:39:35] local.INFO: Processing buffer {"connection_id":106764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9ba148012cccda400745e4c0001801582e..."} 
[2026-06-18 17:39:35] local.INFO: Packet analysis {"connection_id":106764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:39:35] local.INFO: Extracted packet for processing {"connection_id":106764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:39:35] local.INFO: GPS Element Parsed {"raw_longitude":751622720,"raw_latitude":122021056,"longitude_deg":75.162272,"latitude_deg":12.2021056,"altitude":24,"angle":344,"satellites":46,"speed":45,"hex_longitude":"2cccda40","hex_latitude":"0745e4c0","is_valid_coordinates":true} 
[2026-06-18 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136725760001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318762100363100160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3682818564047167488,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781784093000,"timestamp_ms":1781784093000,"timestamp_seconds":1781784093,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9ba148"} 
[2026-06-18 17:39:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39: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-06-18 17:39:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 17:39: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-06-18 17:39:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:39:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:39:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:39:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:39:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:39:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:39:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136725760001,"66":27767,"127":206,"2":54016,"24":45,"16":318762100363100160,"44":-3682818564047167488},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:39:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:39:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:39:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136725760001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:35] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:39:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318762100363100160,"km_value":318762100363100.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3682818564047167488,"description":"Unknown IO ID 44"} 
[2026-06-18 17:39:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136725760001,"power":27767,"unknown_127":206,"power_alt":54016,"ignition":45,"odometer":null,"unknown_44":-3682818564047167488}} 
[2026-06-18 17:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":106764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:35] local.INFO: GPS data processed {"connection_id":106764,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:35] local.INFO: Acknowledgment sent {"connection_id":106764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:38] local.INFO: TCP Data received {"connection_id":106765,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:39:38] local.INFO: Processing buffer {"connection_id":106765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:39:38] local.INFO: IMEI packet received {"connection_id":106765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":106765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:39:43] local.INFO: TCP Data received {"connection_id":106765,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:39:43] local.INFO: Processing buffer {"connection_id":106765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:39:43] local.INFO: IMEI packet received {"connection_id":106765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":106765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:39:45] local.INFO: TCP Data received {"connection_id":106765,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:45] local.INFO: Processing buffer {"connection_id":106765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:45] local.INFO: Packet analysis {"connection_id":106765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:39:45] local.INFO: Extracted packet for processing {"connection_id":106765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:39:45] 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-06-18 17:39:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:39:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":106765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:45] local.INFO: GPS data processed {"connection_id":106765,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:45] local.INFO: Acknowledgment sent {"connection_id":106765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:45] local.INFO: TCP Data received {"connection_id":107748,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:39:45] local.INFO: Processing buffer {"connection_id":107748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:39:45] local.INFO: IMEI packet received {"connection_id":107748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":107748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:39:49] local.INFO: TCP Data received {"connection_id":106765,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:49] local.INFO: Processing buffer {"connection_id":106765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9e9ee8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:39:49] local.INFO: Packet analysis {"connection_id":106765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:39:49] local.INFO: Extracted packet for processing {"connection_id":106765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9e"} 
[2026-06-18 17:39:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136700928001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781784289000,"timestamp_ms":1781784289000,"timestamp_seconds":1781784289,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9e9ee8"} 
[2026-06-18 17:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136700928001,"66":25528,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136700928001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:39:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136700928001,"power":25528,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":106765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:49] local.INFO: GPS data processed {"connection_id":106765,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:49] local.INFO: Acknowledgment sent {"connection_id":106765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:49] local.INFO: TCP Data received {"connection_id":107748,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:39:49] local.INFO: Processing buffer {"connection_id":107748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:39:49] local.INFO: IMEI packet received {"connection_id":107748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":107748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:39:51] local.INFO: TCP Data received {"connection_id":107748,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9fdf38012d1821c00721b480004d015630..."} 
[2026-06-18 17:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9fdf38012d1821c00721b480004d015630..."} 
[2026-06-18 17:39:51] local.INFO: Processing buffer {"connection_id":107748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9fdf38012d1821c00721b480004d015630..."} 
[2026-06-18 17:39:51] local.INFO: Packet analysis {"connection_id":107748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9f"} 
[2026-06-18 17:39:51] local.INFO: Extracted packet for processing {"connection_id":107748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9f"} 
[2026-06-18 17:39:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:39:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136793600001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:39:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:39:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781784371000,"timestamp_ms":1781784371000,"timestamp_seconds":1781784371,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9fdf38"} 
[2026-06-18 17:39:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:39:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:39:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 17:39:51] 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-06-18 17:39:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:39:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:39:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:39:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:39:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:39:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:39:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:39:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:39:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:39:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136793600001,"66":12776,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:39:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:39:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:39:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136793600001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:39:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:39:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:39:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:39:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:39:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136793600001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:39:51] local.INFO: DEBUG: GPS processor result {"connection_id":107748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:39:51] local.INFO: GPS data processed {"connection_id":107748,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:39:51] local.INFO: Acknowledgment sent {"connection_id":107748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:39:58] local.INFO: TCP Data received {"connection_id":107749,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:58] local.INFO: Processing buffer {"connection_id":107749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:39:58] local.INFO: IMEI packet received {"connection_id":107749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":107749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:40:00] local.INFO: TCP Data received {"connection_id":107749,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:40:00] local.INFO: Processing buffer {"connection_id":107749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:40:00] local.INFO: IMEI packet received {"connection_id":107749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":107749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:40:05] local.INFO: TCP Data received {"connection_id":107749,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107749,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:40:05] local.INFO: Processing buffer {"connection_id":107749,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:40:05] local.INFO: IMEI packet received {"connection_id":107749,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":107749,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:40:06] local.INFO: TCP Data received {"connection_id":107749,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa24098012d80448005dca2480007004b28..."} 
[2026-06-18 17:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa24098012d80448005dca2480007004b28..."} 
[2026-06-18 17:40:06] local.INFO: Processing buffer {"connection_id":107749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa24098012d80448005dca2480007004b28..."} 
[2026-06-18 17:40:06] local.INFO: Packet analysis {"connection_id":107749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa2"} 
[2026-06-18 17:40:06] local.INFO: Extracted packet for processing {"connection_id":107749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa2"} 
[2026-06-18 17:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763380864,"raw_latitude":98345544,"longitude_deg":76.3380864,"latitude_deg":9.8345544,"altitude":7,"angle":75,"satellites":40,"speed":39,"hex_longitude":"2d804480","hex_latitude":"05dca248","is_valid_coordinates":true} 
[2026-06-18 17:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136836864001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93991669896052736,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214575918656667648,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784527000,"timestamp_ms":1781784527000,"timestamp_seconds":1781784527,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa24098"} 
[2026-06-18 17:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:40: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-06-18 17:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 17:40:06] 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-06-18 17:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:40:06] 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-06-18 17:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136836864001,"66":13059,"251":206,"85":15104,"24":39,"16":93991669896052736,"45":-9214575918656667648},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,85,24,16,45]} 
[2026-06-18 17:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136836864001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:40:06] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-06-18 17:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93991669896052736,"km_value":93991669896052.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214575918656667648,"description":"Unknown IO ID 45"} 
[2026-06-18 17:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136836864001,"power":13059,"unknown_251":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":-9214575918656667648}} 
[2026-06-18 17:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":107749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345429,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:40:06] local.INFO: GPS data processed {"connection_id":107749,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:40:06] local.INFO: Acknowledgment sent {"connection_id":107749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:40:25] local.INFO: TCP Data received {"connection_id":107748,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa03140012d1821c00721b480004d015630..."} 
[2026-06-18 17:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa03140012d1821c00721b480004d015630..."} 
[2026-06-18 17:40:25] local.INFO: Processing buffer {"connection_id":107748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa03140012d1821c00721b480004d015630..."} 
[2026-06-18 17:40:25] local.INFO: Packet analysis {"connection_id":107748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:40:25] local.INFO: Extracted packet for processing {"connection_id":107748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:40:25] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:40:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136798976001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:40:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781784392000,"timestamp_ms":1781784392000,"timestamp_seconds":1781784392,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa03140"} 
[2026-06-18 17:40:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:40:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 17:40:25] 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-06-18 17: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-06-18 17:40:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:40:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:40:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:40:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:40:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:40:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:40:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:40:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:40:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136798976001,"66":12776,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:40:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:40:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:40:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136798976001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:40:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:40:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:40:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:40:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:40:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136798976001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":107748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:40:25] local.INFO: GPS data processed {"connection_id":107748,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:40:25] local.INFO: Acknowledgment sent {"connection_id":107748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:40:29] local.INFO: TCP Data received {"connection_id":107750,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:40:29] local.INFO: Processing buffer {"connection_id":107750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:40:29] local.INFO: IMEI packet received {"connection_id":107750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":107750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:40:33] local.INFO: TCP Data received {"connection_id":105996,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:40:33] local.INFO: Processing buffer {"connection_id":105996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:40:33] local.INFO: IMEI packet received {"connection_id":105996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":105996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:40:34] local.INFO: TCP Data received {"connection_id":107750,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:40:34] local.INFO: Processing buffer {"connection_id":107750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:40:34] local.INFO: IMEI packet received {"connection_id":107750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":107750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:40:35] local.INFO: TCP Data received {"connection_id":107750,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9bc470012cccd20007460990001900002d..."} 
[2026-06-18 17:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9bc470012cccd20007460990001900002d..."} 
[2026-06-18 17:40:35] local.INFO: Processing buffer {"connection_id":107750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9bc470012cccd20007460990001900002d..."} 
[2026-06-18 17:40:35] local.INFO: Packet analysis {"connection_id":107750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:40:35] local.INFO: Extracted packet for processing {"connection_id":107750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:40:35] local.INFO: GPS Element Parsed {"raw_longitude":751620608,"raw_latitude":122030480,"longitude_deg":75.1620608,"latitude_deg":12.203048,"altitude":25,"angle":0,"satellites":45,"speed":37,"hex_longitude":"2cccd200","hex_latitude":"07460990","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136727808001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318762568514535424,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3685562945067761664,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781784102000,"timestamp_ms":1781784102000,"timestamp_seconds":1781784102,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9bc470"} 
[2026-06-18 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-06-18 17:40: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-06-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 17:40: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-06-18 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-06-18 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-06-18 17:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136727808001,"66":27865,"127":206,"2":54016,"24":37,"16":318762568514535424,"44":-3685562945067761664},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136727808001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:40:35] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318762568514535424,"km_value":318762568514535.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:40:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3685562945067761664,"description":"Unknown IO ID 44"} 
[2026-06-18 17:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136727808001,"power":27865,"unknown_127":206,"power_alt":54016,"ignition":37,"odometer":null,"unknown_44":-3685562945067761664}} 
[2026-06-18 17:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":107750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:40:35] local.INFO: GPS data processed {"connection_id":107750,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:40:35] local.INFO: Acknowledgment sent {"connection_id":107750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:40:38] local.INFO: TCP Data received {"connection_id":105996,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:40:38] local.INFO: Processing buffer {"connection_id":105996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:40:38] local.INFO: IMEI packet received {"connection_id":105996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":105996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:40:40] local.INFO: TCP Data received {"connection_id":105996,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:40:40] local.INFO: Processing buffer {"connection_id":105996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:40:40] local.INFO: Packet analysis {"connection_id":105996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:40:40] local.INFO: Extracted packet for processing {"connection_id":105996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":105996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":105996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":105996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:40:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":105996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:40:40] local.INFO: GPS data processed {"connection_id":105996,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:40:40] local.INFO: Acknowledgment sent {"connection_id":105996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:40:43] local.INFO: TCP Data received {"connection_id":107749,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa3cb20012d80f1c005db8f900009009a2a..."} 
[2026-06-18 17:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa3cb20012d80f1c005db8f900009009a2a..."} 
[2026-06-18 17:40:43] local.INFO: Processing buffer {"connection_id":107749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa3cb20012d80f1c005db8f900009009a2a..."} 
[2026-06-18 17:40:43] local.INFO: Packet analysis {"connection_id":107749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:40:43] local.INFO: Extracted packet for processing {"connection_id":107749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:40:43] local.INFO: GPS Element Parsed {"raw_longitude":763425216,"raw_latitude":98275216,"longitude_deg":76.3425216,"latitude_deg":9.8275216,"altitude":9,"angle":154,"satellites":42,"speed":49,"hex_longitude":"2d80f1c0","hex_latitude":"05db8f90","is_valid_coordinates":true} 
[2026-06-18 17:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136864000001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93996020697923584,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9157436498401067008,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:43] 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-06-18 17:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781784628000,"timestamp_ms":1781784628000,"timestamp_seconds":1781784628,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa3cb20"} 
[2026-06-18 17:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 17:40:43] 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-06-18 17:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107749,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:40:43] 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-06-18 17:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136864000001,"66":12722,"155":206,"85":15104,"24":49,"16":93996020697923584,"45":-9157436498401067008},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-18 17:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136864000001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:40:43] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 17:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93996020697923584,"km_value":93996020697923.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9157436498401067008,"description":"Unknown IO ID 45"} 
[2026-06-18 17:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136864000001,"power":12722,"unknown_155":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9157436498401067008}} 
[2026-06-18 17:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":107749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345433,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:40:43] local.INFO: GPS data processed {"connection_id":107749,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:40:43] local.INFO: Acknowledgment sent {"connection_id":107749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:40:44] local.INFO: TCP Data received {"connection_id":106766,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:40:44] local.INFO: Processing buffer {"connection_id":106766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:40:44] local.INFO: IMEI packet received {"connection_id":106766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":106766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:40:49] local.INFO: TCP Data received {"connection_id":106766,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:40:49] local.INFO: Processing buffer {"connection_id":106766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:40:49] local.INFO: IMEI packet received {"connection_id":106766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":106766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:40:50] local.INFO: TCP Data received {"connection_id":106766,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa08348012d1821c00721b480004d015630..."} 
[2026-06-18 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa08348012d1821c00721b480004d015630..."} 
[2026-06-18 17:40:50] local.INFO: Processing buffer {"connection_id":106766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa08348012d1821c00721b480004d015630..."} 
[2026-06-18 17:40:50] local.INFO: Packet analysis {"connection_id":106766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:40:50] local.INFO: Extracted packet for processing {"connection_id":106766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136804352001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781784413000,"timestamp_ms":1781784413000,"timestamp_seconds":1781784413,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa08348"} 
[2026-06-18 17:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 17:40:50] 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-06-18 17:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136804352001,"66":12743,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136804352001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:40:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:40:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136804352001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":106766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:40:50] local.INFO: GPS data processed {"connection_id":106766,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:40:50] local.INFO: Acknowledgment sent {"connection_id":106766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:41:00] local.INFO: TCP Data received {"connection_id":105997,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:00] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:00] local.INFO: IMEI packet received {"connection_id":105997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":105997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:41:00] local.INFO: TCP Data received {"connection_id":105997,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:00] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:00] local.INFO: IMEI packet received {"connection_id":105997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":105997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:41:05] local.INFO: TCP Data received {"connection_id":105997,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:05] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:41:05] local.INFO: IMEI packet received {"connection_id":105997,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":105997,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:41:06] local.INFO: TCP Data received {"connection_id":105997,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa3ea60012d80fe8005db6cb00007009f2b..."} 
[2026-06-18 17:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa3ea60012d80fe8005db6cb00007009f2b..."} 
[2026-06-18 17:41:06] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa3ea60012d80fe8005db6cb00007009f2b..."} 
[2026-06-18 17:41:06] local.INFO: Packet analysis {"connection_id":105997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:41:06] local.INFO: Extracted packet for processing {"connection_id":105997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763428480,"raw_latitude":98266288,"longitude_deg":76.342848,"latitude_deg":9.8266288,"altitude":7,"angle":159,"satellites":43,"speed":43,"hex_longitude":"2d80fe80","hex_latitude":"05db6cb0","is_valid_coordinates":true} 
[2026-06-18 17:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136864768001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93996480259424256,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9155325436076519424,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784636000,"timestamp_ms":1781784636000,"timestamp_seconds":1781784636,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa3ea60"} 
[2026-06-18 17:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:41: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-06-18 17:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":105997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":105997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":105997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:41:06] 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-06-18 17:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136864768001,"66":13352,"155":206,"85":15104,"24":43,"16":93996480259424256,"45":-9155325436076519424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-18 17:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136864768001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:41:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 17:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93996480259424256,"km_value":93996480259424.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9155325436076519424,"description":"Unknown IO ID 45"} 
[2026-06-18 17:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136864768001,"power":13352,"unknown_155":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9155325436076519424}} 
[2026-06-18 17:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":105997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345435,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:41:06] local.INFO: GPS data processed {"connection_id":105997,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:41:06] local.INFO: Acknowledgment sent {"connection_id":105997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:41:07] local.INFO: TCP Data received {"connection_id":107750,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9bc470012cccd20007460990001900002d..."} 
[2026-06-18 17:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9bc470012cccd20007460990001900002d..."} 
[2026-06-18 17:41:07] local.INFO: Processing buffer {"connection_id":107750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9bc470012cccd20007460990001900002d..."} 
[2026-06-18 17:41:07] local.INFO: Packet analysis {"connection_id":107750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:41:07] local.INFO: Extracted packet for processing {"connection_id":107750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:41:07] local.INFO: GPS Element Parsed {"raw_longitude":751620608,"raw_latitude":122030480,"longitude_deg":75.1620608,"latitude_deg":12.203048,"altitude":25,"angle":0,"satellites":45,"speed":37,"hex_longitude":"2cccd200","hex_latitude":"07460990","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:41:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136730112001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318762568514535424,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3687885113623212032,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:41:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781784102000,"timestamp_ms":1781784102000,"timestamp_seconds":1781784102,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9bc470"} 
[2026-06-18 17:41:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:41:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":217,"data_length":795,"current_offset":136} 
[2026-06-18 17:41:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:41:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:41:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:41:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:41:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:41:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:41:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:41:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:41:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:41:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136730112001,"66":27865,"127":206,"2":54016,"24":37,"16":318762568514535424,"44":-3687885113623212032},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:41:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:41:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:41:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136730112001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:41:07] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:41:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318762568514535424,"km_value":318762568514535.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:41:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3687885113623212032,"description":"Unknown IO ID 44"} 
[2026-06-18 17:41:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136730112001,"power":27865,"unknown_127":206,"power_alt":54016,"ignition":37,"odometer":null,"unknown_44":-3687885113623212032}} 
[2026-06-18 17:41:07] local.INFO: DEBUG: GPS processor result {"connection_id":107750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:41:07] local.INFO: GPS data processed {"connection_id":107750,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:41:07] local.INFO: Acknowledgment sent {"connection_id":107750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:41:22] local.INFO: TCP Data received {"connection_id":106766,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa0d550012d1821c00721b480004d015630..."} 
[2026-06-18 17:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa0d550012d1821c00721b480004d015630..."} 
[2026-06-18 17:41:22] local.INFO: Processing buffer {"connection_id":106766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa0d550012d1821c00721b480004d015630..."} 
[2026-06-18 17:41:22] local.INFO: Packet analysis {"connection_id":106766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:41:22] local.INFO: Extracted packet for processing {"connection_id":106766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136809728001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781784434000,"timestamp_ms":1781784434000,"timestamp_seconds":1781784434,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa0d550"} 
[2026-06-18 17:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 17:41:22] 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-06-18 17:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136809728001,"66":12722,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136809728001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:41:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:41:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136809728001,"power":12722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":106766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:41:22] local.INFO: GPS data processed {"connection_id":106766,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:41:22] local.INFO: Acknowledgment sent {"connection_id":106766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:41:25] local.INFO: TCP Data received {"connection_id":106767,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:41:25] local.INFO: Processing buffer {"connection_id":106767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:41:25] local.INFO: IMEI packet received {"connection_id":106767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:41:25] local.INFO: IMEI acknowledgment sent {"connection_id":106767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:41:29] local.INFO: TCP Data received {"connection_id":106767,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:41:29] local.INFO: Processing buffer {"connection_id":106767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:41:29] local.INFO: IMEI packet received {"connection_id":106767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":106767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:41:30] local.INFO: TCP Data received {"connection_id":106767,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9bd028012cccd14007461440001a01582e..."} 
[2026-06-18 17:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9bd028012cccd14007461440001a01582e..."} 
[2026-06-18 17:41:30] local.INFO: Processing buffer {"connection_id":106767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9bd028012cccd14007461440001a01582e..."} 
[2026-06-18 17:41:30] local.INFO: Packet analysis {"connection_id":106767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:41:30] local.INFO: Extracted packet for processing {"connection_id":106767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:41:30] local.INFO: GPS Element Parsed {"raw_longitude":751620416,"raw_latitude":122033216,"longitude_deg":75.1620416,"latitude_deg":12.2033216,"altitude":26,"angle":344,"satellites":46,"speed":35,"hex_longitude":"2cccd140","hex_latitude":"07461440","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136730112001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318762701658521600,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3687885113623212032,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781784105000,"timestamp_ms":1781784105000,"timestamp_seconds":1781784105,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9bd028"} 
[2026-06-18 17:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:41: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-06-18 17: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 17:41: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-06-18 17: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-06-18 17:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136730112001,"66":27930,"127":206,"2":54016,"24":35,"16":318762701658521600,"44":-3687885113623212032},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136730112001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:41:30] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318762701658521600,"km_value":318762701658521.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3687885113623212032,"description":"Unknown IO ID 44"} 
[2026-06-18 17:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136730112001,"power":27930,"unknown_127":206,"power_alt":54016,"ignition":35,"odometer":null,"unknown_44":-3687885113623212032}} 
[2026-06-18 17:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":106767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:41:30] local.INFO: GPS data processed {"connection_id":106767,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:41:30] local.INFO: Acknowledgment sent {"connection_id":106767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:41:33] local.INFO: TCP Data received {"connection_id":107751,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:41:33] local.INFO: Processing buffer {"connection_id":107751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:41:33] local.INFO: IMEI packet received {"connection_id":107751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":107751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:41:38] local.INFO: TCP Data received {"connection_id":105997,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa3fa00012d81060005db5dc0000700942b..."} 
[2026-06-18 17:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa3fa00012d81060005db5dc0000700942b..."} 
[2026-06-18 17:41:38] local.INFO: Processing buffer {"connection_id":105997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa3fa00012d81060005db5dc0000700942b..."} 
[2026-06-18 17:41:38] local.INFO: Packet analysis {"connection_id":105997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:41:38] local.INFO: Extracted packet for processing {"connection_id":105997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:41:38] local.INFO: GPS Element Parsed {"raw_longitude":763430400,"raw_latitude":98262464,"longitude_deg":76.34304,"latitude_deg":9.8262464,"altitude":7,"angle":148,"satellites":43,"speed":44,"hex_longitude":"2d810600","hex_latitude":"05db5dc0","is_valid_coordinates":true} 
[2026-06-18 17:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136866816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93996686417854464,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9151736630125744128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:38] 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-06-18 17:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781784640000,"timestamp_ms":1781784640000,"timestamp_seconds":1781784640,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa3fa00"} 
[2026-06-18 17:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:41:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-18 17:41:38] 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-06-18 17:41:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":105997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":105997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":105997,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:41:38] 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-06-18 17:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136866816001,"66":13276,"155":206,"85":15104,"24":44,"16":93996686417854464,"45":-9151736630125744128},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-18 17:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136866816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:41:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 17:41:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93996686417854464,"km_value":93996686417854.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9151736630125744128,"description":"Unknown IO ID 45"} 
[2026-06-18 17:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136866816001,"power":13276,"unknown_155":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9151736630125744128}} 
[2026-06-18 17:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":105997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345439,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:41:38] local.INFO: GPS data processed {"connection_id":105997,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:41:38] local.INFO: Acknowledgment sent {"connection_id":105997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:41:38] local.INFO: TCP Data received {"connection_id":107751,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:41:38] local.INFO: Processing buffer {"connection_id":107751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:41:38] local.INFO: IMEI packet received {"connection_id":107751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":107751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:41:41] local.INFO: TCP Data received {"connection_id":107751,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:41:41] local.INFO: Processing buffer {"connection_id":107751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:41:41] local.INFO: Packet analysis {"connection_id":107751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:41:41] local.INFO: Extracted packet for processing {"connection_id":107751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:41:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:41:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":107751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:41:41] local.INFO: GPS data processed {"connection_id":107751,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:41:41] local.INFO: Acknowledgment sent {"connection_id":107751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:41:44] local.INFO: TCP Data received {"connection_id":106768,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:41:44] local.INFO: Processing buffer {"connection_id":106768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:41:44] local.INFO: IMEI packet received {"connection_id":106768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":106768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:41:49] local.INFO: TCP Data received {"connection_id":106768,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:41:49] local.INFO: Processing buffer {"connection_id":106768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:41:49] local.INFO: IMEI packet received {"connection_id":106768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":106768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:41:51] local.INFO: TCP Data received {"connection_id":106768,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa12758012d1821c00721b480004d015630..."} 
[2026-06-18 17:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa12758012d1821c00721b480004d015630..."} 
[2026-06-18 17:41:51] local.INFO: Processing buffer {"connection_id":106768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa12758012d1821c00721b480004d015630..."} 
[2026-06-18 17:41:51] local.INFO: Packet analysis {"connection_id":106768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa1"} 
[2026-06-18 17:41:51] local.INFO: Extracted packet for processing {"connection_id":106768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa1"} 
[2026-06-18 17:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136815104001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781784455000,"timestamp_ms":1781784455000,"timestamp_seconds":1781784455,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa12758"} 
[2026-06-18 17:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 17:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136815104001,"66":12678,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136815104001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:41:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:41:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136815104001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:41:52] local.INFO: DEBUG: GPS processor result {"connection_id":106768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:41:52] local.INFO: GPS data processed {"connection_id":106768,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:41:52] local.INFO: Acknowledgment sent {"connection_id":106768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:00] local.INFO: TCP Data received {"connection_id":106769,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:42:00] local.INFO: Processing buffer {"connection_id":106769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:42:00] local.INFO: IMEI packet received {"connection_id":106769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":106769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:42:03] local.INFO: TCP Data received {"connection_id":106767,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9be798012cccc88007462740001b014c2c..."} 
[2026-06-18 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9be798012cccc88007462740001b014c2c..."} 
[2026-06-18 17:42:03] local.INFO: Processing buffer {"connection_id":106767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9be798012cccc88007462740001b014c2c..."} 
[2026-06-18 17:42:03] local.INFO: Packet analysis {"connection_id":106767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:42:03] local.INFO: Extracted packet for processing {"connection_id":106767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9b"} 
[2026-06-18 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":751618176,"raw_latitude":122038080,"longitude_deg":75.1618176,"latitude_deg":12.203808,"altitude":27,"angle":332,"satellites":44,"speed":36,"hex_longitude":"2cccc880","hex_latitude":"07462740","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136730880001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318762959356559360,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3688096219855044608,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781784111000,"timestamp_ms":1781784111000,"timestamp_seconds":1781784111,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9be798"} 
[2026-06-18 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-06-18 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-06-18 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 17:42:03] 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-06-18 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-06-18 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-06-18 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136730880001,"66":27930,"127":206,"2":54016,"24":36,"16":318762959356559360,"44":-3688096219855044608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136730880001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:42:03] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318762959356559360,"km_value":318762959356559.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:42:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3688096219855044608,"description":"Unknown IO ID 44"} 
[2026-06-18 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136730880001,"power":27930,"unknown_127":206,"power_alt":54016,"ignition":36,"odometer":null,"unknown_44":-3688096219855044608}} 
[2026-06-18 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":106767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:42:03] local.INFO: GPS data processed {"connection_id":106767,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:42:03] local.INFO: Acknowledgment sent {"connection_id":106767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:04] local.INFO: TCP Data received {"connection_id":106769,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:42:04] local.INFO: Processing buffer {"connection_id":106769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:42:04] local.INFO: IMEI packet received {"connection_id":106769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":106769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:42:05] local.INFO: TCP Data received {"connection_id":106769,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa4e078012d816f4005da82680006007028..."} 
[2026-06-18 17:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa4e078012d816f4005da82680006007028..."} 
[2026-06-18 17:42:05] local.INFO: Processing buffer {"connection_id":106769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa4e078012d816f4005da82680006007028..."} 
[2026-06-18 17:42:05] local.INFO: Packet analysis {"connection_id":106769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa4"} 
[2026-06-18 17:42:05] local.INFO: Extracted packet for processing {"connection_id":106769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa4"} 
[2026-06-18 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763457344,"raw_latitude":98206312,"longitude_deg":76.3457344,"latitude_deg":9.8206312,"altitude":6,"angle":112,"satellites":40,"speed":26,"hex_longitude":"2d816f40","hex_latitude":"05da8268","is_valid_coordinates":true} 
[2026-06-18 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136882688001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93999753024503808,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120704013958678528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781784699000,"timestamp_ms":1781784699000,"timestamp_seconds":1781784699,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa4e078"} 
[2026-06-18 17:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-18 17:42:05] 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-06-18 17:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:42: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-06-18 17:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136882688001,"66":13200,"71":206,"85":15104,"24":26,"16":93999753024503808,"45":-9120704013958678528},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-18 17:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136882688001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:42:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93999753024503808,"km_value":93999753024503.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120704013958678528,"description":"Unknown IO ID 45"} 
[2026-06-18 17:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136882688001,"power":13200,"unknown_71":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":-9120704013958678528}} 
[2026-06-18 17:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":106769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345443,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:42:05] local.INFO: GPS data processed {"connection_id":106769,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:42:05] local.INFO: Acknowledgment sent {"connection_id":106769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:12] local.INFO: TCP Data received {"connection_id":107751,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:12] local.INFO: Processing buffer {"connection_id":107751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:12] local.INFO: Packet analysis {"connection_id":107751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:42:12] local.INFO: Extracted packet for processing {"connection_id":107751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:42:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:42:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":107751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:42:12] local.INFO: GPS data processed {"connection_id":107751,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:42:12] local.INFO: Acknowledgment sent {"connection_id":107751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:23] local.INFO: TCP Data received {"connection_id":106768,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa17960012d1821c00721b480004d015631..."} 
[2026-06-18 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa17960012d1821c00721b480004d015631..."} 
[2026-06-18 17:42:23] local.INFO: Processing buffer {"connection_id":106768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa17960012d1821c00721b480004d015631..."} 
[2026-06-18 17:42:23] local.INFO: Packet analysis {"connection_id":106768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa1"} 
[2026-06-18 17:42:23] local.INFO: Extracted packet for processing {"connection_id":106768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa1"} 
[2026-06-18 17:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":49,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136820480001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781784476000,"timestamp_ms":1781784476000,"timestamp_seconds":1781784476,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa17960"} 
[2026-06-18 17:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 17:42:23] 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-06-18 17: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-06-18 17:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136820480001,"66":12678,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136820480001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:42:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:42:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136820480001,"power":12678,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":106768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:42:23] local.INFO: GPS data processed {"connection_id":106768,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:42:23] local.INFO: Acknowledgment sent {"connection_id":106768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:33] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:33] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:33] local.INFO: IMEI packet received {"connection_id":106171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":106171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:42:36] local.INFO: TCP Data received {"connection_id":106769,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa4e460012d81720005da81e80006006427..."} 
[2026-06-18 17:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa4e460012d81720005da81e80006006427..."} 
[2026-06-18 17:42:36] local.INFO: Processing buffer {"connection_id":106769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa4e460012d81720005da81e80006006427..."} 
[2026-06-18 17:42:36] local.INFO: Packet analysis {"connection_id":106769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa4"} 
[2026-06-18 17:42:36] local.INFO: Extracted packet for processing {"connection_id":106769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa4"} 
[2026-06-18 17:42:36] local.INFO: GPS Element Parsed {"raw_longitude":763458048,"raw_latitude":98206184,"longitude_deg":76.3458048,"latitude_deg":9.8206184,"altitude":6,"angle":100,"satellites":39,"speed":30,"hex_longitude":"2d817200","hex_latitude":"05da81e8","is_valid_coordinates":true} 
[2026-06-18 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136882944001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":93999787384242176,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120000326516971520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781784700000,"timestamp_ms":1781784700000,"timestamp_seconds":1781784700,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa4e460"} 
[2026-06-18 17:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:42: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-06-18 17:42:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":144,"data_length":795,"current_offset":136} 
[2026-06-18 17:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1749,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:42:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:42:36] 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-06-18 17:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136882944001,"66":13200,"71":206,"85":15104,"24":30,"16":93999787384242176,"45":-9120000326516971520},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-18 17:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136882944001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:42:36] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:42:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":93999787384242176,"km_value":93999787384242.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120000326516971520,"description":"Unknown IO ID 45"} 
[2026-06-18 17:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136882944001,"power":13200,"unknown_71":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9120000326516971520}} 
[2026-06-18 17:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":106769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345446,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:42:36] local.INFO: GPS data processed {"connection_id":106769,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:42:36] local.INFO: Acknowledgment sent {"connection_id":106769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:38] local.INFO: TCP Data received {"connection_id":105998,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:42:38] local.INFO: Processing buffer {"connection_id":105998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:42:38] local.INFO: IMEI packet received {"connection_id":105998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":105998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:42:38] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:39] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:39] local.INFO: IMEI packet received {"connection_id":106171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":106171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:42:39] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:39] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:39] local.INFO: IMEI packet received {"connection_id":106171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":106171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:42:43] local.INFO: TCP Data received {"connection_id":105998,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:42:43] local.INFO: Processing buffer {"connection_id":105998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:42:43] local.INFO: IMEI packet received {"connection_id":105998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":105998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:42:44] local.INFO: TCP Data received {"connection_id":105998,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:44] local.INFO: Processing buffer {"connection_id":105998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:44] local.INFO: Packet analysis {"connection_id":105998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:42:44] local.INFO: Extracted packet for processing {"connection_id":105998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":105998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":105998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":105998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:42:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":105998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:42:44] local.INFO: GPS data processed {"connection_id":105998,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:42:44] local.INFO: Acknowledgment sent {"connection_id":105998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:46] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:46] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:42:46] local.INFO: IMEI packet received {"connection_id":106171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":106171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:42:46] local.INFO: TCP Data received {"connection_id":107752,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:46] local.INFO: Processing buffer {"connection_id":107752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:46] local.INFO: IMEI packet received {"connection_id":107752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:42:46] local.INFO: IMEI acknowledgment sent {"connection_id":107752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:42:48] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9c0ea8012cccb38007464658001c01422d..."} 
[2026-06-18 17:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9c0ea8012cccb38007464658001c01422d..."} 
[2026-06-18 17:42:48] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9c0ea8012cccb38007464658001c01422d..."} 
[2026-06-18 17:42:48] local.INFO: Packet analysis {"connection_id":106171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:42:48] local.INFO: Extracted packet for processing {"connection_id":106171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:42:48] local.INFO: GPS Element Parsed {"raw_longitude":751612800,"raw_latitude":122046040,"longitude_deg":75.16128,"latitude_deg":12.204604,"altitude":28,"angle":322,"satellites":45,"speed":36,"hex_longitude":"2cccb380","hex_latitude":"07464658","is_valid_coordinates":true} 
[2026-06-18 17:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136732416001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763427507994624,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3690559125900017664,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781784121000,"timestamp_ms":1781784121000,"timestamp_seconds":1781784121,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9c0ea8"} 
[2026-06-18 17:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:42:48] 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-06-18 17:42:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 17:42:48] 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-06-18 17:42:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136732416001,"66":27984,"127":206,"2":54016,"24":36,"16":318763427507994624,"44":-3690559125900017664},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136732416001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:42:48] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763427507994624,"km_value":318763427507994.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:42:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3690559125900017664,"description":"Unknown IO ID 44"} 
[2026-06-18 17:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136732416001,"power":27984,"unknown_127":206,"power_alt":54016,"ignition":36,"odometer":null,"unknown_44":-3690559125900017664}} 
[2026-06-18 17:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":106171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:42:48] local.INFO: GPS data processed {"connection_id":106171,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:42:48] local.INFO: Acknowledgment sent {"connection_id":106171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:49] local.INFO: TCP Data received {"connection_id":107752,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:49] local.INFO: Processing buffer {"connection_id":107752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:49] local.INFO: IMEI packet received {"connection_id":107752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":107752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:42:49] local.INFO: TCP Data received {"connection_id":105998,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:49] local.INFO: Processing buffer {"connection_id":105998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:42:49] local.INFO: Packet analysis {"connection_id":105998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:42:49] local.INFO: Extracted packet for processing {"connection_id":105998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:42:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":105998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":105998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":105998,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:42:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:42:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":105998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:42:49] local.INFO: GPS data processed {"connection_id":105998,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:42:49] local.INFO: Acknowledgment sent {"connection_id":105998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:42:54] local.INFO: TCP Data received {"connection_id":107752,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:54] local.INFO: Processing buffer {"connection_id":107752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:42:54] local.INFO: IMEI packet received {"connection_id":107752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":107752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:43:00] local.INFO: TCP Data received {"connection_id":106172,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:43:00] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:43:00] local.INFO: IMEI packet received {"connection_id":106172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:43:00] local.INFO: IMEI acknowledgment sent {"connection_id":106172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:43:01] local.INFO: TCP Data received {"connection_id":107752,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa1cb68012d1821c00721b480004d015631..."} 
[2026-06-18 17:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa1cb68012d1821c00721b480004d015631..."} 
[2026-06-18 17:43:01] local.INFO: Processing buffer {"connection_id":107752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa1cb68012d1821c00721b480004d015631..."} 
[2026-06-18 17:43:01] local.INFO: Packet analysis {"connection_id":107752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa1"} 
[2026-06-18 17:43:01] local.INFO: Extracted packet for processing {"connection_id":107752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa1"} 
[2026-06-18 17:43:01] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":49,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136825856001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781784497000,"timestamp_ms":1781784497000,"timestamp_seconds":1781784497,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa1cb68"} 
[2026-06-18 17:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:43:01] 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-06-18 17: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 17:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136825856001,"66":12385,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136825856001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:43:01] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:43:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136825856001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":107752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:43:01] local.INFO: GPS data processed {"connection_id":107752,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:43:01] local.INFO: Acknowledgment sent {"connection_id":107752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:43:05] local.INFO: TCP Data received {"connection_id":107752,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa21d70012d1821c00721b480004d015631..."} 
[2026-06-18 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa21d70012d1821c00721b480004d015631..."} 
[2026-06-18 17:43:05] local.INFO: Processing buffer {"connection_id":107752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa21d70012d1821c00721b480004d015631..."} 
[2026-06-18 17:43:05] local.INFO: Packet analysis {"connection_id":107752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa2"} 
[2026-06-18 17:43:05] local.INFO: Extracted packet for processing {"connection_id":107752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa2"} 
[2026-06-18 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":49,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136831232001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781784518000,"timestamp_ms":1781784518000,"timestamp_seconds":1781784518,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa21d70"} 
[2026-06-18 17:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136831232001,"66":12689,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136831232001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:43:05] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136831232001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":107752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:43:05] local.INFO: GPS data processed {"connection_id":107752,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:43:05] local.INFO: Acknowledgment sent {"connection_id":107752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:43:05] local.INFO: TCP Data received {"connection_id":106172,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:43:05] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:43:05] local.INFO: IMEI packet received {"connection_id":106172,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":106172,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:43:06] local.INFO: TCP Data received {"connection_id":106172,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa5bb38012d821dc005da8e100007007f2b..."} 
[2026-06-18 17:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa5bb38012d821dc005da8e100007007f2b..."} 
[2026-06-18 17:43:06] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa5bb38012d821dc005da8e100007007f2b..."} 
[2026-06-18 17:43:06] local.INFO: Packet analysis {"connection_id":106172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:43:06] local.INFO: Extracted packet for processing {"connection_id":106172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763502016,"raw_latitude":98209296,"longitude_deg":76.3502016,"latitude_deg":9.8209296,"altitude":7,"angle":127,"satellites":43,"speed":20,"hex_longitude":"2d821dc0","hex_latitude":"05da8e10","is_valid_coordinates":true} 
[2026-06-18 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136897024001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94001986407497728,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9071305155545198592,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784755000,"timestamp_ms":1781784755000,"timestamp_seconds":1781784755,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa5bb38"} 
[2026-06-18 17:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:43: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-06-18 17:43:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-18 17:43:06] 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-06-18 17:43:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:43:06] 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-06-18 17:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136897024001,"66":13319,"71":206,"85":15104,"24":20,"16":94001986407497728,"45":-9071305155545198592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-18 17:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136897024001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:43:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94001986407497728,"km_value":94001986407497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9071305155545198592,"description":"Unknown IO ID 45"} 
[2026-06-18 17:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136897024001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9071305155545198592}} 
[2026-06-18 17:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":106172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:43:06] local.INFO: GPS data processed {"connection_id":106172,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:43:06] local.INFO: Acknowledgment sent {"connection_id":106172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:43:29] local.INFO: TCP Data received {"connection_id":106770,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:43:29] local.INFO: Processing buffer {"connection_id":106770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:43:29] local.INFO: IMEI packet received {"connection_id":106770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":106770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:43:33] local.INFO: TCP Data received {"connection_id":105999,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:43:33] local.INFO: Processing buffer {"connection_id":105999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:43:33] local.INFO: IMEI packet received {"connection_id":105999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":105999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:43:37] local.INFO: TCP Data received {"connection_id":106172,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa5bf20012d821f4005da8c800007008b2b..."} 
[2026-06-18 17:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa5bf20012d821f4005da8c800007008b2b..."} 
[2026-06-18 17:43:37] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa5bf20012d821f4005da8c800007008b2b..."} 
[2026-06-18 17:43:37] local.INFO: Packet analysis {"connection_id":106172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:43:37] local.INFO: Extracted packet for processing {"connection_id":106172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763502400,"raw_latitude":98208896,"longitude_deg":76.35024,"latitude_deg":9.8208896,"altitude":7,"angle":139,"satellites":43,"speed":22,"hex_longitude":"2d821f40","hex_latitude":"05da8c80","is_valid_coordinates":true} 
[2026-06-18 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136897280001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94002016472268800,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070882943080198144,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] 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-06-18 17:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781784756000,"timestamp_ms":1781784756000,"timestamp_seconds":1781784756,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa5bf20"} 
[2026-06-18 17:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1056964608,"corrected_to":0} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668266456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182004741,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":218,"raw_value":8273112532664986368,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3489738113,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2231422375,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4122279936,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3665094656,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":220,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.WARNING: Large IO value detected {"io_id":165,"raw_value":4764809700719984645,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:37] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,71,85,24,241,157,16,246,158,183,45,64,143,6,43,10,66,179,128,175,1,240,198,227,218,4,113,205,32,120,234,80,42,239,51,2,77,5,26,220,165],"length":527,"final_offset":657,"validated_count":41,"validation_warnings":[{"io_id":246,"original":1056964608,"validated":0},{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-06-18 17:43:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504542980927127552,"timestamp_seconds":504542980927127.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106172,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:43:37] 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-06-18 17:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136897280001,"66":13319,"71":206,"85":15104,"24":22,"16":94002016472268800,"45":-9070882943080198144},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-18 17:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136897280001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:43:37] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94002016472268800,"km_value":94002016472268.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070882943080198144,"description":"Unknown IO ID 45"} 
[2026-06-18 17:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136897280001,"power":13319,"unknown_71":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9070882943080198144}} 
[2026-06-18 17:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":106172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:43:37] local.INFO: GPS data processed {"connection_id":106172,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:43:37] local.INFO: Acknowledgment sent {"connection_id":106172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:43:38] local.INFO: TCP Data received {"connection_id":105999,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:43:38] local.INFO: Processing buffer {"connection_id":105999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:43:38] local.INFO: IMEI packet received {"connection_id":105999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":105999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:43:40] local.INFO: TCP Data received {"connection_id":106770,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:43:40] local.INFO: Processing buffer {"connection_id":106770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:43:40] local.INFO: IMEI packet received {"connection_id":106770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":106770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:43:41] local.INFO: TCP Data received {"connection_id":105999,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:43:41] local.INFO: Processing buffer {"connection_id":105999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:43:41] local.INFO: Packet analysis {"connection_id":105999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:43:41] local.INFO: Extracted packet for processing {"connection_id":105999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":105999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":105999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":105999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:43:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":105999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:43:41] local.INFO: GPS data processed {"connection_id":105999,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:43:41] local.INFO: Acknowledgment sent {"connection_id":105999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:43:43] local.INFO: TCP Data received {"connection_id":107753,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:43] local.INFO: Processing buffer {"connection_id":107753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:43] local.INFO: IMEI packet received {"connection_id":107753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":107753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:43:44] local.INFO: TCP Data received {"connection_id":107753,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:44] local.INFO: Processing buffer {"connection_id":107753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:44] local.INFO: IMEI packet received {"connection_id":107753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":107753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:43:49] local.INFO: TCP Data received {"connection_id":106770,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019eda9c1a60012cccad4007464e58001d01402c..."} 
[2026-06-18 17:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019eda9c1a60012cccad4007464e58001d01402c..."} 
[2026-06-18 17:43:49] local.INFO: Processing buffer {"connection_id":106770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019eda9c1a60012cccad4007464e58001d01402c..."} 
[2026-06-18 17:43:49] local.INFO: Packet analysis {"connection_id":106770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:43:49] local.INFO: Extracted packet for processing {"connection_id":106770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019eda9c"} 
[2026-06-18 17:43:49] local.INFO: GPS Element Parsed {"raw_longitude":751611200,"raw_latitude":122048088,"longitude_deg":75.16112,"latitude_deg":12.2048088,"altitude":29,"angle":320,"satellites":44,"speed":32,"hex_longitude":"2cccad40","hex_latitude":"07464e58","is_valid_coordinates":true} 
[2026-06-18 17:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136734976001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3696470100408903680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781784124000,"timestamp_ms":1781784124000,"timestamp_seconds":1781784124,"priority":1,"record_length":96,"hex_timestamp":"0000019eda9c1a60"} 
[2026-06-18 17:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:43:49] 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-06-18 17:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-18 17:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136734976001,"66":28028,"127":206,"2":54016,"24":32,"16":318763552062046208,"44":-3696470100408903680},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,44]} 
[2026-06-18 17:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136734976001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:43:49] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 17:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:43:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3696470100408903680,"description":"Unknown IO ID 44"} 
[2026-06-18 17:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136734976001,"power":28028,"unknown_127":206,"power_alt":54016,"ignition":32,"odometer":null,"unknown_44":-3696470100408903680}} 
[2026-06-18 17:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":106770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:43:49] local.INFO: GPS data processed {"connection_id":106770,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:43:49] local.INFO: Acknowledgment sent {"connection_id":106770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:43:50] local.INFO: TCP Data received {"connection_id":107753,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:50] local.INFO: Processing buffer {"connection_id":107753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:43:50] local.INFO: IMEI packet received {"connection_id":107753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":107753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:43:50] local.INFO: TCP Data received {"connection_id":106770,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa0b9f8012ccc8c4007467770001e01382b..."} 
[2026-06-18 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa0b9f8012ccc8c4007467770001e01382b..."} 
[2026-06-18 17:43:50] local.INFO: Processing buffer {"connection_id":106770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa0b9f8012ccc8c4007467770001e01382b..."} 
[2026-06-18 17:43:50] local.INFO: Packet analysis {"connection_id":106770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:43:50] local.INFO: Extracted packet for processing {"connection_id":106770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa0"} 
[2026-06-18 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136735744001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3698229319012820992,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781784427000,"timestamp_ms":1781784427000,"timestamp_seconds":1781784427,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa0b9f8"} 
[2026-06-18 17:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 17:43:50] 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-06-18 17:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136735744001,"66":26267,"44":-3698229319012820992,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136735744001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:43:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3698229319012820992,"description":"Unknown IO ID 44"} 
[2026-06-18 17:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:43:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136735744001,"power":26267,"unknown_44":-3698229319012820992,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":106770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:43:50] local.INFO: GPS data processed {"connection_id":106770,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:43:50] local.INFO: Acknowledgment sent {"connection_id":106770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:43:53] local.INFO: TCP Data received {"connection_id":107753,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa5a3c8012d1821c00721b480004d015630..."} 
[2026-06-18 17:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa5a3c8012d1821c00721b480004d015630..."} 
[2026-06-18 17:43:53] local.INFO: Processing buffer {"connection_id":107753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa5a3c8012d1821c00721b480004d015630..."} 
[2026-06-18 17:43:53] local.INFO: Packet analysis {"connection_id":107753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:43:53] local.INFO: Extracted packet for processing {"connection_id":107753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:43:53] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:43:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136890368001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:43:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:43:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781784749000,"timestamp_ms":1781784749000,"timestamp_seconds":1781784749,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa5a3c8"} 
[2026-06-18 17:43:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:43:53] 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-06-18 17:43:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 17:43:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:43:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:43:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:43:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:43:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:43:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:43:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:43:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:43:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:43:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:43:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136890368001,"66":12558,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:43:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:43:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:43:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136890368001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:43:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:43:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:43:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:43:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:43:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136890368001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":107753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:43:54] local.INFO: GPS data processed {"connection_id":107753,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:43:54] local.INFO: Acknowledgment sent {"connection_id":107753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:00] local.INFO: TCP Data received {"connection_id":107754,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:00] local.INFO: Processing buffer {"connection_id":107754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:00] local.INFO: IMEI packet received {"connection_id":107754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":107754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:44:03] local.INFO: TCP Data received {"connection_id":107754,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:03] local.INFO: Processing buffer {"connection_id":107754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:03] local.INFO: IMEI packet received {"connection_id":107754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":107754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:44:05] local.INFO: TCP Data received {"connection_id":107754,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:05] local.INFO: Processing buffer {"connection_id":107754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:44:05] local.INFO: IMEI packet received {"connection_id":107754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":107754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:44:06] local.INFO: TCP Data received {"connection_id":107754,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa5c308012d82208005da8a98000700962b..."} 
[2026-06-18 17:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa5c308012d82208005da8a98000700962b..."} 
[2026-06-18 17:44:06] local.INFO: Processing buffer {"connection_id":107754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa5c308012d82208005da8a98000700962b..."} 
[2026-06-18 17:44:06] local.INFO: Packet analysis {"connection_id":107754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:44:06] local.INFO: Extracted packet for processing {"connection_id":107754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763502720,"raw_latitude":98208408,"longitude_deg":76.350272,"latitude_deg":9.8208408,"altitude":7,"angle":150,"satellites":43,"speed":24,"hex_longitude":"2d822080","hex_latitude":"05da8a98","is_valid_coordinates":true} 
[2026-06-18 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136897536001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94002042242072576,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9070460730615234560,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784757000,"timestamp_ms":1781784757000,"timestamp_seconds":1781784757,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa5c308"} 
[2026-06-18 17:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:44: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-06-18 17:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":1157627904,"corrected_to":0} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668277456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182643717,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":218,"raw_value":8423983120181111552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":159,"raw_value":3758173570,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3221609101,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3053505959,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4129423360,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3665907712,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57886293623723323,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.WARNING: Large IO value detected {"io_id":165,"raw_value":5609234630852460549,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:06] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,71,85,24,241,157,16,246,158,187,45,192,142,7,43,10,66,183,64,143,6,179,128,1,240,122,227,218,4,113,205,20,159,14,239,50,2,77,5,3,39,133,165],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":246,"original":1157627904,"validated":0},{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-06-18 17:44:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504556175066791936,"timestamp_seconds":504556175066791.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:44:06] 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-06-18 17:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136897536001,"66":13222,"71":206,"85":15104,"24":24,"16":94002042242072576,"45":-9070460730615234560},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,85,24,16,45]} 
[2026-06-18 17:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136897536001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 17:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94002042242072576,"km_value":94002042242072.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9070460730615234560,"description":"Unknown IO ID 45"} 
[2026-06-18 17:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136897536001,"power":13222,"unknown_71":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9070460730615234560}} 
[2026-06-18 17:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":107754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:06] local.INFO: GPS data processed {"connection_id":107754,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:06] local.INFO: Acknowledgment sent {"connection_id":107754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:12] local.INFO: TCP Data received {"connection_id":105999,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":105999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:12] local.INFO: Processing buffer {"connection_id":105999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:12] local.INFO: Packet analysis {"connection_id":105999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:44:12] local.INFO: Extracted packet for processing {"connection_id":105999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:44:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:44:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:44:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":105999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":105999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":105999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:44:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":105999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:13] local.INFO: GPS data processed {"connection_id":105999,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:13] local.INFO: Acknowledgment sent {"connection_id":105999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:25] local.INFO: TCP Data received {"connection_id":106173,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:44:25] local.INFO: Processing buffer {"connection_id":106173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:44:25] local.INFO: IMEI packet received {"connection_id":106173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:44:25] local.INFO: IMEI acknowledgment sent {"connection_id":106173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:44:25] local.INFO: TCP Data received {"connection_id":107753,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa5f5d0012d1821c00721b480004d015630..."} 
[2026-06-18 17:44:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa5f5d0012d1821c00721b480004d015630..."} 
[2026-06-18 17:44:25] local.INFO: Processing buffer {"connection_id":107753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa5f5d0012d1821c00721b480004d015630..."} 
[2026-06-18 17:44:25] local.INFO: Packet analysis {"connection_id":107753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:44:25] local.INFO: Extracted packet for processing {"connection_id":107753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:44:25] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649408,"longitude_deg":75.6556224,"latitude_deg":11.9649408,"altitude":77,"angle":342,"satellites":48,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b480","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136895744001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323132161032192,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:44:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781784770000,"timestamp_ms":1781784770000,"timestamp_seconds":1781784770,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa5f5d0"} 
[2026-06-18 17:44:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:44:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668162456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384239784899712,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2757470209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":9,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3462332416,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.WARNING: Large IO value detected {"io_id":70,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:25] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,206,81,45,192,180,77,48,10,66,255,173,1,240,47,218,33,4,113,205,9,128,49,239,2,11,7,231,70],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 17:44:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548810980055580672,"timestamp_seconds":5548810980055581.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:44:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:44:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:44:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:44:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:44:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:44:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:44:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136895744001,"66":12548,"120":206,"28":31744,"24":0,"16":3323132161032192,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:44:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:44:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:44:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136895744001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:44:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:44:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323132161032192,"km_value":3323132161032.192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:44:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136895744001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":107753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:26] local.INFO: GPS data processed {"connection_id":107753,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:26] local.INFO: Acknowledgment sent {"connection_id":107753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:29] local.INFO: TCP Data received {"connection_id":106173,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:44:29] local.INFO: Processing buffer {"connection_id":106173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:44:29] local.INFO: IMEI packet received {"connection_id":106173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":106173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:44:30] local.INFO: TCP Data received {"connection_id":106173,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:44:30] local.INFO: Processing buffer {"connection_id":106173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:44:30] local.INFO: Packet analysis {"connection_id":106173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:44:30] local.INFO: Extracted packet for processing {"connection_id":106173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136813312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781784728000,"timestamp_ms":1781784728000,"timestamp_seconds":1781784728,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa551c0"} 
[2026-06-18 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-06-18 17:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 17:44:30] 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-06-18 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-06-18 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-06-18 17:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136813312001,"66":26060,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136813312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136813312001,"power":26060,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":106173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:30] local.INFO: GPS data processed {"connection_id":106173,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:30] local.INFO: Acknowledgment sent {"connection_id":106173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:33] local.INFO: TCP Data received {"connection_id":106000,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:44:33] local.INFO: Processing buffer {"connection_id":106000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:44:33] local.INFO: IMEI packet received {"connection_id":106000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":106000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:44:34] local.INFO: TCP Data received {"connection_id":106173,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:44:34] local.INFO: Processing buffer {"connection_id":106173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:44:34] local.INFO: Packet analysis {"connection_id":106173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:44:34] local.INFO: Extracted packet for processing {"connection_id":106173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:44:34] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136813312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781784728000,"timestamp_ms":1781784728000,"timestamp_seconds":1781784728,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa551c0"} 
[2026-06-18 17:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 17:44: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-06-18 17:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136813312001,"66":26060,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136813312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136813312001,"power":26060,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":106173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:34] local.INFO: GPS data processed {"connection_id":106173,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:34] local.INFO: Acknowledgment sent {"connection_id":106173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:37] local.INFO: TCP Data received {"connection_id":107754,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa749a8012d826f4005d942400007009d2b..."} 
[2026-06-18 17:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa749a8012d826f4005d942400007009d2b..."} 
[2026-06-18 17:44:37] local.INFO: Processing buffer {"connection_id":107754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa749a8012d826f4005d942400007009d2b..."} 
[2026-06-18 17:44:37] local.INFO: Packet analysis {"connection_id":107754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:44:37] local.INFO: Extracted packet for processing {"connection_id":107754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763522880,"raw_latitude":98124352,"longitude_deg":76.352288,"latitude_deg":9.8124352,"altitude":7,"angle":157,"satellites":43,"speed":49,"hex_longitude":"2d826f40","hex_latitude":"05d94240","is_valid_coordinates":true} 
[2026-06-18 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136921344001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94006242720088064,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9051531538450728960,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:37] 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-06-18 17:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781784857000,"timestamp_ms":1781784857000,"timestamp_seconds":1781784857,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa749a8"} 
[2026-06-18 17:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-18 17:44:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:44:37] 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-06-18 17:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136921344001,"66":13450,"69":206,"85":15104,"24":49,"16":94006242720088064,"45":-9051531538450728960},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-06-18 17:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136921344001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:37] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 17:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94006242720088064,"km_value":94006242720088.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9051531538450728960,"description":"Unknown IO ID 45"} 
[2026-06-18 17:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136921344001,"power":13450,"unknown_69":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":-9051531538450728960}} 
[2026-06-18 17:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":107754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:37] local.INFO: GPS data processed {"connection_id":107754,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:37] local.INFO: Acknowledgment sent {"connection_id":107754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:38] local.INFO: TCP Data received {"connection_id":106000,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:44:38] local.INFO: Processing buffer {"connection_id":106000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:44:38] local.INFO: IMEI packet received {"connection_id":106000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":106000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:44:39] local.INFO: TCP Data received {"connection_id":106000,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:39] local.INFO: Processing buffer {"connection_id":106000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:39] local.INFO: Packet analysis {"connection_id":106000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:44:39] local.INFO: Extracted packet for processing {"connection_id":106000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:44:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":106000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:39] local.INFO: GPS data processed {"connection_id":106000,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:39] local.INFO: Acknowledgment sent {"connection_id":106000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:43] local.INFO: TCP Data received {"connection_id":106000,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:43] local.INFO: Processing buffer {"connection_id":106000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:44:43] local.INFO: Packet analysis {"connection_id":106000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:44:43] local.INFO: Extracted packet for processing {"connection_id":106000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:44:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:44:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:44:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:44:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:44:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":106000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:43] local.INFO: GPS data processed {"connection_id":106000,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:43] local.INFO: Acknowledgment sent {"connection_id":106000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:44] local.INFO: TCP Data received {"connection_id":107755,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:44:44] local.INFO: Processing buffer {"connection_id":107755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:44:44] local.INFO: IMEI packet received {"connection_id":107755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":107755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:44:49] local.INFO: TCP Data received {"connection_id":107755,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:44:49] local.INFO: Processing buffer {"connection_id":107755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:44:49] local.INFO: IMEI packet received {"connection_id":107755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":107755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:44:51] local.INFO: TCP Data received {"connection_id":107755,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa63068012d1820c00721b488004e00d331..."} 
[2026-06-18 17:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa63068012d1820c00721b488004e00d331..."} 
[2026-06-18 17:44:51] local.INFO: Processing buffer {"connection_id":107755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa63068012d1820c00721b488004e00d331..."} 
[2026-06-18 17:44:51] local.INFO: Packet analysis {"connection_id":107755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa6"} 
[2026-06-18 17:44:51] local.INFO: Extracted packet for processing {"connection_id":107755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa6"} 
[2026-06-18 17:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119649416,"longitude_deg":75.6555968,"latitude_deg":11.9649416,"altitude":78,"angle":211,"satellites":49,"speed":1,"hex_longitude":"2d1820c0","hex_latitude":"0721b488","is_valid_coordinates":true} 
[2026-06-18 17:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136901120001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323145045934080,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004503552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781784785000,"timestamp_ms":1781784785000,"timestamp_seconds":1781784785,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa63068"} 
[2026-06-18 17:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668183456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2762846209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":91,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3462332416,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:44:51] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,120,28,24,241,158,16,206,163,45,192,180,77,48,10,66,81,255,1,240,238,218,33,4,113,205,91,128,49,239,2,11,7,231],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 17:44:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548810980055580672,"timestamp_seconds":5548810980055581.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136901120001,"66":12504,"120":206,"28":31744,"24":1,"16":3323145045934080,"45":1738882068004503552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136901120001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:44:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:44:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323145045934080,"km_value":3323145045934.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004503552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136901120001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738882068004503552}} 
[2026-06-18 17:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":107755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:44:51] local.INFO: GPS data processed {"connection_id":107755,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:44:51] local.INFO: Acknowledgment sent {"connection_id":107755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:44:59] local.INFO: TCP Data received {"connection_id":106174,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:00] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:00] local.INFO: IMEI packet received {"connection_id":106174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":106174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:45:04] local.INFO: TCP Data received {"connection_id":106174,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:04] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:04] local.INFO: IMEI packet received {"connection_id":106174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":106174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:45:05] local.INFO: TCP Data received {"connection_id":106174,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:05] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:45:05] local.INFO: IMEI packet received {"connection_id":106174,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":106174,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:45:05] local.INFO: TCP Data received {"connection_id":106174,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa768e8012d827d0005d91dd0000700a12b..."} 
[2026-06-18 17:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa768e8012d827d0005d91dd0000700a12b..."} 
[2026-06-18 17:45:05] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa768e8012d827d0005d91dd0000700a12b..."} 
[2026-06-18 17:45:05] local.INFO: Packet analysis {"connection_id":106174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:45:05] local.INFO: Extracted packet for processing {"connection_id":106174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763526400,"raw_latitude":98115024,"longitude_deg":76.35264,"latitude_deg":9.8115024,"altitude":7,"angle":161,"satellites":43,"speed":47,"hex_longitude":"2d827d00","hex_latitude":"05d91dd0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136923392001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94006728051392512,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9047942732500025344,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:05] 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-06-18 17:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781784865000,"timestamp_ms":1781784865000,"timestamp_seconds":1781784865,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa768e8"} 
[2026-06-18 17:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:05] 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-06-18 17: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-06-18 17:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:45: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-06-18 17:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136923392001,"66":13059,"69":206,"85":15104,"24":47,"16":94006728051392512,"45":-9047942732500025344},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-06-18 17:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136923392001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:05] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 17:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94006728051392512,"km_value":94006728051392.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9047942732500025344,"description":"Unknown IO ID 45"} 
[2026-06-18 17:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136923392001,"power":13059,"unknown_69":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9047942732500025344}} 
[2026-06-18 17:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":106174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:05] local.INFO: GPS data processed {"connection_id":106174,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:05] local.INFO: Acknowledgment sent {"connection_id":106174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:45:06] local.INFO: TCP Data received {"connection_id":106173,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:45:06] local.INFO: Processing buffer {"connection_id":106173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:45:06] local.INFO: Packet analysis {"connection_id":106173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:45:06] local.INFO: Extracted packet for processing {"connection_id":106173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136813312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784728000,"timestamp_ms":1781784728000,"timestamp_seconds":1781784728,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa551c0"} 
[2026-06-18 17:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136813312001,"66":26060,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136813312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136813312001,"power":26060,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":106173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:06] local.INFO: GPS data processed {"connection_id":106173,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:06] local.INFO: Acknowledgment sent {"connection_id":106173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:45:09] local.INFO: TCP Data received {"connection_id":106174,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa77c70012d82820005d907f0000800ad2b..."} 
[2026-06-18 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa77c70012d82820005d907f0000800ad2b..."} 
[2026-06-18 17:45:09] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa77c70012d82820005d907f0000800ad2b..."} 
[2026-06-18 17:45:09] local.INFO: Packet analysis {"connection_id":106174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:45:09] local.INFO: Extracted packet for processing {"connection_id":106174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":763527680,"raw_latitude":98109424,"longitude_deg":76.352768,"latitude_deg":9.8109424,"altitude":8,"angle":173,"satellites":43,"speed":45,"hex_longitude":"2d828200","hex_latitude":"05d907f0","is_valid_coordinates":true} 
[2026-06-18 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136925440001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94007007224266752,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9044072451572641792,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] 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-06-18 17:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781784870000,"timestamp_ms":1781784870000,"timestamp_seconds":1781784870,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa77c70"} 
[2026-06-18 17:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:45:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166099869095,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668348456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2186477573,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2800222209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":217,"raw_value":2869952518,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806448334,"corrected_to":0} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2147560834,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2147867088,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":3607154087,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":71,"raw_value":58077557095399436,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4169531392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3654506496,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:09] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,69,85,24,241,157,16,250,158,73,45,64,66,7,43,10,42,128,102,8,44,249,11,1,240,187,227,218,217,4,113,205,35,169,74,40,239,50,71,2,77,5,6,12],"length":486,"final_offset":616,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2806448334,"validated":0}]} 
[2026-06-18 17:45:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504580364324241408,"timestamp_seconds":504580364324241.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136925440001,"66":13222,"69":206,"85":15104,"24":45,"16":94007007224266752,"45":-9044072451572641792},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-06-18 17:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136925440001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:09] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 17:45:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94007007224266752,"km_value":94007007224266.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9044072451572641792,"description":"Unknown IO ID 45"} 
[2026-06-18 17:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136925440001,"power":13222,"unknown_69":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9044072451572641792}} 
[2026-06-18 17:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":106174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:09] local.INFO: GPS data processed {"connection_id":106174,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:09] local.INFO: Acknowledgment sent {"connection_id":106174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:45:15] local.INFO: TCP Data received {"connection_id":106000,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:45:15] local.INFO: Processing buffer {"connection_id":106000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa336b0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:45:15] local.INFO: Packet analysis {"connection_id":106000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:45:15] local.INFO: Extracted packet for processing {"connection_id":106000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa3"} 
[2026-06-18 17:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136777984001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781784590000,"timestamp_ms":1781784590000,"timestamp_seconds":1781784590,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa336b0"} 
[2026-06-18 17:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2349,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136777984001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136777984001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:45:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136777984001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":106000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345470,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:15] local.INFO: GPS data processed {"connection_id":106000,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:15] local.INFO: Acknowledgment sent {"connection_id":106000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:45:22] local.INFO: TCP Data received {"connection_id":107755,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa65390012d181fc00721b288004e00e330..."} 
[2026-06-18 17:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa65390012d181fc00721b288004e00e330..."} 
[2026-06-18 17:45:22] local.INFO: Processing buffer {"connection_id":107755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa65390012d181fc00721b288004e00e330..."} 
[2026-06-18 17:45:22] local.INFO: Packet analysis {"connection_id":107755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa6"} 
[2026-06-18 17:45:22] local.INFO: Extracted packet for processing {"connection_id":107755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa6"} 
[2026-06-18 17:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648904,"longitude_deg":75.6555712,"latitude_deg":11.9648904,"altitude":78,"angle":227,"satellites":48,"speed":2,"hex_longitude":"2d181fc0","hex_latitude":"0721b288","is_valid_coordinates":true} 
[2026-06-18 17:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136904960001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323175110705152,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027794944,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781784794000,"timestamp_ms":1781784794000,"timestamp_seconds":1781784794,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa65390"} 
[2026-06-18 17:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:22] 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-06-18 17:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136904960001,"66":12385,"120":206,"28":31744,"24":2,"16":3323175110705152,"45":1738600593027794944},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136904960001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:45:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323175110705152,"km_value":3323175110705.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027794944,"description":"Unknown IO ID 45"} 
[2026-06-18 17:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136904960001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1738600593027794944}} 
[2026-06-18 17:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":107755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:22] local.INFO: GPS data processed {"connection_id":107755,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:22] local.INFO: Acknowledgment sent {"connection_id":107755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:45:25] local.INFO: TCP Data received {"connection_id":106001,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:45:25] local.INFO: Processing buffer {"connection_id":106001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:45:25] local.INFO: IMEI packet received {"connection_id":106001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":106001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:45:30] local.INFO: TCP Data received {"connection_id":106001,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:45:30] local.INFO: Processing buffer {"connection_id":106001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:45:30] local.INFO: IMEI packet received {"connection_id":106001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":106001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:45:31] local.INFO: TCP Data received {"connection_id":106001,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:45:31] local.INFO: Processing buffer {"connection_id":106001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:45:31] local.INFO: Packet analysis {"connection_id":106001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:45:31] local.INFO: Extracted packet for processing {"connection_id":106001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:45:31] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136813312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781784728000,"timestamp_ms":1781784728000,"timestamp_seconds":1781784728,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa551c0"} 
[2026-06-18 17:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:31] 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-06-18 17:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136813312001,"66":26060,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136813312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136813312001,"power":26060,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":106001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:31] local.INFO: GPS data processed {"connection_id":106001,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:31] local.INFO: Acknowledgment sent {"connection_id":106001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:45:33] local.INFO: TCP Data received {"connection_id":106771,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:45:33] local.INFO: Processing buffer {"connection_id":106771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:45:33] local.INFO: IMEI packet received {"connection_id":106771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":106771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:45:38] local.INFO: TCP Data received {"connection_id":106771,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106771,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:45:38] local.INFO: Processing buffer {"connection_id":106771,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:45:38] local.INFO: IMEI packet received {"connection_id":106771,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":106771,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:45:40] local.INFO: TCP Data received {"connection_id":106174,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa79bb0012d82848005d8e4f0000700ae2b..."} 
[2026-06-18 17:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa79bb0012d82848005d8e4f0000700ae2b..."} 
[2026-06-18 17:45:40] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa79bb0012d82848005d8e4f0000700ae2b..."} 
[2026-06-18 17:45:40] local.INFO: Packet analysis {"connection_id":106174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:45:40] local.INFO: Extracted packet for processing {"connection_id":106174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":763528320,"raw_latitude":98100464,"longitude_deg":76.352832,"latitude_deg":9.8100464,"altitude":7,"angle":174,"satellites":43,"speed":37,"hex_longitude":"2d828480","hex_latitude":"05d8e4f0","is_valid_coordinates":true} 
[2026-06-18 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136926720001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94007441015963648,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9042665076690522112,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:40] 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-06-18 17:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781784878000,"timestamp_ms":1781784878000,"timestamp_seconds":1781784878,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa79bb0"} 
[2026-06-18 17:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106174,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136926720001,"66":12939,"69":206,"85":15104,"24":37,"16":94007441015963648,"45":-9042665076690522112},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,85,24,16,45]} 
[2026-06-18 17:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136926720001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:40] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 17:45:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94007441015963648,"km_value":94007441015963.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9042665076690522112,"description":"Unknown IO ID 45"} 
[2026-06-18 17:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136926720001,"power":12939,"unknown_69":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9042665076690522112}} 
[2026-06-18 17:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":106174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345473,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:40] local.INFO: GPS data processed {"connection_id":106174,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:40] local.INFO: Acknowledgment sent {"connection_id":106174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:45:42] local.INFO: TCP Data received {"connection_id":106771,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:45:42] local.INFO: Processing buffer {"connection_id":106771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:45:42] local.INFO: Packet analysis {"connection_id":106771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:45:42] local.INFO: Extracted packet for processing {"connection_id":106771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:45:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:42] 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-06-18 17:45:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:45:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":106771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:42] local.INFO: GPS data processed {"connection_id":106771,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:42] local.INFO: Acknowledgment sent {"connection_id":106771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:45:44] local.INFO: TCP Data received {"connection_id":106175,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:45:44] local.INFO: Processing buffer {"connection_id":106175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:45:44] local.INFO: IMEI packet received {"connection_id":106175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":106175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:45:49] local.INFO: TCP Data received {"connection_id":106175,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:45:49] local.INFO: Processing buffer {"connection_id":106175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:45:49] local.INFO: IMEI packet received {"connection_id":106175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":106175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:45:51] local.INFO: TCP Data received {"connection_id":106175,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa6a598012d181ec00721b198004e00e131..."} 
[2026-06-18 17:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa6a598012d181ec00721b198004e00e131..."} 
[2026-06-18 17:45:51] local.INFO: Processing buffer {"connection_id":106175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa6a598012d181ec00721b198004e00e131..."} 
[2026-06-18 17:45:51] local.INFO: Packet analysis {"connection_id":106175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa6"} 
[2026-06-18 17:45:51] local.INFO: Extracted packet for processing {"connection_id":106175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa6"} 
[2026-06-18 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648664,"longitude_deg":75.6555456,"latitude_deg":11.9648664,"altitude":78,"angle":225,"satellites":49,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-06-18 17:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136907264001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323196585541632,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050953216,"note":"Value kept but may cause issues"} 
[2026-06-18 17:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781784815000,"timestamp_ms":1781784815000,"timestamp_seconds":1781784815,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa6a598"} 
[2026-06-18 17:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 17:45:51] 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-06-18 17:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136907264001,"66":12548,"120":206,"28":31744,"24":0,"16":3323196585541632,"45":1738319118050953216},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136907264001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:45:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:45:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323196585541632,"km_value":3323196585541.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050953216,"description":"Unknown IO ID 45"} 
[2026-06-18 17:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136907264001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738319118050953216}} 
[2026-06-18 17:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":106175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:45:51] local.INFO: GPS data processed {"connection_id":106175,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:45:51] local.INFO: Acknowledgment sent {"connection_id":106175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:02] local.INFO: TCP Data received {"connection_id":106772,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:02] local.INFO: Processing buffer {"connection_id":106772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:02] local.INFO: IMEI packet received {"connection_id":106772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":106772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:46:03] local.INFO: TCP Data received {"connection_id":106001,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:46:03] local.INFO: Processing buffer {"connection_id":106001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:46:03] local.INFO: Packet analysis {"connection_id":106001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:46:03] local.INFO: Extracted packet for processing {"connection_id":106001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136813312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781784728000,"timestamp_ms":1781784728000,"timestamp_seconds":1781784728,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa551c0"} 
[2026-06-18 17:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:46:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:03] 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-06-18 17:46:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136813312001,"66":26060,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136813312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136813312001,"power":26060,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":106001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:03] local.INFO: GPS data processed {"connection_id":106001,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:03] local.INFO: Acknowledgment sent {"connection_id":106001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:05] local.INFO: TCP Data received {"connection_id":106772,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:05] local.INFO: Processing buffer {"connection_id":106772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:05] local.INFO: IMEI packet received {"connection_id":106772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":106772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:46:06] local.INFO: TCP Data received {"connection_id":106772,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106772,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:06] local.INFO: Processing buffer {"connection_id":106772,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:46:06] local.INFO: IMEI packet received {"connection_id":106772,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":106772,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:46:06] local.INFO: TCP Data received {"connection_id":106772,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ca90012d82868005d8c0c8000700b22a..."} 
[2026-06-18 17:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ca90012d82868005d8c0c8000700b22a..."} 
[2026-06-18 17:46:06] local.INFO: Processing buffer {"connection_id":106772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ca90012d82868005d8c0c8000700b22a..."} 
[2026-06-18 17:46:06] local.INFO: Packet analysis {"connection_id":106772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:06] local.INFO: Extracted packet for processing {"connection_id":106772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763528832,"raw_latitude":98091208,"longitude_deg":76.3528832,"latitude_deg":9.8091208,"altitude":7,"angle":178,"satellites":42,"speed":29,"hex_longitude":"2d828680","hex_latitude":"05d8c0c8","is_valid_coordinates":true} 
[2026-06-18 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136928768001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94007891987529728,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041961389251039232,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:06] 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-06-18 17:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784890000,"timestamp_ms":1781784890000,"timestamp_seconds":1781784890,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ca90"} 
[2026-06-18 17:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46: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-06-18 17:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 17:46: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-06-18 17:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:46:06] 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-06-18 17:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136928768001,"66":13319,"49":206,"85":15104,"24":29,"16":94007891987529728,"45":-9041961389251039232},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-18 17:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136928768001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-18 17:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94007891987529728,"km_value":94007891987529.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041961389251039232,"description":"Unknown IO ID 45"} 
[2026-06-18 17:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136928768001,"power":13319,"unknown_49":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9041961389251039232}} 
[2026-06-18 17:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":106772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:06] local.INFO: GPS data processed {"connection_id":106772,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:06] local.INFO: Acknowledgment sent {"connection_id":106772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:08] local.INFO: TCP Data received {"connection_id":106772,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7f970012d8286c005d89e10000800af2a..."} 
[2026-06-18 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7f970012d8286c005d89e10000800af2a..."} 
[2026-06-18 17:46:08] local.INFO: Processing buffer {"connection_id":106772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7f970012d8286c005d89e10000800af2a..."} 
[2026-06-18 17:46:08] local.INFO: Packet analysis {"connection_id":106772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:08] local.INFO: Extracted packet for processing {"connection_id":106772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763528896,"raw_latitude":98082320,"longitude_deg":76.3528896,"latitude_deg":9.808232,"altitude":8,"angle":175,"satellites":42,"speed":33,"hex_longitude":"2d8286c0","hex_latitude":"05d89e10","is_valid_coordinates":true} 
[2026-06-18 17:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136931840001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94008321484259328,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041398439299987456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] 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-06-18 17:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781784902000,"timestamp_ms":1781784902000,"timestamp_seconds":1781784902,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7f970"} 
[2026-06-18 17:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668380456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2188328965,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2806622209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-6120391867815613952,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":98,"raw_value":2147866982,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4190109696,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3649583104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":187,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.WARNING: Large IO value detected {"io_id":166,"raw_value":-1729380961938636795,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:08] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,49,85,24,241,157,16,251,158,155,45,128,228,7,43,10,66,69,124,8,250,104,1,240,3,227,218,217,4,113,205,42,98,56,44,239,52,2,77,5,6,187,166],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-06-18 17:46:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504599051725766656,"timestamp_seconds":504599051725766.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136931840001,"66":13222,"49":206,"85":15104,"24":33,"16":94008321484259328,"45":-9041398439299987456},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-18 17:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136931840001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:08] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-18 17:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94008321484259328,"km_value":94008321484259.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041398439299987456,"description":"Unknown IO ID 45"} 
[2026-06-18 17:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136931840001,"power":13222,"unknown_49":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9041398439299987456}} 
[2026-06-18 17:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":106772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345478,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:08] local.INFO: GPS data processed {"connection_id":106772,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:08] local.INFO: Acknowledgment sent {"connection_id":106772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:16] local.INFO: TCP Data received {"connection_id":106771,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:16] local.INFO: Processing buffer {"connection_id":106771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:16] local.INFO: Packet analysis {"connection_id":106771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:16] local.INFO: Extracted packet for processing {"connection_id":106771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:46: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-06-18 17:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:46: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:16] 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-06-18 17:46: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-06-18 17:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106771,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:46:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":106771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345479,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:16] local.INFO: GPS data processed {"connection_id":106771,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:16] local.INFO: Acknowledgment sent {"connection_id":106771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:23] local.INFO: TCP Data received {"connection_id":106175,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa6f7a0012d181ec00721b198004e00e131..."} 
[2026-06-18 17:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa6f7a0012d181ec00721b198004e00e131..."} 
[2026-06-18 17:46:23] local.INFO: Processing buffer {"connection_id":106175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa6f7a0012d181ec00721b198004e00e131..."} 
[2026-06-18 17:46:23] local.INFO: Packet analysis {"connection_id":106175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa6"} 
[2026-06-18 17:46:23] local.INFO: Extracted packet for processing {"connection_id":106175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa6"} 
[2026-06-18 17:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648664,"longitude_deg":75.6555456,"latitude_deg":11.9648664,"altitude":78,"angle":225,"satellites":49,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-06-18 17:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136912640001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323196585541632,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074181120,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781784836000,"timestamp_ms":1781784836000,"timestamp_seconds":1781784836,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa6f7a0"} 
[2026-06-18 17:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668246456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184195588301,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2778974209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":81,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3640708583,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3462332416,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:23] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,206,83,45,192,178,78,48,10,66,180,49,245,1,240,4,218,33,113,205,81,128,239,46,2,11,7,77,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 17:46:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620739935528026112,"timestamp_seconds":5620739935528026.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136912640001,"66":12548,"120":206,"28":31744,"24":0,"16":3323196585541632,"45":1738037643074181120},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136912640001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:46:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323196585541632,"km_value":3323196585541.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074181120,"description":"Unknown IO ID 45"} 
[2026-06-18 17:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136912640001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074181120}} 
[2026-06-18 17:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":106175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:23] local.INFO: GPS data processed {"connection_id":106175,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:23] local.INFO: Acknowledgment sent {"connection_id":106175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:24] local.INFO: TCP Data received {"connection_id":106773,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:46:24] local.INFO: Processing buffer {"connection_id":106773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:46:24] local.INFO: IMEI packet received {"connection_id":106773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":106773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:46:29] local.INFO: TCP Data received {"connection_id":106773,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:46:29] local.INFO: Processing buffer {"connection_id":106773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:46:29] local.INFO: IMEI packet received {"connection_id":106773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":106773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:46:31] local.INFO: TCP Data received {"connection_id":106773,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:46:31] local.INFO: Processing buffer {"connection_id":106773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:46:31] local.INFO: Packet analysis {"connection_id":106773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:46:31] local.INFO: Extracted packet for processing {"connection_id":106773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:46:31] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136813312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781784728000,"timestamp_ms":1781784728000,"timestamp_seconds":1781784728,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa551c0"} 
[2026-06-18 17:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:31] 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-06-18 17:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136813312001,"66":26060,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136813312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136813312001,"power":26060,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":106773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:31] local.INFO: GPS data processed {"connection_id":106773,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:31] local.INFO: Acknowledgment sent {"connection_id":106773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:38] local.INFO: TCP Data received {"connection_id":106774,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:46:38] local.INFO: Processing buffer {"connection_id":106774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:46:38] local.INFO: IMEI packet received {"connection_id":106774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":106774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:46:39] local.INFO: TCP Data received {"connection_id":106772,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa80cf8012d82894005d88c68000700a42a..."} 
[2026-06-18 17:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa80cf8012d82894005d88c68000700a42a..."} 
[2026-06-18 17:46:39] local.INFO: Processing buffer {"connection_id":106772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa80cf8012d82894005d88c68000700a42a..."} 
[2026-06-18 17:46:39] local.INFO: Packet analysis {"connection_id":106772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:46:39] local.INFO: Extracted packet for processing {"connection_id":106772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":763529536,"raw_latitude":98077800,"longitude_deg":76.3529536,"latitude_deg":9.80778,"altitude":7,"angle":164,"satellites":42,"speed":41,"hex_longitude":"2d828940","hex_latitude":"05d88c68","is_valid_coordinates":true} 
[2026-06-18 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136934912001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94008544822558720,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9041328070558085120,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:39] 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-06-18 17:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781784907000,"timestamp_ms":1781784907000,"timestamp_seconds":1781784907,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa80cf8"} 
[2026-06-18 17:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106772,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136934912001,"66":13319,"49":206,"85":15104,"24":41,"16":94008544822558720,"45":-9041328070558085120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-18 17:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136934912001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:39] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-18 17:46:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94008544822558720,"km_value":94008544822558.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9041328070558085120,"description":"Unknown IO ID 45"} 
[2026-06-18 17:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136934912001,"power":13319,"unknown_49":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9041328070558085120}} 
[2026-06-18 17:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":106772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345482,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:39] local.INFO: GPS data processed {"connection_id":106772,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:39] local.INFO: Acknowledgment sent {"connection_id":106772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:44] local.INFO: TCP Data received {"connection_id":106774,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:46:44] local.INFO: Processing buffer {"connection_id":106774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:46:44] local.INFO: IMEI packet received {"connection_id":106774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":106774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:46:49] local.INFO: TCP Data received {"connection_id":106176,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:46:49] local.INFO: Processing buffer {"connection_id":106176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:46:49] local.INFO: IMEI packet received {"connection_id":106176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":106176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:46:53] local.INFO: TCP Data received {"connection_id":106774,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:53] local.INFO: Processing buffer {"connection_id":106774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:53] local.INFO: Packet analysis {"connection_id":106774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:53] local.INFO: Extracted packet for processing {"connection_id":106774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:53] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:46:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":106774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:53] local.INFO: GPS data processed {"connection_id":106774,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:53] local.INFO: Acknowledgment sent {"connection_id":106774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:54] local.INFO: TCP Data received {"connection_id":106176,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:46:54] local.INFO: Processing buffer {"connection_id":106176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:46:54] local.INFO: IMEI packet received {"connection_id":106176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":106176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:46:54] local.INFO: TCP Data received {"connection_id":106774,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:54] local.INFO: Processing buffer {"connection_id":106774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:46:54] local.INFO: Packet analysis {"connection_id":106774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:54] local.INFO: Extracted packet for processing {"connection_id":106774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:54] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:54] 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-06-18 17:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:46:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":106774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:55] local.INFO: GPS data processed {"connection_id":106774,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:55] local.INFO: Acknowledgment sent {"connection_id":106774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:46:56] local.INFO: TCP Data received {"connection_id":106176,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa749a8012d181ec00721b198004e00e131..."} 
[2026-06-18 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa749a8012d181ec00721b198004e00e131..."} 
[2026-06-18 17:46:56] local.INFO: Processing buffer {"connection_id":106176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa749a8012d181ec00721b198004e00e131..."} 
[2026-06-18 17:46:56] local.INFO: Packet analysis {"connection_id":106176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:56] local.INFO: Extracted packet for processing {"connection_id":106176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:46:56] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648664,"longitude_deg":75.6555456,"latitude_deg":11.9648664,"altitude":78,"angle":225,"satellites":49,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-06-18 17:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136918016001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323196585541632,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074181120,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781784857000,"timestamp_ms":1781784857000,"timestamp_seconds":1781784857,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa749a8"} 
[2026-06-18 17:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:46:56] 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-06-18 17:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668267456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184160657613,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2784350209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692852,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":163,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3462332416,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-06-18 17:46:56] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,206,165,45,192,177,78,49,10,66,83,178,48,1,240,216,218,33,4,113,205,163,128,239,2,11,7,77,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 17:46:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620739935528026112,"timestamp_seconds":5620739935528026.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136918016001,"66":12537,"120":206,"28":31744,"24":0,"16":3323196585541632,"45":1738037643074181120},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136918016001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:46:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:46:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323196585541632,"km_value":3323196585541.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074181120,"description":"Unknown IO ID 45"} 
[2026-06-18 17:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136918016001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074181120}} 
[2026-06-18 17:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":106176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:46:56] local.INFO: GPS data processed {"connection_id":106176,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:46:56] local.INFO: Acknowledgment sent {"connection_id":106176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:47:00] local.INFO: TCP Data received {"connection_id":106002,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:47:00] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:47:00] local.INFO: IMEI packet received {"connection_id":106002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":106002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:47:00] local.INFO: TCP Data received {"connection_id":106176,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa79bb0012d181ec00721b198004e00e131..."} 
[2026-06-18 17:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa79bb0012d181ec00721b198004e00e131..."} 
[2026-06-18 17:47:00] local.INFO: Processing buffer {"connection_id":106176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa79bb0012d181ec00721b198004e00e131..."} 
[2026-06-18 17:47:00] local.INFO: Packet analysis {"connection_id":106176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:47:00] local.INFO: Extracted packet for processing {"connection_id":106176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648664,"longitude_deg":75.6555456,"latitude_deg":11.9648664,"altitude":78,"angle":225,"satellites":49,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136923392001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323196585541632,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074181120,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781784878000,"timestamp_ms":1781784878000,"timestamp_seconds":1781784878,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa79bb0"} 
[2026-06-18 17:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:47:00] 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-06-18 17: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 17:47:00] 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-06-18 17: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-06-18 17:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136923392001,"66":12537,"120":206,"28":31744,"24":0,"16":3323196585541632,"45":1738037643074181120},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136923392001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:47:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323196585541632,"km_value":3323196585541.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074181120,"description":"Unknown IO ID 45"} 
[2026-06-18 17:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136923392001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074181120}} 
[2026-06-18 17:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":106176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:47:00] local.INFO: GPS data processed {"connection_id":106176,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:47:00] local.INFO: Acknowledgment sent {"connection_id":106176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:47:03] local.INFO: TCP Data received {"connection_id":106773,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:47:03] local.INFO: Processing buffer {"connection_id":106773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa551c0012ccc8c4007467770001e013829..."} 
[2026-06-18 17:47:03] local.INFO: Packet analysis {"connection_id":106773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:47:03] local.INFO: Extracted packet for processing {"connection_id":106773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa5"} 
[2026-06-18 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136813312001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:03] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781784728000,"timestamp_ms":1781784728000,"timestamp_seconds":1781784728,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa551c0"} 
[2026-06-18 17:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 17:47:03] 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-06-18 17: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-06-18 17:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136813312001,"66":26060,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136813312001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:47:03] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:47:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136813312001,"power":26060,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":106773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:47:03] local.INFO: GPS data processed {"connection_id":106773,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:47:03] local.INFO: Acknowledgment sent {"connection_id":106773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:47:05] local.INFO: TCP Data received {"connection_id":106002,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:47:05] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:47:05] local.INFO: IMEI packet received {"connection_id":106002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":106002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:47:06] local.INFO: TCP Data received {"connection_id":106002,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa81c98012d828fc005d87d00000700992a..."} 
[2026-06-18 17:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa81c98012d828fc005d87d00000700992a..."} 
[2026-06-18 17:47:06] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa81c98012d828fc005d87d00000700992a..."} 
[2026-06-18 17:47:06] local.INFO: Packet analysis {"connection_id":106002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:47:06] local.INFO: Extracted packet for processing {"connection_id":106002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763531200,"raw_latitude":98073856,"longitude_deg":76.35312,"latitude_deg":9.8073856,"altitude":7,"angle":153,"satellites":42,"speed":44,"hex_longitude":"2d828fc0","hex_latitude":"05d87d00","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136936192001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94008755275956224,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9040624383117465600,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] 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-06-18 17:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784911000,"timestamp_ms":1781784911000,"timestamp_seconds":1781784911,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa81c98"} 
[2026-06-18 17:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:47:06] 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-06-18 17: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668396456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":36865,"corrected_to":0} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2809950209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":217,"raw_value":7365637224934943744,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2806317262,"corrected_to":0} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3892391298,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":77,"raw_value":4204724224,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3644997632,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57886285033788731,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.WARNING: Large IO value detected {"io_id":167,"raw_value":3055693642143531013,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,49,85,24,241,157,16,252,158,249,45,192,8,42,10,66,202,128,7,251,155,1,240,139,227,218,217,4,113,205,104,125,208,43,239,51,69,2,77,5,138,167],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":202,"original":36865,"validated":0},{"io_id":205,"original":2806317262,"validated":0}]} 
[2026-06-18 17:47:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504583658563764224,"timestamp_seconds":504583658563764.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:47:06] 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-06-18 17:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136936192001,"66":13091,"49":206,"85":15104,"24":44,"16":94008755275956224,"45":-9040624383117465600},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-18 17:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136936192001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:47:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-18 17:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94008755275956224,"km_value":94008755275956.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9040624383117465600,"description":"Unknown IO ID 45"} 
[2026-06-18 17:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136936192001,"power":13091,"unknown_49":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":-9040624383117465600}} 
[2026-06-18 17:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":106002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:47:06] local.INFO: GPS data processed {"connection_id":106002,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:47:06] local.INFO: Acknowledgment sent {"connection_id":106002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:47:24] local.INFO: TCP Data received {"connection_id":107756,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:47:24] local.INFO: Processing buffer {"connection_id":107756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:47:24] local.INFO: IMEI packet received {"connection_id":107756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":107756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:47:37] local.INFO: TCP Data received {"connection_id":106002,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa837f0012d8299c005d86568000800a62a..."} 
[2026-06-18 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa837f0012d8299c005d86568000800a62a..."} 
[2026-06-18 17:47:37] local.INFO: Processing buffer {"connection_id":106002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa837f0012d8299c005d86568000800a62a..."} 
[2026-06-18 17:47:37] local.INFO: Packet analysis {"connection_id":106002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:47:37] local.INFO: Extracted packet for processing {"connection_id":106002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763533760,"raw_latitude":98067816,"longitude_deg":76.353376,"latitude_deg":9.8067816,"altitude":8,"angle":166,"satellites":42,"speed":29,"hex_longitude":"2d8299c0","hex_latitude":"05d86568","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136937216001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94009073103536128,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9038794795769856000,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:37] 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-06-18 17:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781784918000,"timestamp_ms":1781784918000,"timestamp_seconds":1781784918,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa837f0"} 
[2026-06-18 17:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 17:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:47:37] 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-06-18 17:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136937216001,"66":13363,"49":206,"85":15104,"24":29,"16":94009073103536128,"45":-9038794795769856000},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-18 17:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136937216001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:47:37] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-18 17:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94009073103536128,"km_value":94009073103536.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9038794795769856000,"description":"Unknown IO ID 45"} 
[2026-06-18 17:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136937216001,"power":13363,"unknown_49":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":-9038794795769856000}} 
[2026-06-18 17:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":106002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345489,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:47:37] local.INFO: GPS data processed {"connection_id":106002,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:47:37] local.INFO: Acknowledgment sent {"connection_id":106002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:47:38] local.INFO: TCP Data received {"connection_id":106177,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:47:38] local.INFO: Processing buffer {"connection_id":106177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:47:38] local.INFO: IMEI packet received {"connection_id":106177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":106177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:47:41] local.INFO: TCP Data received {"connection_id":107756,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:47:41] local.INFO: Processing buffer {"connection_id":107756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:47:41] local.INFO: IMEI packet received {"connection_id":107756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":107756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:47:43] local.INFO: TCP Data received {"connection_id":106177,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:47:43] local.INFO: Processing buffer {"connection_id":106177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:47:43] local.INFO: IMEI packet received {"connection_id":106177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":106177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:47:45] local.INFO: TCP Data received {"connection_id":106775,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:47:45] local.INFO: Processing buffer {"connection_id":106775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:47:45] local.INFO: IMEI packet received {"connection_id":106775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":106775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:47:46] local.INFO: TCP Data received {"connection_id":106177,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:47:46] local.INFO: Processing buffer {"connection_id":106177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:47:46] local.INFO: Packet analysis {"connection_id":106177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:47:46] local.INFO: Extracted packet for processing {"connection_id":106177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:47:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:47:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:47:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":106177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:47:46] local.INFO: GPS data processed {"connection_id":106177,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:47:46] local.INFO: Acknowledgment sent {"connection_id":106177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:47:48] local.INFO: TCP Data received {"connection_id":106775,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:47:48] local.INFO: Processing buffer {"connection_id":106775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:47:48] local.INFO: IMEI packet received {"connection_id":106775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":106775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:47:49] local.INFO: TCP Data received {"connection_id":106775,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ab50012d181ec00721afd8005000d431..."} 
[2026-06-18 17:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ab50012d181ec00721afd8005000d431..."} 
[2026-06-18 17:47:49] local.INFO: Processing buffer {"connection_id":106775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ab50012d181ec00721afd8005000d431..."} 
[2026-06-18 17:47:49] local.INFO: Packet analysis {"connection_id":106775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:47:49] local.INFO: Extracted packet for processing {"connection_id":106775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648216,"longitude_deg":75.6555456,"latitude_deg":11.9648216,"altitude":80,"angle":212,"satellites":49,"speed":1,"hex_longitude":"2d181ec0","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-06-18 17:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136928768001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323218060378112,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074181120,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781784882000,"timestamp_ms":1781784882000,"timestamp_seconds":1781784882,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ab50"} 
[2026-06-18 17:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 17:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136928768001,"66":12504,"120":206,"28":31744,"24":1,"16":3323218060378112,"45":1738037643074181120},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136928768001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:47:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:47:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323218060378112,"km_value":3323218060378.112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074181120,"description":"Unknown IO ID 45"} 
[2026-06-18 17:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136928768001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":1,"odometer":null,"unknown_45":1738037643074181120}} 
[2026-06-18 17:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":106775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:47:49] local.INFO: GPS data processed {"connection_id":106775,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:47:49] local.INFO: Acknowledgment sent {"connection_id":106775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:47:49] local.INFO: TCP Data received {"connection_id":106177,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:47:49] local.INFO: Processing buffer {"connection_id":106177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:47:49] local.INFO: Packet analysis {"connection_id":106177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:47:49] local.INFO: Extracted packet for processing {"connection_id":106177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:47:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:47:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":106177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:47:50] local.INFO: GPS data processed {"connection_id":106177,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:47:50] local.INFO: Acknowledgment sent {"connection_id":106177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:47:51] local.INFO: TCP Data received {"connection_id":107756,"ip":"117.224.120.98","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107756,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:47:51] local.INFO: Processing buffer {"connection_id":107756,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 17:47:51] local.INFO: IMEI packet received {"connection_id":107756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":107756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:48:00] local.INFO: TCP Data received {"connection_id":106776,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:48:00] local.INFO: Processing buffer {"connection_id":106776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:48:00] local.INFO: IMEI packet received {"connection_id":106776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":106776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:48:05] local.INFO: TCP Data received {"connection_id":106776,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106776,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:48:05] local.INFO: Processing buffer {"connection_id":106776,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:48:05] local.INFO: IMEI packet received {"connection_id":106776,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":106776,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:48:06] local.INFO: TCP Data received {"connection_id":106776,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa866d0012d829e8005d841a8000800a52b..."} 
[2026-06-18 17:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa866d0012d829e8005d841a8000800a52b..."} 
[2026-06-18 17:48:06] local.INFO: Processing buffer {"connection_id":106776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa866d0012d829e8005d841a8000800a52b..."} 
[2026-06-18 17:48:06] local.INFO: Packet analysis {"connection_id":106776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:48:06] local.INFO: Extracted packet for processing {"connection_id":106776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763534976,"raw_latitude":98058664,"longitude_deg":76.3534976,"latitude_deg":9.8058664,"altitude":8,"angle":165,"satellites":43,"speed":20,"hex_longitude":"2d829e80","hex_latitude":"05d841a8","is_valid_coordinates":true} 
[2026-06-18 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94009519780134912,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035980046004295680,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48: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-06-18 17:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781784930000,"timestamp_ms":1781784930000,"timestamp_seconds":1781784930,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa866d0"} 
[2026-06-18 17:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:48: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-06-18 17:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 17:48:06] 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-06-18 17:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:48:06] 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-06-18 17:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136939008001,"66":12885,"47":206,"85":15104,"24":20,"16":94009519780134912,"45":-9035980046004295680},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-18 17:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:48:06] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-18 17:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94009519780134912,"km_value":94009519780134.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035980046004295680,"description":"Unknown IO ID 45"} 
[2026-06-18 17:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136939008001,"power":12885,"unknown_47":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9035980046004295680}} 
[2026-06-18 17:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":106776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345493,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:48:06] local.INFO: GPS data processed {"connection_id":106776,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:48:06] local.INFO: Acknowledgment sent {"connection_id":106776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:48:20] local.INFO: TCP Data received {"connection_id":106775,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7fd58012d181e800721af68005100d330..."} 
[2026-06-18 17:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7fd58012d181e800721af68005100d330..."} 
[2026-06-18 17:48:20] local.INFO: Processing buffer {"connection_id":106775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7fd58012d181e800721af68005100d330..."} 
[2026-06-18 17:48:20] local.INFO: Packet analysis {"connection_id":106775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:48:20] local.INFO: Extracted packet for processing {"connection_id":106775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136929792001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074066432,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781784903000,"timestamp_ms":1781784903000,"timestamp_seconds":1781784903,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7fd58"} 
[2026-06-18 17:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 17:48:20] 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-06-18 17:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":106775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":106775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":106775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136929792001,"66":12515,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1738037643074066432},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136929792001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:48:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:48:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074066432,"description":"Unknown IO ID 45"} 
[2026-06-18 17:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136929792001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738037643074066432}} 
[2026-06-18 17:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":106775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:48:20] local.INFO: GPS data processed {"connection_id":106775,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:48:20] local.INFO: Acknowledgment sent {"connection_id":106775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:48:34] local.INFO: TCP Data received {"connection_id":107757,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:48:34] local.INFO: Processing buffer {"connection_id":107757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:48:34] local.INFO: IMEI packet received {"connection_id":107757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":107757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:48:37] local.INFO: TCP Data received {"connection_id":106776,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa87288012d829f0005d83d68000800b12b..."} 
[2026-06-18 17:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa87288012d829f0005d83d68000800b12b..."} 
[2026-06-18 17:48:37] local.INFO: Processing buffer {"connection_id":106776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa87288012d829f0005d83d68000800b12b..."} 
[2026-06-18 17:48:37] local.INFO: Packet analysis {"connection_id":106776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:48:37] local.INFO: Extracted packet for processing {"connection_id":106776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763535104,"raw_latitude":98057576,"longitude_deg":76.3535104,"latitude_deg":9.8057576,"altitude":8,"angle":177,"satellites":43,"speed":11,"hex_longitude":"2d829f00","hex_latitude":"05d83d68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136942080001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94009571319742464,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034643039867262976,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:37] 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-06-18 17:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781784933000,"timestamp_ms":1781784933000,"timestamp_seconds":1781784933,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa87288"} 
[2026-06-18 17:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 17:48:37] 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-06-18 17: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-06-18 17:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106776,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:48:37] 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-06-18 17:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136942080001,"66":13037,"47":206,"85":15104,"24":11,"16":94009571319742464,"45":-9034643039867262976},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,47,85,24,16,45]} 
[2026-06-18 17:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136942080001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:48:37] local.INFO: Unknown IO ID detected {"io_id":47,"value":206,"description":"Unknown IO ID 47"} 
[2026-06-18 17:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94009571319742464,"km_value":94009571319742.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034643039867262976,"description":"Unknown IO ID 45"} 
[2026-06-18 17:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136942080001,"power":13037,"unknown_47":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9034643039867262976}} 
[2026-06-18 17:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":106776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345495,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:48:37] local.INFO: GPS data processed {"connection_id":106776,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:48:37] local.INFO: Acknowledgment sent {"connection_id":106776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:48:39] local.INFO: TCP Data received {"connection_id":107757,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107757,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:48:39] local.INFO: Processing buffer {"connection_id":107757,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:48:39] local.INFO: IMEI packet received {"connection_id":107757,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":107757,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:48:40] local.INFO: TCP Data received {"connection_id":107757,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:48:40] local.INFO: Processing buffer {"connection_id":107757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:48:40] local.INFO: Packet analysis {"connection_id":107757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:48:40] local.INFO: Extracted packet for processing {"connection_id":107757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:48:40] 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-06-18 17:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:48:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:48:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":107757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:48:40] local.INFO: GPS data processed {"connection_id":107757,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:48:40] local.INFO: Acknowledgment sent {"connection_id":107757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:48:44] local.INFO: TCP Data received {"connection_id":106179,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:48:44] local.INFO: Processing buffer {"connection_id":106179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:48:44] local.INFO: IMEI packet received {"connection_id":106179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":106179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:48:49] local.INFO: TCP Data received {"connection_id":106179,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106179,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:48:49] local.INFO: Processing buffer {"connection_id":106179,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:48:49] local.INFO: IMEI packet received {"connection_id":106179,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":106179,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:49:00] local.INFO: TCP Data received {"connection_id":106003,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:49:00] local.INFO: Processing buffer {"connection_id":106003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:49:00] local.INFO: IMEI packet received {"connection_id":106003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":106003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:49:05] local.INFO: TCP Data received {"connection_id":106003,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106003,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:49:05] local.INFO: Processing buffer {"connection_id":106003,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:49:05] local.INFO: IMEI packet received {"connection_id":106003,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":106003,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:49:06] local.INFO: TCP Data received {"connection_id":106003,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaab2dc0012d82a00005d82868000600b52c..."} 
[2026-06-18 17:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaab2dc0012d82a00005d82868000600b52c..."} 
[2026-06-18 17:49:06] local.INFO: Processing buffer {"connection_id":106003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaab2dc0012d82a00005d82868000600b52c..."} 
[2026-06-18 17:49:06] local.INFO: Packet analysis {"connection_id":106003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:49:06] local.INFO: Extracted packet for processing {"connection_id":106003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":98052200,"longitude_deg":76.353536,"latitude_deg":9.80522,"altitude":6,"angle":181,"satellites":44,"speed":22,"hex_longitude":"2d82a000","hex_latitude":"05d82868","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136983296001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94009841902682112,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034431933635315712,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781785112000,"timestamp_ms":1781785112000,"timestamp_seconds":1781785112,"priority":1,"record_length":96,"hex_timestamp":"0000019edaab2dc0"} 
[2026-06-18 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-06-18 17:49:06] 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-06-18 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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 17:49:06] 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-06-18 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-06-18 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-06-18 17:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:49:06] 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-06-18 17:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136983296001,"66":13037,"155":206,"85":15104,"24":22,"16":94009841902682112,"45":-9034431933635315712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-18 17:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136983296001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:49:06] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 17:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94009841902682112,"km_value":94009841902682.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034431933635315712,"description":"Unknown IO ID 45"} 
[2026-06-18 17:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136983296001,"power":13037,"unknown_155":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9034431933635315712}} 
[2026-06-18 17:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":106003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345497,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:49:06] local.INFO: GPS data processed {"connection_id":106003,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:49:06] local.INFO: Acknowledgment sent {"connection_id":106003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:49:12] local.INFO: TCP Data received {"connection_id":107757,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:49:12] local.INFO: Processing buffer {"connection_id":107757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:49:12] local.INFO: Packet analysis {"connection_id":107757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:49:12] local.INFO: Extracted packet for processing {"connection_id":107757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:49:12] 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-06-18 17:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107757,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:49:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":107757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:49:12] local.INFO: GPS data processed {"connection_id":107757,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:49:12] local.INFO: Acknowledgment sent {"connection_id":107757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:49:12] local.INFO: TCP Data received {"connection_id":106179,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa84f60012d181e800721af68005100d32f..."} 
[2026-06-18 17:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa84f60012d181e800721af68005100d32f..."} 
[2026-06-18 17:49:12] local.INFO: Processing buffer {"connection_id":106179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa84f60012d181e800721af68005100d32f..."} 
[2026-06-18 17:49:12] local.INFO: Packet analysis {"connection_id":106179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:49:12] local.INFO: Extracted packet for processing {"connection_id":106179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136935168001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781784924000,"timestamp_ms":1781784924000,"timestamp_seconds":1781784924,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa84f60"} 
[2026-06-18 17:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 17:49:12] 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-06-18 17:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106179,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136935168001,"66":12526,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136935168001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:49:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136935168001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":106179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:49:12] local.INFO: GPS data processed {"connection_id":106179,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:49:12] local.INFO: Acknowledgment sent {"connection_id":106179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:49:33] local.INFO: TCP Data received {"connection_id":106778,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:49:33] local.INFO: Processing buffer {"connection_id":106778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:49:33] local.INFO: IMEI packet received {"connection_id":106778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":106778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:49:37] local.INFO: TCP Data received {"connection_id":106003,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaab5ca0012d82a00005d80298000800b02c..."} 
[2026-06-18 17:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaab5ca0012d82a00005d80298000800b02c..."} 
[2026-06-18 17:49:37] local.INFO: Processing buffer {"connection_id":106003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaab5ca0012d82a00005d80298000800b02c..."} 
[2026-06-18 17:49:37] local.INFO: Packet analysis {"connection_id":106003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:49:37] local.INFO: Extracted packet for processing {"connection_id":106003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763535360,"raw_latitude":98042520,"longitude_deg":76.353536,"latitude_deg":9.804252,"altitude":8,"angle":176,"satellites":44,"speed":37,"hex_longitude":"2d82a000","hex_latitude":"05d80298","is_valid_coordinates":true} 
[2026-06-18 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136988672001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94010310054117376,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034220827403851776,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:37] 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-06-18 17:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781785124000,"timestamp_ms":1781785124000,"timestamp_seconds":1781785124,"priority":1,"record_length":96,"hex_timestamp":"0000019edaab5ca0"} 
[2026-06-18 17:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 17:49:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106003,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:49:37] 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-06-18 17:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136988672001,"66":13135,"155":206,"85":15104,"24":37,"16":94010310054117376,"45":-9034220827403851776},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-18 17:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136988672001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:49:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 17:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94010310054117376,"km_value":94010310054117.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034220827403851776,"description":"Unknown IO ID 45"} 
[2026-06-18 17:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136988672001,"power":13135,"unknown_155":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":-9034220827403851776}} 
[2026-06-18 17:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":106003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:49:37] local.INFO: GPS data processed {"connection_id":106003,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:49:37] local.INFO: Acknowledgment sent {"connection_id":106003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:49:39] local.INFO: TCP Data received {"connection_id":106778,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:49:39] local.INFO: Processing buffer {"connection_id":106778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:49:39] local.INFO: IMEI packet received {"connection_id":106778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":106778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:49:40] local.INFO: TCP Data received {"connection_id":106778,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:49:40] local.INFO: Processing buffer {"connection_id":106778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:49:40] local.INFO: Packet analysis {"connection_id":106778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:49:40] local.INFO: Extracted packet for processing {"connection_id":106778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:49:40] 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-06-18 17:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:49:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:49:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":106778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:49:40] local.INFO: GPS data processed {"connection_id":106778,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:49:40] local.INFO: Acknowledgment sent {"connection_id":106778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:49:44] local.INFO: TCP Data received {"connection_id":107758,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:49:44] local.INFO: Processing buffer {"connection_id":107758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:49:44] local.INFO: IMEI packet received {"connection_id":107758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":107758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:49:49] local.INFO: TCP Data received {"connection_id":107758,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:49:49] local.INFO: Processing buffer {"connection_id":107758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:49:49] local.INFO: IMEI packet received {"connection_id":107758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":107758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:49:50] local.INFO: TCP Data received {"connection_id":107758,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa8a168012d181e800721af68005100d32f..."} 
[2026-06-18 17:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa8a168012d181e800721af68005100d32f..."} 
[2026-06-18 17:49:50] local.INFO: Processing buffer {"connection_id":107758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa8a168012d181e800721af68005100d32f..."} 
[2026-06-18 17:49:50] local.INFO: Packet analysis {"connection_id":107758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:49:50] local.INFO: Extracted packet for processing {"connection_id":107758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136940544001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781784945000,"timestamp_ms":1781784945000,"timestamp_seconds":1781784945,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa8a168"} 
[2026-06-18 17:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:49:50] 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-06-18 17:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 17:49:50] 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-06-18 17:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136940544001,"66":12504,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136940544001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:49:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:49:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136940544001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":107758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:49:50] local.INFO: GPS data processed {"connection_id":107758,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:49:50] local.INFO: Acknowledgment sent {"connection_id":107758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:50:05] local.INFO: TCP Data received {"connection_id":107759,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:50:05] local.INFO: Processing buffer {"connection_id":107759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:50:05] local.INFO: IMEI packet received {"connection_id":107759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":107759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:50:10] local.INFO: TCP Data received {"connection_id":107759,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:50:10] local.INFO: Processing buffer {"connection_id":107759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:50:10] local.INFO: IMEI packet received {"connection_id":107759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":107759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:50:11] local.INFO: TCP Data received {"connection_id":107759,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaab83b0012d82a20005d7dd48000900b22b..."} 
[2026-06-18 17:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaab83b0012d82a20005d7dd48000900b22b..."} 
[2026-06-18 17:50:11] local.INFO: Processing buffer {"connection_id":107759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaab83b0012d82a20005d7dd48000900b22b..."} 
[2026-06-18 17:50:11] local.INFO: Packet analysis {"connection_id":107759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:50:11] local.INFO: Extracted packet for processing {"connection_id":107759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:50:11] local.INFO: GPS Element Parsed {"raw_longitude":763535872,"raw_latitude":98032968,"longitude_deg":76.3535872,"latitude_deg":9.8032968,"altitude":9,"angle":178,"satellites":43,"speed":34,"hex_longitude":"2d82a200","hex_latitude":"05d7dd48","is_valid_coordinates":true} 
[2026-06-18 17:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136991744001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94010773910585344,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9034220827406329856,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781785134000,"timestamp_ms":1781785134000,"timestamp_seconds":1781785134,"priority":1,"record_length":96,"hex_timestamp":"0000019edaab83b0"} 
[2026-06-18 17:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 17:50:11] 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-06-18 17:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:50: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-06-18 17:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136991744001,"66":13091,"155":206,"85":15104,"24":34,"16":94010773910585344,"45":-9034220827406329856},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-18 17:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136991744001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:50:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 17:50:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94010773910585344,"km_value":94010773910585.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9034220827406329856,"description":"Unknown IO ID 45"} 
[2026-06-18 17:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136991744001,"power":13091,"unknown_155":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9034220827406329856}} 
[2026-06-18 17:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":107759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345503,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:50:11] local.INFO: GPS data processed {"connection_id":107759,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:50:11] local.INFO: Acknowledgment sent {"connection_id":107759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:50:12] local.INFO: TCP Data received {"connection_id":106778,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:50:12] local.INFO: Processing buffer {"connection_id":106778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa7ce78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:50:12] local.INFO: Packet analysis {"connection_id":106778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:50:12] local.INFO: Extracted packet for processing {"connection_id":106778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa7"} 
[2026-06-18 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136855040001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781784891000,"timestamp_ms":1781784891000,"timestamp_seconds":1781784891,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa7ce78"} 
[2026-06-18 17:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:50:12] 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-06-18 17:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106778,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136855040001,"66":25517,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136855040001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:50:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136855040001,"power":25517,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":106778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:50:12] local.INFO: GPS data processed {"connection_id":106778,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:50:12] local.INFO: Acknowledgment sent {"connection_id":106778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:50:22] local.INFO: TCP Data received {"connection_id":107758,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa8f370012d181e800721af68005100d32f..."} 
[2026-06-18 17:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa8f370012d181e800721af68005100d32f..."} 
[2026-06-18 17:50:22] local.INFO: Processing buffer {"connection_id":107758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa8f370012d181e800721af68005100d32f..."} 
[2026-06-18 17:50:22] local.INFO: Packet analysis {"connection_id":107758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:50:22] local.INFO: Extracted packet for processing {"connection_id":107758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa8"} 
[2026-06-18 17:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136945920001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781784966000,"timestamp_ms":1781784966000,"timestamp_seconds":1781784966,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa8f370"} 
[2026-06-18 17:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:50:22] 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-06-18 17:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 17:50:22] 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-06-18 17:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136945920001,"66":12526,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136945920001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:50:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:50:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136945920001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":107758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:50:22] local.INFO: GPS data processed {"connection_id":107758,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:50:22] local.INFO: Acknowledgment sent {"connection_id":107758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:50:33] local.INFO: TCP Data received {"connection_id":106004,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:50:33] local.INFO: Processing buffer {"connection_id":106004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:50:33] local.INFO: IMEI packet received {"connection_id":106004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":106004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:50:38] local.INFO: TCP Data received {"connection_id":106004,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:50:38] local.INFO: Processing buffer {"connection_id":106004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:50:38] local.INFO: IMEI packet received {"connection_id":106004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":106004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:50:40] local.INFO: TCP Data received {"connection_id":106004,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:50:40] local.INFO: Processing buffer {"connection_id":106004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:50:40] local.INFO: Packet analysis {"connection_id":106004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:50:40] local.INFO: Extracted packet for processing {"connection_id":106004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:50:40] 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-06-18 17:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:50:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:50:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":106004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:50:40] local.INFO: GPS data processed {"connection_id":106004,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:50:40] local.INFO: Acknowledgment sent {"connection_id":106004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:50:42] local.INFO: TCP Data received {"connection_id":107759,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaabba60012d82a2c005d7b7c8000800b32a..."} 
[2026-06-18 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaabba60012d82a2c005d7b7c8000800b32a..."} 
[2026-06-18 17:50:42] local.INFO: Processing buffer {"connection_id":107759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaabba60012d82a2c005d7b7c8000800b32a..."} 
[2026-06-18 17:50:42] local.INFO: Packet analysis {"connection_id":107759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:50:42] local.INFO: Extracted packet for processing {"connection_id":107759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":763536064,"raw_latitude":98023368,"longitude_deg":76.3536064,"latitude_deg":9.8023368,"altitude":8,"angle":179,"satellites":42,"speed":31,"hex_longitude":"2d82a2c0","hex_latitude":"05d7b7c8","is_valid_coordinates":true} 
[2026-06-18 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136994304001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94011237767053312,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033657877455353856,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:42] 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-06-18 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781785148000,"timestamp_ms":1781785148000,"timestamp_seconds":1781785148,"priority":1,"record_length":96,"hex_timestamp":"0000019edaabba60"} 
[2026-06-18 17:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 17:50:42] 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-06-18 17: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-06-18 17:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:50:42] 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-06-18 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136994304001,"66":13080,"155":206,"85":15104,"24":31,"16":94011237767053312,"45":-9033657877455353856},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-18 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136994304001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:50:42] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 17:50:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94011237767053312,"km_value":94011237767053.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033657877455353856,"description":"Unknown IO ID 45"} 
[2026-06-18 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136994304001,"power":13080,"unknown_155":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":-9033657877455353856}} 
[2026-06-18 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":107759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345507,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:50:42] local.INFO: GPS data processed {"connection_id":107759,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:50:42] local.INFO: Acknowledgment sent {"connection_id":107759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:50:50] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:50:50] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:50:50] local.INFO: IMEI packet received {"connection_id":106181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":106181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:50:54] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:50:54] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:50:54] local.INFO: IMEI packet received {"connection_id":106181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":106181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:50:55] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa94578012d181e800721af68005100d32e..."} 
[2026-06-18 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa94578012d181e800721af68005100d32e..."} 
[2026-06-18 17:50:55] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa94578012d181e800721af68005100d32e..."} 
[2026-06-18 17:50:55] local.INFO: Packet analysis {"connection_id":106181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa9"} 
[2026-06-18 17:50:55] local.INFO: Extracted packet for processing {"connection_id":106181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa9"} 
[2026-06-18 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136951296001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781784987000,"timestamp_ms":1781784987000,"timestamp_seconds":1781784987,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa94578"} 
[2026-06-18 17:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 17:50:55] 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-06-18 17:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136951296001,"66":12515,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136951296001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:50:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:50:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136951296001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":106181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:50:55] local.INFO: GPS data processed {"connection_id":106181,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:50:55] local.INFO: Acknowledgment sent {"connection_id":106181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:50:57] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa99780012d181e800721af68005100d330..."} 
[2026-06-18 17:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa99780012d181e800721af68005100d330..."} 
[2026-06-18 17:50:57] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa99780012d181e800721af68005100d330..."} 
[2026-06-18 17:50:57] local.INFO: Packet analysis {"connection_id":106181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa9"} 
[2026-06-18 17:50:57] local.INFO: Extracted packet for processing {"connection_id":106181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa9"} 
[2026-06-18 17:50:57] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136956672001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781785008000,"timestamp_ms":1781785008000,"timestamp_seconds":1781785008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa99780"} 
[2026-06-18 17:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:50:57] 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-06-18 17: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 17:50:57] 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-06-18 17: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-06-18 17:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136956672001,"66":12504,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136956672001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:50:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:50:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136956672001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":106181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:50:57] local.INFO: GPS data processed {"connection_id":106181,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:50:57] local.INFO: Acknowledgment sent {"connection_id":106181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:51:00] local.INFO: TCP Data received {"connection_id":106779,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:00] local.INFO: Processing buffer {"connection_id":106779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:00] local.INFO: IMEI packet received {"connection_id":106779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":106779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:51:02] local.INFO: TCP Data received {"connection_id":106779,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:02] local.INFO: Processing buffer {"connection_id":106779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:02] local.INFO: IMEI packet received {"connection_id":106779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":106779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:51:04] local.INFO: TCP Data received {"connection_id":106779,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:04] local.INFO: Processing buffer {"connection_id":106779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:51:04] local.INFO: IMEI packet received {"connection_id":106779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":106779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:51:05] local.INFO: TCP Data received {"connection_id":106779,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaabed28012d82a5c005d792c8000600ae2a..."} 
[2026-06-18 17:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaabed28012d82a5c005d792c8000600ae2a..."} 
[2026-06-18 17:51:05] local.INFO: Processing buffer {"connection_id":106779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaabed28012d82a5c005d792c8000600ae2a..."} 
[2026-06-18 17:51:05] local.INFO: Packet analysis {"connection_id":106779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:51:05] local.INFO: Extracted packet for processing {"connection_id":106779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":763536832,"raw_latitude":98013896,"longitude_deg":76.3536832,"latitude_deg":9.8013896,"altitude":6,"angle":174,"satellites":42,"speed":25,"hex_longitude":"2d82a5c0","hex_latitude":"05d792c8","is_valid_coordinates":true} 
[2026-06-18 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136997888001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94011701623521280,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9033446771225278464,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781785161000,"timestamp_ms":1781785161000,"timestamp_seconds":1781785161,"priority":1,"record_length":96,"hex_timestamp":"0000019edaabed28"} 
[2026-06-18 17:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 17:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:51: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-06-18 17:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136997888001,"66":13015,"155":206,"85":15104,"24":25,"16":94011701623521280,"45":-9033446771225278464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,85,24,16,45]} 
[2026-06-18 17:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136997888001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:51:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 17:51:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94011701623521280,"km_value":94011701623521.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9033446771225278464,"description":"Unknown IO ID 45"} 
[2026-06-18 17:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136997888001,"power":13015,"unknown_155":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9033446771225278464}} 
[2026-06-18 17:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":106779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345510,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:51:05] local.INFO: GPS data processed {"connection_id":106779,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:51:05] local.INFO: Acknowledgment sent {"connection_id":106779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:51:11] local.INFO: TCP Data received {"connection_id":106004,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:51:11] local.INFO: Processing buffer {"connection_id":106004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:51:11] local.INFO: Packet analysis {"connection_id":106004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:51:11] local.INFO: Extracted packet for processing {"connection_id":106004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:51:11] 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-06-18 17:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:51:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":106004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:51:11] local.INFO: GPS data processed {"connection_id":106004,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:51:11] local.INFO: Acknowledgment sent {"connection_id":106004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:51:28] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa9e988012d181e800721af68005100d32e..."} 
[2026-06-18 17:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa9e988012d181e800721af68005100d32e..."} 
[2026-06-18 17:51:28] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa9e988012d181e800721af68005100d32e..."} 
[2026-06-18 17:51:28] local.INFO: Packet analysis {"connection_id":106181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa9"} 
[2026-06-18 17:51:28] local.INFO: Extracted packet for processing {"connection_id":106181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa9"} 
[2026-06-18 17:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136962048001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781785029000,"timestamp_ms":1781785029000,"timestamp_seconds":1781785029,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa9e988"} 
[2026-06-18 17:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:51:28] 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-06-18 17: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 17:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136962048001,"66":12287,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136962048001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:51:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136962048001,"power":12287,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":106181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:51:28] local.INFO: GPS data processed {"connection_id":106181,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:51:28] local.INFO: Acknowledgment sent {"connection_id":106181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:51:33] local.INFO: TCP Data received {"connection_id":107760,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:51:33] local.INFO: Processing buffer {"connection_id":107760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:51:33] local.INFO: IMEI packet received {"connection_id":107760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:51:33] local.INFO: IMEI acknowledgment sent {"connection_id":107760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:51:36] local.INFO: TCP Data received {"connection_id":106779,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaadae60012d82d1c005d68468000500aa2c..."} 
[2026-06-18 17:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaadae60012d82d1c005d68468000500aa2c..."} 
[2026-06-18 17:51:36] local.INFO: Processing buffer {"connection_id":106779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaadae60012d82d1c005d68468000500aa2c..."} 
[2026-06-18 17:51:36] local.INFO: Packet analysis {"connection_id":106779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaad"} 
[2026-06-18 17:51:36] local.INFO: Extracted packet for processing {"connection_id":106779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaad"} 
[2026-06-18 17:51:36] local.INFO: GPS Element Parsed {"raw_longitude":763548096,"raw_latitude":97944680,"longitude_deg":76.3548096,"latitude_deg":9.794468,"altitude":5,"angle":170,"satellites":44,"speed":8,"hex_longitude":"2d82d1c0","hex_latitude":"05d68468","is_valid_coordinates":true} 
[2026-06-18 17:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137030400001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94015210611802112,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020287816084148224,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:36] 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-06-18 17:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781785276000,"timestamp_ms":1781785276000,"timestamp_seconds":1781785276,"priority":1,"record_length":96,"hex_timestamp":"0000019edaadae60"} 
[2026-06-18 17:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:51:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 17:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1402,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:51:36] 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-06-18 17:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137030400001,"66":12906,"156":206,"85":15104,"24":8,"16":94015210611802112,"45":-9020287816084148224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-18 17:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137030400001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:51:36] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 17:51:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94015210611802112,"km_value":94015210611802.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020287816084148224,"description":"Unknown IO ID 45"} 
[2026-06-18 17:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137030400001,"power":12906,"unknown_156":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":-9020287816084148224}} 
[2026-06-18 17:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":106779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345513,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:51:36] local.INFO: GPS data processed {"connection_id":106779,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:51:36] local.INFO: Acknowledgment sent {"connection_id":106779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:51:38] local.INFO: TCP Data received {"connection_id":107760,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:51:38] local.INFO: Processing buffer {"connection_id":107760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:51:38] local.INFO: IMEI packet received {"connection_id":107760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":107760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:51:42] local.INFO: TCP Data received {"connection_id":107760,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:51:42] local.INFO: Processing buffer {"connection_id":107760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:51:42] local.INFO: Packet analysis {"connection_id":107760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:51:42] local.INFO: Extracted packet for processing {"connection_id":107760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:51:42] 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-06-18 17:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:51:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":107760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:51:42] local.INFO: GPS data processed {"connection_id":107760,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:51:42] local.INFO: Acknowledgment sent {"connection_id":107760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:51:44] local.INFO: TCP Data received {"connection_id":106005,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:51:44] local.INFO: Processing buffer {"connection_id":106005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:51:44] local.INFO: IMEI packet received {"connection_id":106005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":106005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:51:49] local.INFO: TCP Data received {"connection_id":106005,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:51:49] local.INFO: Processing buffer {"connection_id":106005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:51:49] local.INFO: IMEI packet received {"connection_id":106005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":106005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:51:51] local.INFO: TCP Data received {"connection_id":106005,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaaa3b90012d181e800721af68005100d32f..."} 
[2026-06-18 17:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaaa3b90012d181e800721af68005100d32f..."} 
[2026-06-18 17:51:51] local.INFO: Processing buffer {"connection_id":106005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaaa3b90012d181e800721af68005100d32f..."} 
[2026-06-18 17:51:51] local.INFO: Packet analysis {"connection_id":106005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaaa"} 
[2026-06-18 17:51:51] local.INFO: Extracted packet for processing {"connection_id":106005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaaa"} 
[2026-06-18 17:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781785050000,"timestamp_ms":1781785050000,"timestamp_seconds":1781785050,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaa3b90"} 
[2026-06-18 17:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 17:51:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":12526,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:51:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:51:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136967424001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":106005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:51:51] local.INFO: GPS data processed {"connection_id":106005,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:51:51] local.INFO: Acknowledgment sent {"connection_id":106005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:52:00] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:52:00] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:52:00] local.INFO: IMEI packet received {"connection_id":106183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":106183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:52:05] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:52:05] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:52:05] local.INFO: IMEI packet received {"connection_id":106183,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":106183,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:52:06] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaadb248012d82d1c005d683b0000600b72c..."} 
[2026-06-18 17:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaadb248012d82d1c005d683b0000600b72c..."} 
[2026-06-18 17:52:06] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaadb248012d82d1c005d683b0000600b72c..."} 
[2026-06-18 17:52:06] local.INFO: Packet analysis {"connection_id":106183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaad"} 
[2026-06-18 17:52:06] local.INFO: Extracted packet for processing {"connection_id":106183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaad"} 
[2026-06-18 17:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763548096,"raw_latitude":97944496,"longitude_deg":76.3548096,"latitude_deg":9.7944496,"altitude":6,"angle":183,"satellites":44,"speed":6,"hex_longitude":"2d82d1c0","hex_latitude":"05d683b0","is_valid_coordinates":true} 
[2026-06-18 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137030656001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94015219201736704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9020217447340021760,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:06] 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-06-18 17:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781785277000,"timestamp_ms":1781785277000,"timestamp_seconds":1781785277,"priority":1,"record_length":96,"hex_timestamp":"0000019edaadb248"} 
[2026-06-18 17:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:52:06] 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-06-18 17:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 17:52:06] 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-06-18 17:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:52:06] 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-06-18 17:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137030656001,"66":13059,"156":206,"85":15104,"24":6,"16":94015219201736704,"45":-9020217447340021760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-18 17:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137030656001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:52:06] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 17:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94015219201736704,"km_value":94015219201736.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9020217447340021760,"description":"Unknown IO ID 45"} 
[2026-06-18 17:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137030656001,"power":13059,"unknown_156":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":-9020217447340021760}} 
[2026-06-18 17:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":106183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:52:06] local.INFO: GPS data processed {"connection_id":106183,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:52:06] local.INFO: Acknowledgment sent {"connection_id":106183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:52:14] local.INFO: TCP Data received {"connection_id":107760,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:52:14] local.INFO: Processing buffer {"connection_id":107760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:52:14] local.INFO: Packet analysis {"connection_id":107760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:52:14] local.INFO: Extracted packet for processing {"connection_id":107760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:52:14] 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-06-18 17:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:52:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":107760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:52:14] local.INFO: GPS data processed {"connection_id":107760,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:52:14] local.INFO: Acknowledgment sent {"connection_id":107760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:52:25] local.INFO: TCP Data received {"connection_id":106005,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaaa8d98012d181e800721af68005100d330..."} 
[2026-06-18 17:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaaa8d98012d181e800721af68005100d330..."} 
[2026-06-18 17:52:25] local.INFO: Processing buffer {"connection_id":106005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaaa8d98012d181e800721af68005100d330..."} 
[2026-06-18 17:52:25] local.INFO: Packet analysis {"connection_id":106005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaaa"} 
[2026-06-18 17:52:25] local.INFO: Extracted packet for processing {"connection_id":106005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaaa"} 
[2026-06-18 17:52:25] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:52:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136972800001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:52:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781785071000,"timestamp_ms":1781785071000,"timestamp_seconds":1781785071,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaa8d98"} 
[2026-06-18 17:52:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:52:25] 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-06-18 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 17:52: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-06-18 17: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-06-18 17:52:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:52:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:52:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:52:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:52:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:52:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:52:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:52:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:52:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136972800001,"66":12515,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:52:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:52:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:52:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136972800001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:52:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:52:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:52:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:52:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:52:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136972800001,"power":12515,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:52:25] local.INFO: DEBUG: GPS processor result {"connection_id":106005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:52:25] local.INFO: GPS data processed {"connection_id":106005,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:52:25] local.INFO: Acknowledgment sent {"connection_id":106005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:52:33] local.INFO: TCP Data received {"connection_id":106184,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:52:33] local.INFO: Processing buffer {"connection_id":106184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:52:33] local.INFO: IMEI packet received {"connection_id":106184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":106184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:52:37] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaaecb88012d82a74005d61830000b00f32a..."} 
[2026-06-18 17:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaaecb88012d82a74005d61830000b00f32a..."} 
[2026-06-18 17:52:37] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaaecb88012d82a74005d61830000b00f32a..."} 
[2026-06-18 17:52:37] local.INFO: Packet analysis {"connection_id":106183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:52:37] local.INFO: Extracted packet for processing {"connection_id":106183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763537216,"raw_latitude":97916976,"longitude_deg":76.3537216,"latitude_deg":9.7916976,"altitude":11,"angle":243,"satellites":42,"speed":17,"hex_longitude":"2d82a740","hex_latitude":"05d61830","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137049088001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94016688080551936,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9031757921392189440,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:37] 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-06-18 17:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781785349000,"timestamp_ms":1781785349000,"timestamp_seconds":1781785349,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaecb88"} 
[2026-06-18 17:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 17:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106183,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:52:37] 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-06-18 17:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137049088001,"66":13059,"156":206,"85":15104,"24":17,"16":94016688080551936,"45":-9031757921392189440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-18 17:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137049088001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:52:37] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 17:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94016688080551936,"km_value":94016688080551.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9031757921392189440,"description":"Unknown IO ID 45"} 
[2026-06-18 17:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137049088001,"power":13059,"unknown_156":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9031757921392189440}} 
[2026-06-18 17:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":106183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345519,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:52:37] local.INFO: GPS data processed {"connection_id":106183,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:52:37] local.INFO: Acknowledgment sent {"connection_id":106183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:52:38] local.INFO: TCP Data received {"connection_id":106184,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:52:38] local.INFO: Processing buffer {"connection_id":106184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:52:38] local.INFO: IMEI packet received {"connection_id":106184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":106184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:52:40] local.INFO: TCP Data received {"connection_id":106184,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:52:40] local.INFO: Processing buffer {"connection_id":106184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:52:40] local.INFO: Packet analysis {"connection_id":106184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:52:40] local.INFO: Extracted packet for processing {"connection_id":106184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:52:40] 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-06-18 17:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:52:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:52:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":106184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345520,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:52:40] local.INFO: GPS data processed {"connection_id":106184,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:52:40] local.INFO: Acknowledgment sent {"connection_id":106184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:52:44] local.INFO: TCP Data received {"connection_id":106781,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:52:44] local.INFO: Processing buffer {"connection_id":106781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:52:44] local.INFO: IMEI packet received {"connection_id":106781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":106781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:52:44] local.INFO: TCP Data received {"connection_id":106780,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:52:44] local.INFO: Processing buffer {"connection_id":106780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:52:44] local.INFO: IMEI packet received {"connection_id":106780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":106780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:52:45] local.INFO: TCP Data received {"connection_id":106780,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaa9e988012ccc8c4007467770001e013827..."} 
[2026-06-18 17:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaa9e988012ccc8c4007467770001e013827..."} 
[2026-06-18 17:52:45] local.INFO: Processing buffer {"connection_id":106780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaa9e988012ccc8c4007467770001e013827..."} 
[2026-06-18 17:52:45] local.INFO: Packet analysis {"connection_id":106780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaa9"} 
[2026-06-18 17:52:45] local.INFO: Extracted packet for processing {"connection_id":106780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaa9"} 
[2026-06-18 17:52:45] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":39,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136890368001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781785029000,"timestamp_ms":1781785029000,"timestamp_seconds":1781785029,"priority":1,"record_length":96,"hex_timestamp":"0000019edaa9e988"} 
[2026-06-18 17:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:52:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:52:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 17:52:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2539,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:52:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136890368001,"66":25908,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136890368001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:52:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:52:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136890368001,"power":25908,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":106780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:52:45] local.INFO: GPS data processed {"connection_id":106780,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:52:45] local.INFO: Acknowledgment sent {"connection_id":106780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:52:49] local.INFO: TCP Data received {"connection_id":106781,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:52:49] local.INFO: Processing buffer {"connection_id":106781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:52:49] local.INFO: IMEI packet received {"connection_id":106781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":106781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:52:51] local.INFO: TCP Data received {"connection_id":106781,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaaadfa0012d181e800721af68005100d330..."} 
[2026-06-18 17:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaaadfa0012d181e800721af68005100d330..."} 
[2026-06-18 17:52:51] local.INFO: Processing buffer {"connection_id":106781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaaadfa0012d181e800721af68005100d330..."} 
[2026-06-18 17:52:51] local.INFO: Packet analysis {"connection_id":106781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaaa"} 
[2026-06-18 17:52:51] local.INFO: Extracted packet for processing {"connection_id":106781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaaa"} 
[2026-06-18 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:52:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136978176001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:52:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:52:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781785092000,"timestamp_ms":1781785092000,"timestamp_seconds":1781785092,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaadfa0"} 
[2026-06-18 17:52:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:52:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:52:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 17:52:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:52:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:52:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:52:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:52:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:52:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:52:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:52:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:52:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:52:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:52:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136978176001,"66":12504,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:52:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:52:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:52:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136978176001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:52:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:52:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:52:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:52:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:52:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136978176001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":106781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:52:51] local.INFO: GPS data processed {"connection_id":106781,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:52:51] local.INFO: Acknowledgment sent {"connection_id":106781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:53:03] local.INFO: TCP Data received {"connection_id":106006,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:03] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:03] local.INFO: IMEI packet received {"connection_id":106006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":106006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:53:08] local.INFO: TCP Data received {"connection_id":106006,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:08] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:08] local.INFO: IMEI packet received {"connection_id":106006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":106006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:53:10] local.INFO: TCP Data received {"connection_id":106006,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:10] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:10] local.INFO: IMEI packet received {"connection_id":106006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":106006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:53:12] local.INFO: TCP Data received {"connection_id":106184,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:12] local.INFO: Processing buffer {"connection_id":106184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:12] local.INFO: Packet analysis {"connection_id":106184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:53:12] local.INFO: Extracted packet for processing {"connection_id":106184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:53:12] 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-06-18 17:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106184,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:53:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":106184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:53:12] local.INFO: GPS data processed {"connection_id":106184,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:53:12] local.INFO: Acknowledgment sent {"connection_id":106184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:53:16] local.INFO: TCP Data received {"connection_id":106006,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:16] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:53:16] local.INFO: IMEI packet received {"connection_id":106006,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":106006,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:53:18] local.INFO: TCP Data received {"connection_id":106006,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaaecf70012d82a58005d617a0000c01002a..."} 
[2026-06-18 17:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaaecf70012d82a58005d617a0000c01002a..."} 
[2026-06-18 17:53:18] local.INFO: Processing buffer {"connection_id":106006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaaecf70012d82a58005d617a0000c01002a..."} 
[2026-06-18 17:53:18] local.INFO: Packet analysis {"connection_id":106006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:53:18] local.INFO: Extracted packet for processing {"connection_id":106006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:53:18] local.INFO: GPS Element Parsed {"raw_longitude":763536768,"raw_latitude":97916832,"longitude_deg":76.3536768,"latitude_deg":9.7916832,"altitude":12,"angle":256,"satellites":42,"speed":18,"hex_longitude":"2d82a580","hex_latitude":"05d617a0","is_valid_coordinates":true} 
[2026-06-18 17:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137049344001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94016713850355712,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9032180133857316864,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] 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-06-18 17:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781785350000,"timestamp_ms":1781785350000,"timestamp_seconds":1781785350,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaecf70"} 
[2026-06-18 17:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303166653517222,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":156,"raw_value":58077557095399456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3668864456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2193047557,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070502,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":218,"raw_value":2929502209,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795241678,"corrected_to":0} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3623955842,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":185,"raw_value":3221607985,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3595337728,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,156,85,24,241,157,16,3,158,199,45,192,25,11,42,10,66,187,30,43,168,128,1,240,51,227,218,214,4,113,205,18,148,185,176,239,2,78,5,9,32],"length":486,"final_offset":616,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2795241678,"validated":0}]} 
[2026-06-18 17:53:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792900896132497408,"timestamp_seconds":792900896132497.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 17:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":106006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":106006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":106006,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137049344001,"66":13059,"156":206,"85":15104,"24":18,"16":94016713850355712,"45":-9032180133857316864},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-06-18 17:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137049344001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:53:18] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-06-18 17:53:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94016713850355712,"km_value":94016713850355.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9032180133857316864,"description":"Unknown IO ID 45"} 
[2026-06-18 17:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137049344001,"power":13059,"unknown_156":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9032180133857316864}} 
[2026-06-18 17:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":106006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345524,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:53:18] local.INFO: GPS data processed {"connection_id":106006,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:53:18] local.INFO: Acknowledgment sent {"connection_id":106006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:53:23] local.INFO: TCP Data received {"connection_id":106781,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaab31a8012d181e800721af68005100d330..."} 
[2026-06-18 17:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaab31a8012d181e800721af68005100d330..."} 
[2026-06-18 17:53:23] local.INFO: Processing buffer {"connection_id":106781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaab31a8012d181e800721af68005100d330..."} 
[2026-06-18 17:53:23] local.INFO: Packet analysis {"connection_id":106781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:53:23] local.INFO: Extracted packet for processing {"connection_id":106781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaab"} 
[2026-06-18 17:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136983552001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781785113000,"timestamp_ms":1781785113000,"timestamp_seconds":1781785113,"priority":1,"record_length":96,"hex_timestamp":"0000019edaab31a8"} 
[2026-06-18 17:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 17:53:23] 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-06-18 17:53:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136983552001,"66":12504,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136983552001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:53:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:53:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136983552001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":106781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:53:23] local.INFO: GPS data processed {"connection_id":106781,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:53:23] local.INFO: Acknowledgment sent {"connection_id":106781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:53:30] local.INFO: TCP Data received {"connection_id":107761,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:53:30] local.INFO: Processing buffer {"connection_id":107761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:53:30] local.INFO: IMEI packet received {"connection_id":107761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:53:30] local.INFO: IMEI acknowledgment sent {"connection_id":107761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:53:35] local.INFO: TCP Data received {"connection_id":107761,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:53:35] local.INFO: Processing buffer {"connection_id":107761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:53:35] local.INFO: IMEI packet received {"connection_id":107761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:53:35] local.INFO: IMEI acknowledgment sent {"connection_id":107761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:53:36] local.INFO: TCP Data received {"connection_id":107761,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:53:36] local.INFO: Processing buffer {"connection_id":107761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:53:36] local.INFO: Packet analysis {"connection_id":107761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:53:36] local.INFO: Extracted packet for processing {"connection_id":107761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:53:36] 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-06-18 17:53:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:53:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:53:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":107761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:53:36] local.INFO: GPS data processed {"connection_id":107761,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:53:36] local.INFO: Acknowledgment sent {"connection_id":107761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:53:38] local.INFO: TCP Data received {"connection_id":106185,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:53:38] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:53:38] local.INFO: IMEI packet received {"connection_id":106185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":106185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:53:41] local.INFO: TCP Data received {"connection_id":107761,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:53:41] local.INFO: Processing buffer {"connection_id":107761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:53:41] local.INFO: Packet analysis {"connection_id":107761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:53:41] local.INFO: Extracted packet for processing {"connection_id":107761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:53:41] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:53:41] 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-06-18 17:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:53:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:53:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":107761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:53:41] local.INFO: GPS data processed {"connection_id":107761,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:53:41] local.INFO: Acknowledgment sent {"connection_id":107761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:53:43] local.INFO: TCP Data received {"connection_id":106185,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:53:43] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:53:43] local.INFO: IMEI packet received {"connection_id":106185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":106185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:53:45] local.INFO: TCP Data received {"connection_id":106185,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:45] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:45] local.INFO: Packet analysis {"connection_id":106185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:53:45] local.INFO: Extracted packet for processing {"connection_id":106185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:53:45] 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-06-18 17:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:53:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:53:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":106185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:53:45] local.INFO: GPS data processed {"connection_id":106185,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:53:45] local.INFO: Acknowledgment sent {"connection_id":106185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:53:49] local.INFO: TCP Data received {"connection_id":106185,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:49] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:53:49] local.INFO: Packet analysis {"connection_id":106185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:53:49] local.INFO: Extracted packet for processing {"connection_id":106185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:53:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:53:49] 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-06-18 17:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106185,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:53:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:53:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":106185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345529,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:53:49] local.INFO: GPS data processed {"connection_id":106185,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:53:49] local.INFO: Acknowledgment sent {"connection_id":106185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:53:49] local.INFO: TCP Data received {"connection_id":106186,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:53:49] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:53:49] local.INFO: IMEI packet received {"connection_id":106186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":106186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:53:54] local.INFO: TCP Data received {"connection_id":106186,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:53:54] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:53:54] local.INFO: IMEI packet received {"connection_id":106186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":106186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:53:55] local.INFO: TCP Data received {"connection_id":106186,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaaeb800012d181e800721af68005100d330..."} 
[2026-06-18 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaaeb800012d181e800721af68005100d330..."} 
[2026-06-18 17:53:55] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaaeb800012d181e800721af68005100d330..."} 
[2026-06-18 17:53:55] local.INFO: Packet analysis {"connection_id":106186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:53:55] local.INFO: Extracted packet for processing {"connection_id":106186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137042688001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781785344000,"timestamp_ms":1781785344000,"timestamp_seconds":1781785344,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaeb800"} 
[2026-06-18 17:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:53:55] 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-06-18 17: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-06-18 17:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137042688001,"66":12461,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137042688001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:53:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137042688001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":106186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:53:55] local.INFO: GPS data processed {"connection_id":106186,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:53:55] local.INFO: Acknowledgment sent {"connection_id":106186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:54:00] local.INFO: TCP Data received {"connection_id":106186,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaaf0a08012d181e800721af68005100d330..."} 
[2026-06-18 17:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaaf0a08012d181e800721af68005100d330..."} 
[2026-06-18 17:54:00] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaaf0a08012d181e800721af68005100d330..."} 
[2026-06-18 17:54:00] local.INFO: Packet analysis {"connection_id":106186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:00] local.INFO: Extracted packet for processing {"connection_id":106186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137048064001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781785365000,"timestamp_ms":1781785365000,"timestamp_seconds":1781785365,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaf0a08"} 
[2026-06-18 17:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:54:00] 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-06-18 17: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106186,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137048064001,"66":12428,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137048064001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:54:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137048064001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":106186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:54:00] local.INFO: GPS data processed {"connection_id":106186,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:54:00] local.INFO: Acknowledgment sent {"connection_id":106186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:54:11] local.INFO: TCP Data received {"connection_id":106782,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:11] local.INFO: Processing buffer {"connection_id":106782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:11] local.INFO: IMEI packet received {"connection_id":106782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":106782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:54:12] local.INFO: TCP Data received {"connection_id":106782,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:12] local.INFO: Processing buffer {"connection_id":106782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:12] local.INFO: IMEI packet received {"connection_id":106782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":106782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:54:20] local.INFO: TCP Data received {"connection_id":106782,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106782,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:20] local.INFO: Processing buffer {"connection_id":106782,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:54:20] local.INFO: IMEI packet received {"connection_id":106782,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":106782,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:54:21] local.INFO: TCP Data received {"connection_id":106782,"ip":"42.106.6.48","data_length":1340,"data_hex":"000000000000030f8e0a0000019edaaf96a8012d827dc005d5f130000700e82b..."} 
[2026-06-18 17:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106782,"packet_length":1340,"packet_hex":"000000000000030f8e0a0000019edaaf96a8012d827dc005d5f130000700e82b..."} 
[2026-06-18 17:54:21] local.INFO: Processing buffer {"connection_id":106782,"buffer_length":1340,"buffer_hex":"000000000000030f8e0a0000019edaaf96a8012d827dc005d5f130000700e82b..."} 
[2026-06-18 17:54:21] local.INFO: Packet analysis {"connection_id":106782,"data_field_length":783,"total_packet_length":795,"buffer_length":1340,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:21] local.INFO: Extracted packet for processing {"connection_id":106782,"packet_length":795,"remaining_buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":763526592,"raw_latitude":97906992,"longitude_deg":76.3526592,"latitude_deg":9.7906992,"altitude":7,"angle":232,"satellites":43,"speed":18,"hex_longitude":"2d827dc0","hex_latitude":"05d5f130","is_valid_coordinates":true} 
[2026-06-18 17:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137062400001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94017620088455168,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043368764184053760,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781785401000,"timestamp_ms":1781785401000,"timestamp_seconds":1781785401,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaf96a8"} 
[2026-06-18 17:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:54:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:54:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 17:54: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-06-18 17:54:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:54:21] 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-06-18 17:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137062400001,"66":13037,"219":206,"85":15104,"24":18,"16":94017620088455168,"45":-9043368764184053760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-18 17:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137062400001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:54:21] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 17:54:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94017620088455168,"km_value":94017620088455.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043368764184053760,"description":"Unknown IO ID 45"} 
[2026-06-18 17:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137062400001,"power":13037,"unknown_219":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":-9043368764184053760}} 
[2026-06-18 17:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":106782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:54:21] local.INFO: GPS data processed {"connection_id":106782,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:54:21] local.INFO: Acknowledgment sent {"connection_id":106782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:54:21] local.INFO: Packet analysis {"connection_id":106782,"data_field_length":783,"total_packet_length":795,"buffer_length":545,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:21] local.INFO: Incomplete packet, waiting for more data {"connection_id":106782,"needed":795,"available":545} 
[2026-06-18 17:54:24] local.INFO: TCP Data received {"connection_id":106783,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:54:24] local.INFO: Processing buffer {"connection_id":106783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:54:24] local.INFO: IMEI packet received {"connection_id":106783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":106783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:54:29] local.INFO: TCP Data received {"connection_id":106783,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:54:29] local.INFO: Processing buffer {"connection_id":106783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:54:29] local.INFO: IMEI packet received {"connection_id":106783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":106783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:54:30] local.INFO: TCP Data received {"connection_id":106783,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:54:30] local.INFO: Processing buffer {"connection_id":106783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:54:30] local.INFO: Packet analysis {"connection_id":106783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:54:30] local.INFO: Extracted packet for processing {"connection_id":106783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:54:30] 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-06-18 17:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:54:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":106783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:54:30] local.INFO: GPS data processed {"connection_id":106783,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:54:30] local.INFO: Acknowledgment sent {"connection_id":106783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:54:34] local.INFO: TCP Data received {"connection_id":106784,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:54:34] local.INFO: Processing buffer {"connection_id":106784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:54:34] local.INFO: IMEI packet received {"connection_id":106784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:54:34] local.INFO: IMEI acknowledgment sent {"connection_id":106784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:54:38] local.INFO: TCP Data received {"connection_id":106784,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:54:38] local.INFO: Processing buffer {"connection_id":106784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:54:38] local.INFO: IMEI packet received {"connection_id":106784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":106784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:54:39] local.INFO: TCP Data received {"connection_id":106782,"ip":"42.106.6.48","data_length":250,"data_hex":"e30010014e0416000000000000019edaaf19a8012d82a40005d5fbe8000700c2..."} 
[2026-06-18 17:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106782,"packet_length":250,"packet_hex":"e30010014e0416000000000000019edaaf19a8012d82a40005d5fbe8000700c2..."} 
[2026-06-18 17:54:39] local.INFO: Processing buffer {"connection_id":106782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaafa648012d82778005d5ec58000700fe2b..."} 
[2026-06-18 17:54:39] local.INFO: Packet analysis {"connection_id":106782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:39] local.INFO: Extracted packet for processing {"connection_id":106782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:39] local.INFO: GPS Element Parsed {"raw_longitude":763524992,"raw_latitude":97905752,"longitude_deg":76.3524992,"latitude_deg":9.7905752,"altitude":7,"angle":254,"satellites":43,"speed":24,"hex_longitude":"2d827780","hex_latitude":"05d5ec58","is_valid_coordinates":true} 
[2026-06-18 17:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137062656001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94017718872702976,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9043861345393364992,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781785405000,"timestamp_ms":1781785405000,"timestamp_seconds":1781785405,"priority":1,"record_length":96,"hex_timestamp":"0000019edaafa648"} 
[2026-06-18 17:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 17:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106782,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137062656001,"66":13222,"219":206,"85":15104,"24":24,"16":94017718872702976,"45":-9043861345393364992},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-18 17:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137062656001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:54:39] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 17:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94017718872702976,"km_value":94017718872702.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9043861345393364992,"description":"Unknown IO ID 45"} 
[2026-06-18 17:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137062656001,"power":13222,"unknown_219":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9043861345393364992}} 
[2026-06-18 17:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":106782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:54:39] local.INFO: GPS data processed {"connection_id":106782,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:54:39] local.INFO: Acknowledgment sent {"connection_id":106782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:54:43] local.INFO: TCP Data received {"connection_id":106784,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:54:43] local.INFO: Processing buffer {"connection_id":106784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:54:43] local.INFO: Packet analysis {"connection_id":106784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:54:43] local.INFO: Extracted packet for processing {"connection_id":106784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:54:43] 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-06-18 17:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:54:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:54:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":106784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:54:43] local.INFO: GPS data processed {"connection_id":106784,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:54:43] local.INFO: Acknowledgment sent {"connection_id":106784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:54:44] local.INFO: TCP Data received {"connection_id":107762,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:44] local.INFO: Processing buffer {"connection_id":107762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:44] local.INFO: IMEI packet received {"connection_id":107762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":107762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:54:48] local.INFO: TCP Data received {"connection_id":107762,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:48] local.INFO: Processing buffer {"connection_id":107762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:48] local.INFO: IMEI packet received {"connection_id":107762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":107762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:54:49] local.INFO: TCP Data received {"connection_id":107762,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:49] local.INFO: Processing buffer {"connection_id":107762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:54:49] local.INFO: IMEI packet received {"connection_id":107762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":107762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:54:53] local.INFO: TCP Data received {"connection_id":107762,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaaf5c10012d181e800721af68005100d32f..."} 
[2026-06-18 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaaf5c10012d181e800721af68005100d32f..."} 
[2026-06-18 17:54:53] local.INFO: Processing buffer {"connection_id":107762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaaf5c10012d181e800721af68005100d32f..."} 
[2026-06-18 17:54:53] local.INFO: Packet analysis {"connection_id":107762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:53] local.INFO: Extracted packet for processing {"connection_id":107762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:54:53] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:54:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137053440001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:54:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:54:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781785386000,"timestamp_ms":1781785386000,"timestamp_seconds":1781785386,"priority":1,"record_length":96,"hex_timestamp":"0000019edaaf5c10"} 
[2026-06-18 17:54:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:54:53] 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-06-18 17:54:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 17:54:53] 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-06-18 17:54:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:54:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:54:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:54:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:54:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:54:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:54:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:54:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:54:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:54:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137053440001,"66":12461,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:54:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:54:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:54:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137053440001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:54:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:54:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:54:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:54:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:54:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137053440001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:54:53] local.INFO: DEBUG: GPS processor result {"connection_id":107762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:54:53] local.INFO: GPS data processed {"connection_id":107762,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:54:53] local.INFO: Acknowledgment sent {"connection_id":107762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:01] local.INFO: TCP Data received {"connection_id":106783,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:01] local.INFO: Processing buffer {"connection_id":106783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:01] local.INFO: Packet analysis {"connection_id":106783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:55:01] local.INFO: Extracted packet for processing {"connection_id":106783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:01] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:01] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":106783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:01] local.INFO: GPS data processed {"connection_id":106783,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:01] local.INFO: Acknowledgment sent {"connection_id":106783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:05] local.INFO: TCP Data received {"connection_id":106007,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:55:05] local.INFO: Processing buffer {"connection_id":106007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:55:05] local.INFO: IMEI packet received {"connection_id":106007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":106007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:55:10] local.INFO: TCP Data received {"connection_id":106007,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106007,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:55:10] local.INFO: Processing buffer {"connection_id":106007,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:55:10] local.INFO: IMEI packet received {"connection_id":106007,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":106007,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:55:11] local.INFO: TCP Data received {"connection_id":106007,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab084f0012d81fe8005d5cfb00006011c2c..."} 
[2026-06-18 17:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab084f0012d81fe8005d5cfb00006011c2c..."} 
[2026-06-18 17:55:11] local.INFO: Processing buffer {"connection_id":106007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab084f0012d81fe8005d5cfb00006011c2c..."} 
[2026-06-18 17:55:11] local.INFO: Packet analysis {"connection_id":106007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:55:11] local.INFO: Extracted packet for processing {"connection_id":106007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:55:11] local.INFO: GPS Element Parsed {"raw_longitude":763494016,"raw_latitude":97898416,"longitude_deg":76.3494016,"latitude_deg":9.7898416,"altitude":6,"angle":284,"satellites":44,"speed":17,"hex_longitude":"2d81fe80","hex_latitude":"05d5cfb0","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137078016001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94019505579098112,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9079186454972796928,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781785462000,"timestamp_ms":1781785462000,"timestamp_seconds":1781785462,"priority":1,"record_length":96,"hex_timestamp":"0000019edab084f0"} 
[2026-06-18 17:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:55: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-06-18 17:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137078016001,"66":13178,"219":206,"85":15104,"24":17,"16":94019505579098112,"45":-9079186454972796928},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,85,24,16,45]} 
[2026-06-18 17:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137078016001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:11] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-06-18 17:55:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94019505579098112,"km_value":94019505579098.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9079186454972796928,"description":"Unknown IO ID 45"} 
[2026-06-18 17:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137078016001,"power":13178,"unknown_219":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":-9079186454972796928}} 
[2026-06-18 17:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":106007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345538,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:11] local.INFO: GPS data processed {"connection_id":106007,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:11] local.INFO: Acknowledgment sent {"connection_id":106007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:14] local.INFO: TCP Data received {"connection_id":106784,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:55:14] local.INFO: Processing buffer {"connection_id":106784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaac6640012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:55:14] local.INFO: Packet analysis {"connection_id":106784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:55:14] local.INFO: Extracted packet for processing {"connection_id":106784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaac"} 
[2026-06-18 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136932096001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781785192000,"timestamp_ms":1781785192000,"timestamp_seconds":1781785192,"priority":1,"record_length":96,"hex_timestamp":"0000019edaac6640"} 
[2026-06-18 17:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:14] 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-06-18 17:55:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136932096001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136932096001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:55:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456136932096001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":106784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:14] local.INFO: GPS data processed {"connection_id":106784,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:14] local.INFO: Acknowledgment sent {"connection_id":106784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:25] local.INFO: TCP Data received {"connection_id":107762,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaafae18012d181e800721af68005100d32f..."} 
[2026-06-18 17:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaafae18012d181e800721af68005100d32f..."} 
[2026-06-18 17:55:25] local.INFO: Processing buffer {"connection_id":107762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaafae18012d181e800721af68005100d32f..."} 
[2026-06-18 17:55:25] local.INFO: Packet analysis {"connection_id":107762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:55:25] local.INFO: Extracted packet for processing {"connection_id":107762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaaf"} 
[2026-06-18 17:55:25] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137058816001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781785407000,"timestamp_ms":1781785407000,"timestamp_seconds":1781785407,"priority":1,"record_length":96,"hex_timestamp":"0000019edaafae18"} 
[2026-06-18 17:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:55: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-06-18 17: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-06-18 17:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":107762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":107762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":107762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137058816001,"66":12461,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137058816001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:25] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:55:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137058816001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":107762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:25] local.INFO: GPS data processed {"connection_id":107762,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:25] local.INFO: Acknowledgment sent {"connection_id":107762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:29] local.INFO: TCP Data received {"connection_id":106785,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:55:29] local.INFO: Processing buffer {"connection_id":106785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:55:29] local.INFO: IMEI packet received {"connection_id":106785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":106785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:55:31] local.INFO: TCP Data received {"connection_id":107763,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:31] local.INFO: Processing buffer {"connection_id":107763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:31] local.INFO: IMEI packet received {"connection_id":107763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":107763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:55:33] local.INFO: TCP Data received {"connection_id":107763,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:33] local.INFO: Processing buffer {"connection_id":107763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:33] local.INFO: IMEI packet received {"connection_id":107763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":107763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:55:34] local.INFO: TCP Data received {"connection_id":106785,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:55:34] local.INFO: Processing buffer {"connection_id":106785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:55:34] local.INFO: IMEI packet received {"connection_id":106785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:55:34] local.INFO: IMEI acknowledgment sent {"connection_id":106785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:55:38] local.INFO: TCP Data received {"connection_id":107763,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:38] local.INFO: Processing buffer {"connection_id":107763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:55:38] local.INFO: IMEI packet received {"connection_id":107763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":107763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:55:38] local.INFO: TCP Data received {"connection_id":106785,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:38] local.INFO: Processing buffer {"connection_id":106785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:38] local.INFO: Packet analysis {"connection_id":106785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:55:38] local.INFO: Extracted packet for processing {"connection_id":106785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:55:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:38] 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-06-18 17:55:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":106785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:38] local.INFO: GPS data processed {"connection_id":106785,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:38] local.INFO: Acknowledgment sent {"connection_id":106785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:41] local.INFO: TCP Data received {"connection_id":107763,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:55:41] local.INFO: Processing buffer {"connection_id":107763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:55:41] local.INFO: Packet analysis {"connection_id":107763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:55:41] local.INFO: Extracted packet for processing {"connection_id":107763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:41] 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-06-18 17:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:55:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":107763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:41] local.INFO: GPS data processed {"connection_id":107763,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:41] local.INFO: Acknowledgment sent {"connection_id":107763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:44] local.INFO: TCP Data received {"connection_id":106007,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab16f50012d81b8c005d541c0000400c92b..."} 
[2026-06-18 17:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab16f50012d81b8c005d541c0000400c92b..."} 
[2026-06-18 17:55:44] local.INFO: Processing buffer {"connection_id":106007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab16f50012d81b8c005d541c0000400c92b..."} 
[2026-06-18 17:55:44] local.INFO: Packet analysis {"connection_id":106007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:55:44] local.INFO: Extracted packet for processing {"connection_id":106007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:55:44] local.INFO: GPS Element Parsed {"raw_longitude":763476160,"raw_latitude":97862080,"longitude_deg":76.347616,"latitude_deg":9.786208,"altitude":4,"angle":201,"satellites":43,"speed":46,"hex_longitude":"2d81b8c0","hex_latitude":"05d541c0","is_valid_coordinates":true} 
[2026-06-18 17:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137092352001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94022035314835456,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9097623065955061760,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:44] 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-06-18 17:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781785522000,"timestamp_ms":1781785522000,"timestamp_seconds":1781785522,"priority":1,"record_length":96,"hex_timestamp":"0000019edab16f50"} 
[2026-06-18 17:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106007,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:55:44] 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-06-18 17:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137092352001,"66":12765,"165":206,"85":15104,"24":46,"16":94022035314835456,"45":-9097623065955061760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-06-18 17:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137092352001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:55:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94022035314835456,"km_value":94022035314835.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9097623065955061760,"description":"Unknown IO ID 45"} 
[2026-06-18 17:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137092352001,"power":12765,"unknown_165":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9097623065955061760}} 
[2026-06-18 17:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":106007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345543,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:44] local.INFO: GPS data processed {"connection_id":106007,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:44] local.INFO: Acknowledgment sent {"connection_id":106007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:47] local.INFO: TCP Data received {"connection_id":106785,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:47] local.INFO: Processing buffer {"connection_id":106785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:55:47] local.INFO: Packet analysis {"connection_id":106785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:55:47] local.INFO: Extracted packet for processing {"connection_id":106785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:55:47] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:55:47] local.INFO: DEBUG: GPS processor result {"connection_id":106785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:47] local.INFO: GPS data processed {"connection_id":106785,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:47] local.INFO: Acknowledgment sent {"connection_id":106785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:49] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:49] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:49] local.INFO: IMEI packet received {"connection_id":106187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":106187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:55:50] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:50] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:50] local.INFO: IMEI packet received {"connection_id":106187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":106187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:55:54] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:54] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:55:54] local.INFO: IMEI packet received {"connection_id":106187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":106187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:55:55] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab00020012d181e800721af68005100d32e..."} 
[2026-06-18 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab00020012d181e800721af68005100d32e..."} 
[2026-06-18 17:55:55] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab00020012d181e800721af68005100d32e..."} 
[2026-06-18 17:55:55] local.INFO: Packet analysis {"connection_id":106187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:55:55] local.INFO: Extracted packet for processing {"connection_id":106187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137064192001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781785428000,"timestamp_ms":1781785428000,"timestamp_seconds":1781785428,"priority":1,"record_length":96,"hex_timestamp":"0000019edab00020"} 
[2026-06-18 17:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:55] 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-06-18 17:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137064192001,"66":12461,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137064192001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137064192001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":106187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:55] local.INFO: GPS data processed {"connection_id":106187,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:55] local.INFO: Acknowledgment sent {"connection_id":106187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:55:59] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab05228012d181e800721af68005100d32e..."} 
[2026-06-18 17:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab05228012d181e800721af68005100d32e..."} 
[2026-06-18 17:55:59] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab05228012d181e800721af68005100d32e..."} 
[2026-06-18 17:55:59] local.INFO: Packet analysis {"connection_id":106187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:55:59] local.INFO: Extracted packet for processing {"connection_id":106187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137069568001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781785449000,"timestamp_ms":1781785449000,"timestamp_seconds":1781785449,"priority":1,"record_length":96,"hex_timestamp":"0000019edab05228"} 
[2026-06-18 17:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:55:59] 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-06-18 17: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-06-18 17:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137069568001,"66":12461,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137069568001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:55:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137069568001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":106187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:55:59] local.INFO: GPS data processed {"connection_id":106187,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:55:59] local.INFO: Acknowledgment sent {"connection_id":106187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:03] local.INFO: TCP Data received {"connection_id":106008,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:03] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:03] local.INFO: IMEI packet received {"connection_id":106008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":106008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:56:05] local.INFO: TCP Data received {"connection_id":106008,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:05] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:05] local.INFO: IMEI packet received {"connection_id":106008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":106008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:56:08] local.INFO: TCP Data received {"connection_id":106008,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:08] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:08] local.INFO: IMEI packet received {"connection_id":106008,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":106008,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:56:09] local.INFO: TCP Data received {"connection_id":106008,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab182d8012d81b20005d53038000400b72a..."} 
[2026-06-18 17:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab182d8012d81b20005d53038000400b72a..."} 
[2026-06-18 17:56:09] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab182d8012d81b20005d53038000400b72a..."} 
[2026-06-18 17:56:09] local.INFO: Packet analysis {"connection_id":106008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:56:09] local.INFO: Extracted packet for processing {"connection_id":106008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:56:09] local.INFO: GPS Element Parsed {"raw_longitude":763474432,"raw_latitude":97857592,"longitude_deg":76.3474432,"latitude_deg":9.7857592,"altitude":4,"angle":183,"satellites":42,"speed":34,"hex_longitude":"2d81b200","hex_latitude":"05d53038","is_valid_coordinates":true} 
[2026-06-18 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137093632001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94022271538036736,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099311915816861696,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:09] 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-06-18 17:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781785527000,"timestamp_ms":1781785527000,"timestamp_seconds":1781785527,"priority":1,"record_length":96,"hex_timestamp":"0000019edab182d8"} 
[2026-06-18 17:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:56: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-06-18 17:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-06-18 17:56:09] 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-06-18 17:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137093632001,"66":13189,"165":206,"85":15104,"24":34,"16":94022271538036736,"45":-9099311915816861696},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-06-18 17:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137093632001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:56:09] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:56:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94022271538036736,"km_value":94022271538036.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099311915816861696,"description":"Unknown IO ID 45"} 
[2026-06-18 17:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137093632001,"power":13189,"unknown_165":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9099311915816861696}} 
[2026-06-18 17:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":106008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345547,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:56:09] local.INFO: GPS data processed {"connection_id":106008,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:56:09] local.INFO: Acknowledgment sent {"connection_id":106008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:10] local.INFO: TCP Data received {"connection_id":106008,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab1a600012d81b68005d50bd0000400ac2a..."} 
[2026-06-18 17:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab1a600012d81b68005d50bd0000400ac2a..."} 
[2026-06-18 17:56:10] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab1a600012d81b68005d50bd0000400ac2a..."} 
[2026-06-18 17:56:10] local.INFO: Packet analysis {"connection_id":106008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:56:10] local.INFO: Extracted packet for processing {"connection_id":106008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:56:10] local.INFO: GPS Element Parsed {"raw_longitude":763475584,"raw_latitude":97848272,"longitude_deg":76.3475584,"latitude_deg":9.7848272,"altitude":4,"angle":172,"satellites":42,"speed":46,"hex_longitude":"2d81b680","hex_latitude":"05d50bd0","is_valid_coordinates":true} 
[2026-06-18 17:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137094912001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94022726804570112,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9101211871910807552,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:10] 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-06-18 17:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781785536000,"timestamp_ms":1781785536000,"timestamp_seconds":1781785536,"priority":1,"record_length":96,"hex_timestamp":"0000019edab1a600"} 
[2026-06-18 17:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:56: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-06-18 17:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 17:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:56:10] 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-06-18 17:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137094912001,"66":13189,"165":206,"85":15104,"24":46,"16":94022726804570112,"45":-9101211871910807552},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-06-18 17:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137094912001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:56:10] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:56:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94022726804570112,"km_value":94022726804570.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9101211871910807552,"description":"Unknown IO ID 45"} 
[2026-06-18 17:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137094912001,"power":13189,"unknown_165":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":-9101211871910807552}} 
[2026-06-18 17:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":106008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345548,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:56:10] local.INFO: GPS data processed {"connection_id":106008,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:56:10] local.INFO: Acknowledgment sent {"connection_id":106008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:17] local.INFO: TCP Data received {"connection_id":107763,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:56:17] local.INFO: Processing buffer {"connection_id":107763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:56:17] local.INFO: Packet analysis {"connection_id":107763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:56:17] local.INFO: Extracted packet for processing {"connection_id":107763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:56:17] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107763,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:56:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":107763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:56:17] local.INFO: GPS data processed {"connection_id":107763,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:56:17] local.INFO: Acknowledgment sent {"connection_id":107763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:24] local.INFO: TCP Data received {"connection_id":106786,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:56:24] local.INFO: Processing buffer {"connection_id":106786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:56:24] local.INFO: IMEI packet received {"connection_id":106786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":106786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:56:29] local.INFO: TCP Data received {"connection_id":106786,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:56:29] local.INFO: Processing buffer {"connection_id":106786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:56:29] local.INFO: IMEI packet received {"connection_id":106786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":106786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:56:31] local.INFO: TCP Data received {"connection_id":106786,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:56:31] local.INFO: Processing buffer {"connection_id":106786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:56:31] local.INFO: Packet analysis {"connection_id":106786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:56:31] local.INFO: Extracted packet for processing {"connection_id":106786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:56:31] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:56:31] 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-06-18 17: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-06-18 17:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:56:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:56:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":106786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:56:31] local.INFO: GPS data processed {"connection_id":106786,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:56:31] local.INFO: Acknowledgment sent {"connection_id":106786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:33] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:56:33] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:56:33] local.INFO: IMEI packet received {"connection_id":106188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":106188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:56:35] local.INFO: TCP Data received {"connection_id":106786,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:56:35] local.INFO: Processing buffer {"connection_id":106786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:56:35] local.INFO: Packet analysis {"connection_id":106786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:56:35] local.INFO: Extracted packet for processing {"connection_id":106786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:56:35] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 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-06-18 17:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:56:35] 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-06-18 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-06-18 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-06-18 17:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:56:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:56:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":106786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:56:35] local.INFO: GPS data processed {"connection_id":106786,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:56:35] local.INFO: Acknowledgment sent {"connection_id":106786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:38] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:56:38] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:56:38] local.INFO: IMEI packet received {"connection_id":106188,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":106188,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:56:40] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:56:40] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:56:40] local.INFO: Packet analysis {"connection_id":106188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:56:40] local.INFO: Extracted packet for processing {"connection_id":106188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:56:40] 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-06-18 17:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:56:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:56:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":106188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:56:40] local.INFO: GPS data processed {"connection_id":106188,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:56:40] local.INFO: Acknowledgment sent {"connection_id":106188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:41] local.INFO: TCP Data received {"connection_id":106008,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab259b0012d819f0005d47d80000600b52a..."} 
[2026-06-18 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab259b0012d819f0005d47d80000600b52a..."} 
[2026-06-18 17:56:41] local.INFO: Processing buffer {"connection_id":106008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab259b0012d819f0005d47d80000600b52a..."} 
[2026-06-18 17:56:41] local.INFO: Packet analysis {"connection_id":106008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:56:41] local.INFO: Extracted packet for processing {"connection_id":106008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:56:41] local.INFO: GPS Element Parsed {"raw_longitude":763469568,"raw_latitude":97811840,"longitude_deg":76.3469568,"latitude_deg":9.781184,"altitude":6,"angle":181,"satellites":42,"speed":43,"hex_longitude":"2d819f00","hex_latitude":"05d47d80","is_valid_coordinates":true} 
[2026-06-18 17:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137106432001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94024874288218112,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9107615427640207360,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:41] 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-06-18 17:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781785582000,"timestamp_ms":1781785582000,"timestamp_seconds":1781785582,"priority":1,"record_length":96,"hex_timestamp":"0000019edab259b0"} 
[2026-06-18 17:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 17:56:41] 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-06-18 17:56:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106008,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:56:41] 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-06-18 17:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137106432001,"66":13243,"165":206,"85":15104,"24":43,"16":94024874288218112,"45":-9107615427640207360},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-06-18 17:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137106432001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:56:41] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:56:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94024874288218112,"km_value":94024874288218.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9107615427640207360,"description":"Unknown IO ID 45"} 
[2026-06-18 17:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137106432001,"power":13243,"unknown_165":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":-9107615427640207360}} 
[2026-06-18 17:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":106008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345553,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:56:41] local.INFO: GPS data processed {"connection_id":106008,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:56:41] local.INFO: Acknowledgment sent {"connection_id":106008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:45] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:56:45] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:56:45] local.INFO: IMEI packet received {"connection_id":106189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":106189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:56:49] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:56:49] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:56:49] local.INFO: IMEI packet received {"connection_id":106189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":106189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:56:51] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0a430012d181e800721af68005100d32d..."} 
[2026-06-18 17:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0a430012d181e800721af68005100d32d..."} 
[2026-06-18 17:56:51] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0a430012d181e800721af68005100d32d..."} 
[2026-06-18 17:56:51] local.INFO: Packet analysis {"connection_id":106189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:56:51] local.INFO: Extracted packet for processing {"connection_id":106189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137074944001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781785470000,"timestamp_ms":1781785470000,"timestamp_seconds":1781785470,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0a430"} 
[2026-06-18 17:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:56:51] 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-06-18 17:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137074944001,"66":12461,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137074944001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:56:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:56:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137074944001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":106189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:56:51] local.INFO: GPS data processed {"connection_id":106189,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:56:51] local.INFO: Acknowledgment sent {"connection_id":106189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:56:57] local.INFO: TCP Data received {"connection_id":106787,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:57] local.INFO: Processing buffer {"connection_id":106787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:57] local.INFO: IMEI packet received {"connection_id":106787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":106787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:56:58] local.INFO: TCP Data received {"connection_id":106787,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:58] local.INFO: Processing buffer {"connection_id":106787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:56:58] local.INFO: IMEI packet received {"connection_id":106787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":106787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:57:00] local.INFO: TCP Data received {"connection_id":106787,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:00] local.INFO: Processing buffer {"connection_id":106787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:00] local.INFO: IMEI packet received {"connection_id":106787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:57:00] local.INFO: IMEI acknowledgment sent {"connection_id":106787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:57:02] local.INFO: TCP Data received {"connection_id":106787,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106787,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:02] local.INFO: Processing buffer {"connection_id":106787,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:02] local.INFO: IMEI packet received {"connection_id":106787,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":106787,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:57:03] local.INFO: TCP Data received {"connection_id":106787,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab278f0012d819bc005d45810000600b22b..."} 
[2026-06-18 17:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab278f0012d819bc005d45810000600b22b..."} 
[2026-06-18 17:57:03] local.INFO: Processing buffer {"connection_id":106787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab278f0012d819bc005d45810000600b22b..."} 
[2026-06-18 17:57:03] local.INFO: Packet analysis {"connection_id":106787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:57:03] local.INFO: Extracted packet for processing {"connection_id":106787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":763468736,"raw_latitude":97802256,"longitude_deg":76.3468736,"latitude_deg":9.7802256,"altitude":6,"angle":178,"satellites":43,"speed":50,"hex_longitude":"2d819bc0","hex_latitude":"05d45810","is_valid_coordinates":true} 
[2026-06-18 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137108992001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94025342439653376,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9106559896480022528,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57: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-06-18 17:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781785590000,"timestamp_ms":1781785590000,"timestamp_seconds":1781785590,"priority":1,"record_length":96,"hex_timestamp":"0000019edab278f0"} 
[2026-06-18 17:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 17:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137108992001,"66":13091,"165":206,"85":15104,"24":50,"16":94025342439653376,"45":-9106559896480022528},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,85,24,16,45]} 
[2026-06-18 17:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137108992001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:57:03] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-06-18 17:57:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94025342439653376,"km_value":94025342439653.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9106559896480022528,"description":"Unknown IO ID 45"} 
[2026-06-18 17:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137108992001,"power":13091,"unknown_165":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":-9106559896480022528}} 
[2026-06-18 17:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":106787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:57:03] local.INFO: GPS data processed {"connection_id":106787,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:57:03] local.INFO: Acknowledgment sent {"connection_id":106787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:57:07] local.INFO: TCP Data received {"connection_id":106786,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:57:08] local.INFO: Processing buffer {"connection_id":106786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:57:08] local.INFO: Packet analysis {"connection_id":106786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:57:08] local.INFO: Extracted packet for processing {"connection_id":106786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:57:08] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:57: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-06-18 17:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:57: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-06-18 17:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:57:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:57:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":106786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:57:08] local.INFO: GPS data processed {"connection_id":106786,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:57:08] local.INFO: Acknowledgment sent {"connection_id":106786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:57:12] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:57:12] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:57:12] local.INFO: Packet analysis {"connection_id":106188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:57:12] local.INFO: Extracted packet for processing {"connection_id":106188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:57:12] 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-06-18 17:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106188,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:57:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":106188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:57:12] local.INFO: GPS data processed {"connection_id":106188,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:57:12] local.INFO: Acknowledgment sent {"connection_id":106188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:57:23] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0f638012d181e800721af68005100d32d..."} 
[2026-06-18 17:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0f638012d181e800721af68005100d32d..."} 
[2026-06-18 17:57:23] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0f638012d181e800721af68005100d32d..."} 
[2026-06-18 17:57:23] local.INFO: Packet analysis {"connection_id":106189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:57:23] local.INFO: Extracted packet for processing {"connection_id":106189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137080320001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781785491000,"timestamp_ms":1781785491000,"timestamp_seconds":1781785491,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0f638"} 
[2026-06-18 17:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:57:23] 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-06-18 17: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137080320001,"66":12428,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137080320001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:57:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:57:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137080320001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":106189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:57:23] local.INFO: GPS data processed {"connection_id":106189,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:57:23] local.INFO: Acknowledgment sent {"connection_id":106189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:57:24] local.INFO: TCP Data received {"connection_id":106788,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:57:24] local.INFO: Processing buffer {"connection_id":106788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:57:24] local.INFO: IMEI packet received {"connection_id":106788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":106788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:57:29] local.INFO: TCP Data received {"connection_id":106788,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:57:29] local.INFO: Processing buffer {"connection_id":106788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:57:29] local.INFO: IMEI packet received {"connection_id":106788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":106788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:57:33] local.INFO: TCP Data received {"connection_id":106789,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:57:33] local.INFO: Processing buffer {"connection_id":106789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:57:33] local.INFO: IMEI packet received {"connection_id":106789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":106789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:57:33] local.INFO: TCP Data received {"connection_id":106788,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:57:33] local.INFO: Processing buffer {"connection_id":106788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaae8150012ccc8c4007467770001e01382a..."} 
[2026-06-18 17:57:33] local.INFO: Packet analysis {"connection_id":106788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:57:33] local.INFO: Extracted packet for processing {"connection_id":106788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaae"} 
[2026-06-18 17:57:33] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456136967424001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781785330000,"timestamp_ms":1781785330000,"timestamp_seconds":1781785330,"priority":1,"record_length":96,"hex_timestamp":"0000019edaae8150"} 
[2026-06-18 17:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 17:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456136967424001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456136967424001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:57:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:57:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456136967424001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":106788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:57:33] local.INFO: GPS data processed {"connection_id":106788,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:57:33] local.INFO: Acknowledgment sent {"connection_id":106788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:57:34] local.INFO: TCP Data received {"connection_id":106787,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab35b80012d81b70005d38120000800862c..."} 
[2026-06-18 17:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab35b80012d81b70005d38120000800862c..."} 
[2026-06-18 17:57:34] local.INFO: Processing buffer {"connection_id":106787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab35b80012d81b70005d38120000800862c..."} 
[2026-06-18 17:57:34] local.INFO: Packet analysis {"connection_id":106787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:57:34] local.INFO: Extracted packet for processing {"connection_id":106787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763475712,"raw_latitude":97747232,"longitude_deg":76.3475712,"latitude_deg":9.7747232,"altitude":8,"angle":134,"satellites":44,"speed":20,"hex_longitude":"2d81b700","hex_latitude":"05d38120","is_valid_coordinates":true} 
[2026-06-18 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137125120001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94028095513690112,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9100719290729404416,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:34] 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-06-18 17:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781785648000,"timestamp_ms":1781785648000,"timestamp_seconds":1781785648,"priority":1,"record_length":96,"hex_timestamp":"0000019edab35b80"} 
[2026-06-18 17:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:57: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-06-18 17:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 17:57:34] 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-06-18 17:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106787,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 17:57: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-06-18 17:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 17:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 17:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137125120001,"66":12852,"166":206,"85":15104,"24":20,"16":94028095513690112,"45":-9100719290729404416},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,85,24,16,45]} 
[2026-06-18 17:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 17:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 17:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137125120001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:57:34] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-18 17:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 17:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94028095513690112,"km_value":94028095513690.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9100719290729404416,"description":"Unknown IO ID 45"} 
[2026-06-18 17:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137125120001,"power":12852,"unknown_166":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9100719290729404416}} 
[2026-06-18 17:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":106787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:57:34] local.INFO: GPS data processed {"connection_id":106787,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:57:34] local.INFO: Acknowledgment sent {"connection_id":106787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:57:38] local.INFO: TCP Data received {"connection_id":106789,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:57:38] local.INFO: Processing buffer {"connection_id":106789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:57:38] local.INFO: IMEI packet received {"connection_id":106789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":106789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:57:40] local.INFO: TCP Data received {"connection_id":106789,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:57:40] local.INFO: Processing buffer {"connection_id":106789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:57:40] local.INFO: Packet analysis {"connection_id":106789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:57:40] local.INFO: Extracted packet for processing {"connection_id":106789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:57:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:57:40] 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-06-18 17:57:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:57:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:57:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":106789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:57:40] local.INFO: GPS data processed {"connection_id":106789,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:57:40] local.INFO: Acknowledgment sent {"connection_id":106789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:57:44] local.INFO: TCP Data received {"connection_id":106190,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:57:44] local.INFO: Processing buffer {"connection_id":106190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:57:44] local.INFO: IMEI packet received {"connection_id":106190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":106190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:57:49] local.INFO: TCP Data received {"connection_id":106190,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:57:49] local.INFO: Processing buffer {"connection_id":106190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:57:49] local.INFO: IMEI packet received {"connection_id":106190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":106190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:57:51] local.INFO: TCP Data received {"connection_id":106190,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab14840012d181e800721af68005100d32e..."} 
[2026-06-18 17:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab14840012d181e800721af68005100d32e..."} 
[2026-06-18 17:57:51] local.INFO: Processing buffer {"connection_id":106190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab14840012d181e800721af68005100d32e..."} 
[2026-06-18 17:57:51] local.INFO: Packet analysis {"connection_id":106190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:57:51] local.INFO: Extracted packet for processing {"connection_id":106190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137085696001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781785512000,"timestamp_ms":1781785512000,"timestamp_seconds":1781785512,"priority":1,"record_length":96,"hex_timestamp":"0000019edab14840"} 
[2026-06-18 17:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 17:57:51] 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-06-18 17:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137085696001,"66":12461,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137085696001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:57:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:57:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137085696001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":106190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:57:51] local.INFO: GPS data processed {"connection_id":106190,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:57:51] local.INFO: Acknowledgment sent {"connection_id":106190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:57:57] local.INFO: TCP Data received {"connection_id":106009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:57] local.INFO: Processing buffer {"connection_id":106009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:57] local.INFO: IMEI packet received {"connection_id":106009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 17:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":106009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:57:58] local.INFO: TCP Data received {"connection_id":106009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:58] local.INFO: Processing buffer {"connection_id":106009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:58] local.INFO: IMEI packet received {"connection_id":106009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":106009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:57:59] local.INFO: TCP Data received {"connection_id":106009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:59] local.INFO: Processing buffer {"connection_id":106009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:57:59] local.INFO: IMEI packet received {"connection_id":106009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":106009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:58:00] local.INFO: TCP Data received {"connection_id":106009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:58:00] local.INFO: Processing buffer {"connection_id":106009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 17:58:00] local.INFO: IMEI packet received {"connection_id":106009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 17:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":106009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:58:05] local.INFO: TCP Data received {"connection_id":106788,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:06] local.INFO: Processing buffer {"connection_id":106788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:06] local.INFO: Packet analysis {"connection_id":106788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:58:06] local.INFO: Extracted packet for processing {"connection_id":106788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 17:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":106788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:06] local.INFO: GPS data processed {"connection_id":106788,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:06] local.INFO: Acknowledgment sent {"connection_id":106788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:58:12] local.INFO: TCP Data received {"connection_id":106789,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:12] local.INFO: Processing buffer {"connection_id":106789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:12] local.INFO: Packet analysis {"connection_id":106789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:58:12] local.INFO: Extracted packet for processing {"connection_id":106789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:12] 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-06-18 17: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-06-18 17:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":106789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:12] local.INFO: GPS data processed {"connection_id":106789,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:12] local.INFO: Acknowledgment sent {"connection_id":106789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:58:23] local.INFO: TCP Data received {"connection_id":106190,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab19a48012d181e800721af68005100d32f..."} 
[2026-06-18 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab19a48012d181e800721af68005100d32f..."} 
[2026-06-18 17:58:23] local.INFO: Processing buffer {"connection_id":106190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab19a48012d181e800721af68005100d32f..."} 
[2026-06-18 17:58:23] local.INFO: Packet analysis {"connection_id":106190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:58:23] local.INFO: Extracted packet for processing {"connection_id":106190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137091072001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781785533000,"timestamp_ms":1781785533000,"timestamp_seconds":1781785533,"priority":1,"record_length":96,"hex_timestamp":"0000019edab19a48"} 
[2026-06-18 17:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:58:23] 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-06-18 17:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:58:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137091072001,"66":13961,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137091072001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:58:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137091072001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":106190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:23] local.INFO: GPS data processed {"connection_id":106190,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:23] local.INFO: Acknowledgment sent {"connection_id":106190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:58:28] local.INFO: TCP Data received {"connection_id":106790,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:58:28] local.INFO: Processing buffer {"connection_id":106790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:58:28] local.INFO: IMEI packet received {"connection_id":106790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":106790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:58:29] local.INFO: TCP Data received {"connection_id":106790,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:58:29] local.INFO: Processing buffer {"connection_id":106790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:58:29] local.INFO: IMEI packet received {"connection_id":106790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":106790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:58:30] local.INFO: TCP Data received {"connection_id":106790,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:30] local.INFO: Processing buffer {"connection_id":106790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:30] local.INFO: Packet analysis {"connection_id":106790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:58:30] local.INFO: Extracted packet for processing {"connection_id":106790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 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-06-18 17:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 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-06-18 17:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:30] 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-06-18 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-06-18 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-06-18 17:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":106790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:30] local.INFO: GPS data processed {"connection_id":106790,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:30] local.INFO: Acknowledgment sent {"connection_id":106790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:58:35] local.INFO: TCP Data received {"connection_id":106790,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:35] local.INFO: Processing buffer {"connection_id":106790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:58:35] local.INFO: Packet analysis {"connection_id":106790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:58:35] local.INFO: Extracted packet for processing {"connection_id":106790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 17:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":106790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:35] local.INFO: GPS data processed {"connection_id":106790,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:35] local.INFO: Acknowledgment sent {"connection_id":106790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:58:38] local.INFO: TCP Data received {"connection_id":106010,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:58:38] local.INFO: Processing buffer {"connection_id":106010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:58:38] local.INFO: IMEI packet received {"connection_id":106010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":106010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:58:43] local.INFO: TCP Data received {"connection_id":106010,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:58:43] local.INFO: Processing buffer {"connection_id":106010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:58:43] local.INFO: IMEI packet received {"connection_id":106010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":106010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:58:44] local.INFO: TCP Data received {"connection_id":106791,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:58:44] local.INFO: Processing buffer {"connection_id":106791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:58:44] local.INFO: IMEI packet received {"connection_id":106791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":106791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:58:45] local.INFO: TCP Data received {"connection_id":106010,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:45] local.INFO: Processing buffer {"connection_id":106010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:45] local.INFO: Packet analysis {"connection_id":106010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:58:45] local.INFO: Extracted packet for processing {"connection_id":106010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:45] 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-06-18 17:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:58:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":106010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:45] local.INFO: GPS data processed {"connection_id":106010,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:45] local.INFO: Acknowledgment sent {"connection_id":106010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:58:49] local.INFO: TCP Data received {"connection_id":106010,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:49] local.INFO: Processing buffer {"connection_id":106010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:58:49] local.INFO: Packet analysis {"connection_id":106010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:58:49] local.INFO: Extracted packet for processing {"connection_id":106010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:58:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":106010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:49] local.INFO: GPS data processed {"connection_id":106010,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:49] local.INFO: Acknowledgment sent {"connection_id":106010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:58:49] local.INFO: TCP Data received {"connection_id":106791,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:58:49] local.INFO: Processing buffer {"connection_id":106791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:58:49] local.INFO: IMEI packet received {"connection_id":106791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":106791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:58:54] local.INFO: TCP Data received {"connection_id":106791,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab1ec50012d181e800721af68005100d32f..."} 
[2026-06-18 17:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab1ec50012d181e800721af68005100d32f..."} 
[2026-06-18 17:58:54] local.INFO: Processing buffer {"connection_id":106791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab1ec50012d181e800721af68005100d32f..."} 
[2026-06-18 17:58:54] local.INFO: Packet analysis {"connection_id":106791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:58:54] local.INFO: Extracted packet for processing {"connection_id":106791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab1"} 
[2026-06-18 17:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":81,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137096448001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323226650312704,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781785554000,"timestamp_ms":1781785554000,"timestamp_seconds":1781785554,"priority":1,"record_length":96,"hex_timestamp":"0000019edab1ec50"} 
[2026-06-18 17:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:58:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137096448001,"66":12374,"120":206,"28":31744,"24":0,"16":3323226650312704,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137096448001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:58:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323226650312704,"km_value":3323226650312.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137096448001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:58:54] local.INFO: DEBUG: GPS processor result {"connection_id":106791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:54] local.INFO: GPS data processed {"connection_id":106791,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:54] local.INFO: Acknowledgment sent {"connection_id":106791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:58:55] local.INFO: TCP Data received {"connection_id":106791,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab23e58012d181e000721ae60005200d12f..."} 
[2026-06-18 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab23e58012d181e000721ae60005200d12f..."} 
[2026-06-18 17:58:55] local.INFO: Processing buffer {"connection_id":106791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab23e58012d181e000721ae60005200d12f..."} 
[2026-06-18 17:58:55] local.INFO: Packet analysis {"connection_id":106791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:58:55] local.INFO: Extracted packet for processing {"connection_id":106791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647840,"longitude_deg":75.6555264,"latitude_deg":11.964784,"altitude":82,"angle":209,"satellites":47,"speed":2,"hex_longitude":"2d181e00","hex_latitude":"0721ae60","is_valid_coordinates":true} 
[2026-06-18 17:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137101824001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323243830181888,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-06-18 17:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781785575000,"timestamp_ms":1781785575000,"timestamp_seconds":1781785575,"priority":1,"record_length":96,"hex_timestamp":"0000019edab23e58"} 
[2026-06-18 17:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:58:55] 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-06-18 17:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 17:58:55] 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-06-18 17:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137101824001,"66":12526,"120":206,"28":31744,"24":2,"16":3323243830181888,"45":1737967274329860096},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137101824001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:58:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323243830181888,"km_value":3323243830181.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-06-18 17:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137101824001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-06-18 17:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":106791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:58:55] local.INFO: GPS data processed {"connection_id":106791,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:58:55] local.INFO: Acknowledgment sent {"connection_id":106791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:59:06] local.INFO: TCP Data received {"connection_id":106790,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:59:06] local.INFO: Processing buffer {"connection_id":106790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:59:06] local.INFO: Packet analysis {"connection_id":106790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:59:06] local.INFO: Extracted packet for processing {"connection_id":106790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 17:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:59:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 17:59:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:59:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:59:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:59:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":106790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:59:06] local.INFO: GPS data processed {"connection_id":106790,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:59:06] local.INFO: Acknowledgment sent {"connection_id":106790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:59:24] local.INFO: TCP Data received {"connection_id":106792,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:59:24] local.INFO: Processing buffer {"connection_id":106792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:59:24] local.INFO: IMEI packet received {"connection_id":106792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 17:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":106792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:59:27] local.INFO: TCP Data received {"connection_id":106791,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab29060012d181e000721ae18005200db2f..."} 
[2026-06-18 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab29060012d181e000721ae18005200db2f..."} 
[2026-06-18 17:59:27] local.INFO: Processing buffer {"connection_id":106791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab29060012d181e000721ae18005200db2f..."} 
[2026-06-18 17:59:27] local.INFO: Packet analysis {"connection_id":106791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:59:27] local.INFO: Extracted packet for processing {"connection_id":106791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":82,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137107200001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323248125149184,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841437184,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781785596000,"timestamp_ms":1781785596000,"timestamp_seconds":1781785596,"priority":1,"record_length":96,"hex_timestamp":"0000019edab29060"} 
[2026-06-18 17:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 17:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137107200001,"66":12526,"120":206,"28":31744,"24":0,"16":3323248125149184,"45":1737826536841437184},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137107200001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:59:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323248125149184,"km_value":3323248125149.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841437184,"description":"Unknown IO ID 45"} 
[2026-06-18 17:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137107200001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841437184}} 
[2026-06-18 17:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":106791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:59:27] local.INFO: GPS data processed {"connection_id":106791,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:59:27] local.INFO: Acknowledgment sent {"connection_id":106791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:59:29] local.INFO: TCP Data received {"connection_id":106792,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:59:29] local.INFO: Processing buffer {"connection_id":106792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 17:59:29] local.INFO: IMEI packet received {"connection_id":106792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 17:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":106792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:59:31] local.INFO: TCP Data received {"connection_id":106792,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:59:31] local.INFO: Processing buffer {"connection_id":106792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 17:59:31] local.INFO: Packet analysis {"connection_id":106792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:59:31] local.INFO: Extracted packet for processing {"connection_id":106792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 17:59:31] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 17:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 17:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 17:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 17: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-06-18 17:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 17:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 17:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 17:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 17:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 17:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 17:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:59:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 17:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:59:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 17:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":106792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:59:31] local.INFO: GPS data processed {"connection_id":106792,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:59:31] local.INFO: Acknowledgment sent {"connection_id":106792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:59:33] local.INFO: TCP Data received {"connection_id":106794,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:59:33] local.INFO: Processing buffer {"connection_id":106794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:59:33] local.INFO: IMEI packet received {"connection_id":106794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 17:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":106794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:59:38] local.INFO: TCP Data received {"connection_id":106794,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:59:38] local.INFO: Processing buffer {"connection_id":106794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 17:59:38] local.INFO: IMEI packet received {"connection_id":106794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 17:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":106794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:59:40] local.INFO: TCP Data received {"connection_id":106794,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:59:40] local.INFO: Processing buffer {"connection_id":106794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 17:59:40] local.INFO: Packet analysis {"connection_id":106794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:59:40] local.INFO: Extracted packet for processing {"connection_id":106794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 17:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 17:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 17:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 17:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 17:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 17:59:40] 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-06-18 17:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 17:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 17:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 17:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 17:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 17:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 17:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 17:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:59:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 17:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 17:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 17:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 17:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":106794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345575,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:59:40] local.INFO: GPS data processed {"connection_id":106794,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:59:40] local.INFO: Acknowledgment sent {"connection_id":106794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 17:59:49] local.INFO: TCP Data received {"connection_id":106011,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:59:49] local.INFO: Processing buffer {"connection_id":106011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:59:49] local.INFO: IMEI packet received {"connection_id":106011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 17:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":106011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 17:59:54] local.INFO: TCP Data received {"connection_id":106011,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:59:54] local.INFO: Processing buffer {"connection_id":106011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 17:59:54] local.INFO: IMEI packet received {"connection_id":106011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 17:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":106011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 17:59:56] local.INFO: TCP Data received {"connection_id":106011,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab2e268012d181e000721ae18005200db30..."} 
[2026-06-18 17:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab2e268012d181e000721ae18005200db30..."} 
[2026-06-18 17:59:56] local.INFO: Processing buffer {"connection_id":106011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab2e268012d181e000721ae18005200db30..."} 
[2026-06-18 17:59:56] local.INFO: Packet analysis {"connection_id":106011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:59:56] local.INFO: Extracted packet for processing {"connection_id":106011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab2"} 
[2026-06-18 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":82,"angle":219,"satellites":48,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-06-18 17: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-06-18 17:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137112576001,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323248125149184,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-06-18 17:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 17:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781785617000,"timestamp_ms":1781785617000,"timestamp_seconds":1781785617,"priority":1,"record_length":96,"hex_timestamp":"0000019edab2e268"} 
[2026-06-18 17:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 17: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 17:59:56] 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-06-18 17: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-06-18 17:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 17:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 17:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 17:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 17:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 17:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 17:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 17:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137112576001,"66":12461,"120":206,"28":31744,"24":0,"16":3323248125149184,"45":1737826536841418752},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 17:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 17:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 17:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137112576001,"description":"Unknown IO ID 0"} 
[2026-06-18 17:59:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 17:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 17:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323248125149184,"km_value":3323248125149.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 17:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-06-18 17:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137112576001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-06-18 17:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":106011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 17:59:56] local.INFO: GPS data processed {"connection_id":106011,"processed":1,"errors":0,"total":1} 
[2026-06-18 17:59:56] local.INFO: Acknowledgment sent {"connection_id":106011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:00] local.INFO: TCP Data received {"connection_id":106011,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab33470012d181e000721ae18005200db2e..."} 
[2026-06-18 18:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab33470012d181e000721ae18005200db2e..."} 
[2026-06-18 18:00:00] local.INFO: Processing buffer {"connection_id":106011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab33470012d181e000721ae18005200db2e..."} 
[2026-06-18 18:00:00] local.INFO: Packet analysis {"connection_id":106011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:00:00] local.INFO: Extracted packet for processing {"connection_id":106011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756555264,"raw_latitude":119647768,"longitude_deg":75.6555264,"latitude_deg":11.9647768,"altitude":82,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2d181e00","hex_latitude":"0721ae18","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137117952001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3323248125149184,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841418752,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781785638000,"timestamp_ms":1781785638000,"timestamp_seconds":1781785638,"priority":1,"record_length":96,"hex_timestamp":"0000019edab33470"} 
[2026-06-18 18:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:00] 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-06-18 18:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137117952001,"66":12504,"120":206,"28":31744,"24":0,"16":3323248125149184,"45":1737826536841418752},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 18:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137117952001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 18:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3323248125149184,"km_value":3323248125149.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841418752,"description":"Unknown IO ID 45"} 
[2026-06-18 18:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137117952001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737826536841418752}} 
[2026-06-18 18:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":106011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:00] local.INFO: GPS data processed {"connection_id":106011,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:00] local.INFO: Acknowledgment sent {"connection_id":106011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:02] local.INFO: TCP Data received {"connection_id":106792,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:02] local.INFO: Processing buffer {"connection_id":106792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:02] local.INFO: Packet analysis {"connection_id":106792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:00:02] local.INFO: Extracted packet for processing {"connection_id":106792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 18:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":106792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:02] local.INFO: GPS data processed {"connection_id":106792,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:02] local.INFO: Acknowledgment sent {"connection_id":106792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:12] local.INFO: TCP Data received {"connection_id":106794,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:00:12] local.INFO: Processing buffer {"connection_id":106794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab0fe08012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:00:12] local.INFO: Packet analysis {"connection_id":106794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 18:00:12] local.INFO: Extracted packet for processing {"connection_id":106794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab0"} 
[2026-06-18 18:00:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137009152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781785493000,"timestamp_ms":1781785493000,"timestamp_seconds":1781785493,"priority":1,"record_length":96,"hex_timestamp":"0000019edab0fe08"} 
[2026-06-18 18:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:12] 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-06-18 18:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137009152001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137009152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137009152001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":106794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:12] local.INFO: GPS data processed {"connection_id":106794,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:12] local.INFO: Acknowledgment sent {"connection_id":106794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:29] local.INFO: TCP Data received {"connection_id":107764,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:00:29] local.INFO: Processing buffer {"connection_id":107764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:00:29] local.INFO: IMEI packet received {"connection_id":107764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":107764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:00:32] local.INFO: TCP Data received {"connection_id":107765,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:32] local.INFO: Processing buffer {"connection_id":107765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:32] local.INFO: IMEI packet received {"connection_id":107765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":107765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:00:33] local.INFO: TCP Data received {"connection_id":107765,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:33] local.INFO: Processing buffer {"connection_id":107765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:33] local.INFO: IMEI packet received {"connection_id":107765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":107765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:00:35] local.INFO: TCP Data received {"connection_id":107764,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:00:35] local.INFO: Processing buffer {"connection_id":107764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:00:35] local.INFO: IMEI packet received {"connection_id":107764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:00:35] local.INFO: IMEI acknowledgment sent {"connection_id":107764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:00:38] local.INFO: TCP Data received {"connection_id":107765,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:38] local.INFO: Processing buffer {"connection_id":107765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:00:38] local.INFO: IMEI packet received {"connection_id":107765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":107765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:00:39] local.INFO: TCP Data received {"connection_id":107764,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:39] local.INFO: Processing buffer {"connection_id":107764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:39] local.INFO: Packet analysis {"connection_id":107764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:00:39] local.INFO: Extracted packet for processing {"connection_id":107764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:00:39] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 18:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:39] 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-06-18 18: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-06-18 18:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":107764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:39] local.INFO: GPS data processed {"connection_id":107764,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:39] local.INFO: Acknowledgment sent {"connection_id":107764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:39] local.INFO: TCP Data received {"connection_id":107765,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:00:39] local.INFO: Processing buffer {"connection_id":107765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:00:39] local.INFO: Packet analysis {"connection_id":107765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:00:39] local.INFO: Extracted packet for processing {"connection_id":107765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:00:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":107765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:40] local.INFO: GPS data processed {"connection_id":107765,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:40] local.INFO: Acknowledgment sent {"connection_id":107765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:41] local.INFO: TCP Data received {"connection_id":107766,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:41] local.INFO: Processing buffer {"connection_id":107766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:41] local.INFO: IMEI packet received {"connection_id":107766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":107766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:00:42] local.INFO: TCP Data received {"connection_id":107764,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:42] local.INFO: Processing buffer {"connection_id":107764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:00:42] local.INFO: Packet analysis {"connection_id":107764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:00:42] local.INFO: Extracted packet for processing {"connection_id":107764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:00:42] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 18:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:42] 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-06-18 18: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-06-18 18:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":107764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:42] local.INFO: GPS data processed {"connection_id":107764,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:42] local.INFO: Acknowledgment sent {"connection_id":107764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:44] local.INFO: TCP Data received {"connection_id":107766,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:44] local.INFO: Processing buffer {"connection_id":107766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:44] local.INFO: IMEI packet received {"connection_id":107766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":107766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:00:45] local.INFO: TCP Data received {"connection_id":107766,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:45] local.INFO: Processing buffer {"connection_id":107766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:45] local.INFO: IMEI packet received {"connection_id":107766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:00:45] local.INFO: IMEI acknowledgment sent {"connection_id":107766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:00:49] local.INFO: TCP Data received {"connection_id":107766,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:49] local.INFO: Processing buffer {"connection_id":107766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:00:49] local.INFO: IMEI packet received {"connection_id":107766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":107766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:00:53] local.INFO: TCP Data received {"connection_id":107766,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab58e00012d186200072183d8005400682d..."} 
[2026-06-18 18:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab58e00012d186200072183d8005400682d..."} 
[2026-06-18 18:00:53] local.INFO: Processing buffer {"connection_id":107766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab58e00012d186200072183d8005400682d..."} 
[2026-06-18 18:00:53] local.INFO: Packet analysis {"connection_id":107766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:00:53] local.INFO: Extracted packet for processing {"connection_id":107766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:00:53] local.INFO: GPS Element Parsed {"raw_longitude":756572672,"raw_latitude":119636952,"longitude_deg":75.6572672,"latitude_deg":11.9636952,"altitude":84,"angle":104,"satellites":45,"speed":25,"hex_longitude":"2d186200","hex_latitude":"072183d8","is_valid_coordinates":true} 
[2026-06-18 18:00: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-06-18 18:00:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137159168001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3324278917300224,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754222454232317952,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:00:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781785792000,"timestamp_ms":1781785792000,"timestamp_seconds":1781785792,"priority":1,"record_length":96,"hex_timestamp":"0000019edab58e00"} 
[2026-06-18 18:00:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:53] 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-06-18 18:00:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:00: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-06-18 18:00:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:00:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:00:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:00:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:00:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137159168001,"66":13993,"121":206,"28":31744,"24":25,"16":3324278917300224,"45":1754222454232317952},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:00:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:00:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:00:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137159168001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:00:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:00:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3324278917300224,"km_value":3324278917300.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754222454232317952,"description":"Unknown IO ID 45"} 
[2026-06-18 18:00:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137159168001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1754222454232317952}} 
[2026-06-18 18:00:53] local.INFO: DEBUG: GPS processor result {"connection_id":107766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:53] local.INFO: GPS data processed {"connection_id":107766,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:53] local.INFO: Acknowledgment sent {"connection_id":107766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:55] local.INFO: TCP Data received {"connection_id":107766,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab599b8012d186ac0072182980054005a2c..."} 
[2026-06-18 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab599b8012d186ac0072182980054005a2c..."} 
[2026-06-18 18:00:55] local.INFO: Processing buffer {"connection_id":107766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab599b8012d186ac0072182980054005a2c..."} 
[2026-06-18 18:00:55] local.INFO: Packet analysis {"connection_id":107766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:00:55] local.INFO: Extracted packet for processing {"connection_id":107766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756574912,"raw_latitude":119636632,"longitude_deg":75.6574912,"latitude_deg":11.9636632,"altitude":84,"angle":90,"satellites":44,"speed":29,"hex_longitude":"2d186ac0","hex_latitude":"07218298","is_valid_coordinates":true} 
[2026-06-18 18:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137162752001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3324386291482624,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756966835254974464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781785795000,"timestamp_ms":1781785795000,"timestamp_seconds":1781785795,"priority":1,"record_length":96,"hex_timestamp":"0000019edab599b8"} 
[2026-06-18 18:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:55] 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-06-18 18:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137162752001,"66":13972,"121":206,"28":31744,"24":29,"16":3324386291482624,"45":1756966835254974464},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137162752001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3324386291482624,"km_value":3324386291482.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756966835254974464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137162752001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1756966835254974464}} 
[2026-06-18 18:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":107766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:55] local.INFO: GPS data processed {"connection_id":107766,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:55] local.INFO: Acknowledgment sent {"connection_id":107766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:00:56] local.INFO: TCP Data received {"connection_id":107766,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab5b8f8012d18844007218200005400672f..."} 
[2026-06-18 18:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab5b8f8012d18844007218200005400672f..."} 
[2026-06-18 18:00:56] local.INFO: Processing buffer {"connection_id":107766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab5b8f8012d18844007218200005400672f..."} 
[2026-06-18 18:00:56] local.INFO: Packet analysis {"connection_id":107766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:00:56] local.INFO: Extracted packet for processing {"connection_id":107766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756581440,"raw_latitude":119636480,"longitude_deg":75.658144,"latitude_deg":11.963648,"altitude":84,"angle":103,"satellites":47,"speed":34,"hex_longitude":"2d188440","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-06-18 18:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163520001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3324695529127936,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759429741301110784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781785803000,"timestamp_ms":1781785803000,"timestamp_seconds":1781785803,"priority":1,"record_length":96,"hex_timestamp":"0000019edab5b8f8"} 
[2026-06-18 18:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:00:56] 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-06-18 18:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-06-18 18:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163520001,"66":14265,"121":206,"28":31744,"24":34,"16":3324695529127936,"45":1759429741301110784},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163520001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:00:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:00:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3324695529127936,"km_value":3324695529127.936,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759429741301110784,"description":"Unknown IO ID 45"} 
[2026-06-18 18:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163520001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1759429741301110784}} 
[2026-06-18 18:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":107766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:00:56] local.INFO: GPS data processed {"connection_id":107766,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:00:56] local.INFO: Acknowledgment sent {"connection_id":107766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:01:11] local.INFO: TCP Data received {"connection_id":107765,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:01:11] local.INFO: Processing buffer {"connection_id":107765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:01:11] local.INFO: Packet analysis {"connection_id":107765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:01:11] local.INFO: Extracted packet for processing {"connection_id":107765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:01:11] 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-06-18 18:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107765,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:01:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":107765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:01:11] local.INFO: GPS data processed {"connection_id":107765,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:01:11] local.INFO: Acknowledgment sent {"connection_id":107765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:01:24] local.INFO: TCP Data received {"connection_id":106797,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:01:24] local.INFO: Processing buffer {"connection_id":106797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:01:24] local.INFO: IMEI packet received {"connection_id":106797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":106797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:01:29] local.INFO: TCP Data received {"connection_id":106797,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:01:29] local.INFO: Processing buffer {"connection_id":106797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:01:29] local.INFO: IMEI packet received {"connection_id":106797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":106797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:01:30] local.INFO: TCP Data received {"connection_id":106797,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:01:30] local.INFO: Processing buffer {"connection_id":106797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:01:30] local.INFO: Packet analysis {"connection_id":106797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:01:30] local.INFO: Extracted packet for processing {"connection_id":106797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:01:30] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 18:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:01:30] 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-06-18 18:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:01:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":106797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:01:30] local.INFO: GPS data processed {"connection_id":106797,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:01:30] local.INFO: Acknowledgment sent {"connection_id":106797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:01:33] local.INFO: TCP Data received {"connection_id":106798,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:01:33] local.INFO: Processing buffer {"connection_id":106798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:01:33] local.INFO: IMEI packet received {"connection_id":106798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":106798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:01:35] local.INFO: TCP Data received {"connection_id":106797,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:01:35] local.INFO: Processing buffer {"connection_id":106797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:01:35] local.INFO: Packet analysis {"connection_id":106797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:01:35] local.INFO: Extracted packet for processing {"connection_id":106797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 18:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:01:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:01:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:01:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":106797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:01:35] local.INFO: GPS data processed {"connection_id":106797,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:01:35] local.INFO: Acknowledgment sent {"connection_id":106797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:01:38] local.INFO: TCP Data received {"connection_id":106798,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:01:38] local.INFO: Processing buffer {"connection_id":106798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:01:38] local.INFO: IMEI packet received {"connection_id":106798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":106798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:01:43] local.INFO: TCP Data received {"connection_id":106798,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:01:43] local.INFO: Processing buffer {"connection_id":106798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:01:43] local.INFO: Packet analysis {"connection_id":106798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:01:43] local.INFO: Extracted packet for processing {"connection_id":106798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:01:43] 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-06-18 18:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:01:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":106798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:01:43] local.INFO: GPS data processed {"connection_id":106798,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:01:43] local.INFO: Acknowledgment sent {"connection_id":106798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:01:44] local.INFO: TCP Data received {"connection_id":106191,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:01:44] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:01:44] local.INFO: IMEI packet received {"connection_id":106191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":106191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:01:49] local.INFO: TCP Data received {"connection_id":106191,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:01:49] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:01:49] local.INFO: IMEI packet received {"connection_id":106191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":106191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:01:51] local.INFO: TCP Data received {"connection_id":106191,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab5c4b0012d188d8007217e80005400732e..."} 
[2026-06-18 18:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab5c4b0012d188d8007217e80005400732e..."} 
[2026-06-18 18:01:51] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab5c4b0012d188d8007217e80005400732e..."} 
[2026-06-18 18:01:51] local.INFO: Packet analysis {"connection_id":106191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:01:51] local.INFO: Extracted packet for processing {"connection_id":106191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":756583808,"raw_latitude":119635584,"longitude_deg":75.6583808,"latitude_deg":11.9635584,"altitude":84,"angle":115,"satellites":46,"speed":32,"hex_longitude":"2d188d80","hex_latitude":"07217e80","is_valid_coordinates":true} 
[2026-06-18 18:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:01:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137165568001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3324815788212224,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766607353207193600,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:01:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781785806000,"timestamp_ms":1781785806000,"timestamp_seconds":1781785806,"priority":1,"record_length":96,"hex_timestamp":"0000019edab5c4b0"} 
[2026-06-18 18:01:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:01:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:01:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 18:01:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:01:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:01:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:01:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:01:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:01:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:01:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:01:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:01:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:01:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:01:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137165568001,"66":14070,"121":206,"28":31744,"24":32,"16":3324815788212224,"45":1766607353207193600},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:01:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:01:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:01:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137165568001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:01:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:01:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:01:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3324815788212224,"km_value":3324815788212.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:01:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766607353207193600,"description":"Unknown IO ID 45"} 
[2026-06-18 18:01:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137165568001,"power":14070,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1766607353207193600}} 
[2026-06-18 18:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":106191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:01:51] local.INFO: GPS data processed {"connection_id":106191,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:01:51] local.INFO: Acknowledgment sent {"connection_id":106191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:01:52] local.INFO: TCP Data received {"connection_id":106191,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab5efa8012d18af0007216ff0005500852c..."} 
[2026-06-18 18:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab5efa8012d18af0007216ff0005500852c..."} 
[2026-06-18 18:01:52] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab5efa8012d18af0007216ff0005500852c..."} 
[2026-06-18 18:01:52] local.INFO: Packet analysis {"connection_id":106191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:01:52] local.INFO: Extracted packet for processing {"connection_id":106191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119631856,"longitude_deg":75.6592384,"latitude_deg":11.9631856,"altitude":85,"angle":133,"satellites":44,"speed":35,"hex_longitude":"2d18af00","hex_latitude":"07216ff0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137166336001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3325266759778304,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1769210996741537792,"note":"Value kept but may cause issues"} 
[2026-06-18 18:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781785817000,"timestamp_ms":1781785817000,"timestamp_seconds":1781785817,"priority":1,"record_length":96,"hex_timestamp":"0000019edab5efa8"} 
[2026-06-18 18:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-18 18:01:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137166336001,"66":13580,"121":206,"28":31744,"24":35,"16":3325266759778304,"45":1769210996741537792},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137166336001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:01:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:01:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3325266759778304,"km_value":3325266759778.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1769210996741537792,"description":"Unknown IO ID 45"} 
[2026-06-18 18:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137166336001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1769210996741537792}} 
[2026-06-18 18:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":106191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:01:52] local.INFO: GPS data processed {"connection_id":106191,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:01:52] local.INFO: Acknowledgment sent {"connection_id":106191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:02:15] local.INFO: TCP Data received {"connection_id":106798,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:15] local.INFO: Processing buffer {"connection_id":106798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:15] local.INFO: Packet analysis {"connection_id":106798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:02:15] local.INFO: Extracted packet for processing {"connection_id":106798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:02:15] 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-06-18 18:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106798,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:02:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:02:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":106798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:02:15] local.INFO: GPS data processed {"connection_id":106798,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:02:15] local.INFO: Acknowledgment sent {"connection_id":106798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:02:24] local.INFO: TCP Data received {"connection_id":106191,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab70cd0012d18ff400720d130003b007b2f..."} 
[2026-06-18 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab70cd0012d18ff400720d130003b007b2f..."} 
[2026-06-18 18:02:24] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab70cd0012d18ff400720d130003b007b2f..."} 
[2026-06-18 18:02:24] local.INFO: Packet analysis {"connection_id":106191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:02:24] local.INFO: Extracted packet for processing {"connection_id":106191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756612928,"raw_latitude":119591216,"longitude_deg":75.6612928,"latitude_deg":11.9591216,"altitude":59,"angle":123,"satellites":47,"speed":36,"hex_longitude":"2d18ff40","hex_latitude":"0720d130","is_valid_coordinates":true} 
[2026-06-18 18:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137187072001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3327555977347072,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798906606773561344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781785890000,"timestamp_ms":1781785890000,"timestamp_seconds":1781785890,"priority":1,"record_length":96,"hex_timestamp":"0000019edab70cd0"} 
[2026-06-18 18:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:02: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-06-18 18:02:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 18:02:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:02:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137187072001,"66":14298,"121":206,"28":31744,"24":36,"16":3327555977347072,"45":1798906606773561344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137187072001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:02:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:02:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3327555977347072,"km_value":3327555977347.072,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798906606773561344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137187072001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1798906606773561344}} 
[2026-06-18 18:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":106191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:02:24] local.INFO: GPS data processed {"connection_id":106191,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:02:24] local.INFO: Acknowledgment sent {"connection_id":106191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:02:24] local.INFO: TCP Data received {"connection_id":107767,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:02:24] local.INFO: Processing buffer {"connection_id":107767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:02:24] local.INFO: IMEI packet received {"connection_id":107767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":107767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:02:29] local.INFO: TCP Data received {"connection_id":107767,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:02:29] local.INFO: Processing buffer {"connection_id":107767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:02:29] local.INFO: IMEI packet received {"connection_id":107767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":107767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:02:31] local.INFO: TCP Data received {"connection_id":107767,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:02:31] local.INFO: Processing buffer {"connection_id":107767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab31918012ccc8c4007467770001e013828..."} 
[2026-06-18 18:02:31] local.INFO: Packet analysis {"connection_id":107767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:02:31] local.INFO: Extracted packet for processing {"connection_id":107767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab3"} 
[2026-06-18 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137044480001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781785631000,"timestamp_ms":1781785631000,"timestamp_seconds":1781785631,"priority":1,"record_length":96,"hex_timestamp":"0000019edab31918"} 
[2026-06-18 18:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137044480001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137044480001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:02:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:02:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137044480001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":107767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:02:31] local.INFO: GPS data processed {"connection_id":107767,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:02:31] local.INFO: Acknowledgment sent {"connection_id":107767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:02:38] local.INFO: TCP Data received {"connection_id":107768,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:02:38] local.INFO: Processing buffer {"connection_id":107768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:02:38] local.INFO: IMEI packet received {"connection_id":107768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":107768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:02:43] local.INFO: TCP Data received {"connection_id":107768,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:02:43] local.INFO: Processing buffer {"connection_id":107768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:02:43] local.INFO: IMEI packet received {"connection_id":107768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":107768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:02:44] local.INFO: TCP Data received {"connection_id":106013,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:02:44] local.INFO: Processing buffer {"connection_id":106013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:02:44] local.INFO: IMEI packet received {"connection_id":106013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":106013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:02:44] local.INFO: TCP Data received {"connection_id":107768,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:44] local.INFO: Processing buffer {"connection_id":107768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:44] local.INFO: Packet analysis {"connection_id":107768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:02:44] local.INFO: Extracted packet for processing {"connection_id":107768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:02:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:02:44] 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-06-18 18:02:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:02:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:02:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":107768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:02:44] local.INFO: GPS data processed {"connection_id":107768,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:02:44] local.INFO: Acknowledgment sent {"connection_id":107768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:02:48] local.INFO: TCP Data received {"connection_id":107768,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:48] local.INFO: Processing buffer {"connection_id":107768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:02:48] local.INFO: Packet analysis {"connection_id":107768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:02:48] local.INFO: Extracted packet for processing {"connection_id":107768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:02:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107768,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:02:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:02:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":107768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:02:48] local.INFO: GPS data processed {"connection_id":107768,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:02:48] local.INFO: Acknowledgment sent {"connection_id":107768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:02:49] local.INFO: TCP Data received {"connection_id":106013,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:02:49] local.INFO: Processing buffer {"connection_id":106013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:02:49] local.INFO: IMEI packet received {"connection_id":106013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":106013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:02:51] local.INFO: TCP Data received {"connection_id":106013,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab72ff8012d1921400720bfc80032006f30..."} 
[2026-06-18 18:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab72ff8012d1921400720bfc80032006f30..."} 
[2026-06-18 18:02:51] local.INFO: Processing buffer {"connection_id":106013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab72ff8012d1921400720bfc80032006f30..."} 
[2026-06-18 18:02:51] local.INFO: Packet analysis {"connection_id":106013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:02:51] local.INFO: Extracted packet for processing {"connection_id":106013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756621632,"raw_latitude":119586760,"longitude_deg":75.6621632,"latitude_deg":11.958676,"altitude":50,"angle":111,"satellites":48,"speed":47,"hex_longitude":"2d192140","hex_latitude":"0720bfc8","is_valid_coordinates":true} 
[2026-06-18 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137187840001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3328024128782336,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801228775331016704,"note":"Value kept but may cause issues"} 
[2026-06-18 18:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781785899000,"timestamp_ms":1781785899000,"timestamp_seconds":1781785899,"priority":1,"record_length":96,"hex_timestamp":"0000019edab72ff8"} 
[2026-06-18 18:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-18 18:02:51] 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-06-18 18:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137187840001,"66":14080,"121":206,"28":31744,"24":47,"16":3328024128782336,"45":1801228775331016704},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137187840001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:02:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:02:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3328024128782336,"km_value":3328024128782.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801228775331016704,"description":"Unknown IO ID 45"} 
[2026-06-18 18:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137187840001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1801228775331016704}} 
[2026-06-18 18:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":106013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:02:51] local.INFO: GPS data processed {"connection_id":106013,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:02:51] local.INFO: Acknowledgment sent {"connection_id":106013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:02] local.INFO: TCP Data received {"connection_id":107767,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:02] local.INFO: Processing buffer {"connection_id":107767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:02] local.INFO: Packet analysis {"connection_id":107767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:02] local.INFO: Extracted packet for processing {"connection_id":107767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:02] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":107767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:02] local.INFO: GPS data processed {"connection_id":107767,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:02] local.INFO: Acknowledgment sent {"connection_id":107767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:04] local.INFO: TCP Data received {"connection_id":107769,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:03:04] local.INFO: Processing buffer {"connection_id":107769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:03:04] local.INFO: IMEI packet received {"connection_id":107769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":107769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:03:05] local.INFO: TCP Data received {"connection_id":107769,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107769,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:03:05] local.INFO: Processing buffer {"connection_id":107769,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:03:05] local.INFO: IMEI packet received {"connection_id":107769,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":107769,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:03:06] local.INFO: TCP Data received {"connection_id":107769,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab82228012d82998005d162b0000b00712a..."} 
[2026-06-18 18:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab82228012d82998005d162b0000b00712a..."} 
[2026-06-18 18:03:06] local.INFO: Processing buffer {"connection_id":107769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab82228012d82998005d162b0000b00712a..."} 
[2026-06-18 18:03:06] local.INFO: Packet analysis {"connection_id":107769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:03:06] local.INFO: Extracted packet for processing {"connection_id":107769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763533696,"raw_latitude":97608368,"longitude_deg":76.3533696,"latitude_deg":9.7608368,"altitude":11,"angle":113,"satellites":42,"speed":7,"hex_longitude":"2d829980","hex_latitude":"05d162b0","is_valid_coordinates":true} 
[2026-06-18 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137205760001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94037312513507328,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036191152354418688,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03: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-06-18 18:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781785961000,"timestamp_ms":1781785961000,"timestamp_seconds":1781785961,"priority":1,"record_length":96,"hex_timestamp":"0000019edab82228"} 
[2026-06-18 18:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:06] 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-06-18 18:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3669429456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2190917637,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184242577613,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":21,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3080542209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":209,"raw_value":2901934090,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847198448,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816278734,"corrected_to":0} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":151,"raw_value":4613324301892848128,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":2785070503,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":78,"raw_value":1512083574889644032,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619929018370,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":178,"raw_value":3098515026537875968,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":133,"raw_value":57886937868817723,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":182,"raw_value":-7802485059443261435,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2929591609156053760,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.WARNING: Large IO value detected {"io_id":34,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:06] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,221,85,24,241,157,16,22,158,26,45,64,99,10,42,66,18,192,101,212,1,240,117,227,21,218,209,4,113,205,13,79,151,224,43,239,51,2,78,90,206,178,133,182,210,34],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2816278734,"validated":0}]} 
[2026-06-18 18:03:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720720156791603200,"timestamp_seconds":720720156791603.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:03:06] 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-06-18 18:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137205760001,"66":13222,"221":206,"85":15104,"24":7,"16":94037312513507328,"45":-9036191152354418688},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137205760001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94037312513507328,"km_value":94037312513507.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036191152354418688,"description":"Unknown IO ID 45"} 
[2026-06-18 18:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137205760001,"power":13222,"unknown_221":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9036191152354418688}} 
[2026-06-18 18:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":107769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345599,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:06] local.INFO: GPS data processed {"connection_id":107769,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:06] local.INFO: Acknowledgment sent {"connection_id":107769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:13] local.INFO: TCP Data received {"connection_id":107769,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab82610012d829a8005d16260000b00612b..."} 
[2026-06-18 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab82610012d829a8005d16260000b00612b..."} 
[2026-06-18 18:03:13] local.INFO: Processing buffer {"connection_id":107769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab82610012d829a8005d16260000b00612b..."} 
[2026-06-18 18:03:13] local.INFO: Packet analysis {"connection_id":107769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:03:13] local.INFO: Extracted packet for processing {"connection_id":107769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:03:13] local.INFO: GPS Element Parsed {"raw_longitude":763533952,"raw_latitude":97608288,"longitude_deg":76.3533952,"latitude_deg":9.7608288,"altitude":11,"angle":97,"satellites":43,"speed":10,"hex_longitude":"2d829a80","hex_latitude":"05d16260","is_valid_coordinates":true} 
[2026-06-18 18:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137206016001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94037325398409216,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9036050414866092032,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:13] 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-06-18 18:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781785962000,"timestamp_ms":1781785962000,"timestamp_seconds":1781785962,"priority":1,"record_length":96,"hex_timestamp":"0000019edab82610"} 
[2026-06-18 18:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:13] 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-06-18 18:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137206016001,"66":13222,"221":206,"85":15104,"24":10,"16":94037325398409216,"45":-9036050414866092032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137206016001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:13] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:03:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94037325398409216,"km_value":94037325398409.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9036050414866092032,"description":"Unknown IO ID 45"} 
[2026-06-18 18:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137206016001,"power":13222,"unknown_221":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":-9036050414866092032}} 
[2026-06-18 18:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":107769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345600,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:13] local.INFO: GPS data processed {"connection_id":107769,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:13] local.INFO: Acknowledgment sent {"connection_id":107769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:22] local.INFO: TCP Data received {"connection_id":106013,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab72ff8012d1921400720bfc80032006f30..."} 
[2026-06-18 18:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab72ff8012d1921400720bfc80032006f30..."} 
[2026-06-18 18:03:22] local.INFO: Processing buffer {"connection_id":106013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab72ff8012d1921400720bfc80032006f30..."} 
[2026-06-18 18:03:22] local.INFO: Packet analysis {"connection_id":106013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:22] local.INFO: Extracted packet for processing {"connection_id":106013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756621632,"raw_latitude":119586760,"longitude_deg":75.6621632,"latitude_deg":11.958676,"altitude":50,"angle":111,"satellites":48,"speed":47,"hex_longitude":"2d192140","hex_latitude":"0720bfc8","is_valid_coordinates":true} 
[2026-06-18 18:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137190144001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3328024128782336,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810798924538038272,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781785899000,"timestamp_ms":1781785899000,"timestamp_seconds":1781785899,"priority":1,"record_length":96,"hex_timestamp":"0000019edab72ff8"} 
[2026-06-18 18:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:22] 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-06-18 18:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3669390456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":215,"raw_value":2147950847,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3066718209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4224188480,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3518300160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:22] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,210,12,45,64,209,59,47,10,66,1,215,229,240,224,218,32,4,113,205,194,40,46,239,56,2,11,7,23],"length":479,"final_offset":609,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 18:03:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603001953848590336,"timestamp_seconds":3603001953848590.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137190144001,"66":14080,"121":206,"28":31744,"24":47,"16":3328024128782336,"45":1810798924538038272},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137190144001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:03:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3328024128782336,"km_value":3328024128782.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810798924538038272,"description":"Unknown IO ID 45"} 
[2026-06-18 18:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137190144001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1810798924538038272}} 
[2026-06-18 18:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":106013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:22] local.INFO: GPS data processed {"connection_id":106013,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:22] local.INFO: Acknowledgment sent {"connection_id":106013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:24] local.INFO: TCP Data received {"connection_id":106014,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:03:24] local.INFO: Processing buffer {"connection_id":106014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:03:24] local.INFO: IMEI packet received {"connection_id":106014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":106014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:03:33] local.INFO: TCP Data received {"connection_id":106192,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:03:33] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:03:33] local.INFO: IMEI packet received {"connection_id":106192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":106192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:03:37] local.INFO: TCP Data received {"connection_id":106014,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:03:37] local.INFO: Processing buffer {"connection_id":106014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:03:37] local.INFO: IMEI packet received {"connection_id":106014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":106014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:03:38] local.INFO: TCP Data received {"connection_id":106014,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:38] local.INFO: Processing buffer {"connection_id":106014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:38] local.INFO: Packet analysis {"connection_id":106014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:38] local.INFO: Extracted packet for processing {"connection_id":106014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:38] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:03:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:03:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:03:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:03:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:03:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:03:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:03:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:03:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:03:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:03:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:03:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:03:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:03:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:03:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:38] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:03:38] local.INFO: DEBUG: GPS processor result {"connection_id":106014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:38] local.INFO: GPS data processed {"connection_id":106014,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:38] local.INFO: Acknowledgment sent {"connection_id":106014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:38] local.INFO: TCP Data received {"connection_id":106192,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:03:38] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:03:38] local.INFO: IMEI packet received {"connection_id":106192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":106192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:03:39] local.INFO: TCP Data received {"connection_id":106014,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:39] local.INFO: Processing buffer {"connection_id":106014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:03:39] local.INFO: Packet analysis {"connection_id":106014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:39] local.INFO: Extracted packet for processing {"connection_id":106014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:39] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:39] 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-06-18 18:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":106014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:39] local.INFO: GPS data processed {"connection_id":106014,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:39] local.INFO: Acknowledgment sent {"connection_id":106014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:40] local.INFO: TCP Data received {"connection_id":106192,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:03:40] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:03:40] local.INFO: Packet analysis {"connection_id":106192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:03:40] local.INFO: Extracted packet for processing {"connection_id":106192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:40] 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-06-18 18:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106192,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106192,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":106192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:40] local.INFO: GPS data processed {"connection_id":106192,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:40] local.INFO: Acknowledgment sent {"connection_id":106192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:44] local.INFO: TCP Data received {"connection_id":107769,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab854f0012d82be4005d15f08000d006529..."} 
[2026-06-18 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab854f0012d82be4005d15f08000d006529..."} 
[2026-06-18 18:03:44] local.INFO: Processing buffer {"connection_id":107769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab854f0012d82be4005d15f08000d006529..."} 
[2026-06-18 18:03:44] local.INFO: Packet analysis {"connection_id":107769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:03:44] local.INFO: Extracted packet for processing {"connection_id":107769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":763543104,"raw_latitude":97607432,"longitude_deg":76.3543104,"latitude_deg":9.7607432,"altitude":13,"angle":101,"satellites":41,"speed":41,"hex_longitude":"2d82be40","hex_latitude":"05d15f08","is_valid_coordinates":true} 
[2026-06-18 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137206272001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94037767780040704,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9035768939889401856,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03: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-06-18 18:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781785974000,"timestamp_ms":1781785974000,"timestamp_seconds":1781785974,"priority":1,"record_length":96,"hex_timestamp":"0000019edab854f0"} 
[2026-06-18 18:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:44] 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-06-18 18:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:44] 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-06-18 18:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107769,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:03:44] 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-06-18 18:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137206272001,"66":13330,"221":206,"85":15104,"24":41,"16":94037767780040704,"45":-9035768939889401856},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137206272001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:44] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:03:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94037767780040704,"km_value":94037767780040.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9035768939889401856,"description":"Unknown IO ID 45"} 
[2026-06-18 18:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137206272001,"power":13330,"unknown_221":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":-9035768939889401856}} 
[2026-06-18 18:03:44] local.INFO: TCP Data received {"connection_id":106015,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:44] local.INFO: Processing buffer {"connection_id":106015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:44] local.INFO: IMEI packet received {"connection_id":106015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":106015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":107769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345605,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:44] local.INFO: GPS data processed {"connection_id":107769,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:44] local.INFO: Acknowledgment sent {"connection_id":107769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:03:46] local.INFO: TCP Data received {"connection_id":106015,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:46] local.INFO: Processing buffer {"connection_id":106015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:46] local.INFO: IMEI packet received {"connection_id":106015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:03:46] local.INFO: IMEI acknowledgment sent {"connection_id":106015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:03:49] local.INFO: TCP Data received {"connection_id":106015,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:49] local.INFO: Processing buffer {"connection_id":106015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:03:49] local.INFO: IMEI packet received {"connection_id":106015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":106015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:03:50] local.INFO: TCP Data received {"connection_id":106015,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab74b50012d193d000720b3180031007a2d..."} 
[2026-06-18 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab74b50012d193d000720b3180031007a2d..."} 
[2026-06-18 18:03:50] local.INFO: Processing buffer {"connection_id":106015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab74b50012d193d000720b3180031007a2d..."} 
[2026-06-18 18:03:50] local.INFO: Packet analysis {"connection_id":106015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:50] local.INFO: Extracted packet for processing {"connection_id":106015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756628736,"raw_latitude":119583512,"longitude_deg":75.6628736,"latitude_deg":11.9583512,"altitude":49,"angle":122,"satellites":45,"speed":38,"hex_longitude":"2d193d00","hex_latitude":"0720b318","is_valid_coordinates":true} 
[2026-06-18 18:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137190144001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3328393495969792,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1810798924538038272,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781785906000,"timestamp_ms":1781785906000,"timestamp_seconds":1781785906,"priority":1,"record_length":96,"hex_timestamp":"0000019edab74b50"} 
[2026-06-18 18:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 18:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3669410456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:50] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3954180158,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 18:03:50] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":1744907544,"corrected_to":0} 
[2026-06-18 18:03:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4194441,"corrected_to":0} 
[2026-06-18 18:03:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837671,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3519086592,"note":"Value kept but may cause issues"} 
[2026-06-18 18:03:50] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,210,47,45,64,191,50,48,10,66,12,209,59,1,240,125,218,32,4,113,205,34,202,200,46,239,55,2,11,7,65,17],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":202,"original":1744907544,"validated":0},{"io_id":200,"original":4194441,"validated":0}]} 
[2026-06-18 18:03:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603001953848590336,"timestamp_seconds":3603001953848590.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137190144001,"66":14080,"121":206,"28":31744,"24":38,"16":3328393495969792,"45":1810798924538038272},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137190144001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:03:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:03:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3328393495969792,"km_value":3328393495969.792,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1810798924538038272,"description":"Unknown IO ID 45"} 
[2026-06-18 18:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137190144001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1810798924538038272}} 
[2026-06-18 18:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":106015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:03:50] local.INFO: GPS data processed {"connection_id":106015,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:03:50] local.INFO: Acknowledgment sent {"connection_id":106015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:10] local.INFO: TCP Data received {"connection_id":106016,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:04:10] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:04:10] local.INFO: IMEI packet received {"connection_id":106016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":106016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:04:11] local.INFO: TCP Data received {"connection_id":106016,"ip":"42.106.6.48","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 18:04:11] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 18:04:11] local.INFO: IMEI packet received {"connection_id":106016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":106016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:04:11] local.INFO: TCP Data received {"connection_id":106192,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:04:11] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:04:11] local.INFO: Packet analysis {"connection_id":106192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:04:11] local.INFO: Extracted packet for processing {"connection_id":106192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:11] 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-06-18 18:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106192,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106192,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":106192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:11] local.INFO: GPS data processed {"connection_id":106192,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:11] local.INFO: Acknowledgment sent {"connection_id":106192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:15] local.INFO: TCP Data received {"connection_id":106016,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:04:15] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 18:04:15] local.INFO: IMEI packet received {"connection_id":106016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":106016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:04:16] local.INFO: TCP Data received {"connection_id":106016,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab87430012d82e28005d15948000c00602a..."} 
[2026-06-18 18:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab87430012d82e28005d15948000c00602a..."} 
[2026-06-18 18:04:16] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019eda..."} 
[2026-06-18 18:04:16] local.INFO: IMEI packet received {"connection_id":106016,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":106016,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:04:17] local.INFO: TCP Data received {"connection_id":106016,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab89370012d83078005d156b0000c005d2b..."} 
[2026-06-18 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab89370012d83078005d156b0000c005d2b..."} 
[2026-06-18 18:04:17] local.INFO: Processing buffer {"connection_id":106016,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019edab87430012d82e28005d15948000c00602a..."} 
[2026-06-18 18:04:17] local.INFO: Packet analysis {"connection_id":106016,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:04:17] local.INFO: Extracted packet for processing {"connection_id":106016,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":763552384,"raw_latitude":97605960,"longitude_deg":76.3552384,"latitude_deg":9.760596,"altitude":12,"angle":96,"satellites":42,"speed":47,"hex_longitude":"2d82e280","hex_latitude":"05d15948","is_valid_coordinates":true} 
[2026-06-18 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137209344001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94038218751606784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9025706209472215040,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] 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-06-18 18:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781785982000,"timestamp_ms":1781785982000,"timestamp_seconds":1781785982,"priority":1,"record_length":96,"hex_timestamp":"0000019edab87430"} 
[2026-06-18 18:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3669480456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2191015941,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3279350329666289120,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3088734209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":209,"raw_value":-5983032062000223488,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816278734,"corrected_to":0} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2281778562,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221606757,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931303,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3515416576,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":117,"raw_value":57886937868817723,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":183,"raw_value":-7108930716828254203,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":13,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":167,"raw_value":-2521788925870073856,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,221,85,24,241,157,16,22,158,38,45,128,98,11,43,10,66,34,42,30,1,240,227,218,209,4,113,205,9,18,151,176,239,48,2,78,5,31,117,183,13,167,90],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2816278734,"validated":0}]} 
[2026-06-18 18:04:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936859949263814656,"timestamp_seconds":936859949263814.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:04:17] 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-06-18 18:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137209344001,"66":13222,"221":206,"85":15104,"24":47,"16":94038218751606784,"45":-9025706209472215040},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137209344001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94038218751606784,"km_value":94038218751606.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9025706209472215040,"description":"Unknown IO ID 45"} 
[2026-06-18 18:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137209344001,"power":13222,"unknown_221":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9025706209472215040}} 
[2026-06-18 18:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":106016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345608,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:17] local.INFO: GPS data processed {"connection_id":106016,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:17] local.INFO: Acknowledgment sent {"connection_id":106016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:17] local.INFO: Packet analysis {"connection_id":106016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:04:17] local.INFO: Extracted packet for processing {"connection_id":106016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:04:17] local.INFO: GPS Element Parsed {"raw_longitude":763561856,"raw_latitude":97605296,"longitude_deg":76.3561856,"latitude_deg":9.7605296,"altitude":12,"angle":93,"satellites":43,"speed":47,"hex_longitude":"2d830780","hex_latitude":"05d156b0","is_valid_coordinates":true} 
[2026-06-18 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137211392001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94038669723172864,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9015502741566830592,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:17] 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-06-18 18:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781785990000,"timestamp_ms":1781785990000,"timestamp_seconds":1781785990,"priority":1,"record_length":96,"hex_timestamp":"0000019edab89370"} 
[2026-06-18 18:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:17] 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-06-18 18:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:17] 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-06-18 18:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106016,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:04:17] 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-06-18 18:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137211392001,"66":13276,"221":206,"85":15104,"24":47,"16":94038669723172864,"45":-9015502741566830592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137211392001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94038669723172864,"km_value":94038669723172.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9015502741566830592,"description":"Unknown IO ID 45"} 
[2026-06-18 18:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137211392001,"power":13276,"unknown_221":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":-9015502741566830592}} 
[2026-06-18 18:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":106016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345609,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:17] local.INFO: GPS data processed {"connection_id":106016,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:17] local.INFO: Acknowledgment sent {"connection_id":106016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:22] local.INFO: TCP Data received {"connection_id":106015,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab8f518012d19aec0072091a0003700c52f..."} 
[2026-06-18 18:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab8f518012d19aec0072091a0003700c52f..."} 
[2026-06-18 18:04:22] local.INFO: Processing buffer {"connection_id":106015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab8f518012d19aec0072091a0003700c52f..."} 
[2026-06-18 18:04:22] local.INFO: Packet analysis {"connection_id":106015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:04:22] local.INFO: Extracted packet for processing {"connection_id":106015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119574944,"longitude_deg":75.6657856,"latitude_deg":11.9574944,"altitude":55,"angle":197,"satellites":47,"speed":34,"hex_longitude":"2d19aec0","hex_latitude":"072091a0","is_valid_coordinates":true} 
[2026-06-18 18:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137218304001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3330334821187584,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120996042752,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781786015000,"timestamp_ms":1781786015000,"timestamp_seconds":1781786015,"priority":1,"record_length":96,"hex_timestamp":"0000019edab8f518"} 
[2026-06-18 18:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:22] 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-06-18 18:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137218304001,"66":14374,"121":206,"28":31744,"24":34,"16":3330334821187584,"45":1853583120996042752},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137218304001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:04:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3330334821187584,"km_value":3330334821187.584,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120996042752,"description":"Unknown IO ID 45"} 
[2026-06-18 18:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137218304001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1853583120996042752}} 
[2026-06-18 18:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":106015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:22] local.INFO: GPS data processed {"connection_id":106015,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:22] local.INFO: Acknowledgment sent {"connection_id":106015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:30] local.INFO: TCP Data received {"connection_id":106799,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:04:30] local.INFO: Processing buffer {"connection_id":106799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:04:30] local.INFO: IMEI packet received {"connection_id":106799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:04:30] local.INFO: IMEI acknowledgment sent {"connection_id":106799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:04:31] local.INFO: TCP Data received {"connection_id":106799,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:04:31] local.INFO: Processing buffer {"connection_id":106799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:04:31] local.INFO: IMEI packet received {"connection_id":106799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":106799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:04:33] local.INFO: TCP Data received {"connection_id":106800,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:04:33] local.INFO: Processing buffer {"connection_id":106800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:04:33] local.INFO: IMEI packet received {"connection_id":106800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":106800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:04:38] local.INFO: TCP Data received {"connection_id":106800,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:04:38] local.INFO: Processing buffer {"connection_id":106800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:04:38] local.INFO: IMEI packet received {"connection_id":106800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":106800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:04:40] local.INFO: TCP Data received {"connection_id":106800,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:04:40] local.INFO: Processing buffer {"connection_id":106800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:04:40] local.INFO: Packet analysis {"connection_id":106800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:04:40] local.INFO: Extracted packet for processing {"connection_id":106800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:40] 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-06-18 18:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":106800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:40] local.INFO: GPS data processed {"connection_id":106800,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:40] local.INFO: Acknowledgment sent {"connection_id":106800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:41] local.INFO: TCP Data received {"connection_id":106799,"ip":"117.224.120.98","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019eda..."} 
[2026-06-18 18:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106799,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019eda..."} 
[2026-06-18 18:04:41] local.INFO: Processing buffer {"connection_id":106799,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019eda..."} 
[2026-06-18 18:04:41] local.INFO: IMEI packet received {"connection_id":106799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":106799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:04:42] local.INFO: TCP Data received {"connection_id":106799,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:04:42] local.INFO: Processing buffer {"connection_id":106799,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:04:42] local.INFO: Packet analysis {"connection_id":106799,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:04:42] local.INFO: Extracted packet for processing {"connection_id":106799,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:04:42] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:42] 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-06-18 18:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":106799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:42] local.INFO: GPS data processed {"connection_id":106799,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:42] local.INFO: Acknowledgment sent {"connection_id":106799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:42] local.INFO: Packet analysis {"connection_id":106799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:04:42] local.INFO: Extracted packet for processing {"connection_id":106799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:04:42] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:04:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:42] 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-06-18 18:04:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":106799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:42] local.INFO: GPS data processed {"connection_id":106799,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:42] local.INFO: Acknowledgment sent {"connection_id":106799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:44] local.INFO: TCP Data received {"connection_id":107770,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:04:44] local.INFO: Processing buffer {"connection_id":107770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:04:44] local.INFO: IMEI packet received {"connection_id":107770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":107770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:04:48] local.INFO: TCP Data received {"connection_id":107770,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:04:48] local.INFO: Processing buffer {"connection_id":107770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:04:48] local.INFO: IMEI packet received {"connection_id":107770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":107770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:04:49] local.INFO: TCP Data received {"connection_id":107770,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab8f900012d19ae0007208e38003600b92f..."} 
[2026-06-18 18:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab8f900012d19ae0007208e38003600b92f..."} 
[2026-06-18 18:04:49] local.INFO: Processing buffer {"connection_id":107770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab8f900012d19ae0007208e38003600b92f..."} 
[2026-06-18 18:04:49] local.INFO: Packet analysis {"connection_id":107770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:04:49] local.INFO: Extracted packet for processing {"connection_id":107770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab8"} 
[2026-06-18 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119574072,"longitude_deg":75.6657664,"latitude_deg":11.9574072,"altitude":54,"angle":185,"satellites":47,"speed":33,"hex_longitude":"2d19ae00","hex_latitude":"07208e38","is_valid_coordinates":true} 
[2026-06-18 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137219840001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3330377770860544,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739571200,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781786016000,"timestamp_ms":1781786016000,"timestamp_seconds":1781786016,"priority":1,"record_length":96,"hex_timestamp":"0000019edab8f900"} 
[2026-06-18 18:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:49] 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-06-18 18:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137219840001,"66":14374,"121":206,"28":31744,"24":33,"16":3330377770860544,"45":1850627633739571200},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137219840001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:04:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3330377770860544,"km_value":3330377770860.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739571200,"description":"Unknown IO ID 45"} 
[2026-06-18 18:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137219840001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1850627633739571200}} 
[2026-06-18 18:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":107770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:49] local.INFO: GPS data processed {"connection_id":107770,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:49] local.INFO: Acknowledgment sent {"connection_id":107770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:51] local.INFO: TCP Data received {"connection_id":106799,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:04:51] local.INFO: Processing buffer {"connection_id":106799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:04:51] local.INFO: Packet analysis {"connection_id":106799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:04:51] local.INFO: Extracted packet for processing {"connection_id":106799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:04:51] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:04:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:04:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:04:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:04:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:04:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:04:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:04:51] 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-06-18 18:04:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:04:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:04:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:04:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:04:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:04:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:04:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:04:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:04:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:04:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:04:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:04:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:04:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:04:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:04:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:04:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:04:51] local.INFO: DEBUG: GPS processor result {"connection_id":106799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:04:51] local.INFO: GPS data processed {"connection_id":106799,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:04:51] local.INFO: Acknowledgment sent {"connection_id":106799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:04:59] local.INFO: TCP Data received {"connection_id":106017,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:04:59] local.INFO: Processing buffer {"connection_id":106017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:04:59] local.INFO: IMEI packet received {"connection_id":106017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":106017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:05:00] local.INFO: TCP Data received {"connection_id":106017,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:00] local.INFO: Processing buffer {"connection_id":106017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:00] local.INFO: IMEI packet received {"connection_id":106017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":106017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:05:00] local.INFO: TCP Data received {"connection_id":106017,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:00] local.INFO: Processing buffer {"connection_id":106017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:00] local.INFO: IMEI packet received {"connection_id":106017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":106017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:05:07] local.INFO: TCP Data received {"connection_id":106017,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106017,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:07] local.INFO: Processing buffer {"connection_id":106017,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:05:07] local.INFO: IMEI packet received {"connection_id":106017,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":106017,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:05:09] local.INFO: TCP Data received {"connection_id":106017,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edab9b868012d82e74005d157e8000a01122b..."} 
[2026-06-18 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab9b868012d82e74005d157e8000a01122b..."} 
[2026-06-18 18:05:09] local.INFO: Processing buffer {"connection_id":106017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab9b868012d82e74005d157e8000a01122b..."} 
[2026-06-18 18:05:09] local.INFO: Packet analysis {"connection_id":106017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab9"} 
[2026-06-18 18:05:09] local.INFO: Extracted packet for processing {"connection_id":106017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab9"} 
[2026-06-18 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":763553600,"raw_latitude":97605608,"longitude_deg":76.35536,"latitude_deg":9.7605608,"altitude":10,"angle":274,"satellites":43,"speed":45,"hex_longitude":"2d82e740","hex_latitude":"05d157e8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137230080001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94040267451006976,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9004243742498652160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] 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-06-18 18:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781786065000,"timestamp_ms":1781786065000,"timestamp_seconds":1781786065,"priority":1,"record_length":96,"hex_timestamp":"0000019edab9b868"} 
[2026-06-18 18:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":85,"raw_value":4251424436684587520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":24,"raw_value":3314649325744685057,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185934,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2686179233886272717,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2201239557,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":43111851092869120,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832602,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3654109030942310606,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3105886209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4026609027,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2816278734,"corrected_to":0} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3221606736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":42,"raw_value":3096224744472580,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718631,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3511805952,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.WARNING: Large IO value detected {"io_id":128,"raw_value":419207259269890179,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:09] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,221,85,24,241,157,16,158,94,45,192,83,12,44,10,66,82,11,78,64,1,240,35,227,218,209,4,113,205,52,96,42,239,49,2,5,128],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2816278734,"validated":0}]} 
[2026-06-18 18:05:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864989285086527488,"timestamp_seconds":864989285086527.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106017,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137230080001,"66":13243,"221":206,"85":15104,"24":45,"16":94040267451006976,"45":-9004243742498652160},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137230080001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:05:09] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:05:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94040267451006976,"km_value":94040267451006.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9004243742498652160,"description":"Unknown IO ID 45"} 
[2026-06-18 18:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137230080001,"power":13243,"unknown_221":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9004243742498652160}} 
[2026-06-18 18:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":106017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:05:09] local.INFO: GPS data processed {"connection_id":106017,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:05:09] local.INFO: Acknowledgment sent {"connection_id":106017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:05:12] local.INFO: TCP Data received {"connection_id":106800,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:05:12] local.INFO: Processing buffer {"connection_id":106800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab595d0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:05:12] local.INFO: Packet analysis {"connection_id":106800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:05:12] local.INFO: Extracted packet for processing {"connection_id":106800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab5"} 
[2026-06-18 18:05:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137086208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781785794000,"timestamp_ms":1781785794000,"timestamp_seconds":1781785794,"priority":1,"record_length":96,"hex_timestamp":"0000019edab595d0"} 
[2026-06-18 18:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:05:12] 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-06-18 18:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106800,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137086208001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137086208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:05:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:05:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137086208001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":106800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345617,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:05:12] local.INFO: GPS data processed {"connection_id":106800,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:05:12] local.INFO: Acknowledgment sent {"connection_id":106800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:05:21] local.INFO: TCP Data received {"connection_id":107770,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab9c420012d19f980071ffba8002f00612e..."} 
[2026-06-18 18:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab9c420012d19f980071ffba8002f00612e..."} 
[2026-06-18 18:05:21] local.INFO: Processing buffer {"connection_id":107770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab9c420012d19f980071ffba8002f00612e..."} 
[2026-06-18 18:05:21] local.INFO: Packet analysis {"connection_id":107770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab9"} 
[2026-06-18 18:05:21] local.INFO: Extracted packet for processing {"connection_id":107770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab9"} 
[2026-06-18 18:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756676992,"raw_latitude":119536552,"longitude_deg":75.6676992,"latitude_deg":11.9536552,"altitude":47,"angle":97,"satellites":46,"speed":34,"hex_longitude":"2d19f980","hex_latitude":"071ffba8","is_valid_coordinates":true} 
[2026-06-18 18:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137232896001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332593973985280,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1869838300890234880,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781786068000,"timestamp_ms":1781786068000,"timestamp_seconds":1781786068,"priority":1,"record_length":96,"hex_timestamp":"0000019edab9c420"} 
[2026-06-18 18:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:05:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 18:05:21] 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-06-18 18:05:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137232896001,"66":13580,"121":206,"28":31744,"24":34,"16":3332593973985280,"45":1869838300890234880},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137232896001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:05:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:05:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332593973985280,"km_value":3332593973985.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1869838300890234880,"description":"Unknown IO ID 45"} 
[2026-06-18 18:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137232896001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1869838300890234880}} 
[2026-06-18 18:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":107770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:05:21] local.INFO: GPS data processed {"connection_id":107770,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:05:21] local.INFO: Acknowledgment sent {"connection_id":107770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:05:24] local.INFO: TCP Data received {"connection_id":107771,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:05:24] local.INFO: Processing buffer {"connection_id":107771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:05:24] local.INFO: IMEI packet received {"connection_id":107771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":107771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:05:29] local.INFO: TCP Data received {"connection_id":107771,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:05:29] local.INFO: Processing buffer {"connection_id":107771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:05:29] local.INFO: IMEI packet received {"connection_id":107771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":107771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:05:31] local.INFO: TCP Data received {"connection_id":107771,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:05:31] local.INFO: Processing buffer {"connection_id":107771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:05:31] local.INFO: Packet analysis {"connection_id":107771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:05:31] local.INFO: Extracted packet for processing {"connection_id":107771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:05:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:05:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":107771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:05:31] local.INFO: GPS data processed {"connection_id":107771,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:05:31] local.INFO: Acknowledgment sent {"connection_id":107771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:05:33] local.INFO: TCP Data received {"connection_id":106801,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:33] local.INFO: Processing buffer {"connection_id":106801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:33] local.INFO: IMEI packet received {"connection_id":106801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":106801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:05:33] local.INFO: TCP Data received {"connection_id":106801,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:33] local.INFO: Processing buffer {"connection_id":106801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:33] local.INFO: IMEI packet received {"connection_id":106801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":106801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:05:38] local.INFO: TCP Data received {"connection_id":106801,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:38] local.INFO: Processing buffer {"connection_id":106801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:05:38] local.INFO: IMEI packet received {"connection_id":106801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":106801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:05:39] local.INFO: TCP Data received {"connection_id":106801,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:05:39] local.INFO: Processing buffer {"connection_id":106801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:05:39] local.INFO: Packet analysis {"connection_id":106801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:05:39] local.INFO: Extracted packet for processing {"connection_id":106801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:05: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-06-18 18:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:05:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:05:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":106801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:05:40] local.INFO: GPS data processed {"connection_id":106801,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:05:40] local.INFO: Acknowledgment sent {"connection_id":106801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:05:44] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:44] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:44] local.INFO: IMEI packet received {"connection_id":106193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":106193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:05:46] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:46] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:46] local.INFO: IMEI packet received {"connection_id":106193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":106193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:05:49] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:49] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:05:49] local.INFO: IMEI packet received {"connection_id":106193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":106193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:05:50] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edab9cbf0012d1a00c0071ffa40002f006e2d..."} 
[2026-06-18 18:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab9cbf0012d1a00c0071ffa40002f006e2d..."} 
[2026-06-18 18:05:50] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab9cbf0012d1a00c0071ffa40002f006e2d..."} 
[2026-06-18 18:05:50] local.INFO: Packet analysis {"connection_id":106193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab9"} 
[2026-06-18 18:05:50] local.INFO: Extracted packet for processing {"connection_id":106193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab9"} 
[2026-06-18 18:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756678848,"raw_latitude":119536192,"longitude_deg":75.6678848,"latitude_deg":11.9536192,"altitude":47,"angle":110,"satellites":45,"speed":36,"hex_longitude":"2d1a00c0","hex_latitude":"071ffa40","is_valid_coordinates":true} 
[2026-06-18 18:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137233408001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3332679873331200,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1871667888238864384,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781786070000,"timestamp_ms":1781786070000,"timestamp_seconds":1781786070,"priority":1,"record_length":96,"hex_timestamp":"0000019edab9cbf0"} 
[2026-06-18 18:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867788758,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3669592456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":214,"raw_value":3607101440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3115358209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4242538544,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638757918795641,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3221692421,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3601727488,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3602871867496464335,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-5115862782641648100,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-06-18 18:05:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,214,188,45,251,47,10,66,184,46,180,128,1,240,27,218,31,4,113,205,26,160,227,248,44,239,56,2,11,7,48,29,25,55,124],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 18:05:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386813769981231104,"timestamp_seconds":3386813769981231.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137233408001,"66":14363,"121":206,"28":31744,"24":36,"16":3332679873331200,"45":1871667888238864384},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137233408001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:05:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:05:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3332679873331200,"km_value":3332679873331.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1871667888238864384,"description":"Unknown IO ID 45"} 
[2026-06-18 18:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137233408001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1871667888238864384}} 
[2026-06-18 18:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":106193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:05:50] local.INFO: GPS data processed {"connection_id":106193,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:05:50] local.INFO: Acknowledgment sent {"connection_id":106193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:02] local.INFO: TCP Data received {"connection_id":107771,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:02] local.INFO: Processing buffer {"connection_id":107771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:02] local.INFO: Packet analysis {"connection_id":107771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:06:02] local.INFO: Extracted packet for processing {"connection_id":107771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":107771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:02] local.INFO: GPS data processed {"connection_id":107771,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:02] local.INFO: Acknowledgment sent {"connection_id":107771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:07] local.INFO: TCP Data received {"connection_id":106194,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:06:07] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:06:07] local.INFO: IMEI packet received {"connection_id":106194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":106194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:06:10] local.INFO: TCP Data received {"connection_id":106194,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:06:10] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:06:10] local.INFO: IMEI packet received {"connection_id":106194,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":106194,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:06:11] local.INFO: TCP Data received {"connection_id":106194,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabab268012d823e0005d16770000b012029..."} 
[2026-06-18 18:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabab268012d823e0005d16770000b012029..."} 
[2026-06-18 18:06:11] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabab268012d823e0005d16770000b012029..."} 
[2026-06-18 18:06:11] local.INFO: Packet analysis {"connection_id":106194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:11] local.INFO: Extracted packet for processing {"connection_id":106194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:11] local.INFO: GPS Element Parsed {"raw_longitude":763510272,"raw_latitude":97609584,"longitude_deg":76.3510272,"latitude_deg":9.7609584,"altitude":11,"angle":288,"satellites":41,"speed":21,"hex_longitude":"2d823e00","hex_latitude":"05d16770","is_valid_coordinates":true} 
[2026-06-18 18:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137247744001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94042410639687680,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058920256723650560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:11] 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-06-18 18:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786129000,"timestamp_ms":1781786129000,"timestamp_seconds":1781786129,"priority":1,"record_length":96,"hex_timestamp":"0000019edabab268"} 
[2026-06-18 18:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 18:06:11] 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-06-18 18:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:06: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-06-18 18:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137247744001,"66":13298,"221":206,"85":15104,"24":21,"16":94042410639687680,"45":-9058920256723650560},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137247744001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:11] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:06:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94042410639687680,"km_value":94042410639687.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058920256723650560,"description":"Unknown IO ID 45"} 
[2026-06-18 18:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137247744001,"power":13298,"unknown_221":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":-9058920256723650560}} 
[2026-06-18 18:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":106194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:11] local.INFO: GPS data processed {"connection_id":106194,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:11] local.INFO: Acknowledgment sent {"connection_id":106194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:12] local.INFO: TCP Data received {"connection_id":106801,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:12] local.INFO: Processing buffer {"connection_id":106801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:12] local.INFO: Packet analysis {"connection_id":106801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:12] local.INFO: Extracted packet for processing {"connection_id":106801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":106801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:12] local.INFO: GPS data processed {"connection_id":106801,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:12] local.INFO: Acknowledgment sent {"connection_id":106801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:22] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabac5f0012d1aa640071f9970003b00682d..."} 
[2026-06-18 18:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabac5f0012d1aa640071f9970003b00682d..."} 
[2026-06-18 18:06:22] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabac5f0012d1aa640071f9970003b00682d..."} 
[2026-06-18 18:06:22] local.INFO: Packet analysis {"connection_id":106193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:22] local.INFO: Extracted packet for processing {"connection_id":106193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756721216,"raw_latitude":119511408,"longitude_deg":75.6721216,"latitude_deg":11.9511408,"altitude":59,"angle":104,"satellites":45,"speed":25,"hex_longitude":"2d1aa640","hex_latitude":"071f9970","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137250048001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3335128004689920,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1919589003017469952,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781786134000,"timestamp_ms":1781786134000,"timestamp_seconds":1781786134,"priority":1,"record_length":96,"hex_timestamp":"0000019edabac5f0"} 
[2026-06-18 18:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 18:06: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-06-18 18: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-06-18 18:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137250048001,"66":14515,"121":206,"28":31744,"24":25,"16":3335128004689920,"45":1919589003017469952},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137250048001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:06:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3335128004689920,"km_value":3335128004689.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1919589003017469952,"description":"Unknown IO ID 45"} 
[2026-06-18 18:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137250048001,"power":14515,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1919589003017469952}} 
[2026-06-18 18:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":106193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:22] local.INFO: GPS data processed {"connection_id":106193,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:22] local.INFO: Acknowledgment sent {"connection_id":106193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:24] local.INFO: TCP Data received {"connection_id":107772,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:06:24] local.INFO: Processing buffer {"connection_id":107772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:06:24] local.INFO: IMEI packet received {"connection_id":107772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":107772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:06:33] local.INFO: TCP Data received {"connection_id":107772,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:06:33] local.INFO: Processing buffer {"connection_id":107772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:06:33] local.INFO: IMEI packet received {"connection_id":107772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":107772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:06:33] local.INFO: TCP Data received {"connection_id":106018,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:06:33] local.INFO: Processing buffer {"connection_id":106018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:06:33] local.INFO: IMEI packet received {"connection_id":106018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":106018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:06:34] local.INFO: TCP Data received {"connection_id":107772,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:34] local.INFO: Processing buffer {"connection_id":107772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:34] local.INFO: Packet analysis {"connection_id":107772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:06:34] local.INFO: Extracted packet for processing {"connection_id":107772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:06:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":107772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:34] local.INFO: GPS data processed {"connection_id":107772,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:34] local.INFO: Acknowledgment sent {"connection_id":107772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:35] local.INFO: TCP Data received {"connection_id":107772,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:35] local.INFO: Processing buffer {"connection_id":107772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:06:35] local.INFO: Packet analysis {"connection_id":107772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:06:35] local.INFO: Extracted packet for processing {"connection_id":107772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:35] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:06:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:06:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:06:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:06:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:06:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:35] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":107772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:35] local.INFO: GPS data processed {"connection_id":107772,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:35] local.INFO: Acknowledgment sent {"connection_id":107772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:38] local.INFO: TCP Data received {"connection_id":106018,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:06:38] local.INFO: Processing buffer {"connection_id":106018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:06:38] local.INFO: IMEI packet received {"connection_id":106018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":106018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:06:40] local.INFO: TCP Data received {"connection_id":106018,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:40] local.INFO: Processing buffer {"connection_id":106018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:40] local.INFO: Packet analysis {"connection_id":106018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:40] local.INFO: Extracted packet for processing {"connection_id":106018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:06:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":106018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:40] local.INFO: GPS data processed {"connection_id":106018,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:40] local.INFO: Acknowledgment sent {"connection_id":106018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:48] local.INFO: TCP Data received {"connection_id":106018,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:48] local.INFO: Processing buffer {"connection_id":106018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:06:48] local.INFO: Packet analysis {"connection_id":106018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:48] local.INFO: Extracted packet for processing {"connection_id":106018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106018,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:06:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":106018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:48] local.INFO: GPS data processed {"connection_id":106018,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:48] local.INFO: Acknowledgment sent {"connection_id":106018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:49] local.INFO: TCP Data received {"connection_id":106019,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:06:49] local.INFO: Processing buffer {"connection_id":106019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:06:49] local.INFO: IMEI packet received {"connection_id":106019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":106019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:06:52] local.INFO: TCP Data received {"connection_id":106019,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:06:52] local.INFO: Processing buffer {"connection_id":106019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:06:52] local.INFO: IMEI packet received {"connection_id":106019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":106019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:06:54] local.INFO: TCP Data received {"connection_id":106019,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabad978012d1ab240071f9738003b005d2d..."} 
[2026-06-18 18:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabad978012d1ab240071f9738003b005d2d..."} 
[2026-06-18 18:06:54] local.INFO: Processing buffer {"connection_id":106019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabad978012d1ab240071f9738003b005d2d..."} 
[2026-06-18 18:06:54] local.INFO: Packet analysis {"connection_id":106019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:54] local.INFO: Extracted packet for processing {"connection_id":106019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756724288,"raw_latitude":119510840,"longitude_deg":75.6724288,"latitude_deg":11.951084,"altitude":59,"angle":93,"satellites":45,"speed":24,"hex_longitude":"2d1ab240","hex_latitude":"071f9738","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137250304001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3335282623512576,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920292690459193344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781786139000,"timestamp_ms":1781786139000,"timestamp_seconds":1781786139,"priority":1,"record_length":96,"hex_timestamp":"0000019edabad978"} 
[2026-06-18 18:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 18:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137250304001,"66":14494,"121":206,"28":31744,"24":24,"16":3335282623512576,"45":1920292690459193344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137250304001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:06:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3335282623512576,"km_value":3335282623512.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920292690459193344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137250304001,"power":14494,"unknown_121":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1920292690459193344}} 
[2026-06-18 18:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":106019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:54] local.INFO: GPS data processed {"connection_id":106019,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:54] local.INFO: Acknowledgment sent {"connection_id":106019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:06:55] local.INFO: TCP Data received {"connection_id":106194,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edababe20012d82378005d16a38000a012b29..."} 
[2026-06-18 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edababe20012d82378005d16a38000a012b29..."} 
[2026-06-18 18:06:55] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edababe20012d82378005d16a38000a012b29..."} 
[2026-06-18 18:06:55] local.INFO: Packet analysis {"connection_id":106194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:55] local.INFO: Extracted packet for processing {"connection_id":106194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:06:55] local.INFO: GPS Element Parsed {"raw_longitude":763508608,"raw_latitude":97610296,"longitude_deg":76.3508608,"latitude_deg":9.7610296,"altitude":10,"angle":299,"satellites":41,"speed":23,"hex_longitude":"2d823780","hex_latitude":"05d16a38","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137249024001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94042500834000896,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9061805375234805760,"note":"Value kept but may cause issues"} 
[2026-06-18 18:06:55] 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-06-18 18:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781786132000,"timestamp_ms":1781786132000,"timestamp_seconds":1781786132,"priority":1,"record_length":96,"hex_timestamp":"0000019edababe20"} 
[2026-06-18 18:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:06: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-06-18 18: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":242,"data_length":795,"current_offset":136} 
[2026-06-18 18:06: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-06-18 18: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-06-18 18:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106194,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:06:55] 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-06-18 18:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137249024001,"66":13243,"221":206,"85":15104,"24":23,"16":94042500834000896,"45":-9061805375234805760},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137249024001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:06:55] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:06:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94042500834000896,"km_value":94042500834000.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9061805375234805760,"description":"Unknown IO ID 45"} 
[2026-06-18 18:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137249024001,"power":13243,"unknown_221":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9061805375234805760}} 
[2026-06-18 18:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":106194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:06:55] local.INFO: GPS data processed {"connection_id":106194,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:06:55] local.INFO: Acknowledgment sent {"connection_id":106194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:07:04] local.INFO: TCP Data received {"connection_id":106020,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:07:04] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:07:04] local.INFO: IMEI packet received {"connection_id":106020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":106020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:07:07] local.INFO: TCP Data received {"connection_id":107772,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:07:07] local.INFO: Processing buffer {"connection_id":107772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:07:07] local.INFO: Packet analysis {"connection_id":107772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:07:07] local.INFO: Extracted packet for processing {"connection_id":107772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:07:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:07:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:07:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":107772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:07:07] local.INFO: GPS data processed {"connection_id":107772,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:07:07] local.INFO: Acknowledgment sent {"connection_id":107772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:07:09] local.INFO: TCP Data received {"connection_id":106020,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:07:09] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:07:09] local.INFO: IMEI packet received {"connection_id":106020,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":106020,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:07:10] local.INFO: TCP Data received {"connection_id":106020,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabbd378012d817d0005d18880000d01022c..."} 
[2026-06-18 18:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabbd378012d817d0005d18880000d01022c..."} 
[2026-06-18 18:07:10] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabbd378012d817d0005d18880000d01022c..."} 
[2026-06-18 18:07:10] local.INFO: Packet analysis {"connection_id":106020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:07:10] local.INFO: Extracted packet for processing {"connection_id":106020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:07:10] local.INFO: GPS Element Parsed {"raw_longitude":763460864,"raw_latitude":97618048,"longitude_deg":76.3460864,"latitude_deg":9.7618048,"altitude":13,"angle":258,"satellites":44,"speed":27,"hex_longitude":"2d817d00","hex_latitude":"05d18880","is_valid_coordinates":true} 
[2026-06-18 18:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137267712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94044854476079104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9115426358295992320,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:10] 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-06-18 18:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781786203000,"timestamp_ms":1781786203000,"timestamp_seconds":1781786203,"priority":1,"record_length":96,"hex_timestamp":"0000019edabbd378"} 
[2026-06-18 18:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:07:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 18:07:10] 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-06-18 18:07:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:07:10] 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-06-18 18:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137267712001,"66":12743,"221":206,"85":15104,"24":27,"16":94044854476079104,"45":-9115426358295992320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137267712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:07:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:07:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94044854476079104,"km_value":94044854476079.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9115426358295992320,"description":"Unknown IO ID 45"} 
[2026-06-18 18:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137267712001,"power":12743,"unknown_221":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":-9115426358295992320}} 
[2026-06-18 18:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":106020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:07:10] local.INFO: GPS data processed {"connection_id":106020,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:07:10] local.INFO: Acknowledgment sent {"connection_id":106020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:07:26] local.INFO: TCP Data received {"connection_id":106019,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabbbff0012d1aba00071f3888004400e92e..."} 
[2026-06-18 18:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabbbff0012d1aba00071f3888004400e92e..."} 
[2026-06-18 18:07:26] local.INFO: Processing buffer {"connection_id":106019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabbbff0012d1aba00071f3888004400e92e..."} 
[2026-06-18 18:07:26] local.INFO: Packet analysis {"connection_id":106019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:07:26] local.INFO: Extracted packet for processing {"connection_id":106019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:07:26] local.INFO: GPS Element Parsed {"raw_longitude":756726272,"raw_latitude":119486600,"longitude_deg":75.6726272,"latitude_deg":11.94866,"altitude":68,"angle":233,"satellites":46,"speed":7,"hex_longitude":"2d1aba00","hex_latitude":"071f3888","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:07:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137266176001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3336648423112704,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926133296219670528,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:07:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781786198000,"timestamp_ms":1781786198000,"timestamp_seconds":1781786198,"priority":1,"record_length":96,"hex_timestamp":"0000019edabbbff0"} 
[2026-06-18 18:07:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:07:26] 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-06-18 18: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 18:07:26] 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-06-18 18: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-06-18 18:07:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:07:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:07:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:07:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:07:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:07:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:07:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:07:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:07:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137266176001,"66":14396,"121":206,"28":31744,"24":7,"16":3336648423112704,"45":1926133296219670528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:07:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:07:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:07:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137266176001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:07:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:07:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:07:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3336648423112704,"km_value":3336648423112.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:07:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926133296219670528,"description":"Unknown IO ID 45"} 
[2026-06-18 18:07:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137266176001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1926133296219670528}} 
[2026-06-18 18:07:26] local.INFO: DEBUG: GPS processor result {"connection_id":106019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:07:26] local.INFO: GPS data processed {"connection_id":106019,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:07:26] local.INFO: Acknowledgment sent {"connection_id":106019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:07:29] local.INFO: TCP Data received {"connection_id":107773,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:07:29] local.INFO: Processing buffer {"connection_id":107773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:07:29] local.INFO: IMEI packet received {"connection_id":107773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":107773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:07:33] local.INFO: TCP Data received {"connection_id":106021,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:07:33] local.INFO: Processing buffer {"connection_id":106021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:07:33] local.INFO: IMEI packet received {"connection_id":106021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":106021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:07:34] local.INFO: TCP Data received {"connection_id":107773,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:07:34] local.INFO: Processing buffer {"connection_id":107773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:07:34] local.INFO: IMEI packet received {"connection_id":107773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:07:34] local.INFO: IMEI acknowledgment sent {"connection_id":107773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:07:36] local.INFO: TCP Data received {"connection_id":107773,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:07:36] local.INFO: Processing buffer {"connection_id":107773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edab7b0e0012ccc8c4007467770001e013828..."} 
[2026-06-18 18:07:36] local.INFO: Packet analysis {"connection_id":107773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:07:36] local.INFO: Extracted packet for processing {"connection_id":107773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edab7"} 
[2026-06-18 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137121536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781785932000,"timestamp_ms":1781785932000,"timestamp_seconds":1781785932,"priority":1,"record_length":96,"hex_timestamp":"0000019edab7b0e0"} 
[2026-06-18 18:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:07:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:07:36] 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-06-18 18:07:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137121536001,"66":25756,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137121536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:07:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:07:36] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137121536001,"power":25756,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:07:36] local.INFO: DEBUG: GPS processor result {"connection_id":107773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:07:36] local.INFO: GPS data processed {"connection_id":107773,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:07:36] local.INFO: Acknowledgment sent {"connection_id":107773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:07:38] local.INFO: TCP Data received {"connection_id":106021,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:07:38] local.INFO: Processing buffer {"connection_id":106021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:07:38] local.INFO: IMEI packet received {"connection_id":106021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":106021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:07:40] local.INFO: TCP Data received {"connection_id":106021,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:07:40] local.INFO: Processing buffer {"connection_id":106021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:07:40] local.INFO: Packet analysis {"connection_id":106021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:07:40] local.INFO: Extracted packet for processing {"connection_id":106021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:07:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:07:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":106021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:07:40] local.INFO: GPS data processed {"connection_id":106021,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:07:40] local.INFO: Acknowledgment sent {"connection_id":106021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:07:41] local.INFO: TCP Data received {"connection_id":106020,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabbd760012d817a4005d18750000d00f42c..."} 
[2026-06-18 18:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabbd760012d817a4005d18750000d00f42c..."} 
[2026-06-18 18:07:41] local.INFO: Processing buffer {"connection_id":106020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabbd760012d817a4005d18750000d00f42c..."} 
[2026-06-18 18:07:41] local.INFO: Packet analysis {"connection_id":106020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:07:41] local.INFO: Extracted packet for processing {"connection_id":106020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":763460160,"raw_latitude":97617744,"longitude_deg":76.346016,"latitude_deg":9.7617744,"altitude":13,"angle":244,"satellites":44,"speed":28,"hex_longitude":"2d817a40","hex_latitude":"05d18750","is_valid_coordinates":true} 
[2026-06-18 18:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137267968001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94044888835817472,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9116130045737795584,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:41] 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-06-18 18:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781786204000,"timestamp_ms":1781786204000,"timestamp_seconds":1781786204,"priority":1,"record_length":96,"hex_timestamp":"0000019edabbd760"} 
[2026-06-18 18:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:07:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 18:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:07:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106020,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:07:41] 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-06-18 18:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137267968001,"66":13048,"221":206,"85":15104,"24":28,"16":94044888835817472,"45":-9116130045737795584},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137267968001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:07:41] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:07:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94044888835817472,"km_value":94044888835817.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9116130045737795584,"description":"Unknown IO ID 45"} 
[2026-06-18 18:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137267968001,"power":13048,"unknown_221":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":-9116130045737795584}} 
[2026-06-18 18:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":106020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:07:41] local.INFO: GPS data processed {"connection_id":106020,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:07:41] local.INFO: Acknowledgment sent {"connection_id":106020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:07:45] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:07:45] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:07:45] local.INFO: IMEI packet received {"connection_id":106195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":106195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:07:49] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:07:49] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:07:49] local.INFO: IMEI packet received {"connection_id":106195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":106195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:07:51] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabbc7c0012d1ab840071f3798004500fc2f..."} 
[2026-06-18 18:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabbc7c0012d1ab840071f3798004500fc2f..."} 
[2026-06-18 18:07:51] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabbc7c0012d1ab840071f3798004500fc2f..."} 
[2026-06-18 18:07:51] local.INFO: Packet analysis {"connection_id":106195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:07:51] local.INFO: Extracted packet for processing {"connection_id":106195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756725824,"raw_latitude":119486360,"longitude_deg":75.6725824,"latitude_deg":11.948636,"altitude":69,"angle":252,"satellites":47,"speed":10,"hex_longitude":"2d1ab840","hex_latitude":"071f3798","is_valid_coordinates":true} 
[2026-06-18 18:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137266688001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3336669897949184,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925851821242877952,"note":"Value kept but may cause issues"} 
[2026-06-18 18:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781786200000,"timestamp_ms":1781786200000,"timestamp_seconds":1781786200,"priority":1,"record_length":96,"hex_timestamp":"0000019edabbc7c0"} 
[2026-06-18 18:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:07:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 18:07:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137266688001,"66":14048,"121":206,"28":31744,"24":10,"16":3336669897949184,"45":1925851821242877952},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137266688001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:07:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:07:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3336669897949184,"km_value":3336669897949.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925851821242877952,"description":"Unknown IO ID 45"} 
[2026-06-18 18:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137266688001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1925851821242877952}} 
[2026-06-18 18:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":106195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:07:52] local.INFO: GPS data processed {"connection_id":106195,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:07:52] local.INFO: Acknowledgment sent {"connection_id":106195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:00] local.INFO: TCP Data received {"connection_id":106022,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:00] local.INFO: Processing buffer {"connection_id":106022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:00] local.INFO: IMEI packet received {"connection_id":106022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":106022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:08:03] local.INFO: TCP Data received {"connection_id":106022,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:03] local.INFO: Processing buffer {"connection_id":106022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:03] local.INFO: IMEI packet received {"connection_id":106022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":106022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:08:05] local.INFO: TCP Data received {"connection_id":106022,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:05] local.INFO: Processing buffer {"connection_id":106022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:05] local.INFO: IMEI packet received {"connection_id":106022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":106022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:08:05] local.INFO: TCP Data received {"connection_id":106022,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabbe700012d816e4005d18300000c01062a..."} 
[2026-06-18 18:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabbe700012d816e4005d18300000c01062a..."} 
[2026-06-18 18:08:05] local.INFO: Processing buffer {"connection_id":106022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabbe700012d816e4005d18300000c01062a..."} 
[2026-06-18 18:08:05] local.INFO: Packet analysis {"connection_id":106022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:08:05] local.INFO: Extracted packet for processing {"connection_id":106022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763457088,"raw_latitude":97616640,"longitude_deg":76.3457088,"latitude_deg":9.761664,"altitude":12,"angle":262,"satellites":42,"speed":30,"hex_longitude":"2d816e40","hex_latitude":"05d18300","is_valid_coordinates":true} 
[2026-06-18 18:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137268224001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94045047749607424,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9116904101923827712,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:05] 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-06-18 18:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781786208000,"timestamp_ms":1781786208000,"timestamp_seconds":1781786208,"priority":1,"record_length":96,"hex_timestamp":"0000019edabbe700"} 
[2026-06-18 18:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 18:08:05] 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-06-18 18:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:08: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-06-18 18:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137268224001,"66":12939,"221":206,"85":15104,"24":30,"16":94045047749607424,"45":-9116904101923827712},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,85,24,16,45]} 
[2026-06-18 18:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137268224001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:05] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 18:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94045047749607424,"km_value":94045047749607.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9116904101923827712,"description":"Unknown IO ID 45"} 
[2026-06-18 18:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137268224001,"power":12939,"unknown_221":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":-9116904101923827712}} 
[2026-06-18 18:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":106022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:05] local.INFO: GPS data processed {"connection_id":106022,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:05] local.INFO: Acknowledgment sent {"connection_id":106022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:08] local.INFO: TCP Data received {"connection_id":106022,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabc2d50012d81610005d18298000e01142a..."} 
[2026-06-18 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabc2d50012d81610005d18298000e01142a..."} 
[2026-06-18 18:08:08] local.INFO: Processing buffer {"connection_id":106022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabc2d50012d81610005d18298000e01142a..."} 
[2026-06-18 18:08:08] local.INFO: Packet analysis {"connection_id":106022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:08:08] local.INFO: Extracted packet for processing {"connection_id":106022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":763453696,"raw_latitude":97616536,"longitude_deg":76.3453696,"latitude_deg":9.7616536,"altitude":14,"angle":276,"satellites":42,"speed":11,"hex_longitude":"2d816100","hex_latitude":"05d18298","is_valid_coordinates":true} 
[2026-06-18 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137269248001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94045210958364672,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9120281801644638208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781786226000,"timestamp_ms":1781786226000,"timestamp_seconds":1781786226,"priority":1,"record_length":96,"hex_timestamp":"0000019edabc2d50"} 
[2026-06-18 18:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 18:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137269248001,"66":13037,"208":206,"85":15104,"24":11,"16":94045210958364672,"45":-9120281801644638208},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137269248001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:08] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:08:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94045210958364672,"km_value":94045210958364.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9120281801644638208,"description":"Unknown IO ID 45"} 
[2026-06-18 18:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137269248001,"power":13037,"unknown_208":206,"unknown_85":15104,"ignition":11,"odometer":null,"unknown_45":-9120281801644638208}} 
[2026-06-18 18:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":106022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345640,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:08] local.INFO: GPS data processed {"connection_id":106022,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:08] local.INFO: Acknowledgment sent {"connection_id":106022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:09] local.INFO: TCP Data received {"connection_id":107773,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabc48a8012ccc8c4007467770001e01382a..."} 
[2026-06-18 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabc48a8012ccc8c4007467770001e01382a..."} 
[2026-06-18 18:08:09] local.INFO: Processing buffer {"connection_id":107773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabc48a8012ccc8c4007467770001e01382a..."} 
[2026-06-18 18:08:09] local.INFO: Packet analysis {"connection_id":107773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:08:09] local.INFO: Extracted packet for processing {"connection_id":107773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:08: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-06-18 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137198592001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781786233000,"timestamp_ms":1781786233000,"timestamp_seconds":1781786233,"priority":1,"record_length":96,"hex_timestamp":"0000019edabc48a8"} 
[2026-06-18 18:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:08: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:08:09] 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-06-18 18:08: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-06-18 18:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137198592001,"66":25702,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137198592001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137198592001,"power":25702,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":107773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:09] local.INFO: GPS data processed {"connection_id":107773,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:09] local.INFO: Acknowledgment sent {"connection_id":107773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:12] local.INFO: TCP Data received {"connection_id":106021,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:08:12] local.INFO: Processing buffer {"connection_id":106021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:08:12] local.INFO: Packet analysis {"connection_id":106021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:08:12] local.INFO: Extracted packet for processing {"connection_id":106021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":106021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345642,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:12] local.INFO: GPS data processed {"connection_id":106021,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:12] local.INFO: Acknowledgment sent {"connection_id":106021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:24] local.INFO: TCP Data received {"connection_id":106023,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:08:24] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:08:24] local.INFO: IMEI packet received {"connection_id":106023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":106023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:08:28] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabbcf90012d1ab640071f37200046010a2f..."} 
[2026-06-18 18:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabbcf90012d1ab640071f37200046010a2f..."} 
[2026-06-18 18:08:28] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabbcf90012d1ab640071f37200046010a2f..."} 
[2026-06-18 18:08:28] local.INFO: Packet analysis {"connection_id":106195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:08:28] local.INFO: Extracted packet for processing {"connection_id":106195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabb"} 
[2026-06-18 18:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756725312,"raw_latitude":119486240,"longitude_deg":75.6725312,"latitude_deg":11.948624,"altitude":70,"angle":266,"satellites":47,"speed":11,"hex_longitude":"2d1ab640","hex_latitude":"071f3720","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137267200001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3336695667752960,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925359240033572864,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781786202000,"timestamp_ms":1781786202000,"timestamp_seconds":1781786202,"priority":1,"record_length":96,"hex_timestamp":"0000019edabbcf90"} 
[2026-06-18 18:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:28] 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-06-18 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-18 18:08:28] 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-06-18 18: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-06-18 18:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137267200001,"66":13330,"121":206,"28":31744,"24":11,"16":3336695667752960,"45":1925359240033572864},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137267200001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3336695667752960,"km_value":3336695667752.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925359240033572864,"description":"Unknown IO ID 45"} 
[2026-06-18 18:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137267200001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1925359240033572864}} 
[2026-06-18 18:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":106195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:28] local.INFO: GPS data processed {"connection_id":106195,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:28] local.INFO: Acknowledgment sent {"connection_id":106195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:29] local.INFO: TCP Data received {"connection_id":106023,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:08:29] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:08:29] local.INFO: IMEI packet received {"connection_id":106023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":106023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:08:32] local.INFO: TCP Data received {"connection_id":106023,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabc48a8012ccc8c4007467770001e01382a..."} 
[2026-06-18 18:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabc48a8012ccc8c4007467770001e01382a..."} 
[2026-06-18 18:08:32] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabc48a8012ccc8c4007467770001e01382a..."} 
[2026-06-18 18:08:32] local.INFO: Packet analysis {"connection_id":106023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:08:32] local.INFO: Extracted packet for processing {"connection_id":106023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137198592001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781786233000,"timestamp_ms":1781786233000,"timestamp_seconds":1781786233,"priority":1,"record_length":96,"hex_timestamp":"0000019edabc48a8"} 
[2026-06-18 18:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:08:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 18:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137198592001,"66":25702,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137198592001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:32] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137198592001,"power":25702,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":106023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:32] local.INFO: GPS data processed {"connection_id":106023,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:32] local.INFO: Acknowledgment sent {"connection_id":106023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:38] local.INFO: TCP Data received {"connection_id":106802,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:08:38] local.INFO: Processing buffer {"connection_id":106802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:08:38] local.INFO: IMEI packet received {"connection_id":106802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":106802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:08:39] local.INFO: TCP Data received {"connection_id":106022,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabd5e00012d8111c005d23338000500092a..."} 
[2026-06-18 18:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabd5e00012d8111c005d23338000500092a..."} 
[2026-06-18 18:08:39] local.INFO: Processing buffer {"connection_id":106022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabd5e00012d8111c005d23338000500092a..."} 
[2026-06-18 18:08:39] local.INFO: Packet analysis {"connection_id":106022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:08:39] local.INFO: Extracted packet for processing {"connection_id":106022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":763433408,"raw_latitude":97661752,"longitude_deg":76.3433408,"latitude_deg":9.7661752,"altitude":5,"angle":9,"satellites":42,"speed":45,"hex_longitude":"2d8111c0","hex_latitude":"05d23338","is_valid_coordinates":true} 
[2026-06-18 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137293056001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94048281859981312,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146670080700526592,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786304000,"timestamp_ms":1781786304000,"timestamp_seconds":1781786304,"priority":1,"record_length":96,"hex_timestamp":"0000019edabd5e00"} 
[2026-06-18 18:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 18:08:39] 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-06-18 18:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137293056001,"66":12385,"208":206,"85":15104,"24":45,"16":94048281859981312,"45":-9146670080700526592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137293056001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:08:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94048281859981312,"km_value":94048281859981.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146670080700526592,"description":"Unknown IO ID 45"} 
[2026-06-18 18:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137293056001,"power":12385,"unknown_208":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":-9146670080700526592}} 
[2026-06-18 18:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":106022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345645,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:39] local.INFO: GPS data processed {"connection_id":106022,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:39] local.INFO: Acknowledgment sent {"connection_id":106022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:43] local.INFO: TCP Data received {"connection_id":106802,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:08:43] local.INFO: Processing buffer {"connection_id":106802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:08:43] local.INFO: IMEI packet received {"connection_id":106802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":106802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:08:44] local.INFO: TCP Data received {"connection_id":106024,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:08:44] local.INFO: Processing buffer {"connection_id":106024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:08:44] local.INFO: IMEI packet received {"connection_id":106024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":106024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:08:47] local.INFO: TCP Data received {"connection_id":106802,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:08:47] local.INFO: Processing buffer {"connection_id":106802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:08:47] local.INFO: Packet analysis {"connection_id":106802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:08:47] local.INFO: Extracted packet for processing {"connection_id":106802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:08:47] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:08:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:08:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:08:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:08:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:08: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-06-18 18:08:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:08:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:08:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:08:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:08:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:08:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:08:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:08:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:08:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:08:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:08:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:08:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:08:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:08:47] local.INFO: DEBUG: GPS processor result {"connection_id":106802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:47] local.INFO: GPS data processed {"connection_id":106802,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:47] local.INFO: Acknowledgment sent {"connection_id":106802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:48] local.INFO: TCP Data received {"connection_id":106024,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:08:48] local.INFO: Processing buffer {"connection_id":106024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:08:48] local.INFO: IMEI packet received {"connection_id":106024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":106024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:08:49] local.INFO: TCP Data received {"connection_id":106024,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabccd78012d1a6900071f3df00049001430..."} 
[2026-06-18 18:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabccd78012d1a6900071f3df00049001430..."} 
[2026-06-18 18:08:49] local.INFO: Processing buffer {"connection_id":106024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabccd78012d1a6900071f3df00049001430..."} 
[2026-06-18 18:08:49] local.INFO: Packet analysis {"connection_id":106024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:08:49] local.INFO: Extracted packet for processing {"connection_id":106024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756705536,"raw_latitude":119487984,"longitude_deg":75.6705536,"latitude_deg":11.9487984,"altitude":73,"angle":20,"satellites":48,"speed":5,"hex_longitude":"2d1a6900","hex_latitude":"071f3df0","is_valid_coordinates":true} 
[2026-06-18 18:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137284096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3337674920296448,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903052348129632256,"note":"Value kept but may cause issues"} 
[2026-06-18 18:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781786267000,"timestamp_ms":1781786267000,"timestamp_seconds":1781786267,"priority":1,"record_length":96,"hex_timestamp":"0000019edabccd78"} 
[2026-06-18 18:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 18:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137284096001,"66":14004,"121":206,"28":31744,"24":5,"16":3337674920296448,"45":1903052348129632256},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137284096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:08:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:08:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3337674920296448,"km_value":3337674920296.448,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903052348129632256,"description":"Unknown IO ID 45"} 
[2026-06-18 18:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137284096001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1903052348129632256}} 
[2026-06-18 18:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":106024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:08:49] local.INFO: GPS data processed {"connection_id":106024,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:08:49] local.INFO: Acknowledgment sent {"connection_id":106024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:08:59] local.INFO: TCP Data received {"connection_id":106803,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:59] local.INFO: Processing buffer {"connection_id":106803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:59] local.INFO: IMEI packet received {"connection_id":106803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":106803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:08:59] local.INFO: TCP Data received {"connection_id":106803,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:59] local.INFO: Processing buffer {"connection_id":106803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:08:59] local.INFO: IMEI packet received {"connection_id":106803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":106803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:09:02] local.INFO: TCP Data received {"connection_id":106803,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:02] local.INFO: Processing buffer {"connection_id":106803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:02] local.INFO: IMEI packet received {"connection_id":106803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":106803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:09:04] local.INFO: TCP Data received {"connection_id":106023,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabcf870012ccc8c4007467770001e013828..."} 
[2026-06-18 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabcf870012ccc8c4007467770001e013828..."} 
[2026-06-18 18:09:04] local.INFO: Processing buffer {"connection_id":106023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabcf870012ccc8c4007467770001e013828..."} 
[2026-06-18 18:09:04] local.INFO: Packet analysis {"connection_id":106023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:09:04] local.INFO: Extracted packet for processing {"connection_id":106023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":751602752,"raw_latitude":122058608,"longitude_deg":75.1602752,"latitude_deg":12.2058608,"altitude":30,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2ccc8c40","hex_latitude":"07467770","is_valid_coordinates":true} 
[2026-06-18 18:09:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137275648001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781786278000,"timestamp_ms":1781786278000,"timestamp_seconds":1781786278,"priority":1,"record_length":96,"hex_timestamp":"0000019edabcf870"} 
[2026-06-18 18:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:09: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-06-18 18: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 18:09:04] 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-06-18 18: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-06-18 18:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137275648001,"66":25680,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137275648001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:09:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137275648001,"power":25680,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":106023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:09:04] local.INFO: GPS data processed {"connection_id":106023,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:09:04] local.INFO: Acknowledgment sent {"connection_id":106023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:09:05] local.INFO: TCP Data received {"connection_id":106803,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106803,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:05] local.INFO: Processing buffer {"connection_id":106803,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:05] local.INFO: IMEI packet received {"connection_id":106803,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":106803,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:09:06] local.INFO: TCP Data received {"connection_id":106803,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabdbfa8012d81068005d277b8000800042c..."} 
[2026-06-18 18:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabdbfa8012d81068005d277b8000800042c..."} 
[2026-06-18 18:09:06] local.INFO: Processing buffer {"connection_id":106803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabdbfa8012d81068005d277b8000800042c..."} 
[2026-06-18 18:09:06] local.INFO: Packet analysis {"connection_id":106803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:09:06] local.INFO: Extracted packet for processing {"connection_id":106803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763430528,"raw_latitude":97679288,"longitude_deg":76.3430528,"latitude_deg":9.7679288,"altitude":8,"angle":4,"satellites":44,"speed":24,"hex_longitude":"2d810680","hex_latitude":"05d277b8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137299968001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94049299767230464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9149555199206676480,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:06] 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-06-18 18:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781786329000,"timestamp_ms":1781786329000,"timestamp_seconds":1781786329,"priority":1,"record_length":96,"hex_timestamp":"0000019edabdbfa8"} 
[2026-06-18 18:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 18:09:06] 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-06-18 18: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-06-18 18:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:09:06] 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-06-18 18:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137299968001,"66":12906,"208":206,"85":15104,"24":24,"16":94049299767230464,"45":-9149555199206676480},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137299968001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:09:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94049299767230464,"km_value":94049299767230.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9149555199206676480,"description":"Unknown IO ID 45"} 
[2026-06-18 18:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137299968001,"power":12906,"unknown_208":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":-9149555199206676480}} 
[2026-06-18 18:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":106803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345649,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:09:06] local.INFO: GPS data processed {"connection_id":106803,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:09:06] local.INFO: Acknowledgment sent {"connection_id":106803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:09:19] local.INFO: TCP Data received {"connection_id":106802,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:09:19] local.INFO: Processing buffer {"connection_id":106802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:09:19] local.INFO: Packet analysis {"connection_id":106802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:09:19] local.INFO: Extracted packet for processing {"connection_id":106802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":106802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":106802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":106802,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:09:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:09:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":106802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:09:19] local.INFO: GPS data processed {"connection_id":106802,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:09:19] local.INFO: Acknowledgment sent {"connection_id":106802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:09:22] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:22] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:22] local.INFO: IMEI packet received {"connection_id":106196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":106196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:09:22] local.INFO: TCP Data received {"connection_id":106024,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabcd548012d1a6940071f3ef00048002330..."} 
[2026-06-18 18:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabcd548012d1a6940071f3ef00048002330..."} 
[2026-06-18 18:09:22] local.INFO: Processing buffer {"connection_id":106024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabcd548012d1a6940071f3ef00048002330..."} 
[2026-06-18 18:09:22] local.INFO: Packet analysis {"connection_id":106024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:09:22] local.INFO: Extracted packet for processing {"connection_id":106024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabc"} 
[2026-06-18 18:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756705600,"raw_latitude":119488240,"longitude_deg":75.67056,"latitude_deg":11.948824,"altitude":72,"angle":35,"satellites":48,"speed":6,"hex_longitude":"2d1a6940","hex_latitude":"071f3ef0","is_valid_coordinates":true} 
[2026-06-18 18:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137284352001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3337687805198336,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903052348129669120,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781786269000,"timestamp_ms":1781786269000,"timestamp_seconds":1781786269,"priority":1,"record_length":96,"hex_timestamp":"0000019edabcd548"} 
[2026-06-18 18:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:09:22] 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-06-18 18:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 18:09:22] 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-06-18 18:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137284352001,"66":14102,"121":206,"28":31744,"24":6,"16":3337687805198336,"45":1903052348129669120},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137284352001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:09:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:09:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3337687805198336,"km_value":3337687805198.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903052348129669120,"description":"Unknown IO ID 45"} 
[2026-06-18 18:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137284352001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1903052348129669120}} 
[2026-06-18 18:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":106024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:09:22] local.INFO: GPS data processed {"connection_id":106024,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:09:22] local.INFO: Acknowledgment sent {"connection_id":106024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:09:24] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:24] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:24] local.INFO: IMEI packet received {"connection_id":106196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":106196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:09:30] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:30] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:09:30] local.INFO: IMEI packet received {"connection_id":106196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:09:30] local.INFO: IMEI acknowledgment sent {"connection_id":106196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:09:31] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabd0810012ccc86c0074680d8001e015a2a..."} 
[2026-06-18 18:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabd0810012ccc86c0074680d8001e015a2a..."} 
[2026-06-18 18:09:31] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabd0810012ccc86c0074680d8001e015a2a..."} 
[2026-06-18 18:09:31] local.INFO: Packet analysis {"connection_id":106196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:09:31] local.INFO: Extracted packet for processing {"connection_id":106196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":751601344,"raw_latitude":122061016,"longitude_deg":75.1601344,"latitude_deg":12.2061016,"altitude":30,"angle":346,"satellites":42,"speed":0,"hex_longitude":"2ccc86c0","hex_latitude":"074680d8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137287168001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3707517993241579520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:31] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781786282000,"timestamp_ms":1781786282000,"timestamp_seconds":1781786282,"priority":1,"record_length":96,"hex_timestamp":"0000019edabd0810"} 
[2026-06-18 18:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-06-18 18:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137287168001,"66":25495,"44":-3707517993241579520,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137287168001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:09:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3707517993241579520,"description":"Unknown IO ID 44"} 
[2026-06-18 18:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:09:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137287168001,"power":25495,"unknown_44":-3707517993241579520,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":106196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:09:31] local.INFO: GPS data processed {"connection_id":106196,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:09:31] local.INFO: Acknowledgment sent {"connection_id":106196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:09:34] local.INFO: TCP Data received {"connection_id":106197,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:09:34] local.INFO: Processing buffer {"connection_id":106197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:09:34] local.INFO: IMEI packet received {"connection_id":106197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":106197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:09:37] local.INFO: TCP Data received {"connection_id":106803,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabe5be8012d80ce0005d2b6700009013c2b..."} 
[2026-06-18 18:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabe5be8012d80ce0005d2b6700009013c2b..."} 
[2026-06-18 18:09:37] local.INFO: Processing buffer {"connection_id":106803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabe5be8012d80ce0005d2b6700009013c2b..."} 
[2026-06-18 18:09:37] local.INFO: Packet analysis {"connection_id":106803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:09:37] local.INFO: Extracted packet for processing {"connection_id":106803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763416064,"raw_latitude":97695344,"longitude_deg":76.3416064,"latitude_deg":9.7695344,"altitude":9,"angle":316,"satellites":43,"speed":20,"hex_longitude":"2d80ce00","hex_latitude":"05d2b670","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137310208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94050523832909824,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9164965954177390592,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781786369000,"timestamp_ms":1781786369000,"timestamp_seconds":1781786369,"priority":1,"record_length":96,"hex_timestamp":"0000019edabe5be8"} 
[2026-06-18 18:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 18:09:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106803,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:09:37] 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-06-18 18:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137310208001,"66":13222,"208":206,"85":15104,"24":20,"16":94050523832909824,"45":-9164965954177390592},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137310208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:09:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:09:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94050523832909824,"km_value":94050523832909.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9164965954177390592,"description":"Unknown IO ID 45"} 
[2026-06-18 18:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137310208001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9164965954177390592}} 
[2026-06-18 18:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":106803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345653,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:09:37] local.INFO: GPS data processed {"connection_id":106803,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:09:37] local.INFO: Acknowledgment sent {"connection_id":106803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:09:38] local.INFO: TCP Data received {"connection_id":106197,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:09:38] local.INFO: Processing buffer {"connection_id":106197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:09:38] local.INFO: IMEI packet received {"connection_id":106197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":106197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:09:39] local.INFO: TCP Data received {"connection_id":106197,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:09:39] local.INFO: Processing buffer {"connection_id":106197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:09:39] local.INFO: Packet analysis {"connection_id":106197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:09:39] local.INFO: Extracted packet for processing {"connection_id":106197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:09:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":106197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:09:40] local.INFO: GPS data processed {"connection_id":106197,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:09:40] local.INFO: Acknowledgment sent {"connection_id":106197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:09:44] local.INFO: TCP Data received {"connection_id":107774,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:44] local.INFO: Processing buffer {"connection_id":107774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:44] local.INFO: IMEI packet received {"connection_id":107774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":107774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:09:45] local.INFO: TCP Data received {"connection_id":107774,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:45] local.INFO: Processing buffer {"connection_id":107774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:45] local.INFO: IMEI packet received {"connection_id":107774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:09:45] local.INFO: IMEI acknowledgment sent {"connection_id":107774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:09:48] local.INFO: TCP Data received {"connection_id":107774,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:48] local.INFO: Processing buffer {"connection_id":107774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:09:48] local.INFO: IMEI packet received {"connection_id":107774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":107774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:09:51] local.INFO: TCP Data received {"connection_id":107774,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabd2750012d1a69c0071f4048004600212c..."} 
[2026-06-18 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabd2750012d1a69c0071f4048004600212c..."} 
[2026-06-18 18:09:51] local.INFO: Processing buffer {"connection_id":107774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabd2750012d1a69c0071f4048004600212c..."} 
[2026-06-18 18:09:51] local.INFO: Packet analysis {"connection_id":107774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:09:51] local.INFO: Extracted packet for processing {"connection_id":107774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119488584,"longitude_deg":75.6705728,"latitude_deg":11.9488584,"altitude":70,"angle":33,"satellites":44,"speed":0,"hex_longitude":"2d1a69c0","hex_latitude":"071f4048","is_valid_coordinates":true} 
[2026-06-18 18:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137284864001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3337709280034816,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903122716873912320,"note":"Value kept but may cause issues"} 
[2026-06-18 18:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781786290000,"timestamp_ms":1781786290000,"timestamp_seconds":1781786290,"priority":1,"record_length":96,"hex_timestamp":"0000019edabd2750"} 
[2026-06-18 18:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 18:09: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-06-18 18:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137284864001,"66":14157,"121":206,"28":31744,"24":0,"16":3337709280034816,"45":1903122716873912320},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137284864001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:09:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:09:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3337709280034816,"km_value":3337709280034.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903122716873912320,"description":"Unknown IO ID 45"} 
[2026-06-18 18:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137284864001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903122716873912320}} 
[2026-06-18 18:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":107774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:09:51] local.INFO: GPS data processed {"connection_id":107774,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:09:51] local.INFO: Acknowledgment sent {"connection_id":107774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:09:59] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:59] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:09:59] local.INFO: IMEI packet received {"connection_id":106198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":106198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:10:02] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabd5a18012ccc86c0074680d8001e015a2c..."} 
[2026-06-18 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabd5a18012ccc86c0074680d8001e015a2c..."} 
[2026-06-18 18:10:02] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabd5a18012ccc86c0074680d8001e015a2c..."} 
[2026-06-18 18:10:02] local.INFO: Packet analysis {"connection_id":106196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:10:02] local.INFO: Extracted packet for processing {"connection_id":106196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":751601344,"raw_latitude":122061016,"longitude_deg":75.1601344,"latitude_deg":12.2061016,"altitude":30,"angle":346,"satellites":44,"speed":0,"hex_longitude":"2ccc86c0","hex_latitude":"074680d8","is_valid_coordinates":true} 
[2026-06-18 18:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137288192001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3709066105612871680,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781786303000,"timestamp_ms":1781786303000,"timestamp_seconds":1781786303,"priority":1,"record_length":96,"hex_timestamp":"0000019edabd5a18"} 
[2026-06-18 18:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:10:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:10: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-06-18 18:10:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137288192001,"66":27647,"44":-3709066105612871680,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137288192001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3709066105612871680,"description":"Unknown IO ID 44"} 
[2026-06-18 18:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137288192001,"power":27647,"unknown_44":-3709066105612871680,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":106196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:02] local.INFO: GPS data processed {"connection_id":106196,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:02] local.INFO: Acknowledgment sent {"connection_id":106196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:04] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:10:04] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:10:04] local.INFO: IMEI packet received {"connection_id":106198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":106198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:10:05] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:10:05] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:10:05] local.INFO: IMEI packet received {"connection_id":106198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":106198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:10:05] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabe5fd0012d80cd0005d2b848000901512b..."} 
[2026-06-18 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabe5fd0012d80cd0005d2b848000901512b..."} 
[2026-06-18 18:10:05] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabe5fd0012d80cd0005d2b848000901512b..."} 
[2026-06-18 18:10:05] local.INFO: Packet analysis {"connection_id":106198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:05] local.INFO: Extracted packet for processing {"connection_id":106198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":763415808,"raw_latitude":97695816,"longitude_deg":76.3415808,"latitude_deg":9.7695816,"altitude":9,"angle":337,"satellites":43,"speed":22,"hex_longitude":"2d80cd00","hex_latitude":"05d2b848","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137310464001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94050549602713600,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165388166642372608,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781786370000,"timestamp_ms":1781786370000,"timestamp_seconds":1781786370,"priority":1,"record_length":96,"hex_timestamp":"0000019edabe5fd0"} 
[2026-06-18 18:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:10: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-06-18 18:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137310464001,"66":13222,"208":206,"85":15104,"24":22,"16":94050549602713600,"45":-9165388166642372608},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137310464001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:05] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94050549602713600,"km_value":94050549602713.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165388166642372608,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137310464001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":-9165388166642372608}} 
[2026-06-18 18:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":106198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:05] local.INFO: GPS data processed {"connection_id":106198,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:05] local.INFO: Acknowledgment sent {"connection_id":106198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:06] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.48","data_length":405,"data_hex":"00000000000001898e050000019edabe63b8012d80ccc005d2bac0000901612b..."} 
[2026-06-18 18:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":405,"packet_hex":"00000000000001898e050000019edabe63b8012d80ccc005d2bac0000901612b..."} 
[2026-06-18 18:10:06] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":405,"buffer_hex":"00000000000001898e050000019edabe63b8012d80ccc005d2bac0000901612b..."} 
[2026-06-18 18:10:06] local.INFO: Packet analysis {"connection_id":106198,"data_field_length":393,"total_packet_length":405,"buffer_length":405,"packet_hex_start":"00000000000001898e050000019edabe"} 
[2026-06-18 18:10:06] local.INFO: Extracted packet for processing {"connection_id":106198,"packet_length":405,"remaining_buffer_length":0,"packet_hex_start":"00000000000001898e050000019edabe"} 
[2026-06-18 18:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763415744,"raw_latitude":97696448,"longitude_deg":76.3415744,"latitude_deg":9.7696448,"altitude":9,"angle":353,"satellites":43,"speed":25,"hex_longitude":"2d80ccc0","hex_latitude":"05d2bac0","is_valid_coordinates":true} 
[2026-06-18 18:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":405,"current_offset":40} 
[2026-06-18 18:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137310720001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94050579667484672,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9165669641618962432,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:06] 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-06-18 18:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781786371000,"timestamp_ms":1781786371000,"timestamp_seconds":1781786371,"priority":1,"record_length":96,"hex_timestamp":"0000019edabe63b8"} 
[2026-06-18 18:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":5,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":405,"current_offset":136} 
[2026-06-18 18:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":405,"available_bytes":269,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:10:06] 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-06-18 18:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":5,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:06] local.INFO: AVL Records parsing completed {"total_expected":5,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106198,"avl_records_parsed":1,"avl_records_expected":5,"crc_valid":false} 
[2026-06-18 18:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:10:06] 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-06-18 18:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137310720001,"66":13222,"208":206,"85":15104,"24":25,"16":94050579667484672,"45":-9165669641618962432},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137310720001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:06] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94050579667484672,"km_value":94050579667484.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9165669641618962432,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137310720001,"power":13222,"unknown_208":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":-9165669641618962432}} 
[2026-06-18 18:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":106198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345658,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:06] local.INFO: GPS data processed {"connection_id":106198,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:06] local.INFO: Acknowledgment sent {"connection_id":106198,"records_acknowledged":1,"records_expected":5,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:11] local.INFO: TCP Data received {"connection_id":106197,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:11] local.INFO: Processing buffer {"connection_id":106197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaba2d98012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:11] local.INFO: Packet analysis {"connection_id":106197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:10:11] local.INFO: Extracted packet for processing {"connection_id":106197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaba"} 
[2026-06-18 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137163264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786095000,"timestamp_ms":1781786095000,"timestamp_seconds":1781786095,"priority":1,"record_length":96,"hex_timestamp":"0000019edaba2d98"} 
[2026-06-18 18:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106197,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137163264001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137163264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137163264001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":106197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:11] local.INFO: GPS data processed {"connection_id":106197,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:11] local.INFO: Acknowledgment sent {"connection_id":106197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:22] local.INFO: TCP Data received {"connection_id":107774,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabd7958012d1a69c0071f4048004600212a..."} 
[2026-06-18 18:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabd7958012d1a69c0071f4048004600212a..."} 
[2026-06-18 18:10:22] local.INFO: Processing buffer {"connection_id":107774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabd7958012d1a69c0071f4048004600212a..."} 
[2026-06-18 18:10:22] local.INFO: Packet analysis {"connection_id":107774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:10:22] local.INFO: Extracted packet for processing {"connection_id":107774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756705728,"raw_latitude":119488584,"longitude_deg":75.6705728,"latitude_deg":11.9488584,"altitude":70,"angle":33,"satellites":42,"speed":0,"hex_longitude":"2d1a69c0","hex_latitude":"071f4048","is_valid_coordinates":true} 
[2026-06-18 18:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137290240001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3337709280034816,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903263454362355712,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781786311000,"timestamp_ms":1781786311000,"timestamp_seconds":1781786311,"priority":1,"record_length":96,"hex_timestamp":"0000019edabd7958"} 
[2026-06-18 18:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:22] 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-06-18 18:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137290240001,"66":14428,"121":206,"28":31744,"24":0,"16":3337709280034816,"45":1903263454362355712},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137290240001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:10:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3337709280034816,"km_value":3337709280034.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903263454362355712,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137290240001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1903263454362355712}} 
[2026-06-18 18:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":107774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:22] local.INFO: GPS data processed {"connection_id":107774,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:22] local.INFO: Acknowledgment sent {"connection_id":107774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:24] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:10:24] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:10:24] local.INFO: IMEI packet received {"connection_id":106199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":106199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:10:29] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:10:29] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:10:29] local.INFO: IMEI packet received {"connection_id":106199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":106199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:10:33] local.INFO: TCP Data received {"connection_id":106025,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:33] local.INFO: Processing buffer {"connection_id":106025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:33] local.INFO: IMEI packet received {"connection_id":106025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":106025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:10:34] local.INFO: TCP Data received {"connection_id":106025,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:34] local.INFO: Processing buffer {"connection_id":106025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:34] local.INFO: IMEI packet received {"connection_id":106025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":106025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:10:37] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabf03e0012d80a6c005d31730000900082c..."} 
[2026-06-18 18:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabf03e0012d80a6c005d31730000900082c..."} 
[2026-06-18 18:10:37] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabf03e0012d80a6c005d31730000900082c..."} 
[2026-06-18 18:10:37] local.INFO: Packet analysis {"connection_id":106198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:10:37] local.INFO: Extracted packet for processing {"connection_id":106198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":763406016,"raw_latitude":97720112,"longitude_deg":76.3406016,"latitude_deg":9.7720112,"altitude":9,"angle":8,"satellites":44,"speed":33,"hex_longitude":"2d80a6c0","hex_latitude":"05d31730","is_valid_coordinates":true} 
[2026-06-18 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137319680001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94052070021136384,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176999009426886656,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781786412000,"timestamp_ms":1781786412000,"timestamp_seconds":1781786412,"priority":1,"record_length":96,"hex_timestamp":"0000019edabf03e0"} 
[2026-06-18 18:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:37] 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-06-18 18: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-06-18 18:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:10:37] 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-06-18 18:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137319680001,"66":13189,"208":206,"85":15104,"24":33,"16":94052070021136384,"45":-9176999009426886656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137319680001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:37] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:10:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94052070021136384,"km_value":94052070021136.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176999009426886656,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137319680001,"power":13189,"unknown_208":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":-9176999009426886656}} 
[2026-06-18 18:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":106198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:37] local.INFO: GPS data processed {"connection_id":106198,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:37] local.INFO: Acknowledgment sent {"connection_id":106198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:38] local.INFO: TCP Data received {"connection_id":106025,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:38] local.INFO: Processing buffer {"connection_id":106025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:10:38] local.INFO: IMEI packet received {"connection_id":106025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":106025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:10:41] local.INFO: TCP Data received {"connection_id":106025,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:41] local.INFO: Processing buffer {"connection_id":106025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:41] local.INFO: Packet analysis {"connection_id":106025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:41] local.INFO: Extracted packet for processing {"connection_id":106025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:10:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":106025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:41] local.INFO: GPS data processed {"connection_id":106025,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:41] local.INFO: Acknowledgment sent {"connection_id":106025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:42] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabdac20012ccc86c0074680d8001e015a2c..."} 
[2026-06-18 18:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabdac20012ccc86c0074680d8001e015a2c..."} 
[2026-06-18 18:10:42] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabdac20012ccc86c0074680d8001e015a2c..."} 
[2026-06-18 18:10:42] local.INFO: Packet analysis {"connection_id":106199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:10:42] local.INFO: Extracted packet for processing {"connection_id":106199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:10:42] local.INFO: GPS Element Parsed {"raw_longitude":751601344,"raw_latitude":122061016,"longitude_deg":75.1601344,"latitude_deg":12.2061016,"altitude":30,"angle":346,"satellites":44,"speed":0,"hex_longitude":"2ccc86c0","hex_latitude":"074680d8","is_valid_coordinates":true} 
[2026-06-18 18:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137293568001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3709066105612871680,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763552062046208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781786324000,"timestamp_ms":1781786324000,"timestamp_seconds":1781786324,"priority":1,"record_length":96,"hex_timestamp":"0000019edabdac20"} 
[2026-06-18 18:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:10:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:42] 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-06-18 18:10:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137293568001,"66":27789,"44":-3709066105612871680,"2":54016,"24":0,"16":318763552062046208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137293568001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3709066105612871680,"description":"Unknown IO ID 44"} 
[2026-06-18 18:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763552062046208,"km_value":318763552062046.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137293568001,"power":27789,"unknown_44":-3709066105612871680,"power_alt":54016,"ignition":0,"odometer":null}} 
[2026-06-18 18:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":106199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:42] local.INFO: GPS data processed {"connection_id":106199,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:42] local.INFO: Acknowledgment sent {"connection_id":106199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:43] local.INFO: TCP Data received {"connection_id":106025,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:43] local.INFO: Processing buffer {"connection_id":106025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:10:43] local.INFO: Packet analysis {"connection_id":106025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:43] local.INFO: Extracted packet for processing {"connection_id":106025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:10:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":106025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345664,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:43] local.INFO: GPS data processed {"connection_id":106025,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:43] local.INFO: Acknowledgment sent {"connection_id":106025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:43] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabdfe28012ccc83400746a0d0001c01612b..."} 
[2026-06-18 18:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabdfe28012ccc83400746a0d0001c01612b..."} 
[2026-06-18 18:10:43] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabdfe28012ccc83400746a0d0001c01612b..."} 
[2026-06-18 18:10:43] local.INFO: Packet analysis {"connection_id":106199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:10:43] local.INFO: Extracted packet for processing {"connection_id":106199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabd"} 
[2026-06-18 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":751600448,"raw_latitude":122069200,"longitude_deg":75.1600448,"latitude_deg":12.20692,"altitude":28,"angle":353,"satellites":43,"speed":28,"hex_longitude":"2ccc8340","hex_latitude":"0746a0d0","is_valid_coordinates":true} 
[2026-06-18 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137298944001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3709066105612871680,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318763951494004736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 18:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781786345000,"timestamp_ms":1781786345000,"timestamp_seconds":1781786345,"priority":1,"record_length":96,"hex_timestamp":"0000019edabdfe28"} 
[2026-06-18 18:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:43] 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-06-18 18:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137298944001,"66":27919,"44":-3709066105612871680,"2":54016,"24":28,"16":318763951494004736},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,2,24,16]} 
[2026-06-18 18:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137298944001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3709066105612871680,"description":"Unknown IO ID 44"} 
[2026-06-18 18:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318763951494004736,"km_value":318763951494004.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456137298944001,"power":27919,"unknown_44":-3709066105612871680,"power_alt":54016,"ignition":28,"odometer":null}} 
[2026-06-18 18:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":106199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:44] local.INFO: GPS data processed {"connection_id":106199,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:44] local.INFO: Acknowledgment sent {"connection_id":106199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:44] local.INFO: TCP Data received {"connection_id":106804,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:44] local.INFO: Processing buffer {"connection_id":106804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:44] local.INFO: IMEI packet received {"connection_id":106804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":106804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:10:48] local.INFO: TCP Data received {"connection_id":106804,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:48] local.INFO: Processing buffer {"connection_id":106804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:48] local.INFO: IMEI packet received {"connection_id":106804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:10:48] local.INFO: IMEI acknowledgment sent {"connection_id":106804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:10:49] local.INFO: TCP Data received {"connection_id":106804,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:49] local.INFO: Processing buffer {"connection_id":106804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:10:49] local.INFO: IMEI packet received {"connection_id":106804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":106804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:10:50] local.INFO: TCP Data received {"connection_id":106804,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabea620012d1a7c40071f6270004800782f..."} 
[2026-06-18 18:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabea620012d1a7c40071f6270004800782f..."} 
[2026-06-18 18:10:50] local.INFO: Processing buffer {"connection_id":106804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabea620012d1a7c40071f6270004800782f..."} 
[2026-06-18 18:10:50] local.INFO: Packet analysis {"connection_id":106804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:50] local.INFO: Extracted packet for processing {"connection_id":106804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756710464,"raw_latitude":119497328,"longitude_deg":75.6710464,"latitude_deg":11.9497328,"altitude":72,"angle":120,"satellites":47,"speed":5,"hex_longitude":"2d1a7c40","hex_latitude":"071f6270","is_valid_coordinates":true} 
[2026-06-18 18:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137315072001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338224676110336,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908259635201216512,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781786388000,"timestamp_ms":1781786388000,"timestamp_seconds":1781786388,"priority":1,"record_length":96,"hex_timestamp":"0000019edabea620"} 
[2026-06-18 18:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 18:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137315072001,"66":13102,"121":206,"28":31744,"24":5,"16":3338224676110336,"45":1908259635201216512},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137315072001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:10:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338224676110336,"km_value":3338224676110.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908259635201216512,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137315072001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1908259635201216512}} 
[2026-06-18 18:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":106804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:50] local.INFO: GPS data processed {"connection_id":106804,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:50] local.INFO: Acknowledgment sent {"connection_id":106804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:10:55] local.INFO: TCP Data received {"connection_id":106804,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabeaa08012d1a7c80071f6238004800932e..."} 
[2026-06-18 18:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabeaa08012d1a7c80071f6238004800932e..."} 
[2026-06-18 18:10:55] local.INFO: Processing buffer {"connection_id":106804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabeaa08012d1a7c80071f6238004800932e..."} 
[2026-06-18 18:10:55] local.INFO: Packet analysis {"connection_id":106804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:55] local.INFO: Extracted packet for processing {"connection_id":106804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119497272,"longitude_deg":75.6710528,"latitude_deg":11.9497272,"altitude":72,"angle":147,"satellites":46,"speed":4,"hex_longitude":"2d1a7c80","hex_latitude":"071f6238","is_valid_coordinates":true} 
[2026-06-18 18:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137315328001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338228971077632,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908470741433741312,"note":"Value kept but may cause issues"} 
[2026-06-18 18:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781786389000,"timestamp_ms":1781786389000,"timestamp_seconds":1781786389,"priority":1,"record_length":96,"hex_timestamp":"0000019edabeaa08"} 
[2026-06-18 18:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:10: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-06-18 18:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 18:10: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-06-18 18:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137315328001,"66":13091,"121":206,"28":31744,"24":4,"16":3338228971077632,"45":1908470741433741312},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137315328001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:10:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338228971077632,"km_value":3338228971077.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908470741433741312,"description":"Unknown IO ID 45"} 
[2026-06-18 18:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137315328001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1908470741433741312}} 
[2026-06-18 18:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":106804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:10:55] local.INFO: GPS data processed {"connection_id":106804,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:10:55] local.INFO: Acknowledgment sent {"connection_id":106804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:11:04] local.INFO: TCP Data received {"connection_id":107775,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:04] local.INFO: Processing buffer {"connection_id":107775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:04] local.INFO: IMEI packet received {"connection_id":107775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":107775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:11:04] local.INFO: TCP Data received {"connection_id":107775,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:05] local.INFO: Processing buffer {"connection_id":107775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:05] local.INFO: IMEI packet received {"connection_id":107775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":107775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:11:09] local.INFO: TCP Data received {"connection_id":107775,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107775,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:09] local.INFO: Processing buffer {"connection_id":107775,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:09] local.INFO: IMEI packet received {"connection_id":107775,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":107775,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:11:10] local.INFO: TCP Data received {"connection_id":107775,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabf2af0012d80ab0005d33b88000901672a..."} 
[2026-06-18 18:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabf2af0012d80ab0005d33b88000901672a..."} 
[2026-06-18 18:11:10] local.INFO: Processing buffer {"connection_id":107775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabf2af0012d80ab0005d33b88000901672a..."} 
[2026-06-18 18:11:10] local.INFO: Packet analysis {"connection_id":107775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:10] local.INFO: Extracted packet for processing {"connection_id":107775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:10] local.INFO: GPS Element Parsed {"raw_longitude":763407104,"raw_latitude":97729416,"longitude_deg":76.3407104,"latitude_deg":9.7729416,"altitude":9,"angle":359,"satellites":42,"speed":40,"hex_longitude":"2d80ab00","hex_latitude":"05d33b88","is_valid_coordinates":true} 
[2026-06-18 18:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137321472001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94052529582637056,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9176436059471925248,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:10] 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-06-18 18:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781786422000,"timestamp_ms":1781786422000,"timestamp_seconds":1781786422,"priority":1,"record_length":96,"hex_timestamp":"0000019edabf2af0"} 
[2026-06-18 18:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:11: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-06-18 18:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 18:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1650,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:11:10] 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-06-18 18:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137321472001,"66":13048,"208":206,"85":15104,"24":40,"16":94052529582637056,"45":-9176436059471925248},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137321472001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:11:10] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:11:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94052529582637056,"km_value":94052529582637.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9176436059471925248,"description":"Unknown IO ID 45"} 
[2026-06-18 18:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137321472001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":-9176436059471925248}} 
[2026-06-18 18:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":107775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345668,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:11:10] local.INFO: GPS data processed {"connection_id":107775,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:11:10] local.INFO: Acknowledgment sent {"connection_id":107775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:11:11] local.INFO: TCP Data received {"connection_id":107775,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabf4e18012d80ac0005d36118000600042c..."} 
[2026-06-18 18:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabf4e18012d80ac0005d36118000600042c..."} 
[2026-06-18 18:11:11] local.INFO: Processing buffer {"connection_id":107775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabf4e18012d80ac0005d36118000600042c..."} 
[2026-06-18 18:11:11] local.INFO: Packet analysis {"connection_id":107775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:11] local.INFO: Extracted packet for processing {"connection_id":107775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:11] local.INFO: GPS Element Parsed {"raw_longitude":763407360,"raw_latitude":97739032,"longitude_deg":76.340736,"latitude_deg":9.7739032,"altitude":6,"angle":4,"satellites":44,"speed":34,"hex_longitude":"2d80ac00","hex_latitude":"05d36118","is_valid_coordinates":true} 
[2026-06-18 18:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94052993439105024,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9175239790818523136,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786431000,"timestamp_ms":1781786431000,"timestamp_seconds":1781786431,"priority":1,"record_length":96,"hex_timestamp":"0000019edabf4e18"} 
[2026-06-18 18:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:11: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-06-18 18:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 18:11:11] 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-06-18 18:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:11: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-06-18 18:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137324032001,"66":13048,"208":206,"85":15104,"24":34,"16":94052993439105024,"45":-9175239790818523136},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,85,24,16,45]} 
[2026-06-18 18:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:11:11] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-06-18 18:11:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94052993439105024,"km_value":94052993439105.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9175239790818523136,"description":"Unknown IO ID 45"} 
[2026-06-18 18:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137324032001,"power":13048,"unknown_208":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":-9175239790818523136}} 
[2026-06-18 18:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":107775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345669,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:11:11] local.INFO: GPS data processed {"connection_id":107775,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:11:11] local.INFO: Acknowledgment sent {"connection_id":107775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:11:15] local.INFO: TCP Data received {"connection_id":106025,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:11:15] local.INFO: Processing buffer {"connection_id":106025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:11:15] local.INFO: Packet analysis {"connection_id":106025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:11:15] local.INFO: Extracted packet for processing {"connection_id":106025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:11:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":106025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:11:15] local.INFO: GPS data processed {"connection_id":106025,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:11:15] local.INFO: Acknowledgment sent {"connection_id":106025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:11:29] local.INFO: TCP Data received {"connection_id":106200,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:11:29] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:11:29] local.INFO: IMEI packet received {"connection_id":106200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":106200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:11:31] local.INFO: TCP Data received {"connection_id":106200,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:11:31] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:11:31] local.INFO: IMEI packet received {"connection_id":106200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":106200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:11:32] local.INFO: TCP Data received {"connection_id":106200,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabf32c0012ccc59000747a4800009013c2f..."} 
[2026-06-18 18:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabf32c0012ccc59000747a4800009013c2f..."} 
[2026-06-18 18:11:32] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabf32c0012ccc59000747a4800009013c2f..."} 
[2026-06-18 18:11:32] local.INFO: Packet analysis {"connection_id":106200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:32] local.INFO: Extracted packet for processing {"connection_id":106200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":751589632,"raw_latitude":122135680,"longitude_deg":75.1589632,"latitude_deg":12.213568,"altitude":9,"angle":316,"satellites":47,"speed":12,"hex_longitude":"2ccc5900","hex_latitude":"0747a480","is_valid_coordinates":true} 
[2026-06-18 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137323776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318767271503724544,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3720817685871613952,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781786424000,"timestamp_ms":1781786424000,"timestamp_seconds":1781786424,"priority":1,"record_length":96,"hex_timestamp":"0000019edabf32c0"} 
[2026-06-18 18:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 18:11:32] 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-06-18 18:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137323776001,"66":27974,"59":206,"2":54016,"24":12,"16":318767271503724544,"44":-3720817685871613952},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-06-18 18:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137323776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:11:32] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-18 18:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318767271503724544,"km_value":318767271503724.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:11:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3720817685871613952,"description":"Unknown IO ID 44"} 
[2026-06-18 18:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137323776001,"power":27974,"unknown_59":206,"power_alt":54016,"ignition":12,"odometer":null,"unknown_44":-3720817685871613952}} 
[2026-06-18 18:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":106200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:11:32] local.INFO: GPS data processed {"connection_id":106200,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:11:32] local.INFO: Acknowledgment sent {"connection_id":106200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:11:38] local.INFO: TCP Data received {"connection_id":107776,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:11:38] local.INFO: Processing buffer {"connection_id":107776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:11:38] local.INFO: IMEI packet received {"connection_id":107776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":107776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:11:42] local.INFO: TCP Data received {"connection_id":107775,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edabf6d58012d80adc005d36e180006015928..."} 
[2026-06-18 18:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabf6d58012d80adc005d36e180006015928..."} 
[2026-06-18 18:11:42] local.INFO: Processing buffer {"connection_id":107775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabf6d58012d80adc005d36e180006015928..."} 
[2026-06-18 18:11:42] local.INFO: Packet analysis {"connection_id":107775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:42] local.INFO: Extracted packet for processing {"connection_id":107775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:42] local.INFO: GPS Element Parsed {"raw_longitude":763407808,"raw_latitude":97742360,"longitude_deg":76.3407808,"latitude_deg":9.774236,"altitude":6,"angle":345,"satellites":40,"speed":7,"hex_longitude":"2d80adc0","hex_latitude":"05d36e18","is_valid_coordinates":true} 
[2026-06-18 18:11:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137326336001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94053156647862272,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9174958315839350784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781786439000,"timestamp_ms":1781786439000,"timestamp_seconds":1781786439,"priority":1,"record_length":96,"hex_timestamp":"0000019edabf6d58"} 
[2026-06-18 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-06-18 18:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 18:11:42] 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-06-18 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-06-18 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-06-18 18:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107775,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:11:42] 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-06-18 18:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137326336001,"66":12743,"207":206,"85":15104,"24":7,"16":94053156647862272,"45":-9174958315839350784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,85,24,16,45]} 
[2026-06-18 18:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137326336001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:11:42] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-06-18 18:11:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94053156647862272,"km_value":94053156647862.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9174958315839350784,"description":"Unknown IO ID 45"} 
[2026-06-18 18:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137326336001,"power":12743,"unknown_207":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":-9174958315839350784}} 
[2026-06-18 18:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":107775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345672,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:11:42] local.INFO: GPS data processed {"connection_id":107775,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:11:42] local.INFO: Acknowledgment sent {"connection_id":107775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:11:43] local.INFO: TCP Data received {"connection_id":107776,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:11:43] local.INFO: Processing buffer {"connection_id":107776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:11:43] local.INFO: IMEI packet received {"connection_id":107776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:11:43] local.INFO: IMEI acknowledgment sent {"connection_id":107776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:11:45] local.INFO: TCP Data received {"connection_id":107776,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:11:45] local.INFO: Processing buffer {"connection_id":107776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:11:45] local.INFO: Packet analysis {"connection_id":107776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:11:45] local.INFO: Extracted packet for processing {"connection_id":107776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:11:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:11:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":107776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345673,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:11:45] local.INFO: GPS data processed {"connection_id":107776,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:11:45] local.INFO: Acknowledgment sent {"connection_id":107776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:11:49] local.INFO: TCP Data received {"connection_id":106805,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:11:49] local.INFO: Processing buffer {"connection_id":106805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:11:49] local.INFO: IMEI packet received {"connection_id":106805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":106805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:11:53] local.INFO: TCP Data received {"connection_id":106805,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:11:53] local.INFO: Processing buffer {"connection_id":106805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:11:53] local.INFO: IMEI packet received {"connection_id":106805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":106805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:11:56] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:56] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:11:56] local.INFO: IMEI packet received {"connection_id":106201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":106201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:11:57] local.INFO: TCP Data received {"connection_id":106805,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabefc10012d1a7c80071f61e0004800912e..."} 
[2026-06-18 18:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabefc10012d1a7c80071f61e0004800912e..."} 
[2026-06-18 18:11:57] local.INFO: Processing buffer {"connection_id":106805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabefc10012d1a7c80071f61e0004800912e..."} 
[2026-06-18 18:11:57] local.INFO: Packet analysis {"connection_id":106805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:11:57] local.INFO: Extracted packet for processing {"connection_id":106805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119497184,"longitude_deg":75.6710528,"latitude_deg":11.9497184,"altitude":72,"angle":145,"satellites":46,"speed":0,"hex_longitude":"2d1a7c80","hex_latitude":"071f61e0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137315584001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338233266044928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908541110177904640,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781786410000,"timestamp_ms":1781786410000,"timestamp_seconds":1781786410,"priority":1,"record_length":96,"hex_timestamp":"0000019edabefc10"} 
[2026-06-18 18:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 18:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137315584001,"66":12319,"121":206,"28":31744,"24":0,"16":3338233266044928,"45":1908541110177904640},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137315584001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:11:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:11:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338233266044928,"km_value":3338233266044.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908541110177904640,"description":"Unknown IO ID 45"} 
[2026-06-18 18:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137315584001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1908541110177904640}} 
[2026-06-18 18:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":106805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:11:57] local.INFO: GPS data processed {"connection_id":106805,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:11:57] local.INFO: Acknowledgment sent {"connection_id":106805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:11:58] local.INFO: TCP Data received {"connection_id":106805,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabf4e18012d1a7c80071f61e0004800912b..."} 
[2026-06-18 18:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabf4e18012d1a7c80071f61e0004800912b..."} 
[2026-06-18 18:11:58] local.INFO: Processing buffer {"connection_id":106805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabf4e18012d1a7c80071f61e0004800912b..."} 
[2026-06-18 18:11:58] local.INFO: Packet analysis {"connection_id":106805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:58] local.INFO: Extracted packet for processing {"connection_id":106805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:11:58] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119497184,"longitude_deg":75.6710528,"latitude_deg":11.9497184,"altitude":72,"angle":145,"satellites":43,"speed":0,"hex_longitude":"2d1a7c80","hex_latitude":"071f61e0","is_valid_coordinates":true} 
[2026-06-18 18:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137320960001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338233266044928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908541110177882112,"note":"Value kept but may cause issues"} 
[2026-06-18 18:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781786431000,"timestamp_ms":1781786431000,"timestamp_seconds":1781786431,"priority":1,"record_length":96,"hex_timestamp":"0000019edabf4e18"} 
[2026-06-18 18:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:11:58] 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-06-18 18:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 18:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137320960001,"66":12852,"121":206,"28":31744,"24":0,"16":3338233266044928,"45":1908541110177882112},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137320960001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:11:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338233266044928,"km_value":3338233266044.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908541110177882112,"description":"Unknown IO ID 45"} 
[2026-06-18 18:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137320960001,"power":12852,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1908541110177882112}} 
[2026-06-18 18:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":106805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:11:58] local.INFO: GPS data processed {"connection_id":106805,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:11:58] local.INFO: Acknowledgment sent {"connection_id":106805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:12:00] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:12:00] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:12:00] local.INFO: IMEI packet received {"connection_id":106201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":106201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:12:05] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:12:05] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:12:05] local.INFO: IMEI packet received {"connection_id":106201,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":106201,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:12:06] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac06b40012d803f8005d385b0000f014a26..."} 
[2026-06-18 18:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac06b40012d803f8005d385b0000f014a26..."} 
[2026-06-18 18:12:06] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac06b40012d803f8005d385b0000f014a26..."} 
[2026-06-18 18:12:06] local.INFO: Packet analysis {"connection_id":106201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:12:06] local.INFO: Extracted packet for processing {"connection_id":106201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763379584,"raw_latitude":97748400,"longitude_deg":76.3379584,"latitude_deg":9.77484,"altitude":15,"angle":330,"satellites":38,"speed":23,"hex_longitude":"2d803f80","hex_latitude":"05d385b0","is_valid_coordinates":true} 
[2026-06-18 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137344512001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94054569692102656,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9204724294624323584,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:06] 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-06-18 18:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781786504000,"timestamp_ms":1781786504000,"timestamp_seconds":1781786504,"priority":1,"record_length":96,"hex_timestamp":"0000019edac06b40"} 
[2026-06-18 18:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":122,"data_length":795,"current_offset":136} 
[2026-06-18 18:12:06] 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-06-18 18:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:12:06] 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-06-18 18:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137344512001,"66":13059,"167":206,"85":15104,"24":23,"16":94054569692102656,"45":-9204724294624323584},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 18:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137344512001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:12:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 18:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94054569692102656,"km_value":94054569692102.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9204724294624323584,"description":"Unknown IO ID 45"} 
[2026-06-18 18:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137344512001,"power":13059,"unknown_167":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9204724294624323584}} 
[2026-06-18 18:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":106201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345676,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:12:06] local.INFO: GPS data processed {"connection_id":106201,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:12:06] local.INFO: Acknowledgment sent {"connection_id":106201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:12:07] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac08698012d8037c005d393b80011013a2a..."} 
[2026-06-18 18:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac08698012d8037c005d393b80011013a2a..."} 
[2026-06-18 18:12:07] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac08698012d8037c005d393b80011013a2a..."} 
[2026-06-18 18:12:07] local.INFO: Packet analysis {"connection_id":106201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:12:07] local.INFO: Extracted packet for processing {"connection_id":106201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763377600,"raw_latitude":97751992,"longitude_deg":76.33776,"latitude_deg":9.7751992,"altitude":17,"angle":314,"satellites":42,"speed":19,"hex_longitude":"2d8037c0","hex_latitude":"05d393b8","is_valid_coordinates":true} 
[2026-06-18 18:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137345024001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94054767260598272,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9205498350810058752,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781786511000,"timestamp_ms":1781786511000,"timestamp_seconds":1781786511,"priority":1,"record_length":96,"hex_timestamp":"0000019edac08698"} 
[2026-06-18 18:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828311927,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670006456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2153283589,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":91,"raw_value":3221607294,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3690987520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3222366209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2516635046,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3548151808,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.WARNING: Large IO value detected {"io_id":207,"raw_value":58077557095399453,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:07] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,167,85,24,241,157,16,38,158,99,45,64,130,14,41,10,66,91,128,13,25,1,240,35,227,37,218,211,4,113,205,17,9,104,44,239,50,2,78,5,29,207],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-06-18 18:12:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081226912616349696,"timestamp_seconds":1081226912616349.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:12:07] 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-06-18 18:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137345024001,"66":13319,"167":206,"85":15104,"24":19,"16":94054767260598272,"45":-9205498350810058752},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 18:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137345024001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:12:07] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 18:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94054767260598272,"km_value":94054767260598.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9205498350810058752,"description":"Unknown IO ID 45"} 
[2026-06-18 18:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137345024001,"power":13319,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9205498350810058752}} 
[2026-06-18 18:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":106201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345677,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:12:07] local.INFO: GPS data processed {"connection_id":106201,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:12:07] local.INFO: Acknowledgment sent {"connection_id":106201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:12:16] local.INFO: TCP Data received {"connection_id":107776,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:12:16] local.INFO: Processing buffer {"connection_id":107776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:12:16] local.INFO: Packet analysis {"connection_id":107776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:12:16] local.INFO: Extracted packet for processing {"connection_id":107776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:12:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":107776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:12:16] local.INFO: GPS data processed {"connection_id":107776,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:12:16] local.INFO: Acknowledgment sent {"connection_id":107776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:12:29] local.INFO: TCP Data received {"connection_id":106806,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:12:29] local.INFO: Processing buffer {"connection_id":106806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:12:29] local.INFO: IMEI packet received {"connection_id":106806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":106806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:12:32] local.INFO: TCP Data received {"connection_id":106806,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:12:32] local.INFO: Processing buffer {"connection_id":106806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:12:32] local.INFO: IMEI packet received {"connection_id":106806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":106806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:12:33] local.INFO: TCP Data received {"connection_id":106807,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:12:33] local.INFO: Processing buffer {"connection_id":106807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:12:33] local.INFO: IMEI packet received {"connection_id":106807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":106807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:12:36] local.INFO: TCP Data received {"connection_id":106806,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabf3e78012ccc57000747a7200009014b2e..."} 
[2026-06-18 18:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabf3e78012ccc57000747a7200009014b2e..."} 
[2026-06-18 18:12:36] local.INFO: Processing buffer {"connection_id":106806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabf3e78012ccc57000747a7200009014b2e..."} 
[2026-06-18 18:12:36] local.INFO: Packet analysis {"connection_id":106806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:12:36] local.INFO: Extracted packet for processing {"connection_id":106806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":751589120,"raw_latitude":122136352,"longitude_deg":75.158912,"latitude_deg":12.2136352,"altitude":9,"angle":331,"satellites":46,"speed":11,"hex_longitude":"2ccc5700","hex_latitude":"0747a720","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137324544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318767310158430208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3721943585778270208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781786427000,"timestamp_ms":1781786427000,"timestamp_seconds":1781786427,"priority":1,"record_length":96,"hex_timestamp":"0000019edabf3e78"} 
[2026-06-18 18:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:12:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:12:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 18:12: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-06-18 18: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-06-18 18:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:12:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137324544001,"66":27343,"59":206,"2":54016,"24":11,"16":318767310158430208,"44":-3721943585778270208},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-06-18 18:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137324544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:12:36] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-18 18:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318767310158430208,"km_value":318767310158430.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:12:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3721943585778270208,"description":"Unknown IO ID 44"} 
[2026-06-18 18:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137324544001,"power":27343,"unknown_59":206,"power_alt":54016,"ignition":11,"odometer":null,"unknown_44":-3721943585778270208}} 
[2026-06-18 18:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":106806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:12:36] local.INFO: GPS data processed {"connection_id":106806,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:12:36] local.INFO: Acknowledgment sent {"connection_id":106806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:12:38] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac08a80012d80364005d394980011012b29..."} 
[2026-06-18 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac08a80012d80364005d394980011012b29..."} 
[2026-06-18 18:12:38] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac08a80012d80364005d394980011012b29..."} 
[2026-06-18 18:12:38] local.INFO: Packet analysis {"connection_id":106201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:12:38] local.INFO: Extracted packet for processing {"connection_id":106201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":763377216,"raw_latitude":97752216,"longitude_deg":76.3377216,"latitude_deg":9.7752216,"altitude":17,"angle":299,"satellites":41,"speed":19,"hex_longitude":"2d803640","hex_latitude":"05d39498","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137346816001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94054788735434752,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9207679781878646784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781786512000,"timestamp_ms":1781786512000,"timestamp_seconds":1781786512,"priority":1,"record_length":96,"hex_timestamp":"0000019edac08a80"} 
[2026-06-18 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-06-18 18:12: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-06-18 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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670018456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2153119749,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788850,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3222878209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":211,"raw_value":8971170496394701824,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":88,"raw_value":2147865470,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3548276736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":150,"raw_value":57885606428955963,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":191,"raw_value":-2686395882785472507,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,167,85,24,241,157,16,38,158,107,45,128,133,15,10,66,99,64,130,14,41,91,1,240,79,227,218,211,4,113,205,17,88,248,44,239,50,2,78,5,12,150,191],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-06-18 18:12:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1225324525685768192,"timestamp_seconds":1225324525685768.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106201,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:12:38] 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-06-18 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137346816001,"66":13091,"167":206,"85":15104,"24":19,"16":94054788735434752,"45":-9207679781878646784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137346816001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:12:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 18:12:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94054788735434752,"km_value":94054788735434.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:12:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9207679781878646784,"description":"Unknown IO ID 45"} 
[2026-06-18 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137346816001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":-9207679781878646784}} 
[2026-06-18 18:12:38] local.INFO: TCP Data received {"connection_id":106806,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabf59d0012ccc53400747ae18000901572f..."} 
[2026-06-18 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabf59d0012ccc53400747ae18000901572f..."} 
[2026-06-18 18:12:38] local.INFO: Processing buffer {"connection_id":106806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabf59d0012ccc53400747ae18000901572f..."} 
[2026-06-18 18:12:38] local.INFO: Packet analysis {"connection_id":106806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:12:38] local.INFO: Extracted packet for processing {"connection_id":106806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":751588160,"raw_latitude":122138136,"longitude_deg":75.158816,"latitude_deg":12.2138136,"altitude":9,"angle":343,"satellites":47,"speed":12,"hex_longitude":"2ccc5340","hex_latitude":"0747ae18","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137325312001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318767408942678016,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3722506535731519488,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:12:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781786434000,"timestamp_ms":1781786434000,"timestamp_seconds":1781786434,"priority":1,"record_length":96,"hex_timestamp":"0000019edabf59d0"} 
[2026-06-18 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-06-18 18:12:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 18:12: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-06-18 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-06-18 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-06-18 18:12:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:12:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:12:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:12:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:12:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:12:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:12:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:12:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137325312001,"66":27865,"59":206,"2":54016,"24":12,"16":318767408942678016,"44":-3722506535731519488},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,2,24,16,44]} 
[2026-06-18 18:12:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:12:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:12:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137325312001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:12:38] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-18 18:12:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318767408942678016,"km_value":318767408942678.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:12:38] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3722506535731519488,"description":"Unknown IO ID 44"} 
[2026-06-18 18:12:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137325312001,"power":27865,"unknown_59":206,"power_alt":54016,"ignition":12,"odometer":null,"unknown_44":-3722506535731519488}} 
[2026-06-18 18:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":106806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:12:38] local.INFO: GPS data processed {"connection_id":106806,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:12:38] local.INFO: Acknowledgment sent {"connection_id":106806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:12:38] local.INFO: DEBUG: GPS processor result {"connection_id":106201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345681,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:12:38] local.INFO: GPS data processed {"connection_id":106201,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:12:38] local.INFO: Acknowledgment sent {"connection_id":106201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:12:38] local.INFO: TCP Data received {"connection_id":106807,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:12:38] local.INFO: Processing buffer {"connection_id":106807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:12:38] local.INFO: IMEI packet received {"connection_id":106807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":106807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:12:40] local.INFO: TCP Data received {"connection_id":106807,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:12:40] local.INFO: Processing buffer {"connection_id":106807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:12:40] local.INFO: Packet analysis {"connection_id":106807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:12:40] local.INFO: Extracted packet for processing {"connection_id":106807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:12:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:12:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":106807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:12:40] local.INFO: GPS data processed {"connection_id":106807,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:12:40] local.INFO: Acknowledgment sent {"connection_id":106807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:12:44] local.INFO: TCP Data received {"connection_id":106202,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:12:44] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:12:44] local.INFO: IMEI packet received {"connection_id":106202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":106202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:12:49] local.INFO: TCP Data received {"connection_id":106202,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:12:49] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:12:49] local.INFO: IMEI packet received {"connection_id":106202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":106202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:12:51] local.INFO: TCP Data received {"connection_id":106202,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabfa020012d1a7c80071f61e0004800912d..."} 
[2026-06-18 18:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabfa020012d1a7c80071f61e0004800912d..."} 
[2026-06-18 18:12:51] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabfa020012d1a7c80071f61e0004800912d..."} 
[2026-06-18 18:12:51] local.INFO: Packet analysis {"connection_id":106202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:12:51] local.INFO: Extracted packet for processing {"connection_id":106202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119497184,"longitude_deg":75.6710528,"latitude_deg":11.9497184,"altitude":72,"angle":145,"satellites":45,"speed":0,"hex_longitude":"2d1a7c80","hex_latitude":"071f61e0","is_valid_coordinates":true} 
[2026-06-18 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:12:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137326336001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338233266044928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908541110177882112,"note":"Value kept but may cause issues"} 
[2026-06-18 18:12:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:12:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781786452000,"timestamp_ms":1781786452000,"timestamp_seconds":1781786452,"priority":1,"record_length":96,"hex_timestamp":"0000019edabfa020"} 
[2026-06-18 18:12:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:12:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:12:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-06-18 18:12:51] 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-06-18 18:12:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:12:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:12:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:12:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:12:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:12:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:12:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:12:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:12:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:12:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137326336001,"66":12972,"121":206,"28":31744,"24":0,"16":3338233266044928,"45":1908541110177882112},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:12:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:12:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:12:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137326336001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:12:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:12:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:12:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338233266044928,"km_value":3338233266044.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:12:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908541110177882112,"description":"Unknown IO ID 45"} 
[2026-06-18 18:12:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137326336001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1908541110177882112}} 
[2026-06-18 18:12:51] local.INFO: DEBUG: GPS processor result {"connection_id":106202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:12:51] local.INFO: GPS data processed {"connection_id":106202,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:12:51] local.INFO: Acknowledgment sent {"connection_id":106202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:00] local.INFO: TCP Data received {"connection_id":107777,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:00] local.INFO: Processing buffer {"connection_id":107777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:00] local.INFO: IMEI packet received {"connection_id":107777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":107777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:13:03] local.INFO: TCP Data received {"connection_id":107777,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107777,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:03] local.INFO: Processing buffer {"connection_id":107777,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:03] local.INFO: IMEI packet received {"connection_id":107777,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":107777,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:13:04] local.INFO: TCP Data received {"connection_id":107777,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac08e68012d80348005d395300011011c29..."} 
[2026-06-18 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac08e68012d80348005d395300011011c29..."} 
[2026-06-18 18:13:04] local.INFO: Processing buffer {"connection_id":107777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac08e68012d80348005d395300011011c29..."} 
[2026-06-18 18:13:04] local.INFO: Packet analysis {"connection_id":107777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:13:04] local.INFO: Extracted packet for processing {"connection_id":107777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":763376768,"raw_latitude":97752368,"longitude_deg":76.3376768,"latitude_deg":9.7752368,"altitude":17,"angle":284,"satellites":41,"speed":20,"hex_longitude":"2d803480","hex_latitude":"05d39530","is_valid_coordinates":true} 
[2026-06-18 18:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137347072001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94054814505238528,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208101994343655424,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:04] 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-06-18 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781786513000,"timestamp_ms":1781786513000,"timestamp_seconds":1781786513,"priority":1,"record_length":96,"hex_timestamp":"0000019edac08e68"} 
[2026-06-18 18:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":35,"data_length":795,"current_offset":136} 
[2026-06-18 18:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:13:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:13:04] 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-06-18 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137347072001,"66":13341,"167":206,"85":15104,"24":20,"16":94054814505238528,"45":-9208101994343655424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137347072001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 18:13:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94054814505238528,"km_value":94054814505238.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208101994343655424,"description":"Unknown IO ID 45"} 
[2026-06-18 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137347072001,"power":13341,"unknown_167":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":-9208101994343655424}} 
[2026-06-18 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":107777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:04] local.INFO: GPS data processed {"connection_id":107777,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:04] local.INFO: Acknowledgment sent {"connection_id":107777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:09] local.INFO: TCP Data received {"connection_id":106806,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabfa408012ccc47c00747cf60000801562e..."} 
[2026-06-18 18:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabfa408012ccc47c00747cf60000801562e..."} 
[2026-06-18 18:13:09] local.INFO: Processing buffer {"connection_id":106806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabfa408012ccc47c00747cf60000801562e..."} 
[2026-06-18 18:13:09] local.INFO: Packet analysis {"connection_id":106806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:13:09] local.INFO: Extracted packet for processing {"connection_id":106806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:13:09] local.INFO: GPS Element Parsed {"raw_longitude":751585216,"raw_latitude":122146656,"longitude_deg":75.1585216,"latitude_deg":12.2146656,"altitude":8,"angle":342,"satellites":46,"speed":26,"hex_longitude":"2ccc47c0","hex_latitude":"0747cf60","is_valid_coordinates":true} 
[2026-06-18 18:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137327104001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318767847029342208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3723562066893727744,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781786453000,"timestamp_ms":1781786453000,"timestamp_seconds":1781786453,"priority":1,"record_length":96,"hex_timestamp":"0000019edabfa408"} 
[2026-06-18 18:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 18:13: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-06-18 18:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137327104001,"66":27876,"60":206,"2":54016,"24":26,"16":318767847029342208,"44":-3723562066893727744},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,2,24,16,44]} 
[2026-06-18 18:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137327104001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:09] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 18:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318767847029342208,"km_value":318767847029342.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3723562066893727744,"description":"Unknown IO ID 44"} 
[2026-06-18 18:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137327104001,"power":27876,"unknown_60":206,"power_alt":54016,"ignition":26,"odometer":null,"unknown_44":-3723562066893727744}} 
[2026-06-18 18:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":106806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:09] local.INFO: GPS data processed {"connection_id":106806,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:09] local.INFO: Acknowledgment sent {"connection_id":106806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:11] local.INFO: TCP Data received {"connection_id":106807,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:13:11] local.INFO: Processing buffer {"connection_id":106807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:13:11] local.INFO: Packet analysis {"connection_id":106807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:13:11] local.INFO: Extracted packet for processing {"connection_id":106807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":106807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:11] local.INFO: GPS data processed {"connection_id":106807,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:11] local.INFO: Acknowledgment sent {"connection_id":106807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:23] local.INFO: TCP Data received {"connection_id":106202,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edabff228012d1a7c80071f61e0004800912c..."} 
[2026-06-18 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabff228012d1a7c80071f61e0004800912c..."} 
[2026-06-18 18:13:23] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabff228012d1a7c80071f61e0004800912c..."} 
[2026-06-18 18:13:23] local.INFO: Packet analysis {"connection_id":106202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:13:23] local.INFO: Extracted packet for processing {"connection_id":106202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119497184,"longitude_deg":75.6710528,"latitude_deg":11.9497184,"altitude":72,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d1a7c80","hex_latitude":"071f61e0","is_valid_coordinates":true} 
[2026-06-18 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137331712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338233266044928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908541110177882112,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781786473000,"timestamp_ms":1781786473000,"timestamp_seconds":1781786473,"priority":1,"record_length":96,"hex_timestamp":"0000019edabff228"} 
[2026-06-18 18:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:13:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-06-18 18:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:13:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137331712001,"66":13004,"121":206,"28":31744,"24":0,"16":3338233266044928,"45":1908541110177882112},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137331712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:13:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338233266044928,"km_value":3338233266044.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908541110177882112,"description":"Unknown IO ID 45"} 
[2026-06-18 18:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137331712001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1908541110177882112}} 
[2026-06-18 18:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":106202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:23] local.INFO: GPS data processed {"connection_id":106202,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:23] local.INFO: Acknowledgment sent {"connection_id":106202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:24] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:13:24] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:13:24] local.INFO: IMEI packet received {"connection_id":106026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":106026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:13:27] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:13:27] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:13:27] local.INFO: IMEI packet received {"connection_id":106026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":106026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:13:28] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edabfee40012ccc3c400747f0f8000a01552e..."} 
[2026-06-18 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabfee40012ccc3c400747f0f8000a01552e..."} 
[2026-06-18 18:13:28] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabfee40012ccc3c400747f0f8000a01552e..."} 
[2026-06-18 18:13:28] local.INFO: Packet analysis {"connection_id":106026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:13:28] local.INFO: Extracted packet for processing {"connection_id":106026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabf"} 
[2026-06-18 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":751582272,"raw_latitude":122155256,"longitude_deg":75.1582272,"latitude_deg":12.2155256,"altitude":10,"angle":341,"satellites":46,"speed":19,"hex_longitude":"2ccc3c40","hex_latitude":"0747f0f8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137331968001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318768289410973696,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3726799029123719168,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781786472000,"timestamp_ms":1781786472000,"timestamp_seconds":1781786472,"priority":1,"record_length":96,"hex_timestamp":"0000019edabfee40"} 
[2026-06-18 18:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 18:13: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-06-18 18: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-06-18 18:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137331968001,"66":27930,"60":206,"2":54016,"24":19,"16":318768289410973696,"44":-3726799029123719168},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,2,24,16,44]} 
[2026-06-18 18:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137331968001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:28] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 18:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318768289410973696,"km_value":318768289410973.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3726799029123719168,"description":"Unknown IO ID 44"} 
[2026-06-18 18:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137331968001,"power":27930,"unknown_60":206,"power_alt":54016,"ignition":19,"odometer":null,"unknown_44":-3726799029123719168}} 
[2026-06-18 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":106026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:28] local.INFO: GPS data processed {"connection_id":106026,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:28] local.INFO: Acknowledgment sent {"connection_id":106026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:30] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac03490012ccc3040074812b0000a01532f..."} 
[2026-06-18 18:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac03490012ccc3040074812b0000a01532f..."} 
[2026-06-18 18:13:30] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac03490012ccc3040074812b0000a01532f..."} 
[2026-06-18 18:13:30] local.INFO: Packet analysis {"connection_id":106026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:13:30] local.INFO: Extracted packet for processing {"connection_id":106026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:13:30] local.INFO: GPS Element Parsed {"raw_longitude":751579200,"raw_latitude":122163888,"longitude_deg":75.15792,"latitude_deg":12.2163888,"altitude":10,"angle":339,"satellites":47,"speed":23,"hex_longitude":"2ccc3040","hex_latitude":"074812b0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137336832001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318768731792605184,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3730035991353690112,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781786490000,"timestamp_ms":1781786490000,"timestamp_seconds":1781786490,"priority":1,"record_length":96,"hex_timestamp":"0000019edac03490"} 
[2026-06-18 18:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18: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-06-18 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 18:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137336832001,"66":27397,"60":206,"2":54016,"24":23,"16":318768731792605184,"44":-3730035991353690112},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,2,24,16,44]} 
[2026-06-18 18:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137336832001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 18:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318768731792605184,"km_value":318768731792605.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3730035991353690112,"description":"Unknown IO ID 44"} 
[2026-06-18 18:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137336832001,"power":27397,"unknown_60":206,"power_alt":54016,"ignition":23,"odometer":null,"unknown_44":-3730035991353690112}} 
[2026-06-18 18:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":106026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:30] local.INFO: GPS data processed {"connection_id":106026,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:30] local.INFO: Acknowledgment sent {"connection_id":106026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:33] local.INFO: TCP Data received {"connection_id":106027,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:13:33] local.INFO: Processing buffer {"connection_id":106027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:13:33] local.INFO: IMEI packet received {"connection_id":106027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":106027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:13:35] local.INFO: TCP Data received {"connection_id":107777,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac09250012d80320005d395780011011129..."} 
[2026-06-18 18:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac09250012d80320005d395780011011129..."} 
[2026-06-18 18:13:35] local.INFO: Processing buffer {"connection_id":107777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac09250012d80320005d395780011011129..."} 
[2026-06-18 18:13:35] local.INFO: Packet analysis {"connection_id":107777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:13:35] local.INFO: Extracted packet for processing {"connection_id":107777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":763376128,"raw_latitude":97752440,"longitude_deg":76.3376128,"latitude_deg":9.775244,"altitude":17,"angle":273,"satellites":41,"speed":23,"hex_longitude":"2d803200","hex_latitude":"05d39578","is_valid_coordinates":true} 
[2026-06-18 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137347328001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94054840275042304,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9208594575552860160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:35] 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-06-18 18:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781786514000,"timestamp_ms":1781786514000,"timestamp_seconds":1781786514,"priority":1,"record_length":96,"hex_timestamp":"0000019edac09250"} 
[2026-06-18 18:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-06-18 18:13:35] 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-06-18 18:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107777,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:13:35] 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-06-18 18:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137347328001,"66":13341,"167":206,"85":15104,"24":23,"16":94054840275042304,"45":-9208594575552860160},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 18:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137347328001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:35] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 18:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94054840275042304,"km_value":94054840275042.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9208594575552860160,"description":"Unknown IO ID 45"} 
[2026-06-18 18:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137347328001,"power":13341,"unknown_167":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":-9208594575552860160}} 
[2026-06-18 18:13:35] local.INFO: DEBUG: GPS processor result {"connection_id":107777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345690,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:35] local.INFO: GPS data processed {"connection_id":107777,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:35] local.INFO: Acknowledgment sent {"connection_id":107777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:38] local.INFO: TCP Data received {"connection_id":106027,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:13:38] local.INFO: Processing buffer {"connection_id":106027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:13:38] local.INFO: IMEI packet received {"connection_id":106027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":106027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:13:40] local.INFO: TCP Data received {"connection_id":106027,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:13:40] local.INFO: Processing buffer {"connection_id":106027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:13:40] local.INFO: Packet analysis {"connection_id":106027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:13:40] local.INFO: Extracted packet for processing {"connection_id":106027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":106027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:40] local.INFO: GPS data processed {"connection_id":106027,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:40] local.INFO: Acknowledgment sent {"connection_id":106027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:44] local.INFO: TCP Data received {"connection_id":106808,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:13:44] local.INFO: Processing buffer {"connection_id":106808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:13:44] local.INFO: IMEI packet received {"connection_id":106808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":106808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:13:50] local.INFO: TCP Data received {"connection_id":106808,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:13:50] local.INFO: Processing buffer {"connection_id":106808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:13:50] local.INFO: IMEI packet received {"connection_id":106808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":106808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:13:51] local.INFO: TCP Data received {"connection_id":106808,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edac04430012d1a7c80071f61e0004800912d..."} 
[2026-06-18 18:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac04430012d1a7c80071f61e0004800912d..."} 
[2026-06-18 18:13:51] local.INFO: Processing buffer {"connection_id":106808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac04430012d1a7c80071f61e0004800912d..."} 
[2026-06-18 18:13:51] local.INFO: Packet analysis {"connection_id":106808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:13:51] local.INFO: Extracted packet for processing {"connection_id":106808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119497184,"longitude_deg":75.6710528,"latitude_deg":11.9497184,"altitude":72,"angle":145,"satellites":45,"speed":0,"hex_longitude":"2d1a7c80","hex_latitude":"071f61e0","is_valid_coordinates":true} 
[2026-06-18 18:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137337088001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338233266044928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908541110177882112,"note":"Value kept but may cause issues"} 
[2026-06-18 18:13:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781786494000,"timestamp_ms":1781786494000,"timestamp_seconds":1781786494,"priority":1,"record_length":96,"hex_timestamp":"0000019edac04430"} 
[2026-06-18 18:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 18:13:51] 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-06-18 18:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137337088001,"66":12939,"121":206,"28":31744,"24":0,"16":3338233266044928,"45":1908541110177882112},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137337088001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:13:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338233266044928,"km_value":3338233266044.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908541110177882112,"description":"Unknown IO ID 45"} 
[2026-06-18 18:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137337088001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1908541110177882112}} 
[2026-06-18 18:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":106808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:13:51] local.INFO: GPS data processed {"connection_id":106808,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:13:51] local.INFO: Acknowledgment sent {"connection_id":106808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:13:59] local.INFO: TCP Data received {"connection_id":106203,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:59] local.INFO: Processing buffer {"connection_id":106203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:13:59] local.INFO: IMEI packet received {"connection_id":106203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":106203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:14:01] local.INFO: TCP Data received {"connection_id":106026,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac1ab90012ccc3f8007495600000e015e2e..."} 
[2026-06-18 18:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac1ab90012ccc3f8007495600000e015e2e..."} 
[2026-06-18 18:14:01] local.INFO: Processing buffer {"connection_id":106026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac1ab90012ccc3f8007495600000e015e2e..."} 
[2026-06-18 18:14:01] local.INFO: Packet analysis {"connection_id":106026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac1"} 
[2026-06-18 18:14:01] local.INFO: Extracted packet for processing {"connection_id":106026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac1"} 
[2026-06-18 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":751583104,"raw_latitude":122246656,"longitude_deg":75.1583104,"latitude_deg":12.2246656,"altitude":14,"angle":350,"satellites":46,"speed":37,"hex_longitude":"2ccc3f80","hex_latitude":"07495600","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137363968001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318772854961209344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3728558247704516608,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781786586000,"timestamp_ms":1781786586000,"timestamp_seconds":1781786586,"priority":1,"record_length":96,"hex_timestamp":"0000019edac1ab90"} 
[2026-06-18 18:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 18:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137363968001,"66":28028,"14":206,"2":54016,"24":37,"16":318772854961209344,"44":-3728558247704516608},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-06-18 18:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137363968001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:14:01] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-18 18:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318772854961209344,"km_value":318772854961209.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:14:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3728558247704516608,"description":"Unknown IO ID 44"} 
[2026-06-18 18:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137363968001,"power":28028,"unknown_14":206,"power_alt":54016,"ignition":37,"odometer":null,"unknown_44":-3728558247704516608}} 
[2026-06-18 18:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":106026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:14:01] local.INFO: GPS data processed {"connection_id":106026,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:14:01] local.INFO: Acknowledgment sent {"connection_id":106026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:14:05] local.INFO: TCP Data received {"connection_id":106203,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106203,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:14:05] local.INFO: Processing buffer {"connection_id":106203,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:14:05] local.INFO: IMEI packet received {"connection_id":106203,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":106203,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:14:06] local.INFO: TCP Data received {"connection_id":106203,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac220c0012d7f060005d330e0000b00f12d..."} 
[2026-06-18 18:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac220c0012d7f060005d330e0000b00f12d..."} 
[2026-06-18 18:14:06] local.INFO: Processing buffer {"connection_id":106203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac220c0012d7f060005d330e0000b00f12d..."} 
[2026-06-18 18:14:06] local.INFO: Packet analysis {"connection_id":106203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:14:06] local.INFO: Extracted packet for processing {"connection_id":106203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763299328,"raw_latitude":97726688,"longitude_deg":76.3299328,"latitude_deg":9.7726688,"altitude":11,"angle":241,"satellites":45,"speed":18,"hex_longitude":"2d7f0600","hex_latitude":"05d330e0","is_valid_coordinates":true} 
[2026-06-18 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137372160001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94059049342992384,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156310648672116736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] 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-06-18 18:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781786616000,"timestamp_ms":1781786616000,"timestamp_seconds":1781786616,"priority":1,"record_length":96,"hex_timestamp":"0000019edac220c0"} 
[2026-06-18 18:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2882303761684890624,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670113456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":53249,"corrected_to":0} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-4519925170961408512,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2340421640,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2795962574,"corrected_to":0} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":103,"raw_value":3221607312,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":51,"raw_value":216398897763896917,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3200951027071120594,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755498225434865,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:06] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,167,85,24,241,157,16,42,158,234,45,128,11,10,66,41,202,116,46,191,64,1,240,193,227,218,211,4,113,205,44,152,103,184,239,51,2,78,5,23,59,108],"length":535,"final_offset":665,"validated_count":42,"validation_warnings":[{"io_id":202,"original":53249,"validated":0},{"io_id":205,"original":2795962574,"validated":0}]} 
[2026-06-18 18:14:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792878918786154496,"timestamp_seconds":792878918786154.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:14:06] 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-06-18 18:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137372160001,"66":13091,"167":206,"85":15104,"24":18,"16":94059049342992384,"45":9156310648672116736},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 18:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137372160001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:14:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 18:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94059049342992384,"km_value":94059049342992.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156310648672116736,"description":"Unknown IO ID 45"} 
[2026-06-18 18:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137372160001,"power":13091,"unknown_167":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9156310648672116736}} 
[2026-06-18 18:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":106203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:14:06] local.INFO: GPS data processed {"connection_id":106203,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:14:06] local.INFO: Acknowledgment sent {"connection_id":106203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:14:12] local.INFO: TCP Data received {"connection_id":106027,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:14:12] local.INFO: Processing buffer {"connection_id":106027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:14:12] local.INFO: Packet analysis {"connection_id":106027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:14:12] local.INFO: Extracted packet for processing {"connection_id":106027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:14:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:14:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:14:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:14:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":106027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:14:12] local.INFO: GPS data processed {"connection_id":106027,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:14:12] local.INFO: Acknowledgment sent {"connection_id":106027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:14:24] local.INFO: TCP Data received {"connection_id":106028,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:14:24] local.INFO: Processing buffer {"connection_id":106028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:14:24] local.INFO: IMEI packet received {"connection_id":106028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":106028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:14:25] local.INFO: TCP Data received {"connection_id":106808,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edac09638012d1a7c80071f61e0004800912c..."} 
[2026-06-18 18:14:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac09638012d1a7c80071f61e0004800912c..."} 
[2026-06-18 18:14:25] local.INFO: Processing buffer {"connection_id":106808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac09638012d1a7c80071f61e0004800912c..."} 
[2026-06-18 18:14:25] local.INFO: Packet analysis {"connection_id":106808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:14:25] local.INFO: Extracted packet for processing {"connection_id":106808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac0"} 
[2026-06-18 18:14:25] local.INFO: GPS Element Parsed {"raw_longitude":756710528,"raw_latitude":119497184,"longitude_deg":75.6710528,"latitude_deg":11.9497184,"altitude":72,"angle":145,"satellites":44,"speed":0,"hex_longitude":"2d1a7c80","hex_latitude":"071f61e0","is_valid_coordinates":true} 
[2026-06-18 18:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:14:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137342464001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3338233266044928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908541110177882112,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:14:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781786515000,"timestamp_ms":1781786515000,"timestamp_seconds":1781786515,"priority":1,"record_length":96,"hex_timestamp":"0000019edac09638"} 
[2026-06-18 18:14:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:14:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:14:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 18:14: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-06-18 18:14:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:14:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:14:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:14:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:14:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:14:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:14:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:14:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:14:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:14:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137342464001,"66":12950,"121":206,"28":31744,"24":0,"16":3338233266044928,"45":1908541110177882112},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:14:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:14:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:14:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137342464001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:14:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:14:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:14:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3338233266044928,"km_value":3338233266044.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:14:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908541110177882112,"description":"Unknown IO ID 45"} 
[2026-06-18 18:14:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137342464001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1908541110177882112}} 
[2026-06-18 18:14:25] local.INFO: DEBUG: GPS processor result {"connection_id":106808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:14:25] local.INFO: GPS data processed {"connection_id":106808,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:14:25] local.INFO: Acknowledgment sent {"connection_id":106808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:14:26] local.INFO: TCP Data received {"connection_id":106028,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:14:26] local.INFO: Processing buffer {"connection_id":106028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:14:26] local.INFO: IMEI packet received {"connection_id":106028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":106028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:14:33] local.INFO: TCP Data received {"connection_id":106204,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:14:33] local.INFO: Processing buffer {"connection_id":106204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:14:33] local.INFO: IMEI packet received {"connection_id":106204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":106204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:14:38] local.INFO: TCP Data received {"connection_id":106203,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac224a8012d7f044005d33048000b01002d..."} 
[2026-06-18 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac224a8012d7f044005d33048000b01002d..."} 
[2026-06-18 18:14:38] local.INFO: Processing buffer {"connection_id":106203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac224a8012d7f044005d33048000b01002d..."} 
[2026-06-18 18:14:38] local.INFO: Packet analysis {"connection_id":106203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:14:38] local.INFO: Extracted packet for processing {"connection_id":106203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:14:38] local.INFO: GPS Element Parsed {"raw_longitude":763298880,"raw_latitude":97726536,"longitude_deg":76.329888,"latitude_deg":9.7726536,"altitude":11,"angle":256,"satellites":45,"speed":17,"hex_longitude":"2d7f0440","hex_latitude":"05d33048","is_valid_coordinates":true} 
[2026-06-18 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137373696001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94059075112796160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9153003317695143936,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781786617000,"timestamp_ms":1781786617000,"timestamp_seconds":1781786617,"priority":1,"record_length":96,"hex_timestamp":"0000019edac224a8"} 
[2026-06-18 18:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18: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-06-18 18:14:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 18:14:38] 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-06-18 18:14:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106203,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:14:38] 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-06-18 18:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137373696001,"66":12961,"167":206,"85":15104,"24":17,"16":94059075112796160,"45":9153003317695143936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 18:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137373696001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:14:38] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 18:14:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94059075112796160,"km_value":94059075112796.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9153003317695143936,"description":"Unknown IO ID 45"} 
[2026-06-18 18:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137373696001,"power":12961,"unknown_167":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9153003317695143936}} 
[2026-06-18 18:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":106203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:14:38] local.INFO: GPS data processed {"connection_id":106203,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:14:38] local.INFO: Acknowledgment sent {"connection_id":106203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:14:38] local.INFO: TCP Data received {"connection_id":106204,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:14:38] local.INFO: Processing buffer {"connection_id":106204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:14:38] local.INFO: IMEI packet received {"connection_id":106204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":106204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:14:39] local.INFO: TCP Data received {"connection_id":106204,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:14:39] local.INFO: Processing buffer {"connection_id":106204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:14:39] local.INFO: Packet analysis {"connection_id":106204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:14:39] local.INFO: Extracted packet for processing {"connection_id":106204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:14: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-06-18 18:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:14:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":106204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:14:40] local.INFO: GPS data processed {"connection_id":106204,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:14:40] local.INFO: Acknowledgment sent {"connection_id":106204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:14:46] local.INFO: TCP Data received {"connection_id":106028,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac1bb30012ccc3b0007496498000d01502e..."} 
[2026-06-18 18:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac1bb30012ccc3b0007496498000d01502e..."} 
[2026-06-18 18:14:46] local.INFO: Processing buffer {"connection_id":106028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac1bb30012ccc3b0007496498000d01502e..."} 
[2026-06-18 18:14:46] local.INFO: Packet analysis {"connection_id":106028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac1"} 
[2026-06-18 18:14:46] local.INFO: Extracted packet for processing {"connection_id":106028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac1"} 
[2026-06-18 18:14:46] local.INFO: GPS Element Parsed {"raw_longitude":751581952,"raw_latitude":122250392,"longitude_deg":75.1581952,"latitude_deg":12.2250392,"altitude":13,"angle":336,"satellites":46,"speed":39,"hex_longitude":"2ccc3b00","hex_latitude":"07496498","is_valid_coordinates":true} 
[2026-06-18 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137366016001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318773043939770368,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3729121197655982080,"note":"Value kept but may cause issues"} 
[2026-06-18 18:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781786590000,"timestamp_ms":1781786590000,"timestamp_seconds":1781786590,"priority":1,"record_length":96,"hex_timestamp":"0000019edac1bb30"} 
[2026-06-18 18:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:14:46] 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-06-18 18:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 18:14:46] 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-06-18 18:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137366016001,"66":27821,"14":206,"2":54016,"24":39,"16":318773043939770368,"44":-3729121197655982080},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-06-18 18:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137366016001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:14:46] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-18 18:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318773043939770368,"km_value":318773043939770.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:14:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3729121197655982080,"description":"Unknown IO ID 44"} 
[2026-06-18 18:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137366016001,"power":27821,"unknown_14":206,"power_alt":54016,"ignition":39,"odometer":null,"unknown_44":-3729121197655982080}} 
[2026-06-18 18:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":106028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:14:46] local.INFO: GPS data processed {"connection_id":106028,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:14:46] local.INFO: Acknowledgment sent {"connection_id":106028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:14:49] local.INFO: TCP Data received {"connection_id":106809,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:14:49] local.INFO: Processing buffer {"connection_id":106809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:14:49] local.INFO: IMEI packet received {"connection_id":106809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":106809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:14:51] local.INFO: TCP Data received {"connection_id":106809,"ip":"117.224.105.184","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 18:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106809,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 18:14:51] local.INFO: Processing buffer {"connection_id":106809,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 18:14:51] local.INFO: IMEI packet received {"connection_id":106809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":106809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:14:59] local.INFO: TCP Data received {"connection_id":106029,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:14:59] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:14:59] local.INFO: IMEI packet received {"connection_id":106029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":106029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:15:05] local.INFO: TCP Data received {"connection_id":106029,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:15:05] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:15:05] local.INFO: IMEI packet received {"connection_id":106029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":106029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:15:06] local.INFO: TCP Data received {"connection_id":106029,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac23060012d7efec005d32fc8000b010c2d..."} 
[2026-06-18 18:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac23060012d7efec005d32fc8000b010c2d..."} 
[2026-06-18 18:15:06] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac23060012d7efec005d32fc8000b010c2d..."} 
[2026-06-18 18:15:06] local.INFO: Packet analysis {"connection_id":106029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:15:06] local.INFO: Extracted packet for processing {"connection_id":106029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763297472,"raw_latitude":97726408,"longitude_deg":76.3297472,"latitude_deg":9.7726408,"altitude":11,"angle":268,"satellites":45,"speed":16,"hex_longitude":"2d7efec0","hex_latitude":"05d32fc8","is_valid_coordinates":true} 
[2026-06-18 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137373952001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94059139537305600,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9152510736485861376,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:06] 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-06-18 18:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781786620000,"timestamp_ms":1781786620000,"timestamp_seconds":1781786620,"priority":1,"record_length":96,"hex_timestamp":"0000019edac23060"} 
[2026-06-18 18:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:15: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-06-18 18:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 18:15:06] 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-06-18 18:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:15:06] 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-06-18 18:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137373952001,"66":13222,"167":206,"85":15104,"24":16,"16":94059139537305600,"45":9152510736485861376},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,85,24,16,45]} 
[2026-06-18 18:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137373952001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:15:06] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-06-18 18:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94059139537305600,"km_value":94059139537305.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9152510736485861376,"description":"Unknown IO ID 45"} 
[2026-06-18 18:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137373952001,"power":13222,"unknown_167":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9152510736485861376}} 
[2026-06-18 18:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":106029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345700,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:15:06] local.INFO: GPS data processed {"connection_id":106029,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:15:06] local.INFO: Acknowledgment sent {"connection_id":106029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:15:11] local.INFO: TCP Data received {"connection_id":106204,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:15:11] local.INFO: Processing buffer {"connection_id":106204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edabec560012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:15:11] local.INFO: Packet analysis {"connection_id":106204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:15:11] local.INFO: Extracted packet for processing {"connection_id":106204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edabe"} 
[2026-06-18 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137240320001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786396000,"timestamp_ms":1781786396000,"timestamp_seconds":1781786396,"priority":1,"record_length":96,"hex_timestamp":"0000019edabec560"} 
[2026-06-18 18:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106204,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137240320001,"66":25147,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137240320001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:15:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137240320001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":106204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:15:11] local.INFO: GPS data processed {"connection_id":106204,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:15:11] local.INFO: Acknowledgment sent {"connection_id":106204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:15:22] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:22] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:22] local.INFO: IMEI packet received {"connection_id":106205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":106205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:15:24] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:24] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:24] local.INFO: IMEI packet received {"connection_id":106205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":106205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:15:26] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:26] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:26] local.INFO: IMEI packet received {"connection_id":106205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":106205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:15:30] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:30] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:15:30] local.INFO: IMEI packet received {"connection_id":106205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:15:30] local.INFO: IMEI acknowledgment sent {"connection_id":106205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:15:31] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac2d858012ccb9540074a2b40000d00062c..."} 
[2026-06-18 18:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac2d858012ccb9540074a2b40000d00062c..."} 
[2026-06-18 18:15:31] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac2d858012ccb9540074a2b40000d00062c..."} 
[2026-06-18 18:15:31] local.INFO: Packet analysis {"connection_id":106205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:15:31] local.INFO: Extracted packet for processing {"connection_id":106205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":751539520,"raw_latitude":122301248,"longitude_deg":75.153952,"latitude_deg":12.2301248,"altitude":13,"angle":6,"satellites":44,"speed":38,"hex_longitude":"2ccb9540","hex_latitude":"074a2b40","is_valid_coordinates":true} 
[2026-06-18 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-06-18 18:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137384960001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318776359654522880,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3777183049916088320,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781786663000,"timestamp_ms":1781786663000,"timestamp_seconds":1781786663,"priority":1,"record_length":96,"hex_timestamp":"0000019edac2d858"} 
[2026-06-18 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-06-18 18:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 18:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 18:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137384960001,"66":27930,"14":206,"2":54016,"24":38,"16":318776359654522880,"44":-3777183049916088320},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-06-18 18:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137384960001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:15:31] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-18 18:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318776359654522880,"km_value":318776359654522.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:15:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3777183049916088320,"description":"Unknown IO ID 44"} 
[2026-06-18 18:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137384960001,"power":27930,"unknown_14":206,"power_alt":54016,"ignition":38,"odometer":null,"unknown_44":-3777183049916088320}} 
[2026-06-18 18:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":106205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:15:31] local.INFO: GPS data processed {"connection_id":106205,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:15:31] local.INFO: Acknowledgment sent {"connection_id":106205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:15:32] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac2e410012ccb9800074a3640000c00122c..."} 
[2026-06-18 18:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac2e410012ccb9800074a3640000c00122c..."} 
[2026-06-18 18:15:32] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac2e410012ccb9800074a3640000c00122c..."} 
[2026-06-18 18:15:32] local.INFO: Packet analysis {"connection_id":106205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:15:32] local.INFO: Extracted packet for processing {"connection_id":106205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac2"} 
[2026-06-18 18:15:32] local.INFO: GPS Element Parsed {"raw_longitude":751540224,"raw_latitude":122304064,"longitude_deg":75.1540224,"latitude_deg":12.2304064,"altitude":12,"angle":18,"satellites":44,"speed":38,"hex_longitude":"2ccb9800","hex_latitude":"074a3640","is_valid_coordinates":true} 
[2026-06-18 18:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137385728001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318776501388443648,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:32] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3777042312426995712,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781786666000,"timestamp_ms":1781786666000,"timestamp_seconds":1781786666,"priority":1,"record_length":96,"hex_timestamp":"0000019edac2e410"} 
[2026-06-18 18:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 18:15: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-06-18 18:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137385728001,"66":27745,"14":206,"2":54016,"24":38,"16":318776501388443648,"44":-3777042312426995712},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-06-18 18:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137385728001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:15:32] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-18 18:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318776501388443648,"km_value":318776501388443.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:15:32] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3777042312426995712,"description":"Unknown IO ID 44"} 
[2026-06-18 18:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137385728001,"power":27745,"unknown_14":206,"power_alt":54016,"ignition":38,"odometer":null,"unknown_44":-3777042312426995712}} 
[2026-06-18 18:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":106205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:15:32] local.INFO: GPS data processed {"connection_id":106205,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:15:32] local.INFO: Acknowledgment sent {"connection_id":106205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:15:37] local.INFO: TCP Data received {"connection_id":106029,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac38ff0012d7e668005d30580000d00012a..."} 
[2026-06-18 18:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac38ff0012d7e668005d30580000d00012a..."} 
[2026-06-18 18:15:37] local.INFO: Processing buffer {"connection_id":106029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac38ff0012d7e668005d30580000d00012a..."} 
[2026-06-18 18:15:37] local.INFO: Packet analysis {"connection_id":106029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:15:37] local.INFO: Extracted packet for processing {"connection_id":106029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:15:37] local.INFO: GPS Element Parsed {"raw_longitude":763258496,"raw_latitude":97715584,"longitude_deg":76.3258496,"latitude_deg":9.7715584,"altitude":13,"angle":1,"satellites":42,"speed":8,"hex_longitude":"2d7e6680","hex_latitude":"05d30580","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:15:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137397504001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94061136697098240,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108178427651084288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:37] 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-06-18 18:15:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781786710000,"timestamp_ms":1781786710000,"timestamp_seconds":1781786710,"priority":1,"record_length":96,"hex_timestamp":"0000019edac38ff0"} 
[2026-06-18 18:15:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:15: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-06-18 18:15:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 18:15:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:15:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:15:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:15:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:15:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:15:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:15:37] 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-06-18 18:15:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:15:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:15:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137397504001,"66":12939,"116":206,"85":15104,"24":8,"16":94061136697098240,"45":9108178427651084288},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 18:15:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:15:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:15:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137397504001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:15:37] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 18:15:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:15:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94061136697098240,"km_value":94061136697098.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:15:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108178427651084288,"description":"Unknown IO ID 45"} 
[2026-06-18 18:15:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137397504001,"power":12939,"unknown_116":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9108178427651084288}} 
[2026-06-18 18:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":106029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345704,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:15:37] local.INFO: GPS data processed {"connection_id":106029,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:15:37] local.INFO: Acknowledgment sent {"connection_id":106029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:15:43] local.INFO: TCP Data received {"connection_id":106810,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:15:43] local.INFO: Processing buffer {"connection_id":106810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:15:43] local.INFO: IMEI packet received {"connection_id":106810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":106810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:15:48] local.INFO: TCP Data received {"connection_id":106810,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:15:48] local.INFO: Processing buffer {"connection_id":106810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:15:48] local.INFO: IMEI packet received {"connection_id":106810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":106810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:15:50] local.INFO: TCP Data received {"connection_id":106810,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:15:50] local.INFO: Processing buffer {"connection_id":106810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:15:50] local.INFO: Packet analysis {"connection_id":106810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:15:50] local.INFO: Extracted packet for processing {"connection_id":106810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:15:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:15:50] 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-06-18 18:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:15:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:15:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":106810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:15:50] local.INFO: GPS data processed {"connection_id":106810,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:15:50] local.INFO: Acknowledgment sent {"connection_id":106810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:16:04] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac30738012ccba300074a57c8000b000f2a..."} 
[2026-06-18 18:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac30738012ccba300074a57c8000b000f2a..."} 
[2026-06-18 18:16:04] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac30738012ccba300074a57c8000b000f2a..."} 
[2026-06-18 18:16:04] local.INFO: Packet analysis {"connection_id":106205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:04] local.INFO: Extracted packet for processing {"connection_id":106205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":751543040,"raw_latitude":122312648,"longitude_deg":75.154304,"latitude_deg":12.2312648,"altitude":11,"angle":15,"satellites":42,"speed":41,"hex_longitude":"2ccba300","hex_latitude":"074a57c8","is_valid_coordinates":true} 
[2026-06-18 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137386496001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318776939475107840,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3776268256240320512,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781786675000,"timestamp_ms":1781786675000,"timestamp_seconds":1781786675,"priority":1,"record_length":96,"hex_timestamp":"0000019edac30738"} 
[2026-06-18 18:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 18:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137386496001,"66":27974,"14":206,"2":54016,"24":41,"16":318776939475107840,"44":-3776268256240320512},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,2,24,16,44]} 
[2026-06-18 18:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137386496001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:16:04] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-06-18 18:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318776939475107840,"km_value":318776939475107.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:16:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3776268256240320512,"description":"Unknown IO ID 44"} 
[2026-06-18 18:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137386496001,"power":27974,"unknown_14":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-3776268256240320512}} 
[2026-06-18 18:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":106205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:16:04] local.INFO: GPS data processed {"connection_id":106205,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:16:04] local.INFO: Acknowledgment sent {"connection_id":106205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:16:05] local.INFO: TCP Data received {"connection_id":107779,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:16:05] local.INFO: Processing buffer {"connection_id":107779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:16:05] local.INFO: IMEI packet received {"connection_id":107779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":107779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:16:07] local.INFO: TCP Data received {"connection_id":107779,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107779,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:16:07] local.INFO: Processing buffer {"connection_id":107779,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:16:07] local.INFO: IMEI packet received {"connection_id":107779,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":107779,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:16:07] local.INFO: TCP Data received {"connection_id":107779,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac39ba8012d7e664005d30908000d015d2a..."} 
[2026-06-18 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac39ba8012d7e664005d30908000d015d2a..."} 
[2026-06-18 18:16:07] local.INFO: Processing buffer {"connection_id":107779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac39ba8012d7e664005d30908000d015d2a..."} 
[2026-06-18 18:16:07] local.INFO: Packet analysis {"connection_id":107779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:07] local.INFO: Extracted packet for processing {"connection_id":107779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763258432,"raw_latitude":97716488,"longitude_deg":76.3258432,"latitude_deg":9.7716488,"altitude":13,"angle":349,"satellites":42,"speed":14,"hex_longitude":"2d7e6640","hex_latitude":"05d30908","is_valid_coordinates":true} 
[2026-06-18 18:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137397760001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94061179646771200,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108108058906951680,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:07] 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-06-18 18:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781786713000,"timestamp_ms":1781786713000,"timestamp_seconds":1781786713,"priority":1,"record_length":96,"hex_timestamp":"0000019edac39ba8"} 
[2026-06-18 18:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:16: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-06-18 18:16:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 18:16:07] 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-06-18 18:16:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:16:07] 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-06-18 18:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137397760001,"66":12906,"116":206,"85":15104,"24":14,"16":94061179646771200,"45":9108108058906951680},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 18:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137397760001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:16:07] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 18:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94061179646771200,"km_value":94061179646771.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108108058906951680,"description":"Unknown IO ID 45"} 
[2026-06-18 18:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137397760001,"power":12906,"unknown_116":206,"unknown_85":15104,"ignition":14,"odometer":null,"unknown_45":9108108058906951680}} 
[2026-06-18 18:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":107779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345707,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:16:07] local.INFO: GPS data processed {"connection_id":107779,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:16:07] local.INFO: Acknowledgment sent {"connection_id":107779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:16:09] local.INFO: TCP Data received {"connection_id":107779,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac3b318012d7e648005d30fc8000c00002b..."} 
[2026-06-18 18:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac3b318012d7e648005d30fc8000c00002b..."} 
[2026-06-18 18:16:09] local.INFO: Processing buffer {"connection_id":107779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac3b318012d7e648005d30fc8000c00002b..."} 
[2026-06-18 18:16:09] local.INFO: Packet analysis {"connection_id":107779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:09] local.INFO: Extracted packet for processing {"connection_id":107779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:09] local.INFO: GPS Element Parsed {"raw_longitude":763257984,"raw_latitude":97718216,"longitude_deg":76.3257984,"latitude_deg":9.7718216,"altitude":12,"angle":0,"satellites":43,"speed":6,"hex_longitude":"2d7e6480","hex_latitude":"05d30fc8","is_valid_coordinates":true} 
[2026-06-18 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137398528001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94061265546117120,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9108037690163005440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:09] 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-06-18 18:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781786719000,"timestamp_ms":1781786719000,"timestamp_seconds":1781786719,"priority":1,"record_length":96,"hex_timestamp":"0000019edac3b318"} 
[2026-06-18 18:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:16: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-06-18 18:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":106,"data_length":795,"current_offset":136} 
[2026-06-18 18:16: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-06-18 18:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137398528001,"66":12906,"116":206,"85":15104,"24":6,"16":94061265546117120,"45":9108037690163005440},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 18:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137398528001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:16:09] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 18:16:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94061265546117120,"km_value":94061265546117.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9108037690163005440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137398528001,"power":12906,"unknown_116":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9108037690163005440}} 
[2026-06-18 18:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":107779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345708,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:16:09] local.INFO: GPS data processed {"connection_id":107779,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:16:09] local.INFO: Acknowledgment sent {"connection_id":107779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:16:24] local.INFO: TCP Data received {"connection_id":107780,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:16:24] local.INFO: Processing buffer {"connection_id":107780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:16:24] local.INFO: IMEI packet received {"connection_id":107780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":107780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:16:27] local.INFO: TCP Data received {"connection_id":107780,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:16:27] local.INFO: Processing buffer {"connection_id":107780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:16:27] local.INFO: IMEI packet received {"connection_id":107780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":107780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:16:28] local.INFO: TCP Data received {"connection_id":107780,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac32a60012ccbad80074a7a78000b000b2a..."} 
[2026-06-18 18:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac32a60012ccbad80074a7a78000b000b2a..."} 
[2026-06-18 18:16:28] local.INFO: Processing buffer {"connection_id":107780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac32a60012ccbad80074a7a78000b000b2a..."} 
[2026-06-18 18:16:28] local.INFO: Packet analysis {"connection_id":107780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:28] local.INFO: Extracted packet for processing {"connection_id":107780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:28] local.INFO: GPS Element Parsed {"raw_longitude":751545728,"raw_latitude":122321528,"longitude_deg":75.1545728,"latitude_deg":12.2321528,"altitude":11,"angle":11,"satellites":42,"speed":41,"hex_longitude":"2ccbad80","hex_latitude":"074a7a78","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137388800001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318777386151706624,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3773172031494305792,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781786684000,"timestamp_ms":1781786684000,"timestamp_seconds":1781786684,"priority":1,"record_length":96,"hex_timestamp":"0000019edac32a60"} 
[2026-06-18 18:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:16: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-06-18 18: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 18:16: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-06-18 18: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-06-18 18:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137388800001,"66":27995,"17":206,"2":54016,"24":41,"16":318777386151706624,"44":-3773172031494305792},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-06-18 18:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137388800001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318777386151706624,"km_value":318777386151706.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:16:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3773172031494305792,"description":"Unknown IO ID 44"} 
[2026-06-18 18:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137388800001,"power":27995,"axis_x":206,"power_alt":54016,"ignition":41,"odometer":null,"unknown_44":-3773172031494305792}} 
[2026-06-18 18:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":107780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:16:28] local.INFO: GPS data processed {"connection_id":107780,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:16:28] local.INFO: Acknowledgment sent {"connection_id":107780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:16:38] local.INFO: TCP Data received {"connection_id":107781,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:16:38] local.INFO: Processing buffer {"connection_id":107781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:16:38] local.INFO: IMEI packet received {"connection_id":107781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":107781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:16:40] local.INFO: TCP Data received {"connection_id":107779,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac4d428012d7e340005d35048000a008a2b..."} 
[2026-06-18 18:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac4d428012d7e340005d35048000a008a2b..."} 
[2026-06-18 18:16:40] local.INFO: Processing buffer {"connection_id":107779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac4d428012d7e340005d35048000a008a2b..."} 
[2026-06-18 18:16:40] local.INFO: Packet analysis {"connection_id":107779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:16:40] local.INFO: Extracted packet for processing {"connection_id":107779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:16:40] local.INFO: GPS Element Parsed {"raw_longitude":763245568,"raw_latitude":97734728,"longitude_deg":76.3245568,"latitude_deg":9.7734728,"altitude":10,"angle":138,"satellites":43,"speed":13,"hex_longitude":"2d7e3400","hex_latitude":"05d35048","is_valid_coordinates":true} 
[2026-06-18 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137417472001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062764489703424,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9092978778913955840,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781786793000,"timestamp_ms":1781786793000,"timestamp_seconds":1781786793,"priority":1,"record_length":96,"hex_timestamp":"0000019edac4d428"} 
[2026-06-18 18:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:16: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-06-18 18:16:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 18:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:16:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107779,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137417472001,"66":13276,"109":206,"85":15104,"24":13,"16":94062764489703424,"45":9092978778913955840},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137417472001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:16:40] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:16:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062764489703424,"km_value":94062764489703.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9092978778913955840,"description":"Unknown IO ID 45"} 
[2026-06-18 18:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137417472001,"power":13276,"unknown_109":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9092978778913955840}} 
[2026-06-18 18:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":107779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345710,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:16:40] local.INFO: GPS data processed {"connection_id":107779,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:16:40] local.INFO: Acknowledgment sent {"connection_id":107779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:16:43] local.INFO: TCP Data received {"connection_id":107781,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:16:43] local.INFO: Processing buffer {"connection_id":107781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:16:43] local.INFO: IMEI packet received {"connection_id":107781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":107781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:16:44] local.INFO: TCP Data received {"connection_id":107781,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:16:44] local.INFO: Processing buffer {"connection_id":107781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:16:44] local.INFO: Packet analysis {"connection_id":107781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:44] local.INFO: Extracted packet for processing {"connection_id":107781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:16:44] 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-06-18 18:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:16:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":107781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345711,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:16:45] local.INFO: GPS data processed {"connection_id":107781,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:16:45] local.INFO: Acknowledgment sent {"connection_id":107781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:16:49] local.INFO: TCP Data received {"connection_id":107781,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:16:49] local.INFO: Processing buffer {"connection_id":107781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:16:49] local.INFO: Packet analysis {"connection_id":107781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:49] local.INFO: Extracted packet for processing {"connection_id":107781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:16:49] 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-06-18 18:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:16:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:16:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":107781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:16:49] local.INFO: GPS data processed {"connection_id":107781,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:16:49] local.INFO: Acknowledgment sent {"connection_id":107781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:17:00] local.INFO: TCP Data received {"connection_id":106031,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:17:00] local.INFO: Processing buffer {"connection_id":106031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:17:00] local.INFO: IMEI packet received {"connection_id":106031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":106031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:17:00] local.INFO: TCP Data received {"connection_id":107780,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac43018012ccb2180074b0bf8000f015630..."} 
[2026-06-18 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac43018012ccb2180074b0bf8000f015630..."} 
[2026-06-18 18:17:00] local.INFO: Processing buffer {"connection_id":107780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac43018012ccb2180074b0bf8000f015630..."} 
[2026-06-18 18:17:00] local.INFO: Packet analysis {"connection_id":107780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:17:00] local.INFO: Extracted packet for processing {"connection_id":107780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:17:00] local.INFO: GPS Element Parsed {"raw_longitude":751509888,"raw_latitude":122358776,"longitude_deg":75.1509888,"latitude_deg":12.2358776,"altitude":15,"angle":342,"satellites":48,"speed":28,"hex_longitude":"2ccb2180","hex_latitude":"074b0bf8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137407744001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318780066211299328,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3808919353525106688,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781786751000,"timestamp_ms":1781786751000,"timestamp_seconds":1781786751,"priority":1,"record_length":96,"hex_timestamp":"0000019edac43018"} 
[2026-06-18 18:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:17: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-06-18 18: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 18:17:00] 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-06-18 18: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-06-18 18:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137407744001,"66":27267,"17":206,"2":54016,"24":28,"16":318780066211299328,"44":-3808919353525106688},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,2,24,16,44]} 
[2026-06-18 18:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137407744001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318780066211299328,"km_value":318780066211299.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3808919353525106688,"description":"Unknown IO ID 44"} 
[2026-06-18 18:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137407744001,"power":27267,"axis_x":206,"power_alt":54016,"ignition":28,"odometer":null,"unknown_44":-3808919353525106688}} 
[2026-06-18 18:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":107780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:17:00] local.INFO: GPS data processed {"connection_id":107780,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:17:00] local.INFO: Acknowledgment sent {"connection_id":107780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:17:03] local.INFO: TCP Data received {"connection_id":106031,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106031,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:17:03] local.INFO: Processing buffer {"connection_id":106031,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:17:03] local.INFO: IMEI packet received {"connection_id":106031,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":106031,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:17:04] local.INFO: TCP Data received {"connection_id":106031,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac4d810012d7e34c005d34f80000a007b2b..."} 
[2026-06-18 18:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac4d810012d7e34c005d34f80000a007b2b..."} 
[2026-06-18 18:17:04] local.INFO: Processing buffer {"connection_id":106031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac4d810012d7e34c005d34f80000a007b2b..."} 
[2026-06-18 18:17:04] local.INFO: Packet analysis {"connection_id":106031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:17:04] local.INFO: Extracted packet for processing {"connection_id":106031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:17:04] local.INFO: GPS Element Parsed {"raw_longitude":763245760,"raw_latitude":97734528,"longitude_deg":76.324576,"latitude_deg":9.7734528,"altitude":10,"angle":123,"satellites":43,"speed":12,"hex_longitude":"2d7e34c0","hex_latitude":"05d34f80","is_valid_coordinates":true} 
[2026-06-18 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:17:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137419008001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062777374605312,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9093893572587964416,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:17:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781786794000,"timestamp_ms":1781786794000,"timestamp_seconds":1781786794,"priority":1,"record_length":96,"hex_timestamp":"0000019edac4d810"} 
[2026-06-18 18:17:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:17: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-06-18 18:17:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-06-18 18:17:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:17:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:17:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:17:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:17:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:17:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:17:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:17:04] 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-06-18 18:17:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:17:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:17:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137419008001,"66":13135,"109":206,"85":15104,"24":12,"16":94062777374605312,"45":9093893572587964416},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:17:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:17:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:17:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137419008001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:17:04] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:17:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:17:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062777374605312,"km_value":94062777374605.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:17:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9093893572587964416,"description":"Unknown IO ID 45"} 
[2026-06-18 18:17:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137419008001,"power":13135,"unknown_109":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9093893572587964416}} 
[2026-06-18 18:17:04] local.INFO: DEBUG: GPS processor result {"connection_id":106031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:17:04] local.INFO: GPS data processed {"connection_id":106031,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:17:04] local.INFO: Acknowledgment sent {"connection_id":106031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:17:24] local.INFO: TCP Data received {"connection_id":106206,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:17:24] local.INFO: Processing buffer {"connection_id":106206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:17:24] local.INFO: IMEI packet received {"connection_id":106206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":106206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:17:29] local.INFO: TCP Data received {"connection_id":106206,"ip":"117.224.120.98","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:17:29] local.INFO: Processing buffer {"connection_id":106206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:17:29] local.INFO: IMEI packet received {"connection_id":106206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":106206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:17:30] local.INFO: TCP Data received {"connection_id":106206,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac462e0012ccb1880074b2d980011015b30..."} 
[2026-06-18 18:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac462e0012ccb1880074b2d980011015b30..."} 
[2026-06-18 18:17:30] local.INFO: Processing buffer {"connection_id":106206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac462e0012ccb1880074b2d980011015b30..."} 
[2026-06-18 18:17:30] local.INFO: Packet analysis {"connection_id":106206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:17:30] local.INFO: Extracted packet for processing {"connection_id":106206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:17:30] local.INFO: GPS Element Parsed {"raw_longitude":751507584,"raw_latitude":122367384,"longitude_deg":75.1507584,"latitude_deg":12.2367384,"altitude":17,"angle":347,"satellites":48,"speed":33,"hex_longitude":"2ccb1880","hex_latitude":"074b2d98","is_valid_coordinates":true} 
[2026-06-18 18:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137408256001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318780495708028928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3809623040966526976,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781786764000,"timestamp_ms":1781786764000,"timestamp_seconds":1781786764,"priority":1,"record_length":96,"hex_timestamp":"0000019edac462e0"} 
[2026-06-18 18:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:17: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-06-18 18:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 18:17: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-06-18 18:17:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137408256001,"66":27974,"96":206,"2":54016,"24":33,"16":318780495708028928,"44":-3809623040966526976},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-06-18 18:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137408256001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:17:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 18:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318780495708028928,"km_value":318780495708028.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3809623040966526976,"description":"Unknown IO ID 44"} 
[2026-06-18 18:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137408256001,"power":27974,"unknown_96":206,"power_alt":54016,"ignition":33,"odometer":null,"unknown_44":-3809623040966526976}} 
[2026-06-18 18:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":106206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:17:30] local.INFO: GPS data processed {"connection_id":106206,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:17:30] local.INFO: Acknowledgment sent {"connection_id":106206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:17:33] local.INFO: TCP Data received {"connection_id":106032,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:17:33] local.INFO: Processing buffer {"connection_id":106032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:17:33] local.INFO: IMEI packet received {"connection_id":106032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":106032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:17:35] local.INFO: TCP Data received {"connection_id":106031,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac4dbf8012d7e35c005d34f10000a006d2a..."} 
[2026-06-18 18:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac4dbf8012d7e35c005d34f10000a006d2a..."} 
[2026-06-18 18:17:35] local.INFO: Processing buffer {"connection_id":106031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac4dbf8012d7e35c005d34f10000a006d2a..."} 
[2026-06-18 18:17:35] local.INFO: Packet analysis {"connection_id":106031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:17:35] local.INFO: Extracted packet for processing {"connection_id":106031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:17:35] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":97734416,"longitude_deg":76.3246016,"latitude_deg":9.7734416,"altitude":10,"angle":109,"satellites":42,"speed":10,"hex_longitude":"2d7e35c0","hex_latitude":"05d34f10","is_valid_coordinates":true} 
[2026-06-18 18:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137419264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062790259507200,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094104678820446208,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:35] 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-06-18 18:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781786795000,"timestamp_ms":1781786795000,"timestamp_seconds":1781786795,"priority":1,"record_length":96,"hex_timestamp":"0000019edac4dbf8"} 
[2026-06-18 18:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:17: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-06-18 18:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 18:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106031,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:17:35] 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-06-18 18:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137419264001,"66":12678,"109":206,"85":15104,"24":10,"16":94062790259507200,"45":9094104678820446208},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137419264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:17:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:17:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062790259507200,"km_value":94062790259507.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:17:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094104678820446208,"description":"Unknown IO ID 45"} 
[2026-06-18 18:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137419264001,"power":12678,"unknown_109":206,"unknown_85":15104,"ignition":10,"odometer":null,"unknown_45":9094104678820446208}} 
[2026-06-18 18:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":106031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:17:35] local.INFO: GPS data processed {"connection_id":106031,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:17:35] local.INFO: Acknowledgment sent {"connection_id":106031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:17:38] local.INFO: TCP Data received {"connection_id":106032,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:17:38] local.INFO: Processing buffer {"connection_id":106032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:17:38] local.INFO: IMEI packet received {"connection_id":106032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":106032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:17:40] local.INFO: TCP Data received {"connection_id":106032,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:17:40] local.INFO: Processing buffer {"connection_id":106032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:17:40] local.INFO: Packet analysis {"connection_id":106032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:17:40] local.INFO: Extracted packet for processing {"connection_id":106032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:17:40] 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-06-18 18:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:17:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:17:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":106032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:17:40] local.INFO: GPS data processed {"connection_id":106032,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:17:40] local.INFO: Acknowledgment sent {"connection_id":106032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:18:00] local.INFO: TCP Data received {"connection_id":107783,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:18:00] local.INFO: Processing buffer {"connection_id":107783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:18:00] local.INFO: IMEI packet received {"connection_id":107783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":107783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:18:01] local.INFO: TCP Data received {"connection_id":106206,"ip":"117.224.120.98","data_length":795,"data_hex":"000000000000030f8e0a0000019edac489f0012ccb1100074b50900011015b30..."} 
[2026-06-18 18:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac489f0012ccb1100074b50900011015b30..."} 
[2026-06-18 18:18:01] local.INFO: Processing buffer {"connection_id":106206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac489f0012ccb1100074b50900011015b30..."} 
[2026-06-18 18:18:01] local.INFO: Packet analysis {"connection_id":106206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:18:01] local.INFO: Extracted packet for processing {"connection_id":106206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":751505664,"raw_latitude":122376336,"longitude_deg":75.1505664,"latitude_deg":12.2376336,"altitude":17,"angle":347,"satellites":48,"speed":39,"hex_longitude":"2ccb1100","hex_latitude":"074b5090","is_valid_coordinates":true} 
[2026-06-18 18:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137411584001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318780938089660416,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3812156315754719232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781786774000,"timestamp_ms":1781786774000,"timestamp_seconds":1781786774,"priority":1,"record_length":96,"hex_timestamp":"0000019edac489f0"} 
[2026-06-18 18:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 18:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.120.98","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137411584001,"66":27974,"96":206,"2":54016,"24":39,"16":318780938089660416,"44":-3812156315754719232},"client_ip":"117.224.120.98","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,2,24,16,44]} 
[2026-06-18 18:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137411584001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:18:01] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 18:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318780938089660416,"km_value":318780938089660.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3812156315754719232,"description":"Unknown IO ID 44"} 
[2026-06-18 18:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137411584001,"power":27974,"unknown_96":206,"power_alt":54016,"ignition":39,"odometer":null,"unknown_44":-3812156315754719232}} 
[2026-06-18 18:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":106206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:18:01] local.INFO: GPS data processed {"connection_id":106206,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:18:01] local.INFO: Acknowledgment sent {"connection_id":106206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:18:04] local.INFO: TCP Data received {"connection_id":107783,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107783,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:18:04] local.INFO: Processing buffer {"connection_id":107783,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:18:04] local.INFO: IMEI packet received {"connection_id":107783,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":107783,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:18:06] local.INFO: TCP Data received {"connection_id":107783,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac4eb98012d7e398005d34e58000900562a..."} 
[2026-06-18 18:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac4eb98012d7e398005d34e58000900562a..."} 
[2026-06-18 18:18:06] local.INFO: Processing buffer {"connection_id":107783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac4eb98012d7e398005d34e58000900562a..."} 
[2026-06-18 18:18:06] local.INFO: Packet analysis {"connection_id":107783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:18:06] local.INFO: Extracted packet for processing {"connection_id":107783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97734232,"longitude_deg":76.3246976,"latitude_deg":9.7734232,"altitude":9,"angle":86,"satellites":42,"speed":7,"hex_longitude":"2d7e3980","hex_latitude":"05d34e58","is_valid_coordinates":true} 
[2026-06-18 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137419520001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062837504147456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153797128192,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781786799000,"timestamp_ms":1781786799000,"timestamp_seconds":1781786799,"priority":1,"record_length":96,"hex_timestamp":"0000019edac4eb98"} 
[2026-06-18 18:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:18: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-06-18 18:18:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 18:18:06] 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-06-18 18:18:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:18:06] 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-06-18 18:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137419520001,"66":12189,"109":206,"85":15104,"24":7,"16":94062837504147456,"45":9094386153797128192},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137419520001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:18:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062837504147456,"km_value":94062837504147.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153797128192,"description":"Unknown IO ID 45"} 
[2026-06-18 18:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137419520001,"power":12189,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9094386153797128192}} 
[2026-06-18 18:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":107783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:18:06] local.INFO: GPS data processed {"connection_id":107783,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:18:06] local.INFO: Acknowledgment sent {"connection_id":107783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:18:12] local.INFO: TCP Data received {"connection_id":106032,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:18:12] local.INFO: Processing buffer {"connection_id":106032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:18:12] local.INFO: Packet analysis {"connection_id":106032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:18:12] local.INFO: Extracted packet for processing {"connection_id":106032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:18:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":106032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345720,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:18:12] local.INFO: GPS data processed {"connection_id":106032,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:18:12] local.INFO: Acknowledgment sent {"connection_id":106032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:18:34] local.INFO: TCP Data received {"connection_id":106207,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:18:34] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:18:34] local.INFO: IMEI packet received {"connection_id":106207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":106207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:18:38] local.INFO: TCP Data received {"connection_id":106207,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:18:38] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:18:38] local.INFO: IMEI packet received {"connection_id":106207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":106207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:18:39] local.INFO: TCP Data received {"connection_id":106207,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:18:39] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:18:39] local.INFO: Packet analysis {"connection_id":106207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:18:39] local.INFO: Extracted packet for processing {"connection_id":106207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:18:39] 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-06-18 18:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:18:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":106207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:18:39] local.INFO: GPS data processed {"connection_id":106207,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:18:39] local.INFO: Acknowledgment sent {"connection_id":106207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:18:41] local.INFO: TCP Data received {"connection_id":107783,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edac4ef80012d7e3a8005d34e980009003b2a..."} 
[2026-06-18 18:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac4ef80012d7e3a8005d34e980009003b2a..."} 
[2026-06-18 18:18:41] local.INFO: Processing buffer {"connection_id":107783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac4ef80012d7e3a8005d34e980009003b2a..."} 
[2026-06-18 18:18:41] local.INFO: Packet analysis {"connection_id":107783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:18:41] local.INFO: Extracted packet for processing {"connection_id":107783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:18:41] local.INFO: GPS Element Parsed {"raw_longitude":763247232,"raw_latitude":97734296,"longitude_deg":76.3247232,"latitude_deg":9.7734296,"altitude":9,"angle":59,"satellites":42,"speed":8,"hex_longitude":"2d7e3a80","hex_latitude":"05d34e98","is_valid_coordinates":true} 
[2026-06-18 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137420544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062850389049344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959746048,"note":"Value kept but may cause issues"} 
[2026-06-18 18:18:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781786800000,"timestamp_ms":1781786800000,"timestamp_seconds":1781786800,"priority":1,"record_length":96,"hex_timestamp":"0000019edac4ef80"} 
[2026-06-18 18:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:18: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-06-18 18:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-18 18:18:41] 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-06-18 18:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107783,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:18:41] 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-06-18 18:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137420544001,"66":12809,"109":206,"85":15104,"24":8,"16":94062850389049344,"45":9095441684959746048},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137420544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:18:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:18:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062850389049344,"km_value":94062850389049.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959746048,"description":"Unknown IO ID 45"} 
[2026-06-18 18:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137420544001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9095441684959746048}} 
[2026-06-18 18:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":107783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:18:41] local.INFO: GPS data processed {"connection_id":107783,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:18:41] local.INFO: Acknowledgment sent {"connection_id":107783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:19:11] local.INFO: TCP Data received {"connection_id":106207,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:19:11] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:19:11] local.INFO: Packet analysis {"connection_id":106207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:19:11] local.INFO: Extracted packet for processing {"connection_id":106207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:19:11] 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-06-18 18:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:19:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":106207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:19:11] local.INFO: GPS data processed {"connection_id":106207,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:19:11] local.INFO: Acknowledgment sent {"connection_id":106207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:19:33] local.INFO: TCP Data received {"connection_id":107784,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:19:33] local.INFO: Processing buffer {"connection_id":107784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:19:33] local.INFO: IMEI packet received {"connection_id":107784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:19:33] local.INFO: IMEI acknowledgment sent {"connection_id":107784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:19:38] local.INFO: TCP Data received {"connection_id":107784,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:19:38] local.INFO: Processing buffer {"connection_id":107784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:19:38] local.INFO: IMEI packet received {"connection_id":107784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":107784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:19:39] local.INFO: TCP Data received {"connection_id":107784,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:19:39] local.INFO: Processing buffer {"connection_id":107784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:19:39] local.INFO: Packet analysis {"connection_id":107784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:19:39] local.INFO: Extracted packet for processing {"connection_id":107784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:19:39] 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-06-18 18:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:19:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:19:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":107784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345724,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:19:40] local.INFO: GPS data processed {"connection_id":107784,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:19:40] local.INFO: Acknowledgment sent {"connection_id":107784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:19:57] local.INFO: TCP Data received {"connection_id":106811,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:19:57] local.INFO: Processing buffer {"connection_id":106811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:19:57] local.INFO: IMEI packet received {"connection_id":106811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":106811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:19:58] local.INFO: TCP Data received {"connection_id":106811,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edac6e768012d1ac5c0071fd4b0004201622c..."} 
[2026-06-18 18:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac6e768012d1ac5c0071fd4b0004201622c..."} 
[2026-06-18 18:19:58] local.INFO: Processing buffer {"connection_id":106811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac6e768012d1ac5c0071fd4b0004201622c..."} 
[2026-06-18 18:19:58] local.INFO: Packet analysis {"connection_id":106811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:19:58] local.INFO: Extracted packet for processing {"connection_id":106811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756729280,"raw_latitude":119526576,"longitude_deg":75.672928,"latitude_deg":11.9526576,"altitude":66,"angle":354,"satellites":44,"speed":7,"hex_longitude":"2d1ac5c0","hex_latitude":"071fd4b0","is_valid_coordinates":true} 
[2026-06-18 18:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137452032001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3342034312101888,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1929018414740715520,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781786929000,"timestamp_ms":1781786929000,"timestamp_seconds":1781786929,"priority":1,"record_length":96,"hex_timestamp":"0000019edac6e768"} 
[2026-06-18 18:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:19:58] 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-06-18 18:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670405456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3321438209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2545942591,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2147950487,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3003174375,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3738632192,"note":"Value kept but may cause issues"} 
[2026-06-18 18:19:58] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,223,122,45,128,186,68,10,66,82,177,67,64,1,240,222,218,31,4,113,205,6,245,183,8,44,239,56,2,11,7,63],"length":479,"final_offset":609,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 18:19:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4899924280139513856,"timestamp_seconds":4899924280139514.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137452032001,"66":14374,"121":206,"28":31744,"24":7,"16":3342034312101888,"45":1929018414740715520},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137452032001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:19:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3342034312101888,"km_value":3342034312101.888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1929018414740715520,"description":"Unknown IO ID 45"} 
[2026-06-18 18:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137452032001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1929018414740715520}} 
[2026-06-18 18:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":106811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:19:58] local.INFO: GPS data processed {"connection_id":106811,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:19:58] local.INFO: Acknowledgment sent {"connection_id":106811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:20:11] local.INFO: TCP Data received {"connection_id":107784,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:20:11] local.INFO: Processing buffer {"connection_id":107784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac35d28012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:20:11] local.INFO: Packet analysis {"connection_id":107784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:20:11] local.INFO: Extracted packet for processing {"connection_id":107784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac3"} 
[2026-06-18 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137317376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786697000,"timestamp_ms":1781786697000,"timestamp_seconds":1781786697,"priority":1,"record_length":96,"hex_timestamp":"0000019edac35d28"} 
[2026-06-18 18:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-06-18 18:20:11] 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-06-18 18:20:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137317376001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137317376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:20:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137317376001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":107784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:20:11] local.INFO: GPS data processed {"connection_id":107784,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:20:11] local.INFO: Acknowledgment sent {"connection_id":107784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:20:30] local.INFO: TCP Data received {"connection_id":106811,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7a6d0012d1ab600071fefd0004d010d2c..."} 
[2026-06-18 18:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7a6d0012d1ab600071fefd0004d010d2c..."} 
[2026-06-18 18:20:30] local.INFO: Processing buffer {"connection_id":106811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7a6d0012d1ab600071fefd0004d010d2c..."} 
[2026-06-18 18:20:30] local.INFO: Packet analysis {"connection_id":106811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:20:30] local.INFO: Extracted packet for processing {"connection_id":106811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:20:30] local.INFO: GPS Element Parsed {"raw_longitude":756725248,"raw_latitude":119533520,"longitude_deg":75.6725248,"latitude_deg":11.953352,"altitude":77,"angle":269,"satellites":44,"speed":6,"hex_longitude":"2d1ab600","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137466112001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3342485283667968,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924866658836393984,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781786978000,"timestamp_ms":1781786978000,"timestamp_seconds":1781786978,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7a6d0"} 
[2026-06-18 18:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670484456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4026531840,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788853,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3348062209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-2801238667554903552,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":76,"raw_value":4160826650,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3758149095,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3755474944,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":252,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2168484513812545543,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:30] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,223,159,45,64,239,77,44,10,66,151,238,147,192,1,240,92,218,31,4,113,205,7,76,185,40,43,54,2,11,72,9,252,199],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 18:20:30] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548746091690065920,"timestamp_seconds":5548746091690066.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137466112001,"66":13319,"121":206,"28":31744,"24":6,"16":3342485283667968,"45":1924866658836393984},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137466112001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:20:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3342485283667968,"km_value":3342485283667.968,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924866658836393984,"description":"Unknown IO ID 45"} 
[2026-06-18 18:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137466112001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1924866658836393984}} 
[2026-06-18 18:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":106811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:20:30] local.INFO: GPS data processed {"connection_id":106811,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:20:30] local.INFO: Acknowledgment sent {"connection_id":106811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:20:33] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:33] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:33] local.INFO: IMEI packet received {"connection_id":106033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":106033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:20:36] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:36] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:36] local.INFO: IMEI packet received {"connection_id":106033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:20:36] local.INFO: IMEI acknowledgment sent {"connection_id":106033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:20:38] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:38] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:20:38] local.INFO: IMEI packet received {"connection_id":106033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":106033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:20:39] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:20:39] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:20:39] local.INFO: Packet analysis {"connection_id":106033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:20:39] local.INFO: Extracted packet for processing {"connection_id":106033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:20:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":106033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:20:39] local.INFO: GPS data processed {"connection_id":106033,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:20:39] local.INFO: Acknowledgment sent {"connection_id":106033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:20:44] local.INFO: TCP Data received {"connection_id":106812,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:20:44] local.INFO: Processing buffer {"connection_id":106812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:20:44] local.INFO: IMEI packet received {"connection_id":106812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":106812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:20:46] local.INFO: TCP Data received {"connection_id":106812,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:20:46] local.INFO: Processing buffer {"connection_id":106812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:20:46] local.INFO: IMEI packet received {"connection_id":106812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":106812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:20:47] local.INFO: TCP Data received {"connection_id":106812,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7b288012d1ab4c0071feff8004d01232c..."} 
[2026-06-18 18:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7b288012d1ab4c0071feff8004d01232c..."} 
[2026-06-18 18:20:47] local.INFO: Processing buffer {"connection_id":106812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7b288012d1ab4c0071feff8004d01232c..."} 
[2026-06-18 18:20:47] local.INFO: Packet analysis {"connection_id":106812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:20:47] local.INFO: Extracted packet for processing {"connection_id":106812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:20:47] local.INFO: GPS Element Parsed {"raw_longitude":756724928,"raw_latitude":119533560,"longitude_deg":75.6724928,"latitude_deg":11.953356,"altitude":77,"angle":291,"satellites":44,"speed":0,"hex_longitude":"2d1ab4c0","hex_latitude":"071feff8","is_valid_coordinates":true} 
[2026-06-18 18:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137466368001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3342502463537152,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1924725921348046848,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:20:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781786981000,"timestamp_ms":1781786981000,"timestamp_seconds":1781786981,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7b288"} 
[2026-06-18 18:20:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:20:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:20:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670494456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":223,"raw_value":4060086272,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788854,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3348318209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-2684145068652287232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3221692397,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247847,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":224,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2731434467233824775,"note":"Value kept but may cause issues"} 
[2026-06-18 18:20:47] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,121,28,24,241,158,16,223,162,45,128,239,77,44,10,66,159,64,151,1,240,92,218,31,4,113,205,6,143,184,120,54,2,11,7,78,224,199],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 18:20:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548730698527277056,"timestamp_seconds":5548730698527277.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:20:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:20:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:20:47] local.INFO: Teltonika packet parsed successfully {"connection_id":106812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:20:47] local.INFO: Passing IMEI to GPS processor {"connection_id":106812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:20:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":106812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:20:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:20:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:20:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:20:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137466368001,"66":14004,"121":206,"28":31744,"24":0,"16":3342502463537152,"45":1924725921348046848},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:20:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:20:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:20:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137466368001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:20:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:20:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:20:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3342502463537152,"km_value":3342502463537.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:20:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1924725921348046848,"description":"Unknown IO ID 45"} 
[2026-06-18 18:20:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137466368001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1924725921348046848}} 
[2026-06-18 18:20:47] local.INFO: DEBUG: GPS processor result {"connection_id":106812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:20:47] local.INFO: GPS data processed {"connection_id":106812,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:20:47] local.INFO: Acknowledgment sent {"connection_id":106812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:21:11] local.INFO: TCP Data received {"connection_id":106033,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:11] local.INFO: Processing buffer {"connection_id":106033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:11] local.INFO: Packet analysis {"connection_id":106033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:21:11] local.INFO: Extracted packet for processing {"connection_id":106033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:21:11] 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-06-18 18:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:21:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":106033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:21:11] local.INFO: GPS data processed {"connection_id":106033,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:21:11] local.INFO: Acknowledgment sent {"connection_id":106033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:21:18] local.INFO: TCP Data received {"connection_id":106812,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edac88960012d1a8f4007200908004301462c..."} 
[2026-06-18 18:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac88960012d1a8f4007200908004301462c..."} 
[2026-06-18 18:21:18] local.INFO: Processing buffer {"connection_id":106812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac88960012d1a8f4007200908004301462c..."} 
[2026-06-18 18:21:18] local.INFO: Packet analysis {"connection_id":106812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac8"} 
[2026-06-18 18:21:18] local.INFO: Extracted packet for processing {"connection_id":106812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac8"} 
[2026-06-18 18:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756715328,"raw_latitude":119539976,"longitude_deg":75.6715328,"latitude_deg":11.9539976,"altitude":67,"angle":326,"satellites":44,"speed":13,"hex_longitude":"2d1a8f40","hex_latitude":"07200908","is_valid_coordinates":true} 
[2026-06-18 18:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137480960001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3343120938827776,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1914029872234620928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781787036000,"timestamp_ms":1781787036000,"timestamp_seconds":1781787036,"priority":1,"record_length":96,"hex_timestamp":"0000019edac88960"} 
[2026-06-18 18:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 18:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":106812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":106812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":106812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137480960001,"66":14396,"121":206,"28":31744,"24":13,"16":3343120938827776,"45":1914029872234620928},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137480960001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:21:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:21:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3343120938827776,"km_value":3343120938827.776,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1914029872234620928,"description":"Unknown IO ID 45"} 
[2026-06-18 18:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137480960001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1914029872234620928}} 
[2026-06-18 18:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":106812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:21:18] local.INFO: GPS data processed {"connection_id":106812,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:21:18] local.INFO: Acknowledgment sent {"connection_id":106812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:21:38] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:21:38] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:21:38] local.INFO: IMEI packet received {"connection_id":106034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":106034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:21:43] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:21:43] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:21:43] local.INFO: IMEI packet received {"connection_id":106034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":106034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:21:44] local.INFO: TCP Data received {"connection_id":106035,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:21:44] local.INFO: Processing buffer {"connection_id":106035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:21:44] local.INFO: IMEI packet received {"connection_id":106035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":106035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:21:44] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:44] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:44] local.INFO: Packet analysis {"connection_id":106034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:21:44] local.INFO: Extracted packet for processing {"connection_id":106034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:21:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:21:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:21:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:21:44] 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-06-18 18:21:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:21:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:21:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":106034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:21:44] local.INFO: GPS data processed {"connection_id":106034,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:21:44] local.INFO: Acknowledgment sent {"connection_id":106034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:21:49] local.INFO: TCP Data received {"connection_id":106034,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:49] local.INFO: Processing buffer {"connection_id":106034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:21:49] local.INFO: Packet analysis {"connection_id":106034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:21:49] local.INFO: Extracted packet for processing {"connection_id":106034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:21:49] 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-06-18 18:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:21:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:21:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":106034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:21:49] local.INFO: GPS data processed {"connection_id":106034,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:21:49] local.INFO: Acknowledgment sent {"connection_id":106034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:21:49] local.INFO: TCP Data received {"connection_id":106035,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:21:49] local.INFO: Processing buffer {"connection_id":106035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:21:49] local.INFO: IMEI packet received {"connection_id":106035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":106035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:21:50] local.INFO: TCP Data received {"connection_id":106035,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edac88d48012d1a8f0007200a40004301532c..."} 
[2026-06-18 18:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac88d48012d1a8f0007200a40004301532c..."} 
[2026-06-18 18:21:50] local.INFO: Processing buffer {"connection_id":106035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac88d48012d1a8f0007200a40004301532c..."} 
[2026-06-18 18:21:50] local.INFO: Packet analysis {"connection_id":106035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac8"} 
[2026-06-18 18:21:50] local.INFO: Extracted packet for processing {"connection_id":106035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac8"} 
[2026-06-18 18:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756715264,"raw_latitude":119540288,"longitude_deg":75.6715264,"latitude_deg":11.9540288,"altitude":67,"angle":339,"satellites":44,"speed":13,"hex_longitude":"2d1a8f00","hex_latitude":"07200a40","is_valid_coordinates":true} 
[2026-06-18 18:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137481216001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3343138118696960,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913818766002161664,"note":"Value kept but may cause issues"} 
[2026-06-18 18:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781787037000,"timestamp_ms":1781787037000,"timestamp_seconds":1781787037,"priority":1,"record_length":96,"hex_timestamp":"0000019edac88d48"} 
[2026-06-18 18:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 18:21:50] 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-06-18 18:21:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137481216001,"66":14374,"121":206,"28":31744,"24":13,"16":3343138118696960,"45":1913818766002161664},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137481216001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:21:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:21:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3343138118696960,"km_value":3343138118696.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913818766002161664,"description":"Unknown IO ID 45"} 
[2026-06-18 18:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137481216001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1913818766002161664}} 
[2026-06-18 18:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":106035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:21:50] local.INFO: GPS data processed {"connection_id":106035,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:21:50] local.INFO: Acknowledgment sent {"connection_id":106035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:22:22] local.INFO: TCP Data received {"connection_id":106035,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edac89130012d1a8e8007200b80004301622c..."} 
[2026-06-18 18:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac89130012d1a8e8007200b80004301622c..."} 
[2026-06-18 18:22:22] local.INFO: Processing buffer {"connection_id":106035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac89130012d1a8e8007200b80004301622c..."} 
[2026-06-18 18:22:22] local.INFO: Packet analysis {"connection_id":106035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac8"} 
[2026-06-18 18:22:22] local.INFO: Extracted packet for processing {"connection_id":106035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac8"} 
[2026-06-18 18:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756715136,"raw_latitude":119540608,"longitude_deg":75.6715136,"latitude_deg":11.9540608,"altitude":67,"angle":354,"satellites":44,"speed":12,"hex_longitude":"2d1a8e80","hex_latitude":"07200b80","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137481472001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3343151003598848,"note":"Value kept but may cause issues"} 
[2026-06-18 18:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913748397258063872,"note":"Value kept but may cause issues"} 
[2026-06-18 18:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781787038000,"timestamp_ms":1781787038000,"timestamp_seconds":1781787038,"priority":1,"record_length":96,"hex_timestamp":"0000019edac89130"} 
[2026-06-18 18:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 18:22:22] 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-06-18 18: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-06-18 18:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137481472001,"66":14374,"121":206,"28":31744,"24":12,"16":3343151003598848,"45":1913748397258063872},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137481472001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:22:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:22:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3343151003598848,"km_value":3343151003598.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913748397258063872,"description":"Unknown IO ID 45"} 
[2026-06-18 18:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137481472001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1913748397258063872}} 
[2026-06-18 18:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":106035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:22:22] local.INFO: GPS data processed {"connection_id":106035,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:22:22] local.INFO: Acknowledgment sent {"connection_id":106035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:22:33] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:22:33] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:22:33] local.INFO: IMEI packet received {"connection_id":106209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":106209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:22:38] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:22:38] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:22:38] local.INFO: IMEI packet received {"connection_id":106209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":106209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:22:39] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:22:39] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:22:39] local.INFO: Packet analysis {"connection_id":106209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:22:39] local.INFO: Extracted packet for processing {"connection_id":106209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:22:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":106209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:22:39] local.INFO: GPS data processed {"connection_id":106209,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:22:39] local.INFO: Acknowledgment sent {"connection_id":106209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:22:43] local.INFO: TCP Data received {"connection_id":106813,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:43] local.INFO: Processing buffer {"connection_id":106813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:43] local.INFO: IMEI packet received {"connection_id":106813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":106813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:22:44] local.INFO: TCP Data received {"connection_id":106813,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:44] local.INFO: Processing buffer {"connection_id":106813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:44] local.INFO: IMEI packet received {"connection_id":106813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":106813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:22:45] local.INFO: TCP Data received {"connection_id":106813,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:45] local.INFO: Processing buffer {"connection_id":106813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:45] local.INFO: IMEI packet received {"connection_id":106813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":106813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:22:47] local.INFO: TCP Data received {"connection_id":106813,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:47] local.INFO: Processing buffer {"connection_id":106813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:22:47] local.INFO: IMEI packet received {"connection_id":106813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":106813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:23:10] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:23:10] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:23:10] local.INFO: Packet analysis {"connection_id":106209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:23:10] local.INFO: Extracted packet for processing {"connection_id":106209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:23:10] 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-06-18 18:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106209,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:23:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:23:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":106209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:23:11] local.INFO: GPS data processed {"connection_id":106209,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:23:11] local.INFO: Acknowledgment sent {"connection_id":106209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:23:30] local.INFO: TCP Data received {"connection_id":106036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:23:30] local.INFO: Processing buffer {"connection_id":106036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:23:30] local.INFO: IMEI packet received {"connection_id":106036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:23:30] local.INFO: IMEI acknowledgment sent {"connection_id":106036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:23:33] local.INFO: TCP Data received {"connection_id":106814,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:23:33] local.INFO: Processing buffer {"connection_id":106814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:23:33] local.INFO: IMEI packet received {"connection_id":106814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":106814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:23:35] local.INFO: TCP Data received {"connection_id":106036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106036,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:23:35] local.INFO: Processing buffer {"connection_id":106036,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:23:35] local.INFO: IMEI packet received {"connection_id":106036,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:23:35] local.INFO: IMEI acknowledgment sent {"connection_id":106036,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:23:36] local.INFO: TCP Data received {"connection_id":106036,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac4f368012d7e3ac005d34f100009002a2a..."} 
[2026-06-18 18:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac4f368012d7e3ac005d34f100009002a2a..."} 
[2026-06-18 18:23:36] local.INFO: Processing buffer {"connection_id":106036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac4f368012d7e3ac005d34f100009002a2a..."} 
[2026-06-18 18:23:36] local.INFO: Packet analysis {"connection_id":106036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:23:36] local.INFO: Extracted packet for processing {"connection_id":106036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac4"} 
[2026-06-18 18:23:36] local.INFO: GPS Element Parsed {"raw_longitude":763247296,"raw_latitude":97734416,"longitude_deg":76.3247296,"latitude_deg":9.7734416,"altitude":9,"angle":42,"satellites":42,"speed":6,"hex_longitude":"2d7e3ac0","hex_latitude":"05d34f10","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137420800001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062858978983936,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095723159936473088,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] 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-06-18 18:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781786801000,"timestamp_ms":1781786801000,"timestamp_seconds":1781786801,"priority":1,"record_length":96,"hex_timestamp":"0000019edac4f368"} 
[2026-06-18 18:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18: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-06-18 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670325456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-4272535054711902144,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":188,"raw_value":3087084926,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3221607252,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957730988569003,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218261738222729685,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,45,158,235,128,78,9,42,10,66,219,192,79,216,1,240,227,218,211,4,113,205,13,188,48,224,239,51,2,5,11,8,59,131],"length":535,"final_offset":665,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-06-18 18:23:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648583397916540928,"timestamp_seconds":648583397916540.9,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106036,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:23:36] 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-06-18 18:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137420800001,"66":12809,"109":206,"85":15104,"24":6,"16":94062858978983936,"45":9095723159936473088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137420800001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:23:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062858978983936,"km_value":94062858978983.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095723159936473088,"description":"Unknown IO ID 45"} 
[2026-06-18 18:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137420800001,"power":12809,"unknown_109":206,"unknown_85":15104,"ignition":6,"odometer":null,"unknown_45":9095723159936473088}} 
[2026-06-18 18:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":106036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345738,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:23:36] local.INFO: GPS data processed {"connection_id":106036,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:23:36] local.INFO: Acknowledgment sent {"connection_id":106036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:23:38] local.INFO: TCP Data received {"connection_id":106814,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:23:38] local.INFO: Processing buffer {"connection_id":106814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:23:38] local.INFO: IMEI packet received {"connection_id":106814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":106814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:23:39] local.INFO: TCP Data received {"connection_id":106814,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:23:39] local.INFO: Processing buffer {"connection_id":106814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:23:39] local.INFO: Packet analysis {"connection_id":106814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:23:39] local.INFO: Extracted packet for processing {"connection_id":106814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:23:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:23:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":106814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:23:39] local.INFO: GPS data processed {"connection_id":106814,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:23:39] local.INFO: Acknowledgment sent {"connection_id":106814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:24:00] local.INFO: TCP Data received {"connection_id":106211,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:24:00] local.INFO: Processing buffer {"connection_id":106211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:24:00] local.INFO: IMEI packet received {"connection_id":106211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":106211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:24:04] local.INFO: TCP Data received {"connection_id":106211,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106211,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:24:04] local.INFO: Processing buffer {"connection_id":106211,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:24:04] local.INFO: IMEI packet received {"connection_id":106211,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":106211,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:24:05] local.INFO: TCP Data received {"connection_id":106211,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac54188012d7e38c005d34d280007002a29..."} 
[2026-06-18 18:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac54188012d7e38c005d34d280007002a29..."} 
[2026-06-18 18:24:05] local.INFO: Processing buffer {"connection_id":106211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac54188012d7e38c005d34d280007002a29..."} 
[2026-06-18 18:24:05] local.INFO: Packet analysis {"connection_id":106211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac5"} 
[2026-06-18 18:24:05] local.INFO: Extracted packet for processing {"connection_id":106211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac5"} 
[2026-06-18 18:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137421056001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095793528680681472,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] 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-06-18 18:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781786821000,"timestamp_ms":1781786821000,"timestamp_seconds":1781786821,"priority":1,"record_length":96,"hex_timestamp":"0000019edac54188"} 
[2026-06-18 18:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:24: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-06-18 18:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":576460752471196672,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670326456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-4271435543084126144,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-6484957730988569003,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3218499232734335702,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.WARNING: Large IO value detected {"io_id":59,"raw_value":6755433800925425,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,109,85,24,241,157,16,45,158,239,128,78,9,42,10,66,235,219,192,1,240,134,227,218,211,4,113,205,12,212,52,72,43,51,2,5,11,8,59],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-06-18 18:24:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648564706218737664,"timestamp_seconds":648564706218737.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:24:05] 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-06-18 18:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137421056001,"66":12863,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095793528680681472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137421056001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:24:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095793528680681472,"description":"Unknown IO ID 45"} 
[2026-06-18 18:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137421056001,"power":12863,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095793528680681472}} 
[2026-06-18 18:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":106211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:24:05] local.INFO: GPS data processed {"connection_id":106211,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:24:05] local.INFO: Acknowledgment sent {"connection_id":106211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:24:11] local.INFO: TCP Data received {"connection_id":106814,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:24:11] local.INFO: Processing buffer {"connection_id":106814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:24:11] local.INFO: Packet analysis {"connection_id":106814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:24:11] local.INFO: Extracted packet for processing {"connection_id":106814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:24:11] 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-06-18 18:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:24:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":106814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:24:11] local.INFO: GPS data processed {"connection_id":106814,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:24:11] local.INFO: Acknowledgment sent {"connection_id":106814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:24:33] local.INFO: TCP Data received {"connection_id":106212,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:24:33] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:24:33] local.INFO: IMEI packet received {"connection_id":106212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":106212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:24:36] local.INFO: TCP Data received {"connection_id":106211,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac59390012d7e38c005d34d280007002a28..."} 
[2026-06-18 18:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac59390012d7e38c005d34d280007002a28..."} 
[2026-06-18 18:24:36] local.INFO: Processing buffer {"connection_id":106211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac59390012d7e38c005d34d280007002a28..."} 
[2026-06-18 18:24:36] local.INFO: Packet analysis {"connection_id":106211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac5"} 
[2026-06-18 18:24:36] local.INFO: Extracted packet for processing {"connection_id":106211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac5"} 
[2026-06-18 18:24:36] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137426176001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:36] 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-06-18 18:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781786842000,"timestamp_ms":1781786842000,"timestamp_seconds":1781786842,"priority":1,"record_length":96,"hex_timestamp":"0000019edac59390"} 
[2026-06-18 18:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:24: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-06-18 18:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-18 18:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106211,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:24:36] 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-06-18 18:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137426176001,"66":13319,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137426176001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:24:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:24:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137426176001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":106211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345742,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:24:36] local.INFO: GPS data processed {"connection_id":106211,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:24:36] local.INFO: Acknowledgment sent {"connection_id":106211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:24:38] local.INFO: TCP Data received {"connection_id":106212,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:24:38] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:24:38] local.INFO: IMEI packet received {"connection_id":106212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":106212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:24:40] local.INFO: TCP Data received {"connection_id":106212,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:24:40] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:24:40] local.INFO: Packet analysis {"connection_id":106212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:24:40] local.INFO: Extracted packet for processing {"connection_id":106212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:24:40] 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-06-18 18:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:24:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:24:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":106212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:24:40] local.INFO: GPS data processed {"connection_id":106212,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:24:40] local.INFO: Acknowledgment sent {"connection_id":106212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:25:00] local.INFO: TCP Data received {"connection_id":106213,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:00] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:00] local.INFO: IMEI packet received {"connection_id":106213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":106213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:25:05] local.INFO: TCP Data received {"connection_id":106213,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:05] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:05] local.INFO: IMEI packet received {"connection_id":106213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":106213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:25:06] local.INFO: TCP Data received {"connection_id":106213,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac5e598012d7e38c005d34d280007002a2a..."} 
[2026-06-18 18:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac5e598012d7e38c005d34d280007002a2a..."} 
[2026-06-18 18:25:06] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac5e598012d7e38c005d34d280007002a2a..."} 
[2026-06-18 18:25:06] local.INFO: Packet analysis {"connection_id":106213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac5"} 
[2026-06-18 18:25:06] local.INFO: Extracted packet for processing {"connection_id":106213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac5"} 
[2026-06-18 18:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137431552001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781786863000,"timestamp_ms":1781786863000,"timestamp_seconds":1781786863,"priority":1,"record_length":96,"hex_timestamp":"0000019edac5e598"} 
[2026-06-18 18:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:25: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-06-18 18:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670333456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788851,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3303774209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5784873764316130048,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4160826750,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":53,"raw_value":3221607247,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2248199501,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545202688,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.WARNING: Large IO value detected {"io_id":196,"raw_value":-3159273843697909755,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:06] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,109,85,24,241,157,16,45,158,65,192,77,7,41,10,66,243,79,9,42,239,128,1,240,227,218,211,4,113,205,219,53,49,2,78,5,12,196],"length":527,"final_offset":657,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-06-18 18:25:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504449509552553984,"timestamp_seconds":504449509552554.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:25:06] 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-06-18 18:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137431552001,"66":13319,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137431552001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:25:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137431552001,"power":13319,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":106213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345744,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:25:06] local.INFO: GPS data processed {"connection_id":106213,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:25:06] local.INFO: Acknowledgment sent {"connection_id":106213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:25:11] local.INFO: TCP Data received {"connection_id":106212,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:11] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac7f4f0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:11] local.INFO: Packet analysis {"connection_id":106212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:25:11] local.INFO: Extracted packet for processing {"connection_id":106212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac7"} 
[2026-06-18 18:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137394432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781786998000,"timestamp_ms":1781786998000,"timestamp_seconds":1781786998,"priority":1,"record_length":96,"hex_timestamp":"0000019edac7f4f0"} 
[2026-06-18 18:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:25:11] 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-06-18 18:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137394432001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137394432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:25:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137394432001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":106212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:25:11] local.INFO: GPS data processed {"connection_id":106212,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:25:11] local.INFO: Acknowledgment sent {"connection_id":106212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:25:23] local.INFO: TCP Data received {"connection_id":106816,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:23] local.INFO: Processing buffer {"connection_id":106816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:23] local.INFO: IMEI packet received {"connection_id":106816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":106816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:25:24] local.INFO: TCP Data received {"connection_id":106816,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:24] local.INFO: Processing buffer {"connection_id":106816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:24] local.INFO: IMEI packet received {"connection_id":106816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":106816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:25:25] local.INFO: TCP Data received {"connection_id":106816,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:25] local.INFO: Processing buffer {"connection_id":106816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:25:25] local.INFO: IMEI packet received {"connection_id":106816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:25:25] local.ERROR: TCP Connection error {"connection_id":106816,"code":2,"message":"client closed"} 
[2026-06-18 18:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":106816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:25:33] local.INFO: TCP Data received {"connection_id":107785,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:33] local.INFO: Processing buffer {"connection_id":107785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:33] local.INFO: IMEI packet received {"connection_id":107785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":107785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:25:37] local.INFO: TCP Data received {"connection_id":106213,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac637a0012d7e38c005d34d280007002a2a..."} 
[2026-06-18 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac637a0012d7e38c005d34d280007002a2a..."} 
[2026-06-18 18:25:37] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac637a0012d7e38c005d34d280007002a2a..."} 
[2026-06-18 18:25:37] local.INFO: Packet analysis {"connection_id":106213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:25:37] local.INFO: Extracted packet for processing {"connection_id":106213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":42,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137436928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] 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-06-18 18:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781786884000,"timestamp_ms":1781786884000,"timestamp_seconds":1781786884,"priority":1,"record_length":96,"hex_timestamp":"0000019edac637a0"} 
[2026-06-18 18:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:25: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-06-18 18:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3670334456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788849,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3304030209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":211,"raw_value":5728578768973015808,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":235,"raw_value":2550214014,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":57,"raw_value":2147865422,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":47,"raw_value":2634075469,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":3545174016,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":134,"raw_value":57787500785980731,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.WARNING: Large IO value detected {"io_id":196,"raw_value":-2877798866987204603,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,109,85,24,241,157,16,45,158,147,192,77,7,40,10,66,65,41,243,1,240,9,227,218,211,4,113,205,8,235,57,88,42,239,47,2,78,5,134,196],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-06-18 18:25:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504449518142488576,"timestamp_seconds":504449518142488.56,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106213,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:25:37] 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-06-18 18:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137436928001,"66":13189,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137436928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:25:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137436928001,"power":13189,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":106213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:25:37] local.INFO: GPS data processed {"connection_id":106213,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:25:37] local.INFO: Acknowledgment sent {"connection_id":106213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:25:37] local.INFO: TCP Data received {"connection_id":107785,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:37] local.INFO: Processing buffer {"connection_id":107785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:37] local.INFO: IMEI packet received {"connection_id":107785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":107785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:25:38] local.INFO: TCP Data received {"connection_id":107785,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:38] local.INFO: Processing buffer {"connection_id":107785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:25:38] local.INFO: IMEI packet received {"connection_id":107785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":107785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:25:39] local.INFO: TCP Data received {"connection_id":107785,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:39] local.INFO: Processing buffer {"connection_id":107785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:39] local.INFO: Packet analysis {"connection_id":107785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:25:39] local.INFO: Extracted packet for processing {"connection_id":107785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:25:39] 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-06-18 18:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:25:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":107785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:25:39] local.INFO: GPS data processed {"connection_id":107785,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:25:39] local.INFO: Acknowledgment sent {"connection_id":107785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:25:44] local.INFO: TCP Data received {"connection_id":107785,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:44] local.INFO: Processing buffer {"connection_id":107785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:25:44] local.INFO: Packet analysis {"connection_id":107785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:25:44] local.INFO: Extracted packet for processing {"connection_id":107785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:25:44] 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-06-18 18:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:25:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:25:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":107785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:25:44] local.INFO: GPS data processed {"connection_id":107785,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:25:44] local.INFO: Acknowledgment sent {"connection_id":107785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:25:59] local.INFO: TCP Data received {"connection_id":106038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:59] local.INFO: Processing buffer {"connection_id":106038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:25:59] local.INFO: IMEI packet received {"connection_id":106038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":106038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:26:04] local.INFO: TCP Data received {"connection_id":106038,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:26:04] local.INFO: Processing buffer {"connection_id":106038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:26:04] local.INFO: IMEI packet received {"connection_id":106038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":106038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:26:05] local.INFO: TCP Data received {"connection_id":106038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac689a8012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac689a8012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:26:05] local.INFO: Processing buffer {"connection_id":106038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac689a8012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:26:05] local.INFO: Packet analysis {"connection_id":106038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:26:05] local.INFO: Extracted packet for processing {"connection_id":106038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137442304001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:05] 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-06-18 18:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781786905000,"timestamp_ms":1781786905000,"timestamp_seconds":1781786905,"priority":1,"record_length":96,"hex_timestamp":"0000019edac689a8"} 
[2026-06-18 18:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:26: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-06-18 18:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-06-18 18:26:05] 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-06-18 18:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:26:05] 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-06-18 18:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137442304001,"66":12689,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137442304001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:26:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137442304001,"power":12689,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":106038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:26:05] local.INFO: GPS data processed {"connection_id":106038,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:26:05] local.INFO: Acknowledgment sent {"connection_id":106038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:26:15] local.INFO: TCP Data received {"connection_id":107785,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:26:15] local.INFO: Processing buffer {"connection_id":107785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:26:15] local.INFO: Packet analysis {"connection_id":107785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:26:15] local.INFO: Extracted packet for processing {"connection_id":107785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:26:15] 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-06-18 18:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:26:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:26:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":107785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:26:15] local.INFO: GPS data processed {"connection_id":107785,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:26:15] local.INFO: Acknowledgment sent {"connection_id":107785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:26:33] local.INFO: TCP Data received {"connection_id":106214,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:26:34] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:26:34] local.INFO: IMEI packet received {"connection_id":106214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":106214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:26:36] local.INFO: TCP Data received {"connection_id":106038,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac69948012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac69948012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:26:36] local.INFO: Processing buffer {"connection_id":106038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac69948012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:26:36] local.INFO: Packet analysis {"connection_id":106038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:26:36] local.INFO: Extracted packet for processing {"connection_id":106038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:26:36] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18:26: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-06-18 18:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137447680001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:36] 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-06-18 18:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781786909000,"timestamp_ms":1781786909000,"timestamp_seconds":1781786909,"priority":1,"record_length":96,"hex_timestamp":"0000019edac69948"} 
[2026-06-18 18:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:26: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-06-18 18:26:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 18:26: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-06-18 18:26:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:26:36] 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-06-18 18:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137447680001,"66":13363,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137447680001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:26:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:26:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137447680001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":106038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345751,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:26:36] local.INFO: GPS data processed {"connection_id":106038,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:26:36] local.INFO: Acknowledgment sent {"connection_id":106038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:26:38] local.INFO: TCP Data received {"connection_id":106214,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:26:38] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:26:38] local.INFO: IMEI packet received {"connection_id":106214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":106214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:26:40] local.INFO: TCP Data received {"connection_id":106214,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:26:40] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:26:40] local.INFO: Packet analysis {"connection_id":106214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:26:40] local.INFO: Extracted packet for processing {"connection_id":106214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:26:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:26:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":106214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:26:40] local.INFO: GPS data processed {"connection_id":106214,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:26:40] local.INFO: Acknowledgment sent {"connection_id":106214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:26:59] local.INFO: TCP Data received {"connection_id":107786,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:26:59] local.INFO: Processing buffer {"connection_id":107786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:26:59] local.INFO: IMEI packet received {"connection_id":107786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":107786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:27:05] local.INFO: TCP Data received {"connection_id":107786,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107786,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:27:05] local.INFO: Processing buffer {"connection_id":107786,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:27:05] local.INFO: IMEI packet received {"connection_id":107786,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":107786,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:27:06] local.INFO: TCP Data received {"connection_id":107786,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac69948012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac69948012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:27:06] local.INFO: Processing buffer {"connection_id":107786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac69948012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:27:06] local.INFO: Packet analysis {"connection_id":107786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:27:06] local.INFO: Extracted packet for processing {"connection_id":107786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18:27:06] 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-06-18 18:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137448704001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781786909000,"timestamp_ms":1781786909000,"timestamp_seconds":1781786909,"priority":1,"record_length":96,"hex_timestamp":"0000019edac69948"} 
[2026-06-18 18:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 18:27:06] 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-06-18 18:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:27:06] 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-06-18 18:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137448704001,"66":13363,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137448704001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:27:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137448704001,"power":13363,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":107786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:27:06] local.INFO: GPS data processed {"connection_id":107786,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:27:06] local.INFO: Acknowledgment sent {"connection_id":107786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:27:11] local.INFO: TCP Data received {"connection_id":106214,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:27:11] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:27:11] local.INFO: Packet analysis {"connection_id":106214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:27:11] local.INFO: Extracted packet for processing {"connection_id":106214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:27:11] 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-06-18 18:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:27:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":106214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:27:11] local.INFO: GPS data processed {"connection_id":106214,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:27:11] local.INFO: Acknowledgment sent {"connection_id":106214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:27:33] local.INFO: TCP Data received {"connection_id":106817,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:27:33] local.INFO: Processing buffer {"connection_id":106817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:27:33] local.INFO: IMEI packet received {"connection_id":106817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":106817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:27:37] local.INFO: TCP Data received {"connection_id":107786,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac6c828012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac6c828012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:27:37] local.INFO: Processing buffer {"connection_id":107786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac6c828012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:27:37] local.INFO: Packet analysis {"connection_id":107786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:27:37] local.INFO: Extracted packet for processing {"connection_id":107786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137448704001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:37] 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-06-18 18:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781786921000,"timestamp_ms":1781786921000,"timestamp_seconds":1781786921,"priority":1,"record_length":96,"hex_timestamp":"0000019edac6c828"} 
[2026-06-18 18:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18: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-06-18 18:27:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 18:27:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":917,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:27:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107786,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:27:37] 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-06-18 18:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137448704001,"66":13450,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137448704001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:27:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:27:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137448704001,"power":13450,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":107786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:27:37] local.INFO: GPS data processed {"connection_id":107786,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:27:37] local.INFO: Acknowledgment sent {"connection_id":107786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:27:38] local.INFO: TCP Data received {"connection_id":106817,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:27:38] local.INFO: Processing buffer {"connection_id":106817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:27:38] local.INFO: IMEI packet received {"connection_id":106817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":106817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:27:39] local.INFO: TCP Data received {"connection_id":106817,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:27:39] local.INFO: Processing buffer {"connection_id":106817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:27:39] local.INFO: Packet analysis {"connection_id":106817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:27:39] local.INFO: Extracted packet for processing {"connection_id":106817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:27:39] 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-06-18 18:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106817,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106817,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:27:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":106817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:27:39] local.INFO: GPS data processed {"connection_id":106817,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:27:39] local.INFO: Acknowledgment sent {"connection_id":106817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:27:49] local.INFO: TCP Data received {"connection_id":106215,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:27:49] local.INFO: Processing buffer {"connection_id":106215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:27:49] local.INFO: IMEI packet received {"connection_id":106215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":106215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:27:51] local.INFO: TCP Data received {"connection_id":106215,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edacd7b00012d1b3300072081f8005400162a..."} 
[2026-06-18 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacd7b00012d1b3300072081f8005400162a..."} 
[2026-06-18 18:27:51] local.INFO: Processing buffer {"connection_id":106215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacd7b00012d1b3300072081f8005400162a..."} 
[2026-06-18 18:27:51] local.INFO: Packet analysis {"connection_id":106215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacd"} 
[2026-06-18 18:27:51] local.INFO: Extracted packet for processing {"connection_id":106215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacd"} 
[2026-06-18 18:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":42,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137558784001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781787360000,"timestamp_ms":1781787360000,"timestamp_seconds":1781787360,"priority":1,"record_length":96,"hex_timestamp":"0000019edacd7b00"} 
[2026-06-18 18:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 18:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137558784001,"66":13135,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137558784001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:27:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:27:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137558784001,"power":13135,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":106215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:27:51] local.INFO: GPS data processed {"connection_id":106215,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:27:51] local.INFO: Acknowledgment sent {"connection_id":106215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:28:05] local.INFO: TCP Data received {"connection_id":106216,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:28:05] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:28:05] local.INFO: IMEI packet received {"connection_id":106216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":106216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:28:10] local.INFO: TCP Data received {"connection_id":106216,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:28:10] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:28:10] local.INFO: IMEI packet received {"connection_id":106216,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":106216,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:28:10] local.INFO: TCP Data received {"connection_id":106216,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edac6c828012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edac6c828012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:28:10] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edac6c828012d7e38c005d34d280007002a2b..."} 
[2026-06-18 18:28:10] local.INFO: Packet analysis {"connection_id":106216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:28:10] local.INFO: Extracted packet for processing {"connection_id":106216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edac6"} 
[2026-06-18 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":763246784,"raw_latitude":97733928,"longitude_deg":76.3246784,"latitude_deg":9.7733928,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e38c0","hex_latitude":"05d34d28","is_valid_coordinates":true} 
[2026-06-18 18:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781786921000,"timestamp_ms":1781786921000,"timestamp_seconds":1781786921,"priority":1,"record_length":96,"hex_timestamp":"0000019edac6c828"} 
[2026-06-18 18:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:28:10] 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-06-18 18:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:28:10] 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-06-18 18:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":13450,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:28:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:28:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":13450,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":106216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345758,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:28:10] local.INFO: GPS data processed {"connection_id":106216,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:28:10] local.INFO: Acknowledgment sent {"connection_id":106216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:28:11] local.INFO: TCP Data received {"connection_id":106817,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:28:11] local.INFO: Processing buffer {"connection_id":106817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:28:11] local.INFO: Packet analysis {"connection_id":106817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:28:11] local.INFO: Extracted packet for processing {"connection_id":106817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:28:11] 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-06-18 18:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106817,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106817,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:28:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":106817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:28:11] local.INFO: GPS data processed {"connection_id":106817,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:28:11] local.INFO: Acknowledgment sent {"connection_id":106817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:28:23] local.INFO: TCP Data received {"connection_id":106215,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edacdcd08012d1b3300072081f8005400162a..."} 
[2026-06-18 18:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacdcd08012d1b3300072081f8005400162a..."} 
[2026-06-18 18:28:23] local.INFO: Processing buffer {"connection_id":106215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacdcd08012d1b3300072081f8005400162a..."} 
[2026-06-18 18:28:23] local.INFO: Packet analysis {"connection_id":106215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacd"} 
[2026-06-18 18:28:23] local.INFO: Extracted packet for processing {"connection_id":106215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacd"} 
[2026-06-18 18:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":42,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137564160001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781787381000,"timestamp_ms":1781787381000,"timestamp_seconds":1781787381,"priority":1,"record_length":96,"hex_timestamp":"0000019edacdcd08"} 
[2026-06-18 18:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:28:23] 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-06-18 18:28:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-06-18 18:28:23] 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-06-18 18:28:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137564160001,"66":13091,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137564160001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:28:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:28:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137564160001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":106215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:28:23] local.INFO: GPS data processed {"connection_id":106215,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:28:23] local.INFO: Acknowledgment sent {"connection_id":106215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:28:33] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:28:33] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:28:33] local.INFO: IMEI packet received {"connection_id":106040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":106040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:28:38] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:28:38] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:28:38] local.INFO: IMEI packet received {"connection_id":106040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":106040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:28:39] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:28:39] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:28:39] local.INFO: Packet analysis {"connection_id":106040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:28:39] local.INFO: Extracted packet for processing {"connection_id":106040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:28:39] 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-06-18 18:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:28:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:28:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":106040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345761,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:28:39] local.INFO: GPS data processed {"connection_id":106040,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:28:39] local.INFO: Acknowledgment sent {"connection_id":106040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:28:41] local.INFO: TCP Data received {"connection_id":106216,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:28:41] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:28:41] local.INFO: Packet analysis {"connection_id":106216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:28:41] local.INFO: Extracted packet for processing {"connection_id":106216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:28:41] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1700,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106216,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:28:41] 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-06-18 18:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:28:41] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:28:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":106216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:28:41] local.INFO: GPS data processed {"connection_id":106216,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:28:41] local.INFO: Acknowledgment sent {"connection_id":106216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:28:44] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:44] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:44] local.INFO: IMEI packet received {"connection_id":106041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":106041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:28:45] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:45] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:45] local.INFO: IMEI packet received {"connection_id":106041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":106041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:28:49] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:49] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:28:49] local.INFO: IMEI packet received {"connection_id":106041,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":106041,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:28:50] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edace1f10012d1b3300072081f80054001627..."} 
[2026-06-18 18:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edace1f10012d1b3300072081f80054001627..."} 
[2026-06-18 18:28:50] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edace1f10012d1b3300072081f80054001627..."} 
[2026-06-18 18:28:50] local.INFO: Packet analysis {"connection_id":106041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edace"} 
[2026-06-18 18:28:50] local.INFO: Extracted packet for processing {"connection_id":106041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edace"} 
[2026-06-18 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":39,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137569536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781787402000,"timestamp_ms":1781787402000,"timestamp_seconds":1781787402,"priority":1,"record_length":96,"hex_timestamp":"0000019edace1f10"} 
[2026-06-18 18:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 18:28: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-06-18 18:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137569536001,"66":13048,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137569536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:28:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:28:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137569536001,"power":13048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":106041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345763,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:28:50] local.INFO: GPS data processed {"connection_id":106041,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:28:50] local.INFO: Acknowledgment sent {"connection_id":106041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:29:00] local.INFO: TCP Data received {"connection_id":106217,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:29:00] local.INFO: Processing buffer {"connection_id":106217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:29:00] local.INFO: IMEI packet received {"connection_id":106217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":106217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:29:05] local.INFO: TCP Data received {"connection_id":106217,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106217,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:29:05] local.INFO: Processing buffer {"connection_id":106217,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:29:05] local.INFO: IMEI packet received {"connection_id":106217,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":106217,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:29:05] local.INFO: TCP Data received {"connection_id":106217,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:29:06] local.INFO: Processing buffer {"connection_id":106217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:29:06] local.INFO: Packet analysis {"connection_id":106217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:29:06] local.INFO: Extracted packet for processing {"connection_id":106217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:29: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-06-18 18:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:29:06] 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-06-18 18:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:29:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":106217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:29:06] local.INFO: GPS data processed {"connection_id":106217,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:29:06] local.INFO: Acknowledgment sent {"connection_id":106217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:29:11] local.INFO: TCP Data received {"connection_id":106040,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:11] local.INFO: Processing buffer {"connection_id":106040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:11] local.INFO: Packet analysis {"connection_id":106040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:29:11] local.INFO: Extracted packet for processing {"connection_id":106040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:29:11] 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-06-18 18:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106040,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:29:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":106040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:29:11] local.INFO: GPS data processed {"connection_id":106040,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:29:11] local.INFO: Acknowledgment sent {"connection_id":106040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:29:22] local.INFO: TCP Data received {"connection_id":106041,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edace7118012d1b3300072081f8005400162a..."} 
[2026-06-18 18:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edace7118012d1b3300072081f8005400162a..."} 
[2026-06-18 18:29:22] local.INFO: Processing buffer {"connection_id":106041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edace7118012d1b3300072081f8005400162a..."} 
[2026-06-18 18:29:22] local.INFO: Packet analysis {"connection_id":106041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edace"} 
[2026-06-18 18:29:22] local.INFO: Extracted packet for processing {"connection_id":106041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edace"} 
[2026-06-18 18:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":42,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137574912001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781787423000,"timestamp_ms":1781787423000,"timestamp_seconds":1781787423,"priority":1,"record_length":96,"hex_timestamp":"0000019edace7118"} 
[2026-06-18 18:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 18:29:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106041,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137574912001,"66":13004,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137574912001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:29:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:29:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137574912001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":106041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:29:22] local.INFO: GPS data processed {"connection_id":106041,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:29:22] local.INFO: Acknowledgment sent {"connection_id":106041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:29:37] local.INFO: TCP Data received {"connection_id":106217,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:29:37] local.INFO: Processing buffer {"connection_id":106217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:29:37] local.INFO: Packet analysis {"connection_id":106217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:29:37] local.INFO: Extracted packet for processing {"connection_id":106217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:29:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:37] 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-06-18 18:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:29: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-06-18 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:29: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-06-18 18: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-06-18 18:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106217,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:29:37] 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-06-18 18:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:29:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:29:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":106217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:29:37] local.INFO: GPS data processed {"connection_id":106217,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:29:37] local.INFO: Acknowledgment sent {"connection_id":106217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:29:38] local.INFO: TCP Data received {"connection_id":107787,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:29:38] local.INFO: Processing buffer {"connection_id":107787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:29:38] local.INFO: IMEI packet received {"connection_id":107787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":107787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:29:43] local.INFO: TCP Data received {"connection_id":107787,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:29:43] local.INFO: Processing buffer {"connection_id":107787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:29:43] local.INFO: IMEI packet received {"connection_id":107787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":107787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:29:44] local.INFO: TCP Data received {"connection_id":106818,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:44] local.INFO: Processing buffer {"connection_id":106818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:44] local.INFO: IMEI packet received {"connection_id":106818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":106818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:29:44] local.INFO: TCP Data received {"connection_id":107787,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:44] local.INFO: Processing buffer {"connection_id":107787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:44] local.INFO: Packet analysis {"connection_id":107787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:29:44] local.INFO: Extracted packet for processing {"connection_id":107787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:29:44] 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-06-18 18:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:29:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:29:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":107787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:29:44] local.INFO: GPS data processed {"connection_id":107787,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:29:44] local.INFO: Acknowledgment sent {"connection_id":107787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:29:47] local.INFO: TCP Data received {"connection_id":106818,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:47] local.INFO: Processing buffer {"connection_id":106818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:47] local.INFO: IMEI packet received {"connection_id":106818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":106818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:29:49] local.INFO: TCP Data received {"connection_id":107787,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:49] local.INFO: Processing buffer {"connection_id":107787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8cb8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:29:49] local.INFO: Packet analysis {"connection_id":107787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:29:49] local.INFO: Extracted packet for processing {"connection_id":107787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137471488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781787299000,"timestamp_ms":1781787299000,"timestamp_seconds":1781787299,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8cb8"} 
[2026-06-18 18:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137471488001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137471488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:29:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:29:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137471488001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":107787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:29:49] local.INFO: GPS data processed {"connection_id":107787,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:29:49] local.INFO: Acknowledgment sent {"connection_id":107787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:29:49] local.INFO: TCP Data received {"connection_id":106818,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:49] local.INFO: Processing buffer {"connection_id":106818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:29:49] local.INFO: IMEI packet received {"connection_id":106818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":106818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:29:50] local.INFO: TCP Data received {"connection_id":106818,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edacec320012d1b3300072081f80054001629..."} 
[2026-06-18 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacec320012d1b3300072081f80054001629..."} 
[2026-06-18 18:29:50] local.INFO: Processing buffer {"connection_id":106818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacec320012d1b3300072081f80054001629..."} 
[2026-06-18 18:29:50] local.INFO: Packet analysis {"connection_id":106818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edace"} 
[2026-06-18 18:29:50] local.INFO: Extracted packet for processing {"connection_id":106818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edace"} 
[2026-06-18 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":41,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137580288001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781787444000,"timestamp_ms":1781787444000,"timestamp_seconds":1781787444,"priority":1,"record_length":96,"hex_timestamp":"0000019edacec320"} 
[2026-06-18 18:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:29:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 18:29:50] 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-06-18 18:29:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:29:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137580288001,"66":13004,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137580288001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:29:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:29:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137580288001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":106818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:29:50] local.INFO: GPS data processed {"connection_id":106818,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:29:50] local.INFO: Acknowledgment sent {"connection_id":106818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:30:00] local.INFO: TCP Data received {"connection_id":107788,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:30:00] local.INFO: Processing buffer {"connection_id":107788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:30:00] local.INFO: IMEI packet received {"connection_id":107788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":107788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:30:05] local.INFO: TCP Data received {"connection_id":107788,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107788,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:30:05] local.INFO: Processing buffer {"connection_id":107788,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:30:05] local.INFO: IMEI packet received {"connection_id":107788,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":107788,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:30:05] local.INFO: TCP Data received {"connection_id":107788,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:30:05] local.INFO: Processing buffer {"connection_id":107788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:30:05] local.INFO: Packet analysis {"connection_id":107788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:05] local.INFO: Extracted packet for processing {"connection_id":107788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:05] 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-06-18 18:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:30: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-06-18 18:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:30:05] 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-06-18 18:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:30:05] 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-06-18 18:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:30:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":107788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345771,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:30:06] local.INFO: GPS data processed {"connection_id":107788,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:30:06] local.INFO: Acknowledgment sent {"connection_id":107788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:30:22] local.INFO: TCP Data received {"connection_id":106818,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf1528012d1b3300072081f80054001627..."} 
[2026-06-18 18:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf1528012d1b3300072081f80054001627..."} 
[2026-06-18 18:30:22] local.INFO: Processing buffer {"connection_id":106818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf1528012d1b3300072081f80054001627..."} 
[2026-06-18 18:30:22] local.INFO: Packet analysis {"connection_id":106818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:22] local.INFO: Extracted packet for processing {"connection_id":106818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":39,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137585664001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781787465000,"timestamp_ms":1781787465000,"timestamp_seconds":1781787465,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf1528"} 
[2026-06-18 18:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 18:30:22] 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-06-18 18: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-06-18 18:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106818,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137585664001,"66":12961,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137585664001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:30:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:30:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137585664001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":106818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:30:22] local.INFO: GPS data processed {"connection_id":106818,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:30:22] local.INFO: Acknowledgment sent {"connection_id":106818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:30:33] local.INFO: TCP Data received {"connection_id":106819,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:30:33] local.INFO: Processing buffer {"connection_id":106819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:30:33] local.INFO: IMEI packet received {"connection_id":106819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":106819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:30:37] local.INFO: TCP Data received {"connection_id":107788,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:30:37] local.INFO: Processing buffer {"connection_id":107788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:30:37] local.INFO: Packet analysis {"connection_id":107788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:37] local.INFO: Extracted packet for processing {"connection_id":107788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:37] 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-06-18 18:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18: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-06-18 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:30: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-06-18 18: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-06-18 18:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107788,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:30:37] 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-06-18 18:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:30:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:30:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":107788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345773,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:30:37] local.INFO: GPS data processed {"connection_id":107788,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:30:37] local.INFO: Acknowledgment sent {"connection_id":107788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:30:38] local.INFO: TCP Data received {"connection_id":106819,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:30:38] local.INFO: Processing buffer {"connection_id":106819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:30:38] local.INFO: IMEI packet received {"connection_id":106819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":106819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:30:40] local.INFO: TCP Data received {"connection_id":106819,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:30:40] local.INFO: Processing buffer {"connection_id":106819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:30:40] local.INFO: Packet analysis {"connection_id":106819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:30:40] local.INFO: Extracted packet for processing {"connection_id":106819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:30:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:30:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":106819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:30:40] local.INFO: GPS data processed {"connection_id":106819,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:30:40] local.INFO: Acknowledgment sent {"connection_id":106819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:30:49] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:30:49] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:30:49] local.INFO: IMEI packet received {"connection_id":106218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":106218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:30:50] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:30:50] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:30:50] local.INFO: IMEI packet received {"connection_id":106218,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":106218,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:30:52] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6730012d1b3300072081f80054001626..."} 
[2026-06-18 18:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6730012d1b3300072081f80054001626..."} 
[2026-06-18 18:30:52] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6730012d1b3300072081f80054001626..."} 
[2026-06-18 18:30:52] local.INFO: Packet analysis {"connection_id":106218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:52] local.INFO: Extracted packet for processing {"connection_id":106218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":38,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137591040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781787486000,"timestamp_ms":1781787486000,"timestamp_seconds":1781787486,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6730"} 
[2026-06-18 18:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:30:52] 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-06-18 18:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 18:30:52] 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-06-18 18:30:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137591040001,"66":12917,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137591040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:30:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:30:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137591040001,"power":12917,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":106218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:30:52] local.INFO: GPS data processed {"connection_id":106218,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:30:52] local.INFO: Acknowledgment sent {"connection_id":106218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:30:55] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edacfb938012d1b3300072081f80054001626..."} 
[2026-06-18 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacfb938012d1b3300072081f80054001626..."} 
[2026-06-18 18:30:55] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacfb938012d1b3300072081f80054001626..."} 
[2026-06-18 18:30:55] local.INFO: Packet analysis {"connection_id":106218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:55] local.INFO: Extracted packet for processing {"connection_id":106218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":38,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596416001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781787507000,"timestamp_ms":1781787507000,"timestamp_seconds":1781787507,"priority":1,"record_length":96,"hex_timestamp":"0000019edacfb938"} 
[2026-06-18 18:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-18 18:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596416001,"66":12939,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596416001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:30:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596416001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":106218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:30:55] local.INFO: GPS data processed {"connection_id":106218,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:30:55] local.INFO: Acknowledgment sent {"connection_id":106218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:31:00] local.INFO: TCP Data received {"connection_id":106042,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:31:00] local.INFO: Processing buffer {"connection_id":106042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:31:00] local.INFO: IMEI packet received {"connection_id":106042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":106042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:31:05] local.INFO: TCP Data received {"connection_id":106042,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106042,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:31:05] local.INFO: Processing buffer {"connection_id":106042,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:31:05] local.INFO: IMEI packet received {"connection_id":106042,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":106042,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:31:05] local.INFO: TCP Data received {"connection_id":106042,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:31:06] local.INFO: Processing buffer {"connection_id":106042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:31:06] local.INFO: Packet analysis {"connection_id":106042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:31:06] local.INFO: Extracted packet for processing {"connection_id":106042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:31: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-06-18 18: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-06-18 18:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:31:06] 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-06-18 18:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:31:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":106042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345777,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:31:06] local.INFO: GPS data processed {"connection_id":106042,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:31:06] local.INFO: Acknowledgment sent {"connection_id":106042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:31:12] local.INFO: TCP Data received {"connection_id":106819,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:31:12] local.INFO: Processing buffer {"connection_id":106819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:31:12] local.INFO: Packet analysis {"connection_id":106819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:31:12] local.INFO: Extracted packet for processing {"connection_id":106819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:31:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:31:12] 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-06-18 18:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106819,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:31:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:31:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":106819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:31:12] local.INFO: GPS data processed {"connection_id":106819,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:31:12] local.INFO: Acknowledgment sent {"connection_id":106819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:31:24] local.INFO: TCP Data received {"connection_id":106820,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:31:24] local.INFO: Processing buffer {"connection_id":106820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:31:24] local.INFO: IMEI packet received {"connection_id":106820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":106820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:31:26] local.INFO: TCP Data received {"connection_id":106218,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad00b40012d1b3300072081f80054001627..."} 
[2026-06-18 18:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad00b40012d1b3300072081f80054001627..."} 
[2026-06-18 18:31:26] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad00b40012d1b3300072081f80054001627..."} 
[2026-06-18 18:31:26] local.INFO: Packet analysis {"connection_id":106218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad0"} 
[2026-06-18 18:31:26] local.INFO: Extracted packet for processing {"connection_id":106218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad0"} 
[2026-06-18 18:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":39,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137601792001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781787528000,"timestamp_ms":1781787528000,"timestamp_seconds":1781787528,"priority":1,"record_length":96,"hex_timestamp":"0000019edad00b40"} 
[2026-06-18 18:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 18:31:26] 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-06-18 18: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-06-18 18:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106218,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137601792001,"66":12928,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137601792001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:31:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137601792001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":106218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:31:26] local.INFO: GPS data processed {"connection_id":106218,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:31:26] local.INFO: Acknowledgment sent {"connection_id":106218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:31:29] local.INFO: TCP Data received {"connection_id":106820,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:31:29] local.INFO: Processing buffer {"connection_id":106820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:31:29] local.INFO: IMEI packet received {"connection_id":106820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":106820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:31:30] local.INFO: TCP Data received {"connection_id":106820,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edacc8100012cc7f180074e20f0001200ff2f..."} 
[2026-06-18 18:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacc8100012cc7f180074e20f0001200ff2f..."} 
[2026-06-18 18:31:30] local.INFO: Processing buffer {"connection_id":106820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacc8100012cc7f180074e20f0001200ff2f..."} 
[2026-06-18 18:31:30] local.INFO: Packet analysis {"connection_id":106820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:31:30] local.INFO: Extracted packet for processing {"connection_id":106820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:31:30] local.INFO: GPS Element Parsed {"raw_longitude":751300992,"raw_latitude":122560752,"longitude_deg":75.1300992,"latitude_deg":12.2560752,"altitude":18,"angle":255,"satellites":47,"speed":15,"hex_longitude":"2cc7f180","hex_latitude":"074e20f0","is_valid_coordinates":true} 
[2026-06-18 18:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137546240001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318800621924777984,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4037547403306133504,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781787296000,"timestamp_ms":1781787296000,"timestamp_seconds":1781787296,"priority":1,"record_length":96,"hex_timestamp":"0000019edacc8100"} 
[2026-06-18 18:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 18:31: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-06-18 18:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:31: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-06-18 18:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137546240001,"66":27604,"49":206,"85":37632,"24":15,"16":318800621924777984,"44":-4037547403306133504},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,44]} 
[2026-06-18 18:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137546240001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:31:30] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-18 18:31:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318800621924777984,"km_value":318800621924778.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:31:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4037547403306133504,"description":"Unknown IO ID 44"} 
[2026-06-18 18:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137546240001,"power":27604,"unknown_49":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4037547403306133504}} 
[2026-06-18 18:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":106820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:31:30] local.INFO: GPS data processed {"connection_id":106820,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:31:30] local.INFO: Acknowledgment sent {"connection_id":106820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:31:33] local.INFO: TCP Data received {"connection_id":107789,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:31:33] local.INFO: Processing buffer {"connection_id":107789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:31:33] local.INFO: IMEI packet received {"connection_id":107789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":107789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:31:37] local.INFO: TCP Data received {"connection_id":106042,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:31:37] local.INFO: Processing buffer {"connection_id":106042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:31:37] local.INFO: Packet analysis {"connection_id":106042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:31:37] local.INFO: Extracted packet for processing {"connection_id":106042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:37] 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-06-18 18:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18: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-06-18 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:31: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-06-18 18: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-06-18 18:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106042,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:31:37] 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-06-18 18:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:31:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":106042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345781,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:31:37] local.INFO: GPS data processed {"connection_id":106042,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:31:37] local.INFO: Acknowledgment sent {"connection_id":106042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:31:38] local.INFO: TCP Data received {"connection_id":107789,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:31:38] local.INFO: Processing buffer {"connection_id":107789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:31:38] local.INFO: IMEI packet received {"connection_id":107789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":107789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:31:39] local.INFO: TCP Data received {"connection_id":107789,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:31:39] local.INFO: Processing buffer {"connection_id":107789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:31:39] local.INFO: Packet analysis {"connection_id":107789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:31:39] local.INFO: Extracted packet for processing {"connection_id":107789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:31:39] 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-06-18 18:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:31:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":107789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:31:39] local.INFO: GPS data processed {"connection_id":107789,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:31:39] local.INFO: Acknowledgment sent {"connection_id":107789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:31:44] local.INFO: TCP Data received {"connection_id":106821,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:31:44] local.INFO: Processing buffer {"connection_id":106821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:31:44] local.INFO: IMEI packet received {"connection_id":106821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":106821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:31:49] local.INFO: TCP Data received {"connection_id":106821,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:31:49] local.INFO: Processing buffer {"connection_id":106821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:31:49] local.INFO: IMEI packet received {"connection_id":106821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":106821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:31:51] local.INFO: TCP Data received {"connection_id":106821,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad05d48012d1b3300072081f80054001626..."} 
[2026-06-18 18:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad05d48012d1b3300072081f80054001626..."} 
[2026-06-18 18:31:51] local.INFO: Processing buffer {"connection_id":106821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad05d48012d1b3300072081f80054001626..."} 
[2026-06-18 18:31:51] local.INFO: Packet analysis {"connection_id":106821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad0"} 
[2026-06-18 18:31:51] local.INFO: Extracted packet for processing {"connection_id":106821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad0"} 
[2026-06-18 18:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":38,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137607168001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781787549000,"timestamp_ms":1781787549000,"timestamp_seconds":1781787549,"priority":1,"record_length":96,"hex_timestamp":"0000019edad05d48"} 
[2026-06-18 18:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:31:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-06-18 18:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137607168001,"66":12841,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137607168001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:31:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:31:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137607168001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":106821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:31:51] local.INFO: GPS data processed {"connection_id":106821,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:31:51] local.INFO: Acknowledgment sent {"connection_id":106821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:31:54] local.INFO: TCP Data received {"connection_id":106821,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad0af50012d1b3300072081f80054001628..."} 
[2026-06-18 18:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad0af50012d1b3300072081f80054001628..."} 
[2026-06-18 18:31:54] local.INFO: Processing buffer {"connection_id":106821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad0af50012d1b3300072081f80054001628..."} 
[2026-06-18 18:31:54] local.INFO: Packet analysis {"connection_id":106821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad0"} 
[2026-06-18 18:31:54] local.INFO: Extracted packet for processing {"connection_id":106821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad0"} 
[2026-06-18 18:31:54] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":40,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:31:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137612544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:31:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:31:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781787570000,"timestamp_ms":1781787570000,"timestamp_seconds":1781787570,"priority":1,"record_length":96,"hex_timestamp":"0000019edad0af50"} 
[2026-06-18 18:31:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:31:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:31:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 18:31:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:31:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:31:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:31:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:31:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:31:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:31:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:31:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:31:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:31:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:31:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137612544001,"66":12863,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:31:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:31:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:31:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137612544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:31:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:31:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:31:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:31:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:31:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137612544001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:31:54] local.INFO: DEBUG: GPS processor result {"connection_id":106821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:31:54] local.INFO: GPS data processed {"connection_id":106821,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:31:54] local.INFO: Acknowledgment sent {"connection_id":106821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:00] local.INFO: TCP Data received {"connection_id":106822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:00] local.INFO: Processing buffer {"connection_id":106822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:00] local.INFO: IMEI packet received {"connection_id":106822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":106822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:32:01] local.INFO: TCP Data received {"connection_id":106820,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaccd308012cc7cf80074e1a88001301032e..."} 
[2026-06-18 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaccd308012cc7cf80074e1a88001301032e..."} 
[2026-06-18 18:32:01] local.INFO: Processing buffer {"connection_id":106820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaccd308012cc7cf80074e1a88001301032e..."} 
[2026-06-18 18:32:01] local.INFO: Packet analysis {"connection_id":106820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:32:01] local.INFO: Extracted packet for processing {"connection_id":106820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":751292288,"raw_latitude":122559112,"longitude_deg":75.1292288,"latitude_deg":12.2559112,"altitude":19,"angle":259,"satellites":46,"speed":24,"hex_longitude":"2cc7cf80","hex_latitude":"074e1a88","is_valid_coordinates":true} 
[2026-06-18 18:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137547776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801042831572992,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4039306621910716416,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:01] 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-06-18 18:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781787317000,"timestamp_ms":1781787317000,"timestamp_seconds":1781787317,"priority":1,"record_length":96,"hex_timestamp":"0000019edaccd308"} 
[2026-06-18 18:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-06-18 18:32: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-06-18 18:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137547776001,"66":27767,"87":206,"85":37632,"24":24,"16":318801042831572992,"44":-4039306621910716416},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,85,24,16,44]} 
[2026-06-18 18:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137547776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-06-18 18:32:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801042831572992,"km_value":318801042831573.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4039306621910716416,"description":"Unknown IO ID 44"} 
[2026-06-18 18:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137547776001,"power":27767,"unknown_87":206,"unknown_85":37632,"ignition":24,"odometer":null,"unknown_44":-4039306621910716416}} 
[2026-06-18 18:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":106820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:01] local.INFO: GPS data processed {"connection_id":106820,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:01] local.INFO: Acknowledgment sent {"connection_id":106820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:05] local.INFO: TCP Data received {"connection_id":106822,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106822,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:05] local.INFO: Processing buffer {"connection_id":106822,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:05] local.INFO: IMEI packet received {"connection_id":106822,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":106822,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:32:06] local.INFO: TCP Data received {"connection_id":106822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:32:06] local.INFO: Processing buffer {"connection_id":106822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:32:06] local.INFO: Packet analysis {"connection_id":106822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:32:06] local.INFO: Extracted packet for processing {"connection_id":106822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:32:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:32:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:32: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-06-18 18:32:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:32:06] 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-06-18 18:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:32:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":106822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:06] local.INFO: GPS data processed {"connection_id":106822,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:06] local.INFO: Acknowledgment sent {"connection_id":106822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:11] local.INFO: TCP Data received {"connection_id":107789,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:11] local.INFO: Processing buffer {"connection_id":107789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:11] local.INFO: Packet analysis {"connection_id":107789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:11] local.INFO: Extracted packet for processing {"connection_id":107789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:32:11] 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-06-18 18:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":107789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:11] local.INFO: GPS data processed {"connection_id":107789,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:11] local.INFO: Acknowledgment sent {"connection_id":107789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:24] local.INFO: TCP Data received {"connection_id":106219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:32:24] local.INFO: Processing buffer {"connection_id":106219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:32:24] local.INFO: IMEI packet received {"connection_id":106219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":106219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:32:25] local.INFO: TCP Data received {"connection_id":106821,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad10158012d1b3300072081f80054001629..."} 
[2026-06-18 18:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad10158012d1b3300072081f80054001629..."} 
[2026-06-18 18:32:25] local.INFO: Processing buffer {"connection_id":106821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad10158012d1b3300072081f80054001629..."} 
[2026-06-18 18:32:25] local.INFO: Packet analysis {"connection_id":106821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:25] local.INFO: Extracted packet for processing {"connection_id":106821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:25] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":41,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137617920001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781787591000,"timestamp_ms":1781787591000,"timestamp_seconds":1781787591,"priority":1,"record_length":96,"hex_timestamp":"0000019edad10158"} 
[2026-06-18 18:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32: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-06-18 18: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-18 18:32:25] 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-06-18 18: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-06-18 18:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137617920001,"66":12841,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137617920001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:32:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137617920001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":106821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:25] local.INFO: GPS data processed {"connection_id":106821,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:25] local.INFO: Acknowledgment sent {"connection_id":106821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:29] local.INFO: TCP Data received {"connection_id":106219,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:32:29] local.INFO: Processing buffer {"connection_id":106219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:32:29] local.INFO: IMEI packet received {"connection_id":106219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":106219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:32:30] local.INFO: TCP Data received {"connection_id":106219,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaccf248012cc7bd80074e17b0001200f42b..."} 
[2026-06-18 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaccf248012cc7bd80074e17b0001200f42b..."} 
[2026-06-18 18:32:30] local.INFO: Processing buffer {"connection_id":106219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaccf248012cc7bd80074e17b0001200f42b..."} 
[2026-06-18 18:32:30] local.INFO: Packet analysis {"connection_id":106219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:32:30] local.INFO: Extracted packet for processing {"connection_id":106219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:32:30] local.INFO: GPS Element Parsed {"raw_longitude":751287680,"raw_latitude":122558384,"longitude_deg":75.128768,"latitude_deg":12.2558384,"altitude":18,"angle":244,"satellites":43,"speed":19,"hex_longitude":"2cc7bd80","hex_latitude":"074e17b0","is_valid_coordinates":true} 
[2026-06-18 18:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137553152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801261874905088,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4048876771119298560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:30] 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-06-18 18:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781787325000,"timestamp_ms":1781787325000,"timestamp_seconds":1781787325,"priority":1,"record_length":96,"hex_timestamp":"0000019edaccf248"} 
[2026-06-18 18:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32: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-06-18 18:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:32: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-06-18 18:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137553152001,"66":27930,"48":206,"85":37632,"24":19,"16":318801261874905088,"44":-4048876771119298560},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137553152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:30] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801261874905088,"km_value":318801261874905.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4048876771119298560,"description":"Unknown IO ID 44"} 
[2026-06-18 18:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137553152001,"power":27930,"unknown_48":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4048876771119298560}} 
[2026-06-18 18:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":106219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:30] local.INFO: GPS data processed {"connection_id":106219,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:30] local.INFO: Acknowledgment sent {"connection_id":106219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:37] local.INFO: TCP Data received {"connection_id":106822,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:32:37] local.INFO: Processing buffer {"connection_id":106822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:32:37] local.INFO: Packet analysis {"connection_id":106822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:32:37] local.INFO: Extracted packet for processing {"connection_id":106822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:37] 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-06-18 18:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32: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-06-18 18:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:32: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-06-18 18:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106822,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:32:37] 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-06-18 18:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":106822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:37] local.INFO: GPS data processed {"connection_id":106822,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:37] local.INFO: Acknowledgment sent {"connection_id":106822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:38] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:32:38] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:32:38] local.INFO: IMEI packet received {"connection_id":106220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":106220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:32:43] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:32:43] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:32:43] local.INFO: IMEI packet received {"connection_id":106220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:32:43] local.INFO: IMEI acknowledgment sent {"connection_id":106220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:32:44] local.INFO: TCP Data received {"connection_id":107790,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:32:44] local.INFO: Processing buffer {"connection_id":107790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:32:44] local.INFO: IMEI packet received {"connection_id":107790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":107790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:32:44] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:44] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:44] local.INFO: Packet analysis {"connection_id":106220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:44] local.INFO: Extracted packet for processing {"connection_id":106220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:32:44] 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-06-18 18:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:32:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:32:45] local.INFO: DEBUG: GPS processor result {"connection_id":106220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:45] local.INFO: GPS data processed {"connection_id":106220,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:45] local.INFO: Acknowledgment sent {"connection_id":106220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:49] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:49] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:32:49] local.INFO: Packet analysis {"connection_id":106220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:49] local.INFO: Extracted packet for processing {"connection_id":106220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:32:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":106220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:49] local.INFO: GPS data processed {"connection_id":106220,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:49] local.INFO: Acknowledgment sent {"connection_id":106220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:49] local.INFO: TCP Data received {"connection_id":107790,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:32:49] local.INFO: Processing buffer {"connection_id":107790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:32:49] local.INFO: IMEI packet received {"connection_id":107790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":107790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:32:51] local.INFO: TCP Data received {"connection_id":107790,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad15360012d1b3300072081f80054001627..."} 
[2026-06-18 18:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad15360012d1b3300072081f80054001627..."} 
[2026-06-18 18:32:51] local.INFO: Processing buffer {"connection_id":107790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad15360012d1b3300072081f80054001627..."} 
[2026-06-18 18:32:51] local.INFO: Packet analysis {"connection_id":107790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:51] local.INFO: Extracted packet for processing {"connection_id":107790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":39,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:32:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137623296001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:32:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:32:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781787612000,"timestamp_ms":1781787612000,"timestamp_seconds":1781787612,"priority":1,"record_length":96,"hex_timestamp":"0000019edad15360"} 
[2026-06-18 18:32:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:32:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:32:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 18:32:51] 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-06-18 18:32:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:32:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:32:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:32:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:32:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:32:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:32:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:32:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:32:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:32:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137623296001,"66":12776,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:32:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:32:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137623296001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:32:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:32:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:32:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137623296001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:32:51] local.INFO: DEBUG: GPS processor result {"connection_id":107790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:32:51] local.INFO: GPS data processed {"connection_id":107790,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:32:51] local.INFO: Acknowledgment sent {"connection_id":107790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:32:59] local.INFO: TCP Data received {"connection_id":106043,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:59] local.INFO: Processing buffer {"connection_id":106043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:32:59] local.INFO: IMEI packet received {"connection_id":106043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":106043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:33:01] local.INFO: TCP Data received {"connection_id":106219,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaccf630012cc7bbc0074e1698001200e22b..."} 
[2026-06-18 18:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaccf630012cc7bbc0074e1698001200e22b..."} 
[2026-06-18 18:33:01] local.INFO: Processing buffer {"connection_id":106219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaccf630012cc7bbc0074e1698001200e22b..."} 
[2026-06-18 18:33:01] local.INFO: Packet analysis {"connection_id":106219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:33:01] local.INFO: Extracted packet for processing {"connection_id":106219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:33:01] local.INFO: GPS Element Parsed {"raw_longitude":751287232,"raw_latitude":122558104,"longitude_deg":75.1287232,"latitude_deg":12.2558104,"altitude":18,"angle":226,"satellites":43,"speed":18,"hex_longitude":"2cc7bbc0","hex_latitude":"074e1698","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137555200001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801287644708864,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4053943320700276736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:01] 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-06-18 18:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781787326000,"timestamp_ms":1781787326000,"timestamp_seconds":1781787326,"priority":1,"record_length":96,"hex_timestamp":"0000019edaccf630"} 
[2026-06-18 18:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:33: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-06-18 18: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 18:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137555200001,"66":27930,"48":206,"85":37632,"24":18,"16":318801287644708864,"44":-4053943320700276736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137555200001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:33:01] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801287644708864,"km_value":318801287644708.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:33:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4053943320700276736,"description":"Unknown IO ID 44"} 
[2026-06-18 18:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137555200001,"power":27930,"unknown_48":206,"unknown_85":37632,"ignition":18,"odometer":null,"unknown_44":-4053943320700276736}} 
[2026-06-18 18:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":106219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:33:01] local.INFO: GPS data processed {"connection_id":106219,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:33:01] local.INFO: Acknowledgment sent {"connection_id":106219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:33:05] local.INFO: TCP Data received {"connection_id":106043,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:33:05] local.INFO: Processing buffer {"connection_id":106043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:33:05] local.INFO: IMEI packet received {"connection_id":106043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":106043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:33:05] local.INFO: TCP Data received {"connection_id":106043,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:33:06] local.INFO: Processing buffer {"connection_id":106043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacf6f00012d7e398005d34d500007002a2d..."} 
[2026-06-18 18:33:06] local.INFO: Packet analysis {"connection_id":106043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:33:06] local.INFO: Extracted packet for processing {"connection_id":106043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacf"} 
[2026-06-18 18:33:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":45,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:33:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137451776001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095230578727135232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:33:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781787488000,"timestamp_ms":1781787488000,"timestamp_seconds":1781787488,"priority":1,"record_length":96,"hex_timestamp":"0000019edacf6f00"} 
[2026-06-18 18:33:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:33:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 18:33: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-06-18 18: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-06-18 18:33:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:33:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:33:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:33:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:33:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:33:06] 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-06-18 18:33:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:33:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:33:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137451776001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095230578727135232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:33:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:33:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:33:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137451776001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:33:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:33:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:33:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:33:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095230578727135232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:33:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137451776001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095230578727135232}} 
[2026-06-18 18:33:06] local.INFO: DEBUG: GPS processor result {"connection_id":106043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345795,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:33:06] local.INFO: GPS data processed {"connection_id":106043,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:33:06] local.INFO: Acknowledgment sent {"connection_id":106043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:33:23] local.INFO: TCP Data received {"connection_id":107790,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad1a568012d1b3300072081f80054001628..."} 
[2026-06-18 18:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad1a568012d1b3300072081f80054001628..."} 
[2026-06-18 18:33:23] local.INFO: Processing buffer {"connection_id":107790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad1a568012d1b3300072081f80054001628..."} 
[2026-06-18 18:33:23] local.INFO: Packet analysis {"connection_id":107790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:33:23] local.INFO: Extracted packet for processing {"connection_id":107790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":40,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137628672001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781787633000,"timestamp_ms":1781787633000,"timestamp_seconds":1781787633,"priority":1,"record_length":96,"hex_timestamp":"0000019edad1a568"} 
[2026-06-18 18:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:33:23] 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-06-18 18:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 18:33:23] 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-06-18 18:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137628672001,"66":12809,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137628672001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:33:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:33:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137628672001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":107790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:33:23] local.INFO: GPS data processed {"connection_id":107790,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:33:23] local.INFO: Acknowledgment sent {"connection_id":107790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:33:24] local.INFO: TCP Data received {"connection_id":106823,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:33:24] local.INFO: Processing buffer {"connection_id":106823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:33:24] local.INFO: IMEI packet received {"connection_id":106823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":106823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:33:29] local.INFO: TCP Data received {"connection_id":106823,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:33:29] local.INFO: Processing buffer {"connection_id":106823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:33:29] local.INFO: IMEI packet received {"connection_id":106823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":106823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:33:30] local.INFO: TCP Data received {"connection_id":106823,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaccfa18012cc7bac0074e1518001200c82c..."} 
[2026-06-18 18:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaccfa18012cc7bac0074e1518001200c82c..."} 
[2026-06-18 18:33:30] local.INFO: Processing buffer {"connection_id":106823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaccfa18012cc7bac0074e1518001200c82c..."} 
[2026-06-18 18:33:30] local.INFO: Packet analysis {"connection_id":106823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:33:30] local.INFO: Extracted packet for processing {"connection_id":106823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:33:30] local.INFO: GPS Element Parsed {"raw_longitude":751286976,"raw_latitude":122557720,"longitude_deg":75.1286976,"latitude_deg":12.255772,"altitude":18,"angle":200,"satellites":44,"speed":19,"hex_longitude":"2cc7bac0","hex_latitude":"074e1518","is_valid_coordinates":true} 
[2026-06-18 18:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137555456001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801309119545344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054435901909592064,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:30] 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-06-18 18:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781787327000,"timestamp_ms":1781787327000,"timestamp_seconds":1781787327,"priority":1,"record_length":96,"hex_timestamp":"0000019edaccfa18"} 
[2026-06-18 18:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 18:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:33: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-06-18 18:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137555456001,"66":28028,"48":206,"85":37632,"24":19,"16":318801309119545344,"44":-4054435901909592064},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137555456001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:33:30] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801309119545344,"km_value":318801309119545.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054435901909592064,"description":"Unknown IO ID 44"} 
[2026-06-18 18:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137555456001,"power":28028,"unknown_48":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4054435901909592064}} 
[2026-06-18 18:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":106823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:33:30] local.INFO: GPS data processed {"connection_id":106823,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:33:30] local.INFO: Acknowledgment sent {"connection_id":106823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:33:34] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:33:34] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:33:34] local.INFO: IMEI packet received {"connection_id":106221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:33:34] local.INFO: IMEI acknowledgment sent {"connection_id":106221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:33:37] local.INFO: TCP Data received {"connection_id":106043,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:33:37] local.INFO: Processing buffer {"connection_id":106043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:33:37] local.INFO: Packet analysis {"connection_id":106043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:33:37] local.INFO: Extracted packet for processing {"connection_id":106043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:33:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:37] 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-06-18 18:33:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:33:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:33:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:33:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:33:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:33:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:33:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:33:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:33:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:33:37] 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-06-18 18:33:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:33:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:33:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:33:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:33:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:33:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:33:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:33:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:33:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:33:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:33:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:33:37] local.INFO: DEBUG: GPS processor result {"connection_id":106043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345798,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:33:37] local.INFO: GPS data processed {"connection_id":106043,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:33:37] local.INFO: Acknowledgment sent {"connection_id":106043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:33:38] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:33:38] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:33:38] local.INFO: IMEI packet received {"connection_id":106221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":106221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:33:40] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:33:40] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:33:40] local.INFO: Packet analysis {"connection_id":106221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:33:40] local.INFO: Extracted packet for processing {"connection_id":106221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:33:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:33:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":106221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345799,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:33:40] local.INFO: GPS data processed {"connection_id":106221,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:33:40] local.INFO: Acknowledgment sent {"connection_id":106221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:33:44] local.INFO: TCP Data received {"connection_id":106824,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:33:44] local.INFO: Processing buffer {"connection_id":106824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:33:44] local.INFO: IMEI packet received {"connection_id":106824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":106824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:33:49] local.INFO: TCP Data received {"connection_id":106824,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106824,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:33:49] local.INFO: Processing buffer {"connection_id":106824,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:33:49] local.INFO: IMEI packet received {"connection_id":106824,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":106824,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:33:53] local.INFO: TCP Data received {"connection_id":106824,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad1f770012d1b3300072081f80054001628..."} 
[2026-06-18 18:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad1f770012d1b3300072081f80054001628..."} 
[2026-06-18 18:33:53] local.INFO: Processing buffer {"connection_id":106824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad1f770012d1b3300072081f80054001628..."} 
[2026-06-18 18:33:53] local.INFO: Packet analysis {"connection_id":106824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:33:53] local.INFO: Extracted packet for processing {"connection_id":106824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:33:53] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":40,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137634048001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:33:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781787654000,"timestamp_ms":1781787654000,"timestamp_seconds":1781787654,"priority":1,"record_length":96,"hex_timestamp":"0000019edad1f770"} 
[2026-06-18 18:33:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:33:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:33:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3671046456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-3501777403647413504,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2180513876,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3820158976,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512108386333156,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2342425961502348838,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-18 18:33:53] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,227,83,45,129,84,39,10,66,1,41,175,240,63,218,32,4,113,205,11,51,248,239,50,2,7,124,179],"length":535,"final_offset":665,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 18:33:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6052862260240449536,"timestamp_seconds":6052862260240450.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:33:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:33:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:33:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:33:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:33:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:33:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:33:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:33:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:33:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137634048001,"66":12798,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:33:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:33:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:33:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137634048001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:33:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:33:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:33:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:33:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:33:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137634048001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:33:53] local.INFO: DEBUG: GPS processor result {"connection_id":106824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:33:53] local.INFO: GPS data processed {"connection_id":106824,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:33:53] local.INFO: Acknowledgment sent {"connection_id":106824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:34:01] local.INFO: TCP Data received {"connection_id":106823,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaccfe00012cc7ba40074e1378001200b32a..."} 
[2026-06-18 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaccfe00012cc7ba40074e1378001200b32a..."} 
[2026-06-18 18:34:01] local.INFO: Processing buffer {"connection_id":106823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaccfe00012cc7ba40074e1378001200b32a..."} 
[2026-06-18 18:34:01] local.INFO: Packet analysis {"connection_id":106823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:34:01] local.INFO: Extracted packet for processing {"connection_id":106823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacc"} 
[2026-06-18 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":751286848,"raw_latitude":122557304,"longitude_deg":75.1286848,"latitude_deg":12.2557304,"altitude":18,"angle":179,"satellites":42,"speed":15,"hex_longitude":"2cc7ba40","hex_latitude":"074e1378","is_valid_coordinates":true} 
[2026-06-18 18:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137555712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801330594381824,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054717376886401024,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:01] 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-06-18 18:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781787328000,"timestamp_ms":1781787328000,"timestamp_seconds":1781787328,"priority":1,"record_length":96,"hex_timestamp":"0000019edaccfe00"} 
[2026-06-18 18:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 18:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137555712001,"66":28028,"48":206,"85":37632,"24":15,"16":318801330594381824,"44":-4054717376886401024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137555712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:34:01] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801330594381824,"km_value":318801330594381.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054717376886401024,"description":"Unknown IO ID 44"} 
[2026-06-18 18:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137555712001,"power":28028,"unknown_48":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4054717376886401024}} 
[2026-06-18 18:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":106823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:34:01] local.INFO: GPS data processed {"connection_id":106823,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:34:01] local.INFO: Acknowledgment sent {"connection_id":106823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:34:04] local.INFO: TCP Data received {"connection_id":106825,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:34:04] local.INFO: Processing buffer {"connection_id":106825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:34:04] local.INFO: IMEI packet received {"connection_id":106825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":106825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:34:10] local.INFO: TCP Data received {"connection_id":106825,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106825,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:34:10] local.INFO: Processing buffer {"connection_id":106825,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:34:10] local.INFO: IMEI packet received {"connection_id":106825,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":106825,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:34:11] local.INFO: TCP Data received {"connection_id":106825,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:34:11] local.INFO: Processing buffer {"connection_id":106825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:34:11] local.INFO: Packet analysis {"connection_id":106825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:34:11] local.INFO: Extracted packet for processing {"connection_id":106825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:11] 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-06-18 18:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:34:11] 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-06-18 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:34:11] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:34:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":106825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345802,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:34:11] local.INFO: GPS data processed {"connection_id":106825,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:34:11] local.INFO: Acknowledgment sent {"connection_id":106825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:34:11] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:34:11] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:34:11] local.INFO: Packet analysis {"connection_id":106221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:34:11] local.INFO: Extracted packet for processing {"connection_id":106221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:34:11] 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-06-18 18:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:34:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":106221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345803,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:34:11] local.INFO: GPS data processed {"connection_id":106221,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:34:11] local.INFO: Acknowledgment sent {"connection_id":106221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:34:15] local.INFO: TCP Data received {"connection_id":106825,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:34:15] local.INFO: Processing buffer {"connection_id":106825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:34:15] local.INFO: Packet analysis {"connection_id":106825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:34:15] local.INFO: Extracted packet for processing {"connection_id":106825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:34:15] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:15] 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-06-18 18:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:34:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:34:15] 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-06-18 18:34:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:34:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:34:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:34:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106825,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:34:15] 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-06-18 18:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:34:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:34:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:34:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:34:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:34:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:34:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:34:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:34:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:34:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":106825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345804,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:34:15] local.INFO: GPS data processed {"connection_id":106825,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:34:15] local.INFO: Acknowledgment sent {"connection_id":106825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:34:24] local.INFO: TCP Data received {"connection_id":106222,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:34:24] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:34:24] local.INFO: IMEI packet received {"connection_id":106222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":106222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:34:24] local.INFO: TCP Data received {"connection_id":106824,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad24978012d1b3300072081f80054001628..."} 
[2026-06-18 18:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad24978012d1b3300072081f80054001628..."} 
[2026-06-18 18:34:24] local.INFO: Processing buffer {"connection_id":106824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad24978012d1b3300072081f80054001628..."} 
[2026-06-18 18:34:24] local.INFO: Packet analysis {"connection_id":106824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:34:24] local.INFO: Extracted packet for processing {"connection_id":106824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":40,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137639424001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781787675000,"timestamp_ms":1781787675000,"timestamp_seconds":1781787675,"priority":1,"record_length":96,"hex_timestamp":"0000019edad24978"} 
[2026-06-18 18:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:34:24] 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-06-18 18:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-06-18 18:34:24] 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-06-18 18:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106824,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137639424001,"66":12743,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137639424001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:34:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:34:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137639424001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":106824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:34:24] local.INFO: GPS data processed {"connection_id":106824,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:34:24] local.INFO: Acknowledgment sent {"connection_id":106824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:34:29] local.INFO: TCP Data received {"connection_id":106222,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:34:29] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:34:29] local.INFO: IMEI packet received {"connection_id":106222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":106222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:34:30] local.INFO: TCP Data received {"connection_id":106222,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edacd5008012cc7ba40074e0e38001000af2f..."} 
[2026-06-18 18:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacd5008012cc7ba40074e0e38001000af2f..."} 
[2026-06-18 18:34:30] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacd5008012cc7ba40074e0e38001000af2f..."} 
[2026-06-18 18:34:30] local.INFO: Packet analysis {"connection_id":106222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacd"} 
[2026-06-18 18:34:30] local.INFO: Extracted packet for processing {"connection_id":106222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacd"} 
[2026-06-18 18:34:30] local.INFO: GPS Element Parsed {"raw_longitude":751286848,"raw_latitude":122555960,"longitude_deg":75.1286848,"latitude_deg":12.255596,"altitude":16,"angle":175,"satellites":47,"speed":0,"hex_longitude":"2cc7ba40","hex_latitude":"074e0e38","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137555968001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114374862848,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:30] 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-06-18 18:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781787349000,"timestamp_ms":1781787349000,"timestamp_seconds":1781787349,"priority":1,"record_length":96,"hex_timestamp":"0000019edacd5008"} 
[2026-06-18 18:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:34: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-06-18 18: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 18:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:34: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-06-18 18:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137555968001,"66":27876,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4054858114374862848},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137555968001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:34:30] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114374862848,"description":"Unknown IO ID 44"} 
[2026-06-18 18:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137555968001,"power":27876,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114374862848}} 
[2026-06-18 18:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":106222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:34:30] local.INFO: GPS data processed {"connection_id":106222,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:34:30] local.INFO: Acknowledgment sent {"connection_id":106222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:34:33] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:34:33] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:34:33] local.INFO: IMEI packet received {"connection_id":106044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":106044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:34:38] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:34:38] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:34:38] local.INFO: IMEI packet received {"connection_id":106044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":106044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:34:40] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:34:40] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:34:40] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:34:40] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:34:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:34:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:34:40] local.INFO: GPS data processed {"connection_id":106044,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:34:40] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:34:44] local.INFO: TCP Data received {"connection_id":106223,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:34:44] local.INFO: Processing buffer {"connection_id":106223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:34:44] local.INFO: IMEI packet received {"connection_id":106223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":106223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:34:49] local.INFO: TCP Data received {"connection_id":106223,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:34:49] local.INFO: Processing buffer {"connection_id":106223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:34:49] local.INFO: IMEI packet received {"connection_id":106223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":106223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:34:50] local.INFO: TCP Data received {"connection_id":106223,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad29b80012d1b3300072081f80054001626..."} 
[2026-06-18 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad29b80012d1b3300072081f80054001626..."} 
[2026-06-18 18:34:50] local.INFO: Processing buffer {"connection_id":106223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad29b80012d1b3300072081f80054001626..."} 
[2026-06-18 18:34:50] local.INFO: Packet analysis {"connection_id":106223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:34:50] local.INFO: Extracted packet for processing {"connection_id":106223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":38,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137644800001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781787696000,"timestamp_ms":1781787696000,"timestamp_seconds":1781787696,"priority":1,"record_length":96,"hex_timestamp":"0000019edad29b80"} 
[2026-06-18 18:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 18:34:50] 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-06-18 18:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137644800001,"66":12743,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137644800001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:34:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:34:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137644800001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":106223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:34:50] local.INFO: GPS data processed {"connection_id":106223,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:34:50] local.INFO: Acknowledgment sent {"connection_id":106223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:00] local.INFO: TCP Data received {"connection_id":106224,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:35:00] local.INFO: Processing buffer {"connection_id":106224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:35:00] local.INFO: IMEI packet received {"connection_id":106224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":106224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:35:01] local.INFO: TCP Data received {"connection_id":106222,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edacd8e88012cc7ba40074e0e38001000af30..."} 
[2026-06-18 18:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edacd8e88012cc7ba40074e0e38001000af30..."} 
[2026-06-18 18:35:01] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edacd8e88012cc7ba40074e0e38001000af30..."} 
[2026-06-18 18:35:01] local.INFO: Packet analysis {"connection_id":106222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edacd"} 
[2026-06-18 18:35:01] local.INFO: Extracted packet for processing {"connection_id":106222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edacd"} 
[2026-06-18 18:35:01] local.INFO: GPS Element Parsed {"raw_longitude":751286848,"raw_latitude":122555960,"longitude_deg":75.1286848,"latitude_deg":12.255596,"altitude":16,"angle":175,"satellites":48,"speed":0,"hex_longitude":"2cc7ba40","hex_latitude":"074e0e38","is_valid_coordinates":true} 
[2026-06-18 18:35: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-06-18 18:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137561344001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375206912,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:01] 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-06-18 18:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781787365000,"timestamp_ms":1781787365000,"timestamp_seconds":1781787365,"priority":1,"record_length":96,"hex_timestamp":"0000019edacd8e88"} 
[2026-06-18 18:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 18:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137561344001,"66":27767,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4054858114375206912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137561344001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:01] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375206912,"description":"Unknown IO ID 44"} 
[2026-06-18 18:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137561344001,"power":27767,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375206912}} 
[2026-06-18 18:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":106222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:01] local.INFO: GPS data processed {"connection_id":106222,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:01] local.INFO: Acknowledgment sent {"connection_id":106222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:05] local.INFO: TCP Data received {"connection_id":106224,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106224,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:35:05] local.INFO: Processing buffer {"connection_id":106224,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:35:05] local.INFO: IMEI packet received {"connection_id":106224,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":106224,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:35:05] local.INFO: TCP Data received {"connection_id":106224,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:35:05] local.INFO: Processing buffer {"connection_id":106224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:35:05] local.INFO: Packet analysis {"connection_id":106224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:35:05] local.INFO: Extracted packet for processing {"connection_id":106224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:05] 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-06-18 18:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:35:05] 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-06-18 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:35:05] 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-06-18 18:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":106224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345810,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:06] local.INFO: GPS data processed {"connection_id":106224,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:06] local.INFO: Acknowledgment sent {"connection_id":106224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:12] local.INFO: TCP Data received {"connection_id":106044,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:35:12] local.INFO: Processing buffer {"connection_id":106044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad12480012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:35:12] local.INFO: Packet analysis {"connection_id":106044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:35:12] local.INFO: Extracted packet for processing {"connection_id":106044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad1"} 
[2026-06-18 18:35:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137548544001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781787600000,"timestamp_ms":1781787600000,"timestamp_seconds":1781787600,"priority":1,"record_length":96,"hex_timestamp":"0000019edad12480"} 
[2026-06-18 18:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:35:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:35:12] 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-06-18 18:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137548544001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137548544001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:35:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137548544001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":106044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:12] local.INFO: GPS data processed {"connection_id":106044,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:12] local.INFO: Acknowledgment sent {"connection_id":106044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:23] local.INFO: TCP Data received {"connection_id":106223,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad2ed88012d1b3300072081f80054001627..."} 
[2026-06-18 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad2ed88012d1b3300072081f80054001627..."} 
[2026-06-18 18:35:23] local.INFO: Processing buffer {"connection_id":106223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad2ed88012d1b3300072081f80054001627..."} 
[2026-06-18 18:35:23] local.INFO: Packet analysis {"connection_id":106223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:35:23] local.INFO: Extracted packet for processing {"connection_id":106223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":39,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137650176001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781787717000,"timestamp_ms":1781787717000,"timestamp_seconds":1781787717,"priority":1,"record_length":96,"hex_timestamp":"0000019edad2ed88"} 
[2026-06-18 18:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:35:23] 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-06-18 18:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 18:35: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-06-18 18:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137650176001,"66":12776,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137650176001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:35:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137650176001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":106223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:23] local.INFO: GPS data processed {"connection_id":106223,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:23] local.INFO: Acknowledgment sent {"connection_id":106223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:29] local.INFO: TCP Data received {"connection_id":107791,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:35:29] local.INFO: Processing buffer {"connection_id":107791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:35:29] local.INFO: IMEI packet received {"connection_id":107791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":107791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:35:33] local.INFO: TCP Data received {"connection_id":106045,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:35:33] local.INFO: Processing buffer {"connection_id":106045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:35:33] local.INFO: IMEI packet received {"connection_id":106045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":106045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:35:34] local.INFO: TCP Data received {"connection_id":107791,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:35:34] local.INFO: Processing buffer {"connection_id":107791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:35:34] local.INFO: IMEI packet received {"connection_id":107791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":107791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:35:35] local.INFO: TCP Data received {"connection_id":107791,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:35:35] local.INFO: Processing buffer {"connection_id":107791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:35:35] local.INFO: Packet analysis {"connection_id":107791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:35:35] local.INFO: Extracted packet for processing {"connection_id":107791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":751286080,"raw_latitude":122555360,"longitude_deg":75.128608,"latitude_deg":12.255536,"altitude":16,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2cc7b740","hex_latitude":"074e0be0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 18:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137565440001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375206912,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:35] 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-06-18 18:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781787667000,"timestamp_ms":1781787667000,"timestamp_seconds":1781787667,"priority":1,"record_length":96,"hex_timestamp":"0000019edad22a38"} 
[2026-06-18 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-06-18 18:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:35: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-06-18 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-06-18 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-06-18 18:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:35: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-06-18 18:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137565440001,"66":26267,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4054858114375206912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137565440001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:35] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:35:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375206912,"description":"Unknown IO ID 44"} 
[2026-06-18 18:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137565440001,"power":26267,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375206912}} 
[2026-06-18 18:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":107791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:35] local.INFO: GPS data processed {"connection_id":107791,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:35] local.INFO: Acknowledgment sent {"connection_id":107791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:37] local.INFO: TCP Data received {"connection_id":106224,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:35:37] local.INFO: Processing buffer {"connection_id":106224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:35:37] local.INFO: Packet analysis {"connection_id":106224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:35:37] local.INFO: Extracted packet for processing {"connection_id":106224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:37] 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-06-18 18:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:35:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:35:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106224,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:35:37] 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-06-18 18:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:35:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":106224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345814,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:37] local.INFO: GPS data processed {"connection_id":106224,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:37] local.INFO: Acknowledgment sent {"connection_id":106224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:38] local.INFO: TCP Data received {"connection_id":106045,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:35:38] local.INFO: Processing buffer {"connection_id":106045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:35:38] local.INFO: IMEI packet received {"connection_id":106045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":106045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:35:40] local.INFO: TCP Data received {"connection_id":107791,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:35:40] local.INFO: Processing buffer {"connection_id":107791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:35:40] local.INFO: Packet analysis {"connection_id":107791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:35:40] local.INFO: Extracted packet for processing {"connection_id":107791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":751286080,"raw_latitude":122555360,"longitude_deg":75.128608,"latitude_deg":12.255536,"altitude":16,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2cc7b740","hex_latitude":"074e0be0","is_valid_coordinates":true} 
[2026-06-18 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137565440001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375206912,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:40] 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-06-18 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781787667000,"timestamp_ms":1781787667000,"timestamp_seconds":1781787667,"priority":1,"record_length":96,"hex_timestamp":"0000019edad22a38"} 
[2026-06-18 18:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137565440001,"66":26267,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4054858114375206912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137565440001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:40] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:35:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375206912,"description":"Unknown IO ID 44"} 
[2026-06-18 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137565440001,"power":26267,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375206912}} 
[2026-06-18 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":107791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:40] local.INFO: GPS data processed {"connection_id":107791,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:40] local.INFO: Acknowledgment sent {"connection_id":107791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:40] local.INFO: TCP Data received {"connection_id":106045,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:35:40] local.INFO: Processing buffer {"connection_id":106045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:35:40] local.INFO: Packet analysis {"connection_id":106045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:35:40] local.INFO: Extracted packet for processing {"connection_id":106045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:35:40] 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-06-18 18:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":106045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:40] local.INFO: GPS data processed {"connection_id":106045,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:40] local.INFO: Acknowledgment sent {"connection_id":106045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:35:44] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:44] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:44] local.INFO: IMEI packet received {"connection_id":106225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":106225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:35:45] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:45] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:45] local.INFO: IMEI packet received {"connection_id":106225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":106225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:35:49] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:49] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:35:49] local.INFO: IMEI packet received {"connection_id":106225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":106225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:35:50] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad33f90012d1b3300072081f80054001628..."} 
[2026-06-18 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad33f90012d1b3300072081f80054001628..."} 
[2026-06-18 18:35:50] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad33f90012d1b3300072081f80054001628..."} 
[2026-06-18 18:35:50] local.INFO: Packet analysis {"connection_id":106225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad3"} 
[2026-06-18 18:35:50] local.INFO: Extracted packet for processing {"connection_id":106225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad3"} 
[2026-06-18 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":40,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137655552001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781787738000,"timestamp_ms":1781787738000,"timestamp_seconds":1781787738,"priority":1,"record_length":96,"hex_timestamp":"0000019edad33f90"} 
[2026-06-18 18:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 18:35:50] 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-06-18 18:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137655552001,"66":12711,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137655552001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:35:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:35:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137655552001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":106225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:35:50] local.INFO: GPS data processed {"connection_id":106225,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:35:50] local.INFO: Acknowledgment sent {"connection_id":106225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:36:00] local.INFO: TCP Data received {"connection_id":107792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:00] local.INFO: Processing buffer {"connection_id":107792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:00] local.INFO: IMEI packet received {"connection_id":107792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":107792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:36:05] local.INFO: TCP Data received {"connection_id":107792,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107792,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:05] local.INFO: Processing buffer {"connection_id":107792,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:05] local.INFO: IMEI packet received {"connection_id":107792,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":107792,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:36:06] local.INFO: TCP Data received {"connection_id":107792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:36:06] local.INFO: Processing buffer {"connection_id":107792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:36:06] local.INFO: Packet analysis {"connection_id":107792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:36:06] local.INFO: Extracted packet for processing {"connection_id":107792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:36:06] 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-06-18 18:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:36:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":107792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345818,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:36:06] local.INFO: GPS data processed {"connection_id":107792,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:36:06] local.INFO: Acknowledgment sent {"connection_id":107792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:36:11] local.INFO: TCP Data received {"connection_id":106045,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:36:11] local.INFO: Processing buffer {"connection_id":106045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:36:11] local.INFO: Packet analysis {"connection_id":106045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:36:11] local.INFO: Extracted packet for processing {"connection_id":106045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:36:11] 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-06-18 18:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:36:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":106045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:36:11] local.INFO: GPS data processed {"connection_id":106045,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:36:11] local.INFO: Acknowledgment sent {"connection_id":106045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:36:22] local.INFO: TCP Data received {"connection_id":106225,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad39198012d1b3300072081f80054001627..."} 
[2026-06-18 18:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad39198012d1b3300072081f80054001627..."} 
[2026-06-18 18:36:22] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad39198012d1b3300072081f80054001627..."} 
[2026-06-18 18:36:22] local.INFO: Packet analysis {"connection_id":106225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad3"} 
[2026-06-18 18:36:22] local.INFO: Extracted packet for processing {"connection_id":106225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad3"} 
[2026-06-18 18:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":39,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137660928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781787759000,"timestamp_ms":1781787759000,"timestamp_seconds":1781787759,"priority":1,"record_length":96,"hex_timestamp":"0000019edad39198"} 
[2026-06-18 18:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:36:22] 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-06-18 18:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 18:36:22] 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-06-18 18:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137660928001,"66":12722,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137660928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:36:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:36:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137660928001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":106225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:36:22] local.INFO: GPS data processed {"connection_id":106225,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:36:22] local.INFO: Acknowledgment sent {"connection_id":106225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:36:24] local.INFO: TCP Data received {"connection_id":106226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:36:24] local.INFO: Processing buffer {"connection_id":106226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:36:24] local.INFO: IMEI packet received {"connection_id":106226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":106226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:36:29] local.INFO: TCP Data received {"connection_id":106226,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:36:29] local.INFO: Processing buffer {"connection_id":106226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:36:29] local.INFO: IMEI packet received {"connection_id":106226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":106226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:36:30] local.INFO: TCP Data received {"connection_id":106226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:36:30] local.INFO: Processing buffer {"connection_id":106226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad22a38012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:36:30] local.INFO: Packet analysis {"connection_id":106226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:36:30] local.INFO: Extracted packet for processing {"connection_id":106226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad2"} 
[2026-06-18 18:36:30] local.INFO: GPS Element Parsed {"raw_longitude":751286080,"raw_latitude":122555360,"longitude_deg":75.128608,"latitude_deg":12.255536,"altitude":16,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2cc7b740","hex_latitude":"074e0be0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137565440001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4054858114375206912,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:30] 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-06-18 18:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781787667000,"timestamp_ms":1781787667000,"timestamp_seconds":1781787667,"priority":1,"record_length":96,"hex_timestamp":"0000019edad22a38"} 
[2026-06-18 18:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:36: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-06-18 18:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137565440001,"66":26267,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4054858114375206912},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137565440001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:36:30] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4054858114375206912,"description":"Unknown IO ID 44"} 
[2026-06-18 18:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137565440001,"power":26267,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4054858114375206912}} 
[2026-06-18 18:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":106226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:36:30] local.INFO: GPS data processed {"connection_id":106226,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:36:30] local.INFO: Acknowledgment sent {"connection_id":106226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:36:33] local.INFO: TCP Data received {"connection_id":106227,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:36:33] local.INFO: Processing buffer {"connection_id":106227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:36:33] local.INFO: IMEI packet received {"connection_id":106227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":106227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:36:37] local.INFO: TCP Data received {"connection_id":107792,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:36:37] local.INFO: Processing buffer {"connection_id":107792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:36:37] local.INFO: Packet analysis {"connection_id":107792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:36:37] local.INFO: Extracted packet for processing {"connection_id":107792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:37] 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-06-18 18:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:36:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107792,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:36:37] 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-06-18 18:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:36:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:36:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":107792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345822,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:36:37] local.INFO: GPS data processed {"connection_id":107792,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:36:37] local.INFO: Acknowledgment sent {"connection_id":107792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:36:38] local.INFO: TCP Data received {"connection_id":106227,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:36:38] local.INFO: Processing buffer {"connection_id":106227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:36:38] local.INFO: IMEI packet received {"connection_id":106227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":106227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:36:39] local.INFO: TCP Data received {"connection_id":106227,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:36:39] local.INFO: Processing buffer {"connection_id":106227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:36:39] local.INFO: Packet analysis {"connection_id":106227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:36:39] local.INFO: Extracted packet for processing {"connection_id":106227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:36:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:36:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":106227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:36:39] local.INFO: GPS data processed {"connection_id":106227,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:36:39] local.INFO: Acknowledgment sent {"connection_id":106227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:36:47] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:47] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:47] local.INFO: IMEI packet received {"connection_id":106046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":106046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:36:49] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:49] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:49] local.INFO: IMEI packet received {"connection_id":106046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":106046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:36:54] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:54] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:36:54] local.INFO: IMEI packet received {"connection_id":106046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":106046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:36:56] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad3e3a0012d1b3300072081f80054001629..."} 
[2026-06-18 18:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad3e3a0012d1b3300072081f80054001629..."} 
[2026-06-18 18:36:56] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad3e3a0012d1b3300072081f80054001629..."} 
[2026-06-18 18:36:56] local.INFO: Packet analysis {"connection_id":106046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad3"} 
[2026-06-18 18:36:56] local.INFO: Extracted packet for processing {"connection_id":106046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad3"} 
[2026-06-18 18:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":41,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137666304001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781787780000,"timestamp_ms":1781787780000,"timestamp_seconds":1781787780,"priority":1,"record_length":96,"hex_timestamp":"0000019edad3e3a0"} 
[2026-06-18 18:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:36:56] 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-06-18 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 18:36:56] 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-06-18 18: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-06-18 18:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137666304001,"66":12178,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137666304001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:36:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137666304001,"power":12178,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":106046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:36:56] local.INFO: GPS data processed {"connection_id":106046,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:36:56] local.INFO: Acknowledgment sent {"connection_id":106046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:36:59] local.INFO: TCP Data received {"connection_id":107793,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:59] local.INFO: Processing buffer {"connection_id":107793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:36:59] local.INFO: IMEI packet received {"connection_id":107793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":107793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:37:01] local.INFO: TCP Data received {"connection_id":106226,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:37:01] local.INFO: Processing buffer {"connection_id":106226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:37:01] local.INFO: Packet analysis {"connection_id":106226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad6"} 
[2026-06-18 18:37:01] local.INFO: Extracted packet for processing {"connection_id":106226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad6"} 
[2026-06-18 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":751286080,"raw_latitude":122555360,"longitude_deg":75.128608,"latitude_deg":12.255536,"altitude":16,"angle":175,"satellites":47,"speed":0,"hex_longitude":"2cc7b740","hex_latitude":"074e0be0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137642752001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055702539305492480,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:01] 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-06-18 18:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781787968000,"timestamp_ms":1781787968000,"timestamp_seconds":1781787968,"priority":1,"record_length":96,"hex_timestamp":"0000019edad6c200"} 
[2026-06-18 18:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 18:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137642752001,"66":26006,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4055702539305492480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137642752001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:37:01] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055702539305492480,"description":"Unknown IO ID 44"} 
[2026-06-18 18:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137642752001,"power":26006,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055702539305492480}} 
[2026-06-18 18:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":106226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:37:01] local.INFO: GPS data processed {"connection_id":106226,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:37:01] local.INFO: Acknowledgment sent {"connection_id":106226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:37:05] local.INFO: TCP Data received {"connection_id":107793,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107793,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:37:05] local.INFO: Processing buffer {"connection_id":107793,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:37:05] local.INFO: IMEI packet received {"connection_id":107793,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":107793,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:37:05] local.INFO: TCP Data received {"connection_id":107793,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:37:06] local.INFO: Processing buffer {"connection_id":107793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:37:06] local.INFO: Packet analysis {"connection_id":107793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:37:06] local.INFO: Extracted packet for processing {"connection_id":107793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:37:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:37:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:37:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:37:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:37:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:37:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:37:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:37:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:37:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:37:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:37:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:37:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:37:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:37:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:37:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:37:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:37:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:37:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:37:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:37:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:37:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:37:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:37:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:37:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":107793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345826,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:37:06] local.INFO: GPS data processed {"connection_id":107793,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:37:06] local.INFO: Acknowledgment sent {"connection_id":107793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:37:11] local.INFO: TCP Data received {"connection_id":106227,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:37:11] local.INFO: Processing buffer {"connection_id":106227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:37:11] local.INFO: Packet analysis {"connection_id":106227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:37:11] local.INFO: Extracted packet for processing {"connection_id":106227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:37:11] 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-06-18 18:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:37:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":106227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:37:11] local.INFO: GPS data processed {"connection_id":106227,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:37:11] local.INFO: Acknowledgment sent {"connection_id":106227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:37:24] local.INFO: TCP Data received {"connection_id":106047,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:37:24] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:37:24] local.INFO: IMEI packet received {"connection_id":106047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":106047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:37:27] local.INFO: TCP Data received {"connection_id":106046,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad435a8012d1b3300072081f80054001628..."} 
[2026-06-18 18:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad435a8012d1b3300072081f80054001628..."} 
[2026-06-18 18:37:27] local.INFO: Processing buffer {"connection_id":106046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad435a8012d1b3300072081f80054001628..."} 
[2026-06-18 18:37:27] local.INFO: Packet analysis {"connection_id":106046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:37:27] local.INFO: Extracted packet for processing {"connection_id":106046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119570936,"longitude_deg":75.6757248,"latitude_deg":11.9570936,"altitude":84,"angle":22,"satellites":40,"speed":0,"hex_longitude":"2d1b3300","hex_latitude":"072081f8","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137671680001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346582682468352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293446457344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781787801000,"timestamp_ms":1781787801000,"timestamp_seconds":1781787801,"priority":1,"record_length":96,"hex_timestamp":"0000019edad435a8"} 
[2026-06-18 18:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 18:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137671680001,"66":12678,"121":206,"28":31744,"24":0,"16":3346582682468352,"45":1959910293446457344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137671680001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:37:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346582682468352,"km_value":3346582682468.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293446457344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137671680001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1959910293446457344}} 
[2026-06-18 18:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":106046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:37:27] local.INFO: GPS data processed {"connection_id":106046,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:37:27] local.INFO: Acknowledgment sent {"connection_id":106046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:37:29] local.INFO: TCP Data received {"connection_id":106047,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:37:29] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:37:29] local.INFO: IMEI packet received {"connection_id":106047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":106047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:37:30] local.INFO: TCP Data received {"connection_id":106047,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:37:30] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:37:30] local.INFO: Packet analysis {"connection_id":106047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad6"} 
[2026-06-18 18:37:30] local.INFO: Extracted packet for processing {"connection_id":106047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad6"} 
[2026-06-18 18:37:30] local.INFO: GPS Element Parsed {"raw_longitude":751286080,"raw_latitude":122555360,"longitude_deg":75.128608,"latitude_deg":12.255536,"altitude":16,"angle":175,"satellites":47,"speed":0,"hex_longitude":"2cc7b740","hex_latitude":"074e0be0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137642752001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055702539305492480,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:30] 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-06-18 18:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781787968000,"timestamp_ms":1781787968000,"timestamp_seconds":1781787968,"priority":1,"record_length":96,"hex_timestamp":"0000019edad6c200"} 
[2026-06-18 18:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 18:37:30] 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-06-18 18: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-06-18 18:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:37: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-06-18 18:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137642752001,"66":26006,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4055702539305492480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137642752001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:37:30] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:37:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:37:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055702539305492480,"description":"Unknown IO ID 44"} 
[2026-06-18 18:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137642752001,"power":26006,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055702539305492480}} 
[2026-06-18 18:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":106047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:37:30] local.INFO: GPS data processed {"connection_id":106047,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:37:30] local.INFO: Acknowledgment sent {"connection_id":106047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:37:33] local.INFO: TCP Data received {"connection_id":106048,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:37:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:37:33] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:37:33] local.INFO: IMEI packet received {"connection_id":106048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:37:33] local.INFO: IMEI acknowledgment sent {"connection_id":106048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:37:37] local.INFO: TCP Data received {"connection_id":107793,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:37:37] local.INFO: Processing buffer {"connection_id":107793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:37:37] local.INFO: Packet analysis {"connection_id":107793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:37:37] local.INFO: Extracted packet for processing {"connection_id":107793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:37:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:37] 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-06-18 18:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:37:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:37:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:37:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:37:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107793,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:37:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:37:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:37:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:37:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:37:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:37:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:37:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:37:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:37:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:37:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:37:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":107793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345830,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:37:37] local.INFO: GPS data processed {"connection_id":107793,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:37:37] local.INFO: Acknowledgment sent {"connection_id":107793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:37:38] local.INFO: TCP Data received {"connection_id":106048,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:37:38] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:37:38] local.INFO: IMEI packet received {"connection_id":106048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":106048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:37:39] local.INFO: TCP Data received {"connection_id":106048,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:37:39] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:37:39] local.INFO: Packet analysis {"connection_id":106048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:37:39] local.INFO: Extracted packet for processing {"connection_id":106048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:37:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:37:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":106048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:37:39] local.INFO: GPS data processed {"connection_id":106048,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:37:39] local.INFO: Acknowledgment sent {"connection_id":106048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:37:45] local.INFO: TCP Data received {"connection_id":106228,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:45] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:45] local.INFO: IMEI packet received {"connection_id":106228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":106228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:37:45] local.INFO: TCP Data received {"connection_id":106228,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:45] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:45] local.INFO: IMEI packet received {"connection_id":106228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":106228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:37:49] local.INFO: TCP Data received {"connection_id":106228,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:49] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:37:49] local.INFO: IMEI packet received {"connection_id":106228,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":106228,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:37:51] local.INFO: TCP Data received {"connection_id":106228,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad775b0012d1b320007207948004d00d229..."} 
[2026-06-18 18:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad775b0012d1b320007207948004d00d229..."} 
[2026-06-18 18:37:51] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad775b0012d1b320007207948004d00d229..."} 
[2026-06-18 18:37:51] local.INFO: Packet analysis {"connection_id":106228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad7"} 
[2026-06-18 18:37:51] local.INFO: Extracted packet for processing {"connection_id":106228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad7"} 
[2026-06-18 18:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756756992,"raw_latitude":119568712,"longitude_deg":75.6756992,"latitude_deg":11.9568712,"altitude":77,"angle":210,"satellites":41,"speed":11,"hex_longitude":"2d1b3200","hex_latitude":"07207948","is_valid_coordinates":true} 
[2026-06-18 18:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137729280001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346702941552640,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960121399678994432,"note":"Value kept but may cause issues"} 
[2026-06-18 18:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781788014000,"timestamp_ms":1781788014000,"timestamp_seconds":1781788014,"priority":1,"record_length":96,"hex_timestamp":"0000019edad775b0"} 
[2026-06-18 18:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 18:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137729280001,"66":14211,"121":206,"28":31744,"24":11,"16":3346702941552640,"45":1960121399678994432},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137729280001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:37:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:37:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346702941552640,"km_value":3346702941552.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960121399678994432,"description":"Unknown IO ID 45"} 
[2026-06-18 18:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137729280001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1960121399678994432}} 
[2026-06-18 18:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":106228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:37:51] local.INFO: GPS data processed {"connection_id":106228,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:37:51] local.INFO: Acknowledgment sent {"connection_id":106228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:37:59] local.INFO: TCP Data received {"connection_id":106826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:37:59] local.INFO: Processing buffer {"connection_id":106826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:37:59] local.INFO: IMEI packet received {"connection_id":106826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":106826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:38:01] local.INFO: TCP Data received {"connection_id":106047,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:38:01] local.INFO: Processing buffer {"connection_id":106047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad6c200012cc7b740074e0be0001000af2f..."} 
[2026-06-18 18:38:01] local.INFO: Packet analysis {"connection_id":106047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad6"} 
[2026-06-18 18:38:01] local.INFO: Extracted packet for processing {"connection_id":106047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad6"} 
[2026-06-18 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":751286080,"raw_latitude":122555360,"longitude_deg":75.128608,"latitude_deg":12.255536,"altitude":16,"angle":175,"satellites":47,"speed":0,"hex_longitude":"2cc7b740","hex_latitude":"074e0be0","is_valid_coordinates":true} 
[2026-06-18 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137642752001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055702539305492480,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:01] 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-06-18 18:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781787968000,"timestamp_ms":1781787968000,"timestamp_seconds":1781787968,"priority":1,"record_length":96,"hex_timestamp":"0000019edad6c200"} 
[2026-06-18 18:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-06-18 18:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2103,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137642752001,"66":26006,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4055702539305492480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137642752001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:01] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055702539305492480,"description":"Unknown IO ID 44"} 
[2026-06-18 18:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137642752001,"power":26006,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055702539305492480}} 
[2026-06-18 18:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":106047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:01] local.INFO: GPS data processed {"connection_id":106047,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:01] local.INFO: Acknowledgment sent {"connection_id":106047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:05] local.INFO: TCP Data received {"connection_id":106826,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106826,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:38:05] local.INFO: Processing buffer {"connection_id":106826,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:38:05] local.INFO: IMEI packet received {"connection_id":106826,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":106826,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:38:05] local.INFO: TCP Data received {"connection_id":106826,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:38:05] local.INFO: Processing buffer {"connection_id":106826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad406c8012d7e398005d34d500007002a28..."} 
[2026-06-18 18:38:05] local.INFO: Packet analysis {"connection_id":106826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:38:05] local.INFO: Extracted packet for processing {"connection_id":106826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad4"} 
[2026-06-18 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":40,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137596928001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:05] 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-06-18 18:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781787789000,"timestamp_ms":1781787789000,"timestamp_seconds":1781787789,"priority":1,"record_length":96,"hex_timestamp":"0000019edad406c8"} 
[2026-06-18 18:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:38:05] 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-06-18 18:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:38:05] 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-06-18 18:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137596928001,"66":2253,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137596928001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137596928001,"power":2253,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":106826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345834,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:06] local.INFO: GPS data processed {"connection_id":106826,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:06] local.INFO: Acknowledgment sent {"connection_id":106826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:11] local.INFO: TCP Data received {"connection_id":106048,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:38:11] local.INFO: Processing buffer {"connection_id":106048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:38:11] local.INFO: Packet analysis {"connection_id":106048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:38:11] local.INFO: Extracted packet for processing {"connection_id":106048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:38:11] 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-06-18 18:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:38:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":106048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:11] local.INFO: GPS data processed {"connection_id":106048,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:11] local.INFO: Acknowledgment sent {"connection_id":106048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:22] local.INFO: TCP Data received {"connection_id":106228,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad77998012d1b314007207860004d00e12a..."} 
[2026-06-18 18:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad77998012d1b314007207860004d00e12a..."} 
[2026-06-18 18:38:22] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad77998012d1b314007207860004d00e12a..."} 
[2026-06-18 18:38:22] local.INFO: Packet analysis {"connection_id":106228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad7"} 
[2026-06-18 18:38:22] local.INFO: Extracted packet for processing {"connection_id":106228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad7"} 
[2026-06-18 18:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756756800,"raw_latitude":119568480,"longitude_deg":75.67568,"latitude_deg":11.956848,"altitude":77,"angle":225,"satellites":42,"speed":11,"hex_longitude":"2d1b3140","hex_latitude":"07207860","is_valid_coordinates":true} 
[2026-06-18 18:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137731584001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3346715826454528,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959628818469177344,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788015000,"timestamp_ms":1781788015000,"timestamp_seconds":1781788015,"priority":1,"record_length":96,"hex_timestamp":"0000019edad77998"} 
[2026-06-18 18:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:38:22] 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-06-18 18:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 18:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106228,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137731584001,"66":14233,"121":206,"28":31744,"24":11,"16":3346715826454528,"45":1959628818469177344},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137731584001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:38:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3346715826454528,"km_value":3346715826454.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959628818469177344,"description":"Unknown IO ID 45"} 
[2026-06-18 18:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137731584001,"power":14233,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1959628818469177344}} 
[2026-06-18 18:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":106228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:22] local.INFO: GPS data processed {"connection_id":106228,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:22] local.INFO: Acknowledgment sent {"connection_id":106228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:26] local.INFO: TCP Data received {"connection_id":107794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:26] local.INFO: Processing buffer {"connection_id":107794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:26] local.INFO: IMEI packet received {"connection_id":107794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":107794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:38:30] local.INFO: TCP Data received {"connection_id":107794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:30] local.INFO: Processing buffer {"connection_id":107794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:30] local.INFO: IMEI packet received {"connection_id":107794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:38:30] local.INFO: IMEI acknowledgment sent {"connection_id":107794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:38:33] local.INFO: TCP Data received {"connection_id":106049,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:38:33] local.INFO: Processing buffer {"connection_id":106049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:38:33] local.INFO: IMEI packet received {"connection_id":106049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":106049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:38:34] local.INFO: TCP Data received {"connection_id":107794,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:34] local.INFO: Processing buffer {"connection_id":107794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:38:34] local.INFO: IMEI packet received {"connection_id":107794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:38:34] local.INFO: IMEI acknowledgment sent {"connection_id":107794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:38:35] local.INFO: TCP Data received {"connection_id":107794,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edad7e6f8012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad7e6f8012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:38:35] local.INFO: Processing buffer {"connection_id":107794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad7e6f8012cc7b740074e0be0001000af2d..."} 
[2026-06-18 18:38:35] local.INFO: Packet analysis {"connection_id":107794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad7"} 
[2026-06-18 18:38:35] local.INFO: Extracted packet for processing {"connection_id":107794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad7"} 
[2026-06-18 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":751286080,"raw_latitude":122555360,"longitude_deg":75.128608,"latitude_deg":12.255536,"altitude":16,"angle":175,"satellites":45,"speed":0,"hex_longitude":"2cc7b740","hex_latitude":"074e0be0","is_valid_coordinates":true} 
[2026-06-18 18:38: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-06-18 18:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137719808001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055702539305492480,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:35] 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-06-18 18:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781788043000,"timestamp_ms":1781788043000,"timestamp_seconds":1781788043,"priority":1,"record_length":96,"hex_timestamp":"0000019edad7e6f8"} 
[2026-06-18 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-06-18 18:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 18:38: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-06-18 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-06-18 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-06-18 18:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 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-06-18 18:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137719808001,"66":25778,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4055702539305492480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137719808001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:35] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:38:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055702539305492480,"description":"Unknown IO ID 44"} 
[2026-06-18 18:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137719808001,"power":25778,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055702539305492480}} 
[2026-06-18 18:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":107794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:35] local.INFO: GPS data processed {"connection_id":107794,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:35] local.INFO: Acknowledgment sent {"connection_id":107794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:37] local.INFO: TCP Data received {"connection_id":106826,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:38:37] local.INFO: Processing buffer {"connection_id":106826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:38:37] local.INFO: Packet analysis {"connection_id":106826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:38:37] local.INFO: Extracted packet for processing {"connection_id":106826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:37] 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-06-18 18:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:38:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106826,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:38:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":106826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:37] local.INFO: GPS data processed {"connection_id":106826,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:37] local.INFO: Acknowledgment sent {"connection_id":106826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:38] local.INFO: TCP Data received {"connection_id":106049,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:38:38] local.INFO: Processing buffer {"connection_id":106049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:38:38] local.INFO: IMEI packet received {"connection_id":106049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":106049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:38:39] local.INFO: TCP Data received {"connection_id":106049,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:38:39] local.INFO: Processing buffer {"connection_id":106049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:38:39] local.INFO: Packet analysis {"connection_id":106049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:38:39] local.INFO: Extracted packet for processing {"connection_id":106049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:38:39] local.INFO: TCP Data received {"connection_id":107794,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edad7f698012cc7b780074e0b98001001152d..."} 
[2026-06-18 18:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad7f698012cc7b780074e0b98001001152d..."} 
[2026-06-18 18:38:39] local.INFO: Processing buffer {"connection_id":107794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad7f698012cc7b780074e0b98001001152d..."} 
[2026-06-18 18:38:39] local.INFO: Packet analysis {"connection_id":107794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad7"} 
[2026-06-18 18:38:39] local.INFO: Extracted packet for processing {"connection_id":107794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad7"} 
[2026-06-18 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":751286144,"raw_latitude":122555288,"longitude_deg":75.1286144,"latitude_deg":12.2555288,"altitude":16,"angle":277,"satellites":45,"speed":0,"hex_longitude":"2cc7b780","hex_latitude":"074e0b98","is_valid_coordinates":true} 
[2026-06-18 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137739008001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318801399313858560,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4055702539305492480,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:39] 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-06-18 18:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788047000,"timestamp_ms":1781788047000,"timestamp_seconds":1781788047,"priority":1,"record_length":96,"hex_timestamp":"0000019edad7f698"} 
[2026-06-18 18:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 18:38:39] 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-06-18 18:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137739008001,"66":27658,"48":206,"85":37632,"24":0,"16":318801399313858560,"44":-4055702539305492480},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,48,85,24,16,44]} 
[2026-06-18 18:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137739008001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:39] local.INFO: Unknown IO ID detected {"io_id":48,"value":206,"description":"Unknown IO ID 48"} 
[2026-06-18 18:38:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318801399313858560,"km_value":318801399313858.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4055702539305492480,"description":"Unknown IO ID 44"} 
[2026-06-18 18:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137739008001,"power":27658,"unknown_48":206,"unknown_85":37632,"ignition":0,"odometer":null,"unknown_44":-4055702539305492480}} 
[2026-06-18 18:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":107794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:39] local.INFO: GPS data processed {"connection_id":107794,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:39] local.INFO: Acknowledgment sent {"connection_id":107794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":106049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:39] local.INFO: GPS data processed {"connection_id":106049,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:39] local.INFO: Acknowledgment sent {"connection_id":106049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:43] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:43] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:43] local.INFO: IMEI packet received {"connection_id":106050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":106050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:38:44] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:44] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:44] local.INFO: IMEI packet received {"connection_id":106050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":106050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:38:45] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:45] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:45] local.INFO: IMEI packet received {"connection_id":106050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:38:45] local.INFO: IMEI acknowledgment sent {"connection_id":106050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:38:49] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:49] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:38:49] local.INFO: IMEI packet received {"connection_id":106050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":106050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:38:50] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad86bc8012d1ae08007206360004f015c29..."} 
[2026-06-18 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad86bc8012d1ae08007206360004f015c29..."} 
[2026-06-18 18:38:50] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad86bc8012d1ae08007206360004f015c29..."} 
[2026-06-18 18:38:50] local.INFO: Packet analysis {"connection_id":106050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:38:50] local.INFO: Extracted packet for processing {"connection_id":106050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756736128,"raw_latitude":119563104,"longitude_deg":75.6736128,"latitude_deg":11.9563104,"altitude":79,"angle":348,"satellites":41,"speed":14,"hex_longitude":"2d1ae080","hex_latitude":"07206360","is_valid_coordinates":true} 
[2026-06-18 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137747456001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3347785273311232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936758976609916928,"note":"Value kept but may cause issues"} 
[2026-06-18 18:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781788077000,"timestamp_ms":1781788077000,"timestamp_seconds":1781788077,"priority":1,"record_length":96,"hex_timestamp":"0000019edad86bc8"} 
[2026-06-18 18:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 18:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137747456001,"66":14396,"121":206,"28":31744,"24":14,"16":3347785273311232,"45":1936758976609916928},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137747456001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:38:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:38:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3347785273311232,"km_value":3347785273311.232,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936758976609916928,"description":"Unknown IO ID 45"} 
[2026-06-18 18:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137747456001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1936758976609916928}} 
[2026-06-18 18:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":106050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:38:50] local.INFO: GPS data processed {"connection_id":106050,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:38:50] local.INFO: Acknowledgment sent {"connection_id":106050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:38:59] local.INFO: TCP Data received {"connection_id":106229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:38:59] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:38:59] local.INFO: IMEI packet received {"connection_id":106229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":106229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:39:05] local.INFO: TCP Data received {"connection_id":106229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:39:05] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:39:05] local.INFO: IMEI packet received {"connection_id":106229,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":106229,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:39:05] local.INFO: TCP Data received {"connection_id":106229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:39:06] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:39:06] local.INFO: Packet analysis {"connection_id":106229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:39:06] local.INFO: Extracted packet for processing {"connection_id":106229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:39:06] 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-06-18 18: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:39:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:39:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:39:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":106229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345842,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:39:06] local.INFO: GPS data processed {"connection_id":106229,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:39:06] local.INFO: Acknowledgment sent {"connection_id":106229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:39:11] local.INFO: TCP Data received {"connection_id":106049,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:39:11] local.INFO: Processing buffer {"connection_id":106049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:39:11] local.INFO: Packet analysis {"connection_id":106049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:39:11] local.INFO: Extracted packet for processing {"connection_id":106049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:39:11] 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-06-18 18:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106049,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":106049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345843,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:39:11] local.INFO: GPS data processed {"connection_id":106049,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:39:11] local.INFO: Acknowledgment sent {"connection_id":106049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:39:22] local.INFO: TCP Data received {"connection_id":106050,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edad88338012d1ade80072069a0004d01432a..."} 
[2026-06-18 18:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad88338012d1ade80072069a0004d01432a..."} 
[2026-06-18 18:39:22] local.INFO: Processing buffer {"connection_id":106050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad88338012d1ade80072069a0004d01432a..."} 
[2026-06-18 18:39:22] local.INFO: Packet analysis {"connection_id":106050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:39:22] local.INFO: Extracted packet for processing {"connection_id":106050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756735616,"raw_latitude":119564704,"longitude_deg":75.6735616,"latitude_deg":11.9564704,"altitude":77,"angle":323,"satellites":42,"speed":11,"hex_longitude":"2d1ade80","hex_latitude":"072069a0","is_valid_coordinates":true} 
[2026-06-18 18:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137747712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3347866877689856,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936688607865823232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788083000,"timestamp_ms":1781788083000,"timestamp_seconds":1781788083,"priority":1,"record_length":96,"hex_timestamp":"0000019edad88338"} 
[2026-06-18 18:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:39:22] 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-06-18 18:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 18:39:22] 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-06-18 18:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137747712001,"66":14407,"121":206,"28":31744,"24":11,"16":3347866877689856,"45":1936688607865823232},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137747712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:39:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:39:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3347866877689856,"km_value":3347866877689.856,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936688607865823232,"description":"Unknown IO ID 45"} 
[2026-06-18 18:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137747712001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1936688607865823232}} 
[2026-06-18 18:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":106050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:39:22] local.INFO: GPS data processed {"connection_id":106050,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:39:22] local.INFO: Acknowledgment sent {"connection_id":106050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:39:24] local.INFO: TCP Data received {"connection_id":107795,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:39:24] local.INFO: Processing buffer {"connection_id":107795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:39:24] local.INFO: IMEI packet received {"connection_id":107795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":107795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:39:33] local.INFO: TCP Data received {"connection_id":106827,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:39:33] local.INFO: Processing buffer {"connection_id":106827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:39:33] local.INFO: IMEI packet received {"connection_id":106827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":106827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:39:36] local.INFO: TCP Data received {"connection_id":107795,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:39:36] local.INFO: Processing buffer {"connection_id":107795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:39:36] local.INFO: IMEI packet received {"connection_id":107795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":107795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:39:36] local.INFO: TCP Data received {"connection_id":107795,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 18:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107795,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 18:39:36] local.INFO: Processing buffer {"connection_id":107795,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 18:39:36] local.INFO: IMEI packet received {"connection_id":107795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:39:36] local.INFO: IMEI acknowledgment sent {"connection_id":107795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:39:37] local.INFO: TCP Data received {"connection_id":106229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:39:37] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:39:37] local.INFO: Packet analysis {"connection_id":106229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:39:37] local.INFO: Extracted packet for processing {"connection_id":106229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:37] 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-06-18 18:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:39:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:39:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106229,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:39:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:39:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:39:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":106229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345845,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:39:37] local.INFO: GPS data processed {"connection_id":106229,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:39:37] local.INFO: Acknowledgment sent {"connection_id":106229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:39:38] local.INFO: TCP Data received {"connection_id":106827,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:39:38] local.INFO: Processing buffer {"connection_id":106827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:39:38] local.INFO: IMEI packet received {"connection_id":106827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":106827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:39:39] local.INFO: TCP Data received {"connection_id":106827,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:39:39] local.INFO: Processing buffer {"connection_id":106827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:39:39] local.INFO: Packet analysis {"connection_id":106827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:39:39] local.INFO: Extracted packet for processing {"connection_id":106827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:39:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:39:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":106827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:39:40] local.INFO: GPS data processed {"connection_id":106827,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:39:40] local.INFO: Acknowledgment sent {"connection_id":106827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:39:43] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:43] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:43] local.INFO: IMEI packet received {"connection_id":106230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":106230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:39:44] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:44] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:44] local.INFO: IMEI packet received {"connection_id":106230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":106230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:39:45] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:45] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:45] local.INFO: IMEI packet received {"connection_id":106230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":106230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:39:45] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:45] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:39:45] local.INFO: IMEI packet received {"connection_id":106230,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":106230,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:40:05] local.INFO: TCP Data received {"connection_id":106051,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:40:05] local.INFO: Processing buffer {"connection_id":106051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:40:05] local.INFO: IMEI packet received {"connection_id":106051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":106051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:40:10] local.INFO: TCP Data received {"connection_id":106051,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106051,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:40:10] local.INFO: Processing buffer {"connection_id":106051,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:40:10] local.INFO: IMEI packet received {"connection_id":106051,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":106051,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:40:10] local.INFO: TCP Data received {"connection_id":106051,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:40:10] local.INFO: Processing buffer {"connection_id":106051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:40:10] local.INFO: Packet analysis {"connection_id":106051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:40:10] local.INFO: Extracted packet for processing {"connection_id":106051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:40:10] 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-06-18 18:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:40:10] 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-06-18 18:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:40:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":106051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:40:10] local.INFO: GPS data processed {"connection_id":106051,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:40:10] local.INFO: Acknowledgment sent {"connection_id":106051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:40:11] local.INFO: TCP Data received {"connection_id":106827,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:11] local.INFO: Processing buffer {"connection_id":106827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad5bc48012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:11] local.INFO: Packet analysis {"connection_id":106827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:40:11] local.INFO: Extracted packet for processing {"connection_id":106827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad5"} 
[2026-06-18 18:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137625600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781787901000,"timestamp_ms":1781787901000,"timestamp_seconds":1781787901,"priority":1,"record_length":96,"hex_timestamp":"0000019edad5bc48"} 
[2026-06-18 18:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:40:11] 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-06-18 18:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106827,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137625600001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137625600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:40:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137625600001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":106827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:40:11] local.INFO: GPS data processed {"connection_id":106827,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:40:11] local.INFO: Acknowledgment sent {"connection_id":106827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:40:15] local.INFO: TCP Data received {"connection_id":106051,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:40:15] local.INFO: Processing buffer {"connection_id":106051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:40:15] local.INFO: Packet analysis {"connection_id":106051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:40:15] local.INFO: Extracted packet for processing {"connection_id":106051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:40:15] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:15] 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-06-18 18:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:40:15] 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-06-18 18:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106051,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:40:15] 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-06-18 18:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:40:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:40:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":106051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:40:15] local.INFO: GPS data processed {"connection_id":106051,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:40:15] local.INFO: Acknowledgment sent {"connection_id":106051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:40:38] local.INFO: TCP Data received {"connection_id":107796,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:40:38] local.INFO: Processing buffer {"connection_id":107796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:40:38] local.INFO: IMEI packet received {"connection_id":107796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":107796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:40:40] local.INFO: TCP Data received {"connection_id":107796,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107796,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:40:40] local.INFO: Processing buffer {"connection_id":107796,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:40:40] local.INFO: IMEI packet received {"connection_id":107796,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":107796,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:40:41] local.INFO: TCP Data received {"connection_id":107796,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:41] local.INFO: Processing buffer {"connection_id":107796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:41] local.INFO: Packet analysis {"connection_id":107796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:40:41] local.INFO: Extracted packet for processing {"connection_id":107796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:40:41] 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-06-18 18:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:40:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:40:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":107796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:40:41] local.INFO: GPS data processed {"connection_id":107796,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:40:41] local.INFO: Acknowledgment sent {"connection_id":107796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:40:43] local.INFO: TCP Data received {"connection_id":107796,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:44] local.INFO: Processing buffer {"connection_id":107796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:40:44] local.INFO: Packet analysis {"connection_id":107796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:40:44] local.INFO: Extracted packet for processing {"connection_id":107796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:40:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:40:44] 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-06-18 18:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:40:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:40:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":107796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:40:44] local.INFO: GPS data processed {"connection_id":107796,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:40:44] local.INFO: Acknowledgment sent {"connection_id":107796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:41:00] local.INFO: TCP Data received {"connection_id":106052,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:41:00] local.INFO: Processing buffer {"connection_id":106052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:41:00] local.INFO: IMEI packet received {"connection_id":106052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":106052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:41:05] local.INFO: TCP Data received {"connection_id":106052,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106052,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:41:05] local.INFO: Processing buffer {"connection_id":106052,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:41:05] local.INFO: IMEI packet received {"connection_id":106052,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":106052,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:41:05] local.INFO: TCP Data received {"connection_id":106052,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:41:05] local.INFO: Processing buffer {"connection_id":106052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:41:05] local.INFO: Packet analysis {"connection_id":106052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:41:05] local.INFO: Extracted packet for processing {"connection_id":106052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:41:05] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:05] 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-06-18 18:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:41:05] 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-06-18 18:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:41:05] 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-06-18 18:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:41:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:41:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":106052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345852,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:41:06] local.INFO: GPS data processed {"connection_id":106052,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:41:06] local.INFO: Acknowledgment sent {"connection_id":106052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:41:15] local.INFO: TCP Data received {"connection_id":107796,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:41:15] local.INFO: Processing buffer {"connection_id":107796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:41:15] local.INFO: Packet analysis {"connection_id":107796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:41:15] local.INFO: Extracted packet for processing {"connection_id":107796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:41:15] 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-06-18 18:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107796,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:41:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:41:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":107796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345853,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:41:15] local.INFO: GPS data processed {"connection_id":107796,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:41:15] local.INFO: Acknowledgment sent {"connection_id":107796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:41:33] local.INFO: TCP Data received {"connection_id":106231,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:41:33] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:41:33] local.INFO: IMEI packet received {"connection_id":106231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":106231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:41:36] local.INFO: TCP Data received {"connection_id":106052,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:41:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:41:37] local.INFO: Processing buffer {"connection_id":106052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:41:37] local.INFO: Packet analysis {"connection_id":106052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:41:37] local.INFO: Extracted packet for processing {"connection_id":106052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:41:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:37] 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-06-18 18:41:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:41:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:41:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:41:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:41:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:41:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:41:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:41:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:41:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:41:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:41:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106052,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:41:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:41:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:41:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:41:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:41:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:41:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:41:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:41:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:41:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:41:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:41:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:41:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:41:37] local.INFO: DEBUG: GPS processor result {"connection_id":106052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:41:37] local.INFO: GPS data processed {"connection_id":106052,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:41:37] local.INFO: Acknowledgment sent {"connection_id":106052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:41:38] local.INFO: TCP Data received {"connection_id":106231,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:41:38] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:41:38] local.INFO: IMEI packet received {"connection_id":106231,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":106231,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:41:39] local.INFO: TCP Data received {"connection_id":106231,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:41:39] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:41:39] local.INFO: Packet analysis {"connection_id":106231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:41:39] local.INFO: Extracted packet for processing {"connection_id":106231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:41:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:41:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":106231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:41:39] local.INFO: GPS data processed {"connection_id":106231,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:41:39] local.INFO: Acknowledgment sent {"connection_id":106231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:42:00] local.INFO: TCP Data received {"connection_id":106830,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:00] local.INFO: Processing buffer {"connection_id":106830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:00] local.INFO: IMEI packet received {"connection_id":106830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":106830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:42:05] local.INFO: TCP Data received {"connection_id":106830,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106830,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:05] local.INFO: Processing buffer {"connection_id":106830,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:05] local.INFO: IMEI packet received {"connection_id":106830,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":106830,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:42:06] local.INFO: TCP Data received {"connection_id":106830,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:42:06] local.INFO: Processing buffer {"connection_id":106830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:42:06] local.INFO: Packet analysis {"connection_id":106830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:42:06] local.INFO: Extracted packet for processing {"connection_id":106830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:42:06] 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-06-18 18:42:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:42:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:42:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:42:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":106830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:42:06] local.INFO: GPS data processed {"connection_id":106830,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:42:06] local.INFO: Acknowledgment sent {"connection_id":106830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:42:11] local.INFO: TCP Data received {"connection_id":106231,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:42:11] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:42:11] local.INFO: Packet analysis {"connection_id":106231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:42:11] local.INFO: Extracted packet for processing {"connection_id":106231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:42:11] 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-06-18 18:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106231,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:42:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":106231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345857,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:42:11] local.INFO: GPS data processed {"connection_id":106231,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:42:11] local.INFO: Acknowledgment sent {"connection_id":106231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:42:33] local.INFO: TCP Data received {"connection_id":106054,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:42:33] local.INFO: Processing buffer {"connection_id":106054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:42:33] local.INFO: IMEI packet received {"connection_id":106054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":106054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:42:37] local.INFO: TCP Data received {"connection_id":106830,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:42:37] local.INFO: Processing buffer {"connection_id":106830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:42:37] local.INFO: Packet analysis {"connection_id":106830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:42:37] local.INFO: Extracted packet for processing {"connection_id":106830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:37] 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-06-18 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:42:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:42:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106830,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:42:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:42:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":106830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345858,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:42:37] local.INFO: GPS data processed {"connection_id":106830,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:42:37] local.INFO: Acknowledgment sent {"connection_id":106830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:42:38] local.INFO: TCP Data received {"connection_id":106054,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:42:38] local.INFO: Processing buffer {"connection_id":106054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:42:38] local.INFO: IMEI packet received {"connection_id":106054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":106054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:42:40] local.INFO: TCP Data received {"connection_id":106054,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:42:40] local.INFO: Processing buffer {"connection_id":106054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:42:40] local.INFO: Packet analysis {"connection_id":106054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:42:40] local.INFO: Extracted packet for processing {"connection_id":106054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:42:40] 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-06-18 18:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:42:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":106054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:42:40] local.INFO: GPS data processed {"connection_id":106054,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:42:40] local.INFO: Acknowledgment sent {"connection_id":106054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:42:59] local.INFO: TCP Data received {"connection_id":107800,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:59] local.INFO: Processing buffer {"connection_id":107800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:42:59] local.INFO: IMEI packet received {"connection_id":107800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":107800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:43:05] local.INFO: TCP Data received {"connection_id":107800,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107800,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:43:05] local.INFO: Processing buffer {"connection_id":107800,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:43:05] local.INFO: IMEI packet received {"connection_id":107800,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":107800,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:43:05] local.INFO: TCP Data received {"connection_id":107800,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:43:05] local.INFO: Processing buffer {"connection_id":107800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edad89e90012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:43:05] local.INFO: Packet analysis {"connection_id":107800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:43:05] local.INFO: Extracted packet for processing {"connection_id":107800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edad8"} 
[2026-06-18 18:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137673984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:05] 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-06-18 18:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781788090000,"timestamp_ms":1781788090000,"timestamp_seconds":1781788090,"priority":1,"record_length":96,"hex_timestamp":"0000019edad89e90"} 
[2026-06-18 18:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:43:05] 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-06-18 18:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 18:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:43:05] 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-06-18 18:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137673984001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137673984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:43:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137673984001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":107800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345860,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:43:06] local.INFO: GPS data processed {"connection_id":107800,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:43:06] local.INFO: Acknowledgment sent {"connection_id":107800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:43:12] local.INFO: TCP Data received {"connection_id":106054,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:43:12] local.INFO: Processing buffer {"connection_id":106054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:43:12] local.INFO: Packet analysis {"connection_id":106054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:43:12] local.INFO: Extracted packet for processing {"connection_id":106054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:43:12] 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-06-18 18:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:43:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":106054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:43:12] local.INFO: GPS data processed {"connection_id":106054,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:43:12] local.INFO: Acknowledgment sent {"connection_id":106054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:43:33] local.INFO: TCP Data received {"connection_id":106233,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:43:33] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:43:33] local.INFO: IMEI packet received {"connection_id":106233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":106233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:43:36] local.INFO: TCP Data received {"connection_id":107800,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:43:36] local.INFO: Processing buffer {"connection_id":107800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:43:36] local.INFO: Packet analysis {"connection_id":107800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:43:36] local.INFO: Extracted packet for processing {"connection_id":107800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:43:36] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:43:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:36] 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-06-18 18:43:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:43:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:43:36] 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-06-18 18:43:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:43:36] 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-06-18 18: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-06-18 18:43:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:43:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:43:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:43:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:43:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107800,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:43:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:43:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:43:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:43:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:43:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:43:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:43:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:43:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:43:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:43:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:43:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:43:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:43:36] local.INFO: DEBUG: GPS processor result {"connection_id":107800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345862,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:43:36] local.INFO: GPS data processed {"connection_id":107800,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:43:36] local.INFO: Acknowledgment sent {"connection_id":107800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:43:38] local.INFO: TCP Data received {"connection_id":106233,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:43:38] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:43:38] local.INFO: IMEI packet received {"connection_id":106233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":106233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:43:39] local.INFO: TCP Data received {"connection_id":106233,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:43:39] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:43:39] local.INFO: Packet analysis {"connection_id":106233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:43:39] local.INFO: Extracted packet for processing {"connection_id":106233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:43:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:43:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":106233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:43:39] local.INFO: GPS data processed {"connection_id":106233,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:43:39] local.INFO: Acknowledgment sent {"connection_id":106233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:44:05] local.INFO: TCP Data received {"connection_id":106056,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:44:05] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:44:05] local.INFO: IMEI packet received {"connection_id":106056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":106056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:44:10] local.INFO: TCP Data received {"connection_id":106056,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:44:10] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:44:10] local.INFO: IMEI packet received {"connection_id":106056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":106056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:44:10] local.INFO: TCP Data received {"connection_id":106056,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:44:10] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:44:10] local.INFO: Packet analysis {"connection_id":106056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:44:10] local.INFO: Extracted packet for processing {"connection_id":106056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:44:10] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:44:10] 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-06-18 18:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:44:10] 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-06-18 18:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:44:10] 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-06-18 18:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:44:10] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:44:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":106056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345864,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:44:11] local.INFO: GPS data processed {"connection_id":106056,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:44:11] local.INFO: Acknowledgment sent {"connection_id":106056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:44:11] local.INFO: TCP Data received {"connection_id":106233,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:11] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:11] local.INFO: Packet analysis {"connection_id":106233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:44:11] local.INFO: Extracted packet for processing {"connection_id":106233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:44:11] 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-06-18 18:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:44:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":106233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:44:11] local.INFO: GPS data processed {"connection_id":106233,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:44:11] local.INFO: Acknowledgment sent {"connection_id":106233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:44:15] local.INFO: TCP Data received {"connection_id":106056,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:44:15] local.INFO: Processing buffer {"connection_id":106056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:44:15] local.INFO: Packet analysis {"connection_id":106056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:44:15] local.INFO: Extracted packet for processing {"connection_id":106056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:44:15] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:15] 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-06-18 18:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:44:15] 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-06-18 18:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:44:15] 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-06-18 18:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:44:15] 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-06-18 18:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:44:15] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:44:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":106056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345866,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:44:15] local.INFO: GPS data processed {"connection_id":106056,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:44:15] local.INFO: Acknowledgment sent {"connection_id":106056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:44:38] local.INFO: TCP Data received {"connection_id":107801,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:44:38] local.INFO: Processing buffer {"connection_id":107801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:44:38] local.INFO: IMEI packet received {"connection_id":107801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":107801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:44:38] local.INFO: TCP Data received {"connection_id":106831,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:44:38] local.INFO: Processing buffer {"connection_id":106831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:44:38] local.INFO: IMEI packet received {"connection_id":106831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":106831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:44:39] local.INFO: TCP Data received {"connection_id":106831,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd6538012cc61e00074e1990000e014d2f..."} 
[2026-06-18 18:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd6538012cc61e00074e1990000e014d2f..."} 
[2026-06-18 18:44:39] local.INFO: Processing buffer {"connection_id":106831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd6538012cc61e00074e1990000e014d2f..."} 
[2026-06-18 18:44:39] local.INFO: Packet analysis {"connection_id":106831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:44:39] local.INFO: Extracted packet for processing {"connection_id":106831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:44:39] local.INFO: GPS Element Parsed {"raw_longitude":751181312,"raw_latitude":122558864,"longitude_deg":75.1181312,"latitude_deg":12.2558864,"altitude":14,"angle":333,"satellites":47,"speed":56,"hex_longitude":"2cc61e00","hex_latitude":"074e1990","is_valid_coordinates":true} 
[2026-06-18 18:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137829376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318811552616546304,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4166533311386615808,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44: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-06-18 18:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788403000,"timestamp_ms":1781788403000,"timestamp_seconds":1781788403,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd6538"} 
[2026-06-18 18:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:44: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-06-18 18:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 18:44:39] 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-06-18 18:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137829376001,"66":27865,"121":206,"85":37632,"24":56,"16":318811552616546304,"44":-4166533311386615808},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-06-18 18:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137829376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:44:39] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318811552616546304,"km_value":318811552616546.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:44:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4166533311386615808,"description":"Unknown IO ID 44"} 
[2026-06-18 18:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137829376001,"power":27865,"unknown_121":206,"unknown_85":37632,"ignition":56,"odometer":null,"unknown_44":-4166533311386615808}} 
[2026-06-18 18:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":106831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:44:39] local.INFO: GPS data processed {"connection_id":106831,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:44:39] local.INFO: Acknowledgment sent {"connection_id":106831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:44:43] local.INFO: TCP Data received {"connection_id":107801,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:44:43] local.INFO: Processing buffer {"connection_id":107801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:44:43] local.INFO: IMEI packet received {"connection_id":107801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":107801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:44:44] local.INFO: TCP Data received {"connection_id":107801,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:44] local.INFO: Processing buffer {"connection_id":107801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:44] local.INFO: Packet analysis {"connection_id":107801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:44:44] local.INFO: Extracted packet for processing {"connection_id":107801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:44:44] 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-06-18 18:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:44:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:44:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":107801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345868,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:44:44] local.INFO: GPS data processed {"connection_id":107801,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:44:44] local.INFO: Acknowledgment sent {"connection_id":107801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:44:49] local.INFO: TCP Data received {"connection_id":107801,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:49] local.INFO: Processing buffer {"connection_id":107801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:44:49] local.INFO: Packet analysis {"connection_id":107801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:44:49] local.INFO: Extracted packet for processing {"connection_id":107801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:44:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:44:49] 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-06-18 18:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:44:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:44:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":107801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:44:49] local.INFO: GPS data processed {"connection_id":107801,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:44:49] local.INFO: Acknowledgment sent {"connection_id":107801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:44:49] local.INFO: TCP Data received {"connection_id":106234,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106234,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:44:49] local.INFO: Processing buffer {"connection_id":106234,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:44:49] local.INFO: IMEI packet received {"connection_id":106234,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":106234,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:44:51] local.INFO: TCP Data received {"connection_id":106234,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edadb32b8012d19ca4007201ed0003301352e..."} 
[2026-06-18 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadb32b8012d19ca4007201ed0003301352e..."} 
[2026-06-18 18:44:51] local.INFO: Processing buffer {"connection_id":106234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadb32b8012d19ca4007201ed0003301352e..."} 
[2026-06-18 18:44:51] local.INFO: Packet analysis {"connection_id":106234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadb"} 
[2026-06-18 18:44:51] local.INFO: Extracted packet for processing {"connection_id":106234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadb"} 
[2026-06-18 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756664896,"raw_latitude":119545552,"longitude_deg":75.6664896,"latitude_deg":11.9545552,"altitude":51,"angle":309,"satellites":46,"speed":10,"hex_longitude":"2d19ca40","hex_latitude":"07201ed0","is_valid_coordinates":true} 
[2026-06-18 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137793792001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351667923746816,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858790408056627200,"note":"Value kept but may cause issues"} 
[2026-06-18 18:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781788259000,"timestamp_ms":1781788259000,"timestamp_seconds":1781788259,"priority":1,"record_length":96,"hex_timestamp":"0000019edadb32b8"} 
[2026-06-18 18:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 18:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137793792001,"66":13624,"121":206,"28":31744,"24":10,"16":3351667923746816,"45":1858790408056627200},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137793792001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:44:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:44:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351667923746816,"km_value":3351667923746.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858790408056627200,"description":"Unknown IO ID 45"} 
[2026-06-18 18:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137793792001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1858790408056627200}} 
[2026-06-18 18:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":106234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:44:51] local.INFO: GPS data processed {"connection_id":106234,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:44:51] local.INFO: Acknowledgment sent {"connection_id":106234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:45:00] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:45:00] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:45:00] local.INFO: IMEI packet received {"connection_id":106057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":106057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:45:05] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:45:05] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:45:05] local.INFO: IMEI packet received {"connection_id":106057,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":106057,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:45:06] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:45:06] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:45:06] local.INFO: Packet analysis {"connection_id":106057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:45:06] local.INFO: Extracted packet for processing {"connection_id":106057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:45:06] 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-06-18 18:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:45:06] 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-06-18 18:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:45:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":106057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345871,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:45:06] local.INFO: GPS data processed {"connection_id":106057,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:45:06] local.INFO: Acknowledgment sent {"connection_id":106057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:45:23] local.INFO: TCP Data received {"connection_id":106234,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edadb36a0012d19c98007201fd8003301502e..."} 
[2026-06-18 18:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadb36a0012d19c98007201fd8003301502e..."} 
[2026-06-18 18:45:23] local.INFO: Processing buffer {"connection_id":106234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadb36a0012d19c98007201fd8003301502e..."} 
[2026-06-18 18:45:23] local.INFO: Packet analysis {"connection_id":106234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadb"} 
[2026-06-18 18:45:23] local.INFO: Extracted packet for processing {"connection_id":106234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadb"} 
[2026-06-18 18:45:23] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119545816,"longitude_deg":75.6664704,"latitude_deg":11.9545816,"altitude":51,"angle":336,"satellites":46,"speed":13,"hex_longitude":"2d19c980","hex_latitude":"07201fd8","is_valid_coordinates":true} 
[2026-06-18 18:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:45:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137794304001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351685103616000,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858368195591589888,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:45:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781788260000,"timestamp_ms":1781788260000,"timestamp_seconds":1781788260,"priority":1,"record_length":96,"hex_timestamp":"0000019edadb36a0"} 
[2026-06-18 18:45:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:45:23] 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-06-18 18:45:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-18 18:45:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:45:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:45:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:45:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:45:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:45:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:45:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106234,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:45:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:45:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:45:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:45:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137794304001,"66":13624,"121":206,"28":31744,"24":13,"16":3351685103616000,"45":1858368195591589888},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:45:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:45:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:45:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137794304001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:45:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:45:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:45:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351685103616000,"km_value":3351685103616,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:45:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858368195591589888,"description":"Unknown IO ID 45"} 
[2026-06-18 18:45:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137794304001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1858368195591589888}} 
[2026-06-18 18:45:23] local.INFO: DEBUG: GPS processor result {"connection_id":106234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:45:23] local.INFO: GPS data processed {"connection_id":106234,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:45:23] local.INFO: Acknowledgment sent {"connection_id":106234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:45:24] local.INFO: TCP Data received {"connection_id":106058,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:45:24] local.INFO: Processing buffer {"connection_id":106058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:45:24] local.INFO: IMEI packet received {"connection_id":106058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":106058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:45:29] local.INFO: TCP Data received {"connection_id":106058,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:45:29] local.INFO: Processing buffer {"connection_id":106058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:45:29] local.INFO: IMEI packet received {"connection_id":106058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":106058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:45:30] local.INFO: TCP Data received {"connection_id":106058,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd7ca8012cc60f40074e39a0000d015031..."} 
[2026-06-18 18:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd7ca8012cc60f40074e39a0000d015031..."} 
[2026-06-18 18:45:30] local.INFO: Processing buffer {"connection_id":106058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd7ca8012cc60f40074e39a0000d015031..."} 
[2026-06-18 18:45:30] local.INFO: Packet analysis {"connection_id":106058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:45:30] local.INFO: Extracted packet for processing {"connection_id":106058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:45:30] local.INFO: GPS Element Parsed {"raw_longitude":751177536,"raw_latitude":122567072,"longitude_deg":75.1177536,"latitude_deg":12.2567072,"altitude":13,"angle":336,"satellites":49,"speed":61,"hex_longitude":"2cc60f40","hex_latitude":"074e39a0","is_valid_coordinates":true} 
[2026-06-18 18:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137831168001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318811990703210496,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4170896173523431424,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:30] 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-06-18 18:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781788409000,"timestamp_ms":1781788409000,"timestamp_seconds":1781788409,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd7ca8"} 
[2026-06-18 18:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:45: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-06-18 18:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 18:45: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-06-18 18:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:45: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-06-18 18:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137831168001,"66":27865,"121":206,"85":37632,"24":61,"16":318811990703210496,"44":-4170896173523431424},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-06-18 18:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137831168001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:45:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318811990703210496,"km_value":318811990703210.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4170896173523431424,"description":"Unknown IO ID 44"} 
[2026-06-18 18:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137831168001,"power":27865,"unknown_121":206,"unknown_85":37632,"ignition":61,"odometer":null,"unknown_44":-4170896173523431424}} 
[2026-06-18 18:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":106058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:45:30] local.INFO: GPS data processed {"connection_id":106058,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:45:30] local.INFO: Acknowledgment sent {"connection_id":106058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:45:33] local.INFO: TCP Data received {"connection_id":106235,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:45:33] local.INFO: Processing buffer {"connection_id":106235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:45:33] local.INFO: IMEI packet received {"connection_id":106235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":106235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:45:37] local.INFO: TCP Data received {"connection_id":106057,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:45:37] local.INFO: Processing buffer {"connection_id":106057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:45:37] local.INFO: Packet analysis {"connection_id":106057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:45:37] local.INFO: Extracted packet for processing {"connection_id":106057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:37] 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-06-18 18:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:45:37] 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-06-18 18:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106057,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:45:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:45:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":106057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345874,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:45:37] local.INFO: GPS data processed {"connection_id":106057,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:45:37] local.INFO: Acknowledgment sent {"connection_id":106057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:45:38] local.INFO: TCP Data received {"connection_id":106235,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:45:38] local.INFO: Processing buffer {"connection_id":106235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:45:38] local.INFO: IMEI packet received {"connection_id":106235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":106235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:45:39] local.INFO: TCP Data received {"connection_id":106235,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:45:39] local.INFO: Processing buffer {"connection_id":106235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edada5410012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:45:39] local.INFO: Packet analysis {"connection_id":106235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:45:39] local.INFO: Extracted packet for processing {"connection_id":106235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edada"} 
[2026-06-18 18:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137702656001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788202000,"timestamp_ms":1781788202000,"timestamp_seconds":1781788202,"priority":1,"record_length":96,"hex_timestamp":"0000019edada5410"} 
[2026-06-18 18:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":129,"data_length":795,"current_offset":136} 
[2026-06-18 18:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137702656001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137702656001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:45:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:45:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137702656001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":106235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:45:39] local.INFO: GPS data processed {"connection_id":106235,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:45:39] local.INFO: Acknowledgment sent {"connection_id":106235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:45:44] local.INFO: TCP Data received {"connection_id":106059,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:45:44] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:45:44] local.INFO: IMEI packet received {"connection_id":106059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":106059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:45:49] local.INFO: TCP Data received {"connection_id":106059,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:45:49] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:45:49] local.INFO: IMEI packet received {"connection_id":106059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":106059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:45:50] local.INFO: TCP Data received {"connection_id":106059,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edadb4640012d19c70007202490003401382d..."} 
[2026-06-18 18:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadb4640012d19c70007202490003401382d..."} 
[2026-06-18 18:45:50] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadb4640012d19c70007202490003401382d..."} 
[2026-06-18 18:45:50] local.INFO: Packet analysis {"connection_id":106059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadb"} 
[2026-06-18 18:45:50] local.INFO: Extracted packet for processing {"connection_id":106059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadb"} 
[2026-06-18 18:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756664064,"raw_latitude":119547024,"longitude_deg":75.6664064,"latitude_deg":11.9547024,"altitude":52,"angle":312,"satellites":45,"speed":8,"hex_longitude":"2d19c700","hex_latitude":"07202490","is_valid_coordinates":true} 
[2026-06-18 18:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137794560001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351749528125440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089359124480,"note":"Value kept but may cause issues"} 
[2026-06-18 18:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781788264000,"timestamp_ms":1781788264000,"timestamp_seconds":1781788264,"priority":1,"record_length":96,"hex_timestamp":"0000019edadb4640"} 
[2026-06-18 18:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-18 18:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137794560001,"66":13319,"121":206,"28":31744,"24":8,"16":3351749528125440,"45":1858157089359124480},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137794560001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:45:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:45:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351749528125440,"km_value":3351749528125.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089359124480,"description":"Unknown IO ID 45"} 
[2026-06-18 18:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137794560001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1858157089359124480}} 
[2026-06-18 18:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":106059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:45:50] local.INFO: GPS data processed {"connection_id":106059,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:45:50] local.INFO: Acknowledgment sent {"connection_id":106059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:00] local.INFO: TCP Data received {"connection_id":106832,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:46:00] local.INFO: Processing buffer {"connection_id":106832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:46:00] local.INFO: IMEI packet received {"connection_id":106832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":106832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:46:01] local.INFO: TCP Data received {"connection_id":106058,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd9418012cc60100074e59b0000d014f31..."} 
[2026-06-18 18:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd9418012cc60100074e59b0000d014f31..."} 
[2026-06-18 18:46:01] local.INFO: Processing buffer {"connection_id":106058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd9418012cc60100074e59b0000d014f31..."} 
[2026-06-18 18:46:01] local.INFO: Packet analysis {"connection_id":106058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:46:01] local.INFO: Extracted packet for processing {"connection_id":106058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:46:01] local.INFO: GPS Element Parsed {"raw_longitude":751173888,"raw_latitude":122575280,"longitude_deg":75.1173888,"latitude_deg":12.257528,"altitude":13,"angle":335,"satellites":49,"speed":57,"hex_longitude":"2cc60100","hex_latitude":"074e59b0","is_valid_coordinates":true} 
[2026-06-18 18:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137832704001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318812424494907392,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4175047929427812352,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:01] 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-06-18 18:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781788415000,"timestamp_ms":1781788415000,"timestamp_seconds":1781788415,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd9418"} 
[2026-06-18 18:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 18:46: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-06-18 18:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137832704001,"66":27745,"121":206,"85":37632,"24":57,"16":318812424494907392,"44":-4175047929427812352},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,44]} 
[2026-06-18 18:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137832704001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318812424494907392,"km_value":318812424494907.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4175047929427812352,"description":"Unknown IO ID 44"} 
[2026-06-18 18:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137832704001,"power":27745,"unknown_121":206,"unknown_85":37632,"ignition":57,"odometer":null,"unknown_44":-4175047929427812352}} 
[2026-06-18 18:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":106058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:01] local.INFO: GPS data processed {"connection_id":106058,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:01] local.INFO: Acknowledgment sent {"connection_id":106058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:05] local.INFO: TCP Data received {"connection_id":106832,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106832,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:46:05] local.INFO: Processing buffer {"connection_id":106832,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:46:05] local.INFO: IMEI packet received {"connection_id":106832,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":106832,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:46:06] local.INFO: TCP Data received {"connection_id":106832,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:46:06] local.INFO: Processing buffer {"connection_id":106832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:46:06] local.INFO: Packet analysis {"connection_id":106832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:46:06] local.INFO: Extracted packet for processing {"connection_id":106832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46:06] 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-06-18 18:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:46:06] 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-06-18 18:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":106832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345878,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:06] local.INFO: GPS data processed {"connection_id":106832,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:06] local.INFO: Acknowledgment sent {"connection_id":106832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:11] local.INFO: TCP Data received {"connection_id":106235,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:46:11] local.INFO: Processing buffer {"connection_id":106235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:46:11] local.INFO: Packet analysis {"connection_id":106235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:46:11] local.INFO: Extracted packet for processing {"connection_id":106235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":106235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:11] local.INFO: GPS data processed {"connection_id":106235,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:11] local.INFO: Acknowledgment sent {"connection_id":106235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:22] local.INFO: TCP Data received {"connection_id":106059,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edadecc98012d19c4c007202808003401382b..."} 
[2026-06-18 18:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadecc98012d19c4c007202808003401382b..."} 
[2026-06-18 18:46:22] local.INFO: Processing buffer {"connection_id":106059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadecc98012d19c4c007202808003401382b..."} 
[2026-06-18 18:46:22] local.INFO: Packet analysis {"connection_id":106059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:46:22] local.INFO: Extracted packet for processing {"connection_id":106059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137849344001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788495000,"timestamp_ms":1781788495000,"timestamp_seconds":1781788495,"priority":1,"record_length":96,"hex_timestamp":"0000019edadecc98"} 
[2026-06-18 18:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-18 18:46:22] 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-06-18 18:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137849344001,"66":12667,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137849344001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:46:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137849344001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":106059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:22] local.INFO: GPS data processed {"connection_id":106059,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:22] local.INFO: Acknowledgment sent {"connection_id":106059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:29] local.INFO: TCP Data received {"connection_id":106236,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:46:29] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:46:29] local.INFO: IMEI packet received {"connection_id":106236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":106236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:46:33] local.INFO: TCP Data received {"connection_id":106237,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:46:33] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:46:33] local.INFO: IMEI packet received {"connection_id":106237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":106237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:46:33] local.INFO: TCP Data received {"connection_id":106236,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:46:33] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:46:33] local.INFO: IMEI packet received {"connection_id":106236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":106236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:46:34] local.INFO: TCP Data received {"connection_id":106236,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edadf3228012cc57d80074fc160000e014d31..."} 
[2026-06-18 18:46:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadf3228012cc57d80074fc160000e014d31..."} 
[2026-06-18 18:46:34] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadf3228012cc57d80074fc160000e014d31..."} 
[2026-06-18 18:46:34] local.INFO: Packet analysis {"connection_id":106236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:46:34] local.INFO: Extracted packet for processing {"connection_id":106236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:46:34] local.INFO: GPS Element Parsed {"raw_longitude":751140224,"raw_latitude":122667360,"longitude_deg":75.1140224,"latitude_deg":12.266736,"altitude":14,"angle":333,"satellites":49,"speed":22,"hex_longitude":"2cc57d80","hex_latitude":"074fc160","is_valid_coordinates":true} 
[2026-06-18 18:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:46:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137857536001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318817187613638656,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4211639676376553472,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:34] 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-06-18 18:46:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781788521000,"timestamp_ms":1781788521000,"timestamp_seconds":1781788521,"priority":1,"record_length":96,"hex_timestamp":"0000019edadf3228"} 
[2026-06-18 18:46:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:46:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 18:46: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-06-18 18:46:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:46:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:46:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:46:34] 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-06-18 18:46:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:46:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:46:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137857536001,"66":27908,"169":206,"85":37632,"24":22,"16":318817187613638656,"44":-4211639676376553472},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,44]} 
[2026-06-18 18:46:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:46:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:46:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137857536001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:34] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 18:46:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:46:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318817187613638656,"km_value":318817187613638.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4211639676376553472,"description":"Unknown IO ID 44"} 
[2026-06-18 18:46:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137857536001,"power":27908,"unknown_169":206,"unknown_85":37632,"ignition":22,"odometer":null,"unknown_44":-4211639676376553472}} 
[2026-06-18 18:46:34] local.INFO: DEBUG: GPS processor result {"connection_id":106236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:34] local.INFO: GPS data processed {"connection_id":106236,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:34] local.INFO: Acknowledgment sent {"connection_id":106236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:35] local.INFO: TCP Data received {"connection_id":106236,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edadf68d8012cc56cc0074fe2100010014c31..."} 
[2026-06-18 18:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadf68d8012cc56cc0074fe2100010014c31..."} 
[2026-06-18 18:46:35] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadf68d8012cc56cc0074fe2100010014c31..."} 
[2026-06-18 18:46:35] local.INFO: Packet analysis {"connection_id":106236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:46:35] local.INFO: Extracted packet for processing {"connection_id":106236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:46:35] local.INFO: GPS Element Parsed {"raw_longitude":751135936,"raw_latitude":122675728,"longitude_deg":75.1135936,"latitude_deg":12.2675728,"altitude":16,"angle":332,"satellites":49,"speed":31,"hex_longitude":"2cc56cc0","hex_latitude":"074fe210","is_valid_coordinates":true} 
[2026-06-18 18:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137861376001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318817638585204736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4216072907257716736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:35] 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-06-18 18:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781788535000,"timestamp_ms":1781788535000,"timestamp_seconds":1781788535,"priority":1,"record_length":96,"hex_timestamp":"0000019edadf68d8"} 
[2026-06-18 18:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46: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-06-18 18:46:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 18:46:35] 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-06-18 18:46:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:46: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-06-18 18:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137861376001,"66":27865,"171":206,"85":37632,"24":31,"16":318817638585204736,"44":-4216072907257716736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-18 18:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137861376001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-18 18:46:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318817638585204736,"km_value":318817638585204.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4216072907257716736,"description":"Unknown IO ID 44"} 
[2026-06-18 18:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137861376001,"power":27865,"unknown_171":206,"unknown_85":37632,"ignition":31,"odometer":null,"unknown_44":-4216072907257716736}} 
[2026-06-18 18:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":106236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:35] local.INFO: GPS data processed {"connection_id":106236,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:35] local.INFO: Acknowledgment sent {"connection_id":106236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:37] local.INFO: TCP Data received {"connection_id":106832,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:46:37] local.INFO: Processing buffer {"connection_id":106832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:46:37] local.INFO: Packet analysis {"connection_id":106832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:46:37] local.INFO: Extracted packet for processing {"connection_id":106832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:37] 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-06-18 18:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:46:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:46:37] 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-06-18 18:46:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106832,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:46:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":106832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345883,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:37] local.INFO: GPS data processed {"connection_id":106832,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:37] local.INFO: Acknowledgment sent {"connection_id":106832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:38] local.INFO: TCP Data received {"connection_id":106237,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:46:38] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:46:38] local.INFO: IMEI packet received {"connection_id":106237,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":106237,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:46:40] local.INFO: TCP Data received {"connection_id":106237,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:46:40] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:46:40] local.INFO: Packet analysis {"connection_id":106237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:46:40] local.INFO: Extracted packet for processing {"connection_id":106237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:46:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":106237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:40] local.INFO: GPS data processed {"connection_id":106237,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:40] local.INFO: Acknowledgment sent {"connection_id":106237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:46:44] local.INFO: TCP Data received {"connection_id":107802,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:46:44] local.INFO: Processing buffer {"connection_id":107802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:46:44] local.INFO: IMEI packet received {"connection_id":107802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":107802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:46:49] local.INFO: TCP Data received {"connection_id":107802,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:46:49] local.INFO: Processing buffer {"connection_id":107802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:46:49] local.INFO: IMEI packet received {"connection_id":107802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":107802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:46:51] local.INFO: TCP Data received {"connection_id":107802,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edadf1ea0012d19c4c007202808003401382a..."} 
[2026-06-18 18:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadf1ea0012d19c4c007202808003401382a..."} 
[2026-06-18 18:46:51] local.INFO: Processing buffer {"connection_id":107802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadf1ea0012d19c4c007202808003401382a..."} 
[2026-06-18 18:46:51] local.INFO: Packet analysis {"connection_id":107802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:46:51] local.INFO: Extracted packet for processing {"connection_id":107802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:46:51] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:46:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137854720001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:46:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:46:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781788516000,"timestamp_ms":1781788516000,"timestamp_seconds":1781788516,"priority":1,"record_length":96,"hex_timestamp":"0000019edadf1ea0"} 
[2026-06-18 18:46:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:46:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:46:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 18:46:51] 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-06-18 18:46:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:46:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:46:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:46:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:46:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:46:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:46:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:46:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:46:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:46:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137854720001,"66":12591,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:46:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:46:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:46:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137854720001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:46:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:46:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:46:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:46:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:46:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137854720001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":107802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:46:51] local.INFO: GPS data processed {"connection_id":107802,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:46:51] local.INFO: Acknowledgment sent {"connection_id":107802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:00] local.INFO: TCP Data received {"connection_id":106833,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:00] local.INFO: Processing buffer {"connection_id":106833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:00] local.INFO: IMEI packet received {"connection_id":106833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":106833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:47:05] local.INFO: TCP Data received {"connection_id":106833,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106833,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:05] local.INFO: Processing buffer {"connection_id":106833,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:05] local.INFO: IMEI packet received {"connection_id":106833,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":106833,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:47:06] local.INFO: TCP Data received {"connection_id":106833,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:47:06] local.INFO: Processing buffer {"connection_id":106833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:47:06] local.INFO: Packet analysis {"connection_id":106833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:47:06] local.INFO: Extracted packet for processing {"connection_id":106833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:47:06] 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-06-18 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:47:06] 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-06-18 18: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-06-18 18:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:47:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":106833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345886,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:47:06] local.INFO: GPS data processed {"connection_id":106833,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:47:06] local.INFO: Acknowledgment sent {"connection_id":106833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:06] local.INFO: TCP Data received {"connection_id":106236,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edadf8fe8012cc55d00075001180014014f2f..."} 
[2026-06-18 18:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadf8fe8012cc55d00075001180014014f2f..."} 
[2026-06-18 18:47:06] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadf8fe8012cc55d00075001180014014f2f..."} 
[2026-06-18 18:47:06] local.INFO: Packet analysis {"connection_id":106236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:47:06] local.INFO: Extracted packet for processing {"connection_id":106236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":751131904,"raw_latitude":122683672,"longitude_deg":75.1131904,"latitude_deg":12.2683672,"altitude":20,"angle":335,"satellites":47,"speed":35,"hex_longitude":"2cc55d00","hex_latitude":"07500118","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137864960001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318818072376901632,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4220787613115478016,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:06] 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-06-18 18:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788545000,"timestamp_ms":1781788545000,"timestamp_seconds":1781788545,"priority":1,"record_length":96,"hex_timestamp":"0000019edadf8fe8"} 
[2026-06-18 18:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 18:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:47: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-06-18 18:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137864960001,"66":27832,"171":206,"85":37632,"24":35,"16":318818072376901632,"44":-4220787613115478016},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-18 18:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137864960001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:47:06] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-18 18:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318818072376901632,"km_value":318818072376901.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:47:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4220787613115478016,"description":"Unknown IO ID 44"} 
[2026-06-18 18:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137864960001,"power":27832,"unknown_171":206,"unknown_85":37632,"ignition":35,"odometer":null,"unknown_44":-4220787613115478016}} 
[2026-06-18 18:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":106236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:47:06] local.INFO: GPS data processed {"connection_id":106236,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:47:06] local.INFO: Acknowledgment sent {"connection_id":106236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:12] local.INFO: TCP Data received {"connection_id":106237,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:47:12] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:47:12] local.INFO: Packet analysis {"connection_id":106237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:47:12] local.INFO: Extracted packet for processing {"connection_id":106237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:47:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:47:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106237,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:47:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:47:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":106237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:47:12] local.INFO: GPS data processed {"connection_id":106237,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:47:12] local.INFO: Acknowledgment sent {"connection_id":106237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:23] local.INFO: TCP Data received {"connection_id":107802,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edadf70a8012d19c4c007202808003401382b..."} 
[2026-06-18 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadf70a8012d19c4c007202808003401382b..."} 
[2026-06-18 18:47:23] local.INFO: Processing buffer {"connection_id":107802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadf70a8012d19c4c007202808003401382b..."} 
[2026-06-18 18:47:23] local.INFO: Packet analysis {"connection_id":107802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:47:23] local.INFO: Extracted packet for processing {"connection_id":107802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137860096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781788537000,"timestamp_ms":1781788537000,"timestamp_seconds":1781788537,"priority":1,"record_length":96,"hex_timestamp":"0000019edadf70a8"} 
[2026-06-18 18:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:47:23] 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-06-18 18:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 18:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137860096001,"66":12526,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137860096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:47:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:47:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137860096001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":107802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:47:23] local.INFO: GPS data processed {"connection_id":107802,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:47:23] local.INFO: Acknowledgment sent {"connection_id":107802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:24] local.INFO: TCP Data received {"connection_id":106060,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:47:24] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:47:24] local.INFO: IMEI packet received {"connection_id":106060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":106060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:47:29] local.INFO: TCP Data received {"connection_id":106060,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:47:29] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:47:29] local.INFO: IMEI packet received {"connection_id":106060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":106060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:47:30] local.INFO: TCP Data received {"connection_id":106060,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edadfb6f8012cc54fc007502170001701542f..."} 
[2026-06-18 18:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadfb6f8012cc54fc007502170001701542f..."} 
[2026-06-18 18:47:30] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadfb6f8012cc54fc007502170001701542f..."} 
[2026-06-18 18:47:30] local.INFO: Packet analysis {"connection_id":106060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:47:30] local.INFO: Extracted packet for processing {"connection_id":106060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:47:30] local.INFO: GPS Element Parsed {"raw_longitude":751128512,"raw_latitude":122691952,"longitude_deg":75.1128512,"latitude_deg":12.2691952,"altitude":23,"angle":340,"satellites":47,"speed":36,"hex_longitude":"2cc54fc0","hex_latitude":"07502170","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137867520001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318818501873631232,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4225220843996637184,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:30] 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-06-18 18:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781788555000,"timestamp_ms":1781788555000,"timestamp_seconds":1781788555,"priority":1,"record_length":96,"hex_timestamp":"0000019edadfb6f8"} 
[2026-06-18 18:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 18:47: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-06-18 18: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-06-18 18:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:47: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-06-18 18:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137867520001,"66":27821,"171":206,"85":37632,"24":36,"16":318818501873631232,"44":-4225220843996637184},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-18 18:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137867520001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:47:30] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-18 18:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318818501873631232,"km_value":318818501873631.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4225220843996637184,"description":"Unknown IO ID 44"} 
[2026-06-18 18:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137867520001,"power":27821,"unknown_171":206,"unknown_85":37632,"ignition":36,"odometer":null,"unknown_44":-4225220843996637184}} 
[2026-06-18 18:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":106060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:47:30] local.INFO: GPS data processed {"connection_id":106060,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:47:30] local.INFO: Acknowledgment sent {"connection_id":106060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:33] local.INFO: TCP Data received {"connection_id":106834,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:47:33] local.INFO: Processing buffer {"connection_id":106834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:47:33] local.INFO: IMEI packet received {"connection_id":106834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:47:33] local.INFO: IMEI acknowledgment sent {"connection_id":106834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:47:37] local.INFO: TCP Data received {"connection_id":106833,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:47:37] local.INFO: Processing buffer {"connection_id":106833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:47:37] local.INFO: Packet analysis {"connection_id":106833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:47:37] local.INFO: Extracted packet for processing {"connection_id":106833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:37] 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-06-18 18:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:47:37] 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-06-18 18: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-06-18 18:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106833,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:47:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":106833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345891,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:47:37] local.INFO: GPS data processed {"connection_id":106833,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:47:37] local.INFO: Acknowledgment sent {"connection_id":106833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:38] local.INFO: TCP Data received {"connection_id":106834,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:47:38] local.INFO: Processing buffer {"connection_id":106834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:47:38] local.INFO: IMEI packet received {"connection_id":106834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":106834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:47:40] local.INFO: TCP Data received {"connection_id":106834,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:47:40] local.INFO: Processing buffer {"connection_id":106834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:47:40] local.INFO: Packet analysis {"connection_id":106834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:47:40] local.INFO: Extracted packet for processing {"connection_id":106834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:47:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:47:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":106834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:47:40] local.INFO: GPS data processed {"connection_id":106834,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:47:40] local.INFO: Acknowledgment sent {"connection_id":106834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:49] local.INFO: TCP Data received {"connection_id":107803,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:47:49] local.INFO: Processing buffer {"connection_id":107803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:47:49] local.INFO: IMEI packet received {"connection_id":107803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":107803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:47:54] local.INFO: TCP Data received {"connection_id":107803,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:47:54] local.INFO: Processing buffer {"connection_id":107803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:47:54] local.INFO: IMEI packet received {"connection_id":107803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":107803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:47:55] local.INFO: TCP Data received {"connection_id":107803,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edadfc2b0012d19c4c007202808003401382b..."} 
[2026-06-18 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadfc2b0012d19c4c007202808003401382b..."} 
[2026-06-18 18:47:55] local.INFO: Processing buffer {"connection_id":107803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadfc2b0012d19c4c007202808003401382b..."} 
[2026-06-18 18:47:55] local.INFO: Packet analysis {"connection_id":107803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:47:55] local.INFO: Extracted packet for processing {"connection_id":107803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137865472001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781788558000,"timestamp_ms":1781788558000,"timestamp_seconds":1781788558,"priority":1,"record_length":96,"hex_timestamp":"0000019edadfc2b0"} 
[2026-06-18 18:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:47: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-06-18 18:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 18:47:55] 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-06-18 18:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137865472001,"66":12548,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137865472001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:47:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137865472001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":107803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:47:55] local.INFO: GPS data processed {"connection_id":107803,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:47:55] local.INFO: Acknowledgment sent {"connection_id":107803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:47:59] local.INFO: TCP Data received {"connection_id":106061,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:59] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:47:59] local.INFO: IMEI packet received {"connection_id":106061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":106061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:48:00] local.INFO: TCP Data received {"connection_id":107803,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae014b8012d19c4c007202808003401382d..."} 
[2026-06-18 18:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae014b8012d19c4c007202808003401382d..."} 
[2026-06-18 18:48:00] local.INFO: Processing buffer {"connection_id":107803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae014b8012d19c4c007202808003401382d..."} 
[2026-06-18 18:48:00] local.INFO: Packet analysis {"connection_id":107803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:00] local.INFO: Extracted packet for processing {"connection_id":107803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137870848001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781788579000,"timestamp_ms":1781788579000,"timestamp_seconds":1781788579,"priority":1,"record_length":96,"hex_timestamp":"0000019edae014b8"} 
[2026-06-18 18:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3671971456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":40,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3732574209,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3221692456,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3899850752,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:00] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,232,112,45,192,40,52,43,10,66,30,42,204,1,240,123,218,32,4,113,205,196,8,239,49,2,11,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 18:48:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747338122283712512,"timestamp_seconds":3747338122283712.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 18:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137870848001,"66":12504,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137870848001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137870848001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":107803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:00] local.INFO: GPS data processed {"connection_id":107803,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:00] local.INFO: Acknowledgment sent {"connection_id":107803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:01] local.INFO: TCP Data received {"connection_id":106060,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edadfe1f0012cc5434007504530001601552f..."} 
[2026-06-18 18:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadfe1f0012cc5434007504530001601552f..."} 
[2026-06-18 18:48:01] local.INFO: Processing buffer {"connection_id":106060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadfe1f0012cc5434007504530001601552f..."} 
[2026-06-18 18:48:01] local.INFO: Packet analysis {"connection_id":106060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:48:01] local.INFO: Extracted packet for processing {"connection_id":106060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadf"} 
[2026-06-18 18:48:01] local.INFO: GPS Element Parsed {"raw_longitude":751125312,"raw_latitude":122701104,"longitude_deg":75.1125312,"latitude_deg":12.2701104,"altitude":22,"angle":341,"satellites":47,"speed":34,"hex_longitude":"2cc54340","hex_latitude":"07504530","is_valid_coordinates":true} 
[2026-06-18 18:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137870080001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318818974320033792,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4228950387435933696,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:01] 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-06-18 18:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781788566000,"timestamp_ms":1781788566000,"timestamp_seconds":1781788566,"priority":1,"record_length":96,"hex_timestamp":"0000019edadfe1f0"} 
[2026-06-18 18:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48: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-06-18 18:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 18:48: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-06-18 18:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137870080001,"66":27930,"171":206,"85":37632,"24":34,"16":318818974320033792,"44":-4228950387435933696},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-18 18:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137870080001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:01] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-18 18:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318818974320033792,"km_value":318818974320033.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4228950387435933696,"description":"Unknown IO ID 44"} 
[2026-06-18 18:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137870080001,"power":27930,"unknown_171":206,"unknown_85":37632,"ignition":34,"odometer":null,"unknown_44":-4228950387435933696}} 
[2026-06-18 18:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":106060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:01] local.INFO: GPS data processed {"connection_id":106060,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:01] local.INFO: Acknowledgment sent {"connection_id":106060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:05] local.INFO: TCP Data received {"connection_id":106061,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:48:05] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:48:05] local.INFO: IMEI packet received {"connection_id":106061,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":106061,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:48:06] local.INFO: TCP Data received {"connection_id":106061,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:48:06] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadd3658012d7e398005d34d500007002a2e..."} 
[2026-06-18 18:48:06] local.INFO: Packet analysis {"connection_id":106061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:48:06] local.INFO: Extracted packet for processing {"connection_id":106061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edadd"} 
[2026-06-18 18:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":46,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137751040001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788391000,"timestamp_ms":1781788391000,"timestamp_seconds":1781788391,"priority":1,"record_length":96,"hex_timestamp":"0000019edadd3658"} 
[2026-06-18 18:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:06] 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-06-18 18:48:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:06] 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-06-18 18:48:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137751040001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137751040001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137751040001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":106061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345896,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:06] local.INFO: GPS data processed {"connection_id":106061,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:06] local.INFO: Acknowledgment sent {"connection_id":106061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:12] local.INFO: TCP Data received {"connection_id":106834,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:12] local.INFO: Processing buffer {"connection_id":106834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:12] local.INFO: Packet analysis {"connection_id":106834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:48:12] local.INFO: Extracted packet for processing {"connection_id":106834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:48:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:48:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":106834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:12] local.INFO: GPS data processed {"connection_id":106834,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:12] local.INFO: Acknowledgment sent {"connection_id":106834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:24] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:48:24] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:48:24] local.INFO: IMEI packet received {"connection_id":106238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":106238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:48:36] local.INFO: TCP Data received {"connection_id":106061,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:48:36] local.INFO: Processing buffer {"connection_id":106061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:48:36] local.INFO: Packet analysis {"connection_id":106061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:48:36] local.INFO: Extracted packet for processing {"connection_id":106061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:36] 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-06-18 18:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:36] 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-06-18 18:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:36] 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-06-18 18:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106061,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:48:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:48:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":106061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:36] local.INFO: GPS data processed {"connection_id":106061,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:36] local.INFO: Acknowledgment sent {"connection_id":106061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:38] local.INFO: TCP Data received {"connection_id":106239,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:48:38] local.INFO: Processing buffer {"connection_id":106239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:48:38] local.INFO: IMEI packet received {"connection_id":106239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":106239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:48:38] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 18:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 18:48:38] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 18:48:38] local.INFO: IMEI packet received {"connection_id":106238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":106238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:48:39] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae00900012cc53680075067c8001501502e..."} 
[2026-06-18 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae00900012cc53680075067c8001501502e..."} 
[2026-06-18 18:48:39] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019eda..."} 
[2026-06-18 18:48:39] local.INFO: IMEI packet received {"connection_id":106238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":106238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:48:40] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae02c28012cc52680075089180013014f2f..."} 
[2026-06-18 18:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae02c28012cc52680075089180013014f2f..."} 
[2026-06-18 18:48:40] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019edae00900012cc53680075067c8001501502e..."} 
[2026-06-18 18:48:40] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:40] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":751122048,"raw_latitude":122709960,"longitude_deg":75.1122048,"latitude_deg":12.270996,"altitude":21,"angle":336,"satellites":46,"speed":40,"hex_longitude":"2cc53680","hex_latitude":"075067c8","is_valid_coordinates":true} 
[2026-06-18 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137872896001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318819429586567168,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4232468824642473984,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] 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-06-18 18:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781788576000,"timestamp_ms":1781788576000,"timestamp_seconds":1781788576,"priority":1,"record_length":96,"hex_timestamp":"0000019edae00900"} 
[2026-06-18 18:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 18:48: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-06-18 18:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137872896001,"66":27919,"171":206,"85":37632,"24":40,"16":318819429586567168,"44":-4232468824642473984},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137872896001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318819429586567168,"km_value":318819429586567.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4232468824642473984,"description":"Unknown IO ID 44"} 
[2026-06-18 18:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137872896001,"power":27919,"unknown_171":206,"unknown_85":37632,"ignition":40,"odometer":null,"unknown_44":-4232468824642473984}} 
[2026-06-18 18:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:40] local.INFO: GPS data processed {"connection_id":106238,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:40] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:40] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:40] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":751117952,"raw_latitude":122718488,"longitude_deg":75.1117952,"latitude_deg":12.2718488,"altitude":19,"angle":335,"satellites":47,"speed":45,"hex_longitude":"2cc52680","hex_latitude":"07508918","is_valid_coordinates":true} 
[2026-06-18 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137875456001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318819884853100544,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4236057630593267712,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] 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-06-18 18:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781788585000,"timestamp_ms":1781788585000,"timestamp_seconds":1781788585,"priority":1,"record_length":96,"hex_timestamp":"0000019edae02c28"} 
[2026-06-18 18:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137875456001,"66":27767,"171":206,"85":37632,"24":45,"16":318819884853100544,"44":-4236057630593267712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137875456001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318819884853100544,"km_value":318819884853100.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4236057630593267712,"description":"Unknown IO ID 44"} 
[2026-06-18 18:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137875456001,"power":27767,"unknown_171":206,"unknown_85":37632,"ignition":45,"odometer":null,"unknown_44":-4236057630593267712}} 
[2026-06-18 18:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:40] local.INFO: GPS data processed {"connection_id":106238,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:40] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:40] local.INFO: TCP Data received {"connection_id":106238,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae05338012cc519400750a9c00011015430..."} 
[2026-06-18 18:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae05338012cc519400750a9c00011015430..."} 
[2026-06-18 18:48:40] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae05338012cc519400750a9c00011015430..."} 
[2026-06-18 18:48:40] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:40] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":751114560,"raw_latitude":122726848,"longitude_deg":75.111456,"latitude_deg":12.2726848,"altitude":17,"angle":340,"satellites":48,"speed":20,"hex_longitude":"2cc51940","hex_latitude":"0750a9c0","is_valid_coordinates":true} 
[2026-06-18 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137877760001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318820322939764736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4240561230218455040,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:40] 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-06-18 18:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781788595000,"timestamp_ms":1781788595000,"timestamp_seconds":1781788595,"priority":1,"record_length":96,"hex_timestamp":"0000019edae05338"} 
[2026-06-18 18:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137877760001,"66":27800,"171":206,"85":37632,"24":20,"16":318820322939764736,"44":-4240561230218455040},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,85,24,16,44]} 
[2026-06-18 18:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137877760001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318820322939764736,"km_value":318820322939764.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4240561230218455040,"description":"Unknown IO ID 44"} 
[2026-06-18 18:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137877760001,"power":27800,"unknown_171":206,"unknown_85":37632,"ignition":20,"odometer":null,"unknown_44":-4240561230218455040}} 
[2026-06-18 18:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:40] local.INFO: GPS data processed {"connection_id":106238,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:40] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:42] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:42] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:42] local.INFO: IMEI packet received {"connection_id":106062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":106062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:48:43] local.INFO: TCP Data received {"connection_id":106239,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:48:43] local.INFO: Processing buffer {"connection_id":106239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:48:43] local.INFO: IMEI packet received {"connection_id":106239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":106239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:48:44] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:44] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:44] local.INFO: IMEI packet received {"connection_id":106062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":106062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:48:45] local.INFO: TCP Data received {"connection_id":106239,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:45] local.INFO: Processing buffer {"connection_id":106239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:45] local.INFO: Packet analysis {"connection_id":106239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:48:45] local.INFO: Extracted packet for processing {"connection_id":106239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:48:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:48:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:48:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:48:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:48:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:48:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:48:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":106239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:45] local.INFO: GPS data processed {"connection_id":106239,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:45] local.INFO: Acknowledgment sent {"connection_id":106239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:48] local.INFO: TCP Data received {"connection_id":106239,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:48] local.INFO: Processing buffer {"connection_id":106239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:48:48] local.INFO: Packet analysis {"connection_id":106239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:48:48] local.INFO: Extracted packet for processing {"connection_id":106239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:48:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:48:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":106239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345903,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:48] local.INFO: GPS data processed {"connection_id":106239,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:48] local.INFO: Acknowledgment sent {"connection_id":106239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:48:49] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:49] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:48:49] local.INFO: IMEI packet received {"connection_id":106062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":106062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:48:51] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae066c0012d19c4c007202808003401382d..."} 
[2026-06-18 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae066c0012d19c4c007202808003401382d..."} 
[2026-06-18 18:48:51] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae066c0012d19c4c007202808003401382d..."} 
[2026-06-18 18:48:51] local.INFO: Packet analysis {"connection_id":106062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:51] local.INFO: Extracted packet for processing {"connection_id":106062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137876224001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781788600000,"timestamp_ms":1781788600000,"timestamp_seconds":1781788600,"priority":1,"record_length":96,"hex_timestamp":"0000019edae066c0"} 
[2026-06-18 18:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 18:48:51] 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-06-18 18:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137876224001,"66":12504,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137876224001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:48:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:48:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137876224001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":106062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:48:51] local.INFO: GPS data processed {"connection_id":106062,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:48:51] local.INFO: Acknowledgment sent {"connection_id":106062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:49:00] local.INFO: TCP Data received {"connection_id":107804,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:49:00] local.INFO: Processing buffer {"connection_id":107804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:49:00] local.INFO: IMEI packet received {"connection_id":107804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":107804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:49:05] local.INFO: TCP Data received {"connection_id":107804,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107804,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:49:05] local.INFO: Processing buffer {"connection_id":107804,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:49:05] local.INFO: IMEI packet received {"connection_id":107804,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":107804,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:49:06] local.INFO: TCP Data received {"connection_id":107804,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:49:06] local.INFO: Processing buffer {"connection_id":107804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:49:06] local.INFO: Packet analysis {"connection_id":107804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:49:06] local.INFO: Extracted packet for processing {"connection_id":107804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:49:06] 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-06-18 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:49:06] 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-06-18 18: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-06-18 18:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:49:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":107804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345905,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:49:06] local.INFO: GPS data processed {"connection_id":107804,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:49:06] local.INFO: Acknowledgment sent {"connection_id":107804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:49:22] local.INFO: TCP Data received {"connection_id":106062,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae0b8c8012d19c4c007202808003401382d..."} 
[2026-06-18 18:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae0b8c8012d19c4c007202808003401382d..."} 
[2026-06-18 18:49:22] local.INFO: Processing buffer {"connection_id":106062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae0b8c8012d19c4c007202808003401382d..."} 
[2026-06-18 18:49:22] local.INFO: Packet analysis {"connection_id":106062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:49:22] local.INFO: Extracted packet for processing {"connection_id":106062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae0"} 
[2026-06-18 18:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137881600001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788621000,"timestamp_ms":1781788621000,"timestamp_seconds":1781788621,"priority":1,"record_length":96,"hex_timestamp":"0000019edae0b8c8"} 
[2026-06-18 18:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 18:49:22] 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-06-18 18: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-06-18 18:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137881600001,"66":12461,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137881600001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:49:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:49:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137881600001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":106062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345906,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:49:22] local.INFO: GPS data processed {"connection_id":106062,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:49:22] local.INFO: Acknowledgment sent {"connection_id":106062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:49:33] local.INFO: TCP Data received {"connection_id":107805,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:49:33] local.INFO: Processing buffer {"connection_id":107805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:49:33] local.INFO: IMEI packet received {"connection_id":107805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":107805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:49:34] local.INFO: TCP Data received {"connection_id":107806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:49:34] local.INFO: Processing buffer {"connection_id":107806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:49:34] local.INFO: IMEI packet received {"connection_id":107806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":107806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:49:37] local.INFO: TCP Data received {"connection_id":107804,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:49:37] local.INFO: Processing buffer {"connection_id":107804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:49:37] local.INFO: Packet analysis {"connection_id":107804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:49:37] local.INFO: Extracted packet for processing {"connection_id":107804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:37] 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-06-18 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:49:37] 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-06-18 18:49:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:49:37] 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-06-18 18:49:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107804,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:49:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":107804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:49:37] local.INFO: GPS data processed {"connection_id":107804,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:49:37] local.INFO: Acknowledgment sent {"connection_id":107804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:49:38] local.INFO: TCP Data received {"connection_id":107805,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:49:38] local.INFO: Processing buffer {"connection_id":107805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:49:38] local.INFO: IMEI packet received {"connection_id":107805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":107805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:49:39] local.INFO: TCP Data received {"connection_id":107806,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:49:39] local.INFO: Processing buffer {"connection_id":107806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:49:39] local.INFO: IMEI packet received {"connection_id":107806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":107806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:49:39] local.INFO: TCP Data received {"connection_id":107805,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:49:39] local.INFO: Processing buffer {"connection_id":107805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:49:39] local.INFO: Packet analysis {"connection_id":107805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:49:39] local.INFO: Extracted packet for processing {"connection_id":107805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:49: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-06-18 18:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:49:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":107805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:49:39] local.INFO: GPS data processed {"connection_id":107805,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:49:39] local.INFO: Acknowledgment sent {"connection_id":107805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:49:40] local.INFO: TCP Data received {"connection_id":107806,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1e1a8012cc48a4007522230000e014f31..."} 
[2026-06-18 18:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1e1a8012cc48a4007522230000e014f31..."} 
[2026-06-18 18:49:40] local.INFO: Processing buffer {"connection_id":107806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1e1a8012cc48a4007522230000e014f31..."} 
[2026-06-18 18:49:40] local.INFO: Packet analysis {"connection_id":107806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:49:40] local.INFO: Extracted packet for processing {"connection_id":107806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":751077952,"raw_latitude":122823216,"longitude_deg":75.1077952,"latitude_deg":12.2823216,"altitude":14,"angle":335,"satellites":49,"speed":59,"hex_longitude":"2cc48a40","hex_latitude":"07522230","is_valid_coordinates":true} 
[2026-06-18 18:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137904896001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318825313691762688,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:40] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4280530676886657024,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:40] 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-06-18 18:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781788697000,"timestamp_ms":1781788697000,"timestamp_seconds":1781788697,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1e1a8"} 
[2026-06-18 18:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 18:49: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-06-18 18:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137904896001,"66":27821,"185":206,"85":37632,"24":59,"16":318825313691762688,"44":-4280530676886657024},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-06-18 18:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137904896001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:49:40] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-18 18:49:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318825313691762688,"km_value":318825313691762.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:49:40] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4280530676886657024,"description":"Unknown IO ID 44"} 
[2026-06-18 18:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137904896001,"power":27821,"unknown_185":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4280530676886657024}} 
[2026-06-18 18:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":107806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:49:40] local.INFO: GPS data processed {"connection_id":107806,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:49:40] local.INFO: Acknowledgment sent {"connection_id":107806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:49:44] local.INFO: TCP Data received {"connection_id":107807,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:44] local.INFO: Processing buffer {"connection_id":107807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:44] local.INFO: IMEI packet received {"connection_id":107807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":107807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:49:45] local.INFO: TCP Data received {"connection_id":107807,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:45] local.INFO: Processing buffer {"connection_id":107807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:45] local.INFO: IMEI packet received {"connection_id":107807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":107807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:49:49] local.INFO: TCP Data received {"connection_id":107807,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:49] local.INFO: Processing buffer {"connection_id":107807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:49:49] local.INFO: IMEI packet received {"connection_id":107807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":107807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:49:51] local.INFO: TCP Data received {"connection_id":107807,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae10ad0012d19c4c007202808003401382c..."} 
[2026-06-18 18:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae10ad0012d19c4c007202808003401382c..."} 
[2026-06-18 18:49:51] local.INFO: Processing buffer {"connection_id":107807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae10ad0012d19c4c007202808003401382c..."} 
[2026-06-18 18:49:51] local.INFO: Packet analysis {"connection_id":107807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:49:51] local.INFO: Extracted packet for processing {"connection_id":107807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137886976001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781788642000,"timestamp_ms":1781788642000,"timestamp_seconds":1781788642,"priority":1,"record_length":96,"hex_timestamp":"0000019edae10ad0"} 
[2026-06-18 18:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 18:49:51] 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-06-18 18:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137886976001,"66":12439,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137886976001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:49:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:49:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137886976001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":107807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:49:51] local.INFO: GPS data processed {"connection_id":107807,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:49:51] local.INFO: Acknowledgment sent {"connection_id":107807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:50:00] local.INFO: TCP Data received {"connection_id":106240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:00] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:00] local.INFO: IMEI packet received {"connection_id":106240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":106240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:50:05] local.INFO: TCP Data received {"connection_id":106240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:05] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:05] local.INFO: IMEI packet received {"connection_id":106240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":106240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:50:06] local.INFO: TCP Data received {"connection_id":106240,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:50:06] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:50:06] local.INFO: Packet analysis {"connection_id":106240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:06] local.INFO: Extracted packet for processing {"connection_id":106240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:50:06] 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-06-18 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:50:06] 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-06-18 18: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-06-18 18:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:50:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":106240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345911,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:50:06] local.INFO: GPS data processed {"connection_id":106240,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:50:06] local.INFO: Acknowledgment sent {"connection_id":106240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:50:11] local.INFO: TCP Data received {"connection_id":107805,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:50:11] local.INFO: Processing buffer {"connection_id":107805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:50:11] local.INFO: Packet analysis {"connection_id":107805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:50:11] local.INFO: Extracted packet for processing {"connection_id":107805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:50:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":107805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:50:11] local.INFO: GPS data processed {"connection_id":107805,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:50:11] local.INFO: Acknowledgment sent {"connection_id":107805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:50:22] local.INFO: TCP Data received {"connection_id":107807,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae15cd8012d19c4c007202808003401382d..."} 
[2026-06-18 18:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae15cd8012d19c4c007202808003401382d..."} 
[2026-06-18 18:50:22] local.INFO: Processing buffer {"connection_id":107807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae15cd8012d19c4c007202808003401382d..."} 
[2026-06-18 18:50:22] local.INFO: Packet analysis {"connection_id":107807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:22] local.INFO: Extracted packet for processing {"connection_id":107807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":45,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137892352001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788663000,"timestamp_ms":1781788663000,"timestamp_seconds":1781788663,"priority":1,"record_length":96,"hex_timestamp":"0000019edae15cd8"} 
[2026-06-18 18:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 18:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137892352001,"66":12428,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137892352001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:50:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:50:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137892352001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":107807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:50:23] local.INFO: GPS data processed {"connection_id":107807,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:50:23] local.INFO: Acknowledgment sent {"connection_id":107807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:50:24] local.INFO: TCP Data received {"connection_id":106835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:24] local.INFO: Processing buffer {"connection_id":106835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:24] local.INFO: IMEI packet received {"connection_id":106835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":106835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:50:27] local.INFO: TCP Data received {"connection_id":106835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:27] local.INFO: Processing buffer {"connection_id":106835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:27] local.INFO: IMEI packet received {"connection_id":106835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":106835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:50:29] local.INFO: TCP Data received {"connection_id":106835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:29] local.INFO: Processing buffer {"connection_id":106835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:50:29] local.INFO: IMEI packet received {"connection_id":106835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":106835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:50:29] local.INFO: TCP Data received {"connection_id":106835,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1f918012cc47c0007524240000e015030..."} 
[2026-06-18 18:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1f918012cc47c0007524240000e015030..."} 
[2026-06-18 18:50:29] local.INFO: Processing buffer {"connection_id":106835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1f918012cc47c0007524240000e015030..."} 
[2026-06-18 18:50:29] local.INFO: Packet analysis {"connection_id":106835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:29] local.INFO: Extracted packet for processing {"connection_id":106835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:29] local.INFO: GPS Element Parsed {"raw_longitude":751074304,"raw_latitude":122831424,"longitude_deg":75.1074304,"latitude_deg":12.2831424,"altitude":14,"angle":336,"satellites":48,"speed":59,"hex_longitude":"2cc47c00","hex_latitude":"07524240","is_valid_coordinates":true} 
[2026-06-18 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-06-18 18:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137906432001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318825747483459584,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4284541695302684672,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:29] 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-06-18 18:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781788703000,"timestamp_ms":1781788703000,"timestamp_seconds":1781788703,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1f918"} 
[2026-06-18 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-06-18 18:50: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-06-18 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 18: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-06-18 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-06-18 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-06-18 18:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:50:29] 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-06-18 18:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137906432001,"66":27908,"185":206,"85":37632,"24":59,"16":318825747483459584,"44":-4284541695302684672},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-06-18 18:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137906432001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:50:29] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-18 18:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318825747483459584,"km_value":318825747483459.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4284541695302684672,"description":"Unknown IO ID 44"} 
[2026-06-18 18:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137906432001,"power":27908,"unknown_185":206,"unknown_85":37632,"ignition":59,"odometer":null,"unknown_44":-4284541695302684672}} 
[2026-06-18 18:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":106835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:50:29] local.INFO: GPS data processed {"connection_id":106835,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:50:29] local.INFO: Acknowledgment sent {"connection_id":106835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:50:33] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:50:33] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:50:33] local.INFO: IMEI packet received {"connection_id":106063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":106063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:50:37] local.INFO: TCP Data received {"connection_id":106240,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:50:37] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:50:37] local.INFO: Packet analysis {"connection_id":106240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:37] local.INFO: Extracted packet for processing {"connection_id":106240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:37] 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-06-18 18:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:50:37] 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-06-18 18:50:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:50:37] 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-06-18 18:50:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:50:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:50:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":106240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345915,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:50:37] local.INFO: GPS data processed {"connection_id":106240,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:50:37] local.INFO: Acknowledgment sent {"connection_id":106240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:50:38] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:50:38] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:50:38] local.INFO: IMEI packet received {"connection_id":106063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":106063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:50:39] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:50:39] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edadeebd8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:50:39] local.INFO: Packet analysis {"connection_id":106063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:50:39] local.INFO: Extracted packet for processing {"connection_id":106063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edade"} 
[2026-06-18 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137779712001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788503000,"timestamp_ms":1781788503000,"timestamp_seconds":1781788503,"priority":1,"record_length":96,"hex_timestamp":"0000019edadeebd8"} 
[2026-06-18 18:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:50: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-06-18 18:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137779712001,"66":25451,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137779712001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:50:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137779712001,"power":25451,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":106063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:50:39] local.INFO: GPS data processed {"connection_id":106063,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:50:39] local.INFO: Acknowledgment sent {"connection_id":106063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:50:44] local.INFO: TCP Data received {"connection_id":106241,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:50:44] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:50:44] local.INFO: IMEI packet received {"connection_id":106241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":106241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:50:49] local.INFO: TCP Data received {"connection_id":106241,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:50:49] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:50:49] local.INFO: IMEI packet received {"connection_id":106241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":106241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:50:51] local.INFO: TCP Data received {"connection_id":106241,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1aee0012d19c4c007202808003401382c..."} 
[2026-06-18 18:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1aee0012d19c4c007202808003401382c..."} 
[2026-06-18 18:50:51] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1aee0012d19c4c007202808003401382c..."} 
[2026-06-18 18:50:51] local.INFO: Packet analysis {"connection_id":106241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:51] local.INFO: Extracted packet for processing {"connection_id":106241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137897728001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781788684000,"timestamp_ms":1781788684000,"timestamp_seconds":1781788684,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1aee0"} 
[2026-06-18 18:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 18:50:51] 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-06-18 18:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137897728001,"66":12406,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137897728001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:50:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137897728001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":106241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:50:51] local.INFO: GPS data processed {"connection_id":106241,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:50:51] local.INFO: Acknowledgment sent {"connection_id":106241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:50:59] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:59] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:50:59] local.INFO: IMEI packet received {"connection_id":106242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":106242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:51:01] local.INFO: TCP Data received {"connection_id":106835,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae21470012cc46b8007526738000e015030..."} 
[2026-06-18 18:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae21470012cc46b8007526738000e015030..."} 
[2026-06-18 18:51:01] local.INFO: Processing buffer {"connection_id":106835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae21470012cc46b8007526738000e015030..."} 
[2026-06-18 18:51:01] local.INFO: Packet analysis {"connection_id":106835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:51:01] local.INFO: Extracted packet for processing {"connection_id":106835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:51:01] local.INFO: GPS Element Parsed {"raw_longitude":751070080,"raw_latitude":122840888,"longitude_deg":75.107008,"latitude_deg":12.2840888,"altitude":14,"angle":336,"satellites":48,"speed":58,"hex_longitude":"2cc46b80","hex_latitude":"07526738","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137907968001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318826249994633216,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4288552713718710272,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:01] 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-06-18 18:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781788710000,"timestamp_ms":1781788710000,"timestamp_seconds":1781788710,"priority":1,"record_length":96,"hex_timestamp":"0000019edae21470"} 
[2026-06-18 18:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51: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-06-18 18:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 18:51: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-06-18 18:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137907968001,"66":27908,"185":206,"85":37632,"24":58,"16":318826249994633216,"44":-4288552713718710272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,44]} 
[2026-06-18 18:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137907968001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:01] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-06-18 18:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318826249994633216,"km_value":318826249994633.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4288552713718710272,"description":"Unknown IO ID 44"} 
[2026-06-18 18:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137907968001,"power":27908,"unknown_185":206,"unknown_85":37632,"ignition":58,"odometer":null,"unknown_44":-4288552713718710272}} 
[2026-06-18 18:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":106835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:01] local.INFO: GPS data processed {"connection_id":106835,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:01] local.INFO: Acknowledgment sent {"connection_id":106835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:05] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:51:05] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:51:05] local.INFO: IMEI packet received {"connection_id":106242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":106242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:51:06] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:51:06] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:51:06] local.INFO: Packet analysis {"connection_id":106242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:51:06] local.INFO: Extracted packet for processing {"connection_id":106242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:51:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:51:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:51:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:51:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51:06] 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-06-18 18:51:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:51:06] 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-06-18 18:51:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:51:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:51:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:51:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:51:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:51:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:51:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:51:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:51:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:51:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:51:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:51:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:51:06] local.INFO: DEBUG: GPS processor result {"connection_id":106242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345919,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:06] local.INFO: GPS data processed {"connection_id":106242,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:06] local.INFO: Acknowledgment sent {"connection_id":106242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:11] local.INFO: TCP Data received {"connection_id":106063,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:11] local.INFO: Processing buffer {"connection_id":106063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:11] local.INFO: Packet analysis {"connection_id":106063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:11] local.INFO: Extracted packet for processing {"connection_id":106063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106063,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":106063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:11] local.INFO: GPS data processed {"connection_id":106063,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:11] local.INFO: Acknowledgment sent {"connection_id":106063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:22] local.INFO: TCP Data received {"connection_id":106241,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae200e8012d19c4c007202808003401382a..."} 
[2026-06-18 18:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae200e8012d19c4c007202808003401382a..."} 
[2026-06-18 18:51:22] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae200e8012d19c4c007202808003401382a..."} 
[2026-06-18 18:51:22] local.INFO: Packet analysis {"connection_id":106241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:51:22] local.INFO: Extracted packet for processing {"connection_id":106241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137903104001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788705000,"timestamp_ms":1781788705000,"timestamp_seconds":1781788705,"priority":1,"record_length":96,"hex_timestamp":"0000019edae200e8"} 
[2026-06-18 18:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 18:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137903104001,"66":12385,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137903104001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:51:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137903104001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":106241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:22] local.INFO: GPS data processed {"connection_id":106241,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:22] local.INFO: Acknowledgment sent {"connection_id":106241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:29] local.INFO: TCP Data received {"connection_id":107808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:51:29] local.INFO: Processing buffer {"connection_id":107808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:51:29] local.INFO: IMEI packet received {"connection_id":107808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":107808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:51:30] local.INFO: TCP Data received {"connection_id":107808,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:51:30] local.INFO: Processing buffer {"connection_id":107808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:51:30] local.INFO: IMEI packet received {"connection_id":107808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:51:30] local.INFO: IMEI acknowledgment sent {"connection_id":107808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:51:31] local.INFO: TCP Data received {"connection_id":107808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae38b70012cc3e88007539f08000f015030..."} 
[2026-06-18 18:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae38b70012cc3e88007539f08000f015030..."} 
[2026-06-18 18:51:31] local.INFO: Processing buffer {"connection_id":107808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae38b70012cc3e88007539f08000f015030..."} 
[2026-06-18 18:51:31] local.INFO: Packet analysis {"connection_id":107808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:31] local.INFO: Extracted packet for processing {"connection_id":107808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:31] local.INFO: GPS Element Parsed {"raw_longitude":751036544,"raw_latitude":122920712,"longitude_deg":75.1036544,"latitude_deg":12.2920712,"altitude":15,"angle":336,"satellites":48,"speed":19,"hex_longitude":"2cc3e880","hex_latitude":"07539f08","is_valid_coordinates":true} 
[2026-06-18 18:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137929984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318830437587746816,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:31] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4326411098065561600,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51: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-06-18 18:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781788806000,"timestamp_ms":1781788806000,"timestamp_seconds":1781788806,"priority":1,"record_length":96,"hex_timestamp":"0000019edae38b70"} 
[2026-06-18 18:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51: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-06-18 18:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 18:51: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-06-18 18:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":107808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":107808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":107808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:51: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-06-18 18:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137929984001,"66":27974,"4":206,"85":37632,"24":19,"16":318830437587746816,"44":-4326411098065561600},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-06-18 18:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137929984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:31] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-18 18:51:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318830437587746816,"km_value":318830437587746.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:31] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4326411098065561600,"description":"Unknown IO ID 44"} 
[2026-06-18 18:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137929984001,"power":27974,"unknown_4":206,"unknown_85":37632,"ignition":19,"odometer":null,"unknown_44":-4326411098065561600}} 
[2026-06-18 18:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":107808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:31] local.INFO: GPS data processed {"connection_id":107808,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:31] local.INFO: Acknowledgment sent {"connection_id":107808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:34] local.INFO: TCP Data received {"connection_id":107808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae3d1c0012cc3da800753bf88000d01512d..."} 
[2026-06-18 18:51:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae3d1c0012cc3da800753bf88000d01512d..."} 
[2026-06-18 18:51:34] local.INFO: Processing buffer {"connection_id":107808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae3d1c0012cc3da800753bf88000d01512d..."} 
[2026-06-18 18:51:34] local.INFO: Packet analysis {"connection_id":107808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:34] local.INFO: Extracted packet for processing {"connection_id":107808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":751032960,"raw_latitude":122929032,"longitude_deg":75.103296,"latitude_deg":12.2929032,"altitude":13,"angle":337,"satellites":45,"speed":25,"hex_longitude":"2cc3da80","hex_latitude":"0753bf88","is_valid_coordinates":true} 
[2026-06-18 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-06-18 18:51:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137934336001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318830875674411008,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4330070272760674304,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:34] 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-06-18 18:51:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781788824000,"timestamp_ms":1781788824000,"timestamp_seconds":1781788824,"priority":1,"record_length":96,"hex_timestamp":"0000019edae3d1c0"} 
[2026-06-18 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-06-18 18:51:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 18:51:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 18:51:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:51:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:51:34] 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-06-18 18:51:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:51:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:51:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137934336001,"66":27691,"4":206,"85":37632,"24":25,"16":318830875674411008,"44":-4330070272760674304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,85,24,16,44]} 
[2026-06-18 18:51:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:51:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:51:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137934336001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:34] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-06-18 18:51:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:51:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318830875674411008,"km_value":318830875674411.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4330070272760674304,"description":"Unknown IO ID 44"} 
[2026-06-18 18:51:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137934336001,"power":27691,"unknown_4":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-4330070272760674304}} 
[2026-06-18 18:51:34] local.INFO: DEBUG: GPS processor result {"connection_id":107808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:34] local.INFO: GPS data processed {"connection_id":107808,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:34] local.INFO: Acknowledgment sent {"connection_id":107808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:37] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:51:37] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:51:37] local.INFO: Packet analysis {"connection_id":106242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:51:37] local.INFO: Extracted packet for processing {"connection_id":106242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:51:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:37] 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-06-18 18:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51:37] 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-06-18 18:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:51:37] 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-06-18 18:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106242,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:51:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:51:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:51:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":106242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345924,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:37] local.INFO: GPS data processed {"connection_id":106242,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:37] local.INFO: Acknowledgment sent {"connection_id":106242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:38] local.INFO: TCP Data received {"connection_id":106243,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:51:38] local.INFO: Processing buffer {"connection_id":106243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:51:38] local.INFO: IMEI packet received {"connection_id":106243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":106243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:51:43] local.INFO: TCP Data received {"connection_id":106243,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:51:43] local.INFO: Processing buffer {"connection_id":106243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:51:43] local.INFO: IMEI packet received {"connection_id":106243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":106243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:51:44] local.INFO: TCP Data received {"connection_id":106064,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:51:44] local.INFO: Processing buffer {"connection_id":106064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:51:44] local.INFO: IMEI packet received {"connection_id":106064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":106064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:51:44] local.INFO: TCP Data received {"connection_id":106243,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:44] local.INFO: Processing buffer {"connection_id":106243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:44] local.INFO: Packet analysis {"connection_id":106243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:44] local.INFO: Extracted packet for processing {"connection_id":106243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":106243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:44] local.INFO: GPS data processed {"connection_id":106243,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:44] local.INFO: Acknowledgment sent {"connection_id":106243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:49] local.INFO: TCP Data received {"connection_id":106243,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:49] local.INFO: Processing buffer {"connection_id":106243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:51:49] local.INFO: Packet analysis {"connection_id":106243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:49] local.INFO: Extracted packet for processing {"connection_id":106243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:51:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":106243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345926,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:49] local.INFO: GPS data processed {"connection_id":106243,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:49] local.INFO: Acknowledgment sent {"connection_id":106243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:49] local.INFO: TCP Data received {"connection_id":106064,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:51:49] local.INFO: Processing buffer {"connection_id":106064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:51:49] local.INFO: IMEI packet received {"connection_id":106064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":106064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:51:51] local.INFO: TCP Data received {"connection_id":106064,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae252f0012d19c4c0072028080034013828..."} 
[2026-06-18 18:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae252f0012d19c4c0072028080034013828..."} 
[2026-06-18 18:51:51] local.INFO: Processing buffer {"connection_id":106064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae252f0012d19c4c0072028080034013828..."} 
[2026-06-18 18:51:51] local.INFO: Packet analysis {"connection_id":106064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:51:51] local.INFO: Extracted packet for processing {"connection_id":106064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:51:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137908480001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:51:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:51:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781788726000,"timestamp_ms":1781788726000,"timestamp_seconds":1781788726,"priority":1,"record_length":96,"hex_timestamp":"0000019edae252f0"} 
[2026-06-18 18:51:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:51:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:51:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 18:51:51] 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-06-18 18:51:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:51:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:51:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:51:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:51:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:51:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:51:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:51:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:51:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:51:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137908480001,"66":12374,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:51:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:51:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:51:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137908480001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:51:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:51:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:51:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:51:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:51:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137908480001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:51:51] local.INFO: DEBUG: GPS processor result {"connection_id":106064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:51:51] local.INFO: GPS data processed {"connection_id":106064,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:51:51] local.INFO: Acknowledgment sent {"connection_id":106064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:51:59] local.INFO: TCP Data received {"connection_id":106065,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:51:59] local.INFO: Processing buffer {"connection_id":106065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:51:59] local.INFO: IMEI packet received {"connection_id":106065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":106065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:52:05] local.INFO: TCP Data received {"connection_id":106065,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106065,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:52:05] local.INFO: Processing buffer {"connection_id":106065,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:52:05] local.INFO: IMEI packet received {"connection_id":106065,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":106065,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:52:06] local.INFO: TCP Data received {"connection_id":106065,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:52:06] local.INFO: Processing buffer {"connection_id":106065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:52:06] local.INFO: Packet analysis {"connection_id":106065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:52:06] local.INFO: Extracted packet for processing {"connection_id":106065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:52:06] 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-06-18 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:52:06] 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-06-18 18:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:52:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:52:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:52:06] local.INFO: TCP Data received {"connection_id":107808,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae40488012cc3cbc00753e090000d01522a..."} 
[2026-06-18 18:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae40488012cc3cbc00753e090000d01522a..."} 
[2026-06-18 18:52:06] local.INFO: Processing buffer {"connection_id":107808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae40488012cc3cbc00753e090000d01522a..."} 
[2026-06-18 18:52:06] local.INFO: Packet analysis {"connection_id":107808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:52:06] local.INFO: Extracted packet for processing {"connection_id":107808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":751029184,"raw_latitude":122937488,"longitude_deg":75.1029184,"latitude_deg":12.2937488,"altitude":13,"angle":338,"satellites":42,"speed":25,"hex_longitude":"2cc3cbc0","hex_latitude":"0753e090","is_valid_coordinates":true} 
[2026-06-18 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137938944001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318831322351009792,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4334010922432493568,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788837000,"timestamp_ms":1781788837000,"timestamp_seconds":1781788837,"priority":1,"record_length":96,"hex_timestamp":"0000019edae40488"} 
[2026-06-18 18:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:52:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 18:52:06] 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-06-18 18:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:52: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-06-18 18:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137938944001,"66":27865,"5":206,"85":37632,"24":25,"16":318831322351009792,"44":-4334010922432493568},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-06-18 18:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137938944001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:52:06] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-18 18:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318831322351009792,"km_value":318831322351009.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:52:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4334010922432493568,"description":"Unknown IO ID 44"} 
[2026-06-18 18:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137938944001,"power":27865,"unknown_5":206,"unknown_85":37632,"ignition":25,"odometer":null,"unknown_44":-4334010922432493568}} 
[2026-06-18 18:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":107808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:52:06] local.INFO: GPS data processed {"connection_id":107808,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:52:06] local.INFO: Acknowledgment sent {"connection_id":107808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":106065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:52:06] local.INFO: GPS data processed {"connection_id":106065,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:52:06] local.INFO: Acknowledgment sent {"connection_id":106065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:52:22] local.INFO: TCP Data received {"connection_id":106064,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae2a4f8012d19c4c0072028080034013829..."} 
[2026-06-18 18:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae2a4f8012d19c4c0072028080034013829..."} 
[2026-06-18 18:52:22] local.INFO: Processing buffer {"connection_id":106064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae2a4f8012d19c4c0072028080034013829..."} 
[2026-06-18 18:52:22] local.INFO: Packet analysis {"connection_id":106064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:52:22] local.INFO: Extracted packet for processing {"connection_id":106064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137913856001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788747000,"timestamp_ms":1781788747000,"timestamp_seconds":1781788747,"priority":1,"record_length":96,"hex_timestamp":"0000019edae2a4f8"} 
[2026-06-18 18:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:52:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:52:22] 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-06-18 18:52:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137913856001,"66":11928,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137913856001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:52:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:52:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137913856001,"power":11928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":106064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:52:23] local.INFO: GPS data processed {"connection_id":106064,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:52:23] local.INFO: Acknowledgment sent {"connection_id":106064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:52:24] local.INFO: TCP Data received {"connection_id":107809,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:52:24] local.INFO: Processing buffer {"connection_id":107809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:52:24] local.INFO: IMEI packet received {"connection_id":107809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":107809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:52:29] local.INFO: TCP Data received {"connection_id":107809,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:52:29] local.INFO: Processing buffer {"connection_id":107809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:52:29] local.INFO: IMEI packet received {"connection_id":107809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":107809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:52:30] local.INFO: TCP Data received {"connection_id":107809,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae43f20012cc3bd80075401d8000d015523..."} 
[2026-06-18 18:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae43f20012cc3bd80075401d8000d015523..."} 
[2026-06-18 18:52:30] local.INFO: Processing buffer {"connection_id":107809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae43f20012cc3bd80075401d8000d015523..."} 
[2026-06-18 18:52:30] local.INFO: Packet analysis {"connection_id":107809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:52:30] local.INFO: Extracted packet for processing {"connection_id":107809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":751025536,"raw_latitude":122946008,"longitude_deg":75.1025536,"latitude_deg":12.2946008,"altitude":13,"angle":341,"satellites":35,"speed":27,"hex_longitude":"2cc3bd80","hex_latitude":"075401d8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 18:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137942272001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318831773322575872,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4338162678336811008,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781788852000,"timestamp_ms":1781788852000,"timestamp_seconds":1781788852,"priority":1,"record_length":96,"hex_timestamp":"0000019edae43f20"} 
[2026-06-18 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-06-18 18:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 18:52: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-06-18 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-06-18 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-06-18 18:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:52: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-06-18 18:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137942272001,"66":27919,"5":206,"85":37632,"24":27,"16":318831773322575872,"44":-4338162678336811008},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-06-18 18:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137942272001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:52:30] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-18 18:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318831773322575872,"km_value":318831773322575.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4338162678336811008,"description":"Unknown IO ID 44"} 
[2026-06-18 18:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137942272001,"power":27919,"unknown_5":206,"unknown_85":37632,"ignition":27,"odometer":null,"unknown_44":-4338162678336811008}} 
[2026-06-18 18:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":107809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:52:30] local.INFO: GPS data processed {"connection_id":107809,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:52:30] local.INFO: Acknowledgment sent {"connection_id":107809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:52:33] local.INFO: TCP Data received {"connection_id":106066,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:52:33] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:52:33] local.INFO: IMEI packet received {"connection_id":106066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:52:33] local.INFO: IMEI acknowledgment sent {"connection_id":106066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:52:37] local.INFO: TCP Data received {"connection_id":106065,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:52:37] local.INFO: Processing buffer {"connection_id":106065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:52:37] local.INFO: Packet analysis {"connection_id":106065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:52:37] local.INFO: Extracted packet for processing {"connection_id":106065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:52:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:37] 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-06-18 18:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:52:37] 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-06-18 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:52:37] 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-06-18 18: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-06-18 18:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106065,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:52:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:52:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":106065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345932,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:52:37] local.INFO: GPS data processed {"connection_id":106065,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:52:37] local.INFO: Acknowledgment sent {"connection_id":106065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:52:38] local.INFO: TCP Data received {"connection_id":106066,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:52:38] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:52:38] local.INFO: IMEI packet received {"connection_id":106066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":106066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:52:39] local.INFO: TCP Data received {"connection_id":106066,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:52:39] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:52:39] local.INFO: Packet analysis {"connection_id":106066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:52:39] local.INFO: Extracted packet for processing {"connection_id":106066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:52: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-06-18 18: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:52:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:52:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":106066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345933,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:52:39] local.INFO: GPS data processed {"connection_id":106066,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:52:39] local.INFO: Acknowledgment sent {"connection_id":106066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:52:44] local.INFO: TCP Data received {"connection_id":106067,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:52:44] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:52:44] local.INFO: IMEI packet received {"connection_id":106067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":106067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:52:49] local.INFO: TCP Data received {"connection_id":106067,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:52:49] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:52:49] local.INFO: IMEI packet received {"connection_id":106067,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":106067,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:52:50] local.INFO: TCP Data received {"connection_id":106067,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae2f700012d19c4c007202808003401382a..."} 
[2026-06-18 18:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae2f700012d19c4c007202808003401382a..."} 
[2026-06-18 18:52:50] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae2f700012d19c4c007202808003401382a..."} 
[2026-06-18 18:52:50] local.INFO: Packet analysis {"connection_id":106067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:52:50] local.INFO: Extracted packet for processing {"connection_id":106067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae2"} 
[2026-06-18 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137919232001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781788768000,"timestamp_ms":1781788768000,"timestamp_seconds":1781788768,"priority":1,"record_length":96,"hex_timestamp":"0000019edae2f700"} 
[2026-06-18 18:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 18:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137919232001,"66":12374,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137919232001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:52:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:52:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137919232001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":106067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:52:50] local.INFO: GPS data processed {"connection_id":106067,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:52:50] local.INFO: Acknowledgment sent {"connection_id":106067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:52:59] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:52:59] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:52:59] local.INFO: IMEI packet received {"connection_id":106244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":106244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:53:01] local.INFO: TCP Data received {"connection_id":107809,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae46630012cc3b58007541b580011016129..."} 
[2026-06-18 18:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae46630012cc3b58007541b580011016129..."} 
[2026-06-18 18:53:01] local.INFO: Processing buffer {"connection_id":107809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae46630012cc3b58007541b580011016129..."} 
[2026-06-18 18:53:01] local.INFO: Packet analysis {"connection_id":107809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:53:01] local.INFO: Extracted packet for processing {"connection_id":107809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:53:01] local.INFO: GPS Element Parsed {"raw_longitude":751023488,"raw_latitude":122952536,"longitude_deg":75.1023488,"latitude_deg":12.2952536,"altitude":17,"angle":353,"satellites":41,"speed":15,"hex_longitude":"2cc3b580","hex_latitude":"07541b58","is_valid_coordinates":true} 
[2026-06-18 18:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137946112001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318832108330024960,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4342173696752756736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781788862000,"timestamp_ms":1781788862000,"timestamp_seconds":1781788862,"priority":1,"record_length":96,"hex_timestamp":"0000019edae46630"} 
[2026-06-18 18:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:53: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-06-18 18:53:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 18:53: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-06-18 18:53:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137946112001,"66":27908,"5":206,"85":37632,"24":15,"16":318832108330024960,"44":-4342173696752756736},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-06-18 18:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137946112001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:53:01] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-18 18:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318832108330024960,"km_value":318832108330024.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4342173696752756736,"description":"Unknown IO ID 44"} 
[2026-06-18 18:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137946112001,"power":27908,"unknown_5":206,"unknown_85":37632,"ignition":15,"odometer":null,"unknown_44":-4342173696752756736}} 
[2026-06-18 18:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":107809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:53:01] local.INFO: GPS data processed {"connection_id":107809,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:53:01] local.INFO: Acknowledgment sent {"connection_id":107809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:53:05] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:53:05] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:53:05] local.INFO: IMEI packet received {"connection_id":106244,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":106244,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:53:05] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:53:05] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae1ce20012d7e398005d34d500007002a2b..."} 
[2026-06-18 18:53:05] local.INFO: Packet analysis {"connection_id":106244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:53:05] local.INFO: Extracted packet for processing {"connection_id":106244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae1"} 
[2026-06-18 18:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":43,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137828096001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:05] 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-06-18 18:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781788692000,"timestamp_ms":1781788692000,"timestamp_seconds":1781788692,"priority":1,"record_length":96,"hex_timestamp":"0000019edae1ce20"} 
[2026-06-18 18:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:53:05] 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-06-18 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:53:05] 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-06-18 18: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-06-18 18:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:53:05] 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-06-18 18:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137828096001,"66":2242,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137828096001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:53:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137828096001,"power":2242,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":106244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345936,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:53:06] local.INFO: GPS data processed {"connection_id":106244,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:53:06] local.INFO: Acknowledgment sent {"connection_id":106244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:53:11] local.INFO: TCP Data received {"connection_id":106066,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:53:11] local.INFO: Processing buffer {"connection_id":106066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:53:11] local.INFO: Packet analysis {"connection_id":106066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:53:11] local.INFO: Extracted packet for processing {"connection_id":106066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106066,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:53:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":106066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:53:11] local.INFO: GPS data processed {"connection_id":106066,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:53:11] local.INFO: Acknowledgment sent {"connection_id":106066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:53:22] local.INFO: TCP Data received {"connection_id":106067,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae34908012d19c4c007202808003401382a..."} 
[2026-06-18 18:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae34908012d19c4c007202808003401382a..."} 
[2026-06-18 18:53:22] local.INFO: Processing buffer {"connection_id":106067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae34908012d19c4c007202808003401382a..."} 
[2026-06-18 18:53:22] local.INFO: Packet analysis {"connection_id":106067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:53:22] local.INFO: Extracted packet for processing {"connection_id":106067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137924608001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788789000,"timestamp_ms":1781788789000,"timestamp_seconds":1781788789,"priority":1,"record_length":96,"hex_timestamp":"0000019edae34908"} 
[2026-06-18 18:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:53:22] 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-06-18 18:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106067,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137924608001,"66":12374,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137924608001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:53:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:53:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137924608001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":106067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:53:22] local.INFO: GPS data processed {"connection_id":106067,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:53:22] local.INFO: Acknowledgment sent {"connection_id":106067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:53:24] local.INFO: TCP Data received {"connection_id":106836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:53:24] local.INFO: Processing buffer {"connection_id":106836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:53:24] local.INFO: IMEI packet received {"connection_id":106836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":106836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:53:29] local.INFO: TCP Data received {"connection_id":106836,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:53:29] local.INFO: Processing buffer {"connection_id":106836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:53:29] local.INFO: IMEI packet received {"connection_id":106836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":106836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:53:30] local.INFO: TCP Data received {"connection_id":106836,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae49510012cc3b440075428400010015022..."} 
[2026-06-18 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae49510012cc3b440075428400010015022..."} 
[2026-06-18 18:53:30] local.INFO: Processing buffer {"connection_id":106836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae49510012cc3b440075428400010015022..."} 
[2026-06-18 18:53:30] local.INFO: Packet analysis {"connection_id":106836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:53:30] local.INFO: Extracted packet for processing {"connection_id":106836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":751023168,"raw_latitude":122955840,"longitude_deg":75.1023168,"latitude_deg":12.295584,"altitude":16,"angle":336,"satellites":34,"speed":14,"hex_longitude":"2cc3b440","hex_latitude":"07542840","is_valid_coordinates":true} 
[2026-06-18 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-06-18 18:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137948672001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318832267243814912,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344425496564770816,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781788874000,"timestamp_ms":1781788874000,"timestamp_seconds":1781788874,"priority":1,"record_length":96,"hex_timestamp":"0000019edae49510"} 
[2026-06-18 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-06-18 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 18:53: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-06-18 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-06-18 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-06-18 18:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:53: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-06-18 18:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137948672001,"66":27974,"5":206,"85":37632,"24":14,"16":318832267243814912,"44":-4344425496564770816},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,85,24,16,44]} 
[2026-06-18 18:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137948672001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:53:30] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-18 18:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318832267243814912,"km_value":318832267243814.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344425496564770816,"description":"Unknown IO ID 44"} 
[2026-06-18 18:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137948672001,"power":27974,"unknown_5":206,"unknown_85":37632,"ignition":14,"odometer":null,"unknown_44":-4344425496564770816}} 
[2026-06-18 18:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":106836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:53:30] local.INFO: GPS data processed {"connection_id":106836,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:53:30] local.INFO: Acknowledgment sent {"connection_id":106836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:53:33] local.INFO: TCP Data received {"connection_id":106837,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:53:33] local.INFO: Processing buffer {"connection_id":106837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:53:33] local.INFO: IMEI packet received {"connection_id":106837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":106837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:53:36] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:53:36] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:53:36] local.INFO: Packet analysis {"connection_id":106244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:53:36] local.INFO: Extracted packet for processing {"connection_id":106244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:53:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:53:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:36] 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-06-18 18:53:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:53:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:53:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:53:36] 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-06-18 18: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-06-18 18:53:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:53:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:53:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:53:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:53:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106244,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:53:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:53:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:53:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:53:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:53:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:53:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:53:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:53:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:53:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:53:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:53:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:53:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:53:36] local.INFO: DEBUG: GPS processor result {"connection_id":106244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345940,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:53:36] local.INFO: GPS data processed {"connection_id":106244,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:53:36] local.INFO: Acknowledgment sent {"connection_id":106244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:53:38] local.INFO: TCP Data received {"connection_id":106837,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:53:38] local.INFO: Processing buffer {"connection_id":106837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:53:38] local.INFO: IMEI packet received {"connection_id":106837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":106837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:53:39] local.INFO: TCP Data received {"connection_id":106837,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:53:39] local.INFO: Processing buffer {"connection_id":106837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:53:39] local.INFO: Packet analysis {"connection_id":106837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:53:39] local.INFO: Extracted packet for processing {"connection_id":106837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:53: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-06-18 18:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:53:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":106837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345941,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:53:39] local.INFO: GPS data processed {"connection_id":106837,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:53:39] local.INFO: Acknowledgment sent {"connection_id":106837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:53:44] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:53:44] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:53:44] local.INFO: IMEI packet received {"connection_id":106068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":106068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:53:50] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:53:50] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:53:50] local.INFO: IMEI packet received {"connection_id":106068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":106068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:53:52] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae39b10012d19c4c007202808003401382a..."} 
[2026-06-18 18:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae39b10012d19c4c007202808003401382a..."} 
[2026-06-18 18:53:52] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae39b10012d19c4c007202808003401382a..."} 
[2026-06-18 18:53:52] local.INFO: Packet analysis {"connection_id":106068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:53:52] local.INFO: Extracted packet for processing {"connection_id":106068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:53:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137929984001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:53:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:53:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781788810000,"timestamp_ms":1781788810000,"timestamp_seconds":1781788810,"priority":1,"record_length":96,"hex_timestamp":"0000019edae39b10"} 
[2026-06-18 18:53:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:53:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:53:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:53:52] 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-06-18 18:53:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:53:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:53:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:53:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:53:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:53:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:53:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:53:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:53:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:53:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137929984001,"66":12385,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:53:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:53:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:53:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137929984001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:53:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:53:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:53:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:53:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:53:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137929984001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:53:52] local.INFO: DEBUG: GPS processor result {"connection_id":106068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:53:52] local.INFO: GPS data processed {"connection_id":106068,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:53:52] local.INFO: Acknowledgment sent {"connection_id":106068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:00] local.INFO: TCP Data received {"connection_id":107810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:00] local.INFO: Processing buffer {"connection_id":107810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:00] local.INFO: IMEI packet received {"connection_id":107810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":107810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:54:01] local.INFO: TCP Data received {"connection_id":106836,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae49ce0012cc3b2c007542b28000f014226..."} 
[2026-06-18 18:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae49ce0012cc3b2c007542b28000f014226..."} 
[2026-06-18 18:54:01] local.INFO: Processing buffer {"connection_id":106836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae49ce0012cc3b2c007542b28000f014226..."} 
[2026-06-18 18:54:01] local.INFO: Packet analysis {"connection_id":106836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:54:01] local.INFO: Extracted packet for processing {"connection_id":106836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:54:01] local.INFO: GPS Element Parsed {"raw_longitude":751022784,"raw_latitude":122956584,"longitude_deg":75.1022784,"latitude_deg":12.2956584,"altitude":15,"angle":322,"satellites":38,"speed":18,"hex_longitude":"2cc3b2c0","hex_latitude":"07542b28","is_valid_coordinates":true} 
[2026-06-18 18:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137951744001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318832310193487872,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344777340284813312,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:01] 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-06-18 18:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781788876000,"timestamp_ms":1781788876000,"timestamp_seconds":1781788876,"priority":1,"record_length":96,"hex_timestamp":"0000019edae49ce0"} 
[2026-06-18 18:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:54: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-06-18 18:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 18:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137951744001,"66":27919,"178":206,"85":37632,"24":18,"16":318832310193487872,"44":-4344777340284813312},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-18 18:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137951744001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:54:01] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 18:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-06-18 18:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318832310193487872,"km_value":318832310193487.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344777340284813312,"description":"Unknown IO ID 44"} 
[2026-06-18 18:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137951744001,"power":27919,"unknown_178":206,"unknown_85":37632,"ignition":18,"odometer":null,"unknown_44":-4344777340284813312}} 
[2026-06-18 18:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":106836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:54:01] local.INFO: GPS data processed {"connection_id":106836,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:54:01] local.INFO: Acknowledgment sent {"connection_id":106836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:05] local.INFO: TCP Data received {"connection_id":107810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107810,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:05] local.INFO: Processing buffer {"connection_id":107810,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:05] local.INFO: IMEI packet received {"connection_id":107810,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":107810,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:54:06] local.INFO: TCP Data received {"connection_id":107810,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:54:06] local.INFO: Processing buffer {"connection_id":107810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:54:06] local.INFO: Packet analysis {"connection_id":107810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:54:06] local.INFO: Extracted packet for processing {"connection_id":107810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:54:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:54:06] 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-06-18 18:54:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:54:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":107810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345944,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:54:06] local.INFO: GPS data processed {"connection_id":107810,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:54:06] local.INFO: Acknowledgment sent {"connection_id":107810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:11] local.INFO: TCP Data received {"connection_id":106837,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:54:11] local.INFO: Processing buffer {"connection_id":106837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:54:11] local.INFO: Packet analysis {"connection_id":106837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:54:11] local.INFO: Extracted packet for processing {"connection_id":106837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":106837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:54:11] local.INFO: GPS data processed {"connection_id":106837,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:54:11] local.INFO: Acknowledgment sent {"connection_id":106837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:22] local.INFO: TCP Data received {"connection_id":106069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:22] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:22] local.INFO: IMEI packet received {"connection_id":106069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":106069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:54:23] local.INFO: TCP Data received {"connection_id":106068,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae3ed18012d19c4c007202808003401382a..."} 
[2026-06-18 18:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae3ed18012d19c4c007202808003401382a..."} 
[2026-06-18 18:54:23] local.INFO: Processing buffer {"connection_id":106068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae3ed18012d19c4c007202808003401382a..."} 
[2026-06-18 18:54:23] local.INFO: Packet analysis {"connection_id":106068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:54:23] local.INFO: Extracted packet for processing {"connection_id":106068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137935360001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781788831000,"timestamp_ms":1781788831000,"timestamp_seconds":1781788831,"priority":1,"record_length":96,"hex_timestamp":"0000019edae3ed18"} 
[2026-06-18 18:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 18:54:23] 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-06-18 18:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137935360001,"66":12385,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137935360001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:54:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:54:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137935360001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":106068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:54:23] local.INFO: GPS data processed {"connection_id":106068,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:54:23] local.INFO: Acknowledgment sent {"connection_id":106068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:24] local.INFO: TCP Data received {"connection_id":106069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:24] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:24] local.INFO: IMEI packet received {"connection_id":106069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":106069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:54:29] local.INFO: TCP Data received {"connection_id":106069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:29] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:54:29] local.INFO: IMEI packet received {"connection_id":106069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":106069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:54:30] local.INFO: TCP Data received {"connection_id":106069,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae671a0012cc32380075586900010014e2f..."} 
[2026-06-18 18:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae671a0012cc32380075586900010014e2f..."} 
[2026-06-18 18:54:30] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae671a0012cc32380075586900010014e2f..."} 
[2026-06-18 18:54:30] local.INFO: Packet analysis {"connection_id":106069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:54:30] local.INFO: Extracted packet for processing {"connection_id":106069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:54:30] local.INFO: GPS Element Parsed {"raw_longitude":750986112,"raw_latitude":123045520,"longitude_deg":75.0986112,"latitude_deg":12.304552,"altitude":16,"angle":334,"satellites":47,"speed":39,"hex_longitude":"2cc32380","hex_latitude":"07558690","is_valid_coordinates":true} 
[2026-06-18 18:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137980672001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318836965938036736,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381017243515590656,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:30] 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-06-18 18:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781788996000,"timestamp_ms":1781788996000,"timestamp_seconds":1781788996,"priority":1,"record_length":96,"hex_timestamp":"0000019edae671a0"} 
[2026-06-18 18:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:54: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-06-18 18:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137980672001,"66":27843,"84":206,"85":37120,"24":39,"16":318836965938036736,"44":-4381017243515590656},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-06-18 18:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137980672001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:54:30] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-18 18:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318836965938036736,"km_value":318836965938036.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381017243515590656,"description":"Unknown IO ID 44"} 
[2026-06-18 18:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137980672001,"power":27843,"unknown_84":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4381017243515590656}} 
[2026-06-18 18:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":106069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:54:30] local.INFO: GPS data processed {"connection_id":106069,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:54:30] local.INFO: Acknowledgment sent {"connection_id":106069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:33] local.INFO: TCP Data received {"connection_id":106070,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:54:33] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:54:33] local.INFO: IMEI packet received {"connection_id":106070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":106070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:54:37] local.INFO: TCP Data received {"connection_id":107810,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:54:37] local.INFO: Processing buffer {"connection_id":107810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:54:37] local.INFO: Packet analysis {"connection_id":107810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:54:37] local.INFO: Extracted packet for processing {"connection_id":107810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:37] 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-06-18 18:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:54:37] 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-06-18 18:54:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107810,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:54:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":107810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345948,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:54:37] local.INFO: GPS data processed {"connection_id":107810,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:54:37] local.INFO: Acknowledgment sent {"connection_id":107810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:38] local.INFO: TCP Data received {"connection_id":106070,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:54:38] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:54:38] local.INFO: IMEI packet received {"connection_id":106070,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":106070,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:54:39] local.INFO: TCP Data received {"connection_id":106070,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:54:39] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:54:39] local.INFO: Packet analysis {"connection_id":106070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:54:39] local.INFO: Extracted packet for processing {"connection_id":106070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:54: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-06-18 18:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:54:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:54:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":106070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345949,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:54:39] local.INFO: GPS data processed {"connection_id":106070,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:54:39] local.INFO: Acknowledgment sent {"connection_id":106070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:49] local.INFO: TCP Data received {"connection_id":107811,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:54:49] local.INFO: Processing buffer {"connection_id":107811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:54:49] local.INFO: IMEI packet received {"connection_id":107811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":107811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:54:54] local.INFO: TCP Data received {"connection_id":107811,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:54:54] local.INFO: Processing buffer {"connection_id":107811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:54:54] local.INFO: IMEI packet received {"connection_id":107811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":107811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:54:55] local.INFO: TCP Data received {"connection_id":107811,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae43f20012d19c4c007202808003401382a..."} 
[2026-06-18 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae43f20012d19c4c007202808003401382a..."} 
[2026-06-18 18:54:55] local.INFO: Processing buffer {"connection_id":107811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae43f20012d19c4c007202808003401382a..."} 
[2026-06-18 18:54:55] local.INFO: Packet analysis {"connection_id":107811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:54:55] local.INFO: Extracted packet for processing {"connection_id":107811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137940736001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781788852000,"timestamp_ms":1781788852000,"timestamp_seconds":1781788852,"priority":1,"record_length":96,"hex_timestamp":"0000019edae43f20"} 
[2026-06-18 18:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:54: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-06-18 18:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 18:54: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-06-18 18:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137940736001,"66":12385,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137940736001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:54:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:54:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137940736001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":107811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:54:56] local.INFO: GPS data processed {"connection_id":107811,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:54:56] local.INFO: Acknowledgment sent {"connection_id":107811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:54:59] local.INFO: TCP Data received {"connection_id":106838,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:59] local.INFO: Processing buffer {"connection_id":106838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:54:59] local.INFO: IMEI packet received {"connection_id":106838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":106838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:55:00] local.INFO: TCP Data received {"connection_id":107811,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae49128012d19c4c007202808003401382a..."} 
[2026-06-18 18:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae49128012d19c4c007202808003401382a..."} 
[2026-06-18 18:55:00] local.INFO: Processing buffer {"connection_id":107811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae49128012d19c4c007202808003401382a..."} 
[2026-06-18 18:55:00] local.INFO: Packet analysis {"connection_id":107811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:55:00] local.INFO: Extracted packet for processing {"connection_id":107811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137946112001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781788873000,"timestamp_ms":1781788873000,"timestamp_seconds":1781788873,"priority":1,"record_length":96,"hex_timestamp":"0000019edae49128"} 
[2026-06-18 18:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 18:55:00] 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-06-18 18:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137946112001,"66":12374,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137946112001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137946112001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":107811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:00] local.INFO: GPS data processed {"connection_id":107811,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:00] local.INFO: Acknowledgment sent {"connection_id":107811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:01] local.INFO: TCP Data received {"connection_id":106069,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae694c8012cc312800755a8800010014e30..."} 
[2026-06-18 18:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae694c8012cc312800755a8800010014e30..."} 
[2026-06-18 18:55:01] local.INFO: Processing buffer {"connection_id":106069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae694c8012cc312800755a8800010014e30..."} 
[2026-06-18 18:55:01] local.INFO: Packet analysis {"connection_id":106069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:55:01] local.INFO: Extracted packet for processing {"connection_id":106069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:55:01] local.INFO: GPS Element Parsed {"raw_longitude":750981760,"raw_latitude":123054208,"longitude_deg":75.098176,"latitude_deg":12.3054208,"altitude":16,"angle":334,"satellites":48,"speed":43,"hex_longitude":"2cc31280","hex_latitude":"0755a880","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982976001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318837434089472000,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4385520843140722688,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:01] 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-06-18 18:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789005000,"timestamp_ms":1781789005000,"timestamp_seconds":1781789005,"priority":1,"record_length":96,"hex_timestamp":"0000019edae694c8"} 
[2026-06-18 18:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55: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-06-18 18: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":195,"data_length":795,"current_offset":136} 
[2026-06-18 18:55: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-06-18 18: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-06-18 18:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982976001,"66":27767,"84":206,"85":37120,"24":43,"16":318837434089472000,"44":-4385520843140722688},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-06-18 18:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982976001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:01] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-18 18:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318837434089472000,"km_value":318837434089472,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4385520843140722688,"description":"Unknown IO ID 44"} 
[2026-06-18 18:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982976001,"power":27767,"unknown_84":206,"unknown_85":37120,"ignition":43,"odometer":null,"unknown_44":-4385520843140722688}} 
[2026-06-18 18:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":106069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:01] local.INFO: GPS data processed {"connection_id":106069,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:01] local.INFO: Acknowledgment sent {"connection_id":106069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:05] local.INFO: TCP Data received {"connection_id":106838,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106838,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:55:05] local.INFO: Processing buffer {"connection_id":106838,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:55:05] local.INFO: IMEI packet received {"connection_id":106838,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":106838,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:55:06] local.INFO: TCP Data received {"connection_id":106838,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:55:06] local.INFO: Processing buffer {"connection_id":106838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:55:06] local.INFO: Packet analysis {"connection_id":106838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:55:06] local.INFO: Extracted packet for processing {"connection_id":106838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:55:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:55:06] 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-06-18 18:55:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":106838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345953,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:06] local.INFO: GPS data processed {"connection_id":106838,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:06] local.INFO: Acknowledgment sent {"connection_id":106838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:11] local.INFO: TCP Data received {"connection_id":106070,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:55:11] local.INFO: Processing buffer {"connection_id":106070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:55:11] local.INFO: Packet analysis {"connection_id":106070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:55:11] local.INFO: Extracted packet for processing {"connection_id":106070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106070,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":106070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:11] local.INFO: GPS data processed {"connection_id":106070,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:11] local.INFO: Acknowledgment sent {"connection_id":106070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:24] local.INFO: TCP Data received {"connection_id":107812,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:55:24] local.INFO: Processing buffer {"connection_id":107812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:55:24] local.INFO: IMEI packet received {"connection_id":107812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":107812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:55:29] local.INFO: TCP Data received {"connection_id":107812,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:55:29] local.INFO: Processing buffer {"connection_id":107812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:55:29] local.INFO: IMEI packet received {"connection_id":107812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":107812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:55:29] local.INFO: TCP Data received {"connection_id":107812,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae6bbd8012cc301800755c8d0000e01492d..."} 
[2026-06-18 18:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae6bbd8012cc301800755c8d0000e01492d..."} 
[2026-06-18 18:55:29] local.INFO: Processing buffer {"connection_id":107812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae6bbd8012cc301800755c8d0000e01492d..."} 
[2026-06-18 18:55:29] local.INFO: Packet analysis {"connection_id":107812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:55:29] local.INFO: Extracted packet for processing {"connection_id":107812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:55:29] local.INFO: GPS Element Parsed {"raw_longitude":750977408,"raw_latitude":123062480,"longitude_deg":75.0977408,"latitude_deg":12.306248,"altitude":14,"angle":329,"satellites":45,"speed":39,"hex_longitude":"2cc30180","hex_latitude":"0755c8d0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137985280001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318837885061038080,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4390305917742579712,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:29] 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-06-18 18:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781789015000,"timestamp_ms":1781789015000,"timestamp_seconds":1781789015,"priority":1,"record_length":96,"hex_timestamp":"0000019edae6bbd8"} 
[2026-06-18 18:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55: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-06-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:55: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-06-18 18: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-06-18 18:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:55:29] 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-06-18 18:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137985280001,"66":27713,"84":206,"85":37120,"24":39,"16":318837885061038080,"44":-4390305917742579712},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,85,24,16,44]} 
[2026-06-18 18:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137985280001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:29] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-06-18 18:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318837885061038080,"km_value":318837885061038.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4390305917742579712,"description":"Unknown IO ID 44"} 
[2026-06-18 18:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137985280001,"power":27713,"unknown_84":206,"unknown_85":37120,"ignition":39,"odometer":null,"unknown_44":-4390305917742579712}} 
[2026-06-18 18:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":107812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:29] local.INFO: GPS data processed {"connection_id":107812,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:29] local.INFO: Acknowledgment sent {"connection_id":107812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:33] local.INFO: TCP Data received {"connection_id":107813,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:55:33] local.INFO: Processing buffer {"connection_id":107813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:55:33] local.INFO: IMEI packet received {"connection_id":107813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":107813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:55:37] local.INFO: TCP Data received {"connection_id":106838,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:55:37] local.INFO: Processing buffer {"connection_id":106838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:55:37] local.INFO: Packet analysis {"connection_id":106838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:55:37] local.INFO: Extracted packet for processing {"connection_id":106838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:37] 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-06-18 18:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:55:37] 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-06-18 18: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-06-18 18:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106838,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:55:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":106838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345956,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:37] local.INFO: GPS data processed {"connection_id":106838,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:37] local.INFO: Acknowledgment sent {"connection_id":106838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:38] local.INFO: TCP Data received {"connection_id":107813,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:55:38] local.INFO: Processing buffer {"connection_id":107813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:55:38] local.INFO: IMEI packet received {"connection_id":107813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":107813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:55:39] local.INFO: TCP Data received {"connection_id":107813,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:55:39] local.INFO: Processing buffer {"connection_id":107813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae383a0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:55:39] local.INFO: Packet analysis {"connection_id":107813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:55:39] local.INFO: Extracted packet for processing {"connection_id":107813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae3"} 
[2026-06-18 18:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137856768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781788804000,"timestamp_ms":1781788804000,"timestamp_seconds":1781788804,"priority":1,"record_length":96,"hex_timestamp":"0000019edae383a0"} 
[2026-06-18 18:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55: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-06-18 18:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 18:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137856768001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137856768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:55:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137856768001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":107813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:39] local.INFO: GPS data processed {"connection_id":107813,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:39] local.INFO: Acknowledgment sent {"connection_id":107813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:42] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:42] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:42] local.INFO: IMEI packet received {"connection_id":106245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":106245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:55:48] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:48] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:48] local.INFO: IMEI packet received {"connection_id":106245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":106245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:55:49] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:49] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:55:49] local.INFO: IMEI packet received {"connection_id":106245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":106245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:55:50] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae4e330012d19c4c007202808003401382a..."} 
[2026-06-18 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae4e330012d19c4c007202808003401382a..."} 
[2026-06-18 18:55:50] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae4e330012d19c4c007202808003401382a..."} 
[2026-06-18 18:55:50] local.INFO: Packet analysis {"connection_id":106245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:55:50] local.INFO: Extracted packet for processing {"connection_id":106245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae4"} 
[2026-06-18 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137951488001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781788894000,"timestamp_ms":1781788894000,"timestamp_seconds":1781788894,"priority":1,"record_length":96,"hex_timestamp":"0000019edae4e330"} 
[2026-06-18 18:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:55:50] 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-06-18 18:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137951488001,"66":12385,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137951488001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:55:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137951488001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":106245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:50] local.INFO: GPS data processed {"connection_id":106245,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:50] local.INFO: Acknowledgment sent {"connection_id":106245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:54] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae53538012d19c4c0072028080034013829..."} 
[2026-06-18 18:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae53538012d19c4c0072028080034013829..."} 
[2026-06-18 18:55:54] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae53538012d19c4c0072028080034013829..."} 
[2026-06-18 18:55:54] local.INFO: Packet analysis {"connection_id":106245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae5"} 
[2026-06-18 18:55:54] local.INFO: Extracted packet for processing {"connection_id":106245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae5"} 
[2026-06-18 18:55:54] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:55:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137956864001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:55:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:55:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781788915000,"timestamp_ms":1781788915000,"timestamp_seconds":1781788915,"priority":1,"record_length":96,"hex_timestamp":"0000019edae53538"} 
[2026-06-18 18:55:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:55: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-06-18 18:55:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 18:55:54] 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-06-18 18: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-06-18 18:55:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:55:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:55:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:55:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:55:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:55:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:55:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137956864001,"66":12319,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137956864001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:55:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137956864001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":106245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:55:55] local.INFO: GPS data processed {"connection_id":106245,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:55:55] local.INFO: Acknowledgment sent {"connection_id":106245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:55:59] local.INFO: TCP Data received {"connection_id":106839,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:55:59] local.INFO: Processing buffer {"connection_id":106839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:55:59] local.INFO: IMEI packet received {"connection_id":106839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":106839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:56:00] local.INFO: TCP Data received {"connection_id":107812,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae82338012cc26f400756a268001701352d..."} 
[2026-06-18 18:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae82338012cc26f400756a268001701352d..."} 
[2026-06-18 18:56:00] local.INFO: Processing buffer {"connection_id":107812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae82338012cc26f400756a268001701352d..."} 
[2026-06-18 18:56:00] local.INFO: Packet analysis {"connection_id":107812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:56:00] local.INFO: Extracted packet for processing {"connection_id":107812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":750939968,"raw_latitude":123118184,"longitude_deg":75.0939968,"latitude_deg":12.3118184,"altitude":23,"angle":309,"satellites":45,"speed":30,"hex_longitude":"2cc26f40","hex_latitude":"0756a268","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010624001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318841149236183040,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4434638226558574592,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:00] 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-06-18 18:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781789107000,"timestamp_ms":1781789107000,"timestamp_seconds":1781789107,"priority":1,"record_length":96,"hex_timestamp":"0000019edae82338"} 
[2026-06-18 18:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":184,"data_length":795,"current_offset":136} 
[2026-06-18 18:56:00] 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-06-18 18: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-06-18 18:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:56: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-06-18 18:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010624001,"66":27767,"103":206,"85":37120,"24":30,"16":318841149236183040,"44":-4434638226558574592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010624001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:56:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318841149236183040,"km_value":318841149236183.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4434638226558574592,"description":"Unknown IO ID 44"} 
[2026-06-18 18:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010624001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4434638226558574592}} 
[2026-06-18 18:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":107812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:56:00] local.INFO: GPS data processed {"connection_id":107812,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:56:00] local.INFO: Acknowledgment sent {"connection_id":107812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:56:05] local.INFO: TCP Data received {"connection_id":106839,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106839,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:56:05] local.INFO: Processing buffer {"connection_id":106839,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:56:05] local.INFO: IMEI packet received {"connection_id":106839,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":106839,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:56:06] local.INFO: TCP Data received {"connection_id":106839,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:56:06] local.INFO: Processing buffer {"connection_id":106839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:56:06] local.INFO: Packet analysis {"connection_id":106839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:56:06] local.INFO: Extracted packet for processing {"connection_id":106839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:56:06] 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-06-18 18:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:56: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-06-18 18:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:56:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":106839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345961,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:56:06] local.INFO: GPS data processed {"connection_id":106839,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:56:06] local.INFO: Acknowledgment sent {"connection_id":106839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:56:11] local.INFO: TCP Data received {"connection_id":107813,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:56:11] local.INFO: Processing buffer {"connection_id":107813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:56:11] local.INFO: Packet analysis {"connection_id":107813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:56:11] local.INFO: Extracted packet for processing {"connection_id":107813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 18:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:56:11] 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-06-18 18: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-06-18 18:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:56:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":107813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345962,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:56:11] local.INFO: GPS data processed {"connection_id":107813,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:56:11] local.INFO: Acknowledgment sent {"connection_id":107813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:56:24] local.INFO: TCP Data received {"connection_id":106246,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:56:24] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:56:24] local.INFO: IMEI packet received {"connection_id":106246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":106246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:56:27] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae58740012d19c4c007202808003401382b..."} 
[2026-06-18 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae58740012d19c4c007202808003401382b..."} 
[2026-06-18 18:56:27] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae58740012d19c4c007202808003401382b..."} 
[2026-06-18 18:56:27] local.INFO: Packet analysis {"connection_id":106245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae5"} 
[2026-06-18 18:56:27] local.INFO: Extracted packet for processing {"connection_id":106245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae5"} 
[2026-06-18 18:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137962240001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781788936000,"timestamp_ms":1781788936000,"timestamp_seconds":1781788936,"priority":1,"record_length":96,"hex_timestamp":"0000019edae58740"} 
[2026-06-18 18:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:56:27] 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-06-18 18:56:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 18:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18: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-06-18 18:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137962240001,"66":12374,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137962240001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:56:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137962240001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":106245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:56:27] local.INFO: GPS data processed {"connection_id":106245,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:56:27] local.INFO: Acknowledgment sent {"connection_id":106245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:56:29] local.INFO: TCP Data received {"connection_id":106246,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:56:29] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:56:29] local.INFO: IMEI packet received {"connection_id":106246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":106246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:56:30] local.INFO: TCP Data received {"connection_id":106246,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae82ef0012cc267c00756a6d80017012a2c..."} 
[2026-06-18 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae82ef0012cc267c00756a6d80017012a2c..."} 
[2026-06-18 18:56:30] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae82ef0012cc267c00756a6d80017012a2c..."} 
[2026-06-18 18:56:30] local.INFO: Packet analysis {"connection_id":106246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:56:30] local.INFO: Extracted packet for processing {"connection_id":106246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":750938048,"raw_latitude":123119320,"longitude_deg":75.0938048,"latitude_deg":12.311932,"altitude":23,"angle":298,"satellites":44,"speed":27,"hex_longitude":"2cc267c0","hex_latitude":"0756a6d8","is_valid_coordinates":true} 
[2026-06-18 18:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138011392001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318841252315398144,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4436256707674216448,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:30] 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-06-18 18:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789110000,"timestamp_ms":1781789110000,"timestamp_seconds":1781789110,"priority":1,"record_length":96,"hex_timestamp":"0000019edae82ef0"} 
[2026-06-18 18:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:56:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:56:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:56: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-06-18 18:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138011392001,"66":27800,"103":206,"85":37120,"24":27,"16":318841252315398144,"44":-4436256707674216448},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138011392001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:56:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:56:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318841252315398144,"km_value":318841252315398.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4436256707674216448,"description":"Unknown IO ID 44"} 
[2026-06-18 18:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138011392001,"power":27800,"unknown_103":206,"unknown_85":37120,"ignition":27,"odometer":null,"unknown_44":-4436256707674216448}} 
[2026-06-18 18:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":106246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:56:30] local.INFO: GPS data processed {"connection_id":106246,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:56:30] local.INFO: Acknowledgment sent {"connection_id":106246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:56:33] local.INFO: TCP Data received {"connection_id":106840,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:56:33] local.INFO: Processing buffer {"connection_id":106840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:56:33] local.INFO: IMEI packet received {"connection_id":106840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":106840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:56:37] local.INFO: TCP Data received {"connection_id":106839,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:56:37] local.INFO: Processing buffer {"connection_id":106839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:56:37] local.INFO: Packet analysis {"connection_id":106839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:56:37] local.INFO: Extracted packet for processing {"connection_id":106839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:37] 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-06-18 18:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:56:37] 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-06-18 18: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-06-18 18:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106839,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:56:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:56:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":106839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345965,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:56:37] local.INFO: GPS data processed {"connection_id":106839,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:56:37] local.INFO: Acknowledgment sent {"connection_id":106839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:56:38] local.INFO: TCP Data received {"connection_id":106840,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:56:38] local.INFO: Processing buffer {"connection_id":106840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:56:38] local.INFO: IMEI packet received {"connection_id":106840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":106840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:56:39] local.INFO: TCP Data received {"connection_id":106840,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:56:39] local.INFO: Processing buffer {"connection_id":106840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:56:39] local.INFO: Packet analysis {"connection_id":106840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:56:39] local.INFO: Extracted packet for processing {"connection_id":106840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 18:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:56:39] 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-06-18 18:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:56:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":106840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345966,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:56:39] local.INFO: GPS data processed {"connection_id":106840,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:56:39] local.INFO: Acknowledgment sent {"connection_id":106840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:56:44] local.INFO: TCP Data received {"connection_id":106071,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:44] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:44] local.INFO: IMEI packet received {"connection_id":106071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":106071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:56:45] local.INFO: TCP Data received {"connection_id":106071,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:45] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:45] local.INFO: IMEI packet received {"connection_id":106071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:56:45] local.INFO: IMEI acknowledgment sent {"connection_id":106071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:56:49] local.INFO: TCP Data received {"connection_id":106071,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:49] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:56:49] local.INFO: IMEI packet received {"connection_id":106071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":106071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:56:50] local.INFO: TCP Data received {"connection_id":106071,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae5d948012d19c4c007202808003401382b..."} 
[2026-06-18 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae5d948012d19c4c007202808003401382b..."} 
[2026-06-18 18:56:50] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae5d948012d19c4c007202808003401382b..."} 
[2026-06-18 18:56:50] local.INFO: Packet analysis {"connection_id":106071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae5"} 
[2026-06-18 18:56:50] local.INFO: Extracted packet for processing {"connection_id":106071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae5"} 
[2026-06-18 18:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137967616001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781788957000,"timestamp_ms":1781788957000,"timestamp_seconds":1781788957,"priority":1,"record_length":96,"hex_timestamp":"0000019edae5d948"} 
[2026-06-18 18:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:56:50] 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-06-18 18:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137967616001,"66":12374,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137967616001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:56:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:56:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137967616001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":106071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:56:50] local.INFO: GPS data processed {"connection_id":106071,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:56:50] local.INFO: Acknowledgment sent {"connection_id":106071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:56:59] local.INFO: TCP Data received {"connection_id":106841,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:56:59] local.INFO: Processing buffer {"connection_id":106841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:56:59] local.INFO: IMEI packet received {"connection_id":106841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":106841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:57:00] local.INFO: TCP Data received {"connection_id":106246,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae85600012cc254000756b0b00019013529..."} 
[2026-06-18 18:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae85600012cc254000756b0b00019013529..."} 
[2026-06-18 18:57:00] local.INFO: Processing buffer {"connection_id":106246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae85600012cc254000756b0b00019013529..."} 
[2026-06-18 18:57:00] local.INFO: Packet analysis {"connection_id":106246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:57:00] local.INFO: Extracted packet for processing {"connection_id":106246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":750932992,"raw_latitude":123121840,"longitude_deg":75.0932992,"latitude_deg":12.312184,"altitude":25,"angle":309,"satellites":41,"speed":18,"hex_longitude":"2cc25400","hex_latitude":"0756b0b0","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138012160001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318841522898337792,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4438367769999255552,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:00] 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-06-18 18:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781789120000,"timestamp_ms":1781789120000,"timestamp_seconds":1781789120,"priority":1,"record_length":96,"hex_timestamp":"0000019edae85600"} 
[2026-06-18 18:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 18:57: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-06-18 18:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:57: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-06-18 18:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138012160001,"66":27745,"103":206,"85":37120,"24":18,"16":318841522898337792,"44":-4438367769999255552},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138012160001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:57:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318841522898337792,"km_value":318841522898337.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4438367769999255552,"description":"Unknown IO ID 44"} 
[2026-06-18 18:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138012160001,"power":27745,"unknown_103":206,"unknown_85":37120,"ignition":18,"odometer":null,"unknown_44":-4438367769999255552}} 
[2026-06-18 18:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":106246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:57:00] local.INFO: GPS data processed {"connection_id":106246,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:57:00] local.INFO: Acknowledgment sent {"connection_id":106246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:57:05] local.INFO: TCP Data received {"connection_id":106841,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:57:05] local.INFO: Processing buffer {"connection_id":106841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:57:05] local.INFO: IMEI packet received {"connection_id":106841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":106841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:57:06] local.INFO: TCP Data received {"connection_id":106841,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:57:06] local.INFO: Processing buffer {"connection_id":106841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:57:06] local.INFO: Packet analysis {"connection_id":106841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:57:06] local.INFO: Extracted packet for processing {"connection_id":106841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:57:06] 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-06-18 18:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:57:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":106841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345969,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:57:06] local.INFO: GPS data processed {"connection_id":106841,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:57:06] local.INFO: Acknowledgment sent {"connection_id":106841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:57:11] local.INFO: TCP Data received {"connection_id":106840,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:57:11] local.INFO: Processing buffer {"connection_id":106840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:57:11] local.INFO: Packet analysis {"connection_id":106840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:57:11] local.INFO: Extracted packet for processing {"connection_id":106840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 18:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:57:11] 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-06-18 18:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106840,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:57:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":106840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345970,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:57:11] local.INFO: GPS data processed {"connection_id":106840,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:57:11] local.INFO: Acknowledgment sent {"connection_id":106840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:57:22] local.INFO: TCP Data received {"connection_id":106071,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae62b50012d19c4c0072028080034013829..."} 
[2026-06-18 18:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae62b50012d19c4c0072028080034013829..."} 
[2026-06-18 18:57:22] local.INFO: Processing buffer {"connection_id":106071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae62b50012d19c4c0072028080034013829..."} 
[2026-06-18 18:57:22] local.INFO: Packet analysis {"connection_id":106071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:57:22] local.INFO: Extracted packet for processing {"connection_id":106071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:57:22] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":41,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:57:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137972992001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:57:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781788978000,"timestamp_ms":1781788978000,"timestamp_seconds":1781788978,"priority":1,"record_length":96,"hex_timestamp":"0000019edae62b50"} 
[2026-06-18 18:57:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:57:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:57:22] 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-06-18 18: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-06-18 18:57:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:57:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:57:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:57:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:57:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:57:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:57:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:57:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:57:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137972992001,"66":11906,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:57:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:57:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:57:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137972992001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:57:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:57:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:57:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:57:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:57:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137972992001,"power":11906,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:57:22] local.INFO: DEBUG: GPS processor result {"connection_id":106071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:57:22] local.INFO: GPS data processed {"connection_id":106071,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:57:22] local.INFO: Acknowledgment sent {"connection_id":106071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:57:24] local.INFO: TCP Data received {"connection_id":106842,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:57:24] local.INFO: Processing buffer {"connection_id":106842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:57:24] local.INFO: IMEI packet received {"connection_id":106842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":106842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:57:29] local.INFO: TCP Data received {"connection_id":106842,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:57:29] local.INFO: Processing buffer {"connection_id":106842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:57:29] local.INFO: IMEI packet received {"connection_id":106842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":106842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:57:29] local.INFO: TCP Data received {"connection_id":106842,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae87540012cc247800756bda00018014127..."} 
[2026-06-18 18:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae87540012cc247800756bda00018014127..."} 
[2026-06-18 18:57:29] local.INFO: Processing buffer {"connection_id":106842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae87540012cc247800756bda00018014127..."} 
[2026-06-18 18:57:29] local.INFO: Packet analysis {"connection_id":106842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:57:29] local.INFO: Extracted packet for processing {"connection_id":106842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:57:29] local.INFO: GPS Element Parsed {"raw_longitude":750929792,"raw_latitude":123125152,"longitude_deg":75.0929792,"latitude_deg":12.3125152,"altitude":24,"angle":321,"satellites":39,"speed":22,"hex_longitude":"2cc24780","hex_latitude":"0756bda0","is_valid_coordinates":true} 
[2026-06-18 18:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138014720001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318841746236637184,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4443926900788645888,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:29] 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-06-18 18:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781789128000,"timestamp_ms":1781789128000,"timestamp_seconds":1781789128,"priority":1,"record_length":96,"hex_timestamp":"0000019edae87540"} 
[2026-06-18 18:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:57: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-06-18 18:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 18:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:57:29] 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-06-18 18:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138014720001,"66":27767,"103":206,"85":37120,"24":22,"16":318841746236637184,"44":-4443926900788645888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138014720001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:57:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318841746236637184,"km_value":318841746236637.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4443926900788645888,"description":"Unknown IO ID 44"} 
[2026-06-18 18:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138014720001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":22,"odometer":null,"unknown_44":-4443926900788645888}} 
[2026-06-18 18:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":106842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:57:29] local.INFO: GPS data processed {"connection_id":106842,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:57:29] local.INFO: Acknowledgment sent {"connection_id":106842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:57:33] local.INFO: TCP Data received {"connection_id":106247,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:57:33] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:57:33] local.INFO: IMEI packet received {"connection_id":106247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":106247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:57:38] local.INFO: TCP Data received {"connection_id":106841,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:57:38] local.INFO: Processing buffer {"connection_id":106841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:57:38] local.INFO: Packet analysis {"connection_id":106841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:57:38] local.INFO: Extracted packet for processing {"connection_id":106841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:57:38] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:57: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-06-18 18:57:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:38] 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-06-18 18:57:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:57:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:57:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:57:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:57:38] 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-06-18 18:57: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-06-18 18:57:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:57:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:57:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:57:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:57:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:57:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:57:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:57:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:57:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:57:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:57:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:57:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:57:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:57:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:57:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:57:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:57:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:57:38] local.INFO: DEBUG: GPS processor result {"connection_id":106841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345973,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:57:38] local.INFO: GPS data processed {"connection_id":106841,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:57:38] local.INFO: Acknowledgment sent {"connection_id":106841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:57:38] local.INFO: TCP Data received {"connection_id":106247,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:57:38] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:57:38] local.INFO: IMEI packet received {"connection_id":106247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":106247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:57:39] local.INFO: TCP Data received {"connection_id":106247,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:57:39] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:57:39] local.INFO: Packet analysis {"connection_id":106247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:57:39] local.INFO: Extracted packet for processing {"connection_id":106247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 18:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:57:39] 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-06-18 18:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:57:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":106247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:57:39] local.INFO: GPS data processed {"connection_id":106247,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:57:39] local.INFO: Acknowledgment sent {"connection_id":106247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:57:44] local.INFO: TCP Data received {"connection_id":106248,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:57:44] local.INFO: Processing buffer {"connection_id":106248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:57:44] local.INFO: IMEI packet received {"connection_id":106248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":106248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:57:48] local.INFO: TCP Data received {"connection_id":106248,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:57:48] local.INFO: Processing buffer {"connection_id":106248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:57:48] local.INFO: IMEI packet received {"connection_id":106248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":106248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:57:50] local.INFO: TCP Data received {"connection_id":106248,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae67d58012d19c4c0072028080034013828..."} 
[2026-06-18 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae67d58012d19c4c0072028080034013828..."} 
[2026-06-18 18:57:50] local.INFO: Processing buffer {"connection_id":106248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae67d58012d19c4c0072028080034013828..."} 
[2026-06-18 18:57:50] local.INFO: Packet analysis {"connection_id":106248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:57:50] local.INFO: Extracted packet for processing {"connection_id":106248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":40,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137978368001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781788999000,"timestamp_ms":1781788999000,"timestamp_seconds":1781788999,"priority":1,"record_length":96,"hex_timestamp":"0000019edae67d58"} 
[2026-06-18 18:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 18:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137978368001,"66":12374,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137978368001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:57:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:57:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137978368001,"power":12374,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":106248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:57:50] local.INFO: GPS data processed {"connection_id":106248,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:57:50] local.INFO: Acknowledgment sent {"connection_id":106248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:57:59] local.INFO: TCP Data received {"connection_id":106072,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:57:59] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:57:59] local.INFO: IMEI packet received {"connection_id":106072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":106072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:58:00] local.INFO: TCP Data received {"connection_id":106842,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae8afd8012cc231400756d918001b01412b..."} 
[2026-06-18 18:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae8afd8012cc231400756d918001b01412b..."} 
[2026-06-18 18:58:00] local.INFO: Processing buffer {"connection_id":106842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae8afd8012cc231400756d918001b01412b..."} 
[2026-06-18 18:58:00] local.INFO: Packet analysis {"connection_id":106842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:58:00] local.INFO: Extracted packet for processing {"connection_id":106842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":750924096,"raw_latitude":123132184,"longitude_deg":75.0924096,"latitude_deg":12.3132184,"altitude":27,"angle":321,"satellites":43,"speed":24,"hex_longitude":"2cc23140","hex_latitude":"0756d918","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138016768001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318842180028334080,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4447445337996681216,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:00] 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-06-18 18:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781789143000,"timestamp_ms":1781789143000,"timestamp_seconds":1781789143,"priority":1,"record_length":96,"hex_timestamp":"0000019edae8afd8"} 
[2026-06-18 18:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 18:58: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-06-18 18: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-06-18 18:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:58: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-06-18 18:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138016768001,"66":27213,"103":206,"85":37120,"24":24,"16":318842180028334080,"44":-4447445337996681216},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138016768001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:58:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318842180028334080,"km_value":318842180028334.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4447445337996681216,"description":"Unknown IO ID 44"} 
[2026-06-18 18:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138016768001,"power":27213,"unknown_103":206,"unknown_85":37120,"ignition":24,"odometer":null,"unknown_44":-4447445337996681216}} 
[2026-06-18 18:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":106842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:58:00] local.INFO: GPS data processed {"connection_id":106842,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:58:00] local.INFO: Acknowledgment sent {"connection_id":106842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:58:05] local.INFO: TCP Data received {"connection_id":106072,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:58:05] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:58:05] local.INFO: IMEI packet received {"connection_id":106072,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":106072,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:58:06] local.INFO: TCP Data received {"connection_id":106072,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:58:06] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae665e8012d7e398005d34d500007002a2c..."} 
[2026-06-18 18:58:06] local.INFO: Packet analysis {"connection_id":106072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:58:06] local.INFO: Extracted packet for processing {"connection_id":106072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":44,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781788993000,"timestamp_ms":1781788993000,"timestamp_seconds":1781788993,"priority":1,"record_length":96,"hex_timestamp":"0000019edae665e8"} 
[2026-06-18 18:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 18:58:06] 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-06-18 18:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:58:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137905152001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:58:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:58:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137905152001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:58:06] local.INFO: DEBUG: GPS processor result {"connection_id":106072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:58:06] local.INFO: GPS data processed {"connection_id":106072,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:58:06] local.INFO: Acknowledgment sent {"connection_id":106072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:58:11] local.INFO: TCP Data received {"connection_id":106247,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:58:11] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:58:11] local.INFO: Packet analysis {"connection_id":106247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:58:11] local.INFO: Extracted packet for processing {"connection_id":106247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 18:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:58:11] 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-06-18 18:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:58:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":106247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:58:11] local.INFO: GPS data processed {"connection_id":106247,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:58:11] local.INFO: Acknowledgment sent {"connection_id":106247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:58:21] local.INFO: TCP Data received {"connection_id":106248,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae6cf60012d19c4c007202808003401382a..."} 
[2026-06-18 18:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae6cf60012d19c4c007202808003401382a..."} 
[2026-06-18 18:58:21] local.INFO: Processing buffer {"connection_id":106248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae6cf60012d19c4c007202808003401382a..."} 
[2026-06-18 18:58:21] local.INFO: Packet analysis {"connection_id":106248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:58:21] local.INFO: Extracted packet for processing {"connection_id":106248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae6"} 
[2026-06-18 18:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":42,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137983744001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781789020000,"timestamp_ms":1781789020000,"timestamp_seconds":1781789020,"priority":1,"record_length":96,"hex_timestamp":"0000019edae6cf60"} 
[2026-06-18 18:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:58:21] 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-06-18 18:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 18:58:21] 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-06-18 18:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137983744001,"66":12363,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137983744001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:58:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:58:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137983744001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":106248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:58:21] local.INFO: GPS data processed {"connection_id":106248,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:58:21] local.INFO: Acknowledgment sent {"connection_id":106248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:58:24] local.INFO: TCP Data received {"connection_id":107814,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:58:24] local.INFO: Processing buffer {"connection_id":107814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:58:24] local.INFO: IMEI packet received {"connection_id":107814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":107814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:58:29] local.INFO: TCP Data received {"connection_id":107814,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:58:29] local.INFO: Processing buffer {"connection_id":107814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:58:29] local.INFO: IMEI packet received {"connection_id":107814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":107814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:58:29] local.INFO: TCP Data received {"connection_id":107814,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae8e2a0012cc21ac00756f4700019013f2d..."} 
[2026-06-18 18:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae8e2a0012cc21ac00756f4700019013f2d..."} 
[2026-06-18 18:58:29] local.INFO: Processing buffer {"connection_id":107814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae8e2a0012cc21ac00756f4700019013f2d..."} 
[2026-06-18 18:58:29] local.INFO: Packet analysis {"connection_id":107814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:58:29] local.INFO: Extracted packet for processing {"connection_id":107814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:58:29] local.INFO: GPS Element Parsed {"raw_longitude":750918336,"raw_latitude":123139184,"longitude_deg":75.0918336,"latitude_deg":12.3139184,"altitude":25,"angle":319,"satellites":45,"speed":23,"hex_longitude":"2cc21ac0","hex_latitude":"0756f470","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138020608001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318842613820030976,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4453708156226693120,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:29] 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-06-18 18:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781789156000,"timestamp_ms":1781789156000,"timestamp_seconds":1781789156,"priority":1,"record_length":96,"hex_timestamp":"0000019edae8e2a0"} 
[2026-06-18 18:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:58: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-06-18 18: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 18:58: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-06-18 18: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-06-18 18:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:58:29] 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-06-18 18:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138020608001,"66":27800,"103":206,"85":37120,"24":23,"16":318842613820030976,"44":-4453708156226693120},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138020608001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:58:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318842613820030976,"km_value":318842613820031.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4453708156226693120,"description":"Unknown IO ID 44"} 
[2026-06-18 18:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138020608001,"power":27800,"unknown_103":206,"unknown_85":37120,"ignition":23,"odometer":null,"unknown_44":-4453708156226693120}} 
[2026-06-18 18:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":107814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:58:30] local.INFO: GPS data processed {"connection_id":107814,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:58:30] local.INFO: Acknowledgment sent {"connection_id":107814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:58:33] local.INFO: TCP Data received {"connection_id":106249,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:58:33] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:58:33] local.INFO: IMEI packet received {"connection_id":106249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":106249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:58:37] local.INFO: TCP Data received {"connection_id":106072,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:58:37] local.INFO: Processing buffer {"connection_id":106072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:58:37] local.INFO: Packet analysis {"connection_id":106072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:58:37] local.INFO: Extracted packet for processing {"connection_id":106072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:37] 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-06-18 18:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 18:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:58:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:58:37] 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-06-18 18: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-06-18 18:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106072,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:58:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:58:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:58:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":106072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:58:37] local.INFO: GPS data processed {"connection_id":106072,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:58:37] local.INFO: Acknowledgment sent {"connection_id":106072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:58:38] local.INFO: TCP Data received {"connection_id":106249,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:58:38] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:58:38] local.INFO: IMEI packet received {"connection_id":106249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":106249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:58:39] local.INFO: TCP Data received {"connection_id":106249,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:58:39] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:58:39] local.INFO: Packet analysis {"connection_id":106249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:58:39] local.INFO: Extracted packet for processing {"connection_id":106249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 18:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:58:39] 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-06-18 18: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-06-18 18:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:58:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":106249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:58:40] local.INFO: GPS data processed {"connection_id":106249,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:58:40] local.INFO: Acknowledgment sent {"connection_id":106249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:58:44] local.INFO: TCP Data received {"connection_id":106843,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:58:44] local.INFO: Processing buffer {"connection_id":106843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:58:44] local.INFO: IMEI packet received {"connection_id":106843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":106843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:58:49] local.INFO: TCP Data received {"connection_id":106843,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:58:49] local.INFO: Processing buffer {"connection_id":106843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:58:49] local.INFO: IMEI packet received {"connection_id":106843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":106843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:58:50] local.INFO: TCP Data received {"connection_id":106843,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edae72168012d19c4c007202808003401382c..."} 
[2026-06-18 18:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae72168012d19c4c007202808003401382c..."} 
[2026-06-18 18:58:50] local.INFO: Processing buffer {"connection_id":106843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae72168012d19c4c007202808003401382c..."} 
[2026-06-18 18:58:50] local.INFO: Packet analysis {"connection_id":106843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae7"} 
[2026-06-18 18:58:50] local.INFO: Extracted packet for processing {"connection_id":106843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae7"} 
[2026-06-18 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":44,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137989120001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781789041000,"timestamp_ms":1781789041000,"timestamp_seconds":1781789041,"priority":1,"record_length":96,"hex_timestamp":"0000019edae72168"} 
[2026-06-18 18:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:58:50] 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-06-18 18:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137989120001,"66":12211,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137989120001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:58:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:58:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137989120001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":106843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:58:50] local.INFO: GPS data processed {"connection_id":106843,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:58:50] local.INFO: Acknowledgment sent {"connection_id":106843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:00] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:59:00] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:59:00] local.INFO: IMEI packet received {"connection_id":106073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":106073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:59:00] local.INFO: TCP Data received {"connection_id":107814,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae91568012cc1ff0007570e58001601372d..."} 
[2026-06-18 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae91568012cc1ff0007570e58001601372d..."} 
[2026-06-18 18:59:00] local.INFO: Processing buffer {"connection_id":107814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae91568012cc1ff0007570e58001601372d..."} 
[2026-06-18 18:59:00] local.INFO: Packet analysis {"connection_id":107814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 18:59:00] local.INFO: Extracted packet for processing {"connection_id":107814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":750911232,"raw_latitude":123145816,"longitude_deg":75.0911232,"latitude_deg":12.3145816,"altitude":22,"angle":311,"satellites":45,"speed":30,"hex_longitude":"2cc1ff00","hex_latitude":"07570e58","is_valid_coordinates":true} 
[2026-06-18 18:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138023936001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843081971466240,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4460041343200890880,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:00] 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-06-18 18:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781789169000,"timestamp_ms":1781789169000,"timestamp_seconds":1781789169,"priority":1,"record_length":96,"hex_timestamp":"0000019edae91568"} 
[2026-06-18 18:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 18:59: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-06-18 18:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:59: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-06-18 18:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138023936001,"66":27800,"103":206,"85":37120,"24":30,"16":318843081971466240,"44":-4460041343200890880},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138023936001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843081971466240,"km_value":318843081971466.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4460041343200890880,"description":"Unknown IO ID 44"} 
[2026-06-18 18:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138023936001,"power":27800,"unknown_103":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4460041343200890880}} 
[2026-06-18 18:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":107814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:00] local.INFO: GPS data processed {"connection_id":107814,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:00] local.INFO: Acknowledgment sent {"connection_id":107814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:04] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:59:04] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 18:59:04] local.INFO: IMEI packet received {"connection_id":106073,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 18:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":106073,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:59:05] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:59:05] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:59:05] local.INFO: Packet analysis {"connection_id":106073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:59:05] local.INFO: Extracted packet for processing {"connection_id":106073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:05] 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-06-18 18:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 18:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:59:05] 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-06-18 18: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-06-18 18:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:59:05] 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-06-18 18:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":106073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345985,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:05] local.INFO: GPS data processed {"connection_id":106073,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:05] local.INFO: Acknowledgment sent {"connection_id":106073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:11] local.INFO: TCP Data received {"connection_id":106249,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:59:11] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:59:11] local.INFO: Packet analysis {"connection_id":106249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:59:11] local.INFO: Extracted packet for processing {"connection_id":106249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 18:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:59:11] 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-06-18 18: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-06-18 18:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106249,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":106249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345986,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:11] local.INFO: GPS data processed {"connection_id":106249,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:11] local.INFO: Acknowledgment sent {"connection_id":106249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:25] local.INFO: TCP Data received {"connection_id":106843,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeaa7c0012d19c4c007202808003401382b..."} 
[2026-06-18 18:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeaa7c0012d19c4c007202808003401382b..."} 
[2026-06-18 18:59:25] local.INFO: Processing buffer {"connection_id":106843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeaa7c0012d19c4c007202808003401382b..."} 
[2026-06-18 18:59:25] local.INFO: Packet analysis {"connection_id":106843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:59:25] local.INFO: Extracted packet for processing {"connection_id":106843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:59:25] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:59:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138048256001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:59:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781789272000,"timestamp_ms":1781789272000,"timestamp_seconds":1781789272,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeaa7c0"} 
[2026-06-18 18:59:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 18:59:25] 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-06-18 18: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-06-18 18:59:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:59:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:59:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:59:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:59:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:59:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138048256001,"66":12319,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:59:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:59:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:59:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138048256001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:59:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:59:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:59:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138048256001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:59:25] local.INFO: DEBUG: GPS processor result {"connection_id":106843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:25] local.INFO: GPS data processed {"connection_id":106843,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:25] local.INFO: Acknowledgment sent {"connection_id":106843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:29] local.INFO: TCP Data received {"connection_id":106844,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:59:29] local.INFO: Processing buffer {"connection_id":106844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:59:29] local.INFO: IMEI packet received {"connection_id":106844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 18:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":106844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:59:33] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:59:33] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:59:33] local.INFO: IMEI packet received {"connection_id":106074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 18:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":106074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:59:34] local.INFO: TCP Data received {"connection_id":106844,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:59:34] local.INFO: Processing buffer {"connection_id":106844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 18:59:34] local.INFO: IMEI packet received {"connection_id":106844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 18:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":106844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:59:35] local.INFO: TCP Data received {"connection_id":106844,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae94830012cc1e4c007572630001501432d..."} 
[2026-06-18 18:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae94830012cc1e4c007572630001501432d..."} 
[2026-06-18 18:59:35] local.INFO: Processing buffer {"connection_id":106844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae94830012cc1e4c007572630001501432d..."} 
[2026-06-18 18:59:35] local.INFO: Packet analysis {"connection_id":106844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 18:59:35] local.INFO: Extracted packet for processing {"connection_id":106844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 18:59:35] local.INFO: GPS Element Parsed {"raw_longitude":750904512,"raw_latitude":123151920,"longitude_deg":75.0904512,"latitude_deg":12.315192,"altitude":21,"angle":323,"satellites":45,"speed":15,"hex_longitude":"2cc1e4c0","hex_latitude":"07572630","is_valid_coordinates":true} 
[2026-06-18 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138027264001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843515763163136,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4467852273802913792,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59: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-06-18 18:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781789182000,"timestamp_ms":1781789182000,"timestamp_seconds":1781789182,"priority":1,"record_length":96,"hex_timestamp":"0000019edae94830"} 
[2026-06-18 18:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59: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-06-18 18:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 18:59: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-06-18 18:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:59: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-06-18 18:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138027264001,"66":27843,"103":206,"85":37120,"24":15,"16":318843515763163136,"44":-4467852273802913792},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138027264001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:59:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843515763163136,"km_value":318843515763163.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4467852273802913792,"description":"Unknown IO ID 44"} 
[2026-06-18 18:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138027264001,"power":27843,"unknown_103":206,"unknown_85":37120,"ignition":15,"odometer":null,"unknown_44":-4467852273802913792}} 
[2026-06-18 18:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":106844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:35] local.INFO: GPS data processed {"connection_id":106844,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:35] local.INFO: Acknowledgment sent {"connection_id":106844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:36] local.INFO: TCP Data received {"connection_id":106073,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:59:36] local.INFO: Processing buffer {"connection_id":106073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 18:59:36] local.INFO: Packet analysis {"connection_id":106073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:59:36] local.INFO: Extracted packet for processing {"connection_id":106073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:59:36] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 18: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-06-18 18:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:36] 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-06-18 18:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 18:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 18:59:36] 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-06-18 18: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-06-18 18:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106073,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 18:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 18:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 18:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 18:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 18:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 18:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 18:59:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 18:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 18:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 18:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":106073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:36] local.INFO: GPS data processed {"connection_id":106073,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:36] local.INFO: Acknowledgment sent {"connection_id":106073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:39] local.INFO: TCP Data received {"connection_id":106844,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae94830012cc1e4c007572630001501432d..."} 
[2026-06-18 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae94830012cc1e4c007572630001501432d..."} 
[2026-06-18 18:59:39] local.INFO: Processing buffer {"connection_id":106844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae94830012cc1e4c007572630001501432d..."} 
[2026-06-18 18:59:39] local.INFO: Packet analysis {"connection_id":106844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 18:59:39] local.INFO: Extracted packet for processing {"connection_id":106844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 18:59:39] local.INFO: GPS Element Parsed {"raw_longitude":750904512,"raw_latitude":123151920,"longitude_deg":75.0904512,"latitude_deg":12.315192,"altitude":21,"angle":323,"satellites":45,"speed":15,"hex_longitude":"2cc1e4c0","hex_latitude":"07572630","is_valid_coordinates":true} 
[2026-06-18 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138030592001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843515763163136,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475240991940005888,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:39] 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-06-18 18:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789182000,"timestamp_ms":1781789182000,"timestamp_seconds":1781789182,"priority":1,"record_length":96,"hex_timestamp":"0000019edae94830"} 
[2026-06-18 18:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 18:59: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-06-18 18:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 18:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 18:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 18:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138030592001,"66":27843,"103":206,"85":37120,"24":15,"16":318843515763163136,"44":-4475240991940005888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 18:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 18:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 18:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138030592001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:39] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 18:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 18:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843515763163136,"km_value":318843515763163.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475240991940005888,"description":"Unknown IO ID 44"} 
[2026-06-18 18:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138030592001,"power":27843,"unknown_103":206,"unknown_85":37120,"ignition":15,"odometer":null,"unknown_44":-4475240991940005888}} 
[2026-06-18 18:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":106844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:39] local.INFO: GPS data processed {"connection_id":106844,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:39] local.INFO: Acknowledgment sent {"connection_id":106844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:39] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:59:39] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 18:59:39] local.INFO: IMEI packet received {"connection_id":106074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 18:59:39] local.INFO: IMEI acknowledgment sent {"connection_id":106074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:59:40] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:59:40] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 18:59:40] local.INFO: Packet analysis {"connection_id":106074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:59:40] local.INFO: Extracted packet for processing {"connection_id":106074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 18:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 18:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 18:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 18:59:40] 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-06-18 18:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 18:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 18:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 18:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 18:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 18:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 18:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 18:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 18:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 18:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 18:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":106074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:40] local.INFO: GPS data processed {"connection_id":106074,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:40] local.INFO: Acknowledgment sent {"connection_id":106074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 18:59:44] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:59:44] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:59:44] local.INFO: IMEI packet received {"connection_id":106075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 18:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":106075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 18:59:49] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:59:49] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 18:59:49] local.INFO: IMEI packet received {"connection_id":106075,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 18:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":106075,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 18:59:51] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeaf9c8012d19c4c007202808003401382b..."} 
[2026-06-18 18:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeaf9c8012d19c4c007202808003401382b..."} 
[2026-06-18 18:59:51] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeaf9c8012d19c4c007202808003401382b..."} 
[2026-06-18 18:59:51] local.INFO: Packet analysis {"connection_id":106075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:59:51] local.INFO: Extracted packet for processing {"connection_id":106075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 18:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 18:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138053632001,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 18:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 18:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781789293000,"timestamp_ms":1781789293000,"timestamp_seconds":1781789293,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeaf9c8"} 
[2026-06-18 18:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 18:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 18:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 18:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 18:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 18:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 18:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 18:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 18:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 18:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 18:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 18:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 18:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138053632001,"66":12298,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 18:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 18:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 18:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138053632001,"description":"Unknown IO ID 0"} 
[2026-06-18 18:59:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 18:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 18:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 18:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 18:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138053632001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 18:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":106075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 18:59:51] local.INFO: GPS data processed {"connection_id":106075,"processed":1,"errors":0,"total":1} 
[2026-06-18 18:59:51] local.INFO: Acknowledgment sent {"connection_id":106075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:00] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:00] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:00] local.INFO: IMEI packet received {"connection_id":106250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":106250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:00:05] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:05] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:05] local.INFO: IMEI packet received {"connection_id":106250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":106250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:00:06] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:00:06] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:00:06] local.INFO: Packet analysis {"connection_id":106250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:00:06] local.INFO: Extracted packet for processing {"connection_id":106250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 19:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 19:00:06] 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-06-18 19: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-06-18 19:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 19:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 19:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":106250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:06] local.INFO: GPS data processed {"connection_id":106250,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:06] local.INFO: Acknowledgment sent {"connection_id":106250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:12] local.INFO: TCP Data received {"connection_id":106074,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:12] local.INFO: Processing buffer {"connection_id":106074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:12] local.INFO: Packet analysis {"connection_id":106074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 19:00:12] local.INFO: Extracted packet for processing {"connection_id":106074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 19:00:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 19:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 19:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106074,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":106074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:12] local.INFO: GPS data processed {"connection_id":106074,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:12] local.INFO: Acknowledgment sent {"connection_id":106074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:22] local.INFO: TCP Data received {"connection_id":106075,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeb4bd0012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeb4bd0012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:22] local.INFO: Processing buffer {"connection_id":106075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeb4bd0012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:22] local.INFO: Packet analysis {"connection_id":106075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaeb"} 
[2026-06-18 19:00:22] local.INFO: Extracted packet for processing {"connection_id":106075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaeb"} 
[2026-06-18 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 19:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138059008001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781789314000,"timestamp_ms":1781789314000,"timestamp_seconds":1781789314,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeb4bd0"} 
[2026-06-18 19:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2672680151674971708,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":232,"raw_value":8286623314361712641,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513454372348494136,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":52,"raw_value":87864173198835712,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3443002799476506830,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3920734209,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2684431641,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3221692456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3899850752,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:22] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,232,167,45,192,40,52,43,10,66,85,41,3,1,240,53,218,32,4,113,205,95,196,8,239,48,2,11,7,38],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:00:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747338122283712512,"timestamp_seconds":3747338122283712.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106075,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138059008001,"66":12319,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138059008001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:00:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 19:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138059008001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 19:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":106075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:22] local.INFO: GPS data processed {"connection_id":106075,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:22] local.INFO: Acknowledgment sent {"connection_id":106075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:24] local.INFO: TCP Data received {"connection_id":106845,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:00:24] local.INFO: Processing buffer {"connection_id":106845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:00:24] local.INFO: IMEI packet received {"connection_id":106845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":106845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:00:29] local.INFO: TCP Data received {"connection_id":106845,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:00:29] local.INFO: Processing buffer {"connection_id":106845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:00:29] local.INFO: IMEI packet received {"connection_id":106845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":106845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:00:30] local.INFO: TCP Data received {"connection_id":106845,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae96388012cc1e24007572ae00017015928..."} 
[2026-06-18 19:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae96388012cc1e24007572ae00017015928..."} 
[2026-06-18 19:00:30] local.INFO: Processing buffer {"connection_id":106845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae96388012cc1e24007572ae00017015928..."} 
[2026-06-18 19:00:30] local.INFO: Packet analysis {"connection_id":106845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 19:00:30] local.INFO: Extracted packet for processing {"connection_id":106845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 19:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750903872,"raw_latitude":123153120,"longitude_deg":75.0903872,"latitude_deg":12.315312,"altitude":23,"angle":345,"satellites":40,"speed":9,"hex_longitude":"2cc1e240","hex_latitude":"07572ae0","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138030592001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843580187672576,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475240991940005888,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:30] 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-06-18 19:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789189000,"timestamp_ms":1781789189000,"timestamp_seconds":1781789189,"priority":1,"record_length":96,"hex_timestamp":"0000019edae96388"} 
[2026-06-18 19:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19: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-06-18 19: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-06-18 19:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:00: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-06-18 19:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138030592001,"66":27767,"103":206,"85":37120,"24":9,"16":318843580187672576,"44":-4475240991940005888},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138030592001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843580187672576,"km_value":318843580187672.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475240991940005888,"description":"Unknown IO ID 44"} 
[2026-06-18 19:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138030592001,"power":27767,"unknown_103":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4475240991940005888}} 
[2026-06-18 19:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":106845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:30] local.INFO: GPS data processed {"connection_id":106845,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:30] local.INFO: Acknowledgment sent {"connection_id":106845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:37] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:00:37] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:00:37] local.INFO: Packet analysis {"connection_id":106250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:00:37] local.INFO: Extracted packet for processing {"connection_id":106250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:37] 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-06-18 19:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 19:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:00:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 19:00:37] 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-06-18 19:00:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:00:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:00:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 19:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 19:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":106250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345997,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:37] local.INFO: GPS data processed {"connection_id":106250,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:37] local.INFO: Acknowledgment sent {"connection_id":106250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:38] local.INFO: TCP Data received {"connection_id":107815,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:00:38] local.INFO: Processing buffer {"connection_id":107815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:00:38] local.INFO: IMEI packet received {"connection_id":107815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":107815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:00:44] local.INFO: TCP Data received {"connection_id":107815,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:00:44] local.INFO: Processing buffer {"connection_id":107815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:00:44] local.INFO: IMEI packet received {"connection_id":107815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":107815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:00:45] local.INFO: TCP Data received {"connection_id":107815,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:45] local.INFO: Processing buffer {"connection_id":107815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae81b68012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:45] local.INFO: Packet analysis {"connection_id":107815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 19:00:45] local.INFO: Extracted packet for processing {"connection_id":107815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae8"} 
[2026-06-18 19:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137933824001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781789105000,"timestamp_ms":1781789105000,"timestamp_seconds":1781789105,"priority":1,"record_length":96,"hex_timestamp":"0000019edae81b68"} 
[2026-06-18 19:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 19:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137933824001,"66":25441,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137933824001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137933824001,"power":25441,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":107815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:45] local.INFO: GPS data processed {"connection_id":107815,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:45] local.INFO: Acknowledgment sent {"connection_id":107815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:47] local.INFO: TCP Data received {"connection_id":107815,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:47] local.INFO: Processing buffer {"connection_id":107815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:00:47] local.INFO: Packet analysis {"connection_id":107815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:00:47] local.INFO: Extracted packet for processing {"connection_id":107815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:00:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:00:47] 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-06-18 19:00:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:00:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":107815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":345999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:47] local.INFO: GPS data processed {"connection_id":107815,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:47] local.INFO: Acknowledgment sent {"connection_id":107815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:48] local.INFO: TCP Data received {"connection_id":106846,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:48] local.INFO: Processing buffer {"connection_id":106846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:48] local.INFO: IMEI packet received {"connection_id":106846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":106846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:00:49] local.INFO: TCP Data received {"connection_id":106846,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:49] local.INFO: Processing buffer {"connection_id":106846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:49] local.INFO: IMEI packet received {"connection_id":106846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":106846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:00:50] local.INFO: TCP Data received {"connection_id":106846,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:50] local.INFO: Processing buffer {"connection_id":106846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:00:50] local.INFO: IMEI packet received {"connection_id":106846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":106846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:00:51] local.INFO: TCP Data received {"connection_id":106846,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeb9dd8012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeb9dd8012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:51] local.INFO: Processing buffer {"connection_id":106846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeb9dd8012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:51] local.INFO: Packet analysis {"connection_id":106846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaeb"} 
[2026-06-18 19:00:51] local.INFO: Extracted packet for processing {"connection_id":106846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaeb"} 
[2026-06-18 19:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 19:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138064384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781789335000,"timestamp_ms":1781789335000,"timestamp_seconds":1781789335,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeb9dd8"} 
[2026-06-18 19:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 19:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138064384001,"66":13939,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138064384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:00:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 19:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138064384001,"power":13939,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 19:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":106846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:51] local.INFO: GPS data processed {"connection_id":106846,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:51] local.INFO: Acknowledgment sent {"connection_id":106846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:51] local.INFO: TCP Data received {"connection_id":106846,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaebefe0012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaebefe0012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:51] local.INFO: Processing buffer {"connection_id":106846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaebefe0012d19c4c007202808003401382b..."} 
[2026-06-18 19:00:51] local.INFO: Packet analysis {"connection_id":106846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaeb"} 
[2026-06-18 19:00:51] local.INFO: Extracted packet for processing {"connection_id":106846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaeb"} 
[2026-06-18 19:00:51] local.INFO: GPS Element Parsed {"raw_longitude":756663488,"raw_latitude":119547912,"longitude_deg":75.6663488,"latitude_deg":11.9547912,"altitude":52,"angle":312,"satellites":43,"speed":0,"hex_longitude":"2d19c4c0","hex_latitude":"07202808","is_valid_coordinates":true} 
[2026-06-18 19:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138069760001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3351805362700288,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856820083220285440,"note":"Value kept but may cause issues"} 
[2026-06-18 19:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781789356000,"timestamp_ms":1781789356000,"timestamp_seconds":1781789356,"priority":1,"record_length":96,"hex_timestamp":"0000019edaebefe0"} 
[2026-06-18 19:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-06-18 19:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138069760001,"66":14048,"121":206,"28":31744,"24":0,"16":3351805362700288,"45":1856820083220285440},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138069760001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:00:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:00:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3351805362700288,"km_value":3351805362700.288,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856820083220285440,"description":"Unknown IO ID 45"} 
[2026-06-18 19:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138069760001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856820083220285440}} 
[2026-06-18 19:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":106846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:00:52] local.INFO: GPS data processed {"connection_id":106846,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:00:52] local.INFO: Acknowledgment sent {"connection_id":106846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:00:59] local.INFO: TCP Data received {"connection_id":106251,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:59] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:00:59] local.INFO: IMEI packet received {"connection_id":106251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":106251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:01:00] local.INFO: TCP Data received {"connection_id":106845,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae96f40012cc1e14007572d700018014b2b..."} 
[2026-06-18 19:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae96f40012cc1e14007572d700018014b2b..."} 
[2026-06-18 19:01:00] local.INFO: Processing buffer {"connection_id":106845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae96f40012cc1e14007572d700018014b2b..."} 
[2026-06-18 19:01:00] local.INFO: Packet analysis {"connection_id":106845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 19:01:00] local.INFO: Extracted packet for processing {"connection_id":106845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":750903616,"raw_latitude":123153776,"longitude_deg":75.0903616,"latitude_deg":12.3153776,"altitude":24,"angle":331,"satellites":43,"speed":9,"hex_longitude":"2cc1e140","hex_latitude":"07572d70","is_valid_coordinates":true} 
[2026-06-18 19:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138032384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843614547410944,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4475944679381475328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:00] 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-06-18 19:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781789192000,"timestamp_ms":1781789192000,"timestamp_seconds":1781789192,"priority":1,"record_length":96,"hex_timestamp":"0000019edae96f40"} 
[2026-06-18 19:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 19:01: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-06-18 19:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:01: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-06-18 19:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138032384001,"66":27626,"103":206,"85":37120,"24":9,"16":318843614547410944,"44":-4475944679381475328},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138032384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843614547410944,"km_value":318843614547410.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4475944679381475328,"description":"Unknown IO ID 44"} 
[2026-06-18 19:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138032384001,"power":27626,"unknown_103":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4475944679381475328}} 
[2026-06-18 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":106845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:00] local.INFO: GPS data processed {"connection_id":106845,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:00] local.INFO: Acknowledgment sent {"connection_id":106845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:05] local.INFO: TCP Data received {"connection_id":106251,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:01:05] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:01:05] local.INFO: IMEI packet received {"connection_id":106251,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":106251,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:01:06] local.INFO: TCP Data received {"connection_id":106251,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:01:06] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:01:06] local.INFO: Packet analysis {"connection_id":106251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:01:06] local.INFO: Extracted packet for processing {"connection_id":106251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 19:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 19:01:06] 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-06-18 19:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:01:06] 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-06-18 19:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 19:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 19:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":106251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346003,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:06] local.INFO: GPS data processed {"connection_id":106251,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:06] local.INFO: Acknowledgment sent {"connection_id":106251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:18] local.INFO: TCP Data received {"connection_id":107815,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:01:18] local.INFO: Processing buffer {"connection_id":107815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:01:18] local.INFO: Packet analysis {"connection_id":107815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:01:18] local.INFO: Extracted packet for processing {"connection_id":107815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:01:18] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:01:18] 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-06-18 19:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:01:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":107815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:18] local.INFO: GPS data processed {"connection_id":107815,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:18] local.INFO: Acknowledgment sent {"connection_id":107815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:23] local.INFO: TCP Data received {"connection_id":106846,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecf1b0012d19a9800720b0b8003701182b..."} 
[2026-06-18 19:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecf1b0012d19a9800720b0b8003701182b..."} 
[2026-06-18 19:01:23] local.INFO: Processing buffer {"connection_id":106846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecf1b0012d19a9800720b0b8003701182b..."} 
[2026-06-18 19:01:23] local.INFO: Packet analysis {"connection_id":106846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:01:23] local.INFO: Extracted packet for processing {"connection_id":106846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582904,"longitude_deg":75.6656512,"latitude_deg":11.9582904,"altitude":55,"angle":280,"satellites":43,"speed":26,"hex_longitude":"2d19a980","hex_latitude":"0720b0b8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138091008001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3353725213081600,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851894271136589824,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781789422000,"timestamp_ms":1781789422000,"timestamp_seconds":1781789422,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecf1b0"} 
[2026-06-18 19:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 19:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138091008001,"66":13352,"121":206,"28":31744,"24":26,"16":3353725213081600,"45":1851894271136589824},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138091008001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:01:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3353725213081600,"km_value":3353725213081.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851894271136589824,"description":"Unknown IO ID 45"} 
[2026-06-18 19:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138091008001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1851894271136589824}} 
[2026-06-18 19:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":106846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:23] local.INFO: GPS data processed {"connection_id":106846,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:23] local.INFO: Acknowledgment sent {"connection_id":106846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:24] local.INFO: TCP Data received {"connection_id":106847,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:01:24] local.INFO: Processing buffer {"connection_id":106847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:01:24] local.INFO: IMEI packet received {"connection_id":106847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":106847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:01:29] local.INFO: TCP Data received {"connection_id":106847,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:01:29] local.INFO: Processing buffer {"connection_id":106847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:01:29] local.INFO: IMEI packet received {"connection_id":106847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":106847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:01:30] local.INFO: TCP Data received {"connection_id":106847,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae97710012cc1e00007572ea00019013b2e..."} 
[2026-06-18 19:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae97710012cc1e00007572ea00019013b2e..."} 
[2026-06-18 19:01:30] local.INFO: Processing buffer {"connection_id":106847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae97710012cc1e00007572ea00019013b2e..."} 
[2026-06-18 19:01:30] local.INFO: Packet analysis {"connection_id":106847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 19:01:30] local.INFO: Extracted packet for processing {"connection_id":106847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750903296,"raw_latitude":123154080,"longitude_deg":75.0903296,"latitude_deg":12.315408,"altitude":25,"angle":315,"satellites":46,"speed":5,"hex_longitude":"2cc1e000","hex_latitude":"07572ea0","is_valid_coordinates":true} 
[2026-06-18 19:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138033152001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843636022247424,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476226154358018048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:30] 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-06-18 19:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789194000,"timestamp_ms":1781789194000,"timestamp_seconds":1781789194,"priority":1,"record_length":96,"hex_timestamp":"0000019edae97710"} 
[2026-06-18 19:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 19:01: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-06-18 19:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:01: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-06-18 19:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138033152001,"66":27713,"103":206,"85":37120,"24":5,"16":318843636022247424,"44":-4476226154358018048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138033152001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843636022247424,"km_value":318843636022247.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476226154358018048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138033152001,"power":27713,"unknown_103":206,"unknown_85":37120,"ignition":5,"odometer":null,"unknown_44":-4476226154358018048}} 
[2026-06-18 19:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":106847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:30] local.INFO: GPS data processed {"connection_id":106847,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:30] local.INFO: Acknowledgment sent {"connection_id":106847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:33] local.INFO: TCP Data received {"connection_id":106076,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:01:33] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:01:33] local.INFO: IMEI packet received {"connection_id":106076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":106076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:01:37] local.INFO: TCP Data received {"connection_id":106251,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:01:37] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:01:37] local.INFO: Packet analysis {"connection_id":106251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:01:37] local.INFO: Extracted packet for processing {"connection_id":106251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:37] 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-06-18 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 19:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:01:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 19:01:37] 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-06-18 19:01:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106251,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:01:37] 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-06-18 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:01:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":106251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346007,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:37] local.INFO: GPS data processed {"connection_id":106251,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:37] local.INFO: Acknowledgment sent {"connection_id":106251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:38] local.INFO: TCP Data received {"connection_id":106076,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:01:38] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:01:38] local.INFO: IMEI packet received {"connection_id":106076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":106076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:01:39] local.INFO: TCP Data received {"connection_id":106076,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:01:39] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:01:39] local.INFO: Packet analysis {"connection_id":106076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:01:39] local.INFO: Extracted packet for processing {"connection_id":106076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01: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-06-18 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":106076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:39] local.INFO: GPS data processed {"connection_id":106076,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:39] local.INFO: Acknowledgment sent {"connection_id":106076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:44] local.INFO: TCP Data received {"connection_id":107816,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:01:44] local.INFO: Processing buffer {"connection_id":107816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:01:44] local.INFO: IMEI packet received {"connection_id":107816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":107816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:01:51] local.INFO: TCP Data received {"connection_id":107816,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:01:51] local.INFO: Processing buffer {"connection_id":107816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:01:51] local.INFO: IMEI packet received {"connection_id":107816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":107816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:01:52] local.INFO: TCP Data received {"connection_id":107816,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaed2478012d198f000720b3b80038010c2a..."} 
[2026-06-18 19:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaed2478012d198f000720b3b80038010c2a..."} 
[2026-06-18 19:01:52] local.INFO: Processing buffer {"connection_id":107816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaed2478012d198f000720b3b80038010c2a..."} 
[2026-06-18 19:01:52] local.INFO: Packet analysis {"connection_id":107816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaed"} 
[2026-06-18 19:01:52] local.INFO: Extracted packet for processing {"connection_id":107816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaed"} 
[2026-06-18 19:01:52] local.INFO: GPS Element Parsed {"raw_longitude":756649728,"raw_latitude":119583672,"longitude_deg":75.6649728,"latitude_deg":11.9583672,"altitude":56,"angle":268,"satellites":42,"speed":11,"hex_longitude":"2d198f00","hex_latitude":"0720b3b8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:01:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138092032001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354051630596096,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890113878016,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:01:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781789435000,"timestamp_ms":1781789435000,"timestamp_seconds":1781789435,"priority":1,"record_length":96,"hex_timestamp":"0000019edaed2478"} 
[2026-06-18 19:01:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:01:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-06-18 19:01:52] 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-06-18 19: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-06-18 19:01:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:01:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:01:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:01:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:01:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:01:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138092032001,"66":13243,"121":206,"28":31744,"24":11,"16":3354051630596096,"45":1849149890113878016},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:01:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:01:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:01:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138092032001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:01:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:01:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354051630596096,"km_value":3354051630596.096,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890113878016,"description":"Unknown IO ID 45"} 
[2026-06-18 19:01:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138092032001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1849149890113878016}} 
[2026-06-18 19:01:52] local.INFO: DEBUG: GPS processor result {"connection_id":107816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:52] local.INFO: GPS data processed {"connection_id":107816,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:52] local.INFO: Acknowledgment sent {"connection_id":107816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:54] local.INFO: TCP Data received {"connection_id":107816,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaed2c48012d198d000720b378003800f12a..."} 
[2026-06-18 19:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaed2c48012d198d000720b378003800f12a..."} 
[2026-06-18 19:01:54] local.INFO: Processing buffer {"connection_id":107816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaed2c48012d198d000720b378003800f12a..."} 
[2026-06-18 19:01:54] local.INFO: Packet analysis {"connection_id":107816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaed"} 
[2026-06-18 19:01:54] local.INFO: Extracted packet for processing {"connection_id":107816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaed"} 
[2026-06-18 19:01:54] local.INFO: GPS Element Parsed {"raw_longitude":756649216,"raw_latitude":119583608,"longitude_deg":75.6649216,"latitude_deg":11.9583608,"altitude":56,"angle":241,"satellites":42,"speed":7,"hex_longitude":"2d198d00","hex_latitude":"0720b378","is_valid_coordinates":true} 
[2026-06-18 19:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138095360001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354073105432576,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841690803231242240,"note":"Value kept but may cause issues"} 
[2026-06-18 19:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781789437000,"timestamp_ms":1781789437000,"timestamp_seconds":1781789437,"priority":1,"record_length":96,"hex_timestamp":"0000019edaed2c48"} 
[2026-06-18 19:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:01: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-06-18 19:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 19:01: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-06-18 19:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":107816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":107816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":107816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138095360001,"66":13298,"121":206,"28":31744,"24":7,"16":3354073105432576,"45":1841690803231242240},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138095360001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:01:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:01:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354073105432576,"km_value":3354073105432.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841690803231242240,"description":"Unknown IO ID 45"} 
[2026-06-18 19:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138095360001,"power":13298,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1841690803231242240}} 
[2026-06-18 19:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":107816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:01:55] local.INFO: GPS data processed {"connection_id":107816,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:01:55] local.INFO: Acknowledgment sent {"connection_id":107816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:01:59] local.INFO: TCP Data received {"connection_id":107817,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:01:59] local.INFO: Processing buffer {"connection_id":107817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:01:59] local.INFO: IMEI packet received {"connection_id":107817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":107817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:02:01] local.INFO: TCP Data received {"connection_id":106847,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edae9c918012cc1dc8007572df00021013b2f..."} 
[2026-06-18 19:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edae9c918012cc1dc8007572df00021013b2f..."} 
[2026-06-18 19:02:01] local.INFO: Processing buffer {"connection_id":106847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edae9c918012cc1dc8007572df00021013b2f..."} 
[2026-06-18 19:02:01] local.INFO: Packet analysis {"connection_id":106847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 19:02:01] local.INFO: Extracted packet for processing {"connection_id":106847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edae9"} 
[2026-06-18 19:02:01] local.INFO: GPS Element Parsed {"raw_longitude":750902400,"raw_latitude":123153904,"longitude_deg":75.09024,"latitude_deg":12.3153904,"altitude":33,"angle":315,"satellites":47,"speed":1,"hex_longitude":"2cc1dc80","hex_latitude":"07572df0","is_valid_coordinates":true} 
[2026-06-18 19:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138033664001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843709036691456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4476577998078828544,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:01] 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-06-18 19:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789215000,"timestamp_ms":1781789215000,"timestamp_seconds":1781789215,"priority":1,"record_length":96,"hex_timestamp":"0000019edae9c918"} 
[2026-06-18 19:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:02: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-06-18 19:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 19:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138033664001,"66":27745,"103":206,"85":37120,"24":1,"16":318843709036691456,"44":-4476577998078828544},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138033664001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:02:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843709036691456,"km_value":318843709036691.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:02:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4476577998078828544,"description":"Unknown IO ID 44"} 
[2026-06-18 19:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138033664001,"power":27745,"unknown_103":206,"unknown_85":37120,"ignition":1,"odometer":null,"unknown_44":-4476577998078828544}} 
[2026-06-18 19:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":106847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:02:01] local.INFO: GPS data processed {"connection_id":106847,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:02:01] local.INFO: Acknowledgment sent {"connection_id":106847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:02:05] local.INFO: TCP Data received {"connection_id":107817,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107817,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:02:05] local.INFO: Processing buffer {"connection_id":107817,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:02:05] local.INFO: IMEI packet received {"connection_id":107817,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":107817,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:02:05] local.INFO: TCP Data received {"connection_id":107817,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:02:05] local.INFO: Processing buffer {"connection_id":107817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:02:05] local.INFO: Packet analysis {"connection_id":107817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:02:05] local.INFO: Extracted packet for processing {"connection_id":107817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:05] 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-06-18 19:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 19:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 19:02:05] 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-06-18 19: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-06-18 19:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:02:05] 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-06-18 19:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:02:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 19:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 19:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":107817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346012,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:02:05] local.INFO: GPS data processed {"connection_id":107817,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:02:05] local.INFO: Acknowledgment sent {"connection_id":107817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:02:11] local.INFO: TCP Data received {"connection_id":106076,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:02:11] local.INFO: Processing buffer {"connection_id":106076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:02:11] local.INFO: Packet analysis {"connection_id":106076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:02:11] local.INFO: Extracted packet for processing {"connection_id":106076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:02:11] 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-06-18 19:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106076,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:02:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":106076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346013,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:02:11] local.INFO: GPS data processed {"connection_id":106076,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:02:11] local.INFO: Acknowledgment sent {"connection_id":106076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:02:24] local.INFO: TCP Data received {"connection_id":106848,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:02:24] local.INFO: Processing buffer {"connection_id":106848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:02:24] local.INFO: IMEI packet received {"connection_id":106848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":106848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:02:26] local.INFO: TCP Data received {"connection_id":107816,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaed7e50012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaed7e50012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:02:26] local.INFO: Processing buffer {"connection_id":107816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaed7e50012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:02:26] local.INFO: Packet analysis {"connection_id":107816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaed"} 
[2026-06-18 19:02:26] local.INFO: Extracted packet for processing {"connection_id":107816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaed"} 
[2026-06-18 19:02:26] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":45,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138095872001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841127853277804544,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781789458000,"timestamp_ms":1781789458000,"timestamp_seconds":1781789458,"priority":1,"record_length":96,"hex_timestamp":"0000019edaed7e50"} 
[2026-06-18 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-06-18 19:02:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-18 19:02:26] 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-06-18 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-06-18 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-06-18 19:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":107816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":107816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":107816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:02:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138095872001,"66":13243,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1841127853277804544},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138095872001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:02:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:02:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841127853277804544,"description":"Unknown IO ID 45"} 
[2026-06-18 19:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138095872001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1841127853277804544}} 
[2026-06-18 19:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":107816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:02:26] local.INFO: GPS data processed {"connection_id":107816,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:02:26] local.INFO: Acknowledgment sent {"connection_id":107816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:02:29] local.INFO: TCP Data received {"connection_id":106848,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:02:29] local.INFO: Processing buffer {"connection_id":106848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:02:29] local.INFO: IMEI packet received {"connection_id":106848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":106848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:02:30] local.INFO: TCP Data received {"connection_id":106848,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaea1b20012cc1dc80075729100021013b30..."} 
[2026-06-18 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaea1b20012cc1dc80075729100021013b30..."} 
[2026-06-18 19:02:30] local.INFO: Processing buffer {"connection_id":106848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaea1b20012cc1dc80075729100021013b30..."} 
[2026-06-18 19:02:30] local.INFO: Packet analysis {"connection_id":106848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:02:30] local.INFO: Extracted packet for processing {"connection_id":106848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":750902400,"raw_latitude":123152656,"longitude_deg":75.09024,"latitude_deg":12.3152656,"altitude":33,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cc1dc80","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138039040001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843773461200896,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477563160497360896,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:30] 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-06-18 19:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789236000,"timestamp_ms":1781789236000,"timestamp_seconds":1781789236,"priority":1,"record_length":96,"hex_timestamp":"0000019edaea1b20"} 
[2026-06-18 19:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:02: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-06-18 19:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:02: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-06-18 19:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138039040001,"66":27865,"103":206,"85":37120,"24":0,"16":318843773461200896,"44":-4477563160497360896},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138039040001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:02:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843773461200896,"km_value":318843773461200.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477563160497360896,"description":"Unknown IO ID 44"} 
[2026-06-18 19:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138039040001,"power":27865,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477563160497360896}} 
[2026-06-18 19:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":106848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:02:30] local.INFO: GPS data processed {"connection_id":106848,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:02:30] local.INFO: Acknowledgment sent {"connection_id":106848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:02:33] local.INFO: TCP Data received {"connection_id":106252,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:02:33] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:02:33] local.INFO: IMEI packet received {"connection_id":106252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":106252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:02:37] local.INFO: TCP Data received {"connection_id":107817,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:02:37] local.INFO: Processing buffer {"connection_id":107817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeafdb0012d7e398005d34d500007002a29..."} 
[2026-06-18 19:02:37] local.INFO: Packet analysis {"connection_id":107817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:02:37] local.INFO: Extracted packet for processing {"connection_id":107817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763246976,"raw_latitude":97733968,"longitude_deg":76.3246976,"latitude_deg":9.7733968,"altitude":7,"angle":42,"satellites":41,"speed":0,"hex_longitude":"2d7e3980","hex_latitude":"05d34d50","is_valid_coordinates":true} 
[2026-06-18 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456137982208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94062914813558784,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095441684959678464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:37] 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-06-18 19:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781789294000,"timestamp_ms":1781789294000,"timestamp_seconds":1781789294,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeafdb0"} 
[2026-06-18 19:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12544,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 19:02:37] 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-06-18 19:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107817,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:02:37] 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-06-18 19:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456137982208001,"66":2231,"109":206,"85":15104,"24":0,"16":94062914813558784,"45":9095441684959678464},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456137982208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:02:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:02:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94062914813558784,"km_value":94062914813558.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095441684959678464,"description":"Unknown IO ID 45"} 
[2026-06-18 19:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456137982208001,"power":2231,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9095441684959678464}} 
[2026-06-18 19:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":107817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:02:37] local.INFO: GPS data processed {"connection_id":107817,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:02:37] local.INFO: Acknowledgment sent {"connection_id":107817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:02:38] local.INFO: TCP Data received {"connection_id":106252,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:02:38] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:02:38] local.INFO: IMEI packet received {"connection_id":106252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":106252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:02:39] local.INFO: TCP Data received {"connection_id":106252,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:02:39] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:02:39] local.INFO: Packet analysis {"connection_id":106252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:02:39] local.INFO: Extracted packet for processing {"connection_id":106252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:02: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-06-18 19:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:02:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":106252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:02:39] local.INFO: GPS data processed {"connection_id":106252,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:02:39] local.INFO: Acknowledgment sent {"connection_id":106252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:02:44] local.INFO: TCP Data received {"connection_id":106077,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:02:44] local.INFO: Processing buffer {"connection_id":106077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:02:44] local.INFO: IMEI packet received {"connection_id":106077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":106077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:02:49] local.INFO: TCP Data received {"connection_id":106077,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:02:49] local.INFO: Processing buffer {"connection_id":106077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:02:49] local.INFO: IMEI packet received {"connection_id":106077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":106077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:02:50] local.INFO: TCP Data received {"connection_id":106077,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaedd058012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaedd058012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:02:51] local.INFO: Processing buffer {"connection_id":106077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaedd058012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:02:51] local.INFO: Packet analysis {"connection_id":106077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaed"} 
[2026-06-18 19:02:51] local.INFO: Extracted packet for processing {"connection_id":106077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaed"} 
[2026-06-18 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":45,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138101248001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781789479000,"timestamp_ms":1781789479000,"timestamp_seconds":1781789479,"priority":1,"record_length":96,"hex_timestamp":"0000019edaedd058"} 
[2026-06-18 19:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 19:02:51] 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-06-18 19:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138101248001,"66":12298,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138101248001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:02:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:02:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138101248001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":106077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:02:51] local.INFO: GPS data processed {"connection_id":106077,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:02:51] local.INFO: Acknowledgment sent {"connection_id":106077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:03:01] local.INFO: TCP Data received {"connection_id":106848,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaea6d28012cc1db80075727500025013b30..."} 
[2026-06-18 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaea6d28012cc1db80075727500025013b30..."} 
[2026-06-18 19:03:01] local.INFO: Processing buffer {"connection_id":106848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaea6d28012cc1db80075727500025013b30..."} 
[2026-06-18 19:03:01] local.INFO: Packet analysis {"connection_id":106848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:03:01] local.INFO: Extracted packet for processing {"connection_id":106848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:03:01] local.INFO: GPS Element Parsed {"raw_longitude":750902144,"raw_latitude":123152208,"longitude_deg":75.0902144,"latitude_deg":12.3152208,"altitude":37,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cc1db80","hex_latitude":"07572750","is_valid_coordinates":true} 
[2026-06-18 19:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138044416001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843820705841152,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477563160497680384,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:01] 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-06-18 19:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789257000,"timestamp_ms":1781789257000,"timestamp_seconds":1781789257,"priority":1,"record_length":96,"hex_timestamp":"0000019edaea6d28"} 
[2026-06-18 19:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:03: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-06-18 19:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 19:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138044416001,"66":27919,"103":206,"85":37120,"24":0,"16":318843820705841152,"44":-4477563160497680384},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138044416001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:03:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843820705841152,"km_value":318843820705841.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477563160497680384,"description":"Unknown IO ID 44"} 
[2026-06-18 19:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138044416001,"power":27919,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477563160497680384}} 
[2026-06-18 19:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":106848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:03:01] local.INFO: GPS data processed {"connection_id":106848,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:03:01] local.INFO: Acknowledgment sent {"connection_id":106848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:03:11] local.INFO: TCP Data received {"connection_id":106252,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:11] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:11] local.INFO: Packet analysis {"connection_id":106252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:03:11] local.INFO: Extracted packet for processing {"connection_id":106252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:03:11] 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-06-18 19:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:03:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":106252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:03:11] local.INFO: GPS data processed {"connection_id":106252,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:03:11] local.INFO: Acknowledgment sent {"connection_id":106252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:03:22] local.INFO: TCP Data received {"connection_id":106077,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaee2260012d198bc00720b2a8003800f12c..."} 
[2026-06-18 19:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaee2260012d198bc00720b2a8003800f12c..."} 
[2026-06-18 19:03:22] local.INFO: Processing buffer {"connection_id":106077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaee2260012d198bc00720b2a8003800f12c..."} 
[2026-06-18 19:03:22] local.INFO: Packet analysis {"connection_id":106077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaee"} 
[2026-06-18 19:03:22] local.INFO: Extracted packet for processing {"connection_id":106077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaee"} 
[2026-06-18 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":44,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138106624001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781789500000,"timestamp_ms":1781789500000,"timestamp_seconds":1781789500,"priority":1,"record_length":96,"hex_timestamp":"0000019edaee2260"} 
[2026-06-18 19:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:03:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513597274500366659,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049317675520,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452299,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2671524805472347719,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":234,"raw_value":504403158265495553,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832588,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3770639672367710414,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":42,"raw_value":5348024558157828,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":218,"raw_value":3975262209,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2964848695,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3927244800,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.WARNING: Large IO value detected {"io_id":52,"raw_value":86180821232254976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,234,126,45,192,178,56,10,66,44,179,42,36,1,240,187,218,32,4,113,205,26,226,104,43,239,49,2,11,7,52],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:03:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035490441699786752,"timestamp_seconds":4035490441699787.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138106624001,"66":13091,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138106624001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:03:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:03:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138106624001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":106077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:03:22] local.INFO: GPS data processed {"connection_id":106077,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:03:22] local.INFO: Acknowledgment sent {"connection_id":106077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:03:24] local.INFO: TCP Data received {"connection_id":106849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:03:24] local.INFO: Processing buffer {"connection_id":106849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:03:24] local.INFO: IMEI packet received {"connection_id":106849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:03:24] local.INFO: IMEI acknowledgment sent {"connection_id":106849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:03:29] local.INFO: TCP Data received {"connection_id":106849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:03:29] local.INFO: Processing buffer {"connection_id":106849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:03:29] local.INFO: IMEI packet received {"connection_id":106849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":106849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:03:30] local.INFO: TCP Data received {"connection_id":106849,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeabf30012cc1db00075727e80028013b30..."} 
[2026-06-18 19:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeabf30012cc1db00075727e80028013b30..."} 
[2026-06-18 19:03:30] local.INFO: Processing buffer {"connection_id":106849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeabf30012cc1db00075727e80028013b30..."} 
[2026-06-18 19:03:30] local.INFO: Packet analysis {"connection_id":106849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:03:30] local.INFO: Extracted packet for processing {"connection_id":106849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750902016,"raw_latitude":123152360,"longitude_deg":75.0902016,"latitude_deg":12.315236,"altitude":40,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cc1db00","hex_latitude":"075727e8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138049792001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477844635474505728,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:30] 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-06-18 19:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789278000,"timestamp_ms":1781789278000,"timestamp_seconds":1781789278,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeabf30"} 
[2026-06-18 19:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 19:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:03: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-06-18 19:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138049792001,"66":27789,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477844635474505728},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138049792001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:03:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477844635474505728,"description":"Unknown IO ID 44"} 
[2026-06-18 19:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138049792001,"power":27789,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477844635474505728}} 
[2026-06-18 19:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":106849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:03:30] local.INFO: GPS data processed {"connection_id":106849,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:03:30] local.INFO: Acknowledgment sent {"connection_id":106849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:03:38] local.INFO: TCP Data received {"connection_id":106850,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:03:38] local.INFO: Processing buffer {"connection_id":106850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:03:38] local.INFO: IMEI packet received {"connection_id":106850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":106850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:03:42] local.INFO: TCP Data received {"connection_id":106851,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:42] local.INFO: Processing buffer {"connection_id":106851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:42] local.INFO: IMEI packet received {"connection_id":106851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":106851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:03:43] local.INFO: TCP Data received {"connection_id":106850,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:03:43] local.INFO: Processing buffer {"connection_id":106850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:03:43] local.INFO: IMEI packet received {"connection_id":106850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":106850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:03:44] local.INFO: TCP Data received {"connection_id":106851,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:44] local.INFO: Processing buffer {"connection_id":106851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:44] local.INFO: IMEI packet received {"connection_id":106851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":106851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:03:44] local.INFO: TCP Data received {"connection_id":106850,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:44] local.INFO: Processing buffer {"connection_id":106850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:44] local.INFO: Packet analysis {"connection_id":106850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:03:44] local.INFO: Extracted packet for processing {"connection_id":106850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:03:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:03:44] 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-06-18 19:03:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:03:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":106850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:03:44] local.INFO: GPS data processed {"connection_id":106850,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:03:44] local.INFO: Acknowledgment sent {"connection_id":106850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:03:49] local.INFO: TCP Data received {"connection_id":106850,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:49] local.INFO: Processing buffer {"connection_id":106850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:03:49] local.INFO: Packet analysis {"connection_id":106850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:03:49] local.INFO: Extracted packet for processing {"connection_id":106850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:03:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:03:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":106850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:03:49] local.INFO: GPS data processed {"connection_id":106850,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:03:49] local.INFO: Acknowledgment sent {"connection_id":106850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:03:49] local.INFO: TCP Data received {"connection_id":106851,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:49] local.INFO: Processing buffer {"connection_id":106851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:03:49] local.INFO: IMEI packet received {"connection_id":106851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":106851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:03:51] local.INFO: TCP Data received {"connection_id":106851,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaee7468012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaee7468012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:03:51] local.INFO: Processing buffer {"connection_id":106851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaee7468012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:03:51] local.INFO: Packet analysis {"connection_id":106851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaee"} 
[2026-06-18 19:03:51] local.INFO: Extracted packet for processing {"connection_id":106851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaee"} 
[2026-06-18 19:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138112000001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781789521000,"timestamp_ms":1781789521000,"timestamp_seconds":1781789521,"priority":1,"record_length":96,"hex_timestamp":"0000019edaee7468"} 
[2026-06-18 19:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 19:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138112000001,"66":13037,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138112000001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:03:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138112000001,"power":13037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":106851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:03:51] local.INFO: GPS data processed {"connection_id":106851,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:03:51] local.INFO: Acknowledgment sent {"connection_id":106851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:04:00] local.INFO: TCP Data received {"connection_id":106849,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeabf30012cc1db00075727e80028013b30..."} 
[2026-06-18 19:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeabf30012cc1db00075727e80028013b30..."} 
[2026-06-18 19:04:00] local.INFO: Processing buffer {"connection_id":106849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeabf30012cc1db00075727e80028013b30..."} 
[2026-06-18 19:04:00] local.INFO: Packet analysis {"connection_id":106849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:04:00] local.INFO: Extracted packet for processing {"connection_id":106849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaea"} 
[2026-06-18 19:04:00] local.INFO: GPS Element Parsed {"raw_longitude":750902016,"raw_latitude":123152360,"longitude_deg":75.0902016,"latitude_deg":12.315236,"altitude":40,"angle":315,"satellites":48,"speed":0,"hex_longitude":"2cc1db00","hex_latitude":"075727e8","is_valid_coordinates":true} 
[2026-06-18 19:04: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-06-18 19:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:00] 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-06-18 19:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781789278000,"timestamp_ms":1781789278000,"timestamp_seconds":1781789278,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeabf30"} 
[2026-06-18 19:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:04:00] 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-06-18 19: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-06-18 19:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:04: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-06-18 19:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":27789,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:04:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":27789,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":106849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:04:00] local.INFO: GPS data processed {"connection_id":106849,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:04:00] local.INFO: Acknowledgment sent {"connection_id":106849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:04:22] local.INFO: TCP Data received {"connection_id":106851,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaeec670012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaeec670012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:04:22] local.INFO: Processing buffer {"connection_id":106851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaeec670012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:04:22] local.INFO: Packet analysis {"connection_id":106851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaee"} 
[2026-06-18 19:04:22] local.INFO: Extracted packet for processing {"connection_id":106851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaee"} 
[2026-06-18 19:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138117376001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781789542000,"timestamp_ms":1781789542000,"timestamp_seconds":1781789542,"priority":1,"record_length":96,"hex_timestamp":"0000019edaeec670"} 
[2026-06-18 19:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-06-18 19:04:22] 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-06-18 19:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138117376001,"66":13004,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138117376001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:04:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:04:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138117376001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":106851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:04:22] local.INFO: GPS data processed {"connection_id":106851,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:04:22] local.INFO: Acknowledgment sent {"connection_id":106851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:04:24] local.INFO: TCP Data received {"connection_id":106852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:04:24] local.INFO: Processing buffer {"connection_id":106852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:04:24] local.INFO: IMEI packet received {"connection_id":106852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":106852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:04:29] local.INFO: TCP Data received {"connection_id":106852,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:04:29] local.INFO: Processing buffer {"connection_id":106852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:04:29] local.INFO: IMEI packet received {"connection_id":106852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":106852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:04:30] local.INFO: TCP Data received {"connection_id":106852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:04:30] local.INFO: Processing buffer {"connection_id":106852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:04:30] local.INFO: Packet analysis {"connection_id":106852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:04:30] local.INFO: Extracted packet for processing {"connection_id":106852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:30] 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-06-18 19:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:04:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:04: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-06-18 19:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:04:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":106852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:04:30] local.INFO: GPS data processed {"connection_id":106852,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:04:30] local.INFO: Acknowledgment sent {"connection_id":106852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:04:33] local.INFO: TCP Data received {"connection_id":107818,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:04:33] local.INFO: Processing buffer {"connection_id":107818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:04:33] local.INFO: IMEI packet received {"connection_id":107818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":107818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:04:38] local.INFO: TCP Data received {"connection_id":107818,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:04:38] local.INFO: Processing buffer {"connection_id":107818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:04:38] local.INFO: IMEI packet received {"connection_id":107818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":107818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:04:39] local.INFO: TCP Data received {"connection_id":107818,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:04:39] local.INFO: Processing buffer {"connection_id":107818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:04:39] local.INFO: Packet analysis {"connection_id":107818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:04:39] local.INFO: Extracted packet for processing {"connection_id":107818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:04: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-06-18 19:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:04:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":107818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:04:39] local.INFO: GPS data processed {"connection_id":107818,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:04:39] local.INFO: Acknowledgment sent {"connection_id":107818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:04:44] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:44] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:44] local.INFO: IMEI packet received {"connection_id":106253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":106253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:04:45] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:45] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:45] local.INFO: IMEI packet received {"connection_id":106253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":106253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:04:49] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:49] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:04:49] local.INFO: IMEI packet received {"connection_id":106253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":106253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:04:50] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef1878012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef1878012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:04:50] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef1878012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:04:50] local.INFO: Packet analysis {"connection_id":106253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:04:50] local.INFO: Extracted packet for processing {"connection_id":106253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138122752001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781789563000,"timestamp_ms":1781789563000,"timestamp_seconds":1781789563,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef1878"} 
[2026-06-18 19:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 19:04:50] 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-06-18 19:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138122752001,"66":12961,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138122752001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:04:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:04:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138122752001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":106253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:04:50] local.INFO: GPS data processed {"connection_id":106253,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:04:50] local.INFO: Acknowledgment sent {"connection_id":106253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:05:01] local.INFO: TCP Data received {"connection_id":106852,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:05:01] local.INFO: Processing buffer {"connection_id":106852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:05:01] local.INFO: Packet analysis {"connection_id":106852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:05:01] local.INFO: Extracted packet for processing {"connection_id":106852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:01] 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-06-18 19:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:05: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-06-18 19:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:05:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":106852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:05:01] local.INFO: GPS data processed {"connection_id":106852,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:05:01] local.INFO: Acknowledgment sent {"connection_id":106852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:05:11] local.INFO: TCP Data received {"connection_id":107818,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:05:11] local.INFO: Processing buffer {"connection_id":107818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:05:11] local.INFO: Packet analysis {"connection_id":107818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:05:11] local.INFO: Extracted packet for processing {"connection_id":107818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:05:11] 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-06-18 19:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:05:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":107818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:05:11] local.INFO: GPS data processed {"connection_id":107818,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:05:11] local.INFO: Acknowledgment sent {"connection_id":107818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:05:22] local.INFO: TCP Data received {"connection_id":106253,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef6a80012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef6a80012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:05:22] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef6a80012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:05:22] local.INFO: Packet analysis {"connection_id":106253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:05:22] local.INFO: Extracted packet for processing {"connection_id":106253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":45,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138128128001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781789584000,"timestamp_ms":1781789584000,"timestamp_seconds":1781789584,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef6a80"} 
[2026-06-18 19:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 19:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138128128001,"66":12211,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138128128001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:05:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:05:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:05:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138128128001,"power":12211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":106253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:05:23] local.INFO: GPS data processed {"connection_id":106253,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:05:23] local.INFO: Acknowledgment sent {"connection_id":106253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:05:24] local.INFO: TCP Data received {"connection_id":106078,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:05:24] local.INFO: Processing buffer {"connection_id":106078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:05:24] local.INFO: IMEI packet received {"connection_id":106078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":106078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:05:29] local.INFO: TCP Data received {"connection_id":106078,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:05:29] local.INFO: Processing buffer {"connection_id":106078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:05:29] local.INFO: IMEI packet received {"connection_id":106078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":106078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:05:30] local.INFO: TCP Data received {"connection_id":106078,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:05:30] local.INFO: Processing buffer {"connection_id":106078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:05:30] local.INFO: Packet analysis {"connection_id":106078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:05:30] local.INFO: Extracted packet for processing {"connection_id":106078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:05:30] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:30] 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-06-18 19:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:05: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-06-18 19:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:05:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":106078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:05:30] local.INFO: GPS data processed {"connection_id":106078,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:05:30] local.INFO: Acknowledgment sent {"connection_id":106078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:05:34] local.INFO: TCP Data received {"connection_id":106254,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:05:34] local.INFO: Processing buffer {"connection_id":106254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:05:34] local.INFO: IMEI packet received {"connection_id":106254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":106254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:05:38] local.INFO: TCP Data received {"connection_id":106254,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:05:38] local.INFO: Processing buffer {"connection_id":106254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:05:38] local.INFO: IMEI packet received {"connection_id":106254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":106254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:05:40] local.INFO: TCP Data received {"connection_id":106254,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:05:40] local.INFO: Processing buffer {"connection_id":106254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaecb330012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:05:40] local.INFO: Packet analysis {"connection_id":106254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:05:40] local.INFO: Extracted packet for processing {"connection_id":106254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaec"} 
[2026-06-18 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781789406000,"timestamp_ms":1781789406000,"timestamp_seconds":1781789406,"priority":1,"record_length":96,"hex_timestamp":"0000019edaecb330"} 
[2026-06-18 19:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:05:40] 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-06-18 19:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138010880001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:05:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:05:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138010880001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":106254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:05:40] local.INFO: GPS data processed {"connection_id":106254,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:05:40] local.INFO: Acknowledgment sent {"connection_id":106254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:05:44] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:05:44] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:05:44] local.INFO: IMEI packet received {"connection_id":106255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":106255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:05:48] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:05:48] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:05:48] local.INFO: IMEI packet received {"connection_id":106255,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":106255,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:05:50] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaefbc88012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaefbc88012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:05:50] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaefbc88012d198bc00720b2a8003800f12e..."} 
[2026-06-18 19:05:50] local.INFO: Packet analysis {"connection_id":106255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:05:50] local.INFO: Extracted packet for processing {"connection_id":106255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":46,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138133504001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781789605000,"timestamp_ms":1781789605000,"timestamp_seconds":1781789605,"priority":1,"record_length":96,"hex_timestamp":"0000019edaefbc88"} 
[2026-06-18 19:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 19:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2044,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138133504001,"66":12950,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138133504001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:05:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:05:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138133504001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":106255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:05:50] local.INFO: GPS data processed {"connection_id":106255,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:05:50] local.INFO: Acknowledgment sent {"connection_id":106255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:06:01] local.INFO: TCP Data received {"connection_id":106078,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:01] local.INFO: Processing buffer {"connection_id":106078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:01] local.INFO: Packet analysis {"connection_id":106078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:06:01] local.INFO: Extracted packet for processing {"connection_id":106078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:01] 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-06-18 19:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 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-06-18 19:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:06: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-06-18 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-06-18 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-06-18 19:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:06:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":106078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:06:01] local.INFO: GPS data processed {"connection_id":106078,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:06:01] local.INFO: Acknowledgment sent {"connection_id":106078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:06:11] local.INFO: TCP Data received {"connection_id":106254,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:11] local.INFO: Processing buffer {"connection_id":106254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:11] local.INFO: Packet analysis {"connection_id":106254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:06:11] local.INFO: Extracted packet for processing {"connection_id":106254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:06:11] 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-06-18 19:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106254,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:06:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":106254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:06:11] local.INFO: GPS data processed {"connection_id":106254,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:06:11] local.INFO: Acknowledgment sent {"connection_id":106254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:06:21] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf00e90012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf00e90012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:06:21] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf00e90012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:06:21] local.INFO: Packet analysis {"connection_id":106255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf0"} 
[2026-06-18 19:06:21] local.INFO: Extracted packet for processing {"connection_id":106255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf0"} 
[2026-06-18 19:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":45,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138138880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781789626000,"timestamp_ms":1781789626000,"timestamp_seconds":1781789626,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf00e90"} 
[2026-06-18 19:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:06:21] 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-06-18 19:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 19:06:21] 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-06-18 19:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106255,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138138880001,"66":12874,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138138880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:06:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:06:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138138880001,"power":12874,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":106255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:06:21] local.INFO: GPS data processed {"connection_id":106255,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:06:21] local.INFO: Acknowledgment sent {"connection_id":106255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:06:24] local.INFO: TCP Data received {"connection_id":107819,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:06:24] local.INFO: Processing buffer {"connection_id":107819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:06:24] local.INFO: IMEI packet received {"connection_id":107819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":107819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:06:29] local.INFO: TCP Data received {"connection_id":107819,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:06:29] local.INFO: Processing buffer {"connection_id":107819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:06:29] local.INFO: IMEI packet received {"connection_id":107819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":107819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:06:29] local.INFO: TCP Data received {"connection_id":107819,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:29] local.INFO: Processing buffer {"connection_id":107819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:29] local.INFO: Packet analysis {"connection_id":107819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:06:29] local.INFO: Extracted packet for processing {"connection_id":107819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:06:29] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:29] 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-06-18 19:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:06: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-06-18 19: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-06-18 19:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:06:29] 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-06-18 19:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:06:29] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":107819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:06:30] local.INFO: GPS data processed {"connection_id":107819,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:06:30] local.INFO: Acknowledgment sent {"connection_id":107819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:06:34] local.INFO: TCP Data received {"connection_id":107819,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:34] local.INFO: Processing buffer {"connection_id":107819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:06:34] local.INFO: Packet analysis {"connection_id":107819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:06:34] local.INFO: Extracted packet for processing {"connection_id":107819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:06:34] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:06:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:34] 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-06-18 19:06:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:06:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:06:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:06:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:06:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:06:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:06:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:06:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:06:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:06:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:06:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:06:34] 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-06-18 19:06:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:06:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:06:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:06:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:06:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:06:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:06:34] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:06:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:06:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:06:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:06:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:06:34] local.INFO: DEBUG: GPS processor result {"connection_id":107819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:06:34] local.INFO: GPS data processed {"connection_id":107819,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:06:34] local.INFO: Acknowledgment sent {"connection_id":107819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:06:38] local.INFO: TCP Data received {"connection_id":106079,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:06:38] local.INFO: Processing buffer {"connection_id":106079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:06:38] local.INFO: IMEI packet received {"connection_id":106079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":106079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:06:43] local.INFO: TCP Data received {"connection_id":106079,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106079,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:06:43] local.INFO: Processing buffer {"connection_id":106079,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:06:43] local.INFO: IMEI packet received {"connection_id":106079,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":106079,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:06:44] local.INFO: TCP Data received {"connection_id":106853,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:44] local.INFO: Processing buffer {"connection_id":106853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:44] local.INFO: IMEI packet received {"connection_id":106853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":106853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:06:44] local.INFO: TCP Data received {"connection_id":106079,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:44] local.INFO: Processing buffer {"connection_id":106079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:44] local.INFO: Packet analysis {"connection_id":106079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:06:44] local.INFO: Extracted packet for processing {"connection_id":106079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:06:44] 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-06-18 19:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:06:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":106079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346042,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:06:44] local.INFO: GPS data processed {"connection_id":106079,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:06:44] local.INFO: Acknowledgment sent {"connection_id":106079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:06:45] local.INFO: TCP Data received {"connection_id":106853,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:45] local.INFO: Processing buffer {"connection_id":106853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:45] local.INFO: IMEI packet received {"connection_id":106853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":106853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:06:49] local.INFO: TCP Data received {"connection_id":106079,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:49] local.INFO: Processing buffer {"connection_id":106079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:06:49] local.INFO: Packet analysis {"connection_id":106079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:06:49] local.INFO: Extracted packet for processing {"connection_id":106079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106079,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:06:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:06:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":106079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:06:49] local.INFO: GPS data processed {"connection_id":106079,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:06:49] local.INFO: Acknowledgment sent {"connection_id":106079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:06:49] local.INFO: TCP Data received {"connection_id":106853,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:49] local.INFO: Processing buffer {"connection_id":106853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:06:49] local.INFO: IMEI packet received {"connection_id":106853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":106853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:06:51] local.INFO: TCP Data received {"connection_id":106853,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf06098012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf06098012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:06:51] local.INFO: Processing buffer {"connection_id":106853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf06098012d198bc00720b2a8003800f12d..."} 
[2026-06-18 19:06:51] local.INFO: Packet analysis {"connection_id":106853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf0"} 
[2026-06-18 19:06:51] local.INFO: Extracted packet for processing {"connection_id":106853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf0"} 
[2026-06-18 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119583400,"longitude_deg":75.6648896,"latitude_deg":11.95834,"altitude":56,"angle":241,"satellites":45,"speed":0,"hex_longitude":"2d198bc0","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-06-18 19:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138144256001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3354094580269056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840776009556862976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781789647000,"timestamp_ms":1781789647000,"timestamp_seconds":1781789647,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf06098"} 
[2026-06-18 19:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-18 19:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1114,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138144256001,"66":12885,"121":206,"28":31744,"24":0,"16":3354094580269056,"45":1840776009556862976},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138144256001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:06:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:06:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3354094580269056,"km_value":3354094580269.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840776009556862976,"description":"Unknown IO ID 45"} 
[2026-06-18 19:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138144256001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1840776009556862976}} 
[2026-06-18 19:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":106853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:06:51] local.INFO: GPS data processed {"connection_id":106853,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:06:51] local.INFO: Acknowledgment sent {"connection_id":106853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:07:06] local.INFO: TCP Data received {"connection_id":107819,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:07:06] local.INFO: Processing buffer {"connection_id":107819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:07:06] local.INFO: Packet analysis {"connection_id":107819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:07:06] local.INFO: Extracted packet for processing {"connection_id":107819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:06] 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-06-18 19:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:07:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:07:06] 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-06-18 19:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:07: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-06-18 19:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:07:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:07:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":107819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:07:06] local.INFO: GPS data processed {"connection_id":107819,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:07:06] local.INFO: Acknowledgment sent {"connection_id":107819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:07:22] local.INFO: TCP Data received {"connection_id":106853,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf29318012d18f4400720d928003e013a2d..."} 
[2026-06-18 19:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf29318012d18f4400720d928003e013a2d..."} 
[2026-06-18 19:07:22] local.INFO: Processing buffer {"connection_id":106853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf29318012d18f4400720d928003e013a2d..."} 
[2026-06-18 19:07:22] local.INFO: Packet analysis {"connection_id":106853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf2"} 
[2026-06-18 19:07:22] local.INFO: Extracted packet for processing {"connection_id":106853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf2"} 
[2026-06-18 19:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756610112,"raw_latitude":119593256,"longitude_deg":75.6610112,"latitude_deg":11.9593256,"altitude":62,"angle":314,"satellites":45,"speed":30,"hex_longitude":"2d18f440","hex_latitude":"0720d928","is_valid_coordinates":true} 
[2026-06-18 19:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138184192001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356121804832768,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804113893841862656,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781789791000,"timestamp_ms":1781789791000,"timestamp_seconds":1781789791,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf29318"} 
[2026-06-18 19:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 19:07:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:07:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138184192001,"66":14102,"121":206,"28":31744,"24":30,"16":3356121804832768,"45":1804113893841862656},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138184192001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:07:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:07:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356121804832768,"km_value":3356121804832.768,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804113893841862656,"description":"Unknown IO ID 45"} 
[2026-06-18 19:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138184192001,"power":14102,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1804113893841862656}} 
[2026-06-18 19:07:22] local.INFO: DEBUG: GPS processor result {"connection_id":106853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:07:22] local.INFO: GPS data processed {"connection_id":106853,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:07:22] local.INFO: Acknowledgment sent {"connection_id":106853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:07:24] local.INFO: TCP Data received {"connection_id":106080,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:07:24] local.INFO: Processing buffer {"connection_id":106080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:07:24] local.INFO: IMEI packet received {"connection_id":106080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":106080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:07:29] local.INFO: TCP Data received {"connection_id":106080,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:07:29] local.INFO: Processing buffer {"connection_id":106080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:07:29] local.INFO: IMEI packet received {"connection_id":106080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":106080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:07:30] local.INFO: TCP Data received {"connection_id":106080,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:07:30] local.INFO: Processing buffer {"connection_id":106080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:07:30] local.INFO: Packet analysis {"connection_id":106080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:07:30] local.INFO: Extracted packet for processing {"connection_id":106080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:30] 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-06-18 19:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:07: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-06-18 19:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:07:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":106080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:07:30] local.INFO: GPS data processed {"connection_id":106080,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:07:30] local.INFO: Acknowledgment sent {"connection_id":106080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:07:33] local.INFO: TCP Data received {"connection_id":106081,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:07:33] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:07:33] local.INFO: IMEI packet received {"connection_id":106081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":106081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:07:38] local.INFO: TCP Data received {"connection_id":106081,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:07:38] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:07:38] local.INFO: IMEI packet received {"connection_id":106081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":106081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:07:39] local.INFO: TCP Data received {"connection_id":106081,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:07:39] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:07:39] local.INFO: Packet analysis {"connection_id":106081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:07:39] local.INFO: Extracted packet for processing {"connection_id":106081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:07: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-06-18 19:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:07:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":106081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:07:39] local.INFO: GPS data processed {"connection_id":106081,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:07:39] local.INFO: Acknowledgment sent {"connection_id":106081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:07:44] local.INFO: TCP Data received {"connection_id":106256,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:07:44] local.INFO: Processing buffer {"connection_id":106256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:07:44] local.INFO: IMEI packet received {"connection_id":106256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:07:44] local.INFO: IMEI acknowledgment sent {"connection_id":106256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:07:50] local.INFO: TCP Data received {"connection_id":106256,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:07:50] local.INFO: Processing buffer {"connection_id":106256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:07:50] local.INFO: IMEI packet received {"connection_id":106256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":106256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:07:51] local.INFO: TCP Data received {"connection_id":106256,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf29ed0012d18ee400720e0b8003e01452c..."} 
[2026-06-18 19:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf29ed0012d18ee400720e0b8003e01452c..."} 
[2026-06-18 19:07:51] local.INFO: Processing buffer {"connection_id":106256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf29ed0012d18ee400720e0b8003e01452c..."} 
[2026-06-18 19:07:51] local.INFO: Packet analysis {"connection_id":106256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf2"} 
[2026-06-18 19:07:51] local.INFO: Extracted packet for processing {"connection_id":106256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf2"} 
[2026-06-18 19:07:51] local.INFO: GPS Element Parsed {"raw_longitude":756608576,"raw_latitude":119595192,"longitude_deg":75.6608576,"latitude_deg":11.9595192,"altitude":62,"angle":325,"satellites":44,"speed":32,"hex_longitude":"2d18ee40","hex_latitude":"0720e0b8","is_valid_coordinates":true} 
[2026-06-18 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:07:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138186496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3356242063917056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798132550587721728,"note":"Value kept but may cause issues"} 
[2026-06-18 19:07:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:07:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781789794000,"timestamp_ms":1781789794000,"timestamp_seconds":1781789794,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf29ed0"} 
[2026-06-18 19:07:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:07:51] 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-06-18 19:07:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 19:07: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-06-18 19:07:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:07:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:07:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:07:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:07:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:07:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:07:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:07:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:07:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:07:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138186496001,"66":14157,"121":206,"28":31744,"24":32,"16":3356242063917056,"45":1798132550587721728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:07:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:07:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:07:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138186496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:07:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:07:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:07:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3356242063917056,"km_value":3356242063917.056,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:07:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798132550587721728,"description":"Unknown IO ID 45"} 
[2026-06-18 19:07:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138186496001,"power":14157,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1798132550587721728}} 
[2026-06-18 19:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":106256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:07:51] local.INFO: GPS data processed {"connection_id":106256,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:07:51] local.INFO: Acknowledgment sent {"connection_id":106256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:08:01] local.INFO: TCP Data received {"connection_id":106080,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:08:01] local.INFO: Processing buffer {"connection_id":106080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:08:01] local.INFO: Packet analysis {"connection_id":106080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:08:01] local.INFO: Extracted packet for processing {"connection_id":106080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:01] 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-06-18 19:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:08: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-06-18 19:08:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:08:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":106080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:08:01] local.INFO: GPS data processed {"connection_id":106080,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:08:01] local.INFO: Acknowledgment sent {"connection_id":106080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:08:11] local.INFO: TCP Data received {"connection_id":106081,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:08:11] local.INFO: Processing buffer {"connection_id":106081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:08:11] local.INFO: Packet analysis {"connection_id":106081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:08:11] local.INFO: Extracted packet for processing {"connection_id":106081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:08:11] 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-06-18 19:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:08:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":106081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:08:11] local.INFO: GPS data processed {"connection_id":106081,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:08:11] local.INFO: Acknowledgment sent {"connection_id":106081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:08:23] local.INFO: TCP Data received {"connection_id":106256,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf37d78012d18a94007217390004c012c2f..."} 
[2026-06-18 19:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf37d78012d18a94007217390004c012c2f..."} 
[2026-06-18 19:08:23] local.INFO: Processing buffer {"connection_id":106256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf37d78012d18a94007217390004c012c2f..."} 
[2026-06-18 19:08:23] local.INFO: Packet analysis {"connection_id":106256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:08:23] local.INFO: Extracted packet for processing {"connection_id":106256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756590912,"raw_latitude":119632784,"longitude_deg":75.6590912,"latitude_deg":11.9632784,"altitude":76,"angle":300,"satellites":47,"speed":29,"hex_longitude":"2d18a940","hex_latitude":"07217390","is_valid_coordinates":true} 
[2026-06-18 19:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138201344001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3358320828088320,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778218195995328512,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781789851000,"timestamp_ms":1781789851000,"timestamp_seconds":1781789851,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf37d78"} 
[2026-06-18 19:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 19:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1256,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138201344001,"66":13559,"121":206,"28":31744,"24":29,"16":3358320828088320,"45":1778218195995328512},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138201344001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:08:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:08:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3358320828088320,"km_value":3358320828088.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778218195995328512,"description":"Unknown IO ID 45"} 
[2026-06-18 19:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138201344001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1778218195995328512}} 
[2026-06-18 19:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":106256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:08:23] local.INFO: GPS data processed {"connection_id":106256,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:08:23] local.INFO: Acknowledgment sent {"connection_id":106256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:08:24] local.INFO: TCP Data received {"connection_id":106257,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:08:24] local.INFO: Processing buffer {"connection_id":106257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:08:24] local.INFO: IMEI packet received {"connection_id":106257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:08:24] local.INFO: IMEI acknowledgment sent {"connection_id":106257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:08:29] local.INFO: TCP Data received {"connection_id":106257,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:08:29] local.INFO: Processing buffer {"connection_id":106257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:08:29] local.INFO: IMEI packet received {"connection_id":106257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":106257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:08:30] local.INFO: TCP Data received {"connection_id":106257,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:08:30] local.INFO: Processing buffer {"connection_id":106257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaef62b0012cc1dc4007572910004e013b2b..."} 
[2026-06-18 19:08:30] local.INFO: Packet analysis {"connection_id":106257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:08:30] local.INFO: Extracted packet for processing {"connection_id":106257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaef"} 
[2026-06-18 19:08:30] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138055168001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477985372962822144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:30] 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-06-18 19:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789582000,"timestamp_ms":1781789582000,"timestamp_seconds":1781789582,"priority":1,"record_length":96,"hex_timestamp":"0000019edaef62b0"} 
[2026-06-18 19:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:08: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-06-18 19:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138055168001,"66":25495,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477985372962822144},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138055168001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:08:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477985372962822144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138055168001,"power":25495,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477985372962822144}} 
[2026-06-18 19:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":106257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:08:30] local.INFO: GPS data processed {"connection_id":106257,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:08:30] local.INFO: Acknowledgment sent {"connection_id":106257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:08:33] local.INFO: TCP Data received {"connection_id":106854,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:08:33] local.INFO: Processing buffer {"connection_id":106854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:08:33] local.INFO: IMEI packet received {"connection_id":106854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":106854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:08:38] local.INFO: TCP Data received {"connection_id":106854,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:08:38] local.INFO: Processing buffer {"connection_id":106854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:08:38] local.INFO: IMEI packet received {"connection_id":106854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":106854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:08:39] local.INFO: TCP Data received {"connection_id":106854,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:08:39] local.INFO: Processing buffer {"connection_id":106854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:08:39] local.INFO: Packet analysis {"connection_id":106854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:08:39] local.INFO: Extracted packet for processing {"connection_id":106854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:08: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-06-18 19:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:08:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:08:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":106854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:08:40] local.INFO: GPS data processed {"connection_id":106854,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:08:40] local.INFO: Acknowledgment sent {"connection_id":106854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:08:48] local.INFO: TCP Data received {"connection_id":106855,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:48] local.INFO: Processing buffer {"connection_id":106855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:48] local.INFO: IMEI packet received {"connection_id":106855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:08:48] local.INFO: IMEI acknowledgment sent {"connection_id":106855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:08:49] local.INFO: TCP Data received {"connection_id":106855,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:49] local.INFO: Processing buffer {"connection_id":106855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:49] local.INFO: IMEI packet received {"connection_id":106855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":106855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:08:54] local.INFO: TCP Data received {"connection_id":106855,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:54] local.INFO: Processing buffer {"connection_id":106855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:08:54] local.INFO: IMEI packet received {"connection_id":106855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":106855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:08:56] local.INFO: TCP Data received {"connection_id":106855,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf38548012d18a38007217610004c01202e..."} 
[2026-06-18 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf38548012d18a38007217610004c01202e..."} 
[2026-06-18 19:08:56] local.INFO: Processing buffer {"connection_id":106855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf38548012d18a38007217610004c01202e..."} 
[2026-06-18 19:08:56] local.INFO: Packet analysis {"connection_id":106855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:08:56] local.INFO: Extracted packet for processing {"connection_id":106855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119633424,"longitude_deg":75.658944,"latitude_deg":11.9633424,"altitude":76,"angle":288,"satellites":46,"speed":32,"hex_longitude":"2d18a380","hex_latitude":"07217610","is_valid_coordinates":true} 
[2026-06-18 19:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138201856001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3358393842532352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777021927344541696,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781789853000,"timestamp_ms":1781789853000,"timestamp_seconds":1781789853,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf38548"} 
[2026-06-18 19:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-06-18 19:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138201856001,"66":14211,"121":206,"28":31744,"24":32,"16":3358393842532352,"45":1777021927344541696},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138201856001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:08:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:08:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3358393842532352,"km_value":3358393842532.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777021927344541696,"description":"Unknown IO ID 45"} 
[2026-06-18 19:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138201856001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1777021927344541696}} 
[2026-06-18 19:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":106855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:08:56] local.INFO: GPS data processed {"connection_id":106855,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:08:56] local.INFO: Acknowledgment sent {"connection_id":106855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:08:57] local.INFO: TCP Data received {"connection_id":106855,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3b040012d188080072182d0004c01162e..."} 
[2026-06-18 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3b040012d188080072182d0004c01162e..."} 
[2026-06-18 19:08:57] local.INFO: Processing buffer {"connection_id":106855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3b040012d188080072182d0004c01162e..."} 
[2026-06-18 19:08:57] local.INFO: Packet analysis {"connection_id":106855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:08:57] local.INFO: Extracted packet for processing {"connection_id":106855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756580480,"raw_latitude":119636688,"longitude_deg":75.658048,"latitude_deg":11.9636688,"altitude":76,"angle":278,"satellites":46,"speed":29,"hex_longitude":"2d188080","hex_latitude":"072182d0","is_valid_coordinates":true} 
[2026-06-18 19:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138202368001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3358849109065728,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446228619264,"note":"Value kept but may cause issues"} 
[2026-06-18 19:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781789864000,"timestamp_ms":1781789864000,"timestamp_seconds":1781789864,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3b040"} 
[2026-06-18 19:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:08:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 19:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:08:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138202368001,"66":13993,"121":206,"28":31744,"24":29,"16":3358849109065728,"45":1775403446228619264},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138202368001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:08:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:08:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3358849109065728,"km_value":3358849109065.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446228619264,"description":"Unknown IO ID 45"} 
[2026-06-18 19:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138202368001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1775403446228619264}} 
[2026-06-18 19:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":106855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:08:57] local.INFO: GPS data processed {"connection_id":106855,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:08:57] local.INFO: Acknowledgment sent {"connection_id":106855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:09:00] local.INFO: TCP Data received {"connection_id":106257,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:09:00] local.INFO: Processing buffer {"connection_id":106257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:09:00] local.INFO: Packet analysis {"connection_id":106257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:09:00] local.INFO: Extracted packet for processing {"connection_id":106257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:00] 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-06-18 19:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:09: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-06-18 19:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:09:00] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":106257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:09:00] local.INFO: GPS data processed {"connection_id":106257,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:09:00] local.INFO: Acknowledgment sent {"connection_id":106257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:09:11] local.INFO: TCP Data received {"connection_id":106854,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:09:11] local.INFO: Processing buffer {"connection_id":106854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:09:11] local.INFO: Packet analysis {"connection_id":106854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:09:11] local.INFO: Extracted packet for processing {"connection_id":106854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:09:11] 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-06-18 19:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106854,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:09:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":106854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:09:11] local.INFO: GPS data processed {"connection_id":106854,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:09:11] local.INFO: Acknowledgment sent {"connection_id":106854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:09:24] local.INFO: TCP Data received {"connection_id":106082,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:09:24] local.INFO: Processing buffer {"connection_id":106082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:09:24] local.INFO: IMEI packet received {"connection_id":106082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":106082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:09:29] local.INFO: TCP Data received {"connection_id":106855,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3bfe0012d187580072182e0004d01092c..."} 
[2026-06-18 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3bfe0012d187580072182e0004d01092c..."} 
[2026-06-18 19:09:29] local.INFO: Processing buffer {"connection_id":106855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3bfe0012d187580072182e0004d01092c..."} 
[2026-06-18 19:09:29] local.INFO: Packet analysis {"connection_id":106855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:09:29] local.INFO: Extracted packet for processing {"connection_id":106855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":756577664,"raw_latitude":119636704,"longitude_deg":75.6577664,"latitude_deg":11.9636704,"altitude":77,"angle":265,"satellites":44,"speed":28,"hex_longitude":"2d187580","hex_latitude":"072182e0","is_valid_coordinates":true} 
[2026-06-18 19:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138205184001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3358982253051904,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1765551822044581888,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781789868000,"timestamp_ms":1781789868000,"timestamp_seconds":1781789868,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3bfe0"} 
[2026-06-18 19:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:09: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-06-18 19:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 19:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106855,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138205184001,"66":13993,"121":206,"28":31744,"24":28,"16":3358982253051904,"45":1765551822044581888},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138205184001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:09:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:09:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3358982253051904,"km_value":3358982253051.904,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1765551822044581888,"description":"Unknown IO ID 45"} 
[2026-06-18 19:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138205184001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1765551822044581888}} 
[2026-06-18 19:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":106855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:09:29] local.INFO: GPS data processed {"connection_id":106855,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:09:29] local.INFO: Acknowledgment sent {"connection_id":106855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:09:29] local.INFO: TCP Data received {"connection_id":106082,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:09:29] local.INFO: Processing buffer {"connection_id":106082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:09:29] local.INFO: IMEI packet received {"connection_id":106082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":106082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:09:30] local.INFO: TCP Data received {"connection_id":106082,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:09:30] local.INFO: Processing buffer {"connection_id":106082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:09:30] local.INFO: Packet analysis {"connection_id":106082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:09:30] local.INFO: Extracted packet for processing {"connection_id":106082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:30] 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-06-18 19:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:09: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-06-18 19: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-06-18 19:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:09: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-06-18 19:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:09:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":106082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:09:30] local.INFO: GPS data processed {"connection_id":106082,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:09:30] local.INFO: Acknowledgment sent {"connection_id":106082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:09:33] local.INFO: TCP Data received {"connection_id":106258,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:09:33] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:09:33] local.INFO: IMEI packet received {"connection_id":106258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":106258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:09:38] local.INFO: TCP Data received {"connection_id":106258,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:09:38] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:09:38] local.INFO: IMEI packet received {"connection_id":106258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":106258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:09:39] local.INFO: TCP Data received {"connection_id":106258,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:09:39] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:09:39] local.INFO: Packet analysis {"connection_id":106258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:09:39] local.INFO: Extracted packet for processing {"connection_id":106258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:09: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-06-18 19:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:09:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":106258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346061,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:09:39] local.INFO: GPS data processed {"connection_id":106258,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:09:39] local.INFO: Acknowledgment sent {"connection_id":106258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:09:44] local.INFO: TCP Data received {"connection_id":106856,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:09:44] local.INFO: Processing buffer {"connection_id":106856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:09:44] local.INFO: IMEI packet received {"connection_id":106856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":106856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:09:49] local.INFO: TCP Data received {"connection_id":106856,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:09:49] local.INFO: Processing buffer {"connection_id":106856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:09:49] local.INFO: IMEI packet received {"connection_id":106856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":106856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:09:51] local.INFO: TCP Data received {"connection_id":106856,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3d750012d18650007218248004e01152c..."} 
[2026-06-18 19:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3d750012d18650007218248004e01152c..."} 
[2026-06-18 19:09:51] local.INFO: Processing buffer {"connection_id":106856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3d750012d18650007218248004e01152c..."} 
[2026-06-18 19:09:51] local.INFO: Packet analysis {"connection_id":106856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:09:51] local.INFO: Extracted packet for processing {"connection_id":106856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:09:51] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636552,"longitude_deg":75.657344,"latitude_deg":11.9636552,"altitude":78,"angle":277,"satellites":44,"speed":27,"hex_longitude":"2d186500","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-06-18 19:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:09:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138206208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359184116514816,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762455597300768768,"note":"Value kept but may cause issues"} 
[2026-06-18 19:09:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:09:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781789874000,"timestamp_ms":1781789874000,"timestamp_seconds":1781789874,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3d750"} 
[2026-06-18 19:09:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:09:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:09:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-06-18 19:09:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:09:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:09:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:09:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:09:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:09:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:09:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:09:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:09:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:09:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:09:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138206208001,"66":14004,"121":206,"28":31744,"24":27,"16":3359184116514816,"45":1762455597300768768},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:09:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:09:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:09:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138206208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:09:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:09:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:09:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359184116514816,"km_value":3359184116514.816,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:09:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762455597300768768,"description":"Unknown IO ID 45"} 
[2026-06-18 19:09:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138206208001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1762455597300768768}} 
[2026-06-18 19:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":106856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:09:51] local.INFO: GPS data processed {"connection_id":106856,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:09:51] local.INFO: Acknowledgment sent {"connection_id":106856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:10:01] local.INFO: TCP Data received {"connection_id":106082,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:10:01] local.INFO: Processing buffer {"connection_id":106082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:10:01] local.INFO: Packet analysis {"connection_id":106082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:10:01] local.INFO: Extracted packet for processing {"connection_id":106082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:10:01] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:01] 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-06-18 19:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:10:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":106082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:10:01] local.INFO: GPS data processed {"connection_id":106082,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:10:01] local.INFO: Acknowledgment sent {"connection_id":106082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:10:11] local.INFO: TCP Data received {"connection_id":106258,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:10:11] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:10:11] local.INFO: Packet analysis {"connection_id":106258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:10:11] local.INFO: Extracted packet for processing {"connection_id":106258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:10:11] 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-06-18 19:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106258,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":106258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:10:11] local.INFO: GPS data processed {"connection_id":106258,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:10:11] local.INFO: Acknowledgment sent {"connection_id":106258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:10:23] local.INFO: TCP Data received {"connection_id":106856,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3df20012d185fc0072183a0004e01222d..."} 
[2026-06-18 19:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3df20012d185fc0072183a0004e01222d..."} 
[2026-06-18 19:10:23] local.INFO: Processing buffer {"connection_id":106856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3df20012d185fc0072183a0004e01222d..."} 
[2026-06-18 19:10:23] local.INFO: Packet analysis {"connection_id":106856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:10:23] local.INFO: Extracted packet for processing {"connection_id":106856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:10:23] local.INFO: GPS Element Parsed {"raw_longitude":756572096,"raw_latitude":119636896,"longitude_deg":75.6572096,"latitude_deg":11.9636896,"altitude":78,"angle":290,"satellites":45,"speed":27,"hex_longitude":"2d185fc0","hex_latitude":"072183a0","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:10:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138207744001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359248541024256,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757811260185004032,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:10:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781789876000,"timestamp_ms":1781789876000,"timestamp_seconds":1781789876,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3df20"} 
[2026-06-18 19:10:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:10:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 19:10:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:10:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:10:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:10:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:10:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:10:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:10:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:10:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:10:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:10:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138207744001,"66":13961,"121":206,"28":31744,"24":27,"16":3359248541024256,"45":1757811260185004032},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:10:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:10:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:10:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138207744001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:10:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:10:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:10:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359248541024256,"km_value":3359248541024.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:10:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757811260185004032,"description":"Unknown IO ID 45"} 
[2026-06-18 19:10:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138207744001,"power":13961,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1757811260185004032}} 
[2026-06-18 19:10:23] local.INFO: DEBUG: GPS processor result {"connection_id":106856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:10:23] local.INFO: GPS data processed {"connection_id":106856,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:10:23] local.INFO: Acknowledgment sent {"connection_id":106856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:10:24] local.INFO: TCP Data received {"connection_id":107820,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:10:24] local.INFO: Processing buffer {"connection_id":107820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:10:24] local.INFO: IMEI packet received {"connection_id":107820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":107820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:10:29] local.INFO: TCP Data received {"connection_id":107820,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:10:29] local.INFO: Processing buffer {"connection_id":107820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:10:29] local.INFO: IMEI packet received {"connection_id":107820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":107820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:10:30] local.INFO: TCP Data received {"connection_id":107820,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:10:30] local.INFO: Processing buffer {"connection_id":107820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:10:30] local.INFO: Packet analysis {"connection_id":107820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:10:30] local.INFO: Extracted packet for processing {"connection_id":107820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:10:30] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:30] 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-06-18 19:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:10: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-06-18 19: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-06-18 19:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:10: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-06-18 19:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:10:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":107820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:10:30] local.INFO: GPS data processed {"connection_id":107820,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:10:30] local.INFO: Acknowledgment sent {"connection_id":107820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:10:33] local.INFO: TCP Data received {"connection_id":106259,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:10:33] local.INFO: Processing buffer {"connection_id":106259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:10:33] local.INFO: IMEI packet received {"connection_id":106259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":106259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:10:38] local.INFO: TCP Data received {"connection_id":106259,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:10:38] local.INFO: Processing buffer {"connection_id":106259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:10:38] local.INFO: IMEI packet received {"connection_id":106259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":106259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:10:39] local.INFO: TCP Data received {"connection_id":106259,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:10:39] local.INFO: Processing buffer {"connection_id":106259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf14af8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:10:39] local.INFO: Packet analysis {"connection_id":106259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:10:39] local.INFO: Extracted packet for processing {"connection_id":106259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf1"} 
[2026-06-18 19:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138087936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781789707000,"timestamp_ms":1781789707000,"timestamp_seconds":1781789707,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf14af8"} 
[2026-06-18 19:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:10: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-06-18 19:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138087936001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138087936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:10:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:10:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138087936001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":106259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:10:39] local.INFO: GPS data processed {"connection_id":106259,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:10:39] local.INFO: Acknowledgment sent {"connection_id":106259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:10:41] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:41] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:41] local.INFO: IMEI packet received {"connection_id":106083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":106083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:10:44] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:44] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:44] local.INFO: IMEI packet received {"connection_id":106083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":106083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:10:49] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:49] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:10:49] local.INFO: IMEI packet received {"connection_id":106083,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":106083,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:10:50] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf415d0012d183f0007219290005101212c..."} 
[2026-06-18 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf415d0012d183f0007219290005101212c..."} 
[2026-06-18 19:10:50] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf415d0012d183f0007219290005101212c..."} 
[2026-06-18 19:10:50] local.INFO: Packet analysis {"connection_id":106083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf4"} 
[2026-06-18 19:10:50] local.INFO: Extracted packet for processing {"connection_id":106083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf4"} 
[2026-06-18 19:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756563712,"raw_latitude":119640720,"longitude_deg":75.6563712,"latitude_deg":11.964072,"altitude":81,"angle":289,"satellites":44,"speed":25,"hex_longitude":"2d183f00","hex_latitude":"07219290","is_valid_coordinates":true} 
[2026-06-18 19:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138208256001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359690922655744,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756333516557361152,"note":"Value kept but may cause issues"} 
[2026-06-18 19:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781789890000,"timestamp_ms":1781789890000,"timestamp_seconds":1781789890,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf415d0"} 
[2026-06-18 19:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-06-18 19:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138208256001,"66":14070,"120":206,"28":31744,"24":25,"16":3359690922655744,"45":1756333516557361152},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138208256001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:10:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:10:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359690922655744,"km_value":3359690922655.744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756333516557361152,"description":"Unknown IO ID 45"} 
[2026-06-18 19:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138208256001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1756333516557361152}} 
[2026-06-18 19:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":106083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:10:50] local.INFO: GPS data processed {"connection_id":106083,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:10:50] local.INFO: Acknowledgment sent {"connection_id":106083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:11:01] local.INFO: TCP Data received {"connection_id":107820,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:11:01] local.INFO: Processing buffer {"connection_id":107820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:11:01] local.INFO: Packet analysis {"connection_id":107820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:11:01] local.INFO: Extracted packet for processing {"connection_id":107820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:11:01] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:01] 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-06-18 19:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:11:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:11:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":107820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:11:01] local.INFO: GPS data processed {"connection_id":107820,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:11:01] local.INFO: Acknowledgment sent {"connection_id":107820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:11:11] local.INFO: TCP Data received {"connection_id":106259,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:11:11] local.INFO: Processing buffer {"connection_id":106259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:11:11] local.INFO: Packet analysis {"connection_id":106259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:11:11] local.INFO: Extracted packet for processing {"connection_id":106259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:11:11] 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-06-18 19:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:11:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":106259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:11:11] local.INFO: GPS data processed {"connection_id":106259,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:11:11] local.INFO: Acknowledgment sent {"connection_id":106259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:11:22] local.INFO: TCP Data received {"connection_id":106083,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf43510012d182dc0072199b00051012e2c..."} 
[2026-06-18 19:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf43510012d182dc0072199b00051012e2c..."} 
[2026-06-18 19:11:22] local.INFO: Processing buffer {"connection_id":106083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf43510012d182dc0072199b00051012e2c..."} 
[2026-06-18 19:11:22] local.INFO: Packet analysis {"connection_id":106083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf4"} 
[2026-06-18 19:11:22] local.INFO: Extracted packet for processing {"connection_id":106083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf4"} 
[2026-06-18 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642544,"longitude_deg":75.6559296,"latitude_deg":11.9642544,"altitude":81,"angle":302,"satellites":44,"speed":17,"hex_longitude":"2d182dc0","hex_latitude":"072199b0","is_valid_coordinates":true} 
[2026-06-18 19:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138211840001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359918555922432,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747115211071066112,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781789898000,"timestamp_ms":1781789898000,"timestamp_seconds":1781789898,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf43510"} 
[2026-06-18 19:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:11:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-06-18 19:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106083,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138211840001,"66":12993,"120":206,"28":31744,"24":17,"16":3359918555922432,"45":1747115211071066112},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138211840001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:11:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:11:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359918555922432,"km_value":3359918555922.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747115211071066112,"description":"Unknown IO ID 45"} 
[2026-06-18 19:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138211840001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1747115211071066112}} 
[2026-06-18 19:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":106083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:11:22] local.INFO: GPS data processed {"connection_id":106083,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:11:22] local.INFO: Acknowledgment sent {"connection_id":106083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:11:24] local.INFO: TCP Data received {"connection_id":106084,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:11:24] local.INFO: Processing buffer {"connection_id":106084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:11:24] local.INFO: IMEI packet received {"connection_id":106084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":106084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:11:29] local.INFO: TCP Data received {"connection_id":106084,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:11:29] local.INFO: Processing buffer {"connection_id":106084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:11:29] local.INFO: IMEI packet received {"connection_id":106084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":106084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:11:30] local.INFO: TCP Data received {"connection_id":106084,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:11:30] local.INFO: Processing buffer {"connection_id":106084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:11:30] local.INFO: Packet analysis {"connection_id":106084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:11:30] local.INFO: Extracted packet for processing {"connection_id":106084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:30] 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-06-18 19:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:11: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-06-18 19:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:11: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-06-18 19:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:11:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":106084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:11:30] local.INFO: GPS data processed {"connection_id":106084,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:11:30] local.INFO: Acknowledgment sent {"connection_id":106084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:11:33] local.INFO: TCP Data received {"connection_id":106857,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:11:33] local.INFO: Processing buffer {"connection_id":106857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:11:33] local.INFO: IMEI packet received {"connection_id":106857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":106857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:11:38] local.INFO: TCP Data received {"connection_id":106857,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106857,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:11:38] local.INFO: Processing buffer {"connection_id":106857,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:11:38] local.INFO: IMEI packet received {"connection_id":106857,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":106857,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:11:39] local.INFO: TCP Data received {"connection_id":106857,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:11:39] local.INFO: Processing buffer {"connection_id":106857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:11:39] local.INFO: Packet analysis {"connection_id":106857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:11:39] local.INFO: Extracted packet for processing {"connection_id":106857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:11: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-06-18 19:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:11:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":106857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:11:39] local.INFO: GPS data processed {"connection_id":106857,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:11:39] local.INFO: Acknowledgment sent {"connection_id":106857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:11:44] local.INFO: TCP Data received {"connection_id":106260,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:44] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:44] local.INFO: IMEI packet received {"connection_id":106260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":106260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:11:45] local.INFO: TCP Data received {"connection_id":106260,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:45] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:45] local.INFO: IMEI packet received {"connection_id":106260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":106260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:11:49] local.INFO: TCP Data received {"connection_id":106260,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:49] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:11:49] local.INFO: IMEI packet received {"connection_id":106260,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":106260,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:11:50] local.INFO: TCP Data received {"connection_id":106260,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf48718012d18290007219d10004f012f29..."} 
[2026-06-18 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf48718012d18290007219d10004f012f29..."} 
[2026-06-18 19:11:50] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf48718012d18290007219d10004f012f29..."} 
[2026-06-18 19:11:50] local.INFO: Packet analysis {"connection_id":106260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf4"} 
[2026-06-18 19:11:50] local.INFO: Extracted packet for processing {"connection_id":106260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf4"} 
[2026-06-18 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":41,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138213888001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723274240,"note":"Value kept but may cause issues"} 
[2026-06-18 19:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781789919000,"timestamp_ms":1781789919000,"timestamp_seconds":1781789919,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf48718"} 
[2026-06-18 19:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 19:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138213888001,"66":13059,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1742259767723274240},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138213888001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:11:50] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:11:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723274240,"description":"Unknown IO ID 45"} 
[2026-06-18 19:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138213888001,"power":13059,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1742259767723274240}} 
[2026-06-18 19:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":106260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:11:50] local.INFO: GPS data processed {"connection_id":106260,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:11:50] local.INFO: Acknowledgment sent {"connection_id":106260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:12:01] local.INFO: TCP Data received {"connection_id":106084,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:12:01] local.INFO: Processing buffer {"connection_id":106084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:12:01] local.INFO: Packet analysis {"connection_id":106084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:12:01] local.INFO: Extracted packet for processing {"connection_id":106084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:12:01] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:01] 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-06-18 19:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:12:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:12:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":106084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:12:01] local.INFO: GPS data processed {"connection_id":106084,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:12:01] local.INFO: Acknowledgment sent {"connection_id":106084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:12:11] local.INFO: TCP Data received {"connection_id":106857,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:12:11] local.INFO: Processing buffer {"connection_id":106857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:12:11] local.INFO: Packet analysis {"connection_id":106857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:12:11] local.INFO: Extracted packet for processing {"connection_id":106857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:12:11] 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-06-18 19:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106857,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:12:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":106857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:12:11] local.INFO: GPS data processed {"connection_id":106857,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:12:11] local.INFO: Acknowledgment sent {"connection_id":106857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:12:21] local.INFO: TCP Data received {"connection_id":106260,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf4d920012d18290007219d10004f012f2a..."} 
[2026-06-18 19:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf4d920012d18290007219d10004f012f2a..."} 
[2026-06-18 19:12:21] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf4d920012d18290007219d10004f012f2a..."} 
[2026-06-18 19:12:21] local.INFO: Packet analysis {"connection_id":106260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf4"} 
[2026-06-18 19:12:21] local.INFO: Extracted packet for processing {"connection_id":106260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf4"} 
[2026-06-18 19:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":42,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138219264001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781789940000,"timestamp_ms":1781789940000,"timestamp_seconds":1781789940,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf4d920"} 
[2026-06-18 19:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:12:21] 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-06-18 19:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303178682781159,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3673403456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4090974209,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2185756750,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":191,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":117,"raw_value":2147950978,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402215,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490461,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4009361408,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:21] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,239,53,45,192,153,81,44,10,66,21,146,223,1,240,137,218,33,4,113,205,27,191,117,224,54,121,2,11,7,76,29],"length":486,"final_offset":616,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:12:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692883257113182208,"timestamp_seconds":5692883257113182.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106260,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138219264001,"66":12993,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138219264001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:12:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:12:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138219264001,"power":12993,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":106260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:12:21] local.INFO: GPS data processed {"connection_id":106260,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:12:21] local.INFO: Acknowledgment sent {"connection_id":106260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:12:24] local.INFO: TCP Data received {"connection_id":106261,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:12:24] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:12:24] local.INFO: IMEI packet received {"connection_id":106261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":106261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:12:29] local.INFO: TCP Data received {"connection_id":106261,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:12:29] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:12:29] local.INFO: IMEI packet received {"connection_id":106261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":106261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:12:30] local.INFO: TCP Data received {"connection_id":106261,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:12:30] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:12:30] local.INFO: Packet analysis {"connection_id":106261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:12:30] local.INFO: Extracted packet for processing {"connection_id":106261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:30] 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-06-18 19:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:12: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-06-18 19:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:12:30] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":106261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:12:30] local.INFO: GPS data processed {"connection_id":106261,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:12:30] local.INFO: Acknowledgment sent {"connection_id":106261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:12:33] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:12:33] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:12:33] local.INFO: IMEI packet received {"connection_id":106085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":106085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:12:38] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:12:38] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:12:38] local.INFO: IMEI packet received {"connection_id":106085,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":106085,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:12:39] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:12:39] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:12:39] local.INFO: Packet analysis {"connection_id":106085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:12:39] local.INFO: Extracted packet for processing {"connection_id":106085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:12: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-06-18 19:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:12:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:12:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":106085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:12:39] local.INFO: GPS data processed {"connection_id":106085,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:12:39] local.INFO: Acknowledgment sent {"connection_id":106085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:12:44] local.INFO: TCP Data received {"connection_id":107821,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:12:44] local.INFO: Processing buffer {"connection_id":107821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:12:44] local.INFO: IMEI packet received {"connection_id":107821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":107821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:12:48] local.INFO: TCP Data received {"connection_id":107821,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:12:48] local.INFO: Processing buffer {"connection_id":107821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:12:48] local.INFO: IMEI packet received {"connection_id":107821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":107821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:12:49] local.INFO: TCP Data received {"connection_id":107821,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf52b28012d18290007219d10004f012f2c..."} 
[2026-06-18 19:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf52b28012d18290007219d10004f012f2c..."} 
[2026-06-18 19:12:49] local.INFO: Processing buffer {"connection_id":107821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf52b28012d18290007219d10004f012f2c..."} 
[2026-06-18 19:12:49] local.INFO: Packet analysis {"connection_id":107821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:12:49] local.INFO: Extracted packet for processing {"connection_id":107821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":44,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138224640001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781789961000,"timestamp_ms":1781789961000,"timestamp_seconds":1781789961,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf52b28"} 
[2026-06-18 19:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-06-18 19:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138224640001,"66":12885,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138224640001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:12:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138224640001,"power":12885,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":107821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:12:49] local.INFO: GPS data processed {"connection_id":107821,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:12:49] local.INFO: Acknowledgment sent {"connection_id":107821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:13:01] local.INFO: TCP Data received {"connection_id":106261,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:13:01] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf3fa78012cc1dc4007572910004e013b2e..."} 
[2026-06-18 19:13:01] local.INFO: Packet analysis {"connection_id":106261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:13:01] local.INFO: Extracted packet for processing {"connection_id":106261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf3"} 
[2026-06-18 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":78,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138132992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:01] 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-06-18 19:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781789883000,"timestamp_ms":1781789883000,"timestamp_seconds":1781789883,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf3fa78"} 
[2026-06-18 19:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:13: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-06-18 19:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138132992001,"66":25321,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138132992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:13:01] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138132992001,"power":25321,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":106261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:13:01] local.INFO: GPS data processed {"connection_id":106261,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:13:01] local.INFO: Acknowledgment sent {"connection_id":106261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:13:11] local.INFO: TCP Data received {"connection_id":106085,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:13:11] local.INFO: Processing buffer {"connection_id":106085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:13:11] local.INFO: Packet analysis {"connection_id":106085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:13:11] local.INFO: Extracted packet for processing {"connection_id":106085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:13:11] 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-06-18 19:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106085,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:13:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":106085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:13:12] local.INFO: GPS data processed {"connection_id":106085,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:13:12] local.INFO: Acknowledgment sent {"connection_id":106085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:13:20] local.INFO: TCP Data received {"connection_id":107821,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf57d30012d18290007219d10004f012f2c..."} 
[2026-06-18 19:13:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf57d30012d18290007219d10004f012f2c..."} 
[2026-06-18 19:13:20] local.INFO: Processing buffer {"connection_id":107821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf57d30012d18290007219d10004f012f2c..."} 
[2026-06-18 19:13:20] local.INFO: Packet analysis {"connection_id":107821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:13:20] local.INFO: Extracted packet for processing {"connection_id":107821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":44,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:13:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138230016001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:13:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781789982000,"timestamp_ms":1781789982000,"timestamp_seconds":1781789982,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf57d30"} 
[2026-06-18 19:13:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:13:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:13:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 19:13:20] 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-06-18 19:13:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:13:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:13:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:13:20] local.INFO: Teltonika packet parsed successfully {"connection_id":107821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:13:20] local.INFO: Passing IMEI to GPS processor {"connection_id":107821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:13:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":107821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:13:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:13:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:13:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:13:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138230016001,"66":12809,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:13:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:13:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:13:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138230016001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:13:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:13:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:13:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:13:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:13:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138230016001,"power":12809,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":107821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:13:20] local.INFO: GPS data processed {"connection_id":107821,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:13:20] local.INFO: Acknowledgment sent {"connection_id":107821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:13:24] local.INFO: TCP Data received {"connection_id":106858,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:24] local.INFO: Processing buffer {"connection_id":106858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:24] local.INFO: IMEI packet received {"connection_id":106858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":106858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:13:26] local.INFO: TCP Data received {"connection_id":106858,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:26] local.INFO: Processing buffer {"connection_id":106858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:26] local.INFO: IMEI packet received {"connection_id":106858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":106858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:13:29] local.INFO: TCP Data received {"connection_id":106858,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:29] local.INFO: Processing buffer {"connection_id":106858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:13:29] local.INFO: IMEI packet received {"connection_id":106858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":106858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:13:33] local.INFO: TCP Data received {"connection_id":106859,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:13:33] local.INFO: Processing buffer {"connection_id":106859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:13:33] local.INFO: IMEI packet received {"connection_id":106859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":106859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:13:35] local.INFO: TCP Data received {"connection_id":106858,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf853c0012cc1dc40075729100039013b2a..."} 
[2026-06-18 19:13:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf853c0012cc1dc40075729100039013b2a..."} 
[2026-06-18 19:13:35] local.INFO: Processing buffer {"connection_id":106858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf853c0012cc1dc40075729100039013b2a..."} 
[2026-06-18 19:13:35] local.INFO: Packet analysis {"connection_id":106858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf8"} 
[2026-06-18 19:13:35] local.INFO: Extracted packet for processing {"connection_id":106858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf8"} 
[2026-06-18 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":750902336,"raw_latitude":123152656,"longitude_deg":75.0902336,"latitude_deg":12.3152656,"altitude":57,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2cc1dc40","hex_latitude":"07572910","is_valid_coordinates":true} 
[2026-06-18 19:13: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-06-18 19:13:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138210048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13: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-06-18 19:13:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781790168000,"timestamp_ms":1781790168000,"timestamp_seconds":1781790168,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf853c0"} 
[2026-06-18 19:13:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:13:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:13:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 19:13: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-06-18 19:13:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:13:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:13:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:13:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:13:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:13:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:13:35] 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-06-18 19:13:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:13:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:13:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138210048001,"66":25299,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:13:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:13:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:13:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138210048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:13:35] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:13:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:13:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:13:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:13:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138210048001,"power":25299,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":106858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:13:36] local.INFO: GPS data processed {"connection_id":106858,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:13:36] local.INFO: Acknowledgment sent {"connection_id":106858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:13:38] local.INFO: TCP Data received {"connection_id":106859,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:13:38] local.INFO: Processing buffer {"connection_id":106859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:13:38] local.INFO: IMEI packet received {"connection_id":106859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":106859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:13:39] local.INFO: TCP Data received {"connection_id":106859,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:13:39] local.INFO: Processing buffer {"connection_id":106859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:13:39] local.INFO: Packet analysis {"connection_id":106859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:13:39] local.INFO: Extracted packet for processing {"connection_id":106859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:13: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-06-18 19:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:13:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:13:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":106859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346085,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:13:39] local.INFO: GPS data processed {"connection_id":106859,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:13:39] local.INFO: Acknowledgment sent {"connection_id":106859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:13:44] local.INFO: TCP Data received {"connection_id":106262,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:13:44] local.INFO: Processing buffer {"connection_id":106262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:13:44] local.INFO: IMEI packet received {"connection_id":106262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":106262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:13:51] local.INFO: TCP Data received {"connection_id":106262,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:13:51] local.INFO: Processing buffer {"connection_id":106262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:13:51] local.INFO: IMEI packet received {"connection_id":106262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":106262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:13:52] local.INFO: TCP Data received {"connection_id":106262,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5cf38012d18290007219d10004f012f29..."} 
[2026-06-18 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5cf38012d18290007219d10004f012f29..."} 
[2026-06-18 19:13:52] local.INFO: Processing buffer {"connection_id":106262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5cf38012d18290007219d10004f012f29..."} 
[2026-06-18 19:13:52] local.INFO: Packet analysis {"connection_id":106262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:13:52] local.INFO: Extracted packet for processing {"connection_id":106262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:13:52] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":41,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138235392001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:13:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781790003000,"timestamp_ms":1781790003000,"timestamp_seconds":1781790003,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5cf38"} 
[2026-06-18 19:13:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:13:52] 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-06-18 19:13:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1945555039191827456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3673415456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":218,"raw_value":-876143636518509312,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2578448465,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":21,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-8574627296462189028,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4020174848,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2414571516369900844,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-06-18 19:13:52] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,239,43,45,157,79,44,10,66,217,42,135,1,240,3,218,33,4,113,205,17,21,63,144,54,2,11,7,78,27,124,56],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-06-18 19:13:52] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692883269998084096,"timestamp_seconds":5692883269998084.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:13:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:13:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:13:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:13:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:13:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:13:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:13:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:13:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:13:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138235392001,"66":12461,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:13:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:13:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:13:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138235392001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:13:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:13:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:13:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:13:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:13:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138235392001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:13:52] local.INFO: DEBUG: GPS processor result {"connection_id":106262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:13:52] local.INFO: GPS data processed {"connection_id":106262,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:13:52] local.INFO: Acknowledgment sent {"connection_id":106262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:14:06] local.INFO: TCP Data received {"connection_id":106858,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf86360012cc1d20007572cf8003900ec2c..."} 
[2026-06-18 19:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf86360012cc1d20007572cf8003900ec2c..."} 
[2026-06-18 19:14:06] local.INFO: Processing buffer {"connection_id":106858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf86360012cc1d20007572cf8003900ec2c..."} 
[2026-06-18 19:14:06] local.INFO: Packet analysis {"connection_id":106858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf8"} 
[2026-06-18 19:14:06] local.INFO: Extracted packet for processing {"connection_id":106858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf8"} 
[2026-06-18 19:14:06] local.INFO: GPS Element Parsed {"raw_longitude":750899712,"raw_latitude":123153656,"longitude_deg":75.0899712,"latitude_deg":12.3153656,"altitude":57,"angle":236,"satellites":44,"speed":0,"hex_longitude":"2cc1d200","hex_latitude":"07572cf8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138283008001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4477633529241858048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:06] 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-06-18 19:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781790172000,"timestamp_ms":1781790172000,"timestamp_seconds":1781790172,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf86360"} 
[2026-06-18 19:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-06-18 19:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:14:06] 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-06-18 19:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138283008001,"66":27180,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4477633529241858048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138283008001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:14:06] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:14:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4477633529241858048,"description":"Unknown IO ID 44"} 
[2026-06-18 19:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138283008001,"power":27180,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4477633529241858048}} 
[2026-06-18 19:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":106858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:14:06] local.INFO: GPS data processed {"connection_id":106858,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:14:06] local.INFO: Acknowledgment sent {"connection_id":106858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:14:10] local.INFO: TCP Data received {"connection_id":106859,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:10] local.INFO: Processing buffer {"connection_id":106859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:10] local.INFO: Packet analysis {"connection_id":106859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:14:10] local.INFO: Extracted packet for processing {"connection_id":106859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:14:10] 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-06-18 19:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106859,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:14:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:14:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":106859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:14:11] local.INFO: GPS data processed {"connection_id":106859,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:14:11] local.INFO: Acknowledgment sent {"connection_id":106859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:14:22] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:22] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:22] local.INFO: IMEI packet received {"connection_id":106263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":106263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:14:24] local.INFO: TCP Data received {"connection_id":106262,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf62140012d18290007219d10004f012f2b..."} 
[2026-06-18 19:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf62140012d18290007219d10004f012f2b..."} 
[2026-06-18 19:14:24] local.INFO: Processing buffer {"connection_id":106262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf62140012d18290007219d10004f012f2b..."} 
[2026-06-18 19:14:24] local.INFO: Packet analysis {"connection_id":106262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf6"} 
[2026-06-18 19:14:24] local.INFO: Extracted packet for processing {"connection_id":106262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf6"} 
[2026-06-18 19:14:24] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":43,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:14:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138240768001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:14:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781790024000,"timestamp_ms":1781790024000,"timestamp_seconds":1781790024,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf62140"} 
[2026-06-18 19:14:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:14: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-06-18 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:14:24] 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-06-18 19: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-06-18 19:14:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:14:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:14:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:14:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:14:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:14:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:14:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:14:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:14:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138240768001,"66":12667,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:14:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:14:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:14:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138240768001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:14:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:14:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:14:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:14:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:14:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138240768001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:14:24] local.INFO: DEBUG: GPS processor result {"connection_id":106262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:14:24] local.INFO: GPS data processed {"connection_id":106262,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:14:24] local.INFO: Acknowledgment sent {"connection_id":106262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:14:24] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:24] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:24] local.INFO: IMEI packet received {"connection_id":106263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":106263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:14:26] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:26] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:14:26] local.INFO: IMEI packet received {"connection_id":106263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":106263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:14:27] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf8b568012cc1d20007572cf8003900ec2d..."} 
[2026-06-18 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf8b568012cc1d20007572cf8003900ec2d..."} 
[2026-06-18 19:14:27] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf8b568012cc1d20007572cf8003900ec2d..."} 
[2026-06-18 19:14:27] local.INFO: Packet analysis {"connection_id":106263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf8"} 
[2026-06-18 19:14:27] local.INFO: Extracted packet for processing {"connection_id":106263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf8"} 
[2026-06-18 19:14:27] local.INFO: GPS Element Parsed {"raw_longitude":750899712,"raw_latitude":123153656,"longitude_deg":75.0899712,"latitude_deg":12.3153656,"altitude":57,"angle":236,"satellites":45,"speed":0,"hex_longitude":"2cc1d200","hex_latitude":"07572cf8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138284032001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:27] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4480518647752886272,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14: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-06-18 19:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781790193000,"timestamp_ms":1781790193000,"timestamp_seconds":1781790193,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf8b568"} 
[2026-06-18 19:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:14: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-06-18 19: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-18 19:14:27] 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-06-18 19: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-06-18 19:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:14: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-06-18 19:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138284032001,"66":26832,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4480518647752886272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138284032001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:14:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:14:27] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4480518647752886272,"description":"Unknown IO ID 44"} 
[2026-06-18 19:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138284032001,"power":26832,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4480518647752886272}} 
[2026-06-18 19:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":106263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:14:27] local.INFO: GPS data processed {"connection_id":106263,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:14:27] local.INFO: Acknowledgment sent {"connection_id":106263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:14:38] local.INFO: TCP Data received {"connection_id":106086,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:14:38] local.INFO: Processing buffer {"connection_id":106086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:14:38] local.INFO: IMEI packet received {"connection_id":106086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":106086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:14:43] local.INFO: TCP Data received {"connection_id":106086,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:14:43] local.INFO: Processing buffer {"connection_id":106086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:14:43] local.INFO: IMEI packet received {"connection_id":106086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":106086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:14:44] local.INFO: TCP Data received {"connection_id":106860,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:14:44] local.INFO: Processing buffer {"connection_id":106860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:14:44] local.INFO: IMEI packet received {"connection_id":106860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":106860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:14:45] local.INFO: TCP Data received {"connection_id":106086,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:45] local.INFO: Processing buffer {"connection_id":106086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:45] local.INFO: Packet analysis {"connection_id":106086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:14:45] local.INFO: Extracted packet for processing {"connection_id":106086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:14:45] 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-06-18 19: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-06-18 19:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:14:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:14:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":106086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:14:45] local.INFO: GPS data processed {"connection_id":106086,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:14:45] local.INFO: Acknowledgment sent {"connection_id":106086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:14:49] local.INFO: TCP Data received {"connection_id":106086,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:49] local.INFO: Processing buffer {"connection_id":106086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:14:49] local.INFO: Packet analysis {"connection_id":106086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:14:49] local.INFO: Extracted packet for processing {"connection_id":106086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:14:49] 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-06-18 19:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106086,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:14:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:14:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":106086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:14:49] local.INFO: GPS data processed {"connection_id":106086,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:14:49] local.INFO: Acknowledgment sent {"connection_id":106086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:14:49] local.INFO: TCP Data received {"connection_id":106860,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:14:49] local.INFO: Processing buffer {"connection_id":106860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:14:49] local.INFO: IMEI packet received {"connection_id":106860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":106860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:14:51] local.INFO: TCP Data received {"connection_id":106860,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf67348012d18290007219d10004f012f28..."} 
[2026-06-18 19:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf67348012d18290007219d10004f012f28..."} 
[2026-06-18 19:14:51] local.INFO: Processing buffer {"connection_id":106860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf67348012d18290007219d10004f012f28..."} 
[2026-06-18 19:14:51] local.INFO: Packet analysis {"connection_id":106860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf6"} 
[2026-06-18 19:14:51] local.INFO: Extracted packet for processing {"connection_id":106860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf6"} 
[2026-06-18 19:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138246144001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781790045000,"timestamp_ms":1781790045000,"timestamp_seconds":1781790045,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf67348"} 
[2026-06-18 19:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:14:51] 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-06-18 19:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 19:14:51] 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-06-18 19:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138246144001,"66":12537,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138246144001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:14:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:14:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138246144001,"power":12537,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":106860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:14:51] local.INFO: GPS data processed {"connection_id":106860,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:14:51] local.INFO: Acknowledgment sent {"connection_id":106860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:14:58] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf90770012cc1d20007572cf8003900ec2d..."} 
[2026-06-18 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf90770012cc1d20007572cf8003900ec2d..."} 
[2026-06-18 19:14:58] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf90770012cc1d20007572cf8003900ec2d..."} 
[2026-06-18 19:14:58] local.INFO: Packet analysis {"connection_id":106263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf9"} 
[2026-06-18 19:14:58] local.INFO: Extracted packet for processing {"connection_id":106263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf9"} 
[2026-06-18 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":750899712,"raw_latitude":123153656,"longitude_deg":75.0899712,"latitude_deg":12.3153656,"altitude":57,"angle":236,"satellites":45,"speed":0,"hex_longitude":"2cc1d200","hex_latitude":"07572cf8","is_valid_coordinates":true} 
[2026-06-18 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138289408001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318843833590743040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4480518647752886272,"note":"Value kept but may cause issues"} 
[2026-06-18 19:14: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-06-18 19:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781790214000,"timestamp_ms":1781790214000,"timestamp_seconds":1781790214,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf90770"} 
[2026-06-18 19:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:14: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-06-18 19:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-18 19:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:14: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-06-18 19:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138289408001,"66":27397,"103":206,"85":37120,"24":0,"16":318843833590743040,"44":-4480518647752886272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,85,24,16,44]} 
[2026-06-18 19:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138289408001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:14:58] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-06-18 19:14:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318843833590743040,"km_value":318843833590743.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:14:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4480518647752886272,"description":"Unknown IO ID 44"} 
[2026-06-18 19:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138289408001,"power":27397,"unknown_103":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4480518647752886272}} 
[2026-06-18 19:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":106263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:14:58] local.INFO: GPS data processed {"connection_id":106263,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:14:58] local.INFO: Acknowledgment sent {"connection_id":106263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:15:22] local.INFO: TCP Data received {"connection_id":106860,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf6c550012d18290007219d10004f012f28..."} 
[2026-06-18 19:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf6c550012d18290007219d10004f012f28..."} 
[2026-06-18 19:15:22] local.INFO: Processing buffer {"connection_id":106860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf6c550012d18290007219d10004f012f28..."} 
[2026-06-18 19:15:22] local.INFO: Packet analysis {"connection_id":106860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf6"} 
[2026-06-18 19:15:22] local.INFO: Extracted packet for processing {"connection_id":106860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf6"} 
[2026-06-18 19:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138251520001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781790066000,"timestamp_ms":1781790066000,"timestamp_seconds":1781790066,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf6c550"} 
[2026-06-18 19:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 19:15:22] 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-06-18 19:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138251520001,"66":11961,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138251520001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:15:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:15:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138251520001,"power":11961,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":106860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:15:22] local.INFO: GPS data processed {"connection_id":106860,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:15:22] local.INFO: Acknowledgment sent {"connection_id":106860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:15:24] local.INFO: TCP Data received {"connection_id":106861,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:15:24] local.INFO: Processing buffer {"connection_id":106861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:15:24] local.INFO: IMEI packet received {"connection_id":106861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":106861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:15:28] local.INFO: TCP Data received {"connection_id":106861,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:15:28] local.INFO: Processing buffer {"connection_id":106861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:15:28] local.INFO: IMEI packet received {"connection_id":106861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:15:28] local.INFO: IMEI acknowledgment sent {"connection_id":106861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:15:29] local.INFO: TCP Data received {"connection_id":106861,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf9da60012cc19e0007577a50001d015128..."} 
[2026-06-18 19:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf9da60012cc19e0007577a50001d015128..."} 
[2026-06-18 19:15:29] local.INFO: Processing buffer {"connection_id":106861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf9da60012cc19e0007577a50001d015128..."} 
[2026-06-18 19:15:29] local.INFO: Packet analysis {"connection_id":106861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf9"} 
[2026-06-18 19:15:29] local.INFO: Extracted packet for processing {"connection_id":106861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf9"} 
[2026-06-18 19:15:29] local.INFO: GPS Element Parsed {"raw_longitude":750886400,"raw_latitude":123173456,"longitude_deg":75.08864,"latitude_deg":12.3173456,"altitude":29,"angle":337,"satellites":40,"speed":28,"hex_longitude":"2cc19e00","hex_latitude":"07577a50","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138306816001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318845216570212352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4491425803096547328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:29] 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-06-18 19:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781790268000,"timestamp_ms":1781790268000,"timestamp_seconds":1781790268,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf9da60"} 
[2026-06-18 19:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":207,"data_length":795,"current_offset":136} 
[2026-06-18 19:15: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-06-18 19: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-06-18 19:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:15:29] 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-06-18 19:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138306816001,"66":27463,"10":206,"85":37120,"24":28,"16":318845216570212352,"44":-4491425803096547328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,44]} 
[2026-06-18 19:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138306816001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:15:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 19:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318845216570212352,"km_value":318845216570212.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:15:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4491425803096547328,"description":"Unknown IO ID 44"} 
[2026-06-18 19:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138306816001,"power":27463,"unknown_10":206,"unknown_85":37120,"ignition":28,"odometer":null,"unknown_44":-4491425803096547328}} 
[2026-06-18 19:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":106861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:15:29] local.INFO: GPS data processed {"connection_id":106861,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:15:29] local.INFO: Acknowledgment sent {"connection_id":106861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:15:33] local.INFO: TCP Data received {"connection_id":107822,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:15:33] local.INFO: Processing buffer {"connection_id":107822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:15:33] local.INFO: IMEI packet received {"connection_id":107822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:15:33] local.INFO: IMEI acknowledgment sent {"connection_id":107822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:15:38] local.INFO: TCP Data received {"connection_id":107822,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:15:38] local.INFO: Processing buffer {"connection_id":107822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:15:38] local.INFO: IMEI packet received {"connection_id":107822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":107822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:15:40] local.INFO: TCP Data received {"connection_id":107822,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:15:40] local.INFO: Processing buffer {"connection_id":107822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf5e2c0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:15:40] local.INFO: Packet analysis {"connection_id":107822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:15:40] local.INFO: Extracted packet for processing {"connection_id":107822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf5"} 
[2026-06-18 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138164992001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781790008000,"timestamp_ms":1781790008000,"timestamp_seconds":1781790008,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf5e2c0"} 
[2026-06-18 19:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:15:40] 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-06-18 19: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-06-18 19:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138164992001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138164992001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:15:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138164992001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":107822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:15:40] local.INFO: GPS data processed {"connection_id":107822,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:15:40] local.INFO: Acknowledgment sent {"connection_id":107822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:15:44] local.INFO: TCP Data received {"connection_id":106087,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:15:44] local.INFO: Processing buffer {"connection_id":106087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:15:44] local.INFO: IMEI packet received {"connection_id":106087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":106087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:15:49] local.INFO: TCP Data received {"connection_id":106087,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106087,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:15:49] local.INFO: Processing buffer {"connection_id":106087,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:15:49] local.INFO: IMEI packet received {"connection_id":106087,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":106087,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:15:51] local.INFO: TCP Data received {"connection_id":106087,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf71758012d18290007219d10004f012f28..."} 
[2026-06-18 19:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf71758012d18290007219d10004f012f28..."} 
[2026-06-18 19:15:51] local.INFO: Processing buffer {"connection_id":106087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf71758012d18290007219d10004f012f28..."} 
[2026-06-18 19:15:51] local.INFO: Packet analysis {"connection_id":106087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf7"} 
[2026-06-18 19:15:51] local.INFO: Extracted packet for processing {"connection_id":106087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf7"} 
[2026-06-18 19:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138256896001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:15:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781790087000,"timestamp_ms":1781790087000,"timestamp_seconds":1781790087,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf71758"} 
[2026-06-18 19:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:15:51] 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-06-18 19:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 19:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138256896001,"66":12493,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138256896001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:15:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:15:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138256896001,"power":12493,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":106087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:15:51] local.INFO: GPS data processed {"connection_id":106087,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:15:51] local.INFO: Acknowledgment sent {"connection_id":106087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:16:00] local.INFO: TCP Data received {"connection_id":106861,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa0940012cc18fc007579cf8001b014f2b..."} 
[2026-06-18 19:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa0940012cc18fc007579cf8001b014f2b..."} 
[2026-06-18 19:16:00] local.INFO: Processing buffer {"connection_id":106861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa0940012cc18fc007579cf8001b014f2b..."} 
[2026-06-18 19:16:00] local.INFO: Packet analysis {"connection_id":106861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:00] local.INFO: Extracted packet for processing {"connection_id":106861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:00] local.INFO: GPS Element Parsed {"raw_longitude":750882752,"raw_latitude":123182328,"longitude_deg":75.0882752,"latitude_deg":12.3182328,"altitude":27,"angle":335,"satellites":43,"speed":34,"hex_longitude":"2cc18fc0","hex_latitude":"07579cf8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138308608001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318845684721647616,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4495155346536771584,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:00] 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-06-18 19:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781790280000,"timestamp_ms":1781790280000,"timestamp_seconds":1781790280,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa0940"} 
[2026-06-18 19:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":71,"data_length":795,"current_offset":136} 
[2026-06-18 19:16: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-06-18 19: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-06-18 19:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:16:00] 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-06-18 19:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138308608001,"66":27300,"10":206,"85":37120,"24":34,"16":318845684721647616,"44":-4495155346536771584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,44]} 
[2026-06-18 19:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138308608001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:16:00] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 19:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318845684721647616,"km_value":318845684721647.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:16:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4495155346536771584,"description":"Unknown IO ID 44"} 
[2026-06-18 19:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138308608001,"power":27300,"unknown_10":206,"unknown_85":37120,"ignition":34,"odometer":null,"unknown_44":-4495155346536771584}} 
[2026-06-18 19:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":106861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:16:00] local.INFO: GPS data processed {"connection_id":106861,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:16:00] local.INFO: Acknowledgment sent {"connection_id":106861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:16:11] local.INFO: TCP Data received {"connection_id":107822,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:16:11] local.INFO: Processing buffer {"connection_id":107822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:16:11] local.INFO: Packet analysis {"connection_id":107822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:11] local.INFO: Extracted packet for processing {"connection_id":107822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:16:11] 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-06-18 19:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":107822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:16:11] local.INFO: GPS data processed {"connection_id":107822,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:16:11] local.INFO: Acknowledgment sent {"connection_id":107822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:16:22] local.INFO: TCP Data received {"connection_id":106087,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edaf76960012d18290007219d10004f012f28..."} 
[2026-06-18 19:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaf76960012d18290007219d10004f012f28..."} 
[2026-06-18 19:16:22] local.INFO: Processing buffer {"connection_id":106087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaf76960012d18290007219d10004f012f28..."} 
[2026-06-18 19:16:22] local.INFO: Packet analysis {"connection_id":106087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaf7"} 
[2026-06-18 19:16:22] local.INFO: Extracted packet for processing {"connection_id":106087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaf7"} 
[2026-06-18 19:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138262272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781790108000,"timestamp_ms":1781790108000,"timestamp_seconds":1781790108,"priority":1,"record_length":96,"hex_timestamp":"0000019edaf76960"} 
[2026-06-18 19:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:16:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:16:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 19:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:16:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106087,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138262272001,"66":12385,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138262272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:16:22] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:16:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138262272001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":106087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:16:22] local.INFO: GPS data processed {"connection_id":106087,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:16:22] local.INFO: Acknowledgment sent {"connection_id":106087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:16:24] local.INFO: TCP Data received {"connection_id":106264,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:16:24] local.INFO: Processing buffer {"connection_id":106264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:16:24] local.INFO: IMEI packet received {"connection_id":106264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":106264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:16:29] local.INFO: TCP Data received {"connection_id":106264,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:16:29] local.INFO: Processing buffer {"connection_id":106264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:16:29] local.INFO: IMEI packet received {"connection_id":106264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":106264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:16:29] local.INFO: TCP Data received {"connection_id":106264,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa3050012cc17fc00757bd38001c014d27..."} 
[2026-06-18 19:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa3050012cc17fc00757bd38001c014d27..."} 
[2026-06-18 19:16:29] local.INFO: Processing buffer {"connection_id":106264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa3050012cc17fc00757bd38001c014d27..."} 
[2026-06-18 19:16:29] local.INFO: Packet analysis {"connection_id":106264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:29] local.INFO: Extracted packet for processing {"connection_id":106264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:29] local.INFO: GPS Element Parsed {"raw_longitude":750878656,"raw_latitude":123190584,"longitude_deg":75.0878656,"latitude_deg":12.3190584,"altitude":28,"angle":333,"satellites":39,"speed":37,"hex_longitude":"2cc17fc0","hex_latitude":"0757bd38","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138311680001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318846127103279104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4499166364952627200,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:29] 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-06-18 19:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781790290000,"timestamp_ms":1781790290000,"timestamp_seconds":1781790290,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa3050"} 
[2026-06-18 19:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:16: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-06-18 19:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 19:16: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-06-18 19: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-06-18 19:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:16:29] 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-06-18 19:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138311680001,"66":27376,"10":206,"85":37120,"24":37,"16":318846127103279104,"44":-4499166364952627200},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,85,24,16,44]} 
[2026-06-18 19:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138311680001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:16:29] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 19:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318846127103279104,"km_value":318846127103279.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4499166364952627200,"description":"Unknown IO ID 44"} 
[2026-06-18 19:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138311680001,"power":27376,"unknown_10":206,"unknown_85":37120,"ignition":37,"odometer":null,"unknown_44":-4499166364952627200}} 
[2026-06-18 19:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":106264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:16:29] local.INFO: GPS data processed {"connection_id":106264,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:16:29] local.INFO: Acknowledgment sent {"connection_id":106264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:16:33] local.INFO: TCP Data received {"connection_id":106862,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:16:33] local.INFO: Processing buffer {"connection_id":106862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:16:33] local.INFO: IMEI packet received {"connection_id":106862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":106862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:16:38] local.INFO: TCP Data received {"connection_id":106862,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:16:38] local.INFO: Processing buffer {"connection_id":106862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:16:38] local.INFO: IMEI packet received {"connection_id":106862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":106862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:16:39] local.INFO: TCP Data received {"connection_id":106862,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:16:39] local.INFO: Processing buffer {"connection_id":106862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:16:39] local.INFO: Packet analysis {"connection_id":106862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:39] local.INFO: Extracted packet for processing {"connection_id":106862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:16:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:16:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":106862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:16:39] local.INFO: GPS data processed {"connection_id":106862,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:16:39] local.INFO: Acknowledgment sent {"connection_id":106862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:16:46] local.INFO: TCP Data received {"connection_id":107823,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:46] local.INFO: Processing buffer {"connection_id":107823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:46] local.INFO: IMEI packet received {"connection_id":107823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:16:46] local.INFO: IMEI acknowledgment sent {"connection_id":107823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:16:49] local.INFO: TCP Data received {"connection_id":107823,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:49] local.INFO: Processing buffer {"connection_id":107823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:49] local.INFO: IMEI packet received {"connection_id":107823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":107823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:16:50] local.INFO: TCP Data received {"connection_id":107823,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:50] local.INFO: Processing buffer {"connection_id":107823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:50] local.INFO: IMEI packet received {"connection_id":107823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":107823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:16:54] local.INFO: TCP Data received {"connection_id":107823,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:54] local.INFO: Processing buffer {"connection_id":107823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:16:54] local.INFO: IMEI packet received {"connection_id":107823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":107823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:16:55] local.INFO: TCP Data received {"connection_id":107823,"ip":"117.224.105.184","data_length":1360,"data_hex":"000000000000030f8e0a0000019edafaefb8012d18290007219d10004f012f28..."} 
[2026-06-18 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107823,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019edafaefb8012d18290007219d10004f012f28..."} 
[2026-06-18 19:16:55] local.INFO: Processing buffer {"connection_id":107823,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019edafaefb8012d18290007219d10004f012f28..."} 
[2026-06-18 19:16:55] local.INFO: Packet analysis {"connection_id":107823,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:55] local.INFO: Extracted packet for processing {"connection_id":107823,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756558080,"raw_latitude":119643408,"longitude_deg":75.655808,"latitude_deg":11.9643408,"altitude":79,"angle":303,"satellites":40,"speed":0,"hex_longitude":"2d182900","hex_latitude":"07219d10","is_valid_coordinates":true} 
[2026-06-18 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138321408001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3359991570366464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740922761584119808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781790339000,"timestamp_ms":1781790339000,"timestamp_seconds":1781790339,"priority":1,"record_length":96,"hex_timestamp":"0000019edafaefb8"} 
[2026-06-18 19:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:16: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-06-18 19:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 19:16:55] 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-06-18 19:16:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138321408001,"66":12113,"120":206,"28":31744,"24":0,"16":3359991570366464,"45":1740922761584119808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138321408001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:16:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3359991570366464,"km_value":3359991570366.464,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740922761584119808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138321408001,"power":12113,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740922761584119808}} 
[2026-06-18 19:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":107823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:16:55] local.INFO: GPS data processed {"connection_id":107823,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:16:55] local.INFO: Acknowledgment sent {"connection_id":107823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:16:55] local.INFO: Packet analysis {"connection_id":107823,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:16:55] local.INFO: Incomplete packet, waiting for more data {"connection_id":107823,"needed":795,"available":565} 
[2026-06-18 19:17:01] local.INFO: TCP Data received {"connection_id":106264,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edafb5930012cc11e0007589038001400752b..."} 
[2026-06-18 19:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafb5930012cc11e0007589038001400752b..."} 
[2026-06-18 19:17:01] local.INFO: Processing buffer {"connection_id":106264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafb5930012cc11e0007589038001400752b..."} 
[2026-06-18 19:17:01] local.INFO: Packet analysis {"connection_id":106264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:17:01] local.INFO: Extracted packet for processing {"connection_id":106264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:17:01] local.INFO: GPS Element Parsed {"raw_longitude":750853632,"raw_latitude":123244600,"longitude_deg":75.0853632,"latitude_deg":12.32446,"altitude":20,"angle":117,"satellites":43,"speed":13,"hex_longitude":"2cc11e00","hex_latitude":"07589038","is_valid_coordinates":true} 
[2026-06-18 19:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138333440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318849077745811456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4531465618514206720,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781790366000,"timestamp_ms":1781790366000,"timestamp_seconds":1781790366,"priority":1,"record_length":96,"hex_timestamp":"0000019edafb5930"} 
[2026-06-18 19:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:17: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-06-18 19:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 19:17: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-06-18 19:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138333440001,"66":27365,"114":206,"85":37120,"24":13,"16":318849077745811456,"44":-4531465618514206720},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,44]} 
[2026-06-18 19:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138333440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:17:01] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-18 19:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318849077745811456,"km_value":318849077745811.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4531465618514206720,"description":"Unknown IO ID 44"} 
[2026-06-18 19:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138333440001,"power":27365,"unknown_114":206,"unknown_85":37120,"ignition":13,"odometer":null,"unknown_44":-4531465618514206720}} 
[2026-06-18 19:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":106264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:17:01] local.INFO: GPS data processed {"connection_id":106264,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:17:01] local.INFO: Acknowledgment sent {"connection_id":106264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:17:11] local.INFO: TCP Data received {"connection_id":106862,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:17:11] local.INFO: Processing buffer {"connection_id":106862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:17:11] local.INFO: Packet analysis {"connection_id":106862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:17:11] local.INFO: Extracted packet for processing {"connection_id":106862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:17:11] 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-06-18 19:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:17:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:17:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":106862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:17:11] local.INFO: GPS data processed {"connection_id":106862,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:17:11] local.INFO: Acknowledgment sent {"connection_id":106862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:17:24] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:17:24] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:17:24] local.INFO: IMEI packet received {"connection_id":106265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":106265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:17:29] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:17:29] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:17:29] local.INFO: IMEI packet received {"connection_id":106265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":106265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:17:30] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edafb68d0012cc1220007588e58001400642c..."} 
[2026-06-18 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafb68d0012cc1220007588e58001400642c..."} 
[2026-06-18 19:17:30] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafb68d0012cc1220007588e58001400642c..."} 
[2026-06-18 19:17:30] local.INFO: Packet analysis {"connection_id":106265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:17:30] local.INFO: Extracted packet for processing {"connection_id":106265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750854656,"raw_latitude":123244120,"longitude_deg":75.0854656,"latitude_deg":12.324412,"altitude":20,"angle":100,"satellites":44,"speed":7,"hex_longitude":"2cc12200","hex_latitude":"07588e58","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138333696001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318849129285419008,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4531184143537522688,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781790370000,"timestamp_ms":1781790370000,"timestamp_seconds":1781790370,"priority":1,"record_length":96,"hex_timestamp":"0000019edafb68d0"} 
[2026-06-18 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-06-18 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-06-18 19: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-06-18 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-06-18 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-06-18 19:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:17:30] 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-06-18 19:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138333696001,"66":26984,"114":206,"85":37120,"24":7,"16":318849129285419008,"44":-4531184143537522688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,44]} 
[2026-06-18 19:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138333696001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:17:30] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-18 19:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318849129285419008,"km_value":318849129285419.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4531184143537522688,"description":"Unknown IO ID 44"} 
[2026-06-18 19:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138333696001,"power":26984,"unknown_114":206,"unknown_85":37120,"ignition":7,"odometer":null,"unknown_44":-4531184143537522688}} 
[2026-06-18 19:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":106265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:17:30] local.INFO: GPS data processed {"connection_id":106265,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:17:30] local.INFO: Acknowledgment sent {"connection_id":106265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:17:33] local.INFO: TCP Data received {"connection_id":106266,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:17:33] local.INFO: Processing buffer {"connection_id":106266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:17:33] local.INFO: IMEI packet received {"connection_id":106266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":106266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:17:38] local.INFO: TCP Data received {"connection_id":106266,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:17:38] local.INFO: Processing buffer {"connection_id":106266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:17:38] local.INFO: IMEI packet received {"connection_id":106266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":106266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:17:39] local.INFO: TCP Data received {"connection_id":106266,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:17:39] local.INFO: Processing buffer {"connection_id":106266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:17:39] local.INFO: Packet analysis {"connection_id":106266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:17:39] local.INFO: Extracted packet for processing {"connection_id":106266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:17:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:17:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":106266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:17:39] local.INFO: GPS data processed {"connection_id":106266,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:17:39] local.INFO: Acknowledgment sent {"connection_id":106266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:17:44] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:44] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:44] local.INFO: IMEI packet received {"connection_id":106088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":106088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:17:45] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:45] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:45] local.INFO: IMEI packet received {"connection_id":106088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":106088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:17:49] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:49] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:17:49] local.INFO: IMEI packet received {"connection_id":106088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":106088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:17:51] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafb6cb8012d1820000721a558004e01192a..."} 
[2026-06-18 19:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafb6cb8012d1820000721a558004e01192a..."} 
[2026-06-18 19:17:51] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafb6cb8012d1820000721a558004e01192a..."} 
[2026-06-18 19:17:51] local.INFO: Packet analysis {"connection_id":106088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:17:51] local.INFO: Extracted packet for processing {"connection_id":106088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119645528,"longitude_deg":75.6555776,"latitude_deg":11.9645528,"altitude":78,"angle":281,"satellites":42,"speed":3,"hex_longitude":"2d182000","hex_latitude":"0721a558","is_valid_coordinates":true} 
[2026-06-18 19:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138334208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3360141894221824,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068003463168,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781790371000,"timestamp_ms":1781790371000,"timestamp_seconds":1781790371,"priority":1,"record_length":96,"hex_timestamp":"0000019edafb6cb8"} 
[2026-06-18 19:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:17:51] 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-06-18 19:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:17:51] 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-06-18 19:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138334208001,"66":12689,"120":206,"28":31744,"24":3,"16":3360141894221824,"45":1738882068003463168},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138334208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:17:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:17:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3360141894221824,"km_value":3360141894221.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068003463168,"description":"Unknown IO ID 45"} 
[2026-06-18 19:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138334208001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1738882068003463168}} 
[2026-06-18 19:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":106088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:17:51] local.INFO: GPS data processed {"connection_id":106088,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:17:51] local.INFO: Acknowledgment sent {"connection_id":106088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:17:54] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafb8040012d181e800721a5f0004e012428..."} 
[2026-06-18 19:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafb8040012d181e800721a5f0004e012428..."} 
[2026-06-18 19:17:54] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafb8040012d181e800721a5f0004e012428..."} 
[2026-06-18 19:17:54] local.INFO: Packet analysis {"connection_id":106088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:17:54] local.INFO: Extracted packet for processing {"connection_id":106088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119645680,"longitude_deg":75.6555392,"latitude_deg":11.964568,"altitude":78,"angle":292,"satellites":40,"speed":3,"hex_longitude":"2d181e80","hex_latitude":"0721a5f0","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138334976001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3360163369058304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486794266624,"note":"Value kept but may cause issues"} 
[2026-06-18 19:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781790376000,"timestamp_ms":1781790376000,"timestamp_seconds":1781790376,"priority":1,"record_length":96,"hex_timestamp":"0000019edafb8040"} 
[2026-06-18 19:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 19:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138334976001,"66":12776,"120":206,"28":31744,"24":3,"16":3360163369058304,"45":1738389486794266624},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138334976001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:17:54] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:17:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3360163369058304,"km_value":3360163369058.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486794266624,"description":"Unknown IO ID 45"} 
[2026-06-18 19:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138334976001,"power":12776,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1738389486794266624}} 
[2026-06-18 19:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":106088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:17:55] local.INFO: GPS data processed {"connection_id":106088,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:17:55] local.INFO: Acknowledgment sent {"connection_id":106088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:18:01] local.INFO: TCP Data received {"connection_id":106265,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edafb70a0012cc122c007588e48001400522c..."} 
[2026-06-18 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafb70a0012cc122c007588e48001400522c..."} 
[2026-06-18 19:18:01] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafb70a0012cc122c007588e48001400522c..."} 
[2026-06-18 19:18:01] local.INFO: Packet analysis {"connection_id":106265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:18:01] local.INFO: Extracted packet for processing {"connection_id":106265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":750854848,"raw_latitude":123244104,"longitude_deg":75.0854848,"latitude_deg":12.3244104,"altitude":20,"angle":82,"satellites":44,"speed":8,"hex_longitude":"2cc122c0","hex_latitude":"07588e48","is_valid_coordinates":true} 
[2026-06-18 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138334720001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318849137875353600,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4530058243630802944,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781790372000,"timestamp_ms":1781790372000,"timestamp_seconds":1781790372,"priority":1,"record_length":96,"hex_timestamp":"0000019edafb70a0"} 
[2026-06-18 19:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:18: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-06-18 19:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 19:18:01] 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-06-18 19:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138334720001,"66":27332,"114":206,"85":37120,"24":8,"16":318849137875353600,"44":-4530058243630802944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,85,24,16,44]} 
[2026-06-18 19:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138334720001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:18:01] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-06-18 19:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318849137875353600,"km_value":318849137875353.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4530058243630802944,"description":"Unknown IO ID 44"} 
[2026-06-18 19:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138334720001,"power":27332,"unknown_114":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4530058243630802944}} 
[2026-06-18 19:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":106265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:18:01] local.INFO: GPS data processed {"connection_id":106265,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:18:01] local.INFO: Acknowledgment sent {"connection_id":106265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:18:11] local.INFO: TCP Data received {"connection_id":106266,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:11] local.INFO: Processing buffer {"connection_id":106266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:11] local.INFO: Packet analysis {"connection_id":106266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:18:11] local.INFO: Extracted packet for processing {"connection_id":106266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:18:11] 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-06-18 19:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:18:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":106266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346112,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:18:11] local.INFO: GPS data processed {"connection_id":106266,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:18:11] local.INFO: Acknowledgment sent {"connection_id":106266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:18:24] local.INFO: TCP Data received {"connection_id":106863,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:24] local.INFO: Processing buffer {"connection_id":106863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:24] local.INFO: IMEI packet received {"connection_id":106863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":106863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:18:25] local.INFO: TCP Data received {"connection_id":106863,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:25] local.INFO: Processing buffer {"connection_id":106863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:25] local.INFO: IMEI packet received {"connection_id":106863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":106863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:18:26] local.INFO: TCP Data received {"connection_id":106088,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafb8428012d181e400721a620004e01352a..."} 
[2026-06-18 19:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafb8428012d181e400721a620004e01352a..."} 
[2026-06-18 19:18:26] local.INFO: Processing buffer {"connection_id":106088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafb8428012d181e400721a620004e01352a..."} 
[2026-06-18 19:18:26] local.INFO: Packet analysis {"connection_id":106088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:18:26] local.INFO: Extracted packet for processing {"connection_id":106088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafb"} 
[2026-06-18 19:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119645728,"longitude_deg":75.6555328,"latitude_deg":11.9645728,"altitude":78,"angle":309,"satellites":42,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721a620","is_valid_coordinates":true} 
[2026-06-18 19:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138336256001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3360167664025600,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329239552,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781790377000,"timestamp_ms":1781790377000,"timestamp_seconds":1781790377,"priority":1,"record_length":96,"hex_timestamp":"0000019edafb8428"} 
[2026-06-18 19:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 19:18:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138336256001,"66":12743,"120":206,"28":31744,"24":2,"16":3360167664025600,"45":1737967274329239552},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-06-18 19:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138336256001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:18:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-06-18 19:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3360167664025600,"km_value":3360167664025.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329239552,"description":"Unknown IO ID 45"} 
[2026-06-18 19:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138336256001,"power":12743,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1737967274329239552}} 
[2026-06-18 19:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":106088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:18:26] local.INFO: GPS data processed {"connection_id":106088,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:18:26] local.INFO: Acknowledgment sent {"connection_id":106088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:18:27] local.INFO: TCP Data received {"connection_id":106863,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:27] local.INFO: Processing buffer {"connection_id":106863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:27] local.INFO: IMEI packet received {"connection_id":106863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:18:27] local.INFO: IMEI acknowledgment sent {"connection_id":106863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:18:28] local.INFO: TCP Data received {"connection_id":106863,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:28] local.INFO: Processing buffer {"connection_id":106863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:18:28] local.INFO: IMEI packet received {"connection_id":106863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:18:28] local.INFO: IMEI acknowledgment sent {"connection_id":106863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:18:38] local.INFO: TCP Data received {"connection_id":106267,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:38] local.INFO: Processing buffer {"connection_id":106267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:38] local.INFO: IMEI packet received {"connection_id":106267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":106267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:18:42] local.INFO: TCP Data received {"connection_id":106268,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:42] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:42] local.INFO: IMEI packet received {"connection_id":106268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":106268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:18:43] local.INFO: TCP Data received {"connection_id":106267,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:43] local.INFO: Processing buffer {"connection_id":106267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:43] local.INFO: IMEI packet received {"connection_id":106267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":106267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:18:44] local.INFO: TCP Data received {"connection_id":106268,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:44] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:44] local.INFO: IMEI packet received {"connection_id":106268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":106268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:18:48] local.INFO: TCP Data received {"connection_id":106267,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:48] local.INFO: Processing buffer {"connection_id":106267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:18:48] local.INFO: IMEI packet received {"connection_id":106267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":106267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:18:49] local.INFO: TCP Data received {"connection_id":106268,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:49] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:18:49] local.INFO: IMEI packet received {"connection_id":106268,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":106268,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:18:50] local.INFO: TCP Data received {"connection_id":106268,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafd06e0012d18508007218be80053007628..."} 
[2026-06-18 19:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafd06e0012d18508007218be80053007628..."} 
[2026-06-18 19:18:50] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafd06e0012d18508007218be80053007628..."} 
[2026-06-18 19:18:50] local.INFO: Packet analysis {"connection_id":106268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafd"} 
[2026-06-18 19:18:50] local.INFO: Extracted packet for processing {"connection_id":106268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafd"} 
[2026-06-18 19:18:50] local.INFO: GPS Element Parsed {"raw_longitude":756568192,"raw_latitude":119639016,"longitude_deg":75.6568192,"latitude_deg":11.9639016,"altitude":83,"angle":118,"satellites":40,"speed":35,"hex_longitude":"2d185080","hex_latitude":"07218be8","is_valid_coordinates":true} 
[2026-06-18 19:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138358016001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3360919283302400,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742681980188416000,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781790476000,"timestamp_ms":1781790476000,"timestamp_seconds":1781790476,"priority":1,"record_length":96,"hex_timestamp":"0000019edafd06e0"} 
[2026-06-18 19:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-18 19:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138358016001,"66":13374,"121":206,"28":31744,"24":35,"16":3360919283302400,"45":1742681980188416000},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138358016001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3360919283302400,"km_value":3360919283302.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742681980188416000,"description":"Unknown IO ID 45"} 
[2026-06-18 19:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138358016001,"power":13374,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1742681980188416000}} 
[2026-06-18 19:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":106268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:18:50] local.INFO: GPS data processed {"connection_id":106268,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:18:50] local.INFO: Acknowledgment sent {"connection_id":106268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:18:50] local.INFO: TCP Data received {"connection_id":106267,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:50] local.INFO: Processing buffer {"connection_id":106267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:50] local.INFO: Packet analysis {"connection_id":106267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:18:50] local.INFO: Extracted packet for processing {"connection_id":106267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:18:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:18:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:18:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:18:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:18:50] 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-06-18 19:18:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:18:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:18:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":106267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:18:50] local.INFO: GPS data processed {"connection_id":106267,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:18:50] local.INFO: Acknowledgment sent {"connection_id":106267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:18:54] local.INFO: TCP Data received {"connection_id":106267,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:54] local.INFO: Processing buffer {"connection_id":106267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:18:54] local.INFO: Packet analysis {"connection_id":106267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:18:54] local.INFO: Extracted packet for processing {"connection_id":106267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:18:54] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:18:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:18:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:18:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":106267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:18:54] local.INFO: GPS data processed {"connection_id":106267,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:18:54] local.INFO: Acknowledgment sent {"connection_id":106267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:19:22] local.INFO: TCP Data received {"connection_id":106268,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafd1e50012d186500072183080052006626..."} 
[2026-06-18 19:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafd1e50012d186500072183080052006626..."} 
[2026-06-18 19:19:22] local.INFO: Processing buffer {"connection_id":106268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafd1e50012d186500072183080052006626..."} 
[2026-06-18 19:19:22] local.INFO: Packet analysis {"connection_id":106268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafd"} 
[2026-06-18 19:19:22] local.INFO: Extracted packet for processing {"connection_id":106268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafd"} 
[2026-06-18 19:19:22] local.INFO: GPS Element Parsed {"raw_longitude":756573440,"raw_latitude":119636744,"longitude_deg":75.657344,"latitude_deg":11.9636744,"altitude":82,"angle":102,"satellites":38,"speed":35,"hex_longitude":"2d186500","hex_latitude":"07218308","is_valid_coordinates":true} 
[2026-06-18 19:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138361856001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3361189866242048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1752041023163066368,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781790482000,"timestamp_ms":1781790482000,"timestamp_seconds":1781790482,"priority":1,"record_length":96,"hex_timestamp":"0000019edafd1e50"} 
[2026-06-18 19:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:19:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:19:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-06-18 19:19:22] 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-06-18 19:19:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106268,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138361856001,"66":13091,"121":206,"28":31744,"24":35,"16":3361189866242048,"45":1752041023163066368},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138361856001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:19:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:19:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3361189866242048,"km_value":3361189866242.048,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1752041023163066368,"description":"Unknown IO ID 45"} 
[2026-06-18 19:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138361856001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1752041023163066368}} 
[2026-06-18 19:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":106268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:19:22] local.INFO: GPS data processed {"connection_id":106268,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:19:22] local.INFO: Acknowledgment sent {"connection_id":106268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:19:36] local.INFO: TCP Data received {"connection_id":106864,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:19:36] local.INFO: Processing buffer {"connection_id":106864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:19:36] local.INFO: IMEI packet received {"connection_id":106864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:19:36] local.INFO: IMEI acknowledgment sent {"connection_id":106864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:19:38] local.INFO: TCP Data received {"connection_id":106864,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:19:38] local.INFO: Processing buffer {"connection_id":106864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:19:38] local.INFO: IMEI packet received {"connection_id":106864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":106864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:19:42] local.INFO: TCP Data received {"connection_id":106865,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:42] local.INFO: Processing buffer {"connection_id":106865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:42] local.INFO: IMEI packet received {"connection_id":106865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":106865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:19:44] local.INFO: TCP Data received {"connection_id":106865,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:44] local.INFO: Processing buffer {"connection_id":106865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:44] local.INFO: IMEI packet received {"connection_id":106865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":106865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:19:46] local.INFO: TCP Data received {"connection_id":106865,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:46] local.INFO: Processing buffer {"connection_id":106865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:46] local.INFO: IMEI packet received {"connection_id":106865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":106865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:19:46] local.INFO: TCP Data received {"connection_id":106864,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:19:46] local.INFO: Processing buffer {"connection_id":106864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:19:46] local.INFO: Packet analysis {"connection_id":106864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:19:46] local.INFO: Extracted packet for processing {"connection_id":106864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:19:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:19:46] 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-06-18 19:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:19:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":106864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:19:46] local.INFO: GPS data processed {"connection_id":106864,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:19:46] local.INFO: Acknowledgment sent {"connection_id":106864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:19:48] local.INFO: TCP Data received {"connection_id":106864,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:19:48] local.INFO: Processing buffer {"connection_id":106864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:19:48] local.INFO: Packet analysis {"connection_id":106864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:19:48] local.INFO: Extracted packet for processing {"connection_id":106864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:19:48] 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-06-18 19:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:19:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":106864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346119,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:19:48] local.INFO: GPS data processed {"connection_id":106864,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:19:48] local.INFO: Acknowledgment sent {"connection_id":106864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:19:48] local.INFO: TCP Data received {"connection_id":106865,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:48] local.INFO: Processing buffer {"connection_id":106865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:19:48] local.INFO: IMEI packet received {"connection_id":106865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":106865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:19:52] local.INFO: TCP Data received {"connection_id":106865,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafdfcf8012d18d34007211f18004400b528..."} 
[2026-06-18 19:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafdfcf8012d18d34007211f18004400b528..."} 
[2026-06-18 19:19:52] local.INFO: Processing buffer {"connection_id":106865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafdfcf8012d18d34007211f18004400b528..."} 
[2026-06-18 19:19:52] local.INFO: Packet analysis {"connection_id":106865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafd"} 
[2026-06-18 19:19:52] local.INFO: Extracted packet for processing {"connection_id":106865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafd"} 
[2026-06-18 19:19:52] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119611160,"longitude_deg":75.6601664,"latitude_deg":11.961116,"altitude":68,"angle":181,"satellites":40,"speed":34,"hex_longitude":"2d18d340","hex_latitude":"07211f18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:19:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138377472001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3363272925380608,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788703138872911872,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:19:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781790539000,"timestamp_ms":1781790539000,"timestamp_seconds":1781790539,"priority":1,"record_length":96,"hex_timestamp":"0000019edafdfcf8"} 
[2026-06-18 19:19:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:19:52] 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-06-18 19: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-06-18 19:19:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:19:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:19:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:19:52] local.INFO: Teltonika packet parsed successfully {"connection_id":106865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:19:52] local.INFO: Passing IMEI to GPS processor {"connection_id":106865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:19:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":106865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:19:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:19:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:19:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:19:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138377472001,"66":13330,"121":206,"28":31744,"24":34,"16":3363272925380608,"45":1788703138872911872},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:19:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:19:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:19:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138377472001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:19:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:19:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:19:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3363272925380608,"km_value":3363272925380.608,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:19:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788703138872911872,"description":"Unknown IO ID 45"} 
[2026-06-18 19:19:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138377472001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1788703138872911872}} 
[2026-06-18 19:19:52] local.INFO: DEBUG: GPS processor result {"connection_id":106865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:19:52] local.INFO: GPS data processed {"connection_id":106865,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:19:52] local.INFO: Acknowledgment sent {"connection_id":106865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:19:53] local.INFO: TCP Data received {"connection_id":106865,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafe1080012d18d40007210d88004100a728..."} 
[2026-06-18 19:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafe1080012d18d40007210d88004100a728..."} 
[2026-06-18 19:19:53] local.INFO: Processing buffer {"connection_id":106865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafe1080012d18d40007210d88004100a728..."} 
[2026-06-18 19:19:53] local.INFO: Packet analysis {"connection_id":106865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:19:53] local.INFO: Extracted packet for processing {"connection_id":106865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:19:53] local.INFO: GPS Element Parsed {"raw_longitude":756601856,"raw_latitude":119606664,"longitude_deg":75.6601856,"latitude_deg":11.9606664,"altitude":65,"angle":167,"satellites":40,"speed":36,"hex_longitude":"2d18d400","hex_latitude":"07210d88","is_valid_coordinates":true} 
[2026-06-18 19:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138377984001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3363491968712704,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876360853504,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781790544000,"timestamp_ms":1781790544000,"timestamp_seconds":1781790544,"priority":1,"record_length":96,"hex_timestamp":"0000019edafe1080"} 
[2026-06-18 19:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:19:53] 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-06-18 19:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674050456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249508759476731120,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4257118209,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":8079458075108911360,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":182,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":196,"raw_value":3221692752,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926311,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4064870400,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":78,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":253,"raw_value":-8944147566758494201,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":29,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:19:53] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,121,28,24,241,158,16,242,245,45,192,37,69,41,10,66,213,128,58,71,40,206,1,240,225,218,33,4,113,205,27,182,196,80,43,239,52,2,11,7,79,32,78,253,29,231],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:19:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900115577984647168,"timestamp_seconds":4900115577984647.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138377984001,"66":13243,"121":206,"28":31744,"24":36,"16":3363491968712704,"45":1788843876360853504},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138377984001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:19:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:19:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3363491968712704,"km_value":3363491968712.704,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876360853504,"description":"Unknown IO ID 45"} 
[2026-06-18 19:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138377984001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1788843876360853504}} 
[2026-06-18 19:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":106865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:19:53] local.INFO: GPS data processed {"connection_id":106865,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:19:53] local.INFO: Acknowledgment sent {"connection_id":106865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:20:24] local.INFO: TCP Data received {"connection_id":106865,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafe2020012d18d80007210040003f009b29..."} 
[2026-06-18 19:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafe2020012d18d80007210040003f009b29..."} 
[2026-06-18 19:20:24] local.INFO: Processing buffer {"connection_id":106865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafe2020012d18d80007210040003f009b29..."} 
[2026-06-18 19:20:24] local.INFO: Packet analysis {"connection_id":106865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:20:24] local.INFO: Extracted packet for processing {"connection_id":106865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756602880,"raw_latitude":119603264,"longitude_deg":75.660288,"latitude_deg":11.9603264,"altitude":63,"angle":155,"satellites":41,"speed":32,"hex_longitude":"2d18d800","hex_latitude":"07210040","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138379264001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3363663767404544,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789054982592235520,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781790548000,"timestamp_ms":1781790548000,"timestamp_seconds":1781790548,"priority":1,"record_length":96,"hex_timestamp":"0000019edafe2020"} 
[2026-06-18 19:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:20: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-06-18 19: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-06-18 19:20: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-06-18 19: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-06-18 19:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138379264001,"66":12961,"121":206,"28":31744,"24":32,"16":3363663767404544,"45":1789054982592235520},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138379264001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:20:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:20:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3363663767404544,"km_value":3363663767404.544,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789054982592235520,"description":"Unknown IO ID 45"} 
[2026-06-18 19:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138379264001,"power":12961,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1789054982592235520}} 
[2026-06-18 19:20:25] local.INFO: DEBUG: GPS processor result {"connection_id":106865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:20:25] local.INFO: GPS data processed {"connection_id":106865,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:20:25] local.INFO: Acknowledgment sent {"connection_id":106865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:20:33] local.INFO: TCP Data received {"connection_id":107825,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:20:33] local.INFO: Processing buffer {"connection_id":107825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:20:33] local.INFO: IMEI packet received {"connection_id":107825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":107825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:20:38] local.INFO: TCP Data received {"connection_id":107825,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:20:38] local.INFO: Processing buffer {"connection_id":107825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:20:38] local.INFO: IMEI packet received {"connection_id":107825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":107825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:20:39] local.INFO: TCP Data received {"connection_id":107825,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:20:39] local.INFO: Processing buffer {"connection_id":107825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafa7a88012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:20:39] local.INFO: Packet analysis {"connection_id":107825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:20:39] local.INFO: Extracted packet for processing {"connection_id":107825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafa"} 
[2026-06-18 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138242048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790309000,"timestamp_ms":1781790309000,"timestamp_seconds":1781790309,"priority":1,"record_length":96,"hex_timestamp":"0000019edafa7a88"} 
[2026-06-18 19:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138242048001,"66":25495,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138242048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:20:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138242048001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":107825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:20:39] local.INFO: GPS data processed {"connection_id":107825,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:20:39] local.INFO: Acknowledgment sent {"connection_id":107825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:20:44] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:44] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:44] local.INFO: IMEI packet received {"connection_id":106090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":106090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:20:46] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:46] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:46] local.INFO: IMEI packet received {"connection_id":106090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":106090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:20:47] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:47] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:47] local.INFO: IMEI packet received {"connection_id":106090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:20:47] local.INFO: IMEI acknowledgment sent {"connection_id":106090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:20:49] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:49] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:20:49] local.INFO: IMEI packet received {"connection_id":106090,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":106090,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:20:50] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafe27f0012d18db800720fb10003e008928..."} 
[2026-06-18 19:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafe27f0012d18db800720fb10003e008928..."} 
[2026-06-18 19:20:50] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafe27f0012d18db800720fb10003e008928..."} 
[2026-06-18 19:20:50] local.INFO: Packet analysis {"connection_id":106090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:20:50] local.INFO: Extracted packet for processing {"connection_id":106090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756603776,"raw_latitude":119601936,"longitude_deg":75.6603776,"latitude_deg":11.9601936,"altitude":62,"angle":137,"satellites":40,"speed":31,"hex_longitude":"2d18db80","hex_latitude":"0720fb10","is_valid_coordinates":true} 
[2026-06-18 19:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138380288001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3363741076815872,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790180882498207744,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781790550000,"timestamp_ms":1781790550000,"timestamp_seconds":1781790550,"priority":1,"record_length":96,"hex_timestamp":"0000019edafe27f0"} 
[2026-06-18 19:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 19:20:50] 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-06-18 19:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138380288001,"66":13580,"121":206,"28":31744,"24":31,"16":3363741076815872,"45":1790180882498207744},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138380288001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:20:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:20:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3363741076815872,"km_value":3363741076815.872,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790180882498207744,"description":"Unknown IO ID 45"} 
[2026-06-18 19:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138380288001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1790180882498207744}} 
[2026-06-18 19:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":106090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:20:50] local.INFO: GPS data processed {"connection_id":106090,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:20:50] local.INFO: Acknowledgment sent {"connection_id":106090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:20:54] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafe3f60012d18e8400720ed10003e009628..."} 
[2026-06-18 19:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafe3f60012d18e8400720ed10003e009628..."} 
[2026-06-18 19:20:54] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafe3f60012d18e8400720ed10003e009628..."} 
[2026-06-18 19:20:54] local.INFO: Packet analysis {"connection_id":106090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:20:54] local.INFO: Extracted packet for processing {"connection_id":106090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:20:54] local.INFO: GPS Element Parsed {"raw_longitude":756607040,"raw_latitude":119598352,"longitude_deg":75.660704,"latitude_deg":11.9598352,"altitude":62,"angle":150,"satellites":40,"speed":32,"hex_longitude":"2d18e840","hex_latitude":"0720ed10","is_valid_coordinates":true} 
[2026-06-18 19:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138380800001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3363977300017152,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791166044916355072,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781790556000,"timestamp_ms":1781790556000,"timestamp_seconds":1781790556,"priority":1,"record_length":96,"hex_timestamp":"0000019edafe3f60"} 
[2026-06-18 19:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:20:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:20:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867788786,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-4269404607175196599,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674066456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4260702209,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448683385,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":199,"raw_value":2147950906,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4069064704,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451660175199772,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755515405304049,"note":"Value kept but may cause issues"} 
[2026-06-18 19:20:54] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,243,32,45,63,41,10,66,13,65,40,252,64,1,240,18,242,218,33,4,113,205,30,213,199,184,239,50,2,11,7,71,53,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:20:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467721635245260800,"timestamp_seconds":4467721635245261.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138380800001,"66":13493,"121":206,"28":31744,"24":32,"16":3363977300017152,"45":1791166044916355072},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138380800001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:20:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:20:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3363977300017152,"km_value":3363977300017.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791166044916355072,"description":"Unknown IO ID 45"} 
[2026-06-18 19:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138380800001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1791166044916355072}} 
[2026-06-18 19:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":106090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:20:54] local.INFO: GPS data processed {"connection_id":106090,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:20:54] local.INFO: Acknowledgment sent {"connection_id":106090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:21:11] local.INFO: TCP Data received {"connection_id":107825,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:11] local.INFO: Processing buffer {"connection_id":107825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:11] local.INFO: Packet analysis {"connection_id":107825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:21:11] local.INFO: Extracted packet for processing {"connection_id":107825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:21:11] 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-06-18 19:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:21:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":107825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:21:11] local.INFO: GPS data processed {"connection_id":107825,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:21:11] local.INFO: Acknowledgment sent {"connection_id":107825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:21:28] local.INFO: TCP Data received {"connection_id":106090,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafe5ab8012d18f5400720d910003b008b28..."} 
[2026-06-18 19:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafe5ab8012d18f5400720d910003b008b28..."} 
[2026-06-18 19:21:28] local.INFO: Processing buffer {"connection_id":106090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafe5ab8012d18f5400720d910003b008b28..."} 
[2026-06-18 19:21:28] local.INFO: Packet analysis {"connection_id":106090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:21:28] local.INFO: Extracted packet for processing {"connection_id":106090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756610368,"raw_latitude":119593232,"longitude_deg":75.6610368,"latitude_deg":11.9593232,"altitude":59,"angle":139,"satellites":40,"speed":35,"hex_longitude":"2d18f540","hex_latitude":"0720d910","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138382336001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3364269357793280,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1794754850868498432,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781790563000,"timestamp_ms":1781790563000,"timestamp_seconds":1781790563,"priority":1,"record_length":96,"hex_timestamp":"0000019edafe5ab8"} 
[2026-06-18 19:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 19:21:28] 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-06-18 19: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-06-18 19:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106090,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138382336001,"66":13450,"121":206,"28":31744,"24":35,"16":3364269357793280,"45":1794754850868498432},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138382336001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:21:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3364269357793280,"km_value":3364269357793.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1794754850868498432,"description":"Unknown IO ID 45"} 
[2026-06-18 19:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138382336001,"power":13450,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1794754850868498432}} 
[2026-06-18 19:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":106090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:21:28] local.INFO: GPS data processed {"connection_id":106090,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:21:28] local.INFO: Acknowledgment sent {"connection_id":106090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:21:41] local.INFO: TCP Data received {"connection_id":106867,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:21:41] local.INFO: Processing buffer {"connection_id":106867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:21:41] local.INFO: IMEI packet received {"connection_id":106867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":106867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:21:43] local.INFO: TCP Data received {"connection_id":106867,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:21:43] local.INFO: Processing buffer {"connection_id":106867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:21:43] local.INFO: IMEI packet received {"connection_id":106867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:21:43] local.INFO: IMEI acknowledgment sent {"connection_id":106867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:21:44] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:44] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:44] local.INFO: IMEI packet received {"connection_id":106091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":106091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:21:45] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:45] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:45] local.INFO: IMEI packet received {"connection_id":106091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":106091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:21:49] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:49] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:21:49] local.INFO: IMEI packet received {"connection_id":106091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":106091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:21:51] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edafe6670012d18fcc00720d278003a007e29..."} 
[2026-06-18 19:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edafe6670012d18fcc00720d278003a007e29..."} 
[2026-06-18 19:21:51] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edafe6670012d18fcc00720d278003a007e29..."} 
[2026-06-18 19:21:51] local.INFO: Packet analysis {"connection_id":106091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:21:51] local.INFO: Extracted packet for processing {"connection_id":106091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edafe"} 
[2026-06-18 19:21:51] local.INFO: GPS Element Parsed {"raw_longitude":756612288,"raw_latitude":119591544,"longitude_deg":75.6612288,"latitude_deg":11.9591544,"altitude":58,"angle":126,"satellites":41,"speed":34,"hex_longitude":"2d18fcc0","hex_latitude":"0720d278","is_valid_coordinates":true} 
[2026-06-18 19:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:21:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138384128001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3364393911844864,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798414025564426240,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:21:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781790566000,"timestamp_ms":1781790566000,"timestamp_seconds":1781790566,"priority":1,"record_length":96,"hex_timestamp":"0000019edafe6670"} 
[2026-06-18 19:21:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:21:51] 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-06-18 19:21:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-06-18 19:21:51] 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-06-18 19:21:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:21:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:21:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:21:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:21:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:21:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:21:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:21:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:21:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:21:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138384128001,"66":13493,"121":206,"28":31744,"24":34,"16":3364393911844864,"45":1798414025564426240},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:21:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:21:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:21:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138384128001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:21:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:21:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:21:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3364393911844864,"km_value":3364393911844.864,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:21:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798414025564426240,"description":"Unknown IO ID 45"} 
[2026-06-18 19:21:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138384128001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1798414025564426240}} 
[2026-06-18 19:21:51] local.INFO: DEBUG: GPS processor result {"connection_id":106091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:21:51] local.INFO: GPS data processed {"connection_id":106091,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:21:51] local.INFO: Acknowledgment sent {"connection_id":106091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:21:53] local.INFO: TCP Data received {"connection_id":106867,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:53] local.INFO: Processing buffer {"connection_id":106867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:53] local.INFO: Packet analysis {"connection_id":106867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:21:53] local.INFO: Extracted packet for processing {"connection_id":106867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:21:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:21:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:21:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:21:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:21:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:21:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:21:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:21:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:21:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:21:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:21:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:21:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:21:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:21:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:21:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:21:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:21:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:21:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:21:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:21:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:21:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:21:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:21:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:21:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:21:53] local.INFO: DEBUG: GPS processor result {"connection_id":106867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:21:53] local.INFO: GPS data processed {"connection_id":106867,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:21:53] local.INFO: Acknowledgment sent {"connection_id":106867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:21:55] local.INFO: TCP Data received {"connection_id":106867,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:55] local.INFO: Processing buffer {"connection_id":106867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:21:55] local.INFO: Packet analysis {"connection_id":106867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:21:55] local.INFO: Extracted packet for processing {"connection_id":106867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:21:55] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:21:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106867,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:21:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":106867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:21:55] local.INFO: GPS data processed {"connection_id":106867,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:21:55] local.INFO: Acknowledgment sent {"connection_id":106867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:22:26] local.INFO: TCP Data received {"connection_id":106091,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb003f18012d197e4007209e18003a014d2b..."} 
[2026-06-18 19:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb003f18012d197e4007209e18003a014d2b..."} 
[2026-06-18 19:22:26] local.INFO: Processing buffer {"connection_id":106091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb003f18012d197e4007209e18003a014d2b..."} 
[2026-06-18 19:22:26] local.INFO: Packet analysis {"connection_id":106091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:22:26] local.INFO: Extracted packet for processing {"connection_id":106091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756645440,"raw_latitude":119578136,"longitude_deg":75.664544,"latitude_deg":11.9578136,"altitude":58,"angle":333,"satellites":43,"speed":5,"hex_longitude":"2d197e40","hex_latitude":"07209e18","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138415616001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3366365301833728,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837046466114060288,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781790687000,"timestamp_ms":1781790687000,"timestamp_seconds":1781790687,"priority":1,"record_length":96,"hex_timestamp":"0000019edb003f18"} 
[2026-06-18 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-06-18 19:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674150456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":245,"raw_value":2835349504,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249764395930137024,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":160,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":218,"raw_value":4288606209,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":32,"raw_value":-5679038893881284864,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":76,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728807,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4121427968,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":255,"raw_value":1038081007321595911,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.WARNING: Large IO value detected {"io_id":77,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:26] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,245,35,45,156,58,42,10,66,27,128,240,192,1,160,218,32,4,113,205,76,127,168,39,239,52,2,11,7,55,8,255,231,77],"length":626,"final_offset":756,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:22:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4179688080263020544,"timestamp_seconds":4179688080263020.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 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-06-18 19:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138415616001,"66":13222,"121":206,"28":31744,"24":5,"16":3366365301833728,"45":1837046466114060288},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138415616001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:22:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3366365301833728,"km_value":3366365301833.728,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837046466114060288,"description":"Unknown IO ID 45"} 
[2026-06-18 19:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138415616001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1837046466114060288}} 
[2026-06-18 19:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":106091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:22:26] local.INFO: GPS data processed {"connection_id":106091,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:22:26] local.INFO: Acknowledgment sent {"connection_id":106091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:22:33] local.INFO: TCP Data received {"connection_id":106092,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:22:33] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:22:33] local.INFO: IMEI packet received {"connection_id":106092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":106092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:22:38] local.INFO: TCP Data received {"connection_id":106092,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:22:38] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:22:38] local.INFO: IMEI packet received {"connection_id":106092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":106092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:22:39] local.INFO: TCP Data received {"connection_id":106092,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:22:39] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:22:39] local.INFO: Packet analysis {"connection_id":106092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:22:39] local.INFO: Extracted packet for processing {"connection_id":106092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:22:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:22:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":106092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:22:39] local.INFO: GPS data processed {"connection_id":106092,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:22:39] local.INFO: Acknowledgment sent {"connection_id":106092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:22:44] local.INFO: TCP Data received {"connection_id":107827,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:44] local.INFO: Processing buffer {"connection_id":107827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:44] local.INFO: IMEI packet received {"connection_id":107827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":107827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:22:45] local.INFO: TCP Data received {"connection_id":107827,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:45] local.INFO: Processing buffer {"connection_id":107827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:45] local.INFO: IMEI packet received {"connection_id":107827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":107827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:22:49] local.INFO: TCP Data received {"connection_id":107827,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:49] local.INFO: Processing buffer {"connection_id":107827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:22:49] local.INFO: IMEI packet received {"connection_id":107827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":107827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:22:50] local.INFO: TCP Data received {"connection_id":107827,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb004300012d197e0007209ec0003a015c2b..."} 
[2026-06-18 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb004300012d197e0007209ec0003a015c2b..."} 
[2026-06-18 19:22:50] local.INFO: Processing buffer {"connection_id":107827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb004300012d197e0007209ec0003a015c2b..."} 
[2026-06-18 19:22:50] local.INFO: Packet analysis {"connection_id":107827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:22:50] local.INFO: Extracted packet for processing {"connection_id":107827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756645376,"raw_latitude":119578304,"longitude_deg":75.6645376,"latitude_deg":11.9578304,"altitude":58,"angle":348,"satellites":43,"speed":8,"hex_longitude":"2d197e00","hex_latitude":"07209ec0","is_valid_coordinates":true} 
[2026-06-18 19:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138415872001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3366373891768320,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836976097369921536,"note":"Value kept but may cause issues"} 
[2026-06-18 19:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781790688000,"timestamp_ms":1781790688000,"timestamp_seconds":1781790688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb004300"} 
[2026-06-18 19:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 19:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138415872001,"66":13222,"121":206,"28":31744,"24":8,"16":3366373891768320,"45":1836976097369921536},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138415872001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:22:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:22:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3366373891768320,"km_value":3366373891768.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836976097369921536,"description":"Unknown IO ID 45"} 
[2026-06-18 19:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138415872001,"power":13222,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1836976097369921536}} 
[2026-06-18 19:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":107827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:22:50] local.INFO: GPS data processed {"connection_id":107827,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:22:50] local.INFO: Acknowledgment sent {"connection_id":107827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:23:11] local.INFO: TCP Data received {"connection_id":106092,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:23:11] local.INFO: Processing buffer {"connection_id":106092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:23:11] local.INFO: Packet analysis {"connection_id":106092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:23:11] local.INFO: Extracted packet for processing {"connection_id":106092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:23:11] 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-06-18 19:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106092,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:23:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":106092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:23:11] local.INFO: GPS data processed {"connection_id":106092,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:23:11] local.INFO: Acknowledgment sent {"connection_id":106092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:23:21] local.INFO: TCP Data received {"connection_id":107827,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb014ca0012d19bb000720a330003800bf2b..."} 
[2026-06-18 19:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb014ca0012d19bb000720a330003800bf2b..."} 
[2026-06-18 19:23:21] local.INFO: Processing buffer {"connection_id":107827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb014ca0012d19bb000720a330003800bf2b..."} 
[2026-06-18 19:23:21] local.INFO: Packet analysis {"connection_id":107827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:23:21] local.INFO: Extracted packet for processing {"connection_id":107827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756660992,"raw_latitude":119579440,"longitude_deg":75.6660992,"latitude_deg":11.957944,"altitude":56,"angle":191,"satellites":43,"speed":21,"hex_longitude":"2d19bb00","hex_latitude":"0720a330","is_valid_coordinates":true} 
[2026-06-18 19:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138433280001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3367469108428800,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854146070949742592,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781790756000,"timestamp_ms":1781790756000,"timestamp_seconds":1781790756,"priority":1,"record_length":96,"hex_timestamp":"0000019edb014ca0"} 
[2026-06-18 19:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-18 19:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138433280001,"66":13624,"121":206,"28":31744,"24":21,"16":3367469108428800,"45":1854146070949742592},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138433280001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:23:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:23:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3367469108428800,"km_value":3367469108428.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854146070949742592,"description":"Unknown IO ID 45"} 
[2026-06-18 19:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138433280001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":1854146070949742592}} 
[2026-06-18 19:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":107827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:23:22] local.INFO: GPS data processed {"connection_id":107827,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:23:22] local.INFO: Acknowledgment sent {"connection_id":107827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:23:29] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:23:29] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:23:29] local.INFO: IMEI packet received {"connection_id":106093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":106093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:23:33] local.INFO: TCP Data received {"connection_id":106868,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:23:33] local.INFO: Processing buffer {"connection_id":106868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:23:33] local.INFO: IMEI packet received {"connection_id":106868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":106868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:23:34] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:23:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:23:34] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:23:34] local.INFO: IMEI packet received {"connection_id":106093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:23:34] local.INFO: IMEI acknowledgment sent {"connection_id":106093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:23:35] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0046e8012cc39240075a88d80020004028..."} 
[2026-06-18 19:23:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0046e8012cc39240075a88d80020004028..."} 
[2026-06-18 19:23:35] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0046e8012cc39240075a88d80020004028..."} 
[2026-06-18 19:23:35] local.INFO: Packet analysis {"connection_id":106093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:23:35] local.INFO: Extracted packet for processing {"connection_id":106093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:23:35] local.INFO: GPS Element Parsed {"raw_longitude":751014464,"raw_latitude":123373784,"longitude_deg":75.1014464,"latitude_deg":12.3373784,"altitude":32,"angle":64,"satellites":40,"speed":29,"hex_longitude":"2cc39240","hex_latitude":"075a88d8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:23:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138414848001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318860029912416256,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4357936295339642880,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:35] 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-06-18 19:23:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781790689000,"timestamp_ms":1781790689000,"timestamp_seconds":1781790689,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0046e8"} 
[2026-06-18 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-06-18 19:23: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-06-18 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 19:23:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 19:23:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:23:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:23:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:23:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:23:35] 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-06-18 19:23:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:23:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:23:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138414848001,"66":27321,"34":206,"85":37120,"24":29,"16":318860029912416256,"44":-4357936295339642880},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-06-18 19:23:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:23:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:23:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138414848001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:23:35] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 19:23:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:23:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318860029912416256,"km_value":318860029912416.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:23:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4357936295339642880,"description":"Unknown IO ID 44"} 
[2026-06-18 19:23:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138414848001,"power":27321,"unknown_34":206,"unknown_85":37120,"ignition":29,"odometer":null,"unknown_44":-4357936295339642880}} 
[2026-06-18 19:23:35] local.INFO: DEBUG: GPS processor result {"connection_id":106093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:23:35] local.INFO: GPS data processed {"connection_id":106093,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:23:35] local.INFO: Acknowledgment sent {"connection_id":106093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:23:36] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0071e0012cc3b480075a99200022003e2a..."} 
[2026-06-18 19:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0071e0012cc3b480075a99200022003e2a..."} 
[2026-06-18 19:23:36] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0071e0012cc3b480075a99200022003e2a..."} 
[2026-06-18 19:23:36] local.INFO: Packet analysis {"connection_id":106093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:23:36] local.INFO: Extracted packet for processing {"connection_id":106093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":751023232,"raw_latitude":123377952,"longitude_deg":75.1023232,"latitude_deg":12.3377952,"altitude":34,"angle":62,"satellites":42,"speed":36,"hex_longitude":"2cc3b480","hex_latitude":"075a9920","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138416384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318860493768884224,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:36] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4354347489385981952,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:36] 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-06-18 19:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781790700000,"timestamp_ms":1781790700000,"timestamp_seconds":1781790700,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0071e0"} 
[2026-06-18 19:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 19:23: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-06-18 19: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-06-18 19:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:23:36] 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-06-18 19:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138416384001,"66":27484,"34":206,"85":37120,"24":36,"16":318860493768884224,"44":-4354347489385981952},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-06-18 19:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138416384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:23:36] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 19:23:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318860493768884224,"km_value":318860493768884.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:23:36] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4354347489385981952,"description":"Unknown IO ID 44"} 
[2026-06-18 19:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138416384001,"power":27484,"unknown_34":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4354347489385981952}} 
[2026-06-18 19:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":106093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:23:36] local.INFO: GPS data processed {"connection_id":106093,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:23:36] local.INFO: Acknowledgment sent {"connection_id":106093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:23:38] local.INFO: TCP Data received {"connection_id":106868,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:23:38] local.INFO: Processing buffer {"connection_id":106868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:23:38] local.INFO: IMEI packet received {"connection_id":106868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":106868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:23:39] local.INFO: TCP Data received {"connection_id":106868,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:23:39] local.INFO: Processing buffer {"connection_id":106868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:23:39] local.INFO: Packet analysis {"connection_id":106868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:23:39] local.INFO: Extracted packet for processing {"connection_id":106868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:23:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:23:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":106868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:23:39] local.INFO: GPS data processed {"connection_id":106868,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:23:39] local.INFO: Acknowledgment sent {"connection_id":106868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:23:46] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:46] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:46] local.INFO: IMEI packet received {"connection_id":106095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":106095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:23:49] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:49] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:49] local.INFO: IMEI packet received {"connection_id":106095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":106095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:23:54] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:54] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:23:54] local.INFO: IMEI packet received {"connection_id":106095,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":106095,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:23:55] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb015088012d19ba000720a150003800d129..."} 
[2026-06-18 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb015088012d19ba000720a150003800d129..."} 
[2026-06-18 19:23:55] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb015088012d19ba000720a150003800d129..."} 
[2026-06-18 19:23:55] local.INFO: Packet analysis {"connection_id":106095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:23:55] local.INFO: Extracted packet for processing {"connection_id":106095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119578960,"longitude_deg":75.6660736,"latitude_deg":11.957896,"altitude":56,"angle":209,"satellites":41,"speed":20,"hex_longitude":"2d19ba00","hex_latitude":"0720a150","is_valid_coordinates":true} 
[2026-06-18 19:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138433536001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3367494878232576,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854075702205427712,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781790757000,"timestamp_ms":1781790757000,"timestamp_seconds":1781790757,"priority":1,"record_length":96,"hex_timestamp":"0000019edb015088"} 
[2026-06-18 19:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:23: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-06-18 19:23:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-06-18 19:23:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:23:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138433536001,"66":13613,"121":206,"28":31744,"24":20,"16":3367494878232576,"45":1854075702205427712},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138433536001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:23:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3367494878232576,"km_value":3367494878232.576,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854075702205427712,"description":"Unknown IO ID 45"} 
[2026-06-18 19:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138433536001,"power":13613,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1854075702205427712}} 
[2026-06-18 19:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":106095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:23:55] local.INFO: GPS data processed {"connection_id":106095,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:23:55] local.INFO: Acknowledgment sent {"connection_id":106095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:23:57] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb015858012d19b74007209dc8003700dc29..."} 
[2026-06-18 19:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb015858012d19b74007209dc8003700dc29..."} 
[2026-06-18 19:23:57] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb015858012d19b74007209dc8003700dc29..."} 
[2026-06-18 19:23:57] local.INFO: Packet analysis {"connection_id":106095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:23:57] local.INFO: Extracted packet for processing {"connection_id":106095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756660032,"raw_latitude":119578056,"longitude_deg":75.6660032,"latitude_deg":11.9578056,"altitude":55,"angle":220,"satellites":41,"speed":23,"hex_longitude":"2d19b740","hex_latitude":"07209dc8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138433792001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3367550712807424,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227228594176,"note":"Value kept but may cause issues"} 
[2026-06-18 19:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781790759000,"timestamp_ms":1781790759000,"timestamp_seconds":1781790759,"priority":1,"record_length":96,"hex_timestamp":"0000019edb015858"} 
[2026-06-18 19:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":53,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-06-18 19:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":868,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138433792001,"66":13580,"121":206,"28":31744,"24":23,"16":3367550712807424,"45":1853794227228594176},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138433792001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:23:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:23:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3367550712807424,"km_value":3367550712807.424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227228594176,"description":"Unknown IO ID 45"} 
[2026-06-18 19:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138433792001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1853794227228594176}} 
[2026-06-18 19:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":106095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:23:57] local.INFO: GPS data processed {"connection_id":106095,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:23:57] local.INFO: Acknowledgment sent {"connection_id":106095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:24:07] local.INFO: TCP Data received {"connection_id":106093,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb009cd8012cc3d680075aaab00025004028..."} 
[2026-06-18 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb009cd8012cc3d680075aaab00025004028..."} 
[2026-06-18 19:24:07] local.INFO: Processing buffer {"connection_id":106093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb009cd8012cc3d680075aaab00025004028..."} 
[2026-06-18 19:24:07] local.INFO: Packet analysis {"connection_id":106093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:24:07] local.INFO: Extracted packet for processing {"connection_id":106093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:24:07] local.INFO: GPS Element Parsed {"raw_longitude":751031936,"raw_latitude":123382448,"longitude_deg":75.1031936,"latitude_deg":12.3382448,"altitude":37,"angle":64,"satellites":40,"speed":32,"hex_longitude":"2cc3d680","hex_latitude":"075aaab0","is_valid_coordinates":true} 
[2026-06-18 19:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138419200001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318860957625352192,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4344706971432574976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24: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-06-18 19:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781790711000,"timestamp_ms":1781790711000,"timestamp_seconds":1781790711,"priority":1,"record_length":96,"hex_timestamp":"0000019edb009cd8"} 
[2026-06-18 19:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 19:24: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-06-18 19:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:24:07] 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-06-18 19:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138419200001,"66":27484,"34":206,"85":37120,"24":32,"16":318860957625352192,"44":-4344706971432574976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,85,24,16,44]} 
[2026-06-18 19:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138419200001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:24:07] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-06-18 19:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318860957625352192,"km_value":318860957625352.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:24:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4344706971432574976,"description":"Unknown IO ID 44"} 
[2026-06-18 19:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138419200001,"power":27484,"unknown_34":206,"unknown_85":37120,"ignition":32,"odometer":null,"unknown_44":-4344706971432574976}} 
[2026-06-18 19:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":106093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:24:07] local.INFO: GPS data processed {"connection_id":106093,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:24:07] local.INFO: Acknowledgment sent {"connection_id":106093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:24:11] local.INFO: TCP Data received {"connection_id":106868,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:24:11] local.INFO: Processing buffer {"connection_id":106868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:24:11] local.INFO: Packet analysis {"connection_id":106868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:24:11] local.INFO: Extracted packet for processing {"connection_id":106868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:24:11] 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-06-18 19:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:24:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":106868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:24:11] local.INFO: GPS data processed {"connection_id":106868,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:24:11] local.INFO: Acknowledgment sent {"connection_id":106868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:24:15] local.INFO: TCP Data received {"connection_id":107828,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:24:15] local.INFO: Processing buffer {"connection_id":107828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:24:15] local.INFO: IMEI packet received {"connection_id":107828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":107828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:24:19] local.INFO: TCP Data received {"connection_id":107828,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107828,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:24:19] local.INFO: Processing buffer {"connection_id":107828,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:24:19] local.INFO: IMEI packet received {"connection_id":107828,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":107828,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:24:20] local.INFO: TCP Data received {"connection_id":107828,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb00c3e8012d7e45c005d358000007005128..."} 
[2026-06-18 19:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb00c3e8012d7e45c005d358000007005128..."} 
[2026-06-18 19:24:20] local.INFO: Processing buffer {"connection_id":107828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb00c3e8012d7e45c005d358000007005128..."} 
[2026-06-18 19:24:20] local.INFO: Packet analysis {"connection_id":107828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:24:20] local.INFO: Extracted packet for processing {"connection_id":107828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb00"} 
[2026-06-18 19:24:20] local.INFO: GPS Element Parsed {"raw_longitude":763250112,"raw_latitude":97736704,"longitude_deg":76.3250112,"latitude_deg":9.7736704,"altitude":7,"angle":81,"satellites":40,"speed":0,"hex_longitude":"2d7e45c0","hex_latitude":"05d35800","is_valid_coordinates":true} 
[2026-06-18 19:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138424576001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94063395849895936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098889753425084416,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:20] 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-06-18 19:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781790721000,"timestamp_ms":1781790721000,"timestamp_seconds":1781790721,"priority":1,"record_length":96,"hex_timestamp":"0000019edb00c3e8"} 
[2026-06-18 19:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 19:24:20] 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-06-18 19:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":107828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":107828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":107828,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138424576001,"66":12982,"24":0,"16":94063395849895936,"45":9098889753425084416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 19:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138424576001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94063395849895936,"km_value":94063395849895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098889753425084416,"description":"Unknown IO ID 45"} 
[2026-06-18 19:24:20] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456138424576001,"power":12982,"ignition":0,"odometer":null,"unknown_45":9098889753425084416}} 
[2026-06-18 19:24:20] local.INFO: DEBUG: GPS processor result {"connection_id":107828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346143,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:24:20] local.INFO: GPS data processed {"connection_id":107828,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:24:20] local.INFO: Acknowledgment sent {"connection_id":107828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:24:29] local.INFO: TCP Data received {"connection_id":106096,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:24:29] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:24:29] local.INFO: IMEI packet received {"connection_id":106096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":106096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:24:29] local.INFO: TCP Data received {"connection_id":106095,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb016be0012d19aec007209260003400c92a..."} 
[2026-06-18 19:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb016be0012d19aec007209260003400c92a..."} 
[2026-06-18 19:24:29] local.INFO: Processing buffer {"connection_id":106095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb016be0012d19aec007209260003400c92a..."} 
[2026-06-18 19:24:29] local.INFO: Packet analysis {"connection_id":106095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:24:29] local.INFO: Extracted packet for processing {"connection_id":106095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119575136,"longitude_deg":75.6657856,"latitude_deg":11.9575136,"altitude":52,"angle":201,"satellites":42,"speed":30,"hex_longitude":"2d19aec0","hex_latitude":"07209260","is_valid_coordinates":true} 
[2026-06-18 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138434304001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3367726806466560,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853020171042408448,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781790764000,"timestamp_ms":1781790764000,"timestamp_seconds":1781790764,"priority":1,"record_length":96,"hex_timestamp":"0000019edb016be0"} 
[2026-06-18 19:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867788790,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674291456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2885681152,"corrected_to":0} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2808610874,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635863110838137,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926311,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4137680896,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-5872686077122183108,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755528290205937,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:29] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,246,80,45,161,56,41,10,66,76,163,43,72,64,1,240,219,32,4,113,205,21,186,42,239,52,2,11,7,59,25,53,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":246,"original":2885681152,"validated":0},{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:24:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963409740739313664,"timestamp_seconds":3963409740739313.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106095,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138434304001,"66":13396,"121":206,"28":31744,"24":30,"16":3367726806466560,"45":1853020171042408448},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138434304001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:24:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:24:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3367726806466560,"km_value":3367726806466.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853020171042408448,"description":"Unknown IO ID 45"} 
[2026-06-18 19:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138434304001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1853020171042408448}} 
[2026-06-18 19:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":106095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:24:30] local.INFO: GPS data processed {"connection_id":106095,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:24:30] local.INFO: Acknowledgment sent {"connection_id":106095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:24:33] local.INFO: TCP Data received {"connection_id":106269,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:24:33] local.INFO: Processing buffer {"connection_id":106269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:24:33] local.INFO: IMEI packet received {"connection_id":106269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":106269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:24:38] local.INFO: TCP Data received {"connection_id":106269,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106269,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:24:38] local.INFO: Processing buffer {"connection_id":106269,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:24:38] local.INFO: IMEI packet received {"connection_id":106269,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":106269,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:24:40] local.INFO: TCP Data received {"connection_id":106269,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:24:40] local.INFO: Processing buffer {"connection_id":106269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:24:40] local.INFO: Packet analysis {"connection_id":106269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:24:40] local.INFO: Extracted packet for processing {"connection_id":106269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:24:40] 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-06-18 19:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:24:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:24:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":106269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:24:40] local.INFO: GPS data processed {"connection_id":106269,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:24:40] local.INFO: Acknowledgment sent {"connection_id":106269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:24:42] local.INFO: TCP Data received {"connection_id":106869,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:42] local.INFO: Processing buffer {"connection_id":106869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:42] local.INFO: IMEI packet received {"connection_id":106869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":106869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:24:44] local.INFO: TCP Data received {"connection_id":106869,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:44] local.INFO: Processing buffer {"connection_id":106869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:44] local.INFO: IMEI packet received {"connection_id":106869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":106869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:24:49] local.INFO: TCP Data received {"connection_id":106869,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:49] local.INFO: Processing buffer {"connection_id":106869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:24:49] local.INFO: IMEI packet received {"connection_id":106869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":106869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:24:51] local.INFO: TCP Data received {"connection_id":106869,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb016fc8012d19ae4007208f70003300bb2b..."} 
[2026-06-18 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb016fc8012d19ae4007208f70003300bb2b..."} 
[2026-06-18 19:24:51] local.INFO: Processing buffer {"connection_id":106869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb016fc8012d19ae4007208f70003300bb2b..."} 
[2026-06-18 19:24:51] local.INFO: Packet analysis {"connection_id":106869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:24:51] local.INFO: Extracted packet for processing {"connection_id":106869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574384,"longitude_deg":75.6657728,"latitude_deg":11.9574384,"altitude":51,"angle":187,"satellites":43,"speed":30,"hex_longitude":"2d19ae40","hex_latitude":"07208f70","is_valid_coordinates":true} 
[2026-06-18 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:24:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138435584001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3367765461172224,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633739620352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:24:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:24:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781790765000,"timestamp_ms":1781790765000,"timestamp_seconds":1781790765,"priority":1,"record_length":96,"hex_timestamp":"0000019edb016fc8"} 
[2026-06-18 19:24:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:24:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:24:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-18 19:24:51] 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-06-18 19:24:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:24:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:24:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:24:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:24:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:24:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:24:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:24:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:24:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:24:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138435584001,"66":13363,"121":206,"28":31744,"24":30,"16":3367765461172224,"45":1850627633739620352},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:24:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:24:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:24:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138435584001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:24:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:24:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:24:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3367765461172224,"km_value":3367765461172.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:24:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633739620352,"description":"Unknown IO ID 45"} 
[2026-06-18 19:24:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138435584001,"power":13363,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850627633739620352}} 
[2026-06-18 19:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":106869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:24:51] local.INFO: GPS data processed {"connection_id":106869,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:24:51] local.INFO: Acknowledgment sent {"connection_id":106869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:24:57] local.INFO: TCP Data received {"connection_id":106096,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 19:24:57] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 19:24:57] local.INFO: IMEI packet received {"connection_id":106096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":106096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:24:59] local.INFO: TCP Data received {"connection_id":106096,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:24:59] local.INFO: Processing buffer {"connection_id":106096,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 19:24:59] local.INFO: IMEI packet received {"connection_id":106096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":106096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:25:00] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:00] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:00] local.INFO: IMEI packet received {"connection_id":106097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":106097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:25:05] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:05] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:05] local.INFO: IMEI packet received {"connection_id":106097,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":106097,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:25:06] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb02b018012d7e450005d358380007005129..."} 
[2026-06-18 19:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb02b018012d7e450005d358380007005129..."} 
[2026-06-18 19:25:06] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb02b018012d7e450005d358380007005129..."} 
[2026-06-18 19:25:06] local.INFO: Packet analysis {"connection_id":106097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb02"} 
[2026-06-18 19:25:06] local.INFO: Extracted packet for processing {"connection_id":106097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb02"} 
[2026-06-18 19:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763249920,"raw_latitude":97736760,"longitude_deg":76.324992,"latitude_deg":9.773676,"altitude":7,"angle":81,"satellites":41,"speed":0,"hex_longitude":"2d7e4500","hex_latitude":"05d35838","is_valid_coordinates":true} 
[2026-06-18 19:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138424576001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94063395849895936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098889753425084416,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781790847000,"timestamp_ms":1781790847000,"timestamp_seconds":1781790847,"priority":1,"record_length":96,"hex_timestamp":"0000019edb02b018"} 
[2026-06-18 19:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:25:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-06-18 19:25:06] 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-06-18 19:25:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:25:06] 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-06-18 19:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138424576001,"66":12504,"109":206,"85":15104,"24":0,"16":94063395849895936,"45":9098889753425084416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138424576001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:25:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94063395849895936,"km_value":94063395849895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098889753425084416,"description":"Unknown IO ID 45"} 
[2026-06-18 19:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138424576001,"power":12504,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098889753425084416}} 
[2026-06-18 19:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":106097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346147,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:25:06] local.INFO: GPS data processed {"connection_id":106097,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:25:06] local.INFO: Acknowledgment sent {"connection_id":106097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:25:11] local.INFO: TCP Data received {"connection_id":106269,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:25:11] local.INFO: Processing buffer {"connection_id":106269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:25:11] local.INFO: Packet analysis {"connection_id":106269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:25:11] local.INFO: Extracted packet for processing {"connection_id":106269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:25:11] 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-06-18 19:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106269,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:25:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":106269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346148,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:25:11] local.INFO: GPS data processed {"connection_id":106269,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:25:11] local.INFO: Acknowledgment sent {"connection_id":106269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:25:22] local.INFO: TCP Data received {"connection_id":106869,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb017798012d19aec0072088a8003200aa2b..."} 
[2026-06-18 19:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb017798012d19aec0072088a8003200aa2b..."} 
[2026-06-18 19:25:22] local.INFO: Processing buffer {"connection_id":106869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb017798012d19aec0072088a8003200aa2b..."} 
[2026-06-18 19:25:22] local.INFO: Packet analysis {"connection_id":106869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:25:22] local.INFO: Extracted packet for processing {"connection_id":106869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756657856,"raw_latitude":119572648,"longitude_deg":75.6657856,"latitude_deg":11.9572648,"altitude":50,"angle":170,"satellites":43,"speed":37,"hex_longitude":"2d19aec0","hex_latitude":"072088a8","is_valid_coordinates":true} 
[2026-06-18 19:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138435840001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3367847065550848,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251072512,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781790767000,"timestamp_ms":1781790767000,"timestamp_seconds":1781790767,"priority":1,"record_length":96,"hex_timestamp":"0000019edb017798"} 
[2026-06-18 19:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-06-18 19:25:22] 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-06-18 19:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138435840001,"66":13559,"121":206,"28":31744,"24":37,"16":3367847065550848,"45":1850486896251072512},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138435840001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:25:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:25:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3367847065550848,"km_value":3367847065550.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251072512,"description":"Unknown IO ID 45"} 
[2026-06-18 19:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138435840001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1850486896251072512}} 
[2026-06-18 19:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":106869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:25:22] local.INFO: GPS data processed {"connection_id":106869,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:25:22] local.INFO: Acknowledgment sent {"connection_id":106869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:25:33] local.INFO: TCP Data received {"connection_id":107829,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:25:33] local.INFO: Processing buffer {"connection_id":107829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:25:33] local.INFO: IMEI packet received {"connection_id":107829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":107829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:25:37] local.INFO: TCP Data received {"connection_id":106097,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb02b018012d7e450005d358380007005129..."} 
[2026-06-18 19:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb02b018012d7e450005d358380007005129..."} 
[2026-06-18 19:25:37] local.INFO: Processing buffer {"connection_id":106097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb02b018012d7e450005d358380007005129..."} 
[2026-06-18 19:25:37] local.INFO: Packet analysis {"connection_id":106097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb02"} 
[2026-06-18 19:25:37] local.INFO: Extracted packet for processing {"connection_id":106097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb02"} 
[2026-06-18 19:25:37] local.INFO: GPS Element Parsed {"raw_longitude":763249920,"raw_latitude":97736760,"longitude_deg":76.324992,"latitude_deg":9.773676,"altitude":7,"angle":81,"satellites":41,"speed":0,"hex_longitude":"2d7e4500","hex_latitude":"05d35838","is_valid_coordinates":true} 
[2026-06-18 19:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:25:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138456832001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94063395849895936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098678647192565760,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:37] 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-06-18 19:25:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781790847000,"timestamp_ms":1781790847000,"timestamp_seconds":1781790847,"priority":1,"record_length":96,"hex_timestamp":"0000019edb02b018"} 
[2026-06-18 19:25:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:25:37] 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-06-18 19:25:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 19:25:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:25:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:25:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:25:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:25:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:25:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:25:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106097,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:25:37] 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-06-18 19:25:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:25:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:25:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138456832001,"66":12504,"109":206,"85":15104,"24":0,"16":94063395849895936,"45":9098678647192565760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:25:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:25:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:25:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138456832001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:25:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:25:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:25:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94063395849895936,"km_value":94063395849895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:25:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098678647192565760,"description":"Unknown IO ID 45"} 
[2026-06-18 19:25:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138456832001,"power":12504,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098678647192565760}} 
[2026-06-18 19:25:37] local.INFO: DEBUG: GPS processor result {"connection_id":106097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346150,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:25:37] local.INFO: GPS data processed {"connection_id":106097,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:25:37] local.INFO: Acknowledgment sent {"connection_id":106097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:25:38] local.INFO: TCP Data received {"connection_id":107829,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:25:38] local.INFO: Processing buffer {"connection_id":107829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:25:38] local.INFO: IMEI packet received {"connection_id":107829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":107829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:25:39] local.INFO: TCP Data received {"connection_id":107829,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:25:39] local.INFO: Processing buffer {"connection_id":107829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edaff1250012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:25:39] local.INFO: Packet analysis {"connection_id":107829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:25:39] local.INFO: Extracted packet for processing {"connection_id":107829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edaff"} 
[2026-06-18 19:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138319104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790610000,"timestamp_ms":1781790610000,"timestamp_seconds":1781790610,"priority":1,"record_length":96,"hex_timestamp":"0000019edaff1250"} 
[2026-06-18 19:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138319104001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138319104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:25:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138319104001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":107829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:25:39] local.INFO: GPS data processed {"connection_id":107829,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:25:39] local.INFO: Acknowledgment sent {"connection_id":107829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:25:44] local.INFO: TCP Data received {"connection_id":106098,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:44] local.INFO: Processing buffer {"connection_id":106098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:44] local.INFO: IMEI packet received {"connection_id":106098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:25:44] local.INFO: IMEI acknowledgment sent {"connection_id":106098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:25:45] local.INFO: TCP Data received {"connection_id":106098,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:45] local.INFO: Processing buffer {"connection_id":106098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:45] local.INFO: IMEI packet received {"connection_id":106098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":106098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:25:49] local.INFO: TCP Data received {"connection_id":106098,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106098,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:49] local.INFO: Processing buffer {"connection_id":106098,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:25:49] local.INFO: IMEI packet received {"connection_id":106098,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":106098,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:25:51] local.INFO: TCP Data received {"connection_id":106098,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb018f08012d19b440072072c8002e009c2a..."} 
[2026-06-18 19:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb018f08012d19b440072072c8002e009c2a..."} 
[2026-06-18 19:25:51] local.INFO: Processing buffer {"connection_id":106098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb018f08012d19b440072072c8002e009c2a..."} 
[2026-06-18 19:25:51] local.INFO: Packet analysis {"connection_id":106098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:25:51] local.INFO: Extracted packet for processing {"connection_id":106098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:25:51] local.INFO: GPS Element Parsed {"raw_longitude":756659264,"raw_latitude":119567048,"longitude_deg":75.6659264,"latitude_deg":11.9567048,"altitude":46,"angle":156,"satellites":42,"speed":36,"hex_longitude":"2d19b440","hex_latitude":"072072c8","is_valid_coordinates":true} 
[2026-06-18 19:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:25:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138436352001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3368126238425088,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850627633738983424,"note":"Value kept but may cause issues"} 
[2026-06-18 19:25:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:25:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781790773000,"timestamp_ms":1781790773000,"timestamp_seconds":1781790773,"priority":1,"record_length":96,"hex_timestamp":"0000019edb018f08"} 
[2026-06-18 19:25:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:25:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:25:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-06-18 19:25:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:25:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:25:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:25:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:25:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:25:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:25:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:25:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:25:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:25:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:25:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138436352001,"66":13493,"121":206,"28":31744,"24":36,"16":3368126238425088,"45":1850627633738983424},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:25:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:25:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:25:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138436352001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:25:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:25:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:25:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3368126238425088,"km_value":3368126238425.088,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:25:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850627633738983424,"description":"Unknown IO ID 45"} 
[2026-06-18 19:25:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138436352001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1850627633738983424}} 
[2026-06-18 19:25:51] local.INFO: DEBUG: GPS processor result {"connection_id":106098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:25:51] local.INFO: GPS data processed {"connection_id":106098,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:25:51] local.INFO: Acknowledgment sent {"connection_id":106098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:25:59] local.INFO: TCP Data received {"connection_id":106270,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:59] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:25:59] local.INFO: IMEI packet received {"connection_id":106270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":106270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:26:05] local.INFO: TCP Data received {"connection_id":106270,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:26:05] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:26:05] local.INFO: IMEI packet received {"connection_id":106270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":106270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:26:05] local.INFO: TCP Data received {"connection_id":106270,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb030608012d7e45c005d358000007005129..."} 
[2026-06-18 19:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb030608012d7e45c005d358000007005129..."} 
[2026-06-18 19:26:05] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb030608012d7e45c005d358000007005129..."} 
[2026-06-18 19:26:05] local.INFO: Packet analysis {"connection_id":106270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:26:05] local.INFO: Extracted packet for processing {"connection_id":106270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":763250112,"raw_latitude":97736704,"longitude_deg":76.3250112,"latitude_deg":9.7736704,"altitude":7,"angle":81,"satellites":41,"speed":0,"hex_longitude":"2d7e45c0","hex_latitude":"05d35800","is_valid_coordinates":true} 
[2026-06-18 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138456832001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94063395849895936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098678647192565760,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:05] 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-06-18 19:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781790869000,"timestamp_ms":1781790869000,"timestamp_seconds":1781790869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb030608"} 
[2026-06-18 19:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 19:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:26:05] 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-06-18 19:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138456832001,"66":10145,"109":206,"85":15104,"24":0,"16":94063395849895936,"45":9098678647192565760},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138456832001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:26:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:26:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94063395849895936,"km_value":94063395849895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098678647192565760,"description":"Unknown IO ID 45"} 
[2026-06-18 19:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138456832001,"power":10145,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098678647192565760}} 
[2026-06-18 19:26:06] local.INFO: DEBUG: GPS processor result {"connection_id":106270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346153,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:26:06] local.INFO: GPS data processed {"connection_id":106270,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:26:06] local.INFO: Acknowledgment sent {"connection_id":106270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:26:11] local.INFO: TCP Data received {"connection_id":107829,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:26:11] local.INFO: Processing buffer {"connection_id":107829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:26:11] local.INFO: Packet analysis {"connection_id":107829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:26:11] local.INFO: Extracted packet for processing {"connection_id":107829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:26:11] 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-06-18 19:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":107829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346154,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:26:11] local.INFO: GPS data processed {"connection_id":107829,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:26:11] local.INFO: Acknowledgment sent {"connection_id":107829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:26:22] local.INFO: TCP Data received {"connection_id":106098,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb019ea8012d19b94007206440002c00a829..."} 
[2026-06-18 19:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb019ea8012d19b94007206440002c00a829..."} 
[2026-06-18 19:26:22] local.INFO: Processing buffer {"connection_id":106098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb019ea8012d19b94007206440002c00a829..."} 
[2026-06-18 19:26:22] local.INFO: Packet analysis {"connection_id":106098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:26:22] local.INFO: Extracted packet for processing {"connection_id":106098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119563328,"longitude_deg":75.6660544,"latitude_deg":11.9563328,"altitude":44,"angle":168,"satellites":41,"speed":41,"hex_longitude":"2d19b940","hex_latitude":"07206440","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138437888001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3368319511953408,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746109458432,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781790777000,"timestamp_ms":1781790777000,"timestamp_seconds":1781790777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb019ea8"} 
[2026-06-18 19:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 19:26: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-06-18 19: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-06-18 19:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106098,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138437888001,"66":13493,"121":206,"28":31744,"24":41,"16":3368319511953408,"45":1852175746109458432},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138437888001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:26:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:26:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3368319511953408,"km_value":3368319511953.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746109458432,"description":"Unknown IO ID 45"} 
[2026-06-18 19:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138437888001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1852175746109458432}} 
[2026-06-18 19:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":106098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:26:22] local.INFO: GPS data processed {"connection_id":106098,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:26:22] local.INFO: Acknowledgment sent {"connection_id":106098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:26:33] local.INFO: TCP Data received {"connection_id":106272,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:26:33] local.INFO: Processing buffer {"connection_id":106272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:26:33] local.INFO: IMEI packet received {"connection_id":106272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":106272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:26:37] local.INFO: TCP Data received {"connection_id":106270,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb035810012d7e45c005d358000007005129..."} 
[2026-06-18 19:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb035810012d7e45c005d358000007005129..."} 
[2026-06-18 19:26:37] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb035810012d7e45c005d358000007005129..."} 
[2026-06-18 19:26:37] local.INFO: Packet analysis {"connection_id":106270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:26:37] local.INFO: Extracted packet for processing {"connection_id":106270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":763250112,"raw_latitude":97736704,"longitude_deg":76.3250112,"latitude_deg":9.7736704,"altitude":7,"angle":81,"satellites":41,"speed":0,"hex_longitude":"2d7e45c0","hex_latitude":"05d35800","is_valid_coordinates":true} 
[2026-06-18 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138462464001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94063395849895936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9098889753425084416,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:37] 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-06-18 19:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781790890000,"timestamp_ms":1781790890000,"timestamp_seconds":1781790890,"priority":1,"record_length":96,"hex_timestamp":"0000019edb035810"} 
[2026-06-18 19:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:26:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":39,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-06-18 19:26:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1842,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:26:37] 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-06-18 19:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138462464001,"66":10580,"109":206,"85":15104,"24":0,"16":94063395849895936,"45":9098889753425084416},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138462464001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:26:37] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:26:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94063395849895936,"km_value":94063395849895.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9098889753425084416,"description":"Unknown IO ID 45"} 
[2026-06-18 19:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138462464001,"power":10580,"unknown_109":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9098889753425084416}} 
[2026-06-18 19:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":106270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346156,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:26:37] local.INFO: GPS data processed {"connection_id":106270,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:26:37] local.INFO: Acknowledgment sent {"connection_id":106270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:26:38] local.INFO: TCP Data received {"connection_id":106272,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:26:38] local.INFO: Processing buffer {"connection_id":106272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:26:38] local.INFO: IMEI packet received {"connection_id":106272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":106272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:26:39] local.INFO: TCP Data received {"connection_id":106272,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:26:39] local.INFO: Processing buffer {"connection_id":106272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:26:39] local.INFO: Packet analysis {"connection_id":106272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:26:39] local.INFO: Extracted packet for processing {"connection_id":106272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:26:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:26:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":106272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:26:39] local.INFO: GPS data processed {"connection_id":106272,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:26:39] local.INFO: Acknowledgment sent {"connection_id":106272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:26:48] local.INFO: TCP Data received {"connection_id":106871,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:26:48] local.INFO: Processing buffer {"connection_id":106871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:26:48] local.INFO: IMEI packet received {"connection_id":106871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":106871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:26:49] local.INFO: TCP Data received {"connection_id":106871,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:26:49] local.INFO: Processing buffer {"connection_id":106871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:26:49] local.INFO: IMEI packet received {"connection_id":106871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":106871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:26:51] local.INFO: TCP Data received {"connection_id":106871,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb01c1d0012d19bdc007204188002b00af29..."} 
[2026-06-18 19:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb01c1d0012d19bdc007204188002b00af29..."} 
[2026-06-18 19:26:51] local.INFO: Processing buffer {"connection_id":106871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb01c1d0012d19bdc007204188002b00af29..."} 
[2026-06-18 19:26:51] local.INFO: Packet analysis {"connection_id":106871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:26:51] local.INFO: Extracted packet for processing {"connection_id":106871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:26:51] local.INFO: GPS Element Parsed {"raw_longitude":756661696,"raw_latitude":119554440,"longitude_deg":75.6661696,"latitude_deg":11.955444,"altitude":43,"angle":175,"satellites":41,"speed":35,"hex_longitude":"2d19bdc0","hex_latitude":"07204188","is_valid_coordinates":true} 
[2026-06-18 19:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138438912001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3368753303650304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120992059392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781790786000,"timestamp_ms":1781790786000,"timestamp_seconds":1781790786,"priority":1,"record_length":96,"hex_timestamp":"0000019edb01c1d0"} 
[2026-06-18 19:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:26:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-06-18 19:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:26:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138438912001,"66":13156,"121":206,"28":31744,"24":35,"16":3368753303650304,"45":1853583120992059392},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:26:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:26:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:26:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138438912001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:26:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:26:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:26:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3368753303650304,"km_value":3368753303650.304,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:26:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120992059392,"description":"Unknown IO ID 45"} 
[2026-06-18 19:26:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138438912001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1853583120992059392}} 
[2026-06-18 19:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":106871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346158,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:26:51] local.INFO: GPS data processed {"connection_id":106871,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:26:51] local.INFO: Acknowledgment sent {"connection_id":106871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:26:53] local.INFO: TCP Data received {"connection_id":106871,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb01c9a0012d19bf0007203ae8002b00a129..."} 
[2026-06-18 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb01c9a0012d19bf0007203ae8002b00a129..."} 
[2026-06-18 19:26:53] local.INFO: Processing buffer {"connection_id":106871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb01c9a0012d19bf0007203ae8002b00a129..."} 
[2026-06-18 19:26:53] local.INFO: Packet analysis {"connection_id":106871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:26:53] local.INFO: Extracted packet for processing {"connection_id":106871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756662016,"raw_latitude":119552744,"longitude_deg":75.6662016,"latitude_deg":11.9552744,"altitude":43,"angle":161,"satellites":41,"speed":34,"hex_longitude":"2d19bf00","hex_latitude":"07203ae8","is_valid_coordinates":true} 
[2026-06-18 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138441216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3368839202996224,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854849758384982016,"note":"Value kept but may cause issues"} 
[2026-06-18 19:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781790788000,"timestamp_ms":1781790788000,"timestamp_seconds":1781790788,"priority":1,"record_length":96,"hex_timestamp":"0000019edb01c9a0"} 
[2026-06-18 19:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-06-18 19:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1353,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138441216001,"66":13102,"121":206,"28":31744,"24":34,"16":3368839202996224,"45":1854849758384982016},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138441216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:26:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:26:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3368839202996224,"km_value":3368839202996.224,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854849758384982016,"description":"Unknown IO ID 45"} 
[2026-06-18 19:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138441216001,"power":13102,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1854849758384982016}} 
[2026-06-18 19:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":106871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:26:53] local.INFO: GPS data processed {"connection_id":106871,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:26:53] local.INFO: Acknowledgment sent {"connection_id":106871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:26:59] local.INFO: TCP Data received {"connection_id":106099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:26:59] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:26:59] local.INFO: IMEI packet received {"connection_id":106099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":106099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:27:05] local.INFO: TCP Data received {"connection_id":106099,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:27:05] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:27:05] local.INFO: IMEI packet received {"connection_id":106099,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":106099,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:27:06] local.INFO: TCP Data received {"connection_id":106099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0501d8012d7e658005d30358000400d42b..."} 
[2026-06-18 19:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0501d8012d7e658005d30358000400d42b..."} 
[2026-06-18 19:27:06] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0501d8012d7e658005d30358000400d42b..."} 
[2026-06-18 19:27:06] local.INFO: Packet analysis {"connection_id":106099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:27:06] local.INFO: Extracted packet for processing {"connection_id":106099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763258240,"raw_latitude":97715032,"longitude_deg":76.325824,"latitude_deg":9.7715032,"altitude":4,"angle":212,"satellites":43,"speed":7,"hex_longitude":"2d7e6580","hex_latitude":"05d30358","is_valid_coordinates":true} 
[2026-06-18 19:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138494976001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94064701519953920,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107967321418565632,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781790999000,"timestamp_ms":1781790999000,"timestamp_seconds":1781790999,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0501d8"} 
[2026-06-18 19:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:27:06] 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-06-18 19:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578889457287297024,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674478456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628020500516205,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2264924160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5633564428701007872,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505034926194688,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3459028400910696704,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":95,"raw_value":3221607246,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182049320993024,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220214470991111381,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194772224,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84862906961089361,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:06] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":1407972605429760,"corrected_to":0} 
[2026-06-18 19:27:06] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,85,24,241,157,16,47,158,238,45,64,6,4,43,10,66,160,128,39,46,82,1,240,26,227,219,211,113,205,31,95,152,42,239,2,78,5,69,192,200],"length":583,"final_offset":713,"validated_count":41,"validation_warnings":[{"io_id":205,"original":5579116399575105560,"validated":0},{"io_id":200,"original":1407972605429760,"validated":0}]} 
[2026-06-18 19:27:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288442762284826624,"timestamp_seconds":288442762284826.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:27:06] 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-06-18 19:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138494976001,"66":12015,"109":206,"85":15104,"24":7,"16":94064701519953920,"45":9107967321418565632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138494976001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:27:06] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94064701519953920,"km_value":94064701519953.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107967321418565632,"description":"Unknown IO ID 45"} 
[2026-06-18 19:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138494976001,"power":12015,"unknown_109":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9107967321418565632}} 
[2026-06-18 19:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":106099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346160,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:27:06] local.INFO: GPS data processed {"connection_id":106099,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:27:06] local.INFO: Acknowledgment sent {"connection_id":106099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:27:11] local.INFO: TCP Data received {"connection_id":106272,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:27:11] local.INFO: Processing buffer {"connection_id":106272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:27:11] local.INFO: Packet analysis {"connection_id":106272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:27:11] local.INFO: Extracted packet for processing {"connection_id":106272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:27:11] 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-06-18 19:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:27:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":106272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:27:11] local.INFO: GPS data processed {"connection_id":106272,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:27:11] local.INFO: Acknowledgment sent {"connection_id":106272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:27:24] local.INFO: TCP Data received {"connection_id":106871,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb01f498012d19cd0007201b400030009629..."} 
[2026-06-18 19:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb01f498012d19cd0007201b400030009629..."} 
[2026-06-18 19:27:24] local.INFO: Processing buffer {"connection_id":106871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb01f498012d19cd0007201b400030009629..."} 
[2026-06-18 19:27:24] local.INFO: Packet analysis {"connection_id":106871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:27:24] local.INFO: Extracted packet for processing {"connection_id":106871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb01"} 
[2026-06-18 19:27:24] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544640,"longitude_deg":75.66656,"latitude_deg":11.954464,"altitude":48,"angle":150,"satellites":41,"speed":25,"hex_longitude":"2d19cd00","hex_latitude":"07201b40","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:27:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138441728001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3369264404758528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855201602105436160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:27:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781790799000,"timestamp_ms":1781790799000,"timestamp_seconds":1781790799,"priority":1,"record_length":96,"hex_timestamp":"0000019edb01f498"} 
[2026-06-18 19:27:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:27: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-06-18 19: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-06-18 19:27:24] 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-06-18 19: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-06-18 19:27:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:27:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:27:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:27:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:27:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:27:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:27:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:27:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:27:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138441728001,"66":12950,"121":206,"28":31744,"24":25,"16":3369264404758528,"45":1855201602105436160},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:27:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:27:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:27:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138441728001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:27:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:27:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:27:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3369264404758528,"km_value":3369264404758.528,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:27:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855201602105436160,"description":"Unknown IO ID 45"} 
[2026-06-18 19:27:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138441728001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1855201602105436160}} 
[2026-06-18 19:27:24] local.INFO: DEBUG: GPS processor result {"connection_id":106871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:27:24] local.INFO: GPS data processed {"connection_id":106871,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:27:24] local.INFO: Acknowledgment sent {"connection_id":106871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:27:33] local.INFO: TCP Data received {"connection_id":106873,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:27:33] local.INFO: Processing buffer {"connection_id":106873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:27:33] local.INFO: IMEI packet received {"connection_id":106873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":106873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:27:38] local.INFO: TCP Data received {"connection_id":106873,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:27:38] local.INFO: Processing buffer {"connection_id":106873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:27:38] local.INFO: IMEI packet received {"connection_id":106873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":106873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:27:38] local.INFO: TCP Data received {"connection_id":106099,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0505c0012d7e648005d302e0000400e62b..."} 
[2026-06-18 19:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0505c0012d7e648005d302e0000400e62b..."} 
[2026-06-18 19:27:38] local.INFO: Processing buffer {"connection_id":106099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0505c0012d7e648005d302e0000400e62b..."} 
[2026-06-18 19:27:38] local.INFO: Packet analysis {"connection_id":106099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:27:38] local.INFO: Extracted packet for processing {"connection_id":106099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:27:38] local.INFO: GPS Element Parsed {"raw_longitude":763257984,"raw_latitude":97714912,"longitude_deg":76.3257984,"latitude_deg":9.7714912,"altitude":4,"angle":230,"satellites":43,"speed":8,"hex_longitude":"2d7e6480","hex_latitude":"05d302e0","is_valid_coordinates":true} 
[2026-06-18 19:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:27:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138495744001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94064714404855808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107826583930099712,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:38] 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-06-18 19:27:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781791000000,"timestamp_ms":1781791000000,"timestamp_seconds":1781791000,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0505c0"} 
[2026-06-18 19:27:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:27:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:27:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 19:27:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:27:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:27:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:27:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:27:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:27:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:27:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106099,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:27:38] 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-06-18 19:27:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:27:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:27:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138495744001,"66":12037,"109":206,"85":15104,"24":8,"16":94064714404855808,"45":9107826583930099712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:27:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:27:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:27:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138495744001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:27:38] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:27:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:27:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94064714404855808,"km_value":94064714404855.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:27:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107826583930099712,"description":"Unknown IO ID 45"} 
[2026-06-18 19:27:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138495744001,"power":12037,"unknown_109":206,"unknown_85":15104,"ignition":8,"odometer":null,"unknown_45":9107826583930099712}} 
[2026-06-18 19:27:38] local.INFO: DEBUG: GPS processor result {"connection_id":106099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346163,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:27:38] local.INFO: GPS data processed {"connection_id":106099,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:27:38] local.INFO: Acknowledgment sent {"connection_id":106099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:27:39] local.INFO: TCP Data received {"connection_id":106873,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:27:39] local.INFO: Processing buffer {"connection_id":106873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:27:39] local.INFO: Packet analysis {"connection_id":106873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:27:39] local.INFO: Extracted packet for processing {"connection_id":106873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:27:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":106873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:27:39] local.INFO: GPS data processed {"connection_id":106873,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:27:39] local.INFO: Acknowledgment sent {"connection_id":106873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:27:43] local.INFO: TCP Data received {"connection_id":107830,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:43] local.INFO: Processing buffer {"connection_id":107830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:43] local.INFO: IMEI packet received {"connection_id":107830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:27:43] local.INFO: IMEI acknowledgment sent {"connection_id":107830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:27:44] local.INFO: TCP Data received {"connection_id":107830,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:44] local.INFO: Processing buffer {"connection_id":107830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:44] local.INFO: IMEI packet received {"connection_id":107830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":107830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:27:45] local.INFO: TCP Data received {"connection_id":107830,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:45] local.INFO: Processing buffer {"connection_id":107830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:45] local.INFO: IMEI packet received {"connection_id":107830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:27:45] local.INFO: IMEI acknowledgment sent {"connection_id":107830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:27:50] local.INFO: TCP Data received {"connection_id":107830,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:50] local.INFO: Processing buffer {"connection_id":107830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:27:50] local.INFO: IMEI packet received {"connection_id":107830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":107830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:27:51] local.INFO: TCP Data received {"connection_id":107830,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0534a0012d19d240072015380032007e2a..."} 
[2026-06-18 19:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0534a0012d19d240072015380032007e2a..."} 
[2026-06-18 19:27:51] local.INFO: Processing buffer {"connection_id":107830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0534a0012d19d240072015380032007e2a..."} 
[2026-06-18 19:27:51] local.INFO: Packet analysis {"connection_id":107830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:27:51] local.INFO: Extracted packet for processing {"connection_id":107830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756666944,"raw_latitude":119543096,"longitude_deg":75.6666944,"latitude_deg":11.9543096,"altitude":50,"angle":126,"satellites":42,"speed":0,"hex_longitude":"2d19d240","hex_latitude":"07201538","is_valid_coordinates":true} 
[2026-06-18 19:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138493696001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3369367483973632,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860619995404646400,"note":"Value kept but may cause issues"} 
[2026-06-18 19:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781791012000,"timestamp_ms":1781791012000,"timestamp_seconds":1781791012,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0534a0"} 
[2026-06-18 19:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-06-18 19:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138493696001,"66":13526,"121":206,"28":31744,"24":0,"16":3369367483973632,"45":1860619995404646400},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138493696001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:27:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:27:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3369367483973632,"km_value":3369367483973.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860619995404646400,"description":"Unknown IO ID 45"} 
[2026-06-18 19:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138493696001,"power":13526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1860619995404646400}} 
[2026-06-18 19:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":107830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:27:51] local.INFO: GPS data processed {"connection_id":107830,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:27:51] local.INFO: Acknowledgment sent {"connection_id":107830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:27:59] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:27:59] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:27:59] local.INFO: IMEI packet received {"connection_id":106273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":106273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:28:04] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:28:04] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:28:04] local.INFO: IMEI packet received {"connection_id":106273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":106273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:28:05] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0509a8012d7e640005d30270000400f42a..."} 
[2026-06-18 19:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0509a8012d7e640005d30270000400f42a..."} 
[2026-06-18 19:28:05] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0509a8012d7e640005d30270000400f42a..."} 
[2026-06-18 19:28:05] local.INFO: Packet analysis {"connection_id":106273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:28:05] local.INFO: Extracted packet for processing {"connection_id":106273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:28:05] local.INFO: GPS Element Parsed {"raw_longitude":763257856,"raw_latitude":97714800,"longitude_deg":76.3257856,"latitude_deg":9.77148,"altitude":4,"angle":244,"satellites":42,"speed":9,"hex_longitude":"2d7e6400","hex_latitude":"05d30270","is_valid_coordinates":true} 
[2026-06-18 19:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138496000001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94064722994790400,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9107545108953358336,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] 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-06-18 19:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791001000,"timestamp_ms":1781791001000,"timestamp_seconds":1781791001,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0509a8"} 
[2026-06-18 19:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288230376319484928,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674490456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":8193,"corrected_to":0} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3220724644386397140,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":5579116399575105560,"corrected_to":0} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":96,"raw_value":2147865419,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182057910927616,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194847232,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,109,85,24,241,157,16,47,158,1,45,128,3,4,43,10,66,246,5,42,238,64,240,250,227,219,211,113,205,19,82,96,44,239,2,78,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":246,"original":8193,"validated":0},{"io_id":205,"original":5579116399575105560,"validated":0}]} 
[2026-06-18 19:28:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":288483448510218240,"timestamp_seconds":288483448510218.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:28:05] 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-06-18 19:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138496000001,"66":12037,"109":206,"85":15104,"24":9,"16":94064722994790400,"45":9107545108953358336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,85,24,16,45]} 
[2026-06-18 19:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138496000001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:28:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 19:28:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94064722994790400,"km_value":94064722994790.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9107545108953358336,"description":"Unknown IO ID 45"} 
[2026-06-18 19:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138496000001,"power":12037,"unknown_109":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9107545108953358336}} 
[2026-06-18 19:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":106273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346166,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:28:05] local.INFO: GPS data processed {"connection_id":106273,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:28:05] local.INFO: Acknowledgment sent {"connection_id":106273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:28:11] local.INFO: TCP Data received {"connection_id":106873,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:28:11] local.INFO: Processing buffer {"connection_id":106873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:28:11] local.INFO: Packet analysis {"connection_id":106873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:28:11] local.INFO: Extracted packet for processing {"connection_id":106873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:28:11] 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-06-18 19:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:28:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":106873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:28:11] local.INFO: GPS data processed {"connection_id":106873,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:28:11] local.INFO: Acknowledgment sent {"connection_id":106873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:28:22] local.INFO: TCP Data received {"connection_id":107830,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb05f408012d19c980071ff320003400f22b..."} 
[2026-06-18 19:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb05f408012d19c980071ff320003400f22b..."} 
[2026-06-18 19:28:22] local.INFO: Processing buffer {"connection_id":107830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb05f408012d19c980071ff320003400f22b..."} 
[2026-06-18 19:28:22] local.INFO: Packet analysis {"connection_id":107830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:28:22] local.INFO: Extracted packet for processing {"connection_id":107830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756664704,"raw_latitude":119534368,"longitude_deg":75.6664704,"latitude_deg":11.9534368,"altitude":52,"angle":242,"satellites":43,"speed":11,"hex_longitude":"2d19c980","hex_latitude":"071ff320","is_valid_coordinates":true} 
[2026-06-18 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138511360001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3369973074362368,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858508933077123072,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791061000,"timestamp_ms":1781791061000,"timestamp_seconds":1781791061,"priority":1,"record_length":96,"hex_timestamp":"0000019edb05f408"} 
[2026-06-18 19:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:28:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 19:28:22] 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-06-18 19:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138511360001,"66":12711,"121":206,"28":31744,"24":11,"16":3369973074362368,"45":1858508933077123072},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138511360001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:28:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3369973074362368,"km_value":3369973074362.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858508933077123072,"description":"Unknown IO ID 45"} 
[2026-06-18 19:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138511360001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1858508933077123072}} 
[2026-06-18 19:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":107830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:28:22] local.INFO: GPS data processed {"connection_id":107830,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:28:22] local.INFO: Acknowledgment sent {"connection_id":107830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:28:33] local.INFO: TCP Data received {"connection_id":106875,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:28:33] local.INFO: Processing buffer {"connection_id":106875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:28:33] local.INFO: IMEI packet received {"connection_id":106875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:28:33] local.INFO: IMEI acknowledgment sent {"connection_id":106875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:28:36] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb067108012d7e150005d291b0000000f427..."} 
[2026-06-18 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb067108012d7e150005d291b0000000f427..."} 
[2026-06-18 19:28:36] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb067108012d7e150005d291b0000000f427..."} 
[2026-06-18 19:28:36] local.INFO: Packet analysis {"connection_id":106273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:28:36] local.INFO: Extracted packet for processing {"connection_id":106273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":763237632,"raw_latitude":97685936,"longitude_deg":76.3237632,"latitude_deg":9.7685936,"altitude":0,"angle":244,"satellites":39,"speed":12,"hex_longitude":"2d7e1500","hex_latitude":"05d291b0","is_valid_coordinates":true} 
[2026-06-18 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138515200001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94066552650858496,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9089389972948987904,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:36] 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-06-18 19:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781791093000,"timestamp_ms":1781791093000,"timestamp_seconds":1781791093,"priority":1,"record_length":96,"hex_timestamp":"0000019edb067108"} 
[2026-06-18 19:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:28:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 19:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:28:36] 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-06-18 19:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138515200001,"66":11874,"116":206,"85":15104,"24":12,"16":94066552650858496,"45":9089389972948987904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 19:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138515200001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:28:36] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 19:28:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94066552650858496,"km_value":94066552650858.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9089389972948987904,"description":"Unknown IO ID 45"} 
[2026-06-18 19:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138515200001,"power":11874,"unknown_116":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9089389972948987904}} 
[2026-06-18 19:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":106273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346169,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:28:36] local.INFO: GPS data processed {"connection_id":106273,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:28:36] local.INFO: Acknowledgment sent {"connection_id":106273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:28:38] local.INFO: TCP Data received {"connection_id":106875,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:28:38] local.INFO: Processing buffer {"connection_id":106875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:28:38] local.INFO: IMEI packet received {"connection_id":106875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":106875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:28:40] local.INFO: TCP Data received {"connection_id":106875,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:28:40] local.INFO: Processing buffer {"connection_id":106875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:28:40] local.INFO: Packet analysis {"connection_id":106875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:28:40] local.INFO: Extracted packet for processing {"connection_id":106875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:28:40] 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-06-18 19:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:28:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:28:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":106875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:28:40] local.INFO: GPS data processed {"connection_id":106875,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:28:40] local.INFO: Acknowledgment sent {"connection_id":106875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:28:44] local.INFO: TCP Data received {"connection_id":107831,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:44] local.INFO: Processing buffer {"connection_id":107831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:44] local.INFO: IMEI packet received {"connection_id":107831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:28:44] local.INFO: IMEI acknowledgment sent {"connection_id":107831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:28:46] local.INFO: TCP Data received {"connection_id":107831,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:46] local.INFO: Processing buffer {"connection_id":107831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:46] local.INFO: IMEI packet received {"connection_id":107831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":107831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:28:49] local.INFO: TCP Data received {"connection_id":107831,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107831,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:49] local.INFO: Processing buffer {"connection_id":107831,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:28:49] local.INFO: IMEI packet received {"connection_id":107831,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":107831,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:28:51] local.INFO: TCP Data received {"connection_id":107831,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb05f7f0012d19c880071ff2c80034010129..."} 
[2026-06-18 19:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb05f7f0012d19c880071ff2c80034010129..."} 
[2026-06-18 19:28:51] local.INFO: Processing buffer {"connection_id":107831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb05f7f0012d19c880071ff2c80034010129..."} 
[2026-06-18 19:28:51] local.INFO: Packet analysis {"connection_id":107831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:28:51] local.INFO: Extracted packet for processing {"connection_id":107831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756664448,"raw_latitude":119534280,"longitude_deg":75.6664448,"latitude_deg":11.953428,"altitude":52,"angle":257,"satellites":41,"speed":11,"hex_longitude":"2d19c880","hex_latitude":"071ff2c8","is_valid_coordinates":true} 
[2026-06-18 19:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138511616001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3369985959264256,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089356193792,"note":"Value kept but may cause issues"} 
[2026-06-18 19:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781791062000,"timestamp_ms":1781791062000,"timestamp_seconds":1781791062,"priority":1,"record_length":96,"hex_timestamp":"0000019edb05f7f0"} 
[2026-06-18 19:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 19:28:51] 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-06-18 19:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138511616001,"66":12711,"121":206,"28":31744,"24":11,"16":3369985959264256,"45":1858157089356193792},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138511616001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:28:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:28:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3369985959264256,"km_value":3369985959264.256,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089356193792,"description":"Unknown IO ID 45"} 
[2026-06-18 19:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138511616001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1858157089356193792}} 
[2026-06-18 19:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":107831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:28:51] local.INFO: GPS data processed {"connection_id":107831,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:28:51] local.INFO: Acknowledgment sent {"connection_id":107831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:29:04] local.INFO: TCP Data received {"connection_id":106876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:29:04] local.INFO: Processing buffer {"connection_id":106876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:29:04] local.INFO: IMEI packet received {"connection_id":106876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":106876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:29:09] local.INFO: TCP Data received {"connection_id":106876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106876,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:29:09] local.INFO: Processing buffer {"connection_id":106876,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:29:09] local.INFO: IMEI packet received {"connection_id":106876,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":106876,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:29:10] local.INFO: TCP Data received {"connection_id":106876,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0678d8012d7e128005d290f00000010127..."} 
[2026-06-18 19:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0678d8012d7e128005d290f00000010127..."} 
[2026-06-18 19:29:10] local.INFO: Processing buffer {"connection_id":106876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0678d8012d7e128005d290f00000010127..."} 
[2026-06-18 19:29:10] local.INFO: Packet analysis {"connection_id":106876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:29:10] local.INFO: Extracted packet for processing {"connection_id":106876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":763236992,"raw_latitude":97685744,"longitude_deg":76.3236992,"latitude_deg":9.7685744,"altitude":0,"angle":257,"satellites":39,"speed":9,"hex_longitude":"2d7e1280","hex_latitude":"05d290f0","is_valid_coordinates":true} 
[2026-06-18 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138519808001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94066582715629568,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9085167848297443328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:10] 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-06-18 19:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781791095000,"timestamp_ms":1781791095000,"timestamp_seconds":1781791095,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0678d8"} 
[2026-06-18 19:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:29:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 19:29:10] 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-06-18 19:29:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:29:10] 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-06-18 19:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138519808001,"66":11743,"116":206,"85":15104,"24":9,"16":94066582715629568,"45":9085167848297443328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 19:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138519808001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:29:10] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 19:29:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94066582715629568,"km_value":94066582715629.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9085167848297443328,"description":"Unknown IO ID 45"} 
[2026-06-18 19:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138519808001,"power":11743,"unknown_116":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9085167848297443328}} 
[2026-06-18 19:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":106876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346172,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:29:10] local.INFO: GPS data processed {"connection_id":106876,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:29:10] local.INFO: Acknowledgment sent {"connection_id":106876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:29:12] local.INFO: TCP Data received {"connection_id":106875,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:29:12] local.INFO: Processing buffer {"connection_id":106875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:29:12] local.INFO: Packet analysis {"connection_id":106875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:29:12] local.INFO: Extracted packet for processing {"connection_id":106875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:29:12] 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-06-18 19:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:29:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":106875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:29:12] local.INFO: GPS data processed {"connection_id":106875,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:29:12] local.INFO: Acknowledgment sent {"connection_id":106875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:29:15] local.INFO: TCP Data received {"connection_id":106876,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0680a8012d7e108005d290b00000010c28..."} 
[2026-06-18 19:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0680a8012d7e108005d290b00000010c28..."} 
[2026-06-18 19:29:15] local.INFO: Processing buffer {"connection_id":106876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0680a8012d7e108005d290b00000010c28..."} 
[2026-06-18 19:29:15] local.INFO: Packet analysis {"connection_id":106876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:29:15] local.INFO: Extracted packet for processing {"connection_id":106876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:29:15] local.INFO: GPS Element Parsed {"raw_longitude":763236480,"raw_latitude":97685680,"longitude_deg":76.323648,"latitude_deg":9.768568,"altitude":0,"angle":268,"satellites":40,"speed":9,"hex_longitude":"2d7e1080","hex_latitude":"05d290b0","is_valid_coordinates":true} 
[2026-06-18 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138520320001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94066608485433344,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9084464160855617536,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:15] 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-06-18 19:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781791097000,"timestamp_ms":1781791097000,"timestamp_seconds":1781791097,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0680a8"} 
[2026-06-18 19:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:29:15] 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-06-18 19:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 19:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106876,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:29:15] 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-06-18 19:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138520320001,"66":11743,"116":206,"85":15104,"24":9,"16":94066608485433344,"45":9084464160855617536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 19:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138520320001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:29:15] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 19:29:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94066608485433344,"km_value":94066608485433.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":9084464160855617536,"description":"Unknown IO ID 45"} 
[2026-06-18 19:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138520320001,"power":11743,"unknown_116":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9084464160855617536}} 
[2026-06-18 19:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":106876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346174,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:29:15] local.INFO: GPS data processed {"connection_id":106876,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:29:15] local.INFO: Acknowledgment sent {"connection_id":106876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:29:22] local.INFO: TCP Data received {"connection_id":107831,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb05fbd8012d19c780071ff2b00034010f29..."} 
[2026-06-18 19:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb05fbd8012d19c780071ff2b00034010f29..."} 
[2026-06-18 19:29:22] local.INFO: Processing buffer {"connection_id":107831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb05fbd8012d19c780071ff2b00034010f29..."} 
[2026-06-18 19:29:22] local.INFO: Packet analysis {"connection_id":107831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:29:22] local.INFO: Extracted packet for processing {"connection_id":107831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb05"} 
[2026-06-18 19:29:22] local.INFO: GPS Element Parsed {"raw_longitude":756664192,"raw_latitude":119534256,"longitude_deg":75.6664192,"latitude_deg":11.9534256,"altitude":52,"angle":271,"satellites":41,"speed":9,"hex_longitude":"2d19c780","hex_latitude":"071ff2b0","is_valid_coordinates":true} 
[2026-06-18 19:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:29:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138511872001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3369998844166144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857875614379460608,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:29:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791063000,"timestamp_ms":1781791063000,"timestamp_seconds":1781791063,"priority":1,"record_length":96,"hex_timestamp":"0000019edb05fbd8"} 
[2026-06-18 19:29:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:29:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:29:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 19:29:22] 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-06-18 19:29:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:29:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:29:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:29:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:29:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:29:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107831,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:29:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:29:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:29:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:29:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138511872001,"66":12591,"121":206,"28":31744,"24":9,"16":3369998844166144,"45":1857875614379460608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:29:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:29:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:29:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138511872001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:29:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:29:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:29:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3369998844166144,"km_value":3369998844166.144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:29:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857875614379460608,"description":"Unknown IO ID 45"} 
[2026-06-18 19:29:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138511872001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1857875614379460608}} 
[2026-06-18 19:29:22] local.INFO: DEBUG: GPS processor result {"connection_id":107831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:29:22] local.INFO: GPS data processed {"connection_id":107831,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:29:22] local.INFO: Acknowledgment sent {"connection_id":107831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:29:33] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:29:33] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:29:33] local.INFO: IMEI packet received {"connection_id":106101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":106101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:29:38] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:29:38] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:29:38] local.INFO: IMEI packet received {"connection_id":106101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":106101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:29:39] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:29:39] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:29:39] local.INFO: Packet analysis {"connection_id":106101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:29:39] local.INFO: Extracted packet for processing {"connection_id":106101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:29:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":106101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:29:39] local.INFO: GPS data processed {"connection_id":106101,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:29:39] local.INFO: Acknowledgment sent {"connection_id":106101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:29:44] local.INFO: TCP Data received {"connection_id":106102,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:29:44] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:29:44] local.INFO: IMEI packet received {"connection_id":106102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":106102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:29:49] local.INFO: TCP Data received {"connection_id":106102,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:29:49] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:29:49] local.INFO: IMEI packet received {"connection_id":106102,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":106102,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:29:51] local.INFO: TCP Data received {"connection_id":106102,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0603a8012d19c5c0071ff2f80035011c29..."} 
[2026-06-18 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0603a8012d19c5c0071ff2f80035011c29..."} 
[2026-06-18 19:29:51] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0603a8012d19c5c0071ff2f80035011c29..."} 
[2026-06-18 19:29:51] local.INFO: Packet analysis {"connection_id":106102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:29:51] local.INFO: Extracted packet for processing {"connection_id":106102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756663744,"raw_latitude":119534328,"longitude_deg":75.6663744,"latitude_deg":11.9534328,"altitude":53,"angle":284,"satellites":41,"speed":6,"hex_longitude":"2d19c5c0","hex_latitude":"071ff2f8","is_valid_coordinates":true} 
[2026-06-18 19:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138512128001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370020319002624,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857594139402743808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:29:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781791065000,"timestamp_ms":1781791065000,"timestamp_seconds":1781791065,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0603a8"} 
[2026-06-18 19:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 19:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138512128001,"66":12689,"121":206,"28":31744,"24":6,"16":3370020319002624,"45":1857594139402743808},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138512128001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:29:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:29:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370020319002624,"km_value":3370020319002.624,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857594139402743808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138512128001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1857594139402743808}} 
[2026-06-18 19:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":106102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:29:51] local.INFO: GPS data processed {"connection_id":106102,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:29:51] local.INFO: Acknowledgment sent {"connection_id":106102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:00] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:00] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:00] local.INFO: IMEI packet received {"connection_id":106274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":106274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:30:00] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:00] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:00] local.INFO: IMEI packet received {"connection_id":106274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:30:00] local.INFO: IMEI acknowledgment sent {"connection_id":106274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:30:05] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:05] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:30:05] local.INFO: IMEI packet received {"connection_id":106274,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":106274,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:30:05] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb06cec8012d7dec0005d291e0000001092a..."} 
[2026-06-18 19:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb06cec8012d7dec0005d291e0000001092a..."} 
[2026-06-18 19:30:05] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb06cec8012d7dec0005d291e0000001092a..."} 
[2026-06-18 19:30:05] local.INFO: Packet analysis {"connection_id":106274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:30:05] local.INFO: Extracted packet for processing {"connection_id":106274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763227136,"raw_latitude":97685984,"longitude_deg":76.3227136,"latitude_deg":9.7685984,"altitude":0,"angle":265,"satellites":42,"speed":23,"hex_longitude":"2d7dec00","hex_latitude":"05d291e0","is_valid_coordinates":true} 
[2026-06-18 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138520832001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94067055162032128,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9083901210902179840,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:05] 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-06-18 19:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791117000,"timestamp_ms":1781791117000,"timestamp_seconds":1781791117,"priority":1,"record_length":96,"hex_timestamp":"0000019edb06cec8"} 
[2026-06-18 19:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 19:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:30:05] 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-06-18 19:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138520832001,"66":11874,"116":206,"85":15104,"24":23,"16":94067055162032128,"45":9083901210902179840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 19:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138520832001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:05] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 19:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94067055162032128,"km_value":94067055162032.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9083901210902179840,"description":"Unknown IO ID 45"} 
[2026-06-18 19:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138520832001,"power":11874,"unknown_116":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9083901210902179840}} 
[2026-06-18 19:30:06] local.INFO: DEBUG: GPS processor result {"connection_id":106274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346178,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:06] local.INFO: GPS data processed {"connection_id":106274,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:06] local.INFO: Acknowledgment sent {"connection_id":106274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:10] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb071ce8012d7dc7c005d290b00002010a2b..."} 
[2026-06-18 19:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb071ce8012d7dc7c005d290b00002010a2b..."} 
[2026-06-18 19:30:10] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb071ce8012d7dc7c005d290b00002010a2b..."} 
[2026-06-18 19:30:10] local.INFO: Packet analysis {"connection_id":106274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:30:10] local.INFO: Extracted packet for processing {"connection_id":106274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763217856,"raw_latitude":97685680,"longitude_deg":76.3217856,"latitude_deg":9.768568,"altitude":2,"angle":266,"satellites":43,"speed":18,"hex_longitude":"2d7dc7c0","hex_latitude":"05d290b0","is_valid_coordinates":true} 
[2026-06-18 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138525952001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94067497543663616,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9073627374252318720,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:10] 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-06-18 19:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781791137000,"timestamp_ms":1781791137000,"timestamp_seconds":1781791137,"priority":1,"record_length":96,"hex_timestamp":"0000019edb071ce8"} 
[2026-06-18 19:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30:10] 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-06-18 19:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 19:30:10] 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-06-18 19:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:30:10] 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-06-18 19:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138525952001,"66":11852,"116":206,"85":15104,"24":18,"16":94067497543663616,"45":9073627374252318720},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 19:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138525952001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:10] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 19:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94067497543663616,"km_value":94067497543663.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9073627374252318720,"description":"Unknown IO ID 45"} 
[2026-06-18 19:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138525952001,"power":11852,"unknown_116":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":9073627374252318720}} 
[2026-06-18 19:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":106274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346179,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:10] local.INFO: GPS data processed {"connection_id":106274,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:10] local.INFO: Acknowledgment sent {"connection_id":106274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:11] local.INFO: TCP Data received {"connection_id":106101,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:11] local.INFO: Processing buffer {"connection_id":106101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:11] local.INFO: Packet analysis {"connection_id":106101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:30:11] local.INFO: Extracted packet for processing {"connection_id":106101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:30:11] 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-06-18 19:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106101,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":106101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:11] local.INFO: GPS data processed {"connection_id":106101,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:11] local.INFO: Acknowledgment sent {"connection_id":106101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:22] local.INFO: TCP Data received {"connection_id":106102,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb060b78012d19c480071ff3300035010c29..."} 
[2026-06-18 19:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb060b78012d19c480071ff3300035010c29..."} 
[2026-06-18 19:30:22] local.INFO: Processing buffer {"connection_id":106102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb060b78012d19c480071ff3300035010c29..."} 
[2026-06-18 19:30:22] local.INFO: Packet analysis {"connection_id":106102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:30:22] local.INFO: Extracted packet for processing {"connection_id":106102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756663424,"raw_latitude":119534384,"longitude_deg":75.6663424,"latitude_deg":11.9534384,"altitude":53,"angle":268,"satellites":41,"speed":5,"hex_longitude":"2d19c480","hex_latitude":"071ff330","is_valid_coordinates":true} 
[2026-06-18 19:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138512640001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370033203904512,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857101558193518592,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791067000,"timestamp_ms":1781791067000,"timestamp_seconds":1781791067,"priority":1,"record_length":96,"hex_timestamp":"0000019edb060b78"} 
[2026-06-18 19:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-06-18 19:30:22] 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-06-18 19:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106102,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138512640001,"66":12667,"121":206,"28":31744,"24":5,"16":3370033203904512,"45":1857101558193518592},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138512640001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:30:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370033203904512,"km_value":3370033203904.512,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857101558193518592,"description":"Unknown IO ID 45"} 
[2026-06-18 19:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138512640001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1857101558193518592}} 
[2026-06-18 19:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":106102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:22] local.INFO: GPS data processed {"connection_id":106102,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:22] local.INFO: Acknowledgment sent {"connection_id":106102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:24] local.INFO: TCP Data received {"connection_id":106877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:24] local.INFO: Processing buffer {"connection_id":106877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:24] local.INFO: IMEI packet received {"connection_id":106877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":106877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:30:28] local.INFO: TCP Data received {"connection_id":106877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:28] local.INFO: Processing buffer {"connection_id":106877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:28] local.INFO: IMEI packet received {"connection_id":106877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":106877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:30:29] local.INFO: TCP Data received {"connection_id":106877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:29] local.INFO: Processing buffer {"connection_id":106877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:30:29] local.INFO: IMEI packet received {"connection_id":106877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":106877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:30:29] local.INFO: TCP Data received {"connection_id":106877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb073070012cc367c0075fe4d8002100032e..."} 
[2026-06-18 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb073070012cc367c0075fe4d8002100032e..."} 
[2026-06-18 19:30:29] local.INFO: Processing buffer {"connection_id":106877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb073070012cc367c0075fe4d8002100032e..."} 
[2026-06-18 19:30:29] local.INFO: Packet analysis {"connection_id":106877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:30:29] local.INFO: Extracted packet for processing {"connection_id":106877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":751003584,"raw_latitude":123725016,"longitude_deg":75.1003584,"latitude_deg":12.3725016,"altitude":33,"angle":3,"satellites":46,"speed":30,"hex_longitude":"2cc367c0","hex_latitude":"075fe4d8","is_valid_coordinates":true} 
[2026-06-18 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138531584001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318881427439484928,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366732388271943680,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781791142000,"timestamp_ms":1781791142000,"timestamp_seconds":1781791142,"priority":1,"record_length":96,"hex_timestamp":"0000019edb073070"} 
[2026-06-18 19:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30: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-06-18 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 19:30: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-06-18 19:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:30:29] 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-06-18 19:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138531584001,"66":27310,"187":206,"85":37120,"24":30,"16":318881427439484928,"44":-4366732388271943680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-06-18 19:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138531584001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:29] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-06-18 19:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318881427439484928,"km_value":318881427439484.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366732388271943680,"description":"Unknown IO ID 44"} 
[2026-06-18 19:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138531584001,"power":27310,"unknown_187":206,"unknown_85":37120,"ignition":30,"odometer":null,"unknown_44":-4366732388271943680}} 
[2026-06-18 19:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":106877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:29] local.INFO: GPS data processed {"connection_id":106877,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:29] local.INFO: Acknowledgment sent {"connection_id":106877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:38] local.INFO: TCP Data received {"connection_id":106275,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:30:38] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:30:38] local.INFO: IMEI packet received {"connection_id":106275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":106275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:30:42] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb076b08012d7da54005d28ef00005010a28..."} 
[2026-06-18 19:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb076b08012d7da54005d28ef00005010a28..."} 
[2026-06-18 19:30:42] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb076b08012d7da54005d28ef00005010a28..."} 
[2026-06-18 19:30:42] local.INFO: Packet analysis {"connection_id":106274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:30:42] local.INFO: Extracted packet for processing {"connection_id":106274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:30:42] local.INFO: GPS Element Parsed {"raw_longitude":763209024,"raw_latitude":97685232,"longitude_deg":76.3209024,"latitude_deg":9.7685232,"altitude":5,"angle":266,"satellites":40,"speed":12,"hex_longitude":"2d7da540","hex_latitude":"05d28ef0","is_valid_coordinates":true} 
[2026-06-18 19:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138531072001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94067922745425920,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9063423906346479616,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:42] 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-06-18 19:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781791157000,"timestamp_ms":1781791157000,"timestamp_seconds":1781791157,"priority":1,"record_length":96,"hex_timestamp":"0000019edb076b08"} 
[2026-06-18 19:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30:42] 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-06-18 19:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 19:30:42] 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-06-18 19:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106274,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138531072001,"66":12037,"116":206,"85":15104,"24":12,"16":94067922745425920,"45":9063423906346479616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 19:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138531072001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:42] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 19:30:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94067922745425920,"km_value":94067922745425.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9063423906346479616,"description":"Unknown IO ID 45"} 
[2026-06-18 19:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138531072001,"power":12037,"unknown_116":206,"unknown_85":15104,"ignition":12,"odometer":null,"unknown_45":9063423906346479616}} 
[2026-06-18 19:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":106274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346183,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:42] local.INFO: GPS data processed {"connection_id":106274,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:42] local.INFO: Acknowledgment sent {"connection_id":106274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:43] local.INFO: TCP Data received {"connection_id":106275,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:30:43] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:30:43] local.INFO: IMEI packet received {"connection_id":106275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":106275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:30:44] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:30:44] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:30:44] local.INFO: IMEI packet received {"connection_id":106276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":106276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:30:45] local.INFO: TCP Data received {"connection_id":106275,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:45] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:45] local.INFO: Packet analysis {"connection_id":106275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:30:45] local.INFO: Extracted packet for processing {"connection_id":106275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:30:45] 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-06-18 19:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:30:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":106275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346184,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:45] local.INFO: GPS data processed {"connection_id":106275,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:45] local.INFO: Acknowledgment sent {"connection_id":106275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:49] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:30:49] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:30:49] local.INFO: IMEI packet received {"connection_id":106276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":106276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:30:49] local.INFO: TCP Data received {"connection_id":106275,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:49] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb03aa18012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:30:49] local.INFO: Packet analysis {"connection_id":106275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:30:49] local.INFO: Extracted packet for processing {"connection_id":106275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb03"} 
[2026-06-18 19:30:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138396160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781790911000,"timestamp_ms":1781790911000,"timestamp_seconds":1781790911,"priority":1,"record_length":96,"hex_timestamp":"0000019edb03aa18"} 
[2026-06-18 19:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:30:49] 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-06-18 19:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138396160001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138396160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:30:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138396160001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":106275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:49] local.INFO: GPS data processed {"connection_id":106275,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:49] local.INFO: Acknowledgment sent {"connection_id":106275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:30:50] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb065d80012d19c300071ff3180035010c29..."} 
[2026-06-18 19:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb065d80012d19c300071ff3180035010c29..."} 
[2026-06-18 19:30:50] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb065d80012d19c300071ff3180035010c29..."} 
[2026-06-18 19:30:50] local.INFO: Packet analysis {"connection_id":106276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:30:50] local.INFO: Extracted packet for processing {"connection_id":106276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119534360,"longitude_deg":75.666304,"latitude_deg":11.953436,"altitude":53,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-06-18 19:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138513152001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370054678740992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714472644608,"note":"Value kept but may cause issues"} 
[2026-06-18 19:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791088000,"timestamp_ms":1781791088000,"timestamp_seconds":1781791088,"priority":1,"record_length":96,"hex_timestamp":"0000019edb065d80"} 
[2026-06-18 19:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 19:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138513152001,"66":12548,"121":206,"28":31744,"24":0,"16":3370054678740992,"45":1856749714472644608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138513152001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:30:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:30:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370054678740992,"km_value":3370054678740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714472644608,"description":"Unknown IO ID 45"} 
[2026-06-18 19:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138513152001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856749714472644608}} 
[2026-06-18 19:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":106276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:30:50] local.INFO: GPS data processed {"connection_id":106276,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:30:50] local.INFO: Acknowledgment sent {"connection_id":106276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:00] local.INFO: TCP Data received {"connection_id":106878,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:00] local.INFO: Processing buffer {"connection_id":106878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:00] local.INFO: IMEI packet received {"connection_id":106878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":106878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:31:01] local.INFO: TCP Data received {"connection_id":106877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb073840012cc367c0075feaa8002201602e..."} 
[2026-06-18 19:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb073840012cc367c0075feaa8002201602e..."} 
[2026-06-18 19:31:01] local.INFO: Processing buffer {"connection_id":106877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb073840012cc367c0075feaa8002201602e..."} 
[2026-06-18 19:31:01] local.INFO: Packet analysis {"connection_id":106877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:31:01] local.INFO: Extracted packet for processing {"connection_id":106877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:31:01] local.INFO: GPS Element Parsed {"raw_longitude":751003584,"raw_latitude":123726504,"longitude_deg":75.1003584,"latitude_deg":12.3726504,"altitude":34,"angle":352,"satellites":46,"speed":29,"hex_longitude":"2cc367c0","hex_latitude":"075feaa8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138532352001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318881500453928960,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366310175806269440,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791144000,"timestamp_ms":1781791144000,"timestamp_seconds":1781791144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb073840"} 
[2026-06-18 19:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:31: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-06-18 19:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 19:31: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-06-18 19: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-06-18 19:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138532352001,"66":27397,"187":206,"85":37120,"24":29,"16":318881500453928960,"44":-4366310175806269440},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,44]} 
[2026-06-18 19:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138532352001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:31:01] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-06-18 19:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318881500453928960,"km_value":318881500453928.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366310175806269440,"description":"Unknown IO ID 44"} 
[2026-06-18 19:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138532352001,"power":27397,"unknown_187":206,"unknown_85":37120,"ignition":29,"odometer":null,"unknown_44":-4366310175806269440}} 
[2026-06-18 19:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":106877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:31:01] local.INFO: GPS data processed {"connection_id":106877,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:31:01] local.INFO: Acknowledgment sent {"connection_id":106877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:05] local.INFO: TCP Data received {"connection_id":106878,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106878,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:05] local.INFO: Processing buffer {"connection_id":106878,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:05] local.INFO: IMEI packet received {"connection_id":106878,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":106878,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:31:06] local.INFO: TCP Data received {"connection_id":106878,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb07bd10012d7d810005d28f10000601102a..."} 
[2026-06-18 19:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb07bd10012d7d810005d28f10000601102a..."} 
[2026-06-18 19:31:06] local.INFO: Processing buffer {"connection_id":106878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb07bd10012d7d810005d28f10000601102a..."} 
[2026-06-18 19:31:06] local.INFO: Packet analysis {"connection_id":106878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:31:06] local.INFO: Extracted packet for processing {"connection_id":106878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763199744,"raw_latitude":97685264,"longitude_deg":76.3199744,"latitude_deg":9.7685264,"altitude":6,"angle":272,"satellites":42,"speed":22,"hex_longitude":"2d7d8100","hex_latitude":"05d28f10","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138536192001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94068365127057408,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9053713019649847296,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] 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-06-18 19:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781791178000,"timestamp_ms":1781791178000,"timestamp_seconds":1781791178,"priority":1,"record_length":96,"hex_timestamp":"0000019edb07bd10"} 
[2026-06-18 19:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:31:06] 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-06-18 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":936748722660836352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674614456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2431647744,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6452531479921885160,"corrected_to":0} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182087975698688,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3269842027889498584,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194783232,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,116,85,24,241,157,16,50,158,28,45,192,144,2,43,10,66,49,206,145,42,128,1,240,223,227,219,210,4,113,205,9,21,176,39,239,46,78,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-6452531479921885160,"validated":0}]} 
[2026-06-18 19:31:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":360580612082106368,"timestamp_seconds":360580612082106.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:31:06] 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-06-18 19:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138536192001,"66":12037,"116":206,"85":15104,"24":22,"16":94068365127057408,"45":9053713019649847296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,85,24,16,45]} 
[2026-06-18 19:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138536192001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:31:06] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-06-18 19:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94068365127057408,"km_value":94068365127057.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9053713019649847296,"description":"Unknown IO ID 45"} 
[2026-06-18 19:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138536192001,"power":12037,"unknown_116":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9053713019649847296}} 
[2026-06-18 19:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":106878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346188,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:31:06] local.INFO: GPS data processed {"connection_id":106878,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:31:06] local.INFO: Acknowledgment sent {"connection_id":106878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:22] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb06af88012d19c300071ff3180035010c27..."} 
[2026-06-18 19:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb06af88012d19c300071ff3180035010c27..."} 
[2026-06-18 19:31:22] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb06af88012d19c300071ff3180035010c27..."} 
[2026-06-18 19:31:22] local.INFO: Packet analysis {"connection_id":106276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:31:22] local.INFO: Extracted packet for processing {"connection_id":106276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb06"} 
[2026-06-18 19:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119534360,"longitude_deg":75.666304,"latitude_deg":11.953436,"altitude":53,"angle":268,"satellites":39,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-06-18 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138518528001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370054678740992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502007572480,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791109000,"timestamp_ms":1781791109000,"timestamp_seconds":1781791109,"priority":1,"record_length":96,"hex_timestamp":"0000019edb06af88"} 
[2026-06-18 19:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674599456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4177068032,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":248,"raw_value":4278190080,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4073193524,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2147950579,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847783,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":12,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:22] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,249,11,45,128,243,53,41,10,66,3,192,242,251,1,240,47,248,219,31,4,113,205,244,201,32,43,239,49,2,7,52,12,231],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:31:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819347329220083712,"timestamp_seconds":3819347329220083.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138518528001,"66":12504,"121":206,"28":31744,"24":0,"16":3370054678740992,"45":1856327502007572480},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138518528001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:31:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:31:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370054678740992,"km_value":3370054678740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502007572480,"description":"Unknown IO ID 45"} 
[2026-06-18 19:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138518528001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856327502007572480}} 
[2026-06-18 19:31:22] local.INFO: DEBUG: GPS processor result {"connection_id":106276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:31:22] local.INFO: GPS data processed {"connection_id":106276,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:31:22] local.INFO: Acknowledgment sent {"connection_id":106276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:29] local.INFO: TCP Data received {"connection_id":106879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:29] local.INFO: Processing buffer {"connection_id":106879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:29] local.INFO: IMEI packet received {"connection_id":106879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":106879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:31:30] local.INFO: TCP Data received {"connection_id":106879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:30] local.INFO: Processing buffer {"connection_id":106879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:30] local.INFO: IMEI packet received {"connection_id":106879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:31:30] local.INFO: IMEI acknowledgment sent {"connection_id":106879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:31:33] local.INFO: TCP Data received {"connection_id":106880,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:31:33] local.INFO: Processing buffer {"connection_id":106880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:31:33] local.INFO: IMEI packet received {"connection_id":106880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:31:33] local.INFO: IMEI acknowledgment sent {"connection_id":106880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:31:34] local.INFO: TCP Data received {"connection_id":106879,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:34] local.INFO: Processing buffer {"connection_id":106879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:31:34] local.INFO: IMEI packet received {"connection_id":106879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":106879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:31:35] local.INFO: TCP Data received {"connection_id":106879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb088448012cc36b00076102180041000c2f..."} 
[2026-06-18 19:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb088448012cc36b00076102180041000c2f..."} 
[2026-06-18 19:31:35] local.INFO: Processing buffer {"connection_id":106879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb088448012cc36b00076102180041000c2f..."} 
[2026-06-18 19:31:35] local.INFO: Packet analysis {"connection_id":106879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:31:35] local.INFO: Extracted packet for processing {"connection_id":106879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:31:35] local.INFO: GPS Element Parsed {"raw_longitude":751004416,"raw_latitude":123798040,"longitude_deg":75.1004416,"latitude_deg":12.379804,"altitude":65,"angle":12,"satellites":47,"speed":55,"hex_longitude":"2cc36b00","hex_latitude":"07610218","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138552832001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318885262845280256,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4367858288161720320,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:35] 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-06-18 19:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781791229000,"timestamp_ms":1781791229000,"timestamp_seconds":1781791229,"priority":1,"record_length":96,"hex_timestamp":"0000019edb088448"} 
[2026-06-18 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-06-18 19:31: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-06-18 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 19:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 19:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:31:35] 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-06-18 19:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138552832001,"66":27343,"178":206,"85":37120,"24":55,"16":318885262845280256,"44":-4367858288161720320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-18 19:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138552832001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:31:35] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 19:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318885262845280256,"km_value":318885262845280.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4367858288161720320,"description":"Unknown IO ID 44"} 
[2026-06-18 19:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138552832001,"power":27343,"unknown_178":206,"unknown_85":37120,"ignition":55,"odometer":null,"unknown_44":-4367858288161720320}} 
[2026-06-18 19:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":106879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:31:35] local.INFO: GPS data processed {"connection_id":106879,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:31:35] local.INFO: Acknowledgment sent {"connection_id":106879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:37] local.INFO: TCP Data received {"connection_id":106878,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb080b30012d7d690005d28f800007010b26..."} 
[2026-06-18 19:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb080b30012d7d690005d28f800007010b26..."} 
[2026-06-18 19:31:37] local.INFO: Processing buffer {"connection_id":106878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb080b30012d7d690005d28f800007010b26..."} 
[2026-06-18 19:31:37] local.INFO: Packet analysis {"connection_id":106878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:31:37] local.INFO: Extracted packet for processing {"connection_id":106878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":763193600,"raw_latitude":97685376,"longitude_deg":76.31936,"latitude_deg":9.7685376,"altitude":7,"angle":267,"satellites":38,"speed":13,"hex_longitude":"2d7d6900","hex_latitude":"05d28f80","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138541568001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94068670069735424,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9043509551744094208,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] 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-06-18 19:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781791198000,"timestamp_ms":1781791198000,"timestamp_seconds":1781791198,"priority":1,"record_length":96,"hex_timestamp":"0000019edb080b30"} 
[2026-06-18 19:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":864691128622908416,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674632456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3741371814,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-3273641940075088857,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2427453440,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-6452531479921885160,"corrected_to":0} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3623955838,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":18,"raw_value":2147865232,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182087975698688,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194775040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,116,85,24,241,157,16,50,158,107,45,64,142,5,40,10,66,28,192,144,2,43,49,206,1,240,98,227,219,210,4,113,205,9,120,18,39,239,78,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":-6452531479921885160,"validated":0}]} 
[2026-06-18 19:31:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432644811780390912,"timestamp_seconds":432644811780390.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106878,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:31:37] 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-06-18 19:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138541568001,"66":11776,"115":206,"85":15104,"24":13,"16":94068670069735424,"45":9043509551744094208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,85,24,16,45]} 
[2026-06-18 19:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138541568001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:31:37] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-18 19:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94068670069735424,"km_value":94068670069735.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:31:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9043509551744094208,"description":"Unknown IO ID 45"} 
[2026-06-18 19:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138541568001,"power":11776,"unknown_115":206,"unknown_85":15104,"ignition":13,"odometer":null,"unknown_45":9043509551744094208}} 
[2026-06-18 19:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":106878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346191,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:31:37] local.INFO: GPS data processed {"connection_id":106878,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:31:37] local.INFO: Acknowledgment sent {"connection_id":106878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:37] local.INFO: TCP Data received {"connection_id":106879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb089fa0012cc37380076128280040000b2e..."} 
[2026-06-18 19:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb089fa0012cc37380076128280040000b2e..."} 
[2026-06-18 19:31:37] local.INFO: Processing buffer {"connection_id":106879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb089fa0012cc37380076128280040000b2e..."} 
[2026-06-18 19:31:37] local.INFO: Packet analysis {"connection_id":106879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:31:37] local.INFO: Extracted packet for processing {"connection_id":106879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":751006592,"raw_latitude":123807784,"longitude_deg":75.1006592,"latitude_deg":12.3807784,"altitude":64,"angle":11,"satellites":46,"speed":56,"hex_longitude":"2cc37380","hex_latitude":"07612828","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138554624001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318885748176584704,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4365395382113265664,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:37] 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-06-18 19:31:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781791236000,"timestamp_ms":1781791236000,"timestamp_seconds":1781791236,"priority":1,"record_length":96,"hex_timestamp":"0000019edb089fa0"} 
[2026-06-18 19:31:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:31:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 19:31: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-06-18 19: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-06-18 19:31:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:31:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:31:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:31:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:31:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:31:37] 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-06-18 19:31:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:31:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:31:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138554624001,"66":27517,"178":206,"85":37120,"24":56,"16":318885748176584704,"44":-4365395382113265664},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-18 19:31:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:31:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:31:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138554624001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:31:37] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 19:31:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:31:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318885748176584704,"km_value":318885748176584.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:31:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4365395382113265664,"description":"Unknown IO ID 44"} 
[2026-06-18 19:31:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138554624001,"power":27517,"unknown_178":206,"unknown_85":37120,"ignition":56,"odometer":null,"unknown_44":-4365395382113265664}} 
[2026-06-18 19:31:37] local.INFO: DEBUG: GPS processor result {"connection_id":106879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:31:37] local.INFO: GPS data processed {"connection_id":106879,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:31:37] local.INFO: Acknowledgment sent {"connection_id":106879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:38] local.INFO: TCP Data received {"connection_id":106880,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:31:38] local.INFO: Processing buffer {"connection_id":106880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:31:38] local.INFO: IMEI packet received {"connection_id":106880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":106880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:31:39] local.INFO: TCP Data received {"connection_id":106880,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:31:39] local.INFO: Processing buffer {"connection_id":106880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:31:39] local.INFO: Packet analysis {"connection_id":106880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:31:39] local.INFO: Extracted packet for processing {"connection_id":106880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:31:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":106880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:31:39] local.INFO: GPS data processed {"connection_id":106880,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:31:39] local.INFO: Acknowledgment sent {"connection_id":106880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:49] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:31:49] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:31:49] local.INFO: IMEI packet received {"connection_id":106277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":106277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:31:54] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:31:54] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:31:54] local.INFO: IMEI packet received {"connection_id":106277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":106277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:31:55] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb070190012d19c300071ff3180035010c25..."} 
[2026-06-18 19:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb070190012d19c300071ff3180035010c25..."} 
[2026-06-18 19:31:55] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb070190012d19c300071ff3180035010c25..."} 
[2026-06-18 19:31:55] local.INFO: Packet analysis {"connection_id":106277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:31:55] local.INFO: Extracted packet for processing {"connection_id":106277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:31:55] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119534360,"longitude_deg":75.666304,"latitude_deg":11.953436,"altitude":53,"angle":268,"satellites":37,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-06-18 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138523904001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370054678740992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502007572480,"note":"Value kept but may cause issues"} 
[2026-06-18 19:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781791130000,"timestamp_ms":1781791130000,"timestamp_seconds":1781791130,"priority":1,"record_length":96,"hex_timestamp":"0000019edb070190"} 
[2026-06-18 19:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19: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-06-18 19:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 19:31: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-06-18 19:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138523904001,"66":12461,"121":206,"28":31744,"24":0,"16":3370054678740992,"45":1856327502007572480},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138523904001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:31:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370054678740992,"km_value":3370054678740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502007572480,"description":"Unknown IO ID 45"} 
[2026-06-18 19:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138523904001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856327502007572480}} 
[2026-06-18 19:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":106277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:31:55] local.INFO: GPS data processed {"connection_id":106277,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:31:55] local.INFO: Acknowledgment sent {"connection_id":106277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:31:59] local.INFO: TCP Data received {"connection_id":106278,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:59] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:31:59] local.INFO: IMEI packet received {"connection_id":106278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":106278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:32:05] local.INFO: TCP Data received {"connection_id":106278,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:32:05] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:32:05] local.INFO: IMEI packet received {"connection_id":106278,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":106278,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:32:05] local.INFO: TCP Data received {"connection_id":106278,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb085d38012d7d460005d28fc8000801092a..."} 
[2026-06-18 19:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb085d38012d7d460005d28fc8000801092a..."} 
[2026-06-18 19:32:05] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb085d38012d7d460005d28fc8000801092a..."} 
[2026-06-18 19:32:05] local.INFO: Packet analysis {"connection_id":106278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:05] local.INFO: Extracted packet for processing {"connection_id":106278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:05] local.INFO: GPS Element Parsed {"raw_longitude":763184640,"raw_latitude":97685448,"longitude_deg":76.318464,"latitude_deg":9.7685448,"altitude":8,"angle":265,"satellites":42,"speed":9,"hex_longitude":"2d7d4600","hex_latitude":"05d28fc8","is_valid_coordinates":true} 
[2026-06-18 19:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138546688001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94069095271497728,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9036754152303067136,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791219000,"timestamp_ms":1781791219000,"timestamp_seconds":1781791219,"priority":1,"record_length":96,"hex_timestamp":"0000019edb085d38"} 
[2026-06-18 19:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:32:05] 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-06-18 19:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2147865232,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674634456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3741371814,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2447376384,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2792620238,"corrected_to":0} 
[2026-06-18 19:32:05] local.WARNING: Large IO value detected {"io_id":128,"raw_value":2818649470,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:05] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,115,85,24,241,157,16,50,158,189,45,143,6,42,10,66,116,107,64,142,5,40,28,192,1,240,76,227,49,219,210,4,113,205,23,128,176,239,2,78],"length":434,"final_offset":564,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2792620238,"validated":0}]} 
[2026-06-18 19:32:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504696891079720960,"timestamp_seconds":504696891079720.94,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:32:05] 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-06-18 19:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138546688001,"66":11798,"117":206,"85":15104,"24":9,"16":94069095271497728,"45":9036754152303067136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-18 19:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138546688001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:32:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 19:32:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94069095271497728,"km_value":94069095271497.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9036754152303067136,"description":"Unknown IO ID 45"} 
[2026-06-18 19:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138546688001,"power":11798,"unknown_117":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9036754152303067136}} 
[2026-06-18 19:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":106278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346195,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:32:05] local.INFO: GPS data processed {"connection_id":106278,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:32:05] local.INFO: Acknowledgment sent {"connection_id":106278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:32:08] local.INFO: TCP Data received {"connection_id":106879,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb08baf8012cc3794007614d70003f00012e..."} 
[2026-06-18 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb08baf8012cc3794007614d70003f00012e..."} 
[2026-06-18 19:32:08] local.INFO: Processing buffer {"connection_id":106879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb08baf8012cc3794007614d70003f00012e..."} 
[2026-06-18 19:32:08] local.INFO: Packet analysis {"connection_id":106879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:08] local.INFO: Extracted packet for processing {"connection_id":106879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:08] local.INFO: GPS Element Parsed {"raw_longitude":751008064,"raw_latitude":123817328,"longitude_deg":75.1008064,"latitude_deg":12.3817328,"altitude":63,"angle":1,"satellites":46,"speed":53,"hex_longitude":"2cc37940","hex_latitude":"07614d70","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138556416001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318886216328019968,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:08] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4363002844808730624,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:08] 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-06-18 19:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781791243000,"timestamp_ms":1781791243000,"timestamp_seconds":1781791243,"priority":1,"record_length":96,"hex_timestamp":"0000019edb08baf8"} 
[2026-06-18 19:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:32:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 19:32: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-06-18 19: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-06-18 19:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:32:08] 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-06-18 19:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138556416001,"66":27321,"178":206,"85":37120,"24":53,"16":318886216328019968,"44":-4363002844808730624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-18 19:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138556416001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:32:08] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 19:32:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318886216328019968,"km_value":318886216328019.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:32:08] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4363002844808730624,"description":"Unknown IO ID 44"} 
[2026-06-18 19:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138556416001,"power":27321,"unknown_178":206,"unknown_85":37120,"ignition":53,"odometer":null,"unknown_44":-4363002844808730624}} 
[2026-06-18 19:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":106879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:32:08] local.INFO: GPS data processed {"connection_id":106879,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:32:08] local.INFO: Acknowledgment sent {"connection_id":106879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:32:11] local.INFO: TCP Data received {"connection_id":106880,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:32:11] local.INFO: Processing buffer {"connection_id":106880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:32:11] local.INFO: Packet analysis {"connection_id":106880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:11] local.INFO: Extracted packet for processing {"connection_id":106880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:32:11] 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-06-18 19:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:32:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":106880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:32:11] local.INFO: GPS data processed {"connection_id":106880,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:32:11] local.INFO: Acknowledgment sent {"connection_id":106880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:32:21] local.INFO: TCP Data received {"connection_id":107832,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:21] local.INFO: Processing buffer {"connection_id":107832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:21] local.INFO: IMEI packet received {"connection_id":107832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":107832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:32:24] local.INFO: TCP Data received {"connection_id":107832,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:24] local.INFO: Processing buffer {"connection_id":107832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:24] local.INFO: IMEI packet received {"connection_id":107832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":107832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:32:26] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb075398012d19c300071ff3180035010c2a..."} 
[2026-06-18 19:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb075398012d19c300071ff3180035010c2a..."} 
[2026-06-18 19:32:26] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb075398012d19c300071ff3180035010c2a..."} 
[2026-06-18 19:32:26] local.INFO: Packet analysis {"connection_id":106277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:32:26] local.INFO: Extracted packet for processing {"connection_id":106277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119534360,"longitude_deg":75.666304,"latitude_deg":11.953436,"altitude":53,"angle":268,"satellites":42,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138529280001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370054678740992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502007572480,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781791151000,"timestamp_ms":1781791151000,"timestamp_seconds":1781791151,"priority":1,"record_length":96,"hex_timestamp":"0000019edb075398"} 
[2026-06-18 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-06-18 19:32:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:32:26] 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-06-18 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-06-18 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-06-18 19:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138529280001,"66":12385,"121":206,"28":31744,"24":0,"16":3370054678740992,"45":1856327502007572480},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138529280001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:32:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:32:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370054678740992,"km_value":3370054678740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502007572480,"description":"Unknown IO ID 45"} 
[2026-06-18 19:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138529280001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856327502007572480}} 
[2026-06-18 19:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":106277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346198,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:32:26] local.INFO: GPS data processed {"connection_id":106277,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:32:26] local.INFO: Acknowledgment sent {"connection_id":106277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:32:29] local.INFO: TCP Data received {"connection_id":107832,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:29] local.INFO: Processing buffer {"connection_id":107832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:32:29] local.INFO: IMEI packet received {"connection_id":107832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":107832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:32:30] local.INFO: TCP Data received {"connection_id":107832,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb08da38012cc3794007617458003e01672c..."} 
[2026-06-18 19:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb08da38012cc3794007617458003e01672c..."} 
[2026-06-18 19:32:30] local.INFO: Processing buffer {"connection_id":107832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb08da38012cc3794007617458003e01672c..."} 
[2026-06-18 19:32:30] local.INFO: Packet analysis {"connection_id":107832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:30] local.INFO: Extracted packet for processing {"connection_id":107832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:30] local.INFO: GPS Element Parsed {"raw_longitude":751008064,"raw_latitude":123827288,"longitude_deg":75.1008064,"latitude_deg":12.3827288,"altitude":62,"angle":359,"satellites":44,"speed":47,"hex_longitude":"2cc37940","hex_latitude":"07617458","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138558208001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318886697364357120,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361384363690201088,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:30] 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-06-18 19:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791251000,"timestamp_ms":1781791251000,"timestamp_seconds":1781791251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb08da38"} 
[2026-06-18 19:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":185,"data_length":795,"current_offset":136} 
[2026-06-18 19:32: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-06-18 19: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-06-18 19:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:32:30] 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-06-18 19:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138558208001,"66":27321,"178":206,"85":37120,"24":47,"16":318886697364357120,"44":-4361384363690201088},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-18 19:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138558208001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:32:30] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 19:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318886697364357120,"km_value":318886697364357.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361384363690201088,"description":"Unknown IO ID 44"} 
[2026-06-18 19:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138558208001,"power":27321,"unknown_178":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4361384363690201088}} 
[2026-06-18 19:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":107832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:32:30] local.INFO: GPS data processed {"connection_id":107832,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:32:30] local.INFO: Acknowledgment sent {"connection_id":107832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:32:33] local.INFO: TCP Data received {"connection_id":106103,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:32:33] local.INFO: Processing buffer {"connection_id":106103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:32:33] local.INFO: IMEI packet received {"connection_id":106103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":106103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:32:37] local.INFO: TCP Data received {"connection_id":106278,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0a0ae8012d7d35c005d27b78000801632a..."} 
[2026-06-18 19:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0a0ae8012d7d35c005d27b78000801632a..."} 
[2026-06-18 19:32:37] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0a0ae8012d7d35c005d27b78000801632a..."} 
[2026-06-18 19:32:37] local.INFO: Packet analysis {"connection_id":106278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:32:37] local.INFO: Extracted packet for processing {"connection_id":106278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":97680248,"longitude_deg":76.318048,"latitude_deg":9.7680248,"altitude":8,"angle":355,"satellites":42,"speed":5,"hex_longitude":"2d7d35c0","hex_latitude":"05d27b78","is_valid_coordinates":true} 
[2026-06-18 19:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138579712001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94069541948096512,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928489449472,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781791329000,"timestamp_ms":1781791329000,"timestamp_seconds":1781791329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0a0ae8"} 
[2026-06-18 19:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:32:37] 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-06-18 19:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106278,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:32:37] 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-06-18 19:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138579712001,"66":11624,"117":206,"85":15104,"24":5,"16":94069541948096512,"45":9022398928489449472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-18 19:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138579712001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:32:37] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 19:32:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94069541948096512,"km_value":94069541948096.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928489449472,"description":"Unknown IO ID 45"} 
[2026-06-18 19:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138579712001,"power":11624,"unknown_117":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9022398928489449472}} 
[2026-06-18 19:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":106278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346200,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:32:37] local.INFO: GPS data processed {"connection_id":106278,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:32:37] local.INFO: Acknowledgment sent {"connection_id":106278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:32:38] local.INFO: TCP Data received {"connection_id":106103,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:32:38] local.INFO: Processing buffer {"connection_id":106103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:32:38] local.INFO: IMEI packet received {"connection_id":106103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":106103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:32:39] local.INFO: TCP Data received {"connection_id":106103,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:32:39] local.INFO: Processing buffer {"connection_id":106103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:32:39] local.INFO: Packet analysis {"connection_id":106103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:39] local.INFO: Extracted packet for processing {"connection_id":106103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:32:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":106103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:32:39] local.INFO: GPS data processed {"connection_id":106103,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:32:39] local.INFO: Acknowledgment sent {"connection_id":106103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:32:44] local.INFO: TCP Data received {"connection_id":106881,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:32:44] local.INFO: Processing buffer {"connection_id":106881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:32:44] local.INFO: IMEI packet received {"connection_id":106881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:32:44] local.INFO: IMEI acknowledgment sent {"connection_id":106881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:32:49] local.INFO: TCP Data received {"connection_id":106881,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106881,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:32:49] local.INFO: Processing buffer {"connection_id":106881,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:32:49] local.INFO: IMEI packet received {"connection_id":106881,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":106881,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:32:50] local.INFO: TCP Data received {"connection_id":106881,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb07a5a0012d19c300071ff3180035010c26..."} 
[2026-06-18 19:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb07a5a0012d19c300071ff3180035010c26..."} 
[2026-06-18 19:32:50] local.INFO: Processing buffer {"connection_id":106881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb07a5a0012d19c300071ff3180035010c26..."} 
[2026-06-18 19:32:50] local.INFO: Packet analysis {"connection_id":106881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:32:50] local.INFO: Extracted packet for processing {"connection_id":106881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:32:50] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119534360,"longitude_deg":75.666304,"latitude_deg":11.953436,"altitude":53,"angle":268,"satellites":38,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-06-18 19:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:32:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138534656001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370054678740992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502007572480,"note":"Value kept but may cause issues"} 
[2026-06-18 19:32:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:32:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791172000,"timestamp_ms":1781791172000,"timestamp_seconds":1781791172,"priority":1,"record_length":96,"hex_timestamp":"0000019edb07a5a0"} 
[2026-06-18 19:32:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:32:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:32:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:32:50] 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-06-18 19:32:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:32:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:32:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:32:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:32:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:32:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:32:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:32:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:32:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:32:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138534656001,"66":12363,"121":206,"28":31744,"24":0,"16":3370054678740992,"45":1856327502007572480},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:32:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:32:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:32:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138534656001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:32:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:32:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:32:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370054678740992,"km_value":3370054678740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:32:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502007572480,"description":"Unknown IO ID 45"} 
[2026-06-18 19:32:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138534656001,"power":12363,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856327502007572480}} 
[2026-06-18 19:32:50] local.INFO: DEBUG: GPS processor result {"connection_id":106881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:32:50] local.INFO: GPS data processed {"connection_id":106881,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:32:50] local.INFO: Acknowledgment sent {"connection_id":106881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:32:59] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:32:59] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:32:59] local.INFO: IMEI packet received {"connection_id":106279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":106279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:33:00] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:33:00] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:33:00] local.INFO: IMEI packet received {"connection_id":106279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":106279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:33:01] local.INFO: TCP Data received {"connection_id":107832,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb08f978012cc37b0007619790003e00062d..."} 
[2026-06-18 19:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb08f978012cc37b0007619790003e00062d..."} 
[2026-06-18 19:33:01] local.INFO: Processing buffer {"connection_id":107832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb08f978012cc37b0007619790003e00062d..."} 
[2026-06-18 19:33:01] local.INFO: Packet analysis {"connection_id":107832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:01] local.INFO: Extracted packet for processing {"connection_id":107832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:01] local.INFO: GPS Element Parsed {"raw_longitude":751008512,"raw_latitude":123836304,"longitude_deg":75.1008512,"latitude_deg":12.3836304,"altitude":62,"angle":6,"satellites":45,"speed":41,"hex_longitude":"2cc37b00","hex_latitude":"07619790","is_valid_coordinates":true} 
[2026-06-18 19:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138560256001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318887135451021312,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4361384363687651328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:01] 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-06-18 19:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791259000,"timestamp_ms":1781791259000,"timestamp_seconds":1781791259,"priority":1,"record_length":96,"hex_timestamp":"0000019edb08f978"} 
[2026-06-18 19:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33: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-06-18 19:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 19:33: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-06-18 19:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138560256001,"66":27484,"178":206,"85":37120,"24":41,"16":318887135451021312,"44":-4361384363687651328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,85,24,16,44]} 
[2026-06-18 19:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138560256001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:01] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-06-18 19:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318887135451021312,"km_value":318887135451021.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4361384363687651328,"description":"Unknown IO ID 44"} 
[2026-06-18 19:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138560256001,"power":27484,"unknown_178":206,"unknown_85":37120,"ignition":41,"odometer":null,"unknown_44":-4361384363687651328}} 
[2026-06-18 19:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":107832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:02] local.INFO: GPS data processed {"connection_id":107832,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:02] local.INFO: Acknowledgment sent {"connection_id":107832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:08] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:33:08] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:33:08] local.INFO: IMEI packet received {"connection_id":106279,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":106279,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:33:09] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0a0ed0012d7d35c005d27c100009000c2b..."} 
[2026-06-18 19:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0a0ed0012d7d35c005d27c100009000c2b..."} 
[2026-06-18 19:33:09] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0a0ed0012d7d35c005d27c100009000c2b..."} 
[2026-06-18 19:33:09] local.INFO: Packet analysis {"connection_id":106279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:33:09] local.INFO: Extracted packet for processing {"connection_id":106279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":763180480,"raw_latitude":97680400,"longitude_deg":76.318048,"latitude_deg":9.76804,"altitude":9,"angle":12,"satellites":43,"speed":5,"hex_longitude":"2d7d35c0","hex_latitude":"05d27c10","is_valid_coordinates":true} 
[2026-06-18 19:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138580224001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94069550538031104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559745333248,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781791330000,"timestamp_ms":1781791330000,"timestamp_seconds":1781791330,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0a0ed0"} 
[2026-06-18 19:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 19:33:09] 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-06-18 19:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:33:09] 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-06-18 19:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138580224001,"66":11624,"117":206,"85":15104,"24":5,"16":94069550538031104,"45":9022328559745333248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-18 19:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138580224001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:09] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 19:33:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94069550538031104,"km_value":94069550538031.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559745333248,"description":"Unknown IO ID 45"} 
[2026-06-18 19:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138580224001,"power":11624,"unknown_117":206,"unknown_85":15104,"ignition":5,"odometer":null,"unknown_45":9022328559745333248}} 
[2026-06-18 19:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":106279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346204,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:09] local.INFO: GPS data processed {"connection_id":106279,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:09] local.INFO: Acknowledgment sent {"connection_id":106279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:11] local.INFO: TCP Data received {"connection_id":106103,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:11] local.INFO: Processing buffer {"connection_id":106103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:11] local.INFO: Packet analysis {"connection_id":106103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:11] local.INFO: Extracted packet for processing {"connection_id":106103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:33:11] 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-06-18 19:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":106103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:11] local.INFO: GPS data processed {"connection_id":106103,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:11] local.INFO: Acknowledgment sent {"connection_id":106103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:21] local.INFO: TCP Data received {"connection_id":106881,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb07f7a8012d19c300071ff3180035010c29..."} 
[2026-06-18 19:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb07f7a8012d19c300071ff3180035010c29..."} 
[2026-06-18 19:33:21] local.INFO: Processing buffer {"connection_id":106881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb07f7a8012d19c300071ff3180035010c29..."} 
[2026-06-18 19:33:21] local.INFO: Packet analysis {"connection_id":106881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:33:21] local.INFO: Extracted packet for processing {"connection_id":106881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb07"} 
[2026-06-18 19:33:21] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119534360,"longitude_deg":75.666304,"latitude_deg":11.953436,"altitude":53,"angle":268,"satellites":41,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-06-18 19:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138540032001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370054678740992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502007572480,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781791193000,"timestamp_ms":1781791193000,"timestamp_seconds":1781791193,"priority":1,"record_length":96,"hex_timestamp":"0000019edb07f7a8"} 
[2026-06-18 19:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:33:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 19:33:21] 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-06-18 19:33:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106881,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:33:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138540032001,"66":12287,"121":206,"28":31744,"24":0,"16":3370054678740992,"45":1856327502007572480},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:33:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:33:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:33:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138540032001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:33:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:33:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370054678740992,"km_value":3370054678740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502007572480,"description":"Unknown IO ID 45"} 
[2026-06-18 19:33:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138540032001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856327502007572480}} 
[2026-06-18 19:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":106881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:21] local.INFO: GPS data processed {"connection_id":106881,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:21] local.INFO: Acknowledgment sent {"connection_id":106881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:24] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:24] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:24] local.INFO: IMEI packet received {"connection_id":106104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":106104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:33:25] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:25] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:25] local.INFO: IMEI packet received {"connection_id":106104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":106104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:33:28] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:28] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:33:28] local.INFO: IMEI packet received {"connection_id":106104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:33:28] local.INFO: IMEI acknowledgment sent {"connection_id":106104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:33:28] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0a4968012cc37a000762e120004b014c2e..."} 
[2026-06-18 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0a4968012cc37a000762e120004b014c2e..."} 
[2026-06-18 19:33:28] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0a4968012cc37a000762e120004b014c2e..."} 
[2026-06-18 19:33:28] local.INFO: Packet analysis {"connection_id":106104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:33:28] local.INFO: Extracted packet for processing {"connection_id":106104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:33:28] local.INFO: GPS Element Parsed {"raw_longitude":751008256,"raw_latitude":123920672,"longitude_deg":75.1008256,"latitude_deg":12.3920672,"altitude":75,"angle":332,"satellites":46,"speed":59,"hex_longitude":"2cc37a00","hex_latitude":"0762e120","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138582784001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318891365993807872,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4357373345247750144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:28] 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-06-18 19:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781791345000,"timestamp_ms":1781791345000,"timestamp_seconds":1781791345,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0a4968"} 
[2026-06-18 19:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33: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-06-18 19: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":185,"data_length":795,"current_offset":136} 
[2026-06-18 19:33: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-06-18 19: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-06-18 19:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:33:28] 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-06-18 19:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138582784001,"66":27463,"2":206,"85":37120,"24":59,"16":318891365993807872,"44":-4357373345247750144},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,85,24,16,44]} 
[2026-06-18 19:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138582784001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318891365993807872,"km_value":318891365993807.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4357373345247750144,"description":"Unknown IO ID 44"} 
[2026-06-18 19:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138582784001,"power":27463,"power_alt":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4357373345247750144}} 
[2026-06-18 19:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":106104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:28] local.INFO: GPS data processed {"connection_id":106104,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:28] local.INFO: Acknowledgment sent {"connection_id":106104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:38] local.INFO: TCP Data received {"connection_id":107833,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:33:38] local.INFO: Processing buffer {"connection_id":107833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:33:38] local.INFO: IMEI packet received {"connection_id":107833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":107833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:33:40] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0a60d8012d7d388005d28d980009001b2b..."} 
[2026-06-18 19:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0a60d8012d7d388005d28d980009001b2b..."} 
[2026-06-18 19:33:40] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0a60d8012d7d388005d28d980009001b2b..."} 
[2026-06-18 19:33:40] local.INFO: Packet analysis {"connection_id":106279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:33:40] local.INFO: Extracted packet for processing {"connection_id":106279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:33:40] local.INFO: GPS Element Parsed {"raw_longitude":763181184,"raw_latitude":97684888,"longitude_deg":76.3181184,"latitude_deg":9.7684888,"altitude":9,"angle":27,"satellites":43,"speed":7,"hex_longitude":"2d7d3880","hex_latitude":"05d28d98","is_valid_coordinates":true} 
[2026-06-18 19:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138580480001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94069773876330496,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559745372160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781791351000,"timestamp_ms":1781791351000,"timestamp_seconds":1781791351,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0a60d8"} 
[2026-06-18 19:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:33:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 19:33:40] 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-06-18 19:33:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106279,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:33:40] 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-06-18 19:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138580480001,"66":11634,"117":206,"85":15104,"24":7,"16":94069773876330496,"45":9022328559745372160},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-18 19:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138580480001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:40] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 19:33:40] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94069773876330496,"km_value":94069773876330.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559745372160,"description":"Unknown IO ID 45"} 
[2026-06-18 19:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138580480001,"power":11634,"unknown_117":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9022328559745372160}} 
[2026-06-18 19:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":106279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346208,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:40] local.INFO: GPS data processed {"connection_id":106279,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:40] local.INFO: Acknowledgment sent {"connection_id":106279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:43] local.INFO: TCP Data received {"connection_id":107833,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:33:43] local.INFO: Processing buffer {"connection_id":107833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:33:43] local.INFO: IMEI packet received {"connection_id":107833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":107833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:33:44] local.INFO: TCP Data received {"connection_id":106280,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:33:44] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:33:44] local.INFO: IMEI packet received {"connection_id":106280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":106280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:33:45] local.INFO: TCP Data received {"connection_id":107833,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:45] local.INFO: Processing buffer {"connection_id":107833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:45] local.INFO: Packet analysis {"connection_id":107833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:45] local.INFO: Extracted packet for processing {"connection_id":107833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:33:45] 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-06-18 19:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:33:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":107833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:45] local.INFO: GPS data processed {"connection_id":107833,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:45] local.INFO: Acknowledgment sent {"connection_id":107833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:49] local.INFO: TCP Data received {"connection_id":107833,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:49] local.INFO: Processing buffer {"connection_id":107833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:33:49] local.INFO: Packet analysis {"connection_id":107833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:49] local.INFO: Extracted packet for processing {"connection_id":107833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:33:49] 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-06-18 19:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:33:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":107833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:49] local.INFO: GPS data processed {"connection_id":107833,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:49] local.INFO: Acknowledgment sent {"connection_id":107833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:49] local.INFO: TCP Data received {"connection_id":106280,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:33:49] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:33:49] local.INFO: IMEI packet received {"connection_id":106280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":106280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:33:51] local.INFO: TCP Data received {"connection_id":106280,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0849b0012d19c300071ff3180035010c28..."} 
[2026-06-18 19:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0849b0012d19c300071ff3180035010c28..."} 
[2026-06-18 19:33:51] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0849b0012d19c300071ff3180035010c28..."} 
[2026-06-18 19:33:51] local.INFO: Packet analysis {"connection_id":106280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:51] local.INFO: Extracted packet for processing {"connection_id":106280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:33:51] local.INFO: GPS Element Parsed {"raw_longitude":756663040,"raw_latitude":119534360,"longitude_deg":75.666304,"latitude_deg":11.953436,"altitude":53,"angle":268,"satellites":40,"speed":0,"hex_longitude":"2d19c300","hex_latitude":"071ff318","is_valid_coordinates":true} 
[2026-06-18 19:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:33:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138545408001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370054678740992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856327502007572480,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:33:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781791214000,"timestamp_ms":1781791214000,"timestamp_seconds":1781791214,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0849b0"} 
[2026-06-18 19:33:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:33:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-06-18 19:33:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2728,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:33:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:33:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:33:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:33:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:33:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:33:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:33:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138545408001,"66":12298,"121":206,"28":31744,"24":0,"16":3370054678740992,"45":1856327502007572480},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:33:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:33:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:33:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138545408001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:33:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:33:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370054678740992,"km_value":3370054678740.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856327502007572480,"description":"Unknown IO ID 45"} 
[2026-06-18 19:33:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138545408001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1856327502007572480}} 
[2026-06-18 19:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":106280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:51] local.INFO: GPS data processed {"connection_id":106280,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:51] local.INFO: Acknowledgment sent {"connection_id":106280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:33:59] local.INFO: TCP Data received {"connection_id":106104,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0addd8012cc2d7c0076352800054015e2f..."} 
[2026-06-18 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0addd8012cc2d7c0076352800054015e2f..."} 
[2026-06-18 19:33:59] local.INFO: Processing buffer {"connection_id":106104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0addd8012cc2d7c0076352800054015e2f..."} 
[2026-06-18 19:33:59] local.INFO: Packet analysis {"connection_id":106104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:33:59] local.INFO: Extracted packet for processing {"connection_id":106104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:33:59] local.INFO: GPS Element Parsed {"raw_longitude":750966720,"raw_latitude":123949696,"longitude_deg":75.096672,"latitude_deg":12.3949696,"altitude":84,"angle":350,"satellites":47,"speed":59,"hex_longitude":"2cc2d7c0","hex_latitude":"07635280","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138592512001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318894071823204352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33:59] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4404731510072039424,"note":"Value kept but may cause issues"} 
[2026-06-18 19:33: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-06-18 19:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781791383000,"timestamp_ms":1781791383000,"timestamp_seconds":1781791383,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0addd8"} 
[2026-06-18 19:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:33: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-06-18 19: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":92,"data_length":795,"current_offset":136} 
[2026-06-18 19:33: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-06-18 19: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-06-18 19:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:33: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-06-18 19:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138592512001,"66":27365,"158":206,"85":37120,"24":59,"16":318894071823204352,"44":-4404731510072039424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-06-18 19:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138592512001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:33:59] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 19:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318894071823204352,"km_value":318894071823204.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:33:59] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4404731510072039424,"description":"Unknown IO ID 44"} 
[2026-06-18 19:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138592512001,"power":27365,"unknown_158":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4404731510072039424}} 
[2026-06-18 19:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":106104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:33:59] local.INFO: GPS data processed {"connection_id":106104,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:33:59] local.INFO: Acknowledgment sent {"connection_id":106104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:34:00] local.INFO: TCP Data received {"connection_id":106882,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:00] local.INFO: Processing buffer {"connection_id":106882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:00] local.INFO: IMEI packet received {"connection_id":106882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":106882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:34:00] local.INFO: TCP Data received {"connection_id":106882,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:00] local.INFO: Processing buffer {"connection_id":106882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:00] local.INFO: IMEI packet received {"connection_id":106882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":106882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:34:04] local.INFO: TCP Data received {"connection_id":106882,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106882,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:04] local.INFO: Processing buffer {"connection_id":106882,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:34:04] local.INFO: IMEI packet received {"connection_id":106882,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":106882,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:34:05] local.INFO: TCP Data received {"connection_id":106882,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0a8018012d7d3b4005d293c8000a000a2c..."} 
[2026-06-18 19:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0a8018012d7d3b4005d293c8000a000a2c..."} 
[2026-06-18 19:34:05] local.INFO: Processing buffer {"connection_id":106882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0a8018012d7d3b4005d293c8000a000a2c..."} 
[2026-06-18 19:34:05] local.INFO: Packet analysis {"connection_id":106882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:34:05] local.INFO: Extracted packet for processing {"connection_id":106882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763181888,"raw_latitude":97686472,"longitude_deg":76.3181888,"latitude_deg":9.7686472,"altitude":10,"angle":10,"satellites":44,"speed":7,"hex_longitude":"2d7d3b40","hex_latitude":"05d293c8","is_valid_coordinates":true} 
[2026-06-18 19:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138585856001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94069859775676416,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023102615932475392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791359000,"timestamp_ms":1781791359000,"timestamp_seconds":1781791359,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0a8018"} 
[2026-06-18 19:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:34:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 19:34:05] 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-06-18 19:34:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:34:05] 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-06-18 19:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138585856001,"66":11852,"117":206,"85":15104,"24":7,"16":94069859775676416,"45":9023102615932475392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,85,24,16,45]} 
[2026-06-18 19:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138585856001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:34:05] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-06-18 19:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94069859775676416,"km_value":94069859775676.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023102615932475392,"description":"Unknown IO ID 45"} 
[2026-06-18 19:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138585856001,"power":11852,"unknown_117":206,"unknown_85":15104,"ignition":7,"odometer":null,"unknown_45":9023102615932475392}} 
[2026-06-18 19:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":106882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346213,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:34:05] local.INFO: GPS data processed {"connection_id":106882,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:34:05] local.INFO: Acknowledgment sent {"connection_id":106882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:34:22] local.INFO: TCP Data received {"connection_id":106280,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0b5ad8012d19a400071ff1c0003d00ef2a..."} 
[2026-06-18 19:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0b5ad8012d19a400071ff1c0003d00ef2a..."} 
[2026-06-18 19:34:22] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0b5ad8012d19a400071ff1c0003d00ef2a..."} 
[2026-06-18 19:34:22] local.INFO: Packet analysis {"connection_id":106280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:22] local.INFO: Extracted packet for processing {"connection_id":106280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756655104,"raw_latitude":119534016,"longitude_deg":75.6655104,"latitude_deg":11.9534016,"altitude":61,"angle":239,"satellites":42,"speed":11,"hex_longitude":"2d19a400","hex_latitude":"071ff1c0","is_valid_coordinates":true} 
[2026-06-18 19:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138601984001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370445520764928,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847883252706195456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791415000,"timestamp_ms":1781791415000,"timestamp_seconds":1781791415,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0b5ad8"} 
[2026-06-18 19:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-06-18 19:34:22] 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-06-18 19:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138601984001,"66":13580,"121":206,"28":31744,"24":11,"16":3370445520764928,"45":1847883252706195456},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138601984001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:34:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:34:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370445520764928,"km_value":3370445520764.928,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847883252706195456,"description":"Unknown IO ID 45"} 
[2026-06-18 19:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138601984001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1847883252706195456}} 
[2026-06-18 19:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":106280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:34:22] local.INFO: GPS data processed {"connection_id":106280,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:34:22] local.INFO: Acknowledgment sent {"connection_id":106280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:34:24] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:34:24] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:34:24] local.INFO: IMEI packet received {"connection_id":106281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":106281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:34:31] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.37","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 19:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 19:34:31] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-06-18 19:34:31] local.INFO: IMEI packet received {"connection_id":106281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":106281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:34:32] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0af548012cc2d34007637588005301642f..."} 
[2026-06-18 19:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0af548012cc2d34007637588005301642f..."} 
[2026-06-18 19:34:32] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019edb..."} 
[2026-06-18 19:34:32] local.INFO: IMEI packet received {"connection_id":106281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:34:32] local.INFO: IMEI acknowledgment sent {"connection_id":106281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:34:33] local.INFO: TCP Data received {"connection_id":107834,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:34:33] local.INFO: Processing buffer {"connection_id":107834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:34:33] local.INFO: IMEI packet received {"connection_id":107834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":107834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:34:33] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0b10a0012cc2d44007639d40005200062f..."} 
[2026-06-18 19:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0b10a0012cc2d44007639d40005200062f..."} 
[2026-06-18 19:34:33] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019edb0af548012cc2d34007637588005301642f..."} 
[2026-06-18 19:34:33] local.INFO: Packet analysis {"connection_id":106281,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:34:33] local.INFO: Extracted packet for processing {"connection_id":106281,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0a"} 
[2026-06-18 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":750965568,"raw_latitude":123958664,"longitude_deg":75.0965568,"latitude_deg":12.3958664,"altitude":83,"angle":356,"satellites":47,"speed":58,"hex_longitude":"2cc2d340","hex_latitude":"07637588","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138594048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318894509909868544,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4406842572395085824,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:33] 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-06-18 19:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781791389000,"timestamp_ms":1781791389000,"timestamp_seconds":1781791389,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0af548"} 
[2026-06-18 19:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":229,"data_length":795,"current_offset":136} 
[2026-06-18 19:34: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-06-18 19: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-06-18 19:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138594048001,"66":27397,"158":206,"85":37120,"24":58,"16":318894509909868544,"44":-4406842572395085824},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-06-18 19:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138594048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:34:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 19:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318894509909868544,"km_value":318894509909868.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:34:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4406842572395085824,"description":"Unknown IO ID 44"} 
[2026-06-18 19:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138594048001,"power":27397,"unknown_158":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4406842572395085824}} 
[2026-06-18 19:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":106281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:34:33] local.INFO: GPS data processed {"connection_id":106281,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:34:33] local.INFO: Acknowledgment sent {"connection_id":106281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:34:33] local.INFO: Packet analysis {"connection_id":106281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:33] local.INFO: Extracted packet for processing {"connection_id":106281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":750965824,"raw_latitude":123968832,"longitude_deg":75.0965824,"latitude_deg":12.3968832,"altitude":82,"angle":6,"satellites":47,"speed":59,"hex_longitude":"2cc2d440","hex_latitude":"07639d40","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138595584001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318895003831107584,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408109209787987968,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:33] 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-06-18 19:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781791396000,"timestamp_ms":1781791396000,"timestamp_seconds":1781791396,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0b10a0"} 
[2026-06-18 19:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":5,"data_length":795,"current_offset":136} 
[2026-06-18 19:34: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-06-18 19: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-06-18 19:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138595584001,"66":27376,"158":206,"85":37120,"24":59,"16":318895003831107584,"44":-4408109209787987968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-06-18 19:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138595584001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:34:33] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 19:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318895003831107584,"km_value":318895003831107.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:34:33] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408109209787987968,"description":"Unknown IO ID 44"} 
[2026-06-18 19:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138595584001,"power":27376,"unknown_158":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4408109209787987968}} 
[2026-06-18 19:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":106281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:34:33] local.INFO: GPS data processed {"connection_id":106281,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:34:33] local.INFO: Acknowledgment sent {"connection_id":106281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:34:34] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0b2810012cc2db400763c0600051001030..."} 
[2026-06-18 19:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0b2810012cc2db400763c0600051001030..."} 
[2026-06-18 19:34:34] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0b2810012cc2db400763c0600051001030..."} 
[2026-06-18 19:34:34] local.INFO: Packet analysis {"connection_id":106281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:34] local.INFO: Extracted packet for processing {"connection_id":106281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:34] local.INFO: GPS Element Parsed {"raw_longitude":750967616,"raw_latitude":123977824,"longitude_deg":75.0967616,"latitude_deg":12.3977824,"altitude":81,"angle":16,"satellites":48,"speed":60,"hex_longitude":"2cc2db40","hex_latitude":"0763c060","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138597376001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318895446212739072,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4407827734808674304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:34] 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-06-18 19:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781791402000,"timestamp_ms":1781791402000,"timestamp_seconds":1781791402,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0b2810"} 
[2026-06-18 19:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 19:34: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-06-18 19: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-06-18 19:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:34:34] 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-06-18 19:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138597376001,"66":27484,"158":206,"85":37120,"24":60,"16":318895446212739072,"44":-4407827734808674304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-06-18 19:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138597376001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:34:34] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 19:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318895446212739072,"km_value":318895446212739.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4407827734808674304,"description":"Unknown IO ID 44"} 
[2026-06-18 19:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138597376001,"power":27484,"unknown_158":206,"unknown_85":37120,"ignition":60,"odometer":null,"unknown_44":-4407827734808674304}} 
[2026-06-18 19:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":106281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:34:34] local.INFO: GPS data processed {"connection_id":106281,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:34:34] local.INFO: Acknowledgment sent {"connection_id":106281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:34:36] local.INFO: TCP Data received {"connection_id":106882,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0bef48012d7d3a8005d402600000000419..."} 
[2026-06-18 19:34:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0bef48012d7d3a8005d402600000000419..."} 
[2026-06-18 19:34:36] local.INFO: Processing buffer {"connection_id":106882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0bef48012d7d3a8005d402600000000419..."} 
[2026-06-18 19:34:36] local.INFO: Packet analysis {"connection_id":106882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:36] local.INFO: Extracted packet for processing {"connection_id":106882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":97780320,"longitude_deg":76.3181696,"latitude_deg":9.778032,"altitude":0,"angle":4,"satellites":25,"speed":50,"hex_longitude":"2d7d3a80","hex_latitude":"05d40260","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:34:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138610176001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94074416735977472,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140977915904,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:36] 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-06-18 19:34:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781791453000,"timestamp_ms":1781791453000,"timestamp_seconds":1781791453,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0bef48"} 
[2026-06-18 19:34:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:34:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 19:34:36] 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-06-18 19: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-06-18 19:34:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:34:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:34:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:34:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:34:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106882,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:34:36] 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-06-18 19:34:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:34:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:34:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138610176001,"66":11765,"81":206,"85":15104,"24":50,"16":94074416735977472,"45":9022821140977915904},"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-06-18 19:34:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:34:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:34:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138610176001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:34:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 19:34:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:34:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94074416735977472,"km_value":94074416735977.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:34:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140977915904,"description":"Unknown IO ID 45"} 
[2026-06-18 19:34:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138610176001,"power":11765,"unknown_81":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9022821140977915904}} 
[2026-06-18 19:34:36] local.INFO: DEBUG: GPS processor result {"connection_id":106882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:34:36] local.INFO: GPS data processed {"connection_id":106882,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:34:36] local.INFO: Acknowledgment sent {"connection_id":106882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:34:38] local.INFO: TCP Data received {"connection_id":107834,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:34:38] local.INFO: Processing buffer {"connection_id":107834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:34:38] local.INFO: IMEI packet received {"connection_id":107834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":107834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:34:39] local.INFO: TCP Data received {"connection_id":107834,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:34:39] local.INFO: Processing buffer {"connection_id":107834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:34:39] local.INFO: Packet analysis {"connection_id":107834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:34:39] local.INFO: Extracted packet for processing {"connection_id":107834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:34:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":107834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:34:39] local.INFO: GPS data processed {"connection_id":107834,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:34:39] local.INFO: Acknowledgment sent {"connection_id":107834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:34:44] local.INFO: TCP Data received {"connection_id":106883,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:34:44] local.INFO: Processing buffer {"connection_id":106883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:34:44] local.INFO: IMEI packet received {"connection_id":106883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":106883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:34:49] local.INFO: TCP Data received {"connection_id":106883,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:34:49] local.INFO: Processing buffer {"connection_id":106883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:34:49] local.INFO: IMEI packet received {"connection_id":106883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":106883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:34:50] local.INFO: TCP Data received {"connection_id":106883,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0b6690012d19a040071ff038003f01052a..."} 
[2026-06-18 19:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0b6690012d19a040071ff038003f01052a..."} 
[2026-06-18 19:34:50] local.INFO: Processing buffer {"connection_id":106883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0b6690012d19a040071ff038003f01052a..."} 
[2026-06-18 19:34:50] local.INFO: Packet analysis {"connection_id":106883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:50] local.INFO: Extracted packet for processing {"connection_id":106883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756654144,"raw_latitude":119533624,"longitude_deg":75.6654144,"latitude_deg":11.9533624,"altitude":63,"angle":261,"satellites":42,"speed":13,"hex_longitude":"2d19a040","hex_latitude":"071ff038","is_valid_coordinates":true} 
[2026-06-18 19:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138602240001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3370497060372480,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847601777729454080,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791418000,"timestamp_ms":1781791418000,"timestamp_seconds":1781791418,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0b6690"} 
[2026-06-18 19:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867788793,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3674935456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":874824227616718858,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4026531895,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18634974052607865,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":20,"raw_value":2281778457,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3221692402,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3691040231,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4178640896,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-4395505402509787083,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917522506370588,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-18 19:34:50] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,121,28,24,241,158,16,249,86,45,242,61,41,10,66,83,128,71,64,1,240,214,219,31,4,113,205,20,193,48,40,239,51,2,11,7,54,25,53,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:34:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395776199981989888,"timestamp_seconds":4395776199981990.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138602240001,"66":13559,"121":206,"28":31744,"24":13,"16":3370497060372480,"45":1847601777729454080},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138602240001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:34:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:34:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3370497060372480,"km_value":3370497060372.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847601777729454080,"description":"Unknown IO ID 45"} 
[2026-06-18 19:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138602240001,"power":13559,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1847601777729454080}} 
[2026-06-18 19:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":106883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:34:51] local.INFO: GPS data processed {"connection_id":106883,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:34:51] local.INFO: Acknowledgment sent {"connection_id":106883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:35:00] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:35:00] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:35:00] local.INFO: IMEI packet received {"connection_id":106282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":106282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:35:04] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:35:04] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:35:04] local.INFO: IMEI packet received {"connection_id":106282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":106282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:35:05] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0b3f80012cc2e7400763e1c8005000122d..."} 
[2026-06-18 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0b3f80012cc2e7400763e1c8005000122d..."} 
[2026-06-18 19:35:05] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0b3f80012cc2e7400763e1c8005000122d..."} 
[2026-06-18 19:35:05] local.INFO: Packet analysis {"connection_id":106281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:35:05] local.INFO: Extracted packet for processing {"connection_id":106281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0b"} 
[2026-06-18 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":750970688,"raw_latitude":123986376,"longitude_deg":75.0970688,"latitude_deg":12.3986376,"altitude":80,"angle":18,"satellites":45,"speed":59,"hex_longitude":"2cc2e740","hex_latitude":"0763e1c8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138598912001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318895888594370560,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4405857409969397760,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:05] 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-06-18 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791408000,"timestamp_ms":1781791408000,"timestamp_seconds":1781791408,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0b3f80"} 
[2026-06-18 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:35:05] 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-06-18 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-06-18 19:35: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-06-18 19: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-06-18 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138598912001,"66":27463,"158":206,"85":37120,"24":59,"16":318895888594370560,"44":-4405857409969397760},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,85,24,16,44]} 
[2026-06-18 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138598912001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:35:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 19:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318895888594370560,"km_value":318895888594370.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4405857409969397760,"description":"Unknown IO ID 44"} 
[2026-06-18 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138598912001,"power":27463,"unknown_158":206,"unknown_85":37120,"ignition":59,"odometer":null,"unknown_44":-4405857409969397760}} 
[2026-06-18 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":106281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:35:05] local.INFO: GPS data processed {"connection_id":106281,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:35:05] local.INFO: Acknowledgment sent {"connection_id":106281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:35:05] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c0e88012d7d3d8005d428b8000000041b..."} 
[2026-06-18 19:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c0e88012d7d3d8005d428b8000000041b..."} 
[2026-06-18 19:35:05] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c0e88012d7d3d8005d428b8000000041b..."} 
[2026-06-18 19:35:05] local.INFO: Packet analysis {"connection_id":106282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:05] local.INFO: Extracted packet for processing {"connection_id":106282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":97790136,"longitude_deg":76.3182464,"latitude_deg":9.7790136,"altitude":0,"angle":4,"satellites":27,"speed":47,"hex_longitude":"2d7d3d80","hex_latitude":"05d428b8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138611968001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94074893477347328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565910327296,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:05] 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-06-18 19:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791461000,"timestamp_ms":1781791461000,"timestamp_seconds":1781791461,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c0e88"} 
[2026-06-18 19:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:35:05] 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-06-18 19: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 19:35:05] 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-06-18 19: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-06-18 19:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:35:05] 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-06-18 19:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138611968001,"66":11765,"81":206,"85":15104,"24":47,"16":94074893477347328,"45":9023665565910327296},"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-06-18 19:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138611968001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:35:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 19:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94074893477347328,"km_value":94074893477347.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565910327296,"description":"Unknown IO ID 45"} 
[2026-06-18 19:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138611968001,"power":11765,"unknown_81":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":9023665565910327296}} 
[2026-06-18 19:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":106282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346222,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:35:05] local.INFO: GPS data processed {"connection_id":106282,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:35:05] local.INFO: Acknowledgment sent {"connection_id":106282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:35:11] local.INFO: TCP Data received {"connection_id":107834,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:35:11] local.INFO: Processing buffer {"connection_id":107834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:35:11] local.INFO: Packet analysis {"connection_id":107834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:35:11] local.INFO: Extracted packet for processing {"connection_id":107834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:35:11] 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-06-18 19:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:35:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":107834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:35:11] local.INFO: GPS data processed {"connection_id":107834,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:35:11] local.INFO: Acknowledgment sent {"connection_id":107834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:35:22] local.INFO: TCP Data received {"connection_id":106883,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c54d8012d194000071ffb70003d010028..."} 
[2026-06-18 19:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c54d8012d194000071ffb70003d010028..."} 
[2026-06-18 19:35:22] local.INFO: Processing buffer {"connection_id":106883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c54d8012d194000071ffb70003d010028..."} 
[2026-06-18 19:35:22] local.INFO: Packet analysis {"connection_id":106883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:22] local.INFO: Extracted packet for processing {"connection_id":106883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:22] local.INFO: GPS Element Parsed {"raw_longitude":756629504,"raw_latitude":119536496,"longitude_deg":75.6629504,"latitude_deg":11.9536496,"altitude":61,"angle":256,"satellites":40,"speed":9,"hex_longitude":"2d194000","hex_latitude":"071ffb70","is_valid_coordinates":true} 
[2026-06-18 19:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138616320001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371738305921024,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1822761611035348992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791479000,"timestamp_ms":1781791479000,"timestamp_seconds":1781791479,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c54d8"} 
[2026-06-18 19:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:35:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:35:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-06-18 19:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:35:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:35:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138616320001,"66":13059,"121":206,"28":31744,"24":9,"16":3371738305921024,"45":1822761611035348992},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138616320001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:35:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:35:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371738305921024,"km_value":3371738305921.024,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1822761611035348992,"description":"Unknown IO ID 45"} 
[2026-06-18 19:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138616320001,"power":13059,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1822761611035348992}} 
[2026-06-18 19:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":106883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:35:22] local.INFO: GPS data processed {"connection_id":106883,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:35:22] local.INFO: Acknowledgment sent {"connection_id":106883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:35:24] local.INFO: TCP Data received {"connection_id":106105,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:24] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:24] local.INFO: IMEI packet received {"connection_id":106105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":106105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:35:24] local.INFO: TCP Data received {"connection_id":106105,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:24] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:24] local.INFO: IMEI packet received {"connection_id":106105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":106105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:35:29] local.INFO: TCP Data received {"connection_id":106105,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:29] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:35:29] local.INFO: IMEI packet received {"connection_id":106105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":106105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:35:30] local.INFO: TCP Data received {"connection_id":106105,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c1e28012cc2c700076526600052014c2f..."} 
[2026-06-18 19:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c1e28012cc2c700076526600052014c2f..."} 
[2026-06-18 19:35:30] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c1e28012cc2c700076526600052014c2f..."} 
[2026-06-18 19:35:30] local.INFO: Packet analysis {"connection_id":106105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:30] local.INFO: Extracted packet for processing {"connection_id":106105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:30] local.INFO: GPS Element Parsed {"raw_longitude":750962432,"raw_latitude":124069472,"longitude_deg":75.0962432,"latitude_deg":12.4069472,"altitude":82,"angle":332,"satellites":47,"speed":58,"hex_longitude":"2cc2c700","hex_latitude":"07652660","is_valid_coordinates":true} 
[2026-06-18 19:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138613760001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318900020352909312,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4408742528458985472,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:30] 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-06-18 19:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791465000,"timestamp_ms":1781791465000,"timestamp_seconds":1781791465,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c1e28"} 
[2026-06-18 19:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-18 19:35: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-06-18 19:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:35:30] 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-06-18 19:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138613760001,"66":27245,"159":206,"85":37120,"24":58,"16":318900020352909312,"44":-4408742528458985472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138613760001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:35:30] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318900020352909312,"km_value":318900020352909.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4408742528458985472,"description":"Unknown IO ID 44"} 
[2026-06-18 19:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138613760001,"power":27245,"unknown_159":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4408742528458985472}} 
[2026-06-18 19:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":106105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:35:30] local.INFO: GPS data processed {"connection_id":106105,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:35:30] local.INFO: Acknowledgment sent {"connection_id":106105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:35:33] local.INFO: TCP Data received {"connection_id":106884,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:35:33] local.INFO: Processing buffer {"connection_id":106884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:35:33] local.INFO: IMEI packet received {"connection_id":106884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:35:33] local.INFO: IMEI acknowledgment sent {"connection_id":106884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:35:36] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c2dc8012d7d3dc005d44f60000001641c..."} 
[2026-06-18 19:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c2dc8012d7d3dc005d44f60000001641c..."} 
[2026-06-18 19:35:36] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c2dc8012d7d3dc005d44f60000001641c..."} 
[2026-06-18 19:35:36] local.INFO: Packet analysis {"connection_id":106282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:36] local.INFO: Extracted packet for processing {"connection_id":106282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97800032,"longitude_deg":76.3182528,"latitude_deg":9.7800032,"altitude":0,"angle":356,"satellites":28,"speed":51,"hex_longitude":"2d7d3dc0","hex_latitude":"05d44f60","is_valid_coordinates":true} 
[2026-06-18 19:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138614016001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94075374513684480,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509990842972160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:36] 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-06-18 19:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781791469000,"timestamp_ms":1781791469000,"timestamp_seconds":1781791469,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c2dc8"} 
[2026-06-18 19:35:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:35:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:35:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 19:35:36] 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-06-18 19:35:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:35:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:35:36] 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-06-18 19:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138614016001,"66":11743,"81":206,"85":15104,"24":51,"16":94075374513684480,"45":9024509990842972160},"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-06-18 19:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138614016001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:35:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 19:35:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94075374513684480,"km_value":94075374513684.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509990842972160,"description":"Unknown IO ID 45"} 
[2026-06-18 19:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138614016001,"power":11743,"unknown_81":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":9024509990842972160}} 
[2026-06-18 19:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":106282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346226,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:35:36] local.INFO: GPS data processed {"connection_id":106282,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:35:36] local.INFO: Acknowledgment sent {"connection_id":106282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:35:38] local.INFO: TCP Data received {"connection_id":106884,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:35:38] local.INFO: Processing buffer {"connection_id":106884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:35:38] local.INFO: IMEI packet received {"connection_id":106884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":106884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:35:39] local.INFO: TCP Data received {"connection_id":106884,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:35:39] local.INFO: Processing buffer {"connection_id":106884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0841e0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:35:39] local.INFO: Packet analysis {"connection_id":106884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:35:39] local.INFO: Extracted packet for processing {"connection_id":106884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb08"} 
[2026-06-18 19:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138473216001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791212000,"timestamp_ms":1781791212000,"timestamp_seconds":1781791212,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0841e0"} 
[2026-06-18 19:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138473216001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138473216001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:35:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:35:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138473216001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":106884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:35:39] local.INFO: GPS data processed {"connection_id":106884,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:35:39] local.INFO: Acknowledgment sent {"connection_id":106884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:35:44] local.INFO: TCP Data received {"connection_id":107835,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:35:44] local.INFO: Processing buffer {"connection_id":107835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:35:44] local.INFO: IMEI packet received {"connection_id":107835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":107835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:35:49] local.INFO: TCP Data received {"connection_id":107835,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107835,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:35:49] local.INFO: Processing buffer {"connection_id":107835,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:35:49] local.INFO: IMEI packet received {"connection_id":107835,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":107835,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:35:50] local.INFO: TCP Data received {"connection_id":107835,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c58c0012d193f00071ffb38003d00f428..."} 
[2026-06-18 19:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c58c0012d193f00071ffb38003d00f428..."} 
[2026-06-18 19:35:50] local.INFO: Processing buffer {"connection_id":107835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c58c0012d193f00071ffb38003d00f428..."} 
[2026-06-18 19:35:50] local.INFO: Packet analysis {"connection_id":107835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:50] local.INFO: Extracted packet for processing {"connection_id":107835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756629248,"raw_latitude":119536440,"longitude_deg":75.6629248,"latitude_deg":11.953644,"altitude":61,"angle":244,"satellites":40,"speed":7,"hex_longitude":"2d193f00","hex_latitude":"071ffb38","is_valid_coordinates":true} 
[2026-06-18 19:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138618624001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371751190822912,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819454280059023360,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791480000,"timestamp_ms":1781791480000,"timestamp_seconds":1781791480,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c58c0"} 
[2026-06-18 19:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303162828312039,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490450,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3675002456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4199022657,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2147950584,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4200923136,"note":"Value kept but may cause issues"} 
[2026-06-18 19:35:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,250,49,45,192,251,64,40,10,66,41,1,240,139,219,31,4,113,205,7,30,79,184,239,50,2,11,67,18],"length":486,"final_offset":616,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:35:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395794883089596416,"timestamp_seconds":4395794883089596.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138618624001,"66":13059,"121":206,"28":31744,"24":7,"16":3371751190822912,"45":1819454280059023360},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138618624001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:35:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:35:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371751190822912,"km_value":3371751190822.912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819454280059023360,"description":"Unknown IO ID 45"} 
[2026-06-18 19:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138618624001,"power":13059,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1819454280059023360}} 
[2026-06-18 19:35:51] local.INFO: DEBUG: GPS processor result {"connection_id":107835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:35:51] local.INFO: GPS data processed {"connection_id":107835,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:35:51] local.INFO: Acknowledgment sent {"connection_id":107835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:01] local.INFO: TCP Data received {"connection_id":106105,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c3980012cc2afc007654728005401412f..."} 
[2026-06-18 19:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c3980012cc2afc007654728005401412f..."} 
[2026-06-18 19:36:01] local.INFO: Processing buffer {"connection_id":106105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c3980012cc2afc007654728005401412f..."} 
[2026-06-18 19:36:01] local.INFO: Packet analysis {"connection_id":106105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:01] local.INFO: Extracted packet for processing {"connection_id":106105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:01] local.INFO: GPS Element Parsed {"raw_longitude":750956480,"raw_latitude":124077864,"longitude_deg":75.095648,"latitude_deg":12.4077864,"altitude":84,"angle":321,"satellites":47,"speed":58,"hex_longitude":"2cc2afc0","hex_latitude":"07654728","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138615040001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318900514274148352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4411557278224326656,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:01] 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-06-18 19:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791472000,"timestamp_ms":1781791472000,"timestamp_seconds":1781791472,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c3980"} 
[2026-06-18 19:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36: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-06-18 19: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 19:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138615040001,"66":27397,"159":206,"85":37120,"24":58,"16":318900514274148352,"44":-4411557278224326656},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138615040001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:01] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318900514274148352,"km_value":318900514274148.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4411557278224326656,"description":"Unknown IO ID 44"} 
[2026-06-18 19:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138615040001,"power":27397,"unknown_159":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4411557278224326656}} 
[2026-06-18 19:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":106105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:36:01] local.INFO: GPS data processed {"connection_id":106105,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:36:01] local.INFO: Acknowledgment sent {"connection_id":106105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:04] local.INFO: TCP Data received {"connection_id":106885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:04] local.INFO: Processing buffer {"connection_id":106885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:04] local.INFO: IMEI packet received {"connection_id":106885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":106885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:36:04] local.INFO: TCP Data received {"connection_id":106885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:04] local.INFO: Processing buffer {"connection_id":106885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:04] local.INFO: IMEI packet received {"connection_id":106885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":106885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:36:07] local.INFO: TCP Data received {"connection_id":106885,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106885,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:07] local.INFO: Processing buffer {"connection_id":106885,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:36:07] local.INFO: IMEI packet received {"connection_id":106885,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":106885,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:36:08] local.INFO: TCP Data received {"connection_id":106885,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c4d08012d7d390005d475000001015f20..."} 
[2026-06-18 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c4d08012d7d390005d475000001015f20..."} 
[2026-06-18 19:36:08] local.INFO: Processing buffer {"connection_id":106885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c4d08012d7d390005d475000001015f20..."} 
[2026-06-18 19:36:08] local.INFO: Packet analysis {"connection_id":106885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:08] local.INFO: Extracted packet for processing {"connection_id":106885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763181312,"raw_latitude":97809664,"longitude_deg":76.3181312,"latitude_deg":9.7809664,"altitude":1,"angle":351,"satellites":32,"speed":44,"hex_longitude":"2d7d3900","hex_latitude":"05d47500","is_valid_coordinates":true} 
[2026-06-18 19:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138616064001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94075846960087040,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359589683200,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36: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-06-18 19:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781791477000,"timestamp_ms":1781791477000,"timestamp_seconds":1781791477,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c4d08"} 
[2026-06-18 19:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 19:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:36:08] 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-06-18 19:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138616064001,"66":11711,"81":206,"85":15104,"24":44,"16":94075846960087040,"45":9024580359589683200},"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-06-18 19:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138616064001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 19:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94075846960087040,"km_value":94075846960087.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359589683200,"description":"Unknown IO ID 45"} 
[2026-06-18 19:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138616064001,"power":11711,"unknown_81":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9024580359589683200}} 
[2026-06-18 19:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":106885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:36:08] local.INFO: GPS data processed {"connection_id":106885,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:36:08] local.INFO: Acknowledgment sent {"connection_id":106885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:11] local.INFO: TCP Data received {"connection_id":106884,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:36:11] local.INFO: Processing buffer {"connection_id":106884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:36:11] local.INFO: Packet analysis {"connection_id":106884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:11] local.INFO: Extracted packet for processing {"connection_id":106884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":106884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:36:11] local.INFO: GPS data processed {"connection_id":106884,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:36:11] local.INFO: Acknowledgment sent {"connection_id":106884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:22] local.INFO: TCP Data received {"connection_id":107835,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c6090012d193dc0071ffaf0003d010329..."} 
[2026-06-18 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c6090012d193dc0071ffaf0003d010329..."} 
[2026-06-18 19:36:22] local.INFO: Processing buffer {"connection_id":107835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c6090012d193dc0071ffaf0003d010329..."} 
[2026-06-18 19:36:22] local.INFO: Packet analysis {"connection_id":107835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:22] local.INFO: Extracted packet for processing {"connection_id":107835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756628928,"raw_latitude":119536368,"longitude_deg":75.6628928,"latitude_deg":11.9536368,"altitude":61,"angle":259,"satellites":41,"speed":5,"hex_longitude":"2d193dc0","hex_latitude":"071ffaf0","is_valid_coordinates":true} 
[2026-06-18 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138618880001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371764075724800,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1819172805082298368,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791482000,"timestamp_ms":1781791482000,"timestamp_seconds":1781791482,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c6090"} 
[2026-06-18 19:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303160630496743,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490444,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3675004456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4206362689,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":37,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2332085735,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4201316352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:22] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,250,84,45,251,61,40,10,66,49,192,64,1,240,248,219,31,4,113,205,6,37,78,72,239,50,2,11,7,67,12],"length":486,"final_offset":616,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:36:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395781688949932032,"timestamp_seconds":4395781688949932.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107835,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138618880001,"66":12885,"121":206,"28":31744,"24":5,"16":3371764075724800,"45":1819172805082298368},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138618880001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:36:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371764075724800,"km_value":3371764075724.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1819172805082298368,"description":"Unknown IO ID 45"} 
[2026-06-18 19:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138618880001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1819172805082298368}} 
[2026-06-18 19:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":107835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:36:22] local.INFO: GPS data processed {"connection_id":107835,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:36:22] local.INFO: Acknowledgment sent {"connection_id":107835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:24] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:36:24] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:36:24] local.INFO: IMEI packet received {"connection_id":106283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":106283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:36:29] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:36:29] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:36:29] local.INFO: IMEI packet received {"connection_id":106283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":106283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:36:30] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c3980012cc2afc007654728005401412f..."} 
[2026-06-18 19:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c3980012cc2afc007654728005401412f..."} 
[2026-06-18 19:36:30] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c3980012cc2afc007654728005401412f..."} 
[2026-06-18 19:36:30] local.INFO: Packet analysis {"connection_id":106283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:30] local.INFO: Extracted packet for processing {"connection_id":106283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750956480,"raw_latitude":124077864,"longitude_deg":75.095648,"latitude_deg":12.4077864,"altitude":84,"angle":321,"satellites":47,"speed":58,"hex_longitude":"2cc2afc0","hex_latitude":"07654728","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138616832001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318900514274148352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4418101571430701056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:30] 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-06-18 19:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791472000,"timestamp_ms":1781791472000,"timestamp_seconds":1781791472,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c3980"} 
[2026-06-18 19:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 19:36:30] 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-06-18 19: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-06-18 19:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:36:30] 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-06-18 19:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138616832001,"66":27397,"159":206,"85":37120,"24":58,"16":318900514274148352,"44":-4418101571430701056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138616832001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:30] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318900514274148352,"km_value":318900514274148.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4418101571430701056,"description":"Unknown IO ID 44"} 
[2026-06-18 19:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138616832001,"power":27397,"unknown_159":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4418101571430701056}} 
[2026-06-18 19:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":106283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:36:30] local.INFO: GPS data processed {"connection_id":106283,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:36:30] local.INFO: Acknowledgment sent {"connection_id":106283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:33] local.INFO: TCP Data received {"connection_id":106886,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:36:33] local.INFO: Processing buffer {"connection_id":106886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:36:33] local.INFO: IMEI packet received {"connection_id":106886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":106886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:36:38] local.INFO: TCP Data received {"connection_id":106886,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:36:38] local.INFO: Processing buffer {"connection_id":106886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:36:38] local.INFO: IMEI packet received {"connection_id":106886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":106886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:36:39] local.INFO: TCP Data received {"connection_id":106885,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c7030012d7d320005d49a380003015e21..."} 
[2026-06-18 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c7030012d7d320005d49a380003015e21..."} 
[2026-06-18 19:36:39] local.INFO: Processing buffer {"connection_id":106885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c7030012d7d320005d49a380003015e21..."} 
[2026-06-18 19:36:39] local.INFO: Packet analysis {"connection_id":106885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:39] local.INFO: Extracted packet for processing {"connection_id":106885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97819192,"longitude_deg":76.317952,"latitude_deg":9.7819192,"altitude":3,"angle":350,"satellites":33,"speed":41,"hex_longitude":"2d7d3200","hex_latitude":"05d49a38","is_valid_coordinates":true} 
[2026-06-18 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138618112001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94076315111522304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023243353452773376,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791486000,"timestamp_ms":1781791486000,"timestamp_seconds":1781791486,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c7030"} 
[2026-06-18 19:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 19:36:39] 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-06-18 19:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106885,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:36:39] 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-06-18 19:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138618112001,"66":11613,"81":206,"85":15104,"24":41,"16":94076315111522304,"45":9023243353452773376},"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-06-18 19:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138618112001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 19:36:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94076315111522304,"km_value":94076315111522.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023243353452773376,"description":"Unknown IO ID 45"} 
[2026-06-18 19:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138618112001,"power":11613,"unknown_81":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":9023243353452773376}} 
[2026-06-18 19:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":106885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346234,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:36:39] local.INFO: GPS data processed {"connection_id":106885,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:36:39] local.INFO: Acknowledgment sent {"connection_id":106885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:39] local.INFO: TCP Data received {"connection_id":106886,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:36:39] local.INFO: Processing buffer {"connection_id":106886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:36:39] local.INFO: Packet analysis {"connection_id":106886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:39] local.INFO: Extracted packet for processing {"connection_id":106886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:36: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-06-18 19:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:36:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":106886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:36:39] local.INFO: GPS data processed {"connection_id":106886,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:36:39] local.INFO: Acknowledgment sent {"connection_id":106886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:49] local.INFO: TCP Data received {"connection_id":106284,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:36:49] local.INFO: Processing buffer {"connection_id":106284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:36:49] local.INFO: IMEI packet received {"connection_id":106284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":106284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:36:54] local.INFO: TCP Data received {"connection_id":106284,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:36:54] local.INFO: Processing buffer {"connection_id":106284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:36:54] local.INFO: IMEI packet received {"connection_id":106284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":106284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:36:55] local.INFO: TCP Data received {"connection_id":106284,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cb298012d193d40071ffb18003d010328..."} 
[2026-06-18 19:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cb298012d193d40071ffb18003d010328..."} 
[2026-06-18 19:36:55] local.INFO: Processing buffer {"connection_id":106284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cb298012d193d40071ffb18003d010328..."} 
[2026-06-18 19:36:55] local.INFO: Packet analysis {"connection_id":106284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:55] local.INFO: Extracted packet for processing {"connection_id":106284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138619392001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818820961361391616,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781791503000,"timestamp_ms":1781791503000,"timestamp_seconds":1781791503,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cb298"} 
[2026-06-18 19:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:36:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 19:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138619392001,"66":13015,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818820961361391616},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138619392001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818820961361391616,"description":"Unknown IO ID 45"} 
[2026-06-18 19:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138619392001,"power":13015,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818820961361391616}} 
[2026-06-18 19:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":106284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:36:56] local.INFO: GPS data processed {"connection_id":106284,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:36:56] local.INFO: Acknowledgment sent {"connection_id":106284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:36:59] local.INFO: TCP Data received {"connection_id":106284,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0d04a0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0d04a0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:36:59] local.INFO: Processing buffer {"connection_id":106284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0d04a0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:36:59] local.INFO: Packet analysis {"connection_id":106284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0d"} 
[2026-06-18 19:36:59] local.INFO: Extracted packet for processing {"connection_id":106284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0d"} 
[2026-06-18 19:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138624768001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781791524000,"timestamp_ms":1781791524000,"timestamp_seconds":1781791524,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0d04a0"} 
[2026-06-18 19:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:36: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-06-18 19:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 19:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138624768001,"66":12950,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138624768001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:36:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138624768001,"power":12950,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":106284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:00] local.INFO: GPS data processed {"connection_id":106284,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:00] local.INFO: Acknowledgment sent {"connection_id":106284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:00] local.INFO: TCP Data received {"connection_id":107836,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:00] local.INFO: Processing buffer {"connection_id":107836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:00] local.INFO: IMEI packet received {"connection_id":107836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:37:00] local.INFO: IMEI acknowledgment sent {"connection_id":107836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:37:01] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c54d8012cc29600076566c0005401412f..."} 
[2026-06-18 19:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c54d8012cc29600076566c0005401412f..."} 
[2026-06-18 19:37:01] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c54d8012cc29600076566c0005401412f..."} 
[2026-06-18 19:37:01] local.INFO: Packet analysis {"connection_id":106283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:01] local.INFO: Extracted packet for processing {"connection_id":106283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:01] local.INFO: GPS Element Parsed {"raw_longitude":750949888,"raw_latitude":124085952,"longitude_deg":75.0949888,"latitude_deg":12.4085952,"altitude":84,"angle":321,"satellites":47,"speed":58,"hex_longitude":"2cc29600","hex_latitude":"076566c0","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138616832001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318901016785321984,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4418101571430701056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:01] 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-06-18 19:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791479000,"timestamp_ms":1781791479000,"timestamp_seconds":1781791479,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c54d8"} 
[2026-06-18 19:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37: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-06-18 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:37: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-06-18 19:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138616832001,"66":27517,"159":206,"85":37120,"24":58,"16":318901016785321984,"44":-4418101571430701056},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138616832001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:01] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318901016785321984,"km_value":318901016785322.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4418101571430701056,"description":"Unknown IO ID 44"} 
[2026-06-18 19:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138616832001,"power":27517,"unknown_159":206,"unknown_85":37120,"ignition":58,"odometer":null,"unknown_44":-4418101571430701056}} 
[2026-06-18 19:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":106283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:01] local.INFO: GPS data processed {"connection_id":106283,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:01] local.INFO: Acknowledgment sent {"connection_id":106283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:05] local.INFO: TCP Data received {"connection_id":107836,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107836,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:05] local.INFO: Processing buffer {"connection_id":107836,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:05] local.INFO: IMEI packet received {"connection_id":107836,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":107836,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:37:05] local.INFO: TCP Data received {"connection_id":107836,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c9b28012d7d2dc005d4bd48000401621d..."} 
[2026-06-18 19:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c9b28012d7d2dc005d4bd48000401621d..."} 
[2026-06-18 19:37:05] local.INFO: Processing buffer {"connection_id":107836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c9b28012d7d2dc005d4bd48000401621d..."} 
[2026-06-18 19:37:05] local.INFO: Packet analysis {"connection_id":107836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:05] local.INFO: Extracted packet for processing {"connection_id":107836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:05] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":97828168,"longitude_deg":76.3178432,"latitude_deg":9.7828168,"altitude":4,"angle":354,"satellites":29,"speed":36,"hex_longitude":"2d7d2dc0","hex_latitude":"05d4bd48","is_valid_coordinates":true} 
[2026-06-18 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138620416001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94076753198186496,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028618237952,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:05] 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-06-18 19:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791497000,"timestamp_ms":1781791497000,"timestamp_seconds":1781791497,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c9b28"} 
[2026-06-18 19:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37:05] 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-06-18 19:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1260,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:37:05] 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-06-18 19:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138620416001,"66":11721,"81":206,"85":15104,"24":36,"16":94076753198186496,"45":9021273028618237952},"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-06-18 19:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138620416001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 19:37:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94076753198186496,"km_value":94076753198186.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028618237952,"description":"Unknown IO ID 45"} 
[2026-06-18 19:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138620416001,"power":11721,"unknown_81":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9021273028618237952}} 
[2026-06-18 19:37:06] local.INFO: DEBUG: GPS processor result {"connection_id":107836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346239,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:06] local.INFO: GPS data processed {"connection_id":107836,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:06] local.INFO: Acknowledgment sent {"connection_id":107836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:11] local.INFO: TCP Data received {"connection_id":106886,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:11] local.INFO: Processing buffer {"connection_id":106886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:11] local.INFO: Packet analysis {"connection_id":106886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:11] local.INFO: Extracted packet for processing {"connection_id":106886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":106886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:11] local.INFO: GPS data processed {"connection_id":106886,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:11] local.INFO: Acknowledgment sent {"connection_id":106886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:29] local.INFO: TCP Data received {"connection_id":106285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:37:29] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:37:29] local.INFO: IMEI packet received {"connection_id":106285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":106285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:37:34] local.INFO: TCP Data received {"connection_id":106285,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:37:34] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:37:34] local.INFO: IMEI packet received {"connection_id":106285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":106285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:37:35] local.INFO: TCP Data received {"connection_id":106285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c7030012cc27c80076582880053013d2e..."} 
[2026-06-18 19:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c7030012cc27c80076582880053013d2e..."} 
[2026-06-18 19:37:35] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c7030012cc27c80076582880053013d2e..."} 
[2026-06-18 19:37:35] local.INFO: Packet analysis {"connection_id":106285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:35] local.INFO: Extracted packet for processing {"connection_id":106285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:35] local.INFO: GPS Element Parsed {"raw_longitude":750943360,"raw_latitude":124093064,"longitude_deg":75.094336,"latitude_deg":12.4093064,"altitude":83,"angle":317,"satellites":46,"speed":44,"hex_longitude":"2cc27c80","hex_latitude":"07658288","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138618624001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318901476346822656,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4425349552078929920,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:35] 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-06-18 19:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781791486000,"timestamp_ms":1781791486000,"timestamp_seconds":1781791486,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c7030"} 
[2026-06-18 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-06-18 19:37: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-06-18 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 19:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:37: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-06-18 19:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138618624001,"66":27245,"159":206,"85":37120,"24":44,"16":318901476346822656,"44":-4425349552078929920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138618624001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:35] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318901476346822656,"km_value":318901476346822.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4425349552078929920,"description":"Unknown IO ID 44"} 
[2026-06-18 19:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138618624001,"power":27245,"unknown_159":206,"unknown_85":37120,"ignition":44,"odometer":null,"unknown_44":-4425349552078929920}} 
[2026-06-18 19:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":106285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:35] local.INFO: GPS data processed {"connection_id":106285,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:35] local.INFO: Acknowledgment sent {"connection_id":106285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:38] local.INFO: TCP Data received {"connection_id":107836,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0ea2b0012d7d0a8005d5ca600004013828..."} 
[2026-06-18 19:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0ea2b0012d7d0a8005d5ca600004013828..."} 
[2026-06-18 19:37:38] local.INFO: Processing buffer {"connection_id":107836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0ea2b0012d7d0a8005d5ca600004013828..."} 
[2026-06-18 19:37:38] local.INFO: Packet analysis {"connection_id":107836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:37:38] local.INFO: Extracted packet for processing {"connection_id":107836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:37:38] local.INFO: GPS Element Parsed {"raw_longitude":763169408,"raw_latitude":97897056,"longitude_deg":76.3169408,"latitude_deg":9.7897056,"altitude":4,"angle":312,"satellites":40,"speed":9,"hex_longitude":"2d7d0a80","hex_latitude":"05d5ca60","is_valid_coordinates":true} 
[2026-06-18 19:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:37:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138656768001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94080171992154112,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010506610778892288,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781791630000,"timestamp_ms":1781791630000,"timestamp_seconds":1781791630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0ea2b0"} 
[2026-06-18 19:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37:38] 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-06-18 19:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:38] 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-06-18 19:37:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:37:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107836,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:37:38] 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-06-18 19:37:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:37:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:37:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138656768001,"66":11765,"253":206,"85":15104,"24":9,"16":94080171992154112,"45":9010506610778892288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-06-18 19:37:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:37:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:37:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138656768001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:38] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 19:37:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:37:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94080171992154112,"km_value":94080171992154.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010506610778892288,"description":"Unknown IO ID 45"} 
[2026-06-18 19:37:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138656768001,"power":11765,"unknown_253":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":9010506610778892288}} 
[2026-06-18 19:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":107836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346242,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:38] local.INFO: GPS data processed {"connection_id":107836,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:38] local.INFO: Acknowledgment sent {"connection_id":107836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:38] local.INFO: TCP Data received {"connection_id":107837,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:37:38] local.INFO: Processing buffer {"connection_id":107837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:37:38] local.INFO: IMEI packet received {"connection_id":107837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":107837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:37:39] local.INFO: TCP Data received {"connection_id":106285,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0c9f10012cc2690007659770005301552e..."} 
[2026-06-18 19:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0c9f10012cc2690007659770005301552e..."} 
[2026-06-18 19:37:39] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0c9f10012cc2690007659770005301552e..."} 
[2026-06-18 19:37:39] local.INFO: Packet analysis {"connection_id":106285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:39] local.INFO: Extracted packet for processing {"connection_id":106285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:39] local.INFO: GPS Element Parsed {"raw_longitude":750938368,"raw_latitude":124098416,"longitude_deg":75.0938368,"latitude_deg":12.4098416,"altitude":83,"angle":341,"satellites":46,"speed":9,"hex_longitude":"2cc26900","hex_latitude":"07659770","is_valid_coordinates":true} 
[2026-06-18 19:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138620416001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318901832829108224,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4432527163983230976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:39] 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-06-18 19:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791498000,"timestamp_ms":1781791498000,"timestamp_seconds":1781791498,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0c9f10"} 
[2026-06-18 19:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:39] 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-06-18 19:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138620416001,"66":27658,"159":206,"85":37120,"24":9,"16":318901832829108224,"44":-4432527163983230976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138620416001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:39] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318901832829108224,"km_value":318901832829108.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4432527163983230976,"description":"Unknown IO ID 44"} 
[2026-06-18 19:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138620416001,"power":27658,"unknown_159":206,"unknown_85":37120,"ignition":9,"odometer":null,"unknown_44":-4432527163983230976}} 
[2026-06-18 19:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":106285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:39] local.INFO: GPS data processed {"connection_id":106285,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:39] local.INFO: Acknowledgment sent {"connection_id":106285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:43] local.INFO: TCP Data received {"connection_id":107837,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:37:43] local.INFO: Processing buffer {"connection_id":107837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:37:43] local.INFO: IMEI packet received {"connection_id":107837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":107837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:37:44] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:37:44] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:37:44] local.INFO: IMEI packet received {"connection_id":106106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":106106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:37:45] local.INFO: TCP Data received {"connection_id":107837,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:45] local.INFO: Processing buffer {"connection_id":107837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:45] local.INFO: Packet analysis {"connection_id":107837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:45] local.INFO: Extracted packet for processing {"connection_id":107837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:37:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":107837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:45] local.INFO: GPS data processed {"connection_id":107837,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:45] local.INFO: Acknowledgment sent {"connection_id":107837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:47] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:37:47] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:37:47] local.INFO: IMEI packet received {"connection_id":106106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":106106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:37:48] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0d56a8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0d56a8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:37:48] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0d56a8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:37:48] local.INFO: Packet analysis {"connection_id":106106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0d"} 
[2026-06-18 19:37:48] local.INFO: Extracted packet for processing {"connection_id":106106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0d"} 
[2026-06-18 19:37:48] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":37,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138630144001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781791545000,"timestamp_ms":1781791545000,"timestamp_seconds":1781791545,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0d56a8"} 
[2026-06-18 19:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:48] 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-06-18 19:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138630144001,"66":12232,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138630144001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:37:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138630144001,"power":12232,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":106106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:48] local.INFO: GPS data processed {"connection_id":106106,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:48] local.INFO: Acknowledgment sent {"connection_id":106106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:49] local.INFO: TCP Data received {"connection_id":107837,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:49] local.INFO: Processing buffer {"connection_id":107837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:37:49] local.INFO: Packet analysis {"connection_id":107837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:49] local.INFO: Extracted packet for processing {"connection_id":107837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:37:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":107837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:49] local.INFO: GPS data processed {"connection_id":107837,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:49] local.INFO: Acknowledgment sent {"connection_id":107837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:50] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0da8b0012d193d40071ffb18003d010325..."} 
[2026-06-18 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0da8b0012d193d40071ffb18003d010325..."} 
[2026-06-18 19:37:50] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0da8b0012d193d40071ffb18003d010325..."} 
[2026-06-18 19:37:50] local.INFO: Packet analysis {"connection_id":106106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0d"} 
[2026-06-18 19:37:50] local.INFO: Extracted packet for processing {"connection_id":106106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0d"} 
[2026-06-18 19:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":37,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138635520001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791566000,"timestamp_ms":1781791566000,"timestamp_seconds":1781791566,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0da8b0"} 
[2026-06-18 19:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 19:37:50] 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-06-18 19:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138635520001,"66":12885,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138635520001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:37:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:37:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138635520001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":106106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:37:50] local.INFO: GPS data processed {"connection_id":106106,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:37:50] local.INFO: Acknowledgment sent {"connection_id":106106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:37:59] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:59] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:37:59] local.INFO: IMEI packet received {"connection_id":106286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":106286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:38:00] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:00] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:00] local.INFO: IMEI packet received {"connection_id":106286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":106286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:38:05] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:05] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:05] local.INFO: IMEI packet received {"connection_id":106286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":106286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:38:05] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0ebe08012d7d044005d5d0980003014c29..."} 
[2026-06-18 19:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0ebe08012d7d044005d5d0980003014c29..."} 
[2026-06-18 19:38:05] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0ebe08012d7d044005d5d0980003014c29..."} 
[2026-06-18 19:38:05] local.INFO: Packet analysis {"connection_id":106286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:38:05] local.INFO: Extracted packet for processing {"connection_id":106286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763167808,"raw_latitude":97898648,"longitude_deg":76.3167808,"latitude_deg":9.7898648,"altitude":3,"angle":332,"satellites":41,"speed":17,"hex_longitude":"2d7d0440","hex_latitude":"05d5d098","is_valid_coordinates":true} 
[2026-06-18 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138657280001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94080283661303808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010154767058100224,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791637000,"timestamp_ms":1781791637000,"timestamp_seconds":1781791637,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0ebe08"} 
[2026-06-18 19:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 19:38:05] 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-06-18 19:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:38:05] 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-06-18 19:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138657280001,"66":11830,"253":206,"85":15104,"24":17,"16":94080283661303808,"45":9010154767058100224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-06-18 19:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138657280001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:38:05] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 19:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94080283661303808,"km_value":94080283661303.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010154767058100224,"description":"Unknown IO ID 45"} 
[2026-06-18 19:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138657280001,"power":11830,"unknown_253":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9010154767058100224}} 
[2026-06-18 19:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":106286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346248,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:38:06] local.INFO: GPS data processed {"connection_id":106286,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:38:06] local.INFO: Acknowledgment sent {"connection_id":106286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:38:21] local.INFO: TCP Data received {"connection_id":106106,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0dfab8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0dfab8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:38:21] local.INFO: Processing buffer {"connection_id":106106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0dfab8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:38:21] local.INFO: Packet analysis {"connection_id":106106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0d"} 
[2026-06-18 19:38:21] local.INFO: Extracted packet for processing {"connection_id":106106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0d"} 
[2026-06-18 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138640896001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781791587000,"timestamp_ms":1781791587000,"timestamp_seconds":1781791587,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0dfab8"} 
[2026-06-18 19:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:38:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:38:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 19:38:21] 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-06-18 19:38:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138640896001,"66":12885,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138640896001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:38:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:38:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138640896001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":106106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:38:21] local.INFO: GPS data processed {"connection_id":106106,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:38:21] local.INFO: Acknowledgment sent {"connection_id":106106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:38:24] local.INFO: TCP Data received {"connection_id":106287,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:38:24] local.INFO: Processing buffer {"connection_id":106287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:38:24] local.INFO: IMEI packet received {"connection_id":106287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":106287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:38:29] local.INFO: TCP Data received {"connection_id":106287,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:38:29] local.INFO: Processing buffer {"connection_id":106287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:38:29] local.INFO: IMEI packet received {"connection_id":106287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":106287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:38:30] local.INFO: TCP Data received {"connection_id":106287,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0ca2f8012cc2688007659848005301642d..."} 
[2026-06-18 19:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0ca2f8012cc2688007659848005301642d..."} 
[2026-06-18 19:38:30] local.INFO: Processing buffer {"connection_id":106287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0ca2f8012cc2688007659848005301642d..."} 
[2026-06-18 19:38:30] local.INFO: Packet analysis {"connection_id":106287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:38:30] local.INFO: Extracted packet for processing {"connection_id":106287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750938240,"raw_latitude":124098632,"longitude_deg":75.093824,"latitude_deg":12.4098632,"altitude":83,"angle":356,"satellites":45,"speed":8,"hex_longitude":"2cc26880","hex_latitude":"07659848","is_valid_coordinates":true} 
[2026-06-18 19:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138623488001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318901845714010112,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4438015926027718656,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:30] 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-06-18 19:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791499000,"timestamp_ms":1781791499000,"timestamp_seconds":1781791499,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0ca2f8"} 
[2026-06-18 19:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-06-18 19:38: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-06-18 19:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138623488001,"66":27104,"159":206,"85":37120,"24":8,"16":318901845714010112,"44":-4438015926027718656},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138623488001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:38:30] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318901845714010112,"km_value":318901845714010.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4438015926027718656,"description":"Unknown IO ID 44"} 
[2026-06-18 19:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138623488001,"power":27104,"unknown_159":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4438015926027718656}} 
[2026-06-18 19:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":106287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:38:30] local.INFO: GPS data processed {"connection_id":106287,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:38:30] local.INFO: Acknowledgment sent {"connection_id":106287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:38:33] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:38:33] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:38:33] local.INFO: IMEI packet received {"connection_id":106288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":106288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:38:37] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0ed190012d7d004005d5dab0000301582b..."} 
[2026-06-18 19:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0ed190012d7d004005d5dab0000301582b..."} 
[2026-06-18 19:38:37] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0ed190012d7d004005d5dab0000301582b..."} 
[2026-06-18 19:38:37] local.INFO: Packet analysis {"connection_id":106286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:38:37] local.INFO: Extracted packet for processing {"connection_id":106286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":763166784,"raw_latitude":97901232,"longitude_deg":76.3166784,"latitude_deg":9.7901232,"altitude":3,"angle":344,"satellites":43,"speed":21,"hex_longitude":"2d7d0040","hex_latitude":"05d5dab0","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138659072001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94080416805289984,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008395548454066176,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781791642000,"timestamp_ms":1781791642000,"timestamp_seconds":1781791642,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0ed190"} 
[2026-06-18 19:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 19:38:37] 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-06-18 19: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-06-18 19:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:38:37] 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-06-18 19:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138659072001,"66":11634,"253":206,"85":15104,"24":21,"16":94080416805289984,"45":9008395548454066176},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-06-18 19:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138659072001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:38:37] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 19:38:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94080416805289984,"km_value":94080416805289.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008395548454066176,"description":"Unknown IO ID 45"} 
[2026-06-18 19:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138659072001,"power":11634,"unknown_253":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9008395548454066176}} 
[2026-06-18 19:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":106286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346251,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:38:37] local.INFO: GPS data processed {"connection_id":106286,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:38:37] local.INFO: Acknowledgment sent {"connection_id":106286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:38:38] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:38:38] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:38:38] local.INFO: IMEI packet received {"connection_id":106288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":106288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:38:39] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:38:39] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:38:39] local.INFO: Packet analysis {"connection_id":106288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:38:39] local.INFO: Extracted packet for processing {"connection_id":106288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:38: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-06-18 19:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:38:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":106288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:38:39] local.INFO: GPS data processed {"connection_id":106288,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:38:39] local.INFO: Acknowledgment sent {"connection_id":106288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:38:44] local.INFO: TCP Data received {"connection_id":106887,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:38:44] local.INFO: Processing buffer {"connection_id":106887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:38:44] local.INFO: IMEI packet received {"connection_id":106887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":106887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:38:49] local.INFO: TCP Data received {"connection_id":106887,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:38:49] local.INFO: Processing buffer {"connection_id":106887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:38:49] local.INFO: IMEI packet received {"connection_id":106887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":106887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:38:51] local.INFO: TCP Data received {"connection_id":106887,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0e4cc0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0e4cc0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:38:51] local.INFO: Processing buffer {"connection_id":106887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0e4cc0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:38:51] local.INFO: Packet analysis {"connection_id":106887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:38:51] local.INFO: Extracted packet for processing {"connection_id":106887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138646272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781791608000,"timestamp_ms":1781791608000,"timestamp_seconds":1781791608,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0e4cc0"} 
[2026-06-18 19:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 19:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138646272001,"66":12841,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138646272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:38:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:38:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138646272001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":106887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:38:51] local.INFO: GPS data processed {"connection_id":106887,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:38:51] local.INFO: Acknowledgment sent {"connection_id":106887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:38:59] local.INFO: TCP Data received {"connection_id":106289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:59] local.INFO: Processing buffer {"connection_id":106289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:38:59] local.INFO: IMEI packet received {"connection_id":106289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":106289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:39:01] local.INFO: TCP Data received {"connection_id":106287,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0caac8012cc26900076599f0005300132f..."} 
[2026-06-18 19:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0caac8012cc26900076599f0005300132f..."} 
[2026-06-18 19:39:01] local.INFO: Processing buffer {"connection_id":106287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0caac8012cc26900076599f0005300132f..."} 
[2026-06-18 19:39:01] local.INFO: Packet analysis {"connection_id":106287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:39:01] local.INFO: Extracted packet for processing {"connection_id":106287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:39:01] local.INFO: GPS Element Parsed {"raw_longitude":750938368,"raw_latitude":124099056,"longitude_deg":75.0938368,"latitude_deg":12.4099056,"altitude":83,"angle":19,"satellites":47,"speed":8,"hex_longitude":"2cc26900","hex_latitude":"076599f0","is_valid_coordinates":true} 
[2026-06-18 19:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138623744001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318901867188846592,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4438156663516018688,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:01] 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-06-18 19:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791501000,"timestamp_ms":1781791501000,"timestamp_seconds":1781791501,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0caac8"} 
[2026-06-18 19:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:39: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-06-18 19:39:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-06-18 19:39:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:39:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138623744001,"66":26930,"159":206,"85":37120,"24":8,"16":318901867188846592,"44":-4438156663516018688},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138623744001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:39:01] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:39:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318901867188846592,"km_value":318901867188846.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:39:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4438156663516018688,"description":"Unknown IO ID 44"} 
[2026-06-18 19:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138623744001,"power":26930,"unknown_159":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4438156663516018688}} 
[2026-06-18 19:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":106287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:39:01] local.INFO: GPS data processed {"connection_id":106287,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:39:01] local.INFO: Acknowledgment sent {"connection_id":106287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:39:05] local.INFO: TCP Data received {"connection_id":106289,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106289,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:39:05] local.INFO: Processing buffer {"connection_id":106289,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:39:05] local.INFO: IMEI packet received {"connection_id":106289,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":106289,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:39:06] local.INFO: TCP Data received {"connection_id":106289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0f0458012d7cf78005d5fd080002015f20..."} 
[2026-06-18 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0f0458012d7cf78005d5fd080002015f20..."} 
[2026-06-18 19:39:06] local.INFO: Processing buffer {"connection_id":106289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0f0458012d7cf78005d5fd080002015f20..."} 
[2026-06-18 19:39:06] local.INFO: Packet analysis {"connection_id":106289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:39:06] local.INFO: Extracted packet for processing {"connection_id":106289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:39:06] local.INFO: GPS Element Parsed {"raw_longitude":763164544,"raw_latitude":97910024,"longitude_deg":76.3164544,"latitude_deg":9.7910024,"altitude":2,"angle":351,"satellites":32,"speed":30,"hex_longitude":"2d7cf780","hex_latitude":"05d5fd08","is_valid_coordinates":true} 
[2026-06-18 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:39:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138660352001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94080859186921472,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007269648547885056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:39:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781791655000,"timestamp_ms":1781791655000,"timestamp_seconds":1781791655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0f0458"} 
[2026-06-18 19:39:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:39: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-06-18 19:39:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 19:39:06] 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-06-18 19:39:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:39:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:39:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:39:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:39:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:39:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:39:06] 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-06-18 19:39:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:39:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:39:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138660352001,"66":11776,"253":206,"85":15104,"24":30,"16":94080859186921472,"45":9007269648547885056},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,85,24,16,45]} 
[2026-06-18 19:39:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:39:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:39:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138660352001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:39:06] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-06-18 19:39:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:39:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94080859186921472,"km_value":94080859186921.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:39:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007269648547885056,"description":"Unknown IO ID 45"} 
[2026-06-18 19:39:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138660352001,"power":11776,"unknown_253":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9007269648547885056}} 
[2026-06-18 19:39:06] local.INFO: DEBUG: GPS processor result {"connection_id":106289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346255,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:39:06] local.INFO: GPS data processed {"connection_id":106289,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:39:06] local.INFO: Acknowledgment sent {"connection_id":106289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:39:11] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:39:11] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:39:11] local.INFO: Packet analysis {"connection_id":106288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:39:11] local.INFO: Extracted packet for processing {"connection_id":106288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":106288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:39:11] local.INFO: GPS data processed {"connection_id":106288,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:39:11] local.INFO: Acknowledgment sent {"connection_id":106288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:39:22] local.INFO: TCP Data received {"connection_id":106887,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0e9ec8012d193d40071ffb18003d010324..."} 
[2026-06-18 19:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0e9ec8012d193d40071ffb18003d010324..."} 
[2026-06-18 19:39:22] local.INFO: Processing buffer {"connection_id":106887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0e9ec8012d193d40071ffb18003d010324..."} 
[2026-06-18 19:39:22] local.INFO: Packet analysis {"connection_id":106887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:39:22] local.INFO: Extracted packet for processing {"connection_id":106887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138651648001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791629000,"timestamp_ms":1781791629000,"timestamp_seconds":1781791629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0e9ec8"} 
[2026-06-18 19:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 19:39:22] 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-06-18 19:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138651648001,"66":12776,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138651648001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:39:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:39:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138651648001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":106887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:39:22] local.INFO: GPS data processed {"connection_id":106887,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:39:22] local.INFO: Acknowledgment sent {"connection_id":106887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:39:24] local.INFO: TCP Data received {"connection_id":107838,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:39:24] local.INFO: Processing buffer {"connection_id":107838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:39:24] local.INFO: IMEI packet received {"connection_id":107838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":107838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:39:29] local.INFO: TCP Data received {"connection_id":107838,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:39:29] local.INFO: Processing buffer {"connection_id":107838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:39:29] local.INFO: IMEI packet received {"connection_id":107838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":107838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:39:30] local.INFO: TCP Data received {"connection_id":107838,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cba68012cc269c007659af8005300132e..."} 
[2026-06-18 19:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cba68012cc269c007659af8005300132e..."} 
[2026-06-18 19:39:30] local.INFO: Processing buffer {"connection_id":107838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cba68012cc269c007659af8005300132e..."} 
[2026-06-18 19:39:30] local.INFO: Packet analysis {"connection_id":107838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:39:30] local.INFO: Extracted packet for processing {"connection_id":107838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:39:30] local.INFO: GPS Element Parsed {"raw_longitude":750938560,"raw_latitude":124099320,"longitude_deg":75.093856,"latitude_deg":12.409932,"altitude":83,"angle":19,"satellites":46,"speed":0,"hex_longitude":"2cc269c0","hex_latitude":"07659af8","is_valid_coordinates":true} 
[2026-06-18 19:39: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-06-18 19:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138624256001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318901884368715776,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4438015926027554816,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:30] 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-06-18 19:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791505000,"timestamp_ms":1781791505000,"timestamp_seconds":1781791505,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cba68"} 
[2026-06-18 19:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-06-18 19:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138624256001,"66":27767,"159":206,"85":37120,"24":0,"16":318901884368715776,"44":-4438015926027554816},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,85,24,16,44]} 
[2026-06-18 19:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138624256001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:39:30] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-06-18 19:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318901884368715776,"km_value":318901884368715.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4438015926027554816,"description":"Unknown IO ID 44"} 
[2026-06-18 19:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138624256001,"power":27767,"unknown_159":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4438015926027554816}} 
[2026-06-18 19:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":107838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:39:30] local.INFO: GPS data processed {"connection_id":107838,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:39:30] local.INFO: Acknowledgment sent {"connection_id":107838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:39:33] local.INFO: TCP Data received {"connection_id":106290,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:39:33] local.INFO: Processing buffer {"connection_id":106290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:39:33] local.INFO: IMEI packet received {"connection_id":106290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":106290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:39:38] local.INFO: TCP Data received {"connection_id":106289,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0f3338012d7cf34005d61f68000301621f..."} 
[2026-06-18 19:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0f3338012d7cf34005d61f68000301621f..."} 
[2026-06-18 19:39:38] local.INFO: Processing buffer {"connection_id":106289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0f3338012d7cf34005d61f68000301621f..."} 
[2026-06-18 19:39:38] local.INFO: Packet analysis {"connection_id":106289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:39:38] local.INFO: Extracted packet for processing {"connection_id":106289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:39:38] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":97918824,"longitude_deg":76.3163456,"latitude_deg":9.7918824,"altitude":3,"angle":354,"satellites":31,"speed":29,"hex_longitude":"2d7cf340","hex_latitude":"05d61f68","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138663680001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94081288683651072,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004806742503917568,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:39:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781791667000,"timestamp_ms":1781791667000,"timestamp_seconds":1781791667,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0f3338"} 
[2026-06-18 19:39:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:39:38] 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-06-18 19: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3675129456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372273064,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":213,"raw_value":3370647556,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2835153102,"corrected_to":0} 
[2026-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2415996285,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2147866037,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,253,85,24,241,157,16,62,158,209,45,64,218,3,43,10,66,61,190,208,41,162,128,1,240,245,227,219,213,4,113,205,9,84,19,112,239,2,78],"length":434,"final_offset":564,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2835153102,"validated":0}]} 
[2026-06-18 19:39:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144501254098124800,"timestamp_seconds":144501254098124.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:39:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:39:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:39:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:39:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:39:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106289,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:39:38] 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-06-18 19:39:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:39:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:39:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138663680001,"66":11819,"29":206,"85":15104,"24":29,"16":94081288683651072,"45":9004806742503917568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-06-18 19:39:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:39:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:39:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138663680001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:39:38] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 19:39:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:39:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94081288683651072,"km_value":94081288683651.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:39:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004806742503917568,"description":"Unknown IO ID 45"} 
[2026-06-18 19:39:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138663680001,"power":11819,"unknown_29":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9004806742503917568}} 
[2026-06-18 19:39:38] local.INFO: DEBUG: GPS processor result {"connection_id":106289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346259,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:39:38] local.INFO: GPS data processed {"connection_id":106289,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:39:38] local.INFO: Acknowledgment sent {"connection_id":106289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:39:38] local.INFO: TCP Data received {"connection_id":106290,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:39:38] local.INFO: Processing buffer {"connection_id":106290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:39:38] local.INFO: IMEI packet received {"connection_id":106290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":106290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:39:39] local.INFO: TCP Data received {"connection_id":106290,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:39:39] local.INFO: Processing buffer {"connection_id":106290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:39:39] local.INFO: Packet analysis {"connection_id":106290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:39:39] local.INFO: Extracted packet for processing {"connection_id":106290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:39: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-06-18 19:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:39:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:39:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":106290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:39:39] local.INFO: GPS data processed {"connection_id":106290,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:39:39] local.INFO: Acknowledgment sent {"connection_id":106290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:39:44] local.INFO: TCP Data received {"connection_id":107839,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:39:44] local.INFO: Processing buffer {"connection_id":107839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:39:44] local.INFO: IMEI packet received {"connection_id":107839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":107839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:39:49] local.INFO: TCP Data received {"connection_id":107839,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107839,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:39:49] local.INFO: Processing buffer {"connection_id":107839,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:39:49] local.INFO: IMEI packet received {"connection_id":107839,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":107839,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:39:50] local.INFO: TCP Data received {"connection_id":107839,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0ef0d0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0ef0d0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:39:50] local.INFO: Processing buffer {"connection_id":107839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0ef0d0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:39:50] local.INFO: Packet analysis {"connection_id":107839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:39:50] local.INFO: Extracted packet for processing {"connection_id":107839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0e"} 
[2026-06-18 19:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138657024001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:39:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791650000,"timestamp_ms":1781791650000,"timestamp_seconds":1781791650,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0ef0d0"} 
[2026-06-18 19:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:39:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-06-18 19:39:50] 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-06-18 19:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138657024001,"66":12841,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138657024001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:39:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:39:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138657024001,"power":12841,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":107839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:39:50] local.INFO: GPS data processed {"connection_id":107839,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:39:50] local.INFO: Acknowledgment sent {"connection_id":107839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:00] local.INFO: TCP Data received {"connection_id":107838,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb107388012cc2904007659528005300002e..."} 
[2026-06-18 19:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb107388012cc2904007659528005300002e..."} 
[2026-06-18 19:40:00] local.INFO: Processing buffer {"connection_id":107838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb107388012cc2904007659528005300002e..."} 
[2026-06-18 19:40:00] local.INFO: Packet analysis {"connection_id":107838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:40:00] local.INFO: Extracted packet for processing {"connection_id":107838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:40:00] local.INFO: GPS Element Parsed {"raw_longitude":750948416,"raw_latitude":124097832,"longitude_deg":75.0948416,"latitude_deg":12.4097832,"altitude":83,"angle":0,"satellites":46,"speed":22,"hex_longitude":"2cc29040","hex_latitude":"07659528","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138687488001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318902021807669248,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4427038401936293888,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781791749000,"timestamp_ms":1781791749000,"timestamp_seconds":1781791749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb107388"} 
[2026-06-18 19:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:00] 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-06-18 19: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-06-18 19:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138687488001,"66":27343,"209":206,"85":37120,"24":22,"16":318902021807669248,"44":-4427038401936293888},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-06-18 19:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138687488001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:00] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 19:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318902021807669248,"km_value":318902021807669.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4427038401936293888,"description":"Unknown IO ID 44"} 
[2026-06-18 19:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138687488001,"power":27343,"unknown_209":206,"unknown_85":37120,"ignition":22,"odometer":null,"unknown_44":-4427038401936293888}} 
[2026-06-18 19:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":107838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:00] local.INFO: GPS data processed {"connection_id":107838,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:00] local.INFO: Acknowledgment sent {"connection_id":107838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:05] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:05] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:05] local.INFO: IMEI packet received {"connection_id":106291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":106291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:40:07] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:07] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:07] local.INFO: IMEI packet received {"connection_id":106291,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":106291,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:40:08] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb10a650012d7ca28005d7a6f00000015f1f..."} 
[2026-06-18 19:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb10a650012d7ca28005d7a6f00000015f1f..."} 
[2026-06-18 19:40:08] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb10a650012d7ca28005d7a6f00000015f1f..."} 
[2026-06-18 19:40:08] local.INFO: Packet analysis {"connection_id":106291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:40:08] local.INFO: Extracted packet for processing {"connection_id":106291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":763142784,"raw_latitude":98019056,"longitude_deg":76.3142784,"latitude_deg":9.8019056,"altitude":0,"angle":351,"satellites":31,"speed":38,"hex_longitude":"2d7ca280","hex_latitude":"05d7a6f0","is_valid_coordinates":true} 
[2026-06-18 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138688768001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94086262255779840,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8982851694345959424,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781791762000,"timestamp_ms":1781791762000,"timestamp_seconds":1781791762,"priority":1,"record_length":96,"hex_timestamp":"0000019edb10a650"} 
[2026-06-18 19:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:40:08] 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-06-18 19:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138688768001,"66":11700,"31":206,"85":15104,"24":38,"16":94086262255779840,"45":8982851694345959424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,85,24,16,45]} 
[2026-06-18 19:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138688768001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:08] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-18 19:40:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94086262255779840,"km_value":94086262255779.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8982851694345959424,"description":"Unknown IO ID 45"} 
[2026-06-18 19:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138688768001,"power":11700,"unknown_31":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8982851694345959424}} 
[2026-06-18 19:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":106291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346263,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:08] local.INFO: GPS data processed {"connection_id":106291,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:08] local.INFO: Acknowledgment sent {"connection_id":106291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:10] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb10eca0012d7c9dc005d7ca08000001631e..."} 
[2026-06-18 19:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb10eca0012d7c9dc005d7ca08000001631e..."} 
[2026-06-18 19:40:10] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb10eca0012d7c9dc005d7ca08000001631e..."} 
[2026-06-18 19:40:10] local.INFO: Packet analysis {"connection_id":106291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:40:10] local.INFO: Extracted packet for processing {"connection_id":106291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":763141568,"raw_latitude":98028040,"longitude_deg":76.3141568,"latitude_deg":9.802804,"altitude":0,"angle":355,"satellites":30,"speed":18,"hex_longitude":"2d7c9dc0","hex_latitude":"05d7ca08","is_valid_coordinates":true} 
[2026-06-18 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138691072001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94086704637411328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980881369511424000,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781791780000,"timestamp_ms":1781791780000,"timestamp_seconds":1781791780,"priority":1,"record_length":96,"hex_timestamp":"0000019edb10eca0"} 
[2026-06-18 19:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:10] 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-06-18 19:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:40:10] 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-06-18 19:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138691072001,"66":11776,"195":206,"85":15104,"24":18,"16":94086704637411328,"45":8980881369511424000},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-06-18 19:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138691072001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:10] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-18 19:40:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94086704637411328,"km_value":94086704637411.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980881369511424000,"description":"Unknown IO ID 45"} 
[2026-06-18 19:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138691072001,"power":11776,"unknown_195":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8980881369511424000}} 
[2026-06-18 19:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":106291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346264,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:10] local.INFO: GPS data processed {"connection_id":106291,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:10] local.INFO: Acknowledgment sent {"connection_id":106291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:11] local.INFO: TCP Data received {"connection_id":106290,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:40:11] local.INFO: Processing buffer {"connection_id":106290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:40:11] local.INFO: Packet analysis {"connection_id":106290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:40:11] local.INFO: Extracted packet for processing {"connection_id":106290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106290,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":106290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:11] local.INFO: GPS data processed {"connection_id":106290,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:11] local.INFO: Acknowledgment sent {"connection_id":106290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:22] local.INFO: TCP Data received {"connection_id":107839,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0f42d8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0f42d8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:40:22] local.INFO: Processing buffer {"connection_id":107839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0f42d8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:40:22] local.INFO: Packet analysis {"connection_id":107839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:40:22] local.INFO: Extracted packet for processing {"connection_id":107839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138662400001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791671000,"timestamp_ms":1781791671000,"timestamp_seconds":1781791671,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0f42d8"} 
[2026-06-18 19:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:22] 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-06-18 19:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107839,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138662400001,"66":12809,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138662400001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:40:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138662400001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":107839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:22] local.INFO: GPS data processed {"connection_id":107839,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:22] local.INFO: Acknowledgment sent {"connection_id":107839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:32] local.INFO: TCP Data received {"connection_id":106107,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:32] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:32] local.INFO: IMEI packet received {"connection_id":106107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":106107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:40:33] local.INFO: TCP Data received {"connection_id":106108,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:40:33] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:40:33] local.INFO: IMEI packet received {"connection_id":106108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:40:33] local.INFO: IMEI acknowledgment sent {"connection_id":106108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:40:34] local.INFO: TCP Data received {"connection_id":106107,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:34] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:34] local.INFO: IMEI packet received {"connection_id":106107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:40:34] local.INFO: IMEI acknowledgment sent {"connection_id":106107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:40:38] local.INFO: TCP Data received {"connection_id":106108,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:40:38] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:40:38] local.INFO: IMEI packet received {"connection_id":106108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":106108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:40:40] local.INFO: TCP Data received {"connection_id":106108,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:40:40] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0cd9a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:40:40] local.INFO: Packet analysis {"connection_id":106108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:40:40] local.INFO: Extracted packet for processing {"connection_id":106108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0c"} 
[2026-06-18 19:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138550272001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781791513000,"timestamp_ms":1781791513000,"timestamp_seconds":1781791513,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0cd9a8"} 
[2026-06-18 19:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138550272001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138550272001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138550272001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":106108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:40] local.INFO: GPS data processed {"connection_id":106108,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:40] local.INFO: Acknowledgment sent {"connection_id":106108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:41] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb112738012d7c9ac005d7ef380000016425..."} 
[2026-06-18 19:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb112738012d7c9ac005d7ef380000016425..."} 
[2026-06-18 19:40:41] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb112738012d7c9ac005d7ef380000016425..."} 
[2026-06-18 19:40:41] local.INFO: Packet analysis {"connection_id":106291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:40:41] local.INFO: Extracted packet for processing {"connection_id":106291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:40:41] local.INFO: GPS Element Parsed {"raw_longitude":763140800,"raw_latitude":98037560,"longitude_deg":76.31408,"latitude_deg":9.803756,"altitude":0,"angle":356,"satellites":37,"speed":33,"hex_longitude":"2d7c9ac0","hex_latitude":"05d7ef38","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138695680001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94087168493879296,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979544363374348288,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781791795000,"timestamp_ms":1781791795000,"timestamp_seconds":1781791795,"priority":1,"record_length":96,"hex_timestamp":"0000019edb112738"} 
[2026-06-18 19:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:41] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3675260456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2803761358,"corrected_to":0} 
[2026-06-18 19:40:41] local.WARNING: Large IO value detected {"io_id":197,"raw_value":3221608218,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:41] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,195,85,24,241,157,16,67,158,166,45,128,31,10,66,131,129,30,99,1,240,82,227,219,215,4,113,205,46,37,197,32,239,2,78],"length":434,"final_offset":564,"validated_count":35,"validation_warnings":[{"io_id":205,"original":2803761358,"validated":0}]} 
[2026-06-18 19:40:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":390455478059008,"timestamp_seconds":390455478059.008,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106291,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:40:41] 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-06-18 19:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138695680001,"66":11721,"195":206,"85":15104,"24":33,"16":94087168493879296,"45":8979544363374348288},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-06-18 19:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138695680001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:41] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-18 19:40:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94087168493879296,"km_value":94087168493879.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979544363374348288,"description":"Unknown IO ID 45"} 
[2026-06-18 19:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138695680001,"power":11721,"unknown_195":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8979544363374348288}} 
[2026-06-18 19:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":106291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346268,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:41] local.INFO: GPS data processed {"connection_id":106291,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:41] local.INFO: Acknowledgment sent {"connection_id":106291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:42] local.INFO: TCP Data received {"connection_id":106107,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:42] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:40:42] local.INFO: IMEI packet received {"connection_id":106107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":106107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:40:43] local.INFO: TCP Data received {"connection_id":106107,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb109e80012cc293800765b8d80051000e2e..."} 
[2026-06-18 19:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb109e80012cc293800765b8d80051000e2e..."} 
[2026-06-18 19:40:43] local.INFO: Processing buffer {"connection_id":106107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb109e80012cc293800765b8d80051000e2e..."} 
[2026-06-18 19:40:43] local.INFO: Packet analysis {"connection_id":106107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:40:43] local.INFO: Extracted packet for processing {"connection_id":106107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:40:43] local.INFO: GPS Element Parsed {"raw_longitude":750949248,"raw_latitude":124106968,"longitude_deg":75.0949248,"latitude_deg":12.4106968,"altitude":81,"angle":14,"satellites":46,"speed":36,"hex_longitude":"2cc29380","hex_latitude":"0765b8d8","is_valid_coordinates":true} 
[2026-06-18 19:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138687744001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318902468484268032,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4426968033191974912,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781791760000,"timestamp_ms":1781791760000,"timestamp_seconds":1781791760,"priority":1,"record_length":96,"hex_timestamp":"0000019edb109e80"} 
[2026-06-18 19:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:43] 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-06-18 19:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138687744001,"66":27484,"209":206,"85":37120,"24":36,"16":318902468484268032,"44":-4426968033191974912},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-06-18 19:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138687744001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:43] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 19:40:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318902468484268032,"km_value":318902468484268.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4426968033191974912,"description":"Unknown IO ID 44"} 
[2026-06-18 19:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138687744001,"power":27484,"unknown_209":206,"unknown_85":37120,"ignition":36,"odometer":null,"unknown_44":-4426968033191974912}} 
[2026-06-18 19:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":106107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:43] local.INFO: GPS data processed {"connection_id":106107,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:43] local.INFO: Acknowledgment sent {"connection_id":106107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:44] local.INFO: TCP Data received {"connection_id":107840,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:40:44] local.INFO: Processing buffer {"connection_id":107840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:40:44] local.INFO: IMEI packet received {"connection_id":107840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":107840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:40:49] local.INFO: TCP Data received {"connection_id":107840,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:40:49] local.INFO: Processing buffer {"connection_id":107840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:40:49] local.INFO: IMEI packet received {"connection_id":107840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":107840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:40:50] local.INFO: TCP Data received {"connection_id":107840,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0f94e0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0f94e0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:40:50] local.INFO: Processing buffer {"connection_id":107840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0f94e0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:40:50] local.INFO: Packet analysis {"connection_id":107840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:40:50] local.INFO: Extracted packet for processing {"connection_id":107840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138667776001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791692000,"timestamp_ms":1781791692000,"timestamp_seconds":1781791692,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0f94e0"} 
[2026-06-18 19:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3675084456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":219,"raw_value":938050549311946048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4212654141,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4204527616,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304462023632683815,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":47,"raw_value":-4034998872072729060,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-06-18 19:40:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,121,28,24,241,158,16,250,240,45,64,251,61,38,10,66,36,76,1,41,219,31,4,113,205,168,37,239,50,2,11,7,47,124,156],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-06-18 19:40:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395798173033955328,"timestamp_seconds":4395798173033955.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138667776001,"66":12743,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138667776001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:40:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:40:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138667776001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":107840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:40:50] local.INFO: GPS data processed {"connection_id":107840,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:40:50] local.INFO: Acknowledgment sent {"connection_id":107840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:40:59] local.INFO: TCP Data received {"connection_id":106888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:59] local.INFO: Processing buffer {"connection_id":106888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:40:59] local.INFO: IMEI packet received {"connection_id":106888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":106888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:41:00] local.INFO: TCP Data received {"connection_id":106888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:00] local.INFO: Processing buffer {"connection_id":106888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:00] local.INFO: IMEI packet received {"connection_id":106888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":106888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:41:05] local.INFO: TCP Data received {"connection_id":106888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:05] local.INFO: Processing buffer {"connection_id":106888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:05] local.INFO: IMEI packet received {"connection_id":106888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":106888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:41:06] local.INFO: TCP Data received {"connection_id":106888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb114e48012d7c998005d814600000016522..."} 
[2026-06-18 19:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb114e48012d7c998005d814600000016522..."} 
[2026-06-18 19:41:06] local.INFO: Processing buffer {"connection_id":106888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb114e48012d7c998005d814600000016522..."} 
[2026-06-18 19:41:06] local.INFO: Packet analysis {"connection_id":106888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:06] local.INFO: Extracted packet for processing {"connection_id":106888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763140480,"raw_latitude":98047072,"longitude_deg":76.314048,"latitude_deg":9.8047072,"altitude":0,"angle":357,"satellites":34,"speed":41,"hex_longitude":"2d7c9980","hex_latitude":"05d81460","is_valid_coordinates":true} 
[2026-06-18 19:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138699520001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94087628055379968,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978699938446653440,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781791805000,"timestamp_ms":1781791805000,"timestamp_seconds":1781791805,"priority":1,"record_length":96,"hex_timestamp":"0000019edb114e48"} 
[2026-06-18 19:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:41:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 19:41:06] 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-06-18 19:41:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:41:06] 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-06-18 19:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138699520001,"66":11178,"195":206,"85":15104,"24":41,"16":94087628055379968,"45":8978699938446653440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-06-18 19:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138699520001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:41:06] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-18 19:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94087628055379968,"km_value":94087628055379.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978699938446653440,"description":"Unknown IO ID 45"} 
[2026-06-18 19:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138699520001,"power":11178,"unknown_195":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8978699938446653440}} 
[2026-06-18 19:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":106888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346271,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:41:06] local.INFO: GPS data processed {"connection_id":106888,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:41:06] local.INFO: Acknowledgment sent {"connection_id":106888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:41:10] local.INFO: TCP Data received {"connection_id":106888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d7c984005d83b90000001651f..."} 
[2026-06-18 19:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d7c984005d83b90000001651f..."} 
[2026-06-18 19:41:10] local.INFO: Processing buffer {"connection_id":106888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d7c984005d83b90000001651f..."} 
[2026-06-18 19:41:10] local.INFO: Packet analysis {"connection_id":106888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:10] local.INFO: Extracted packet for processing {"connection_id":106888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":763140160,"raw_latitude":98057104,"longitude_deg":76.314016,"latitude_deg":9.8057104,"altitude":0,"angle":357,"satellites":31,"speed":48,"hex_longitude":"2d7c9840","hex_latitude":"05d83b90","is_valid_coordinates":true} 
[2026-06-18 19:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138702080001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94088113386684416,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978348094728200192,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 19:41:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:41:10] 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-06-18 19:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138702080001,"66":12004,"195":206,"85":15104,"24":48,"16":94088113386684416,"45":8978348094728200192},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-06-18 19:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138702080001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:41:10] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-18 19:41:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94088113386684416,"km_value":94088113386684.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978348094728200192,"description":"Unknown IO ID 45"} 
[2026-06-18 19:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138702080001,"power":12004,"unknown_195":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8978348094728200192}} 
[2026-06-18 19:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":106888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:41:10] local.INFO: GPS data processed {"connection_id":106888,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:41:10] local.INFO: Acknowledgment sent {"connection_id":106888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:41:11] local.INFO: TCP Data received {"connection_id":106108,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:41:11] local.INFO: Processing buffer {"connection_id":106108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:41:11] local.INFO: Packet analysis {"connection_id":106108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:11] local.INFO: Extracted packet for processing {"connection_id":106108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:41:11] 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-06-18 19:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106108,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:41:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":106108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:41:11] local.INFO: GPS data processed {"connection_id":106108,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:41:11] local.INFO: Acknowledgment sent {"connection_id":106108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:41:21] local.INFO: TCP Data received {"connection_id":107840,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb0fe6e8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb0fe6e8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:41:21] local.INFO: Processing buffer {"connection_id":107840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb0fe6e8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:41:21] local.INFO: Packet analysis {"connection_id":107840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:41:21] local.INFO: Extracted packet for processing {"connection_id":107840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb0f"} 
[2026-06-18 19:41:21] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":37,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138673152001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781791713000,"timestamp_ms":1781791713000,"timestamp_seconds":1781791713,"priority":1,"record_length":96,"hex_timestamp":"0000019edb0fe6e8"} 
[2026-06-18 19:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:41:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 19:41:21] 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-06-18 19:41:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138673152001,"66":12743,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138673152001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:41:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:41:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138673152001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":107840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:41:22] local.INFO: GPS data processed {"connection_id":107840,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:41:22] local.INFO: Acknowledgment sent {"connection_id":107840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:41:24] local.INFO: TCP Data received {"connection_id":106292,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:41:24] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:41:24] local.INFO: IMEI packet received {"connection_id":106292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":106292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:41:29] local.INFO: TCP Data received {"connection_id":106292,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:41:29] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:41:29] local.INFO: IMEI packet received {"connection_id":106292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":106292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:41:30] local.INFO: TCP Data received {"connection_id":106292,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb119c68012cc2c7c007668ff0004c00332f..."} 
[2026-06-18 19:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb119c68012cc2c7c007668ff0004c00332f..."} 
[2026-06-18 19:41:30] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb119c68012cc2c7c007668ff0004c00332f..."} 
[2026-06-18 19:41:30] local.INFO: Packet analysis {"connection_id":106292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:30] local.INFO: Extracted packet for processing {"connection_id":106292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:30] local.INFO: GPS Element Parsed {"raw_longitude":750962624,"raw_latitude":124162032,"longitude_deg":75.0962624,"latitude_deg":12.4162032,"altitude":76,"angle":51,"satellites":47,"speed":54,"hex_longitude":"2cc2c7c0","hex_latitude":"07668ff0","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138705408001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318905466371440640,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4419579315038494720,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791825000,"timestamp_ms":1781791825000,"timestamp_seconds":1781791825,"priority":1,"record_length":96,"hex_timestamp":"0000019edb119c68"} 
[2026-06-18 19:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 19:41:30] 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-06-18 19: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-06-18 19:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138705408001,"66":27463,"209":206,"85":37120,"24":54,"16":318905466371440640,"44":-4419579315038494720},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-06-18 19:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138705408001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:41:30] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 19:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318905466371440640,"km_value":318905466371440.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4419579315038494720,"description":"Unknown IO ID 44"} 
[2026-06-18 19:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138705408001,"power":27463,"unknown_209":206,"unknown_85":37120,"ignition":54,"odometer":null,"unknown_44":-4419579315038494720}} 
[2026-06-18 19:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":106292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:41:30] local.INFO: GPS data processed {"connection_id":106292,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:41:30] local.INFO: Acknowledgment sent {"connection_id":106292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:41:33] local.INFO: TCP Data received {"connection_id":106889,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:41:33] local.INFO: Processing buffer {"connection_id":106889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:41:33] local.INFO: IMEI packet received {"connection_id":106889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:41:33] local.INFO: IMEI acknowledgment sent {"connection_id":106889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:41:38] local.INFO: TCP Data received {"connection_id":106889,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:41:38] local.INFO: Processing buffer {"connection_id":106889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:41:38] local.INFO: IMEI packet received {"connection_id":106889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":106889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:41:39] local.INFO: TCP Data received {"connection_id":106889,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:41:39] local.INFO: Processing buffer {"connection_id":106889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:41:39] local.INFO: Packet analysis {"connection_id":106889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:39] local.INFO: Extracted packet for processing {"connection_id":106889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:41:39] 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-06-18 19:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:41:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:41:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":106889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:41:39] local.INFO: GPS data processed {"connection_id":106889,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:41:39] local.INFO: Acknowledgment sent {"connection_id":106889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:41:41] local.INFO: TCP Data received {"connection_id":106888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1190b0012d7c978005d86098000001661d..."} 
[2026-06-18 19:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1190b0012d7c978005d86098000001661d..."} 
[2026-06-18 19:41:41] local.INFO: Processing buffer {"connection_id":106888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1190b0012d7c978005d86098000001661d..."} 
[2026-06-18 19:41:41] local.INFO: Packet analysis {"connection_id":106888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:41] local.INFO: Extracted packet for processing {"connection_id":106888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":763139968,"raw_latitude":98066584,"longitude_deg":76.3139968,"latitude_deg":9.8066584,"altitude":0,"angle":358,"satellites":29,"speed":45,"hex_longitude":"2d7c9780","hex_latitude":"05d86098","is_valid_coordinates":true} 
[2026-06-18 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94088577243152384,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977996251009880064,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,195,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781791822000,"timestamp_ms":1781791822000,"timestamp_seconds":1781791822,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1190b0"} 
[2026-06-18 19:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:41:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 19:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:41:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:41:41] 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-06-18 19:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":11558,"195":206,"85":15104,"24":45,"16":94088577243152384,"45":8977996251009880064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-06-18 19:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:41:41] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-06-18 19:41:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94088577243152384,"km_value":94088577243152.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977996251009880064,"description":"Unknown IO ID 45"} 
[2026-06-18 19:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":11558,"unknown_195":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8977996251009880064}} 
[2026-06-18 19:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":106888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346277,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:41:41] local.INFO: GPS data processed {"connection_id":106888,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:41:41] local.INFO: Acknowledgment sent {"connection_id":106888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:41:44] local.INFO: TCP Data received {"connection_id":106293,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:41:44] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:41:44] local.INFO: IMEI packet received {"connection_id":106293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":106293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:41:49] local.INFO: TCP Data received {"connection_id":106293,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:41:49] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:41:49] local.INFO: IMEI packet received {"connection_id":106293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":106293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:41:50] local.INFO: TCP Data received {"connection_id":106293,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1038f0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1038f0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:41:50] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1038f0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:41:50] local.INFO: Packet analysis {"connection_id":106293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:41:50] local.INFO: Extracted packet for processing {"connection_id":106293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138678528001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:41:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791734000,"timestamp_ms":1781791734000,"timestamp_seconds":1781791734,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1038f0"} 
[2026-06-18 19:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:41:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-06-18 19:41:50] 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-06-18 19:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138678528001,"66":12037,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138678528001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:41:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:41:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138678528001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":106293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:41:50] local.INFO: GPS data processed {"connection_id":106293,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:41:50] local.INFO: Acknowledgment sent {"connection_id":106293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:41:59] local.INFO: TCP Data received {"connection_id":107841,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:59] local.INFO: Processing buffer {"connection_id":107841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:41:59] local.INFO: IMEI packet received {"connection_id":107841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":107841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:42:00] local.INFO: TCP Data received {"connection_id":107841,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:00] local.INFO: Processing buffer {"connection_id":107841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:00] local.INFO: IMEI packet received {"connection_id":107841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":107841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:42:01] local.INFO: TCP Data received {"connection_id":106292,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb11aff0012cc2dc8007669e10004d003e30..."} 
[2026-06-18 19:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb11aff0012cc2dc8007669e10004d003e30..."} 
[2026-06-18 19:42:01] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb11aff0012cc2dc8007669e10004d003e30..."} 
[2026-06-18 19:42:01] local.INFO: Packet analysis {"connection_id":106292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:01] local.INFO: Extracted packet for processing {"connection_id":106292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:01] local.INFO: GPS Element Parsed {"raw_longitude":750967936,"raw_latitude":124165648,"longitude_deg":75.0967936,"latitude_deg":12.4165648,"altitude":77,"angle":62,"satellites":48,"speed":51,"hex_longitude":"2cc2dc80","hex_latitude":"07669e10","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138707200001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318905775609085952,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4411346171968098304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791830000,"timestamp_ms":1781791830000,"timestamp_seconds":1781791830,"priority":1,"record_length":96,"hex_timestamp":"0000019edb11aff0"} 
[2026-06-18 19:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:42: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-06-18 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 19:42: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-06-18 19: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-06-18 19:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138707200001,"66":27376,"209":206,"85":37120,"24":51,"16":318905775609085952,"44":-4411346171968098304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,85,24,16,44]} 
[2026-06-18 19:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138707200001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:42:01] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 19:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318905775609085952,"km_value":318905775609085.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:42:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4411346171968098304,"description":"Unknown IO ID 44"} 
[2026-06-18 19:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138707200001,"power":27376,"unknown_209":206,"unknown_85":37120,"ignition":51,"odometer":null,"unknown_44":-4411346171968098304}} 
[2026-06-18 19:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":106292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:42:01] local.INFO: GPS data processed {"connection_id":106292,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:42:01] local.INFO: Acknowledgment sent {"connection_id":106292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:42:11] local.INFO: TCP Data received {"connection_id":106889,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:42:11] local.INFO: Processing buffer {"connection_id":106889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:42:11] local.INFO: Packet analysis {"connection_id":106889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:11] local.INFO: Extracted packet for processing {"connection_id":106889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:42:11] 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-06-18 19:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:42:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":106889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:42:11] local.INFO: GPS data processed {"connection_id":106889,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:42:11] local.INFO: Acknowledgment sent {"connection_id":106889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:42:12] local.INFO: TCP Data received {"connection_id":107841,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107841,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:12] local.INFO: Processing buffer {"connection_id":107841,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:12] local.INFO: IMEI packet received {"connection_id":107841,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":107841,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:42:13] local.INFO: TCP Data received {"connection_id":107841,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb11aff0012d7c960005d88408000001641c..."} 
[2026-06-18 19:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb11aff0012d7c960005d88408000001641c..."} 
[2026-06-18 19:42:13] local.INFO: Processing buffer {"connection_id":107841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb11aff0012d7c960005d88408000001641c..."} 
[2026-06-18 19:42:13] local.INFO: Packet analysis {"connection_id":107841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:13] local.INFO: Extracted packet for processing {"connection_id":107841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:13] local.INFO: GPS Element Parsed {"raw_longitude":763139584,"raw_latitude":98075656,"longitude_deg":76.3139584,"latitude_deg":9.8075656,"altitude":0,"angle":356,"satellites":28,"speed":44,"hex_longitude":"2d7c9600","hex_latitude":"05d88408","is_valid_coordinates":true} 
[2026-06-18 19:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138706432001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94089015329816576,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977785144779773952,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781791830000,"timestamp_ms":1781791830000,"timestamp_seconds":1781791830,"priority":1,"record_length":96,"hex_timestamp":"0000019edb11aff0"} 
[2026-06-18 19:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 19:42:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:42:13] 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-06-18 19:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138706432001,"66":11765,"196":206,"85":15104,"24":44,"16":94089015329816576,"45":8977785144779773952},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-06-18 19:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138706432001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:42:13] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 19:42:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94089015329816576,"km_value":94089015329816.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977785144779773952,"description":"Unknown IO ID 45"} 
[2026-06-18 19:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138706432001,"power":11765,"unknown_196":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8977785144779773952}} 
[2026-06-18 19:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":107841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346281,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:42:13] local.INFO: GPS data processed {"connection_id":107841,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:42:13] local.INFO: Acknowledgment sent {"connection_id":107841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:42:22] local.INFO: TCP Data received {"connection_id":106293,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb108af8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb108af8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:42:22] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb108af8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:42:22] local.INFO: Packet analysis {"connection_id":106293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:42:22] local.INFO: Extracted packet for processing {"connection_id":106293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138683904001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791755000,"timestamp_ms":1781791755000,"timestamp_seconds":1781791755,"priority":1,"record_length":96,"hex_timestamp":"0000019edb108af8"} 
[2026-06-18 19:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3675147456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":250,"raw_value":2617245696,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4212654141,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182182464979200,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366823,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4204527616,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2304462023632683814,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195022592,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:22] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,250,230,45,64,251,61,37,10,66,148,39,1,240,9,219,31,4,113,205,36,239,49,2,11,7,69],"length":484,"final_offset":614,"validated_count":33,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-06-18 19:42:22] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4395798173033955328,"timestamp_seconds":4395798173033955.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138683904001,"66":12722,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138683904001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:42:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:42:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138683904001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":106293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:42:22] local.INFO: GPS data processed {"connection_id":106293,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:42:22] local.INFO: Acknowledgment sent {"connection_id":106293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:42:24] local.INFO: TCP Data received {"connection_id":106109,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:24] local.INFO: Processing buffer {"connection_id":106109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:24] local.INFO: IMEI packet received {"connection_id":106109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":106109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:42:26] local.INFO: TCP Data received {"connection_id":106109,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:26] local.INFO: Processing buffer {"connection_id":106109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:26] local.INFO: IMEI packet received {"connection_id":106109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":106109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:42:29] local.INFO: TCP Data received {"connection_id":106109,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:29] local.INFO: Processing buffer {"connection_id":106109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:42:29] local.INFO: IMEI packet received {"connection_id":106109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":106109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:42:30] local.INFO: TCP Data received {"connection_id":106109,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb12a220012cc3734007675688005c00112f..."} 
[2026-06-18 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb12a220012cc3734007675688005c00112f..."} 
[2026-06-18 19:42:30] local.INFO: Processing buffer {"connection_id":106109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb12a220012cc3734007675688005c00112f..."} 
[2026-06-18 19:42:30] local.INFO: Packet analysis {"connection_id":106109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:42:30] local.INFO: Extracted packet for processing {"connection_id":106109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:42:30] local.INFO: GPS Element Parsed {"raw_longitude":751006528,"raw_latitude":124212872,"longitude_deg":75.1006528,"latitude_deg":12.4212872,"altitude":92,"angle":17,"satellites":47,"speed":47,"hex_longitude":"2cc37340","hex_latitude":"07675688","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138722304001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318908846510702592,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4366380544427798528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:30] 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-06-18 19:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791892000,"timestamp_ms":1781791892000,"timestamp_seconds":1781791892,"priority":1,"record_length":96,"hex_timestamp":"0000019edb12a220"} 
[2026-06-18 19:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":240,"data_length":795,"current_offset":136} 
[2026-06-18 19:42: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-06-18 19: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-06-18 19:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138722304001,"66":27463,"88":206,"85":37120,"24":47,"16":318908846510702592,"44":-4366380544427798528},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-18 19:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138722304001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:42:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-18 19:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318908846510702592,"km_value":318908846510702.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4366380544427798528,"description":"Unknown IO ID 44"} 
[2026-06-18 19:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138722304001,"power":27463,"unknown_88":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4366380544427798528}} 
[2026-06-18 19:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":106109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:42:30] local.INFO: GPS data processed {"connection_id":106109,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:42:30] local.INFO: Acknowledgment sent {"connection_id":106109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:42:32] local.INFO: TCP Data received {"connection_id":106110,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:42:32] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:42:32] local.INFO: IMEI packet received {"connection_id":106110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":106110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:42:38] local.INFO: TCP Data received {"connection_id":106110,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:42:38] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:42:38] local.INFO: IMEI packet received {"connection_id":106110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":106110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:42:39] local.INFO: TCP Data received {"connection_id":106110,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:42:39] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:42:39] local.INFO: Packet analysis {"connection_id":106110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:39] local.INFO: Extracted packet for processing {"connection_id":106110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:42:39] 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-06-18 19:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:42:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:42:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":106110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:42:39] local.INFO: GPS data processed {"connection_id":106110,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:42:39] local.INFO: Acknowledgment sent {"connection_id":106110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:42:44] local.INFO: TCP Data received {"connection_id":106890,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:42:44] local.INFO: Processing buffer {"connection_id":106890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:42:44] local.INFO: IMEI packet received {"connection_id":106890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":106890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:42:44] local.INFO: TCP Data received {"connection_id":107841,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb11d318012d7c944005d8a9800000016219..."} 
[2026-06-18 19:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb11d318012d7c944005d8a9800000016219..."} 
[2026-06-18 19:42:44] local.INFO: Processing buffer {"connection_id":107841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb11d318012d7c944005d8a9800000016219..."} 
[2026-06-18 19:42:44] local.INFO: Packet analysis {"connection_id":107841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:44] local.INFO: Extracted packet for processing {"connection_id":107841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:42:44] local.INFO: GPS Element Parsed {"raw_longitude":763139136,"raw_latitude":98085248,"longitude_deg":76.3139136,"latitude_deg":9.8085248,"altitude":0,"angle":354,"satellites":25,"speed":40,"hex_longitude":"2d7c9440","hex_latitude":"05d8a980","is_valid_coordinates":true} 
[2026-06-18 19:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138708480001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94089479186284544,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977362932317030400,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781791839000,"timestamp_ms":1781791839000,"timestamp_seconds":1781791839,"priority":1,"record_length":96,"hex_timestamp":"0000019edb11d318"} 
[2026-06-18 19:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 19:42:44] 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-06-18 19:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107841,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:42:44] 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-06-18 19:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138708480001,"66":11026,"196":206,"85":15104,"24":40,"16":94089479186284544,"45":8977362932317030400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-06-18 19:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138708480001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:42:44] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-06-18 19:42:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94089479186284544,"km_value":94089479186284.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977362932317030400,"description":"Unknown IO ID 45"} 
[2026-06-18 19:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138708480001,"power":11026,"unknown_196":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8977362932317030400}} 
[2026-06-18 19:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":107841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346285,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:42:44] local.INFO: GPS data processed {"connection_id":107841,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:42:44] local.INFO: Acknowledgment sent {"connection_id":107841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:42:49] local.INFO: TCP Data received {"connection_id":106890,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:42:49] local.INFO: Processing buffer {"connection_id":106890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:42:49] local.INFO: IMEI packet received {"connection_id":106890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":106890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:42:50] local.INFO: TCP Data received {"connection_id":106890,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb10dd00012d193d40071ffb18003d010326..."} 
[2026-06-18 19:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb10dd00012d193d40071ffb18003d010326..."} 
[2026-06-18 19:42:50] local.INFO: Processing buffer {"connection_id":106890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb10dd00012d193d40071ffb18003d010326..."} 
[2026-06-18 19:42:50] local.INFO: Packet analysis {"connection_id":106890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:42:50] local.INFO: Extracted packet for processing {"connection_id":106890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb10"} 
[2026-06-18 19:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138689280001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791776000,"timestamp_ms":1781791776000,"timestamp_seconds":1781791776,"priority":1,"record_length":96,"hex_timestamp":"0000019edb10dd00"} 
[2026-06-18 19:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 19:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138689280001,"66":12722,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138689280001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:42:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138689280001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":106890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:42:50] local.INFO: GPS data processed {"connection_id":106890,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:42:50] local.INFO: Acknowledgment sent {"connection_id":106890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:42:59] local.INFO: TCP Data received {"connection_id":106111,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:59] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:42:59] local.INFO: IMEI packet received {"connection_id":106111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":106111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:43:01] local.INFO: TCP Data received {"connection_id":106109,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb12c160012cc37f4007677ad8005c000f30..."} 
[2026-06-18 19:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb12c160012cc37f4007677ad8005c000f30..."} 
[2026-06-18 19:43:01] local.INFO: Processing buffer {"connection_id":106109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb12c160012cc37f4007677ad8005c000f30..."} 
[2026-06-18 19:43:01] local.INFO: Packet analysis {"connection_id":106109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:43:01] local.INFO: Extracted packet for processing {"connection_id":106109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:43:01] local.INFO: GPS Element Parsed {"raw_longitude":751009600,"raw_latitude":124222168,"longitude_deg":75.10096,"latitude_deg":12.4222168,"altitude":92,"angle":15,"satellites":48,"speed":47,"hex_longitude":"2cc37f40","hex_latitude":"07677ad8","is_valid_coordinates":true} 
[2026-06-18 19:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138724352001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318909318957105152,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4363073213449205760,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:01] 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-06-18 19:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791900000,"timestamp_ms":1781791900000,"timestamp_seconds":1781791900,"priority":1,"record_length":96,"hex_timestamp":"0000019edb12c160"} 
[2026-06-18 19:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:43: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-06-18 19:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-06-18 19:43: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-06-18 19:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138724352001,"66":27484,"88":206,"85":37120,"24":47,"16":318909318957105152,"44":-4363073213449205760},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,88,85,24,16,44]} 
[2026-06-18 19:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138724352001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:43:01] local.INFO: Unknown IO ID detected {"io_id":88,"value":206,"description":"Unknown IO ID 88"} 
[2026-06-18 19:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318909318957105152,"km_value":318909318957105.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:43:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4363073213449205760,"description":"Unknown IO ID 44"} 
[2026-06-18 19:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138724352001,"power":27484,"unknown_88":206,"unknown_85":37120,"ignition":47,"odometer":null,"unknown_44":-4363073213449205760}} 
[2026-06-18 19:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":106109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:43:01] local.INFO: GPS data processed {"connection_id":106109,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:43:01] local.INFO: Acknowledgment sent {"connection_id":106109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:43:04] local.INFO: TCP Data received {"connection_id":106111,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:43:04] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:43:04] local.INFO: IMEI packet received {"connection_id":106111,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":106111,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:43:05] local.INFO: TCP Data received {"connection_id":106111,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb139838012d7c614005da35600000015720..."} 
[2026-06-18 19:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb139838012d7c614005da35600000015720..."} 
[2026-06-18 19:43:05] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb139838012d7c614005da35600000015720..."} 
[2026-06-18 19:43:05] local.INFO: Packet analysis {"connection_id":106111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:43:05] local.INFO: Extracted packet for processing {"connection_id":106111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":763126080,"raw_latitude":98186592,"longitude_deg":76.312608,"latitude_deg":9.8186592,"altitude":0,"angle":343,"satellites":32,"speed":44,"hex_longitude":"2d7c6140","hex_latitude":"05da3560","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138738432001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94094444168478720,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8964837295879598080,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:05] 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-06-18 19:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781791955000,"timestamp_ms":1781791955000,"timestamp_seconds":1781791955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb139838"} 
[2026-06-18 19:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 19:43:05] 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-06-18 19: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-06-18 19:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:43:05] 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-06-18 19:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138738432001,"66":11721,"245":206,"85":15104,"24":44,"16":94094444168478720,"45":8964837295879598080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-06-18 19:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138738432001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:43:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94094444168478720,"km_value":94094444168478.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8964837295879598080,"description":"Unknown IO ID 45"} 
[2026-06-18 19:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138738432001,"power":11721,"geofence_id":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8964837295879598080}} 
[2026-06-18 19:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":106111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346288,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:43:05] local.INFO: GPS data processed {"connection_id":106111,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:43:05] local.INFO: Acknowledgment sent {"connection_id":106111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:43:11] local.INFO: TCP Data received {"connection_id":106110,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:43:11] local.INFO: Processing buffer {"connection_id":106110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:43:11] local.INFO: Packet analysis {"connection_id":106110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:43:11] local.INFO: Extracted packet for processing {"connection_id":106110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:43:11] 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-06-18 19:43:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106110,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:43:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":106110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:43:11] local.INFO: GPS data processed {"connection_id":106110,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:43:11] local.INFO: Acknowledgment sent {"connection_id":106110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:43:22] local.INFO: TCP Data received {"connection_id":106890,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb112f08012d193d40071ffb18003d010327..."} 
[2026-06-18 19:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb112f08012d193d40071ffb18003d010327..."} 
[2026-06-18 19:43:22] local.INFO: Processing buffer {"connection_id":106890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb112f08012d193d40071ffb18003d010327..."} 
[2026-06-18 19:43:22] local.INFO: Packet analysis {"connection_id":106890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:43:22] local.INFO: Extracted packet for processing {"connection_id":106890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:43:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:43:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138694656001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:43:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791797000,"timestamp_ms":1781791797000,"timestamp_seconds":1781791797,"priority":1,"record_length":96,"hex_timestamp":"0000019edb112f08"} 
[2026-06-18 19:43:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:43:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:43:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 19:43:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:43:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:43:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:43:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:43:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:43:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:43:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:43:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:43:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:43:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:43:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138694656001,"66":12711,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:43:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:43:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:43:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138694656001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:43:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:43:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:43:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:43:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:43:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138694656001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:43:22] local.INFO: DEBUG: GPS processor result {"connection_id":106890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:43:22] local.INFO: GPS data processed {"connection_id":106890,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:43:22] local.INFO: Acknowledgment sent {"connection_id":106890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:43:24] local.INFO: TCP Data received {"connection_id":106112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:24] local.INFO: Processing buffer {"connection_id":106112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:24] local.INFO: IMEI packet received {"connection_id":106112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":106112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:43:24] local.INFO: TCP Data received {"connection_id":106112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:24] local.INFO: Processing buffer {"connection_id":106112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:24] local.INFO: IMEI packet received {"connection_id":106112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":106112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:43:25] local.INFO: TCP Data received {"connection_id":106112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:25] local.INFO: Processing buffer {"connection_id":106112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:25] local.INFO: IMEI packet received {"connection_id":106112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:43:25] local.INFO: IMEI acknowledgment sent {"connection_id":106112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:43:26] local.INFO: TCP Data received {"connection_id":106112,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:26] local.INFO: Processing buffer {"connection_id":106112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:43:26] local.INFO: IMEI packet received {"connection_id":106112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":106112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:43:33] local.INFO: TCP Data received {"connection_id":106891,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:43:33] local.INFO: Processing buffer {"connection_id":106891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:43:33] local.INFO: IMEI packet received {"connection_id":106891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":106891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:43:37] local.INFO: TCP Data received {"connection_id":106111,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13bb60012d7c564005da5920000001531c..."} 
[2026-06-18 19:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13bb60012d7c564005da5920000001531c..."} 
[2026-06-18 19:43:37] local.INFO: Processing buffer {"connection_id":106111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13bb60012d7c564005da5920000001531c..."} 
[2026-06-18 19:43:37] local.INFO: Packet analysis {"connection_id":106111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:43:37] local.INFO: Extracted packet for processing {"connection_id":106111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":763123264,"raw_latitude":98195744,"longitude_deg":76.3123264,"latitude_deg":9.8195744,"altitude":0,"angle":339,"satellites":28,"speed":43,"hex_longitude":"2d7c5640","hex_latitude":"05da5920","is_valid_coordinates":true} 
[2026-06-18 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138740480001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94094908024946688,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962515127323942912,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:37] 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-06-18 19:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781791964000,"timestamp_ms":1781791964000,"timestamp_seconds":1781791964,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13bb60"} 
[2026-06-18 19:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:43:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:43:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 19:43:37] 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-06-18 19:43:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106111,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:43:37] 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-06-18 19:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138740480001,"66":11547,"245":206,"85":15104,"24":43,"16":94094908024946688,"45":8962515127323942912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-06-18 19:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138740480001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:43:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94094908024946688,"km_value":94094908024946.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962515127323942912,"description":"Unknown IO ID 45"} 
[2026-06-18 19:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138740480001,"power":11547,"geofence_id":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8962515127323942912}} 
[2026-06-18 19:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":106111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346291,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:43:37] local.INFO: GPS data processed {"connection_id":106111,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:43:37] local.INFO: Acknowledgment sent {"connection_id":106111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:43:38] local.INFO: TCP Data received {"connection_id":106891,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:43:38] local.INFO: Processing buffer {"connection_id":106891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:43:38] local.INFO: IMEI packet received {"connection_id":106891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":106891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:43:39] local.INFO: TCP Data received {"connection_id":106891,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:43:39] local.INFO: Processing buffer {"connection_id":106891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:43:39] local.INFO: Packet analysis {"connection_id":106891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:43:39] local.INFO: Extracted packet for processing {"connection_id":106891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:43:39] 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-06-18 19:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:43:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":106891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:43:39] local.INFO: GPS data processed {"connection_id":106891,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:43:39] local.INFO: Acknowledgment sent {"connection_id":106891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:43:44] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:44] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:44] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:43:45] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:45] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:45] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:43:45] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:43:49] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:49] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:43:49] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:43:51] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb118110012d193d40071ffb18003d010327..."} 
[2026-06-18 19:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb118110012d193d40071ffb18003d010327..."} 
[2026-06-18 19:43:51] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb118110012d193d40071ffb18003d010327..."} 
[2026-06-18 19:43:51] local.INFO: Packet analysis {"connection_id":106294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:43:51] local.INFO: Extracted packet for processing {"connection_id":106294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:43:51] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:43:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138700032001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:43:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:43:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781791818000,"timestamp_ms":1781791818000,"timestamp_seconds":1781791818,"priority":1,"record_length":96,"hex_timestamp":"0000019edb118110"} 
[2026-06-18 19:43:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:43:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:43:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-06-18 19:43:51] 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-06-18 19:43:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:43:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:43:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:43:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:43:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:43:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:43:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:43:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:43:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:43:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138700032001,"66":11961,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:43:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:43:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:43:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138700032001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:43:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:43:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:43:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:43:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:43:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138700032001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:43:51] local.INFO: DEBUG: GPS processor result {"connection_id":106294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:43:51] local.INFO: GPS data processed {"connection_id":106294,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:43:51] local.INFO: Acknowledgment sent {"connection_id":106294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:43:59] local.INFO: TCP Data received {"connection_id":106113,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:43:59] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:43:59] local.INFO: IMEI packet received {"connection_id":106113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":106113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:44:05] local.INFO: TCP Data received {"connection_id":106113,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:44:05] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:44:05] local.INFO: IMEI packet received {"connection_id":106113,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":106113,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:44:06] local.INFO: TCP Data received {"connection_id":106113,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13de88012d7c49c005da7c78000001541f..."} 
[2026-06-18 19:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13de88012d7c49c005da7c78000001541f..."} 
[2026-06-18 19:44:06] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13de88012d7c49c005da7c78000001541f..."} 
[2026-06-18 19:44:06] local.INFO: Packet analysis {"connection_id":106113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:44:06] local.INFO: Extracted packet for processing {"connection_id":106113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:44:06] local.INFO: GPS Element Parsed {"raw_longitude":763120064,"raw_latitude":98204792,"longitude_deg":76.3120064,"latitude_deg":9.8204792,"altitude":0,"angle":340,"satellites":31,"speed":38,"hex_longitude":"2d7c49c0","hex_latitude":"05da7c78","is_valid_coordinates":true} 
[2026-06-18 19:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138742784001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94095371881414656,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959418902582468608,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:06] 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-06-18 19:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781791973000,"timestamp_ms":1781791973000,"timestamp_seconds":1781791973,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13de88"} 
[2026-06-18 19:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:44:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:44:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 19:44:06] 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-06-18 19:44:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:44:06] 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-06-18 19:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138742784001,"66":11721,"245":206,"85":15104,"24":38,"16":94095371881414656,"45":8959418902582468608},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-06-18 19:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138742784001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:44:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94095371881414656,"km_value":94095371881414.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959418902582468608,"description":"Unknown IO ID 45"} 
[2026-06-18 19:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138742784001,"power":11721,"geofence_id":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8959418902582468608}} 
[2026-06-18 19:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":106113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346294,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:44:06] local.INFO: GPS data processed {"connection_id":106113,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:44:06] local.INFO: Acknowledgment sent {"connection_id":106113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:44:11] local.INFO: TCP Data received {"connection_id":106891,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:44:11] local.INFO: Processing buffer {"connection_id":106891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:44:11] local.INFO: Packet analysis {"connection_id":106891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:44:11] local.INFO: Extracted packet for processing {"connection_id":106891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:44:11] 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-06-18 19:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:44:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:44:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":106891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:44:11] local.INFO: GPS data processed {"connection_id":106891,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:44:11] local.INFO: Acknowledgment sent {"connection_id":106891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:44:22] local.INFO: TCP Data received {"connection_id":106294,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb11d318012d193d40071ffb18003d010326..."} 
[2026-06-18 19:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb11d318012d193d40071ffb18003d010326..."} 
[2026-06-18 19:44:22] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb11d318012d193d40071ffb18003d010326..."} 
[2026-06-18 19:44:22] local.INFO: Packet analysis {"connection_id":106294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:44:22] local.INFO: Extracted packet for processing {"connection_id":106294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:44:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138705408001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791839000,"timestamp_ms":1781791839000,"timestamp_seconds":1781791839,"priority":1,"record_length":96,"hex_timestamp":"0000019edb11d318"} 
[2026-06-18 19:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:44:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:44:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 19:44:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:44:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106294,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138705408001,"66":12678,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138705408001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:44:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:44:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138705408001,"power":12678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":106294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:44:22] local.INFO: GPS data processed {"connection_id":106294,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:44:22] local.INFO: Acknowledgment sent {"connection_id":106294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:44:37] local.INFO: TCP Data received {"connection_id":106113,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1401b0012d7c3d4005da9f20000101551e..."} 
[2026-06-18 19:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1401b0012d7c3d4005da9f20000101551e..."} 
[2026-06-18 19:44:37] local.INFO: Processing buffer {"connection_id":106113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1401b0012d7c3d4005da9f20000101551e..."} 
[2026-06-18 19:44:37] local.INFO: Packet analysis {"connection_id":106113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb14"} 
[2026-06-18 19:44:37] local.INFO: Extracted packet for processing {"connection_id":106113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb14"} 
[2026-06-18 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":763116864,"raw_latitude":98213664,"longitude_deg":76.3116864,"latitude_deg":9.8213664,"altitude":1,"angle":341,"satellites":30,"speed":43,"hex_longitude":"2d7c3d40","hex_latitude":"05da9f20","is_valid_coordinates":true} 
[2026-06-18 19:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:44:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138745088001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94095827147948032,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8955900465375901696,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:44:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781791982000,"timestamp_ms":1781791982000,"timestamp_seconds":1781791982,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1401b0"} 
[2026-06-18 19:44:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:44:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:44:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 19:44:37] 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-06-18 19:44:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:44:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:44:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:44:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:44:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:44:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106113,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:44:37] 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-06-18 19:44:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:44:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:44:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138745088001,"66":11743,"187":206,"85":15104,"24":43,"16":94095827147948032,"45":8955900465375901696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-06-18 19:44:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:44:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:44:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138745088001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:44:37] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-06-18 19:44:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:44:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94095827147948032,"km_value":94095827147948.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:44:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8955900465375901696,"description":"Unknown IO ID 45"} 
[2026-06-18 19:44:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138745088001,"power":11743,"unknown_187":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8955900465375901696}} 
[2026-06-18 19:44:37] local.INFO: DEBUG: GPS processor result {"connection_id":106113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346297,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:44:37] local.INFO: GPS data processed {"connection_id":106113,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:44:37] local.INFO: Acknowledgment sent {"connection_id":106113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:44:38] local.INFO: TCP Data received {"connection_id":106114,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:44:38] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:44:38] local.INFO: IMEI packet received {"connection_id":106114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":106114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:44:43] local.INFO: TCP Data received {"connection_id":106114,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:44:43] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:44:43] local.INFO: IMEI packet received {"connection_id":106114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":106114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:44:44] local.INFO: TCP Data received {"connection_id":106114,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:44:44] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:44:44] local.INFO: Packet analysis {"connection_id":106114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:44:44] local.INFO: Extracted packet for processing {"connection_id":106114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:44:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:44:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:44:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:44:44] 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-06-18 19:44:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:44:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:44:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":106114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:44:44] local.INFO: GPS data processed {"connection_id":106114,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:44:44] local.INFO: Acknowledgment sent {"connection_id":106114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:44:47] local.INFO: TCP Data received {"connection_id":106892,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:47] local.INFO: Processing buffer {"connection_id":106892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:47] local.INFO: IMEI packet received {"connection_id":106892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":106892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:44:49] local.INFO: TCP Data received {"connection_id":106892,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:49] local.INFO: Processing buffer {"connection_id":106892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:49] local.INFO: IMEI packet received {"connection_id":106892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":106892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:44:54] local.INFO: TCP Data received {"connection_id":106892,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:54] local.INFO: Processing buffer {"connection_id":106892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:44:54] local.INFO: IMEI packet received {"connection_id":106892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":106892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:44:55] local.INFO: TCP Data received {"connection_id":106892,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb122520012d193d40071ffb18003d010326..."} 
[2026-06-18 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb122520012d193d40071ffb18003d010326..."} 
[2026-06-18 19:44:55] local.INFO: Processing buffer {"connection_id":106892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb122520012d193d40071ffb18003d010326..."} 
[2026-06-18 19:44:55] local.INFO: Packet analysis {"connection_id":106892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:44:55] local.INFO: Extracted packet for processing {"connection_id":106892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138710784001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781791860000,"timestamp_ms":1781791860000,"timestamp_seconds":1781791860,"priority":1,"record_length":96,"hex_timestamp":"0000019edb122520"} 
[2026-06-18 19:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":134,"data_length":795,"current_offset":136} 
[2026-06-18 19:44:55] 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-06-18 19: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-06-18 19:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138710784001,"66":12667,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138710784001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:44:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138710784001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":106892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:44:56] local.INFO: GPS data processed {"connection_id":106892,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:44:56] local.INFO: Acknowledgment sent {"connection_id":106892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:45:08] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:08] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:08] local.INFO: IMEI packet received {"connection_id":106296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":106296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:45:10] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:10] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:10] local.INFO: IMEI packet received {"connection_id":106296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":106296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:45:15] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:15] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:45:15] local.INFO: IMEI packet received {"connection_id":106296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":106296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:45:15] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1420f0012d7c31c005dac0480001015620..."} 
[2026-06-18 19:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1420f0012d7c31c005dac0480001015620..."} 
[2026-06-18 19:45:15] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1420f0012d7c31c005dac0480001015620..."} 
[2026-06-18 19:45:15] local.INFO: Packet analysis {"connection_id":106296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb14"} 
[2026-06-18 19:45:15] local.INFO: Extracted packet for processing {"connection_id":106296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb14"} 
[2026-06-18 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":763113920,"raw_latitude":98222152,"longitude_deg":76.311392,"latitude_deg":9.8222152,"altitude":1,"angle":342,"satellites":32,"speed":44,"hex_longitude":"2d7c31c0","hex_latitude":"05dac048","is_valid_coordinates":true} 
[2026-06-18 19:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138747392001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94096260939644928,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952382028169289728,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781791990000,"timestamp_ms":1781791990000,"timestamp_seconds":1781791990,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1420f0"} 
[2026-06-18 19:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 19:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:45:15] 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-06-18 19:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138747392001,"66":11798,"187":206,"85":15104,"24":44,"16":94096260939644928,"45":8952382028169289728},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-06-18 19:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138747392001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:45:15] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-06-18 19:45:15] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94096260939644928,"km_value":94096260939644.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952382028169289728,"description":"Unknown IO ID 45"} 
[2026-06-18 19:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138747392001,"power":11798,"unknown_187":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8952382028169289728}} 
[2026-06-18 19:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":106296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346300,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:45:15] local.INFO: GPS data processed {"connection_id":106296,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:45:15] local.INFO: Acknowledgment sent {"connection_id":106296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:45:16] local.INFO: TCP Data received {"connection_id":106114,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:45:16] local.INFO: Processing buffer {"connection_id":106114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:45:16] local.INFO: Packet analysis {"connection_id":106114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:45:16] local.INFO: Extracted packet for processing {"connection_id":106114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:45:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:45:16] 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-06-18 19:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:45:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:45:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":106114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:45:16] local.INFO: GPS data processed {"connection_id":106114,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:45:16] local.INFO: Acknowledgment sent {"connection_id":106114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:45:17] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb144418012d7c278005dae2a00000015a20..."} 
[2026-06-18 19:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb144418012d7c278005dae2a00000015a20..."} 
[2026-06-18 19:45:17] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb144418012d7c278005dae2a00000015a20..."} 
[2026-06-18 19:45:17] local.INFO: Packet analysis {"connection_id":106296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb14"} 
[2026-06-18 19:45:17] local.INFO: Extracted packet for processing {"connection_id":106296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb14"} 
[2026-06-18 19:45:17] local.INFO: GPS Element Parsed {"raw_longitude":763111296,"raw_latitude":98230944,"longitude_deg":76.3111296,"latitude_deg":9.8230944,"altitude":0,"angle":346,"satellites":32,"speed":36,"hex_longitude":"2d7c2780","hex_latitude":"05dae2a0","is_valid_coordinates":true} 
[2026-06-18 19:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138749440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94096707616243712,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949145065939290112,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781791999000,"timestamp_ms":1781791999000,"timestamp_seconds":1781791999,"priority":1,"record_length":96,"hex_timestamp":"0000019edb144418"} 
[2026-06-18 19:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3675477456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184123629773,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372273064,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":245,"raw_value":57888136164693307,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":74,"raw_value":3523215360,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846084336,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2834628814,"corrected_to":0} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":120,"raw_value":4160826748,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":105,"raw_value":2147867155,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":78,"raw_value":5302425611275337728,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":73,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619931836418,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":118,"raw_value":4613332851964772353,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":97,"raw_value":1585308850276272640,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":19,"raw_value":835419025750769669,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":217,"raw_value":-6437895667303245824,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.WARNING: Large IO value detected {"io_id":34,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:17] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,187,85,24,241,157,16,76,158,1,45,64,159,30,10,66,75,222,192,124,31,245,240,27,227,74,219,218,4,113,205,44,120,105,176,239,2,78,73,206,118,97,19,217,34],"length":632,"final_offset":762,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2834628814,"validated":0}]} 
[2026-06-18 19:45:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":72433764456464384,"timestamp_seconds":72433764456464.39,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:45:17] 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-06-18 19:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138749440001,"66":11624,"187":206,"85":15104,"24":36,"16":94096707616243712,"45":8949145065939290112},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-06-18 19:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138749440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:45:17] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-06-18 19:45:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94096707616243712,"km_value":94096707616243.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949145065939290112,"description":"Unknown IO ID 45"} 
[2026-06-18 19:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138749440001,"power":11624,"unknown_187":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8949145065939290112}} 
[2026-06-18 19:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":106296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346302,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:45:17] local.INFO: GPS data processed {"connection_id":106296,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:45:17] local.INFO: Acknowledgment sent {"connection_id":106296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:45:28] local.INFO: TCP Data received {"connection_id":106892,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb127728012d193d40071ffb18003d010325..."} 
[2026-06-18 19:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb127728012d193d40071ffb18003d010325..."} 
[2026-06-18 19:45:28] local.INFO: Processing buffer {"connection_id":106892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb127728012d193d40071ffb18003d010325..."} 
[2026-06-18 19:45:28] local.INFO: Packet analysis {"connection_id":106892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:45:28] local.INFO: Extracted packet for processing {"connection_id":106892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":37,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138716160001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781791881000,"timestamp_ms":1781791881000,"timestamp_seconds":1781791881,"priority":1,"record_length":96,"hex_timestamp":"0000019edb127728"} 
[2026-06-18 19:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:45: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-06-18 19: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-06-18 19:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138716160001,"66":12645,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138716160001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:45:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138716160001,"power":12645,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":106892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:45:28] local.INFO: GPS data processed {"connection_id":106892,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:45:28] local.INFO: Acknowledgment sent {"connection_id":106892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:45:33] local.INFO: TCP Data received {"connection_id":107842,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:45:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:45:33] local.INFO: Processing buffer {"connection_id":107842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:45:33] local.INFO: IMEI packet received {"connection_id":107842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:45:33] local.INFO: IMEI acknowledgment sent {"connection_id":107842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:45:38] local.INFO: TCP Data received {"connection_id":107842,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:45:38] local.INFO: Processing buffer {"connection_id":107842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:45:38] local.INFO: IMEI packet received {"connection_id":107842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":107842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:45:43] local.INFO: TCP Data received {"connection_id":107842,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:45:43] local.INFO: Processing buffer {"connection_id":107842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb117170012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:45:43] local.INFO: Packet analysis {"connection_id":107842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:45:43] local.INFO: Extracted packet for processing {"connection_id":107842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb11"} 
[2026-06-18 19:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138627328001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781791814000,"timestamp_ms":1781791814000,"timestamp_seconds":1781791814,"priority":1,"record_length":96,"hex_timestamp":"0000019edb117170"} 
[2026-06-18 19:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:45:43] 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-06-18 19:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138627328001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138627328001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:45:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138627328001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":107842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346304,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:45:43] local.INFO: GPS data processed {"connection_id":107842,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:45:43] local.INFO: Acknowledgment sent {"connection_id":107842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:45:44] local.INFO: TCP Data received {"connection_id":106115,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:45:44] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:45:44] local.INFO: IMEI packet received {"connection_id":106115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":106115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:45:49] local.INFO: TCP Data received {"connection_id":106115,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:45:49] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:45:49] local.INFO: IMEI packet received {"connection_id":106115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":106115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:45:51] local.INFO: TCP Data received {"connection_id":106115,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb12c930012d193d40071ffb18003d010327..."} 
[2026-06-18 19:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb12c930012d193d40071ffb18003d010327..."} 
[2026-06-18 19:45:51] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb12c930012d193d40071ffb18003d010327..."} 
[2026-06-18 19:45:51] local.INFO: Packet analysis {"connection_id":106115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:45:51] local.INFO: Extracted packet for processing {"connection_id":106115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb12"} 
[2026-06-18 19:45:51] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:45:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138721536001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:45:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:45:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781791902000,"timestamp_ms":1781791902000,"timestamp_seconds":1781791902,"priority":1,"record_length":96,"hex_timestamp":"0000019edb12c930"} 
[2026-06-18 19:45:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:45:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:45:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-06-18 19:45:51] 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-06-18 19:45:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:45:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:45:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:45:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:45:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:45:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:45:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:45:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:45:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:45:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138721536001,"66":12591,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:45:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:45:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:45:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138721536001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:45:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:45:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:45:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:45:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:45:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138721536001,"power":12591,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":106115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:45:51] local.INFO: GPS data processed {"connection_id":106115,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:45:51] local.INFO: Acknowledgment sent {"connection_id":106115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:46:00] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:00] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:00] local.INFO: IMEI packet received {"connection_id":106297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":106297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:46:00] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:00] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:00] local.INFO: IMEI packet received {"connection_id":106297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":106297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:46:05] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:05] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:46:05] local.INFO: IMEI packet received {"connection_id":106297,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":106297,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:46:06] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d7be44005dc6d18000001661e..."} 
[2026-06-18 19:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d7be44005dc6d18000001661e..."} 
[2026-06-18 19:46:06] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d7be44005dc6d18000001661e..."} 
[2026-06-18 19:46:06] local.INFO: Packet analysis {"connection_id":106297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:46:06] local.INFO: Extracted packet for processing {"connection_id":106297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":763094080,"raw_latitude":98331928,"longitude_deg":76.309408,"latitude_deg":9.8331928,"altitude":0,"angle":358,"satellites":30,"speed":43,"hex_longitude":"2d7be440","hex_latitude":"05dc6d18","is_valid_coordinates":true} 
[2026-06-18 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138779136001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94101694073274368,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927752967734890496,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:46:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 19:46:06] 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-06-18 19:46:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:46:06] 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-06-18 19:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138779136001,"66":11711,"168":206,"85":15104,"24":43,"16":94101694073274368,"45":8927752967734890496},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-06-18 19:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138779136001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:46:06] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 19:46:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94101694073274368,"km_value":94101694073274.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927752967734890496,"description":"Unknown IO ID 45"} 
[2026-06-18 19:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138779136001,"power":11711,"unknown_168":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8927752967734890496}} 
[2026-06-18 19:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":106297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346306,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:46:06] local.INFO: GPS data processed {"connection_id":106297,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:46:06] local.INFO: Acknowledgment sent {"connection_id":106297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:46:22] local.INFO: TCP Data received {"connection_id":106115,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb131b38012d193d40071ffb18003d010327..."} 
[2026-06-18 19:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb131b38012d193d40071ffb18003d010327..."} 
[2026-06-18 19:46:22] local.INFO: Processing buffer {"connection_id":106115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb131b38012d193d40071ffb18003d010327..."} 
[2026-06-18 19:46:22] local.INFO: Packet analysis {"connection_id":106115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:46:22] local.INFO: Extracted packet for processing {"connection_id":106115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138726912001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781791923000,"timestamp_ms":1781791923000,"timestamp_seconds":1781791923,"priority":1,"record_length":96,"hex_timestamp":"0000019edb131b38"} 
[2026-06-18 19:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 19:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138726912001,"66":12319,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138726912001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:46:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:46:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138726912001,"power":12319,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":106115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:46:22] local.INFO: GPS data processed {"connection_id":106115,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:46:22] local.INFO: Acknowledgment sent {"connection_id":106115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:46:33] local.INFO: TCP Data received {"connection_id":106894,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:46:33] local.INFO: Processing buffer {"connection_id":106894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:46:33] local.INFO: IMEI packet received {"connection_id":106894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":106894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:46:36] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb163048012d7be34005dc9060000001641f..."} 
[2026-06-18 19:46:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb163048012d7be34005dc9060000001641f..."} 
[2026-06-18 19:46:36] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb163048012d7be34005dc9060000001641f..."} 
[2026-06-18 19:46:36] local.INFO: Packet analysis {"connection_id":106297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:46:36] local.INFO: Extracted packet for processing {"connection_id":106297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:46:36] local.INFO: GPS Element Parsed {"raw_longitude":763093824,"raw_latitude":98340960,"longitude_deg":76.3093824,"latitude_deg":9.834096,"altitude":0,"angle":356,"satellites":31,"speed":18,"hex_longitude":"2d7be340","hex_latitude":"05dc9060","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:46:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94102132159938560,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927330755272316928,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:46:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781792125000,"timestamp_ms":1781792125000,"timestamp_seconds":1781792125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb163048"} 
[2026-06-18 19:46:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:46: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-06-18 19: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 19:46:36] 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-06-18 19: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-06-18 19:46:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:46:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:46:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:46:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:46:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106297,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:46:36] 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-06-18 19:46:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:46:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:46:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":11776,"168":206,"85":15104,"24":18,"16":94102132159938560,"45":8927330755272316928},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-06-18 19:46:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:46:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:46:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:46:36] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 19:46:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:46:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94102132159938560,"km_value":94102132159938.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:46:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927330755272316928,"description":"Unknown IO ID 45"} 
[2026-06-18 19:46:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":11776,"unknown_168":206,"unknown_85":15104,"ignition":18,"odometer":null,"unknown_45":8927330755272316928}} 
[2026-06-18 19:46:36] local.INFO: DEBUG: GPS processor result {"connection_id":106297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:46:36] local.INFO: GPS data processed {"connection_id":106297,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:46:36] local.INFO: Acknowledgment sent {"connection_id":106297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:46:38] local.INFO: TCP Data received {"connection_id":106894,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:46:38] local.INFO: Processing buffer {"connection_id":106894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:46:38] local.INFO: IMEI packet received {"connection_id":106894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":106894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:46:40] local.INFO: TCP Data received {"connection_id":106894,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:46:40] local.INFO: Processing buffer {"connection_id":106894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:46:40] local.INFO: Packet analysis {"connection_id":106894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:46:40] local.INFO: Extracted packet for processing {"connection_id":106894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:46:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:46:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":106894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:46:40] local.INFO: GPS data processed {"connection_id":106894,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:46:40] local.INFO: Acknowledgment sent {"connection_id":106894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:46:44] local.INFO: TCP Data received {"connection_id":107843,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:46:44] local.INFO: Processing buffer {"connection_id":107843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:46:44] local.INFO: IMEI packet received {"connection_id":107843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":107843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:46:49] local.INFO: TCP Data received {"connection_id":107843,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:46:49] local.INFO: Processing buffer {"connection_id":107843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:46:49] local.INFO: IMEI packet received {"connection_id":107843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":107843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:46:50] local.INFO: TCP Data received {"connection_id":107843,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb136d40012d193d40071ffb18003d010327..."} 
[2026-06-18 19:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb136d40012d193d40071ffb18003d010327..."} 
[2026-06-18 19:46:50] local.INFO: Processing buffer {"connection_id":107843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb136d40012d193d40071ffb18003d010327..."} 
[2026-06-18 19:46:50] local.INFO: Packet analysis {"connection_id":107843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:46:50] local.INFO: Extracted packet for processing {"connection_id":107843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138732288001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781791944000,"timestamp_ms":1781791944000,"timestamp_seconds":1781791944,"priority":1,"record_length":96,"hex_timestamp":"0000019edb136d40"} 
[2026-06-18 19:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 19:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":717,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138732288001,"66":12461,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138732288001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:46:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:46:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138732288001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:46:51] local.INFO: DEBUG: GPS processor result {"connection_id":107843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:46:51] local.INFO: GPS data processed {"connection_id":107843,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:46:51] local.INFO: Acknowledgment sent {"connection_id":107843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:47:00] local.INFO: TCP Data received {"connection_id":106895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:00] local.INFO: Processing buffer {"connection_id":106895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:00] local.INFO: IMEI packet received {"connection_id":106895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":106895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:47:05] local.INFO: TCP Data received {"connection_id":106895,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106895,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:05] local.INFO: Processing buffer {"connection_id":106895,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:05] local.INFO: IMEI packet received {"connection_id":106895,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":106895,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:47:05] local.INFO: TCP Data received {"connection_id":106895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1666f8012d7be20005dcb408000001661d..."} 
[2026-06-18 19:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1666f8012d7be20005dcb408000001661d..."} 
[2026-06-18 19:47:05] local.INFO: Processing buffer {"connection_id":106895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1666f8012d7be20005dcb408000001661d..."} 
[2026-06-18 19:47:05] local.INFO: Packet analysis {"connection_id":106895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:47:05] local.INFO: Extracted packet for processing {"connection_id":106895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":763093504,"raw_latitude":98350088,"longitude_deg":76.3093504,"latitude_deg":9.8350088,"altitude":0,"angle":358,"satellites":29,"speed":40,"hex_longitude":"2d7be200","hex_latitude":"05dcb408","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138784000001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94102574541570048,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927049280297918464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781792139000,"timestamp_ms":1781792139000,"timestamp_seconds":1781792139,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1666f8"} 
[2026-06-18 19:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 19:47:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3675606456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:05] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4292870144,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2930245838,"corrected_to":0} 
[2026-06-18 19:47:05] local.WARNING: Large IO value detected {"io_id":116,"raw_value":3355520379,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,168,85,24,241,157,16,81,158,9,45,64,109,30,10,66,80,230,192,71,29,194,1,240,98,227,219,4,113,205,35,116,237,160,33,239,46,2,78],"length":434,"final_offset":564,"validated_count":39,"validation_warnings":[{"io_id":205,"original":2930245838,"validated":0}]} 
[2026-06-18 19:47:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":391559284654080,"timestamp_seconds":391559284654.08,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:47:05] 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-06-18 19:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138784000001,"66":12026,"168":206,"85":15104,"24":40,"16":94102574541570048,"45":8927049280297918464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-06-18 19:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138784000001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:47:05] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-06-18 19:47:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94102574541570048,"km_value":94102574541570.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927049280297918464,"description":"Unknown IO ID 45"} 
[2026-06-18 19:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138784000001,"power":12026,"unknown_168":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8927049280297918464}} 
[2026-06-18 19:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":106895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:47:06] local.INFO: GPS data processed {"connection_id":106895,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:47:06] local.INFO: Acknowledgment sent {"connection_id":106895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:47:11] local.INFO: TCP Data received {"connection_id":106894,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:47:11] local.INFO: Processing buffer {"connection_id":106894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:47:11] local.INFO: Packet analysis {"connection_id":106894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:47:11] local.INFO: Extracted packet for processing {"connection_id":106894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:47:11] 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-06-18 19:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:47:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":106894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:47:12] local.INFO: GPS data processed {"connection_id":106894,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:47:12] local.INFO: Acknowledgment sent {"connection_id":106894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:47:23] local.INFO: TCP Data received {"connection_id":107843,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13bf48012d193d40071ffb18003d010326..."} 
[2026-06-18 19:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13bf48012d193d40071ffb18003d010326..."} 
[2026-06-18 19:47:23] local.INFO: Processing buffer {"connection_id":107843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13bf48012d193d40071ffb18003d010326..."} 
[2026-06-18 19:47:23] local.INFO: Packet analysis {"connection_id":107843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:47:23] local.INFO: Extracted packet for processing {"connection_id":107843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138737664001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781791965000,"timestamp_ms":1781791965000,"timestamp_seconds":1781791965,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13bf48"} 
[2026-06-18 19:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138737664001,"66":12537,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138737664001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:47:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:47:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138737664001,"power":12537,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":107843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:47:23] local.INFO: GPS data processed {"connection_id":107843,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:47:23] local.INFO: Acknowledgment sent {"connection_id":107843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:47:32] local.INFO: TCP Data received {"connection_id":107844,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:47:32] local.INFO: Processing buffer {"connection_id":107844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:47:32] local.INFO: IMEI packet received {"connection_id":107844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":107844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:47:37] local.INFO: TCP Data received {"connection_id":106895,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb176cb0012d7be08005dd1b780000016226..."} 
[2026-06-18 19:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb176cb0012d7be08005dd1b780000016226..."} 
[2026-06-18 19:47:37] local.INFO: Processing buffer {"connection_id":106895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb176cb0012d7be08005dd1b780000016226..."} 
[2026-06-18 19:47:37] local.INFO: Packet analysis {"connection_id":106895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb17"} 
[2026-06-18 19:47:37] local.INFO: Extracted packet for processing {"connection_id":106895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb17"} 
[2026-06-18 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":763093120,"raw_latitude":98376568,"longitude_deg":76.309312,"latitude_deg":9.8376568,"altitude":0,"angle":354,"satellites":38,"speed":15,"hex_longitude":"2d7be080","hex_latitude":"05dd1b78","is_valid_coordinates":true} 
[2026-06-18 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138804224001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94103880211628032,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926345592865060864,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:37] 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-06-18 19:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781792206000,"timestamp_ms":1781792206000,"timestamp_seconds":1781792206,"priority":1,"record_length":96,"hex_timestamp":"0000019edb176cb0"} 
[2026-06-18 19:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 19:47:37] 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-06-18 19:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106895,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:47:37] 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-06-18 19:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138804224001,"66":11743,"169":206,"85":15104,"24":15,"16":94103880211628032,"45":8926345592865060864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 19:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138804224001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:47:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 19:47:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94103880211628032,"km_value":94103880211628.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926345592865060864,"description":"Unknown IO ID 45"} 
[2026-06-18 19:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138804224001,"power":11743,"unknown_169":206,"unknown_85":15104,"ignition":15,"odometer":null,"unknown_45":8926345592865060864}} 
[2026-06-18 19:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":106895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:47:37] local.INFO: GPS data processed {"connection_id":106895,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:47:37] local.INFO: Acknowledgment sent {"connection_id":106895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:47:38] local.INFO: TCP Data received {"connection_id":107844,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:47:38] local.INFO: Processing buffer {"connection_id":107844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:47:38] local.INFO: IMEI packet received {"connection_id":107844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":107844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:47:39] local.INFO: TCP Data received {"connection_id":107844,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:47:39] local.INFO: Processing buffer {"connection_id":107844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:47:39] local.INFO: Packet analysis {"connection_id":107844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:47:39] local.INFO: Extracted packet for processing {"connection_id":107844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:47:39] 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-06-18 19:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:47:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":107844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:47:39] local.INFO: GPS data processed {"connection_id":107844,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:47:39] local.INFO: Acknowledgment sent {"connection_id":107844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:47:44] local.INFO: TCP Data received {"connection_id":106896,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:47:44] local.INFO: Processing buffer {"connection_id":106896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:47:44] local.INFO: IMEI packet received {"connection_id":106896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":106896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:47:49] local.INFO: TCP Data received {"connection_id":106896,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:47:49] local.INFO: Processing buffer {"connection_id":106896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:47:49] local.INFO: IMEI packet received {"connection_id":106896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":106896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:47:51] local.INFO: TCP Data received {"connection_id":106896,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb141150012d193d40071ffb18003d010327..."} 
[2026-06-18 19:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb141150012d193d40071ffb18003d010327..."} 
[2026-06-18 19:47:51] local.INFO: Processing buffer {"connection_id":106896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb141150012d193d40071ffb18003d010327..."} 
[2026-06-18 19:47:51] local.INFO: Packet analysis {"connection_id":106896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb14"} 
[2026-06-18 19:47:51] local.INFO: Extracted packet for processing {"connection_id":106896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb14"} 
[2026-06-18 19:47:51] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138743040001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:47:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781791986000,"timestamp_ms":1781791986000,"timestamp_seconds":1781791986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb141150"} 
[2026-06-18 19:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:47:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 19:47:51] 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-06-18 19:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:47:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138743040001,"66":12558,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138743040001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:47:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:47:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:47:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138743040001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":106896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:47:51] local.INFO: GPS data processed {"connection_id":106896,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:47:51] local.INFO: Acknowledgment sent {"connection_id":106896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:47:58] local.INFO: TCP Data received {"connection_id":107845,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:58] local.INFO: Processing buffer {"connection_id":107845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:58] local.INFO: IMEI packet received {"connection_id":107845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":107845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:47:59] local.INFO: TCP Data received {"connection_id":107845,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:59] local.INFO: Processing buffer {"connection_id":107845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:47:59] local.INFO: IMEI packet received {"connection_id":107845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":107845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:48:05] local.INFO: TCP Data received {"connection_id":107845,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107845,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:48:05] local.INFO: Processing buffer {"connection_id":107845,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:48:05] local.INFO: IMEI packet received {"connection_id":107845,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":107845,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:48:05] local.INFO: TCP Data received {"connection_id":107845,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb17bad0012d7bde0005dd34400000016524..."} 
[2026-06-18 19:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb17bad0012d7bde0005dd34400000016524..."} 
[2026-06-18 19:48:05] local.INFO: Processing buffer {"connection_id":107845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb17bad0012d7bde0005dd34400000016524..."} 
[2026-06-18 19:48:05] local.INFO: Packet analysis {"connection_id":107845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb17"} 
[2026-06-18 19:48:05] local.INFO: Extracted packet for processing {"connection_id":107845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb17"} 
[2026-06-18 19:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763092480,"raw_latitude":98382912,"longitude_deg":76.309248,"latitude_deg":9.8382912,"altitude":0,"angle":357,"satellites":36,"speed":9,"hex_longitude":"2d7bde00","hex_latitude":"05dd3440","is_valid_coordinates":true} 
[2026-06-18 19:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138804736001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94104193744240640,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926275224121079808,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781792226000,"timestamp_ms":1781792226000,"timestamp_seconds":1781792226,"priority":1,"record_length":96,"hex_timestamp":"0000019edb17bad0"} 
[2026-06-18 19:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:48: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-06-18 19:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 19:48:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:48:05] 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-06-18 19:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138804736001,"66":11711,"169":206,"85":15104,"24":9,"16":94104193744240640,"45":8926275224121079808},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 19:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138804736001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:48:05] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 19:48:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94104193744240640,"km_value":94104193744240.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926275224121079808,"description":"Unknown IO ID 45"} 
[2026-06-18 19:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138804736001,"power":11711,"unknown_169":206,"unknown_85":15104,"ignition":9,"odometer":null,"unknown_45":8926275224121079808}} 
[2026-06-18 19:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":107845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:48:05] local.INFO: GPS data processed {"connection_id":107845,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:48:05] local.INFO: Acknowledgment sent {"connection_id":107845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:48:11] local.INFO: TCP Data received {"connection_id":107844,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:48:11] local.INFO: Processing buffer {"connection_id":107844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:48:11] local.INFO: Packet analysis {"connection_id":107844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:48:11] local.INFO: Extracted packet for processing {"connection_id":107844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:48:11] 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-06-18 19:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107844,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:48:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":107844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:48:11] local.INFO: GPS data processed {"connection_id":107844,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:48:11] local.INFO: Acknowledgment sent {"connection_id":107844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:48:23] local.INFO: TCP Data received {"connection_id":106896,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1797a8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1797a8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:48:23] local.INFO: Processing buffer {"connection_id":106896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1797a8012d193d40071ffb18003d010325..."} 
[2026-06-18 19:48:23] local.INFO: Packet analysis {"connection_id":106896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb17"} 
[2026-06-18 19:48:23] local.INFO: Extracted packet for processing {"connection_id":106896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb17"} 
[2026-06-18 19:48:23] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":37,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138802176001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781792217000,"timestamp_ms":1781792217000,"timestamp_seconds":1781792217,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1797a8"} 
[2026-06-18 19:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:48:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 19:48:23] 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-06-18 19:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138802176001,"66":12504,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138802176001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:48:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:48:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138802176001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":106896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:48:23] local.INFO: GPS data processed {"connection_id":106896,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:48:23] local.INFO: Acknowledgment sent {"connection_id":106896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:48:29] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:48:29] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:48:29] local.INFO: IMEI packet received {"connection_id":106118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":106118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:48:30] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13bf48012cc3390007685bd8005b014b2f..."} 
[2026-06-18 19:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13bf48012cc3390007685bd8005b014b2f..."} 
[2026-06-18 19:48:30] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13bf48012cc3390007685bd8005b014b2f..."} 
[2026-06-18 19:48:30] local.INFO: Packet analysis {"connection_id":106118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:48:30] local.INFO: Extracted packet for processing {"connection_id":106118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750991616,"raw_latitude":124279768,"longitude_deg":75.0991616,"latitude_deg":12.4279768,"altitude":91,"angle":331,"satellites":47,"speed":8,"hex_longitude":"2cc33900","hex_latitude":"07685bd8","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138740736001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912441398329344,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4378765443385022464,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:30] 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-06-18 19:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791965000,"timestamp_ms":1781791965000,"timestamp_seconds":1781791965,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13bf48"} 
[2026-06-18 19:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":217,"data_length":795,"current_offset":136} 
[2026-06-18 19:48: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-06-18 19: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-06-18 19:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:48: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-06-18 19:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138740736001,"66":27800,"89":206,"85":37120,"24":8,"16":318912441398329344,"44":-4378765443385022464},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138740736001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:48:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912441398329344,"km_value":318912441398329.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4378765443385022464,"description":"Unknown IO ID 44"} 
[2026-06-18 19:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138740736001,"power":27800,"unknown_89":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4378765443385022464}} 
[2026-06-18 19:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":106118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:48:30] local.INFO: GPS data processed {"connection_id":106118,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:48:30] local.INFO: Acknowledgment sent {"connection_id":106118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:48:33] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:48:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:48:33] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:48:33] local.INFO: IMEI packet received {"connection_id":106119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:48:33] local.INFO: IMEI acknowledgment sent {"connection_id":106119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:48:37] local.INFO: TCP Data received {"connection_id":107845,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1808f0012d7bd90005dd57600000015f1e..."} 
[2026-06-18 19:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1808f0012d7bd90005dd57600000015f1e..."} 
[2026-06-18 19:48:37] local.INFO: Processing buffer {"connection_id":107845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1808f0012d7bd90005dd57600000015f1e..."} 
[2026-06-18 19:48:37] local.INFO: Packet analysis {"connection_id":107845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:48:37] local.INFO: Extracted packet for processing {"connection_id":107845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":763091200,"raw_latitude":98391904,"longitude_deg":76.30912,"latitude_deg":9.8391904,"altitude":0,"angle":351,"satellites":30,"speed":28,"hex_longitude":"2d7bd900","hex_latitude":"05dd5760","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138809856001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94104631830904832,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8925571536680927232,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:37] 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-06-18 19:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781792246000,"timestamp_ms":1781792246000,"timestamp_seconds":1781792246,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1808f0"} 
[2026-06-18 19:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 19:48:37] 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-06-18 19: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-06-18 19:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107845,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:48:37] 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-06-18 19:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138809856001,"66":11808,"169":206,"85":15104,"24":28,"16":94104631830904832,"45":8925571536680927232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 19:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138809856001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:48:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 19:48:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94104631830904832,"km_value":94104631830904.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8925571536680927232,"description":"Unknown IO ID 45"} 
[2026-06-18 19:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138809856001,"power":11808,"unknown_169":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8925571536680927232}} 
[2026-06-18 19:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":107845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346321,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:48:37] local.INFO: GPS data processed {"connection_id":107845,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:48:37] local.INFO: Acknowledgment sent {"connection_id":107845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:48:38] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:48:38] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:48:38] local.INFO: IMEI packet received {"connection_id":106119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":106119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:48:39] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:48:39] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:48:39] local.INFO: Packet analysis {"connection_id":106119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:48:39] local.INFO: Extracted packet for processing {"connection_id":106119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:48:39] 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-06-18 19:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:48:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":106119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:48:40] local.INFO: GPS data processed {"connection_id":106119,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:48:40] local.INFO: Acknowledgment sent {"connection_id":106119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:48:44] local.INFO: TCP Data received {"connection_id":106897,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:48:44] local.INFO: Processing buffer {"connection_id":106897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:48:44] local.INFO: IMEI packet received {"connection_id":106897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":106897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:48:49] local.INFO: TCP Data received {"connection_id":106897,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:48:49] local.INFO: Processing buffer {"connection_id":106897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:48:49] local.INFO: IMEI packet received {"connection_id":106897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":106897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:48:51] local.INFO: TCP Data received {"connection_id":106897,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb17e9b0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb17e9b0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:48:51] local.INFO: Processing buffer {"connection_id":106897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb17e9b0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:48:51] local.INFO: Packet analysis {"connection_id":106897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb17"} 
[2026-06-18 19:48:51] local.INFO: Extracted packet for processing {"connection_id":106897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb17"} 
[2026-06-18 19:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138807552001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:48:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781792238000,"timestamp_ms":1781792238000,"timestamp_seconds":1781792238,"priority":1,"record_length":96,"hex_timestamp":"0000019edb17e9b0"} 
[2026-06-18 19:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:48:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 19:48:51] 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-06-18 19:48:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138807552001,"66":12461,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138807552001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:48:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:48:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138807552001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":106897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:48:51] local.INFO: GPS data processed {"connection_id":106897,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:48:51] local.INFO: Acknowledgment sent {"connection_id":106897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:48:59] local.INFO: TCP Data received {"connection_id":106898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:48:59] local.INFO: Processing buffer {"connection_id":106898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:48:59] local.INFO: IMEI packet received {"connection_id":106898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":106898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:49:00] local.INFO: TCP Data received {"connection_id":106118,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13c330012cc3384007685c88005b01342e..."} 
[2026-06-18 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13c330012cc3384007685c88005b01342e..."} 
[2026-06-18 19:49:00] local.INFO: Processing buffer {"connection_id":106118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13c330012cc3384007685c88005b01342e..."} 
[2026-06-18 19:49:00] local.INFO: Packet analysis {"connection_id":106118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:49:00] local.INFO: Extracted packet for processing {"connection_id":106118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:49:00] local.INFO: GPS Element Parsed {"raw_longitude":750991424,"raw_latitude":124279944,"longitude_deg":75.0991424,"latitude_deg":12.4279944,"altitude":91,"angle":308,"satellites":46,"speed":8,"hex_longitude":"2cc33840","hex_latitude":"07685c88","is_valid_coordinates":true} 
[2026-06-18 19:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138743040001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912454283231232,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379469130825476096,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:00] 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-06-18 19:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781791966000,"timestamp_ms":1781791966000,"timestamp_seconds":1781791966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13c330"} 
[2026-06-18 19:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 19:49: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-06-18 19:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138743040001,"66":27800,"89":206,"85":37120,"24":8,"16":318912454283231232,"44":-4379469130825476096},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138743040001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912454283231232,"km_value":318912454283231.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379469130825476096,"description":"Unknown IO ID 44"} 
[2026-06-18 19:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138743040001,"power":27800,"unknown_89":206,"unknown_85":37120,"ignition":8,"odometer":null,"unknown_44":-4379469130825476096}} 
[2026-06-18 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":106118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:01] local.INFO: GPS data processed {"connection_id":106118,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:01] local.INFO: Acknowledgment sent {"connection_id":106118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:05] local.INFO: TCP Data received {"connection_id":106898,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106898,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:49:05] local.INFO: Processing buffer {"connection_id":106898,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:49:05] local.INFO: IMEI packet received {"connection_id":106898,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":106898,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:49:06] local.INFO: TCP Data received {"connection_id":106898,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb184388012d7bd48005dd7b78000201631a..."} 
[2026-06-18 19:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb184388012d7bd48005dd7b78000201631a..."} 
[2026-06-18 19:49:06] local.INFO: Processing buffer {"connection_id":106898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb184388012d7bd48005dd7b78000201631a..."} 
[2026-06-18 19:49:06] local.INFO: Packet analysis {"connection_id":106898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:49:06] local.INFO: Extracted packet for processing {"connection_id":106898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763090048,"raw_latitude":98401144,"longitude_deg":76.3090048,"latitude_deg":9.8401144,"altitude":2,"angle":355,"satellites":26,"speed":23,"hex_longitude":"2d7bd480","hex_latitude":"05dd7b78","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138814976001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94105087097438208,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924164161799675904,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49: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-06-18 19:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781792261000,"timestamp_ms":1781792261000,"timestamp_seconds":1781792261,"priority":1,"record_length":96,"hex_timestamp":"0000019edb184388"} 
[2026-06-18 19:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 19:49:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:49:06] 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-06-18 19:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138814976001,"66":11874,"169":206,"85":15104,"24":23,"16":94105087097438208,"45":8924164161799675904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 19:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138814976001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:06] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 19:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94105087097438208,"km_value":94105087097438.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924164161799675904,"description":"Unknown IO ID 45"} 
[2026-06-18 19:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138814976001,"power":11874,"unknown_169":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8924164161799675904}} 
[2026-06-18 19:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":106898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346325,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:06] local.INFO: GPS data processed {"connection_id":106898,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:06] local.INFO: Acknowledgment sent {"connection_id":106898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:11] local.INFO: TCP Data received {"connection_id":106119,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:11] local.INFO: Processing buffer {"connection_id":106119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:11] local.INFO: Packet analysis {"connection_id":106119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:49:11] local.INFO: Extracted packet for processing {"connection_id":106119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:49:11] 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-06-18 19:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106119,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":106119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346326,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:11] local.INFO: GPS data processed {"connection_id":106119,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:11] local.INFO: Acknowledgment sent {"connection_id":106119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:22] local.INFO: TCP Data received {"connection_id":106897,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb183bb8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb183bb8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:49:22] local.INFO: Processing buffer {"connection_id":106897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb183bb8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:49:22] local.INFO: Packet analysis {"connection_id":106897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:49:22] local.INFO: Extracted packet for processing {"connection_id":106897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:49:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138812928001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781792259000,"timestamp_ms":1781792259000,"timestamp_seconds":1781792259,"priority":1,"record_length":96,"hex_timestamp":"0000019edb183bb8"} 
[2026-06-18 19:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:49:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138812928001,"66":12461,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138812928001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:49:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138812928001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":106897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:22] local.INFO: GPS data processed {"connection_id":106897,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:22] local.INFO: Acknowledgment sent {"connection_id":106897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:24] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:49:24] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:49:24] local.INFO: IMEI packet received {"connection_id":106298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":106298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:49:29] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:49:29] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:49:29] local.INFO: IMEI packet received {"connection_id":106298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":106298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:49:30] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13c718012cc337c007685cf8005b01222f..."} 
[2026-06-18 19:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13c718012cc337c007685cf8005b01222f..."} 
[2026-06-18 19:49:30] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13c718012cc337c007685cf8005b01222f..."} 
[2026-06-18 19:49:30] local.INFO: Packet analysis {"connection_id":106298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:49:30] local.INFO: Extracted packet for processing {"connection_id":106298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:49:30] local.INFO: GPS Element Parsed {"raw_longitude":750991296,"raw_latitude":124280056,"longitude_deg":75.0991296,"latitude_deg":12.4280056,"altitude":91,"angle":290,"satellites":47,"speed":6,"hex_longitude":"2cc337c0","hex_latitude":"07685cf8","is_valid_coordinates":true} 
[2026-06-18 19:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138743296001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912462873165824,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379680237057964032,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:30] 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-06-18 19:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791967000,"timestamp_ms":1781791967000,"timestamp_seconds":1781791967,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13c718"} 
[2026-06-18 19:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 19:49: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-06-18 19:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:49: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-06-18 19:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138743296001,"66":27865,"89":206,"85":37120,"24":6,"16":318912462873165824,"44":-4379680237057964032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138743296001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912462873165824,"km_value":318912462873165.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379680237057964032,"description":"Unknown IO ID 44"} 
[2026-06-18 19:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138743296001,"power":27865,"unknown_89":206,"unknown_85":37120,"ignition":6,"odometer":null,"unknown_44":-4379680237057964032}} 
[2026-06-18 19:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":106298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:30] local.INFO: GPS data processed {"connection_id":106298,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:30] local.INFO: Acknowledgment sent {"connection_id":106298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:37] local.INFO: TCP Data received {"connection_id":106898,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb188208012d7bcf8005dd9f000004015c1f..."} 
[2026-06-18 19:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb188208012d7bcf8005dd9f000004015c1f..."} 
[2026-06-18 19:49:37] local.INFO: Processing buffer {"connection_id":106898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb188208012d7bcf8005dd9f000004015c1f..."} 
[2026-06-18 19:49:37] local.INFO: Packet analysis {"connection_id":106898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:49:37] local.INFO: Extracted packet for processing {"connection_id":106898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":763088768,"raw_latitude":98410240,"longitude_deg":76.3088768,"latitude_deg":9.841024,"altitude":4,"angle":348,"satellites":31,"speed":26,"hex_longitude":"2d7bcf80","hex_latitude":"05dd9f00","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138818816001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94105533774036992,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8922897524406843392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:37] 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-06-18 19:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781792277000,"timestamp_ms":1781792277000,"timestamp_seconds":1781792277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb188208"} 
[2026-06-18 19:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 19:49:37] 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-06-18 19: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-06-18 19:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106898,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:49:37] 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-06-18 19:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138818816001,"66":11798,"169":206,"85":15104,"24":26,"16":94105533774036992,"45":8922897524406843392},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 19:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138818816001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:37] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 19:49:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94105533774036992,"km_value":94105533774036.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8922897524406843392,"description":"Unknown IO ID 45"} 
[2026-06-18 19:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138818816001,"power":11798,"unknown_169":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8922897524406843392}} 
[2026-06-18 19:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":106898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:37] local.INFO: GPS data processed {"connection_id":106898,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:37] local.INFO: Acknowledgment sent {"connection_id":106898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:41] local.INFO: TCP Data received {"connection_id":106899,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:49:41] local.INFO: Processing buffer {"connection_id":106899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:49:41] local.INFO: IMEI packet received {"connection_id":106899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":106899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:49:43] local.INFO: TCP Data received {"connection_id":106899,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:49:43] local.INFO: Processing buffer {"connection_id":106899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:49:43] local.INFO: IMEI packet received {"connection_id":106899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":106899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:49:44] local.INFO: TCP Data received {"connection_id":107846,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:49:44] local.INFO: Processing buffer {"connection_id":107846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:49:44] local.INFO: IMEI packet received {"connection_id":107846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":107846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:49:44] local.INFO: TCP Data received {"connection_id":106899,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:44] local.INFO: Processing buffer {"connection_id":106899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:44] local.INFO: Packet analysis {"connection_id":106899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:49:44] local.INFO: Extracted packet for processing {"connection_id":106899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:49:44] 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-06-18 19:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":106899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:44] local.INFO: GPS data processed {"connection_id":106899,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:44] local.INFO: Acknowledgment sent {"connection_id":106899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:49] local.INFO: TCP Data received {"connection_id":106899,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:49] local.INFO: Processing buffer {"connection_id":106899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:49:49] local.INFO: Packet analysis {"connection_id":106899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:49:49] local.INFO: Extracted packet for processing {"connection_id":106899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:49:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:49:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":106899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:49] local.INFO: GPS data processed {"connection_id":106899,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:49] local.INFO: Acknowledgment sent {"connection_id":106899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:49] local.INFO: TCP Data received {"connection_id":107846,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:49:49] local.INFO: Processing buffer {"connection_id":107846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:49:49] local.INFO: IMEI packet received {"connection_id":107846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":107846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:49:51] local.INFO: TCP Data received {"connection_id":107846,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb188dc0012d193d40071ffb18003d010325..."} 
[2026-06-18 19:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb188dc0012d193d40071ffb18003d010325..."} 
[2026-06-18 19:49:51] local.INFO: Processing buffer {"connection_id":107846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb188dc0012d193d40071ffb18003d010325..."} 
[2026-06-18 19:49:51] local.INFO: Packet analysis {"connection_id":107846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:49:51] local.INFO: Extracted packet for processing {"connection_id":107846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":37,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:49:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138818304001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:49:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:49:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781792280000,"timestamp_ms":1781792280000,"timestamp_seconds":1781792280,"priority":1,"record_length":96,"hex_timestamp":"0000019edb188dc0"} 
[2026-06-18 19:49:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:49:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:49:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:49:51] 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-06-18 19:49:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:49:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:49:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:49:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:49:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:49:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:49:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:49:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:49:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:49:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138818304001,"66":12461,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:49:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:49:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:49:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138818304001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:49:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:49:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:49:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:49:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:49:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138818304001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":107846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:49:51] local.INFO: GPS data processed {"connection_id":107846,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:49:51] local.INFO: Acknowledgment sent {"connection_id":107846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:49:59] local.INFO: TCP Data received {"connection_id":107847,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:49:59] local.INFO: Processing buffer {"connection_id":107847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:49:59] local.INFO: IMEI packet received {"connection_id":107847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":107847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:50:00] local.INFO: TCP Data received {"connection_id":107847,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:50:00] local.INFO: Processing buffer {"connection_id":107847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:50:00] local.INFO: IMEI packet received {"connection_id":107847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":107847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:50:01] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13cb00012cc3370007685d10005b011330..."} 
[2026-06-18 19:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13cb00012cc3370007685d10005b011330..."} 
[2026-06-18 19:50:01] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13cb00012cc3370007685d10005b011330..."} 
[2026-06-18 19:50:01] local.INFO: Packet analysis {"connection_id":106298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:50:01] local.INFO: Extracted packet for processing {"connection_id":106298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:50:01] local.INFO: GPS Element Parsed {"raw_longitude":750991104,"raw_latitude":124280080,"longitude_deg":75.0991104,"latitude_deg":12.428008,"altitude":91,"angle":275,"satellites":48,"speed":5,"hex_longitude":"2cc33700","hex_latitude":"07685d10","is_valid_coordinates":true} 
[2026-06-18 19:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138743552001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912471463100416,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4379820974546290688,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:01] 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-06-18 19:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791968000,"timestamp_ms":1781791968000,"timestamp_seconds":1781791968,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13cb00"} 
[2026-06-18 19:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:50: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-06-18 19:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 19: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-06-18 19:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:50: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-06-18 19:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138743552001,"66":27865,"89":206,"85":37120,"24":5,"16":318912471463100416,"44":-4379820974546290688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138743552001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:50:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912471463100416,"km_value":318912471463100.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4379820974546290688,"description":"Unknown IO ID 44"} 
[2026-06-18 19:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138743552001,"power":27865,"unknown_89":206,"unknown_85":37120,"ignition":5,"odometer":null,"unknown_44":-4379820974546290688}} 
[2026-06-18 19:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":106298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:50:01] local.INFO: GPS data processed {"connection_id":106298,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:50:01] local.INFO: Acknowledgment sent {"connection_id":106298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:50:05] local.INFO: TCP Data received {"connection_id":107847,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107847,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:50:05] local.INFO: Processing buffer {"connection_id":107847,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:50:05] local.INFO: IMEI packet received {"connection_id":107847,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":107847,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:50:05] local.INFO: TCP Data received {"connection_id":107847,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1a2018012d7ba8c005de44f80002015a1b..."} 
[2026-06-18 19:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1a2018012d7ba8c005de44f80002015a1b..."} 
[2026-06-18 19:50:05] local.INFO: Processing buffer {"connection_id":107847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1a2018012d7ba8c005de44f80002015a1b..."} 
[2026-06-18 19:50:05] local.INFO: Packet analysis {"connection_id":107847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:50:05] local.INFO: Extracted packet for processing {"connection_id":107847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763078848,"raw_latitude":98452728,"longitude_deg":76.3078848,"latitude_deg":9.8452728,"altitude":2,"angle":346,"satellites":27,"speed":51,"hex_longitude":"2d7ba8c0","hex_latitude":"05de44f8","is_valid_coordinates":true} 
[2026-06-18 19:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138848000001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94107672667750400,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912764425256036352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781792383000,"timestamp_ms":1781792383000,"timestamp_seconds":1781792383,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1a2018"} 
[2026-06-18 19:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 19:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1597,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:50:05] 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-06-18 19:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138848000001,"66":11765,"50":206,"85":15104,"24":51,"16":94107672667750400,"45":8912764425256036352},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-06-18 19:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138848000001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:50:05] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-18 19:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94107672667750400,"km_value":94107672667750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912764425256036352,"description":"Unknown IO ID 45"} 
[2026-06-18 19:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138848000001,"power":11765,"unknown_50":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8912764425256036352}} 
[2026-06-18 19:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":107847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346334,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:50:05] local.INFO: GPS data processed {"connection_id":107847,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:50:05] local.INFO: Acknowledgment sent {"connection_id":107847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:50:22] local.INFO: TCP Data received {"connection_id":107846,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb18dfc8012d193d40071ffb18003d010328..."} 
[2026-06-18 19:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb18dfc8012d193d40071ffb18003d010328..."} 
[2026-06-18 19:50:22] local.INFO: Processing buffer {"connection_id":107846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb18dfc8012d193d40071ffb18003d010328..."} 
[2026-06-18 19:50:22] local.INFO: Packet analysis {"connection_id":107846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:50:22] local.INFO: Extracted packet for processing {"connection_id":107846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":40,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138823680001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781792301000,"timestamp_ms":1781792301000,"timestamp_seconds":1781792301,"priority":1,"record_length":96,"hex_timestamp":"0000019edb18dfc8"} 
[2026-06-18 19:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138823680001,"66":11961,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138823680001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:50:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:50:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138823680001,"power":11961,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":107846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:50:22] local.INFO: GPS data processed {"connection_id":107846,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:50:22] local.INFO: Acknowledgment sent {"connection_id":107846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:50:24] local.INFO: TCP Data received {"connection_id":106299,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:50:24] local.INFO: Processing buffer {"connection_id":106299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:50:24] local.INFO: IMEI packet received {"connection_id":106299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":106299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:50:29] local.INFO: TCP Data received {"connection_id":106299,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:50:29] local.INFO: Processing buffer {"connection_id":106299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:50:29] local.INFO: IMEI packet received {"connection_id":106299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":106299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:50:30] local.INFO: TCP Data received {"connection_id":106299,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13d2d0012cc3360007685d08005a010832..."} 
[2026-06-18 19:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13d2d0012cc3360007685d08005a010832..."} 
[2026-06-18 19:50:30] local.INFO: Processing buffer {"connection_id":106299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13d2d0012cc3360007685d08005a010832..."} 
[2026-06-18 19:50:30] local.INFO: Packet analysis {"connection_id":106299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:50:30] local.INFO: Extracted packet for processing {"connection_id":106299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750990848,"raw_latitude":124280072,"longitude_deg":75.0990848,"latitude_deg":12.4280072,"altitude":90,"angle":264,"satellites":50,"speed":5,"hex_longitude":"2cc33600","hex_latitude":"07685d08","is_valid_coordinates":true} 
[2026-06-18 19:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138743808001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380032080778817536,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:30] 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-06-18 19:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791970000,"timestamp_ms":1781791970000,"timestamp_seconds":1781791970,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13d2d0"} 
[2026-06-18 19:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 19:50: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-06-18 19:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:50:30] 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-06-18 19:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138743808001,"66":27821,"89":206,"85":37120,"24":5,"16":318912484348002304,"44":-4380032080778817536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138743808001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:50:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380032080778817536,"description":"Unknown IO ID 44"} 
[2026-06-18 19:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138743808001,"power":27821,"unknown_89":206,"unknown_85":37120,"ignition":5,"odometer":null,"unknown_44":-4380032080778817536}} 
[2026-06-18 19:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":106299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:50:30] local.INFO: GPS data processed {"connection_id":106299,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:50:30] local.INFO: Acknowledgment sent {"connection_id":106299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:50:33] local.INFO: TCP Data received {"connection_id":106120,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:50:33] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:50:33] local.INFO: IMEI packet received {"connection_id":106120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":106120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:50:36] local.INFO: TCP Data received {"connection_id":107847,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1a3f58012d7ba28005de6b00000001601c..."} 
[2026-06-18 19:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1a3f58012d7ba28005de6b00000001601c..."} 
[2026-06-18 19:50:36] local.INFO: Processing buffer {"connection_id":107847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1a3f58012d7ba28005de6b00000001601c..."} 
[2026-06-18 19:50:36] local.INFO: Packet analysis {"connection_id":107847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:50:36] local.INFO: Extracted packet for processing {"connection_id":107847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":763077248,"raw_latitude":98462464,"longitude_deg":76.3077248,"latitude_deg":9.8462464,"altitude":0,"angle":352,"satellites":28,"speed":50,"hex_longitude":"2d7ba280","hex_latitude":"05de6b00","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138850048001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94108149409120256,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8910582994188957696,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781792391000,"timestamp_ms":1781792391000,"timestamp_seconds":1781792391,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1a3f58"} 
[2026-06-18 19:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 19:50:36] 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-06-18 19: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-06-18 19:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107847,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:50:36] 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-06-18 19:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138850048001,"66":11852,"50":206,"85":15104,"24":50,"16":94108149409120256,"45":8910582994188957696},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-06-18 19:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138850048001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:50:36] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-18 19:50:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94108149409120256,"km_value":94108149409120.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8910582994188957696,"description":"Unknown IO ID 45"} 
[2026-06-18 19:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138850048001,"power":11852,"unknown_50":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8910582994188957696}} 
[2026-06-18 19:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":107847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:50:36] local.INFO: GPS data processed {"connection_id":107847,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:50:36] local.INFO: Acknowledgment sent {"connection_id":107847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:50:38] local.INFO: TCP Data received {"connection_id":106120,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:50:38] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:50:38] local.INFO: IMEI packet received {"connection_id":106120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":106120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:50:39] local.INFO: TCP Data received {"connection_id":106120,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:50:39] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb160938012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:50:39] local.INFO: Packet analysis {"connection_id":106120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:50:39] local.INFO: Extracted packet for processing {"connection_id":106120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb16"} 
[2026-06-18 19:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138704384001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792115000,"timestamp_ms":1781792115000,"timestamp_seconds":1781792115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb160938"} 
[2026-06-18 19:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 19:50:39] 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-06-18 19:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138704384001,"66":25473,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138704384001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:50:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138704384001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":106120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:50:39] local.INFO: GPS data processed {"connection_id":106120,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:50:39] local.INFO: Acknowledgment sent {"connection_id":106120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:50:49] local.INFO: TCP Data received {"connection_id":107848,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:50:49] local.INFO: Processing buffer {"connection_id":107848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:50:49] local.INFO: IMEI packet received {"connection_id":107848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":107848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:50:54] local.INFO: TCP Data received {"connection_id":107848,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107848,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:50:54] local.INFO: Processing buffer {"connection_id":107848,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:50:54] local.INFO: IMEI packet received {"connection_id":107848,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":107848,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:50:55] local.INFO: TCP Data received {"connection_id":107848,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1931d0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1931d0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:50:56] local.INFO: Processing buffer {"connection_id":107848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1931d0012d193d40071ffb18003d010327..."} 
[2026-06-18 19:50:56] local.INFO: Packet analysis {"connection_id":107848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb19"} 
[2026-06-18 19:50:56] local.INFO: Extracted packet for processing {"connection_id":107848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb19"} 
[2026-06-18 19:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138829056001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781792322000,"timestamp_ms":1781792322000,"timestamp_seconds":1781792322,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1931d0"} 
[2026-06-18 19:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:50: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-06-18 19: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":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 19:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138829056001,"66":12428,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138829056001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:50:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138829056001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":107848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:50:56] local.INFO: GPS data processed {"connection_id":107848,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:50:56] local.INFO: Acknowledgment sent {"connection_id":107848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:50:59] local.INFO: TCP Data received {"connection_id":107848,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1983d8012d193d40071ffb18003d010324..."} 
[2026-06-18 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1983d8012d193d40071ffb18003d010324..."} 
[2026-06-18 19:50:59] local.INFO: Processing buffer {"connection_id":107848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1983d8012d193d40071ffb18003d010324..."} 
[2026-06-18 19:50:59] local.INFO: Packet analysis {"connection_id":107848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb19"} 
[2026-06-18 19:50:59] local.INFO: Extracted packet for processing {"connection_id":107848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb19"} 
[2026-06-18 19:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":36,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138834432001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781792343000,"timestamp_ms":1781792343000,"timestamp_seconds":1781792343,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1983d8"} 
[2026-06-18 19:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:50: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-06-18 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 19:50:59] 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-06-18 19: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-06-18 19:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":107848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":107848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":107848,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138834432001,"66":12461,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138834432001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:50:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138834432001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":107848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:50:59] local.INFO: GPS data processed {"connection_id":107848,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:50:59] local.INFO: Acknowledgment sent {"connection_id":107848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:01] local.INFO: TCP Data received {"connection_id":106299,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13d2d0012cc3360007685d08005a010832..."} 
[2026-06-18 19:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13d2d0012cc3360007685d08005a010832..."} 
[2026-06-18 19:51:01] local.INFO: Processing buffer {"connection_id":106299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13d2d0012cc3360007685d08005a010832..."} 
[2026-06-18 19:51:01] local.INFO: Packet analysis {"connection_id":106299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:51:01] local.INFO: Extracted packet for processing {"connection_id":106299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:51:01] local.INFO: GPS Element Parsed {"raw_longitude":750990848,"raw_latitude":124280072,"longitude_deg":75.0990848,"latitude_deg":12.4280072,"altitude":90,"angle":264,"satellites":50,"speed":5,"hex_longitude":"2cc33600","hex_latitude":"07685d08","is_valid_coordinates":true} 
[2026-06-18 19:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138744320001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380313555755530240,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:01] 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-06-18 19:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781791970000,"timestamp_ms":1781791970000,"timestamp_seconds":1781791970,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13d2d0"} 
[2026-06-18 19:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:51: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-06-18 19:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:51: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-06-18 19:51:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138744320001,"66":27821,"89":206,"85":37120,"24":5,"16":318912484348002304,"44":-4380313555755530240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138744320001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:51:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380313555755530240,"description":"Unknown IO ID 44"} 
[2026-06-18 19:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138744320001,"power":27821,"unknown_89":206,"unknown_85":37120,"ignition":5,"odometer":null,"unknown_44":-4380313555755530240}} 
[2026-06-18 19:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":106299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:51:01] local.INFO: GPS data processed {"connection_id":106299,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:51:01] local.INFO: Acknowledgment sent {"connection_id":106299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:05] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:05] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:05] local.INFO: IMEI packet received {"connection_id":106300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":106300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:51:05] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:05] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:05] local.INFO: IMEI packet received {"connection_id":106300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":106300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:51:10] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:10] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:10] local.INFO: IMEI packet received {"connection_id":106300,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":106300,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:51:11] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1a5ab0012d7b9e4005de8ee0000001621b..."} 
[2026-06-18 19:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1a5ab0012d7b9e4005de8ee0000001621b..."} 
[2026-06-18 19:51:11] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1a5ab0012d7b9e4005de8ee0000001621b..."} 
[2026-06-18 19:51:11] local.INFO: Packet analysis {"connection_id":106300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:11] local.INFO: Extracted packet for processing {"connection_id":106300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:11] local.INFO: GPS Element Parsed {"raw_longitude":763076160,"raw_latitude":98471648,"longitude_deg":76.307616,"latitude_deg":9.8471648,"altitude":0,"angle":354,"satellites":27,"speed":53,"hex_longitude":"2d7b9e40","hex_latitude":"05de8ee0","is_valid_coordinates":true} 
[2026-06-18 19:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138852096001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94108600380686336,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8908823775587008512,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792398000,"timestamp_ms":1781792398000,"timestamp_seconds":1781792398,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1a5ab0"} 
[2026-06-18 19:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 19:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:51:11] 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-06-18 19:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138852096001,"66":11634,"50":206,"85":15104,"24":53,"16":94108600380686336,"45":8908823775587008512},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-06-18 19:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138852096001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:51:11] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-18 19:51:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94108600380686336,"km_value":94108600380686.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8908823775587008512,"description":"Unknown IO ID 45"} 
[2026-06-18 19:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138852096001,"power":11634,"unknown_50":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8908823775587008512}} 
[2026-06-18 19:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":106300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346342,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:51:11] local.INFO: GPS data processed {"connection_id":106300,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:51:11] local.INFO: Acknowledgment sent {"connection_id":106300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:11] local.INFO: TCP Data received {"connection_id":106120,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:51:11] local.INFO: Processing buffer {"connection_id":106120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:51:11] local.INFO: Packet analysis {"connection_id":106120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:11] local.INFO: Extracted packet for processing {"connection_id":106120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:51:11] 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-06-18 19:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106120,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:51:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":106120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:51:11] local.INFO: GPS data processed {"connection_id":106120,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:51:11] local.INFO: Acknowledgment sent {"connection_id":106120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:13] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1a7608012d7b9b0005deb3d0000001631c..."} 
[2026-06-18 19:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1a7608012d7b9b0005deb3d0000001631c..."} 
[2026-06-18 19:51:13] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1a7608012d7b9b0005deb3d0000001631c..."} 
[2026-06-18 19:51:13] local.INFO: Packet analysis {"connection_id":106300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:13] local.INFO: Extracted packet for processing {"connection_id":106300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:13] local.INFO: GPS Element Parsed {"raw_longitude":763075328,"raw_latitude":98481104,"longitude_deg":76.3075328,"latitude_deg":9.8481104,"altitude":0,"angle":355,"satellites":28,"speed":55,"hex_longitude":"2d7b9b00","hex_latitude":"05deb3d0","is_valid_coordinates":true} 
[2026-06-18 19:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138853888001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94109059942187008,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907627506938339328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781792405000,"timestamp_ms":1781792405000,"timestamp_seconds":1781792405,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1a7608"} 
[2026-06-18 19:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 19:51:13] 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-06-18 19:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:51:13] 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-06-18 19:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138853888001,"66":11765,"50":206,"85":15104,"24":55,"16":94109059942187008,"45":8907627506938339328},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-06-18 19:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138853888001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:51:13] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-18 19:51:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94109059942187008,"km_value":94109059942187.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907627506938339328,"description":"Unknown IO ID 45"} 
[2026-06-18 19:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138853888001,"power":11765,"unknown_50":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8907627506938339328}} 
[2026-06-18 19:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":106300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346344,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:51:13] local.INFO: GPS data processed {"connection_id":106300,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:51:13] local.INFO: Acknowledgment sent {"connection_id":106300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:24] local.INFO: TCP Data received {"connection_id":106900,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:51:24] local.INFO: Processing buffer {"connection_id":106900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:51:24] local.INFO: IMEI packet received {"connection_id":106900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":106900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:51:29] local.INFO: TCP Data received {"connection_id":106900,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:51:29] local.INFO: Processing buffer {"connection_id":106900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:51:29] local.INFO: IMEI packet received {"connection_id":106900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":106900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:51:30] local.INFO: TCP Data received {"connection_id":106900,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb13d6b8012cc3354007685cf8005a00f931..."} 
[2026-06-18 19:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb13d6b8012cc3354007685cf8005a00f931..."} 
[2026-06-18 19:51:30] local.INFO: Processing buffer {"connection_id":106900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb13d6b8012cc3354007685cf8005a00f931..."} 
[2026-06-18 19:51:30] local.INFO: Packet analysis {"connection_id":106900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:51:30] local.INFO: Extracted packet for processing {"connection_id":106900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb13"} 
[2026-06-18 19:51:30] local.INFO: GPS Element Parsed {"raw_longitude":750990656,"raw_latitude":124280056,"longitude_deg":75.0990656,"latitude_deg":12.4280056,"altitude":90,"angle":249,"satellites":49,"speed":5,"hex_longitude":"2cc33540","hex_latitude":"07685cf8","is_valid_coordinates":true} 
[2026-06-18 19:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138744320001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380313555755530240,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:30] 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-06-18 19:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781791971000,"timestamp_ms":1781791971000,"timestamp_seconds":1781791971,"priority":1,"record_length":96,"hex_timestamp":"0000019edb13d6b8"} 
[2026-06-18 19:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:51: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-06-18 19:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:51: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-06-18 19:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138744320001,"66":27821,"89":206,"85":37120,"24":5,"16":318912484348002304,"44":-4380313555755530240},"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-06-18 19:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138744320001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:51:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380313555755530240,"description":"Unknown IO ID 44"} 
[2026-06-18 19:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138744320001,"power":27821,"unknown_89":206,"unknown_85":37120,"ignition":5,"odometer":null,"unknown_44":-4380313555755530240}} 
[2026-06-18 19:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":106900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:51:30] local.INFO: GPS data processed {"connection_id":106900,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:51:30] local.INFO: Acknowledgment sent {"connection_id":106900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:32] local.INFO: TCP Data received {"connection_id":106901,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:51:32] local.INFO: Processing buffer {"connection_id":106901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:51:32] local.INFO: IMEI packet received {"connection_id":106901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":106901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:51:38] local.INFO: TCP Data received {"connection_id":106901,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:51:38] local.INFO: Processing buffer {"connection_id":106901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:51:38] local.INFO: IMEI packet received {"connection_id":106901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":106901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:51:39] local.INFO: TCP Data received {"connection_id":106901,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:51:39] local.INFO: Processing buffer {"connection_id":106901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:51:39] local.INFO: Packet analysis {"connection_id":106901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:39] local.INFO: Extracted packet for processing {"connection_id":106901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:51: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-06-18 19:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:51:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":106901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:51:39] local.INFO: GPS data processed {"connection_id":106901,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:51:39] local.INFO: Acknowledgment sent {"connection_id":106901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:44] local.INFO: TCP Data received {"connection_id":106301,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:51:44] local.INFO: Processing buffer {"connection_id":106301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:51:44] local.INFO: IMEI packet received {"connection_id":106301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":106301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:51:45] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1a9160012d7b984005ded6c8000001621b..."} 
[2026-06-18 19:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1a9160012d7b984005ded6c8000001621b..."} 
[2026-06-18 19:51:45] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1a9160012d7b984005ded6c8000001621b..."} 
[2026-06-18 19:51:45] local.INFO: Packet analysis {"connection_id":106300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:45] local.INFO: Extracted packet for processing {"connection_id":106300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":763074624,"raw_latitude":98490056,"longitude_deg":76.3074624,"latitude_deg":9.8490056,"altitude":0,"angle":354,"satellites":27,"speed":51,"hex_longitude":"2d7b9840","hex_latitude":"05ded6c8","is_valid_coordinates":true} 
[2026-06-18 19:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138855680001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94109493733883904,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8906712713266450432,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781792412000,"timestamp_ms":1781792412000,"timestamp_seconds":1781792412,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1a9160"} 
[2026-06-18 19:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 19:51:45] 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-06-18 19:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106300,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:51:45] 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-06-18 19:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138855680001,"66":11895,"50":206,"85":15104,"24":51,"16":94109493733883904,"45":8906712713266450432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-06-18 19:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138855680001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:51:45] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-06-18 19:51:45] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94109493733883904,"km_value":94109493733883.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":8906712713266450432,"description":"Unknown IO ID 45"} 
[2026-06-18 19:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138855680001,"power":11895,"unknown_50":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8906712713266450432}} 
[2026-06-18 19:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":106300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346347,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:51:45] local.INFO: GPS data processed {"connection_id":106300,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:51:45] local.INFO: Acknowledgment sent {"connection_id":106300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:47] local.INFO: TCP Data received {"connection_id":106301,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:51:47] local.INFO: Processing buffer {"connection_id":106301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:51:47] local.INFO: IMEI packet received {"connection_id":106301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":106301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:51:49] local.INFO: TCP Data received {"connection_id":106301,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb19d5e0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb19d5e0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:51:49] local.INFO: Processing buffer {"connection_id":106301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb19d5e0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:51:49] local.INFO: Packet analysis {"connection_id":106301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb19"} 
[2026-06-18 19:51:49] local.INFO: Extracted packet for processing {"connection_id":106301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb19"} 
[2026-06-18 19:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138839808001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781792364000,"timestamp_ms":1781792364000,"timestamp_seconds":1781792364,"priority":1,"record_length":96,"hex_timestamp":"0000019edb19d5e0"} 
[2026-06-18 19:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138839808001,"66":12461,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138839808001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:51:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:51:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138839808001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":106301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:51:49] local.INFO: GPS data processed {"connection_id":106301,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:51:49] local.INFO: Acknowledgment sent {"connection_id":106301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:51:58] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:58] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:51:58] local.INFO: IMEI packet received {"connection_id":106121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":106121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:52:00] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:52:00] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:52:00] local.INFO: IMEI packet received {"connection_id":106121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":106121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:52:01] local.INFO: TCP Data received {"connection_id":106900,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:52:01] local.INFO: Processing buffer {"connection_id":106900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:52:01] local.INFO: Packet analysis {"connection_id":106900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:52:01] local.INFO: Extracted packet for processing {"connection_id":106900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:52:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":50,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138744576001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380524661988067328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:01] 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-06-18 19:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792272000,"timestamp_ms":1781792272000,"timestamp_seconds":1781792272,"priority":1,"record_length":96,"hex_timestamp":"0000019edb186e80"} 
[2026-06-18 19:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:52: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-06-18 19: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-06-18 19:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:52: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-06-18 19:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138744576001,"66":26136,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4380524661988067328},"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-06-18 19:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138744576001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380524661988067328,"description":"Unknown IO ID 44"} 
[2026-06-18 19:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138744576001,"power":26136,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380524661988067328}} 
[2026-06-18 19:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":106900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:01] local.INFO: GPS data processed {"connection_id":106900,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:01] local.INFO: Acknowledgment sent {"connection_id":106900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:52:05] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:52:05] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:52:05] local.INFO: IMEI packet received {"connection_id":106121,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":106121,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:52:05] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1bd598012d7b6b0005e065b8000001611e..."} 
[2026-06-18 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1bd598012d7b6b0005e065b8000001611e..."} 
[2026-06-18 19:52:05] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1bd598012d7b6b0005e065b8000001611e..."} 
[2026-06-18 19:52:05] local.INFO: Packet analysis {"connection_id":106121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:52:05] local.INFO: Extracted packet for processing {"connection_id":106121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763063040,"raw_latitude":98592184,"longitude_deg":76.306304,"latitude_deg":9.8592184,"altitude":0,"angle":353,"satellites":30,"speed":47,"hex_longitude":"2d7b6b00","hex_latitude":"05e065b8","is_valid_coordinates":true} 
[2026-06-18 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138876672001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94114480190914560,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894398183061407744,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:05] 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-06-18 19:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781792495000,"timestamp_ms":1781792495000,"timestamp_seconds":1781792495,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1bd598"} 
[2026-06-18 19:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52: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-06-18 19: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":45,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 19:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":765,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:52:06] 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-06-18 19:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138876672001,"66":11743,"49":206,"85":15104,"24":47,"16":94114480190914560,"45":8894398183061407744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-06-18 19:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138876672001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:06] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-06-18 19:52:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94114480190914560,"km_value":94114480190914.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894398183061407744,"description":"Unknown IO ID 45"} 
[2026-06-18 19:52:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138876672001,"power":11743,"unknown_49":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8894398183061407744}} 
[2026-06-18 19:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":106121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346350,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:06] local.INFO: GPS data processed {"connection_id":106121,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:06] local.INFO: Acknowledgment sent {"connection_id":106121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:52:11] local.INFO: TCP Data received {"connection_id":106901,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:11] local.INFO: Processing buffer {"connection_id":106901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:11] local.INFO: Packet analysis {"connection_id":106901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:11] local.INFO: Extracted packet for processing {"connection_id":106901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:52:11] 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-06-18 19:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106901,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":106901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:11] local.INFO: GPS data processed {"connection_id":106901,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:11] local.INFO: Acknowledgment sent {"connection_id":106901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:52:20] local.INFO: TCP Data received {"connection_id":106301,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1a27e8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1a27e8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:52:20] local.INFO: Processing buffer {"connection_id":106301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1a27e8012d193d40071ffb18003d010327..."} 
[2026-06-18 19:52:20] local.INFO: Packet analysis {"connection_id":106301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:20] local.INFO: Extracted packet for processing {"connection_id":106301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:20] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138845184001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781792385000,"timestamp_ms":1781792385000,"timestamp_seconds":1781792385,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1a27e8"} 
[2026-06-18 19:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:52:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:52:20] 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-06-18 19:52:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":106301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":106301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":106301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138845184001,"66":12428,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138845184001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:52:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138845184001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":106301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:21] local.INFO: GPS data processed {"connection_id":106301,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:21] local.INFO: Acknowledgment sent {"connection_id":106301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:52:24] local.INFO: TCP Data received {"connection_id":107849,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:52:24] local.INFO: Processing buffer {"connection_id":107849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:52:24] local.INFO: IMEI packet received {"connection_id":107849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":107849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:52:29] local.INFO: TCP Data received {"connection_id":107849,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:52:29] local.INFO: Processing buffer {"connection_id":107849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:52:29] local.INFO: IMEI packet received {"connection_id":107849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":107849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:52:30] local.INFO: TCP Data received {"connection_id":107849,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:52:30] local.INFO: Processing buffer {"connection_id":107849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:52:30] local.INFO: Packet analysis {"connection_id":107849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:52:30] local.INFO: Extracted packet for processing {"connection_id":107849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:52:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":50,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138744576001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380524661988067328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:30] 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-06-18 19:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792272000,"timestamp_ms":1781792272000,"timestamp_seconds":1781792272,"priority":1,"record_length":96,"hex_timestamp":"0000019edb186e80"} 
[2026-06-18 19:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:52: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-06-18 19: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-06-18 19:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:52: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-06-18 19:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138744576001,"66":26136,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4380524661988067328},"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-06-18 19:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138744576001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380524661988067328,"description":"Unknown IO ID 44"} 
[2026-06-18 19:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138744576001,"power":26136,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380524661988067328}} 
[2026-06-18 19:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":107849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:30] local.INFO: GPS data processed {"connection_id":107849,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:30] local.INFO: Acknowledgment sent {"connection_id":107849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:52:38] local.INFO: TCP Data received {"connection_id":106121,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1bf4d8012d7b66c005e08838000001601d..."} 
[2026-06-18 19:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1bf4d8012d7b66c005e08838000001601d..."} 
[2026-06-18 19:52:38] local.INFO: Processing buffer {"connection_id":106121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1bf4d8012d7b66c005e08838000001601d..."} 
[2026-06-18 19:52:38] local.INFO: Packet analysis {"connection_id":106121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:52:38] local.INFO: Extracted packet for processing {"connection_id":106121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:52:38] local.INFO: GPS Element Parsed {"raw_longitude":763061952,"raw_latitude":98601016,"longitude_deg":76.3061952,"latitude_deg":9.8601016,"altitude":0,"angle":352,"satellites":29,"speed":41,"hex_longitude":"2d7b66c0","hex_latitude":"05e08838","is_valid_coordinates":true} 
[2026-06-18 19:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:52:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138878720001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94114909687644160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893201914412775424,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:52:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781792503000,"timestamp_ms":1781792503000,"timestamp_seconds":1781792503,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1bf4d8"} 
[2026-06-18 19:52:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:52:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 19:52:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:52:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:52:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:52:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106121,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:52:38] 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-06-18 19:52:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:52:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:52:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138878720001,"66":11547,"36":206,"85":15104,"24":41,"16":94114909687644160,"45":8893201914412775424},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-06-18 19:52:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:52:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:52:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138878720001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:38] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-06-18 19:52:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:52:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94114909687644160,"km_value":94114909687644.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893201914412775424,"description":"Unknown IO ID 45"} 
[2026-06-18 19:52:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138878720001,"power":11547,"unknown_36":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8893201914412775424}} 
[2026-06-18 19:52:38] local.INFO: DEBUG: GPS processor result {"connection_id":106121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346354,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:38] local.INFO: GPS data processed {"connection_id":106121,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:38] local.INFO: Acknowledgment sent {"connection_id":106121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:52:38] local.INFO: TCP Data received {"connection_id":106902,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:52:38] local.INFO: Processing buffer {"connection_id":106902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:52:38] local.INFO: IMEI packet received {"connection_id":106902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":106902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:52:43] local.INFO: TCP Data received {"connection_id":106902,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:52:43] local.INFO: Processing buffer {"connection_id":106902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:52:43] local.INFO: IMEI packet received {"connection_id":106902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":106902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:52:44] local.INFO: TCP Data received {"connection_id":106902,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:44] local.INFO: Processing buffer {"connection_id":106902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:44] local.INFO: Packet analysis {"connection_id":106902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:44] local.INFO: Extracted packet for processing {"connection_id":106902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:52:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:52:44] 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-06-18 19:52:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":106902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:44] local.INFO: GPS data processed {"connection_id":106902,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:44] local.INFO: Acknowledgment sent {"connection_id":106902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:52:45] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:52:45] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:52:45] local.INFO: IMEI packet received {"connection_id":106122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:52:45] local.INFO: IMEI acknowledgment sent {"connection_id":106122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:52:49] local.INFO: TCP Data received {"connection_id":106902,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:49] local.INFO: Processing buffer {"connection_id":106902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:52:49] local.INFO: Packet analysis {"connection_id":106902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:49] local.INFO: Extracted packet for processing {"connection_id":106902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:52:49] 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-06-18 19:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:52:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:52:49] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:52:49] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:52:49] local.INFO: IMEI packet received {"connection_id":106122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":106122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":106902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:49] local.INFO: GPS data processed {"connection_id":106902,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:49] local.INFO: Acknowledgment sent {"connection_id":106902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:52:50] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1a79f0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1a79f0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:52:50] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1a79f0012d193d40071ffb18003d010326..."} 
[2026-06-18 19:52:50] local.INFO: Packet analysis {"connection_id":106122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:50] local.INFO: Extracted packet for processing {"connection_id":106122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138850560001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781792406000,"timestamp_ms":1781792406000,"timestamp_seconds":1781792406,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1a79f0"} 
[2026-06-18 19:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 19:52:50] 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-06-18 19:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138850560001,"66":12439,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138850560001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:52:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:52:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138850560001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":106122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:52:50] local.INFO: GPS data processed {"connection_id":106122,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:52:50] local.INFO: Acknowledgment sent {"connection_id":106122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:53:00] local.INFO: TCP Data received {"connection_id":106302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:00] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:00] local.INFO: IMEI packet received {"connection_id":106302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:53:00] local.INFO: IMEI acknowledgment sent {"connection_id":106302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:53:01] local.INFO: TCP Data received {"connection_id":106302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:01] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:01] local.INFO: IMEI packet received {"connection_id":106302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":106302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:53:01] local.INFO: TCP Data received {"connection_id":107849,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:53:01] local.INFO: Processing buffer {"connection_id":107849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:53:01] local.INFO: Packet analysis {"connection_id":107849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:53:01] local.INFO: Extracted packet for processing {"connection_id":107849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":50,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138744576001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380524661988067328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:01] 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-06-18 19:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792272000,"timestamp_ms":1781792272000,"timestamp_seconds":1781792272,"priority":1,"record_length":96,"hex_timestamp":"0000019edb186e80"} 
[2026-06-18 19:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:53: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-06-18 19: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-06-18 19:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19: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-06-18 19:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138744576001,"66":26136,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4380524661988067328},"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-06-18 19:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138744576001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:53:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380524661988067328,"description":"Unknown IO ID 44"} 
[2026-06-18 19:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138744576001,"power":26136,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380524661988067328}} 
[2026-06-18 19:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":107849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:53:01] local.INFO: GPS data processed {"connection_id":107849,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:53:01] local.INFO: Acknowledgment sent {"connection_id":107849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:53:05] local.INFO: TCP Data received {"connection_id":106302,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:05] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:53:05] local.INFO: IMEI packet received {"connection_id":106302,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":106302,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:53:05] local.INFO: TCP Data received {"connection_id":106302,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1c27a0012d7b618005e0ac58000001601e..."} 
[2026-06-18 19:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1c27a0012d7b618005e0ac58000001601e..."} 
[2026-06-18 19:53:05] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1c27a0012d7b618005e0ac58000001601e..."} 
[2026-06-18 19:53:05] local.INFO: Packet analysis {"connection_id":106302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:53:05] local.INFO: Extracted packet for processing {"connection_id":106302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":763060608,"raw_latitude":98610264,"longitude_deg":76.3060608,"latitude_deg":9.8610264,"altitude":0,"angle":352,"satellites":30,"speed":31,"hex_longitude":"2d7b6180","hex_latitude":"05e0ac58","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138880768001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94115364954177536,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892005645764016128,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781792516000,"timestamp_ms":1781792516000,"timestamp_seconds":1781792516,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1c27a0"} 
[2026-06-18 19:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 19:53:05] 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-06-18 19: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-06-18 19:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:53:05] 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-06-18 19:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138880768001,"66":11700,"35":206,"85":15104,"24":31,"16":94115364954177536,"45":8892005645764016128},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-06-18 19:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138880768001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:53:05] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 19:53:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94115364954177536,"km_value":94115364954177.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892005645764016128,"description":"Unknown IO ID 45"} 
[2026-06-18 19:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138880768001,"power":11700,"unknown_35":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8892005645764016128}} 
[2026-06-18 19:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":106302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346359,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:53:06] local.INFO: GPS data processed {"connection_id":106302,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:53:06] local.INFO: Acknowledgment sent {"connection_id":106302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:53:21] local.INFO: TCP Data received {"connection_id":106122,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1acbf8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1acbf8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:21] local.INFO: Processing buffer {"connection_id":106122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1acbf8012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:21] local.INFO: Packet analysis {"connection_id":106122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:53:21] local.INFO: Extracted packet for processing {"connection_id":106122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138855936001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781792427000,"timestamp_ms":1781792427000,"timestamp_seconds":1781792427,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1acbf8"} 
[2026-06-18 19:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:53:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:53:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 19:53:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:53:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":106122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":106122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138855936001,"66":12428,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138855936001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:53:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:53:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138855936001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":106122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:53:22] local.INFO: GPS data processed {"connection_id":106122,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:53:22] local.INFO: Acknowledgment sent {"connection_id":106122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:53:24] local.INFO: TCP Data received {"connection_id":107850,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:53:24] local.INFO: Processing buffer {"connection_id":107850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:53:24] local.INFO: IMEI packet received {"connection_id":107850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:53:24] local.INFO: IMEI acknowledgment sent {"connection_id":107850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:53:29] local.INFO: TCP Data received {"connection_id":107850,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:53:29] local.INFO: Processing buffer {"connection_id":107850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:53:29] local.INFO: IMEI packet received {"connection_id":107850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":107850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:53:30] local.INFO: TCP Data received {"connection_id":107850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:53:30] local.INFO: Processing buffer {"connection_id":107850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb186e80012cc3314007685a60005a00f932..."} 
[2026-06-18 19:53:30] local.INFO: Packet analysis {"connection_id":107850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:53:30] local.INFO: Extracted packet for processing {"connection_id":107850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb18"} 
[2026-06-18 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":50,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138744576001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4380524661988067328,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:30] 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-06-18 19:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792272000,"timestamp_ms":1781792272000,"timestamp_seconds":1781792272,"priority":1,"record_length":96,"hex_timestamp":"0000019edb186e80"} 
[2026-06-18 19:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:53: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-06-18 19: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-06-18 19:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:53: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-06-18 19:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138744576001,"66":26136,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4380524661988067328},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138744576001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:53:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4380524661988067328,"description":"Unknown IO ID 44"} 
[2026-06-18 19:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138744576001,"power":26136,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4380524661988067328}} 
[2026-06-18 19:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":107850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:53:30] local.INFO: GPS data processed {"connection_id":107850,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:53:30] local.INFO: Acknowledgment sent {"connection_id":107850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:53:33] local.INFO: TCP Data received {"connection_id":106903,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:53:33] local.INFO: Processing buffer {"connection_id":106903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:53:33] local.INFO: IMEI packet received {"connection_id":106903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:53:33] local.INFO: IMEI acknowledgment sent {"connection_id":106903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:53:37] local.INFO: TCP Data received {"connection_id":106302,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1c4ac8012d7b5b8005e0ce980000015e1c..."} 
[2026-06-18 19:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1c4ac8012d7b5b8005e0ce980000015e1c..."} 
[2026-06-18 19:53:37] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1c4ac8012d7b5b8005e0ce980000015e1c..."} 
[2026-06-18 19:53:37] local.INFO: Packet analysis {"connection_id":106302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:53:37] local.INFO: Extracted packet for processing {"connection_id":106302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":763059072,"raw_latitude":98619032,"longitude_deg":76.3059072,"latitude_deg":9.8619032,"altitude":0,"angle":350,"satellites":28,"speed":41,"hex_longitude":"2d7b5b80","hex_latitude":"05e0ce98","is_valid_coordinates":true} 
[2026-06-18 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138884096001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94115794450907136,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890527902138652672,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781792525000,"timestamp_ms":1781792525000,"timestamp_seconds":1781792525,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1c4ac8"} 
[2026-06-18 19:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 19:53:37] 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-06-18 19:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106302,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:53:37] 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-06-18 19:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138884096001,"66":11776,"35":206,"85":15104,"24":41,"16":94115794450907136,"45":8890527902138652672},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-06-18 19:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138884096001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:53:37] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-06-18 19:53:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94115794450907136,"km_value":94115794450907.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890527902138652672,"description":"Unknown IO ID 45"} 
[2026-06-18 19:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138884096001,"power":11776,"unknown_35":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8890527902138652672}} 
[2026-06-18 19:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":106302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346362,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:53:37] local.INFO: GPS data processed {"connection_id":106302,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:53:37] local.INFO: Acknowledgment sent {"connection_id":106302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:53:38] local.INFO: TCP Data received {"connection_id":106903,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:53:38] local.INFO: Processing buffer {"connection_id":106903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:53:38] local.INFO: IMEI packet received {"connection_id":106903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":106903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:53:39] local.INFO: TCP Data received {"connection_id":106903,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:53:39] local.INFO: Processing buffer {"connection_id":106903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:53:39] local.INFO: Packet analysis {"connection_id":106903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:53:39] local.INFO: Extracted packet for processing {"connection_id":106903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:53: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-06-18 19:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:53:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":106903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:53:39] local.INFO: GPS data processed {"connection_id":106903,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:53:39] local.INFO: Acknowledgment sent {"connection_id":106903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:53:48] local.INFO: TCP Data received {"connection_id":107851,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:53:48] local.INFO: Processing buffer {"connection_id":107851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:53:48] local.INFO: IMEI packet received {"connection_id":107851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":107851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:53:49] local.INFO: TCP Data received {"connection_id":107851,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:53:49] local.INFO: Processing buffer {"connection_id":107851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:53:49] local.INFO: IMEI packet received {"connection_id":107851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":107851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:53:50] local.INFO: TCP Data received {"connection_id":107851,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1b1e00012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1b1e00012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:50] local.INFO: Processing buffer {"connection_id":107851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1b1e00012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:50] local.INFO: Packet analysis {"connection_id":107851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:53:50] local.INFO: Extracted packet for processing {"connection_id":107851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138861312001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781792448000,"timestamp_ms":1781792448000,"timestamp_seconds":1781792448,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1b1e00"} 
[2026-06-18 19:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 19:53:50] 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-06-18 19:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138861312001,"66":12461,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138861312001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:53:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:53:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138861312001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":107851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:53:50] local.INFO: GPS data processed {"connection_id":107851,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:53:50] local.INFO: Acknowledgment sent {"connection_id":107851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:53:54] local.INFO: TCP Data received {"connection_id":107851,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1b7008012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1b7008012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:54] local.INFO: Processing buffer {"connection_id":107851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1b7008012d193d40071ffb18003d010326..."} 
[2026-06-18 19:53:54] local.INFO: Packet analysis {"connection_id":107851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:53:54] local.INFO: Extracted packet for processing {"connection_id":107851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:53:54] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:53:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138866688001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:53:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:53:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781792469000,"timestamp_ms":1781792469000,"timestamp_seconds":1781792469,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1b7008"} 
[2026-06-18 19:53:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:53:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 19:53:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:53:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:53:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:53:54] local.INFO: Teltonika packet parsed successfully {"connection_id":107851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:53:54] local.INFO: Passing IMEI to GPS processor {"connection_id":107851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:53:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":107851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:53:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:53:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:53:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:53:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138866688001,"66":12385,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:53:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:53:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:53:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138866688001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:53:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:53:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:53:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:53:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:53:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138866688001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:53:54] local.INFO: DEBUG: GPS processor result {"connection_id":107851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:53:54] local.INFO: GPS data processed {"connection_id":107851,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:53:54] local.INFO: Acknowledgment sent {"connection_id":107851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:54:00] local.INFO: TCP Data received {"connection_id":106303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:54:00] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:54:00] local.INFO: IMEI packet received {"connection_id":106303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":106303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:54:00] local.INFO: TCP Data received {"connection_id":107850,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:54:00] local.INFO: Processing buffer {"connection_id":107850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:54:00] local.INFO: Packet analysis {"connection_id":107850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:54:00] local.INFO: Extracted packet for processing {"connection_id":107850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:54:00] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:00] 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-06-18 19:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:54:00] 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-06-18 19:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:54:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":107850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:54:00] local.INFO: GPS data processed {"connection_id":107850,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:54:00] local.INFO: Acknowledgment sent {"connection_id":107850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:54:05] local.INFO: TCP Data received {"connection_id":106303,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:54:05] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:54:05] local.INFO: IMEI packet received {"connection_id":106303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":106303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:54:05] local.INFO: TCP Data received {"connection_id":106303,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1c6df0012d7b564005e0f528000001601b..."} 
[2026-06-18 19:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1c6df0012d7b564005e0f528000001601b..."} 
[2026-06-18 19:54:05] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1c6df0012d7b564005e0f528000001601b..."} 
[2026-06-18 19:54:05] local.INFO: Packet analysis {"connection_id":106303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:54:05] local.INFO: Extracted packet for processing {"connection_id":106303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:54:05] local.INFO: GPS Element Parsed {"raw_longitude":763057728,"raw_latitude":98628904,"longitude_deg":76.3057728,"latitude_deg":9.8628904,"altitude":0,"angle":352,"satellites":27,"speed":43,"hex_longitude":"2d7b5640","hex_latitude":"05e0f528","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138886400001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94116279782211584,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8888839052280633344,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781792534000,"timestamp_ms":1781792534000,"timestamp_seconds":1781792534,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1c6df0"} 
[2026-06-18 19:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 19:54:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3676010456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:05] local.WARNING: Large IO value detected {"io_id":92,"raw_value":2667577344,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805006542,"corrected_to":0} 
[2026-06-18 19:54:05] local.WARNING: Large IO value detected {"io_id":115,"raw_value":3221610526,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:05] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,35,85,24,241,157,16,93,158,39,45,128,172,30,10,66,244,192,136,29,36,213,1,240,223,227,92,219,224,4,113,205,43,151,115,176,25,239,46,49,2,78],"length":434,"final_offset":564,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805006542,"validated":0}]} 
[2026-06-18 19:54:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":384949331492864,"timestamp_seconds":384949331492.864,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:54:05] 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-06-18 19:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138886400001,"66":11526,"170":206,"85":15104,"24":43,"16":94116279782211584,"45":8888839052280633344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-18 19:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138886400001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:54:05] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-18 19:54:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94116279782211584,"km_value":94116279782211.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8888839052280633344,"description":"Unknown IO ID 45"} 
[2026-06-18 19:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138886400001,"power":11526,"unknown_170":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8888839052280633344}} 
[2026-06-18 19:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":106303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346367,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:54:06] local.INFO: GPS data processed {"connection_id":106303,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:54:06] local.INFO: Acknowledgment sent {"connection_id":106303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:54:11] local.INFO: TCP Data received {"connection_id":106903,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:54:11] local.INFO: Processing buffer {"connection_id":106903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:54:11] local.INFO: Packet analysis {"connection_id":106903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:54:11] local.INFO: Extracted packet for processing {"connection_id":106903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:54:11] 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-06-18 19:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":106903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:54:11] local.INFO: GPS data processed {"connection_id":106903,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:54:11] local.INFO: Acknowledgment sent {"connection_id":106903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:54:24] local.INFO: TCP Data received {"connection_id":106123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:54:24] local.INFO: Processing buffer {"connection_id":106123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:54:24] local.INFO: IMEI packet received {"connection_id":106123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":106123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:54:26] local.INFO: TCP Data received {"connection_id":107851,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1bc210012d193d40071ffb18003d010327..."} 
[2026-06-18 19:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1bc210012d193d40071ffb18003d010327..."} 
[2026-06-18 19:54:26] local.INFO: Processing buffer {"connection_id":107851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1bc210012d193d40071ffb18003d010327..."} 
[2026-06-18 19:54:26] local.INFO: Packet analysis {"connection_id":107851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:54:26] local.INFO: Extracted packet for processing {"connection_id":107851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1b"} 
[2026-06-18 19:54:26] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":39,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:54:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138872064001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:54:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781792490000,"timestamp_ms":1781792490000,"timestamp_seconds":1781792490,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1bc210"} 
[2026-06-18 19:54:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:54:26] 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-06-18 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 19:54:26] 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-06-18 19: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-06-18 19:54:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:54:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:54:26] local.INFO: Teltonika packet parsed successfully {"connection_id":107851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:54:26] local.INFO: Passing IMEI to GPS processor {"connection_id":107851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:54:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":107851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:54:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:54:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:54:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:54:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138872064001,"66":12428,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:54:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:54:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:54:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138872064001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:54:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:54:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:54:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:54:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:54:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138872064001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":107851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:54:26] local.INFO: GPS data processed {"connection_id":107851,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:54:26] local.INFO: Acknowledgment sent {"connection_id":107851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:54:29] local.INFO: TCP Data received {"connection_id":106123,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:54:29] local.INFO: Processing buffer {"connection_id":106123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:54:29] local.INFO: IMEI packet received {"connection_id":106123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":106123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:54:30] local.INFO: TCP Data received {"connection_id":106123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:54:30] local.INFO: Processing buffer {"connection_id":106123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:54:30] local.INFO: Packet analysis {"connection_id":106123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:54:30] local.INFO: Extracted packet for processing {"connection_id":106123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:54:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:30] 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-06-18 19:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:54: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-06-18 19:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:54:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":106123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:54:30] local.INFO: GPS data processed {"connection_id":106123,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:54:30] local.INFO: Acknowledgment sent {"connection_id":106123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:54:32] local.INFO: TCP Data received {"connection_id":106124,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:54:32] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:54:32] local.INFO: IMEI packet received {"connection_id":106124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:54:32] local.INFO: IMEI acknowledgment sent {"connection_id":106124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:54:37] local.INFO: TCP Data received {"connection_id":106303,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1c9118012d7b504005e11a380000015d1b..."} 
[2026-06-18 19:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1c9118012d7b504005e11a380000015d1b..."} 
[2026-06-18 19:54:37] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1c9118012d7b504005e11a380000015d1b..."} 
[2026-06-18 19:54:37] local.INFO: Packet analysis {"connection_id":106303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:54:37] local.INFO: Extracted packet for processing {"connection_id":106303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":763056192,"raw_latitude":98638392,"longitude_deg":76.3056192,"latitude_deg":9.8638392,"altitude":0,"angle":349,"satellites":27,"speed":39,"hex_longitude":"2d7b5040","hex_latitude":"05e11a38","is_valid_coordinates":true} 
[2026-06-18 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138888704001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94116743638679552,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8887361308655429632,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781792543000,"timestamp_ms":1781792543000,"timestamp_seconds":1781792543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1c9118"} 
[2026-06-18 19:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:54:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-06-18 19:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3627877095292192000,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":-2658365025677378701,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:37] local.WARNING: Large IO value detected {"io_id":192,"raw_value":423372106235904353,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2805006542,"corrected_to":0} 
[2026-06-18 19:54:37] local.WARNING: Large IO value detected {"io_id":25,"raw_value":13229323906056196,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:37] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,170,85,24,241,157,16,94,158,74,45,128,206,28,10,66,35,93,39,172,30,244,192,1,240,27,227,219,224,4,113,205,47,182,111,72,31,239,49,2,78,25],"length":483,"final_offset":613,"validated_count":42,"validation_warnings":[{"io_id":205,"original":2805006542,"validated":0}]} 
[2026-06-18 19:54:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":387144059912192,"timestamp_seconds":387144059912.192,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:54:37] 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-06-18 19:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138888704001,"66":11721,"170":206,"85":15104,"24":39,"16":94116743638679552,"45":8887361308655429632},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-06-18 19:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138888704001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:54:37] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-06-18 19:54:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94116743638679552,"km_value":94116743638679.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8887361308655429632,"description":"Unknown IO ID 45"} 
[2026-06-18 19:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138888704001,"power":11721,"unknown_170":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8887361308655429632}} 
[2026-06-18 19:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":106303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:54:37] local.INFO: GPS data processed {"connection_id":106303,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:54:37] local.INFO: Acknowledgment sent {"connection_id":106303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:54:38] local.INFO: TCP Data received {"connection_id":106124,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:54:38] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:54:38] local.INFO: IMEI packet received {"connection_id":106124,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":106124,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:54:39] local.INFO: TCP Data received {"connection_id":106124,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:54:39] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:54:39] local.INFO: Packet analysis {"connection_id":106124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:54:39] local.INFO: Extracted packet for processing {"connection_id":106124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:54: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-06-18 19:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:54:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:54:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":106124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:54:39] local.INFO: GPS data processed {"connection_id":106124,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:54:39] local.INFO: Acknowledgment sent {"connection_id":106124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:54:44] local.INFO: TCP Data received {"connection_id":107852,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:44] local.INFO: Processing buffer {"connection_id":107852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:44] local.INFO: IMEI packet received {"connection_id":107852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":107852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:54:46] local.INFO: TCP Data received {"connection_id":107852,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:46] local.INFO: Processing buffer {"connection_id":107852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:46] local.INFO: IMEI packet received {"connection_id":107852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":107852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:54:49] local.INFO: TCP Data received {"connection_id":107852,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107852,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:49] local.INFO: Processing buffer {"connection_id":107852,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:54:49] local.INFO: IMEI packet received {"connection_id":107852,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":107852,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:54:50] local.INFO: TCP Data received {"connection_id":107852,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1c1418012d193d40071ffb18003d010326..."} 
[2026-06-18 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1c1418012d193d40071ffb18003d010326..."} 
[2026-06-18 19:54:50] local.INFO: Processing buffer {"connection_id":107852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1c1418012d193d40071ffb18003d010326..."} 
[2026-06-18 19:54:50] local.INFO: Packet analysis {"connection_id":107852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:54:50] local.INFO: Extracted packet for processing {"connection_id":107852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1c"} 
[2026-06-18 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756628800,"raw_latitude":119536408,"longitude_deg":75.66288,"latitude_deg":11.9536408,"altitude":61,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2d193d40","hex_latitude":"071ffb18","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138877440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3371772665659392,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818680223873046528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781792511000,"timestamp_ms":1781792511000,"timestamp_seconds":1781792511,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1c1418"} 
[2026-06-18 19:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:54:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 19:54:50] 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-06-18 19: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-06-18 19:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138877440001,"66":12385,"121":206,"28":31744,"24":0,"16":3371772665659392,"45":1818680223873046528},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138877440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:54:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:54:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3371772665659392,"km_value":3371772665659.392,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818680223873046528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138877440001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1818680223873046528}} 
[2026-06-18 19:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":107852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:54:50] local.INFO: GPS data processed {"connection_id":107852,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:54:50] local.INFO: Acknowledgment sent {"connection_id":107852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:01] local.INFO: TCP Data received {"connection_id":106123,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:55:01] local.INFO: Processing buffer {"connection_id":106123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:55:01] local.INFO: Packet analysis {"connection_id":106123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:55:01] local.INFO: Extracted packet for processing {"connection_id":106123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:55:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:01] 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-06-18 19:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:55: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-06-18 19:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:55:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":106123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:55:01] local.INFO: GPS data processed {"connection_id":106123,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:55:01] local.INFO: Acknowledgment sent {"connection_id":106123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:04] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:04] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:04] local.INFO: IMEI packet received {"connection_id":106304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":106304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:55:05] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:05] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:05] local.INFO: IMEI packet received {"connection_id":106304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":106304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:55:10] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:10] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:10] local.INFO: IMEI packet received {"connection_id":106304,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":106304,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:55:10] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1ea840012d7b288005e25408000701601e..."} 
[2026-06-18 19:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1ea840012d7b288005e25408000701601e..."} 
[2026-06-18 19:55:10] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1ea840012d7b288005e25408000701601e..."} 
[2026-06-18 19:55:10] local.INFO: Packet analysis {"connection_id":106304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:55:10] local.INFO: Extracted packet for processing {"connection_id":106304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":763046016,"raw_latitude":98718728,"longitude_deg":76.3046016,"latitude_deg":9.8718728,"altitude":7,"angle":352,"satellites":30,"speed":24,"hex_longitude":"2d7b2880","hex_latitude":"05e25408","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138922496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94120682123689984,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8875609728398503936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:10] 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-06-18 19:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781792680000,"timestamp_ms":1781792680000,"timestamp_seconds":1781792680,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1ea840"} 
[2026-06-18 19:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 19:55:10] 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-06-18 19: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-06-18 19:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:55:10] 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-06-18 19:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138922496001,"66":11895,"169":206,"85":15104,"24":24,"16":94120682123689984,"45":8875609728398503936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-06-18 19:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138922496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:55:10] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-06-18 19:55:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94120682123689984,"km_value":94120682123689.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8875609728398503936,"description":"Unknown IO ID 45"} 
[2026-06-18 19:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138922496001,"power":11895,"unknown_169":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8875609728398503936}} 
[2026-06-18 19:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":106304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346375,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:55:10] local.INFO: GPS data processed {"connection_id":106304,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:55:10] local.INFO: Acknowledgment sent {"connection_id":106304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:11] local.INFO: TCP Data received {"connection_id":106124,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:55:11] local.INFO: Processing buffer {"connection_id":106124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:55:11] local.INFO: Packet analysis {"connection_id":106124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:55:11] local.INFO: Extracted packet for processing {"connection_id":106124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:55:11] 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-06-18 19: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-06-18 19:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106124,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:55:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":106124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:55:11] local.INFO: GPS data processed {"connection_id":106124,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:55:11] local.INFO: Acknowledgment sent {"connection_id":106124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:21] local.INFO: TCP Data received {"connection_id":107852,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1e94b8012d194dc0071ffa400040009d27..."} 
[2026-06-18 19:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1e94b8012d194dc0071ffa400040009d27..."} 
[2026-06-18 19:55:21] local.INFO: Processing buffer {"connection_id":107852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1e94b8012d194dc0071ffa400040009d27..."} 
[2026-06-18 19:55:21] local.INFO: Packet analysis {"connection_id":107852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:55:21] local.INFO: Extracted packet for processing {"connection_id":107852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:55:21] local.INFO: GPS Element Parsed {"raw_longitude":756633024,"raw_latitude":119536192,"longitude_deg":75.6633024,"latitude_deg":11.9536192,"altitude":64,"angle":157,"satellites":39,"speed":7,"hex_longitude":"2d194dc0","hex_latitude":"071ffa40","is_valid_coordinates":true} 
[2026-06-18 19:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:55:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138924544001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372000298926080,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823183823500400640,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:55:21] local.INFO: AVL Record Parsed {"raw_timestamp":1781792675000,"timestamp_ms":1781792675000,"timestamp_seconds":1781792675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1e94b8"} 
[2026-06-18 19:55:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:55:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:55:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-06-18 19:55:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:55:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:55:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:55:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:55:21] local.INFO: Teltonika packet parsed successfully {"connection_id":107852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:55:21] local.INFO: Passing IMEI to GPS processor {"connection_id":107852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:55:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":107852,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:55:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:55:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:55:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:55:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138924544001,"66":13396,"121":206,"28":31744,"24":7,"16":3372000298926080,"45":1823183823500400640},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:55:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:55:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:55:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138924544001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:55:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:55:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:55:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372000298926080,"km_value":3372000298926.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:55:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823183823500400640,"description":"Unknown IO ID 45"} 
[2026-06-18 19:55:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138924544001,"power":13396,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1823183823500400640}} 
[2026-06-18 19:55:21] local.INFO: DEBUG: GPS processor result {"connection_id":107852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:55:21] local.INFO: GPS data processed {"connection_id":107852,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:55:21] local.INFO: Acknowledgment sent {"connection_id":107852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:24] local.INFO: TCP Data received {"connection_id":106125,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:55:24] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:55:24] local.INFO: IMEI packet received {"connection_id":106125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":106125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:55:29] local.INFO: TCP Data received {"connection_id":106125,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:55:29] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:55:29] local.INFO: IMEI packet received {"connection_id":106125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":106125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:55:30] local.INFO: TCP Data received {"connection_id":106125,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:55:30] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:55:30] local.INFO: Packet analysis {"connection_id":106125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:55:30] local.INFO: Extracted packet for processing {"connection_id":106125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:55:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:30] 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-06-18 19:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:55:30] 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-06-18 19:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:55:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:55:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":106125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:55:30] local.INFO: GPS data processed {"connection_id":106125,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:55:30] local.INFO: Acknowledgment sent {"connection_id":106125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:32] local.INFO: TCP Data received {"connection_id":106305,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:55:32] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:55:32] local.INFO: IMEI packet received {"connection_id":106305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":106305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:55:38] local.INFO: TCP Data received {"connection_id":106305,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:55:38] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:55:38] local.INFO: IMEI packet received {"connection_id":106305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":106305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:55:40] local.INFO: TCP Data received {"connection_id":106305,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:55:40] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1aa100012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:55:40] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:55:40] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1a"} 
[2026-06-18 19:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138781440001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781792416000,"timestamp_ms":1781792416000,"timestamp_seconds":1781792416,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1aa100"} 
[2026-06-18 19:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 19:55:40] 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-06-18 19:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138781440001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138781440001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:55:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:55:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138781440001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:55:40] local.INFO: GPS data processed {"connection_id":106305,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:55:40] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:43] local.INFO: TCP Data received {"connection_id":106304,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1ed720012d7b23c005e276780005016120..."} 
[2026-06-18 19:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1ed720012d7b23c005e276780005016120..."} 
[2026-06-18 19:55:43] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1ed720012d7b23c005e276780005016120..."} 
[2026-06-18 19:55:43] local.INFO: Packet analysis {"connection_id":106304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:55:43] local.INFO: Extracted packet for processing {"connection_id":106304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:55:43] local.INFO: GPS Element Parsed {"raw_longitude":763044800,"raw_latitude":98727544,"longitude_deg":76.30448,"latitude_deg":9.8727544,"altitude":5,"angle":353,"satellites":32,"speed":30,"hex_longitude":"2d7b23c0","hex_latitude":"05e27678","is_valid_coordinates":true} 
[2026-06-18 19:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138926080001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94121111620419584,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874483828493912064,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:43] 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-06-18 19:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781792692000,"timestamp_ms":1781792692000,"timestamp_seconds":1781792692,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1ed720"} 
[2026-06-18 19:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 19:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1499,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106304,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138926080001,"66":11917,"96":206,"85":15104,"24":30,"16":94121111620419584,"45":8874483828493912064},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 19:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138926080001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:55:43] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 19:55:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94121111620419584,"km_value":94121111620419.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874483828493912064,"description":"Unknown IO ID 45"} 
[2026-06-18 19:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138926080001,"power":11917,"unknown_96":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8874483828493912064}} 
[2026-06-18 19:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":106304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:55:43] local.INFO: GPS data processed {"connection_id":106304,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:55:43] local.INFO: Acknowledgment sent {"connection_id":106304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:44] local.INFO: TCP Data received {"connection_id":106306,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:55:44] local.INFO: Processing buffer {"connection_id":106306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:55:44] local.INFO: IMEI packet received {"connection_id":106306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":106306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:55:49] local.INFO: TCP Data received {"connection_id":106306,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106306,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:55:49] local.INFO: Processing buffer {"connection_id":106306,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:55:49] local.INFO: IMEI packet received {"connection_id":106306,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":106306,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:55:51] local.INFO: TCP Data received {"connection_id":106306,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1ea458012d194f80071ff6680040008c27..."} 
[2026-06-18 19:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1ea458012d194f80071ff6680040008c27..."} 
[2026-06-18 19:55:51] local.INFO: Processing buffer {"connection_id":106306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1ea458012d194f80071ff6680040008c27..."} 
[2026-06-18 19:55:51] local.INFO: Packet analysis {"connection_id":106306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:55:51] local.INFO: Extracted packet for processing {"connection_id":106306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756633472,"raw_latitude":119535208,"longitude_deg":75.6633472,"latitude_deg":11.9535208,"altitude":64,"angle":140,"satellites":39,"speed":10,"hex_longitude":"2d194f80","hex_latitude":"071ff668","is_valid_coordinates":true} 
[2026-06-18 19:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138924800001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372051838533632,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823324560988717056,"note":"Value kept but may cause issues"} 
[2026-06-18 19:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781792679000,"timestamp_ms":1781792679000,"timestamp_seconds":1781792679,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1ea458"} 
[2026-06-18 19:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-18 19:55:51] 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-06-18 19:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:55:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138924800001,"66":13417,"121":206,"28":31744,"24":10,"16":3372051838533632,"45":1823324560988717056},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138924800001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:55:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:55:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372051838533632,"km_value":3372051838533.632,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823324560988717056,"description":"Unknown IO ID 45"} 
[2026-06-18 19:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138924800001,"power":13417,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1823324560988717056}} 
[2026-06-18 19:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":106306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:55:51] local.INFO: GPS data processed {"connection_id":106306,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:55:51] local.INFO: Acknowledgment sent {"connection_id":106306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:55:59] local.INFO: TCP Data received {"connection_id":107853,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:59] local.INFO: Processing buffer {"connection_id":107853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:59] local.INFO: IMEI packet received {"connection_id":107853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":107853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:55:59] local.INFO: TCP Data received {"connection_id":107853,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:59] local.INFO: Processing buffer {"connection_id":107853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:55:59] local.INFO: IMEI packet received {"connection_id":107853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":107853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:56:01] local.INFO: TCP Data received {"connection_id":106125,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:56:01] local.INFO: Processing buffer {"connection_id":106125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:56:01] local.INFO: Packet analysis {"connection_id":106125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:56:01] local.INFO: Extracted packet for processing {"connection_id":106125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:56:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:01] 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-06-18 19:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:56: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-06-18 19:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:56:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:56:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":106125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:56:01] local.INFO: GPS data processed {"connection_id":106125,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:56:01] local.INFO: Acknowledgment sent {"connection_id":106125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:56:05] local.INFO: TCP Data received {"connection_id":107853,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107853,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:56:05] local.INFO: Processing buffer {"connection_id":107853,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:56:05] local.INFO: IMEI packet received {"connection_id":107853,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":107853,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:56:06] local.INFO: TCP Data received {"connection_id":107853,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f0218012d7b1f0005e298d80006016021..."} 
[2026-06-18 19:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f0218012d7b1f0005e298d80006016021..."} 
[2026-06-18 19:56:06] local.INFO: Processing buffer {"connection_id":107853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f0218012d7b1f0005e298d80006016021..."} 
[2026-06-18 19:56:06] local.INFO: Packet analysis {"connection_id":107853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:56:06] local.INFO: Extracted packet for processing {"connection_id":107853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763043584,"raw_latitude":98736344,"longitude_deg":76.3043584,"latitude_deg":9.8736344,"altitude":6,"angle":352,"satellites":33,"speed":33,"hex_longitude":"2d7b1f00","hex_latitude":"05e298d8","is_valid_coordinates":true} 
[2026-06-18 19:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138929152001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94121541117149184,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873146822356793344,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:06] 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-06-18 19:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781792703000,"timestamp_ms":1781792703000,"timestamp_seconds":1781792703,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f0218"} 
[2026-06-18 19:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 19:56: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-06-18 19:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:56:06] 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-06-18 19:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138929152001,"66":11798,"96":206,"85":15104,"24":33,"16":94121541117149184,"45":8873146822356793344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 19:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138929152001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:56:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 19:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94121541117149184,"km_value":94121541117149.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873146822356793344,"description":"Unknown IO ID 45"} 
[2026-06-18 19:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138929152001,"power":11798,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8873146822356793344}} 
[2026-06-18 19:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":107853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346383,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:56:06] local.INFO: GPS data processed {"connection_id":107853,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:56:06] local.INFO: Acknowledgment sent {"connection_id":107853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:56:11] local.INFO: TCP Data received {"connection_id":106305,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:56:11] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:56:11] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:56:11] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 19:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:56:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:56:12] local.INFO: GPS data processed {"connection_id":106305,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:56:12] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:56:22] local.INFO: TCP Data received {"connection_id":106306,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1eac28012d195100071ff5180041007b27..."} 
[2026-06-18 19:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1eac28012d195100071ff5180041007b27..."} 
[2026-06-18 19:56:22] local.INFO: Processing buffer {"connection_id":106306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1eac28012d195100071ff5180041007b27..."} 
[2026-06-18 19:56:22] local.INFO: Packet analysis {"connection_id":106306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:56:22] local.INFO: Extracted packet for processing {"connection_id":106306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119534872,"longitude_deg":75.6633856,"latitude_deg":11.9534872,"altitude":65,"angle":123,"satellites":39,"speed":10,"hex_longitude":"2d195100","hex_latitude":"071ff518","is_valid_coordinates":true} 
[2026-06-18 19:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138925824001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372077608337408,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823817142197708800,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781792681000,"timestamp_ms":1781792681000,"timestamp_seconds":1781792681,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1eac28"} 
[2026-06-18 19:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-06-18 19:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106306,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138925824001,"66":13298,"121":206,"28":31744,"24":10,"16":3372077608337408,"45":1823817142197708800},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138925824001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:56:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:56:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372077608337408,"km_value":3372077608337.408,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823817142197708800,"description":"Unknown IO ID 45"} 
[2026-06-18 19:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138925824001,"power":13298,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1823817142197708800}} 
[2026-06-18 19:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":106306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:56:22] local.INFO: GPS data processed {"connection_id":106306,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:56:22] local.INFO: Acknowledgment sent {"connection_id":106306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:56:24] local.INFO: TCP Data received {"connection_id":106904,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:56:24] local.INFO: Processing buffer {"connection_id":106904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:56:24] local.INFO: IMEI packet received {"connection_id":106904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":106904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:56:29] local.INFO: TCP Data received {"connection_id":106904,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:56:29] local.INFO: Processing buffer {"connection_id":106904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:56:29] local.INFO: IMEI packet received {"connection_id":106904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":106904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:56:30] local.INFO: TCP Data received {"connection_id":106904,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:56:30] local.INFO: Processing buffer {"connection_id":106904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:56:30] local.INFO: Packet analysis {"connection_id":106904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:56:30] local.INFO: Extracted packet for processing {"connection_id":106904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:30] 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-06-18 19:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:56:30] 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-06-18 19:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:56:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:56:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":106904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:56:30] local.INFO: GPS data processed {"connection_id":106904,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:56:30] local.INFO: Acknowledgment sent {"connection_id":106904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:56:33] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:56:33] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:56:33] local.INFO: IMEI packet received {"connection_id":106126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:56:33] local.INFO: IMEI acknowledgment sent {"connection_id":106126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:56:38] local.INFO: TCP Data received {"connection_id":107853,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f2928012d7b198005e2bf10000601601c..."} 
[2026-06-18 19:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f2928012d7b198005e2bf10000601601c..."} 
[2026-06-18 19:56:38] local.INFO: Processing buffer {"connection_id":107853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f2928012d7b198005e2bf10000601601c..."} 
[2026-06-18 19:56:38] local.INFO: Packet analysis {"connection_id":107853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:56:38] local.INFO: Extracted packet for processing {"connection_id":107853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:56:38] local.INFO: GPS Element Parsed {"raw_longitude":763042176,"raw_latitude":98746128,"longitude_deg":76.3042176,"latitude_deg":9.8746128,"altitude":6,"angle":352,"satellites":28,"speed":44,"hex_longitude":"2d7b1980","hex_latitude":"05e2bf10","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138931968001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94122022153486336,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871809816219670528,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] 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-06-18 19:56:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781792713000,"timestamp_ms":1781792713000,"timestamp_seconds":1781792713,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f2928"} 
[2026-06-18 19:56:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:56:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":96,"raw_value":1945561636093823488,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3676157456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":7,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184136474829,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":97,"raw_value":3741319168,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620846477552,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":232,"raw_value":3623955835,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":78,"raw_value":6965379773681893376,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":79,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6141502619930591234,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":57,"raw_value":-9221716524530663423,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":201,"raw_value":57886714530518331,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":29,"raw_value":6645062545037688837,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.WARNING: Large IO value detected {"io_id":225,"raw_value":-6046082495449523456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:38] local.INFO: IO Element Parsed {"io_data_count":49,"io_data_keys":[0,96,85,24,241,157,16,99,158,215,45,192,118,5,32,10,66,98,168,128,84,7,30,169,113,1,240,191,227,97,219,226,4,205,13,232,51,48,25,239,46,2,78,79,206,57,201,29,225],"length":632,"final_offset":762,"validated_count":49,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-18 19:56:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432732734056628224,"timestamp_seconds":432732734056628.25,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:56:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:56:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:56:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:56:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:56:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107853,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:56:38] 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-06-18 19:56:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:56:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:56:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138931968001,"66":11776,"96":206,"85":15104,"24":44,"16":94122022153486336,"45":8871809816219670528},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 19:56:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:56:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:56:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138931968001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:56:38] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 19:56:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:56:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94122022153486336,"km_value":94122022153486.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:56:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871809816219670528,"description":"Unknown IO ID 45"} 
[2026-06-18 19:56:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138931968001,"power":11776,"unknown_96":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":8871809816219670528}} 
[2026-06-18 19:56:38] local.INFO: DEBUG: GPS processor result {"connection_id":107853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:56:38] local.INFO: GPS data processed {"connection_id":107853,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:56:38] local.INFO: Acknowledgment sent {"connection_id":107853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:56:38] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:56:38] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:56:38] local.INFO: IMEI packet received {"connection_id":106126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":106126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:56:39] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:56:39] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:56:39] local.INFO: Packet analysis {"connection_id":106126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:56:39] local.INFO: Extracted packet for processing {"connection_id":106126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 19:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:56: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-06-18 19:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:56: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-06-18 19:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:56:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":106126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:56:40] local.INFO: GPS data processed {"connection_id":106126,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:56:40] local.INFO: Acknowledgment sent {"connection_id":106126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:56:49] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:56:49] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:56:49] local.INFO: IMEI packet received {"connection_id":106307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":106307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:56:54] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:56:54] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:56:54] local.INFO: IMEI packet received {"connection_id":106307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":106307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:56:57] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1eb7e0012d195440071ff3780041007027..."} 
[2026-06-18 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1eb7e0012d195440071ff3780041007027..."} 
[2026-06-18 19:56:57] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1eb7e0012d195440071ff3780041007027..."} 
[2026-06-18 19:56:57] local.INFO: Packet analysis {"connection_id":106307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:56:57] local.INFO: Extracted packet for processing {"connection_id":106307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:56:57] local.INFO: GPS Element Parsed {"raw_longitude":756634688,"raw_latitude":119534456,"longitude_deg":75.6634688,"latitude_deg":11.9534456,"altitude":65,"angle":112,"satellites":39,"speed":12,"hex_longitude":"2d195440","hex_latitude":"071ff378","is_valid_coordinates":true} 
[2026-06-18 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-06-18 19:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138926336001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372120558010368,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354662688768,"note":"Value kept but may cause issues"} 
[2026-06-18 19:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781792684000,"timestamp_ms":1781792684000,"timestamp_seconds":1781792684,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1eb7e0"} 
[2026-06-18 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-06-18 19:56: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-06-18 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":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-06-18 19:56:57] 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-06-18 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-06-18 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-06-18 19:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138926336001,"66":13406,"121":206,"28":31744,"24":12,"16":3372120558010368,"45":1824239354662688768},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138926336001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:56:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:56:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372120558010368,"km_value":3372120558010.368,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354662688768,"description":"Unknown IO ID 45"} 
[2026-06-18 19:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138926336001,"power":13406,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1824239354662688768}} 
[2026-06-18 19:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":106307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:56:58] local.INFO: GPS data processed {"connection_id":106307,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:56:58] local.INFO: Acknowledgment sent {"connection_id":106307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:56:59] local.INFO: TCP Data received {"connection_id":106905,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:56:59] local.INFO: Processing buffer {"connection_id":106905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:56:59] local.INFO: IMEI packet received {"connection_id":106905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":106905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:57:01] local.INFO: TCP Data received {"connection_id":106904,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:57:01] local.INFO: Processing buffer {"connection_id":106904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:57:01] local.INFO: Packet analysis {"connection_id":106904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:57:01] local.INFO: Extracted packet for processing {"connection_id":106904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:57:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:01] 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-06-18 19:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:57:01] 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-06-18 19:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:57:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":106904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:57:01] local.INFO: GPS data processed {"connection_id":106904,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:57:01] local.INFO: Acknowledgment sent {"connection_id":106904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:57:05] local.INFO: TCP Data received {"connection_id":106905,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106905,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:57:05] local.INFO: Processing buffer {"connection_id":106905,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:57:05] local.INFO: IMEI packet received {"connection_id":106905,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":106905,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:57:06] local.INFO: TCP Data received {"connection_id":106905,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f4c50012d7b140005e2e508000701601c..."} 
[2026-06-18 19:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f4c50012d7b140005e2e508000701601c..."} 
[2026-06-18 19:57:06] local.INFO: Processing buffer {"connection_id":106905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f4c50012d7b140005e2e508000701601c..."} 
[2026-06-18 19:57:06] local.INFO: Packet analysis {"connection_id":106905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:06] local.INFO: Extracted packet for processing {"connection_id":106905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763040768,"raw_latitude":98755848,"longitude_deg":76.3040768,"latitude_deg":9.8755848,"altitude":7,"angle":352,"satellites":28,"speed":41,"hex_longitude":"2d7b1400","hex_latitude":"05e2e508","is_valid_coordinates":true} 
[2026-06-18 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138934528001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94122498894856192,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8870261703850266624,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:06] 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-06-18 19:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781792722000,"timestamp_ms":1781792722000,"timestamp_seconds":1781792722,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f4c50"} 
[2026-06-18 19:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 19:57:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3676170456,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2812870862,"corrected_to":0} 
[2026-06-18 19:57:06] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3221611022,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:06] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,96,85,24,241,157,16,99,158,2,45,152,6,33,10,66,215,192,118,5,32,98,168,128,1,240,119,227,219,226,4,113,205,26,51,47,239,46,169,78],"length":434,"final_offset":564,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2812870862,"validated":0}]} 
[2026-06-18 19:57:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432732712582512640,"timestamp_seconds":432732712582512.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 19:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:57:06] 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-06-18 19:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138934528001,"66":11852,"96":206,"85":15104,"24":41,"16":94122498894856192,"45":8870261703850266624},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 19:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138934528001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:57:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 19:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94122498894856192,"km_value":94122498894856.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8870261703850266624,"description":"Unknown IO ID 45"} 
[2026-06-18 19:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138934528001,"power":11852,"unknown_96":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8870261703850266624}} 
[2026-06-18 19:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":106905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:57:06] local.INFO: GPS data processed {"connection_id":106905,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:57:06] local.INFO: Acknowledgment sent {"connection_id":106905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:57:16] local.INFO: TCP Data received {"connection_id":106126,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:57:16] local.INFO: Processing buffer {"connection_id":106126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:57:16] local.INFO: Packet analysis {"connection_id":106126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:16] local.INFO: Extracted packet for processing {"connection_id":106126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 19:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:57:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:57:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106126,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:57:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:57:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":106126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:57:16] local.INFO: GPS data processed {"connection_id":106126,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:57:16] local.INFO: Acknowledgment sent {"connection_id":106126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:57:24] local.INFO: TCP Data received {"connection_id":107854,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:57:24] local.INFO: Processing buffer {"connection_id":107854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:57:24] local.INFO: IMEI packet received {"connection_id":107854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:57:24] local.INFO: IMEI acknowledgment sent {"connection_id":107854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:57:29] local.INFO: TCP Data received {"connection_id":107854,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:57:29] local.INFO: Processing buffer {"connection_id":107854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:57:29] local.INFO: IMEI packet received {"connection_id":107854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":107854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:57:30] local.INFO: TCP Data received {"connection_id":107854,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:57:30] local.INFO: Processing buffer {"connection_id":107854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:57:30] local.INFO: Packet analysis {"connection_id":107854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:57:30] local.INFO: Extracted packet for processing {"connection_id":107854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:57:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:30] 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-06-18 19:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:57:30] 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-06-18 19:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:57:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":107854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:57:30] local.INFO: GPS data processed {"connection_id":107854,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:57:30] local.INFO: Acknowledgment sent {"connection_id":107854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:57:33] local.INFO: TCP Data received {"connection_id":106906,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:57:33] local.INFO: Processing buffer {"connection_id":106906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:57:33] local.INFO: IMEI packet received {"connection_id":106906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":106906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:57:34] local.INFO: TCP Data received {"connection_id":106307,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1edef0012d195f80071fef500042006429..."} 
[2026-06-18 19:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1edef0012d195f80071fef500042006429..."} 
[2026-06-18 19:57:34] local.INFO: Processing buffer {"connection_id":106307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1edef0012d195f80071fef500042006429..."} 
[2026-06-18 19:57:34] local.INFO: Packet analysis {"connection_id":106307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:57:34] local.INFO: Extracted packet for processing {"connection_id":106307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1e"} 
[2026-06-18 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756637568,"raw_latitude":119533392,"longitude_deg":75.6637568,"latitude_deg":11.9533392,"altitude":66,"angle":100,"satellites":41,"speed":10,"hex_longitude":"2d195f80","hex_latitude":"071fef50","is_valid_coordinates":true} 
[2026-06-18 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138927104001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372266586898432,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825154148336891904,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781792694000,"timestamp_ms":1781792694000,"timestamp_seconds":1781792694,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1edef0"} 
[2026-06-18 19:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":94,"data_length":795,"current_offset":136} 
[2026-06-18 19:57:34] 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-06-18 19:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138927104001,"66":13646,"121":206,"28":31744,"24":10,"16":3372266586898432,"45":1825154148336891904},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138927104001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:57:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:57:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372266586898432,"km_value":3372266586898.432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825154148336891904,"description":"Unknown IO ID 45"} 
[2026-06-18 19:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138927104001,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1825154148336891904}} 
[2026-06-18 19:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":106307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:57:34] local.INFO: GPS data processed {"connection_id":106307,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:57:34] local.INFO: Acknowledgment sent {"connection_id":106307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:57:38] local.INFO: TCP Data received {"connection_id":106906,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:57:38] local.INFO: Processing buffer {"connection_id":106906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:57:38] local.INFO: IMEI packet received {"connection_id":106906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":106906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:57:39] local.INFO: TCP Data received {"connection_id":106905,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f6f78012d7b0f8005e308e0000701631c..."} 
[2026-06-18 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f6f78012d7b0f8005e308e0000701631c..."} 
[2026-06-18 19:57:39] local.INFO: Processing buffer {"connection_id":106905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f6f78012d7b0f8005e308e0000701631c..."} 
[2026-06-18 19:57:39] local.INFO: Packet analysis {"connection_id":106905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:39] local.INFO: Extracted packet for processing {"connection_id":106905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":763039616,"raw_latitude":98765024,"longitude_deg":76.3039616,"latitude_deg":9.8765024,"altitude":7,"angle":355,"satellites":28,"speed":38,"hex_longitude":"2d7b0f80","hex_latitude":"05e308e0","is_valid_coordinates":true} 
[2026-06-18 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138936832001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94122945571454976,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868713591480846336,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:39] 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-06-18 19:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792731000,"timestamp_ms":1781792731000,"timestamp_seconds":1781792731,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f6f78"} 
[2026-06-18 19:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:57:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 19:57:39] 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-06-18 19:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106905,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:57:39] 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-06-18 19:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138936832001,"66":11808,"96":206,"85":15104,"24":38,"16":94122945571454976,"45":8868713591480846336},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-06-18 19:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138936832001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:57:39] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-06-18 19:57:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94122945571454976,"km_value":94122945571454.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868713591480846336,"description":"Unknown IO ID 45"} 
[2026-06-18 19:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138936832001,"power":11808,"unknown_96":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8868713591480846336}} 
[2026-06-18 19:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":106905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:57:39] local.INFO: GPS data processed {"connection_id":106905,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:57:39] local.INFO: Acknowledgment sent {"connection_id":106905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:57:41] local.INFO: TCP Data received {"connection_id":106906,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:57:41] local.INFO: Processing buffer {"connection_id":106906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:57:41] local.INFO: Packet analysis {"connection_id":106906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:41] local.INFO: Extracted packet for processing {"connection_id":106906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 19:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:57:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:57:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:57:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:57:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":106906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:57:41] local.INFO: GPS data processed {"connection_id":106906,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:57:41] local.INFO: Acknowledgment sent {"connection_id":106906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:57:44] local.INFO: TCP Data received {"connection_id":106127,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:57:44] local.INFO: Processing buffer {"connection_id":106127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:57:44] local.INFO: IMEI packet received {"connection_id":106127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":106127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:57:49] local.INFO: TCP Data received {"connection_id":106127,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106127,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:57:49] local.INFO: Processing buffer {"connection_id":106127,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:57:49] local.INFO: IMEI packet received {"connection_id":106127,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":106127,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:57:51] local.INFO: TCP Data received {"connection_id":106127,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f30f8012d196600071feea00040006228..."} 
[2026-06-18 19:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f30f8012d196600071feea00040006228..."} 
[2026-06-18 19:57:51] local.INFO: Processing buffer {"connection_id":106127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f30f8012d196600071feea00040006228..."} 
[2026-06-18 19:57:51] local.INFO: Packet analysis {"connection_id":106127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:51] local.INFO: Extracted packet for processing {"connection_id":106127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533216,"longitude_deg":75.6639232,"latitude_deg":11.9533216,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-06-18 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:57:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138929664001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1828320741824614400,"note":"Value kept but may cause issues"} 
[2026-06-18 19:57:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:57:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781792715000,"timestamp_ms":1781792715000,"timestamp_seconds":1781792715,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f30f8"} 
[2026-06-18 19:57:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:57:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:57:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-06-18 19:57:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:57:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:57:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:57:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:57:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:57:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:57:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:57:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:57:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:57:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:57:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138929664001,"66":13004,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1828320741824614400},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:57:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:57:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:57:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138929664001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:57:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:57:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:57:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:57:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1828320741824614400,"description":"Unknown IO ID 45"} 
[2026-06-18 19:57:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138929664001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1828320741824614400}} 
[2026-06-18 19:57:51] local.INFO: DEBUG: GPS processor result {"connection_id":106127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:57:51] local.INFO: GPS data processed {"connection_id":106127,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:57:51] local.INFO: Acknowledgment sent {"connection_id":106127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:57:59] local.INFO: TCP Data received {"connection_id":106907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:57:59] local.INFO: Processing buffer {"connection_id":106907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:57:59] local.INFO: IMEI packet received {"connection_id":106907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":106907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:58:01] local.INFO: TCP Data received {"connection_id":107854,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:58:01] local.INFO: Processing buffer {"connection_id":107854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:58:01] local.INFO: Packet analysis {"connection_id":107854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:58:01] local.INFO: Extracted packet for processing {"connection_id":107854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:58:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:01] 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-06-18 19:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":107854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:01] local.INFO: GPS data processed {"connection_id":107854,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:01] local.INFO: Acknowledgment sent {"connection_id":107854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:05] local.INFO: TCP Data received {"connection_id":106907,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:05] local.INFO: Processing buffer {"connection_id":106907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:05] local.INFO: IMEI packet received {"connection_id":106907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":106907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:58:09] local.INFO: TCP Data received {"connection_id":106907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb213c68012d7b7ac005e3f140000a00202a..."} 
[2026-06-18 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb213c68012d7b7ac005e3f140000a00202a..."} 
[2026-06-18 19:58:09] local.INFO: Processing buffer {"connection_id":106907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb213c68012d7b7ac005e3f140000a00202a..."} 
[2026-06-18 19:58:09] local.INFO: Packet analysis {"connection_id":106907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:58:09] local.INFO: Extracted packet for processing {"connection_id":106907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":763067072,"raw_latitude":98824512,"longitude_deg":76.3067072,"latitude_deg":9.8824512,"altitude":10,"angle":32,"satellites":42,"speed":39,"hex_longitude":"2d7b7ac0","hex_latitude":"05e3f140","is_valid_coordinates":true} 
[2026-06-18 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138966528001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94126282761043968,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891724170842408960,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58: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-06-18 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781792849000,"timestamp_ms":1781792849000,"timestamp_seconds":1781792849,"priority":1,"record_length":96,"hex_timestamp":"0000019edb213c68"} 
[2026-06-18 19:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:09] 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-06-18 19:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:58:09] 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-06-18 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138966528001,"66":11700,"97":206,"85":15104,"24":39,"16":94126282761043968,"45":8891724170842408960},"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-06-18 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138966528001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 19:58:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94126282761043968,"km_value":94126282761043.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891724170842408960,"description":"Unknown IO ID 45"} 
[2026-06-18 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138966528001,"power":11700,"unknown_97":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8891724170842408960}} 
[2026-06-18 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":106907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346399,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:09] local.INFO: GPS data processed {"connection_id":106907,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:09] local.INFO: Acknowledgment sent {"connection_id":106907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:10] local.INFO: TCP Data received {"connection_id":106907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb215f90012d7b8ec005e41060000b00222c..."} 
[2026-06-18 19:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb215f90012d7b8ec005e41060000b00222c..."} 
[2026-06-18 19:58:10] local.INFO: Processing buffer {"connection_id":106907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb215f90012d7b8ec005e41060000b00222c..."} 
[2026-06-18 19:58:10] local.INFO: Packet analysis {"connection_id":106907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:58:10] local.INFO: Extracted packet for processing {"connection_id":106907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:58:10] local.INFO: GPS Element Parsed {"raw_longitude":763072192,"raw_latitude":98832480,"longitude_deg":76.3072192,"latitude_deg":9.883248,"altitude":11,"angle":34,"satellites":44,"speed":45,"hex_longitude":"2d7b8ec0","hex_latitude":"05e41060","is_valid_coordinates":true} 
[2026-06-18 19:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138969344001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94126738027577344,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8897635145355444224,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781792858000,"timestamp_ms":1781792858000,"timestamp_seconds":1781792858,"priority":1,"record_length":96,"hex_timestamp":"0000019edb215f90"} 
[2026-06-18 19:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:10] 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-06-18 19:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:58:10] 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-06-18 19:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138969344001,"66":11700,"97":206,"85":15104,"24":45,"16":94126738027577344,"45":8897635145355444224},"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-06-18 19:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138969344001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 19:58:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94126738027577344,"km_value":94126738027577.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8897635145355444224,"description":"Unknown IO ID 45"} 
[2026-06-18 19:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138969344001,"power":11700,"unknown_97":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8897635145355444224}} 
[2026-06-18 19:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":106907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346400,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:10] local.INFO: GPS data processed {"connection_id":106907,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:10] local.INFO: Acknowledgment sent {"connection_id":106907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:12] local.INFO: TCP Data received {"connection_id":106906,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:58:12] local.INFO: Processing buffer {"connection_id":106906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:58:12] local.INFO: Packet analysis {"connection_id":106906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:58:12] local.INFO: Extracted packet for processing {"connection_id":106906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 19:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":106906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:13] local.INFO: GPS data processed {"connection_id":106906,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:13] local.INFO: Acknowledgment sent {"connection_id":106906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:22] local.INFO: TCP Data received {"connection_id":106127,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:58:22] local.INFO: Processing buffer {"connection_id":106127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:58:22] local.INFO: Packet analysis {"connection_id":106127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:58:22] local.INFO: Extracted packet for processing {"connection_id":106127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533216,"longitude_deg":75.6639232,"latitude_deg":11.9533216,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-06-18 19:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935040001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781792723000,"timestamp_ms":1781792723000,"timestamp_seconds":1781792723,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f5038"} 
[2026-06-18 19:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:22] 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-06-18 19:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106127,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935040001,"66":13091,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935040001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:58:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 19:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935040001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 19:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":106127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:22] local.INFO: GPS data processed {"connection_id":106127,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:22] local.INFO: Acknowledgment sent {"connection_id":106127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:24] local.INFO: TCP Data received {"connection_id":106908,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:58:24] local.INFO: Processing buffer {"connection_id":106908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:58:24] local.INFO: IMEI packet received {"connection_id":106908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":106908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:58:29] local.INFO: TCP Data received {"connection_id":106908,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:58:29] local.INFO: Processing buffer {"connection_id":106908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:58:29] local.INFO: IMEI packet received {"connection_id":106908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":106908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:58:30] local.INFO: TCP Data received {"connection_id":106908,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:58:30] local.INFO: Processing buffer {"connection_id":106908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1d0648012cc3314007685a60005a00f92e..."} 
[2026-06-18 19:58:30] local.INFO: Packet analysis {"connection_id":106908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:58:30] local.INFO: Extracted packet for processing {"connection_id":106908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1d"} 
[2026-06-18 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138821632001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:30] 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-06-18 19:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792573000,"timestamp_ms":1781792573000,"timestamp_seconds":1781792573,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1d0648"} 
[2026-06-18 19:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":102,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":924,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:58:30] 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-06-18 19:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138821632001,"66":25843,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138821632001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:58:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138821632001,"power":25843,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":106908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:30] local.INFO: GPS data processed {"connection_id":106908,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:30] local.INFO: Acknowledgment sent {"connection_id":106908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:32] local.INFO: TCP Data received {"connection_id":106128,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:58:32] local.INFO: Processing buffer {"connection_id":106128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:58:32] local.INFO: IMEI packet received {"connection_id":106128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:58:32] local.INFO: IMEI acknowledgment sent {"connection_id":106128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:58:38] local.INFO: TCP Data received {"connection_id":106128,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:58:38] local.INFO: Processing buffer {"connection_id":106128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:58:38] local.INFO: IMEI packet received {"connection_id":106128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":106128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:58:40] local.INFO: TCP Data received {"connection_id":106128,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:58:40] local.INFO: Processing buffer {"connection_id":106128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:58:40] local.INFO: Packet analysis {"connection_id":106128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:58:40] local.INFO: Extracted packet for processing {"connection_id":106128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 19:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:58:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":106128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:40] local.INFO: GPS data processed {"connection_id":106128,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:40] local.INFO: Acknowledgment sent {"connection_id":106128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:42] local.INFO: TCP Data received {"connection_id":106907,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb217ed0012d7ba3c005e42f80000c00212d..."} 
[2026-06-18 19:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb217ed0012d7ba3c005e42f80000c00212d..."} 
[2026-06-18 19:58:42] local.INFO: Processing buffer {"connection_id":106907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb217ed0012d7ba3c005e42f80000c00212d..."} 
[2026-06-18 19:58:42] local.INFO: Packet analysis {"connection_id":106907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:58:42] local.INFO: Extracted packet for processing {"connection_id":106907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:58:42] local.INFO: GPS Element Parsed {"raw_longitude":763077568,"raw_latitude":98840448,"longitude_deg":76.3077568,"latitude_deg":9.8840448,"altitude":12,"angle":33,"satellites":45,"speed":48,"hex_longitude":"2d7ba3c0","hex_latitude":"05e42f80","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138971648001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94127201884045312,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8903264644891697152,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:42] 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-06-18 19:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781792866000,"timestamp_ms":1781792866000,"timestamp_seconds":1781792866,"priority":1,"record_length":96,"hex_timestamp":"0000019edb217ed0"} 
[2026-06-18 19:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:42] 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-06-18 19: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:42] 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-06-18 19: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-06-18 19:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138971648001,"66":11678,"97":206,"85":15104,"24":48,"16":94127201884045312,"45":8903264644891697152},"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-06-18 19:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138971648001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-06-18 19:58:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94127201884045312,"km_value":94127201884045.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":8903264644891697152,"description":"Unknown IO ID 45"} 
[2026-06-18 19:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138971648001,"power":11678,"unknown_97":206,"unknown_85":15104,"ignition":48,"odometer":null,"unknown_45":8903264644891697152}} 
[2026-06-18 19:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":106907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346405,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:42] local.INFO: GPS data processed {"connection_id":106907,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:42] local.INFO: Acknowledgment sent {"connection_id":106907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:44] local.INFO: TCP Data received {"connection_id":106129,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:58:44] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:58:44] local.INFO: IMEI packet received {"connection_id":106129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":106129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:58:49] local.INFO: TCP Data received {"connection_id":106129,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:58:49] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:58:49] local.INFO: IMEI packet received {"connection_id":106129,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":106129,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:58:51] local.INFO: TCP Data received {"connection_id":106129,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:58:51] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:58:51] local.INFO: Packet analysis {"connection_id":106129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:58:51] local.INFO: Extracted packet for processing {"connection_id":106129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533216,"longitude_deg":75.6639232,"latitude_deg":11.9533216,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-06-18 19:58:51] 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-06-18 19:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 19:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781792723000,"timestamp_ms":1781792723000,"timestamp_seconds":1781792723,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f5038"} 
[2026-06-18 19:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 19:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":13091,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:58:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:58:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:58:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 19:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 19:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":106129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:58:51] local.INFO: GPS data processed {"connection_id":106129,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:58:51] local.INFO: Acknowledgment sent {"connection_id":106129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:58:56] local.INFO: TCP Data received {"connection_id":106909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:56] local.INFO: Processing buffer {"connection_id":106909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:56] local.INFO: IMEI packet received {"connection_id":106909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":106909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:58:59] local.INFO: TCP Data received {"connection_id":106909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:59] local.INFO: Processing buffer {"connection_id":106909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:58:59] local.INFO: IMEI packet received {"connection_id":106909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":106909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:59:00] local.INFO: TCP Data received {"connection_id":106908,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 19:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 19:59:00] local.INFO: Processing buffer {"connection_id":106908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 19:59:00] local.INFO: Packet analysis {"connection_id":106908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:59:00] local.INFO: Extracted packet for processing {"connection_id":106908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:59:00] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:00] 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-06-18 19:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 19:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 19:59:00] 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-06-18 19: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-06-18 19:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:59:00] 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-06-18 19:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:59:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":106908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:59:00] local.INFO: GPS data processed {"connection_id":106908,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:59:00] local.INFO: Acknowledgment sent {"connection_id":106908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:59:05] local.INFO: TCP Data received {"connection_id":106909,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106909,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:59:05] local.INFO: Processing buffer {"connection_id":106909,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:59:05] local.INFO: IMEI packet received {"connection_id":106909,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 19:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":106909,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:59:07] local.INFO: TCP Data received {"connection_id":106909,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb21a1f8012d7bb84005e44ef0000b00202d..."} 
[2026-06-18 19:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb21a1f8012d7bb84005e44ef0000b00202d..."} 
[2026-06-18 19:59:07] local.INFO: Processing buffer {"connection_id":106909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb21a1f8012d7bb84005e44ef0000b00202d..."} 
[2026-06-18 19:59:07] local.INFO: Packet analysis {"connection_id":106909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:59:07] local.INFO: Extracted packet for processing {"connection_id":106909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:59:07] local.INFO: GPS Element Parsed {"raw_longitude":763082816,"raw_latitude":98848496,"longitude_deg":76.3082816,"latitude_deg":9.8848496,"altitude":11,"angle":32,"satellites":45,"speed":43,"hex_longitude":"2d7bb840","hex_latitude":"05e44ef0","is_valid_coordinates":true} 
[2026-06-18 19:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138973696001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94127665740513280,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909175619404660736,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:07] 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-06-18 19:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781792875000,"timestamp_ms":1781792875000,"timestamp_seconds":1781792875,"priority":1,"record_length":96,"hex_timestamp":"0000019edb21a1f8"} 
[2026-06-18 19:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 19:59:07] 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-06-18 19:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:59:07] 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-06-18 19:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138973696001,"66":11700,"95":206,"85":15104,"24":43,"16":94127665740513280,"45":8909175619404660736},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-18 19:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138973696001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:59:07] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 19:59:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94127665740513280,"km_value":94127665740513.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909175619404660736,"description":"Unknown IO ID 45"} 
[2026-06-18 19:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138973696001,"power":11700,"unknown_95":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8909175619404660736}} 
[2026-06-18 19:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":106909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346408,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:59:07] local.INFO: GPS data processed {"connection_id":106909,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:59:07] local.INFO: Acknowledgment sent {"connection_id":106909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:59:12] local.INFO: TCP Data received {"connection_id":106128,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:59:12] local.INFO: Processing buffer {"connection_id":106128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:59:12] local.INFO: Packet analysis {"connection_id":106128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:59:12] local.INFO: Extracted packet for processing {"connection_id":106128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:59:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 19:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 19:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:59:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106128,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:59:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:59:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":106128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:59:12] local.INFO: GPS data processed {"connection_id":106128,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:59:12] local.INFO: Acknowledgment sent {"connection_id":106128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:59:24] local.INFO: TCP Data received {"connection_id":106910,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:59:24] local.INFO: Processing buffer {"connection_id":106910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:59:24] local.INFO: IMEI packet received {"connection_id":106910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 19:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":106910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:59:28] local.INFO: TCP Data received {"connection_id":106129,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:59:28] local.INFO: Processing buffer {"connection_id":106129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:59:28] local.INFO: Packet analysis {"connection_id":106129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:59:28] local.INFO: Extracted packet for processing {"connection_id":106129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533216,"longitude_deg":75.6639232,"latitude_deg":11.9533216,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-06-18 19:59:28] 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-06-18 19:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781792723000,"timestamp_ms":1781792723000,"timestamp_seconds":1781792723,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f5038"} 
[2026-06-18 19:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 19:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19: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-06-18 19:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106129,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":13091,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:59:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 19:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 19:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":106129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:59:28] local.INFO: GPS data processed {"connection_id":106129,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:59:28] local.INFO: Acknowledgment sent {"connection_id":106129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:59:29] local.INFO: TCP Data received {"connection_id":106910,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:59:29] local.INFO: Processing buffer {"connection_id":106910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 19:59:29] local.INFO: IMEI packet received {"connection_id":106910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 19:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":106910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:59:30] local.INFO: TCP Data received {"connection_id":106910,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 19:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 19:59:30] local.INFO: Processing buffer {"connection_id":106910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 19:59:30] local.INFO: Packet analysis {"connection_id":106910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:59:30] local.INFO: Extracted packet for processing {"connection_id":106910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:59:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:30] 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-06-18 19:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 19:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 19:59: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-06-18 19: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-06-18 19:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 19:59: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-06-18 19:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 19:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 19:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 19:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 19:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 19:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:59:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 19:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 19:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 19:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 19:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":106910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:59:30] local.INFO: GPS data processed {"connection_id":106910,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:59:30] local.INFO: Acknowledgment sent {"connection_id":106910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:59:33] local.INFO: TCP Data received {"connection_id":106308,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:59:33] local.INFO: Processing buffer {"connection_id":106308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:59:33] local.INFO: IMEI packet received {"connection_id":106308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 19:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":106308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:59:38] local.INFO: TCP Data received {"connection_id":106308,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:59:38] local.INFO: Processing buffer {"connection_id":106308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 19:59:38] local.INFO: IMEI packet received {"connection_id":106308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 19:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":106308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:59:39] local.INFO: TCP Data received {"connection_id":106308,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:59:39] local.INFO: Processing buffer {"connection_id":106308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 19:59:39] local.INFO: Packet analysis {"connection_id":106308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:59:39] local.INFO: Extracted packet for processing {"connection_id":106308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 19:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:59: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-06-18 19:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 19:59: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-06-18 19: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-06-18 19:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 19:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 19:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 19:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 19:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 19:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 19:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:59:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 19:59:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 19:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 19:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 19:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":106308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346412,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:59:39] local.INFO: GPS data processed {"connection_id":106308,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:59:39] local.INFO: Acknowledgment sent {"connection_id":106308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:59:41] local.INFO: TCP Data received {"connection_id":106909,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb21c138012d7bcc8005e46dd0000b00212e..."} 
[2026-06-18 19:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb21c138012d7bcc8005e46dd0000b00212e..."} 
[2026-06-18 19:59:41] local.INFO: Processing buffer {"connection_id":106909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb21c138012d7bcc8005e46dd0000b00212e..."} 
[2026-06-18 19:59:41] local.INFO: Packet analysis {"connection_id":106909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:59:41] local.INFO: Extracted packet for processing {"connection_id":106909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 19:59:41] local.INFO: GPS Element Parsed {"raw_longitude":763088000,"raw_latitude":98856400,"longitude_deg":76.3088,"latitude_deg":9.88564,"altitude":11,"angle":33,"satellites":46,"speed":47,"hex_longitude":"2d7bcc80","hex_latitude":"05e46dd0","is_valid_coordinates":true} 
[2026-06-18 19: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-06-18 19:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138976000001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94128121007046656,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8914945856429289472,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:41] 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-06-18 19:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781792883000,"timestamp_ms":1781792883000,"timestamp_seconds":1781792883,"priority":1,"record_length":96,"hex_timestamp":"0000019edb21c138"} 
[2026-06-18 19:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 19: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 19:59:41] 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-06-18 19: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-06-18 19:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106909,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 19:59:41] 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-06-18 19:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 19:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 19:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138976000001,"66":11711,"95":206,"85":15104,"24":47,"16":94128121007046656,"45":8914945856429289472},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-18 19:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 19:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 19:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138976000001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:59:41] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 19:59:41] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 19:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94128121007046656,"km_value":94128121007046.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8914945856429289472,"description":"Unknown IO ID 45"} 
[2026-06-18 19:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138976000001,"power":11711,"unknown_95":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8914945856429289472}} 
[2026-06-18 19:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":106909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346413,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:59:41] local.INFO: GPS data processed {"connection_id":106909,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:59:41] local.INFO: Acknowledgment sent {"connection_id":106909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:59:44] local.INFO: TCP Data received {"connection_id":106130,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:59:44] local.INFO: Processing buffer {"connection_id":106130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:59:44] local.INFO: IMEI packet received {"connection_id":106130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 19:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":106130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 19:59:49] local.INFO: TCP Data received {"connection_id":106130,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:59:49] local.INFO: Processing buffer {"connection_id":106130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 19:59:49] local.INFO: IMEI packet received {"connection_id":106130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 19:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":106130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 19:59:51] local.INFO: TCP Data received {"connection_id":106130,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:59:51] local.INFO: Processing buffer {"connection_id":106130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 19:59:51] local.INFO: Packet analysis {"connection_id":106130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:59:51] local.INFO: Extracted packet for processing {"connection_id":106130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 19:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533216,"longitude_deg":75.6639232,"latitude_deg":11.9533216,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-06-18 19:59:51] 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-06-18 19:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 19:59:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 19:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781792723000,"timestamp_ms":1781792723000,"timestamp_seconds":1781792723,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f5038"} 
[2026-06-18 19:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 19:59:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 19:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 19:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 19:59:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 19:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 19:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 19:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 19:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 19:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 19:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 19:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 19:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":13091,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 19:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 19:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 19:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 19:59:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 19:59:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 19:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 19:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 19:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 19:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":106130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 19:59:51] local.INFO: GPS data processed {"connection_id":106130,"processed":1,"errors":0,"total":1} 
[2026-06-18 19:59:51] local.INFO: Acknowledgment sent {"connection_id":106130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 19:59:59] local.INFO: TCP Data received {"connection_id":107855,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:59:59] local.INFO: Processing buffer {"connection_id":107855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 19:59:59] local.INFO: IMEI packet received {"connection_id":107855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 19:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":107855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:00:01] local.INFO: TCP Data received {"connection_id":106910,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:00:01] local.INFO: Processing buffer {"connection_id":106910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:00:01] local.INFO: Packet analysis {"connection_id":106910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:00:01] local.INFO: Extracted packet for processing {"connection_id":106910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:00:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:01] 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-06-18 20:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 20:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 20:00: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-06-18 20:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:00: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-06-18 20:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":106910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:01] local.INFO: GPS data processed {"connection_id":106910,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:01] local.INFO: Acknowledgment sent {"connection_id":106910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:03] local.INFO: TCP Data received {"connection_id":107855,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107855,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:00:03] local.INFO: Processing buffer {"connection_id":107855,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:00:03] local.INFO: IMEI packet received {"connection_id":107855,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":107855,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:00:04] local.INFO: TCP Data received {"connection_id":107855,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb21e078012d7be10005e48d10000a00202c..."} 
[2026-06-18 20:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb21e078012d7be10005e48d10000a00202c..."} 
[2026-06-18 20:00:04] local.INFO: Processing buffer {"connection_id":107855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb21e078012d7be10005e48d10000a00202c..."} 
[2026-06-18 20:00:04] local.INFO: Packet analysis {"connection_id":107855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:00:04] local.INFO: Extracted packet for processing {"connection_id":107855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:00:04] local.INFO: GPS Element Parsed {"raw_longitude":763093248,"raw_latitude":98864400,"longitude_deg":76.3093248,"latitude_deg":9.88644,"altitude":10,"angle":32,"satellites":44,"speed":46,"hex_longitude":"2d7be100","hex_latitude":"05e48d10","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138978048001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94128584863514624,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8920645724709703680,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00: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-06-18 20:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781792891000,"timestamp_ms":1781792891000,"timestamp_seconds":1781792891,"priority":1,"record_length":96,"hex_timestamp":"0000019edb21e078"} 
[2026-06-18 20:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 20:00:04] 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-06-18 20: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-06-18 20:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138978048001,"66":11721,"95":206,"85":15104,"24":46,"16":94128584863514624,"45":8920645724709703680},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-06-18 20:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138978048001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:04] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-06-18 20:00:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-06-18 20:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94128584863514624,"km_value":94128584863514.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8920645724709703680,"description":"Unknown IO ID 45"} 
[2026-06-18 20:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138978048001,"power":11721,"unknown_95":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8920645724709703680}} 
[2026-06-18 20:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":107855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346416,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:04] local.INFO: GPS data processed {"connection_id":107855,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:04] local.INFO: Acknowledgment sent {"connection_id":107855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:11] local.INFO: TCP Data received {"connection_id":106308,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:11] local.INFO: Processing buffer {"connection_id":106308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:11] local.INFO: Packet analysis {"connection_id":106308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:11] local.INFO: Extracted packet for processing {"connection_id":106308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 20:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106308,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":106308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:11] local.INFO: GPS data processed {"connection_id":106308,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:11] local.INFO: Acknowledgment sent {"connection_id":106308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:23] local.INFO: TCP Data received {"connection_id":106130,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:00:23] local.INFO: Processing buffer {"connection_id":106130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:00:23] local.INFO: Packet analysis {"connection_id":106130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:23] local.INFO: Extracted packet for processing {"connection_id":106130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533216,"longitude_deg":75.6639232,"latitude_deg":11.9533216,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-06-18 20:00:23] 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-06-18 20:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781792723000,"timestamp_ms":1781792723000,"timestamp_seconds":1781792723,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f5038"} 
[2026-06-18 20:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":13091,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:00:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:00:23] local.INFO: DEBUG: GPS processor result {"connection_id":106130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:23] local.INFO: GPS data processed {"connection_id":106130,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:23] local.INFO: Acknowledgment sent {"connection_id":106130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:24] local.INFO: TCP Data received {"connection_id":107856,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:00:24] local.INFO: Processing buffer {"connection_id":107856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:00:24] local.INFO: IMEI packet received {"connection_id":107856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":107856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:00:29] local.INFO: TCP Data received {"connection_id":107856,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:00:29] local.INFO: Processing buffer {"connection_id":107856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:00:29] local.INFO: IMEI packet received {"connection_id":107856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":107856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:00:30] local.INFO: TCP Data received {"connection_id":107856,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:00:30] local.INFO: Processing buffer {"connection_id":107856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:00:30] local.INFO: Packet analysis {"connection_id":107856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:00:30] local.INFO: Extracted packet for processing {"connection_id":107856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:30] 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-06-18 20:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 20:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 20:00: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-06-18 20: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-06-18 20:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:00: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-06-18 20:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":107856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:30] local.INFO: GPS data processed {"connection_id":107856,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:30] local.INFO: Acknowledgment sent {"connection_id":107856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:35] local.INFO: TCP Data received {"connection_id":107855,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb238e28012d7c80c005e5e2c00004000b2f..."} 
[2026-06-18 20:00:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb238e28012d7c80c005e5e2c00004000b2f..."} 
[2026-06-18 20:00:35] local.INFO: Processing buffer {"connection_id":107855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb238e28012d7c80c005e5e2c00004000b2f..."} 
[2026-06-18 20:00:35] local.INFO: Packet analysis {"connection_id":107855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:00:35] local.INFO: Extracted packet for processing {"connection_id":107855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:00:35] local.INFO: GPS Element Parsed {"raw_longitude":763134144,"raw_latitude":98951872,"longitude_deg":76.3134144,"latitude_deg":9.8951872,"altitude":4,"angle":11,"satellites":47,"speed":3,"hex_longitude":"2d7c80c0","hex_latitude":"05e5e2c0","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:00:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139003136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94133322212442112,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970607533099243520,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:00:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781793001000,"timestamp_ms":1781793001000,"timestamp_seconds":1781793001,"priority":1,"record_length":96,"hex_timestamp":"0000019edb238e28"} 
[2026-06-18 20:00:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00: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-06-18 20: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 20:00:35] 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-06-18 20: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-06-18 20:00:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:00:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107855,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:00:35] 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-06-18 20:00:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:00:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:00:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139003136001,"66":11721,"38":206,"87":13824,"24":3,"16":94133322212442112,"45":8970607533099243520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-06-18 20:00:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:00:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:00:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139003136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:35] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-18 20:00:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:00:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94133322212442112,"km_value":94133322212442.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970607533099243520,"description":"Unknown IO ID 45"} 
[2026-06-18 20:00:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139003136001,"power":11721,"unknown_38":206,"unknown_87":13824,"ignition":3,"odometer":null,"unknown_45":8970607533099243520}} 
[2026-06-18 20:00:35] local.INFO: DEBUG: GPS processor result {"connection_id":107855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346420,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:35] local.INFO: GPS data processed {"connection_id":107855,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:35] local.INFO: Acknowledgment sent {"connection_id":107855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:38] local.INFO: TCP Data received {"connection_id":106911,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:00:38] local.INFO: Processing buffer {"connection_id":106911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:00:38] local.INFO: IMEI packet received {"connection_id":106911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":106911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:00:43] local.INFO: TCP Data received {"connection_id":106911,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:00:43] local.INFO: Processing buffer {"connection_id":106911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:00:43] local.INFO: IMEI packet received {"connection_id":106911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":106911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:00:45] local.INFO: TCP Data received {"connection_id":106911,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:45] local.INFO: Processing buffer {"connection_id":106911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:45] local.INFO: Packet analysis {"connection_id":106911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:45] local.INFO: Extracted packet for processing {"connection_id":106911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 20:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:00:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:00:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:00:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":106911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346421,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:46] local.INFO: GPS data processed {"connection_id":106911,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:46] local.INFO: Acknowledgment sent {"connection_id":106911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:49] local.INFO: TCP Data received {"connection_id":106309,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:00:49] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:00:49] local.INFO: IMEI packet received {"connection_id":106309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":106309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:00:51] local.INFO: TCP Data received {"connection_id":106911,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:51] local.INFO: Processing buffer {"connection_id":106911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f38c8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:00:51] local.INFO: Packet analysis {"connection_id":106911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:51] local.INFO: Extracted packet for processing {"connection_id":106911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:51] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138858496001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781792717000,"timestamp_ms":1781792717000,"timestamp_seconds":1781792717,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f38c8"} 
[2026-06-18 20:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:00:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:00:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:00:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138858496001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138858496001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:00:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138858496001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":106911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:51] local.INFO: GPS data processed {"connection_id":106911,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:51] local.INFO: Acknowledgment sent {"connection_id":106911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:54] local.INFO: TCP Data received {"connection_id":106309,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:00:54] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:00:54] local.INFO: IMEI packet received {"connection_id":106309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":106309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:00:55] local.INFO: TCP Data received {"connection_id":106309,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:00:55] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:00:55] local.INFO: Packet analysis {"connection_id":106309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:55] local.INFO: Extracted packet for processing {"connection_id":106309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533216,"longitude_deg":75.6639232,"latitude_deg":11.9533216,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-06-18 20:00:55] 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-06-18 20:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781792723000,"timestamp_ms":1781792723000,"timestamp_seconds":1781792723,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f5038"} 
[2026-06-18 20:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:00:55] 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-06-18 20:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":13091,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:00:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":106309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:00:56] local.INFO: GPS data processed {"connection_id":106309,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:00:56] local.INFO: Acknowledgment sent {"connection_id":106309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:00:59] local.INFO: TCP Data received {"connection_id":107857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:00:59] local.INFO: Processing buffer {"connection_id":107857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:00:59] local.INFO: IMEI packet received {"connection_id":107857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":107857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:01:00] local.INFO: TCP Data received {"connection_id":106309,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:01:00] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb1f5038012d196600071feea00040006229..."} 
[2026-06-18 20:01:00] local.INFO: Packet analysis {"connection_id":106309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:01:00] local.INFO: Extracted packet for processing {"connection_id":106309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb1f"} 
[2026-06-18 20:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756639232,"raw_latitude":119533216,"longitude_deg":75.6639232,"latitude_deg":11.9533216,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196600","hex_latitude":"071feea0","is_valid_coordinates":true} 
[2026-06-18 20:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781792723000,"timestamp_ms":1781792723000,"timestamp_seconds":1781792723,"priority":1,"record_length":96,"hex_timestamp":"0000019edb1f5038"} 
[2026-06-18 20:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":13091,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:01:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":106309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346424,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:01:00] local.INFO: GPS data processed {"connection_id":106309,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:01:00] local.INFO: Acknowledgment sent {"connection_id":106309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:01:01] local.INFO: TCP Data received {"connection_id":107856,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:01:01] local.INFO: Processing buffer {"connection_id":107856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:01:01] local.INFO: Packet analysis {"connection_id":107856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:01:01] local.INFO: Extracted packet for processing {"connection_id":107856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:01] 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-06-18 20:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 20:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 20:01: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-06-18 20:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:01: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-06-18 20:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:01:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":107856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:01:01] local.INFO: GPS data processed {"connection_id":107856,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:01:01] local.INFO: Acknowledgment sent {"connection_id":107856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:01:03] local.INFO: TCP Data received {"connection_id":107857,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107857,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:01:03] local.INFO: Processing buffer {"connection_id":107857,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:01:03] local.INFO: IMEI packet received {"connection_id":107857,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":107857,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:01:04] local.INFO: TCP Data received {"connection_id":107857,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23e030012d7c874005e5f9580004000f2b..."} 
[2026-06-18 20:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23e030012d7c874005e5f9580004000f2b..."} 
[2026-06-18 20:01:04] local.INFO: Processing buffer {"connection_id":107857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23e030012d7c874005e5f9580004000f2b..."} 
[2026-06-18 20:01:04] local.INFO: Packet analysis {"connection_id":107857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:01:04] local.INFO: Extracted packet for processing {"connection_id":107857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":763135808,"raw_latitude":98957656,"longitude_deg":76.3135808,"latitude_deg":9.8957656,"altitude":4,"angle":15,"satellites":43,"speed":27,"hex_longitude":"2d7c8740","hex_latitude":"05e5f958","is_valid_coordinates":true} 
[2026-06-18 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139008256001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94133618565185536,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8971381589286240256,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781793022000,"timestamp_ms":1781793022000,"timestamp_seconds":1781793022,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23e030"} 
[2026-06-18 20:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:01:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 20:01:04] 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-06-18 20:01:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139008256001,"66":11656,"38":206,"87":13824,"24":27,"16":94133618565185536,"45":8971381589286240256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-06-18 20:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139008256001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:01:04] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-18 20:01:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94133618565185536,"km_value":94133618565185.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8971381589286240256,"description":"Unknown IO ID 45"} 
[2026-06-18 20:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139008256001,"power":11656,"unknown_38":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":8971381589286240256}} 
[2026-06-18 20:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":107857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:01:04] local.INFO: GPS data processed {"connection_id":107857,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:01:04] local.INFO: Acknowledgment sent {"connection_id":107857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:01:24] local.INFO: TCP Data received {"connection_id":106131,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:01:24] local.INFO: Processing buffer {"connection_id":106131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:01:24] local.INFO: IMEI packet received {"connection_id":106131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":106131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:01:29] local.INFO: TCP Data received {"connection_id":106131,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:01:29] local.INFO: Processing buffer {"connection_id":106131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:01:29] local.INFO: IMEI packet received {"connection_id":106131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":106131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:01:30] local.INFO: TCP Data received {"connection_id":106131,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:01:30] local.INFO: Processing buffer {"connection_id":106131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:01:30] local.INFO: Packet analysis {"connection_id":106131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:01:30] local.INFO: Extracted packet for processing {"connection_id":106131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:30] 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-06-18 20:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 20:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 20:01: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-06-18 20:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:01: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-06-18 20:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:01:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":106131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:01:30] local.INFO: GPS data processed {"connection_id":106131,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:01:30] local.INFO: Acknowledgment sent {"connection_id":106131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:01:32] local.INFO: TCP Data received {"connection_id":106310,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:01:32] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:01:32] local.INFO: IMEI packet received {"connection_id":106310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":106310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:01:35] local.INFO: TCP Data received {"connection_id":107857,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb240740012d7c904005e61ef80005000b2e..."} 
[2026-06-18 20:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb240740012d7c904005e61ef80005000b2e..."} 
[2026-06-18 20:01:35] local.INFO: Processing buffer {"connection_id":107857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb240740012d7c904005e61ef80005000b2e..."} 
[2026-06-18 20:01:35] local.INFO: Packet analysis {"connection_id":107857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb24"} 
[2026-06-18 20:01:35] local.INFO: Extracted packet for processing {"connection_id":107857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb24"} 
[2026-06-18 20:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763138112,"raw_latitude":98967288,"longitude_deg":76.3138112,"latitude_deg":9.8967288,"altitude":5,"angle":11,"satellites":46,"speed":43,"hex_longitude":"2d7c9040","hex_latitude":"05e61ef8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139013632001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94134099601522688,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973211176636340224,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781793032000,"timestamp_ms":1781793032000,"timestamp_seconds":1781793032,"priority":1,"record_length":96,"hex_timestamp":"0000019edb240740"} 
[2026-06-18 20:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:01: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-06-18 20: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-06-18 20:01:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107857,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:01:35] 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-06-18 20:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139013632001,"66":11895,"38":206,"87":13824,"24":43,"16":94134099601522688,"45":8973211176636340224},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-06-18 20:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139013632001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:01:35] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-18 20:01:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94134099601522688,"km_value":94134099601522.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973211176636340224,"description":"Unknown IO ID 45"} 
[2026-06-18 20:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139013632001,"power":11895,"unknown_38":206,"unknown_87":13824,"ignition":43,"odometer":null,"unknown_45":8973211176636340224}} 
[2026-06-18 20:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":107857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346428,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:01:35] local.INFO: GPS data processed {"connection_id":107857,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:01:35] local.INFO: Acknowledgment sent {"connection_id":107857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:01:38] local.INFO: TCP Data received {"connection_id":106310,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:01:38] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:01:38] local.INFO: IMEI packet received {"connection_id":106310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":106310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:01:39] local.INFO: TCP Data received {"connection_id":106310,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:01:39] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:01:39] local.INFO: Packet analysis {"connection_id":106310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:01:39] local.INFO: Extracted packet for processing {"connection_id":106310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:01: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-06-18 20: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-06-18 20:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:01:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:01:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":106310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:01:39] local.INFO: GPS data processed {"connection_id":106310,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:01:39] local.INFO: Acknowledgment sent {"connection_id":106310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:01:45] local.INFO: TCP Data received {"connection_id":107858,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:01:45] local.INFO: Processing buffer {"connection_id":107858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:01:45] local.INFO: IMEI packet received {"connection_id":107858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":107858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:01:49] local.INFO: TCP Data received {"connection_id":107858,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:01:49] local.INFO: Processing buffer {"connection_id":107858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:01:49] local.INFO: IMEI packet received {"connection_id":107858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":107858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:01:50] local.INFO: TCP Data received {"connection_id":107858,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:01:50] local.INFO: Processing buffer {"connection_id":107858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:01:50] local.INFO: Packet analysis {"connection_id":107858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:01:50] local.INFO: Extracted packet for processing {"connection_id":107858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:01: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-06-18 20:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:01:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:01:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":107858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:01:50] local.INFO: GPS data processed {"connection_id":107858,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:01:50] local.INFO: Acknowledgment sent {"connection_id":107858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:00] local.INFO: TCP Data received {"connection_id":106132,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:00] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:00] local.INFO: IMEI packet received {"connection_id":106132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":106132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:02:01] local.INFO: TCP Data received {"connection_id":106131,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:02:01] local.INFO: Processing buffer {"connection_id":106131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:02:01] local.INFO: Packet analysis {"connection_id":106131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:02:01] local.INFO: Extracted packet for processing {"connection_id":106131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:02:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:01] 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-06-18 20:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 20:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 20:02: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-06-18 20:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:02: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-06-18 20:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:02:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:02:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":106131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:02:01] local.INFO: GPS data processed {"connection_id":106131,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:02:01] local.INFO: Acknowledgment sent {"connection_id":106131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:05] local.INFO: TCP Data received {"connection_id":106132,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:05] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:05] local.INFO: IMEI packet received {"connection_id":106132,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":106132,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:02:05] local.INFO: TCP Data received {"connection_id":106132,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb242680012d7c97c005e643b00006000b29..."} 
[2026-06-18 20:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb242680012d7c97c005e643b00006000b29..."} 
[2026-06-18 20:02:06] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb242680012d7c97c005e643b00006000b29..."} 
[2026-06-18 20:02:06] local.INFO: Packet analysis {"connection_id":106132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb24"} 
[2026-06-18 20:02:06] local.INFO: Extracted packet for processing {"connection_id":106132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb24"} 
[2026-06-18 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763140032,"raw_latitude":98976688,"longitude_deg":76.3140032,"latitude_deg":9.8976688,"altitude":6,"angle":11,"satellites":41,"speed":50,"hex_longitude":"2d7c97c0","hex_latitude":"05e643b0","is_valid_coordinates":true} 
[2026-06-18 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139016192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94134563457990656,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975744451429201920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:06] 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-06-18 20:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781793040000,"timestamp_ms":1781793040000,"timestamp_seconds":1781793040,"priority":1,"record_length":96,"hex_timestamp":"0000019edb242680"} 
[2026-06-18 20:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 20:02:06] 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-06-18 20:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:02:06] 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-06-18 20:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139016192001,"66":11721,"38":206,"87":13824,"24":50,"16":94134563457990656,"45":8975744451429201920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-06-18 20:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139016192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:02:06] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-18 20:02:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94134563457990656,"km_value":94134563457990.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975744451429201920,"description":"Unknown IO ID 45"} 
[2026-06-18 20:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139016192001,"power":11721,"unknown_38":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":8975744451429201920}} 
[2026-06-18 20:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":106132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346432,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:02:06] local.INFO: GPS data processed {"connection_id":106132,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:02:06] local.INFO: Acknowledgment sent {"connection_id":106132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:11] local.INFO: TCP Data received {"connection_id":106310,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:02:11] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:02:11] local.INFO: Packet analysis {"connection_id":106310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:02:11] local.INFO: Extracted packet for processing {"connection_id":106310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:02:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":106310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:02:11] local.INFO: GPS data processed {"connection_id":106310,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:02:11] local.INFO: Acknowledgment sent {"connection_id":106310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:22] local.INFO: TCP Data received {"connection_id":107858,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:02:22] local.INFO: Processing buffer {"connection_id":107858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:02:22] local.INFO: Packet analysis {"connection_id":107858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:02:22] local.INFO: Extracted packet for processing {"connection_id":107858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:02:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:02:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:02:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":107858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:02:22] local.INFO: GPS data processed {"connection_id":107858,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:02:22] local.INFO: Acknowledgment sent {"connection_id":107858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:24] local.INFO: TCP Data received {"connection_id":106912,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:02:24] local.INFO: Processing buffer {"connection_id":106912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:02:24] local.INFO: IMEI packet received {"connection_id":106912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":106912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:02:29] local.INFO: TCP Data received {"connection_id":106912,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:02:29] local.INFO: Processing buffer {"connection_id":106912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:02:29] local.INFO: IMEI packet received {"connection_id":106912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":106912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:02:30] local.INFO: TCP Data received {"connection_id":106912,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:02:30] local.INFO: Processing buffer {"connection_id":106912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:02:30] local.INFO: Packet analysis {"connection_id":106912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:02:30] local.INFO: Extracted packet for processing {"connection_id":106912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:02:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:30] 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-06-18 20:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 20:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 20:02: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-06-18 20:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:02:30] 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-06-18 20:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:02:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":106912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:02:30] local.INFO: GPS data processed {"connection_id":106912,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:02:30] local.INFO: Acknowledgment sent {"connection_id":106912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:32] local.INFO: TCP Data received {"connection_id":106133,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:02:32] local.INFO: Processing buffer {"connection_id":106133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:02:32] local.INFO: IMEI packet received {"connection_id":106133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":106133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:02:37] local.INFO: TCP Data received {"connection_id":106132,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2441d8012d7c9f4005e668380006000b2c..."} 
[2026-06-18 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2441d8012d7c9f4005e668380006000b2c..."} 
[2026-06-18 20:02:37] local.INFO: Processing buffer {"connection_id":106132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2441d8012d7c9f4005e668380006000b2c..."} 
[2026-06-18 20:02:37] local.INFO: Packet analysis {"connection_id":106132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb24"} 
[2026-06-18 20:02:37] local.INFO: Extracted packet for processing {"connection_id":106132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb24"} 
[2026-06-18 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":763141952,"raw_latitude":98986040,"longitude_deg":76.3141952,"latitude_deg":9.898604,"altitude":6,"angle":11,"satellites":44,"speed":54,"hex_longitude":"2d7c9f40","hex_latitude":"05e66838","is_valid_coordinates":true} 
[2026-06-18 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139018240001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94135027314458624,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977855513756938240,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:37] 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-06-18 20:02:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781793047000,"timestamp_ms":1781793047000,"timestamp_seconds":1781793047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2441d8"} 
[2026-06-18 20:02:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:02:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:02:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 20:02:37] 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-06-18 20:02:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:02:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:02:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106132,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:02:37] 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-06-18 20:02:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:02:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:02:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139018240001,"66":11721,"38":206,"87":13824,"24":54,"16":94135027314458624,"45":8977855513756938240},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-06-18 20:02:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:02:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:02:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139018240001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:02:37] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-06-18 20:02:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:02:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94135027314458624,"km_value":94135027314458.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:02:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977855513756938240,"description":"Unknown IO ID 45"} 
[2026-06-18 20:02:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139018240001,"power":11721,"unknown_38":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":8977855513756938240}} 
[2026-06-18 20:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":106132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346436,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:02:37] local.INFO: GPS data processed {"connection_id":106132,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:02:37] local.INFO: Acknowledgment sent {"connection_id":106132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:37] local.INFO: TCP Data received {"connection_id":106133,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106133,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:02:37] local.INFO: Processing buffer {"connection_id":106133,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:02:37] local.INFO: IMEI packet received {"connection_id":106133,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":106133,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:02:38] local.INFO: TCP Data received {"connection_id":106133,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:02:38] local.INFO: Processing buffer {"connection_id":106133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:02:38] local.INFO: Packet analysis {"connection_id":106133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:02:38] local.INFO: Extracted packet for processing {"connection_id":106133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:02: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-06-18 20: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-06-18 20:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:02:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":106133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:02:39] local.INFO: GPS data processed {"connection_id":106133,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:02:39] local.INFO: Acknowledgment sent {"connection_id":106133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:44] local.INFO: TCP Data received {"connection_id":106913,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:02:44] local.INFO: Processing buffer {"connection_id":106913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:02:44] local.INFO: IMEI packet received {"connection_id":106913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":106913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:02:49] local.INFO: TCP Data received {"connection_id":106913,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106913,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:02:49] local.INFO: Processing buffer {"connection_id":106913,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:02:49] local.INFO: IMEI packet received {"connection_id":106913,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":106913,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:02:51] local.INFO: TCP Data received {"connection_id":106913,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:02:51] local.INFO: Processing buffer {"connection_id":106913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:02:51] local.INFO: Packet analysis {"connection_id":106913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:02:51] local.INFO: Extracted packet for processing {"connection_id":106913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:02:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:02:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:02:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:02:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:02:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:02:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:02:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:02:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:02:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:02:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:02:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:02:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:02:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:02:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:02:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:02:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:02:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:02:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:02:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:02:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:02:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:02:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:02:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:02:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:02:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:02:51] local.INFO: DEBUG: GPS processor result {"connection_id":106913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:02:51] local.INFO: GPS data processed {"connection_id":106913,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:02:51] local.INFO: Acknowledgment sent {"connection_id":106913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:02:59] local.INFO: TCP Data received {"connection_id":106134,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:59] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:02:59] local.INFO: IMEI packet received {"connection_id":106134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":106134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:03:01] local.INFO: TCP Data received {"connection_id":106912,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:01] local.INFO: Processing buffer {"connection_id":106912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb219e10012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:01] local.INFO: Packet analysis {"connection_id":106912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:03:01] local.INFO: Extracted packet for processing {"connection_id":106912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb21"} 
[2026-06-18 20:03:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138898688001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:01] 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-06-18 20:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781792874000,"timestamp_ms":1781792874000,"timestamp_seconds":1781792874,"priority":1,"record_length":96,"hex_timestamp":"0000019edb219e10"} 
[2026-06-18 20:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":243,"data_length":795,"current_offset":136} 
[2026-06-18 20:03: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-06-18 20:03:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:03:01] 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-06-18 20:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138898688001,"66":25756,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138898688001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138898688001,"power":25756,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":106912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:01] local.INFO: GPS data processed {"connection_id":106912,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:01] local.INFO: Acknowledgment sent {"connection_id":106912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:05] local.INFO: TCP Data received {"connection_id":106134,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:03:05] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:03:05] local.INFO: IMEI packet received {"connection_id":106134,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":106134,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:03:05] local.INFO: TCP Data received {"connection_id":106134,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb25dc00012d7cf50005e7f1180004000b2f..."} 
[2026-06-18 20:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb25dc00012d7cf50005e7f1180004000b2f..."} 
[2026-06-18 20:03:05] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb25dc00012d7cf50005e7f1180004000b2f..."} 
[2026-06-18 20:03:05] local.INFO: Packet analysis {"connection_id":106134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb25"} 
[2026-06-18 20:03:05] local.INFO: Extracted packet for processing {"connection_id":106134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb25"} 
[2026-06-18 20:03:05] local.INFO: GPS Element Parsed {"raw_longitude":763163904,"raw_latitude":99086616,"longitude_deg":76.3163904,"latitude_deg":9.9086616,"altitude":4,"angle":11,"satellites":47,"speed":59,"hex_longitude":"2d7cf500","hex_latitude":"05e7f118","is_valid_coordinates":true} 
[2026-06-18 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139045376001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94140018066456576,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002203099268319232,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781793152000,"timestamp_ms":1781793152000,"timestamp_seconds":1781793152,"priority":1,"record_length":96,"hex_timestamp":"0000019edb25dc00"} 
[2026-06-18 20:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:05] 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-06-18 20:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:03:05] 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-06-18 20:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:03:05] 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-06-18 20:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139045376001,"66":11624,"31":206,"87":13824,"24":59,"16":94140018066456576,"45":9002203099268319232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-06-18 20:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139045376001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:05] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-18 20:03:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94140018066456576,"km_value":94140018066456.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002203099268319232,"description":"Unknown IO ID 45"} 
[2026-06-18 20:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139045376001,"power":11624,"unknown_31":206,"unknown_87":13824,"ignition":59,"odometer":null,"unknown_45":9002203099268319232}} 
[2026-06-18 20:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":106134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:06] local.INFO: GPS data processed {"connection_id":106134,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:06] local.INFO: Acknowledgment sent {"connection_id":106134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:10] local.INFO: TCP Data received {"connection_id":106133,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:03:10] local.INFO: Processing buffer {"connection_id":106133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:03:10] local.INFO: Packet analysis {"connection_id":106133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:03:10] local.INFO: Extracted packet for processing {"connection_id":106133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:03:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:03:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:03:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106133,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":106133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:10] local.INFO: GPS data processed {"connection_id":106133,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:10] local.INFO: Acknowledgment sent {"connection_id":106133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:23] local.INFO: TCP Data received {"connection_id":106913,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:03:23] local.INFO: Processing buffer {"connection_id":106913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:03:23] local.INFO: Packet analysis {"connection_id":106913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:03:23] local.INFO: Extracted packet for processing {"connection_id":106913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106913,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:03:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:03:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":106913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:23] local.INFO: GPS data processed {"connection_id":106913,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:23] local.INFO: Acknowledgment sent {"connection_id":106913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:29] local.INFO: TCP Data received {"connection_id":106914,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:03:29] local.INFO: Processing buffer {"connection_id":106914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:03:29] local.INFO: IMEI packet received {"connection_id":106914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":106914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:03:33] local.INFO: TCP Data received {"connection_id":106915,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:03:33] local.INFO: Processing buffer {"connection_id":106915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:03:33] local.INFO: IMEI packet received {"connection_id":106915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":106915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:03:33] local.INFO: TCP Data received {"connection_id":106914,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:03:33] local.INFO: Processing buffer {"connection_id":106914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:03:33] local.INFO: IMEI packet received {"connection_id":106914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":106914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:03:34] local.INFO: TCP Data received {"connection_id":106914,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:34] local.INFO: Processing buffer {"connection_id":106914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:34] local.INFO: Packet analysis {"connection_id":106914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:03:34] local.INFO: Extracted packet for processing {"connection_id":106914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:03:34] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:34] 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-06-18 20:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:03:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:03:34] local.INFO: DEBUG: GPS processor result {"connection_id":106914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:34] local.INFO: GPS data processed {"connection_id":106914,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:34] local.INFO: Acknowledgment sent {"connection_id":106914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:35] local.INFO: TCP Data received {"connection_id":106914,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:35] local.INFO: Processing buffer {"connection_id":106914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:03:35] local.INFO: Packet analysis {"connection_id":106914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:03:35] local.INFO: Extracted packet for processing {"connection_id":106914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:35] 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-06-18 20:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:03:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:03:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":106914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:35] local.INFO: GPS data processed {"connection_id":106914,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:35] local.INFO: Acknowledgment sent {"connection_id":106914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:37] local.INFO: TCP Data received {"connection_id":106134,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb25f758012d7cfcc005e818400004000a2e..."} 
[2026-06-18 20:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb25f758012d7cfcc005e818400004000a2e..."} 
[2026-06-18 20:03:37] local.INFO: Processing buffer {"connection_id":106134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb25f758012d7cfcc005e818400004000a2e..."} 
[2026-06-18 20:03:37] local.INFO: Packet analysis {"connection_id":106134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb25"} 
[2026-06-18 20:03:37] local.INFO: Extracted packet for processing {"connection_id":106134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb25"} 
[2026-06-18 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":763165888,"raw_latitude":99096640,"longitude_deg":76.3165888,"latitude_deg":9.909664,"altitude":4,"angle":10,"satellites":46,"speed":58,"hex_longitude":"2d7cfcc0","hex_latitude":"05e81840","is_valid_coordinates":true} 
[2026-06-18 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139046912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94140511987695616,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004103055363348480,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781793159000,"timestamp_ms":1781793159000,"timestamp_seconds":1781793159,"priority":1,"record_length":96,"hex_timestamp":"0000019edb25f758"} 
[2026-06-18 20:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:03:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 20:03:37] 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-06-18 20:03:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106134,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:03:37] 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-06-18 20:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139046912001,"66":11656,"31":206,"87":13824,"24":58,"16":94140511987695616,"45":9004103055363348480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-06-18 20:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139046912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:37] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-18 20:03:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94140511987695616,"km_value":94140511987695.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004103055363348480,"description":"Unknown IO ID 45"} 
[2026-06-18 20:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139046912001,"power":11656,"unknown_31":206,"unknown_87":13824,"ignition":58,"odometer":null,"unknown_45":9004103055363348480}} 
[2026-06-18 20:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":106134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346445,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:37] local.INFO: GPS data processed {"connection_id":106134,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:37] local.INFO: Acknowledgment sent {"connection_id":106134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:38] local.INFO: TCP Data received {"connection_id":106915,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:03:38] local.INFO: Processing buffer {"connection_id":106915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:03:38] local.INFO: IMEI packet received {"connection_id":106915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":106915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:03:40] local.INFO: TCP Data received {"connection_id":106915,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:03:40] local.INFO: Processing buffer {"connection_id":106915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:03:40] local.INFO: Packet analysis {"connection_id":106915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:03:40] local.INFO: Extracted packet for processing {"connection_id":106915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":106915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:40] local.INFO: GPS data processed {"connection_id":106915,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:40] local.INFO: Acknowledgment sent {"connection_id":106915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:44] local.INFO: TCP Data received {"connection_id":106135,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:03:44] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:03:44] local.INFO: IMEI packet received {"connection_id":106135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":106135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:03:49] local.INFO: TCP Data received {"connection_id":106135,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:03:49] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:03:49] local.INFO: IMEI packet received {"connection_id":106135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":106135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:03:51] local.INFO: TCP Data received {"connection_id":106135,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:03:51] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:03:51] local.INFO: Packet analysis {"connection_id":106135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:03:51] local.INFO: Extracted packet for processing {"connection_id":106135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:03:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":106135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:03:51] local.INFO: GPS data processed {"connection_id":106135,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:03:51] local.INFO: Acknowledgment sent {"connection_id":106135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:03:59] local.INFO: TCP Data received {"connection_id":106916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:03:59] local.INFO: Processing buffer {"connection_id":106916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:03:59] local.INFO: IMEI packet received {"connection_id":106916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":106916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:04:05] local.INFO: TCP Data received {"connection_id":106916,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106916,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:04:05] local.INFO: Processing buffer {"connection_id":106916,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:04:05] local.INFO: IMEI packet received {"connection_id":106916,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":106916,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:04:06] local.INFO: TCP Data received {"connection_id":106914,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:04:06] local.INFO: Processing buffer {"connection_id":106914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:04:06] local.INFO: Packet analysis {"connection_id":106914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:04:06] local.INFO: Extracted packet for processing {"connection_id":106914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:04:06] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:06] 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-06-18 20:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:04:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:04:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":106914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:06] local.INFO: GPS data processed {"connection_id":106914,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:06] local.INFO: Acknowledgment sent {"connection_id":106914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:04:06] local.INFO: TCP Data received {"connection_id":106916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2612b0012d7d014005e83e28000300022d..."} 
[2026-06-18 20:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2612b0012d7d014005e83e28000300022d..."} 
[2026-06-18 20:04:06] local.INFO: Processing buffer {"connection_id":106916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2612b0012d7d014005e83e28000300022d..."} 
[2026-06-18 20:04:06] local.INFO: Packet analysis {"connection_id":106916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:04:06] local.INFO: Extracted packet for processing {"connection_id":106916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:04:06] local.INFO: GPS Element Parsed {"raw_longitude":763167040,"raw_latitude":99106344,"longitude_deg":76.316704,"latitude_deg":9.9106344,"altitude":3,"angle":2,"satellites":45,"speed":49,"hex_longitude":"2d7d0140","hex_latitude":"05e83e28","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:04:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139048704001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94140984434098176,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006284486435422208,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:04:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781793166000,"timestamp_ms":1781793166000,"timestamp_seconds":1781793166,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2612b0"} 
[2026-06-18 20:04:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:04:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:04:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:04:06] 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-06-18 20:04:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:04:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:04:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139048704001,"66":11210,"31":206,"87":13824,"24":49,"16":94140984434098176,"45":9006284486435422208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-06-18 20:04:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:04:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:04:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139048704001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:06] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-06-18 20:04:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:04:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94140984434098176,"km_value":94140984434098.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006284486435422208,"description":"Unknown IO ID 45"} 
[2026-06-18 20:04:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139048704001,"power":11210,"unknown_31":206,"unknown_87":13824,"ignition":49,"odometer":null,"unknown_45":9006284486435422208}} 
[2026-06-18 20:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":106916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:06] local.INFO: GPS data processed {"connection_id":106916,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:06] local.INFO: Acknowledgment sent {"connection_id":106916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:04:17] local.INFO: TCP Data received {"connection_id":106915,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:17] local.INFO: Processing buffer {"connection_id":106915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:17] local.INFO: Packet analysis {"connection_id":106915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:17] local.INFO: Extracted packet for processing {"connection_id":106915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:17] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106915,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":106915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:17] local.INFO: GPS data processed {"connection_id":106915,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:17] local.INFO: Acknowledgment sent {"connection_id":106915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:04:22] local.INFO: TCP Data received {"connection_id":106135,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:04:22] local.INFO: Processing buffer {"connection_id":106135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:04:22] local.INFO: Packet analysis {"connection_id":106135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:22] local.INFO: Extracted packet for processing {"connection_id":106135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:04:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":106135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:22] local.INFO: GPS data processed {"connection_id":106135,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:22] local.INFO: Acknowledgment sent {"connection_id":106135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:04:24] local.INFO: TCP Data received {"connection_id":107859,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:04:24] local.INFO: Processing buffer {"connection_id":107859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:04:24] local.INFO: IMEI packet received {"connection_id":107859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":107859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:04:29] local.INFO: TCP Data received {"connection_id":107859,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:04:29] local.INFO: Processing buffer {"connection_id":107859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:04:29] local.INFO: IMEI packet received {"connection_id":107859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":107859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:04:30] local.INFO: TCP Data received {"connection_id":107859,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:04:30] local.INFO: Processing buffer {"connection_id":107859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:04:30] local.INFO: Packet analysis {"connection_id":107859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:04:30] local.INFO: Extracted packet for processing {"connection_id":107859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:04:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:30] 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-06-18 20:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:30] 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-06-18 20: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-06-18 20:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:04: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-06-18 20:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":107859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:30] local.INFO: GPS data processed {"connection_id":107859,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:30] local.INFO: Acknowledgment sent {"connection_id":107859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:04:38] local.INFO: TCP Data received {"connection_id":106917,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:04:38] local.INFO: Processing buffer {"connection_id":106917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:04:38] local.INFO: IMEI packet received {"connection_id":106917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":106917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:04:38] local.INFO: TCP Data received {"connection_id":106916,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2660d0012d7d01c005e85a80000200032c..."} 
[2026-06-18 20:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2660d0012d7d01c005e85a80000200032c..."} 
[2026-06-18 20:04:38] local.INFO: Processing buffer {"connection_id":106916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2660d0012d7d01c005e85a80000200032c..."} 
[2026-06-18 20:04:38] local.INFO: Packet analysis {"connection_id":106916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:04:38] local.INFO: Extracted packet for processing {"connection_id":106916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":763167168,"raw_latitude":99113600,"longitude_deg":76.3167168,"latitude_deg":9.91136,"altitude":2,"angle":3,"satellites":44,"speed":0,"hex_longitude":"2d7d01c0","hex_latitude":"05e85a80","is_valid_coordinates":true} 
[2026-06-18 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:04:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139050496001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94141340916383744,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007551123833104384,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:04:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781793186000,"timestamp_ms":1781793186000,"timestamp_seconds":1781793186,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2660d0"} 
[2026-06-18 20:04:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:04:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2231,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:04:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:04:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:04:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106916,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:04:38] 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-06-18 20:04:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:04:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:04:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139050496001,"66":11721,"155":206,"87":13824,"24":0,"16":94141340916383744,"45":9007551123833104384},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 20:04:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:04:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:04:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139050496001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:38] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 20:04:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:04:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94141340916383744,"km_value":94141340916383.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007551123833104384,"description":"Unknown IO ID 45"} 
[2026-06-18 20:04:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139050496001,"power":11721,"unknown_155":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007551123833104384}} 
[2026-06-18 20:04:38] local.INFO: DEBUG: GPS processor result {"connection_id":106916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:38] local.INFO: GPS data processed {"connection_id":106916,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:38] local.INFO: Acknowledgment sent {"connection_id":106916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:04:43] local.INFO: TCP Data received {"connection_id":106917,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:04:43] local.INFO: Processing buffer {"connection_id":106917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:04:43] local.INFO: IMEI packet received {"connection_id":106917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":106917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:04:46] local.INFO: TCP Data received {"connection_id":106917,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:46] local.INFO: Processing buffer {"connection_id":106917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:46] local.INFO: Packet analysis {"connection_id":106917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:46] local.INFO: Extracted packet for processing {"connection_id":106917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:04:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":106917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:46] local.INFO: GPS data processed {"connection_id":106917,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:46] local.INFO: Acknowledgment sent {"connection_id":106917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:04:49] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:04:49] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:04:49] local.INFO: IMEI packet received {"connection_id":106311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":106311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:04:50] local.INFO: TCP Data received {"connection_id":106917,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:50] local.INFO: Processing buffer {"connection_id":106917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:04:50] local.INFO: Packet analysis {"connection_id":106917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:50] local.INFO: Extracted packet for processing {"connection_id":106917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:04:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":106917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:50] local.INFO: GPS data processed {"connection_id":106917,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:50] local.INFO: Acknowledgment sent {"connection_id":106917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:04:54] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:04:54] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:04:54] local.INFO: IMEI packet received {"connection_id":106311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":106311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:04:59] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:04:59] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:04:59] local.INFO: Packet analysis {"connection_id":106311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:59] local.INFO: Extracted packet for processing {"connection_id":106311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:04:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":106311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346456,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:04:59] local.INFO: GPS data processed {"connection_id":106311,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:04:59] local.INFO: Acknowledgment sent {"connection_id":106311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:05:01] local.INFO: TCP Data received {"connection_id":106311,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:05:01] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:05:01] local.INFO: Packet analysis {"connection_id":106311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:05:01] local.INFO: Extracted packet for processing {"connection_id":106311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:05:01] 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-06-18 20:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:05:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:05:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:05:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:05:01] local.INFO: TCP Data received {"connection_id":107859,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:05:01] local.INFO: Processing buffer {"connection_id":107859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:05:01] local.INFO: Packet analysis {"connection_id":107859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:05:01] local.INFO: Extracted packet for processing {"connection_id":107859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:01] 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-06-18 20:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:05: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-06-18 20:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:05: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-06-18 20:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:05:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":107859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":106311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:05:01] local.INFO: GPS data processed {"connection_id":107859,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:05:01] local.INFO: GPS data processed {"connection_id":106311,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:05:01] local.INFO: Acknowledgment sent {"connection_id":106311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:05:01] local.INFO: Acknowledgment sent {"connection_id":107859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:05:05] local.INFO: TCP Data received {"connection_id":106918,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:05:05] local.INFO: Processing buffer {"connection_id":106918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:05:05] local.INFO: IMEI packet received {"connection_id":106918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":106918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:05:09] local.INFO: TCP Data received {"connection_id":106918,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106918,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:05:09] local.INFO: Processing buffer {"connection_id":106918,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:05:09] local.INFO: IMEI packet received {"connection_id":106918,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":106918,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:05:10] local.INFO: TCP Data received {"connection_id":106918,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb26b2d8012d7d01c005e85b000003000328..."} 
[2026-06-18 20:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb26b2d8012d7d01c005e85b000003000328..."} 
[2026-06-18 20:05:10] local.INFO: Processing buffer {"connection_id":106918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb26b2d8012d7d01c005e85b000003000328..."} 
[2026-06-18 20:05:10] local.INFO: Packet analysis {"connection_id":106918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:05:10] local.INFO: Extracted packet for processing {"connection_id":106918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:05:10] local.INFO: GPS Element Parsed {"raw_longitude":763167168,"raw_latitude":99113728,"longitude_deg":76.3167168,"latitude_deg":9.9113728,"altitude":3,"angle":3,"satellites":40,"speed":0,"hex_longitude":"2d7d01c0","hex_latitude":"05e85b00","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139055616001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94141345211351040,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007691861323317248,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:10] 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-06-18 20:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781793207000,"timestamp_ms":1781793207000,"timestamp_seconds":1781793207,"priority":1,"record_length":96,"hex_timestamp":"0000019edb26b2d8"} 
[2026-06-18 20:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:05:10] 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-06-18 20: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 20:05:10] 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-06-18 20: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-06-18 20:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:05:10] 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-06-18 20:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139055616001,"66":11917,"155":206,"87":13824,"24":0,"16":94141345211351040,"45":9007691861323317248},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 20:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139055616001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:05:10] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 20:05:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94141345211351040,"km_value":94141345211351.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007691861323317248,"description":"Unknown IO ID 45"} 
[2026-06-18 20:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139055616001,"power":11917,"unknown_155":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":9007691861323317248}} 
[2026-06-18 20:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":106918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346459,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:05:10] local.INFO: GPS data processed {"connection_id":106918,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:05:10] local.INFO: Acknowledgment sent {"connection_id":106918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:05:11] local.INFO: TCP Data received {"connection_id":106918,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2704e0012d7d034005e87c68000600032d..."} 
[2026-06-18 20:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2704e0012d7d034005e87c68000600032d..."} 
[2026-06-18 20:05:11] local.INFO: Processing buffer {"connection_id":106918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2704e0012d7d034005e87c68000600032d..."} 
[2026-06-18 20:05:11] local.INFO: Packet analysis {"connection_id":106918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb27"} 
[2026-06-18 20:05:11] local.INFO: Extracted packet for processing {"connection_id":106918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb27"} 
[2026-06-18 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":763167552,"raw_latitude":99122280,"longitude_deg":76.3167552,"latitude_deg":9.912228,"altitude":6,"angle":3,"satellites":45,"speed":36,"hex_longitude":"2d7d0340","hex_latitude":"05e87c68","is_valid_coordinates":true} 
[2026-06-18 20:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139060992001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94141761823178752,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9007691861323350016,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:11] 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-06-18 20:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793228000,"timestamp_ms":1781793228000,"timestamp_seconds":1781793228,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2704e0"} 
[2026-06-18 20:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:05:11] 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-06-18 20:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:05:11] 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-06-18 20:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139060992001,"66":11754,"155":206,"87":13824,"24":36,"16":94141761823178752,"45":9007691861323350016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-06-18 20:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139060992001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:05:11] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 20:05:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94141761823178752,"km_value":94141761823178.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9007691861323350016,"description":"Unknown IO ID 45"} 
[2026-06-18 20:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139060992001,"power":11754,"unknown_155":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9007691861323350016}} 
[2026-06-18 20:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":106918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:05:11] local.INFO: GPS data processed {"connection_id":106918,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:05:11] local.INFO: Acknowledgment sent {"connection_id":106918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:05:24] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:05:24] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:05:24] local.INFO: IMEI packet received {"connection_id":106312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":106312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:05:29] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:05:29] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:05:29] local.INFO: IMEI packet received {"connection_id":106312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":106312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:05:30] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:05:30] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:05:30] local.INFO: Packet analysis {"connection_id":106312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:05:30] local.INFO: Extracted packet for processing {"connection_id":106312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:30] 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-06-18 20:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:05:30] 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-06-18 20:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:05:30] 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-06-18 20:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:05:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":106312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:05:30] local.INFO: GPS data processed {"connection_id":106312,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:05:30] local.INFO: Acknowledgment sent {"connection_id":106312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:05:33] local.INFO: TCP Data received {"connection_id":106136,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:05:33] local.INFO: Processing buffer {"connection_id":106136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:05:33] local.INFO: IMEI packet received {"connection_id":106136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:05:33] local.INFO: IMEI acknowledgment sent {"connection_id":106136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:05:38] local.INFO: TCP Data received {"connection_id":106136,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106136,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:05:38] local.INFO: Processing buffer {"connection_id":106136,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:05:38] local.INFO: IMEI packet received {"connection_id":106136,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":106136,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:05:39] local.INFO: TCP Data received {"connection_id":106136,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:05:39] local.INFO: Processing buffer {"connection_id":106136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23d090012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:05:39] local.INFO: Packet analysis {"connection_id":106136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:05:39] local.INFO: Extracted packet for processing {"connection_id":106136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138935552001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793018000,"timestamp_ms":1781793018000,"timestamp_seconds":1781793018,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23d090"} 
[2026-06-18 20:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:05: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-06-18 20:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138935552001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138935552001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:05:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:05:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138935552001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":106136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:05:39] local.INFO: GPS data processed {"connection_id":106136,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:05:39] local.INFO: Acknowledgment sent {"connection_id":106136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:05:42] local.INFO: TCP Data received {"connection_id":106918,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb287410012d7d1d0005ea18a0000a00022b..."} 
[2026-06-18 20:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb287410012d7d1d0005ea18a0000a00022b..."} 
[2026-06-18 20:05:42] local.INFO: Processing buffer {"connection_id":106918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb287410012d7d1d0005ea18a0000a00022b..."} 
[2026-06-18 20:05:42] local.INFO: Packet analysis {"connection_id":106918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:05:42] local.INFO: Extracted packet for processing {"connection_id":106918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:05:42] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":99227808,"longitude_deg":76.3174144,"latitude_deg":9.9227808,"altitude":10,"angle":2,"satellites":43,"speed":46,"hex_longitude":"2d7d1d00","hex_latitude":"05ea18a0","is_valid_coordinates":true} 
[2026-06-18 20:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139088384001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94146890014130176,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014587998279442432,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:42] 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-06-18 20:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781793322000,"timestamp_ms":1781793322000,"timestamp_seconds":1781793322,"priority":1,"record_length":96,"hex_timestamp":"0000019edb287410"} 
[2026-06-18 20:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:05:42] 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-06-18 20:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 20:05:42] 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-06-18 20:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106918,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139088384001,"66":11776,"154":206,"87":13824,"24":46,"16":94146890014130176,"45":9014587998279442432},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 20:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139088384001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:05:42] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 20:05:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94146890014130176,"km_value":94146890014130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014587998279442432,"description":"Unknown IO ID 45"} 
[2026-06-18 20:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139088384001,"power":11776,"unknown_154":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":9014587998279442432}} 
[2026-06-18 20:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":106918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346463,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:05:42] local.INFO: GPS data processed {"connection_id":106918,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:05:42] local.INFO: Acknowledgment sent {"connection_id":106918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:05:44] local.INFO: TCP Data received {"connection_id":106919,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:05:44] local.INFO: Processing buffer {"connection_id":106919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:05:44] local.INFO: IMEI packet received {"connection_id":106919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":106919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:05:49] local.INFO: TCP Data received {"connection_id":106919,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:05:49] local.INFO: Processing buffer {"connection_id":106919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:05:49] local.INFO: IMEI packet received {"connection_id":106919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":106919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:05:51] local.INFO: TCP Data received {"connection_id":106919,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:05:51] local.INFO: Processing buffer {"connection_id":106919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb23f3b8012d196500071fefc80040006228..."} 
[2026-06-18 20:05:51] local.INFO: Packet analysis {"connection_id":106919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:05:51] local.INFO: Extracted packet for processing {"connection_id":106919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb23"} 
[2026-06-18 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:05:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138937088001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830150329173188608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:05:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:05:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781793027000,"timestamp_ms":1781793027000,"timestamp_seconds":1781793027,"priority":1,"record_length":96,"hex_timestamp":"0000019edb23f3b8"} 
[2026-06-18 20:05:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:05:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:05:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-06-18 20:05:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:05:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:05:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:05:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:05:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:05:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:05:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:05:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:05:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:05:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:05:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138937088001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1830150329173188608},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:05:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:05:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:05:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138937088001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:05:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:05:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:05:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:05:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830150329173188608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:05:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138937088001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830150329173188608}} 
[2026-06-18 20:05:51] local.INFO: DEBUG: GPS processor result {"connection_id":106919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:05:51] local.INFO: GPS data processed {"connection_id":106919,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:05:51] local.INFO: Acknowledgment sent {"connection_id":106919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:01] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:06:01] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:06:01] local.INFO: Packet analysis {"connection_id":106312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:06:01] local.INFO: Extracted packet for processing {"connection_id":106312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:01] 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-06-18 20:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:06: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-06-18 20: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-06-18 20:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":106312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:01] local.INFO: GPS data processed {"connection_id":106312,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:01] local.INFO: Acknowledgment sent {"connection_id":106312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:10] local.INFO: TCP Data received {"connection_id":107860,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107860,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:06:10] local.INFO: Processing buffer {"connection_id":107860,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:06:10] local.INFO: IMEI packet received {"connection_id":107860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":107860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:06:11] local.INFO: TCP Data received {"connection_id":106136,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:11] local.INFO: Processing buffer {"connection_id":106136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:11] local.INFO: Packet analysis {"connection_id":106136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:11] local.INFO: Extracted packet for processing {"connection_id":106136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106136,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":106136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346466,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:11] local.INFO: GPS data processed {"connection_id":106136,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:11] local.INFO: Acknowledgment sent {"connection_id":106136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:12] local.INFO: TCP Data received {"connection_id":107860,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107860,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:06:12] local.INFO: Processing buffer {"connection_id":107860,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:06:12] local.INFO: IMEI packet received {"connection_id":107860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":107860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:06:13] local.INFO: TCP Data received {"connection_id":107860,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb289350012d7d1e8005ea3e38000900022a..."} 
[2026-06-18 20:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb289350012d7d1e8005ea3e38000900022a..."} 
[2026-06-18 20:06:13] local.INFO: Processing buffer {"connection_id":107860,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019edb..."} 
[2026-06-18 20:06:13] local.INFO: IMEI packet received {"connection_id":107860,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":107860,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:06:14] local.INFO: TCP Data received {"connection_id":107860,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb28b678012d7d1fc005ea61600008000427..."} 
[2026-06-18 20:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb28b678012d7d1fc005ea61600008000427..."} 
[2026-06-18 20:06:14] local.INFO: Processing buffer {"connection_id":107860,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019edb289350012d7d1e8005ea3e38000900022a..."} 
[2026-06-18 20:06:14] local.INFO: Packet analysis {"connection_id":107860,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:14] local.INFO: Extracted packet for processing {"connection_id":107860,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763174528,"raw_latitude":99237432,"longitude_deg":76.3174528,"latitude_deg":9.9237432,"altitude":9,"angle":2,"satellites":42,"speed":48,"hex_longitude":"2d7d1e80","hex_latitude":"05ea3e38","is_valid_coordinates":true} 
[2026-06-18 20:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139090432001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94147358165565440,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015362054467919872,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] 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-06-18 20:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781793330000,"timestamp_ms":1781793330000,"timestamp_seconds":1781793330,"priority":1,"record_length":96,"hex_timestamp":"0000019edb289350"} 
[2026-06-18 20:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06: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-06-18 20:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":2147871065,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3676804456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272983,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":4096,"corrected_to":0} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":120,"raw_value":3422552064,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":233,"raw_value":2166358023,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1469710542,"corrected_to":0} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":172,"raw_value":3623955837,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":393219,"corrected_to":0} 
[2026-06-18 20:06:14] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,154,87,24,241,157,16,122,158,84,45,64,242,10,44,66,121,53,203,14,1,240,227,120,219,233,4,113,205,52,172,200,239,2,78],"length":434,"final_offset":564,"validated_count":35,"validation_warnings":[{"io_id":203,"original":4096,"validated":0},{"io_id":205,"original":1469710542,"validated":0},{"io_id":200,"original":393219,"validated":0}]} 
[2026-06-18 20:06:14] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720578324089143296,"timestamp_seconds":720578324089143.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139090432001,"66":11711,"154":206,"87":13824,"24":48,"16":94147358165565440,"45":9015362054467919872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 20:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139090432001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:14] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 20:06:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94147358165565440,"km_value":94147358165565.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015362054467919872,"description":"Unknown IO ID 45"} 
[2026-06-18 20:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139090432001,"power":11711,"unknown_154":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9015362054467919872}} 
[2026-06-18 20:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":107860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346467,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:14] local.INFO: GPS data processed {"connection_id":107860,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:14] local.INFO: Acknowledgment sent {"connection_id":107860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:14] local.INFO: Packet analysis {"connection_id":107860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:14] local.INFO: Extracted packet for processing {"connection_id":107860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:14] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99246432,"longitude_deg":76.3174848,"latitude_deg":9.9246432,"altitude":8,"angle":4,"satellites":39,"speed":27,"hex_longitude":"2d7d1fc0","hex_latitude":"05ea6160","is_valid_coordinates":true} 
[2026-06-18 20:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139092480001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94147791957262336,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9015784266935449600,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:14] 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-06-18 20:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781793339000,"timestamp_ms":1781793339000,"timestamp_seconds":1781793339,"priority":1,"record_length":96,"hex_timestamp":"0000019edb28b678"} 
[2026-06-18 20:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06: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-06-18 20:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:14] 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-06-18 20:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139092480001,"66":11547,"154":206,"87":13824,"24":27,"16":94147791957262336,"45":9015784266935449600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 20:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139092480001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:14] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 20:06:14] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94147791957262336,"km_value":94147791957262.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":9015784266935449600,"description":"Unknown IO ID 45"} 
[2026-06-18 20:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139092480001,"power":11547,"unknown_154":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9015784266935449600}} 
[2026-06-18 20:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":107860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:15] local.INFO: GPS data processed {"connection_id":107860,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:15] local.INFO: Acknowledgment sent {"connection_id":107860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:16] local.INFO: TCP Data received {"connection_id":107860,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb28e170012d7d21c005ea87b0000700032c..."} 
[2026-06-18 20:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb28e170012d7d21c005ea87b0000700032c..."} 
[2026-06-18 20:06:16] local.INFO: Processing buffer {"connection_id":107860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb28e170012d7d21c005ea87b0000700032c..."} 
[2026-06-18 20:06:16] local.INFO: Packet analysis {"connection_id":107860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:16] local.INFO: Extracted packet for processing {"connection_id":107860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:16] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":99256240,"longitude_deg":76.317536,"latitude_deg":9.925624,"altitude":7,"angle":3,"satellites":44,"speed":44,"hex_longitude":"2d7d21c0","hex_latitude":"05ea87b0","is_valid_coordinates":true} 
[2026-06-18 20:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139094784001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94148268698632192,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110658641920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:16] 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-06-18 20:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781793350000,"timestamp_ms":1781793350000,"timestamp_seconds":1781793350,"priority":1,"record_length":96,"hex_timestamp":"0000019edb28e170"} 
[2026-06-18 20:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:16] 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-06-18 20:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107860,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:06:16] 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-06-18 20:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139094784001,"66":11852,"154":206,"87":13824,"24":44,"16":94148268698632192,"45":9016136110658641920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 20:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139094784001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:16] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 20:06:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94148268698632192,"km_value":94148268698632.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110658641920,"description":"Unknown IO ID 45"} 
[2026-06-18 20:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139094784001,"power":11852,"unknown_154":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9016136110658641920}} 
[2026-06-18 20:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":107860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346469,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:16] local.INFO: GPS data processed {"connection_id":107860,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:16] local.INFO: Acknowledgment sent {"connection_id":107860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:23] local.INFO: TCP Data received {"connection_id":106919,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:06:23] local.INFO: Processing buffer {"connection_id":106919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:06:23] local.INFO: Packet analysis {"connection_id":106919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:23] local.INFO: Extracted packet for processing {"connection_id":106919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:06:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":106919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:23] local.INFO: GPS data processed {"connection_id":106919,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:23] local.INFO: Acknowledgment sent {"connection_id":106919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:24] local.INFO: TCP Data received {"connection_id":106313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:06:24] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:06:24] local.INFO: IMEI packet received {"connection_id":106313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":106313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:06:29] local.INFO: TCP Data received {"connection_id":106313,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:06:29] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:06:29] local.INFO: IMEI packet received {"connection_id":106313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":106313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:06:30] local.INFO: TCP Data received {"connection_id":106313,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:06:30] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:06:30] local.INFO: Packet analysis {"connection_id":106313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:06:30] local.INFO: Extracted packet for processing {"connection_id":106313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:30] 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-06-18 20:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:30] 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-06-18 20:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:06:30] 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-06-18 20:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":106313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:30] local.INFO: GPS data processed {"connection_id":106313,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:30] local.INFO: Acknowledgment sent {"connection_id":106313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:38] local.INFO: TCP Data received {"connection_id":106137,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:06:38] local.INFO: Processing buffer {"connection_id":106137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:06:38] local.INFO: IMEI packet received {"connection_id":106137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":106137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:06:42] local.INFO: TCP Data received {"connection_id":106137,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:06:42] local.INFO: Processing buffer {"connection_id":106137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:06:42] local.INFO: IMEI packet received {"connection_id":106137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":106137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:06:44] local.INFO: TCP Data received {"connection_id":106137,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:44] local.INFO: Processing buffer {"connection_id":106137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:44] local.INFO: Packet analysis {"connection_id":106137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:44] local.INFO: Extracted packet for processing {"connection_id":106137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":106137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346472,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:44] local.INFO: GPS data processed {"connection_id":106137,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:44] local.INFO: Acknowledgment sent {"connection_id":106137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:44] local.INFO: TCP Data received {"connection_id":106138,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:06:44] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:06:44] local.INFO: IMEI packet received {"connection_id":106138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:06:44] local.INFO: IMEI acknowledgment sent {"connection_id":106138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:06:49] local.INFO: TCP Data received {"connection_id":106137,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:49] local.INFO: Processing buffer {"connection_id":106137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:06:49] local.INFO: Packet analysis {"connection_id":106137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:49] local.INFO: Extracted packet for processing {"connection_id":106137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:06:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":106137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:49] local.INFO: GPS data processed {"connection_id":106137,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:49] local.INFO: Acknowledgment sent {"connection_id":106137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:49] local.INFO: TCP Data received {"connection_id":106138,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:06:49] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:06:49] local.INFO: IMEI packet received {"connection_id":106138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":106138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:06:51] local.INFO: TCP Data received {"connection_id":106138,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:06:51] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:06:51] local.INFO: Packet analysis {"connection_id":106138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:51] local.INFO: Extracted packet for processing {"connection_id":106138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:06:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:06:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:06:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":106138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:06:51] local.INFO: GPS data processed {"connection_id":106138,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:06:51] local.INFO: Acknowledgment sent {"connection_id":106138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:06:59] local.INFO: TCP Data received {"connection_id":106139,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:06:59] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:06:59] local.INFO: IMEI packet received {"connection_id":106139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":106139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:07:01] local.INFO: TCP Data received {"connection_id":106313,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:07:01] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:07:01] local.INFO: Packet analysis {"connection_id":106313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:07:01] local.INFO: Extracted packet for processing {"connection_id":106313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:01] 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-06-18 20:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 20:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:07: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-06-18 20:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:07: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-06-18 20:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:07:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:07:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":106313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:07:01] local.INFO: GPS data processed {"connection_id":106313,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:07:01] local.INFO: Acknowledgment sent {"connection_id":106313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:07:05] local.INFO: TCP Data received {"connection_id":106139,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:07:05] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:07:05] local.INFO: IMEI packet received {"connection_id":106139,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":106139,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:07:06] local.INFO: TCP Data received {"connection_id":106139,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2900b0012d7d23c005eaaf18000700022c..."} 
[2026-06-18 20:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2900b0012d7d23c005eaaf18000700022c..."} 
[2026-06-18 20:07:06] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2900b0012d7d23c005eaaf18000700022c..."} 
[2026-06-18 20:07:06] local.INFO: Packet analysis {"connection_id":106139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb29"} 
[2026-06-18 20:07:06] local.INFO: Extracted packet for processing {"connection_id":106139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb29"} 
[2026-06-18 20:07:06] local.INFO: GPS Element Parsed {"raw_longitude":763175872,"raw_latitude":99266328,"longitude_deg":76.3175872,"latitude_deg":9.9266328,"altitude":7,"angle":2,"satellites":44,"speed":56,"hex_longitude":"2d7d23c0","hex_latitude":"05eaaf18","is_valid_coordinates":true} 
[2026-06-18 20:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139097600001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94148758324903936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060614574080,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781793358000,"timestamp_ms":1781793358000,"timestamp_seconds":1781793358,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2900b0"} 
[2026-06-18 20:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:07: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-06-18 20:07:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:07:06] 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-06-18 20:07:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:07:06] 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-06-18 20:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139097600001,"66":11765,"154":206,"87":13824,"24":56,"16":94148758324903936,"45":9016699060614574080},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 20:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139097600001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:07:06] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 20:07:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94148758324903936,"km_value":94148758324903.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060614574080,"description":"Unknown IO ID 45"} 
[2026-06-18 20:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139097600001,"power":11765,"unknown_154":206,"unknown_87":13824,"ignition":56,"odometer":null,"unknown_45":9016699060614574080}} 
[2026-06-18 20:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":106139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346476,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:07:06] local.INFO: GPS data processed {"connection_id":106139,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:07:06] local.INFO: Acknowledgment sent {"connection_id":106139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:07:23] local.INFO: TCP Data received {"connection_id":106138,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:07:23] local.INFO: Processing buffer {"connection_id":106138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:07:23] local.INFO: Packet analysis {"connection_id":106138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:07:23] local.INFO: Extracted packet for processing {"connection_id":106138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:07:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:07:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":106138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:07:23] local.INFO: GPS data processed {"connection_id":106138,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:07:23] local.INFO: Acknowledgment sent {"connection_id":106138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:07:24] local.INFO: TCP Data received {"connection_id":107861,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:07:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:07:24] local.INFO: Processing buffer {"connection_id":107861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:07:24] local.INFO: IMEI packet received {"connection_id":107861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:07:24] local.INFO: IMEI acknowledgment sent {"connection_id":107861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:07:29] local.INFO: TCP Data received {"connection_id":107861,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:07:29] local.INFO: Processing buffer {"connection_id":107861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:07:29] local.INFO: IMEI packet received {"connection_id":107861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":107861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:07:30] local.INFO: TCP Data received {"connection_id":107861,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:07:30] local.INFO: Processing buffer {"connection_id":107861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:07:30] local.INFO: Packet analysis {"connection_id":107861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:07:30] local.INFO: Extracted packet for processing {"connection_id":107861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 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-06-18 20:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:30] 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-06-18 20:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 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-06-18 20:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:07:30] 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-06-18 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-06-18 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-06-18 20:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:07: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-06-18 20:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:07:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":107861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:07:30] local.INFO: GPS data processed {"connection_id":107861,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:07:30] local.INFO: Acknowledgment sent {"connection_id":107861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:07:33] local.INFO: TCP Data received {"connection_id":106920,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:07:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:07:33] local.INFO: Processing buffer {"connection_id":106920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:07:33] local.INFO: IMEI packet received {"connection_id":106920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:07:33] local.INFO: IMEI acknowledgment sent {"connection_id":106920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:07:37] local.INFO: TCP Data received {"connection_id":106139,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb291c08012d7d258005ead680000700022b..."} 
[2026-06-18 20:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb291c08012d7d258005ead680000700022b..."} 
[2026-06-18 20:07:37] local.INFO: Processing buffer {"connection_id":106139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb291c08012d7d258005ead680000700022b..."} 
[2026-06-18 20:07:37] local.INFO: Packet analysis {"connection_id":106139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb29"} 
[2026-06-18 20:07:37] local.INFO: Extracted packet for processing {"connection_id":106139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb29"} 
[2026-06-18 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":763176320,"raw_latitude":99276416,"longitude_deg":76.317632,"latitude_deg":9.9276416,"altitude":7,"angle":2,"satellites":43,"speed":57,"hex_longitude":"2d7d2580","hex_latitude":"05ead680","is_valid_coordinates":true} 
[2026-06-18 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139099648001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94149247951175680,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017262010570577920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:37] 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-06-18 20:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781793365000,"timestamp_ms":1781793365000,"timestamp_seconds":1781793365,"priority":1,"record_length":96,"hex_timestamp":"0000019edb291c08"} 
[2026-06-18 20:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:07:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 20:07:37] 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-06-18 20:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106139,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:07:37] 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-06-18 20:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139099648001,"66":11874,"154":206,"87":13824,"24":57,"16":94149247951175680,"45":9017262010570577920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-06-18 20:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139099648001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:07:37] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-06-18 20:07:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94149247951175680,"km_value":94149247951175.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017262010570577920,"description":"Unknown IO ID 45"} 
[2026-06-18 20:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139099648001,"power":11874,"unknown_154":206,"unknown_87":13824,"ignition":57,"odometer":null,"unknown_45":9017262010570577920}} 
[2026-06-18 20:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":106139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346479,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:07:37] local.INFO: GPS data processed {"connection_id":106139,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:07:37] local.INFO: Acknowledgment sent {"connection_id":106139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:07:38] local.INFO: TCP Data received {"connection_id":106920,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:07:38] local.INFO: Processing buffer {"connection_id":106920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:07:38] local.INFO: IMEI packet received {"connection_id":106920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":106920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:07:40] local.INFO: TCP Data received {"connection_id":106920,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:07:40] local.INFO: Processing buffer {"connection_id":106920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:07:40] local.INFO: Packet analysis {"connection_id":106920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:07:40] local.INFO: Extracted packet for processing {"connection_id":106920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:07:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:07:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":106920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:07:40] local.INFO: GPS data processed {"connection_id":106920,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:07:40] local.INFO: Acknowledgment sent {"connection_id":106920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:07:55] local.INFO: TCP Data received {"connection_id":107862,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:07:55] local.INFO: Processing buffer {"connection_id":107862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:07:55] local.INFO: IMEI packet received {"connection_id":107862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":107862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:07:59] local.INFO: TCP Data received {"connection_id":107862,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:07:59] local.INFO: Processing buffer {"connection_id":107862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:07:59] local.INFO: IMEI packet received {"connection_id":107862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":107862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:08:00] local.INFO: TCP Data received {"connection_id":106314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:00] local.INFO: Processing buffer {"connection_id":106314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:00] local.INFO: IMEI packet received {"connection_id":106314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":106314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:08:00] local.INFO: TCP Data received {"connection_id":107862,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:00] local.INFO: Processing buffer {"connection_id":107862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:00] local.INFO: Packet analysis {"connection_id":107862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:00] local.INFO: Extracted packet for processing {"connection_id":107862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":107862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:00] local.INFO: GPS data processed {"connection_id":107862,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:00] local.INFO: Acknowledgment sent {"connection_id":107862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:01] local.INFO: TCP Data received {"connection_id":107861,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:08:01] local.INFO: Processing buffer {"connection_id":107861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2635d8012cc3314007685a60005a00f92b..."} 
[2026-06-18 20:08:01] local.INFO: Packet analysis {"connection_id":107861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:08:01] local.INFO: Extracted packet for processing {"connection_id":107861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb26"} 
[2026-06-18 20:08:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":43,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 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-06-18 20:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456138975744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:01] 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-06-18 20:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793175000,"timestamp_ms":1781793175000,"timestamp_seconds":1781793175,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2635d8"} 
[2026-06-18 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-06-18 20:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 20:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:08: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-06-18 20:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456138975744001,"66":25734,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456138975744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456138975744001,"power":25734,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":107861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:01] local.INFO: GPS data processed {"connection_id":107861,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:01] local.INFO: Acknowledgment sent {"connection_id":107861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:04] local.INFO: TCP Data received {"connection_id":106314,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106314,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:04] local.INFO: Processing buffer {"connection_id":106314,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:04] local.INFO: IMEI packet received {"connection_id":106314,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":106314,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:08:05] local.INFO: TCP Data received {"connection_id":106314,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb293760012d7d278005eafd98000700032d..."} 
[2026-06-18 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb293760012d7d278005eafd98000700032d..."} 
[2026-06-18 20:08:05] local.INFO: Processing buffer {"connection_id":106314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb293760012d7d278005eafd98000700032d..."} 
[2026-06-18 20:08:05] local.INFO: Packet analysis {"connection_id":106314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb29"} 
[2026-06-18 20:08:05] local.INFO: Extracted packet for processing {"connection_id":106314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb29"} 
[2026-06-18 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763176832,"raw_latitude":99286424,"longitude_deg":76.3176832,"latitude_deg":9.9286424,"altitude":7,"angle":3,"satellites":45,"speed":57,"hex_longitude":"2d7d2780","hex_latitude":"05eafd98","is_valid_coordinates":true} 
[2026-06-18 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139101440001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94149733282480128,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017754591782404096,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781793372000,"timestamp_ms":1781793372000,"timestamp_seconds":1781793372,"priority":1,"record_length":96,"hex_timestamp":"0000019edb293760"} 
[2026-06-18 20:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:05] 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-06-18 20:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:08:05] 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-06-18 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139101440001,"66":11743,"157":206,"87":13824,"24":57,"16":94149733282480128,"45":9017754591782404096},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,87,24,16,45]} 
[2026-06-18 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139101440001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:05] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-06-18 20:08:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94149733282480128,"km_value":94149733282480.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017754591782404096,"description":"Unknown IO ID 45"} 
[2026-06-18 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139101440001,"power":11743,"unknown_157":206,"unknown_87":13824,"ignition":57,"odometer":null,"unknown_45":9017754591782404096}} 
[2026-06-18 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":106314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346483,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:05] local.INFO: GPS data processed {"connection_id":106314,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:05] local.INFO: Acknowledgment sent {"connection_id":106314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:05] local.INFO: TCP Data received {"connection_id":107862,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:05] local.INFO: Processing buffer {"connection_id":107862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:05] local.INFO: Packet analysis {"connection_id":107862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:05] local.INFO: Extracted packet for processing {"connection_id":107862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":107862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:05] local.INFO: GPS data processed {"connection_id":107862,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:05] local.INFO: Acknowledgment sent {"connection_id":107862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:12] local.INFO: TCP Data received {"connection_id":106920,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:08:12] local.INFO: Processing buffer {"connection_id":106920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:08:12] local.INFO: Packet analysis {"connection_id":106920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:12] local.INFO: Extracted packet for processing {"connection_id":106920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":106920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:12] local.INFO: GPS data processed {"connection_id":106920,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:12] local.INFO: Acknowledgment sent {"connection_id":106920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:29] local.INFO: TCP Data received {"connection_id":106921,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:08:29] local.INFO: Processing buffer {"connection_id":106921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:08:29] local.INFO: IMEI packet received {"connection_id":106921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":106921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:08:32] local.INFO: TCP Data received {"connection_id":106140,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:08:32] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:08:32] local.INFO: IMEI packet received {"connection_id":106140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":106140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:08:34] local.INFO: TCP Data received {"connection_id":106921,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:08:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:08:34] local.INFO: Processing buffer {"connection_id":106921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:08:34] local.INFO: IMEI packet received {"connection_id":106921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:08:34] local.INFO: IMEI acknowledgment sent {"connection_id":106921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:08:35] local.INFO: TCP Data received {"connection_id":106921,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:08:35] local.INFO: Processing buffer {"connection_id":106921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:08:35] local.INFO: Packet analysis {"connection_id":106921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:08:35] local.INFO: Extracted packet for processing {"connection_id":106921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:35] 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-06-18 20:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:08: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-06-18 20:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:08:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":106921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:35] local.INFO: GPS data processed {"connection_id":106921,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:35] local.INFO: Acknowledgment sent {"connection_id":106921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:35] local.INFO: TCP Data received {"connection_id":106921,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:08:35] local.INFO: Processing buffer {"connection_id":106921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:08:35] local.INFO: Packet analysis {"connection_id":106921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:08:35] local.INFO: Extracted packet for processing {"connection_id":106921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:08:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:35] 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-06-18 20:08:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:08:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:08:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:08:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:08: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-06-18 20:08:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:08:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:08:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:08:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:08:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:08:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:08:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:08:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:08:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:08:35] local.INFO: DEBUG: GPS processor result {"connection_id":106921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:35] local.INFO: GPS data processed {"connection_id":106921,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:35] local.INFO: Acknowledgment sent {"connection_id":106921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:36] local.INFO: TCP Data received {"connection_id":106314,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2b3718012d7d318005ec3f280005005022..."} 
[2026-06-18 20:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2b3718012d7d318005ec3f280005005022..."} 
[2026-06-18 20:08:36] local.INFO: Processing buffer {"connection_id":106314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2b3718012d7d318005ec3f280005005022..."} 
[2026-06-18 20:08:36] local.INFO: Packet analysis {"connection_id":106314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:08:36] local.INFO: Extracted packet for processing {"connection_id":106314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":763179392,"raw_latitude":99368744,"longitude_deg":76.3179392,"latitude_deg":9.9368744,"altitude":5,"angle":80,"satellites":34,"speed":8,"hex_longitude":"2d7d3180","hex_latitude":"05ec3f28","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139136256001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94153770551738368,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020780447805640704,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781793503000,"timestamp_ms":1781793503000,"timestamp_seconds":1781793503,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2b3718"} 
[2026-06-18 20:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:36] 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-06-18 20: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-06-18 20:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106314,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:08:36] 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-06-18 20:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139136256001,"66":11895,"197":206,"87":13824,"24":8,"16":94153770551738368,"45":9020780447805640704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-18 20:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139136256001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:36] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-18 20:08:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94153770551738368,"km_value":94153770551738.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020780447805640704,"description":"Unknown IO ID 45"} 
[2026-06-18 20:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139136256001,"power":11895,"unknown_197":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9020780447805640704}} 
[2026-06-18 20:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":106314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346488,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:36] local.INFO: GPS data processed {"connection_id":106314,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:36] local.INFO: Acknowledgment sent {"connection_id":106314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:38] local.INFO: TCP Data received {"connection_id":106140,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:08:38] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:08:38] local.INFO: IMEI packet received {"connection_id":106140,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":106140,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:08:40] local.INFO: TCP Data received {"connection_id":106140,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:08:40] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:08:40] local.INFO: Packet analysis {"connection_id":106140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:40] local.INFO: Extracted packet for processing {"connection_id":106140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:08:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":106140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:40] local.INFO: GPS data processed {"connection_id":106140,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:40] local.INFO: Acknowledgment sent {"connection_id":106140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:44] local.INFO: TCP Data received {"connection_id":106315,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:08:44] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:08:44] local.INFO: IMEI packet received {"connection_id":106315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:08:44] local.INFO: IMEI acknowledgment sent {"connection_id":106315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:08:49] local.INFO: TCP Data received {"connection_id":106315,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:08:49] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:08:49] local.INFO: IMEI packet received {"connection_id":106315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":106315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:08:50] local.INFO: TCP Data received {"connection_id":106315,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:50] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:50] local.INFO: Packet analysis {"connection_id":106315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:50] local.INFO: Extracted packet for processing {"connection_id":106315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:08:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":106315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:50] local.INFO: GPS data processed {"connection_id":106315,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:50] local.INFO: Acknowledgment sent {"connection_id":106315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:08:59] local.INFO: TCP Data received {"connection_id":106315,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:59] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:08:59] local.INFO: Packet analysis {"connection_id":106315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:59] local.INFO: Extracted packet for processing {"connection_id":106315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:08:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:08:59] local.INFO: TCP Data received {"connection_id":106141,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:59] local.INFO: Processing buffer {"connection_id":106141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:08:59] local.INFO: IMEI packet received {"connection_id":106141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":106141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":106315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:08:59] local.INFO: GPS data processed {"connection_id":106315,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:08:59] local.INFO: Acknowledgment sent {"connection_id":106315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:09:04] local.INFO: TCP Data received {"connection_id":106141,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106141,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:09:04] local.INFO: Processing buffer {"connection_id":106141,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:09:04] local.INFO: IMEI packet received {"connection_id":106141,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":106141,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:09:06] local.INFO: TCP Data received {"connection_id":106141,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2b3b00012d7d32c005ec3f200005006023..."} 
[2026-06-18 20:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2b3b00012d7d32c005ec3f200005006023..."} 
[2026-06-18 20:09:06] local.INFO: Processing buffer {"connection_id":106141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2b3b00012d7d32c005ec3f200005006023..."} 
[2026-06-18 20:09:06] local.INFO: Packet analysis {"connection_id":106141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:09:06] local.INFO: Extracted packet for processing {"connection_id":106141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763179712,"raw_latitude":99368736,"longitude_deg":76.3179712,"latitude_deg":9.9368736,"altitude":5,"angle":96,"satellites":35,"speed":10,"hex_longitude":"2d7d32c0","hex_latitude":"05ec3f20","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139136768001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94153783436640256,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021132291526567936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781793504000,"timestamp_ms":1781793504000,"timestamp_seconds":1781793504,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2b3b00"} 
[2026-06-18 20:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:09:06] 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-06-18 20: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 20:09:06] 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-06-18 20: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-06-18 20:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:09:06] 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-06-18 20:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139136768001,"66":11852,"197":206,"87":13824,"24":10,"16":94153783436640256,"45":9021132291526567936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-18 20:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139136768001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:09:06] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-18 20:09:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94153783436640256,"km_value":94153783436640.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021132291526567936,"description":"Unknown IO ID 45"} 
[2026-06-18 20:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139136768001,"power":11852,"unknown_197":206,"unknown_87":13824,"ignition":10,"odometer":null,"unknown_45":9021132291526567936}} 
[2026-06-18 20:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":106141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346492,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:09:06] local.INFO: GPS data processed {"connection_id":106141,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:09:06] local.INFO: Acknowledgment sent {"connection_id":106141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:09:06] local.INFO: TCP Data received {"connection_id":106921,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:09:06] local.INFO: Processing buffer {"connection_id":106921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:09:06] local.INFO: Packet analysis {"connection_id":106921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:09:06] local.INFO: Extracted packet for processing {"connection_id":106921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:06] 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-06-18 20:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:09:06] 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-06-18 20:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:09:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:09:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":106921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:09:06] local.INFO: GPS data processed {"connection_id":106921,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:09:06] local.INFO: Acknowledgment sent {"connection_id":106921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:09:11] local.INFO: TCP Data received {"connection_id":106140,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:09:11] local.INFO: Processing buffer {"connection_id":106140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:09:11] local.INFO: Packet analysis {"connection_id":106140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:09:11] local.INFO: Extracted packet for processing {"connection_id":106140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106140,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:09:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:09:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":106140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:09:11] local.INFO: GPS data processed {"connection_id":106140,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:09:11] local.INFO: Acknowledgment sent {"connection_id":106140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:09:24] local.INFO: TCP Data received {"connection_id":107863,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:09:24] local.INFO: Processing buffer {"connection_id":107863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:09:24] local.INFO: IMEI packet received {"connection_id":107863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":107863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:09:29] local.INFO: TCP Data received {"connection_id":107863,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:09:29] local.INFO: Processing buffer {"connection_id":107863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:09:29] local.INFO: IMEI packet received {"connection_id":107863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":107863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:09:30] local.INFO: TCP Data received {"connection_id":107863,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:09:30] local.INFO: Processing buffer {"connection_id":107863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:09:30] local.INFO: Packet analysis {"connection_id":107863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:09:30] local.INFO: Extracted packet for processing {"connection_id":107863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:09:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:30] 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-06-18 20:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:09:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":107863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:09:30] local.INFO: GPS data processed {"connection_id":107863,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:09:30] local.INFO: Acknowledgment sent {"connection_id":107863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:09:32] local.INFO: TCP Data received {"connection_id":106142,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:09:32] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:09:32] local.INFO: IMEI packet received {"connection_id":106142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":106142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:09:37] local.INFO: TCP Data received {"connection_id":106141,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2b46b8012d7d360005ec3ea80005006c23..."} 
[2026-06-18 20:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2b46b8012d7d360005ec3ea80005006c23..."} 
[2026-06-18 20:09:37] local.INFO: Processing buffer {"connection_id":106141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2b46b8012d7d360005ec3ea80005006c23..."} 
[2026-06-18 20:09:37] local.INFO: Packet analysis {"connection_id":106141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:09:37] local.INFO: Extracted packet for processing {"connection_id":106141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":763180544,"raw_latitude":99368616,"longitude_deg":76.3180544,"latitude_deg":9.9368616,"altitude":5,"angle":108,"satellites":35,"speed":8,"hex_longitude":"2d7d3600","hex_latitude":"05ec3ea8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139137024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94153826386313216,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021484135247454208,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781793507000,"timestamp_ms":1781793507000,"timestamp_seconds":1781793507,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2b46b8"} 
[2026-06-18 20:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:09:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:09:37] 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-06-18 20: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-06-18 20:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106141,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:09:37] 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-06-18 20:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139137024001,"66":11743,"197":206,"87":13824,"24":8,"16":94153826386313216,"45":9021484135247454208},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,87,24,16,45]} 
[2026-06-18 20:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139137024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:09:37] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-06-18 20:09:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94153826386313216,"km_value":94153826386313.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021484135247454208,"description":"Unknown IO ID 45"} 
[2026-06-18 20:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139137024001,"power":11743,"unknown_197":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9021484135247454208}} 
[2026-06-18 20:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":106141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346496,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:09:37] local.INFO: GPS data processed {"connection_id":106141,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:09:37] local.INFO: Acknowledgment sent {"connection_id":106141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:09:38] local.INFO: TCP Data received {"connection_id":106142,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:09:38] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:09:38] local.INFO: IMEI packet received {"connection_id":106142,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":106142,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:09:39] local.INFO: TCP Data received {"connection_id":106142,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:09:39] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:09:39] local.INFO: Packet analysis {"connection_id":106142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:09:39] local.INFO: Extracted packet for processing {"connection_id":106142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:09: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-06-18 20:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:09:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":106142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:09:39] local.INFO: GPS data processed {"connection_id":106142,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:09:39] local.INFO: Acknowledgment sent {"connection_id":106142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:09:44] local.INFO: TCP Data received {"connection_id":107864,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:09:44] local.INFO: Processing buffer {"connection_id":107864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:09:44] local.INFO: IMEI packet received {"connection_id":107864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":107864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:09:49] local.INFO: TCP Data received {"connection_id":107864,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107864,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:09:49] local.INFO: Processing buffer {"connection_id":107864,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:09:49] local.INFO: IMEI packet received {"connection_id":107864,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":107864,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:09:50] local.INFO: TCP Data received {"connection_id":107864,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:09:50] local.INFO: Processing buffer {"connection_id":107864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:09:50] local.INFO: Packet analysis {"connection_id":107864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:09:50] local.INFO: Extracted packet for processing {"connection_id":107864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:09:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:09:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:09:51] local.INFO: DEBUG: GPS processor result {"connection_id":107864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:09:51] local.INFO: GPS data processed {"connection_id":107864,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:09:51] local.INFO: Acknowledgment sent {"connection_id":107864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:00] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:00] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:00] local.INFO: IMEI packet received {"connection_id":106316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:10:00] local.INFO: IMEI acknowledgment sent {"connection_id":106316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:10:01] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:01] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:01] local.INFO: IMEI packet received {"connection_id":106316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":106316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:10:01] local.INFO: TCP Data received {"connection_id":107863,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:10:01] local.INFO: Processing buffer {"connection_id":107863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:10:01] local.INFO: Packet analysis {"connection_id":107863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:10:01] local.INFO: Extracted packet for processing {"connection_id":107863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:10:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:01] 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-06-18 20:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:10:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":107863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:01] local.INFO: GPS data processed {"connection_id":107863,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:01] local.INFO: Acknowledgment sent {"connection_id":107863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:04] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:04] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:04] local.INFO: IMEI packet received {"connection_id":106316,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":106316,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:10:06] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2b71b0012d7d3f8005ec3ca00005005b28..."} 
[2026-06-18 20:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2b71b0012d7d3f8005ec3ca00005005b28..."} 
[2026-06-18 20:10:06] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2b71b0012d7d3f8005ec3ca00005005b28..."} 
[2026-06-18 20:10:06] local.INFO: Packet analysis {"connection_id":106316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:10:06] local.INFO: Extracted packet for processing {"connection_id":106316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":99368096,"longitude_deg":76.3182976,"latitude_deg":9.9368096,"altitude":5,"angle":91,"satellites":40,"speed":12,"hex_longitude":"2d7d3f80","hex_latitude":"05ec3ca0","is_valid_coordinates":true} 
[2026-06-18 20:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139137792001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94153946645397504,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022398928921733120,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10: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-06-18 20:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781793518000,"timestamp_ms":1781793518000,"timestamp_seconds":1781793518,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2b71b0"} 
[2026-06-18 20:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10:06] 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-06-18 20:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:10:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:10:06] 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-06-18 20:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139137792001,"66":11895,"110":206,"87":13824,"24":12,"16":94153946645397504,"45":9022398928921733120},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 20:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139137792001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:06] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 20:10:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94153946645397504,"km_value":94153946645397.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022398928921733120,"description":"Unknown IO ID 45"} 
[2026-06-18 20:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139137792001,"power":11895,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9022398928921733120}} 
[2026-06-18 20:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":106316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346500,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:06] local.INFO: GPS data processed {"connection_id":106316,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:06] local.INFO: Acknowledgment sent {"connection_id":106316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:11] local.INFO: TCP Data received {"connection_id":106142,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:11] local.INFO: Processing buffer {"connection_id":106142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:11] local.INFO: Packet analysis {"connection_id":106142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:11] local.INFO: Extracted packet for processing {"connection_id":106142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106142,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":106142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346501,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:11] local.INFO: GPS data processed {"connection_id":106142,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:11] local.INFO: Acknowledgment sent {"connection_id":106142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:22] local.INFO: TCP Data received {"connection_id":107864,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:10:22] local.INFO: Processing buffer {"connection_id":107864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:10:22] local.INFO: Packet analysis {"connection_id":107864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:22] local.INFO: Extracted packet for processing {"connection_id":107864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107864,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:10:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":107864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:22] local.INFO: GPS data processed {"connection_id":107864,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:22] local.INFO: Acknowledgment sent {"connection_id":107864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:24] local.INFO: TCP Data received {"connection_id":106143,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:10:24] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:10:24] local.INFO: IMEI packet received {"connection_id":106143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":106143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:10:29] local.INFO: TCP Data received {"connection_id":106143,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:10:29] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:10:29] local.INFO: IMEI packet received {"connection_id":106143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":106143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:10:30] local.INFO: TCP Data received {"connection_id":106143,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:10:30] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:10:30] local.INFO: Packet analysis {"connection_id":106143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:10:30] local.INFO: Extracted packet for processing {"connection_id":106143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:10:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:30] 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-06-18 20:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:10:30] 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-06-18 20:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":106143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:30] local.INFO: GPS data processed {"connection_id":106143,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:30] local.INFO: Acknowledgment sent {"connection_id":106143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:38] local.INFO: TCP Data received {"connection_id":107865,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:10:38] local.INFO: Processing buffer {"connection_id":107865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:10:38] local.INFO: IMEI packet received {"connection_id":107865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":107865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:10:39] local.INFO: TCP Data received {"connection_id":106316,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2b7d68012d7d438005ec3d400006004a2a..."} 
[2026-06-18 20:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2b7d68012d7d438005ec3d400006004a2a..."} 
[2026-06-18 20:10:39] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2b7d68012d7d438005ec3d400006004a2a..."} 
[2026-06-18 20:10:39] local.INFO: Packet analysis {"connection_id":106316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:10:39] local.INFO: Extracted packet for processing {"connection_id":106316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2b"} 
[2026-06-18 20:10:39] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":99368256,"longitude_deg":76.3184,"latitude_deg":9.9368256,"altitude":6,"angle":74,"satellites":42,"speed":12,"hex_longitude":"2d7d4380","hex_latitude":"05ec3d40","is_valid_coordinates":true} 
[2026-06-18 20:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139140608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94153993890037760,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072941200351232,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793521000,"timestamp_ms":1781793521000,"timestamp_seconds":1781793521,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2b7d68"} 
[2026-06-18 20:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10: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-06-18 20:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:39] 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-06-18 20:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106316,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:10:39] 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-06-18 20:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139140608001,"66":11711,"110":206,"87":13824,"24":12,"16":94153993890037760,"45":9025072941200351232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-06-18 20:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139140608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:39] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-06-18 20:10:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94153993890037760,"km_value":94153993890037.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072941200351232,"description":"Unknown IO ID 45"} 
[2026-06-18 20:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139140608001,"power":11711,"unknown_110":206,"unknown_87":13824,"ignition":12,"odometer":null,"unknown_45":9025072941200351232}} 
[2026-06-18 20:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":106316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346504,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:39] local.INFO: GPS data processed {"connection_id":106316,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:39] local.INFO: Acknowledgment sent {"connection_id":106316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:42] local.INFO: TCP Data received {"connection_id":107865,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:10:42] local.INFO: Processing buffer {"connection_id":107865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:10:42] local.INFO: IMEI packet received {"connection_id":107865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":107865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:10:44] local.INFO: TCP Data received {"connection_id":106922,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:10:44] local.INFO: Processing buffer {"connection_id":106922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:10:44] local.INFO: IMEI packet received {"connection_id":106922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:10:44] local.INFO: IMEI acknowledgment sent {"connection_id":106922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:10:44] local.INFO: TCP Data received {"connection_id":107865,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:44] local.INFO: Processing buffer {"connection_id":107865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:44] local.INFO: Packet analysis {"connection_id":107865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:44] local.INFO: Extracted packet for processing {"connection_id":107865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:10:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:10:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":107865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346505,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:44] local.INFO: GPS data processed {"connection_id":107865,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:44] local.INFO: Acknowledgment sent {"connection_id":107865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:49] local.INFO: TCP Data received {"connection_id":107865,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:49] local.INFO: Processing buffer {"connection_id":107865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb286858012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:10:49] local.INFO: Packet analysis {"connection_id":107865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:49] local.INFO: Extracted packet for processing {"connection_id":107865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139012608001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781793319000,"timestamp_ms":1781793319000,"timestamp_seconds":1781793319,"priority":1,"record_length":96,"hex_timestamp":"0000019edb286858"} 
[2026-06-18 20:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107865,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139012608001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139012608001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:10:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139012608001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":107865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:49] local.INFO: GPS data processed {"connection_id":107865,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:49] local.INFO: Acknowledgment sent {"connection_id":107865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:49] local.INFO: TCP Data received {"connection_id":106922,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:10:49] local.INFO: Processing buffer {"connection_id":106922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:10:49] local.INFO: IMEI packet received {"connection_id":106922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":106922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:10:50] local.INFO: TCP Data received {"connection_id":106922,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:10:50] local.INFO: Processing buffer {"connection_id":106922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb288b80012d196500071fefc80040006229..."} 
[2026-06-18 20:10:50] local.INFO: Packet analysis {"connection_id":106922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:50] local.INFO: Extracted packet for processing {"connection_id":106922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb28"} 
[2026-06-18 20:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139014912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793328000,"timestamp_ms":1781793328000,"timestamp_seconds":1781793328,"priority":1,"record_length":96,"hex_timestamp":"0000019edb288b80"} 
[2026-06-18 20:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139014912001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139014912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:10:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:10:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139014912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:10:51] local.INFO: DEBUG: GPS processor result {"connection_id":106922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:10:51] local.INFO: GPS data processed {"connection_id":106922,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:10:51] local.INFO: Acknowledgment sent {"connection_id":106922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:10:59] local.INFO: TCP Data received {"connection_id":106144,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:59] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:10:59] local.INFO: IMEI packet received {"connection_id":106144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":106144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:11:01] local.INFO: TCP Data received {"connection_id":106143,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:11:01] local.INFO: Processing buffer {"connection_id":106143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:11:01] local.INFO: Packet analysis {"connection_id":106143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:11:01] local.INFO: Extracted packet for processing {"connection_id":106143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:11:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:01] 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-06-18 20:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:11:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:11:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":106143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:11:01] local.INFO: GPS data processed {"connection_id":106143,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:11:01] local.INFO: Acknowledgment sent {"connection_id":106143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:11:05] local.INFO: TCP Data received {"connection_id":106144,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:11:05] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:11:05] local.INFO: IMEI packet received {"connection_id":106144,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":106144,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:11:06] local.INFO: TCP Data received {"connection_id":106144,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d5610012d7e800005ec91f0000a006d29..."} 
[2026-06-18 20:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d5610012d7e800005ec91f0000a006d29..."} 
[2026-06-18 20:11:06] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d5610012d7e800005ec91f0000a006d29..."} 
[2026-06-18 20:11:06] local.INFO: Packet analysis {"connection_id":106144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:06] local.INFO: Extracted packet for processing {"connection_id":106144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763265024,"raw_latitude":99389936,"longitude_deg":76.3265024,"latitude_deg":9.9389936,"altitude":10,"angle":109,"satellites":41,"speed":20,"hex_longitude":"2d7e8000","hex_latitude":"05ec91f0","is_valid_coordinates":true} 
[2026-06-18 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139171840001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94158031159296000,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9114089402590744576,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781793642000,"timestamp_ms":1781793642000,"timestamp_seconds":1781793642,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d5610"} 
[2026-06-18 20:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:11:06] 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-06-18 20:11:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 20:11:06] 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-06-18 20:11:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:11:06] 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-06-18 20:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139171840001,"66":11830,"108":206,"87":13824,"24":20,"16":94158031159296000,"45":9114089402590744576},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-06-18 20:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139171840001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:11:06] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-18 20:11:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94158031159296000,"km_value":94158031159296,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9114089402590744576,"description":"Unknown IO ID 45"} 
[2026-06-18 20:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139171840001,"power":11830,"unknown_108":206,"unknown_87":13824,"ignition":20,"odometer":null,"unknown_45":9114089402590744576}} 
[2026-06-18 20:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":106144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:11:06] local.INFO: GPS data processed {"connection_id":106144,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:11:06] local.INFO: Acknowledgment sent {"connection_id":106144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:11:24] local.INFO: TCP Data received {"connection_id":106923,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:11:24] local.INFO: Processing buffer {"connection_id":106923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:11:24] local.INFO: IMEI packet received {"connection_id":106923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":106923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:11:28] local.INFO: TCP Data received {"connection_id":106922,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:11:28] local.INFO: Processing buffer {"connection_id":106922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:11:28] local.INFO: Packet analysis {"connection_id":106922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:28] local.INFO: Extracted packet for processing {"connection_id":106922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:11:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:11:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":106922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:11:28] local.INFO: GPS data processed {"connection_id":106922,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:11:28] local.INFO: Acknowledgment sent {"connection_id":106922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:11:29] local.INFO: TCP Data received {"connection_id":106923,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:11:29] local.INFO: Processing buffer {"connection_id":106923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:11:29] local.INFO: IMEI packet received {"connection_id":106923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":106923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:11:30] local.INFO: TCP Data received {"connection_id":106923,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:11:30] local.INFO: Processing buffer {"connection_id":106923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:11:30] local.INFO: Packet analysis {"connection_id":106923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:11:30] local.INFO: Extracted packet for processing {"connection_id":106923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:30] 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-06-18 20:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:11:30] 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-06-18 20:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:11:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":106923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:11:30] local.INFO: GPS data processed {"connection_id":106923,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:11:30] local.INFO: Acknowledgment sent {"connection_id":106923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:11:33] local.INFO: TCP Data received {"connection_id":107866,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:11:33] local.INFO: Processing buffer {"connection_id":107866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:11:33] local.INFO: IMEI packet received {"connection_id":107866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":107866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:11:37] local.INFO: TCP Data received {"connection_id":106144,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d5de0012d7e83c005ec9010000a007a29..."} 
[2026-06-18 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d5de0012d7e83c005ec9010000a007a29..."} 
[2026-06-18 20:11:37] local.INFO: Processing buffer {"connection_id":106144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d5de0012d7e83c005ec9010000a007a29..."} 
[2026-06-18 20:11:37] local.INFO: Packet analysis {"connection_id":106144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:37] local.INFO: Extracted packet for processing {"connection_id":106144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":763265984,"raw_latitude":99389456,"longitude_deg":76.3265984,"latitude_deg":9.9389456,"altitude":10,"angle":122,"satellites":41,"speed":22,"hex_longitude":"2d7e83c0","hex_latitude":"05ec9010","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139172352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94158086993870848,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9115285671241707520,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781793644000,"timestamp_ms":1781793644000,"timestamp_seconds":1781793644,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d5de0"} 
[2026-06-18 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 20:11:37] 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-06-18 20: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-06-18 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106144,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:11:37] 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-06-18 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139172352001,"66":11765,"221":206,"87":13824,"24":22,"16":94158086993870848,"45":9115285671241707520},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,87,24,16,45]} 
[2026-06-18 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139172352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:11:37] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 20:11:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94158086993870848,"km_value":94158086993870.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":9115285671241707520,"description":"Unknown IO ID 45"} 
[2026-06-18 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139172352001,"power":11765,"unknown_221":206,"unknown_87":13824,"ignition":22,"odometer":null,"unknown_45":9115285671241707520}} 
[2026-06-18 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":106144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:11:37] local.INFO: GPS data processed {"connection_id":106144,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:11:37] local.INFO: Acknowledgment sent {"connection_id":106144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:11:38] local.INFO: TCP Data received {"connection_id":107866,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:11:38] local.INFO: Processing buffer {"connection_id":107866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:11:38] local.INFO: IMEI packet received {"connection_id":107866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":107866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:11:40] local.INFO: TCP Data received {"connection_id":107866,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:11:40] local.INFO: Processing buffer {"connection_id":107866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:11:40] local.INFO: Packet analysis {"connection_id":107866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:40] local.INFO: Extracted packet for processing {"connection_id":107866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:11:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:11:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":107866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346513,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:11:40] local.INFO: GPS data processed {"connection_id":107866,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:11:40] local.INFO: Acknowledgment sent {"connection_id":107866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:11:44] local.INFO: TCP Data received {"connection_id":106317,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:11:44] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:11:44] local.INFO: IMEI packet received {"connection_id":106317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":106317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:11:49] local.INFO: TCP Data received {"connection_id":106317,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:11:49] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:11:49] local.INFO: IMEI packet received {"connection_id":106317,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":106317,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:11:50] local.INFO: TCP Data received {"connection_id":106317,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:11:50] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:11:50] local.INFO: Packet analysis {"connection_id":106317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:50] local.INFO: Extracted packet for processing {"connection_id":106317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:11:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:11:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":106317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:11:50] local.INFO: GPS data processed {"connection_id":106317,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:11:50] local.INFO: Acknowledgment sent {"connection_id":106317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:01] local.INFO: TCP Data received {"connection_id":106923,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:01] local.INFO: Processing buffer {"connection_id":106923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:01] local.INFO: Packet analysis {"connection_id":106923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:12:01] local.INFO: Extracted packet for processing {"connection_id":106923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:01] 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-06-18 20:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":106923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:01] local.INFO: GPS data processed {"connection_id":106923,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:01] local.INFO: Acknowledgment sent {"connection_id":106923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:02] local.INFO: TCP Data received {"connection_id":106924,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:02] local.INFO: Processing buffer {"connection_id":106924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:02] local.INFO: IMEI packet received {"connection_id":106924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":106924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:12:05] local.INFO: TCP Data received {"connection_id":106924,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:05] local.INFO: Processing buffer {"connection_id":106924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:05] local.INFO: IMEI packet received {"connection_id":106924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":106924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:12:10] local.INFO: TCP Data received {"connection_id":106924,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106924,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:10] local.INFO: Processing buffer {"connection_id":106924,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:12:10] local.INFO: IMEI packet received {"connection_id":106924,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":106924,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:12:10] local.INFO: TCP Data received {"connection_id":106924,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d7d20012d7e974005ec83280007006c1c..."} 
[2026-06-18 20:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d7d20012d7e974005ec83280007006c1c..."} 
[2026-06-18 20:12:10] local.INFO: Processing buffer {"connection_id":106924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d7d20012d7e974005ec83280007006c1c..."} 
[2026-06-18 20:12:10] local.INFO: Packet analysis {"connection_id":106924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:10] local.INFO: Extracted packet for processing {"connection_id":106924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":763270976,"raw_latitude":99386152,"longitude_deg":76.3270976,"latitude_deg":9.9386152,"altitude":7,"angle":108,"satellites":28,"speed":30,"hex_longitude":"2d7e9740","hex_latitude":"05ec8328","is_valid_coordinates":true} 
[2026-06-18 20:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139172864001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94158374756679680,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9116341202404249600,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781793652000,"timestamp_ms":1781793652000,"timestamp_seconds":1781793652,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d7d20"} 
[2026-06-18 20:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:10] 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-06-18 20:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:12:10] 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-06-18 20:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139172864001,"66":11852,"221":206,"87":13824,"24":30,"16":94158374756679680,"45":9116341202404249600},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,87,24,16,45]} 
[2026-06-18 20:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139172864001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:10] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 20:12:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94158374756679680,"km_value":94158374756679.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9116341202404249600,"description":"Unknown IO ID 45"} 
[2026-06-18 20:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139172864001,"power":11852,"unknown_221":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":9116341202404249600}} 
[2026-06-18 20:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":106924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:11] local.INFO: GPS data processed {"connection_id":106924,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:11] local.INFO: Acknowledgment sent {"connection_id":106924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:16] local.INFO: TCP Data received {"connection_id":106924,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d84f0012d7e9cc005ec82180007005e1f..."} 
[2026-06-18 20:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d84f0012d7e9cc005ec82180007005e1f..."} 
[2026-06-18 20:12:16] local.INFO: Processing buffer {"connection_id":106924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d84f0012d7e9cc005ec82180007005e1f..."} 
[2026-06-18 20:12:16] local.INFO: Packet analysis {"connection_id":106924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:16] local.INFO: Extracted packet for processing {"connection_id":106924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:16] local.INFO: GPS Element Parsed {"raw_longitude":763272384,"raw_latitude":99385880,"longitude_deg":76.3272384,"latitude_deg":9.938588,"altitude":7,"angle":94,"satellites":31,"speed":27,"hex_longitude":"2d7e9cc0","hex_latitude":"05ec8218","is_valid_coordinates":true} 
[2026-06-18 20:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139174912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94158443476156416,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9121829964449261568,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781793654000,"timestamp_ms":1781793654000,"timestamp_seconds":1781793654,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d84f0"} 
[2026-06-18 20:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:16] 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-06-18 20:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106924,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:12:16] 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-06-18 20:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139174912001,"66":11852,"221":206,"87":13824,"24":27,"16":94158443476156416,"45":9121829964449261568},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,87,24,16,45]} 
[2026-06-18 20:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139174912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:16] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 20:12:16] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94158443476156416,"km_value":94158443476156.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":9121829964449261568,"description":"Unknown IO ID 45"} 
[2026-06-18 20:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139174912001,"power":11852,"unknown_221":206,"unknown_87":13824,"ignition":27,"odometer":null,"unknown_45":9121829964449261568}} 
[2026-06-18 20:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":106924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:16] local.INFO: GPS data processed {"connection_id":106924,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:16] local.INFO: Acknowledgment sent {"connection_id":106924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:22] local.INFO: TCP Data received {"connection_id":106317,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:12:22] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:12:22] local.INFO: Packet analysis {"connection_id":106317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:22] local.INFO: Extracted packet for processing {"connection_id":106317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106317,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:12:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":106317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:22] local.INFO: GPS data processed {"connection_id":106317,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:22] local.INFO: Acknowledgment sent {"connection_id":106317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:28] local.INFO: TCP Data received {"connection_id":107866,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:12:28] local.INFO: Processing buffer {"connection_id":107866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:12:28] local.INFO: Packet analysis {"connection_id":107866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:28] local.INFO: Extracted packet for processing {"connection_id":107866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:28] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20: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-06-18 20: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-06-18 20:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":107866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:28] local.INFO: GPS data processed {"connection_id":107866,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:28] local.INFO: Acknowledgment sent {"connection_id":107866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:29] local.INFO: TCP Data received {"connection_id":106925,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:12:29] local.INFO: Processing buffer {"connection_id":106925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:12:29] local.INFO: IMEI packet received {"connection_id":106925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":106925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:12:33] local.INFO: TCP Data received {"connection_id":106145,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:12:33] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:12:33] local.INFO: IMEI packet received {"connection_id":106145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:12:33] local.INFO: IMEI acknowledgment sent {"connection_id":106145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:12:34] local.INFO: TCP Data received {"connection_id":106925,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:12:34] local.INFO: Processing buffer {"connection_id":106925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:12:34] local.INFO: IMEI packet received {"connection_id":106925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":106925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:12:35] local.INFO: TCP Data received {"connection_id":106925,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:35] local.INFO: Processing buffer {"connection_id":106925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:35] local.INFO: Packet analysis {"connection_id":106925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:12:35] local.INFO: Extracted packet for processing {"connection_id":106925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:12:35] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:12:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:35] 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-06-18 20:12:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:12:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:12:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:12:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:12:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:12:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:12:35] 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-06-18 20:12:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:12:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:12:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:12:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:12:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:12:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:12:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:12:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:12:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:12:35] local.INFO: DEBUG: GPS processor result {"connection_id":106925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:35] local.INFO: GPS data processed {"connection_id":106925,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:35] local.INFO: Acknowledgment sent {"connection_id":106925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:38] local.INFO: TCP Data received {"connection_id":106145,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:12:38] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:12:38] local.INFO: IMEI packet received {"connection_id":106145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":106145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:12:39] local.INFO: TCP Data received {"connection_id":106145,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:12:39] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:12:39] local.INFO: Packet analysis {"connection_id":106145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:39] local.INFO: Extracted packet for processing {"connection_id":106145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:12:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:12:39] local.INFO: TCP Data received {"connection_id":106925,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:39] local.INFO: Processing buffer {"connection_id":106925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:39] local.INFO: Packet analysis {"connection_id":106925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:12:39] local.INFO: Extracted packet for processing {"connection_id":106925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:39] 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-06-18 20:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:12:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":106145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:39] local.INFO: GPS data processed {"connection_id":106145,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:39] local.INFO: Acknowledgment sent {"connection_id":106145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":106925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:39] local.INFO: GPS data processed {"connection_id":106925,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:39] local.INFO: Acknowledgment sent {"connection_id":106925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:44] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:12:44] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:12:44] local.INFO: IMEI packet received {"connection_id":106318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":106318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:12:44] local.INFO: TCP Data received {"connection_id":106925,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:44] local.INFO: Processing buffer {"connection_id":106925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:12:44] local.INFO: Packet analysis {"connection_id":106925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:12:44] local.INFO: Extracted packet for processing {"connection_id":106925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:44] 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-06-18 20:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 20:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:44] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:12:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":106925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:44] local.INFO: GPS data processed {"connection_id":106925,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:44] local.INFO: Acknowledgment sent {"connection_id":106925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:12:49] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:12:49] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:12:49] local.INFO: IMEI packet received {"connection_id":106318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":106318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:12:50] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:12:50] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:12:50] local.INFO: Packet analysis {"connection_id":106318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:50] local.INFO: Extracted packet for processing {"connection_id":106318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:12:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:12:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:12:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:12:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:12:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:12:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:12:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:12:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:12:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:12:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:12:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:12:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:12:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:12:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:12:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:12:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:12:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:12:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:12:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:12:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:12:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:12:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:12:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:12:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:12:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:12:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":106318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:12:50] local.INFO: GPS data processed {"connection_id":106318,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:12:50] local.INFO: Acknowledgment sent {"connection_id":106318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:13:00] local.INFO: TCP Data received {"connection_id":106146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:13:00] local.INFO: Processing buffer {"connection_id":106146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:13:00] local.INFO: IMEI packet received {"connection_id":106146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":106146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:13:05] local.INFO: TCP Data received {"connection_id":106146,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106146,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:13:05] local.INFO: Processing buffer {"connection_id":106146,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:13:05] local.INFO: IMEI packet received {"connection_id":106146,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":106146,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:13:05] local.INFO: TCP Data received {"connection_id":106146,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d90a8012d7ea4c005ec82b00006004f28..."} 
[2026-06-18 20:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d90a8012d7ea4c005ec82b00006004f28..."} 
[2026-06-18 20:13:05] local.INFO: Processing buffer {"connection_id":106146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d90a8012d7ea4c005ec82b00006004f28..."} 
[2026-06-18 20:13:05] local.INFO: Packet analysis {"connection_id":106146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:05] local.INFO: Extracted packet for processing {"connection_id":106146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763274432,"raw_latitude":99386032,"longitude_deg":76.3274432,"latitude_deg":9.9386032,"altitude":6,"angle":79,"satellites":40,"speed":25,"hex_longitude":"2d7ea4c0","hex_latitude":"05ec82b0","is_valid_coordinates":true} 
[2026-06-18 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139175424001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94158542260404224,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123378076821100544,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,221,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781793657000,"timestamp_ms":1781793657000,"timestamp_seconds":1781793657,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d90a8"} 
[2026-06-18 20:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:13:05] 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-06-18 20:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:13:05] 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-06-18 20:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139175424001,"66":11743,"221":206,"87":13824,"24":25,"16":94158542260404224,"45":9123378076821100544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,221,87,24,16,45]} 
[2026-06-18 20:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139175424001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:13:06] local.INFO: Unknown IO ID detected {"io_id":221,"value":206,"description":"Unknown IO ID 221"} 
[2026-06-18 20:13:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94158542260404224,"km_value":94158542260404.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123378076821100544,"description":"Unknown IO ID 45"} 
[2026-06-18 20:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139175424001,"power":11743,"unknown_221":206,"unknown_87":13824,"ignition":25,"odometer":null,"unknown_45":9123378076821100544}} 
[2026-06-18 20:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":106146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:13:06] local.INFO: GPS data processed {"connection_id":106146,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:13:06] local.INFO: Acknowledgment sent {"connection_id":106146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:13:11] local.INFO: TCP Data received {"connection_id":106145,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:13:11] local.INFO: Processing buffer {"connection_id":106145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:13:11] local.INFO: Packet analysis {"connection_id":106145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:11] local.INFO: Extracted packet for processing {"connection_id":106145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106145,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:13:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:13:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":106145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:13:11] local.INFO: GPS data processed {"connection_id":106145,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:13:11] local.INFO: Acknowledgment sent {"connection_id":106145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:13:24] local.INFO: TCP Data received {"connection_id":106319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:13:24] local.INFO: Processing buffer {"connection_id":106319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:13:24] local.INFO: IMEI packet received {"connection_id":106319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":106319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:13:27] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:13:27] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:13:27] local.INFO: Packet analysis {"connection_id":106318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:27] local.INFO: Extracted packet for processing {"connection_id":106318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:13:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:13:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":106318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:13:27] local.INFO: GPS data processed {"connection_id":106318,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:13:27] local.INFO: Acknowledgment sent {"connection_id":106318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:13:29] local.INFO: TCP Data received {"connection_id":106319,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:13:29] local.INFO: Processing buffer {"connection_id":106319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:13:29] local.INFO: IMEI packet received {"connection_id":106319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":106319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:13:30] local.INFO: TCP Data received {"connection_id":106319,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:13:30] local.INFO: Processing buffer {"connection_id":106319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2acda0012cc3314007685a60005a00f92c..."} 
[2026-06-18 20:13:30] local.INFO: Packet analysis {"connection_id":106319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:13:30] local.INFO: Extracted packet for processing {"connection_id":106319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2a"} 
[2026-06-18 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 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-06-18 20:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139052800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:30] 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-06-18 20:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793476000,"timestamp_ms":1781793476000,"timestamp_seconds":1781793476,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2acda0"} 
[2026-06-18 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-06-18 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-06-18 20:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 20:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:13: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-06-18 20:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139052800001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139052800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:13:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139052800001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":106319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:13:30] local.INFO: GPS data processed {"connection_id":106319,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:13:30] local.INFO: Acknowledgment sent {"connection_id":106319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:13:32] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:13:32] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:13:32] local.INFO: IMEI packet received {"connection_id":106147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":106147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:13:38] local.INFO: TCP Data received {"connection_id":106146,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2fbb58012d7fd94005ed29000009005e2c..."} 
[2026-06-18 20:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2fbb58012d7fd94005ed29000009005e2c..."} 
[2026-06-18 20:13:38] local.INFO: Processing buffer {"connection_id":106146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2fbb58012d7fd94005ed29000009005e2c..."} 
[2026-06-18 20:13:38] local.INFO: Packet analysis {"connection_id":106146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:13:38] local.INFO: Extracted packet for processing {"connection_id":106146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:13:38] local.INFO: GPS Element Parsed {"raw_longitude":763353408,"raw_latitude":99428608,"longitude_deg":76.3353408,"latitude_deg":9.9428608,"altitude":9,"angle":94,"satellites":44,"speed":8,"hex_longitude":"2d7fd940","hex_latitude":"05ed2900","is_valid_coordinates":true} 
[2026-06-18 20:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139212288001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94162948896849920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212253800728428544,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781793799000,"timestamp_ms":1781793799000,"timestamp_seconds":1781793799,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2fbb58"} 
[2026-06-18 20:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:13:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:13:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-18 20:13:38] 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-06-18 20:13:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106146,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:13:38] 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-06-18 20:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139212288001,"66":12113,"216":206,"87":13824,"24":8,"16":94162948896849920,"45":9212253800728428544},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-06-18 20:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139212288001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:13:38] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-18 20:13:38] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94162948896849920,"km_value":94162948896849.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212253800728428544,"description":"Unknown IO ID 45"} 
[2026-06-18 20:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139212288001,"power":12113,"unknown_216":206,"unknown_87":13824,"ignition":8,"odometer":null,"unknown_45":9212253800728428544}} 
[2026-06-18 20:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":106146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346529,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:13:38] local.INFO: GPS data processed {"connection_id":106146,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:13:38] local.INFO: Acknowledgment sent {"connection_id":106146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:13:38] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:13:38] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:13:38] local.INFO: IMEI packet received {"connection_id":106147,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":106147,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:13:40] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:13:40] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:13:40] local.INFO: Packet analysis {"connection_id":106147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:40] local.INFO: Extracted packet for processing {"connection_id":106147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:13:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":106147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:13:40] local.INFO: GPS data processed {"connection_id":106147,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:13:40] local.INFO: Acknowledgment sent {"connection_id":106147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:13:44] local.INFO: TCP Data received {"connection_id":106926,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:13:44] local.INFO: Processing buffer {"connection_id":106926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:13:44] local.INFO: IMEI packet received {"connection_id":106926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":106926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:13:49] local.INFO: TCP Data received {"connection_id":106926,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:13:49] local.INFO: Processing buffer {"connection_id":106926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:13:49] local.INFO: IMEI packet received {"connection_id":106926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":106926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:13:50] local.INFO: TCP Data received {"connection_id":106926,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:13:50] local.INFO: Processing buffer {"connection_id":106926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:13:50] local.INFO: Packet analysis {"connection_id":106926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:50] local.INFO: Extracted packet for processing {"connection_id":106926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:13:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:13:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":106926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:13:51] local.INFO: GPS data processed {"connection_id":106926,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:13:51] local.INFO: Acknowledgment sent {"connection_id":106926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:00] local.INFO: TCP Data received {"connection_id":106319,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:14:00] local.INFO: Processing buffer {"connection_id":106319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:14:00] local.INFO: Packet analysis {"connection_id":106319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:00] local.INFO: Extracted packet for processing {"connection_id":106319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:00] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:00] 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-06-18 20:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:14: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-06-18 20:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":106319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:00] local.INFO: GPS data processed {"connection_id":106319,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:00] local.INFO: Acknowledgment sent {"connection_id":106319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:04] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:14:04] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:14:04] local.INFO: IMEI packet received {"connection_id":106320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":106320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:14:04] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:14:04] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:14:04] local.INFO: IMEI packet received {"connection_id":106320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":106320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:14:05] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.17","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019edb..."} 
[2026-06-18 20:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019edb..."} 
[2026-06-18 20:14:05] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019edb..."} 
[2026-06-18 20:14:05] local.INFO: IMEI packet received {"connection_id":106320,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":106320,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:14:10] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2fc710012d7fdc0005ed27d0000800802c..."} 
[2026-06-18 20:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2fc710012d7fdc0005ed27d0000800802c..."} 
[2026-06-18 20:14:10] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019edb2fbf40012d7fda4005ed28d00008006c2c..."} 
[2026-06-18 20:14:10] local.INFO: Packet analysis {"connection_id":106320,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:10] local.INFO: Extracted packet for processing {"connection_id":106320,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763353664,"raw_latitude":99428560,"longitude_deg":76.3353664,"latitude_deg":9.942856,"altitude":8,"angle":108,"satellites":44,"speed":7,"hex_longitude":"2d7fda40","hex_latitude":"05ed28d0","is_valid_coordinates":true} 
[2026-06-18 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139212544001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94162961781751808,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212464906960961536,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781793800000,"timestamp_ms":1781793800000,"timestamp_seconds":1781793800,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2fbf40"} 
[2026-06-18 20:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:10] 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-06-18 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:14:10] 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-06-18 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139212544001,"66":11515,"216":206,"87":13824,"24":7,"16":94162961781751808,"45":9212464906960961536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-06-18 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139212544001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-18 20:14:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94162961781751808,"km_value":94162961781751.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212464906960961536,"description":"Unknown IO ID 45"} 
[2026-06-18 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139212544001,"power":11515,"unknown_216":206,"unknown_87":13824,"ignition":7,"odometer":null,"unknown_45":9212464906960961536}} 
[2026-06-18 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":106320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346533,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:10] local.INFO: GPS data processed {"connection_id":106320,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:10] local.INFO: Acknowledgment sent {"connection_id":106320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:10] local.INFO: Packet analysis {"connection_id":106320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:10] local.INFO: Extracted packet for processing {"connection_id":106320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:10] local.INFO: GPS Element Parsed {"raw_longitude":763354112,"raw_latitude":99428304,"longitude_deg":76.3354112,"latitude_deg":9.9428304,"altitude":8,"angle":128,"satellites":44,"speed":14,"hex_longitude":"2d7fdc00","hex_latitude":"05ed27d0","is_valid_coordinates":true} 
[2026-06-18 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139212800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94162983256588288,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9212746381937659904,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781793802000,"timestamp_ms":1781793802000,"timestamp_seconds":1781793802,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2fc710"} 
[2026-06-18 20:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:10] 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-06-18 20:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:14:10] 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-06-18 20:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139212800001,"66":12102,"216":206,"87":13824,"24":14,"16":94162983256588288,"45":9212746381937659904},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-06-18 20:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139212800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:10] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-18 20:14:10] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94162983256588288,"km_value":94162983256588.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9212746381937659904,"description":"Unknown IO ID 45"} 
[2026-06-18 20:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139212800001,"power":12102,"unknown_216":206,"unknown_87":13824,"ignition":14,"odometer":null,"unknown_45":9212746381937659904}} 
[2026-06-18 20:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":106320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346534,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:10] local.INFO: GPS data processed {"connection_id":106320,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:10] local.INFO: Acknowledgment sent {"connection_id":106320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:11] local.INFO: TCP Data received {"connection_id":106147,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:14:11] local.INFO: Processing buffer {"connection_id":106147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:14:11] local.INFO: Packet analysis {"connection_id":106147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:14:11] local.INFO: Extracted packet for processing {"connection_id":106147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106147,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":106147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:12] local.INFO: GPS data processed {"connection_id":106147,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:12] local.INFO: Acknowledgment sent {"connection_id":106147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:22] local.INFO: TCP Data received {"connection_id":106926,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:14:22] local.INFO: Processing buffer {"connection_id":106926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:14:22] local.INFO: Packet analysis {"connection_id":106926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:14:22] local.INFO: Extracted packet for processing {"connection_id":106926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:14:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":106926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:22] local.INFO: GPS data processed {"connection_id":106926,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:22] local.INFO: Acknowledgment sent {"connection_id":106926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:24] local.INFO: TCP Data received {"connection_id":106321,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:14:24] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:14:24] local.INFO: IMEI packet received {"connection_id":106321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":106321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:14:29] local.INFO: TCP Data received {"connection_id":106321,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:14:29] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:14:29] local.INFO: IMEI packet received {"connection_id":106321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":106321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:14:30] local.INFO: TCP Data received {"connection_id":106321,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:14:30] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:14:30] local.INFO: Packet analysis {"connection_id":106321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:30] local.INFO: Extracted packet for processing {"connection_id":106321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:30] 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-06-18 20:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:14:30] 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-06-18 20:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":106321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:30] local.INFO: GPS data processed {"connection_id":106321,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:30] local.INFO: Acknowledgment sent {"connection_id":106321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:32] local.INFO: TCP Data received {"connection_id":106927,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:14:32] local.INFO: Processing buffer {"connection_id":106927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:14:32] local.INFO: IMEI packet received {"connection_id":106927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":106927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:14:38] local.INFO: TCP Data received {"connection_id":106927,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:14:38] local.INFO: Processing buffer {"connection_id":106927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:14:38] local.INFO: IMEI packet received {"connection_id":106927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":106927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:14:39] local.INFO: TCP Data received {"connection_id":106927,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:14:39] local.INFO: Processing buffer {"connection_id":106927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:14:39] local.INFO: Packet analysis {"connection_id":106927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:14:39] local.INFO: Extracted packet for processing {"connection_id":106927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":106927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:39] local.INFO: GPS data processed {"connection_id":106927,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:39] local.INFO: Acknowledgment sent {"connection_id":106927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:44] local.INFO: TCP Data received {"connection_id":107867,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:14:44] local.INFO: Processing buffer {"connection_id":107867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:14:44] local.INFO: IMEI packet received {"connection_id":107867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":107867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:14:45] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2ffdc0012d7ff90005ed11f00005007e27..."} 
[2026-06-18 20:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2ffdc0012d7ff90005ed11f00005007e27..."} 
[2026-06-18 20:14:45] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2ffdc0012d7ff90005ed11f00005007e27..."} 
[2026-06-18 20:14:45] local.INFO: Packet analysis {"connection_id":106320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:45] local.INFO: Extracted packet for processing {"connection_id":106320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:14:45] local.INFO: GPS Element Parsed {"raw_longitude":763361536,"raw_latitude":99422704,"longitude_deg":76.3361536,"latitude_deg":9.9422704,"altitude":5,"angle":126,"satellites":39,"speed":36,"hex_longitude":"2d7ff900","hex_latitude":"05ed11f0","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139213312001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94163429933187072,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213238963146838016,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781793816000,"timestamp_ms":1781793816000,"timestamp_seconds":1781793816,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2ffdc0"} 
[2026-06-18 20:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":47,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1063,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106320,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:14:45] 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-06-18 20:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139213312001,"66":12015,"216":206,"87":13824,"24":36,"16":94163429933187072,"45":9213238963146838016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-06-18 20:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139213312001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:45] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-18 20:14:45] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94163429933187072,"km_value":94163429933187.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213238963146838016,"description":"Unknown IO ID 45"} 
[2026-06-18 20:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139213312001,"power":12015,"unknown_216":206,"unknown_87":13824,"ignition":36,"odometer":null,"unknown_45":9213238963146838016}} 
[2026-06-18 20:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":106320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346539,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:45] local.INFO: GPS data processed {"connection_id":106320,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:45] local.INFO: Acknowledgment sent {"connection_id":106320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:14:49] local.INFO: TCP Data received {"connection_id":107867,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:14:49] local.INFO: Processing buffer {"connection_id":107867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:14:49] local.INFO: IMEI packet received {"connection_id":107867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":107867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:14:50] local.INFO: TCP Data received {"connection_id":107867,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:14:50] local.INFO: Processing buffer {"connection_id":107867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:14:50] local.INFO: Packet analysis {"connection_id":107867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:14:50] local.INFO: Extracted packet for processing {"connection_id":107867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:14:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:14:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:14:51] local.INFO: DEBUG: GPS processor result {"connection_id":107867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:14:51] local.INFO: GPS data processed {"connection_id":107867,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:14:51] local.INFO: Acknowledgment sent {"connection_id":107867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:01] local.INFO: TCP Data received {"connection_id":106321,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:15:01] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:15:01] local.INFO: Packet analysis {"connection_id":106321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:15:01] local.INFO: Extracted packet for processing {"connection_id":106321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:01] 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-06-18 20:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:15: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-06-18 20:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":106321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:01] local.INFO: GPS data processed {"connection_id":106321,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:01] local.INFO: Acknowledgment sent {"connection_id":106321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:05] local.INFO: TCP Data received {"connection_id":107868,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:15:05] local.INFO: Processing buffer {"connection_id":107868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:15:05] local.INFO: IMEI packet received {"connection_id":107868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":107868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:15:10] local.INFO: TCP Data received {"connection_id":107868,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107868,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:15:10] local.INFO: Processing buffer {"connection_id":107868,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:15:10] local.INFO: IMEI packet received {"connection_id":107868,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":107868,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:15:11] local.INFO: TCP Data received {"connection_id":107868,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb301530012d80098005ed02a00005008b2a..."} 
[2026-06-18 20:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb301530012d80098005ed02a00005008b2a..."} 
[2026-06-18 20:15:11] local.INFO: Processing buffer {"connection_id":107868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb301530012d80098005ed02a00005008b2a..."} 
[2026-06-18 20:15:11] local.INFO: Packet analysis {"connection_id":107868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb30"} 
[2026-06-18 20:15:11] local.INFO: Extracted packet for processing {"connection_id":107868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb30"} 
[2026-06-18 20:15:11] local.INFO: GPS Element Parsed {"raw_longitude":763365760,"raw_latitude":99418784,"longitude_deg":76.336576,"latitude_deg":9.9418784,"altitude":5,"angle":139,"satellites":42,"speed":37,"hex_longitude":"2d800980","hex_latitude":"05ed02a0","is_valid_coordinates":true} 
[2026-06-18 20:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139216896001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94163709106061312,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9221401737470013440,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793822000,"timestamp_ms":1781793822000,"timestamp_seconds":1781793822,"priority":1,"record_length":96,"hex_timestamp":"0000019edb301530"} 
[2026-06-18 20:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:15:11] 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-06-18 20:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139216896001,"66":11895,"216":206,"87":13824,"24":37,"16":94163709106061312,"45":9221401737470013440},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-06-18 20:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139216896001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:11] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-06-18 20:15:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-06-18 20:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94163709106061312,"km_value":94163709106061.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9221401737470013440,"description":"Unknown IO ID 45"} 
[2026-06-18 20:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139216896001,"power":11895,"unknown_216":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":9221401737470013440}} 
[2026-06-18 20:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":107868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:11] local.INFO: GPS data processed {"connection_id":107868,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:11] local.INFO: Acknowledgment sent {"connection_id":107868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:11] local.INFO: TCP Data received {"connection_id":106927,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:11] local.INFO: Processing buffer {"connection_id":106927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:11] local.INFO: Packet analysis {"connection_id":106927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:11] local.INFO: Extracted packet for processing {"connection_id":106927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106927,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":106927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:11] local.INFO: GPS data processed {"connection_id":106927,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:11] local.INFO: Acknowledgment sent {"connection_id":106927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:22] local.INFO: TCP Data received {"connection_id":107867,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:15:22] local.INFO: Processing buffer {"connection_id":107867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:15:22] local.INFO: Packet analysis {"connection_id":107867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:22] local.INFO: Extracted packet for processing {"connection_id":107867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:15:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:15:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:15:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":107867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:22] local.INFO: GPS data processed {"connection_id":107867,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:22] local.INFO: Acknowledgment sent {"connection_id":107867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:24] local.INFO: TCP Data received {"connection_id":106928,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:15:24] local.INFO: Processing buffer {"connection_id":106928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:15:24] local.INFO: IMEI packet received {"connection_id":106928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":106928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:15:29] local.INFO: TCP Data received {"connection_id":106928,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:15:29] local.INFO: Processing buffer {"connection_id":106928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:15:29] local.INFO: IMEI packet received {"connection_id":106928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":106928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:15:30] local.INFO: TCP Data received {"connection_id":106928,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:15:30] local.INFO: Processing buffer {"connection_id":106928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:15:30] local.INFO: Packet analysis {"connection_id":106928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:15:30] local.INFO: Extracted packet for processing {"connection_id":106928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:30] 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-06-18 20:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:15: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-06-18 20:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"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-06-18 20:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:15:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":106928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:30] local.INFO: GPS data processed {"connection_id":106928,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:30] local.INFO: Acknowledgment sent {"connection_id":106928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:38] local.INFO: TCP Data received {"connection_id":106929,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:15:38] local.INFO: Processing buffer {"connection_id":106929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:15:38] local.INFO: IMEI packet received {"connection_id":106929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":106929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:15:42] local.INFO: TCP Data received {"connection_id":107868,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d810f8005ed0fa00005000629..."} 
[2026-06-18 20:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d810f8005ed0fa00005000629..."} 
[2026-06-18 20:15:42] local.INFO: Processing buffer {"connection_id":107868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d810f8005ed0fa00005000629..."} 
[2026-06-18 20:15:42] local.INFO: Packet analysis {"connection_id":107868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:15:42] local.INFO: Extracted packet for processing {"connection_id":107868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:15:42] local.INFO: GPS Element Parsed {"raw_longitude":763432832,"raw_latitude":99422112,"longitude_deg":76.3432832,"latitude_deg":9.9422112,"altitude":5,"angle":6,"satellites":41,"speed":6,"hex_longitude":"2d810f80","hex_latitude":"05ed0fa0","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243520001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94167093540290560,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146951555225812992,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107868,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243520001,"66":11167,"188":206,"87":11264,"24":6,"16":94167093540290560,"45":-9146951555225812992},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-06-18 20:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243520001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:42] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-18 20:15:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94167093540290560,"km_value":94167093540290.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146951555225812992,"description":"Unknown IO ID 45"} 
[2026-06-18 20:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243520001,"power":11167,"unknown_188":206,"unknown_87":11264,"ignition":6,"odometer":null,"unknown_45":-9146951555225812992}} 
[2026-06-18 20:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":107868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346546,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:42] local.INFO: GPS data processed {"connection_id":107868,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:42] local.INFO: Acknowledgment sent {"connection_id":107868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:43] local.INFO: TCP Data received {"connection_id":106929,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:15:43] local.INFO: Processing buffer {"connection_id":106929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:15:43] local.INFO: IMEI packet received {"connection_id":106929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":106929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:15:44] local.INFO: TCP Data received {"connection_id":106929,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:44] local.INFO: Processing buffer {"connection_id":106929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:44] local.INFO: Packet analysis {"connection_id":106929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:44] local.INFO: Extracted packet for processing {"connection_id":106929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:15:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:15:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:15:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":106929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:44] local.INFO: GPS data processed {"connection_id":106929,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:44] local.INFO: Acknowledgment sent {"connection_id":106929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:49] local.INFO: TCP Data received {"connection_id":106929,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:49] local.INFO: Processing buffer {"connection_id":106929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d0020012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:15:49] local.INFO: Packet analysis {"connection_id":106929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:49] local.INFO: Extracted packet for processing {"connection_id":106929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139089664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781793620000,"timestamp_ms":1781793620000,"timestamp_seconds":1781793620,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d0020"} 
[2026-06-18 20:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139089664001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139089664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:15:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139089664001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":106929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:49] local.INFO: GPS data processed {"connection_id":106929,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:49] local.INFO: Acknowledgment sent {"connection_id":106929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:15:49] local.INFO: TCP Data received {"connection_id":106930,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:15:49] local.INFO: Processing buffer {"connection_id":106930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:15:49] local.INFO: IMEI packet received {"connection_id":106930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":106930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:15:54] local.INFO: TCP Data received {"connection_id":106930,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106930,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:15:54] local.INFO: Processing buffer {"connection_id":106930,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:15:54] local.INFO: IMEI packet received {"connection_id":106930,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":106930,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:15:56] local.INFO: TCP Data received {"connection_id":106930,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:15:56] local.INFO: Processing buffer {"connection_id":106930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:15:56] local.INFO: Packet analysis {"connection_id":106930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:56] local.INFO: Extracted packet for processing {"connection_id":106930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:15:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:15:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:15:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":106930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:15:56] local.INFO: GPS data processed {"connection_id":106930,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:15:56] local.INFO: Acknowledgment sent {"connection_id":106930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:16:00] local.INFO: TCP Data received {"connection_id":106930,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:16:00] local.INFO: Processing buffer {"connection_id":106930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2d2348012d196500071fefc8004000622b..."} 
[2026-06-18 20:16:00] local.INFO: Packet analysis {"connection_id":106930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:16:00] local.INFO: Extracted packet for processing {"connection_id":106930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2d"} 
[2026-06-18 20:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139091968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781793629000,"timestamp_ms":1781793629000,"timestamp_seconds":1781793629,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2d2348"} 
[2026-06-18 20:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106930,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139091968001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139091968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:16:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139091968001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":106930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:16:00] local.INFO: GPS data processed {"connection_id":106930,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:16:00] local.INFO: Acknowledgment sent {"connection_id":106930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:16:01] local.INFO: TCP Data received {"connection_id":106928,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:16:01] local.INFO: Processing buffer {"connection_id":106928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:16:01] local.INFO: Packet analysis {"connection_id":106928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:16:01] local.INFO: Extracted packet for processing {"connection_id":106928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:16:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:01] 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-06-18 20:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:16: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-06-18 20:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"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-06-18 20:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:16:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:16:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":106928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:16:01] local.INFO: GPS data processed {"connection_id":106928,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:16:01] local.INFO: Acknowledgment sent {"connection_id":106928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:16:03] local.INFO: TCP Data received {"connection_id":106931,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:16:03] local.INFO: Processing buffer {"connection_id":106931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:16:03] local.INFO: IMEI packet received {"connection_id":106931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":106931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:16:05] local.INFO: TCP Data received {"connection_id":106931,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106931,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:16:05] local.INFO: Processing buffer {"connection_id":106931,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:16:05] local.INFO: IMEI packet received {"connection_id":106931,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":106931,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:16:08] local.INFO: TCP Data received {"connection_id":106931,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb319bd0012d810f8005ed10480005015529..."} 
[2026-06-18 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb319bd0012d810f8005ed10480005015529..."} 
[2026-06-18 20:16:08] local.INFO: Processing buffer {"connection_id":106931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb319bd0012d810f8005ed10480005015529..."} 
[2026-06-18 20:16:08] local.INFO: Packet analysis {"connection_id":106931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:08] local.INFO: Extracted packet for processing {"connection_id":106931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":763432832,"raw_latitude":99422280,"longitude_deg":76.3432832,"latitude_deg":9.942228,"altitude":5,"angle":341,"satellites":41,"speed":6,"hex_longitude":"2d810f80","hex_latitude":"05ed1048","is_valid_coordinates":true} 
[2026-06-18 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94167102130225152,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146951555225772032,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781793922000,"timestamp_ms":1781793922000,"timestamp_seconds":1781793922,"priority":1,"record_length":96,"hex_timestamp":"0000019edb319bd0"} 
[2026-06-18 20:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-18 20:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:16:08] 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-06-18 20:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":11852,"188":206,"87":11264,"24":6,"16":94167102130225152,"45":-9146951555225772032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-06-18 20:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:16:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-18 20:16:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94167102130225152,"km_value":94167102130225.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146951555225772032,"description":"Unknown IO ID 45"} 
[2026-06-18 20:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":11852,"unknown_188":206,"unknown_87":11264,"ignition":6,"odometer":null,"unknown_45":-9146951555225772032}} 
[2026-06-18 20:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":106931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346552,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:16:08] local.INFO: GPS data processed {"connection_id":106931,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:16:08] local.INFO: Acknowledgment sent {"connection_id":106931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:16:24] local.INFO: TCP Data received {"connection_id":106322,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:16:24] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:16:24] local.INFO: IMEI packet received {"connection_id":106322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":106322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:16:29] local.INFO: TCP Data received {"connection_id":106322,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:16:29] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:16:29] local.INFO: IMEI packet received {"connection_id":106322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":106322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:16:30] local.INFO: TCP Data received {"connection_id":106322,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:16:30] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:16:30] local.INFO: Packet analysis {"connection_id":106322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:16:30] local.INFO: Extracted packet for processing {"connection_id":106322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:30] 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-06-18 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:16:30] 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-06-18 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:16:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":106322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:16:30] local.INFO: GPS data processed {"connection_id":106322,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:16:30] local.INFO: Acknowledgment sent {"connection_id":106322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:16:32] local.INFO: TCP Data received {"connection_id":106932,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:16:32] local.INFO: Processing buffer {"connection_id":106932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:16:32] local.INFO: IMEI packet received {"connection_id":106932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":106932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:16:37] local.INFO: TCP Data received {"connection_id":106932,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:16:37] local.INFO: Processing buffer {"connection_id":106932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:16:37] local.INFO: IMEI packet received {"connection_id":106932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:16:37] local.INFO: IMEI acknowledgment sent {"connection_id":106932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:16:38] local.INFO: TCP Data received {"connection_id":106932,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:16:38] local.INFO: Processing buffer {"connection_id":106932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:16:38] local.INFO: Packet analysis {"connection_id":106932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:38] local.INFO: Extracted packet for processing {"connection_id":106932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:38] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:16:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:16:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:16:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:16:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:16:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:16:38] 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-06-18 20:16:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:16:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:16:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:16:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:16:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:16:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:16:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:16:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:16:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:16:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:16:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:16:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:16:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:16:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:16:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:16:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:16:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:16:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:16:38] local.INFO: DEBUG: GPS processor result {"connection_id":106932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:16:38] local.INFO: GPS data processed {"connection_id":106932,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:16:38] local.INFO: Acknowledgment sent {"connection_id":106932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:16:39] local.INFO: TCP Data received {"connection_id":106931,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31c2e0012d810c4005ed1ca0000501602a..."} 
[2026-06-18 20:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31c2e0012d810c4005ed1ca0000501602a..."} 
[2026-06-18 20:16:39] local.INFO: Processing buffer {"connection_id":106931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31c2e0012d810c4005ed1ca0000501602a..."} 
[2026-06-18 20:16:39] local.INFO: Packet analysis {"connection_id":106931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:39] local.INFO: Extracted packet for processing {"connection_id":106931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:39] local.INFO: GPS Element Parsed {"raw_longitude":763432000,"raw_latitude":99425440,"longitude_deg":76.3432,"latitude_deg":9.942544,"altitude":5,"angle":352,"satellites":42,"speed":23,"hex_longitude":"2d810c40","hex_latitude":"05ed1ca0","is_valid_coordinates":true} 
[2026-06-18 20:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139244032001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94167261044015104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9146951555225729024,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793932000,"timestamp_ms":1781793932000,"timestamp_seconds":1781793932,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31c2e0"} 
[2026-06-18 20:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:16:39] 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-06-18 20:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106931,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:16:39] 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-06-18 20:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139244032001,"66":11808,"188":206,"87":11264,"24":23,"16":94167261044015104,"45":-9146951555225729024},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-06-18 20:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139244032001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:16:39] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-18 20:16:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94167261044015104,"km_value":94167261044015.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9146951555225729024,"description":"Unknown IO ID 45"} 
[2026-06-18 20:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139244032001,"power":11808,"unknown_188":206,"unknown_87":11264,"ignition":23,"odometer":null,"unknown_45":-9146951555225729024}} 
[2026-06-18 20:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":106931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346555,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:16:39] local.INFO: GPS data processed {"connection_id":106931,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:16:39] local.INFO: Acknowledgment sent {"connection_id":106931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:16:44] local.INFO: TCP Data received {"connection_id":106933,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:16:44] local.INFO: Processing buffer {"connection_id":106933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:16:44] local.INFO: IMEI packet received {"connection_id":106933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":106933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:16:49] local.INFO: TCP Data received {"connection_id":106933,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106933,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:16:49] local.INFO: Processing buffer {"connection_id":106933,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:16:49] local.INFO: IMEI packet received {"connection_id":106933,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":106933,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:16:51] local.INFO: TCP Data received {"connection_id":106933,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:16:51] local.INFO: Processing buffer {"connection_id":106933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:16:51] local.INFO: Packet analysis {"connection_id":106933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:51] local.INFO: Extracted packet for processing {"connection_id":106933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:16:51] 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-06-18 20:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:16:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:16:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:16:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:16:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":106933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:16:51] local.INFO: GPS data processed {"connection_id":106933,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:16:51] local.INFO: Acknowledgment sent {"connection_id":106933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:16:55] local.INFO: TCP Data received {"connection_id":106933,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:16:55] local.INFO: Processing buffer {"connection_id":106933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:16:55] local.INFO: Packet analysis {"connection_id":106933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:55] local.INFO: Extracted packet for processing {"connection_id":106933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:16:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:16:55] 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-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:16:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:16:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:16:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":106933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:16:55] local.INFO: GPS data processed {"connection_id":106933,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:16:55] local.INFO: Acknowledgment sent {"connection_id":106933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:01] local.INFO: TCP Data received {"connection_id":106322,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:01] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:01] local.INFO: Packet analysis {"connection_id":106322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:17:01] local.INFO: Extracted packet for processing {"connection_id":106322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:01] 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-06-18 20:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:17:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":106322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:01] local.INFO: GPS data processed {"connection_id":106322,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:01] local.INFO: Acknowledgment sent {"connection_id":106322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:03] local.INFO: TCP Data received {"connection_id":107869,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:03] local.INFO: Processing buffer {"connection_id":107869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:03] local.INFO: IMEI packet received {"connection_id":107869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":107869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:17:04] local.INFO: TCP Data received {"connection_id":107869,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:04] local.INFO: Processing buffer {"connection_id":107869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:04] local.INFO: IMEI packet received {"connection_id":107869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":107869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:17:05] local.INFO: TCP Data received {"connection_id":107869,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:05] local.INFO: Processing buffer {"connection_id":107869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:05] local.INFO: IMEI packet received {"connection_id":107869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":107869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:17:07] local.INFO: TCP Data received {"connection_id":107869,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107869,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:07] local.INFO: Processing buffer {"connection_id":107869,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:17:07] local.INFO: IMEI packet received {"connection_id":107869,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":107869,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:17:08] local.INFO: TCP Data received {"connection_id":107869,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb32d068012d81728005ed5ea0000a003e2a..."} 
[2026-06-18 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb32d068012d81728005ed5ea0000a003e2a..."} 
[2026-06-18 20:17:08] local.INFO: Processing buffer {"connection_id":107869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb32d068012d81728005ed5ea0000a003e2a..."} 
[2026-06-18 20:17:08] local.INFO: Packet analysis {"connection_id":107869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb32"} 
[2026-06-18 20:17:08] local.INFO: Extracted packet for processing {"connection_id":107869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb32"} 
[2026-06-18 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":763458176,"raw_latitude":99442336,"longitude_deg":76.3458176,"latitude_deg":9.9442336,"altitude":10,"angle":62,"satellites":42,"speed":20,"hex_longitude":"2d817280","hex_latitude":"05ed5ea0","is_valid_coordinates":true} 
[2026-06-18 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139261952001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94169116469886976,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9124363188339898368,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781794001000,"timestamp_ms":1781794001000,"timestamp_seconds":1781794001,"priority":1,"record_length":96,"hex_timestamp":"0000019edb32d068"} 
[2026-06-18 20:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:17:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:08] 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-06-18 20:17:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:17:08] 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-06-18 20:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139261952001,"66":11830,"188":206,"87":11264,"24":20,"16":94169116469886976,"45":-9124363188339898368},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-06-18 20:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139261952001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:08] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-18 20:17:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94169116469886976,"km_value":94169116469886.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9124363188339898368,"description":"Unknown IO ID 45"} 
[2026-06-18 20:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139261952001,"power":11830,"unknown_188":206,"unknown_87":11264,"ignition":20,"odometer":null,"unknown_45":-9124363188339898368}} 
[2026-06-18 20:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":107869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346559,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:08] local.INFO: GPS data processed {"connection_id":107869,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:08] local.INFO: Acknowledgment sent {"connection_id":107869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:09] local.INFO: TCP Data received {"connection_id":107869,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb32d838012d81754005ed60f0000a00262a..."} 
[2026-06-18 20:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb32d838012d81754005ed60f0000a00262a..."} 
[2026-06-18 20:17:09] local.INFO: Processing buffer {"connection_id":107869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb32d838012d81754005ed60f0000a00262a..."} 
[2026-06-18 20:17:09] local.INFO: Packet analysis {"connection_id":107869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb32"} 
[2026-06-18 20:17:09] local.INFO: Extracted packet for processing {"connection_id":107869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb32"} 
[2026-06-18 20:17:09] local.INFO: GPS Element Parsed {"raw_longitude":763458880,"raw_latitude":99442928,"longitude_deg":76.345888,"latitude_deg":9.9442928,"altitude":10,"angle":38,"satellites":42,"speed":17,"hex_longitude":"2d817540","hex_latitude":"05ed60f0","is_valid_coordinates":true} 
[2026-06-18 20:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139264256001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94169159419559936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9119085532526239744,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781794003000,"timestamp_ms":1781794003000,"timestamp_seconds":1781794003,"priority":1,"record_length":96,"hex_timestamp":"0000019edb32d838"} 
[2026-06-18 20:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:09] 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-06-18 20: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-06-18 20:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:17:09] 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-06-18 20:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139264256001,"66":11798,"188":206,"87":11264,"24":17,"16":94169159419559936,"45":-9119085532526239744},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-06-18 20:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139264256001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:09] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-18 20:17:09] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94169159419559936,"km_value":94169159419559.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9119085532526239744,"description":"Unknown IO ID 45"} 
[2026-06-18 20:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139264256001,"power":11798,"unknown_188":206,"unknown_87":11264,"ignition":17,"odometer":null,"unknown_45":-9119085532526239744}} 
[2026-06-18 20:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":107869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346560,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:09] local.INFO: GPS data processed {"connection_id":107869,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:09] local.INFO: Acknowledgment sent {"connection_id":107869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:09] local.INFO: TCP Data received {"connection_id":106932,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:17:09] local.INFO: Processing buffer {"connection_id":106932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:17:09] local.INFO: Packet analysis {"connection_id":106932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:17:09] local.INFO: Extracted packet for processing {"connection_id":106932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:09] 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-06-18 20: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-06-18 20:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106932,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:17:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":106932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:10] local.INFO: GPS data processed {"connection_id":106932,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:10] local.INFO: Acknowledgment sent {"connection_id":106932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:27] local.INFO: TCP Data received {"connection_id":106933,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:17:27] local.INFO: Processing buffer {"connection_id":106933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:17:27] local.INFO: Packet analysis {"connection_id":106933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:17:27] local.INFO: Extracted packet for processing {"connection_id":106933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:27] 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-06-18 20:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106933,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":106933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:27] local.INFO: GPS data processed {"connection_id":106933,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:27] local.INFO: Acknowledgment sent {"connection_id":106933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:29] local.INFO: TCP Data received {"connection_id":106323,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:17:29] local.INFO: Processing buffer {"connection_id":106323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:17:29] local.INFO: IMEI packet received {"connection_id":106323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":106323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:17:32] local.INFO: TCP Data received {"connection_id":106324,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:17:32] local.INFO: Processing buffer {"connection_id":106324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:17:32] local.INFO: IMEI packet received {"connection_id":106324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":106324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:17:34] local.INFO: TCP Data received {"connection_id":106323,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:17:34] local.INFO: Processing buffer {"connection_id":106323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:17:34] local.INFO: IMEI packet received {"connection_id":106323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":106323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:17:35] local.INFO: TCP Data received {"connection_id":106323,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:35] local.INFO: Processing buffer {"connection_id":106323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:35] local.INFO: Packet analysis {"connection_id":106323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:17:35] local.INFO: Extracted packet for processing {"connection_id":106323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:35] 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-06-18 20:17:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:17:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:17:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:17:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:17:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:17:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:17:35] 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-06-18 20:17:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:17:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:17:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:17:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:17:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:17:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:17:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:17:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:17:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:17:35] local.INFO: DEBUG: GPS processor result {"connection_id":106323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:35] local.INFO: GPS data processed {"connection_id":106323,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:35] local.INFO: Acknowledgment sent {"connection_id":106323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:38] local.INFO: TCP Data received {"connection_id":106324,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:17:38] local.INFO: Processing buffer {"connection_id":106324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:17:38] local.INFO: IMEI packet received {"connection_id":106324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":106324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:17:39] local.INFO: TCP Data received {"connection_id":106323,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:39] local.INFO: Processing buffer {"connection_id":106323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:17:39] local.INFO: Packet analysis {"connection_id":106323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:17:39] local.INFO: Extracted packet for processing {"connection_id":106323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:39] 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-06-18 20:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":106323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:39] local.INFO: GPS data processed {"connection_id":106323,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:39] local.INFO: Acknowledgment sent {"connection_id":106323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:39] local.INFO: TCP Data received {"connection_id":106324,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:17:39] local.INFO: Processing buffer {"connection_id":106324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:17:39] local.INFO: Packet analysis {"connection_id":106324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:17:39] local.INFO: Extracted packet for processing {"connection_id":106324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20: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-06-18 20:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:39] 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-06-18 20:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":106324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:39] local.INFO: GPS data processed {"connection_id":106324,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:39] local.INFO: Acknowledgment sent {"connection_id":106324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:40] local.INFO: TCP Data received {"connection_id":107869,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb32dc20012d8175c005ed6290000b00112b..."} 
[2026-06-18 20:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb32dc20012d8175c005ed6290000b00112b..."} 
[2026-06-18 20:17:40] local.INFO: Processing buffer {"connection_id":107869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb32dc20012d8175c005ed6290000b00112b..."} 
[2026-06-18 20:17:40] local.INFO: Packet analysis {"connection_id":107869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb32"} 
[2026-06-18 20:17:40] local.INFO: Extracted packet for processing {"connection_id":107869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb32"} 
[2026-06-18 20:17:40] local.INFO: GPS Element Parsed {"raw_longitude":763459008,"raw_latitude":99443344,"longitude_deg":76.3459008,"latitude_deg":9.9443344,"altitude":11,"angle":17,"satellites":43,"speed":17,"hex_longitude":"2d8175c0","hex_latitude":"05ed6290","is_valid_coordinates":true} 
[2026-06-18 20:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139264768001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94169180894396416,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9118311476340133888,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781794004000,"timestamp_ms":1781794004000,"timestamp_seconds":1781794004,"priority":1,"record_length":96,"hex_timestamp":"0000019edb32dc20"} 
[2026-06-18 20:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3677492456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2165768197,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184117928141,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":141,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":237,"raw_value":5282722388677895168,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847001840,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1186726094,"corrected_to":0} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2684431745,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3825257798,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-8275927265246707712,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6281395683354607618,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-4610017742131558912,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2594079982435174912,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":33,"raw_value":57780143507003180,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":50,"raw_value":943505416884256773,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.WARNING: Large IO value detected {"io_id":7,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:40] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,188,87,24,241,157,16,142,158,208,45,128,94,10,42,66,173,192,89,41,99,1,240,228,227,141,219,237,4,113,205,22,32,15,88,38,239,46,2,78,206,11,55,33,50,7],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1186726094,"validated":0}]} 
[2026-06-18 20:17:40] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":720617902210875392,"timestamp_seconds":720617902210875.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107869,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:17:40] 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-06-18 20:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139264768001,"66":11874,"188":206,"87":11264,"24":17,"16":94169180894396416,"45":-9118311476340133888},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-06-18 20:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139264768001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:40] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-18 20:17:40] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94169180894396416,"km_value":94169180894396.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9118311476340133888,"description":"Unknown IO ID 45"} 
[2026-06-18 20:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139264768001,"power":11874,"unknown_188":206,"unknown_87":11264,"ignition":17,"odometer":null,"unknown_45":-9118311476340133888}} 
[2026-06-18 20:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":107869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:40] local.INFO: GPS data processed {"connection_id":107869,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:40] local.INFO: Acknowledgment sent {"connection_id":107869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:17:44] local.INFO: TCP Data received {"connection_id":106934,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:17:44] local.INFO: Processing buffer {"connection_id":106934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:17:44] local.INFO: IMEI packet received {"connection_id":106934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":106934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:17:49] local.INFO: TCP Data received {"connection_id":106934,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:17:49] local.INFO: Processing buffer {"connection_id":106934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:17:49] local.INFO: IMEI packet received {"connection_id":106934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":106934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:17:51] local.INFO: TCP Data received {"connection_id":106934,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:17:51] local.INFO: Processing buffer {"connection_id":106934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:17:51] local.INFO: Packet analysis {"connection_id":106934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:17:51] local.INFO: Extracted packet for processing {"connection_id":106934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:17:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:17:51] 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-06-18 20:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:17:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:17:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:17:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:17:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":106934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:17:51] local.INFO: GPS data processed {"connection_id":106934,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:17:51] local.INFO: Acknowledgment sent {"connection_id":106934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:18:00] local.INFO: TCP Data received {"connection_id":106148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:18:00] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:18:00] local.INFO: IMEI packet received {"connection_id":106148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":106148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:18:04] local.INFO: TCP Data received {"connection_id":106148,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:18:04] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:18:04] local.INFO: IMEI packet received {"connection_id":106148,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":106148,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:18:05] local.INFO: TCP Data received {"connection_id":106148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33b2f8012d81ad4005ed7a88000a00632a..."} 
[2026-06-18 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33b2f8012d81ad4005ed7a88000a00632a..."} 
[2026-06-18 20:18:05] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33b2f8012d81ad4005ed7a88000a00632a..."} 
[2026-06-18 20:18:05] local.INFO: Packet analysis {"connection_id":106148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:18:05] local.INFO: Extracted packet for processing {"connection_id":106148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763473216,"raw_latitude":99449480,"longitude_deg":76.3473216,"latitude_deg":9.944948,"altitude":10,"angle":99,"satellites":42,"speed":20,"hex_longitude":"2d81ad40","hex_latitude":"05ed7a88","is_valid_coordinates":true} 
[2026-06-18 20:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139275008001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94170181621776384,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9111767183129849856,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781794059000,"timestamp_ms":1781794059000,"timestamp_seconds":1781794059,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33b2f8"} 
[2026-06-18 20:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:18:05] 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-06-18 20:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 20:18:05] 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-06-18 20:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:18:05] 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-06-18 20:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139275008001,"66":12004,"188":206,"87":11264,"24":20,"16":94170181621776384,"45":-9111767183129849856},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-06-18 20:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139275008001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:18:05] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-18 20:18:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94170181621776384,"km_value":94170181621776.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9111767183129849856,"description":"Unknown IO ID 45"} 
[2026-06-18 20:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139275008001,"power":12004,"unknown_188":206,"unknown_87":11264,"ignition":20,"odometer":null,"unknown_45":-9111767183129849856}} 
[2026-06-18 20:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":106148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346568,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:18:05] local.INFO: GPS data processed {"connection_id":106148,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:18:05] local.INFO: Acknowledgment sent {"connection_id":106148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:18:11] local.INFO: TCP Data received {"connection_id":106324,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:18:11] local.INFO: Processing buffer {"connection_id":106324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:18:11] local.INFO: Packet analysis {"connection_id":106324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:11] local.INFO: Extracted packet for processing {"connection_id":106324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:18:11] 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-06-18 20:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106324,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:18:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":106324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346569,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:18:11] local.INFO: GPS data processed {"connection_id":106324,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:18:11] local.INFO: Acknowledgment sent {"connection_id":106324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:18:22] local.INFO: TCP Data received {"connection_id":106934,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:22] local.INFO: Processing buffer {"connection_id":106934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:22] local.INFO: Packet analysis {"connection_id":106934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:22] local.INFO: Extracted packet for processing {"connection_id":106934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:18:22] 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-06-18 20:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:18:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:18:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":106934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:18:22] local.INFO: GPS data processed {"connection_id":106934,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:18:22] local.INFO: Acknowledgment sent {"connection_id":106934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:18:24] local.INFO: TCP Data received {"connection_id":107870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:18:24] local.INFO: Processing buffer {"connection_id":107870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:18:24] local.INFO: IMEI packet received {"connection_id":107870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":107870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:18:29] local.INFO: TCP Data received {"connection_id":107870,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:18:29] local.INFO: Processing buffer {"connection_id":107870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:18:29] local.INFO: IMEI packet received {"connection_id":107870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":107870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:18:30] local.INFO: TCP Data received {"connection_id":107870,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:18:30] local.INFO: Processing buffer {"connection_id":107870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb2f6568012cc3314007685a60005a00f92e..."} 
[2026-06-18 20:18:30] local.INFO: Packet analysis {"connection_id":107870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:18:30] local.INFO: Extracted packet for processing {"connection_id":107870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb2f"} 
[2026-06-18 20:18:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":46,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139129856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:30] 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-06-18 20:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781793777000,"timestamp_ms":1781793777000,"timestamp_seconds":1781793777,"priority":1,"record_length":96,"hex_timestamp":"0000019edb2f6568"} 
[2026-06-18 20:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:18:30] 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-06-18 20:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139129856001,"66":25691,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139129856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:18:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139129856001,"power":25691,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":107870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:18:30] local.INFO: GPS data processed {"connection_id":107870,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:18:30] local.INFO: Acknowledgment sent {"connection_id":107870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:18:33] local.INFO: TCP Data received {"connection_id":106935,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:18:33] local.INFO: Processing buffer {"connection_id":106935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:18:33] local.INFO: IMEI packet received {"connection_id":106935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:18:33] local.INFO: IMEI acknowledgment sent {"connection_id":106935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:18:36] local.INFO: TCP Data received {"connection_id":106148,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33c680012d81b88005ed7a50000b005829..."} 
[2026-06-18 20:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33c680012d81b88005ed7a50000b005829..."} 
[2026-06-18 20:18:36] local.INFO: Processing buffer {"connection_id":106148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33c680012d81b88005ed7a50000b005829..."} 
[2026-06-18 20:18:36] local.INFO: Packet analysis {"connection_id":106148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:18:36] local.INFO: Extracted packet for processing {"connection_id":106148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:18:36] local.INFO: GPS Element Parsed {"raw_longitude":763476096,"raw_latitude":99449424,"longitude_deg":76.3476096,"latitude_deg":9.9449424,"altitude":11,"angle":88,"satellites":41,"speed":21,"hex_longitude":"2d81b880","hex_latitude":"05ed7a50","is_valid_coordinates":true} 
[2026-06-18 20:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139279104001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94170323355697152,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9102548877642659840,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781794064000,"timestamp_ms":1781794064000,"timestamp_seconds":1781794064,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33c680"} 
[2026-06-18 20:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:18: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-06-18 20:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 20:18:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106148,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:18:36] 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-06-18 20:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139279104001,"66":11798,"188":206,"87":11264,"24":21,"16":94170323355697152,"45":-9102548877642659840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,87,24,16,45]} 
[2026-06-18 20:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139279104001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:18:36] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-06-18 20:18:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94170323355697152,"km_value":94170323355697.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9102548877642659840,"description":"Unknown IO ID 45"} 
[2026-06-18 20:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139279104001,"power":11798,"unknown_188":206,"unknown_87":11264,"ignition":21,"odometer":null,"unknown_45":-9102548877642659840}} 
[2026-06-18 20:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":106148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:18:36] local.INFO: GPS data processed {"connection_id":106148,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:18:36] local.INFO: Acknowledgment sent {"connection_id":106148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:18:38] local.INFO: TCP Data received {"connection_id":106935,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:18:38] local.INFO: Processing buffer {"connection_id":106935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:18:38] local.INFO: IMEI packet received {"connection_id":106935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":106935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:18:39] local.INFO: TCP Data received {"connection_id":106935,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:18:39] local.INFO: Processing buffer {"connection_id":106935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:18:39] local.INFO: Packet analysis {"connection_id":106935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:39] local.INFO: Extracted packet for processing {"connection_id":106935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:18: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-06-18 20:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:18:39] 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-06-18 20:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:18:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":106935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:18:39] local.INFO: GPS data processed {"connection_id":106935,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:18:39] local.INFO: Acknowledgment sent {"connection_id":106935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:18:49] local.INFO: TCP Data received {"connection_id":106325,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:18:49] local.INFO: Processing buffer {"connection_id":106325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:18:49] local.INFO: IMEI packet received {"connection_id":106325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":106325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:18:54] local.INFO: TCP Data received {"connection_id":106325,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:18:54] local.INFO: Processing buffer {"connection_id":106325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:18:54] local.INFO: IMEI packet received {"connection_id":106325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":106325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:18:56] local.INFO: TCP Data received {"connection_id":106325,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:56] local.INFO: Processing buffer {"connection_id":106325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:56] local.INFO: Packet analysis {"connection_id":106325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:56] local.INFO: Extracted packet for processing {"connection_id":106325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:18: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-06-18 20:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:18:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:18:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":106325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:18:57] local.INFO: GPS data processed {"connection_id":106325,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:18:57] local.INFO: Acknowledgment sent {"connection_id":106325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:18:59] local.INFO: TCP Data received {"connection_id":106325,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:59] local.INFO: Processing buffer {"connection_id":106325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:18:59] local.INFO: Packet analysis {"connection_id":106325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:59] local.INFO: Extracted packet for processing {"connection_id":106325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:18:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:18: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-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:18:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":106325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:18:59] local.INFO: GPS data processed {"connection_id":106325,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:18:59] local.INFO: Acknowledgment sent {"connection_id":106325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:19:00] local.INFO: TCP Data received {"connection_id":106936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:19:00] local.INFO: Processing buffer {"connection_id":106936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:19:00] local.INFO: IMEI packet received {"connection_id":106936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":106936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:19:00] local.INFO: TCP Data received {"connection_id":107870,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:19:00] local.INFO: Processing buffer {"connection_id":107870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:19:00] local.INFO: Packet analysis {"connection_id":107870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:19:00] local.INFO: Extracted packet for processing {"connection_id":107870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:19:00] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:00] 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-06-18 20:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 20:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:19: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-06-18 20: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:19: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-06-18 20:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:19:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":107870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:19:00] local.INFO: GPS data processed {"connection_id":107870,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:19:00] local.INFO: Acknowledgment sent {"connection_id":107870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:19:05] local.INFO: TCP Data received {"connection_id":106936,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106936,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:19:05] local.INFO: Processing buffer {"connection_id":106936,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:19:05] local.INFO: IMEI packet received {"connection_id":106936,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":106936,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:19:05] local.INFO: TCP Data received {"connection_id":106936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb340cd0012d81dd0005ed7b88000d00542a..."} 
[2026-06-18 20:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb340cd0012d81dd0005ed7b88000d00542a..."} 
[2026-06-18 20:19:05] local.INFO: Processing buffer {"connection_id":106936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb340cd0012d81dd0005ed7b88000d00542a..."} 
[2026-06-18 20:19:05] local.INFO: Packet analysis {"connection_id":106936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb34"} 
[2026-06-18 20:19:05] local.INFO: Extracted packet for processing {"connection_id":106936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb34"} 
[2026-06-18 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":763485440,"raw_latitude":99449736,"longitude_deg":76.348544,"latitude_deg":9.9449736,"altitude":13,"angle":84,"satellites":42,"speed":17,"hex_longitude":"2d81dd00","hex_latitude":"05ed7b88","is_valid_coordinates":true} 
[2026-06-18 20:19: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-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139280384001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94170765737328640,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9099382284154679296,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781794082000,"timestamp_ms":1781794082000,"timestamp_seconds":1781794082,"priority":1,"record_length":96,"hex_timestamp":"0000019edb340cd0"} 
[2026-06-18 20:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:19: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":87,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3677568456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2172813317,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":12,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":142,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184148533453,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":237,"raw_value":8926134517285791232,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847001840,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1186726094,"corrected_to":0} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":69,"raw_value":2550214017,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":126,"raw_value":2147872126,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-8161929899678892032,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6281395683355066370,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":121,"raw_value":1668498560388608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":63,"raw_value":2738203966604052992,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":32,"raw_value":57780143507003180,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.WARNING: Large IO value detected {"io_id":51,"raw_value":3325909619770310661,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:05] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,188,87,24,241,157,16,143,158,178,45,64,122,10,42,66,116,128,123,12,43,142,104,1,240,22,227,219,237,4,113,205,69,126,88,39,239,47,2,78,206,121,63,32,51],"length":632,"final_offset":762,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1186726094,"validated":0}]} 
[2026-06-18 20:19:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792730467535486976,"timestamp_seconds":792730467535487.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:19:05] 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-06-18 20:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139280384001,"66":11634,"134":206,"87":11264,"24":17,"16":94170765737328640,"45":-9099382284154679296},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-06-18 20:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139280384001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:19:05] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 20:19:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94170765737328640,"km_value":94170765737328.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9099382284154679296,"description":"Unknown IO ID 45"} 
[2026-06-18 20:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139280384001,"power":11634,"unknown_134":206,"unknown_87":11264,"ignition":17,"odometer":null,"unknown_45":-9099382284154679296}} 
[2026-06-18 20:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":106936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346577,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:19:05] local.INFO: GPS data processed {"connection_id":106936,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:19:05] local.INFO: Acknowledgment sent {"connection_id":106936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:19:11] local.INFO: TCP Data received {"connection_id":106935,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:11] local.INFO: Processing buffer {"connection_id":106935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:11] local.INFO: Packet analysis {"connection_id":106935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:19:11] local.INFO: Extracted packet for processing {"connection_id":106935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:19:11] 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-06-18 20:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:19:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":106935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:19:11] local.INFO: GPS data processed {"connection_id":106935,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:19:11] local.INFO: Acknowledgment sent {"connection_id":106935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:19:24] local.INFO: TCP Data received {"connection_id":106149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:19:24] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:19:24] local.INFO: IMEI packet received {"connection_id":106149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:19:24] local.INFO: IMEI acknowledgment sent {"connection_id":106149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:19:29] local.INFO: TCP Data received {"connection_id":106149,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:19:29] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:19:29] local.INFO: IMEI packet received {"connection_id":106149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":106149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:19:30] local.INFO: TCP Data received {"connection_id":106149,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:19:30] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:19:30] local.INFO: Packet analysis {"connection_id":106149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:19:30] local.INFO: Extracted packet for processing {"connection_id":106149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:30] 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-06-18 20:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 20:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:19:30] 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-06-18 20:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:19:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":106149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:19:30] local.INFO: GPS data processed {"connection_id":106149,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:19:30] local.INFO: Acknowledgment sent {"connection_id":106149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:19:37] local.INFO: TCP Data received {"connection_id":106936,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb344f38012d81f70005ed7eb0000b00482b..."} 
[2026-06-18 20:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb344f38012d81f70005ed7eb0000b00482b..."} 
[2026-06-18 20:19:37] local.INFO: Processing buffer {"connection_id":106936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb344f38012d81f70005ed7eb0000b00482b..."} 
[2026-06-18 20:19:37] local.INFO: Packet analysis {"connection_id":106936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb34"} 
[2026-06-18 20:19:37] local.INFO: Extracted packet for processing {"connection_id":106936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb34"} 
[2026-06-18 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":763492096,"raw_latitude":99450544,"longitude_deg":76.3492096,"latitude_deg":9.9450544,"altitude":11,"angle":72,"satellites":43,"speed":20,"hex_longitude":"2d81f700","hex_latitude":"05ed7eb0","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139284992001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94171092154843136,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9089108447504660480,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781794099000,"timestamp_ms":1781794099000,"timestamp_seconds":1781794099,"priority":1,"record_length":96,"hex_timestamp":"0000019edb344f38"} 
[2026-06-18 20:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:19:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 20:19:37] 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-06-18 20: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-06-18 20:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106936,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:19:37] 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-06-18 20:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139284992001,"66":12015,"134":206,"87":11264,"24":20,"16":94171092154843136,"45":-9089108447504660480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,87,24,16,45]} 
[2026-06-18 20:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139284992001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:19:37] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 20:19:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94171092154843136,"km_value":94171092154843.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9089108447504660480,"description":"Unknown IO ID 45"} 
[2026-06-18 20:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139284992001,"power":12015,"unknown_134":206,"unknown_87":11264,"ignition":20,"odometer":null,"unknown_45":-9089108447504660480}} 
[2026-06-18 20:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":106936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346580,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:19:37] local.INFO: GPS data processed {"connection_id":106936,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:19:37] local.INFO: Acknowledgment sent {"connection_id":106936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:19:38] local.INFO: TCP Data received {"connection_id":107871,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:19:38] local.INFO: Processing buffer {"connection_id":107871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:19:38] local.INFO: IMEI packet received {"connection_id":107871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":107871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:19:43] local.INFO: TCP Data received {"connection_id":107871,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:19:43] local.INFO: Processing buffer {"connection_id":107871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:19:43] local.INFO: IMEI packet received {"connection_id":107871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":107871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:19:44] local.INFO: TCP Data received {"connection_id":106150,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:19:44] local.INFO: Processing buffer {"connection_id":106150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:19:44] local.INFO: IMEI packet received {"connection_id":106150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:19:44] local.INFO: IMEI acknowledgment sent {"connection_id":106150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:19:44] local.INFO: TCP Data received {"connection_id":107871,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:44] local.INFO: Processing buffer {"connection_id":107871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:44] local.INFO: Packet analysis {"connection_id":107871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:19:44] local.INFO: Extracted packet for processing {"connection_id":107871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:19:44] 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-06-18 20:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:19:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":107871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:19:44] local.INFO: GPS data processed {"connection_id":107871,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:19:44] local.INFO: Acknowledgment sent {"connection_id":107871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:19:49] local.INFO: TCP Data received {"connection_id":107871,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:49] local.INFO: Processing buffer {"connection_id":107871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:19:49] local.INFO: Packet analysis {"connection_id":107871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:19:49] local.INFO: Extracted packet for processing {"connection_id":107871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:19:49] 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-06-18 20:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:19:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:19:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":107871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:19:49] local.INFO: GPS data processed {"connection_id":107871,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:19:49] local.INFO: Acknowledgment sent {"connection_id":107871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:19:49] local.INFO: TCP Data received {"connection_id":106150,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106150,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:19:49] local.INFO: Processing buffer {"connection_id":106150,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:19:49] local.INFO: IMEI packet received {"connection_id":106150,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":106150,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:19:50] local.INFO: TCP Data received {"connection_id":106150,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:19:50] local.INFO: Processing buffer {"connection_id":106150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:19:50] local.INFO: Packet analysis {"connection_id":106150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:19:50] local.INFO: Extracted packet for processing {"connection_id":106150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:19:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:19:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:19:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:19:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:19:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:19:50] 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-06-18 20:19:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:19:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:19:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:19:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:19:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:19:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:19:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:19:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:19:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:19:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:19:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:19:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:19:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:19:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:19:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:19:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:19:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:19:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:19:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:19:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:19:50] local.INFO: DEBUG: GPS processor result {"connection_id":106150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:19:50] local.INFO: GPS data processed {"connection_id":106150,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:19:50] local.INFO: Acknowledgment sent {"connection_id":106150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:20:01] local.INFO: TCP Data received {"connection_id":106149,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:20:01] local.INFO: Processing buffer {"connection_id":106149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:20:01] local.INFO: Packet analysis {"connection_id":106149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:20:01] local.INFO: Extracted packet for processing {"connection_id":106149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:20:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:01] 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-06-18 20:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 20:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:20:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":106149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:20:01] local.INFO: GPS data processed {"connection_id":106149,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:20:01] local.INFO: Acknowledgment sent {"connection_id":106149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:20:05] local.INFO: TCP Data received {"connection_id":106937,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:20:05] local.INFO: Processing buffer {"connection_id":106937,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:20:05] local.INFO: IMEI packet received {"connection_id":106937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":106937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:20:06] local.INFO: TCP Data received {"connection_id":106937,"ip":"42.106.6.17","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106937,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:20:06] local.INFO: Processing buffer {"connection_id":106937,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:20:06] local.INFO: IMEI packet received {"connection_id":106937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":106937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:20:07] local.INFO: TCP Data received {"connection_id":106937,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106937,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:20:07] local.INFO: Processing buffer {"connection_id":106937,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:20:07] local.INFO: IMEI packet received {"connection_id":106937,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":106937,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:20:22] local.INFO: TCP Data received {"connection_id":106150,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:20:22] local.INFO: Processing buffer {"connection_id":106150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:20:22] local.INFO: Packet analysis {"connection_id":106150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:20:22] local.INFO: Extracted packet for processing {"connection_id":106150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:20:22] 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-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106150,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:20:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:20:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:20:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":106150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:20:22] local.INFO: GPS data processed {"connection_id":106150,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:20:22] local.INFO: Acknowledgment sent {"connection_id":106150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:20:24] local.INFO: TCP Data received {"connection_id":106151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:20:24] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:20:24] local.INFO: IMEI packet received {"connection_id":106151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":106151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:20:29] local.INFO: TCP Data received {"connection_id":106151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:20:29] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:20:29] local.INFO: IMEI packet received {"connection_id":106151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":106151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:20:30] local.INFO: TCP Data received {"connection_id":106151,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:20:30] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:20:30] local.INFO: Packet analysis {"connection_id":106151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:20:30] local.INFO: Extracted packet for processing {"connection_id":106151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:30] 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-06-18 20:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 20:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:20:30] 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-06-18 20:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:20:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":106151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:20:30] local.INFO: GPS data processed {"connection_id":106151,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:20:30] local.INFO: Acknowledgment sent {"connection_id":106151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:20:33] local.INFO: TCP Data received {"connection_id":106326,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:20:33] local.INFO: Processing buffer {"connection_id":106326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:20:33] local.INFO: IMEI packet received {"connection_id":106326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":106326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:20:38] local.INFO: TCP Data received {"connection_id":106326,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:20:38] local.INFO: Processing buffer {"connection_id":106326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:20:38] local.INFO: IMEI packet received {"connection_id":106326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":106326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:20:39] local.INFO: TCP Data received {"connection_id":106326,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:20:39] local.INFO: Processing buffer {"connection_id":106326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3197e8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:20:39] local.INFO: Packet analysis {"connection_id":106326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:20:39] local.INFO: Extracted packet for processing {"connection_id":106326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139166720001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781793921000,"timestamp_ms":1781793921000,"timestamp_seconds":1781793921,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3197e8"} 
[2026-06-18 20:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:20: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-06-18 20:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:20:39] 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-06-18 20:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139166720001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139166720001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:20:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139166720001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":106326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:20:39] local.INFO: GPS data processed {"connection_id":106326,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:20:39] local.INFO: Acknowledgment sent {"connection_id":106326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:20:44] local.INFO: TCP Data received {"connection_id":106327,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:20:44] local.INFO: Processing buffer {"connection_id":106327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:20:44] local.INFO: IMEI packet received {"connection_id":106327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":106327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:20:49] local.INFO: TCP Data received {"connection_id":106327,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:20:49] local.INFO: Processing buffer {"connection_id":106327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:20:49] local.INFO: IMEI packet received {"connection_id":106327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":106327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:20:50] local.INFO: TCP Data received {"connection_id":106327,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:20:50] local.INFO: Processing buffer {"connection_id":106327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb31bb10012d196500071fefc8004000622c..."} 
[2026-06-18 20:20:50] local.INFO: Packet analysis {"connection_id":106327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:20:50] local.INFO: Extracted packet for processing {"connection_id":106327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb31"} 
[2026-06-18 20:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139169024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781793930000,"timestamp_ms":1781793930000,"timestamp_seconds":1781793930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb31bb10"} 
[2026-06-18 20:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:20:50] 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-06-18 20:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139169024001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139169024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:20:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:20:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139169024001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":106327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:20:50] local.INFO: GPS data processed {"connection_id":106327,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:20:50] local.INFO: Acknowledgment sent {"connection_id":106327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:21:01] local.INFO: TCP Data received {"connection_id":106151,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:01] local.INFO: Processing buffer {"connection_id":106151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:01] local.INFO: Packet analysis {"connection_id":106151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:21:01] local.INFO: Extracted packet for processing {"connection_id":106151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:01] 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-06-18 20:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 20:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:21:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:21:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":106151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:21:01] local.INFO: GPS data processed {"connection_id":106151,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:21:01] local.INFO: Acknowledgment sent {"connection_id":106151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:21:11] local.INFO: TCP Data received {"connection_id":106326,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:21:11] local.INFO: Processing buffer {"connection_id":106326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:21:11] local.INFO: Packet analysis {"connection_id":106326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:21:11] local.INFO: Extracted packet for processing {"connection_id":106326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106326,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:21:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":106326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:21:11] local.INFO: GPS data processed {"connection_id":106326,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:21:11] local.INFO: Acknowledgment sent {"connection_id":106326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:21:22] local.INFO: TCP Data received {"connection_id":106327,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:21:22] local.INFO: Processing buffer {"connection_id":106327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:21:22] local.INFO: Packet analysis {"connection_id":106327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:21:22] local.INFO: Extracted packet for processing {"connection_id":106327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:21:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:21:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:21:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:21:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:21:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:21:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:21:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:21:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":106327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:21:22] local.INFO: GPS data processed {"connection_id":106327,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:21:22] local.INFO: Acknowledgment sent {"connection_id":106327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:21:29] local.INFO: TCP Data received {"connection_id":106938,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:21:29] local.INFO: Processing buffer {"connection_id":106938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:21:29] local.INFO: IMEI packet received {"connection_id":106938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":106938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:21:32] local.INFO: TCP Data received {"connection_id":106939,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:21:32] local.INFO: Processing buffer {"connection_id":106939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:21:32] local.INFO: IMEI packet received {"connection_id":106939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":106939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:21:34] local.INFO: TCP Data received {"connection_id":106938,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:21:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:21:34] local.INFO: Processing buffer {"connection_id":106938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:21:34] local.INFO: IMEI packet received {"connection_id":106938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:21:34] local.INFO: IMEI acknowledgment sent {"connection_id":106938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:21:35] local.INFO: TCP Data received {"connection_id":106938,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:35] local.INFO: Processing buffer {"connection_id":106938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:35] local.INFO: Packet analysis {"connection_id":106938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:21:35] local.INFO: Extracted packet for processing {"connection_id":106938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:35] 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-06-18 20:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 20:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:21:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:21:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:21:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":106938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:21:35] local.INFO: GPS data processed {"connection_id":106938,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:21:35] local.INFO: Acknowledgment sent {"connection_id":106938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:21:38] local.INFO: TCP Data received {"connection_id":106939,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:21:38] local.INFO: Processing buffer {"connection_id":106939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:21:38] local.INFO: IMEI packet received {"connection_id":106939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":106939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:21:39] local.INFO: TCP Data received {"connection_id":106939,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:21:39] local.INFO: Processing buffer {"connection_id":106939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:21:39] local.INFO: Packet analysis {"connection_id":106939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:21:39] local.INFO: Extracted packet for processing {"connection_id":106939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:21: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-06-18 20:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":106939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:21:39] local.INFO: GPS data processed {"connection_id":106939,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:21:39] local.INFO: Acknowledgment sent {"connection_id":106939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:21:39] local.INFO: TCP Data received {"connection_id":106938,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:39] local.INFO: Processing buffer {"connection_id":106938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:21:39] local.INFO: Packet analysis {"connection_id":106938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:21:39] local.INFO: Extracted packet for processing {"connection_id":106938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:39] 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-06-18 20:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 20:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:21:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:21:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":106938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:21:39] local.INFO: GPS data processed {"connection_id":106938,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:21:39] local.INFO: Acknowledgment sent {"connection_id":106938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:21:49] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:21:49] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:21:49] local.INFO: IMEI packet received {"connection_id":106152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":106152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:21:54] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:21:54] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:21:54] local.INFO: IMEI packet received {"connection_id":106152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":106152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:21:54] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:21:54] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:21:54] local.INFO: Packet analysis {"connection_id":106152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:21:54] local.INFO: Extracted packet for processing {"connection_id":106152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:21:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:21:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:21:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:21:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:21:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:21:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":106152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:21:55] local.INFO: GPS data processed {"connection_id":106152,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:21:55] local.INFO: Acknowledgment sent {"connection_id":106152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:22:00] local.INFO: TCP Data received {"connection_id":106152,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:22:00] local.INFO: Processing buffer {"connection_id":106152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:22:00] local.INFO: Packet analysis {"connection_id":106152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:00] local.INFO: Extracted packet for processing {"connection_id":106152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:22:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":106152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:22:00] local.INFO: GPS data processed {"connection_id":106152,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:22:00] local.INFO: Acknowledgment sent {"connection_id":106152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:22:11] local.INFO: TCP Data received {"connection_id":106939,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:11] local.INFO: Processing buffer {"connection_id":106939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:11] local.INFO: Packet analysis {"connection_id":106939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:11] local.INFO: Extracted packet for processing {"connection_id":106939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:22:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":106939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:22:11] local.INFO: GPS data processed {"connection_id":106939,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:22:11] local.INFO: Acknowledgment sent {"connection_id":106939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:22:24] local.INFO: TCP Data received {"connection_id":106330,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:22:24] local.INFO: Processing buffer {"connection_id":106330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:22:24] local.INFO: IMEI packet received {"connection_id":106330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":106330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:22:29] local.INFO: TCP Data received {"connection_id":106330,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:22:29] local.INFO: Processing buffer {"connection_id":106330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:22:29] local.INFO: IMEI packet received {"connection_id":106330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":106330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:22:30] local.INFO: TCP Data received {"connection_id":106330,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:22:30] local.INFO: Processing buffer {"connection_id":106330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:22:30] local.INFO: Packet analysis {"connection_id":106330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:22:30] local.INFO: Extracted packet for processing {"connection_id":106330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 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-06-18 20:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:30] 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-06-18 20:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 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-06-18 20:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 20:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:22:30] 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-06-18 20:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:22:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":106330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:22:30] local.INFO: GPS data processed {"connection_id":106330,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:22:30] local.INFO: Acknowledgment sent {"connection_id":106330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:22:38] local.INFO: TCP Data received {"connection_id":107872,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:22:38] local.INFO: Processing buffer {"connection_id":107872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:22:38] local.INFO: IMEI packet received {"connection_id":107872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":107872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:22:43] local.INFO: TCP Data received {"connection_id":107872,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:22:43] local.INFO: Processing buffer {"connection_id":107872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:22:43] local.INFO: IMEI packet received {"connection_id":107872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":107872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:22:44] local.INFO: TCP Data received {"connection_id":107872,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:44] local.INFO: Processing buffer {"connection_id":107872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:44] local.INFO: Packet analysis {"connection_id":107872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:44] local.INFO: Extracted packet for processing {"connection_id":107872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:22:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:22:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:22:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:22:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:22:44] local.INFO: TCP Data received {"connection_id":106331,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:22:44] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:22:44] local.INFO: IMEI packet received {"connection_id":106331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:22:44] local.INFO: IMEI acknowledgment sent {"connection_id":106331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":107872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:22:44] local.INFO: GPS data processed {"connection_id":107872,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:22:44] local.INFO: Acknowledgment sent {"connection_id":107872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:22:49] local.INFO: TCP Data received {"connection_id":107872,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:49] local.INFO: Processing buffer {"connection_id":107872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:22:49] local.INFO: Packet analysis {"connection_id":107872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:49] local.INFO: Extracted packet for processing {"connection_id":107872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:22:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:22:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":107872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:22:49] local.INFO: GPS data processed {"connection_id":107872,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:22:49] local.INFO: Acknowledgment sent {"connection_id":107872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:22:49] local.INFO: TCP Data received {"connection_id":106331,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:22:49] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:22:49] local.INFO: IMEI packet received {"connection_id":106331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":106331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:22:50] local.INFO: TCP Data received {"connection_id":106331,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:22:50] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:22:50] local.INFO: Packet analysis {"connection_id":106331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:50] local.INFO: Extracted packet for processing {"connection_id":106331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:22:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:22:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":106331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:22:50] local.INFO: GPS data processed {"connection_id":106331,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:22:50] local.INFO: Acknowledgment sent {"connection_id":106331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:23:01] local.INFO: TCP Data received {"connection_id":106330,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:23:01] local.INFO: Processing buffer {"connection_id":106330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb33fd30012cc3314007685a60005a00f92d..."} 
[2026-06-18 20:23:01] local.INFO: Packet analysis {"connection_id":106330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:23:01] local.INFO: Extracted packet for processing {"connection_id":106330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb33"} 
[2026-06-18 20:23:01] local.INFO: GPS Element Parsed {"raw_longitude":750989632,"raw_latitude":124279392,"longitude_deg":75.0989632,"latitude_deg":12.4279392,"altitude":90,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2cc33140","hex_latitude":"07685a60","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139206912001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:01] 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-06-18 20:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794078000,"timestamp_ms":1781794078000,"timestamp_seconds":1781794078,"priority":1,"record_length":96,"hex_timestamp":"0000019edb33fd30"} 
[2026-06-18 20:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 20:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1517,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:23: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-06-18 20:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139206912001,"66":25647,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139206912001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:23:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139206912001,"power":25647,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":106330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:23:01] local.INFO: GPS data processed {"connection_id":106330,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:23:01] local.INFO: Acknowledgment sent {"connection_id":106330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:23:22] local.INFO: TCP Data received {"connection_id":106940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:22] local.INFO: Processing buffer {"connection_id":106940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:22] local.INFO: IMEI packet received {"connection_id":106940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":106940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:23:24] local.INFO: TCP Data received {"connection_id":106940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:24] local.INFO: Processing buffer {"connection_id":106940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:24] local.INFO: IMEI packet received {"connection_id":106940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":106940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:23:26] local.INFO: TCP Data received {"connection_id":106331,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:23:26] local.INFO: Processing buffer {"connection_id":106331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:23:26] local.INFO: Packet analysis {"connection_id":106331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:23:26] local.INFO: Extracted packet for processing {"connection_id":106331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:23:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:23:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:23:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:23:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":106331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:23:26] local.INFO: GPS data processed {"connection_id":106331,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:23:26] local.INFO: Acknowledgment sent {"connection_id":106331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:23:29] local.INFO: TCP Data received {"connection_id":106940,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:29] local.INFO: Processing buffer {"connection_id":106940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:23:29] local.INFO: IMEI packet received {"connection_id":106940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":106940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:23:30] local.INFO: TCP Data received {"connection_id":106940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:23:30] local.INFO: Processing buffer {"connection_id":106940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:23:30] local.INFO: Packet analysis {"connection_id":106940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:23:30] local.INFO: Extracted packet for processing {"connection_id":106940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:30] 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-06-18 20:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:23:30] 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-06-18 20:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:23:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:23:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:23:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":106940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:23:30] local.INFO: GPS data processed {"connection_id":106940,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:23:30] local.INFO: Acknowledgment sent {"connection_id":106940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:23:33] local.INFO: TCP Data received {"connection_id":106941,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:23:33] local.INFO: Processing buffer {"connection_id":106941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:23:33] local.INFO: IMEI packet received {"connection_id":106941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:23:33] local.INFO: IMEI acknowledgment sent {"connection_id":106941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:23:38] local.INFO: TCP Data received {"connection_id":106941,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:23:38] local.INFO: Processing buffer {"connection_id":106941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:23:38] local.INFO: IMEI packet received {"connection_id":106941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":106941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:23:39] local.INFO: TCP Data received {"connection_id":106941,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:23:39] local.INFO: Processing buffer {"connection_id":106941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:23:39] local.INFO: Packet analysis {"connection_id":106941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:23:39] local.INFO: Extracted packet for processing {"connection_id":106941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:23:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:23: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-06-18 20:23:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:23:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:23:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":106941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:23:39] local.INFO: GPS data processed {"connection_id":106941,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:23:39] local.INFO: Acknowledgment sent {"connection_id":106941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:23:45] local.INFO: TCP Data received {"connection_id":107874,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:23:45] local.INFO: Processing buffer {"connection_id":107874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:23:45] local.INFO: IMEI packet received {"connection_id":107874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":107874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:23:50] local.INFO: TCP Data received {"connection_id":107874,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107874,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:23:50] local.INFO: Processing buffer {"connection_id":107874,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:23:50] local.INFO: IMEI packet received {"connection_id":107874,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":107874,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:23:51] local.INFO: TCP Data received {"connection_id":107874,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:23:51] local.INFO: Processing buffer {"connection_id":107874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:23:51] local.INFO: Packet analysis {"connection_id":107874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:23:51] local.INFO: Extracted packet for processing {"connection_id":107874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:23:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:23:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:23:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:23:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:23:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:23:52] local.INFO: DEBUG: GPS processor result {"connection_id":107874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:23:52] local.INFO: GPS data processed {"connection_id":107874,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:23:52] local.INFO: Acknowledgment sent {"connection_id":107874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:24:01] local.INFO: TCP Data received {"connection_id":106940,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:24:01] local.INFO: Processing buffer {"connection_id":106940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:24:01] local.INFO: Packet analysis {"connection_id":106940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:24:01] local.INFO: Extracted packet for processing {"connection_id":106940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:24:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:01] 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-06-18 20:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:24: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-06-18 20:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:24:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":106940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:24:01] local.INFO: GPS data processed {"connection_id":106940,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:24:01] local.INFO: Acknowledgment sent {"connection_id":106940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:24:11] local.INFO: TCP Data received {"connection_id":106941,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:24:11] local.INFO: Processing buffer {"connection_id":106941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:24:11] local.INFO: Packet analysis {"connection_id":106941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:24:11] local.INFO: Extracted packet for processing {"connection_id":106941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:24:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":106941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346608,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:24:11] local.INFO: GPS data processed {"connection_id":106941,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:24:11] local.INFO: Acknowledgment sent {"connection_id":106941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:24:24] local.INFO: TCP Data received {"connection_id":106332,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:24:24] local.INFO: Processing buffer {"connection_id":106332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:24:24] local.INFO: IMEI packet received {"connection_id":106332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":106332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:24:28] local.INFO: TCP Data received {"connection_id":107874,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:24:28] local.INFO: Processing buffer {"connection_id":107874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:24:28] local.INFO: Packet analysis {"connection_id":107874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:24:28] local.INFO: Extracted packet for processing {"connection_id":107874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107874,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:24:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":107874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:24:29] local.INFO: GPS data processed {"connection_id":107874,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:24:29] local.INFO: Acknowledgment sent {"connection_id":107874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:24:29] local.INFO: TCP Data received {"connection_id":106332,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:24:29] local.INFO: Processing buffer {"connection_id":106332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:24:29] local.INFO: IMEI packet received {"connection_id":106332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":106332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:24:30] local.INFO: TCP Data received {"connection_id":106332,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:24:30] local.INFO: Processing buffer {"connection_id":106332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:24:30] local.INFO: Packet analysis {"connection_id":106332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:24:30] local.INFO: Extracted packet for processing {"connection_id":106332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:30] 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-06-18 20:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:24:30] 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-06-18 20:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:24:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":106332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:24:30] local.INFO: GPS data processed {"connection_id":106332,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:24:30] local.INFO: Acknowledgment sent {"connection_id":106332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:24:33] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:24:33] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:24:33] local.INFO: IMEI packet received {"connection_id":106154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":106154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:24:38] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:24:38] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:24:38] local.INFO: IMEI packet received {"connection_id":106154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":106154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:24:39] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:24:39] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:24:39] local.INFO: Packet analysis {"connection_id":106154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:24:39] local.INFO: Extracted packet for processing {"connection_id":106154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:24:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:24: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-06-18 20:24:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:24:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:24:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":106154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:24:39] local.INFO: GPS data processed {"connection_id":106154,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:24:39] local.INFO: Acknowledgment sent {"connection_id":106154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:24:44] local.INFO: TCP Data received {"connection_id":106333,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:24:44] local.INFO: Processing buffer {"connection_id":106333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:24:44] local.INFO: IMEI packet received {"connection_id":106333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":106333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:24:49] local.INFO: TCP Data received {"connection_id":106333,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:24:49] local.INFO: Processing buffer {"connection_id":106333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:24:49] local.INFO: IMEI packet received {"connection_id":106333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":106333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:24:50] local.INFO: TCP Data received {"connection_id":106333,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:24:50] local.INFO: Processing buffer {"connection_id":106333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:24:50] local.INFO: Packet analysis {"connection_id":106333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:24:50] local.INFO: Extracted packet for processing {"connection_id":106333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:24:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:24:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:24:51] local.INFO: DEBUG: GPS processor result {"connection_id":106333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:24:51] local.INFO: GPS data processed {"connection_id":106333,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:24:51] local.INFO: Acknowledgment sent {"connection_id":106333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:25:01] local.INFO: TCP Data received {"connection_id":106332,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:25:01] local.INFO: Processing buffer {"connection_id":106332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:25:01] local.INFO: Packet analysis {"connection_id":106332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:25:01] local.INFO: Extracted packet for processing {"connection_id":106332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:25:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:01] 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-06-18 20:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:25:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:25:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":106332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:25:01] local.INFO: GPS data processed {"connection_id":106332,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:25:01] local.INFO: Acknowledgment sent {"connection_id":106332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:25:10] local.INFO: TCP Data received {"connection_id":107875,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107875,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:25:10] local.INFO: Processing buffer {"connection_id":107875,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:25:10] local.INFO: IMEI packet received {"connection_id":107875,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":107875,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:25:11] local.INFO: TCP Data received {"connection_id":106154,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:25:11] local.INFO: Processing buffer {"connection_id":106154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:25:11] local.INFO: Packet analysis {"connection_id":106154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:25:11] local.INFO: Extracted packet for processing {"connection_id":106154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106154,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:25:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":106154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:25:11] local.INFO: GPS data processed {"connection_id":106154,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:25:11] local.INFO: Acknowledgment sent {"connection_id":106154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:25:12] local.INFO: TCP Data received {"connection_id":107875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3a1b98012d84cf8005edaa30000b00742a..."} 
[2026-06-18 20:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3a1b98012d84cf8005edaa30000b00742a..."} 
[2026-06-18 20:25:12] local.INFO: Processing buffer {"connection_id":107875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3a1b98012d84cf8005edaa30000b00742a..."} 
[2026-06-18 20:25:12] local.INFO: Packet analysis {"connection_id":107875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:25:12] local.INFO: Extracted packet for processing {"connection_id":107875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:25:12] local.INFO: GPS Element Parsed {"raw_longitude":763678592,"raw_latitude":99461680,"longitude_deg":76.3678592,"latitude_deg":9.946168,"altitude":11,"angle":116,"satellites":42,"speed":29,"hex_longitude":"2d84cf80","hex_latitude":"05edaa30","is_valid_coordinates":true} 
[2026-06-18 20:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139384576001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94182963444449280,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8881591020920793088,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781794479000,"timestamp_ms":1781794479000,"timestamp_seconds":1781794479,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3a1b98"} 
[2026-06-18 20:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 20:25:12] 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-06-18 20:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:25:12] 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-06-18 20:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139384576001,"66":12037,"59":206,"87":11264,"24":29,"16":94182963444449280,"45":-8881591020920793088},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-06-18 20:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139384576001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:25:12] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-18 20:25:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94182963444449280,"km_value":94182963444449.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8881591020920793088,"description":"Unknown IO ID 45"} 
[2026-06-18 20:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139384576001,"power":12037,"unknown_59":206,"unknown_87":11264,"ignition":29,"odometer":null,"unknown_45":-8881591020920793088}} 
[2026-06-18 20:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":107875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346615,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:25:12] local.INFO: GPS data processed {"connection_id":107875,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:25:12] local.INFO: Acknowledgment sent {"connection_id":107875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:25:24] local.INFO: TCP Data received {"connection_id":106942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:25:24] local.INFO: Processing buffer {"connection_id":106942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:25:24] local.INFO: IMEI packet received {"connection_id":106942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":106942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:25:25] local.INFO: TCP Data received {"connection_id":106333,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:25:25] local.INFO: Processing buffer {"connection_id":106333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:25:25] local.INFO: Packet analysis {"connection_id":106333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:25:25] local.INFO: Extracted packet for processing {"connection_id":106333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:25:25] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:25:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:25:25] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:25:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:25:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:25:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:25:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:25:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:25:25] local.INFO: Teltonika packet parsed successfully {"connection_id":106333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:25:25] local.INFO: Passing IMEI to GPS processor {"connection_id":106333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:25:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":106333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:25:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:25:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:25:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:25:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:25:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:25:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:25:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:25:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:25:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:25:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:25:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:25:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:25:25] local.INFO: DEBUG: GPS processor result {"connection_id":106333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:25:25] local.INFO: GPS data processed {"connection_id":106333,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:25:25] local.INFO: Acknowledgment sent {"connection_id":106333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:25:29] local.INFO: TCP Data received {"connection_id":106942,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:25:29] local.INFO: Processing buffer {"connection_id":106942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:25:29] local.INFO: IMEI packet received {"connection_id":106942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":106942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:25:29] local.INFO: TCP Data received {"connection_id":106942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:25:29] local.INFO: Processing buffer {"connection_id":106942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:25:29] local.INFO: Packet analysis {"connection_id":106942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:25:29] local.INFO: Extracted packet for processing {"connection_id":106942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:25:29] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:29] 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-06-18 20:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:25:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":106942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:25:29] local.INFO: GPS data processed {"connection_id":106942,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:25:29] local.INFO: Acknowledgment sent {"connection_id":106942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:25:32] local.INFO: TCP Data received {"connection_id":107876,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:25:32] local.INFO: Processing buffer {"connection_id":107876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:25:32] local.INFO: IMEI packet received {"connection_id":107876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:25:32] local.INFO: IMEI acknowledgment sent {"connection_id":107876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:25:38] local.INFO: TCP Data received {"connection_id":107876,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:25:38] local.INFO: Processing buffer {"connection_id":107876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:25:38] local.INFO: IMEI packet received {"connection_id":107876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":107876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:25:39] local.INFO: TCP Data received {"connection_id":107876,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:25:39] local.INFO: Processing buffer {"connection_id":107876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb362fb0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:25:39] local.INFO: Packet analysis {"connection_id":107876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:25:39] local.INFO: Extracted packet for processing {"connection_id":107876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139243776001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794222000,"timestamp_ms":1781794222000,"timestamp_seconds":1781794222,"priority":1,"record_length":96,"hex_timestamp":"0000019edb362fb0"} 
[2026-06-18 20:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:25: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-06-18 20:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139243776001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139243776001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:25:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139243776001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":107876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:25:39] local.INFO: GPS data processed {"connection_id":107876,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:25:39] local.INFO: Acknowledgment sent {"connection_id":107876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:25:43] local.INFO: TCP Data received {"connection_id":107875,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3a3ec0012d84ea0005eda178000900692b..."} 
[2026-06-18 20:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3a3ec0012d84ea0005eda178000900692b..."} 
[2026-06-18 20:25:43] local.INFO: Processing buffer {"connection_id":107875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3a3ec0012d84ea0005eda178000900692b..."} 
[2026-06-18 20:25:43] local.INFO: Packet analysis {"connection_id":107875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:25:43] local.INFO: Extracted packet for processing {"connection_id":107875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:25:43] local.INFO: GPS Element Parsed {"raw_longitude":763685376,"raw_latitude":99459448,"longitude_deg":76.3685376,"latitude_deg":9.9459448,"altitude":9,"angle":105,"satellites":43,"speed":29,"hex_longitude":"2d84ea00","hex_latitude":"05eda178","is_valid_coordinates":true} 
[2026-06-18 20:25: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-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139386624001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94183307041832960,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8876735577573412864,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781794488000,"timestamp_ms":1781794488000,"timestamp_seconds":1781794488,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3a3ec0"} 
[2026-06-18 20:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2233785415343539200,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3677951456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2222194693,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3971481606,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3268206840813191192,"corrected_to":0} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3221302660,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":93,"raw_value":3221614087,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182221119684864,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2570977280,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1286894797377729751,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194786048,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:43] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,59,87,24,241,157,16,154,158,252,45,64,183,12,40,10,66,201,204,41,139,1,240,98,227,153,219,237,4,113,205,32,68,93,184,43,239,46,91,2,78,5,69],"length":484,"final_offset":614,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3268206840813191192,"validated":0}]} 
[2026-06-18 20:25:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":792761258156556288,"timestamp_seconds":792761258156556.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107875,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139386624001,"66":12037,"59":206,"87":11264,"24":29,"16":94183307041832960,"45":-8876735577573412864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-06-18 20:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139386624001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:25:43] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-06-18 20:25:43] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94183307041832960,"km_value":94183307041832.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8876735577573412864,"description":"Unknown IO ID 45"} 
[2026-06-18 20:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139386624001,"power":12037,"unknown_59":206,"unknown_87":11264,"ignition":29,"odometer":null,"unknown_45":-8876735577573412864}} 
[2026-06-18 20:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":107875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346619,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:25:43] local.INFO: GPS data processed {"connection_id":107875,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:25:43] local.INFO: Acknowledgment sent {"connection_id":107875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:25:49] local.INFO: TCP Data received {"connection_id":106155,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:25:49] local.INFO: Processing buffer {"connection_id":106155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:25:49] local.INFO: IMEI packet received {"connection_id":106155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":106155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:25:54] local.INFO: TCP Data received {"connection_id":106155,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:25:54] local.INFO: Processing buffer {"connection_id":106155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:25:54] local.INFO: IMEI packet received {"connection_id":106155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":106155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:25:55] local.INFO: TCP Data received {"connection_id":106155,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:25:55] local.INFO: Processing buffer {"connection_id":106155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:25:55] local.INFO: Packet analysis {"connection_id":106155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:25:55] local.INFO: Extracted packet for processing {"connection_id":106155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:25:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:25:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":106155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:25:55] local.INFO: GPS data processed {"connection_id":106155,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:25:55] local.INFO: Acknowledgment sent {"connection_id":106155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:00] local.INFO: TCP Data received {"connection_id":106334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:00] local.INFO: Processing buffer {"connection_id":106334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:00] local.INFO: IMEI packet received {"connection_id":106334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":106334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:26:00] local.INFO: TCP Data received {"connection_id":106155,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:26:00] local.INFO: Processing buffer {"connection_id":106155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3652d8012d196500071fefc8004000622c..."} 
[2026-06-18 20:26:00] local.INFO: Packet analysis {"connection_id":106155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:26:00] local.INFO: Extracted packet for processing {"connection_id":106155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb36"} 
[2026-06-18 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139246080001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781794231000,"timestamp_ms":1781794231000,"timestamp_seconds":1781794231,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3652d8"} 
[2026-06-18 20:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139246080001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139246080001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139246080001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:26:00] local.INFO: TCP Data received {"connection_id":106942,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:00] local.INFO: Processing buffer {"connection_id":106942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:00] local.INFO: Packet analysis {"connection_id":106942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:26:00] local.INFO: Extracted packet for processing {"connection_id":106942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:00] 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-06-18 20:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:26: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-06-18 20:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":106942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:00] local.INFO: GPS data processed {"connection_id":106942,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:00] local.INFO: Acknowledgment sent {"connection_id":106942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":106155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:00] local.INFO: GPS data processed {"connection_id":106155,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:00] local.INFO: Acknowledgment sent {"connection_id":106155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:03] local.INFO: TCP Data received {"connection_id":106334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106334,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:03] local.INFO: Processing buffer {"connection_id":106334,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:03] local.INFO: IMEI packet received {"connection_id":106334,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":106334,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:26:04] local.INFO: TCP Data received {"connection_id":106334,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3a7570012d850dc005ed9848000500692a..."} 
[2026-06-18 20:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3a7570012d850dc005ed9848000500692a..."} 
[2026-06-18 20:26:04] local.INFO: Processing buffer {"connection_id":106334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3a7570012d850dc005ed9848000500692a..."} 
[2026-06-18 20:26:04] local.INFO: Packet analysis {"connection_id":106334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:04] local.INFO: Extracted packet for processing {"connection_id":106334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763694528,"raw_latitude":99457096,"longitude_deg":76.3694528,"latitude_deg":9.9457096,"altitude":5,"angle":105,"satellites":42,"speed":30,"hex_longitude":"2d850dc0","hex_latitude":"05ed9848","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139388928001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94183758013399040,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8869276490691151872,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781794502000,"timestamp_ms":1781794502000,"timestamp_seconds":1781794502,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3a7570"} 
[2026-06-18 20:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26: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-06-18 20: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-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2233785415343539200,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3677963456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2223243269,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":237,"raw_value":3735027722,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3268206840813191192,"corrected_to":0} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3087084932,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182221119684864,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":78,"raw_value":2577596416,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-1294864057672627413,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194749952,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:04] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,59,87,24,241,157,16,155,158,27,45,128,170,11,42,10,66,154,252,64,183,12,40,201,1,240,76,227,219,237,4,113,205,30,111,116,184,239,46,91,2,78,5,69],"length":484,"final_offset":614,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3268206840813191192,"validated":0}]} 
[2026-06-18 20:26:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":648633979747762176,"timestamp_seconds":648633979747762.1,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:26:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139388928001,"66":11917,"21":206,"87":11264,"24":30,"16":94183758013399040,"45":-8869276490691151872},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-06-18 20:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139388928001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:04] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 20:26:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94183758013399040,"km_value":94183758013399.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8869276490691151872,"description":"Unknown IO ID 45"} 
[2026-06-18 20:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139388928001,"power":11917,"unknown_21":206,"unknown_87":11264,"ignition":30,"odometer":null,"unknown_45":-8869276490691151872}} 
[2026-06-18 20:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":106334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:04] local.INFO: GPS data processed {"connection_id":106334,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:04] local.INFO: Acknowledgment sent {"connection_id":106334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:11] local.INFO: TCP Data received {"connection_id":107876,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:11] local.INFO: Processing buffer {"connection_id":107876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:11] local.INFO: Packet analysis {"connection_id":107876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:11] local.INFO: Extracted packet for processing {"connection_id":107876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:11] 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-06-18 20:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:26:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":107876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:11] local.INFO: GPS data processed {"connection_id":107876,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:11] local.INFO: Acknowledgment sent {"connection_id":107876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:29] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:26:29] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:26:29] local.INFO: IMEI packet received {"connection_id":106156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":106156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:26:34] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:26:34] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:26:34] local.INFO: IMEI packet received {"connection_id":106156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":106156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:26:34] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:34] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:34] local.INFO: Packet analysis {"connection_id":106156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:26:34] local.INFO: Extracted packet for processing {"connection_id":106156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:26:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:34] 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-06-18 20:26:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:26:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:26:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:26:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:26:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:26:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:26:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:26:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:26:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:26:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:26:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:26:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:26:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:26:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:26:34] local.INFO: DEBUG: GPS processor result {"connection_id":106156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:34] local.INFO: GPS data processed {"connection_id":106156,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:34] local.INFO: Acknowledgment sent {"connection_id":106156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:35] local.INFO: TCP Data received {"connection_id":106334,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aac20012d85318005ed8be00003006d2a..."} 
[2026-06-18 20:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aac20012d85318005ed8be00003006d2a..."} 
[2026-06-18 20:26:35] local.INFO: Processing buffer {"connection_id":106334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aac20012d85318005ed8be00003006d2a..."} 
[2026-06-18 20:26:35] local.INFO: Packet analysis {"connection_id":106334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:35] local.INFO: Extracted packet for processing {"connection_id":106334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763703680,"raw_latitude":99453920,"longitude_deg":76.370368,"latitude_deg":9.945392,"altitude":3,"angle":109,"satellites":42,"speed":27,"hex_longitude":"2d853180","hex_latitude":"05ed8be0","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139392512001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94184221869867008,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8859213760274348032,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781794516000,"timestamp_ms":1781794516000,"timestamp_seconds":1781794516,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aac20"} 
[2026-06-18 20:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26: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-06-18 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:35] 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-06-18 20: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-06-18 20:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106334,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:26:35] 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-06-18 20:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139392512001,"66":11950,"21":206,"87":11264,"24":27,"16":94184221869867008,"45":-8859213760274348032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-06-18 20:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139392512001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:35] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 20:26:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94184221869867008,"km_value":94184221869867.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8859213760274348032,"description":"Unknown IO ID 45"} 
[2026-06-18 20:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139392512001,"power":11950,"unknown_21":206,"unknown_87":11264,"ignition":27,"odometer":null,"unknown_45":-8859213760274348032}} 
[2026-06-18 20:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":106334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:35] local.INFO: GPS data processed {"connection_id":106334,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:35] local.INFO: Acknowledgment sent {"connection_id":106334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:38] local.INFO: TCP Data received {"connection_id":106943,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:26:38] local.INFO: Processing buffer {"connection_id":106943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:26:38] local.INFO: IMEI packet received {"connection_id":106943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":106943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:26:39] local.INFO: TCP Data received {"connection_id":106156,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:39] local.INFO: Processing buffer {"connection_id":106156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:26:39] local.INFO: Packet analysis {"connection_id":106156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:26:39] local.INFO: Extracted packet for processing {"connection_id":106156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:26:39] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:39] 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-06-18 20:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:26:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":106156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:39] local.INFO: GPS data processed {"connection_id":106156,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:39] local.INFO: Acknowledgment sent {"connection_id":106156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:43] local.INFO: TCP Data received {"connection_id":106943,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:26:43] local.INFO: Processing buffer {"connection_id":106943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:26:43] local.INFO: IMEI packet received {"connection_id":106943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":106943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:26:44] local.INFO: TCP Data received {"connection_id":106944,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:26:44] local.INFO: Processing buffer {"connection_id":106944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:26:44] local.INFO: IMEI packet received {"connection_id":106944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":106944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:26:44] local.INFO: TCP Data received {"connection_id":106943,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:44] local.INFO: Processing buffer {"connection_id":106943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:44] local.INFO: Packet analysis {"connection_id":106943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:44] local.INFO: Extracted packet for processing {"connection_id":106943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:44] 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-06-18 20:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:26:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":106943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:44] local.INFO: GPS data processed {"connection_id":106943,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:44] local.INFO: Acknowledgment sent {"connection_id":106943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:49] local.INFO: TCP Data received {"connection_id":106943,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:49] local.INFO: Processing buffer {"connection_id":106943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:26:49] local.INFO: Packet analysis {"connection_id":106943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:49] local.INFO: Extracted packet for processing {"connection_id":106943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106943,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:26:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":106943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:49] local.INFO: GPS data processed {"connection_id":106943,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:49] local.INFO: Acknowledgment sent {"connection_id":106943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:49] local.INFO: TCP Data received {"connection_id":106944,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:26:49] local.INFO: Processing buffer {"connection_id":106944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:26:49] local.INFO: IMEI packet received {"connection_id":106944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":106944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:26:50] local.INFO: TCP Data received {"connection_id":106944,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:26:50] local.INFO: Processing buffer {"connection_id":106944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:26:50] local.INFO: Packet analysis {"connection_id":106944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:50] local.INFO: Extracted packet for processing {"connection_id":106944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:26:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:26:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":106944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:26:50] local.INFO: GPS data processed {"connection_id":106944,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:26:50] local.INFO: Acknowledgment sent {"connection_id":106944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:26:59] local.INFO: TCP Data received {"connection_id":106157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:59] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:26:59] local.INFO: IMEI packet received {"connection_id":106157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":106157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:27:05] local.INFO: TCP Data received {"connection_id":106157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:27:05] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:27:05] local.INFO: IMEI packet received {"connection_id":106157,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":106157,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:27:06] local.INFO: TCP Data received {"connection_id":106157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ae2d0012d85548005ed80780004006d2a..."} 
[2026-06-18 20:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ae2d0012d85548005ed80780004006d2a..."} 
[2026-06-18 20:27:06] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ae2d0012d85548005ed80780004006d2a..."} 
[2026-06-18 20:27:06] local.INFO: Packet analysis {"connection_id":106157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:27:06] local.INFO: Extracted packet for processing {"connection_id":106157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763712640,"raw_latitude":99451000,"longitude_deg":76.371264,"latitude_deg":9.9451,"altitude":4,"angle":109,"satellites":42,"speed":26,"hex_longitude":"2d855480","hex_latitude":"05ed8078","is_valid_coordinates":true} 
[2026-06-18 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139396096001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94184672841433088,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8849151029857755136,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781794530000,"timestamp_ms":1781794530000,"timestamp_seconds":1781794530,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ae2d0"} 
[2026-06-18 20:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 20:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:27:06] 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-06-18 20:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139396096001,"66":11721,"21":206,"87":11264,"24":26,"16":94184672841433088,"45":-8849151029857755136},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,87,24,16,45]} 
[2026-06-18 20:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139396096001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:27:06] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 20:27:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94184672841433088,"km_value":94184672841433.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8849151029857755136,"description":"Unknown IO ID 45"} 
[2026-06-18 20:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139396096001,"power":11721,"unknown_21":206,"unknown_87":11264,"ignition":26,"odometer":null,"unknown_45":-8849151029857755136}} 
[2026-06-18 20:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":106157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346631,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:27:06] local.INFO: GPS data processed {"connection_id":106157,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:27:06] local.INFO: Acknowledgment sent {"connection_id":106157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:27:22] local.INFO: TCP Data received {"connection_id":106944,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:27:22] local.INFO: Processing buffer {"connection_id":106944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:27:22] local.INFO: Packet analysis {"connection_id":106944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:27:22] local.INFO: Extracted packet for processing {"connection_id":106944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:27:22] 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-06-18 20:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:27:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:27:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:27:22] local.INFO: DEBUG: GPS processor result {"connection_id":106944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:27:22] local.INFO: GPS data processed {"connection_id":106944,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:27:22] local.INFO: Acknowledgment sent {"connection_id":106944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:27:24] local.INFO: TCP Data received {"connection_id":106158,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:27:24] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:27:24] local.INFO: IMEI packet received {"connection_id":106158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":106158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:27:29] local.INFO: TCP Data received {"connection_id":106158,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:27:29] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:27:29] local.INFO: IMEI packet received {"connection_id":106158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":106158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:27:30] local.INFO: TCP Data received {"connection_id":106158,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:27:30] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:27:30] local.INFO: Packet analysis {"connection_id":106158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:27:30] local.INFO: Extracted packet for processing {"connection_id":106158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:27:30] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:30] 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-06-18 20:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:27: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-06-18 20:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"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-06-18 20:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:27:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":106158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:27:30] local.INFO: GPS data processed {"connection_id":106158,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:27:30] local.INFO: Acknowledgment sent {"connection_id":106158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:27:33] local.INFO: TCP Data received {"connection_id":107877,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:27:33] local.INFO: Processing buffer {"connection_id":107877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:27:33] local.INFO: IMEI packet received {"connection_id":107877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:27:33] local.INFO: IMEI acknowledgment sent {"connection_id":107877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:27:37] local.INFO: TCP Data received {"connection_id":106157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3c7910012d85bfc005ed45a0000c00322a..."} 
[2026-06-18 20:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3c7910012d85bfc005ed45a0000c00322a..."} 
[2026-06-18 20:27:37] local.INFO: Processing buffer {"connection_id":106157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3c7910012d85bfc005ed45a0000c00322a..."} 
[2026-06-18 20:27:37] local.INFO: Packet analysis {"connection_id":106157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3c"} 
[2026-06-18 20:27:37] local.INFO: Extracted packet for processing {"connection_id":106157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3c"} 
[2026-06-18 20:27:37] local.INFO: GPS Element Parsed {"raw_longitude":763740096,"raw_latitude":99435936,"longitude_deg":76.3740096,"latitude_deg":9.9435936,"altitude":12,"angle":50,"satellites":42,"speed":21,"hex_longitude":"2d85bfc0","hex_latitude":"05ed45a0","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139425792001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94186283454169088,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8810026008099727360,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781794634000,"timestamp_ms":1781794634000,"timestamp_seconds":1781794634,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3c7910"} 
[2026-06-18 20:27:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:27:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":44,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-06-18 20:27:37] 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-06-18 20: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-06-18 20:27:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106157,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:27:37] 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-06-18 20:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139425792001,"66":11852,"145":206,"87":11264,"24":21,"16":94186283454169088,"45":-8810026008099727360},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,87,24,16,45]} 
[2026-06-18 20:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139425792001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:27:37] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-06-18 20:27:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94186283454169088,"km_value":94186283454169.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8810026008099727360,"description":"Unknown IO ID 45"} 
[2026-06-18 20:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139425792001,"power":11852,"unknown_145":206,"unknown_87":11264,"ignition":21,"odometer":null,"unknown_45":-8810026008099727360}} 
[2026-06-18 20:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":106157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346634,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:27:37] local.INFO: GPS data processed {"connection_id":106157,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:27:37] local.INFO: Acknowledgment sent {"connection_id":106157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:27:38] local.INFO: TCP Data received {"connection_id":107877,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:27:38] local.INFO: Processing buffer {"connection_id":107877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:27:38] local.INFO: IMEI packet received {"connection_id":107877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":107877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:27:39] local.INFO: TCP Data received {"connection_id":107877,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:27:39] local.INFO: Processing buffer {"connection_id":107877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:27:39] local.INFO: Packet analysis {"connection_id":107877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:27:39] local.INFO: Extracted packet for processing {"connection_id":107877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:27:39] 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-06-18 20:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:27:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":107877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:27:39] local.INFO: GPS data processed {"connection_id":107877,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:27:39] local.INFO: Acknowledgment sent {"connection_id":107877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:27:44] local.INFO: TCP Data received {"connection_id":107878,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:27:44] local.INFO: Processing buffer {"connection_id":107878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:27:44] local.INFO: IMEI packet received {"connection_id":107878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":107878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:27:49] local.INFO: TCP Data received {"connection_id":107878,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107878,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:27:49] local.INFO: Processing buffer {"connection_id":107878,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:27:49] local.INFO: IMEI packet received {"connection_id":107878,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":107878,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:27:50] local.INFO: TCP Data received {"connection_id":107878,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:27:50] local.INFO: Processing buffer {"connection_id":107878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:27:50] local.INFO: Packet analysis {"connection_id":107878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:27:50] local.INFO: Extracted packet for processing {"connection_id":107878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:27:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:27:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":107878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:27:50] local.INFO: GPS data processed {"connection_id":107878,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:27:50] local.INFO: Acknowledgment sent {"connection_id":107878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:28:01] local.INFO: TCP Data received {"connection_id":106158,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:28:01] local.INFO: Processing buffer {"connection_id":106158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb38e700012cc330c007685b40005b006d24..."} 
[2026-06-18 20:28:01] local.INFO: Packet analysis {"connection_id":106158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:28:01] local.INFO: Extracted packet for processing {"connection_id":106158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb38"} 
[2026-06-18 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":750989504,"raw_latitude":124279616,"longitude_deg":75.0989504,"latitude_deg":12.4279616,"altitude":91,"angle":109,"satellites":36,"speed":0,"hex_longitude":"2cc330c0","hex_latitude":"07685b40","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139283968001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381650561895079936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:01] 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-06-18 20:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794400000,"timestamp_ms":1781794400000,"timestamp_seconds":1781794400,"priority":1,"record_length":96,"hex_timestamp":"0000019edb38e700"} 
[2026-06-18 20:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":47,"data_length":795,"current_offset":136} 
[2026-06-18 20:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:28: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-06-18 20:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139283968001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381650561895079936},"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-06-18 20:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139283968001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:28:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381650561895079936,"description":"Unknown IO ID 44"} 
[2026-06-18 20:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139283968001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381650561895079936}} 
[2026-06-18 20:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":106158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:28:01] local.INFO: GPS data processed {"connection_id":106158,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:28:01] local.INFO: Acknowledgment sent {"connection_id":106158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:28:11] local.INFO: TCP Data received {"connection_id":107877,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:28:11] local.INFO: Processing buffer {"connection_id":107877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:28:11] local.INFO: Packet analysis {"connection_id":107877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:28:11] local.INFO: Extracted packet for processing {"connection_id":107877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:28:11] 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-06-18 20:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:28:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":107877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:28:11] local.INFO: GPS data processed {"connection_id":107877,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:28:11] local.INFO: Acknowledgment sent {"connection_id":107877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:28:22] local.INFO: TCP Data received {"connection_id":107878,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:28:22] local.INFO: Processing buffer {"connection_id":107878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:28:22] local.INFO: Packet analysis {"connection_id":107878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:28:22] local.INFO: Extracted packet for processing {"connection_id":107878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:28:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:28:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:28:22] 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-06-18 20:28:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:28:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107878,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:28:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:28:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:28:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:28:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":107878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:28:22] local.INFO: GPS data processed {"connection_id":107878,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:28:22] local.INFO: Acknowledgment sent {"connection_id":107878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:28:23] local.INFO: TCP Data received {"connection_id":106945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:23] local.INFO: Processing buffer {"connection_id":106945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:23] local.INFO: IMEI packet received {"connection_id":106945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":106945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:28:24] local.INFO: TCP Data received {"connection_id":106945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:24] local.INFO: Processing buffer {"connection_id":106945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:24] local.INFO: IMEI packet received {"connection_id":106945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":106945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:28:29] local.INFO: TCP Data received {"connection_id":106945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:29] local.INFO: Processing buffer {"connection_id":106945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:28:29] local.INFO: IMEI packet received {"connection_id":106945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":106945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:28:30] local.INFO: TCP Data received {"connection_id":106945,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:28:30] local.INFO: Processing buffer {"connection_id":106945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:28:30] local.INFO: Packet analysis {"connection_id":106945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:28:30] local.INFO: Extracted packet for processing {"connection_id":106945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:30] 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-06-18 20:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:28:30] 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-06-18 20: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-06-18 20:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:28:30] 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-06-18 20:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:28:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":106945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:28:30] local.INFO: GPS data processed {"connection_id":106945,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:28:30] local.INFO: Acknowledgment sent {"connection_id":106945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:28:32] local.INFO: TCP Data received {"connection_id":106335,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:28:32] local.INFO: Processing buffer {"connection_id":106335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:28:32] local.INFO: IMEI packet received {"connection_id":106335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":106335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:28:38] local.INFO: TCP Data received {"connection_id":106335,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106335,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:28:38] local.INFO: Processing buffer {"connection_id":106335,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:28:38] local.INFO: IMEI packet received {"connection_id":106335,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":106335,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:28:39] local.INFO: TCP Data received {"connection_id":106335,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:28:39] local.INFO: Processing buffer {"connection_id":106335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:28:39] local.INFO: Packet analysis {"connection_id":106335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:28:39] local.INFO: Extracted packet for processing {"connection_id":106335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:28:39] 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-06-18 20:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:28:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:28:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":106335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:28:39] local.INFO: GPS data processed {"connection_id":106335,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:28:39] local.INFO: Acknowledgment sent {"connection_id":106335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:28:49] local.INFO: TCP Data received {"connection_id":106336,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:28:49] local.INFO: Processing buffer {"connection_id":106336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:28:49] local.INFO: IMEI packet received {"connection_id":106336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":106336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:28:54] local.INFO: TCP Data received {"connection_id":106336,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:28:54] local.INFO: Processing buffer {"connection_id":106336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:28:54] local.INFO: IMEI packet received {"connection_id":106336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":106336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:28:55] local.INFO: TCP Data received {"connection_id":106336,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:28:55] local.INFO: Processing buffer {"connection_id":106336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:28:55] local.INFO: Packet analysis {"connection_id":106336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:28:55] local.INFO: Extracted packet for processing {"connection_id":106336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:28:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:28:55] 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-06-18 20:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:28:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":106336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:28:55] local.INFO: GPS data processed {"connection_id":106336,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:28:55] local.INFO: Acknowledgment sent {"connection_id":106336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:29:00] local.INFO: TCP Data received {"connection_id":106336,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:29:00] local.INFO: Processing buffer {"connection_id":106336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:29:00] local.INFO: Packet analysis {"connection_id":106336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:29:00] local.INFO: Extracted packet for processing {"connection_id":106336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:29:00] 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-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:29:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":106336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:29:00] local.INFO: GPS data processed {"connection_id":106336,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:29:00] local.INFO: Acknowledgment sent {"connection_id":106336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:29:01] local.INFO: TCP Data received {"connection_id":106945,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:29:01] local.INFO: Processing buffer {"connection_id":106945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:29:01] local.INFO: Packet analysis {"connection_id":106945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:29:01] local.INFO: Extracted packet for processing {"connection_id":106945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:01] 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-06-18 20:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:29:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:29:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":106945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:29:01] local.INFO: GPS data processed {"connection_id":106945,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:29:01] local.INFO: Acknowledgment sent {"connection_id":106945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:29:09] local.INFO: TCP Data received {"connection_id":107879,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:09] local.INFO: Processing buffer {"connection_id":107879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:09] local.INFO: IMEI packet received {"connection_id":107879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":107879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:29:10] local.INFO: TCP Data received {"connection_id":107879,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:10] local.INFO: Processing buffer {"connection_id":107879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:10] local.INFO: IMEI packet received {"connection_id":107879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":107879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:29:11] local.INFO: TCP Data received {"connection_id":106335,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:29:11] local.INFO: Processing buffer {"connection_id":106335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:29:11] local.INFO: Packet analysis {"connection_id":106335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:29:11] local.INFO: Extracted packet for processing {"connection_id":106335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:29:11] 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-06-18 20:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106335,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:29:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":106335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:29:11] local.INFO: GPS data processed {"connection_id":106335,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:29:11] local.INFO: Acknowledgment sent {"connection_id":106335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:29:16] local.INFO: TCP Data received {"connection_id":107879,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107879,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:16] local.INFO: Processing buffer {"connection_id":107879,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:29:16] local.INFO: IMEI packet received {"connection_id":107879,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":107879,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:29:17] local.INFO: TCP Data received {"connection_id":107879,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3de070012d86ac4005ee1780000f00492a..."} 
[2026-06-18 20:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3de070012d86ac4005ee1780000f00492a..."} 
[2026-06-18 20:29:17] local.INFO: Processing buffer {"connection_id":107879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3de070012d86ac4005ee1780000f00492a..."} 
[2026-06-18 20:29:17] local.INFO: Packet analysis {"connection_id":107879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:29:17] local.INFO: Extracted packet for processing {"connection_id":107879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:29:17] local.INFO: GPS Element Parsed {"raw_longitude":763800640,"raw_latitude":99489664,"longitude_deg":76.380064,"latitude_deg":9.9489664,"altitude":15,"angle":73,"satellites":42,"speed":42,"hex_longitude":"2d86ac40","hex_latitude":"05ee1780","is_valid_coordinates":true} 
[2026-06-18 20:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139448576001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94190363673100288,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8747749669489235968,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781794726000,"timestamp_ms":1781794726000,"timestamp_seconds":1781794726,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3de070"} 
[2026-06-18 20:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:29:17] 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-06-18 20:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 20:29:17] 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-06-18 20:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:29:17] 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-06-18 20:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139448576001,"66":11808,"19":206,"87":11264,"24":42,"16":94190363673100288,"45":-8747749669489235968},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,87,24,16,45]} 
[2026-06-18 20:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139448576001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:29:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-06-18 20:29:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94190363673100288,"km_value":94190363673100.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8747749669489235968,"description":"Unknown IO ID 45"} 
[2026-06-18 20:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139448576001,"power":11808,"unknown_19":206,"unknown_87":11264,"ignition":42,"odometer":null,"unknown_45":-8747749669489235968}} 
[2026-06-18 20:29:17] local.INFO: DEBUG: GPS processor result {"connection_id":107879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346646,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:29:17] local.INFO: GPS data processed {"connection_id":107879,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:29:17] local.INFO: Acknowledgment sent {"connection_id":107879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:29:18] local.INFO: TCP Data received {"connection_id":107879,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3de840012d86b50005ee18f8001000542a..."} 
[2026-06-18 20:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3de840012d86b50005ee18f8001000542a..."} 
[2026-06-18 20:29:18] local.INFO: Processing buffer {"connection_id":107879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3de840012d86b50005ee18f8001000542a..."} 
[2026-06-18 20:29:18] local.INFO: Packet analysis {"connection_id":107879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:29:18] local.INFO: Extracted packet for processing {"connection_id":107879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:29:18] local.INFO: GPS Element Parsed {"raw_longitude":763802880,"raw_latitude":99490040,"longitude_deg":76.380288,"latitude_deg":9.949004,"altitude":16,"angle":84,"satellites":42,"speed":45,"hex_longitude":"2d86b500","hex_latitude":"05ee18f8","is_valid_coordinates":true} 
[2026-06-18 20:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139449856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94190471047282688,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8742542382419443712,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781794728000,"timestamp_ms":1781794728000,"timestamp_seconds":1781794728,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3de840"} 
[2026-06-18 20:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 20:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107879,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:29:18] 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-06-18 20:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139449856001,"66":11743,"19":206,"87":11264,"24":45,"16":94190471047282688,"45":-8742542382419443712},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,87,24,16,45]} 
[2026-06-18 20:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139449856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:29:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-06-18 20:29:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-06-18 20:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94190471047282688,"km_value":94190471047282.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8742542382419443712,"description":"Unknown IO ID 45"} 
[2026-06-18 20:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139449856001,"power":11743,"unknown_19":206,"unknown_87":11264,"ignition":45,"odometer":null,"unknown_45":-8742542382419443712}} 
[2026-06-18 20:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":107879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346647,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:29:18] local.INFO: GPS data processed {"connection_id":107879,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:29:18] local.INFO: Acknowledgment sent {"connection_id":107879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:29:24] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:29:24] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:29:24] local.INFO: IMEI packet received {"connection_id":106337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":106337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:29:29] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:29:29] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:29:29] local.INFO: IMEI packet received {"connection_id":106337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":106337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:29:30] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:29:30] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:29:30] local.INFO: Packet analysis {"connection_id":106337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:29:30] local.INFO: Extracted packet for processing {"connection_id":106337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:29:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:30] 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-06-18 20:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:29:30] 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-06-18 20: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-06-18 20:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:29:30] 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-06-18 20:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:29:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":106337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:29:30] local.INFO: GPS data processed {"connection_id":106337,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:29:30] local.INFO: Acknowledgment sent {"connection_id":106337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:29:32] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:29:32] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:29:32] local.INFO: IMEI packet received {"connection_id":106159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":106159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:29:38] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:29:38] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:29:38] local.INFO: IMEI packet received {"connection_id":106159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":106159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:29:39] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:29:39] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:29:39] local.INFO: Packet analysis {"connection_id":106159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:29:39] local.INFO: Extracted packet for processing {"connection_id":106159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:29:39] 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-06-18 20:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:29:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":106159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:29:39] local.INFO: GPS data processed {"connection_id":106159,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:29:39] local.INFO: Acknowledgment sent {"connection_id":106159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:29:44] local.INFO: TCP Data received {"connection_id":106946,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:29:44] local.INFO: Processing buffer {"connection_id":106946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:29:44] local.INFO: IMEI packet received {"connection_id":106946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":106946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:29:49] local.INFO: TCP Data received {"connection_id":106946,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:29:49] local.INFO: Processing buffer {"connection_id":106946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:29:49] local.INFO: IMEI packet received {"connection_id":106946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":106946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:29:53] local.INFO: TCP Data received {"connection_id":106946,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:29:53] local.INFO: Processing buffer {"connection_id":106946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:29:53] local.INFO: Packet analysis {"connection_id":106946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:29:53] local.INFO: Extracted packet for processing {"connection_id":106946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:29:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:29:53] 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-06-18 20:29:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:29:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:29:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:29:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:29:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":106946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:29:53] local.INFO: GPS data processed {"connection_id":106946,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:29:53] local.INFO: Acknowledgment sent {"connection_id":106946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:30:01] local.INFO: TCP Data received {"connection_id":106337,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:30:01] local.INFO: Processing buffer {"connection_id":106337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:30:01] local.INFO: Packet analysis {"connection_id":106337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:30:01] local.INFO: Extracted packet for processing {"connection_id":106337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:30:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:01] 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-06-18 20:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:30:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:30:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":106337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:30:01] local.INFO: GPS data processed {"connection_id":106337,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:30:01] local.INFO: Acknowledgment sent {"connection_id":106337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:30:03] local.INFO: TCP Data received {"connection_id":107880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:03] local.INFO: Processing buffer {"connection_id":107880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:03] local.INFO: IMEI packet received {"connection_id":107880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":107880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:30:07] local.INFO: TCP Data received {"connection_id":107880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:07] local.INFO: Processing buffer {"connection_id":107880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:07] local.INFO: IMEI packet received {"connection_id":107880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":107880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:30:08] local.INFO: TCP Data received {"connection_id":107880,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107880,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:08] local.INFO: Processing buffer {"connection_id":107880,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:30:08] local.INFO: IMEI packet received {"connection_id":107880,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":107880,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:30:11] local.INFO: TCP Data received {"connection_id":106159,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:11] local.INFO: Processing buffer {"connection_id":106159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:11] local.INFO: Packet analysis {"connection_id":106159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:11] local.INFO: Extracted packet for processing {"connection_id":106159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:30:11] 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-06-18 20:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106159,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:30:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":106159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:30:11] local.INFO: GPS data processed {"connection_id":106159,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:30:11] local.INFO: Acknowledgment sent {"connection_id":106159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:30:24] local.INFO: TCP Data received {"connection_id":107881,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:30:24] local.INFO: Processing buffer {"connection_id":107881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:30:24] local.INFO: IMEI packet received {"connection_id":107881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":107881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:30:24] local.INFO: TCP Data received {"connection_id":106946,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:24] local.INFO: Processing buffer {"connection_id":106946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:24] local.INFO: Packet analysis {"connection_id":106946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:24] local.INFO: Extracted packet for processing {"connection_id":106946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:30:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:30:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:30:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:30:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:30:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:30:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:30:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:30:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:30:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:30:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:30:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:30:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:30:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:30:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:30:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:30:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:30:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:30:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:30:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:30:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:30:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:30:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:30:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:30:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:30:24] local.INFO: DEBUG: GPS processor result {"connection_id":106946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:30:24] local.INFO: GPS data processed {"connection_id":106946,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:30:24] local.INFO: Acknowledgment sent {"connection_id":106946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:30:29] local.INFO: TCP Data received {"connection_id":107881,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:30:29] local.INFO: Processing buffer {"connection_id":107881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:30:29] local.INFO: IMEI packet received {"connection_id":107881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":107881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:30:30] local.INFO: TCP Data received {"connection_id":107881,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:30:30] local.INFO: Processing buffer {"connection_id":107881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:30:30] local.INFO: Packet analysis {"connection_id":107881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:30:30] local.INFO: Extracted packet for processing {"connection_id":107881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:30:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:30] 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-06-18 20:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:30:30] 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-06-18 20: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-06-18 20:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:30:30] 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-06-18 20:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:30:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":107881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:30:30] local.INFO: GPS data processed {"connection_id":107881,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:30:30] local.INFO: Acknowledgment sent {"connection_id":107881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:30:38] local.INFO: TCP Data received {"connection_id":106338,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:30:38] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:30:38] local.INFO: IMEI packet received {"connection_id":106338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":106338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:30:43] local.INFO: TCP Data received {"connection_id":106338,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:30:43] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:30:43] local.INFO: IMEI packet received {"connection_id":106338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":106338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:30:44] local.INFO: TCP Data received {"connection_id":106339,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:30:44] local.INFO: Processing buffer {"connection_id":106339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:30:44] local.INFO: IMEI packet received {"connection_id":106339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:30:44] local.INFO: IMEI acknowledgment sent {"connection_id":106339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:30:45] local.INFO: TCP Data received {"connection_id":106338,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:45] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:45] local.INFO: Packet analysis {"connection_id":106338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:45] local.INFO: Extracted packet for processing {"connection_id":106338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:30:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:30:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":106338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:30:45] local.INFO: GPS data processed {"connection_id":106338,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:30:45] local.INFO: Acknowledgment sent {"connection_id":106338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:30:48] local.INFO: TCP Data received {"connection_id":106338,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:48] local.INFO: Processing buffer {"connection_id":106338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3ac778012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:30:48] local.INFO: Packet analysis {"connection_id":106338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:48] local.INFO: Extracted packet for processing {"connection_id":106338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139320832001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781794523000,"timestamp_ms":1781794523000,"timestamp_seconds":1781794523,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3ac778"} 
[2026-06-18 20:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:30:48] 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-06-18 20:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106338,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139320832001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139320832001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:30:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:30:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139320832001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":106338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:30:48] local.INFO: GPS data processed {"connection_id":106338,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:30:48] local.INFO: Acknowledgment sent {"connection_id":106338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:30:49] local.INFO: TCP Data received {"connection_id":106339,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106339,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:30:49] local.INFO: Processing buffer {"connection_id":106339,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:30:49] local.INFO: IMEI packet received {"connection_id":106339,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":106339,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:30:51] local.INFO: TCP Data received {"connection_id":106339,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:51] local.INFO: Processing buffer {"connection_id":106339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:51] local.INFO: Packet analysis {"connection_id":106339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:51] local.INFO: Extracted packet for processing {"connection_id":106339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:30:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:30:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:30:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:30:51] 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-06-18 20:30:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:30:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:30:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:30:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:30:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:30:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:30:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:30:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:30:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:30:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:30:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:30:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:30:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:30:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:30:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:30:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:30:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:30:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:30:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:30:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:30:51] local.INFO: DEBUG: GPS processor result {"connection_id":106339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:30:51] local.INFO: GPS data processed {"connection_id":106339,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:30:51] local.INFO: Acknowledgment sent {"connection_id":106339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:30:54] local.INFO: TCP Data received {"connection_id":106339,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:54] local.INFO: Processing buffer {"connection_id":106339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3aeaa0012d196500071fefc8004000622c..."} 
[2026-06-18 20:30:54] local.INFO: Packet analysis {"connection_id":106339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:54] local.INFO: Extracted packet for processing {"connection_id":106339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3a"} 
[2026-06-18 20:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139323136001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781794532000,"timestamp_ms":1781794532000,"timestamp_seconds":1781794532,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3aeaa0"} 
[2026-06-18 20:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:30:54] 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-06-18 20:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:30:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139323136001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139323136001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:30:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:30:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139323136001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":106339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:30:54] local.INFO: GPS data processed {"connection_id":106339,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:30:54] local.INFO: Acknowledgment sent {"connection_id":106339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:31:01] local.INFO: TCP Data received {"connection_id":107881,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:01] local.INFO: Processing buffer {"connection_id":107881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:01] local.INFO: Packet analysis {"connection_id":107881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:31:01] local.INFO: Extracted packet for processing {"connection_id":107881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:31:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:01] 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-06-18 20:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:31:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":107881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:31:01] local.INFO: GPS data processed {"connection_id":107881,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:31:01] local.INFO: Acknowledgment sent {"connection_id":107881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:31:26] local.INFO: TCP Data received {"connection_id":106339,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:31:26] local.INFO: Processing buffer {"connection_id":106339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:31:26] local.INFO: Packet analysis {"connection_id":106339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:31:26] local.INFO: Extracted packet for processing {"connection_id":106339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:31: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-06-18 20:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":106339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":106339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":106339,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:31:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":106339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:31:26] local.INFO: GPS data processed {"connection_id":106339,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:31:26] local.INFO: Acknowledgment sent {"connection_id":106339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:31:29] local.INFO: TCP Data received {"connection_id":106340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:31:29] local.INFO: Processing buffer {"connection_id":106340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:31:29] local.INFO: IMEI packet received {"connection_id":106340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":106340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:31:34] local.INFO: TCP Data received {"connection_id":106948,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:31:34] local.INFO: Processing buffer {"connection_id":106948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:31:34] local.INFO: IMEI packet received {"connection_id":106948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":106948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:31:34] local.INFO: TCP Data received {"connection_id":106340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:31:34] local.INFO: Processing buffer {"connection_id":106340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:31:34] local.INFO: IMEI packet received {"connection_id":106340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:31:34] local.INFO: IMEI acknowledgment sent {"connection_id":106340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:31:35] local.INFO: TCP Data received {"connection_id":106340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:35] local.INFO: Processing buffer {"connection_id":106340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:35] local.INFO: Packet analysis {"connection_id":106340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:31:35] local.INFO: Extracted packet for processing {"connection_id":106340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:35] 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-06-18 20:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:31: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-06-18 20:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:31:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:31:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:31:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:31:35] local.INFO: DEBUG: GPS processor result {"connection_id":106340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:31:35] local.INFO: GPS data processed {"connection_id":106340,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:31:35] local.INFO: Acknowledgment sent {"connection_id":106340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:31:38] local.INFO: TCP Data received {"connection_id":106948,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:31:38] local.INFO: Processing buffer {"connection_id":106948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:31:38] local.INFO: IMEI packet received {"connection_id":106948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":106948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:31:39] local.INFO: TCP Data received {"connection_id":106340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:39] local.INFO: Processing buffer {"connection_id":106340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:31:39] local.INFO: Packet analysis {"connection_id":106340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:31:39] local.INFO: Extracted packet for processing {"connection_id":106340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:31:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:39] 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-06-18 20:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:31:39] 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-06-18 20:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:31:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:31:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:31:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":106340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:31:39] local.INFO: GPS data processed {"connection_id":106340,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:31:39] local.INFO: Acknowledgment sent {"connection_id":106340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:31:40] local.INFO: TCP Data received {"connection_id":106948,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:31:40] local.INFO: Processing buffer {"connection_id":106948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:31:40] local.INFO: Packet analysis {"connection_id":106948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:31:40] local.INFO: Extracted packet for processing {"connection_id":106948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:31:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:31:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:31:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:31:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":106948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:31:40] local.INFO: GPS data processed {"connection_id":106948,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:31:40] local.INFO: Acknowledgment sent {"connection_id":106948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:31:44] local.INFO: TCP Data received {"connection_id":106341,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:31:44] local.INFO: Processing buffer {"connection_id":106341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:31:44] local.INFO: IMEI packet received {"connection_id":106341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:31:44] local.INFO: IMEI acknowledgment sent {"connection_id":106341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:31:49] local.INFO: TCP Data received {"connection_id":106341,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:31:49] local.INFO: Processing buffer {"connection_id":106341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:31:49] local.INFO: IMEI packet received {"connection_id":106341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":106341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:31:51] local.INFO: TCP Data received {"connection_id":106341,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:31:51] local.INFO: Processing buffer {"connection_id":106341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:31:51] local.INFO: Packet analysis {"connection_id":106341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:31:51] local.INFO: Extracted packet for processing {"connection_id":106341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:31:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:31:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:31:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:31:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:31:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:31:51] 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-06-18 20:31:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:31:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:31:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:31:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:31:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:31:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:31:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:31:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:31:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:31:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:31:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:31:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:31:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:31:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:31:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:31:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:31:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:31:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:31:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:31:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:31:51] local.INFO: DEBUG: GPS processor result {"connection_id":106341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:31:51] local.INFO: GPS data processed {"connection_id":106341,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:31:51] local.INFO: Acknowledgment sent {"connection_id":106341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:32:11] local.INFO: TCP Data received {"connection_id":106948,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:32:11] local.INFO: Processing buffer {"connection_id":106948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:32:11] local.INFO: Packet analysis {"connection_id":106948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:32:11] local.INFO: Extracted packet for processing {"connection_id":106948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106948,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:32:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:32:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":106948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:32:11] local.INFO: GPS data processed {"connection_id":106948,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:32:11] local.INFO: Acknowledgment sent {"connection_id":106948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:32:23] local.INFO: TCP Data received {"connection_id":106341,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:32:23] local.INFO: Processing buffer {"connection_id":106341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:32:23] local.INFO: Packet analysis {"connection_id":106341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:32:23] local.INFO: Extracted packet for processing {"connection_id":106341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:32:23] 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-06-18 20:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:32:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:32:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":106341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:32:23] local.INFO: GPS data processed {"connection_id":106341,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:32:23] local.INFO: Acknowledgment sent {"connection_id":106341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:32:24] local.INFO: TCP Data received {"connection_id":106949,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:32:24] local.INFO: Processing buffer {"connection_id":106949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:32:24] local.INFO: IMEI packet received {"connection_id":106949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":106949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:32:29] local.INFO: TCP Data received {"connection_id":106949,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:32:29] local.INFO: Processing buffer {"connection_id":106949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:32:29] local.INFO: IMEI packet received {"connection_id":106949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":106949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:32:30] local.INFO: TCP Data received {"connection_id":106949,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:32:30] local.INFO: Processing buffer {"connection_id":106949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:32:30] local.INFO: Packet analysis {"connection_id":106949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:32:30] local.INFO: Extracted packet for processing {"connection_id":106949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:32:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:30] 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-06-18 20:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:32:30] 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-06-18 20: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-06-18 20:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:32:30] 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-06-18 20:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:32:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":106949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:32:30] local.INFO: GPS data processed {"connection_id":106949,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:32:30] local.INFO: Acknowledgment sent {"connection_id":106949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:32:32] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:32:32] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:32:32] local.INFO: IMEI packet received {"connection_id":106161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":106161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:32:38] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:32:38] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:32:38] local.INFO: IMEI packet received {"connection_id":106161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":106161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:32:39] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:32:39] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:32:39] local.INFO: Packet analysis {"connection_id":106161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:32:39] local.INFO: Extracted packet for processing {"connection_id":106161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:32: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-06-18 20:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:32:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":106161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346668,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:32:39] local.INFO: GPS data processed {"connection_id":106161,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:32:39] local.INFO: Acknowledgment sent {"connection_id":106161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:32:49] local.INFO: TCP Data received {"connection_id":107883,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:32:49] local.INFO: Processing buffer {"connection_id":107883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:32:49] local.INFO: IMEI packet received {"connection_id":107883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":107883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:32:54] local.INFO: TCP Data received {"connection_id":107883,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:32:54] local.INFO: Processing buffer {"connection_id":107883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:32:54] local.INFO: IMEI packet received {"connection_id":107883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":107883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:32:55] local.INFO: TCP Data received {"connection_id":107883,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:32:55] local.INFO: Processing buffer {"connection_id":107883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:32:55] local.INFO: Packet analysis {"connection_id":107883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:32:55] local.INFO: Extracted packet for processing {"connection_id":107883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:32:55] 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-06-18 20:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:32:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":107883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:32:56] local.INFO: GPS data processed {"connection_id":107883,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:32:56] local.INFO: Acknowledgment sent {"connection_id":107883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:33:00] local.INFO: TCP Data received {"connection_id":107883,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:33:00] local.INFO: Processing buffer {"connection_id":107883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:33:00] local.INFO: Packet analysis {"connection_id":107883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:33:00] local.INFO: Extracted packet for processing {"connection_id":107883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:33:00] 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-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:33:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":107883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:33:00] local.INFO: GPS data processed {"connection_id":107883,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:33:00] local.INFO: Acknowledgment sent {"connection_id":107883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:33:01] local.INFO: TCP Data received {"connection_id":106949,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:33:01] local.INFO: Processing buffer {"connection_id":106949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3d3490012cc3308007685ac8005c006d2c..."} 
[2026-06-18 20:33:01] local.INFO: Packet analysis {"connection_id":106949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:33:01] local.INFO: Extracted packet for processing {"connection_id":106949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3d"} 
[2026-06-18 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139366400001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381791299383377920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:01] 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-06-18 20:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794682000,"timestamp_ms":1781794682000,"timestamp_seconds":1781794682,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3d3490"} 
[2026-06-18 20:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 20:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139366400001,"66":25625,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381791299383377920},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139366400001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:33:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:33:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381791299383377920,"description":"Unknown IO ID 44"} 
[2026-06-18 20:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139366400001,"power":25625,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381791299383377920}} 
[2026-06-18 20:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":106949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:33:01] local.INFO: GPS data processed {"connection_id":106949,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:33:01] local.INFO: Acknowledgment sent {"connection_id":106949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:33:11] local.INFO: TCP Data received {"connection_id":106161,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:33:11] local.INFO: Processing buffer {"connection_id":106161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:33:11] local.INFO: Packet analysis {"connection_id":106161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:33:11] local.INFO: Extracted packet for processing {"connection_id":106161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106161,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:33:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":106161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:33:11] local.INFO: GPS data processed {"connection_id":106161,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:33:11] local.INFO: Acknowledgment sent {"connection_id":106161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:33:24] local.INFO: TCP Data received {"connection_id":106951,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:24] local.INFO: Processing buffer {"connection_id":106951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:24] local.INFO: IMEI packet received {"connection_id":106951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":106951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:33:24] local.INFO: TCP Data received {"connection_id":106951,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:24] local.INFO: Processing buffer {"connection_id":106951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:24] local.INFO: IMEI packet received {"connection_id":106951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:33:24] local.INFO: IMEI acknowledgment sent {"connection_id":106951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:33:29] local.INFO: TCP Data received {"connection_id":106951,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:29] local.INFO: Processing buffer {"connection_id":106951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:33:29] local.INFO: IMEI packet received {"connection_id":106951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":106951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:33:30] local.INFO: TCP Data received {"connection_id":106951,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:33:30] local.INFO: Processing buffer {"connection_id":106951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:33:30] local.INFO: Packet analysis {"connection_id":106951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:33:30] local.INFO: Extracted packet for processing {"connection_id":106951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:33:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:30] 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-06-18 20:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:33:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:33:30] 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-06-18 20:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:33:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:33:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:33:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":106951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:33:30] local.INFO: GPS data processed {"connection_id":106951,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:33:30] local.INFO: Acknowledgment sent {"connection_id":106951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:33:32] local.INFO: TCP Data received {"connection_id":106162,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:33:32] local.INFO: Processing buffer {"connection_id":106162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:33:32] local.INFO: IMEI packet received {"connection_id":106162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:33:32] local.INFO: IMEI acknowledgment sent {"connection_id":106162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:33:38] local.INFO: TCP Data received {"connection_id":106162,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:33:38] local.INFO: Processing buffer {"connection_id":106162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:33:38] local.INFO: IMEI packet received {"connection_id":106162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":106162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:33:39] local.INFO: TCP Data received {"connection_id":106162,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:33:39] local.INFO: Processing buffer {"connection_id":106162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:33:39] local.INFO: Packet analysis {"connection_id":106162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:33:39] local.INFO: Extracted packet for processing {"connection_id":106162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:33: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-06-18 20:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:33:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:33:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:33:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":106162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:33:39] local.INFO: GPS data processed {"connection_id":106162,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:33:39] local.INFO: Acknowledgment sent {"connection_id":106162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:33:44] local.INFO: TCP Data received {"connection_id":107884,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:33:44] local.INFO: Processing buffer {"connection_id":107884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:33:44] local.INFO: IMEI packet received {"connection_id":107884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":107884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:33:49] local.INFO: TCP Data received {"connection_id":107884,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:33:49] local.INFO: Processing buffer {"connection_id":107884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:33:49] local.INFO: IMEI packet received {"connection_id":107884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":107884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:33:50] local.INFO: TCP Data received {"connection_id":107884,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:33:50] local.INFO: Processing buffer {"connection_id":107884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:33:50] local.INFO: Packet analysis {"connection_id":107884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:33:50] local.INFO: Extracted packet for processing {"connection_id":107884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:33:50] 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-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:33:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:33:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:33:51] local.INFO: DEBUG: GPS processor result {"connection_id":107884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346675,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:33:51] local.INFO: GPS data processed {"connection_id":107884,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:33:51] local.INFO: Acknowledgment sent {"connection_id":107884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:34:01] local.INFO: TCP Data received {"connection_id":106951,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:34:01] local.INFO: Processing buffer {"connection_id":106951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:34:01] local.INFO: Packet analysis {"connection_id":106951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:34:01] local.INFO: Extracted packet for processing {"connection_id":106951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:34:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:01] 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-06-18 20:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:34:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":106951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:34:01] local.INFO: GPS data processed {"connection_id":106951,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:34:01] local.INFO: Acknowledgment sent {"connection_id":106951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:34:11] local.INFO: TCP Data received {"connection_id":106162,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:11] local.INFO: Processing buffer {"connection_id":106162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:11] local.INFO: Packet analysis {"connection_id":106162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:11] local.INFO: Extracted packet for processing {"connection_id":106162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106162,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:34:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:34:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":106162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:34:11] local.INFO: GPS data processed {"connection_id":106162,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:34:11] local.INFO: Acknowledgment sent {"connection_id":106162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:34:22] local.INFO: TCP Data received {"connection_id":107884,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:34:22] local.INFO: Processing buffer {"connection_id":107884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:34:22] local.INFO: Packet analysis {"connection_id":107884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:22] local.INFO: Extracted packet for processing {"connection_id":107884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17408,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:34:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:34:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":107884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:34:22] local.INFO: GPS data processed {"connection_id":107884,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:34:22] local.INFO: Acknowledgment sent {"connection_id":107884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:34:24] local.INFO: TCP Data received {"connection_id":106342,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:34:24] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:34:24] local.INFO: IMEI packet received {"connection_id":106342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":106342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:34:29] local.INFO: TCP Data received {"connection_id":106342,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:34:29] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:34:29] local.INFO: IMEI packet received {"connection_id":106342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":106342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:34:30] local.INFO: TCP Data received {"connection_id":106342,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:34:30] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:34:30] local.INFO: Packet analysis {"connection_id":106342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:34:30] local.INFO: Extracted packet for processing {"connection_id":106342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:34:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:30] 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-06-18 20:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:34: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-06-18 20:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:34:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:34:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":106342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:34:30] local.INFO: GPS data processed {"connection_id":106342,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:34:30] local.INFO: Acknowledgment sent {"connection_id":106342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:34:38] local.INFO: TCP Data received {"connection_id":106343,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:34:38] local.INFO: Processing buffer {"connection_id":106343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:34:38] local.INFO: IMEI packet received {"connection_id":106343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":106343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:34:43] local.INFO: TCP Data received {"connection_id":106343,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:34:43] local.INFO: Processing buffer {"connection_id":106343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:34:43] local.INFO: IMEI packet received {"connection_id":106343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":106343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:34:44] local.INFO: TCP Data received {"connection_id":106953,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:34:44] local.INFO: Processing buffer {"connection_id":106953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:34:44] local.INFO: IMEI packet received {"connection_id":106953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:34:44] local.INFO: IMEI acknowledgment sent {"connection_id":106953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:34:44] local.INFO: TCP Data received {"connection_id":106343,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:44] local.INFO: Processing buffer {"connection_id":106343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:44] local.INFO: Packet analysis {"connection_id":106343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:44] local.INFO: Extracted packet for processing {"connection_id":106343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:34:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:34:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":106343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:34:44] local.INFO: GPS data processed {"connection_id":106343,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:34:44] local.INFO: Acknowledgment sent {"connection_id":106343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:34:49] local.INFO: TCP Data received {"connection_id":106343,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:49] local.INFO: Processing buffer {"connection_id":106343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:34:49] local.INFO: Packet analysis {"connection_id":106343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:49] local.INFO: Extracted packet for processing {"connection_id":106343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106343,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:34:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:34:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":106343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:34:49] local.INFO: GPS data processed {"connection_id":106343,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:34:49] local.INFO: Acknowledgment sent {"connection_id":106343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:34:49] local.INFO: TCP Data received {"connection_id":106953,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:34:49] local.INFO: Processing buffer {"connection_id":106953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:34:49] local.INFO: IMEI packet received {"connection_id":106953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":106953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:34:50] local.INFO: TCP Data received {"connection_id":106953,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:34:50] local.INFO: Processing buffer {"connection_id":106953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:34:50] local.INFO: Packet analysis {"connection_id":106953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:50] local.INFO: Extracted packet for processing {"connection_id":106953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:34:50] 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-06-18 20:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:34:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:34:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":106953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:34:51] local.INFO: GPS data processed {"connection_id":106953,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:34:51] local.INFO: Acknowledgment sent {"connection_id":106953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:01] local.INFO: TCP Data received {"connection_id":106342,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:35:01] local.INFO: Processing buffer {"connection_id":106342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:35:01] local.INFO: Packet analysis {"connection_id":106342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:35:01] local.INFO: Extracted packet for processing {"connection_id":106342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:35:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:01] 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-06-18 20:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:35:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":106342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:35:01] local.INFO: GPS data processed {"connection_id":106342,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:35:01] local.INFO: Acknowledgment sent {"connection_id":106342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:12] local.INFO: TCP Data received {"connection_id":106344,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106344,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:35:12] local.INFO: Processing buffer {"connection_id":106344,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:35:12] local.INFO: IMEI packet received {"connection_id":106344,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":106344,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:35:13] local.INFO: TCP Data received {"connection_id":106344,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb42f538012d8a788005ef9028000e001b2a..."} 
[2026-06-18 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb42f538012d8a788005ef9028000e001b2a..."} 
[2026-06-18 20:35:13] local.INFO: Processing buffer {"connection_id":106344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb42f538012d8a788005ef9028000e001b2a..."} 
[2026-06-18 20:35:13] local.INFO: Packet analysis {"connection_id":106344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb42"} 
[2026-06-18 20:35:13] local.INFO: Extracted packet for processing {"connection_id":106344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb42"} 
[2026-06-18 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":764049536,"raw_latitude":99586088,"longitude_deg":76.4049536,"latitude_deg":9.9586088,"altitude":14,"angle":27,"satellites":42,"speed":35,"hex_longitude":"2d8a7880","hex_latitude":"05ef9028","is_valid_coordinates":true} 
[2026-06-18 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139534336001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94206100433272832,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8470004236195338240,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781795059000,"timestamp_ms":1781795059000,"timestamp_seconds":1781795059,"priority":1,"record_length":96,"hex_timestamp":"0000019edb42f538"} 
[2026-06-18 20:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 20:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106344,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:35:13] 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-06-18 20:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139534336001,"66":11852,"209":206,"88":20224,"24":35,"16":94206100433272832,"45":-8470004236195338240},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,88,24,16,45]} 
[2026-06-18 20:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139534336001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:35:13] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-06-18 20:35:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94206100433272832,"km_value":94206100433272.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8470004236195338240,"description":"Unknown IO ID 45"} 
[2026-06-18 20:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139534336001,"power":11852,"unknown_209":206,"unknown_88":20224,"ignition":35,"odometer":null,"unknown_45":-8470004236195338240}} 
[2026-06-18 20:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":106344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346684,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:35:13] local.INFO: GPS data processed {"connection_id":106344,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:35:13] local.INFO: Acknowledgment sent {"connection_id":106344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:24] local.INFO: TCP Data received {"connection_id":106163,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:35:24] local.INFO: Processing buffer {"connection_id":106163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:35:24] local.INFO: IMEI packet received {"connection_id":106163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":106163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:35:27] local.INFO: TCP Data received {"connection_id":106953,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:27] local.INFO: Processing buffer {"connection_id":106953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:27] local.INFO: Packet analysis {"connection_id":106953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:27] local.INFO: Extracted packet for processing {"connection_id":106953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:35:27] 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-06-18 20:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:35:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":106953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:35:27] local.INFO: GPS data processed {"connection_id":106953,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:35:27] local.INFO: Acknowledgment sent {"connection_id":106953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:29] local.INFO: TCP Data received {"connection_id":106163,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:35:29] local.INFO: Processing buffer {"connection_id":106163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:35:29] local.INFO: IMEI packet received {"connection_id":106163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":106163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:35:30] local.INFO: TCP Data received {"connection_id":106163,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:35:30] local.INFO: Processing buffer {"connection_id":106163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:35:30] local.INFO: Packet analysis {"connection_id":106163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:35:30] local.INFO: Extracted packet for processing {"connection_id":106163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:35:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:30] 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-06-18 20:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:35: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-06-18 20:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:35:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":106163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:35:30] local.INFO: GPS data processed {"connection_id":106163,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:35:30] local.INFO: Acknowledgment sent {"connection_id":106163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:36] local.INFO: TCP Data received {"connection_id":106954,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:35:36] local.INFO: Processing buffer {"connection_id":106954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:35:36] local.INFO: IMEI packet received {"connection_id":106954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":106954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:35:38] local.INFO: TCP Data received {"connection_id":106954,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:35:38] local.INFO: Processing buffer {"connection_id":106954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:35:38] local.INFO: IMEI packet received {"connection_id":106954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":106954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:35:42] local.INFO: TCP Data received {"connection_id":106954,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:35:42] local.INFO: Processing buffer {"connection_id":106954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:35:42] local.INFO: Packet analysis {"connection_id":106954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:42] local.INFO: Extracted packet for processing {"connection_id":106954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:35:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:35:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":106954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:35:42] local.INFO: GPS data processed {"connection_id":106954,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:35:42] local.INFO: Acknowledgment sent {"connection_id":106954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:50] local.INFO: TCP Data received {"connection_id":107885,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:35:50] local.INFO: Processing buffer {"connection_id":107885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:35:50] local.INFO: IMEI packet received {"connection_id":107885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":107885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:35:51] local.INFO: TCP Data received {"connection_id":107885,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107885,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:35:51] local.INFO: Processing buffer {"connection_id":107885,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:35:51] local.INFO: IMEI packet received {"connection_id":107885,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":107885,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:35:52] local.INFO: TCP Data received {"connection_id":107885,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:52] local.INFO: Processing buffer {"connection_id":107885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:52] local.INFO: Packet analysis {"connection_id":107885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:52] local.INFO: Extracted packet for processing {"connection_id":107885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:52] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:35:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:35:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:35:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:35:52] 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-06-18 20:35:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:35:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:35:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:35:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:35:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:35:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:35:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:35:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:35:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:35:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:35:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:35:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:35:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:35:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:35:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:35:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:35:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:35:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:35:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:35:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:35:52] local.INFO: DEBUG: GPS processor result {"connection_id":107885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:35:52] local.INFO: GPS data processed {"connection_id":107885,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:35:52] local.INFO: Acknowledgment sent {"connection_id":107885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:54] local.INFO: TCP Data received {"connection_id":107885,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:54] local.INFO: Processing buffer {"connection_id":107885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f8268012d196500071fefc80040006228..."} 
[2026-06-18 20:35:54] local.INFO: Packet analysis {"connection_id":107885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:54] local.INFO: Extracted packet for processing {"connection_id":107885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139400192001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781794833000,"timestamp_ms":1781794833000,"timestamp_seconds":1781794833,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f8268"} 
[2026-06-18 20:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:35:54] 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-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":107885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":107885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":107885,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139400192001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139400192001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:35:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:35:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139400192001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":107885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:35:54] local.INFO: GPS data processed {"connection_id":107885,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:35:54] local.INFO: Acknowledgment sent {"connection_id":107885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:57] local.INFO: TCP Data received {"connection_id":106954,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:35:57] local.INFO: Processing buffer {"connection_id":106954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb3f5f40012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:35:57] local.INFO: Packet analysis {"connection_id":106954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:57] local.INFO: Extracted packet for processing {"connection_id":106954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb3f"} 
[2026-06-18 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139397888001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781794824000,"timestamp_ms":1781794824000,"timestamp_seconds":1781794824,"priority":1,"record_length":96,"hex_timestamp":"0000019edb3f5f40"} 
[2026-06-18 20:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:35: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-06-18 20:35:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139397888001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139397888001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:35:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:35:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139397888001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":106954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:35:57] local.INFO: GPS data processed {"connection_id":106954,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:35:57] local.INFO: Acknowledgment sent {"connection_id":106954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:35:59] local.INFO: TCP Data received {"connection_id":107886,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:35:59] local.INFO: Processing buffer {"connection_id":107886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:35:59] local.INFO: IMEI packet received {"connection_id":107886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":107886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:36:01] local.INFO: TCP Data received {"connection_id":106163,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:36:01] local.INFO: Processing buffer {"connection_id":106163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:36:01] local.INFO: Packet analysis {"connection_id":106163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:36:01] local.INFO: Extracted packet for processing {"connection_id":106163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 20:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:01] 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-06-18 20:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 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-06-18 20:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 20:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:36: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-06-18 20:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:36:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":106163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:36:01] local.INFO: GPS data processed {"connection_id":106163,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:36:01] local.INFO: Acknowledgment sent {"connection_id":106163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:36:03] local.INFO: TCP Data received {"connection_id":107886,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:36:03] local.INFO: Processing buffer {"connection_id":107886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:36:03] local.INFO: IMEI packet received {"connection_id":107886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":107886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:36:04] local.INFO: TCP Data received {"connection_id":107886,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107886,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:36:04] local.INFO: Processing buffer {"connection_id":107886,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:36:04] local.INFO: IMEI packet received {"connection_id":107886,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":107886,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:36:06] local.INFO: TCP Data received {"connection_id":107886,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43fed8012d8b014005f094b80010004a2a..."} 
[2026-06-18 20:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43fed8012d8b014005f094b80010004a2a..."} 
[2026-06-18 20:36:06] local.INFO: Processing buffer {"connection_id":107886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43fed8012d8b014005f094b80010004a2a..."} 
[2026-06-18 20:36:06] local.INFO: Packet analysis {"connection_id":107886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:36:06] local.INFO: Extracted packet for processing {"connection_id":107886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":764084544,"raw_latitude":99652792,"longitude_deg":76.4084544,"latitude_deg":9.9652792,"altitude":16,"angle":74,"satellites":42,"speed":46,"hex_longitude":"2d8b0140","hex_latitude":"05f094b8","is_valid_coordinates":true} 
[2026-06-18 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139551488001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94209892889395200,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8435171707810070528,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781795127000,"timestamp_ms":1781795127000,"timestamp_seconds":1781795127,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43fed8"} 
[2026-06-18 20:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 20:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:36:06] 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-06-18 20:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139551488001,"66":11895,"164":206,"88":20224,"24":46,"16":94209892889395200,"45":-8435171707810070528},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,88,24,16,45]} 
[2026-06-18 20:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139551488001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:36:06] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-06-18 20:36:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94209892889395200,"km_value":94209892889395.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8435171707810070528,"description":"Unknown IO ID 45"} 
[2026-06-18 20:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139551488001,"power":11895,"unknown_164":206,"unknown_88":20224,"ignition":46,"odometer":null,"unknown_45":-8435171707810070528}} 
[2026-06-18 20:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":107886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346692,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:36:06] local.INFO: GPS data processed {"connection_id":107886,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:36:06] local.INFO: Acknowledgment sent {"connection_id":107886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:36:24] local.INFO: TCP Data received {"connection_id":106345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:36:24] local.INFO: Processing buffer {"connection_id":106345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:36:24] local.INFO: IMEI packet received {"connection_id":106345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":106345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:36:29] local.INFO: TCP Data received {"connection_id":106345,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:36:29] local.INFO: Processing buffer {"connection_id":106345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:36:29] local.INFO: IMEI packet received {"connection_id":106345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":106345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:36:30] local.INFO: TCP Data received {"connection_id":106345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:36:30] local.INFO: Processing buffer {"connection_id":106345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:36:30] local.INFO: Packet analysis {"connection_id":106345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:36:30] local.INFO: Extracted packet for processing {"connection_id":106345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:30] 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-06-18 20:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:36:30] 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-06-18 20:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:36:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":106345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:36:30] local.INFO: GPS data processed {"connection_id":106345,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:36:30] local.INFO: Acknowledgment sent {"connection_id":106345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:36:32] local.INFO: TCP Data received {"connection_id":106955,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:36:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:36:33] local.INFO: Processing buffer {"connection_id":106955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:36:33] local.INFO: IMEI packet received {"connection_id":106955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:36:33] local.INFO: IMEI acknowledgment sent {"connection_id":106955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:36:37] local.INFO: TCP Data received {"connection_id":107886,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb44f4f0012d8c230005f06cf0001b005e29..."} 
[2026-06-18 20:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb44f4f0012d8c230005f06cf0001b005e29..."} 
[2026-06-18 20:36:37] local.INFO: Processing buffer {"connection_id":107886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb44f4f0012d8c230005f06cf0001b005e29..."} 
[2026-06-18 20:36:37] local.INFO: Packet analysis {"connection_id":107886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:36:37] local.INFO: Extracted packet for processing {"connection_id":107886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:36:37] local.INFO: GPS Element Parsed {"raw_longitude":764158720,"raw_latitude":99642608,"longitude_deg":76.415872,"latitude_deg":9.9642608,"altitude":27,"angle":94,"satellites":41,"speed":41,"hex_longitude":"2d8c2300","hex_latitude":"05f06cf0","is_valid_coordinates":true} 
[2026-06-18 20:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139567104001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94213672460615680,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8356640189309470720,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781795190000,"timestamp_ms":1781795190000,"timestamp_seconds":1781795190,"priority":1,"record_length":96,"hex_timestamp":"0000019edb44f4f0"} 
[2026-06-18 20:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:36:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3678696456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":240,"raw_value":2824339476,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":873791694,"corrected_to":0} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":149,"raw_value":3221614764,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2919288116,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3038052352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:37] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,21,88,24,241,157,16,182,158,190,45,128,25,40,10,66,174,138,23,39,181,143,1,240,141,227,219,4,113,205,116,149,41,239,46,2,78],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":873791694,"validated":0}]} 
[2026-06-18 20:36:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017733746848104448,"timestamp_seconds":2017733746848104.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107886,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:36:37] 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-06-18 20:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139567104001,"66":12026,"21":206,"88":20224,"24":41,"16":94213672460615680,"45":-8356640189309470720},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,88,24,16,45]} 
[2026-06-18 20:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139567104001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:36:37] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 20:36:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94213672460615680,"km_value":94213672460615.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8356640189309470720,"description":"Unknown IO ID 45"} 
[2026-06-18 20:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139567104001,"power":12026,"unknown_21":206,"unknown_88":20224,"ignition":41,"odometer":null,"unknown_45":-8356640189309470720}} 
[2026-06-18 20:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":107886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:36:37] local.INFO: GPS data processed {"connection_id":107886,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:36:37] local.INFO: Acknowledgment sent {"connection_id":107886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:36:38] local.INFO: TCP Data received {"connection_id":106955,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:36:38] local.INFO: Processing buffer {"connection_id":106955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:36:38] local.INFO: IMEI packet received {"connection_id":106955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":106955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:36:40] local.INFO: TCP Data received {"connection_id":106955,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:36:40] local.INFO: Processing buffer {"connection_id":106955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:36:40] local.INFO: Packet analysis {"connection_id":106955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:36:40] local.INFO: Extracted packet for processing {"connection_id":106955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:36:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:36:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":106955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:36:40] local.INFO: GPS data processed {"connection_id":106955,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:36:40] local.INFO: Acknowledgment sent {"connection_id":106955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:36:44] local.INFO: TCP Data received {"connection_id":107887,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:36:44] local.INFO: Processing buffer {"connection_id":107887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:36:44] local.INFO: IMEI packet received {"connection_id":107887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":107887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:36:49] local.INFO: TCP Data received {"connection_id":107887,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:36:49] local.INFO: Processing buffer {"connection_id":107887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:36:49] local.INFO: IMEI packet received {"connection_id":107887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":107887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:36:50] local.INFO: TCP Data received {"connection_id":107887,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:36:50] local.INFO: Processing buffer {"connection_id":107887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:36:50] local.INFO: Packet analysis {"connection_id":107887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:36:50] local.INFO: Extracted packet for processing {"connection_id":107887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:36:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:36:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":107887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:36:50] local.INFO: GPS data processed {"connection_id":107887,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:36:50] local.INFO: Acknowledgment sent {"connection_id":107887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:01] local.INFO: TCP Data received {"connection_id":106345,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:01] local.INFO: Processing buffer {"connection_id":106345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:01] local.INFO: Packet analysis {"connection_id":106345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:37:01] local.INFO: Extracted packet for processing {"connection_id":106345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:01] 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-06-18 20:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:37:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":106345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:01] local.INFO: GPS data processed {"connection_id":106345,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:01] local.INFO: Acknowledgment sent {"connection_id":106345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:04] local.INFO: TCP Data received {"connection_id":107888,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:04] local.INFO: Processing buffer {"connection_id":107888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:04] local.INFO: IMEI packet received {"connection_id":107888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":107888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:37:06] local.INFO: TCP Data received {"connection_id":107888,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:06] local.INFO: Processing buffer {"connection_id":107888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:06] local.INFO: IMEI packet received {"connection_id":107888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":107888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:37:09] local.INFO: TCP Data received {"connection_id":107888,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107888,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:09] local.INFO: Processing buffer {"connection_id":107888,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:37:09] local.INFO: IMEI packet received {"connection_id":107888,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":107888,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:37:10] local.INFO: TCP Data received {"connection_id":107888,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb44fcc0012d8c2ac005f06d28001a005228..."} 
[2026-06-18 20:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb44fcc0012d8c2ac005f06d28001a005228..."} 
[2026-06-18 20:37:10] local.INFO: Processing buffer {"connection_id":107888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb44fcc0012d8c2ac005f06d28001a005228..."} 
[2026-06-18 20:37:10] local.INFO: Packet analysis {"connection_id":107888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:37:10] local.INFO: Extracted packet for processing {"connection_id":107888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:37:10] local.INFO: GPS Element Parsed {"raw_longitude":764160704,"raw_latitude":99642664,"longitude_deg":76.4160704,"latitude_deg":9.9642664,"altitude":26,"angle":82,"satellites":40,"speed":40,"hex_longitude":"2d8c2ac0","hex_latitude":"05f06d28","is_valid_coordinates":true} 
[2026-06-18 20:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139568640001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94213766949896192,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8348829258706259968,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781795192000,"timestamp_ms":1781795192000,"timestamp_seconds":1781795192,"priority":1,"record_length":96,"hex_timestamp":"0000019edb44fcc0"} 
[2026-06-18 20:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:37:10] 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-06-18 20:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139568640001,"66":11852,"21":206,"88":20224,"24":40,"16":94213766949896192,"45":-8348829258706259968},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,88,24,16,45]} 
[2026-06-18 20:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139568640001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:10] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 20:37:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94213766949896192,"km_value":94213766949896.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8348829258706259968,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139568640001,"power":11852,"unknown_21":206,"unknown_88":20224,"ignition":40,"odometer":null,"unknown_45":-8348829258706259968}} 
[2026-06-18 20:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":107888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:10] local.INFO: GPS data processed {"connection_id":107888,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:10] local.INFO: Acknowledgment sent {"connection_id":107888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:11] local.INFO: TCP Data received {"connection_id":107888,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb450878012d8c374005f070b80018004429..."} 
[2026-06-18 20:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb450878012d8c374005f070b80018004429..."} 
[2026-06-18 20:37:11] local.INFO: Processing buffer {"connection_id":107888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb450878012d8c374005f070b80018004429..."} 
[2026-06-18 20:37:11] local.INFO: Packet analysis {"connection_id":107888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb45"} 
[2026-06-18 20:37:11] local.INFO: Extracted packet for processing {"connection_id":107888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb45"} 
[2026-06-18 20:37:11] local.INFO: GPS Element Parsed {"raw_longitude":764163904,"raw_latitude":99643576,"longitude_deg":76.4163904,"latitude_deg":9.9643576,"altitude":24,"angle":68,"satellites":41,"speed":46,"hex_longitude":"2d8c3740","hex_latitude":"05f070b8","is_valid_coordinates":true} 
[2026-06-18 20:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139569152001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94213925863686144,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8346647827636738048,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781795195000,"timestamp_ms":1781795195000,"timestamp_seconds":1781795195,"priority":1,"record_length":96,"hex_timestamp":"0000019edb450878"} 
[2026-06-18 20:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:37:11] 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-06-18 20:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139569152001,"66":11047,"21":206,"88":20224,"24":46,"16":94213925863686144,"45":-8346647827636738048},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,88,24,16,45]} 
[2026-06-18 20:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139569152001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:11] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 20:37:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94213925863686144,"km_value":94213925863686.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8346647827636738048,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139569152001,"power":11047,"unknown_21":206,"unknown_88":20224,"ignition":46,"odometer":null,"unknown_45":-8346647827636738048}} 
[2026-06-18 20:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":107888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346699,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:11] local.INFO: GPS data processed {"connection_id":107888,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:11] local.INFO: Acknowledgment sent {"connection_id":107888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:11] local.INFO: TCP Data received {"connection_id":106955,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:11] local.INFO: Processing buffer {"connection_id":106955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:11] local.INFO: Packet analysis {"connection_id":106955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:37:11] local.INFO: Extracted packet for processing {"connection_id":106955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:11] 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-06-18 20:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":106955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:12] local.INFO: GPS data processed {"connection_id":106955,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:12] local.INFO: Acknowledgment sent {"connection_id":106955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:13] local.INFO: TCP Data received {"connection_id":107888,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4527b8012d8c5cc005f07ef00014004929..."} 
[2026-06-18 20:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4527b8012d8c5cc005f07ef00014004929..."} 
[2026-06-18 20:37:13] local.INFO: Processing buffer {"connection_id":107888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4527b8012d8c5cc005f07ef00014004929..."} 
[2026-06-18 20:37:13] local.INFO: Packet analysis {"connection_id":107888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb45"} 
[2026-06-18 20:37:13] local.INFO: Extracted packet for processing {"connection_id":107888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb45"} 
[2026-06-18 20:37:13] local.INFO: GPS Element Parsed {"raw_longitude":764173504,"raw_latitude":99647216,"longitude_deg":76.4173504,"latitude_deg":9.9647216,"altitude":20,"angle":73,"satellites":41,"speed":53,"hex_longitude":"2d8c5cc0","hex_latitude":"05f07ef0","is_valid_coordinates":true} 
[2026-06-18 20:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139569920001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94214419784925184,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8343129390427621376,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781795203000,"timestamp_ms":1781795203000,"timestamp_seconds":1781795203,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4527b8"} 
[2026-06-18 20:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":764,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:37:13] 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-06-18 20:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139569920001,"66":11852,"21":206,"88":20224,"24":53,"16":94214419784925184,"45":-8343129390427621376},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,88,24,16,45]} 
[2026-06-18 20:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139569920001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:13] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-06-18 20:37:13] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94214419784925184,"km_value":94214419784925.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8343129390427621376,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139569920001,"power":11852,"unknown_21":206,"unknown_88":20224,"ignition":53,"odometer":null,"unknown_45":-8343129390427621376}} 
[2026-06-18 20:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":107888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346701,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:13] local.INFO: GPS data processed {"connection_id":107888,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:13] local.INFO: Acknowledgment sent {"connection_id":107888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:22] local.INFO: TCP Data received {"connection_id":107887,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:37:22] local.INFO: Processing buffer {"connection_id":107887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:37:22] local.INFO: Packet analysis {"connection_id":107887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:37:22] local.INFO: Extracted packet for processing {"connection_id":107887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:37:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:37:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:37:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:37:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:37:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:37:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:37:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:37:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:37:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:37:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:37:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:37:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:37:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:37:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:37:22] local.INFO: DEBUG: GPS processor result {"connection_id":107887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:22] local.INFO: GPS data processed {"connection_id":107887,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:22] local.INFO: Acknowledgment sent {"connection_id":107887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:29] local.INFO: TCP Data received {"connection_id":106346,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:37:29] local.INFO: Processing buffer {"connection_id":106346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:37:29] local.INFO: IMEI packet received {"connection_id":106346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":106346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:37:34] local.INFO: TCP Data received {"connection_id":106346,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:37:34] local.INFO: Processing buffer {"connection_id":106346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:37:34] local.INFO: IMEI packet received {"connection_id":106346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:37:34] local.INFO: IMEI acknowledgment sent {"connection_id":106346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:37:35] local.INFO: TCP Data received {"connection_id":106346,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:35] local.INFO: Processing buffer {"connection_id":106346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:35] local.INFO: Packet analysis {"connection_id":106346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:37:35] local.INFO: Extracted packet for processing {"connection_id":106346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:37:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:35] 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-06-18 20:37:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:37:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:37: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-06-18 20: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-06-18 20:37:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:37:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:37: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-06-18 20:37:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:37:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:37:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 20:37:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:37:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:37:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:37:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:37:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:37:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:37:35] local.INFO: DEBUG: GPS processor result {"connection_id":106346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:35] local.INFO: GPS data processed {"connection_id":106346,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:35] local.INFO: Acknowledgment sent {"connection_id":106346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:38] local.INFO: TCP Data received {"connection_id":106956,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:37:38] local.INFO: Processing buffer {"connection_id":106956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:37:38] local.INFO: IMEI packet received {"connection_id":106956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":106956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:37:39] local.INFO: TCP Data received {"connection_id":106346,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:39] local.INFO: Processing buffer {"connection_id":106346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4189f0012cc3308007685ac8005b006d2c..."} 
[2026-06-18 20:37:39] local.INFO: Packet analysis {"connection_id":106346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:37:39] local.INFO: Extracted packet for processing {"connection_id":106346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb41"} 
[2026-06-18 20:37:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139438592001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:39] 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-06-18 20:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781794966000,"timestamp_ms":1781794966000,"timestamp_seconds":1781794966,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4189f0"} 
[2026-06-18 20:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:37: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-06-18 20:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139438592001,"66":25473,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 20:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139438592001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:37:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139438592001,"power":25473,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":106346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:39] local.INFO: GPS data processed {"connection_id":106346,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:39] local.INFO: Acknowledgment sent {"connection_id":106346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:43] local.INFO: TCP Data received {"connection_id":106956,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:37:43] local.INFO: Processing buffer {"connection_id":106956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:37:43] local.INFO: IMEI packet received {"connection_id":106956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":106956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:37:44] local.INFO: TCP Data received {"connection_id":106347,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:37:44] local.INFO: Processing buffer {"connection_id":106347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:37:44] local.INFO: IMEI packet received {"connection_id":106347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":106347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:37:45] local.INFO: TCP Data received {"connection_id":107888,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb45db68012d8cfcc005f0f3b8001b002729..."} 
[2026-06-18 20:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb45db68012d8cfcc005f0f3b8001b002729..."} 
[2026-06-18 20:37:45] local.INFO: Processing buffer {"connection_id":107888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb45db68012d8cfcc005f0f3b8001b002729..."} 
[2026-06-18 20:37:45] local.INFO: Packet analysis {"connection_id":107888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb45"} 
[2026-06-18 20:37:45] local.INFO: Extracted packet for processing {"connection_id":107888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb45"} 
[2026-06-18 20:37:45] local.INFO: GPS Element Parsed {"raw_longitude":764214464,"raw_latitude":99677112,"longitude_deg":76.4214464,"latitude_deg":9.9677112,"altitude":27,"angle":39,"satellites":41,"speed":24,"hex_longitude":"2d8cfcc0","hex_latitude":"05f0f3b8","is_valid_coordinates":true} 
[2026-06-18 20:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139583232001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94217134204256256,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8288382507449120768,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781795249000,"timestamp_ms":1781795249000,"timestamp_seconds":1781795249,"priority":1,"record_length":96,"hex_timestamp":"0000019edb45db68"} 
[2026-06-18 20:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:37:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107888,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:37:45] 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-06-18 20:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139583232001,"66":11645,"20":206,"88":20224,"24":24,"16":94217134204256256,"45":-8288382507449120768},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,88,24,16,45]} 
[2026-06-18 20:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139583232001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:45] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 20:37:45] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94217134204256256,"km_value":94217134204256.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8288382507449120768,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139583232001,"power":11645,"unknown_20":206,"unknown_88":20224,"ignition":24,"odometer":null,"unknown_45":-8288382507449120768}} 
[2026-06-18 20:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":107888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:45] local.INFO: GPS data processed {"connection_id":107888,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:45] local.INFO: Acknowledgment sent {"connection_id":107888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:46] local.INFO: TCP Data received {"connection_id":106956,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:46] local.INFO: Processing buffer {"connection_id":106956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:46] local.INFO: Packet analysis {"connection_id":106956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:37:46] local.INFO: Extracted packet for processing {"connection_id":106956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:37:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:37:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:37:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:46] 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-06-18 20:37:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:37:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:37:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:37:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:37:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:37:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:37:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:37:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:37:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:37:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:37:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:37:46] local.INFO: DEBUG: GPS processor result {"connection_id":106956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:46] local.INFO: GPS data processed {"connection_id":106956,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:46] local.INFO: Acknowledgment sent {"connection_id":106956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:49] local.INFO: TCP Data received {"connection_id":106956,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:49] local.INFO: Processing buffer {"connection_id":106956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:37:49] local.INFO: Packet analysis {"connection_id":106956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:37:49] local.INFO: Extracted packet for processing {"connection_id":106956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106956,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:37:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":106956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:49] local.INFO: GPS data processed {"connection_id":106956,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:49] local.INFO: Acknowledgment sent {"connection_id":106956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:37:49] local.INFO: TCP Data received {"connection_id":106347,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106347,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:37:49] local.INFO: Processing buffer {"connection_id":106347,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:37:49] local.INFO: IMEI packet received {"connection_id":106347,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":106347,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:37:51] local.INFO: TCP Data received {"connection_id":106347,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:37:51] local.INFO: Processing buffer {"connection_id":106347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:37:51] local.INFO: Packet analysis {"connection_id":106347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:37:51] local.INFO: Extracted packet for processing {"connection_id":106347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:37:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:37:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:37:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:37:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:37:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:37:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:37:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:37:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:37:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:37:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:37:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:37:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:37:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:37:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:37:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:37:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:37:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:37:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:37:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:37:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:37:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:37:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:37:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:37:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:37:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:37:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:37:51] local.INFO: DEBUG: GPS processor result {"connection_id":106347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:37:51] local.INFO: GPS data processed {"connection_id":106347,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:37:51] local.INFO: Acknowledgment sent {"connection_id":106347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:38:00] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:38:00] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:38:00] local.INFO: IMEI packet received {"connection_id":106164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":106164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:38:04] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:38:04] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:38:04] local.INFO: IMEI packet received {"connection_id":106164,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":106164,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:38:05] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb45e338012d8d000005f0f690001c003929..."} 
[2026-06-18 20:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb45e338012d8d000005f0f690001c003929..."} 
[2026-06-18 20:38:05] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb45e338012d8d000005f0f690001c003929..."} 
[2026-06-18 20:38:05] local.INFO: Packet analysis {"connection_id":106164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb45"} 
[2026-06-18 20:38:05] local.INFO: Extracted packet for processing {"connection_id":106164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb45"} 
[2026-06-18 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":764215296,"raw_latitude":99677840,"longitude_deg":76.4215296,"latitude_deg":9.967784,"altitude":28,"angle":57,"satellites":41,"speed":21,"hex_longitude":"2d8d0000","hex_latitude":"05f0f690","is_valid_coordinates":true} 
[2026-06-18 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139583744001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94217190038831104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8287538082518681600,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781795251000,"timestamp_ms":1781795251000,"timestamp_seconds":1781795251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb45e338"} 
[2026-06-18 20:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 20:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:38:05] 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-06-18 20:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139583744001,"66":11645,"211":206,"88":20224,"24":21,"16":94217190038831104,"45":-8287538082518681600},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,88,24,16,45]} 
[2026-06-18 20:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139583744001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:38:05] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 20:38:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94217190038831104,"km_value":94217190038831.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8287538082518681600,"description":"Unknown IO ID 45"} 
[2026-06-18 20:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139583744001,"power":11645,"unknown_211":206,"unknown_88":20224,"ignition":21,"odometer":null,"unknown_45":-8287538082518681600}} 
[2026-06-18 20:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":106164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:38:06] local.INFO: GPS data processed {"connection_id":106164,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:38:06] local.INFO: Acknowledgment sent {"connection_id":106164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:38:23] local.INFO: TCP Data received {"connection_id":106347,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:38:23] local.INFO: Processing buffer {"connection_id":106347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:38:23] local.INFO: Packet analysis {"connection_id":106347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:38:23] local.INFO: Extracted packet for processing {"connection_id":106347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:38:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:38:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:38:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:38:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:38:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106347,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:38:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:38:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":106347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:38:23] local.INFO: GPS data processed {"connection_id":106347,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:38:23] local.INFO: Acknowledgment sent {"connection_id":106347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:38:24] local.INFO: TCP Data received {"connection_id":106957,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:24] local.INFO: Processing buffer {"connection_id":106957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:24] local.INFO: IMEI packet received {"connection_id":106957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":106957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:38:25] local.INFO: TCP Data received {"connection_id":106957,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:25] local.INFO: Processing buffer {"connection_id":106957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:25] local.INFO: IMEI packet received {"connection_id":106957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:38:25] local.INFO: IMEI acknowledgment sent {"connection_id":106957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:38:29] local.INFO: TCP Data received {"connection_id":106957,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:29] local.INFO: Processing buffer {"connection_id":106957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:38:29] local.INFO: IMEI packet received {"connection_id":106957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":106957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:38:30] local.INFO: TCP Data received {"connection_id":106957,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:38:30] local.INFO: Processing buffer {"connection_id":106957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:38:30] local.INFO: Packet analysis {"connection_id":106957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:38:30] local.INFO: Extracted packet for processing {"connection_id":106957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:30] 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-06-18 20:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:38:30] 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-06-18 20:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:38: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-06-18 20:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:38:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":106957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:38:30] local.INFO: GPS data processed {"connection_id":106957,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:38:30] local.INFO: Acknowledgment sent {"connection_id":106957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:38:33] local.INFO: TCP Data received {"connection_id":107889,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:38:33] local.INFO: Processing buffer {"connection_id":107889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:38:33] local.INFO: IMEI packet received {"connection_id":107889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":107889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:38:34] local.INFO: TCP Data received {"connection_id":106957,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:38:34] local.INFO: Processing buffer {"connection_id":106957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:38:34] local.INFO: Packet analysis {"connection_id":106957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:38:34] local.INFO: Extracted packet for processing {"connection_id":106957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:34] 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-06-18 20:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:38:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:38: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-06-18 20:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:38:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:38:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:38:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:38:34] local.INFO: DEBUG: GPS processor result {"connection_id":106957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:38:34] local.INFO: GPS data processed {"connection_id":106957,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:38:34] local.INFO: Acknowledgment sent {"connection_id":106957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:38:37] local.INFO: TCP Data received {"connection_id":106164,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb460278012d8d168005f10780001a002d2b..."} 
[2026-06-18 20:38:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb460278012d8d168005f10780001a002d2b..."} 
[2026-06-18 20:38:37] local.INFO: Processing buffer {"connection_id":106164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb460278012d8d168005f10780001a002d2b..."} 
[2026-06-18 20:38:37] local.INFO: Packet analysis {"connection_id":106164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:38:37] local.INFO: Extracted packet for processing {"connection_id":106164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":764221056,"raw_latitude":99682176,"longitude_deg":76.4221056,"latitude_deg":9.9682176,"altitude":26,"angle":45,"satellites":43,"speed":43,"hex_longitude":"2d8d1680","hex_latitude":"05f10780","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:38:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139584256001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94217533636214784,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8286623288844185600,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:38:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781795259000,"timestamp_ms":1781795259000,"timestamp_seconds":1781795259,"priority":1,"record_length":96,"hex_timestamp":"0000019edb460278"} 
[2026-06-18 20:38:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:38:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 20:38:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:38:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:38:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:38:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:38:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:38:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106164,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:38:37] 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-06-18 20:38:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:38:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:38:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139584256001,"66":11852,"211":206,"88":20224,"24":43,"16":94217533636214784,"45":-8286623288844185600},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,88,24,16,45]} 
[2026-06-18 20:38:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:38:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:38:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139584256001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:38:37] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 20:38:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:38:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94217533636214784,"km_value":94217533636214.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:38:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8286623288844185600,"description":"Unknown IO ID 45"} 
[2026-06-18 20:38:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139584256001,"power":11852,"unknown_211":206,"unknown_88":20224,"ignition":43,"odometer":null,"unknown_45":-8286623288844185600}} 
[2026-06-18 20:38:37] local.INFO: DEBUG: GPS processor result {"connection_id":106164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346713,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:38:37] local.INFO: GPS data processed {"connection_id":106164,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:38:37] local.INFO: Acknowledgment sent {"connection_id":106164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:38:38] local.INFO: TCP Data received {"connection_id":107889,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:38:38] local.INFO: Processing buffer {"connection_id":107889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:38:38] local.INFO: IMEI packet received {"connection_id":107889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":107889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:38:40] local.INFO: TCP Data received {"connection_id":107889,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:38:40] local.INFO: Processing buffer {"connection_id":107889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:38:40] local.INFO: Packet analysis {"connection_id":107889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:38:40] local.INFO: Extracted packet for processing {"connection_id":107889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:38:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:38:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":107889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:38:40] local.INFO: GPS data processed {"connection_id":107889,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:38:40] local.INFO: Acknowledgment sent {"connection_id":107889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:38:44] local.INFO: TCP Data received {"connection_id":106165,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:38:44] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:38:44] local.INFO: IMEI packet received {"connection_id":106165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":106165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:38:49] local.INFO: TCP Data received {"connection_id":106165,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:38:49] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:38:49] local.INFO: IMEI packet received {"connection_id":106165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":106165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:38:50] local.INFO: TCP Data received {"connection_id":106165,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:38:50] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:38:50] local.INFO: Packet analysis {"connection_id":106165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:38:50] local.INFO: Extracted packet for processing {"connection_id":106165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:38:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:38:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:38:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:38:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:38:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:38:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":106165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:38:51] local.INFO: GPS data processed {"connection_id":106165,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:38:51] local.INFO: Acknowledgment sent {"connection_id":106165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:00] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:00] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:00] local.INFO: IMEI packet received {"connection_id":106166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":106166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:39:05] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:05] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:05] local.INFO: IMEI packet received {"connection_id":106166,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":106166,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:39:05] local.INFO: TCP Data received {"connection_id":106957,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:39:05] local.INFO: Processing buffer {"connection_id":106957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:39:05] local.INFO: Packet analysis {"connection_id":106957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:39:05] local.INFO: Extracted packet for processing {"connection_id":106957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:39:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:05] 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-06-18 20:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:39:05] 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-06-18 20:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:39:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:39:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:39:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":106957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:39:05] local.INFO: GPS data processed {"connection_id":106957,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:39:05] local.INFO: Acknowledgment sent {"connection_id":106957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:07] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012d8d300005f120c80017002d2b..."} 
[2026-06-18 20:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012d8d300005f120c80017002d2b..."} 
[2026-06-18 20:39:07] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012d8d300005f120c80017002d2b..."} 
[2026-06-18 20:39:07] local.INFO: Packet analysis {"connection_id":106166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:39:07] local.INFO: Extracted packet for processing {"connection_id":106166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:39:07] local.INFO: GPS Element Parsed {"raw_longitude":764227584,"raw_latitude":99688648,"longitude_deg":76.4227584,"latitude_deg":9.9688648,"altitude":23,"angle":45,"satellites":43,"speed":46,"hex_longitude":"2d8d3000","hex_latitude":"05f120c8","is_valid_coordinates":true} 
[2026-06-18 20:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139586304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94217976017846272,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8280290101867085824,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:39:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:39:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:39:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1112,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:39:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:39: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-06-18 20:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139586304001,"66":11830,"211":206,"88":20224,"24":46,"16":94217976017846272,"45":-8280290101867085824},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,88,24,16,45]} 
[2026-06-18 20:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139586304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:39:07] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-06-18 20:39:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94217976017846272,"km_value":94217976017846.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8280290101867085824,"description":"Unknown IO ID 45"} 
[2026-06-18 20:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139586304001,"power":11830,"unknown_211":206,"unknown_88":20224,"ignition":46,"odometer":null,"unknown_45":-8280290101867085824}} 
[2026-06-18 20:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":106166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346717,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:39:07] local.INFO: GPS data processed {"connection_id":106166,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:39:07] local.INFO: Acknowledgment sent {"connection_id":106166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:12] local.INFO: TCP Data received {"connection_id":107889,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:39:12] local.INFO: Processing buffer {"connection_id":107889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:39:12] local.INFO: Packet analysis {"connection_id":107889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:39:12] local.INFO: Extracted packet for processing {"connection_id":107889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:39:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:39:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:39:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:39:12] 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-06-18 20:39:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:39:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":107889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:39:12] local.INFO: GPS data processed {"connection_id":107889,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:39:12] local.INFO: Acknowledgment sent {"connection_id":107889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:22] local.INFO: TCP Data received {"connection_id":106165,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:39:22] local.INFO: Processing buffer {"connection_id":106165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:39:22] local.INFO: Packet analysis {"connection_id":106165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:39:22] local.INFO: Extracted packet for processing {"connection_id":106165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:39:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:39:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:39:22] local.INFO: DEBUG: GPS processor result {"connection_id":106165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:39:22] local.INFO: GPS data processed {"connection_id":106165,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:39:22] local.INFO: Acknowledgment sent {"connection_id":106165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:24] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:39:24] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:39:24] local.INFO: IMEI packet received {"connection_id":106348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:39:24] local.INFO: IMEI acknowledgment sent {"connection_id":106348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:39:29] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:39:29] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:39:29] local.INFO: IMEI packet received {"connection_id":106348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":106348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:39:30] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:39:30] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:39:30] local.INFO: Packet analysis {"connection_id":106348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:39:30] local.INFO: Extracted packet for processing {"connection_id":106348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:30] 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-06-18 20:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:39:30] 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-06-18 20: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-06-18 20:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:39: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-06-18 20:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:39:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:39:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:39:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":106348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:39:30] local.INFO: GPS data processed {"connection_id":106348,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:39:30] local.INFO: Acknowledgment sent {"connection_id":106348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:33] local.INFO: TCP Data received {"connection_id":107890,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:39:33] local.INFO: Processing buffer {"connection_id":107890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:39:33] local.INFO: IMEI packet received {"connection_id":107890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":107890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:39:38] local.INFO: TCP Data received {"connection_id":107890,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:39:38] local.INFO: Processing buffer {"connection_id":107890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:39:38] local.INFO: IMEI packet received {"connection_id":107890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":107890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:39:40] local.INFO: TCP Data received {"connection_id":107890,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:39:40] local.INFO: Processing buffer {"connection_id":107890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:39:40] local.INFO: Packet analysis {"connection_id":107890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:39:40] local.INFO: Extracted packet for processing {"connection_id":107890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:39:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:39:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":107890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:39:41] local.INFO: GPS data processed {"connection_id":107890,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:39:41] local.INFO: Acknowledgment sent {"connection_id":107890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:42] local.INFO: TCP Data received {"connection_id":106166,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb477590012d8e4e8005f154f8000c00582b..."} 
[2026-06-18 20:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb477590012d8e4e8005f154f8000c00582b..."} 
[2026-06-18 20:39:42] local.INFO: Processing buffer {"connection_id":106166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb477590012d8e4e8005f154f8000c00582b..."} 
[2026-06-18 20:39:42] local.INFO: Packet analysis {"connection_id":106166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb47"} 
[2026-06-18 20:39:42] local.INFO: Extracted packet for processing {"connection_id":106166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb47"} 
[2026-06-18 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":764300928,"raw_latitude":99702008,"longitude_deg":76.4300928,"latitude_deg":9.9702008,"altitude":12,"angle":88,"satellites":43,"speed":16,"hex_longitude":"2d8e4e80","hex_latitude":"05f154f8","is_valid_coordinates":true} 
[2026-06-18 20:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139609856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94221961747496960,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8194440233965217792,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781795354000,"timestamp_ms":1781795354000,"timestamp_seconds":1781795354,"priority":1,"record_length":96,"hex_timestamp":"0000019edb477590"} 
[2026-06-18 20:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3678846456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2378989573,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":180,"raw_value":2147873146,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2550189319,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3163881472,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:42] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,210,88,24,241,157,16,190,158,74,45,64,94,14,41,10,66,189,43,128,109,40,12,1,240,141,227,219,4,113,205,39,229,180,72,239,46,2,78],"length":434,"final_offset":564,"validated_count":39,"validation_warnings":[]} 
[2026-06-18 20:39:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":864801255713734656,"timestamp_seconds":864801255713734.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106166,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:39:42] 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-06-18 20:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139609856001,"66":11895,"210":206,"88":20224,"24":16,"16":94221961747496960,"45":-8194440233965217792},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,88,24,16,45]} 
[2026-06-18 20:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139609856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:39:42] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-18 20:39:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94221961747496960,"km_value":94221961747496.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8194440233965217792,"description":"Unknown IO ID 45"} 
[2026-06-18 20:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139609856001,"power":11895,"unknown_210":206,"unknown_88":20224,"ignition":16,"odometer":null,"unknown_45":-8194440233965217792}} 
[2026-06-18 20:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":106166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346722,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:39:42] local.INFO: GPS data processed {"connection_id":106166,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:39:42] local.INFO: Acknowledgment sent {"connection_id":106166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:49] local.INFO: TCP Data received {"connection_id":106958,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:39:49] local.INFO: Processing buffer {"connection_id":106958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:39:49] local.INFO: IMEI packet received {"connection_id":106958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":106958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:39:54] local.INFO: TCP Data received {"connection_id":106958,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:39:54] local.INFO: Processing buffer {"connection_id":106958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:39:54] local.INFO: IMEI packet received {"connection_id":106958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":106958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:39:55] local.INFO: TCP Data received {"connection_id":106958,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:39:55] local.INFO: Processing buffer {"connection_id":106958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:39:55] local.INFO: Packet analysis {"connection_id":106958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:39:55] local.INFO: Extracted packet for processing {"connection_id":106958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:39:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:39:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:39:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:39:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":106958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:39:56] local.INFO: GPS data processed {"connection_id":106958,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:39:56] local.INFO: Acknowledgment sent {"connection_id":106958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:39:59] local.INFO: TCP Data received {"connection_id":106959,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:59] local.INFO: Processing buffer {"connection_id":106959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:39:59] local.INFO: IMEI packet received {"connection_id":106959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":106959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:40:00] local.INFO: TCP Data received {"connection_id":106958,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:40:00] local.INFO: Processing buffer {"connection_id":106958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:40:00] local.INFO: Packet analysis {"connection_id":106958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:40:00] local.INFO: Extracted packet for processing {"connection_id":106958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:40:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:40:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":106958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:40:00] local.INFO: GPS data processed {"connection_id":106958,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:40:00] local.INFO: Acknowledgment sent {"connection_id":106958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:40:01] local.INFO: TCP Data received {"connection_id":106348,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:40:01] local.INFO: Processing buffer {"connection_id":106348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:40:01] local.INFO: Packet analysis {"connection_id":106348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:40:01] local.INFO: Extracted packet for processing {"connection_id":106348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:40:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:01] 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-06-18 20:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:40: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-06-18 20:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:40:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":106348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:40:01] local.INFO: GPS data processed {"connection_id":106348,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:40:01] local.INFO: Acknowledgment sent {"connection_id":106348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:40:03] local.INFO: TCP Data received {"connection_id":106959,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106959,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:40:03] local.INFO: Processing buffer {"connection_id":106959,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:40:03] local.INFO: IMEI packet received {"connection_id":106959,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":106959,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:40:04] local.INFO: TCP Data received {"connection_id":106959,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb477d60012d8e508005f15588000c00422a..."} 
[2026-06-18 20:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb477d60012d8e508005f15588000c00422a..."} 
[2026-06-18 20:40:04] local.INFO: Processing buffer {"connection_id":106959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb477d60012d8e508005f15588000c00422a..."} 
[2026-06-18 20:40:04] local.INFO: Packet analysis {"connection_id":106959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb47"} 
[2026-06-18 20:40:04] local.INFO: Extracted packet for processing {"connection_id":106959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb47"} 
[2026-06-18 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":764301440,"raw_latitude":99702152,"longitude_deg":76.430144,"latitude_deg":9.9702152,"altitude":12,"angle":66,"satellites":42,"speed":9,"hex_longitude":"2d8e5080","hex_latitude":"05f15588","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139610624001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94221987517300736,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8192469909128284160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781795356000,"timestamp_ms":1781795356000,"timestamp_seconds":1781795356,"priority":1,"record_length":96,"hex_timestamp":"0000019edb477d60"} 
[2026-06-18 20:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 20:40:04] 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-06-18 20: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-06-18 20:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:40:04] 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-06-18 20:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139610624001,"66":11787,"210":206,"88":20224,"24":9,"16":94221987517300736,"45":-8192469909128284160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,88,24,16,45]} 
[2026-06-18 20:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139610624001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:40:04] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-06-18 20:40:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94221987517300736,"km_value":94221987517300.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8192469909128284160,"description":"Unknown IO ID 45"} 
[2026-06-18 20:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139610624001,"power":11787,"unknown_210":206,"unknown_88":20224,"ignition":9,"odometer":null,"unknown_45":-8192469909128284160}} 
[2026-06-18 20:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":106959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346726,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:40:04] local.INFO: GPS data processed {"connection_id":106959,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:40:04] local.INFO: Acknowledgment sent {"connection_id":106959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:40:12] local.INFO: TCP Data received {"connection_id":107890,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:40:12] local.INFO: Processing buffer {"connection_id":107890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:40:12] local.INFO: Packet analysis {"connection_id":107890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:40:12] local.INFO: Extracted packet for processing {"connection_id":107890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:40:12] 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-06-18 20:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:40:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":107890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:40:12] local.INFO: GPS data processed {"connection_id":107890,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:40:12] local.INFO: Acknowledgment sent {"connection_id":107890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:40:24] local.INFO: TCP Data received {"connection_id":107891,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:40:24] local.INFO: Processing buffer {"connection_id":107891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:40:24] local.INFO: IMEI packet received {"connection_id":107891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":107891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:40:29] local.INFO: TCP Data received {"connection_id":107891,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:40:29] local.INFO: Processing buffer {"connection_id":107891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:40:29] local.INFO: IMEI packet received {"connection_id":107891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":107891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:40:30] local.INFO: TCP Data received {"connection_id":107891,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:40:30] local.INFO: Processing buffer {"connection_id":107891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:40:30] local.INFO: Packet analysis {"connection_id":107891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:40:30] local.INFO: Extracted packet for processing {"connection_id":107891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:40:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:30] 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-06-18 20:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:40:30] 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-06-18 20:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:40:30] 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-06-18 20:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:40:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":107891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:40:30] local.INFO: GPS data processed {"connection_id":107891,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:40:30] local.INFO: Acknowledgment sent {"connection_id":107891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:40:32] local.INFO: TCP Data received {"connection_id":106960,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:40:32] local.INFO: Processing buffer {"connection_id":106960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:40:32] local.INFO: IMEI packet received {"connection_id":106960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":106960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:40:35] local.INFO: TCP Data received {"connection_id":106959,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb487f30012d8f5e4005f13430000d006628..."} 
[2026-06-18 20:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb487f30012d8f5e4005f13430000d006628..."} 
[2026-06-18 20:40:35] local.INFO: Processing buffer {"connection_id":106959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb487f30012d8f5e4005f13430000d006628..."} 
[2026-06-18 20:40:35] local.INFO: Packet analysis {"connection_id":106959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:40:35] local.INFO: Extracted packet for processing {"connection_id":106959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":764370496,"raw_latitude":99693616,"longitude_deg":76.4370496,"latitude_deg":9.9693616,"altitude":13,"angle":102,"satellites":40,"speed":47,"hex_longitude":"2d8f5e40","hex_latitude":"05f13430","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139627520001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94225638239502336,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8118512358999527424,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781795422000,"timestamp_ms":1781795422000,"timestamp_seconds":1781795422,"priority":1,"record_length":96,"hex_timestamp":"0000019edb487f30"} 
[2026-06-18 20:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20: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":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 20:40:35] 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-06-18 20: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-06-18 20:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106959,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:40:35] 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-06-18 20:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139627520001,"66":12058,"109":206,"88":20224,"24":47,"16":94225638239502336,"45":-8118512358999527424},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,88,24,16,45]} 
[2026-06-18 20:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139627520001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:40:35] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 20:40:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20224,"description":"Unknown IO ID 88"} 
[2026-06-18 20:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94225638239502336,"km_value":94225638239502.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8118512358999527424,"description":"Unknown IO ID 45"} 
[2026-06-18 20:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139627520001,"power":12058,"unknown_109":206,"unknown_88":20224,"ignition":47,"odometer":null,"unknown_45":-8118512358999527424}} 
[2026-06-18 20:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":106959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346729,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:40:35] local.INFO: GPS data processed {"connection_id":106959,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:40:35] local.INFO: Acknowledgment sent {"connection_id":106959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:40:38] local.INFO: TCP Data received {"connection_id":106960,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:40:38] local.INFO: Processing buffer {"connection_id":106960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:40:38] local.INFO: IMEI packet received {"connection_id":106960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":106960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:40:42] local.INFO: TCP Data received {"connection_id":106960,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:40:42] local.INFO: Processing buffer {"connection_id":106960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb43f708012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:40:42] local.INFO: Packet analysis {"connection_id":106960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:40:42] local.INFO: Extracted packet for processing {"connection_id":106960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb43"} 
[2026-06-18 20:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139474944001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781795125000,"timestamp_ms":1781795125000,"timestamp_seconds":1781795125,"priority":1,"record_length":96,"hex_timestamp":"0000019edb43f708"} 
[2026-06-18 20:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:40:42] 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-06-18 20:40:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139474944001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139474944001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:40:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:40:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139474944001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":106960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:40:42] local.INFO: GPS data processed {"connection_id":106960,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:40:42] local.INFO: Acknowledgment sent {"connection_id":106960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:40:44] local.INFO: TCP Data received {"connection_id":106961,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:40:44] local.INFO: Processing buffer {"connection_id":106961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:40:44] local.INFO: IMEI packet received {"connection_id":106961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:40:44] local.INFO: IMEI acknowledgment sent {"connection_id":106961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:40:49] local.INFO: TCP Data received {"connection_id":106961,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106961,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:40:49] local.INFO: Processing buffer {"connection_id":106961,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:40:49] local.INFO: IMEI packet received {"connection_id":106961,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":106961,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:40:50] local.INFO: TCP Data received {"connection_id":106961,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:40:50] local.INFO: Processing buffer {"connection_id":106961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb441a30012d196500071fefc80040006226..."} 
[2026-06-18 20:40:50] local.INFO: Packet analysis {"connection_id":106961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:40:50] local.INFO: Extracted packet for processing {"connection_id":106961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb44"} 
[2026-06-18 20:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139477248001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781795134000,"timestamp_ms":1781795134000,"timestamp_seconds":1781795134,"priority":1,"record_length":96,"hex_timestamp":"0000019edb441a30"} 
[2026-06-18 20:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:40:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139477248001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139477248001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:40:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:40:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139477248001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":106961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:40:50] local.INFO: GPS data processed {"connection_id":106961,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:40:50] local.INFO: Acknowledgment sent {"connection_id":106961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:40:59] local.INFO: TCP Data received {"connection_id":106167,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106167,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:40:59] local.INFO: Processing buffer {"connection_id":106167,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:40:59] local.INFO: IMEI packet received {"connection_id":106167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":106167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:41:01] local.INFO: TCP Data received {"connection_id":107891,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:41:01] local.INFO: Processing buffer {"connection_id":107891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:41:01] local.INFO: Packet analysis {"connection_id":107891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:41:01] local.INFO: Extracted packet for processing {"connection_id":107891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:41:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:01] 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-06-18 20:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:41: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-06-18 20:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:41: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-06-18 20:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:41:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:41:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":107891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:41:01] local.INFO: GPS data processed {"connection_id":107891,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:41:01] local.INFO: Acknowledgment sent {"connection_id":107891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:41:07] local.INFO: TCP Data received {"connection_id":106167,"ip":"42.106.6.49","data_length":51,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106167,"packet_length":51,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:41:07] local.INFO: Processing buffer {"connection_id":106167,"buffer_length":51,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 20:41:07] local.INFO: IMEI packet received {"connection_id":106167,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":106167,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:41:14] local.INFO: TCP Data received {"connection_id":106960,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:41:14] local.INFO: Processing buffer {"connection_id":106960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:41:14] local.INFO: Packet analysis {"connection_id":106960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:41:14] local.INFO: Extracted packet for processing {"connection_id":106960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:41:14] 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-06-18 20: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-06-18 20:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:41:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:41:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":106960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:41:15] local.INFO: GPS data processed {"connection_id":106960,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:41:15] local.INFO: Acknowledgment sent {"connection_id":106960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:41:22] local.INFO: TCP Data received {"connection_id":106961,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:41:22] local.INFO: Processing buffer {"connection_id":106961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:41:22] local.INFO: Packet analysis {"connection_id":106961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:41:22] local.INFO: Extracted packet for processing {"connection_id":106961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:41:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106961,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:41:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:41:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:41:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":106961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:41:23] local.INFO: GPS data processed {"connection_id":106961,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:41:23] local.INFO: Acknowledgment sent {"connection_id":106961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:41:24] local.INFO: TCP Data received {"connection_id":106168,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:41:24] local.INFO: Processing buffer {"connection_id":106168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:41:24] local.INFO: IMEI packet received {"connection_id":106168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":106168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:41:29] local.INFO: TCP Data received {"connection_id":106168,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:41:29] local.INFO: Processing buffer {"connection_id":106168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:41:29] local.INFO: IMEI packet received {"connection_id":106168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":106168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:41:30] local.INFO: TCP Data received {"connection_id":106168,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:41:30] local.INFO: Processing buffer {"connection_id":106168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:41:30] local.INFO: Packet analysis {"connection_id":106168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:41:30] local.INFO: Extracted packet for processing {"connection_id":106168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:41:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:30] 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-06-18 20:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:41:30] 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-06-18 20: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-06-18 20:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:41:30] 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-06-18 20:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:41:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":106168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:41:30] local.INFO: GPS data processed {"connection_id":106168,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:41:30] local.INFO: Acknowledgment sent {"connection_id":106168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:41:38] local.INFO: TCP Data received {"connection_id":107892,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:41:38] local.INFO: Processing buffer {"connection_id":107892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:41:38] local.INFO: IMEI packet received {"connection_id":107892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":107892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:41:43] local.INFO: TCP Data received {"connection_id":107892,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:41:43] local.INFO: Processing buffer {"connection_id":107892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:41:43] local.INFO: IMEI packet received {"connection_id":107892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":107892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:41:44] local.INFO: TCP Data received {"connection_id":107893,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:41:44] local.INFO: Processing buffer {"connection_id":107893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:41:44] local.INFO: IMEI packet received {"connection_id":107893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:41:44] local.INFO: IMEI acknowledgment sent {"connection_id":107893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:41:47] local.INFO: TCP Data received {"connection_id":107892,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:41:47] local.INFO: Processing buffer {"connection_id":107892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:41:47] local.INFO: Packet analysis {"connection_id":107892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:41:47] local.INFO: Extracted packet for processing {"connection_id":107892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:41:47] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:41:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:41:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:41:47] 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-06-18 20:41:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":107892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":107892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":107892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:41:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:41:47] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:41:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":107892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:41:47] local.INFO: GPS data processed {"connection_id":107892,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:41:47] local.INFO: Acknowledgment sent {"connection_id":107892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:41:49] local.INFO: TCP Data received {"connection_id":107893,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:41:49] local.INFO: Processing buffer {"connection_id":107893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:41:49] local.INFO: IMEI packet received {"connection_id":107893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":107893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:41:51] local.INFO: TCP Data received {"connection_id":107893,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:41:51] local.INFO: Processing buffer {"connection_id":107893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:41:51] local.INFO: Packet analysis {"connection_id":107893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:41:51] local.INFO: Extracted packet for processing {"connection_id":107893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:41:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:41:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:41:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:41:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:41:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:41:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:41:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":107893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:41:51] local.INFO: GPS data processed {"connection_id":107893,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:41:51] local.INFO: Acknowledgment sent {"connection_id":107893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:42:01] local.INFO: TCP Data received {"connection_id":106168,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:01] local.INFO: Processing buffer {"connection_id":106168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:01] local.INFO: Packet analysis {"connection_id":106168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:42:01] local.INFO: Extracted packet for processing {"connection_id":106168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:42:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:01] 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-06-18 20:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:42: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-06-18 20:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:42:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:42:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":106168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:42:01] local.INFO: GPS data processed {"connection_id":106168,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:42:01] local.INFO: Acknowledgment sent {"connection_id":106168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:42:18] local.INFO: TCP Data received {"connection_id":107892,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:42:18] local.INFO: Processing buffer {"connection_id":107892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:42:18] local.INFO: Packet analysis {"connection_id":107892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:42:18] local.INFO: Extracted packet for processing {"connection_id":107892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:42:18] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:42:18] 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-06-18 20:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:42:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:42:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":107892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:42:18] local.INFO: GPS data processed {"connection_id":107892,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:42:18] local.INFO: Acknowledgment sent {"connection_id":107892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:42:23] local.INFO: TCP Data received {"connection_id":107893,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:42:23] local.INFO: Processing buffer {"connection_id":107893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:42:23] local.INFO: Packet analysis {"connection_id":107893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:42:23] local.INFO: Extracted packet for processing {"connection_id":107893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:42:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:42:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":107893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:42:23] local.INFO: GPS data processed {"connection_id":107893,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:42:23] local.INFO: Acknowledgment sent {"connection_id":107893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:42:29] local.INFO: TCP Data received {"connection_id":107894,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:42:29] local.INFO: Processing buffer {"connection_id":107894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:42:29] local.INFO: IMEI packet received {"connection_id":107894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":107894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:42:32] local.INFO: TCP Data received {"connection_id":107895,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:42:32] local.INFO: Processing buffer {"connection_id":107895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:42:32] local.INFO: IMEI packet received {"connection_id":107895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":107895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:42:34] local.INFO: TCP Data received {"connection_id":107894,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:42:34] local.INFO: Processing buffer {"connection_id":107894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:42:34] local.INFO: IMEI packet received {"connection_id":107894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":107894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:42:35] local.INFO: TCP Data received {"connection_id":107894,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:35] local.INFO: Processing buffer {"connection_id":107894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:35] local.INFO: Packet analysis {"connection_id":107894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:42:35] local.INFO: Extracted packet for processing {"connection_id":107894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:42:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:35] 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-06-18 20:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:42: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-06-18 20: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-06-18 20:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:42: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-06-18 20:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 20:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:42:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:42:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:42:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":107894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:42:35] local.INFO: GPS data processed {"connection_id":107894,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:42:35] local.INFO: Acknowledgment sent {"connection_id":107894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:42:38] local.INFO: TCP Data received {"connection_id":107895,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:42:38] local.INFO: Processing buffer {"connection_id":107895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:42:38] local.INFO: IMEI packet received {"connection_id":107895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":107895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:42:39] local.INFO: TCP Data received {"connection_id":107894,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:39] local.INFO: Processing buffer {"connection_id":107894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4621b8012cc3308007685ac8005a006d29..."} 
[2026-06-18 20:42:39] local.INFO: Packet analysis {"connection_id":107894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:42:39] local.INFO: Extracted packet for processing {"connection_id":107894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb46"} 
[2026-06-18 20:42:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139511296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:39] 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-06-18 20:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781795267000,"timestamp_ms":1781795267000,"timestamp_seconds":1781795267,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4621b8"} 
[2026-06-18 20:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:42:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 20:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:42:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:42: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-06-18 20:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139511296001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 20:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139511296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:42:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:42:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:42:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139511296001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":107894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:42:39] local.INFO: GPS data processed {"connection_id":107894,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:42:39] local.INFO: Acknowledgment sent {"connection_id":107894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:42:41] local.INFO: TCP Data received {"connection_id":107895,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:42:41] local.INFO: Processing buffer {"connection_id":107895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:42:41] local.INFO: Packet analysis {"connection_id":107895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:42:41] local.INFO: Extracted packet for processing {"connection_id":107895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:42:41] 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-06-18 20:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:42:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:42:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":107895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:42:41] local.INFO: GPS data processed {"connection_id":107895,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:42:41] local.INFO: Acknowledgment sent {"connection_id":107895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:42:44] local.INFO: TCP Data received {"connection_id":107896,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:42:44] local.INFO: Processing buffer {"connection_id":107896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:42:44] local.INFO: IMEI packet received {"connection_id":107896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:42:44] local.INFO: IMEI acknowledgment sent {"connection_id":107896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:42:49] local.INFO: TCP Data received {"connection_id":107896,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107896,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:42:49] local.INFO: Processing buffer {"connection_id":107896,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:42:49] local.INFO: IMEI packet received {"connection_id":107896,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":107896,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:42:51] local.INFO: TCP Data received {"connection_id":107896,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:42:51] local.INFO: Processing buffer {"connection_id":107896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:42:51] local.INFO: Packet analysis {"connection_id":107896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:42:51] local.INFO: Extracted packet for processing {"connection_id":107896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:42:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:42:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:42:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:42:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:42:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:42:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:42:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:42:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:42:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:42:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:42:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:42:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:42:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:42:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:42:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:42:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:42:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:42:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:42:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:42:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:42:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:42:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:42:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:42:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:42:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:42:51] local.INFO: DEBUG: GPS processor result {"connection_id":107896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:42:51] local.INFO: GPS data processed {"connection_id":107896,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:42:51] local.INFO: Acknowledgment sent {"connection_id":107896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:43:12] local.INFO: TCP Data received {"connection_id":107895,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:43:12] local.INFO: Processing buffer {"connection_id":107895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:43:12] local.INFO: Packet analysis {"connection_id":107895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:43:12] local.INFO: Extracted packet for processing {"connection_id":107895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107895,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:43:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":107895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346745,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:43:12] local.INFO: GPS data processed {"connection_id":107895,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:43:12] local.INFO: Acknowledgment sent {"connection_id":107895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:43:23] local.INFO: TCP Data received {"connection_id":107896,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:43:23] local.INFO: Processing buffer {"connection_id":107896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:43:23] local.INFO: Packet analysis {"connection_id":107896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:43:23] local.INFO: Extracted packet for processing {"connection_id":107896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107896,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:43:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:43:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":107896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:43:23] local.INFO: GPS data processed {"connection_id":107896,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:43:23] local.INFO: Acknowledgment sent {"connection_id":107896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:43:24] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:43:24] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:43:24] local.INFO: IMEI packet received {"connection_id":106170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":106170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:43:26] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:43:26] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:43:26] local.INFO: IMEI packet received {"connection_id":106170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":106170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:43:27] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.21","data_length":93,"data_hex":"00000000000000518e010000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":93,"packet_hex":"00000000000000518e010000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:43:27] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":93,"buffer_hex":"00000000000000518e010000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:43:27] local.INFO: Packet analysis {"connection_id":106170,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019edb4a"} 
[2026-06-18 20:43:27] local.INFO: Extracted packet for processing {"connection_id":106170,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019edb4a"} 
[2026-06-18 20:43:27] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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":93,"current_offset":40} 
[2026-06-18 20:43: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-06-18 20:43: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-06-18 20:43:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:43:27] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-06-18 20:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106170,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-06-18 20:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106170,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-18 20:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106170,"device_imei":"862567074773115","avl_records_count":0} 
[2026-06-18 20:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-06-18 20:43:27] local.WARNING: DEBUG: No valid data to process  
[2026-06-18 20:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":106170,"result":{"success":false,"message":"No valid data to process"}} 
[2026-06-18 20:43:27] local.ERROR: GPS data processing failed {"connection_id":106170,"error":"No valid data to process"} 
[2026-06-18 20:43:27] local.INFO: Acknowledgment sent {"connection_id":106170,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-06-18 20:43:33] local.INFO: TCP Data received {"connection_id":106349,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:43:33] local.INFO: Processing buffer {"connection_id":106349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:43:33] local.INFO: IMEI packet received {"connection_id":106349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":106349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:43:38] local.INFO: TCP Data received {"connection_id":106349,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:43:38] local.INFO: Processing buffer {"connection_id":106349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:43:38] local.INFO: IMEI packet received {"connection_id":106349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":106349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:43:41] local.INFO: TCP Data received {"connection_id":106349,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:43:41] local.INFO: Processing buffer {"connection_id":106349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:43:41] local.INFO: Packet analysis {"connection_id":106349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:43:41] local.INFO: Extracted packet for processing {"connection_id":106349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:43:41] 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-06-18 20:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:43:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":106349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:43:41] local.INFO: GPS data processed {"connection_id":106349,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:43:41] local.INFO: Acknowledgment sent {"connection_id":106349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:43:49] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:43:49] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:43:49] local.INFO: IMEI packet received {"connection_id":106171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":106171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:43:54] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:43:54] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:43:54] local.INFO: IMEI packet received {"connection_id":106171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":106171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:43:55] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:43:55] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:43:55] local.INFO: Packet analysis {"connection_id":106171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:43:55] local.INFO: Extracted packet for processing {"connection_id":106171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:43:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:43:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:43:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:43:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:43:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":106171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:43:55] local.INFO: GPS data processed {"connection_id":106171,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:43:55] local.INFO: Acknowledgment sent {"connection_id":106171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:43:58] local.INFO: TCP Data received {"connection_id":106170,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:43:58] local.INFO: Processing buffer {"connection_id":106170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:43:58] local.INFO: Packet analysis {"connection_id":106170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:43:58] local.INFO: Extracted packet for processing {"connection_id":106170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:43:58] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43:58] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:43: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-06-18 20:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:43: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-06-18 20:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 20:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:43:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:43:58] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":106170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:43:58] local.INFO: GPS data processed {"connection_id":106170,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:43:58] local.INFO: Acknowledgment sent {"connection_id":106170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:44:00] local.INFO: TCP Data received {"connection_id":106171,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:44:00] local.INFO: Processing buffer {"connection_id":106171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:44:00] local.INFO: Packet analysis {"connection_id":106171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:44:00] local.INFO: Extracted packet for processing {"connection_id":106171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:44:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":106171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:44:00] local.INFO: GPS data processed {"connection_id":106171,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:44:00] local.INFO: Acknowledgment sent {"connection_id":106171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:44:19] local.INFO: TCP Data received {"connection_id":106349,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:44:19] local.INFO: Processing buffer {"connection_id":106349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:44:19] local.INFO: Packet analysis {"connection_id":106349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:44:19] local.INFO: Extracted packet for processing {"connection_id":106349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:44:19] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":106349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":106349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":106349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:44:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:44:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":106349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:44:19] local.INFO: GPS data processed {"connection_id":106349,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:44:19] local.INFO: Acknowledgment sent {"connection_id":106349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:44:24] local.INFO: TCP Data received {"connection_id":106172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:44:24] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:44:24] local.INFO: IMEI packet received {"connection_id":106172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":106172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:44:29] local.INFO: TCP Data received {"connection_id":106172,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:44:29] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:44:29] local.INFO: IMEI packet received {"connection_id":106172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":106172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:44:30] local.INFO: TCP Data received {"connection_id":106172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:44:30] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:44:30] local.INFO: Packet analysis {"connection_id":106172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:44:30] local.INFO: Extracted packet for processing {"connection_id":106172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:30] 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-06-18 20:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:44:30] 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-06-18 20: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-06-18 20:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:44: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-06-18 20:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:44:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":106172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:44:30] local.INFO: GPS data processed {"connection_id":106172,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:44:30] local.INFO: Acknowledgment sent {"connection_id":106172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:44:33] local.INFO: TCP Data received {"connection_id":106963,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:44:33] local.INFO: Processing buffer {"connection_id":106963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:44:33] local.INFO: IMEI packet received {"connection_id":106963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":106963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:44:38] local.INFO: TCP Data received {"connection_id":106963,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:44:38] local.INFO: Processing buffer {"connection_id":106963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:44:38] local.INFO: IMEI packet received {"connection_id":106963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":106963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:44:41] local.INFO: TCP Data received {"connection_id":106963,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:44:41] local.INFO: Processing buffer {"connection_id":106963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:44:41] local.INFO: Packet analysis {"connection_id":106963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:44:41] local.INFO: Extracted packet for processing {"connection_id":106963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:44:41] 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-06-18 20:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:44:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:44:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":106963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:44:41] local.INFO: GPS data processed {"connection_id":106963,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:44:41] local.INFO: Acknowledgment sent {"connection_id":106963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:44:44] local.INFO: TCP Data received {"connection_id":107898,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:44:44] local.INFO: Processing buffer {"connection_id":107898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:44:44] local.INFO: IMEI packet received {"connection_id":107898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":107898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:44:49] local.INFO: TCP Data received {"connection_id":107898,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107898,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:44:49] local.INFO: Processing buffer {"connection_id":107898,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:44:49] local.INFO: IMEI packet received {"connection_id":107898,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":107898,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:44:50] local.INFO: TCP Data received {"connection_id":107898,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:44:50] local.INFO: Processing buffer {"connection_id":107898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:44:50] local.INFO: Packet analysis {"connection_id":107898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:44:50] local.INFO: Extracted packet for processing {"connection_id":107898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:44:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:44:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":107898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:44:50] local.INFO: GPS data processed {"connection_id":107898,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:44:50] local.INFO: Acknowledgment sent {"connection_id":107898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:45:01] local.INFO: TCP Data received {"connection_id":106172,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:45:01] local.INFO: Processing buffer {"connection_id":106172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:45:01] local.INFO: Packet analysis {"connection_id":106172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:45:01] local.INFO: Extracted packet for processing {"connection_id":106172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:01] 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-06-18 20:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:45: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-06-18 20:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:45:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":106172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:45:01] local.INFO: GPS data processed {"connection_id":106172,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:45:01] local.INFO: Acknowledgment sent {"connection_id":106172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:45:12] local.INFO: TCP Data received {"connection_id":106963,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:12] local.INFO: Processing buffer {"connection_id":106963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:12] local.INFO: Packet analysis {"connection_id":106963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:12] local.INFO: Extracted packet for processing {"connection_id":106963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:45:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":106963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:45:13] local.INFO: GPS data processed {"connection_id":106963,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:45:13] local.INFO: Acknowledgment sent {"connection_id":106963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:45:22] local.INFO: TCP Data received {"connection_id":107898,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:45:22] local.INFO: Processing buffer {"connection_id":107898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:45:22] local.INFO: Packet analysis {"connection_id":107898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:22] local.INFO: Extracted packet for processing {"connection_id":107898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:45:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:45:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:45:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:45:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:45:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:45:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:45:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:45:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:45:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:45:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:45:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:45:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107898,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:45:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:45:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:45:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:45:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:45:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:45:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:45:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:45:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:45:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:45:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:45:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:45:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:45:22] local.INFO: DEBUG: GPS processor result {"connection_id":107898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:45:22] local.INFO: GPS data processed {"connection_id":107898,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:45:22] local.INFO: Acknowledgment sent {"connection_id":107898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:45:24] local.INFO: TCP Data received {"connection_id":106350,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:45:24] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:45:24] local.INFO: IMEI packet received {"connection_id":106350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":106350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:45:29] local.INFO: TCP Data received {"connection_id":106350,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:45:29] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:45:29] local.INFO: IMEI packet received {"connection_id":106350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":106350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:45:30] local.INFO: TCP Data received {"connection_id":106350,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:45:30] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:45:30] local.INFO: Packet analysis {"connection_id":106350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:45:30] local.INFO: Extracted packet for processing {"connection_id":106350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:45:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:30] 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-06-18 20:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:45:30] 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-06-18 20:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:45:30] 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-06-18 20:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:45:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":106350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:45:30] local.INFO: GPS data processed {"connection_id":106350,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:45:30] local.INFO: Acknowledgment sent {"connection_id":106350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:45:38] local.INFO: TCP Data received {"connection_id":106964,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:45:38] local.INFO: Processing buffer {"connection_id":106964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:45:38] local.INFO: IMEI packet received {"connection_id":106964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":106964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:45:43] local.INFO: TCP Data received {"connection_id":106964,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:45:43] local.INFO: Processing buffer {"connection_id":106964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:45:43] local.INFO: IMEI packet received {"connection_id":106964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":106964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:45:44] local.INFO: TCP Data received {"connection_id":106174,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:45:44] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:45:44] local.INFO: IMEI packet received {"connection_id":106174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:45:44] local.INFO: IMEI acknowledgment sent {"connection_id":106174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:45:46] local.INFO: TCP Data received {"connection_id":106964,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:46] local.INFO: Processing buffer {"connection_id":106964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:46] local.INFO: Packet analysis {"connection_id":106964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:46] local.INFO: Extracted packet for processing {"connection_id":106964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:45:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:45:46] 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-06-18 20:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:45:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:45:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":106964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:45:46] local.INFO: GPS data processed {"connection_id":106964,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:45:46] local.INFO: Acknowledgment sent {"connection_id":106964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:45:49] local.INFO: TCP Data received {"connection_id":106964,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:49] local.INFO: Processing buffer {"connection_id":106964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb488ed0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:45:49] local.INFO: Packet analysis {"connection_id":106964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:49] local.INFO: Extracted packet for processing {"connection_id":106964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139552000001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781795426000,"timestamp_ms":1781795426000,"timestamp_seconds":1781795426,"priority":1,"record_length":96,"hex_timestamp":"0000019edb488ed0"} 
[2026-06-18 20:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:45:49] 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-06-18 20:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139552000001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139552000001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:45:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:45:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139552000001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":106964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:45:49] local.INFO: GPS data processed {"connection_id":106964,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:45:49] local.INFO: Acknowledgment sent {"connection_id":106964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:45:49] local.INFO: TCP Data received {"connection_id":106174,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:45:49] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:45:49] local.INFO: IMEI packet received {"connection_id":106174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":106174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:45:50] local.INFO: TCP Data received {"connection_id":106174,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:45:50] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb48b1f8012d196500071fefc80040006227..."} 
[2026-06-18 20:45:50] local.INFO: Packet analysis {"connection_id":106174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:50] local.INFO: Extracted packet for processing {"connection_id":106174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb48"} 
[2026-06-18 20:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139554304001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781795435000,"timestamp_ms":1781795435000,"timestamp_seconds":1781795435,"priority":1,"record_length":96,"hex_timestamp":"0000019edb48b1f8"} 
[2026-06-18 20:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139554304001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139554304001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:45:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:45:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139554304001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:45:51] local.INFO: DEBUG: GPS processor result {"connection_id":106174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346761,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:45:51] local.INFO: GPS data processed {"connection_id":106174,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:45:51] local.INFO: Acknowledgment sent {"connection_id":106174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:46:01] local.INFO: TCP Data received {"connection_id":106350,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:46:01] local.INFO: Processing buffer {"connection_id":106350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:46:01] local.INFO: Packet analysis {"connection_id":106350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:46:01] local.INFO: Extracted packet for processing {"connection_id":106350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:01] 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-06-18 20:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106350,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:46:01] 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-06-18 20:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:46:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":106350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:46:01] local.INFO: GPS data processed {"connection_id":106350,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:46:01] local.INFO: Acknowledgment sent {"connection_id":106350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:46:10] local.INFO: TCP Data received {"connection_id":106965,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106965,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:46:10] local.INFO: Processing buffer {"connection_id":106965,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:46:10] local.INFO: IMEI packet received {"connection_id":106965,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":106965,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:46:11] local.INFO: TCP Data received {"connection_id":106965,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d93960005f2c8f00013004429..."} 
[2026-06-18 20:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d93960005f2c8f00013004429..."} 
[2026-06-18 20:46:11] local.INFO: Processing buffer {"connection_id":106965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d93960005f2c8f00013004429..."} 
[2026-06-18 20:46:11] local.INFO: Packet analysis {"connection_id":106965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:46:11] local.INFO: Extracted packet for processing {"connection_id":106965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:46:11] local.INFO: GPS Element Parsed {"raw_longitude":764646912,"raw_latitude":99797232,"longitude_deg":76.4646912,"latitude_deg":9.9797232,"altitude":19,"angle":68,"satellites":41,"speed":29,"hex_longitude":"2d939600","hex_latitude":"05f2c8f0","is_valid_coordinates":true} 
[2026-06-18 20:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139703808001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94240773704253440,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7820008146172350464,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:46: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-06-18 20:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:46:11] 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-06-18 20:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:46:11] 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-06-18 20:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139703808001,"66":11515,"198":206,"88":19456,"24":29,"16":94240773704253440,"45":-7820008146172350464},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,88,24,16,45]} 
[2026-06-18 20:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139703808001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:46:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 20:46:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94240773704253440,"km_value":94240773704253.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7820008146172350464,"description":"Unknown IO ID 45"} 
[2026-06-18 20:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139703808001,"power":11515,"unknown_198":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-7820008146172350464}} 
[2026-06-18 20:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":106965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346763,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:46:11] local.INFO: GPS data processed {"connection_id":106965,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:46:11] local.INFO: Acknowledgment sent {"connection_id":106965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:46:24] local.INFO: TCP Data received {"connection_id":106175,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:46:24] local.INFO: Processing buffer {"connection_id":106175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:46:24] local.INFO: IMEI packet received {"connection_id":106175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":106175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:46:24] local.INFO: TCP Data received {"connection_id":106174,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:46:24] local.INFO: Processing buffer {"connection_id":106174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:46:24] local.INFO: Packet analysis {"connection_id":106174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:46:24] local.INFO: Extracted packet for processing {"connection_id":106174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:46:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:46:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":106174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:46:25] local.INFO: GPS data processed {"connection_id":106174,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:46:25] local.INFO: Acknowledgment sent {"connection_id":106174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:46:29] local.INFO: TCP Data received {"connection_id":106175,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:46:29] local.INFO: Processing buffer {"connection_id":106175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:46:29] local.INFO: IMEI packet received {"connection_id":106175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":106175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:46:30] local.INFO: TCP Data received {"connection_id":106175,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:46:30] local.INFO: Processing buffer {"connection_id":106175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:46:30] local.INFO: Packet analysis {"connection_id":106175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:46:30] local.INFO: Extracted packet for processing {"connection_id":106175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:46:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:30] 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-06-18 20:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:46:30] 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-06-18 20:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:46: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-06-18 20:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:46:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:46:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:46:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":106175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:46:30] local.INFO: GPS data processed {"connection_id":106175,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:46:30] local.INFO: Acknowledgment sent {"connection_id":106175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:46:33] local.INFO: TCP Data received {"connection_id":106351,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:46:33] local.INFO: Processing buffer {"connection_id":106351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:46:33] local.INFO: IMEI packet received {"connection_id":106351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":106351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:46:38] local.INFO: TCP Data received {"connection_id":106351,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:46:38] local.INFO: Processing buffer {"connection_id":106351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:46:38] local.INFO: IMEI packet received {"connection_id":106351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":106351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:46:40] local.INFO: TCP Data received {"connection_id":106351,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:46:40] local.INFO: Processing buffer {"connection_id":106351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:46:40] local.INFO: Packet analysis {"connection_id":106351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:46:40] local.INFO: Extracted packet for processing {"connection_id":106351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:46:40] 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-06-18 20: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-06-18 20:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:46:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:46:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":106351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:46:40] local.INFO: GPS data processed {"connection_id":106351,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:46:40] local.INFO: Acknowledgment sent {"connection_id":106351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:46:42] local.INFO: TCP Data received {"connection_id":106965,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4e14e0012d944f0005f2c2200015006f26..."} 
[2026-06-18 20:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4e14e0012d944f0005f2c2200015006f26..."} 
[2026-06-18 20:46:42] local.INFO: Processing buffer {"connection_id":106965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4e14e0012d944f0005f2c2200015006f26..."} 
[2026-06-18 20:46:42] local.INFO: Packet analysis {"connection_id":106965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:46:42] local.INFO: Extracted packet for processing {"connection_id":106965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:46:42] local.INFO: GPS Element Parsed {"raw_longitude":764694272,"raw_latitude":99795488,"longitude_deg":76.4694272,"latitude_deg":9.9795488,"altitude":21,"angle":111,"satellites":38,"speed":42,"hex_longitude":"2d944f00","hex_latitude":"05f2c220","is_valid_coordinates":true} 
[2026-06-18 20:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139721216001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94243342094696448,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7762094669713510400,"note":"Value kept but may cause issues"} 
[2026-06-18 20:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781795788000,"timestamp_ms":1781795788000,"timestamp_seconds":1781795788,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4e14e0"} 
[2026-06-18 20:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:46: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-06-18 20:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1697,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106965,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:46:42] 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-06-18 20:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139721216001,"66":11895,"198":206,"88":19456,"24":42,"16":94243342094696448,"45":-7762094669713510400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,88,24,16,45]} 
[2026-06-18 20:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139721216001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:46:42] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 20:46:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94243342094696448,"km_value":94243342094696.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7762094669713510400,"description":"Unknown IO ID 45"} 
[2026-06-18 20:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139721216001,"power":11895,"unknown_198":206,"unknown_88":19456,"ignition":42,"odometer":null,"unknown_45":-7762094669713510400}} 
[2026-06-18 20:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":106965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:46:42] local.INFO: GPS data processed {"connection_id":106965,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:46:42] local.INFO: Acknowledgment sent {"connection_id":106965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:00] local.INFO: TCP Data received {"connection_id":106176,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:00] local.INFO: Processing buffer {"connection_id":106176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:00] local.INFO: IMEI packet received {"connection_id":106176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":106176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:47:01] local.INFO: TCP Data received {"connection_id":106175,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:47:01] local.INFO: Processing buffer {"connection_id":106175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:47:01] local.INFO: Packet analysis {"connection_id":106175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:47:01] local.INFO: Extracted packet for processing {"connection_id":106175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:47:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:01] 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-06-18 20:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:47:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:47:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:47: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-06-18 20:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:47:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":106175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:01] local.INFO: GPS data processed {"connection_id":106175,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:01] local.INFO: Acknowledgment sent {"connection_id":106175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:04] local.INFO: TCP Data received {"connection_id":107899,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:04] local.INFO: Processing buffer {"connection_id":107899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:04] local.INFO: IMEI packet received {"connection_id":107899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":107899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:47:05] local.INFO: TCP Data received {"connection_id":106176,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106176,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:05] local.INFO: Processing buffer {"connection_id":106176,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:05] local.INFO: IMEI packet received {"connection_id":106176,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":106176,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:47:06] local.INFO: TCP Data received {"connection_id":106176,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4e2098012d945b4005f2bf480016006326..."} 
[2026-06-18 20:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4e2098012d945b4005f2bf480016006326..."} 
[2026-06-18 20:47:06] local.INFO: Processing buffer {"connection_id":106176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4e2098012d945b4005f2bf480016006326..."} 
[2026-06-18 20:47:06] local.INFO: Packet analysis {"connection_id":106176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:47:06] local.INFO: Extracted packet for processing {"connection_id":106176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:47:06] local.INFO: GPS Element Parsed {"raw_longitude":764697408,"raw_latitude":99794760,"longitude_deg":76.4697408,"latitude_deg":9.979476,"altitude":22,"angle":99,"satellites":38,"speed":41,"hex_longitude":"2d945b40","hex_latitude":"05f2bf48","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139721728001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94243496713519104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7759983607388430336,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781795791000,"timestamp_ms":1781795791000,"timestamp_seconds":1781795791,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4e2098"} 
[2026-06-18 20:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47: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-06-18 20: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:06] 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-06-18 20: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-06-18 20:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:47:06] 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-06-18 20:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139721728001,"66":11743,"198":206,"88":19456,"24":41,"16":94243496713519104,"45":-7759983607388430336},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,88,24,16,45]} 
[2026-06-18 20:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139721728001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:06] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 20:47:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94243496713519104,"km_value":94243496713519.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7759983607388430336,"description":"Unknown IO ID 45"} 
[2026-06-18 20:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139721728001,"power":11743,"unknown_198":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-7759983607388430336}} 
[2026-06-18 20:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":106176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346769,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:06] local.INFO: GPS data processed {"connection_id":106176,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:06] local.INFO: Acknowledgment sent {"connection_id":106176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:09] local.INFO: TCP Data received {"connection_id":107899,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:09] local.INFO: Processing buffer {"connection_id":107899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:09] local.INFO: IMEI packet received {"connection_id":107899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":107899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:47:11] local.INFO: TCP Data received {"connection_id":106351,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:47:11] local.INFO: Processing buffer {"connection_id":106351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:47:11] local.INFO: Packet analysis {"connection_id":106351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:11] local.INFO: Extracted packet for processing {"connection_id":106351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:11] 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-06-18 20:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:47:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":106351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:11] local.INFO: GPS data processed {"connection_id":106351,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:11] local.INFO: Acknowledgment sent {"connection_id":106351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:22] local.INFO: TCP Data received {"connection_id":107899,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:22] local.INFO: Processing buffer {"connection_id":107899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:22] local.INFO: Packet analysis {"connection_id":107899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:22] local.INFO: Extracted packet for processing {"connection_id":107899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:47:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":107899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:22] local.INFO: GPS data processed {"connection_id":107899,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:22] local.INFO: Acknowledgment sent {"connection_id":107899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:23] local.INFO: TCP Data received {"connection_id":107899,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:23] local.INFO: Processing buffer {"connection_id":107899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:23] local.INFO: Packet analysis {"connection_id":107899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:23] local.INFO: Extracted packet for processing {"connection_id":107899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:47:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:47:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:47:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:47:24] local.INFO: TCP Data received {"connection_id":106352,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:47:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:47:24] local.INFO: Processing buffer {"connection_id":106352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:47:24] local.INFO: IMEI packet received {"connection_id":106352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:47:24] local.INFO: IMEI acknowledgment sent {"connection_id":106352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:47:24] local.INFO: DEBUG: GPS processor result {"connection_id":107899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:24] local.INFO: GPS data processed {"connection_id":107899,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:24] local.INFO: Acknowledgment sent {"connection_id":107899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:29] local.INFO: TCP Data received {"connection_id":106352,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:47:29] local.INFO: Processing buffer {"connection_id":106352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:47:29] local.INFO: IMEI packet received {"connection_id":106352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":106352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:47:30] local.INFO: TCP Data received {"connection_id":106352,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:47:30] local.INFO: Processing buffer {"connection_id":106352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:47:30] local.INFO: Packet analysis {"connection_id":106352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:47:30] local.INFO: Extracted packet for processing {"connection_id":106352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:47:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:30] 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-06-18 20:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:30] 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-06-18 20:47:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:47:30] 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-06-18 20:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":106352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:30] local.INFO: GPS data processed {"connection_id":106352,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:30] local.INFO: Acknowledgment sent {"connection_id":106352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:32] local.INFO: TCP Data received {"connection_id":106177,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:47:32] local.INFO: Processing buffer {"connection_id":106177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:47:32] local.INFO: IMEI packet received {"connection_id":106177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":106177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:47:37] local.INFO: TCP Data received {"connection_id":106176,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4e3808012d94740005f2be280018005527..."} 
[2026-06-18 20:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4e3808012d94740005f2be280018005527..."} 
[2026-06-18 20:47:37] local.INFO: Processing buffer {"connection_id":106176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4e3808012d94740005f2be280018005527..."} 
[2026-06-18 20:47:37] local.INFO: Packet analysis {"connection_id":106176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:47:37] local.INFO: Extracted packet for processing {"connection_id":106176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:47:37] local.INFO: GPS Element Parsed {"raw_longitude":764703744,"raw_latitude":99794472,"longitude_deg":76.4703744,"latitude_deg":9.9794472,"altitude":24,"angle":85,"satellites":39,"speed":43,"hex_longitude":"2d947400","hex_latitude":"05f2be28","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139722496001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94243801656197120,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7756535538923911168,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781795797000,"timestamp_ms":1781795797000,"timestamp_seconds":1781795797,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4e3808"} 
[2026-06-18 20:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47: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-06-18 20: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106176,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:47:37] 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-06-18 20:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139722496001,"66":11917,"198":206,"88":19456,"24":43,"16":94243801656197120,"45":-7756535538923911168},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,88,24,16,45]} 
[2026-06-18 20:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139722496001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 20:47:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94243801656197120,"km_value":94243801656197.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7756535538923911168,"description":"Unknown IO ID 45"} 
[2026-06-18 20:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139722496001,"power":11917,"unknown_198":206,"unknown_88":19456,"ignition":43,"odometer":null,"unknown_45":-7756535538923911168}} 
[2026-06-18 20:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":106176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346774,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:37] local.INFO: GPS data processed {"connection_id":106176,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:37] local.INFO: Acknowledgment sent {"connection_id":106176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:38] local.INFO: TCP Data received {"connection_id":106177,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:47:38] local.INFO: Processing buffer {"connection_id":106177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:47:38] local.INFO: IMEI packet received {"connection_id":106177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":106177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:47:39] local.INFO: TCP Data received {"connection_id":106177,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:47:39] local.INFO: Processing buffer {"connection_id":106177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:47:39] local.INFO: Packet analysis {"connection_id":106177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:39] local.INFO: Extracted packet for processing {"connection_id":106177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47: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-06-18 20:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:39] 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-06-18 20:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":106177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:39] local.INFO: GPS data processed {"connection_id":106177,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:39] local.INFO: Acknowledgment sent {"connection_id":106177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:49] local.INFO: TCP Data received {"connection_id":106966,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:49] local.INFO: Processing buffer {"connection_id":106966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:49] local.INFO: IMEI packet received {"connection_id":106966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":106966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:47:54] local.INFO: TCP Data received {"connection_id":106966,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:54] local.INFO: Processing buffer {"connection_id":106966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:47:54] local.INFO: IMEI packet received {"connection_id":106966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":106966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:47:55] local.INFO: TCP Data received {"connection_id":106966,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:55] local.INFO: Processing buffer {"connection_id":106966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:47:55] local.INFO: Packet analysis {"connection_id":106966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:55] local.INFO: Extracted packet for processing {"connection_id":106966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:47:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:47:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:47:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:47:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:47:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:47:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:47:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:47:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:47:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:47:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:47:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:47:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:47:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:47:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:47:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:47:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:47:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:47:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:47:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:47:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:47:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:47:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:47:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:47:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:47:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:47:55] local.INFO: DEBUG: GPS processor result {"connection_id":106966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:47:55] local.INFO: GPS data processed {"connection_id":106966,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:47:55] local.INFO: Acknowledgment sent {"connection_id":106966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:47:59] local.INFO: TCP Data received {"connection_id":106178,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:59] local.INFO: Processing buffer {"connection_id":106178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:47:59] local.INFO: IMEI packet received {"connection_id":106178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":106178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:48:00] local.INFO: TCP Data received {"connection_id":106966,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:00] local.INFO: Processing buffer {"connection_id":106966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:00] local.INFO: Packet analysis {"connection_id":106966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:00] local.INFO: Extracted packet for processing {"connection_id":106966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":106966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:00] local.INFO: GPS data processed {"connection_id":106966,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:00] local.INFO: Acknowledgment sent {"connection_id":106966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:01] local.INFO: TCP Data received {"connection_id":106352,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:48:01] local.INFO: Processing buffer {"connection_id":106352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4ab980012cc3308007685ac8005c006d2a..."} 
[2026-06-18 20:48:01] local.INFO: Packet analysis {"connection_id":106352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:48:01] local.INFO: Extracted packet for processing {"connection_id":106352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4a"} 
[2026-06-18 20:48:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139588352001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:01] 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-06-18 20:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795568000,"timestamp_ms":1781795568000,"timestamp_seconds":1781795568,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4ab980"} 
[2026-06-18 20:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:48: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-06-18 20:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139588352001,"66":25028,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139588352001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139588352001,"power":25028,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":106352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:01] local.INFO: GPS data processed {"connection_id":106352,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:01] local.INFO: Acknowledgment sent {"connection_id":106352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:05] local.INFO: TCP Data received {"connection_id":106178,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106178,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:48:05] local.INFO: Processing buffer {"connection_id":106178,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:48:05] local.INFO: IMEI packet received {"connection_id":106178,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":106178,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:48:05] local.INFO: TCP Data received {"connection_id":106178,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4e5b30012d949a8005f2c490001a005127..."} 
[2026-06-18 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4e5b30012d949a8005f2c490001a005127..."} 
[2026-06-18 20:48:05] local.INFO: Processing buffer {"connection_id":106178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4e5b30012d949a8005f2c490001a005127..."} 
[2026-06-18 20:48:05] local.INFO: Packet analysis {"connection_id":106178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:48:05] local.INFO: Extracted packet for processing {"connection_id":106178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":764713600,"raw_latitude":99796112,"longitude_deg":76.47136,"latitude_deg":9.9796112,"altitude":26,"angle":81,"satellites":39,"speed":39,"hex_longitude":"2d949a80","hex_latitude":"05f2c490","is_valid_coordinates":true} 
[2026-06-18 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139724032001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94244278397566976,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7749569033250396160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781795806000,"timestamp_ms":1781795806000,"timestamp_seconds":1781795806,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4e5b30"} 
[2026-06-18 20:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:48: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-06-18 20:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:05] 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-06-18 20:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:48:05] 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-06-18 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139724032001,"66":11895,"198":206,"88":19456,"24":39,"16":94244278397566976,"45":-7749569033250396160},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,88,24,16,45]} 
[2026-06-18 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139724032001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 20:48:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94244278397566976,"km_value":94244278397566.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7749569033250396160,"description":"Unknown IO ID 45"} 
[2026-06-18 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139724032001,"power":11895,"unknown_198":206,"unknown_88":19456,"ignition":39,"odometer":null,"unknown_45":-7749569033250396160}} 
[2026-06-18 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":106178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346779,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:05] local.INFO: GPS data processed {"connection_id":106178,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:05] local.INFO: Acknowledgment sent {"connection_id":106178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:11] local.INFO: TCP Data received {"connection_id":106177,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:48:11] local.INFO: Processing buffer {"connection_id":106177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:48:11] local.INFO: Packet analysis {"connection_id":106177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:11] local.INFO: Extracted packet for processing {"connection_id":106177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:11] 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-06-18 20:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106177,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":106177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346780,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:11] local.INFO: GPS data processed {"connection_id":106177,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:11] local.INFO: Acknowledgment sent {"connection_id":106177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:27] local.INFO: TCP Data received {"connection_id":107900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:27] local.INFO: Processing buffer {"connection_id":107900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:27] local.INFO: IMEI packet received {"connection_id":107900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":107900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:48:29] local.INFO: TCP Data received {"connection_id":107900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:29] local.INFO: Processing buffer {"connection_id":107900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:29] local.INFO: IMEI packet received {"connection_id":107900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":107900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:48:32] local.INFO: TCP Data received {"connection_id":106179,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:48:32] local.INFO: Processing buffer {"connection_id":106179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:48:32] local.INFO: IMEI packet received {"connection_id":106179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":106179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:48:34] local.INFO: TCP Data received {"connection_id":107900,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:34] local.INFO: Processing buffer {"connection_id":107900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:48:34] local.INFO: IMEI packet received {"connection_id":107900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":107900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:48:35] local.INFO: TCP Data received {"connection_id":107900,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:48:35] local.INFO: Processing buffer {"connection_id":107900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:48:35] local.INFO: Packet analysis {"connection_id":107900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:48:35] local.INFO: Extracted packet for processing {"connection_id":107900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:48:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:35] 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-06-18 20:48:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:48:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:48:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:35] 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-06-18 20:48:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:48:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:48:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:48: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-06-18 20:48:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:48:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:48:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:48:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:48:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:48:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:48:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:48:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:48:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:48:35] local.INFO: DEBUG: GPS processor result {"connection_id":107900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:35] local.INFO: GPS data processed {"connection_id":107900,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:35] local.INFO: Acknowledgment sent {"connection_id":107900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:37] local.INFO: TCP Data received {"connection_id":106178,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4e7e58012d94bdc005f2c8c0001d005726..."} 
[2026-06-18 20:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4e7e58012d94bdc005f2c8c0001d005726..."} 
[2026-06-18 20:48:37] local.INFO: Processing buffer {"connection_id":106178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4e7e58012d94bdc005f2c8c0001d005726..."} 
[2026-06-18 20:48:37] local.INFO: Packet analysis {"connection_id":106178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:48:37] local.INFO: Extracted packet for processing {"connection_id":106178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4e"} 
[2026-06-18 20:48:37] local.INFO: GPS Element Parsed {"raw_longitude":764722624,"raw_latitude":99797184,"longitude_deg":76.4722624,"latitude_deg":9.9797184,"altitude":29,"angle":87,"satellites":38,"speed":41,"hex_longitude":"2d94bdc0","hex_latitude":"05f2c8c0","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139726336001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94244712189263872,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7738732246646616064,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781795815000,"timestamp_ms":1781795815000,"timestamp_seconds":1781795815,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4e7e58"} 
[2026-06-18 20:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20: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-06-18 20: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:37] 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-06-18 20: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-06-18 20:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106178,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:48:37] 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-06-18 20:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139726336001,"66":11950,"198":206,"88":19456,"24":41,"16":94244712189263872,"45":-7738732246646616064},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,88,24,16,45]} 
[2026-06-18 20:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139726336001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:37] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-06-18 20:48:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94244712189263872,"km_value":94244712189263.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7738732246646616064,"description":"Unknown IO ID 45"} 
[2026-06-18 20:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139726336001,"power":11950,"unknown_198":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-7738732246646616064}} 
[2026-06-18 20:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":106178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346782,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:37] local.INFO: GPS data processed {"connection_id":106178,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:37] local.INFO: Acknowledgment sent {"connection_id":106178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:38] local.INFO: TCP Data received {"connection_id":106179,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:48:38] local.INFO: Processing buffer {"connection_id":106179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:48:38] local.INFO: IMEI packet received {"connection_id":106179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":106179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:48:39] local.INFO: TCP Data received {"connection_id":106179,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:48:39] local.INFO: Processing buffer {"connection_id":106179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:48:39] local.INFO: Packet analysis {"connection_id":106179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:39] local.INFO: Extracted packet for processing {"connection_id":106179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:48: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-06-18 20:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:39] 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-06-18 20:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":106179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:39] local.INFO: GPS data processed {"connection_id":106179,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:39] local.INFO: Acknowledgment sent {"connection_id":106179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:44] local.INFO: TCP Data received {"connection_id":106353,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:48:44] local.INFO: Processing buffer {"connection_id":106353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:48:44] local.INFO: IMEI packet received {"connection_id":106353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:48:44] local.INFO: IMEI acknowledgment sent {"connection_id":106353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:48:49] local.INFO: TCP Data received {"connection_id":106353,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106353,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:48:49] local.INFO: Processing buffer {"connection_id":106353,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:48:49] local.INFO: IMEI packet received {"connection_id":106353,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":106353,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:48:50] local.INFO: TCP Data received {"connection_id":106353,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:50] local.INFO: Processing buffer {"connection_id":106353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:50] local.INFO: Packet analysis {"connection_id":106353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:50] local.INFO: Extracted packet for processing {"connection_id":106353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:48:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":106353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:50] local.INFO: GPS data processed {"connection_id":106353,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:50] local.INFO: Acknowledgment sent {"connection_id":106353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:54] local.INFO: TCP Data received {"connection_id":106353,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:54] local.INFO: Processing buffer {"connection_id":106353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:48:54] local.INFO: Packet analysis {"connection_id":106353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:54] local.INFO: Extracted packet for processing {"connection_id":106353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:48:54] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:48:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:48:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:48:54] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:48:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:48:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:48:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:48:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:48:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:48:54] local.INFO: Teltonika packet parsed successfully {"connection_id":106353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:48:54] local.INFO: Passing IMEI to GPS processor {"connection_id":106353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:48:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":106353,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:48:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:48:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:48:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:48:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:48:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:48:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:48:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:48:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:48:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:48:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:48:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:48:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":106353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346785,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:48:54] local.INFO: GPS data processed {"connection_id":106353,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:48:54] local.INFO: Acknowledgment sent {"connection_id":106353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:48:59] local.INFO: TCP Data received {"connection_id":106967,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:48:59] local.INFO: Processing buffer {"connection_id":106967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:48:59] local.INFO: IMEI packet received {"connection_id":106967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":106967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:49:04] local.INFO: TCP Data received {"connection_id":106967,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:49:04] local.INFO: Processing buffer {"connection_id":106967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:49:04] local.INFO: IMEI packet received {"connection_id":106967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":106967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:49:04] local.INFO: TCP Data received {"connection_id":106967,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106967,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:49:04] local.INFO: Processing buffer {"connection_id":106967,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:49:04] local.INFO: IMEI packet received {"connection_id":106967,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":106967,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:49:05] local.INFO: TCP Data received {"connection_id":106967,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb502050012d95fb0005f2daa00018002f27..."} 
[2026-06-18 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb502050012d95fb0005f2daa00018002f27..."} 
[2026-06-18 20:49:05] local.INFO: Processing buffer {"connection_id":106967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb502050012d95fb0005f2daa00018002f27..."} 
[2026-06-18 20:49:05] local.INFO: Packet analysis {"connection_id":106967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb50"} 
[2026-06-18 20:49:05] local.INFO: Extracted packet for processing {"connection_id":106967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb50"} 
[2026-06-18 20:49:05] local.INFO: GPS Element Parsed {"raw_longitude":764803840,"raw_latitude":99801760,"longitude_deg":76.480384,"latitude_deg":9.980176,"altitude":24,"angle":47,"satellites":39,"speed":50,"hex_longitude":"2d95fb00","hex_latitude":"05f2daa0","is_valid_coordinates":true} 
[2026-06-18 20:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139755264001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94248672149110784,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7642678910843213824,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781795922000,"timestamp_ms":1781795922000,"timestamp_seconds":1781795922,"priority":1,"record_length":96,"hex_timestamp":"0000019edb502050"} 
[2026-06-18 20:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:49: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-06-18 20:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:05] 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-06-18 20:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:49:05] 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-06-18 20:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139755264001,"66":12069,"11":206,"88":19456,"24":50,"16":94248672149110784,"45":-7642678910843213824},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,88,24,16,45]} 
[2026-06-18 20:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139755264001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 20:49:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94248672149110784,"km_value":94248672149110.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7642678910843213824,"description":"Unknown IO ID 45"} 
[2026-06-18 20:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139755264001,"power":12069,"unknown_11":206,"unknown_88":19456,"ignition":50,"odometer":null,"unknown_45":-7642678910843213824}} 
[2026-06-18 20:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":106967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:05] local.INFO: GPS data processed {"connection_id":106967,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:05] local.INFO: Acknowledgment sent {"connection_id":106967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:49:06] local.INFO: TCP Data received {"connection_id":107900,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:49:06] local.INFO: Processing buffer {"connection_id":107900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:49:06] local.INFO: Packet analysis {"connection_id":107900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:49:06] local.INFO: Extracted packet for processing {"connection_id":107900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:06] 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-06-18 20:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:06] 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-06-18 20: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-06-18 20:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:49: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-06-18 20:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":107900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:06] local.INFO: GPS data processed {"connection_id":107900,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:06] local.INFO: Acknowledgment sent {"connection_id":107900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:49:10] local.INFO: TCP Data received {"connection_id":106967,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb502c08012d96044005f2e6400018002126..."} 
[2026-06-18 20:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb502c08012d96044005f2e6400018002126..."} 
[2026-06-18 20:49:10] local.INFO: Processing buffer {"connection_id":106967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb502c08012d96044005f2e6400018002126..."} 
[2026-06-18 20:49:10] local.INFO: Packet analysis {"connection_id":106967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb50"} 
[2026-06-18 20:49:10] local.INFO: Extracted packet for processing {"connection_id":106967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb50"} 
[2026-06-18 20:49:10] local.INFO: GPS Element Parsed {"raw_longitude":764806208,"raw_latitude":99804736,"longitude_deg":76.4806208,"latitude_deg":9.9804736,"altitude":24,"angle":33,"satellites":38,"speed":49,"hex_longitude":"2d960440","hex_latitude":"05f2e640","is_valid_coordinates":true} 
[2026-06-18 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-06-18 20:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139756032001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94248856832704512,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7639512317354663936,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781795925000,"timestamp_ms":1781795925000,"timestamp_seconds":1781795925,"priority":1,"record_length":96,"hex_timestamp":"0000019edb502c08"} 
[2026-06-18 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-06-18 20:49: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-06-18 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":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 20:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:49:10] 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-06-18 20:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139756032001,"66":11787,"11":206,"88":19456,"24":49,"16":94248856832704512,"45":-7639512317354663936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,88,24,16,45]} 
[2026-06-18 20:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139756032001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 20:49:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94248856832704512,"km_value":94248856832704.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7639512317354663936,"description":"Unknown IO ID 45"} 
[2026-06-18 20:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139756032001,"power":11787,"unknown_11":206,"unknown_88":19456,"ignition":49,"odometer":null,"unknown_45":-7639512317354663936}} 
[2026-06-18 20:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":106967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346788,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:10] local.INFO: GPS data processed {"connection_id":106967,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:10] local.INFO: Acknowledgment sent {"connection_id":106967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:49:11] local.INFO: TCP Data received {"connection_id":106179,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:11] local.INFO: Processing buffer {"connection_id":106179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:11] local.INFO: Packet analysis {"connection_id":106179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:49:11] local.INFO: Extracted packet for processing {"connection_id":106179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:11] 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-06-18 20:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106179,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":106179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:11] local.INFO: GPS data processed {"connection_id":106179,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:11] local.INFO: Acknowledgment sent {"connection_id":106179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:49:24] local.INFO: TCP Data received {"connection_id":106354,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:49:24] local.INFO: Processing buffer {"connection_id":106354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:49:24] local.INFO: IMEI packet received {"connection_id":106354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:49:24] local.INFO: IMEI acknowledgment sent {"connection_id":106354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:49:29] local.INFO: TCP Data received {"connection_id":106354,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:49:29] local.INFO: Processing buffer {"connection_id":106354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:49:29] local.INFO: IMEI packet received {"connection_id":106354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":106354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:49:30] local.INFO: TCP Data received {"connection_id":106354,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:49:30] local.INFO: Processing buffer {"connection_id":106354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:49:30] local.INFO: Packet analysis {"connection_id":106354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:49:30] local.INFO: Extracted packet for processing {"connection_id":106354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:49:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:30] 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-06-18 20:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:30] 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-06-18 20: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-06-18 20:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:49: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-06-18 20:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:49:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":106354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:30] local.INFO: GPS data processed {"connection_id":106354,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:30] local.INFO: Acknowledgment sent {"connection_id":106354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:49:38] local.INFO: TCP Data received {"connection_id":106355,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:49:38] local.INFO: Processing buffer {"connection_id":106355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:49:38] local.INFO: IMEI packet received {"connection_id":106355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":106355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:49:41] local.INFO: TCP Data received {"connection_id":106967,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb503f90012d96110005f2f7900018003428..."} 
[2026-06-18 20:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb503f90012d96110005f2f7900018003428..."} 
[2026-06-18 20:49:41] local.INFO: Processing buffer {"connection_id":106967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb503f90012d96110005f2f7900018003428..."} 
[2026-06-18 20:49:41] local.INFO: Packet analysis {"connection_id":106967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb50"} 
[2026-06-18 20:49:41] local.INFO: Extracted packet for processing {"connection_id":106967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb50"} 
[2026-06-18 20:49:41] local.INFO: GPS Element Parsed {"raw_longitude":764809472,"raw_latitude":99809168,"longitude_deg":76.4809472,"latitude_deg":9.9809168,"altitude":24,"angle":52,"satellites":40,"speed":37,"hex_longitude":"2d961100","hex_latitude":"05f2f790","is_valid_coordinates":true} 
[2026-06-18 20:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139756800001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94249123120676864,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7636908673819328512,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781795930000,"timestamp_ms":1781795930000,"timestamp_seconds":1781795930,"priority":1,"record_length":96,"hex_timestamp":"0000019edb503f90"} 
[2026-06-18 20:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:49: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-06-18 20:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3679425456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6999913700085650027,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":242,"raw_value":3319267355,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":873136334,"corrected_to":0} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2415996309,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":148,"raw_value":2147873472,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-3093409994050109440,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476648783874,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":112,"raw_value":-4610011761926463744,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2882335647354325504,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:41] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,11,88,24,241,157,16,214,158,32,45,218,39,10,66,20,192,210,40,4,128,1,240,98,227,219,242,113,205,194,148,96,41,239,47,2,78,93,206,112,81],"length":533,"final_offset":663,"validated_count":41,"validation_warnings":[{"io_id":205,"original":873136334,"validated":0}]} 
[2026-06-18 20:49:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1729418704005955584,"timestamp_seconds":1729418704005955.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106967,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:49:41] 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-06-18 20:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139756800001,"66":12004,"11":206,"88":19456,"24":37,"16":94249123120676864,"45":-7636908673819328512},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,88,24,16,45]} 
[2026-06-18 20:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139756800001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:41] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 20:49:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94249123120676864,"km_value":94249123120676.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7636908673819328512,"description":"Unknown IO ID 45"} 
[2026-06-18 20:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139756800001,"power":12004,"unknown_11":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-7636908673819328512}} 
[2026-06-18 20:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":106967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346791,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:41] local.INFO: GPS data processed {"connection_id":106967,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:41] local.INFO: Acknowledgment sent {"connection_id":106967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:49:43] local.INFO: TCP Data received {"connection_id":106355,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:49:43] local.INFO: Processing buffer {"connection_id":106355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:49:43] local.INFO: IMEI packet received {"connection_id":106355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":106355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:49:44] local.INFO: TCP Data received {"connection_id":106355,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:44] local.INFO: Processing buffer {"connection_id":106355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:44] local.INFO: Packet analysis {"connection_id":106355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:49:44] local.INFO: Extracted packet for processing {"connection_id":106355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:49:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:49:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:44] 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-06-18 20:49:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":106355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:44] local.INFO: GPS data processed {"connection_id":106355,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:44] local.INFO: Acknowledgment sent {"connection_id":106355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:49:45] local.INFO: TCP Data received {"connection_id":107901,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:49:45] local.INFO: Processing buffer {"connection_id":107901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:49:45] local.INFO: IMEI packet received {"connection_id":107901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:49:45] local.INFO: IMEI acknowledgment sent {"connection_id":107901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:49:48] local.INFO: TCP Data received {"connection_id":106355,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:48] local.INFO: Processing buffer {"connection_id":106355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:49:48] local.INFO: Packet analysis {"connection_id":106355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:49:48] local.INFO: Extracted packet for processing {"connection_id":106355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:49:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:48] 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-06-18 20:49:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106355,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:49:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":106355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:49] local.INFO: GPS data processed {"connection_id":106355,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:49] local.INFO: Acknowledgment sent {"connection_id":106355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:49:49] local.INFO: TCP Data received {"connection_id":107901,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:49:49] local.INFO: Processing buffer {"connection_id":107901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:49:49] local.INFO: IMEI packet received {"connection_id":107901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":107901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:49:50] local.INFO: TCP Data received {"connection_id":107901,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:49:50] local.INFO: Processing buffer {"connection_id":107901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:49:50] local.INFO: Packet analysis {"connection_id":107901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:49:50] local.INFO: Extracted packet for processing {"connection_id":107901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:49:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:49:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":107901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:49:50] local.INFO: GPS data processed {"connection_id":107901,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:49:50] local.INFO: Acknowledgment sent {"connection_id":107901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:50:01] local.INFO: TCP Data received {"connection_id":106354,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:50:01] local.INFO: Processing buffer {"connection_id":106354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:50:01] local.INFO: Packet analysis {"connection_id":106354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:50:01] local.INFO: Extracted packet for processing {"connection_id":106354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:50:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:01] 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-06-18 20:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:50:01] 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-06-18 20:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:50: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-06-18 20:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:50:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:50:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":106354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:50:01] local.INFO: GPS data processed {"connection_id":106354,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:50:01] local.INFO: Acknowledgment sent {"connection_id":106354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:50:02] local.INFO: TCP Data received {"connection_id":106968,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:02] local.INFO: Processing buffer {"connection_id":106968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:02] local.INFO: IMEI packet received {"connection_id":106968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":106968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:50:05] local.INFO: TCP Data received {"connection_id":106968,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:05] local.INFO: Processing buffer {"connection_id":106968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:05] local.INFO: IMEI packet received {"connection_id":106968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":106968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:50:10] local.INFO: TCP Data received {"connection_id":106968,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106968,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:10] local.INFO: Processing buffer {"connection_id":106968,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:50:10] local.INFO: IMEI packet received {"connection_id":106968,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":106968,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:50:10] local.INFO: TCP Data received {"connection_id":106968,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5102e0012d96f44005f2c6000018007729..."} 
[2026-06-18 20:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5102e0012d96f44005f2c6000018007729..."} 
[2026-06-18 20:50:10] local.INFO: Processing buffer {"connection_id":106968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5102e0012d96f44005f2c6000018007729..."} 
[2026-06-18 20:50:10] local.INFO: Packet analysis {"connection_id":106968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:50:10] local.INFO: Extracted packet for processing {"connection_id":106968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:50:10] local.INFO: GPS Element Parsed {"raw_longitude":764867648,"raw_latitude":99796480,"longitude_deg":76.4867648,"latitude_deg":9.979648,"altitude":24,"angle":119,"satellites":41,"speed":44,"hex_longitude":"2d96f440","hex_latitude":"05f2c600","is_valid_coordinates":true} 
[2026-06-18 20:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139770880001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94252052288372736,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7569354679410884608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781795980000,"timestamp_ms":1781795980000,"timestamp_seconds":1781795980,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5102e0"} 
[2026-06-18 20:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:50: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-06-18 20:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 20:50:10] 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-06-18 20:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:50:10] 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-06-18 20:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139770880001,"66":11874,"10":206,"88":19456,"24":44,"16":94252052288372736,"45":-7569354679410884608},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-06-18 20:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139770880001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:50:10] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 20:50:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94252052288372736,"km_value":94252052288372.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7569354679410884608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139770880001,"power":11874,"unknown_10":206,"unknown_88":19456,"ignition":44,"odometer":null,"unknown_45":-7569354679410884608}} 
[2026-06-18 20:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":106968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346796,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:50:10] local.INFO: GPS data processed {"connection_id":106968,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:50:10] local.INFO: Acknowledgment sent {"connection_id":106968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:50:14] local.INFO: TCP Data received {"connection_id":106968,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb512220012d97144005f2b3b80018006c2a..."} 
[2026-06-18 20:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb512220012d97144005f2b3b80018006c2a..."} 
[2026-06-18 20:50:14] local.INFO: Processing buffer {"connection_id":106968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb512220012d97144005f2b3b80018006c2a..."} 
[2026-06-18 20:50:14] local.INFO: Packet analysis {"connection_id":106968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:50:14] local.INFO: Extracted packet for processing {"connection_id":106968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:50:14] local.INFO: GPS Element Parsed {"raw_longitude":764875840,"raw_latitude":99791800,"longitude_deg":76.487584,"latitude_deg":9.97918,"altitude":24,"angle":108,"satellites":42,"speed":51,"hex_longitude":"2d971440","hex_latitude":"05f2b3b8","is_valid_coordinates":true} 
[2026-06-18 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139770880001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94252507554906112,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7569354679410884608,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781795988000,"timestamp_ms":1781795988000,"timestamp_seconds":1781795988,"priority":1,"record_length":96,"hex_timestamp":"0000019edb512220"} 
[2026-06-18 20:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:50: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-06-18 20:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 20:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106968,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:50:14] 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-06-18 20:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139770880001,"66":11906,"10":206,"88":19456,"24":51,"16":94252507554906112,"45":-7569354679410884608},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,88,24,16,45]} 
[2026-06-18 20:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139770880001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:50:14] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-06-18 20:50:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94252507554906112,"km_value":94252507554906.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7569354679410884608,"description":"Unknown IO ID 45"} 
[2026-06-18 20:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139770880001,"power":11906,"unknown_10":206,"unknown_88":19456,"ignition":51,"odometer":null,"unknown_45":-7569354679410884608}} 
[2026-06-18 20:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":106968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:50:14] local.INFO: GPS data processed {"connection_id":106968,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:50:14] local.INFO: Acknowledgment sent {"connection_id":106968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:50:22] local.INFO: TCP Data received {"connection_id":107901,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:50:22] local.INFO: Processing buffer {"connection_id":107901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:50:22] local.INFO: Packet analysis {"connection_id":107901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:50:22] local.INFO: Extracted packet for processing {"connection_id":107901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:50:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:50:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":107901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:50:22] local.INFO: GPS data processed {"connection_id":107901,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:50:22] local.INFO: Acknowledgment sent {"connection_id":107901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:50:24] local.INFO: TCP Data received {"connection_id":106180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:50:24] local.INFO: Processing buffer {"connection_id":106180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:50:24] local.INFO: IMEI packet received {"connection_id":106180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":106180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:50:29] local.INFO: TCP Data received {"connection_id":106180,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:50:29] local.INFO: Processing buffer {"connection_id":106180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:50:29] local.INFO: IMEI packet received {"connection_id":106180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":106180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:50:30] local.INFO: TCP Data received {"connection_id":106180,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:50:30] local.INFO: Processing buffer {"connection_id":106180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:50:30] local.INFO: Packet analysis {"connection_id":106180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:50:30] local.INFO: Extracted packet for processing {"connection_id":106180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:30] 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-06-18 20:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:50:30] 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-06-18 20:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:50: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-06-18 20:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:50:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":106180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:50:30] local.INFO: GPS data processed {"connection_id":106180,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:50:30] local.INFO: Acknowledgment sent {"connection_id":106180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:50:33] local.INFO: TCP Data received {"connection_id":106969,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:50:33] local.INFO: Processing buffer {"connection_id":106969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:50:33] local.INFO: IMEI packet received {"connection_id":106969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:50:33] local.INFO: IMEI acknowledgment sent {"connection_id":106969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:50:38] local.INFO: TCP Data received {"connection_id":106969,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:50:38] local.INFO: Processing buffer {"connection_id":106969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:50:38] local.INFO: IMEI packet received {"connection_id":106969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":106969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:50:39] local.INFO: TCP Data received {"connection_id":106969,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:50:39] local.INFO: Processing buffer {"connection_id":106969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d2698012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:50:39] local.INFO: Packet analysis {"connection_id":106969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:50:39] local.INFO: Extracted packet for processing {"connection_id":106969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139629056001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781795727000,"timestamp_ms":1781795727000,"timestamp_seconds":1781795727,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d2698"} 
[2026-06-18 20:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 20:50:39] 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-06-18 20:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139629056001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139629056001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:50:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139629056001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":106969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:50:39] local.INFO: GPS data processed {"connection_id":106969,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:50:39] local.INFO: Acknowledgment sent {"connection_id":106969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:50:44] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:50:44] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:50:44] local.INFO: IMEI packet received {"connection_id":106181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:50:44] local.INFO: IMEI acknowledgment sent {"connection_id":106181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:50:49] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:50:49] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:50:49] local.INFO: IMEI packet received {"connection_id":106181,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":106181,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:50:51] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:50:51] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4d49c0012d196500071fefc80040006225..."} 
[2026-06-18 20:50:51] local.INFO: Packet analysis {"connection_id":106181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:50:51] local.INFO: Extracted packet for processing {"connection_id":106181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4d"} 
[2026-06-18 20:50:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:50:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139631360001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:50:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:50:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781795736000,"timestamp_ms":1781795736000,"timestamp_seconds":1781795736,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4d49c0"} 
[2026-06-18 20:50:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:50:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:50:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 20:50:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:50:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:50:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:50:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:50:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:50:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:50:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:50:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:50:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:50:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:50:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139631360001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:50:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:50:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:50:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139631360001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:50:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:50:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:50:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:50:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:50:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139631360001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:50:51] local.INFO: DEBUG: GPS processor result {"connection_id":106181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:50:51] local.INFO: GPS data processed {"connection_id":106181,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:50:51] local.INFO: Acknowledgment sent {"connection_id":106181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:00] local.INFO: TCP Data received {"connection_id":107902,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:00] local.INFO: Processing buffer {"connection_id":107902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:00] local.INFO: IMEI packet received {"connection_id":107902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":107902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:51:00] local.INFO: TCP Data received {"connection_id":107902,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:00] local.INFO: Processing buffer {"connection_id":107902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:00] local.INFO: IMEI packet received {"connection_id":107902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":107902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:51:01] local.INFO: TCP Data received {"connection_id":106180,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:51:01] local.INFO: Processing buffer {"connection_id":106180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:51:01] local.INFO: Packet analysis {"connection_id":106180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:51:01] local.INFO: Extracted packet for processing {"connection_id":106180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:51:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:01] 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-06-18 20:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:51:01] 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-06-18 20: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-06-18 20:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:51: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-06-18 20:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:51:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":106180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:51:01] local.INFO: GPS data processed {"connection_id":106180,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:51:01] local.INFO: Acknowledgment sent {"connection_id":106180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:05] local.INFO: TCP Data received {"connection_id":107902,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107902,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:05] local.INFO: Processing buffer {"connection_id":107902,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:05] local.INFO: IMEI packet received {"connection_id":107902,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":107902,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:51:05] local.INFO: TCP Data received {"connection_id":107902,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d97cac005f28cb8001100462a..."} 
[2026-06-18 20:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d97cac005f28cb8001100462a..."} 
[2026-06-18 20:51:05] local.INFO: Processing buffer {"connection_id":107902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d97cac005f28cb8001100462a..."} 
[2026-06-18 20:51:05] local.INFO: Packet analysis {"connection_id":107902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:05] local.INFO: Extracted packet for processing {"connection_id":107902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:05] local.INFO: GPS Element Parsed {"raw_longitude":764922560,"raw_latitude":99781816,"longitude_deg":76.492256,"latitude_deg":9.9781816,"altitude":17,"angle":70,"satellites":42,"speed":44,"hex_longitude":"2d97cac0","hex_latitude":"05f28cb8","is_valid_coordinates":true} 
[2026-06-18 20:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94255024405741568,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7508978296910202880,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:51: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-06-18 20:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 20:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:51:05] 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-06-18 20:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":11743,"124":206,"88":19456,"24":44,"16":94255024405741568,"45":-7508978296910202880},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,88,24,16,45]} 
[2026-06-18 20:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:51:05] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-18 20:51:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94255024405741568,"km_value":94255024405741.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7508978296910202880,"description":"Unknown IO ID 45"} 
[2026-06-18 20:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":11743,"unknown_124":206,"unknown_88":19456,"ignition":44,"odometer":null,"unknown_45":-7508978296910202880}} 
[2026-06-18 20:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":107902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:51:05] local.INFO: GPS data processed {"connection_id":107902,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:51:05] local.INFO: Acknowledgment sent {"connection_id":107902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:11] local.INFO: TCP Data received {"connection_id":106969,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:51:11] local.INFO: Processing buffer {"connection_id":106969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:51:11] local.INFO: Packet analysis {"connection_id":106969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:11] local.INFO: Extracted packet for processing {"connection_id":106969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:51:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":106969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:51:11] local.INFO: GPS data processed {"connection_id":106969,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:51:11] local.INFO: Acknowledgment sent {"connection_id":106969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:22] local.INFO: TCP Data received {"connection_id":106181,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:51:22] local.INFO: Processing buffer {"connection_id":106181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:51:22] local.INFO: Packet analysis {"connection_id":106181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:22] local.INFO: Extracted packet for processing {"connection_id":106181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:51:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:51:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:51:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:51:22] 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-06-18 20:51:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:51:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:51:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:51:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:51:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:51:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:51:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:51:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106181,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:51:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:51:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:51:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:51:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:51:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:51:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:51:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:51:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:51:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:51:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:51:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:51:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:51:22] local.INFO: DEBUG: GPS processor result {"connection_id":106181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:51:22] local.INFO: GPS data processed {"connection_id":106181,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:51:22] local.INFO: Acknowledgment sent {"connection_id":106181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:24] local.INFO: TCP Data received {"connection_id":106356,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:51:24] local.INFO: Processing buffer {"connection_id":106356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:51:24] local.INFO: IMEI packet received {"connection_id":106356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":106356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:51:29] local.INFO: TCP Data received {"connection_id":106356,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:51:29] local.INFO: Processing buffer {"connection_id":106356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:51:29] local.INFO: IMEI packet received {"connection_id":106356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":106356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:51:30] local.INFO: TCP Data received {"connection_id":106356,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:51:30] local.INFO: Processing buffer {"connection_id":106356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:51:30] local.INFO: Packet analysis {"connection_id":106356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:51:30] local.INFO: Extracted packet for processing {"connection_id":106356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:51:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:30] 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-06-18 20:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:51:30] 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-06-18 20:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:51:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:51:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:51:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":106356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:51:30] local.INFO: GPS data processed {"connection_id":106356,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:51:30] local.INFO: Acknowledgment sent {"connection_id":106356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:32] local.INFO: TCP Data received {"connection_id":106182,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:51:32] local.INFO: Processing buffer {"connection_id":106182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:51:32] local.INFO: IMEI packet received {"connection_id":106182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:51:32] local.INFO: IMEI acknowledgment sent {"connection_id":106182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:51:36] local.INFO: TCP Data received {"connection_id":107902,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e958012d97d38005f28ea00011005229..."} 
[2026-06-18 20:51:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e958012d97d38005f28ea00011005229..."} 
[2026-06-18 20:51:36] local.INFO: Processing buffer {"connection_id":107902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e958012d97d38005f28ea00011005229..."} 
[2026-06-18 20:51:36] local.INFO: Packet analysis {"connection_id":107902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:36] local.INFO: Extracted packet for processing {"connection_id":107902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:36] local.INFO: GPS Element Parsed {"raw_longitude":764924800,"raw_latitude":99782304,"longitude_deg":76.49248,"latitude_deg":9.9782304,"altitude":17,"angle":82,"satellites":41,"speed":44,"hex_longitude":"2d97d380","hex_latitude":"05f28ea0","is_valid_coordinates":true} 
[2026-06-18 20:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:51:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94255131779923968,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7508978296910202880,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:51:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781796039000,"timestamp_ms":1781796039000,"timestamp_seconds":1781796039,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e958"} 
[2026-06-18 20:51:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:51: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-06-18 20:51:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 20:51:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:51:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:51:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:51:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:51:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:51:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:51:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107902,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:51:36] 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-06-18 20:51:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:51:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:51:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":11852,"124":206,"88":19456,"24":44,"16":94255131779923968,"45":-7508978296910202880},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,88,24,16,45]} 
[2026-06-18 20:51:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:51:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:51:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:51:36] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-18 20:51:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:51:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94255131779923968,"km_value":94255131779923.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:51:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7508978296910202880,"description":"Unknown IO ID 45"} 
[2026-06-18 20:51:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":11852,"unknown_124":206,"unknown_88":19456,"ignition":44,"odometer":null,"unknown_45":-7508978296910202880}} 
[2026-06-18 20:51:36] local.INFO: DEBUG: GPS processor result {"connection_id":107902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346807,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:51:36] local.INFO: GPS data processed {"connection_id":107902,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:51:36] local.INFO: Acknowledgment sent {"connection_id":107902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:38] local.INFO: TCP Data received {"connection_id":106182,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:51:38] local.INFO: Processing buffer {"connection_id":106182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:51:38] local.INFO: IMEI packet received {"connection_id":106182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":106182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:51:39] local.INFO: TCP Data received {"connection_id":106182,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:51:39] local.INFO: Processing buffer {"connection_id":106182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:51:39] local.INFO: Packet analysis {"connection_id":106182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:39] local.INFO: Extracted packet for processing {"connection_id":106182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:51: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-06-18 20:51:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:51: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-06-18 20:51:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:51:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:51:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":106182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:51:39] local.INFO: GPS data processed {"connection_id":106182,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:51:39] local.INFO: Acknowledgment sent {"connection_id":106182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:49] local.INFO: TCP Data received {"connection_id":106970,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:51:49] local.INFO: Processing buffer {"connection_id":106970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:51:49] local.INFO: IMEI packet received {"connection_id":106970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":106970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:51:54] local.INFO: TCP Data received {"connection_id":106970,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:51:54] local.INFO: Processing buffer {"connection_id":106970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:51:54] local.INFO: IMEI packet received {"connection_id":106970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":106970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:51:55] local.INFO: TCP Data received {"connection_id":106970,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:51:55] local.INFO: Processing buffer {"connection_id":106970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:51:55] local.INFO: Packet analysis {"connection_id":106970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:55] local.INFO: Extracted packet for processing {"connection_id":106970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:51:55] 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-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:51:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":106970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:51:56] local.INFO: GPS data processed {"connection_id":106970,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:51:56] local.INFO: Acknowledgment sent {"connection_id":106970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:51:59] local.INFO: TCP Data received {"connection_id":106971,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:59] local.INFO: Processing buffer {"connection_id":106971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:51:59] local.INFO: IMEI packet received {"connection_id":106971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":106971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:52:01] local.INFO: TCP Data received {"connection_id":106356,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:52:01] local.INFO: Processing buffer {"connection_id":106356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:52:01] local.INFO: Packet analysis {"connection_id":106356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:52:01] local.INFO: Extracted packet for processing {"connection_id":106356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:52:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:01] 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-06-18 20:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:52:01] 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-06-18 20: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-06-18 20:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":106356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:01] local.INFO: GPS data processed {"connection_id":106356,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:01] local.INFO: Acknowledgment sent {"connection_id":106356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:03] local.INFO: TCP Data received {"connection_id":106971,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:03] local.INFO: Processing buffer {"connection_id":106971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:03] local.INFO: IMEI packet received {"connection_id":106971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":106971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:52:04] local.INFO: TCP Data received {"connection_id":106971,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106971,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:04] local.INFO: Processing buffer {"connection_id":106971,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:04] local.INFO: IMEI packet received {"connection_id":106971,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":106971,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:52:05] local.INFO: TCP Data received {"connection_id":106971,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb52f2f8012d98f18005f204680014007f25..."} 
[2026-06-18 20:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb52f2f8012d98f18005f204680014007f25..."} 
[2026-06-18 20:52:05] local.INFO: Processing buffer {"connection_id":106971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb52f2f8012d98f18005f204680014007f25..."} 
[2026-06-18 20:52:05] local.INFO: Packet analysis {"connection_id":106971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb52"} 
[2026-06-18 20:52:05] local.INFO: Extracted packet for processing {"connection_id":106971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb52"} 
[2026-06-18 20:52:05] local.INFO: GPS Element Parsed {"raw_longitude":764998016,"raw_latitude":99746920,"longitude_deg":76.4998016,"latitude_deg":9.974692,"altitude":20,"angle":127,"satellites":37,"speed":50,"hex_longitude":"2d98f180","hex_latitude":"05f20468","is_valid_coordinates":true} 
[2026-06-18 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139801856001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94259199113953280,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7431854153299079168,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796107000,"timestamp_ms":1781796107000,"timestamp_seconds":1781796107,"priority":1,"record_length":96,"hex_timestamp":"0000019edb52f2f8"} 
[2026-06-18 20:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52: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-06-18 20:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 20:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:52:05] 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-06-18 20:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139801856001,"66":11798,"124":206,"88":19456,"24":50,"16":94259199113953280,"45":-7431854153299079168},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,88,24,16,45]} 
[2026-06-18 20:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139801856001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:05] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-18 20:52:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94259199113953280,"km_value":94259199113953.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7431854153299079168,"description":"Unknown IO ID 45"} 
[2026-06-18 20:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139801856001,"power":11798,"unknown_124":206,"unknown_88":19456,"ignition":50,"odometer":null,"unknown_45":-7431854153299079168}} 
[2026-06-18 20:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":106971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346811,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:05] local.INFO: GPS data processed {"connection_id":106971,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:05] local.INFO: Acknowledgment sent {"connection_id":106971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:09] local.INFO: TCP Data received {"connection_id":106971,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb52feb0012d98fd8005f1fd500015007422..."} 
[2026-06-18 20:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb52feb0012d98fd8005f1fd500015007422..."} 
[2026-06-18 20:52:09] local.INFO: Processing buffer {"connection_id":106971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb52feb0012d98fd8005f1fd500015007422..."} 
[2026-06-18 20:52:09] local.INFO: Packet analysis {"connection_id":106971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb52"} 
[2026-06-18 20:52:09] local.INFO: Extracted packet for processing {"connection_id":106971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb52"} 
[2026-06-18 20:52:09] local.INFO: GPS Element Parsed {"raw_longitude":765001088,"raw_latitude":99745104,"longitude_deg":76.5001088,"latitude_deg":9.9745104,"altitude":21,"angle":116,"satellites":34,"speed":45,"hex_longitude":"2d98fd80","hex_latitude":"05f1fd50","is_valid_coordinates":true} 
[2026-06-18 20:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139803392001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94259366617677824,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7426013547533670400,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781796110000,"timestamp_ms":1781796110000,"timestamp_seconds":1781796110,"priority":1,"record_length":96,"hex_timestamp":"0000019edb52feb0"} 
[2026-06-18 20:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52: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-06-18 20:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3679613456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2560884741,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184149975245,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":242,"raw_value":8989184916368271616,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847395056,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2810295645502441984,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":897319118,"corrected_to":0} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":150,"raw_value":2147873372,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365639989,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":78,"raw_value":-2420403324734930944,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":94,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476650225666,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":80,"raw_value":1673932633542144,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":201,"raw_value":57761176931424332,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":82,"raw_value":3715470987918835717,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.WARNING: Large IO value detected {"io_id":50,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:09] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,124,88,24,241,157,16,224,158,219,45,192,40,10,66,223,64,53,15,41,172,1,240,104,227,242,4,113,205,51,141,150,56,38,239,46,2,78,94,206,80,201,82,50],"length":632,"final_offset":762,"validated_count":44,"validation_warnings":[{"io_id":205,"original":897319118,"validated":0}]} 
[2026-06-18 20:52:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1441291677652353024,"timestamp_seconds":1441291677652353.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:52:09] 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-06-18 20:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139803392001,"66":11743,"124":206,"88":19456,"24":45,"16":94259366617677824,"45":-7426013547533670400},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,88,24,16,45]} 
[2026-06-18 20:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139803392001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:09] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-18 20:52:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94259366617677824,"km_value":94259366617677.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7426013547533670400,"description":"Unknown IO ID 45"} 
[2026-06-18 20:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139803392001,"power":11743,"unknown_124":206,"unknown_88":19456,"ignition":45,"odometer":null,"unknown_45":-7426013547533670400}} 
[2026-06-18 20:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":106971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:09] local.INFO: GPS data processed {"connection_id":106971,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:09] local.INFO: Acknowledgment sent {"connection_id":106971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:11] local.INFO: TCP Data received {"connection_id":106182,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:52:11] local.INFO: Processing buffer {"connection_id":106182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:52:11] local.INFO: Packet analysis {"connection_id":106182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:52:11] local.INFO: Extracted packet for processing {"connection_id":106182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:52:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:52:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106182,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:52:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":106182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:11] local.INFO: GPS data processed {"connection_id":106182,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:11] local.INFO: Acknowledgment sent {"connection_id":106182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:24] local.INFO: TCP Data received {"connection_id":106972,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:52:24] local.INFO: Processing buffer {"connection_id":106972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:52:24] local.INFO: IMEI packet received {"connection_id":106972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":106972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:52:27] local.INFO: TCP Data received {"connection_id":106970,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:52:27] local.INFO: Processing buffer {"connection_id":106970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:52:27] local.INFO: Packet analysis {"connection_id":106970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:52:27] local.INFO: Extracted packet for processing {"connection_id":106970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":106970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":106970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":106970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":106970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:27] local.INFO: GPS data processed {"connection_id":106970,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:27] local.INFO: Acknowledgment sent {"connection_id":106970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:29] local.INFO: TCP Data received {"connection_id":106972,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:52:29] local.INFO: Processing buffer {"connection_id":106972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:52:29] local.INFO: IMEI packet received {"connection_id":106972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":106972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:52:30] local.INFO: TCP Data received {"connection_id":106972,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:52:30] local.INFO: Processing buffer {"connection_id":106972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:52:30] local.INFO: Packet analysis {"connection_id":106972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:52:30] local.INFO: Extracted packet for processing {"connection_id":106972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:30] 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-06-18 20:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 20:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:52:30] 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-06-18 20: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-06-18 20:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:52: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-06-18 20:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:52:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":106972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:30] local.INFO: GPS data processed {"connection_id":106972,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:30] local.INFO: Acknowledgment sent {"connection_id":106972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:32] local.INFO: TCP Data received {"connection_id":107903,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:52:32] local.INFO: Processing buffer {"connection_id":107903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:52:32] local.INFO: IMEI packet received {"connection_id":107903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":107903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:52:38] local.INFO: TCP Data received {"connection_id":107903,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:52:38] local.INFO: Processing buffer {"connection_id":107903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:52:38] local.INFO: IMEI packet received {"connection_id":107903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":107903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:52:39] local.INFO: TCP Data received {"connection_id":107903,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:52:39] local.INFO: Processing buffer {"connection_id":107903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:52:39] local.INFO: Packet analysis {"connection_id":107903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:52:39] local.INFO: Extracted packet for processing {"connection_id":107903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52: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-06-18 20:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:52: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-06-18 20:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:52:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":107903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:39] local.INFO: GPS data processed {"connection_id":107903,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:39] local.INFO: Acknowledgment sent {"connection_id":107903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:40] local.INFO: TCP Data received {"connection_id":106971,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb530e50012d990c4005f1f8100016006024..."} 
[2026-06-18 20:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb530e50012d990c4005f1f8100016006024..."} 
[2026-06-18 20:52:40] local.INFO: Processing buffer {"connection_id":106971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb530e50012d990c4005f1f8100016006024..."} 
[2026-06-18 20:52:40] local.INFO: Packet analysis {"connection_id":106971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:52:40] local.INFO: Extracted packet for processing {"connection_id":106971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:52:40] local.INFO: GPS Element Parsed {"raw_longitude":765004864,"raw_latitude":99743760,"longitude_deg":76.5004864,"latitude_deg":9.974376,"altitude":22,"angle":96,"satellites":36,"speed":38,"hex_longitude":"2d990c40","hex_latitude":"05f1f810","is_valid_coordinates":true} 
[2026-06-18 20:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139804160001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94259564186173440,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7422635847813607424,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781796114000,"timestamp_ms":1781796114000,"timestamp_seconds":1781796114,"priority":1,"record_length":96,"hex_timestamp":"0000019edb530e50"} 
[2026-06-18 20:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52: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-06-18 20:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 20:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106971,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:52:40] 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-06-18 20:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139804160001,"66":11917,"124":206,"88":19456,"24":38,"16":94259564186173440,"45":-7422635847813607424},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,88,24,16,45]} 
[2026-06-18 20:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139804160001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:40] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-18 20:52:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94259564186173440,"km_value":94259564186173.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7422635847813607424,"description":"Unknown IO ID 45"} 
[2026-06-18 20:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139804160001,"power":11917,"unknown_124":206,"unknown_88":19456,"ignition":38,"odometer":null,"unknown_45":-7422635847813607424}} 
[2026-06-18 20:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":106971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346817,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:40] local.INFO: GPS data processed {"connection_id":106971,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:40] local.INFO: Acknowledgment sent {"connection_id":106971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:44] local.INFO: TCP Data received {"connection_id":107904,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:52:44] local.INFO: Processing buffer {"connection_id":107904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:52:44] local.INFO: IMEI packet received {"connection_id":107904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":107904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:52:49] local.INFO: TCP Data received {"connection_id":107904,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:52:49] local.INFO: Processing buffer {"connection_id":107904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:52:49] local.INFO: IMEI packet received {"connection_id":107904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":107904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:52:50] local.INFO: TCP Data received {"connection_id":107904,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:52:50] local.INFO: Processing buffer {"connection_id":107904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:52:50] local.INFO: Packet analysis {"connection_id":107904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:52:50] local.INFO: Extracted packet for processing {"connection_id":107904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:52:50] 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-06-18 20:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:52:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:52:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:52:51] local.INFO: DEBUG: GPS processor result {"connection_id":107904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:52:51] local.INFO: GPS data processed {"connection_id":107904,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:52:51] local.INFO: Acknowledgment sent {"connection_id":107904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:52:59] local.INFO: TCP Data received {"connection_id":106357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:59] local.INFO: Processing buffer {"connection_id":106357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:52:59] local.INFO: IMEI packet received {"connection_id":106357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":106357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:53:01] local.INFO: TCP Data received {"connection_id":106972,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:53:01] local.INFO: Processing buffer {"connection_id":106972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb4f5148012cc3308007685ac80057006d2b..."} 
[2026-06-18 20:53:01] local.INFO: Packet analysis {"connection_id":106972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:53:01] local.INFO: Extracted packet for processing {"connection_id":106972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb4f"} 
[2026-06-18 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":87,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 20:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139665408001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:01] 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-06-18 20:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781795869000,"timestamp_ms":1781795869000,"timestamp_seconds":1781795869,"priority":1,"record_length":96,"hex_timestamp":"0000019edb4f5148"} 
[2026-06-18 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-06-18 20:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:01] 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-06-18 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-06-18 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-06-18 20:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20: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-06-18 20:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139665408001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139665408001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:53:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139665408001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":106972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:01] local.INFO: GPS data processed {"connection_id":106972,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:01] local.INFO: Acknowledgment sent {"connection_id":106972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:04] local.INFO: TCP Data received {"connection_id":106357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:04] local.INFO: Processing buffer {"connection_id":106357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:04] local.INFO: IMEI packet received {"connection_id":106357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":106357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:53:04] local.INFO: TCP Data received {"connection_id":106357,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106357,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:04] local.INFO: Processing buffer {"connection_id":106357,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:04] local.INFO: IMEI packet received {"connection_id":106357,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":106357,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:53:05] local.INFO: TCP Data received {"connection_id":106357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb531238012d99100005f1f8400016005424..."} 
[2026-06-18 20:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb531238012d99100005f1f8400016005424..."} 
[2026-06-18 20:53:05] local.INFO: Processing buffer {"connection_id":106357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb531238012d99100005f1f8400016005424..."} 
[2026-06-18 20:53:05] local.INFO: Packet analysis {"connection_id":106357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:53:05] local.INFO: Extracted packet for processing {"connection_id":106357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:53:05] local.INFO: GPS Element Parsed {"raw_longitude":765005824,"raw_latitude":99743808,"longitude_deg":76.5005824,"latitude_deg":9.9743808,"altitude":22,"angle":84,"satellites":36,"speed":37,"hex_longitude":"2d991000","hex_latitude":"05f1f840","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139805184001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94259607135846400,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7418484091907469312,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796115000,"timestamp_ms":1781796115000,"timestamp_seconds":1781796115,"priority":1,"record_length":96,"hex_timestamp":"0000019edb531238"} 
[2026-06-18 20:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20: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-06-18 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:05] 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-06-18 20: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-06-18 20:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:53:05] 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-06-18 20:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139805184001,"66":11917,"124":206,"88":19456,"24":37,"16":94259607135846400,"45":-7418484091907469312},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,88,24,16,45]} 
[2026-06-18 20:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139805184001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:05] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-18 20:53:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94259607135846400,"km_value":94259607135846.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7418484091907469312,"description":"Unknown IO ID 45"} 
[2026-06-18 20:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139805184001,"power":11917,"unknown_124":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-7418484091907469312}} 
[2026-06-18 20:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":106357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346820,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:05] local.INFO: GPS data processed {"connection_id":106357,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:05] local.INFO: Acknowledgment sent {"connection_id":106357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:10] local.INFO: TCP Data received {"connection_id":106357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb531a08012d9916c005f1fac80015004323..."} 
[2026-06-18 20:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb531a08012d9916c005f1fac80015004323..."} 
[2026-06-18 20:53:10] local.INFO: Processing buffer {"connection_id":106357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb531a08012d9916c005f1fac80015004323..."} 
[2026-06-18 20:53:10] local.INFO: Packet analysis {"connection_id":106357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:53:10] local.INFO: Extracted packet for processing {"connection_id":106357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:53:10] local.INFO: GPS Element Parsed {"raw_longitude":765007552,"raw_latitude":99744456,"longitude_deg":76.5007552,"latitude_deg":9.9744456,"altitude":21,"angle":67,"satellites":35,"speed":38,"hex_longitude":"2d9916c0","hex_latitude":"05f1fac8","is_valid_coordinates":true} 
[2026-06-18 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139805440001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94259697330159616,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7417428560744792064,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781796117000,"timestamp_ms":1781796117000,"timestamp_seconds":1781796117,"priority":1,"record_length":96,"hex_timestamp":"0000019edb531a08"} 
[2026-06-18 20:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:53: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-06-18 20:53:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:10] 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-06-18 20:53:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:53:10] 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-06-18 20:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139805440001,"66":12015,"124":206,"88":19456,"24":38,"16":94259697330159616,"45":-7417428560744792064},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,88,24,16,45]} 
[2026-06-18 20:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139805440001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:10] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-06-18 20:53:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94259697330159616,"km_value":94259697330159.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7417428560744792064,"description":"Unknown IO ID 45"} 
[2026-06-18 20:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139805440001,"power":12015,"unknown_124":206,"unknown_88":19456,"ignition":38,"odometer":null,"unknown_45":-7417428560744792064}} 
[2026-06-18 20:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":106357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346821,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:10] local.INFO: GPS data processed {"connection_id":106357,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:10] local.INFO: Acknowledgment sent {"connection_id":106357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:11] local.INFO: TCP Data received {"connection_id":107903,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:53:11] local.INFO: Processing buffer {"connection_id":107903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:53:11] local.INFO: Packet analysis {"connection_id":107903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:53:11] local.INFO: Extracted packet for processing {"connection_id":107903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:53:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":107903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:11] local.INFO: GPS data processed {"connection_id":107903,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:11] local.INFO: Acknowledgment sent {"connection_id":107903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:22] local.INFO: TCP Data received {"connection_id":107904,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:53:22] local.INFO: Processing buffer {"connection_id":107904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:53:22] local.INFO: Packet analysis {"connection_id":107904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:53:22] local.INFO: Extracted packet for processing {"connection_id":107904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:53:22] 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-06-18 20:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:53:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":107904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:22] local.INFO: GPS data processed {"connection_id":107904,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:22] local.INFO: Acknowledgment sent {"connection_id":107904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:28] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:28] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:28] local.INFO: IMEI packet received {"connection_id":106183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":106183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:53:28] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:28] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:28] local.INFO: IMEI packet received {"connection_id":106183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":106183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:53:32] local.INFO: TCP Data received {"connection_id":106358,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:53:32] local.INFO: Processing buffer {"connection_id":106358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:53:32] local.INFO: IMEI packet received {"connection_id":106358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":106358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:53:34] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:34] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:53:34] local.INFO: IMEI packet received {"connection_id":106183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":106183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:53:35] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:53:35] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:53:35] local.INFO: Packet analysis {"connection_id":106183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:53:35] local.INFO: Extracted packet for processing {"connection_id":106183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:35] 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-06-18 20:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:53:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:53:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":106183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:35] local.INFO: GPS data processed {"connection_id":106183,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:35] local.INFO: Acknowledgment sent {"connection_id":106183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:38] local.INFO: TCP Data received {"connection_id":106358,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106358,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:53:38] local.INFO: Processing buffer {"connection_id":106358,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:53:38] local.INFO: IMEI packet received {"connection_id":106358,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":106358,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:53:39] local.INFO: TCP Data received {"connection_id":106358,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:53:39] local.INFO: Processing buffer {"connection_id":106358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:53:39] local.INFO: Packet analysis {"connection_id":106358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:53:39] local.INFO: Extracted packet for processing {"connection_id":106358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:53: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-06-18 20:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:53: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-06-18 20:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:53:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":106358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:39] local.INFO: GPS data processed {"connection_id":106358,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:39] local.INFO: Acknowledgment sent {"connection_id":106358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:39] local.INFO: TCP Data received {"connection_id":106183,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:53:39] local.INFO: Processing buffer {"connection_id":106183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:53:39] local.INFO: Packet analysis {"connection_id":106183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:53:39] local.INFO: Extracted packet for processing {"connection_id":106183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:39] 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-06-18 20:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:53:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":106183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:39] local.INFO: GPS data processed {"connection_id":106183,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:39] local.INFO: Acknowledgment sent {"connection_id":106183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:41] local.INFO: TCP Data received {"connection_id":106357,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5471c8012d9a37c005f252b0000c005d2a..."} 
[2026-06-18 20:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5471c8012d9a37c005f252b0000c005d2a..."} 
[2026-06-18 20:53:41] local.INFO: Processing buffer {"connection_id":106357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5471c8012d9a37c005f252b0000c005d2a..."} 
[2026-06-18 20:53:41] local.INFO: Packet analysis {"connection_id":106357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb54"} 
[2026-06-18 20:53:41] local.INFO: Extracted packet for processing {"connection_id":106357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb54"} 
[2026-06-18 20:53:41] local.INFO: GPS Element Parsed {"raw_longitude":765081536,"raw_latitude":99766960,"longitude_deg":76.5081536,"latitude_deg":9.976696,"altitude":12,"angle":93,"satellites":42,"speed":34,"hex_longitude":"2d9a37c0","hex_latitude":"05f252b0","is_valid_coordinates":true} 
[2026-06-18 20:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139825664001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94263502671183872,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7344174698049873920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781796205000,"timestamp_ms":1781796205000,"timestamp_seconds":1781796205,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5471c8"} 
[2026-06-18 20:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:53: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-06-18 20:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106357,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:53:41] 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-06-18 20:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139825664001,"66":11917,"158":206,"88":19456,"24":34,"16":94263502671183872,"45":-7344174698049873920},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,88,24,16,45]} 
[2026-06-18 20:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139825664001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:41] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 20:53:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94263502671183872,"km_value":94263502671183.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7344174698049873920,"description":"Unknown IO ID 45"} 
[2026-06-18 20:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139825664001,"power":11917,"unknown_158":206,"unknown_88":19456,"ignition":34,"odometer":null,"unknown_45":-7344174698049873920}} 
[2026-06-18 20:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":106357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346827,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:41] local.INFO: GPS data processed {"connection_id":106357,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:41] local.INFO: Acknowledgment sent {"connection_id":106357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:44] local.INFO: TCP Data received {"connection_id":106184,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:53:44] local.INFO: Processing buffer {"connection_id":106184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:53:44] local.INFO: IMEI packet received {"connection_id":106184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:53:44] local.INFO: IMEI acknowledgment sent {"connection_id":106184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:53:49] local.INFO: TCP Data received {"connection_id":106184,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:53:49] local.INFO: Processing buffer {"connection_id":106184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:53:49] local.INFO: IMEI packet received {"connection_id":106184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":106184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:53:50] local.INFO: TCP Data received {"connection_id":106184,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:53:50] local.INFO: Processing buffer {"connection_id":106184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:53:50] local.INFO: Packet analysis {"connection_id":106184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:53:50] local.INFO: Extracted packet for processing {"connection_id":106184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:53:50] 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-06-18 20:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:53:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:53:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":106184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:53:50] local.INFO: GPS data processed {"connection_id":106184,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:53:50] local.INFO: Acknowledgment sent {"connection_id":106184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:53:59] local.INFO: TCP Data received {"connection_id":106359,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:59] local.INFO: Processing buffer {"connection_id":106359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:53:59] local.INFO: IMEI packet received {"connection_id":106359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":106359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:54:05] local.INFO: TCP Data received {"connection_id":106359,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106359,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:54:05] local.INFO: Processing buffer {"connection_id":106359,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:54:05] local.INFO: IMEI packet received {"connection_id":106359,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":106359,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:54:05] local.INFO: TCP Data received {"connection_id":106359,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb548938012d9a4b8005f24fe8000a006929..."} 
[2026-06-18 20:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb548938012d9a4b8005f24fe8000a006929..."} 
[2026-06-18 20:54:05] local.INFO: Processing buffer {"connection_id":106359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb548938012d9a4b8005f24fe8000a006929..."} 
[2026-06-18 20:54:05] local.INFO: Packet analysis {"connection_id":106359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb54"} 
[2026-06-18 20:54:05] local.INFO: Extracted packet for processing {"connection_id":106359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb54"} 
[2026-06-18 20:54:05] local.INFO: GPS Element Parsed {"raw_longitude":765086592,"raw_latitude":99766248,"longitude_deg":76.5086592,"latitude_deg":9.9766248,"altitude":10,"angle":105,"satellites":41,"speed":33,"hex_longitude":"2d9a4b80","hex_latitude":"05f24fe8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139828480001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94263743189352448,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7334182336376688640,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796211000,"timestamp_ms":1781796211000,"timestamp_seconds":1781796211,"priority":1,"record_length":96,"hex_timestamp":"0000019edb548938"} 
[2026-06-18 20:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:54: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-06-18 20: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 20:54:05] 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-06-18 20: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-06-18 20:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:54:05] 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-06-18 20:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139828480001,"66":11950,"158":206,"88":19456,"24":33,"16":94263743189352448,"45":-7334182336376688640},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,88,24,16,45]} 
[2026-06-18 20:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139828480001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:54:05] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 20:54:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94263743189352448,"km_value":94263743189352.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7334182336376688640,"description":"Unknown IO ID 45"} 
[2026-06-18 20:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139828480001,"power":11950,"unknown_158":206,"unknown_88":19456,"ignition":33,"odometer":null,"unknown_45":-7334182336376688640}} 
[2026-06-18 20:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":106359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346829,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:54:05] local.INFO: GPS data processed {"connection_id":106359,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:54:05] local.INFO: Acknowledgment sent {"connection_id":106359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:54:11] local.INFO: TCP Data received {"connection_id":106358,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:11] local.INFO: Processing buffer {"connection_id":106358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:11] local.INFO: Packet analysis {"connection_id":106358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:11] local.INFO: Extracted packet for processing {"connection_id":106358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:54:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:54:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:54:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:54:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:54:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:54:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:54:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:54:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:54:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:54:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:54:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:54:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106358,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:54:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:54:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:54:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:54:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:54:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:54:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:54:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:54:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:54:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:54:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:54:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:54:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:54:11] local.INFO: DEBUG: GPS processor result {"connection_id":106358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:54:11] local.INFO: GPS data processed {"connection_id":106358,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:54:11] local.INFO: Acknowledgment sent {"connection_id":106358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:54:22] local.INFO: TCP Data received {"connection_id":106184,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:54:22] local.INFO: Processing buffer {"connection_id":106184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:54:22] local.INFO: Packet analysis {"connection_id":106184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:22] local.INFO: Extracted packet for processing {"connection_id":106184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:54:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:54:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:54:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:54:22] 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-06-18 20:54:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:54:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:54:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:54:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:54:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:54:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:54:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:54:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:54:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:54:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:54:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:54:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:54:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:54:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:54:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:54:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:54:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:54:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:54:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:54:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:54:22] local.INFO: DEBUG: GPS processor result {"connection_id":106184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:54:22] local.INFO: GPS data processed {"connection_id":106184,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:54:22] local.INFO: Acknowledgment sent {"connection_id":106184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:54:24] local.INFO: TCP Data received {"connection_id":106185,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:54:24] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:54:24] local.INFO: IMEI packet received {"connection_id":106185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":106185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:54:29] local.INFO: TCP Data received {"connection_id":106185,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:54:29] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:54:29] local.INFO: IMEI packet received {"connection_id":106185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":106185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:54:30] local.INFO: TCP Data received {"connection_id":106185,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:54:30] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:54:30] local.INFO: Packet analysis {"connection_id":106185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:54:30] local.INFO: Extracted packet for processing {"connection_id":106185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:54:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:30] 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-06-18 20:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:54:30] 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-06-18 20:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:54:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":106185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:54:30] local.INFO: GPS data processed {"connection_id":106185,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:54:30] local.INFO: Acknowledgment sent {"connection_id":106185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:54:36] local.INFO: TCP Data received {"connection_id":106359,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb549cc0012d9a5a8005f249c80009007529..."} 
[2026-06-18 20:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb549cc0012d9a5a8005f249c80009007529..."} 
[2026-06-18 20:54:36] local.INFO: Processing buffer {"connection_id":106359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb549cc0012d9a5a8005f249c80009007529..."} 
[2026-06-18 20:54:36] local.INFO: Packet analysis {"connection_id":106359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb54"} 
[2026-06-18 20:54:36] local.INFO: Extracted packet for processing {"connection_id":106359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb54"} 
[2026-06-18 20:54:36] local.INFO: GPS Element Parsed {"raw_longitude":765090432,"raw_latitude":99764680,"longitude_deg":76.5090432,"latitude_deg":9.976468,"altitude":9,"angle":117,"satellites":41,"speed":32,"hex_longitude":"2d9a5a80","hex_latitude":"05f249c8","is_valid_coordinates":true} 
[2026-06-18 20:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139830016001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94263940757848064,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7328623205586835456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781796216000,"timestamp_ms":1781796216000,"timestamp_seconds":1781796216,"priority":1,"record_length":96,"hex_timestamp":"0000019edb549cc0"} 
[2026-06-18 20:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:54: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-06-18 20:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 20:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106359,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:54:36] 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-06-18 20:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139830016001,"66":11765,"158":206,"88":19456,"24":32,"16":94263940757848064,"45":-7328623205586835456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,88,24,16,45]} 
[2026-06-18 20:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139830016001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:54:36] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 20:54:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94263940757848064,"km_value":94263940757848.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7328623205586835456,"description":"Unknown IO ID 45"} 
[2026-06-18 20:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139830016001,"power":11765,"unknown_158":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-7328623205586835456}} 
[2026-06-18 20:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":106359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346833,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:54:36] local.INFO: GPS data processed {"connection_id":106359,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:54:36] local.INFO: Acknowledgment sent {"connection_id":106359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:54:38] local.INFO: TCP Data received {"connection_id":107905,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:54:38] local.INFO: Processing buffer {"connection_id":107905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:54:38] local.INFO: IMEI packet received {"connection_id":107905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":107905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:54:43] local.INFO: TCP Data received {"connection_id":107905,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:54:43] local.INFO: Processing buffer {"connection_id":107905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:54:43] local.INFO: IMEI packet received {"connection_id":107905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":107905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:54:44] local.INFO: TCP Data received {"connection_id":106360,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:54:44] local.INFO: Processing buffer {"connection_id":106360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:54:44] local.INFO: IMEI packet received {"connection_id":106360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":106360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:54:44] local.INFO: TCP Data received {"connection_id":107905,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:44] local.INFO: Processing buffer {"connection_id":107905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:44] local.INFO: Packet analysis {"connection_id":107905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:44] local.INFO: Extracted packet for processing {"connection_id":107905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:54:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:54:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107905,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107905,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:54:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:54:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":107905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:54:44] local.INFO: GPS data processed {"connection_id":107905,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:54:44] local.INFO: Acknowledgment sent {"connection_id":107905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:54:48] local.INFO: TCP Data received {"connection_id":107905,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:48] local.INFO: Processing buffer {"connection_id":107905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:54:48] local.INFO: Packet analysis {"connection_id":107905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:48] local.INFO: Extracted packet for processing {"connection_id":107905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107905,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107905,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:54:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":107905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:54:49] local.INFO: GPS data processed {"connection_id":107905,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:54:49] local.INFO: Acknowledgment sent {"connection_id":107905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:54:49] local.INFO: TCP Data received {"connection_id":106360,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:54:49] local.INFO: Processing buffer {"connection_id":106360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:54:49] local.INFO: IMEI packet received {"connection_id":106360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":106360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:54:50] local.INFO: TCP Data received {"connection_id":106360,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:54:50] local.INFO: Processing buffer {"connection_id":106360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:54:50] local.INFO: Packet analysis {"connection_id":106360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:50] local.INFO: Extracted packet for processing {"connection_id":106360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:54:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:54:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:54:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:54:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:54:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:54:50] 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-06-18 20:54:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:54:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:54:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:54:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:54:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:54:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:54:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:54:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:54:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:54:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:54:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:54:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:54:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:54:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:54:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:54:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:54:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:54:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:54:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":106360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:54:51] local.INFO: GPS data processed {"connection_id":106360,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:54:51] local.INFO: Acknowledgment sent {"connection_id":106360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:01] local.INFO: TCP Data received {"connection_id":106185,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:55:01] local.INFO: Processing buffer {"connection_id":106185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:55:01] local.INFO: Packet analysis {"connection_id":106185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:55:01] local.INFO: Extracted packet for processing {"connection_id":106185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:55:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:01] 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-06-18 20:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:55:01] 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-06-18 20:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:55:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":106185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:55:01] local.INFO: GPS data processed {"connection_id":106185,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:55:01] local.INFO: Acknowledgment sent {"connection_id":106185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:03] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:03] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:03] local.INFO: IMEI packet received {"connection_id":106361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":106361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:55:04] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:04] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:04] local.INFO: IMEI packet received {"connection_id":106361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":106361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:55:09] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:09] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:09] local.INFO: IMEI packet received {"connection_id":106361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":106361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:55:10] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb557780012d9b3a8005f2a220000e002b29..."} 
[2026-06-18 20:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb557780012d9b3a8005f2a220000e002b29..."} 
[2026-06-18 20:55:10] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb557780012d9b3a8005f2a220000e002b29..."} 
[2026-06-18 20:55:10] local.INFO: Packet analysis {"connection_id":106361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb55"} 
[2026-06-18 20:55:10] local.INFO: Extracted packet for processing {"connection_id":106361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb55"} 
[2026-06-18 20:55:10] local.INFO: GPS Element Parsed {"raw_longitude":765147776,"raw_latitude":99787296,"longitude_deg":76.5147776,"latitude_deg":9.9787296,"altitude":14,"angle":43,"satellites":41,"speed":52,"hex_longitude":"2d9b3a80","hex_latitude":"05f2a220","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139843840001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94267290832338944,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7268106085590343680,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,158,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781796272000,"timestamp_ms":1781796272000,"timestamp_seconds":1781796272,"priority":1,"record_length":96,"hex_timestamp":"0000019edb557780"} 
[2026-06-18 20:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20: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-06-18 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3314649325912458240,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3679772456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2596995077,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4656159950992310296,"corrected_to":0} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":234,"raw_value":3758173594,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":168,"raw_value":2147873333,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3850698752,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-995154780026286808,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194763776,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:10] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,158,88,24,241,157,16,231,60,45,64,105,11,41,10,66,230,92,40,33,1,240,130,227,219,242,4,113,205,53,234,168,56,39,239,44,2,78,5,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":205,"original":4656159950992310296,"validated":0}]} 
[2026-06-18 20:55:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":936790675736821760,"timestamp_seconds":936790675736821.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:55:10] 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-06-18 20:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139843840001,"66":11895,"158":206,"88":19456,"24":52,"16":94267290832338944,"45":-7268106085590343680},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,88,24,16,45]} 
[2026-06-18 20:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139843840001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:55:10] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-06-18 20:55:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94267290832338944,"km_value":94267290832338.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7268106085590343680,"description":"Unknown IO ID 45"} 
[2026-06-18 20:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139843840001,"power":11895,"unknown_158":206,"unknown_88":19456,"ignition":52,"odometer":null,"unknown_45":-7268106085590343680}} 
[2026-06-18 20:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":106361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346838,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:55:10] local.INFO: GPS data processed {"connection_id":106361,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:55:10] local.INFO: Acknowledgment sent {"connection_id":106361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:11] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5592d8012d9b55c005f2bb68000f003228..."} 
[2026-06-18 20:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5592d8012d9b55c005f2bb68000f003228..."} 
[2026-06-18 20:55:11] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5592d8012d9b55c005f2bb68000f003228..."} 
[2026-06-18 20:55:11] local.INFO: Packet analysis {"connection_id":106361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb55"} 
[2026-06-18 20:55:11] local.INFO: Extracted packet for processing {"connection_id":106361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb55"} 
[2026-06-18 20:55:11] local.INFO: GPS Element Parsed {"raw_longitude":765154752,"raw_latitude":99793768,"longitude_deg":76.5154752,"latitude_deg":9.9793768,"altitude":15,"angle":50,"satellites":40,"speed":51,"hex_longitude":"2d9b55c0","hex_latitude":"05f2bb68","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139845632001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94267750393839616,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7261350686147600384,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796279000,"timestamp_ms":1781796279000,"timestamp_seconds":1781796279,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5592d8"} 
[2026-06-18 20:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20: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-06-18 20: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 20:55:11] 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-06-18 20: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-06-18 20:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:55:11] 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-06-18 20:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139845632001,"66":11950,"176":206,"88":19456,"24":51,"16":94267750393839616,"45":-7261350686147600384},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,88,24,16,45]} 
[2026-06-18 20:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139845632001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:55:11] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-18 20:55:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94267750393839616,"km_value":94267750393839.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7261350686147600384,"description":"Unknown IO ID 45"} 
[2026-06-18 20:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139845632001,"power":11950,"unknown_176":206,"unknown_88":19456,"ignition":51,"odometer":null,"unknown_45":-7261350686147600384}} 
[2026-06-18 20:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":106361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346839,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:55:11] local.INFO: GPS data processed {"connection_id":106361,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:55:11] local.INFO: Acknowledgment sent {"connection_id":106361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:22] local.INFO: TCP Data received {"connection_id":106360,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:55:22] local.INFO: Processing buffer {"connection_id":106360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:55:22] local.INFO: Packet analysis {"connection_id":106360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:55:22] local.INFO: Extracted packet for processing {"connection_id":106360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:55:22] 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-06-18 20:55:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:55:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:55:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:55:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:55:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":106360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:55:22] local.INFO: GPS data processed {"connection_id":106360,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:55:22] local.INFO: Acknowledgment sent {"connection_id":106360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:24] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:55:24] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:55:24] local.INFO: IMEI packet received {"connection_id":106362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":106362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:55:29] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:55:29] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:55:29] local.INFO: IMEI packet received {"connection_id":106362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":106362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:55:30] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:55:30] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:55:30] local.INFO: Packet analysis {"connection_id":106362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:55:30] local.INFO: Extracted packet for processing {"connection_id":106362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:30] 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-06-18 20:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:55:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:55:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:55:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":106362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:55:30] local.INFO: GPS data processed {"connection_id":106362,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:55:30] local.INFO: Acknowledgment sent {"connection_id":106362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:33] local.INFO: TCP Data received {"connection_id":107906,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:55:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:55:33] local.INFO: Processing buffer {"connection_id":107906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:55:33] local.INFO: IMEI packet received {"connection_id":107906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:55:33] local.INFO: IMEI acknowledgment sent {"connection_id":107906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:55:38] local.INFO: TCP Data received {"connection_id":107906,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107906,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:55:38] local.INFO: Processing buffer {"connection_id":107906,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:55:38] local.INFO: IMEI packet received {"connection_id":107906,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":107906,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:55:43] local.INFO: TCP Data received {"connection_id":107906,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:55:43] local.INFO: Processing buffer {"connection_id":107906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51be60012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:55:43] local.INFO: Packet analysis {"connection_id":107906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:55:43] local.INFO: Extracted packet for processing {"connection_id":107906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139706112001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781796028000,"timestamp_ms":1781796028000,"timestamp_seconds":1781796028,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51be60"} 
[2026-06-18 20:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:55:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139706112001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139706112001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:55:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:55:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139706112001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":107906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:55:43] local.INFO: GPS data processed {"connection_id":107906,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:55:43] local.INFO: Acknowledgment sent {"connection_id":107906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:44] local.INFO: TCP Data received {"connection_id":106361,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb55aa48012d9b6e8005f2ccb8000f003e2a..."} 
[2026-06-18 20:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb55aa48012d9b6e8005f2ccb8000f003e2a..."} 
[2026-06-18 20:55:44] local.INFO: Processing buffer {"connection_id":106361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb55aa48012d9b6e8005f2ccb8000f003e2a..."} 
[2026-06-18 20:55:44] local.INFO: Packet analysis {"connection_id":106361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb55"} 
[2026-06-18 20:55:44] local.INFO: Extracted packet for processing {"connection_id":106361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb55"} 
[2026-06-18 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":765161088,"raw_latitude":99798200,"longitude_deg":76.5161088,"latitude_deg":9.97982,"altitude":15,"angle":62,"satellites":42,"speed":51,"hex_longitude":"2d9b6e80","hex_latitude":"05f2ccb8","is_valid_coordinates":true} 
[2026-06-18 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139847424001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94268119761027072,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7253680493030578176,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781796285000,"timestamp_ms":1781796285000,"timestamp_seconds":1781796285,"priority":1,"record_length":96,"hex_timestamp":"0000019edb55aa48"} 
[2026-06-18 20:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:55:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 20:55:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 20:55:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:55:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:55:44] 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-06-18 20:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139847424001,"66":12015,"176":206,"88":19456,"24":51,"16":94268119761027072,"45":-7253680493030578176},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,88,24,16,45]} 
[2026-06-18 20:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139847424001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:55:44] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-06-18 20:55:44] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94268119761027072,"km_value":94268119761027.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7253680493030578176,"description":"Unknown IO ID 45"} 
[2026-06-18 20:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139847424001,"power":12015,"unknown_176":206,"unknown_88":19456,"ignition":51,"odometer":null,"unknown_45":-7253680493030578176}} 
[2026-06-18 20:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":106361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346843,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:55:44] local.INFO: GPS data processed {"connection_id":106361,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:55:44] local.INFO: Acknowledgment sent {"connection_id":106361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:49] local.INFO: TCP Data received {"connection_id":106363,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:55:49] local.INFO: Processing buffer {"connection_id":106363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:55:49] local.INFO: IMEI packet received {"connection_id":106363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":106363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:55:54] local.INFO: TCP Data received {"connection_id":106363,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106363,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:55:54] local.INFO: Processing buffer {"connection_id":106363,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:55:54] local.INFO: IMEI packet received {"connection_id":106363,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":106363,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:55:55] local.INFO: TCP Data received {"connection_id":106363,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:55:55] local.INFO: Processing buffer {"connection_id":106363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:55:55] local.INFO: Packet analysis {"connection_id":106363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:55:55] local.INFO: Extracted packet for processing {"connection_id":106363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:55:55] 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-06-18 20:55:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:55:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:55:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":106363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:55:56] local.INFO: GPS data processed {"connection_id":106363,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:55:56] local.INFO: Acknowledgment sent {"connection_id":106363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:55:56] local.INFO: TCP Data received {"connection_id":107907,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:56] local.INFO: Processing buffer {"connection_id":107907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:56] local.INFO: IMEI packet received {"connection_id":107907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":107907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:55:59] local.INFO: TCP Data received {"connection_id":107907,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:59] local.INFO: Processing buffer {"connection_id":107907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:55:59] local.INFO: IMEI packet received {"connection_id":107907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":107907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:56:00] local.INFO: TCP Data received {"connection_id":106363,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:56:00] local.INFO: Processing buffer {"connection_id":106363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb51e188012d196500071fefc80040006228..."} 
[2026-06-18 20:56:00] local.INFO: Packet analysis {"connection_id":106363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:56:00] local.INFO: Extracted packet for processing {"connection_id":106363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb51"} 
[2026-06-18 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139708416001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781796037000,"timestamp_ms":1781796037000,"timestamp_seconds":1781796037,"priority":1,"record_length":96,"hex_timestamp":"0000019edb51e188"} 
[2026-06-18 20:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56:00] 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-06-18 20:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106363,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139708416001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139708416001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139708416001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":106363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:00] local.INFO: GPS data processed {"connection_id":106363,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:00] local.INFO: Acknowledgment sent {"connection_id":106363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:01] local.INFO: TCP Data received {"connection_id":106362,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:56:01] local.INFO: Processing buffer {"connection_id":106362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:56:01] local.INFO: Packet analysis {"connection_id":106362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:56:01] local.INFO: Extracted packet for processing {"connection_id":106362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:01] 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-06-18 20:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":106362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:01] local.INFO: GPS data processed {"connection_id":106362,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:01] local.INFO: Acknowledgment sent {"connection_id":106362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:03] local.INFO: TCP Data received {"connection_id":107907,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107907,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:56:03] local.INFO: Processing buffer {"connection_id":107907,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:56:03] local.INFO: IMEI packet received {"connection_id":107907,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":107907,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:56:04] local.INFO: TCP Data received {"connection_id":107907,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d9c524005f2ca48000e007b28..."} 
[2026-06-18 20:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d9c524005f2ca48000e007b28..."} 
[2026-06-18 20:56:04] local.INFO: Processing buffer {"connection_id":107907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d9c524005f2ca48000e007b28..."} 
[2026-06-18 20:56:04] local.INFO: Packet analysis {"connection_id":107907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:04] local.INFO: Extracted packet for processing {"connection_id":107907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:04] local.INFO: GPS Element Parsed {"raw_longitude":765219392,"raw_latitude":99797576,"longitude_deg":76.5219392,"latitude_deg":9.9797576,"altitude":14,"angle":123,"satellites":40,"speed":41,"hex_longitude":"2d9c5240","hex_latitude":"05f2ca48","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860992001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94271323806629888,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7188448667175571456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56: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-06-18 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3746994890140025856,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3679847456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2617589765,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":61440,"corrected_to":0} 
[2026-06-18 20:56:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8366281619015467032,"corrected_to":0} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":23,"raw_value":2818649499,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3925082112,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-939194036118340310,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194811136,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:04] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,27,88,24,241,157,16,234,158,70,45,64,247,15,41,10,66,54,128,1,47,240,141,227,219,243,4,113,205,39,23,208,42,239,46,2,78,5,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":247,"original":61440,"validated":0},{"io_id":205,"original":8366281619015467032,"validated":0}]} 
[2026-06-18 20:56:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1081014715464220672,"timestamp_seconds":1081014715464220.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:56:04] 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-06-18 20:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860992001,"66":12037,"27":206,"88":19456,"24":41,"16":94271323806629888,"45":-7188448667175571456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,88,24,16,45]} 
[2026-06-18 20:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860992001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-06-18 20:56:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94271323806629888,"km_value":94271323806629.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7188448667175571456,"description":"Unknown IO ID 45"} 
[2026-06-18 20:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860992001,"power":12037,"unknown_27":206,"unknown_88":19456,"ignition":41,"odometer":null,"unknown_45":-7188448667175571456}} 
[2026-06-18 20:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":107907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:04] local.INFO: GPS data processed {"connection_id":107907,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:04] local.INFO: Acknowledgment sent {"connection_id":107907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:15] local.INFO: TCP Data received {"connection_id":107906,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:56:15] local.INFO: Processing buffer {"connection_id":107906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:56:15] local.INFO: Packet analysis {"connection_id":107906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:15] local.INFO: Extracted packet for processing {"connection_id":107906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 20:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107906,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:56:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":107906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:16] local.INFO: GPS data processed {"connection_id":107906,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:16] local.INFO: Acknowledgment sent {"connection_id":107906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:23] local.INFO: TCP Data received {"connection_id":106973,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:56:23] local.INFO: Processing buffer {"connection_id":106973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:56:23] local.INFO: IMEI packet received {"connection_id":106973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":106973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:56:29] local.INFO: TCP Data received {"connection_id":106973,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:56:29] local.INFO: Processing buffer {"connection_id":106973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:56:29] local.INFO: IMEI packet received {"connection_id":106973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":106973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:56:30] local.INFO: TCP Data received {"connection_id":106973,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:56:30] local.INFO: Processing buffer {"connection_id":106973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:56:30] local.INFO: Packet analysis {"connection_id":106973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:56:30] local.INFO: Extracted packet for processing {"connection_id":106973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:56:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:30] 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-06-18 20:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:56:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:56: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-06-18 20:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:56:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":106973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:30] local.INFO: GPS data processed {"connection_id":106973,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:30] local.INFO: Acknowledgment sent {"connection_id":106973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:32] local.INFO: TCP Data received {"connection_id":107908,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:56:32] local.INFO: Processing buffer {"connection_id":107908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:56:32] local.INFO: IMEI packet received {"connection_id":107908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":107908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:56:35] local.INFO: TCP Data received {"connection_id":107907,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb568508012d9c5dc005f2c488000f006e28..."} 
[2026-06-18 20:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb568508012d9c5dc005f2c488000f006e28..."} 
[2026-06-18 20:56:35] local.INFO: Processing buffer {"connection_id":107907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb568508012d9c5dc005f2c488000f006e28..."} 
[2026-06-18 20:56:35] local.INFO: Packet analysis {"connection_id":107907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:35] local.INFO: Extracted packet for processing {"connection_id":107907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:35] local.INFO: GPS Element Parsed {"raw_longitude":765222336,"raw_latitude":99796104,"longitude_deg":76.5222336,"latitude_deg":9.9796104,"altitude":15,"angle":110,"satellites":40,"speed":45,"hex_longitude":"2d9c5dc0","hex_latitude":"05f2c488","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94271478425452544,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7182608061410162688,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781796341000,"timestamp_ms":1781796341000,"timestamp_seconds":1781796341,"priority":1,"record_length":96,"hex_timestamp":"0000019edb568508"} 
[2026-06-18 20:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56: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-06-18 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3674937296102097920,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3679852456,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2618097669,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":61440,"corrected_to":0} 
[2026-06-18 20:56:35] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8366281619015467032,"corrected_to":0} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-936520023856363222,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182242594521344,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2365640052,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":78,"raw_value":3928555520,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194763776,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:35] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,27,88,24,241,157,16,235,158,97,45,128,222,15,40,10,66,234,70,64,247,41,54,1,240,227,219,243,4,113,205,38,39,5,136,239,46,2,78,69],"length":484,"final_offset":614,"validated_count":40,"validation_warnings":[{"io_id":247,"original":61440,"validated":0},{"io_id":205,"original":8366281619015467032,"validated":0}]} 
[2026-06-18 20:56:35] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1008941728262586368,"timestamp_seconds":1008941728262586.4,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 20:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107907,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:56:35] 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-06-18 20:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:56:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":12113,"27":206,"88":19456,"24":45,"16":94271478425452544,"45":-7182608061410162688},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,88,24,16,45]} 
[2026-06-18 20:56:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:56:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:56:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:35] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-06-18 20:56:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:56:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94271478425452544,"km_value":94271478425452.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7182608061410162688,"description":"Unknown IO ID 45"} 
[2026-06-18 20:56:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":12113,"unknown_27":206,"unknown_88":19456,"ignition":45,"odometer":null,"unknown_45":-7182608061410162688}} 
[2026-06-18 20:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":107907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346850,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:35] local.INFO: GPS data processed {"connection_id":107907,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:35] local.INFO: Acknowledgment sent {"connection_id":107907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:38] local.INFO: TCP Data received {"connection_id":107908,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:56:38] local.INFO: Processing buffer {"connection_id":107908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:56:38] local.INFO: IMEI packet received {"connection_id":107908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":107908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:56:39] local.INFO: TCP Data received {"connection_id":107908,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:56:39] local.INFO: Processing buffer {"connection_id":107908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:56:39] local.INFO: Packet analysis {"connection_id":107908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:39] local.INFO: Extracted packet for processing {"connection_id":107908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 20:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56: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-06-18 20:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:56: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-06-18 20:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":107908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346851,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:39] local.INFO: GPS data processed {"connection_id":107908,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:39] local.INFO: Acknowledgment sent {"connection_id":107908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:44] local.INFO: TCP Data received {"connection_id":106364,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:56:44] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:56:44] local.INFO: IMEI packet received {"connection_id":106364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:56:44] local.INFO: IMEI acknowledgment sent {"connection_id":106364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:56:49] local.INFO: TCP Data received {"connection_id":106364,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:56:49] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:56:49] local.INFO: IMEI packet received {"connection_id":106364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":106364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:56:51] local.INFO: TCP Data received {"connection_id":106364,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:56:51] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:56:51] local.INFO: Packet analysis {"connection_id":106364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:51] local.INFO: Extracted packet for processing {"connection_id":106364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56:51] 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-06-18 20:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:56:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:56:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:56:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":106364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:51] local.INFO: GPS data processed {"connection_id":106364,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:51] local.INFO: Acknowledgment sent {"connection_id":106364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:56] local.INFO: TCP Data received {"connection_id":106364,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:56:56] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:56:56] local.INFO: Packet analysis {"connection_id":106364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:56] local.INFO: Extracted packet for processing {"connection_id":106364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:56:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:56:56] 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-06-18 20: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":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:56:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:56:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":106364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:56:56] local.INFO: GPS data processed {"connection_id":106364,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:56:56] local.INFO: Acknowledgment sent {"connection_id":106364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:56:59] local.INFO: TCP Data received {"connection_id":106365,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:56:59] local.INFO: Processing buffer {"connection_id":106365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:56:59] local.INFO: IMEI packet received {"connection_id":106365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":106365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:57:01] local.INFO: TCP Data received {"connection_id":106973,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:57:01] local.INFO: Processing buffer {"connection_id":106973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:57:01] local.INFO: Packet analysis {"connection_id":106973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:57:01] local.INFO: Extracted packet for processing {"connection_id":106973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:57:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:01] 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-06-18 20:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:57: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-06-18 20:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:57:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:57:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":106973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:57:01] local.INFO: GPS data processed {"connection_id":106973,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:57:01] local.INFO: Acknowledgment sent {"connection_id":106973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:57:03] local.INFO: TCP Data received {"connection_id":106365,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106365,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:57:03] local.INFO: Processing buffer {"connection_id":106365,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:57:03] local.INFO: IMEI packet received {"connection_id":106365,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":106365,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:57:04] local.INFO: TCP Data received {"connection_id":106365,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb56a060012d9c804005f2ba00000d006e29..."} 
[2026-06-18 20:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb56a060012d9c804005f2ba00000d006e29..."} 
[2026-06-18 20:57:04] local.INFO: Processing buffer {"connection_id":106365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb56a060012d9c804005f2ba00000d006e29..."} 
[2026-06-18 20:57:04] local.INFO: Packet analysis {"connection_id":106365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:04] local.INFO: Extracted packet for processing {"connection_id":106365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:04] local.INFO: GPS Element Parsed {"raw_longitude":765231168,"raw_latitude":99793408,"longitude_deg":76.5231168,"latitude_deg":9.9793408,"altitude":13,"angle":110,"satellites":41,"speed":56,"hex_longitude":"2d9c8040","hex_latitude":"05f2ba00","is_valid_coordinates":true} 
[2026-06-18 20:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139863296001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94271920807084032,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7179371099178366976,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781796348000,"timestamp_ms":1781796348000,"timestamp_seconds":1781796348,"priority":1,"record_length":96,"hex_timestamp":"0000019edb56a060"} 
[2026-06-18 20:57:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:57: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-06-18 20:57:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-18 20:57:04] 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-06-18 20:57:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:57:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:57:04] 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-06-18 20:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139863296001,"66":11874,"27":206,"88":19456,"24":56,"16":94271920807084032,"45":-7179371099178366976},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,88,24,16,45]} 
[2026-06-18 20:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139863296001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:57:04] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-06-18 20:57:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94271920807084032,"km_value":94271920807084.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7179371099178366976,"description":"Unknown IO ID 45"} 
[2026-06-18 20:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139863296001,"power":11874,"unknown_27":206,"unknown_88":19456,"ignition":56,"odometer":null,"unknown_45":-7179371099178366976}} 
[2026-06-18 20:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":106365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346855,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:57:04] local.INFO: GPS data processed {"connection_id":106365,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:57:04] local.INFO: Acknowledgment sent {"connection_id":106365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:57:11] local.INFO: TCP Data received {"connection_id":107908,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:57:11] local.INFO: Processing buffer {"connection_id":107908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:57:11] local.INFO: Packet analysis {"connection_id":107908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:11] local.INFO: Extracted packet for processing {"connection_id":107908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 20:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107908,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:57:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:57:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":107908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:57:11] local.INFO: GPS data processed {"connection_id":107908,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:57:11] local.INFO: Acknowledgment sent {"connection_id":107908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:57:23] local.INFO: TCP Data received {"connection_id":106974,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:57:23] local.INFO: Processing buffer {"connection_id":106974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:57:23] local.INFO: IMEI packet received {"connection_id":106974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":106974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:57:28] local.INFO: TCP Data received {"connection_id":106364,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:57:28] local.INFO: Processing buffer {"connection_id":106364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:57:28] local.INFO: Packet analysis {"connection_id":106364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:28] local.INFO: Extracted packet for processing {"connection_id":106364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:57: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-06-18 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:57:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:57:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":106364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:57:28] local.INFO: GPS data processed {"connection_id":106364,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:57:28] local.INFO: Acknowledgment sent {"connection_id":106364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:57:29] local.INFO: TCP Data received {"connection_id":106974,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:57:29] local.INFO: Processing buffer {"connection_id":106974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:57:29] local.INFO: IMEI packet received {"connection_id":106974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":106974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:57:30] local.INFO: TCP Data received {"connection_id":106974,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:57:30] local.INFO: Processing buffer {"connection_id":106974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:57:30] local.INFO: Packet analysis {"connection_id":106974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:57:30] local.INFO: Extracted packet for processing {"connection_id":106974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:57:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:30] 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-06-18 20:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:57:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:57: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-06-18 20:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:57:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:57:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":106974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:57:30] local.INFO: GPS data processed {"connection_id":106974,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:57:30] local.INFO: Acknowledgment sent {"connection_id":106974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:57:32] local.INFO: TCP Data received {"connection_id":107909,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:57:32] local.INFO: Processing buffer {"connection_id":107909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:57:32] local.INFO: IMEI packet received {"connection_id":107909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":107909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:57:35] local.INFO: TCP Data received {"connection_id":106365,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb57f050012d9e218005f265c00013003329..."} 
[2026-06-18 20:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb57f050012d9e218005f265c00013003329..."} 
[2026-06-18 20:57:35] local.INFO: Processing buffer {"connection_id":106365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb57f050012d9e218005f265c00013003329..."} 
[2026-06-18 20:57:35] local.INFO: Packet analysis {"connection_id":106365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb57"} 
[2026-06-18 20:57:35] local.INFO: Extracted packet for processing {"connection_id":106365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb57"} 
[2026-06-18 20:57:35] local.INFO: GPS Element Parsed {"raw_longitude":765337984,"raw_latitude":99771840,"longitude_deg":76.5337984,"latitude_deg":9.977184,"altitude":19,"angle":51,"satellites":41,"speed":48,"hex_longitude":"2d9e2180","hex_latitude":"05f265c0","is_valid_coordinates":true} 
[2026-06-18 20:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139885312001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94277482789732352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7060166446549012480,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781796434000,"timestamp_ms":1781796434000,"timestamp_seconds":1781796434,"priority":1,"record_length":96,"hex_timestamp":"0000019edb57f050"} 
[2026-06-18 20:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:57: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-06-18 20:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-06-18 20:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1260,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:57:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106365,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:57:35] 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-06-18 20:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139885312001,"66":11624,"94":206,"88":19456,"24":48,"16":94277482789732352,"45":-7060166446549012480},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,88,24,16,45]} 
[2026-06-18 20:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139885312001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:57:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-18 20:57:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94277482789732352,"km_value":94277482789732.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7060166446549012480,"description":"Unknown IO ID 45"} 
[2026-06-18 20:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139885312001,"power":11624,"unknown_94":206,"unknown_88":19456,"ignition":48,"odometer":null,"unknown_45":-7060166446549012480}} 
[2026-06-18 20:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":106365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346859,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:57:35] local.INFO: GPS data processed {"connection_id":106365,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:57:35] local.INFO: Acknowledgment sent {"connection_id":106365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:57:38] local.INFO: TCP Data received {"connection_id":107909,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:57:38] local.INFO: Processing buffer {"connection_id":107909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:57:38] local.INFO: IMEI packet received {"connection_id":107909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":107909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:57:39] local.INFO: TCP Data received {"connection_id":107909,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:57:39] local.INFO: Processing buffer {"connection_id":107909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:57:39] local.INFO: Packet analysis {"connection_id":107909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:39] local.INFO: Extracted packet for processing {"connection_id":107909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 20:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:57: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-06-18 20:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:57: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-06-18 20:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:57:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":107909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:57:39] local.INFO: GPS data processed {"connection_id":107909,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:57:39] local.INFO: Acknowledgment sent {"connection_id":107909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:57:44] local.INFO: TCP Data received {"connection_id":106366,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:57:44] local.INFO: Processing buffer {"connection_id":106366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:57:44] local.INFO: IMEI packet received {"connection_id":106366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:57:44] local.INFO: IMEI acknowledgment sent {"connection_id":106366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:57:49] local.INFO: TCP Data received {"connection_id":106366,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:57:49] local.INFO: Processing buffer {"connection_id":106366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:57:49] local.INFO: IMEI packet received {"connection_id":106366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":106366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:57:50] local.INFO: TCP Data received {"connection_id":106366,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:57:50] local.INFO: Processing buffer {"connection_id":106366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:57:50] local.INFO: Packet analysis {"connection_id":106366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:50] local.INFO: Extracted packet for processing {"connection_id":106366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:57:50] 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-06-18 20:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:57:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:57:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":106366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:57:50] local.INFO: GPS data processed {"connection_id":106366,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:57:50] local.INFO: Acknowledgment sent {"connection_id":106366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:00] local.INFO: TCP Data received {"connection_id":106975,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:00] local.INFO: Processing buffer {"connection_id":106975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:00] local.INFO: IMEI packet received {"connection_id":106975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":106975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:58:00] local.INFO: TCP Data received {"connection_id":106975,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:00] local.INFO: Processing buffer {"connection_id":106975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:00] local.INFO: IMEI packet received {"connection_id":106975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":106975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:58:01] local.INFO: TCP Data received {"connection_id":106974,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:58:01] local.INFO: Processing buffer {"connection_id":106974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb53e910012cc3308007685ac80058006d2c..."} 
[2026-06-18 20:58:01] local.INFO: Packet analysis {"connection_id":106974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:58:01] local.INFO: Extracted packet for processing {"connection_id":106974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb53"} 
[2026-06-18 20:58:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":88,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139742464001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:01] 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-06-18 20:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796170000,"timestamp_ms":1781796170000,"timestamp_seconds":1781796170,"priority":1,"record_length":96,"hex_timestamp":"0000019edb53e910"} 
[2026-06-18 20:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:58:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20: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-06-18 20:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139742464001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139742464001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139742464001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":106974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:01] local.INFO: GPS data processed {"connection_id":106974,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:01] local.INFO: Acknowledgment sent {"connection_id":106974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:05] local.INFO: TCP Data received {"connection_id":106975,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:05] local.INFO: Processing buffer {"connection_id":106975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:05] local.INFO: IMEI packet received {"connection_id":106975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":106975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:58:05] local.INFO: TCP Data received {"connection_id":106975,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb57fc08012d9e2b0005f26f300013002627..."} 
[2026-06-18 20:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb57fc08012d9e2b0005f26f300013002627..."} 
[2026-06-18 20:58:05] local.INFO: Processing buffer {"connection_id":106975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb57fc08012d9e2b0005f26f300013002627..."} 
[2026-06-18 20:58:05] local.INFO: Packet analysis {"connection_id":106975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb57"} 
[2026-06-18 20:58:05] local.INFO: Extracted packet for processing {"connection_id":106975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb57"} 
[2026-06-18 20:58:05] local.INFO: GPS Element Parsed {"raw_longitude":765340416,"raw_latitude":99774256,"longitude_deg":76.5340416,"latitude_deg":9.9774256,"altitude":19,"angle":38,"satellites":39,"speed":43,"hex_longitude":"2d9e2b00","hex_latitude":"05f26f30","is_valid_coordinates":true} 
[2026-06-18 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139887104001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94277645998489600,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7052214778455539712,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796437000,"timestamp_ms":1781796437000,"timestamp_seconds":1781796437,"priority":1,"record_length":96,"hex_timestamp":"0000019edb57fc08"} 
[2026-06-18 20:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58: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-06-18 20:58:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:05] 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-06-18 20:58:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:58:05] 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-06-18 20:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139887104001,"66":11308,"94":206,"88":19456,"24":43,"16":94277645998489600,"45":-7052214778455539712},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,88,24,16,45]} 
[2026-06-18 20:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139887104001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:05] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-18 20:58:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94277645998489600,"km_value":94277645998489.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7052214778455539712,"description":"Unknown IO ID 45"} 
[2026-06-18 20:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139887104001,"power":11308,"unknown_94":206,"unknown_88":19456,"ignition":43,"odometer":null,"unknown_45":-7052214778455539712}} 
[2026-06-18 20:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":106975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346863,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:05] local.INFO: GPS data processed {"connection_id":106975,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:05] local.INFO: Acknowledgment sent {"connection_id":106975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:11] local.INFO: TCP Data received {"connection_id":107909,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:11] local.INFO: Processing buffer {"connection_id":107909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:11] local.INFO: Packet analysis {"connection_id":107909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:11] local.INFO: Extracted packet for processing {"connection_id":107909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 20:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":107909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:11] local.INFO: GPS data processed {"connection_id":107909,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:11] local.INFO: Acknowledgment sent {"connection_id":107909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:22] local.INFO: TCP Data received {"connection_id":106366,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:58:22] local.INFO: Processing buffer {"connection_id":106366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:58:22] local.INFO: Packet analysis {"connection_id":106366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:22] local.INFO: Extracted packet for processing {"connection_id":106366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58:22] 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-06-18 20:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:58:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":106366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:22] local.INFO: GPS data processed {"connection_id":106366,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:22] local.INFO: Acknowledgment sent {"connection_id":106366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:29] local.INFO: TCP Data received {"connection_id":106186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:29] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:29] local.INFO: IMEI packet received {"connection_id":106186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":106186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:58:29] local.INFO: TCP Data received {"connection_id":106186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:29] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:29] local.INFO: IMEI packet received {"connection_id":106186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":106186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:58:34] local.INFO: TCP Data received {"connection_id":106186,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:34] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:58:34] local.INFO: IMEI packet received {"connection_id":106186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":106186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:58:35] local.INFO: TCP Data received {"connection_id":106186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:58:35] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:58:35] local.INFO: Packet analysis {"connection_id":106186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 20:58:35] local.INFO: Extracted packet for processing {"connection_id":106186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 20:58:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:35] 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-06-18 20:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 20:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:35] 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-06-18 20: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-06-18 20:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:58: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-06-18 20:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:58:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":106186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:35] local.INFO: GPS data processed {"connection_id":106186,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:35] local.INFO: Acknowledgment sent {"connection_id":106186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:37] local.INFO: TCP Data received {"connection_id":106975,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb581b48012d9e434005f28e280011002d29..."} 
[2026-06-18 20:58:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb581b48012d9e434005f28e280011002d29..."} 
[2026-06-18 20:58:37] local.INFO: Processing buffer {"connection_id":106975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb581b48012d9e434005f28e280011002d29..."} 
[2026-06-18 20:58:37] local.INFO: Packet analysis {"connection_id":106975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 20:58:37] local.INFO: Extracted packet for processing {"connection_id":106975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 20:58:37] local.INFO: GPS Element Parsed {"raw_longitude":765346624,"raw_latitude":99782184,"longitude_deg":76.5346624,"latitude_deg":9.9782184,"altitude":17,"angle":45,"satellites":41,"speed":52,"hex_longitude":"2d9e4340","hex_latitude":"05f28e28","is_valid_coordinates":true} 
[2026-06-18 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:58:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139887872001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94278135624761344,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7049540766176169984,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:58:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781796445000,"timestamp_ms":1781796445000,"timestamp_seconds":1781796445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb581b48"} 
[2026-06-18 20:58:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58: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-06-18 20:58:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:37] 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-06-18 20:58:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:58:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:58:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:58:37] 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-06-18 20:58:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:58:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:58:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139887872001,"66":11700,"94":206,"88":19456,"24":52,"16":94278135624761344,"45":-7049540766176169984},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,88,24,16,45]} 
[2026-06-18 20:58:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:58:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:58:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139887872001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-06-18 20:58:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:58:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94278135624761344,"km_value":94278135624761.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7049540766176169984,"description":"Unknown IO ID 45"} 
[2026-06-18 20:58:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139887872001,"power":11700,"unknown_94":206,"unknown_88":19456,"ignition":52,"odometer":null,"unknown_45":-7049540766176169984}} 
[2026-06-18 20:58:37] local.INFO: DEBUG: GPS processor result {"connection_id":106975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346867,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:37] local.INFO: GPS data processed {"connection_id":106975,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:37] local.INFO: Acknowledgment sent {"connection_id":106975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:38] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:58:38] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:58:38] local.INFO: IMEI packet received {"connection_id":106187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":106187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:58:39] local.INFO: TCP Data received {"connection_id":106186,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:58:39] local.INFO: Processing buffer {"connection_id":106186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:58:39] local.INFO: Packet analysis {"connection_id":106186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 20:58:39] local.INFO: Extracted packet for processing {"connection_id":106186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 20:58:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:39] 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-06-18 20:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 20:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:39] 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-06-18 20:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:58:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":106186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:39] local.INFO: GPS data processed {"connection_id":106186,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:39] local.INFO: Acknowledgment sent {"connection_id":106186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:43] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:58:43] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:58:43] local.INFO: IMEI packet received {"connection_id":106187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":106187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:58:44] local.INFO: TCP Data received {"connection_id":107910,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:58:44] local.INFO: Processing buffer {"connection_id":107910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:58:44] local.INFO: IMEI packet received {"connection_id":107910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:58:44] local.INFO: IMEI acknowledgment sent {"connection_id":107910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:58:44] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:44] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:44] local.INFO: Packet analysis {"connection_id":106187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:44] local.INFO: Extracted packet for processing {"connection_id":106187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 20:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:58:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:58:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":106187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:44] local.INFO: GPS data processed {"connection_id":106187,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:44] local.INFO: Acknowledgment sent {"connection_id":106187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:48] local.INFO: TCP Data received {"connection_id":106187,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:48] local.INFO: Processing buffer {"connection_id":106187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:58:48] local.INFO: Packet analysis {"connection_id":106187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:48] local.INFO: Extracted packet for processing {"connection_id":106187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 20:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:58:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":106187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:49] local.INFO: GPS data processed {"connection_id":106187,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:49] local.INFO: Acknowledgment sent {"connection_id":106187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:49] local.INFO: TCP Data received {"connection_id":107910,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:58:49] local.INFO: Processing buffer {"connection_id":107910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:58:49] local.INFO: IMEI packet received {"connection_id":107910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":107910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:58:50] local.INFO: TCP Data received {"connection_id":107910,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:58:50] local.INFO: Processing buffer {"connection_id":107910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:58:50] local.INFO: Packet analysis {"connection_id":107910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:50] local.INFO: Extracted packet for processing {"connection_id":107910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:58:50] 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-06-18 20:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:58:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:58:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":107910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:58:51] local.INFO: GPS data processed {"connection_id":107910,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:58:51] local.INFO: Acknowledgment sent {"connection_id":107910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:58:59] local.INFO: TCP Data received {"connection_id":106976,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:59] local.INFO: Processing buffer {"connection_id":106976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:59] local.INFO: IMEI packet received {"connection_id":106976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":106976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:58:59] local.INFO: TCP Data received {"connection_id":106976,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:59] local.INFO: Processing buffer {"connection_id":106976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:58:59] local.INFO: IMEI packet received {"connection_id":106976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":106976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:59:05] local.INFO: TCP Data received {"connection_id":106976,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:59:05] local.INFO: Processing buffer {"connection_id":106976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:59:05] local.INFO: IMEI packet received {"connection_id":106976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 20:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":106976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:59:06] local.INFO: TCP Data received {"connection_id":106976,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb591d18012d9f7d0005f2e2900012004929..."} 
[2026-06-18 20:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb591d18012d9f7d0005f2e2900012004929..."} 
[2026-06-18 20:59:06] local.INFO: Processing buffer {"connection_id":106976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb591d18012d9f7d0005f2e2900012004929..."} 
[2026-06-18 20:59:06] local.INFO: Packet analysis {"connection_id":106976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb59"} 
[2026-06-18 20:59:06] local.INFO: Extracted packet for processing {"connection_id":106976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb59"} 
[2026-06-18 20:59:06] local.INFO: GPS Element Parsed {"raw_longitude":765426944,"raw_latitude":99803792,"longitude_deg":76.5426944,"latitude_deg":9.9803792,"altitude":18,"angle":73,"satellites":41,"speed":56,"hex_longitude":"2d9f7d00","hex_latitude":"05f2e290","is_valid_coordinates":true} 
[2026-06-18 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:59:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139905024001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94282323217874944,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6964746429435289600,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:59:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781796511000,"timestamp_ms":1781796511000,"timestamp_seconds":1781796511,"priority":1,"record_length":96,"hex_timestamp":"0000019edb591d18"} 
[2026-06-18 20:59:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:59: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-06-18 20:59:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 20:59:06] 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-06-18 20:59:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:59:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:59:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:59:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:59:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:59:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:59:06] 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-06-18 20:59:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:59:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:59:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139905024001,"66":11852,"5":206,"88":19456,"24":56,"16":94282323217874944,"45":-6964746429435289600},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,88,24,16,45]} 
[2026-06-18 20:59:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:59:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:59:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139905024001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:59:06] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-06-18 20:59:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:59:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94282323217874944,"km_value":94282323217874.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:59:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6964746429435289600,"description":"Unknown IO ID 45"} 
[2026-06-18 20:59:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139905024001,"power":11852,"unknown_5":206,"unknown_88":19456,"ignition":56,"odometer":null,"unknown_45":-6964746429435289600}} 
[2026-06-18 20:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":106976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346872,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:59:06] local.INFO: GPS data processed {"connection_id":106976,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:59:06] local.INFO: Acknowledgment sent {"connection_id":106976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:59:22] local.INFO: TCP Data received {"connection_id":107910,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:59:22] local.INFO: Processing buffer {"connection_id":107910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:59:22] local.INFO: Packet analysis {"connection_id":107910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:59:22] local.INFO: Extracted packet for processing {"connection_id":107910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:59:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:59:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:59:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:59:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:59:22] 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-06-18 20:59:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:59:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:59:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:59:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:59:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:59:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:59:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:59:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:59:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:59:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:59:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:59:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:59:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:59:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:59:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:59:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:59:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:59:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:59:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:59:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:59:22] local.INFO: DEBUG: GPS processor result {"connection_id":107910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:59:22] local.INFO: GPS data processed {"connection_id":107910,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:59:22] local.INFO: Acknowledgment sent {"connection_id":107910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:59:24] local.INFO: TCP Data received {"connection_id":106977,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:59:24] local.INFO: Processing buffer {"connection_id":106977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:59:24] local.INFO: IMEI packet received {"connection_id":106977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 20:59:24] local.INFO: IMEI acknowledgment sent {"connection_id":106977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:59:29] local.INFO: TCP Data received {"connection_id":106977,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:59:29] local.INFO: Processing buffer {"connection_id":106977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 20:59:29] local.INFO: IMEI packet received {"connection_id":106977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 20:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":106977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:59:30] local.INFO: TCP Data received {"connection_id":106977,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:59:30] local.INFO: Processing buffer {"connection_id":106977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 20:59:30] local.INFO: Packet analysis {"connection_id":106977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 20:59:30] local.INFO: Extracted packet for processing {"connection_id":106977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 20:59:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 20: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-06-18 20:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:30] 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-06-18 20:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 20:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 20:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 20:59:30] 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-06-18 20: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-06-18 20:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 20:59: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-06-18 20:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 20:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 20:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 20:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 20:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 20:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:59:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 20:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 20:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 20:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 20:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":106977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:59:30] local.INFO: GPS data processed {"connection_id":106977,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:59:30] local.INFO: Acknowledgment sent {"connection_id":106977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:59:33] local.INFO: TCP Data received {"connection_id":106978,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:59:33] local.INFO: Processing buffer {"connection_id":106978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:59:33] local.INFO: IMEI packet received {"connection_id":106978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 20:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":106978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:59:37] local.INFO: TCP Data received {"connection_id":106976,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb59f008012da0754005f2c0680012004927..."} 
[2026-06-18 20:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb59f008012da0754005f2c0680012004927..."} 
[2026-06-18 20:59:37] local.INFO: Processing buffer {"connection_id":106976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb59f008012da0754005f2c0680012004927..."} 
[2026-06-18 20:59:37] local.INFO: Packet analysis {"connection_id":106976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb59"} 
[2026-06-18 20:59:37] local.INFO: Extracted packet for processing {"connection_id":106976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb59"} 
[2026-06-18 20:59:37] local.INFO: GPS Element Parsed {"raw_longitude":765490496,"raw_latitude":99795048,"longitude_deg":76.5490496,"latitude_deg":9.9795048,"altitude":18,"angle":73,"satellites":39,"speed":39,"hex_longitude":"2da07540","hex_latitude":"05f2c068","is_valid_coordinates":true} 
[2026-06-18 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139920128001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94285561623216128,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6886777860887988224,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781796565000,"timestamp_ms":1781796565000,"timestamp_seconds":1781796565,"priority":1,"record_length":96,"hex_timestamp":"0000019edb59f008"} 
[2026-06-18 20:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:59: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-06-18 20:59:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 20:59:37] 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-06-18 20:59:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 20:59:37] 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-06-18 20:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 20:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 20:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139920128001,"66":11765,"3":206,"88":19456,"24":39,"16":94285561623216128,"45":-6886777860887988224},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,88,24,16,45]} 
[2026-06-18 20:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 20:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 20:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139920128001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:59:37] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 20:59:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 20:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94285561623216128,"km_value":94285561623216.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6886777860887988224,"description":"Unknown IO ID 45"} 
[2026-06-18 20:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139920128001,"power":11765,"unknown_3":206,"unknown_88":19456,"ignition":39,"odometer":null,"unknown_45":-6886777860887988224}} 
[2026-06-18 20:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":106976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346875,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:59:37] local.INFO: GPS data processed {"connection_id":106976,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:59:37] local.INFO: Acknowledgment sent {"connection_id":106976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:59:38] local.INFO: TCP Data received {"connection_id":106978,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:59:38] local.INFO: Processing buffer {"connection_id":106978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 20:59:38] local.INFO: IMEI packet received {"connection_id":106978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 20:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":106978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:59:39] local.INFO: TCP Data received {"connection_id":106978,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:59:39] local.INFO: Processing buffer {"connection_id":106978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 20:59:39] local.INFO: Packet analysis {"connection_id":106978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:59:39] local.INFO: Extracted packet for processing {"connection_id":106978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 20:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 20:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:59: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-06-18 20:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 20:59: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-06-18 20:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 20:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 20:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 20:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 20:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 20:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 20:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:59:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 20:59:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 20:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 20:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 20:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":106978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346876,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:59:39] local.INFO: GPS data processed {"connection_id":106978,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:59:39] local.INFO: Acknowledgment sent {"connection_id":106978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:59:44] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:59:44] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:59:44] local.INFO: IMEI packet received {"connection_id":106188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 20:59:44] local.INFO: IMEI acknowledgment sent {"connection_id":106188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 20:59:49] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:59:49] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 20:59:49] local.INFO: IMEI packet received {"connection_id":106188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 20:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":106188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 20:59:50] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:59:50] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 20:59:50] local.INFO: Packet analysis {"connection_id":106188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:59:50] local.INFO: Extracted packet for processing {"connection_id":106188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 20:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 20:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 20:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 20:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 20:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 20:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 20:59:50] 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-06-18 20:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 20:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 20:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 20:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 20:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 20:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 20:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 20:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 20:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 20:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 20:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 20:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 20:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 20:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 20:59:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 20:59:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 20:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 20:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 20:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 20:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":106188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 20:59:50] local.INFO: GPS data processed {"connection_id":106188,"processed":1,"errors":0,"total":1} 
[2026-06-18 20:59:50] local.INFO: Acknowledgment sent {"connection_id":106188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 20:59:59] local.INFO: TCP Data received {"connection_id":106367,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:59:59] local.INFO: Processing buffer {"connection_id":106367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 20:59:59] local.INFO: IMEI packet received {"connection_id":106367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 20:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":106367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:00:01] local.INFO: TCP Data received {"connection_id":106977,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:00:01] local.INFO: Processing buffer {"connection_id":106977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:00:01] local.INFO: Packet analysis {"connection_id":106977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:00:01] local.INFO: Extracted packet for processing {"connection_id":106977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:01] 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-06-18 21:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 21:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:00: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-06-18 21:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":106977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:01] local.INFO: GPS data processed {"connection_id":106977,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:01] local.INFO: Acknowledgment sent {"connection_id":106977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:02] local.INFO: TCP Data received {"connection_id":106367,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:02] local.INFO: Processing buffer {"connection_id":106367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:02] local.INFO: IMEI packet received {"connection_id":106367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":106367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:00:05] local.INFO: TCP Data received {"connection_id":106367,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106367,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:05] local.INFO: Processing buffer {"connection_id":106367,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:05] local.INFO: IMEI packet received {"connection_id":106367,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":106367,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:00:05] local.INFO: TCP Data received {"connection_id":106367,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5a0390012da0888005f2c6580012005a26..."} 
[2026-06-18 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5a0390012da0888005f2c6580012005a26..."} 
[2026-06-18 21:00:05] local.INFO: Processing buffer {"connection_id":106367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5a0390012da0888005f2c6580012005a26..."} 
[2026-06-18 21:00:05] local.INFO: Packet analysis {"connection_id":106367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:00:05] local.INFO: Extracted packet for processing {"connection_id":106367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":765495424,"raw_latitude":99796568,"longitude_deg":76.5495424,"latitude_deg":9.9796568,"altitude":18,"angle":90,"satellites":38,"speed":43,"hex_longitude":"2da08880","hex_latitude":"05f2c658","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139920640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94285815026286592,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6884526061074225152,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796570000,"timestamp_ms":1781796570000,"timestamp_seconds":1781796570,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5a0390"} 
[2026-06-18 21:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00: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-06-18 21: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:05] 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-06-18 21: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-06-18 21:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:00:05] 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-06-18 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139920640001,"66":11645,"3":206,"88":19456,"24":43,"16":94285815026286592,"45":-6884526061074225152},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,88,24,16,45]} 
[2026-06-18 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139920640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:05] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-06-18 21:00:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94285815026286592,"km_value":94285815026286.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6884526061074225152,"description":"Unknown IO ID 45"} 
[2026-06-18 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139920640001,"power":11645,"unknown_3":206,"unknown_88":19456,"ignition":43,"odometer":null,"unknown_45":-6884526061074225152}} 
[2026-06-18 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":106367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346879,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:05] local.INFO: GPS data processed {"connection_id":106367,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:05] local.INFO: Acknowledgment sent {"connection_id":106367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:10] local.INFO: TCP Data received {"connection_id":106367,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5a0b60012da0914005f2c5400012006926..."} 
[2026-06-18 21:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5a0b60012da0914005f2c5400012006926..."} 
[2026-06-18 21:00:10] local.INFO: Processing buffer {"connection_id":106367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5a0b60012da0914005f2c5400012006926..."} 
[2026-06-18 21:00:10] local.INFO: Packet analysis {"connection_id":106367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:00:10] local.INFO: Extracted packet for processing {"connection_id":106367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:00:10] local.INFO: GPS Element Parsed {"raw_longitude":765497664,"raw_latitude":99796288,"longitude_deg":76.5497664,"latitude_deg":9.9796288,"altitude":18,"angle":105,"satellites":38,"speed":44,"hex_longitude":"2da09140","hex_latitude":"05f2c540","is_valid_coordinates":true} 
[2026-06-18 21:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139921920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94285922400468992,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6879107667772155904,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781796572000,"timestamp_ms":1781796572000,"timestamp_seconds":1781796572,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5a0b60"} 
[2026-06-18 21:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1548,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:00:10] 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-06-18 21:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139921920001,"66":11721,"93":206,"88":19456,"24":44,"16":94285922400468992,"45":-6879107667772155904},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,88,24,16,45]} 
[2026-06-18 21:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139921920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:10] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-18 21:00:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94285922400468992,"km_value":94285922400468.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6879107667772155904,"description":"Unknown IO ID 45"} 
[2026-06-18 21:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139921920001,"power":11721,"unknown_93":206,"unknown_88":19456,"ignition":44,"odometer":null,"unknown_45":-6879107667772155904}} 
[2026-06-18 21:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":106367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346880,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:10] local.INFO: GPS data processed {"connection_id":106367,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:10] local.INFO: Acknowledgment sent {"connection_id":106367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:11] local.INFO: TCP Data received {"connection_id":106978,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:00:11] local.INFO: Processing buffer {"connection_id":106978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:00:11] local.INFO: Packet analysis {"connection_id":106978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:00:11] local.INFO: Extracted packet for processing {"connection_id":106978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 21:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":106978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:11] local.INFO: GPS data processed {"connection_id":106978,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:11] local.INFO: Acknowledgment sent {"connection_id":106978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:23] local.INFO: TCP Data received {"connection_id":106188,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:00:23] local.INFO: Processing buffer {"connection_id":106188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:00:23] local.INFO: Packet analysis {"connection_id":106188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:00:23] local.INFO: Extracted packet for processing {"connection_id":106188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:00:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:00:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:00:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 21:00:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00:23] 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-06-18 21:00:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:00:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:00:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:00:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:00:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:00:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:00:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:00:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:00:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:00:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:00:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:00:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:00:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:00:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:00:24] local.INFO: DEBUG: GPS processor result {"connection_id":106188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346882,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:24] local.INFO: GPS data processed {"connection_id":106188,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:24] local.INFO: Acknowledgment sent {"connection_id":106188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:24] local.INFO: TCP Data received {"connection_id":106368,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:00:24] local.INFO: Processing buffer {"connection_id":106368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:00:24] local.INFO: IMEI packet received {"connection_id":106368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":106368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:00:29] local.INFO: TCP Data received {"connection_id":106368,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:00:29] local.INFO: Processing buffer {"connection_id":106368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:00:29] local.INFO: IMEI packet received {"connection_id":106368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":106368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:00:30] local.INFO: TCP Data received {"connection_id":106368,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:00:30] local.INFO: Processing buffer {"connection_id":106368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:00:30] local.INFO: Packet analysis {"connection_id":106368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:00:30] local.INFO: Extracted packet for processing {"connection_id":106368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:30] 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-06-18 21:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 21:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:30] 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-06-18 21: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-06-18 21:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:00: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-06-18 21:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:00:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":106368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:30] local.INFO: GPS data processed {"connection_id":106368,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:30] local.INFO: Acknowledgment sent {"connection_id":106368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:33] local.INFO: TCP Data received {"connection_id":107911,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:00:33] local.INFO: Processing buffer {"connection_id":107911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:00:33] local.INFO: IMEI packet received {"connection_id":107911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:00:33] local.INFO: IMEI acknowledgment sent {"connection_id":107911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:00:38] local.INFO: TCP Data received {"connection_id":107911,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:00:38] local.INFO: Processing buffer {"connection_id":107911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:00:38] local.INFO: IMEI packet received {"connection_id":107911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":107911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:00:40] local.INFO: TCP Data received {"connection_id":107911,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:00:40] local.INFO: Processing buffer {"connection_id":107911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb565628012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:00:40] local.INFO: Packet analysis {"connection_id":107911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:00:40] local.INFO: Extracted packet for processing {"connection_id":107911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:00:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139783168001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781796329000,"timestamp_ms":1781796329000,"timestamp_seconds":1781796329,"priority":1,"record_length":96,"hex_timestamp":"0000019edb565628"} 
[2026-06-18 21:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139783168001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139783168001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:00:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139783168001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":107911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:40] local.INFO: GPS data processed {"connection_id":107911,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:40] local.INFO: Acknowledgment sent {"connection_id":107911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:41] local.INFO: TCP Data received {"connection_id":106367,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b0560012da1964005f311400014003328..."} 
[2026-06-18 21:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b0560012da1964005f311400014003328..."} 
[2026-06-18 21:00:41] local.INFO: Processing buffer {"connection_id":106367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b0560012da1964005f311400014003328..."} 
[2026-06-18 21:00:41] local.INFO: Packet analysis {"connection_id":106367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:00:41] local.INFO: Extracted packet for processing {"connection_id":106367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:00:41] local.INFO: GPS Element Parsed {"raw_longitude":765564480,"raw_latitude":99815744,"longitude_deg":76.556448,"latitude_deg":9.9815744,"altitude":20,"angle":51,"satellites":40,"speed":33,"hex_longitude":"2da19640","hex_latitude":"05f31140","is_valid_coordinates":true} 
[2026-06-18 21:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139936768001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94289371259207680,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6810849985915471872,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781796636000,"timestamp_ms":1781796636000,"timestamp_seconds":1781796636,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b0560"} 
[2026-06-18 21:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:41] 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-06-18 21:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106367,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:00:41] 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-06-18 21:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139936768001,"66":12156,"93":206,"88":19456,"24":33,"16":94289371259207680,"45":-6810849985915471872},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,88,24,16,45]} 
[2026-06-18 21:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139936768001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:41] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-18 21:00:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94289371259207680,"km_value":94289371259207.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6810849985915471872,"description":"Unknown IO ID 45"} 
[2026-06-18 21:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139936768001,"power":12156,"unknown_93":206,"unknown_88":19456,"ignition":33,"odometer":null,"unknown_45":-6810849985915471872}} 
[2026-06-18 21:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":106367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346885,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:41] local.INFO: GPS data processed {"connection_id":106367,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:41] local.INFO: Acknowledgment sent {"connection_id":106367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:49] local.INFO: TCP Data received {"connection_id":106369,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:00:49] local.INFO: Processing buffer {"connection_id":106369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:00:49] local.INFO: IMEI packet received {"connection_id":106369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":106369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:00:54] local.INFO: TCP Data received {"connection_id":106369,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:00:54] local.INFO: Processing buffer {"connection_id":106369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:00:54] local.INFO: IMEI packet received {"connection_id":106369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":106369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:00:55] local.INFO: TCP Data received {"connection_id":106369,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:00:55] local.INFO: Processing buffer {"connection_id":106369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:00:55] local.INFO: Packet analysis {"connection_id":106369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:00:55] local.INFO: Extracted packet for processing {"connection_id":106369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 21:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:00:55] 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-06-18 21:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:00:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:00:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":106369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:00:55] local.INFO: GPS data processed {"connection_id":106369,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:00:55] local.INFO: Acknowledgment sent {"connection_id":106369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:00:59] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:59] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:00:59] local.INFO: IMEI packet received {"connection_id":106370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":106370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:01:01] local.INFO: TCP Data received {"connection_id":106368,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:01:01] local.INFO: Processing buffer {"connection_id":106368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:01:01] local.INFO: Packet analysis {"connection_id":106368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:01:01] local.INFO: Extracted packet for processing {"connection_id":106368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:01] 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-06-18 21:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 21:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:01:01] 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-06-18 21:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":106368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:01] local.INFO: GPS data processed {"connection_id":106368,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:01] local.INFO: Acknowledgment sent {"connection_id":106368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:01:01] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:01] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:01] local.INFO: IMEI packet received {"connection_id":106370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":106370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:01:02] local.INFO: TCP Data received {"connection_id":106369,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:01:02] local.INFO: Processing buffer {"connection_id":106369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb567950012d196500071fefc80040006227..."} 
[2026-06-18 21:01:02] local.INFO: Packet analysis {"connection_id":106369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:01:02] local.INFO: Extracted packet for processing {"connection_id":106369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb56"} 
[2026-06-18 21:01:02] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139785472001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781796338000,"timestamp_ms":1781796338000,"timestamp_seconds":1781796338,"priority":1,"record_length":96,"hex_timestamp":"0000019edb567950"} 
[2026-06-18 21:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01:02] 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-06-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":106369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":106369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":106369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139785472001,"66":2155,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139785472001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:02] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139785472001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":106369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:02] local.INFO: GPS data processed {"connection_id":106369,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:02] local.INFO: Acknowledgment sent {"connection_id":106369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:01:04] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:04] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:04] local.INFO: IMEI packet received {"connection_id":106370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":106370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:01:04] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:04] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:01:04] local.INFO: IMEI packet received {"connection_id":106370,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":106370,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:01:05] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b0948012da1988005f313a00014002828..."} 
[2026-06-18 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b0948012da1988005f313a00014002828..."} 
[2026-06-18 21:01:05] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b0948012da1988005f313a00014002828..."} 
[2026-06-18 21:01:05] local.INFO: Packet analysis {"connection_id":106370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:01:05] local.INFO: Extracted packet for processing {"connection_id":106370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:01:05] local.INFO: GPS Element Parsed {"raw_longitude":765565056,"raw_latitude":99816352,"longitude_deg":76.5565056,"latitude_deg":9.9816352,"altitude":20,"angle":40,"satellites":40,"speed":32,"hex_longitude":"2da19880","hex_latitude":"05f313a0","is_valid_coordinates":true} 
[2026-06-18 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139938816001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94289409913913344,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6803179792799547392,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796637000,"timestamp_ms":1781796637000,"timestamp_seconds":1781796637,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b0948"} 
[2026-06-18 21:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01: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-06-18 21:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:05] 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-06-18 21:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:01:05] 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-06-18 21:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139938816001,"66":12156,"93":206,"88":19456,"24":32,"16":94289409913913344,"45":-6803179792799547392},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,88,24,16,45]} 
[2026-06-18 21:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139938816001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-18 21:01:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94289409913913344,"km_value":94289409913913.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6803179792799547392,"description":"Unknown IO ID 45"} 
[2026-06-18 21:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139938816001,"power":12156,"unknown_93":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6803179792799547392}} 
[2026-06-18 21:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":106370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346889,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:05] local.INFO: GPS data processed {"connection_id":106370,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:05] local.INFO: Acknowledgment sent {"connection_id":106370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:01:16] local.INFO: TCP Data received {"connection_id":107911,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:16] local.INFO: Processing buffer {"connection_id":107911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:16] local.INFO: Packet analysis {"connection_id":107911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:01:16] local.INFO: Extracted packet for processing {"connection_id":107911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:01:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":107911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:16] local.INFO: GPS data processed {"connection_id":107911,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:16] local.INFO: Acknowledgment sent {"connection_id":107911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:01:23] local.INFO: TCP Data received {"connection_id":106371,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:01:23] local.INFO: Processing buffer {"connection_id":106371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:01:23] local.INFO: IMEI packet received {"connection_id":106371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":106371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:01:29] local.INFO: TCP Data received {"connection_id":106371,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:01:29] local.INFO: Processing buffer {"connection_id":106371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:01:29] local.INFO: IMEI packet received {"connection_id":106371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":106371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:01:30] local.INFO: TCP Data received {"connection_id":106371,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:01:30] local.INFO: Processing buffer {"connection_id":106371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:01:30] local.INFO: Packet analysis {"connection_id":106371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:01:30] local.INFO: Extracted packet for processing {"connection_id":106371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:01:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:30] 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-06-18 21:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 21:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:30] 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-06-18 21:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:01:30] 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-06-18 21:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:01:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":106371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:30] local.INFO: GPS data processed {"connection_id":106371,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:30] local.INFO: Acknowledgment sent {"connection_id":106371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:01:36] local.INFO: TCP Data received {"connection_id":106370,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b0d30012da19a0005f316700014001c28..."} 
[2026-06-18 21:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b0d30012da19a0005f316700014001c28..."} 
[2026-06-18 21:01:36] local.INFO: Processing buffer {"connection_id":106370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b0d30012da19a0005f316700014001c28..."} 
[2026-06-18 21:01:36] local.INFO: Packet analysis {"connection_id":106370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:01:36] local.INFO: Extracted packet for processing {"connection_id":106370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:01:36] local.INFO: GPS Element Parsed {"raw_longitude":765565440,"raw_latitude":99817072,"longitude_deg":76.556544,"latitude_deg":9.9817072,"altitude":20,"angle":28,"satellites":40,"speed":33,"hex_longitude":"2da19a00","hex_latitude":"05f31670","is_valid_coordinates":true} 
[2026-06-18 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94289452863586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6802546474101792768,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781796638000,"timestamp_ms":1781796638000,"timestamp_seconds":1781796638,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b0d30"} 
[2026-06-18 21:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01: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-06-18 21:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:36] 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-06-18 21:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106370,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:01:36] 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-06-18 21:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939072001,"66":11874,"93":206,"88":19456,"24":33,"16":94289452863586304,"45":-6802546474101792768},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,88,24,16,45]} 
[2026-06-18 21:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:36] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-06-18 21:01:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94289452863586304,"km_value":94289452863586.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6802546474101792768,"description":"Unknown IO ID 45"} 
[2026-06-18 21:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939072001,"power":11874,"unknown_93":206,"unknown_88":19456,"ignition":33,"odometer":null,"unknown_45":-6802546474101792768}} 
[2026-06-18 21:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":106370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346892,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:36] local.INFO: GPS data processed {"connection_id":106370,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:36] local.INFO: Acknowledgment sent {"connection_id":106370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:01:38] local.INFO: TCP Data received {"connection_id":106372,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:01:38] local.INFO: Processing buffer {"connection_id":106372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:01:38] local.INFO: IMEI packet received {"connection_id":106372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":106372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:01:43] local.INFO: TCP Data received {"connection_id":106372,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106372,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:01:43] local.INFO: Processing buffer {"connection_id":106372,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:01:43] local.INFO: IMEI packet received {"connection_id":106372,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":106372,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:01:44] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:01:44] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:01:44] local.INFO: IMEI packet received {"connection_id":106189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":106189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:01:44] local.INFO: TCP Data received {"connection_id":106372,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:44] local.INFO: Processing buffer {"connection_id":106372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:44] local.INFO: Packet analysis {"connection_id":106372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:01:44] local.INFO: Extracted packet for processing {"connection_id":106372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:01:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":106372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:44] local.INFO: GPS data processed {"connection_id":106372,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:44] local.INFO: Acknowledgment sent {"connection_id":106372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:01:49] local.INFO: TCP Data received {"connection_id":106372,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:49] local.INFO: Processing buffer {"connection_id":106372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:01:49] local.INFO: Packet analysis {"connection_id":106372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:01:49] local.INFO: Extracted packet for processing {"connection_id":106372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106372,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:01:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":106372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:49] local.INFO: GPS data processed {"connection_id":106372,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:49] local.INFO: Acknowledgment sent {"connection_id":106372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:01:49] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:01:49] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:01:49] local.INFO: IMEI packet received {"connection_id":106189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":106189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:01:50] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:01:50] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:01:50] local.INFO: Packet analysis {"connection_id":106189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:01:50] local.INFO: Extracted packet for processing {"connection_id":106189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:01:50] 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-06-18 21:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:01:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:01:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:01:51] local.INFO: DEBUG: GPS processor result {"connection_id":106189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:01:51] local.INFO: GPS data processed {"connection_id":106189,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:01:51] local.INFO: Acknowledgment sent {"connection_id":106189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:00] local.INFO: TCP Data received {"connection_id":106371,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:02:01] local.INFO: Processing buffer {"connection_id":106371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:02:01] local.INFO: Packet analysis {"connection_id":106371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:02:01] local.INFO: Extracted packet for processing {"connection_id":106371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:02:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:01] 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-06-18 21:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 21:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:02:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:02:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":106371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:02:01] local.INFO: GPS data processed {"connection_id":106371,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:02:01] local.INFO: Acknowledgment sent {"connection_id":106371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:04] local.INFO: TCP Data received {"connection_id":106979,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:04] local.INFO: Processing buffer {"connection_id":106979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:04] local.INFO: IMEI packet received {"connection_id":106979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":106979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:02:04] local.INFO: TCP Data received {"connection_id":106979,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:04] local.INFO: Processing buffer {"connection_id":106979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:04] local.INFO: IMEI packet received {"connection_id":106979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":106979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:02:10] local.INFO: TCP Data received {"connection_id":106979,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106979,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:10] local.INFO: Processing buffer {"connection_id":106979,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:10] local.INFO: IMEI packet received {"connection_id":106979,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":106979,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:02:10] local.INFO: TCP Data received {"connection_id":106979,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5c16d0012da2a70005f39df00011004229..."} 
[2026-06-18 21:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5c16d0012da2a70005f39df00011004229..."} 
[2026-06-18 21:02:10] local.INFO: Processing buffer {"connection_id":106979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5c16d0012da2a70005f39df00011004229..."} 
[2026-06-18 21:02:10] local.INFO: Packet analysis {"connection_id":106979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:02:10] local.INFO: Extracted packet for processing {"connection_id":106979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":765634304,"raw_latitude":99851760,"longitude_deg":76.5634304,"latitude_deg":9.985176,"altitude":17,"angle":66,"satellites":41,"speed":48,"hex_longitude":"2da2a700","hex_latitude":"05f39df0","is_valid_coordinates":true} 
[2026-06-18 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139954944001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94293206665003008,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6735344323404011520,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781796706000,"timestamp_ms":1781796706000,"timestamp_seconds":1781796706,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5c16d0"} 
[2026-06-18 21:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:02:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 21:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:02:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:02:10] 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-06-18 21:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139954944001,"66":12156,"92":206,"88":19456,"24":48,"16":94293206665003008,"45":-6735344323404011520},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,88,24,16,45]} 
[2026-06-18 21:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139954944001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:02:10] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 21:02:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94293206665003008,"km_value":94293206665003.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6735344323404011520,"description":"Unknown IO ID 45"} 
[2026-06-18 21:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139954944001,"power":12156,"unknown_92":206,"unknown_88":19456,"ignition":48,"odometer":null,"unknown_45":-6735344323404011520}} 
[2026-06-18 21:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":106979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346897,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:02:11] local.INFO: GPS data processed {"connection_id":106979,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:02:11] local.INFO: Acknowledgment sent {"connection_id":106979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:12] local.INFO: TCP Data received {"connection_id":106979,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5c39f8012da2cac005f3ab88000f004627..."} 
[2026-06-18 21:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5c39f8012da2cac005f3ab88000f004627..."} 
[2026-06-18 21:02:12] local.INFO: Processing buffer {"connection_id":106979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5c39f8012da2cac005f3ab88000f004627..."} 
[2026-06-18 21:02:12] local.INFO: Packet analysis {"connection_id":106979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:02:12] local.INFO: Extracted packet for processing {"connection_id":106979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:02:12] local.INFO: GPS Element Parsed {"raw_longitude":765643456,"raw_latitude":99855240,"longitude_deg":76.5643456,"latitude_deg":9.985524,"altitude":15,"angle":70,"satellites":39,"speed":42,"hex_longitude":"2da2cac0","hex_latitude":"05f3ab88","is_valid_coordinates":true} 
[2026-06-18 21:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139956736001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94293674816438272,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6726407492892495872,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781796715000,"timestamp_ms":1781796715000,"timestamp_seconds":1781796715,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5c39f8"} 
[2026-06-18 21:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:02:12] 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-06-18 21:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 21:02:12] 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-06-18 21:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:02:12] 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-06-18 21:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139956736001,"66":11906,"92":206,"88":19456,"24":42,"16":94293674816438272,"45":-6726407492892495872},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,88,24,16,45]} 
[2026-06-18 21:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139956736001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:02:12] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 21:02:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94293674816438272,"km_value":94293674816438.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6726407492892495872,"description":"Unknown IO ID 45"} 
[2026-06-18 21:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139956736001,"power":11906,"unknown_92":206,"unknown_88":19456,"ignition":42,"odometer":null,"unknown_45":-6726407492892495872}} 
[2026-06-18 21:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":106979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346898,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:02:12] local.INFO: GPS data processed {"connection_id":106979,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:02:12] local.INFO: Acknowledgment sent {"connection_id":106979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:22] local.INFO: TCP Data received {"connection_id":106189,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:02:22] local.INFO: Processing buffer {"connection_id":106189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:02:22] local.INFO: Packet analysis {"connection_id":106189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:02:22] local.INFO: Extracted packet for processing {"connection_id":106189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:02:22] 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-06-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:02:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:02:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:02:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":106189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:02:22] local.INFO: GPS data processed {"connection_id":106189,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:02:22] local.INFO: Acknowledgment sent {"connection_id":106189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:23] local.INFO: TCP Data received {"connection_id":106373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:02:23] local.INFO: Processing buffer {"connection_id":106373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:02:23] local.INFO: IMEI packet received {"connection_id":106373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":106373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:02:29] local.INFO: TCP Data received {"connection_id":106373,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:02:29] local.INFO: Processing buffer {"connection_id":106373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:02:29] local.INFO: IMEI packet received {"connection_id":106373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":106373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:02:30] local.INFO: TCP Data received {"connection_id":106373,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:02:30] local.INFO: Processing buffer {"connection_id":106373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:02:30] local.INFO: Packet analysis {"connection_id":106373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:02:30] local.INFO: Extracted packet for processing {"connection_id":106373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:30] 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-06-18 21:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 21:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:02:30] 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-06-18 21:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:02:30] 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-06-18 21:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:02:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:02:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":106373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:02:30] local.INFO: GPS data processed {"connection_id":106373,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:02:30] local.INFO: Acknowledgment sent {"connection_id":106373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:32] local.INFO: TCP Data received {"connection_id":106980,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:02:32] local.INFO: Processing buffer {"connection_id":106980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:02:32] local.INFO: IMEI packet received {"connection_id":106980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":106980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:02:38] local.INFO: TCP Data received {"connection_id":106980,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:02:38] local.INFO: Processing buffer {"connection_id":106980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:02:38] local.INFO: IMEI packet received {"connection_id":106980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":106980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:02:39] local.INFO: TCP Data received {"connection_id":106980,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:02:39] local.INFO: Processing buffer {"connection_id":106980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:02:39] local.INFO: Packet analysis {"connection_id":106980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:02:39] local.INFO: Extracted packet for processing {"connection_id":106980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:02: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-06-18 21:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:02: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-06-18 21:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:02:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:02:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":106980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346901,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:02:39] local.INFO: GPS data processed {"connection_id":106980,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:02:39] local.INFO: Acknowledgment sent {"connection_id":106980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:43] local.INFO: TCP Data received {"connection_id":106979,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5c5550012da2e6c005f3b828000f003a29..."} 
[2026-06-18 21:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5c5550012da2e6c005f3b828000f003a29..."} 
[2026-06-18 21:02:43] local.INFO: Processing buffer {"connection_id":106979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5c5550012da2e6c005f3b828000f003a29..."} 
[2026-06-18 21:02:43] local.INFO: Packet analysis {"connection_id":106979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:02:43] local.INFO: Extracted packet for processing {"connection_id":106979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:02:43] local.INFO: GPS Element Parsed {"raw_longitude":765650624,"raw_latitude":99858472,"longitude_deg":76.5650624,"latitude_deg":9.9858472,"altitude":15,"angle":58,"satellites":41,"speed":46,"hex_longitude":"2da2e6c0","hex_latitude":"05f3b828","is_valid_coordinates":true} 
[2026-06-18 21:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139959040001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94294052773560320,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6716344762474199040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781796722000,"timestamp_ms":1781796722000,"timestamp_seconds":1781796722,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5c5550"} 
[2026-06-18 21:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:02:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 21:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:02:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106979,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:02:43] 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-06-18 21:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139959040001,"66":11895,"92":206,"88":19456,"24":46,"16":94294052773560320,"45":-6716344762474199040},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,88,24,16,45]} 
[2026-06-18 21:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139959040001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:02:43] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 21:02:43] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94294052773560320,"km_value":94294052773560.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6716344762474199040,"description":"Unknown IO ID 45"} 
[2026-06-18 21:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139959040001,"power":11895,"unknown_92":206,"unknown_88":19456,"ignition":46,"odometer":null,"unknown_45":-6716344762474199040}} 
[2026-06-18 21:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":106979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346902,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:02:43] local.INFO: GPS data processed {"connection_id":106979,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:02:43] local.INFO: Acknowledgment sent {"connection_id":106979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:49] local.INFO: TCP Data received {"connection_id":106981,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:02:49] local.INFO: Processing buffer {"connection_id":106981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:02:49] local.INFO: IMEI packet received {"connection_id":106981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":106981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:02:54] local.INFO: TCP Data received {"connection_id":106981,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106981,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:02:54] local.INFO: Processing buffer {"connection_id":106981,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:02:54] local.INFO: IMEI packet received {"connection_id":106981,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":106981,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:02:55] local.INFO: TCP Data received {"connection_id":106981,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:02:55] local.INFO: Processing buffer {"connection_id":106981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:02:55] local.INFO: Packet analysis {"connection_id":106981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:02:55] local.INFO: Extracted packet for processing {"connection_id":106981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:02:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:02:55] 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-06-18 21:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:02:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:02:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:02:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:02:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:02:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:02:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:02:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:02:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:02:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:02:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:02:55] local.INFO: DEBUG: GPS processor result {"connection_id":106981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:02:55] local.INFO: GPS data processed {"connection_id":106981,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:02:55] local.INFO: Acknowledgment sent {"connection_id":106981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:02:59] local.INFO: TCP Data received {"connection_id":106190,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:59] local.INFO: Processing buffer {"connection_id":106190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:02:59] local.INFO: IMEI packet received {"connection_id":106190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":106190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:03:01] local.INFO: TCP Data received {"connection_id":106981,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:03:01] local.INFO: Processing buffer {"connection_id":106981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:03:01] local.INFO: Packet analysis {"connection_id":106981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:03:01] local.INFO: Extracted packet for processing {"connection_id":106981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:03: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-06-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106981,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:03:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:03:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:03:01] local.INFO: TCP Data received {"connection_id":106373,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:03:01] local.INFO: Processing buffer {"connection_id":106373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:03:01] local.INFO: Packet analysis {"connection_id":106373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:03:01] local.INFO: Extracted packet for processing {"connection_id":106373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:03:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:01] 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-06-18 21:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 21:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:03:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:03: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-06-18 21:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":106981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:03:01] local.INFO: GPS data processed {"connection_id":106981,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:03:01] local.INFO: Acknowledgment sent {"connection_id":106981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:03:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":106373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:03:01] local.INFO: GPS data processed {"connection_id":106373,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:03:01] local.INFO: Acknowledgment sent {"connection_id":106373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:03:11] local.INFO: TCP Data received {"connection_id":106980,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:03:11] local.INFO: Processing buffer {"connection_id":106980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:03:11] local.INFO: Packet analysis {"connection_id":106980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:03:11] local.INFO: Extracted packet for processing {"connection_id":106980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:03:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:03:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":106980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:03:12] local.INFO: GPS data processed {"connection_id":106980,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:03:12] local.INFO: Acknowledgment sent {"connection_id":106980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:03:15] local.INFO: TCP Data received {"connection_id":106190,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106190,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:03:15] local.INFO: Processing buffer {"connection_id":106190,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:03:15] local.INFO: IMEI packet received {"connection_id":106190,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":106190,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:03:16] local.INFO: TCP Data received {"connection_id":106190,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5c7490012da3050005f3cad80010003927..."} 
[2026-06-18 21:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5c7490012da3050005f3cad80010003927..."} 
[2026-06-18 21:03:16] local.INFO: Processing buffer {"connection_id":106190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5c7490012da3050005f3cad80010003927..."} 
[2026-06-18 21:03:16] local.INFO: Packet analysis {"connection_id":106190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:03:16] local.INFO: Extracted packet for processing {"connection_id":106190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:03:16] local.INFO: GPS Element Parsed {"raw_longitude":765658368,"raw_latitude":99863256,"longitude_deg":76.5658368,"latitude_deg":9.9863256,"altitude":16,"angle":57,"satellites":39,"speed":37,"hex_longitude":"2da30500","hex_latitude":"05f3cad8","is_valid_coordinates":true} 
[2026-06-18 21:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139960832001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94294486565257216,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6708463463125473280,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781796730000,"timestamp_ms":1781796730000,"timestamp_seconds":1781796730,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5c7490"} 
[2026-06-18 21:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 21:03:16] 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-06-18 21:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:03:16] 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-06-18 21:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139960832001,"66":11167,"92":206,"88":19456,"24":37,"16":94294486565257216,"45":-6708463463125473280},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,88,24,16,45]} 
[2026-06-18 21:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139960832001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:03:16] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 21:03:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94294486565257216,"km_value":94294486565257.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6708463463125473280,"description":"Unknown IO ID 45"} 
[2026-06-18 21:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139960832001,"power":11167,"unknown_92":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-6708463463125473280}} 
[2026-06-18 21:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":106190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346907,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:03:16] local.INFO: GPS data processed {"connection_id":106190,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:03:16] local.INFO: Acknowledgment sent {"connection_id":106190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:03:17] local.INFO: TCP Data received {"connection_id":106190,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5c9ba0012da3234005f3dcf80011003929..."} 
[2026-06-18 21:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5c9ba0012da3234005f3dcf80011003929..."} 
[2026-06-18 21:03:17] local.INFO: Processing buffer {"connection_id":106190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5c9ba0012da3234005f3dcf80011003929..."} 
[2026-06-18 21:03:17] local.INFO: Packet analysis {"connection_id":106190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:03:17] local.INFO: Extracted packet for processing {"connection_id":106190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5c"} 
[2026-06-18 21:03:17] local.INFO: GPS Element Parsed {"raw_longitude":765666112,"raw_latitude":99867896,"longitude_deg":76.5666112,"latitude_deg":9.9867896,"altitude":17,"angle":57,"satellites":41,"speed":19,"hex_longitude":"2da32340","hex_latitude":"05f3dcf8","is_valid_coordinates":true} 
[2026-06-18 21:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139962880001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94294920356954112,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6699948845078751232,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781796740000,"timestamp_ms":1781796740000,"timestamp_seconds":1781796740,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5c9ba0"} 
[2026-06-18 21:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-06-18 21:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1844,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106190,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:03:17] 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-06-18 21:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139962880001,"66":11852,"92":206,"88":19456,"24":19,"16":94294920356954112,"45":-6699948845078751232},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,88,24,16,45]} 
[2026-06-18 21:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139962880001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:03:17] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-06-18 21:03:17] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94294920356954112,"km_value":94294920356954.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6699948845078751232,"description":"Unknown IO ID 45"} 
[2026-06-18 21:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139962880001,"power":11852,"unknown_92":206,"unknown_88":19456,"ignition":19,"odometer":null,"unknown_45":-6699948845078751232}} 
[2026-06-18 21:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":106190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346908,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:03:17] local.INFO: GPS data processed {"connection_id":106190,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:03:17] local.INFO: Acknowledgment sent {"connection_id":106190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:03:23] local.INFO: TCP Data received {"connection_id":106191,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:03:23] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:03:23] local.INFO: IMEI packet received {"connection_id":106191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":106191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:03:29] local.INFO: TCP Data received {"connection_id":106191,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:03:29] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:03:29] local.INFO: IMEI packet received {"connection_id":106191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":106191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:03:30] local.INFO: TCP Data received {"connection_id":106191,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:03:30] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5880d8012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:03:30] local.INFO: Packet analysis {"connection_id":106191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:03:30] local.INFO: Extracted packet for processing {"connection_id":106191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb58"} 
[2026-06-18 21:03:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139819520001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:30] 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-06-18 21:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796471000,"timestamp_ms":1781796471000,"timestamp_seconds":1781796471,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5880d8"} 
[2026-06-18 21:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:03:30] 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-06-18 21: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-06-18 21:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:03:30] 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-06-18 21:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139819520001,"66":25615,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139819520001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:03:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:03:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:03:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139819520001,"power":25615,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":106191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:03:30] local.INFO: GPS data processed {"connection_id":106191,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:03:30] local.INFO: Acknowledgment sent {"connection_id":106191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:03:33] local.INFO: TCP Data received {"connection_id":106982,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:03:33] local.INFO: Processing buffer {"connection_id":106982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:03:33] local.INFO: IMEI packet received {"connection_id":106982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:03:33] local.INFO: IMEI acknowledgment sent {"connection_id":106982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:03:38] local.INFO: TCP Data received {"connection_id":106982,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:03:38] local.INFO: Processing buffer {"connection_id":106982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:03:38] local.INFO: IMEI packet received {"connection_id":106982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":106982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:03:39] local.INFO: TCP Data received {"connection_id":106982,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:03:39] local.INFO: Processing buffer {"connection_id":106982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:03:39] local.INFO: Packet analysis {"connection_id":106982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:03:39] local.INFO: Extracted packet for processing {"connection_id":106982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:03: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-06-18 21:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:03: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-06-18 21:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:03:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:03:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":106982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:03:39] local.INFO: GPS data processed {"connection_id":106982,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:03:39] local.INFO: Acknowledgment sent {"connection_id":106982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:03:44] local.INFO: TCP Data received {"connection_id":106983,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:03:44] local.INFO: Processing buffer {"connection_id":106983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:03:44] local.INFO: IMEI packet received {"connection_id":106983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":106983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:03:49] local.INFO: TCP Data received {"connection_id":106983,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:03:49] local.INFO: Processing buffer {"connection_id":106983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:03:49] local.INFO: IMEI packet received {"connection_id":106983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":106983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:03:51] local.INFO: TCP Data received {"connection_id":106983,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:03:51] local.INFO: Processing buffer {"connection_id":106983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:03:51] local.INFO: Packet analysis {"connection_id":106983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:03:51] local.INFO: Extracted packet for processing {"connection_id":106983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:03:51] 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-06-18 21:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:03:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:03:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":106983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:03:51] local.INFO: GPS data processed {"connection_id":106983,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:03:51] local.INFO: Acknowledgment sent {"connection_id":106983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:04:00] local.INFO: TCP Data received {"connection_id":106374,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:00] local.INFO: Processing buffer {"connection_id":106374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:00] local.INFO: IMEI packet received {"connection_id":106374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":106374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:04:00] local.INFO: TCP Data received {"connection_id":106374,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:00] local.INFO: Processing buffer {"connection_id":106374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:00] local.INFO: IMEI packet received {"connection_id":106374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":106374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:04:00] local.INFO: TCP Data received {"connection_id":106191,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:04:00] local.INFO: Processing buffer {"connection_id":106191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:04:00] local.INFO: Packet analysis {"connection_id":106191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:04:00] local.INFO: Extracted packet for processing {"connection_id":106191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:04:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:00] 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-06-18 21:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:04: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-06-18 21:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:04: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-06-18 21:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:04:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":106191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:04:00] local.INFO: GPS data processed {"connection_id":106191,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:04:00] local.INFO: Acknowledgment sent {"connection_id":106191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:04:04] local.INFO: TCP Data received {"connection_id":106374,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106374,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:04] local.INFO: Processing buffer {"connection_id":106374,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:04:04] local.INFO: IMEI packet received {"connection_id":106374,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":106374,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:04:05] local.INFO: TCP Data received {"connection_id":106374,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5db8c8012da3f40005f451a0000f005125..."} 
[2026-06-18 21:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5db8c8012da3f40005f451a0000f005125..."} 
[2026-06-18 21:04:05] local.INFO: Processing buffer {"connection_id":106374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5db8c8012da3f40005f451a0000f005125..."} 
[2026-06-18 21:04:05] local.INFO: Packet analysis {"connection_id":106374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:04:05] local.INFO: Extracted packet for processing {"connection_id":106374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":765719552,"raw_latitude":99897760,"longitude_deg":76.5719552,"latitude_deg":9.989776,"altitude":15,"angle":81,"satellites":37,"speed":44,"hex_longitude":"2da3f400","hex_latitude":"05f451a0","is_valid_coordinates":true} 
[2026-06-18 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139981824001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94297995553538048,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6643090899774853120,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796813000,"timestamp_ms":1781796813000,"timestamp_seconds":1781796813,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5db8c8"} 
[2026-06-18 21:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 21:04:05] 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-06-18 21:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:04:05] 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-06-18 21:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139981824001,"66":11830,"166":206,"88":19456,"24":44,"16":94297995553538048,"45":-6643090899774853120},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-06-18 21:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139981824001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:04:05] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-18 21:04:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94297995553538048,"km_value":94297995553538.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6643090899774853120,"description":"Unknown IO ID 45"} 
[2026-06-18 21:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139981824001,"power":11830,"unknown_166":206,"unknown_88":19456,"ignition":44,"odometer":null,"unknown_45":-6643090899774853120}} 
[2026-06-18 21:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":106374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346913,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:04:05] local.INFO: GPS data processed {"connection_id":106374,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:04:05] local.INFO: Acknowledgment sent {"connection_id":106374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:04:11] local.INFO: TCP Data received {"connection_id":106982,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:04:11] local.INFO: Processing buffer {"connection_id":106982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:04:11] local.INFO: Packet analysis {"connection_id":106982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:04:11] local.INFO: Extracted packet for processing {"connection_id":106982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:04:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":106982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:04:11] local.INFO: GPS data processed {"connection_id":106982,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:04:11] local.INFO: Acknowledgment sent {"connection_id":106982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:04:22] local.INFO: TCP Data received {"connection_id":106983,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:04:22] local.INFO: Processing buffer {"connection_id":106983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:04:22] local.INFO: Packet analysis {"connection_id":106983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:04:22] local.INFO: Extracted packet for processing {"connection_id":106983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:04:22] 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-06-18 21:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:04:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:04:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":106983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:04:23] local.INFO: GPS data processed {"connection_id":106983,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:04:23] local.INFO: Acknowledgment sent {"connection_id":106983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:04:24] local.INFO: TCP Data received {"connection_id":107912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:04:24] local.INFO: Processing buffer {"connection_id":107912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:04:24] local.INFO: IMEI packet received {"connection_id":107912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":107912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:04:29] local.INFO: TCP Data received {"connection_id":107912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:04:29] local.INFO: Processing buffer {"connection_id":107912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:04:29] local.INFO: IMEI packet received {"connection_id":107912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":107912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:04:30] local.INFO: TCP Data received {"connection_id":107912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:04:30] local.INFO: Processing buffer {"connection_id":107912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:04:30] local.INFO: Packet analysis {"connection_id":107912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:04:30] local.INFO: Extracted packet for processing {"connection_id":107912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:04:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:30] 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-06-18 21:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:04:30] 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-06-18 21: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-06-18 21:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:04: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-06-18 21:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:04:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:04:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":107912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:04:30] local.INFO: GPS data processed {"connection_id":107912,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:04:30] local.INFO: Acknowledgment sent {"connection_id":107912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:04:33] local.INFO: TCP Data received {"connection_id":106984,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:04:33] local.INFO: Processing buffer {"connection_id":106984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:04:33] local.INFO: IMEI packet received {"connection_id":106984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":106984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:04:36] local.INFO: TCP Data received {"connection_id":106374,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5dd808012da4184005f458880011004524..."} 
[2026-06-18 21:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5dd808012da4184005f458880011004524..."} 
[2026-06-18 21:04:36] local.INFO: Processing buffer {"connection_id":106374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5dd808012da4184005f458880011004524..."} 
[2026-06-18 21:04:36] local.INFO: Packet analysis {"connection_id":106374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:04:36] local.INFO: Extracted packet for processing {"connection_id":106374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:04:36] local.INFO: GPS Element Parsed {"raw_longitude":765728832,"raw_latitude":99899528,"longitude_deg":76.5728832,"latitude_deg":9.9899528,"altitude":17,"angle":69,"satellites":36,"speed":47,"hex_longitude":"2da41840","hex_latitude":"05f45888","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139984128001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94298450820071424,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6632676325636071424,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781796821000,"timestamp_ms":1781796821000,"timestamp_seconds":1781796821,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5dd808"} 
[2026-06-18 21:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:04:36] 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-06-18 21: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 21:04:36] 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-06-18 21: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-06-18 21:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106374,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:04:36] 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-06-18 21:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139984128001,"66":11776,"166":206,"88":19456,"24":47,"16":94298450820071424,"45":-6632676325636071424},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-06-18 21:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139984128001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:04:36] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-18 21:04:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94298450820071424,"km_value":94298450820071.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6632676325636071424,"description":"Unknown IO ID 45"} 
[2026-06-18 21:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139984128001,"power":11776,"unknown_166":206,"unknown_88":19456,"ignition":47,"odometer":null,"unknown_45":-6632676325636071424}} 
[2026-06-18 21:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":106374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346917,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:04:36] local.INFO: GPS data processed {"connection_id":106374,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:04:36] local.INFO: Acknowledgment sent {"connection_id":106374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:04:38] local.INFO: TCP Data received {"connection_id":106984,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:04:38] local.INFO: Processing buffer {"connection_id":106984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:04:38] local.INFO: IMEI packet received {"connection_id":106984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":106984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:04:39] local.INFO: TCP Data received {"connection_id":106984,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:04:39] local.INFO: Processing buffer {"connection_id":106984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:04:39] local.INFO: Packet analysis {"connection_id":106984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:04:39] local.INFO: Extracted packet for processing {"connection_id":106984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:04: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-06-18 21:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:04:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":106984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:04:39] local.INFO: GPS data processed {"connection_id":106984,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:04:39] local.INFO: Acknowledgment sent {"connection_id":106984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:04:45] local.INFO: TCP Data received {"connection_id":106192,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:04:45] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:04:45] local.INFO: IMEI packet received {"connection_id":106192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":106192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:04:49] local.INFO: TCP Data received {"connection_id":106192,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:04:49] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:04:49] local.INFO: IMEI packet received {"connection_id":106192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":106192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:04:50] local.INFO: TCP Data received {"connection_id":106192,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:04:50] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:04:50] local.INFO: Packet analysis {"connection_id":106192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:04:50] local.INFO: Extracted packet for processing {"connection_id":106192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:04:50] 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-06-18 21:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:04:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:04:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":106192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:04:50] local.INFO: GPS data processed {"connection_id":106192,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:04:50] local.INFO: Acknowledgment sent {"connection_id":106192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:05:01] local.INFO: TCP Data received {"connection_id":107912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:05:01] local.INFO: Processing buffer {"connection_id":107912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:05:01] local.INFO: Packet analysis {"connection_id":107912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:05:01] local.INFO: Extracted packet for processing {"connection_id":107912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:05:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:01] 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-06-18 21:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21: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-06-18 21:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:05:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:05:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":107912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:05:01] local.INFO: GPS data processed {"connection_id":107912,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:05:01] local.INFO: Acknowledgment sent {"connection_id":107912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:05:04] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:04] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:04] local.INFO: IMEI packet received {"connection_id":106375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":106375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:05:05] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:05] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:05] local.INFO: IMEI packet received {"connection_id":106375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":106375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:05:06] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:06] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:06] local.INFO: IMEI packet received {"connection_id":106375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":106375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:05:09] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:09] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:05:09] local.INFO: IMEI packet received {"connection_id":106375,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":106375,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:05:10] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5eddc0012da4348005f4e388001c013d22..."} 
[2026-06-18 21:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5eddc0012da4348005f4e388001c013d22..."} 
[2026-06-18 21:05:10] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5eddc0012da4348005f4e388001c013d22..."} 
[2026-06-18 21:05:10] local.INFO: Packet analysis {"connection_id":106375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5e"} 
[2026-06-18 21:05:10] local.INFO: Extracted packet for processing {"connection_id":106375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5e"} 
[2026-06-18 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":765736064,"raw_latitude":99935112,"longitude_deg":76.5736064,"latitude_deg":9.9935112,"altitude":28,"angle":317,"satellites":34,"speed":38,"hex_longitude":"2da43480","hex_latitude":"05f4e388","is_valid_coordinates":true} 
[2026-06-18 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140001024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94301208189075456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6607625052700981248,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781796888000,"timestamp_ms":1781796888000,"timestamp_seconds":1781796888,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5eddc0"} 
[2026-06-18 21:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680390456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2759491589,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6999897526849426012,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":244,"raw_value":2372927507,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1470496974,"corrected_to":0} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":79,"raw_value":372391394188197888,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":95,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476647604226,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":121,"raw_value":-9221695789770730752,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2666145273054497280,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:10] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,166,88,24,241,157,16,6,158,147,45,64,174,37,10,66,5,100,146,21,92,1,240,60,227,219,244,4,113,205,12,81,122,112,35,239,44,2,79,95,206,121,50],"length":533,"final_offset":663,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1470496974,"validated":0}]} 
[2026-06-18 21:05:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1873846136203575296,"timestamp_seconds":1873846136203575.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:05:10] 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-06-18 21:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140001024001,"66":11852,"166":206,"88":19456,"24":38,"16":94301208189075456,"45":-6607625052700981248},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,88,24,16,45]} 
[2026-06-18 21:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140001024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:05:10] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-06-18 21:05:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94301208189075456,"km_value":94301208189075.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6607625052700981248,"description":"Unknown IO ID 45"} 
[2026-06-18 21:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140001024001,"power":11852,"unknown_166":206,"unknown_88":19456,"ignition":38,"odometer":null,"unknown_45":-6607625052700981248}} 
[2026-06-18 21:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":106375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346921,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:05:10] local.INFO: GPS data processed {"connection_id":106375,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:05:10] local.INFO: Acknowledgment sent {"connection_id":106375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:05:11] local.INFO: TCP Data received {"connection_id":106984,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:05:11] local.INFO: Processing buffer {"connection_id":106984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:05:11] local.INFO: Packet analysis {"connection_id":106984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:05:11] local.INFO: Extracted packet for processing {"connection_id":106984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106984,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:05:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":106984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:05:11] local.INFO: GPS data processed {"connection_id":106984,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:05:11] local.INFO: Acknowledgment sent {"connection_id":106984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:05:23] local.INFO: TCP Data received {"connection_id":106192,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:05:23] local.INFO: Processing buffer {"connection_id":106192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:05:23] local.INFO: Packet analysis {"connection_id":106192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:05:23] local.INFO: Extracted packet for processing {"connection_id":106192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":106192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":106192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":106192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:05:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:05:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":106192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:05:23] local.INFO: GPS data processed {"connection_id":106192,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:05:23] local.INFO: Acknowledgment sent {"connection_id":106192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:05:24] local.INFO: TCP Data received {"connection_id":106985,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:05:24] local.INFO: Processing buffer {"connection_id":106985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:05:24] local.INFO: IMEI packet received {"connection_id":106985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":106985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:05:29] local.INFO: TCP Data received {"connection_id":106985,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:05:29] local.INFO: Processing buffer {"connection_id":106985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:05:29] local.INFO: IMEI packet received {"connection_id":106985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":106985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:05:30] local.INFO: TCP Data received {"connection_id":106985,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:05:30] local.INFO: Processing buffer {"connection_id":106985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:05:30] local.INFO: Packet analysis {"connection_id":106985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:05:30] local.INFO: Extracted packet for processing {"connection_id":106985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:05:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:30] 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-06-18 21:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:05:30] 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-06-18 21: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-06-18 21:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:05:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":106985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:05:30] local.INFO: GPS data processed {"connection_id":106985,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:05:30] local.INFO: Acknowledgment sent {"connection_id":106985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:05:32] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:05:32] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:05:32] local.INFO: IMEI packet received {"connection_id":106193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":106193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:05:38] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:05:38] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:05:38] local.INFO: IMEI packet received {"connection_id":106193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":106193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:05:39] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:05:39] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5aedf0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:05:39] local.INFO: Packet analysis {"connection_id":106193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:05:39] local.INFO: Extracted packet for processing {"connection_id":106193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5a"} 
[2026-06-18 21:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139860224001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796630000,"timestamp_ms":1781796630000,"timestamp_seconds":1781796630,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5aedf0"} 
[2026-06-18 21:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:05: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-06-18 21:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:05: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-06-18 21:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139860224001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139860224001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:05:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:05:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139860224001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":106193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:05:39] local.INFO: GPS data processed {"connection_id":106193,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:05:39] local.INFO: Acknowledgment sent {"connection_id":106193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:05:41] local.INFO: TCP Data received {"connection_id":106375,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f1c40012da41cc005f4fd400017014d26..."} 
[2026-06-18 21:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f1c40012da41cc005f4fd400017014d26..."} 
[2026-06-18 21:05:41] local.INFO: Processing buffer {"connection_id":106375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f1c40012da41cc005f4fd400017014d26..."} 
[2026-06-18 21:05:41] local.INFO: Packet analysis {"connection_id":106375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:05:41] local.INFO: Extracted packet for processing {"connection_id":106375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:05:41] local.INFO: GPS Element Parsed {"raw_longitude":765729984,"raw_latitude":99941696,"longitude_deg":76.5729984,"latitude_deg":9.9941696,"altitude":23,"angle":333,"satellites":38,"speed":25,"hex_longitude":"2da41cc0","hex_latitude":"05f4fd40","is_valid_coordinates":true} 
[2026-06-18 21:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140003328001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94301641980772352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6614521189628672000,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781796904000,"timestamp_ms":1781796904000,"timestamp_seconds":1781796904,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f1c40"} 
[2026-06-18 21:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:05:41] 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-06-18 21:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106375,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:05:41] 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-06-18 21:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140003328001,"66":11711,"28":206,"88":19456,"24":25,"16":94301641980772352,"45":-6614521189628672000},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,88,24,16,45]} 
[2026-06-18 21:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140003328001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:05:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 21:05:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94301641980772352,"km_value":94301641980772.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6614521189628672000,"description":"Unknown IO ID 45"} 
[2026-06-18 21:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140003328001,"power":11711,"unknown_28":206,"unknown_88":19456,"ignition":25,"odometer":null,"unknown_45":-6614521189628672000}} 
[2026-06-18 21:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":106375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346926,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:05:41] local.INFO: GPS data processed {"connection_id":106375,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:05:41] local.INFO: Acknowledgment sent {"connection_id":106375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:05:44] local.INFO: TCP Data received {"connection_id":106986,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:05:44] local.INFO: Processing buffer {"connection_id":106986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:05:44] local.INFO: IMEI packet received {"connection_id":106986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:05:44] local.INFO: IMEI acknowledgment sent {"connection_id":106986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:05:49] local.INFO: TCP Data received {"connection_id":106986,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:05:49] local.INFO: Processing buffer {"connection_id":106986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:05:49] local.INFO: IMEI packet received {"connection_id":106986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":106986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:05:50] local.INFO: TCP Data received {"connection_id":106986,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:05:50] local.INFO: Processing buffer {"connection_id":106986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5b1118012d196500071fefc80040006228..."} 
[2026-06-18 21:05:50] local.INFO: Packet analysis {"connection_id":106986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:05:50] local.INFO: Extracted packet for processing {"connection_id":106986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5b"} 
[2026-06-18 21:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139862528001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796639000,"timestamp_ms":1781796639000,"timestamp_seconds":1781796639,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5b1118"} 
[2026-06-18 21:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:05:50] 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-06-18 21:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139862528001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139862528001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:05:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:05:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139862528001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":106986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:05:50] local.INFO: GPS data processed {"connection_id":106986,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:05:50] local.INFO: Acknowledgment sent {"connection_id":106986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:00] local.INFO: TCP Data received {"connection_id":106985,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:06:01] local.INFO: Processing buffer {"connection_id":106985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:06:01] local.INFO: Packet analysis {"connection_id":106985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:06:01] local.INFO: Extracted packet for processing {"connection_id":106985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:01] 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-06-18 21:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:06:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":106985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:01] local.INFO: GPS data processed {"connection_id":106985,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:01] local.INFO: Acknowledgment sent {"connection_id":106985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:05] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:06:05] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:06:05] local.INFO: IMEI packet received {"connection_id":106376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":106376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:06:05] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:06:05] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:06:05] local.INFO: IMEI packet received {"connection_id":106376,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":106376,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:06:06] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f1c40012da41cc005f4fd400017014d26..."} 
[2026-06-18 21:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f1c40012da41cc005f4fd400017014d26..."} 
[2026-06-18 21:06:06] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f1c40012da41cc005f4fd400017014d26..."} 
[2026-06-18 21:06:06] local.INFO: Packet analysis {"connection_id":106376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:06] local.INFO: Extracted packet for processing {"connection_id":106376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":765729984,"raw_latitude":99941696,"longitude_deg":76.5729984,"latitude_deg":9.9941696,"altitude":23,"angle":333,"satellites":38,"speed":25,"hex_longitude":"2da41cc0","hex_latitude":"05f4fd40","is_valid_coordinates":true} 
[2026-06-18 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140007424001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94301641980772352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6621206220323864576,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781796904000,"timestamp_ms":1781796904000,"timestamp_seconds":1781796904,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f1c40"} 
[2026-06-18 21:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:06] 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-06-18 21:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:06:06] 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-06-18 21:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140007424001,"66":11711,"28":206,"88":19456,"24":25,"16":94301641980772352,"45":-6621206220323864576},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,88,24,16,45]} 
[2026-06-18 21:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140007424001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 21:06:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94301641980772352,"km_value":94301641980772.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6621206220323864576,"description":"Unknown IO ID 45"} 
[2026-06-18 21:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140007424001,"power":11711,"unknown_28":206,"unknown_88":19456,"ignition":25,"odometer":null,"unknown_45":-6621206220323864576}} 
[2026-06-18 21:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":106376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346929,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:06] local.INFO: GPS data processed {"connection_id":106376,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:06] local.INFO: Acknowledgment sent {"connection_id":106376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:10] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f4f08012da40f4005f51f980015015129..."} 
[2026-06-18 21:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f4f08012da40f4005f51f980015015129..."} 
[2026-06-18 21:06:10] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f4f08012da40f4005f51f980015015129..."} 
[2026-06-18 21:06:10] local.INFO: Packet analysis {"connection_id":106376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:10] local.INFO: Extracted packet for processing {"connection_id":106376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:10] local.INFO: GPS Element Parsed {"raw_longitude":765726528,"raw_latitude":99950488,"longitude_deg":76.5726528,"latitude_deg":9.9950488,"altitude":21,"angle":337,"satellites":41,"speed":32,"hex_longitude":"2da40f40","hex_latitude":"05f51f98","is_valid_coordinates":true} 
[2026-06-18 21:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140007424001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94302101542273024,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6621206220323864576,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781796917000,"timestamp_ms":1781796917000,"timestamp_seconds":1781796917,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f4f08"} 
[2026-06-18 21:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:10] 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-06-18 21:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:06:10] 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-06-18 21:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140007424001,"66":12004,"161":206,"88":19456,"24":32,"16":94302101542273024,"45":-6621206220323864576},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,88,24,16,45]} 
[2026-06-18 21:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140007424001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:10] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 21:06:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94302101542273024,"km_value":94302101542273.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6621206220323864576,"description":"Unknown IO ID 45"} 
[2026-06-18 21:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140007424001,"power":12004,"unknown_161":206,"unknown_88":19456,"ignition":32,"odometer":null,"unknown_45":-6621206220323864576}} 
[2026-06-18 21:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":106376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346930,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:10] local.INFO: GPS data processed {"connection_id":106376,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:10] local.INFO: Acknowledgment sent {"connection_id":106376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:11] local.INFO: TCP Data received {"connection_id":106193,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:06:11] local.INFO: Processing buffer {"connection_id":106193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:06:11] local.INFO: Packet analysis {"connection_id":106193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:11] local.INFO: Extracted packet for processing {"connection_id":106193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:11] 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-06-18 21:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:06:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":106193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:11] local.INFO: GPS data processed {"connection_id":106193,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:11] local.INFO: Acknowledgment sent {"connection_id":106193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:22] local.INFO: TCP Data received {"connection_id":106986,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:22] local.INFO: Processing buffer {"connection_id":106986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:22] local.INFO: Packet analysis {"connection_id":106986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:22] local.INFO: Extracted packet for processing {"connection_id":106986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:06:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":106986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:22] local.INFO: GPS data processed {"connection_id":106986,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:22] local.INFO: Acknowledgment sent {"connection_id":106986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:23] local.INFO: TCP Data received {"connection_id":107913,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:06:23] local.INFO: Processing buffer {"connection_id":107913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:06:23] local.INFO: IMEI packet received {"connection_id":107913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":107913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:06:29] local.INFO: TCP Data received {"connection_id":107913,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:06:29] local.INFO: Processing buffer {"connection_id":107913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:06:29] local.INFO: IMEI packet received {"connection_id":107913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":107913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:06:30] local.INFO: TCP Data received {"connection_id":107913,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:06:30] local.INFO: Processing buffer {"connection_id":107913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:06:30] local.INFO: Packet analysis {"connection_id":107913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:06:30] local.INFO: Extracted packet for processing {"connection_id":107913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:30] 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-06-18 21:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 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-06-18 21:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:30] 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-06-18 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-06-18 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-06-18 21:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21: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-06-18 21:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":107913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:30] local.INFO: GPS data processed {"connection_id":107913,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:30] local.INFO: Acknowledgment sent {"connection_id":107913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:38] local.INFO: TCP Data received {"connection_id":107914,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:06:38] local.INFO: Processing buffer {"connection_id":107914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:06:38] local.INFO: IMEI packet received {"connection_id":107914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":107914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:06:41] local.INFO: TCP Data received {"connection_id":106376,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f7618012da4044005f540680014015a25..."} 
[2026-06-18 21:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f7618012da4044005f540680014015a25..."} 
[2026-06-18 21:06:41] local.INFO: Processing buffer {"connection_id":106376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f7618012da4044005f540680014015a25..."} 
[2026-06-18 21:06:41] local.INFO: Packet analysis {"connection_id":106376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:41] local.INFO: Extracted packet for processing {"connection_id":106376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:41] local.INFO: GPS Element Parsed {"raw_longitude":765723712,"raw_latitude":99958888,"longitude_deg":76.5723712,"latitude_deg":9.9958888,"altitude":20,"angle":346,"satellites":37,"speed":37,"hex_longitude":"2da40440","hex_latitude":"05f54068","is_valid_coordinates":true} 
[2026-06-18 21:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140010752001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94302531039002624,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6625006132507207680,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781796927000,"timestamp_ms":1781796927000,"timestamp_seconds":1781796927,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f7618"} 
[2026-06-18 21:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106376,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:06:41] 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-06-18 21:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140010752001,"66":11917,"161":206,"88":19456,"24":37,"16":94302531039002624,"45":-6625006132507207680},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,88,24,16,45]} 
[2026-06-18 21:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140010752001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:41] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 21:06:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94302531039002624,"km_value":94302531039002.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6625006132507207680,"description":"Unknown IO ID 45"} 
[2026-06-18 21:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140010752001,"power":11917,"unknown_161":206,"unknown_88":19456,"ignition":37,"odometer":null,"unknown_45":-6625006132507207680}} 
[2026-06-18 21:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":106376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346934,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:41] local.INFO: GPS data processed {"connection_id":106376,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:41] local.INFO: Acknowledgment sent {"connection_id":106376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:43] local.INFO: TCP Data received {"connection_id":107914,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:06:43] local.INFO: Processing buffer {"connection_id":107914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:06:43] local.INFO: IMEI packet received {"connection_id":107914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":107914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:06:46] local.INFO: TCP Data received {"connection_id":107914,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:06:46] local.INFO: Processing buffer {"connection_id":107914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:06:46] local.INFO: Packet analysis {"connection_id":107914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:46] local.INFO: Extracted packet for processing {"connection_id":107914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:06:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:46] 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-06-18 21:06:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:06:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:06:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:06:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:06:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:06:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:06:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:06:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":107914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346935,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:46] local.INFO: GPS data processed {"connection_id":107914,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:46] local.INFO: Acknowledgment sent {"connection_id":107914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:49] local.INFO: TCP Data received {"connection_id":106377,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:06:49] local.INFO: Processing buffer {"connection_id":106377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:06:49] local.INFO: IMEI packet received {"connection_id":106377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":106377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:06:55] local.INFO: TCP Data received {"connection_id":106377,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:06:55] local.INFO: Processing buffer {"connection_id":106377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:06:55] local.INFO: IMEI packet received {"connection_id":106377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":106377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:06:57] local.INFO: TCP Data received {"connection_id":106377,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:57] local.INFO: Processing buffer {"connection_id":106377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:57] local.INFO: Packet analysis {"connection_id":106377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:57] local.INFO: Extracted packet for processing {"connection_id":106377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:57] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":106377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":106377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":106377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":106377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:57] local.INFO: GPS data processed {"connection_id":106377,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:57] local.INFO: Acknowledgment sent {"connection_id":106377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:06:59] local.INFO: TCP Data received {"connection_id":106377,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:59] local.INFO: Processing buffer {"connection_id":106377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:06:59] local.INFO: Packet analysis {"connection_id":106377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:59] local.INFO: Extracted packet for processing {"connection_id":106377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:06:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":106377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:06:59] local.INFO: GPS data processed {"connection_id":106377,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:06:59] local.INFO: Acknowledgment sent {"connection_id":106377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:07:00] local.INFO: TCP Data received {"connection_id":106378,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:07:00] local.INFO: Processing buffer {"connection_id":106378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:07:00] local.INFO: IMEI packet received {"connection_id":106378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":106378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:07:01] local.INFO: TCP Data received {"connection_id":107913,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:07:01] local.INFO: Processing buffer {"connection_id":107913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:07:01] local.INFO: Packet analysis {"connection_id":107913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:07:01] local.INFO: Extracted packet for processing {"connection_id":107913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:07:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:01] 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-06-18 21:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:07: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-06-18 21:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:07:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:07:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":107913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:07:01] local.INFO: GPS data processed {"connection_id":107913,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:07:01] local.INFO: Acknowledgment sent {"connection_id":107913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:07:05] local.INFO: TCP Data received {"connection_id":106378,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106378,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:07:05] local.INFO: Processing buffer {"connection_id":106378,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:07:05] local.INFO: IMEI packet received {"connection_id":106378,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":106378,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:07:05] local.INFO: TCP Data received {"connection_id":106378,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa110012da3fcc005f563b00014015f27..."} 
[2026-06-18 21:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa110012da3fcc005f563b00014015f27..."} 
[2026-06-18 21:07:05] local.INFO: Processing buffer {"connection_id":106378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa110012da3fcc005f563b00014015f27..."} 
[2026-06-18 21:07:05] local.INFO: Packet analysis {"connection_id":106378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:05] local.INFO: Extracted packet for processing {"connection_id":106378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":765721792,"raw_latitude":99967920,"longitude_deg":76.5721792,"latitude_deg":9.996792,"altitude":20,"angle":351,"satellites":39,"speed":29,"hex_longitude":"2da3fcc0","hex_latitude":"05f563b0","is_valid_coordinates":true} 
[2026-06-18 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140013312001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94302977715601408,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6628102357248874496,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781796938000,"timestamp_ms":1781796938000,"timestamp_seconds":1781796938,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa110"} 
[2026-06-18 21:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 21:07:05] 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-06-18 21:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:07:05] 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-06-18 21:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140013312001,"66":11874,"161":206,"88":19456,"24":29,"16":94302977715601408,"45":-6628102357248874496},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,88,24,16,45]} 
[2026-06-18 21:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140013312001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:07:05] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 21:07:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94302977715601408,"km_value":94302977715601.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6628102357248874496,"description":"Unknown IO ID 45"} 
[2026-06-18 21:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140013312001,"power":11874,"unknown_161":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6628102357248874496}} 
[2026-06-18 21:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":106378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346939,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:07:06] local.INFO: GPS data processed {"connection_id":106378,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:07:06] local.INFO: Acknowledgment sent {"connection_id":106378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:07:18] local.INFO: TCP Data received {"connection_id":107914,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:07:18] local.INFO: Processing buffer {"connection_id":107914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:07:18] local.INFO: Packet analysis {"connection_id":107914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:18] local.INFO: Extracted packet for processing {"connection_id":107914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":107914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":107914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":107914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:07:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:07:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":107914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:07:18] local.INFO: GPS data processed {"connection_id":107914,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:07:18] local.INFO: Acknowledgment sent {"connection_id":107914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:07:23] local.INFO: TCP Data received {"connection_id":106987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:07:23] local.INFO: Processing buffer {"connection_id":106987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:07:23] local.INFO: IMEI packet received {"connection_id":106987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":106987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:07:29] local.INFO: TCP Data received {"connection_id":106987,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:07:29] local.INFO: Processing buffer {"connection_id":106987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:07:29] local.INFO: IMEI packet received {"connection_id":106987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":106987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:07:30] local.INFO: TCP Data received {"connection_id":106987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:07:30] local.INFO: Processing buffer {"connection_id":106987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:07:30] local.INFO: Packet analysis {"connection_id":106987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:07:30] local.INFO: Extracted packet for processing {"connection_id":106987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:07:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:30] 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-06-18 21:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:07:30] 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-06-18 21: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-06-18 21:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:07: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-06-18 21:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:07:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:07:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:07:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":106987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:07:30] local.INFO: GPS data processed {"connection_id":106987,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:07:30] local.INFO: Acknowledgment sent {"connection_id":106987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:07:32] local.INFO: TCP Data received {"connection_id":106988,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:07:32] local.INFO: Processing buffer {"connection_id":106988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:07:32] local.INFO: IMEI packet received {"connection_id":106988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":106988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:07:37] local.INFO: TCP Data received {"connection_id":106378,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fcc08012da3f78005f586d00017016328..."} 
[2026-06-18 21:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fcc08012da3f78005f586d00017016328..."} 
[2026-06-18 21:07:37] local.INFO: Processing buffer {"connection_id":106378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fcc08012da3f78005f586d00017016328..."} 
[2026-06-18 21:07:37] local.INFO: Packet analysis {"connection_id":106378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:37] local.INFO: Extracted packet for processing {"connection_id":106378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:37] local.INFO: GPS Element Parsed {"raw_longitude":765720448,"raw_latitude":99976912,"longitude_deg":76.5720448,"latitude_deg":9.9976912,"altitude":23,"angle":355,"satellites":40,"speed":34,"hex_longitude":"2da3f780","hex_latitude":"05f586d0","is_valid_coordinates":true} 
[2026-06-18 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:07:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016128001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94303420097232896,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6630213419571892224,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:07:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781796949000,"timestamp_ms":1781796949000,"timestamp_seconds":1781796949,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fcc08"} 
[2026-06-18 21:07:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:07: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-06-18 21:07:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 21:07:37] 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-06-18 21:07:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:07:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:07:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:07:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:07:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:07:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106378,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:07:37] 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-06-18 21:07:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:07:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:07:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016128001,"66":11895,"161":206,"88":19456,"24":34,"16":94303420097232896,"45":-6630213419571892224},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,88,24,16,45]} 
[2026-06-18 21:07:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:07:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:07:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016128001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:07:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 21:07:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:07:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94303420097232896,"km_value":94303420097232.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:07:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6630213419571892224,"description":"Unknown IO ID 45"} 
[2026-06-18 21:07:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016128001,"power":11895,"unknown_161":206,"unknown_88":19456,"ignition":34,"odometer":null,"unknown_45":-6630213419571892224}} 
[2026-06-18 21:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":106378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346942,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:07:37] local.INFO: GPS data processed {"connection_id":106378,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:07:37] local.INFO: Acknowledgment sent {"connection_id":106378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:07:38] local.INFO: TCP Data received {"connection_id":106988,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:07:38] local.INFO: Processing buffer {"connection_id":106988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:07:38] local.INFO: IMEI packet received {"connection_id":106988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":106988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:07:40] local.INFO: TCP Data received {"connection_id":106988,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:07:40] local.INFO: Processing buffer {"connection_id":106988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:07:40] local.INFO: Packet analysis {"connection_id":106988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:40] local.INFO: Extracted packet for processing {"connection_id":106988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:07:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:07:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":106988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:07:40] local.INFO: GPS data processed {"connection_id":106988,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:07:40] local.INFO: Acknowledgment sent {"connection_id":106988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:07:45] local.INFO: TCP Data received {"connection_id":106379,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:07:45] local.INFO: Processing buffer {"connection_id":106379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:07:45] local.INFO: IMEI packet received {"connection_id":106379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":106379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:07:49] local.INFO: TCP Data received {"connection_id":106379,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:07:49] local.INFO: Processing buffer {"connection_id":106379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:07:49] local.INFO: IMEI packet received {"connection_id":106379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":106379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:07:50] local.INFO: TCP Data received {"connection_id":106379,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:07:50] local.INFO: Processing buffer {"connection_id":106379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:07:50] local.INFO: Packet analysis {"connection_id":106379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:50] local.INFO: Extracted packet for processing {"connection_id":106379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 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-06-18 21:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 21:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:07:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:07:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:07:51] local.INFO: DEBUG: GPS processor result {"connection_id":106379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:07:51] local.INFO: GPS data processed {"connection_id":106379,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:07:51] local.INFO: Acknowledgment sent {"connection_id":106379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:00] local.INFO: TCP Data received {"connection_id":107915,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:00] local.INFO: Processing buffer {"connection_id":107915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:00] local.INFO: IMEI packet received {"connection_id":107915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":107915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:08:00] local.INFO: TCP Data received {"connection_id":107915,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:00] local.INFO: Processing buffer {"connection_id":107915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:00] local.INFO: IMEI packet received {"connection_id":107915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":107915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:08:00] local.INFO: TCP Data received {"connection_id":106987,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:08:01] local.INFO: Processing buffer {"connection_id":106987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:08:01] local.INFO: Packet analysis {"connection_id":106987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:08:01] local.INFO: Extracted packet for processing {"connection_id":106987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:08:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:01] 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-06-18 21:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":106987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:01] local.INFO: GPS data processed {"connection_id":106987,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:01] local.INFO: Acknowledgment sent {"connection_id":106987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:05] local.INFO: TCP Data received {"connection_id":107915,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107915,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:05] local.INFO: Processing buffer {"connection_id":107915,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:05] local.INFO: IMEI packet received {"connection_id":107915,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":107915,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:08:06] local.INFO: TCP Data received {"connection_id":107915,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6006a0012da3f40005f5a1700016015727..."} 
[2026-06-18 21:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6006a0012da3f40005f5a1700016015727..."} 
[2026-06-18 21:08:06] local.INFO: Processing buffer {"connection_id":107915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6006a0012da3f40005f5a1700016015727..."} 
[2026-06-18 21:08:06] local.INFO: Packet analysis {"connection_id":107915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb60"} 
[2026-06-18 21:08:06] local.INFO: Extracted packet for processing {"connection_id":107915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb60"} 
[2026-06-18 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":765719552,"raw_latitude":99983728,"longitude_deg":76.5719552,"latitude_deg":9.9983728,"altitude":22,"angle":343,"satellites":39,"speed":9,"hex_longitude":"2da3f400","hex_latitude":"05f5a170","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140018944001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94303755104681984,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6631691163197321216,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781796964000,"timestamp_ms":1781796964000,"timestamp_seconds":1781796964,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6006a0"} 
[2026-06-18 21:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:06] 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-06-18 21: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-06-18 21:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:08:06] 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-06-18 21:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140018944001,"66":11743,"161":206,"88":19456,"24":9,"16":94303755104681984,"45":-6631691163197321216},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,88,24,16,45]} 
[2026-06-18 21:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140018944001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:06] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 21:08:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94303755104681984,"km_value":94303755104681.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6631691163197321216,"description":"Unknown IO ID 45"} 
[2026-06-18 21:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140018944001,"power":11743,"unknown_161":206,"unknown_88":19456,"ignition":9,"odometer":null,"unknown_45":-6631691163197321216}} 
[2026-06-18 21:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":107915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346946,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:06] local.INFO: GPS data processed {"connection_id":107915,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:06] local.INFO: Acknowledgment sent {"connection_id":107915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:12] local.INFO: TCP Data received {"connection_id":106988,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:12] local.INFO: Processing buffer {"connection_id":106988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:12] local.INFO: Packet analysis {"connection_id":106988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:12] local.INFO: Extracted packet for processing {"connection_id":106988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:12] 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-06-18 21:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:08:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":106988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:12] local.INFO: GPS data processed {"connection_id":106988,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:12] local.INFO: Acknowledgment sent {"connection_id":106988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:22] local.INFO: TCP Data received {"connection_id":106379,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:08:22] local.INFO: Processing buffer {"connection_id":106379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:08:22] local.INFO: Packet analysis {"connection_id":106379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:22] local.INFO: Extracted packet for processing {"connection_id":106379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:08:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":106379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:22] local.INFO: GPS data processed {"connection_id":106379,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:22] local.INFO: Acknowledgment sent {"connection_id":106379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:23] local.INFO: TCP Data received {"connection_id":106989,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:08:23] local.INFO: Processing buffer {"connection_id":106989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:08:23] local.INFO: IMEI packet received {"connection_id":106989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":106989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:08:29] local.INFO: TCP Data received {"connection_id":106989,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:08:29] local.INFO: Processing buffer {"connection_id":106989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:08:29] local.INFO: IMEI packet received {"connection_id":106989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":106989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:08:30] local.INFO: TCP Data received {"connection_id":106989,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:08:30] local.INFO: Processing buffer {"connection_id":106989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5d18a0012cc3308007685ac80059006d2b..."} 
[2026-06-18 21:08:30] local.INFO: Packet analysis {"connection_id":106989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:08:30] local.INFO: Extracted packet for processing {"connection_id":106989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5d"} 
[2026-06-18 21:08:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":89,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139896576001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:30] 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-06-18 21:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781796772000,"timestamp_ms":1781796772000,"timestamp_seconds":1781796772,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5d18a0"} 
[2026-06-18 21:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:30] 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-06-18 21: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-06-18 21:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:08: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-06-18 21:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139896576001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139896576001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139896576001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":106989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:30] local.INFO: GPS data processed {"connection_id":106989,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:30] local.INFO: Acknowledgment sent {"connection_id":106989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:37] local.INFO: TCP Data received {"connection_id":107915,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6054c0012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6054c0012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:08:37] local.INFO: Processing buffer {"connection_id":107915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6054c0012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:08:37] local.INFO: Packet analysis {"connection_id":107915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb60"} 
[2026-06-18 21:08:37] local.INFO: Extracted packet for processing {"connection_id":107915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb60"} 
[2026-06-18 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":765719232,"raw_latitude":99985000,"longitude_deg":76.5719232,"latitude_deg":9.9985,"altitude":22,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2da3f2c0","hex_latitude":"05f5a668","is_valid_coordinates":true} 
[2026-06-18 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140022784001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94303819529191424,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6632676325614063616,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781796984000,"timestamp_ms":1781796984000,"timestamp_seconds":1781796984,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6054c0"} 
[2026-06-18 21:08:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08: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-06-18 21:08:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:08:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:08:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107915,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:08:37] 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-06-18 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140022784001,"66":11743,"161":206,"88":19456,"24":0,"16":94303819529191424,"45":-6632676325614063616},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,88,24,16,45]} 
[2026-06-18 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140022784001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:37] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-06-18 21:08:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94303819529191424,"km_value":94303819529191.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6632676325614063616,"description":"Unknown IO ID 45"} 
[2026-06-18 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140022784001,"power":11743,"unknown_161":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6632676325614063616}} 
[2026-06-18 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":107915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346950,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:37] local.INFO: GPS data processed {"connection_id":107915,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:37] local.INFO: Acknowledgment sent {"connection_id":107915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:38] local.INFO: TCP Data received {"connection_id":107916,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:08:38] local.INFO: Processing buffer {"connection_id":107916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:08:38] local.INFO: IMEI packet received {"connection_id":107916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":107916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:08:43] local.INFO: TCP Data received {"connection_id":107916,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:08:43] local.INFO: Processing buffer {"connection_id":107916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:08:43] local.INFO: IMEI packet received {"connection_id":107916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":107916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:08:43] local.INFO: TCP Data received {"connection_id":106990,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:08:43] local.INFO: Processing buffer {"connection_id":106990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:08:43] local.INFO: IMEI packet received {"connection_id":106990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":106990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:08:44] local.INFO: TCP Data received {"connection_id":107916,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:44] local.INFO: Processing buffer {"connection_id":107916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:44] local.INFO: Packet analysis {"connection_id":107916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:44] local.INFO: Extracted packet for processing {"connection_id":107916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:08:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:44] 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-06-18 21:08:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:08:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":107916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:44] local.INFO: GPS data processed {"connection_id":107916,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:44] local.INFO: Acknowledgment sent {"connection_id":107916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:49] local.INFO: TCP Data received {"connection_id":107916,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:49] local.INFO: Processing buffer {"connection_id":107916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:08:49] local.INFO: Packet analysis {"connection_id":107916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:49] local.INFO: Extracted packet for processing {"connection_id":107916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:08:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":107916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:49] local.INFO: GPS data processed {"connection_id":107916,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:49] local.INFO: Acknowledgment sent {"connection_id":107916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:49] local.INFO: TCP Data received {"connection_id":106990,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:08:49] local.INFO: Processing buffer {"connection_id":106990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:08:49] local.INFO: IMEI packet received {"connection_id":106990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":106990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:08:50] local.INFO: TCP Data received {"connection_id":106990,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:08:50] local.INFO: Processing buffer {"connection_id":106990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:08:50] local.INFO: Packet analysis {"connection_id":106990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:50] local.INFO: Extracted packet for processing {"connection_id":106990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:08:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:08:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":106990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:08:50] local.INFO: GPS data processed {"connection_id":106990,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:08:50] local.INFO: Acknowledgment sent {"connection_id":106990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:08:59] local.INFO: TCP Data received {"connection_id":106380,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:59] local.INFO: Processing buffer {"connection_id":106380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:08:59] local.INFO: IMEI packet received {"connection_id":106380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":106380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:09:00] local.INFO: TCP Data received {"connection_id":106989,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:09:00] local.INFO: Processing buffer {"connection_id":106989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:09:00] local.INFO: Packet analysis {"connection_id":106989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:09:00] local.INFO: Extracted packet for processing {"connection_id":106989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:09:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:00] 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-06-18 21:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:09: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-06-18 21:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:09:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:09:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":106989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:09:00] local.INFO: GPS data processed {"connection_id":106989,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:09:00] local.INFO: Acknowledgment sent {"connection_id":106989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:09:03] local.INFO: TCP Data received {"connection_id":106380,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106380,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:09:03] local.INFO: Processing buffer {"connection_id":106380,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:09:03] local.INFO: IMEI packet received {"connection_id":106380,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":106380,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:09:04] local.INFO: TCP Data received {"connection_id":106380,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb60a6c8012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb60a6c8012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:09:04] local.INFO: Processing buffer {"connection_id":106380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb60a6c8012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:09:04] local.INFO: Packet analysis {"connection_id":106380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb60"} 
[2026-06-18 21:09:04] local.INFO: Extracted packet for processing {"connection_id":106380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb60"} 
[2026-06-18 21:09:04] local.INFO: GPS Element Parsed {"raw_longitude":765719232,"raw_latitude":99985000,"longitude_deg":76.5719232,"latitude_deg":9.9985,"altitude":22,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2da3f2c0","hex_latitude":"05f5a668","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140027904001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94303819529191424,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6633028169334626304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781797005000,"timestamp_ms":1781797005000,"timestamp_seconds":1781797005,"priority":1,"record_length":96,"hex_timestamp":"0000019edb60a6c8"} 
[2026-06-18 21:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 21:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":106380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":106380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":106380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:09:04] 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-06-18 21:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140027904001,"66":11341,"162":206,"88":19456,"24":0,"16":94303819529191424,"45":-6633028169334626304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,88,24,16,45]} 
[2026-06-18 21:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140027904001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:09:04] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 21:09:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94303819529191424,"km_value":94303819529191.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6633028169334626304,"description":"Unknown IO ID 45"} 
[2026-06-18 21:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140027904001,"power":11341,"unknown_162":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6633028169334626304}} 
[2026-06-18 21:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":106380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346955,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:09:04] local.INFO: GPS data processed {"connection_id":106380,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:09:04] local.INFO: Acknowledgment sent {"connection_id":106380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:09:22] local.INFO: TCP Data received {"connection_id":106990,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:09:22] local.INFO: Processing buffer {"connection_id":106990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:09:22] local.INFO: Packet analysis {"connection_id":106990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:09:22] local.INFO: Extracted packet for processing {"connection_id":106990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:09:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:09:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":106990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:09:22] local.INFO: GPS data processed {"connection_id":106990,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:09:22] local.INFO: Acknowledgment sent {"connection_id":106990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:09:23] local.INFO: TCP Data received {"connection_id":106381,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:09:23] local.INFO: Processing buffer {"connection_id":106381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:09:23] local.INFO: IMEI packet received {"connection_id":106381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":106381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:09:29] local.INFO: TCP Data received {"connection_id":106381,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:09:29] local.INFO: Processing buffer {"connection_id":106381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:09:29] local.INFO: IMEI packet received {"connection_id":106381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":106381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:09:30] local.INFO: TCP Data received {"connection_id":106381,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:09:30] local.INFO: Processing buffer {"connection_id":106381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:09:30] local.INFO: Packet analysis {"connection_id":106381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:09:30] local.INFO: Extracted packet for processing {"connection_id":106381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:30] 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-06-18 21:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:09: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-06-18 21:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:09:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:09:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:09:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":106381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:09:30] local.INFO: GPS data processed {"connection_id":106381,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:09:30] local.INFO: Acknowledgment sent {"connection_id":106381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:09:33] local.INFO: TCP Data received {"connection_id":107917,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:09:33] local.INFO: Processing buffer {"connection_id":107917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:09:33] local.INFO: IMEI packet received {"connection_id":107917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":107917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:09:38] local.INFO: TCP Data received {"connection_id":107917,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:09:38] local.INFO: Processing buffer {"connection_id":107917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:09:38] local.INFO: IMEI packet received {"connection_id":107917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":107917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:09:38] local.INFO: TCP Data received {"connection_id":106380,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb60f8d0012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb60f8d0012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:09:38] local.INFO: Processing buffer {"connection_id":106380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb60f8d0012da3f2c005f5a6680016016026..."} 
[2026-06-18 21:09:38] local.INFO: Packet analysis {"connection_id":106380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb60"} 
[2026-06-18 21:09:38] local.INFO: Extracted packet for processing {"connection_id":106380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb60"} 
[2026-06-18 21:09:38] local.INFO: GPS Element Parsed {"raw_longitude":765719232,"raw_latitude":99985000,"longitude_deg":76.5719232,"latitude_deg":9.9985,"altitude":22,"angle":352,"satellites":38,"speed":0,"hex_longitude":"2da3f2c0","hex_latitude":"05f5a668","is_valid_coordinates":true} 
[2026-06-18 21:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:09:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140033280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94303819529191424,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6633028169334626304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:09:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781797026000,"timestamp_ms":1781797026000,"timestamp_seconds":1781797026,"priority":1,"record_length":96,"hex_timestamp":"0000019edb60f8d0"} 
[2026-06-18 21:09:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:09:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:09:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 21:09:38] 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-06-18 21:09:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:09:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:09:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:09:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:09:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:09:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106380,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:09:38] 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-06-18 21:09:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:09:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:09:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140033280001,"66":11678,"162":206,"88":19456,"24":0,"16":94303819529191424,"45":-6633028169334626304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,88,24,16,45]} 
[2026-06-18 21:09:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:09:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:09:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140033280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:09:38] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-06-18 21:09:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:09:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94303819529191424,"km_value":94303819529191.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:09:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6633028169334626304,"description":"Unknown IO ID 45"} 
[2026-06-18 21:09:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140033280001,"power":11678,"unknown_162":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6633028169334626304}} 
[2026-06-18 21:09:38] local.INFO: DEBUG: GPS processor result {"connection_id":106380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346958,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:09:38] local.INFO: GPS data processed {"connection_id":106380,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:09:38] local.INFO: Acknowledgment sent {"connection_id":106380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:09:39] local.INFO: TCP Data received {"connection_id":107917,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:09:39] local.INFO: Processing buffer {"connection_id":107917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:09:39] local.INFO: Packet analysis {"connection_id":107917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:09:39] local.INFO: Extracted packet for processing {"connection_id":107917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:09: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-06-18 21:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:09:39] 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-06-18 21:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:09:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":107917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:09:39] local.INFO: GPS data processed {"connection_id":107917,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:09:39] local.INFO: Acknowledgment sent {"connection_id":107917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:09:44] local.INFO: TCP Data received {"connection_id":106382,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:09:44] local.INFO: Processing buffer {"connection_id":106382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:09:44] local.INFO: IMEI packet received {"connection_id":106382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:09:44] local.INFO: IMEI acknowledgment sent {"connection_id":106382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:09:49] local.INFO: TCP Data received {"connection_id":106382,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:09:49] local.INFO: Processing buffer {"connection_id":106382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:09:49] local.INFO: IMEI packet received {"connection_id":106382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":106382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:09:50] local.INFO: TCP Data received {"connection_id":106382,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:09:50] local.INFO: Processing buffer {"connection_id":106382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:09:50] local.INFO: Packet analysis {"connection_id":106382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:09:50] local.INFO: Extracted packet for processing {"connection_id":106382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:09:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:09:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:09:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":106382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:09:50] local.INFO: GPS data processed {"connection_id":106382,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:09:50] local.INFO: Acknowledgment sent {"connection_id":106382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:09:59] local.INFO: TCP Data received {"connection_id":106991,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:09:59] local.INFO: Processing buffer {"connection_id":106991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:09:59] local.INFO: IMEI packet received {"connection_id":106991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":106991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:10:01] local.INFO: TCP Data received {"connection_id":106381,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:10:01] local.INFO: Processing buffer {"connection_id":106381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:10:01] local.INFO: Packet analysis {"connection_id":106381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:10:01] local.INFO: Extracted packet for processing {"connection_id":106381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:10:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:01] 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-06-18 21:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:10:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:10:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:10:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:10:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":106381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:10:01] local.INFO: GPS data processed {"connection_id":106381,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:10:01] local.INFO: Acknowledgment sent {"connection_id":106381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:10:05] local.INFO: TCP Data received {"connection_id":106991,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106991,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:10:05] local.INFO: Processing buffer {"connection_id":106991,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:10:05] local.INFO: IMEI packet received {"connection_id":106991,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":106991,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:10:06] local.INFO: TCP Data received {"connection_id":106991,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb632380012da3be8005f6b5680019015725..."} 
[2026-06-18 21:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb632380012da3be8005f6b5680019015725..."} 
[2026-06-18 21:10:06] local.INFO: Processing buffer {"connection_id":106991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb632380012da3be8005f6b5680019015725..."} 
[2026-06-18 21:10:06] local.INFO: Packet analysis {"connection_id":106991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:10:06] local.INFO: Extracted packet for processing {"connection_id":106991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":765705856,"raw_latitude":100054376,"longitude_deg":76.5705856,"latitude_deg":10.0054376,"altitude":25,"angle":343,"satellites":37,"speed":25,"hex_longitude":"2da3be80","hex_latitude":"05f6b568","is_valid_coordinates":true} 
[2026-06-18 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140071680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94307268387930112,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6644920487085197312,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781797168000,"timestamp_ms":1781797168000,"timestamp_seconds":1781797168,"priority":1,"record_length":96,"hex_timestamp":"0000019edb632380"} 
[2026-06-18 21:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 21:10:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680630456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2749218821,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:06] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":78118936,"corrected_to":0} 
[2026-06-18 21:10:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1453457614,"corrected_to":0} 
[2026-06-18 21:10:06] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3221616097,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:06] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,204,88,24,241,157,16,11,158,189,45,128,110,27,38,10,66,127,74,25,162,64,1,240,250,227,219,246,4,113,205,36,222,184,39,239,46,2,79],"length":434,"final_offset":564,"validated_count":39,"validation_warnings":[{"io_id":246,"original":78118936,"validated":0},{"io_id":205,"original":1453457614,"validated":0}]} 
[2026-06-18 21:10:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1801823739421458432,"timestamp_seconds":1801823739421458.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:10:06] 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-06-18 21:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140071680001,"66":12015,"204":206,"88":19456,"24":25,"16":94307268387930112,"45":-6644920487085197312},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-06-18 21:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140071680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:10:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94307268387930112,"km_value":94307268387930.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6644920487085197312,"description":"Unknown IO ID 45"} 
[2026-06-18 21:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140071680001,"power":12015,"lac":206,"unknown_88":19456,"ignition":25,"odometer":null,"unknown_45":-6644920487085197312}} 
[2026-06-18 21:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":106991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346962,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:10:06] local.INFO: GPS data processed {"connection_id":106991,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:10:06] local.INFO: Acknowledgment sent {"connection_id":106991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:10:11] local.INFO: TCP Data received {"connection_id":107917,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:10:11] local.INFO: Processing buffer {"connection_id":107917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:10:11] local.INFO: Packet analysis {"connection_id":107917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:10:11] local.INFO: Extracted packet for processing {"connection_id":107917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:10:11] 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-06-18 21:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":107917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:10:11] local.INFO: GPS data processed {"connection_id":107917,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:10:11] local.INFO: Acknowledgment sent {"connection_id":107917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:10:22] local.INFO: TCP Data received {"connection_id":106382,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:10:22] local.INFO: Processing buffer {"connection_id":106382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:10:22] local.INFO: Packet analysis {"connection_id":106382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:10:22] local.INFO: Extracted packet for processing {"connection_id":106382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:10:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:10:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":106382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:10:22] local.INFO: GPS data processed {"connection_id":106382,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:10:22] local.INFO: Acknowledgment sent {"connection_id":106382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:10:24] local.INFO: TCP Data received {"connection_id":106383,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:10:24] local.INFO: Processing buffer {"connection_id":106383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:10:24] local.INFO: IMEI packet received {"connection_id":106383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":106383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:10:29] local.INFO: TCP Data received {"connection_id":106383,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:10:29] local.INFO: Processing buffer {"connection_id":106383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:10:29] local.INFO: IMEI packet received {"connection_id":106383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":106383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:10:30] local.INFO: TCP Data received {"connection_id":106383,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:10:30] local.INFO: Processing buffer {"connection_id":106383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:10:30] local.INFO: Packet analysis {"connection_id":106383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:10:30] local.INFO: Extracted packet for processing {"connection_id":106383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:10:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:30] 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-06-18 21:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:10:30] 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-06-18 21:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:10:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:10:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:10:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":106383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:10:30] local.INFO: GPS data processed {"connection_id":106383,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:10:30] local.INFO: Acknowledgment sent {"connection_id":106383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:10:33] local.INFO: TCP Data received {"connection_id":107918,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:10:33] local.INFO: Processing buffer {"connection_id":107918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:10:33] local.INFO: IMEI packet received {"connection_id":107918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:10:33] local.INFO: IMEI acknowledgment sent {"connection_id":107918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:10:37] local.INFO: TCP Data received {"connection_id":106991,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb633af0012da3b90005f6c2d0001a014826..."} 
[2026-06-18 21:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb633af0012da3b90005f6c2d0001a014826..."} 
[2026-06-18 21:10:37] local.INFO: Processing buffer {"connection_id":106991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb633af0012da3b90005f6c2d0001a014826..."} 
[2026-06-18 21:10:37] local.INFO: Packet analysis {"connection_id":106991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:10:37] local.INFO: Extracted packet for processing {"connection_id":106991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:10:37] local.INFO: GPS Element Parsed {"raw_longitude":765704448,"raw_latitude":100057808,"longitude_deg":76.5704448,"latitude_deg":10.0057808,"altitude":26,"angle":328,"satellites":38,"speed":23,"hex_longitude":"2da3b900","hex_latitude":"05f6c2d0","is_valid_coordinates":true} 
[2026-06-18 21:10:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140075008001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94307448776556544,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6647735236849997824,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781797174000,"timestamp_ms":1781797174000,"timestamp_seconds":1781797174,"priority":1,"record_length":96,"hex_timestamp":"0000019edb633af0"} 
[2026-06-18 21:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:10:37] 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-06-18 21: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 21:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106991,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:10:37] 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-06-18 21:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140075008001,"66":12069,"204":206,"88":19456,"24":23,"16":94307448776556544,"45":-6647735236849997824},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-06-18 21:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140075008001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:10:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94307448776556544,"km_value":94307448776556.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6647735236849997824,"description":"Unknown IO ID 45"} 
[2026-06-18 21:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140075008001,"power":12069,"lac":206,"unknown_88":19456,"ignition":23,"odometer":null,"unknown_45":-6647735236849997824}} 
[2026-06-18 21:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":106991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346966,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:10:37] local.INFO: GPS data processed {"connection_id":106991,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:10:37] local.INFO: Acknowledgment sent {"connection_id":106991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:10:38] local.INFO: TCP Data received {"connection_id":107918,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:10:38] local.INFO: Processing buffer {"connection_id":107918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:10:38] local.INFO: IMEI packet received {"connection_id":107918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":107918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:10:39] local.INFO: TCP Data received {"connection_id":107918,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:10:39] local.INFO: Processing buffer {"connection_id":107918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5f85b8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:10:39] local.INFO: Packet analysis {"connection_id":107918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:10:39] local.INFO: Extracted packet for processing {"connection_id":107918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139937280001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781796931000,"timestamp_ms":1781796931000,"timestamp_seconds":1781796931,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5f85b8"} 
[2026-06-18 21:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:10: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-06-18 21:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:10:39] 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-06-18 21:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139937280001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139937280001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:10:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:10:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139937280001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":107918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:10:39] local.INFO: GPS data processed {"connection_id":107918,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:10:39] local.INFO: Acknowledgment sent {"connection_id":107918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:10:49] local.INFO: TCP Data received {"connection_id":106194,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:10:49] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:10:49] local.INFO: IMEI packet received {"connection_id":106194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":106194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:10:54] local.INFO: TCP Data received {"connection_id":106194,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:10:54] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:10:54] local.INFO: IMEI packet received {"connection_id":106194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":106194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:10:55] local.INFO: TCP Data received {"connection_id":106194,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:10:55] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:10:55] local.INFO: Packet analysis {"connection_id":106194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:10:55] local.INFO: Extracted packet for processing {"connection_id":106194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:10:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":106194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:10:55] local.INFO: GPS data processed {"connection_id":106194,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:10:55] local.INFO: Acknowledgment sent {"connection_id":106194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:11:00] local.INFO: TCP Data received {"connection_id":106194,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:11:00] local.INFO: Processing buffer {"connection_id":106194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb5fa8e0012d196500071fefc80040006227..."} 
[2026-06-18 21:11:00] local.INFO: Packet analysis {"connection_id":106194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:11:00] local.INFO: Extracted packet for processing {"connection_id":106194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb5f"} 
[2026-06-18 21:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139939584001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781796940000,"timestamp_ms":1781796940000,"timestamp_seconds":1781796940,"priority":1,"record_length":96,"hex_timestamp":"0000019edb5fa8e0"} 
[2026-06-18 21:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15104,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139939584001,"66":2166,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139939584001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:11:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139939584001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":106194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:11:00] local.INFO: GPS data processed {"connection_id":106194,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:11:00] local.INFO: Acknowledgment sent {"connection_id":106194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:11:01] local.INFO: TCP Data received {"connection_id":106383,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:11:01] local.INFO: Processing buffer {"connection_id":106383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:11:01] local.INFO: Packet analysis {"connection_id":106383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:11:01] local.INFO: Extracted packet for processing {"connection_id":106383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:11:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:01] 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-06-18 21:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:11:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:11:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":106383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:11:01] local.INFO: GPS data processed {"connection_id":106383,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:11:01] local.INFO: Acknowledgment sent {"connection_id":106383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:11:09] local.INFO: TCP Data received {"connection_id":106992,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:11:09] local.INFO: Processing buffer {"connection_id":106992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:11:09] local.INFO: IMEI packet received {"connection_id":106992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":106992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:11:11] local.INFO: TCP Data received {"connection_id":107918,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:11:11] local.INFO: Processing buffer {"connection_id":107918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:11:11] local.INFO: Packet analysis {"connection_id":107918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:11:11] local.INFO: Extracted packet for processing {"connection_id":107918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:11:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":107918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:11:11] local.INFO: GPS data processed {"connection_id":107918,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:11:11] local.INFO: Acknowledgment sent {"connection_id":107918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:11:14] local.INFO: TCP Data received {"connection_id":106992,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106992,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:11:14] local.INFO: Processing buffer {"connection_id":106992,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:11:14] local.INFO: IMEI packet received {"connection_id":106992,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":106992,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:11:14] local.INFO: TCP Data received {"connection_id":106992,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6371a0012da3a78005f6d950001c013d27..."} 
[2026-06-18 21:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6371a0012da3a78005f6d950001c013d27..."} 
[2026-06-18 21:11:14] local.INFO: Processing buffer {"connection_id":106992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6371a0012da3a78005f6d950001c013d27..."} 
[2026-06-18 21:11:14] local.INFO: Packet analysis {"connection_id":106992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:11:14] local.INFO: Extracted packet for processing {"connection_id":106992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:11:14] local.INFO: GPS Element Parsed {"raw_longitude":765699968,"raw_latitude":100063568,"longitude_deg":76.5699968,"latitude_deg":10.0063568,"altitude":28,"angle":317,"satellites":39,"speed":22,"hex_longitude":"2da3a780","hex_latitude":"05f6d950","is_valid_coordinates":true} 
[2026-06-18 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140076544001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94307800963874816,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6649283349221027840,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,204,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781797188000,"timestamp_ms":1781797188000,"timestamp_seconds":1781797188,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6371a0"} 
[2026-06-18 21:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:11:14] 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-06-18 21:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 21:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":766,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106992,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:11:14] 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-06-18 21:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140076544001,"66":12015,"204":206,"88":19456,"24":22,"16":94307800963874816,"45":-6649283349221027840},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,204,88,24,16,45]} 
[2026-06-18 21:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140076544001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:11:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94307800963874816,"km_value":94307800963874.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6649283349221027840,"description":"Unknown IO ID 45"} 
[2026-06-18 21:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140076544001,"power":12015,"lac":206,"unknown_88":19456,"ignition":22,"odometer":null,"unknown_45":-6649283349221027840}} 
[2026-06-18 21:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":106992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346972,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:11:14] local.INFO: GPS data processed {"connection_id":106992,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:11:14] local.INFO: Acknowledgment sent {"connection_id":106992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:11:23] local.INFO: TCP Data received {"connection_id":107919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:11:23] local.INFO: Processing buffer {"connection_id":107919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:11:23] local.INFO: IMEI packet received {"connection_id":107919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":107919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:11:29] local.INFO: TCP Data received {"connection_id":107919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:11:29] local.INFO: Processing buffer {"connection_id":107919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:11:29] local.INFO: IMEI packet received {"connection_id":107919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":107919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:11:30] local.INFO: TCP Data received {"connection_id":107919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:11:30] local.INFO: Processing buffer {"connection_id":107919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:11:30] local.INFO: Packet analysis {"connection_id":107919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:11:30] local.INFO: Extracted packet for processing {"connection_id":107919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:30] 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-06-18 21:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:11:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:11: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-06-18 21:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:11:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:11:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":107919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:11:30] local.INFO: GPS data processed {"connection_id":107919,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:11:30] local.INFO: Acknowledgment sent {"connection_id":107919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:11:32] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:11:32] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:11:32] local.INFO: IMEI packet received {"connection_id":106195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":106195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:11:38] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:11:38] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:11:38] local.INFO: IMEI packet received {"connection_id":106195,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":106195,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:11:39] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:11:39] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:11:39] local.INFO: Packet analysis {"connection_id":106195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:11:39] local.INFO: Extracted packet for processing {"connection_id":106195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:11: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-06-18 21:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:11: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-06-18 21:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:11:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":106195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346974,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:11:39] local.INFO: GPS data processed {"connection_id":106195,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:11:39] local.INFO: Acknowledgment sent {"connection_id":106195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:11:44] local.INFO: TCP Data received {"connection_id":107920,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:11:44] local.INFO: Processing buffer {"connection_id":107920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:11:44] local.INFO: IMEI packet received {"connection_id":107920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:11:44] local.INFO: IMEI acknowledgment sent {"connection_id":107920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:11:49] local.INFO: TCP Data received {"connection_id":107920,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:11:49] local.INFO: Processing buffer {"connection_id":107920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:11:49] local.INFO: IMEI packet received {"connection_id":107920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":107920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:11:50] local.INFO: TCP Data received {"connection_id":107920,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:11:50] local.INFO: Processing buffer {"connection_id":107920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:11:50] local.INFO: Packet analysis {"connection_id":107920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:11:50] local.INFO: Extracted packet for processing {"connection_id":107920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:11:50] 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-06-18 21:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:11:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:11:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":107920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:11:50] local.INFO: GPS data processed {"connection_id":107920,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:11:50] local.INFO: Acknowledgment sent {"connection_id":107920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:00] local.INFO: TCP Data received {"connection_id":107921,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:12:00] local.INFO: Processing buffer {"connection_id":107921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:12:00] local.INFO: IMEI packet received {"connection_id":107921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":107921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:12:00] local.INFO: TCP Data received {"connection_id":107919,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:12:00] local.INFO: Processing buffer {"connection_id":107919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:12:00] local.INFO: Packet analysis {"connection_id":107919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:12:00] local.INFO: Extracted packet for processing {"connection_id":107919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:12:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:00] 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-06-18 21:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12: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-06-18 21:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:12: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-06-18 21:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":107919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:00] local.INFO: GPS data processed {"connection_id":107919,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:00] local.INFO: Acknowledgment sent {"connection_id":107919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:05] local.INFO: TCP Data received {"connection_id":107921,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107921,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:12:05] local.INFO: Processing buffer {"connection_id":107921,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:12:05] local.INFO: IMEI packet received {"connection_id":107921,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":107921,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:12:05] local.INFO: TCP Data received {"connection_id":107921,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb63ac38012da3924005f6f390001b014927..."} 
[2026-06-18 21:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb63ac38012da3924005f6f390001b014927..."} 
[2026-06-18 21:12:05] local.INFO: Processing buffer {"connection_id":107921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb63ac38012da3924005f6f390001b014927..."} 
[2026-06-18 21:12:05] local.INFO: Packet analysis {"connection_id":107921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:12:05] local.INFO: Extracted packet for processing {"connection_id":107921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:12:05] local.INFO: GPS Element Parsed {"raw_longitude":765694528,"raw_latitude":100070288,"longitude_deg":76.5694528,"latitude_deg":10.0070288,"altitude":27,"angle":329,"satellites":39,"speed":23,"hex_longitude":"2da39240","hex_latitude":"05f6f390","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140080128001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94308217575702528,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6654209161311989760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797203000,"timestamp_ms":1781797203000,"timestamp_seconds":1781797203,"priority":1,"record_length":96,"hex_timestamp":"0000019edb63ac38"} 
[2026-06-18 21:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:12:05] 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-06-18 21:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140080128001,"66":12037,"202":206,"88":19456,"24":23,"16":94308217575702528,"45":-6654209161311989760},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-06-18 21:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140080128001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94308217575702528,"km_value":94308217575702.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6654209161311989760,"description":"Unknown IO ID 45"} 
[2026-06-18 21:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140080128001,"power":12037,"mcc":206,"unknown_88":19456,"ignition":23,"odometer":null,"unknown_45":-6654209161311989760}} 
[2026-06-18 21:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":107921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346977,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:05] local.INFO: GPS data processed {"connection_id":107921,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:05] local.INFO: Acknowledgment sent {"connection_id":107921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:11] local.INFO: TCP Data received {"connection_id":106195,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:11] local.INFO: Processing buffer {"connection_id":106195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:11] local.INFO: Packet analysis {"connection_id":106195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:11] local.INFO: Extracted packet for processing {"connection_id":106195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106195,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":106195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:11] local.INFO: GPS data processed {"connection_id":106195,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:11] local.INFO: Acknowledgment sent {"connection_id":106195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:22] local.INFO: TCP Data received {"connection_id":107920,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:12:22] local.INFO: Processing buffer {"connection_id":107920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:12:22] local.INFO: Packet analysis {"connection_id":107920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:22] local.INFO: Extracted packet for processing {"connection_id":107920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12:22] 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-06-18 21:12:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:12:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":107920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:22] local.INFO: GPS data processed {"connection_id":107920,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:22] local.INFO: Acknowledgment sent {"connection_id":107920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:23] local.INFO: TCP Data received {"connection_id":106993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:12:23] local.INFO: Processing buffer {"connection_id":106993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:12:23] local.INFO: IMEI packet received {"connection_id":106993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":106993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:12:29] local.INFO: TCP Data received {"connection_id":106993,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:12:29] local.INFO: Processing buffer {"connection_id":106993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:12:29] local.INFO: IMEI packet received {"connection_id":106993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":106993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:12:30] local.INFO: TCP Data received {"connection_id":106993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:12:30] local.INFO: Processing buffer {"connection_id":106993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:12:30] local.INFO: Packet analysis {"connection_id":106993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:12:30] local.INFO: Extracted packet for processing {"connection_id":106993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:12:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:30] 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-06-18 21:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:12: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-06-18 21:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:12:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":106993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:30] local.INFO: GPS data processed {"connection_id":106993,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:30] local.INFO: Acknowledgment sent {"connection_id":106993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:36] local.INFO: TCP Data received {"connection_id":107921,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb63e6d0012da3818005f71428001e015327..."} 
[2026-06-18 21:12:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb63e6d0012da3818005f71428001e015327..."} 
[2026-06-18 21:12:36] local.INFO: Processing buffer {"connection_id":107921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb63e6d0012da3818005f71428001e015327..."} 
[2026-06-18 21:12:36] local.INFO: Packet analysis {"connection_id":107921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:12:36] local.INFO: Extracted packet for processing {"connection_id":107921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb63"} 
[2026-06-18 21:12:36] local.INFO: GPS Element Parsed {"raw_longitude":765690240,"raw_latitude":100078632,"longitude_deg":76.569024,"latitude_deg":10.0078632,"altitude":30,"angle":339,"satellites":39,"speed":29,"hex_longitude":"2da38180","hex_latitude":"05f71428","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140083968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94308672842235904,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6660190504565370880,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:12:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781797218000,"timestamp_ms":1781797218000,"timestamp_seconds":1781797218,"priority":1,"record_length":96,"hex_timestamp":"0000019edb63e6d0"} 
[2026-06-18 21:12:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12:36] 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-06-18 21: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2449958197457323008,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680665456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2747826181,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13523020,"corrected_to":0} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182255479423232,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":11,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":2453143577,"corrected_to":0} 
[2026-06-18 21:12:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":6242552919733567512,"corrected_to":0} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":189,"raw_value":4026609059,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":46,"raw_value":2550189391,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":5,"raw_value":-699518093264593882,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194775040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:36] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,202,88,24,241,157,16,12,158,113,45,128,217,28,39,10,66,204,58,194,26,38,35,1,240,239,227,11,219,246,4,205,21,189,46,2,79,5,69],"length":484,"final_offset":614,"validated_count":39,"validation_warnings":[{"io_id":204,"original":13523020,"validated":0},{"io_id":246,"original":2453143577,"validated":0},{"io_id":205,"original":6242552919733567512,"validated":0}]} 
[2026-06-18 21:12:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1945916945854824448,"timestamp_seconds":1945916945854824.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:12:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:12:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107921,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:12:36] 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-06-18 21:12:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:12:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:12:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140083968001,"66":11634,"202":206,"88":19456,"24":29,"16":94308672842235904,"45":-6660190504565370880},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-06-18 21:12:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:12:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:12:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140083968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:12:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94308672842235904,"km_value":94308672842235.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6660190504565370880,"description":"Unknown IO ID 45"} 
[2026-06-18 21:12:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140083968001,"power":11634,"mcc":206,"unknown_88":19456,"ignition":29,"odometer":null,"unknown_45":-6660190504565370880}} 
[2026-06-18 21:12:36] local.INFO: DEBUG: GPS processor result {"connection_id":107921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346981,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:36] local.INFO: GPS data processed {"connection_id":107921,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:36] local.INFO: Acknowledgment sent {"connection_id":107921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:38] local.INFO: TCP Data received {"connection_id":107922,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:12:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:12:38] local.INFO: Processing buffer {"connection_id":107922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:12:38] local.INFO: IMEI packet received {"connection_id":107922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:12:38] local.INFO: IMEI acknowledgment sent {"connection_id":107922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:12:43] local.INFO: TCP Data received {"connection_id":107922,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:12:43] local.INFO: Processing buffer {"connection_id":107922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:12:43] local.INFO: IMEI packet received {"connection_id":107922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":107922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:12:44] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:12:44] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:12:44] local.INFO: IMEI packet received {"connection_id":106196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:12:44] local.INFO: IMEI acknowledgment sent {"connection_id":106196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:12:44] local.INFO: TCP Data received {"connection_id":107922,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:44] local.INFO: Processing buffer {"connection_id":107922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:44] local.INFO: Packet analysis {"connection_id":107922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:44] local.INFO: Extracted packet for processing {"connection_id":107922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:12:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":107922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:44] local.INFO: GPS data processed {"connection_id":107922,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:44] local.INFO: Acknowledgment sent {"connection_id":107922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:49] local.INFO: TCP Data received {"connection_id":107922,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:49] local.INFO: Processing buffer {"connection_id":107922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:12:49] local.INFO: Packet analysis {"connection_id":107922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:49] local.INFO: Extracted packet for processing {"connection_id":107922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":107922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:49] local.INFO: GPS data processed {"connection_id":107922,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:49] local.INFO: Acknowledgment sent {"connection_id":107922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:12:49] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:12:49] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:12:49] local.INFO: IMEI packet received {"connection_id":106196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":106196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:12:53] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:12:53] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:12:53] local.INFO: Packet analysis {"connection_id":106196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:53] local.INFO: Extracted packet for processing {"connection_id":106196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:12:53] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:12:53] 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-06-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":106196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":106196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":106196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:12:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:12:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":106196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346984,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:12:53] local.INFO: GPS data processed {"connection_id":106196,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:12:53] local.INFO: Acknowledgment sent {"connection_id":106196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:13:00] local.INFO: TCP Data received {"connection_id":106197,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:00] local.INFO: Processing buffer {"connection_id":106197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:00] local.INFO: IMEI packet received {"connection_id":106197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":106197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:13:01] local.INFO: TCP Data received {"connection_id":106993,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:13:01] local.INFO: Processing buffer {"connection_id":106993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:13:01] local.INFO: Packet analysis {"connection_id":106993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:13:01] local.INFO: Extracted packet for processing {"connection_id":106993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:13:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:01] 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-06-18 21:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:13: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-06-18 21:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:13:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:13:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":106993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:13:01] local.INFO: GPS data processed {"connection_id":106993,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:13:01] local.INFO: Acknowledgment sent {"connection_id":106993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:13:04] local.INFO: TCP Data received {"connection_id":106197,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106197,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:04] local.INFO: Processing buffer {"connection_id":106197,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:04] local.INFO: IMEI packet received {"connection_id":106197,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":106197,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:13:05] local.INFO: TCP Data received {"connection_id":106197,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6415b0012da3758005f73720001f015728..."} 
[2026-06-18 21:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6415b0012da3758005f73720001f015728..."} 
[2026-06-18 21:13:05] local.INFO: Processing buffer {"connection_id":106197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6415b0012da3758005f73720001f015728..."} 
[2026-06-18 21:13:05] local.INFO: Packet analysis {"connection_id":106197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:05] local.INFO: Extracted packet for processing {"connection_id":106197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":765687168,"raw_latitude":100087584,"longitude_deg":76.5687168,"latitude_deg":10.0087584,"altitude":31,"angle":343,"satellites":40,"speed":33,"hex_longitude":"2da37580","hex_latitude":"05f73720","is_valid_coordinates":true} 
[2026-06-18 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140087808001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94309132403736576,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6664905210423138304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797230000,"timestamp_ms":1781797230000,"timestamp_seconds":1781797230,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6415b0"} 
[2026-06-18 21:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 21:13:05] 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-06-18 21:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:13:05] 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-06-18 21:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140087808001,"66":11798,"202":206,"88":19456,"24":33,"16":94309132403736576,"45":-6664905210423138304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-06-18 21:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140087808001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:13:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94309132403736576,"km_value":94309132403736.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6664905210423138304,"description":"Unknown IO ID 45"} 
[2026-06-18 21:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140087808001,"power":11798,"mcc":206,"unknown_88":19456,"ignition":33,"odometer":null,"unknown_45":-6664905210423138304}} 
[2026-06-18 21:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":106197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346986,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:13:05] local.INFO: GPS data processed {"connection_id":106197,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:13:05] local.INFO: Acknowledgment sent {"connection_id":106197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:13:23] local.INFO: TCP Data received {"connection_id":106994,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:13:23] local.INFO: Processing buffer {"connection_id":106994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:13:23] local.INFO: IMEI packet received {"connection_id":106994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":106994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:13:24] local.INFO: TCP Data received {"connection_id":106196,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:13:24] local.INFO: Processing buffer {"connection_id":106196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:13:24] local.INFO: Packet analysis {"connection_id":106196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:24] local.INFO: Extracted packet for processing {"connection_id":106196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:13:24] 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-06-18 21:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:13:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":106196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":106196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":106196,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:13:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:13:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":106196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:13:24] local.INFO: GPS data processed {"connection_id":106196,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:13:24] local.INFO: Acknowledgment sent {"connection_id":106196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:13:29] local.INFO: TCP Data received {"connection_id":106994,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:13:29] local.INFO: Processing buffer {"connection_id":106994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:13:29] local.INFO: IMEI packet received {"connection_id":106994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":106994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:13:30] local.INFO: TCP Data received {"connection_id":106994,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:13:30] local.INFO: Processing buffer {"connection_id":106994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb61b068012cc3308007685ac8005e006d2b..."} 
[2026-06-18 21:13:30] local.INFO: Packet analysis {"connection_id":106994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:13:30] local.INFO: Extracted packet for processing {"connection_id":106994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb61"} 
[2026-06-18 21:13:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456139973632001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:30] 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-06-18 21:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797073000,"timestamp_ms":1781797073000,"timestamp_seconds":1781797073,"priority":1,"record_length":96,"hex_timestamp":"0000019edb61b068"} 
[2026-06-18 21:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:13: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-06-18 21:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456139973632001,"66":24864,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456139973632001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:13:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:13:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:13:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456139973632001,"power":24864,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":106994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:13:30] local.INFO: GPS data processed {"connection_id":106994,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:13:30] local.INFO: Acknowledgment sent {"connection_id":106994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:13:33] local.INFO: TCP Data received {"connection_id":107923,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:13:33] local.INFO: Processing buffer {"connection_id":107923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:13:33] local.INFO: IMEI packet received {"connection_id":107923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:13:33] local.INFO: IMEI acknowledgment sent {"connection_id":107923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:13:36] local.INFO: TCP Data received {"connection_id":106197,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb644878012da36c0005f759c80020015428..."} 
[2026-06-18 21:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb644878012da36c0005f759c80020015428..."} 
[2026-06-18 21:13:36] local.INFO: Processing buffer {"connection_id":106197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb644878012da36c0005f759c80020015428..."} 
[2026-06-18 21:13:36] local.INFO: Packet analysis {"connection_id":106197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:36] local.INFO: Extracted packet for processing {"connection_id":106197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:36] local.INFO: GPS Element Parsed {"raw_longitude":765684736,"raw_latitude":100096456,"longitude_deg":76.5684736,"latitude_deg":10.0096456,"altitude":32,"angle":340,"satellites":40,"speed":20,"hex_longitude":"2da36c00","hex_latitude":"05f759c8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140090880001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94309579080335360,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6668282910141374464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781797243000,"timestamp_ms":1781797243000,"timestamp_seconds":1781797243,"priority":1,"record_length":96,"hex_timestamp":"0000019edb644878"} 
[2026-06-18 21:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:13:36] 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-06-18 21: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680694456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2746810373,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184152858829,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":5390808861359482368,"corrected_to":0} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847657200,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-9221693708187985151,"corrected_to":0} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147560867,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":190,"raw_value":2147874485,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":46,"raw_value":4009807183,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13523020,"corrected_to":0} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":79,"raw_value":832040031156699136,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":96,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476648259586,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2738214961720330752,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":152,"raw_value":57790107831130188,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":98,"raw_value":9182840935742111749,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.WARNING: Large IO value detected {"io_id":34,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:36] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,202,88,24,241,157,16,13,158,230,45,128,20,30,39,10,66,172,64,243,27,12,113,1,240,239,227,219,246,4,205,23,35,190,104,37,46,204,2,79,96,206,97,152,98,34],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":246,"original":5390808861359482368,"validated":0},{"io_id":205,"original":-9221693708187985151,"validated":0},{"io_id":204,"original":13523020,"validated":0}]} 
[2026-06-18 21:13:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2234162719464947712,"timestamp_seconds":2234162719464947.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106197,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:13:36] 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-06-18 21:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140090880001,"66":11711,"202":206,"88":19456,"24":20,"16":94309579080335360,"45":-6668282910141374464},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-06-18 21:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140090880001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:13:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94309579080335360,"km_value":94309579080335.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6668282910141374464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140090880001,"power":11711,"mcc":206,"unknown_88":19456,"ignition":20,"odometer":null,"unknown_45":-6668282910141374464}} 
[2026-06-18 21:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":106197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346989,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:13:36] local.INFO: GPS data processed {"connection_id":106197,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:13:36] local.INFO: Acknowledgment sent {"connection_id":106197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:13:38] local.INFO: TCP Data received {"connection_id":107923,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:13:38] local.INFO: Processing buffer {"connection_id":107923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:13:38] local.INFO: IMEI packet received {"connection_id":107923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":107923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:13:39] local.INFO: TCP Data received {"connection_id":107923,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:13:39] local.INFO: Processing buffer {"connection_id":107923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:13:39] local.INFO: Packet analysis {"connection_id":107923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:39] local.INFO: Extracted packet for processing {"connection_id":107923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:13: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-06-18 21:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:13: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-06-18 21:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:13:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:13:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":107923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346990,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:13:39] local.INFO: GPS data processed {"connection_id":107923,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:13:39] local.INFO: Acknowledgment sent {"connection_id":107923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:13:44] local.INFO: TCP Data received {"connection_id":106384,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:13:44] local.INFO: Processing buffer {"connection_id":106384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:13:44] local.INFO: IMEI packet received {"connection_id":106384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":106384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:13:49] local.INFO: TCP Data received {"connection_id":106384,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:13:49] local.INFO: Processing buffer {"connection_id":106384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:13:49] local.INFO: IMEI packet received {"connection_id":106384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":106384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:13:50] local.INFO: TCP Data received {"connection_id":106384,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:13:50] local.INFO: Processing buffer {"connection_id":106384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:13:50] local.INFO: Packet analysis {"connection_id":106384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:50] local.INFO: Extracted packet for processing {"connection_id":106384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:13:50] 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-06-18 21:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:13:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:13:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":106384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:13:50] local.INFO: GPS data processed {"connection_id":106384,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:13:50] local.INFO: Acknowledgment sent {"connection_id":106384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:13:59] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:59] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:13:59] local.INFO: IMEI packet received {"connection_id":106198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":106198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:14:00] local.INFO: TCP Data received {"connection_id":106994,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:14:00] local.INFO: Processing buffer {"connection_id":106994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:14:00] local.INFO: Packet analysis {"connection_id":106994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:14:00] local.INFO: Extracted packet for processing {"connection_id":106994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:14:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:00] 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-06-18 21:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:14: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-06-18 21:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:14: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-06-18 21:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:14: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-06-18 21:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:14:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":106994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:14:00] local.INFO: GPS data processed {"connection_id":106994,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:14:00] local.INFO: Acknowledgment sent {"connection_id":106994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:14:05] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:14:05] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:14:05] local.INFO: IMEI packet received {"connection_id":106198,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":106198,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:14:10] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb648ec8012da3624005f77bf00023015e28..."} 
[2026-06-18 21:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb648ec8012da3624005f77bf00023015e28..."} 
[2026-06-18 21:14:10] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb648ec8012da3624005f77bf00023015e28..."} 
[2026-06-18 21:14:10] local.INFO: Packet analysis {"connection_id":106198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:10] local.INFO: Extracted packet for processing {"connection_id":106198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:10] local.INFO: GPS Element Parsed {"raw_longitude":765682240,"raw_latitude":100105200,"longitude_deg":76.568224,"latitude_deg":10.01052,"altitude":35,"angle":350,"satellites":40,"speed":20,"hex_longitude":"2da36240","hex_latitude":"05f77bf0","is_valid_coordinates":true} 
[2026-06-18 21:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140094208001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310021461966848,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6670956922417854464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781797261000,"timestamp_ms":1781797261000,"timestamp_seconds":1781797261,"priority":1,"record_length":96,"hex_timestamp":"0000019edb648ec8"} 
[2026-06-18 21:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:14:10] 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-06-18 21:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 21:14:10] 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-06-18 21:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140094208001,"66":11852,"202":206,"88":19456,"24":20,"16":94310021461966848,"45":-6670956922417854464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,88,24,16,45]} 
[2026-06-18 21:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140094208001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:14:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310021461966848,"km_value":94310021461966.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6670956922417854464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140094208001,"power":11852,"mcc":206,"unknown_88":19456,"ignition":20,"odometer":null,"unknown_45":-6670956922417854464}} 
[2026-06-18 21:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":106198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346993,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:14:10] local.INFO: GPS data processed {"connection_id":106198,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:14:10] local.INFO: Acknowledgment sent {"connection_id":106198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:14:11] local.INFO: TCP Data received {"connection_id":107923,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:14:11] local.INFO: Processing buffer {"connection_id":107923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:14:11] local.INFO: Packet analysis {"connection_id":107923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:11] local.INFO: Extracted packet for processing {"connection_id":107923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":107923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:14:11] local.INFO: GPS data processed {"connection_id":107923,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:14:11] local.INFO: Acknowledgment sent {"connection_id":107923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:14:22] local.INFO: TCP Data received {"connection_id":106384,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:14:22] local.INFO: Processing buffer {"connection_id":106384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:14:22] local.INFO: Packet analysis {"connection_id":106384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:22] local.INFO: Extracted packet for processing {"connection_id":106384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:14:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:14:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:14:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:14:22] 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-06-18 21:14:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:14:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:14:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:14:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:14:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:14:22] local.INFO: Teltonika packet parsed successfully {"connection_id":106384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:14:22] local.INFO: Passing IMEI to GPS processor {"connection_id":106384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:14:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":106384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:14:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:14:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:14:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:14:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:14:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:14:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:14:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:14:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:14:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:14:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:14:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:14:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":106384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:14:22] local.INFO: GPS data processed {"connection_id":106384,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:14:22] local.INFO: Acknowledgment sent {"connection_id":106384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:14:24] local.INFO: TCP Data received {"connection_id":107924,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:14:24] local.INFO: Processing buffer {"connection_id":107924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:14:24] local.INFO: IMEI packet received {"connection_id":107924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":107924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:14:29] local.INFO: TCP Data received {"connection_id":107924,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:14:29] local.INFO: Processing buffer {"connection_id":107924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:14:29] local.INFO: IMEI packet received {"connection_id":107924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":107924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:14:30] local.INFO: TCP Data received {"connection_id":107924,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:14:30] local.INFO: Processing buffer {"connection_id":107924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:14:30] local.INFO: Packet analysis {"connection_id":107924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:14:30] local.INFO: Extracted packet for processing {"connection_id":107924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:14:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:30] 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-06-18 21:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:14:30] 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-06-18 21:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:14: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-06-18 21:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:14:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:14:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":107924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:14:30] local.INFO: GPS data processed {"connection_id":107924,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:14:30] local.INFO: Acknowledgment sent {"connection_id":107924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:14:32] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:14:32] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:14:32] local.INFO: IMEI packet received {"connection_id":106199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":106199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:14:38] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:14:38] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:14:38] local.INFO: IMEI packet received {"connection_id":106199,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":106199,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:14:39] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:14:39] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:14:39] local.INFO: Packet analysis {"connection_id":106199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:39] local.INFO: Extracted packet for processing {"connection_id":106199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:14: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-06-18 21:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:14: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-06-18 21:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:14:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":106199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346997,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:14:39] local.INFO: GPS data processed {"connection_id":106199,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:14:39] local.INFO: Acknowledgment sent {"connection_id":106199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:14:41] local.INFO: TCP Data received {"connection_id":106198,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb64b5d8012da35cc005f78e500023015227..."} 
[2026-06-18 21:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb64b5d8012da35cc005f78e500023015227..."} 
[2026-06-18 21:14:41] local.INFO: Processing buffer {"connection_id":106198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb64b5d8012da35cc005f78e500023015227..."} 
[2026-06-18 21:14:41] local.INFO: Packet analysis {"connection_id":106198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:41] local.INFO: Extracted packet for processing {"connection_id":106198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:41] local.INFO: GPS Element Parsed {"raw_longitude":765680832,"raw_latitude":100109904,"longitude_deg":76.5680832,"latitude_deg":10.0109904,"altitude":35,"angle":338,"satellites":39,"speed":18,"hex_longitude":"2da35cc0","hex_latitude":"05f78e50","is_valid_coordinates":true} 
[2026-06-18 21:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140098816001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310257685168128,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6673701303438544896,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781797271000,"timestamp_ms":1781797271000,"timestamp_seconds":1781797271,"priority":1,"record_length":96,"hex_timestamp":"0000019edb64b5d8"} 
[2026-06-18 21:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:14:41] 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-06-18 21:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106198,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:14:41] 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-06-18 21:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140098816001,"66":11678,"101":206,"88":19456,"24":18,"16":94310257685168128,"45":-6673701303438544896},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140098816001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:14:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:14:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310257685168128,"km_value":94310257685168.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6673701303438544896,"description":"Unknown IO ID 45"} 
[2026-06-18 21:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140098816001,"power":11678,"unknown_101":206,"unknown_88":19456,"ignition":18,"odometer":null,"unknown_45":-6673701303438544896}} 
[2026-06-18 21:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":106198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346998,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:14:41] local.INFO: GPS data processed {"connection_id":106198,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:14:41] local.INFO: Acknowledgment sent {"connection_id":106198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:14:49] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:14:49] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:14:49] local.INFO: IMEI packet received {"connection_id":106995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":106995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:14:54] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:14:54] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:14:54] local.INFO: IMEI packet received {"connection_id":106995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":106995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:14:55] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:14:55] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:14:55] local.INFO: Packet analysis {"connection_id":106995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:55] local.INFO: Extracted packet for processing {"connection_id":106995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:14:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:14:55] 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-06-18 21:14:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:14:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:14:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:14:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":106995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":346999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:14:56] local.INFO: GPS data processed {"connection_id":106995,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:14:56] local.INFO: Acknowledgment sent {"connection_id":106995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:15:00] local.INFO: TCP Data received {"connection_id":106995,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:15:00] local.INFO: Processing buffer {"connection_id":106995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:15:00] local.INFO: Packet analysis {"connection_id":106995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:00] local.INFO: Extracted packet for processing {"connection_id":106995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:15:00] 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-06-18 21:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:15:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":106995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:15:00] local.INFO: GPS data processed {"connection_id":106995,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:15:00] local.INFO: Acknowledgment sent {"connection_id":106995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:15:00] local.INFO: TCP Data received {"connection_id":107924,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:15:01] local.INFO: Processing buffer {"connection_id":107924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:15:01] local.INFO: Packet analysis {"connection_id":107924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:15:01] local.INFO: Extracted packet for processing {"connection_id":107924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:15:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:01] 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-06-18 21:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:15:01] 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-06-18 21:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:15: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-06-18 21:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:15:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":107924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:15:01] local.INFO: GPS data processed {"connection_id":107924,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:15:01] local.INFO: Acknowledgment sent {"connection_id":107924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:15:05] local.INFO: TCP Data received {"connection_id":107925,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:15:05] local.INFO: Processing buffer {"connection_id":107925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:15:05] local.INFO: IMEI packet received {"connection_id":107925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":107925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:15:09] local.INFO: TCP Data received {"connection_id":107925,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107925,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:15:09] local.INFO: Processing buffer {"connection_id":107925,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:15:09] local.INFO: IMEI packet received {"connection_id":107925,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":107925,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:15:10] local.INFO: TCP Data received {"connection_id":107925,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb64d900012da356c005f79af80022014427..."} 
[2026-06-18 21:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb64d900012da356c005f79af80022014427..."} 
[2026-06-18 21:15:10] local.INFO: Processing buffer {"connection_id":107925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb64d900012da356c005f79af80022014427..."} 
[2026-06-18 21:15:10] local.INFO: Packet analysis {"connection_id":107925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:10] local.INFO: Extracted packet for processing {"connection_id":107925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:10] local.INFO: GPS Element Parsed {"raw_longitude":765679296,"raw_latitude":100113144,"longitude_deg":76.5679296,"latitude_deg":10.0113144,"altitude":34,"angle":324,"satellites":39,"speed":5,"hex_longitude":"2da356c0","hex_latitude":"05f79af8","is_valid_coordinates":true} 
[2026-06-18 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140101376001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310429483859968,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6675249415809249280,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781797280000,"timestamp_ms":1781797280000,"timestamp_seconds":1781797280,"priority":1,"record_length":96,"hex_timestamp":"0000019edb64d900"} 
[2026-06-18 21:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:15:10] 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-06-18 21:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 21:15:10] 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-06-18 21:15:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140101376001,"66":11471,"101":206,"88":19456,"24":5,"16":94310429483859968,"45":-6675249415809249280},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140101376001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:15:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:15:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310429483859968,"km_value":94310429483859.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6675249415809249280,"description":"Unknown IO ID 45"} 
[2026-06-18 21:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140101376001,"power":11471,"unknown_101":206,"unknown_88":19456,"ignition":5,"odometer":null,"unknown_45":-6675249415809249280}} 
[2026-06-18 21:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":107925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347002,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:15:10] local.INFO: GPS data processed {"connection_id":107925,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:15:10] local.INFO: Acknowledgment sent {"connection_id":107925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:15:11] local.INFO: TCP Data received {"connection_id":106199,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:15:11] local.INFO: Processing buffer {"connection_id":106199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:15:11] local.INFO: Packet analysis {"connection_id":106199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:11] local.INFO: Extracted packet for processing {"connection_id":106199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106199,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:15:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:15:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":106199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347003,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:15:11] local.INFO: GPS data processed {"connection_id":106199,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:15:11] local.INFO: Acknowledgment sent {"connection_id":106199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:15:16] local.INFO: TCP Data received {"connection_id":107925,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb64f840012da355c005f79c40002000cb27..."} 
[2026-06-18 21:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb64f840012da355c005f79c40002000cb27..."} 
[2026-06-18 21:15:16] local.INFO: Processing buffer {"connection_id":107925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb64f840012da355c005f79c40002000cb27..."} 
[2026-06-18 21:15:16] local.INFO: Packet analysis {"connection_id":107925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:16] local.INFO: Extracted packet for processing {"connection_id":107925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:16] local.INFO: GPS Element Parsed {"raw_longitude":765679040,"raw_latitude":100113472,"longitude_deg":76.567904,"latitude_deg":10.0113472,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da355c0","hex_latitude":"05f79c40","is_valid_coordinates":true} 
[2026-06-18 21:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140103680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6676938265668683776,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781797288000,"timestamp_ms":1781797288000,"timestamp_seconds":1781797288,"priority":1,"record_length":96,"hex_timestamp":"0000019edb64f840"} 
[2026-06-18 21:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:15:16] 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-06-18 21:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 21:15:16] 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-06-18 21:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107925,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:15:16] 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-06-18 21:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140103680001,"66":11602,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6676938265668683776},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140103680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:15:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:15:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6676938265668683776,"description":"Unknown IO ID 45"} 
[2026-06-18 21:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140103680001,"power":11602,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6676938265668683776}} 
[2026-06-18 21:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":107925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347004,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:15:16] local.INFO: GPS data processed {"connection_id":107925,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:15:16] local.INFO: Acknowledgment sent {"connection_id":107925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:15:24] local.INFO: TCP Data received {"connection_id":107926,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:15:24] local.INFO: Processing buffer {"connection_id":107926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:15:24] local.INFO: IMEI packet received {"connection_id":107926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":107926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:15:29] local.INFO: TCP Data received {"connection_id":107926,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:15:29] local.INFO: Processing buffer {"connection_id":107926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:15:29] local.INFO: IMEI packet received {"connection_id":107926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":107926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:15:30] local.INFO: TCP Data received {"connection_id":107926,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:15:30] local.INFO: Processing buffer {"connection_id":107926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:15:30] local.INFO: Packet analysis {"connection_id":107926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:15:30] local.INFO: Extracted packet for processing {"connection_id":107926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:30] 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-06-18 21:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:15:30] 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-06-18 21:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:15:30] 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-06-18 21:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:15:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:15:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:15:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":107926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:15:30] local.INFO: GPS data processed {"connection_id":107926,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:15:30] local.INFO: Acknowledgment sent {"connection_id":107926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:15:32] local.INFO: TCP Data received {"connection_id":106385,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:15:32] local.INFO: Processing buffer {"connection_id":106385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:15:32] local.INFO: IMEI packet received {"connection_id":106385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":106385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:15:38] local.INFO: TCP Data received {"connection_id":106385,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106385,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:15:38] local.INFO: Processing buffer {"connection_id":106385,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:15:38] local.INFO: IMEI packet received {"connection_id":106385,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":106385,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:15:39] local.INFO: TCP Data received {"connection_id":106385,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:15:39] local.INFO: Processing buffer {"connection_id":106385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:15:39] local.INFO: Packet analysis {"connection_id":106385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:39] local.INFO: Extracted packet for processing {"connection_id":106385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:15: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-06-18 21:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:15: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-06-18 21:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:15:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:15:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":106385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:15:39] local.INFO: GPS data processed {"connection_id":106385,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:15:39] local.INFO: Acknowledgment sent {"connection_id":106385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:15:44] local.INFO: TCP Data received {"connection_id":107927,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:15:44] local.INFO: Processing buffer {"connection_id":107927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:15:44] local.INFO: IMEI packet received {"connection_id":107927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":107927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:15:49] local.INFO: TCP Data received {"connection_id":107927,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:15:49] local.INFO: Processing buffer {"connection_id":107927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:15:49] local.INFO: IMEI packet received {"connection_id":107927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":107927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:15:50] local.INFO: TCP Data received {"connection_id":107927,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:15:50] local.INFO: Processing buffer {"connection_id":107927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6440a8012d196500071fefc80040006226..."} 
[2026-06-18 21:15:50] local.INFO: Packet analysis {"connection_id":107927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:50] local.INFO: Extracted packet for processing {"connection_id":107927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140016640001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781797241000,"timestamp_ms":1781797241000,"timestamp_seconds":1781797241,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6440a8"} 
[2026-06-18 21:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:15:50] 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-06-18 21:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140016640001,"66":2144,"121":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-06-18 21:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140016640001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:15:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-06-18 21:15:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140016640001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":107927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:15:50] local.INFO: GPS data processed {"connection_id":107927,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:15:50] local.INFO: Acknowledgment sent {"connection_id":107927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:16:00] local.INFO: TCP Data received {"connection_id":106996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:16:00] local.INFO: Processing buffer {"connection_id":106996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:16:00] local.INFO: IMEI packet received {"connection_id":106996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":106996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:16:00] local.INFO: TCP Data received {"connection_id":107926,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:16:00] local.INFO: Processing buffer {"connection_id":107926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:16:00] local.INFO: Packet analysis {"connection_id":107926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:16:00] local.INFO: Extracted packet for processing {"connection_id":107926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:16:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:00] 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-06-18 21:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:16: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-06-18 21: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-06-18 21:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:16: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-06-18 21:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:16:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:16:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":107926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:16:01] local.INFO: GPS data processed {"connection_id":107926,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:16:01] local.INFO: Acknowledgment sent {"connection_id":107926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:16:05] local.INFO: TCP Data received {"connection_id":106996,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106996,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:16:05] local.INFO: Processing buffer {"connection_id":106996,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:16:05] local.INFO: IMEI packet received {"connection_id":106996,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":106996,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:16:05] local.INFO: TCP Data received {"connection_id":106996,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb654a48012da355c005f79c40002000cb27..."} 
[2026-06-18 21:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb654a48012da355c005f79c40002000cb27..."} 
[2026-06-18 21:16:05] local.INFO: Processing buffer {"connection_id":106996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb654a48012da355c005f79c40002000cb27..."} 
[2026-06-18 21:16:05] local.INFO: Packet analysis {"connection_id":106996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb65"} 
[2026-06-18 21:16:05] local.INFO: Extracted packet for processing {"connection_id":106996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb65"} 
[2026-06-18 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":765679040,"raw_latitude":100113472,"longitude_deg":76.567904,"latitude_deg":10.0113472,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da355c0","hex_latitude":"05f79c40","is_valid_coordinates":true} 
[2026-06-18 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140105728001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797309000,"timestamp_ms":1781797309000,"timestamp_seconds":1781797309,"priority":1,"record_length":96,"hex_timestamp":"0000019edb654a48"} 
[2026-06-18 21:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 21:16:05] 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-06-18 21:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:16:05] 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-06-18 21:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140105728001,"66":11580,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140105728001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:16:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:16:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140105728001,"power":11580,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":106996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347009,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:16:05] local.INFO: GPS data processed {"connection_id":106996,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:16:05] local.INFO: Acknowledgment sent {"connection_id":106996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:16:11] local.INFO: TCP Data received {"connection_id":106385,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:16:11] local.INFO: Processing buffer {"connection_id":106385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb641d80012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:16:11] local.INFO: Packet analysis {"connection_id":106385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:16:11] local.INFO: Extracted packet for processing {"connection_id":106385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb64"} 
[2026-06-18 21:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140014336001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797232000,"timestamp_ms":1781797232000,"timestamp_seconds":1781797232,"priority":1,"record_length":96,"hex_timestamp":"0000019edb641d80"} 
[2026-06-18 21:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106385,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140014336001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140014336001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140014336001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":106385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:16:11] local.INFO: GPS data processed {"connection_id":106385,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:16:11] local.INFO: Acknowledgment sent {"connection_id":106385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:16:23] local.INFO: TCP Data received {"connection_id":107927,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:16:23] local.INFO: Processing buffer {"connection_id":107927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:16:23] local.INFO: Packet analysis {"connection_id":107927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:16:23] local.INFO: Extracted packet for processing {"connection_id":107927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 21:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:16:23] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:16:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":107927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:16:23] local.INFO: GPS data processed {"connection_id":107927,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:16:23] local.INFO: Acknowledgment sent {"connection_id":107927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:16:24] local.INFO: TCP Data received {"connection_id":106200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:16:24] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:16:24] local.INFO: IMEI packet received {"connection_id":106200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":106200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:16:29] local.INFO: TCP Data received {"connection_id":106200,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:16:29] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:16:29] local.INFO: IMEI packet received {"connection_id":106200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":106200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:16:30] local.INFO: TCP Data received {"connection_id":106200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:16:30] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:16:30] local.INFO: Packet analysis {"connection_id":106200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:16:30] local.INFO: Extracted packet for processing {"connection_id":106200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:16:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:30] 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-06-18 21:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:16:30] 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-06-18 21:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:16: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-06-18 21:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:16:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:16:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":106200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:16:30] local.INFO: GPS data processed {"connection_id":106200,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:16:30] local.INFO: Acknowledgment sent {"connection_id":106200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:16:36] local.INFO: TCP Data received {"connection_id":106996,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb659c50012da355c005f79c40002000cb27..."} 
[2026-06-18 21:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb659c50012da355c005f79c40002000cb27..."} 
[2026-06-18 21:16:36] local.INFO: Processing buffer {"connection_id":106996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb659c50012da355c005f79c40002000cb27..."} 
[2026-06-18 21:16:36] local.INFO: Packet analysis {"connection_id":106996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb65"} 
[2026-06-18 21:16:36] local.INFO: Extracted packet for processing {"connection_id":106996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb65"} 
[2026-06-18 21:16:36] local.INFO: GPS Element Parsed {"raw_longitude":765679040,"raw_latitude":100113472,"longitude_deg":76.567904,"latitude_deg":10.0113472,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da355c0","hex_latitude":"05f79c40","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140111104001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781797330000,"timestamp_ms":1781797330000,"timestamp_seconds":1781797330,"priority":1,"record_length":96,"hex_timestamp":"0000019edb659c50"} 
[2026-06-18 21:16:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:16:36] 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-06-18 21: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":45,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-06-18 21:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":963,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:16:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106996,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:16:36] 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-06-18 21:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140111104001,"66":11569,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140111104001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:16:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:16:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140111104001,"power":11569,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":106996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347013,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:16:37] local.INFO: GPS data processed {"connection_id":106996,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:16:37] local.INFO: Acknowledgment sent {"connection_id":106996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:16:38] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:16:38] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:16:38] local.INFO: IMEI packet received {"connection_id":106386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":106386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:16:43] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:16:43] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:16:43] local.INFO: IMEI packet received {"connection_id":106386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":106386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:16:44] local.INFO: TCP Data received {"connection_id":106997,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:16:44] local.INFO: Processing buffer {"connection_id":106997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:16:44] local.INFO: IMEI packet received {"connection_id":106997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:16:44] local.INFO: IMEI acknowledgment sent {"connection_id":106997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:16:44] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:16:44] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:16:44] local.INFO: Packet analysis {"connection_id":106386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:16:44] local.INFO: Extracted packet for processing {"connection_id":106386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:16:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":106386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:16:44] local.INFO: GPS data processed {"connection_id":106386,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:16:44] local.INFO: Acknowledgment sent {"connection_id":106386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:16:49] local.INFO: TCP Data received {"connection_id":106997,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:16:49] local.INFO: Processing buffer {"connection_id":106997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:16:49] local.INFO: IMEI packet received {"connection_id":106997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":106997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:17:00] local.INFO: TCP Data received {"connection_id":107928,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:00] local.INFO: Processing buffer {"connection_id":107928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:00] local.INFO: IMEI packet received {"connection_id":107928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":107928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:17:01] local.INFO: TCP Data received {"connection_id":106200,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:17:01] local.INFO: Processing buffer {"connection_id":106200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:17:01] local.INFO: Packet analysis {"connection_id":106200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:17:01] local.INFO: Extracted packet for processing {"connection_id":106200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:17:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:01] 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-06-18 21:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:17:01] 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-06-18 21:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:17: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-06-18 21:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:17:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:17:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":106200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:17:01] local.INFO: GPS data processed {"connection_id":106200,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:17:01] local.INFO: Acknowledgment sent {"connection_id":106200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:17:05] local.INFO: TCP Data received {"connection_id":107928,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107928,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:05] local.INFO: Processing buffer {"connection_id":107928,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:05] local.INFO: IMEI packet received {"connection_id":107928,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":107928,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:17:06] local.INFO: TCP Data received {"connection_id":107928,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb65ee58012da355c005f79c40002000cb26..."} 
[2026-06-18 21:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb65ee58012da355c005f79c40002000cb26..."} 
[2026-06-18 21:17:06] local.INFO: Processing buffer {"connection_id":107928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb65ee58012da355c005f79c40002000cb26..."} 
[2026-06-18 21:17:06] local.INFO: Packet analysis {"connection_id":107928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb65"} 
[2026-06-18 21:17:06] local.INFO: Extracted packet for processing {"connection_id":107928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb65"} 
[2026-06-18 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":765679040,"raw_latitude":100113472,"longitude_deg":76.567904,"latitude_deg":10.0113472,"altitude":32,"angle":203,"satellites":38,"speed":0,"hex_longitude":"2da355c0","hex_latitude":"05f79c40","is_valid_coordinates":true} 
[2026-06-18 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140116480001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781797351000,"timestamp_ms":1781797351000,"timestamp_seconds":1781797351,"priority":1,"record_length":96,"hex_timestamp":"0000019edb65ee58"} 
[2026-06-18 21:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24576,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:17:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-06-18 21:17:06] 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-06-18 21:17:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:17:06] 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-06-18 21:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140116480001,"66":11515,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140116480001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:17:06] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:17:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140116480001,"power":11515,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":107928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347016,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:17:06] local.INFO: GPS data processed {"connection_id":107928,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:17:06] local.INFO: Acknowledgment sent {"connection_id":107928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:17:16] local.INFO: TCP Data received {"connection_id":106386,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:17:16] local.INFO: Processing buffer {"connection_id":106386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:17:16] local.INFO: Packet analysis {"connection_id":106386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:17:16] local.INFO: Extracted packet for processing {"connection_id":106386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:17:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:17: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-06-18 21:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:17:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:17:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":106386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347017,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:17:16] local.INFO: GPS data processed {"connection_id":106386,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:17:16] local.INFO: Acknowledgment sent {"connection_id":106386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:17:16] local.INFO: TCP Data received {"connection_id":106997,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:17:16] local.INFO: Processing buffer {"connection_id":106997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:17:16] local.INFO: Packet analysis {"connection_id":106997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:17:16] local.INFO: Extracted packet for processing {"connection_id":106997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:17:16] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:17: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-06-18 21:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 21:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:17:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:17:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:17:16] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:17:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:17:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:17:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":106997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:17:17] local.INFO: GPS data processed {"connection_id":106997,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:17:17] local.INFO: Acknowledgment sent {"connection_id":106997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:17:23] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:17:23] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:17:23] local.INFO: IMEI packet received {"connection_id":106201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":106201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:17:28] local.INFO: TCP Data received {"connection_id":106997,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:17:28] local.INFO: Processing buffer {"connection_id":106997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:17:28] local.INFO: Packet analysis {"connection_id":106997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:17:28] local.INFO: Extracted packet for processing {"connection_id":106997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:17:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 21:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":106997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":106997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":106997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:17:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:17:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":106997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:17:28] local.INFO: GPS data processed {"connection_id":106997,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:17:28] local.INFO: Acknowledgment sent {"connection_id":106997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:17:29] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:17:29] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:17:29] local.INFO: IMEI packet received {"connection_id":106201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":106201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:17:30] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:17:30] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:17:30] local.INFO: Packet analysis {"connection_id":106201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:17:30] local.INFO: Extracted packet for processing {"connection_id":106201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:17:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:30] 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-06-18 21:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:17:30] 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-06-18 21: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-06-18 21:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:17:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:17:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":106201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:17:30] local.INFO: GPS data processed {"connection_id":106201,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:17:30] local.INFO: Acknowledgment sent {"connection_id":106201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:17:32] local.INFO: TCP Data received {"connection_id":106387,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:17:32] local.INFO: Processing buffer {"connection_id":106387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:17:32] local.INFO: IMEI packet received {"connection_id":106387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":106387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:17:37] local.INFO: TCP Data received {"connection_id":107928,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664060012da355c005f79c40002000cb24..."} 
[2026-06-18 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664060012da355c005f79c40002000cb24..."} 
[2026-06-18 21:17:37] local.INFO: Processing buffer {"connection_id":107928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664060012da355c005f79c40002000cb24..."} 
[2026-06-18 21:17:37] local.INFO: Packet analysis {"connection_id":107928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:17:37] local.INFO: Extracted packet for processing {"connection_id":107928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":765679040,"raw_latitude":100113472,"longitude_deg":76.567904,"latitude_deg":10.0113472,"altitude":32,"angle":203,"satellites":36,"speed":0,"hex_longitude":"2da355c0","hex_latitude":"05f79c40","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140121856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781797372000,"timestamp_ms":1781797372000,"timestamp_seconds":1781797372,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664060"} 
[2026-06-18 21:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:17:37] 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-06-18 21: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":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-06-18 21:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107928,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140121856001,"66":11482,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140121856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:17:37] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:17:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140121856001,"power":11482,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":107928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347021,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:17:37] local.INFO: GPS data processed {"connection_id":107928,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:17:37] local.INFO: Acknowledgment sent {"connection_id":107928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:17:38] local.INFO: TCP Data received {"connection_id":106387,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106387,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:17:38] local.INFO: Processing buffer {"connection_id":106387,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:17:38] local.INFO: IMEI packet received {"connection_id":106387,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":106387,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:17:40] local.INFO: TCP Data received {"connection_id":106387,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:17:40] local.INFO: Processing buffer {"connection_id":106387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:17:40] local.INFO: Packet analysis {"connection_id":106387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:17:40] local.INFO: Extracted packet for processing {"connection_id":106387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:17:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:17:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":106387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:17:40] local.INFO: GPS data processed {"connection_id":106387,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:17:40] local.INFO: Acknowledgment sent {"connection_id":106387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:17:59] local.INFO: TCP Data received {"connection_id":106202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:59] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:17:59] local.INFO: IMEI packet received {"connection_id":106202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":106202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:18:00] local.INFO: TCP Data received {"connection_id":106201,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:18:01] local.INFO: Processing buffer {"connection_id":106201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:18:01] local.INFO: Packet analysis {"connection_id":106201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:18:01] local.INFO: Extracted packet for processing {"connection_id":106201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:18:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:01] 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-06-18 21:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 21:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:18:01] 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-06-18 21:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:18:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:18:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":106201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:18:01] local.INFO: GPS data processed {"connection_id":106201,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:18:01] local.INFO: Acknowledgment sent {"connection_id":106201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:18:05] local.INFO: TCP Data received {"connection_id":106202,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:18:05] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:18:05] local.INFO: IMEI packet received {"connection_id":106202,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":106202,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:18:05] local.INFO: TCP Data received {"connection_id":106202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb667af8012da355c005f79c40002000cb27..."} 
[2026-06-18 21:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb667af8012da355c005f79c40002000cb27..."} 
[2026-06-18 21:18:05] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb667af8012da355c005f79c40002000cb27..."} 
[2026-06-18 21:18:05] local.INFO: Packet analysis {"connection_id":106202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:18:05] local.INFO: Extracted packet for processing {"connection_id":106202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":765679040,"raw_latitude":100113472,"longitude_deg":76.567904,"latitude_deg":10.0113472,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da355c0","hex_latitude":"05f79c40","is_valid_coordinates":true} 
[2026-06-18 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127232001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797387000,"timestamp_ms":1781797387000,"timestamp_seconds":1781797387,"priority":1,"record_length":96,"hex_timestamp":"0000019edb667af8"} 
[2026-06-18 21:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24832,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 21:18:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-06-18 21:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2380,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:18:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:18:05] 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-06-18 21:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127232001,"66":13015,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127232001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:18:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:18:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127232001,"power":13015,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":106202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347024,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:18:05] local.INFO: GPS data processed {"connection_id":106202,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:18:05] local.INFO: Acknowledgment sent {"connection_id":106202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:18:12] local.INFO: TCP Data received {"connection_id":106387,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:18:12] local.INFO: Processing buffer {"connection_id":106387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:18:12] local.INFO: Packet analysis {"connection_id":106387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:18:12] local.INFO: Extracted packet for processing {"connection_id":106387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106387,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:18:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":106387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:18:12] local.INFO: GPS data processed {"connection_id":106387,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:18:12] local.INFO: Acknowledgment sent {"connection_id":106387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:18:22] local.INFO: TCP Data received {"connection_id":106203,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:18:22] local.INFO: Processing buffer {"connection_id":106203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:18:22] local.INFO: IMEI packet received {"connection_id":106203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":106203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:18:23] local.INFO: TCP Data received {"connection_id":106998,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:18:23] local.INFO: Processing buffer {"connection_id":106998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:18:23] local.INFO: IMEI packet received {"connection_id":106998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":106998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:18:24] local.INFO: TCP Data received {"connection_id":106203,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106203,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:18:24] local.INFO: Processing buffer {"connection_id":106203,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:18:24] local.INFO: IMEI packet received {"connection_id":106203,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:18:24] local.INFO: IMEI acknowledgment sent {"connection_id":106203,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:18:29] local.INFO: TCP Data received {"connection_id":106203,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:18:29] local.INFO: Processing buffer {"connection_id":106203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:18:29] local.INFO: Packet analysis {"connection_id":106203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:18:29] local.INFO: Extracted packet for processing {"connection_id":106203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 21:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106203,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:18:29] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:18:29] local.INFO: TCP Data received {"connection_id":106998,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:18:29] local.INFO: Processing buffer {"connection_id":106998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:18:29] local.INFO: IMEI packet received {"connection_id":106998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":106998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":106203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:18:29] local.INFO: GPS data processed {"connection_id":106203,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:18:29] local.INFO: Acknowledgment sent {"connection_id":106203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:18:30] local.INFO: TCP Data received {"connection_id":106998,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:18:30] local.INFO: Processing buffer {"connection_id":106998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb664830012cc3308007685ac80061006d2b..."} 
[2026-06-18 21:18:30] local.INFO: Packet analysis {"connection_id":106998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:18:30] local.INFO: Extracted packet for processing {"connection_id":106998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140050688001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:30] 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-06-18 21:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797374000,"timestamp_ms":1781797374000,"timestamp_seconds":1781797374,"priority":1,"record_length":96,"hex_timestamp":"0000019edb664830"} 
[2026-06-18 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-06-18 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 21:18:30] 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-06-18 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-06-18 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-06-18 21:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:18: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-06-18 21:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140050688001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140050688001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:18:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:18:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140050688001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":106998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:18:30] local.INFO: GPS data processed {"connection_id":106998,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:18:30] local.INFO: Acknowledgment sent {"connection_id":106998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:18:32] local.INFO: TCP Data received {"connection_id":107929,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:18:32] local.INFO: Processing buffer {"connection_id":107929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:18:32] local.INFO: IMEI packet received {"connection_id":107929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":107929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:18:36] local.INFO: TCP Data received {"connection_id":106202,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb667af8012da355c005f79c40002000cb27..."} 
[2026-06-18 21:18:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb667af8012da355c005f79c40002000cb27..."} 
[2026-06-18 21:18:36] local.INFO: Processing buffer {"connection_id":106202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb667af8012da355c005f79c40002000cb27..."} 
[2026-06-18 21:18:36] local.INFO: Packet analysis {"connection_id":106202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:18:36] local.INFO: Extracted packet for processing {"connection_id":106202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb66"} 
[2026-06-18 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":765679040,"raw_latitude":100113472,"longitude_deg":76.567904,"latitude_deg":10.0113472,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da355c0","hex_latitude":"05f79c40","is_valid_coordinates":true} 
[2026-06-18 21:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:18:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:18:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781797387000,"timestamp_ms":1781797387000,"timestamp_seconds":1781797387,"priority":1,"record_length":96,"hex_timestamp":"0000019edb667af8"} 
[2026-06-18 21:18:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:18:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:18:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:18:36] 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-06-18 21:18:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:18:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:18:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:18:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:18:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:18:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106202,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:18:36] 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-06-18 21:18:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:18:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:18:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":13015,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:18:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:18:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:18:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:18:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:18:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:18:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:18:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:18:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":13015,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:18:36] local.INFO: DEBUG: GPS processor result {"connection_id":106202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347028,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:18:36] local.INFO: GPS data processed {"connection_id":106202,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:18:36] local.INFO: Acknowledgment sent {"connection_id":106202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:18:38] local.INFO: TCP Data received {"connection_id":107929,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:18:38] local.INFO: Processing buffer {"connection_id":107929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:18:38] local.INFO: IMEI packet received {"connection_id":107929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":107929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:18:40] local.INFO: TCP Data received {"connection_id":107929,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:18:40] local.INFO: Processing buffer {"connection_id":107929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:18:40] local.INFO: Packet analysis {"connection_id":107929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:18:40] local.INFO: Extracted packet for processing {"connection_id":107929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:18:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:18:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:18:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:18:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":107929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:18:40] local.INFO: GPS data processed {"connection_id":107929,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:18:40] local.INFO: Acknowledgment sent {"connection_id":107929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:00] local.INFO: TCP Data received {"connection_id":107930,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:19:00] local.INFO: Processing buffer {"connection_id":107930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:19:00] local.INFO: IMEI packet received {"connection_id":107930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:19:00] local.INFO: IMEI acknowledgment sent {"connection_id":107930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:19:00] local.INFO: TCP Data received {"connection_id":106998,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:19:00] local.INFO: Processing buffer {"connection_id":106998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:19:00] local.INFO: Packet analysis {"connection_id":106998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:19:00] local.INFO: Extracted packet for processing {"connection_id":106998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:19:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:00] 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-06-18 21:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:19:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":106998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:19:00] local.INFO: GPS data processed {"connection_id":106998,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:19:00] local.INFO: Acknowledgment sent {"connection_id":106998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:02] local.INFO: TCP Data received {"connection_id":106999,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:02] local.INFO: Processing buffer {"connection_id":106999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:02] local.INFO: IMEI packet received {"connection_id":106999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":106999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:19:03] local.INFO: TCP Data received {"connection_id":106999,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:03] local.INFO: Processing buffer {"connection_id":106999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:03] local.INFO: IMEI packet received {"connection_id":106999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":106999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:19:05] local.INFO: TCP Data received {"connection_id":107930,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107930,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:19:05] local.INFO: Processing buffer {"connection_id":107930,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:19:05] local.INFO: IMEI packet received {"connection_id":107930,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":107930,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:19:05] local.INFO: TCP Data received {"connection_id":107930,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:19:05] local.INFO: Processing buffer {"connection_id":107930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:19:05] local.INFO: Packet analysis {"connection_id":107930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:19:05] local.INFO: Extracted packet for processing {"connection_id":107930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:19:05] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:19: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-06-18 21:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:19:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:19: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-06-18 21:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:19:05] 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-06-18 21:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:19:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:19:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":107930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347031,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:19:05] local.INFO: GPS data processed {"connection_id":107930,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:19:05] local.INFO: Acknowledgment sent {"connection_id":107930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:11] local.INFO: TCP Data received {"connection_id":106999,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:11] local.INFO: Processing buffer {"connection_id":106999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:11] local.INFO: IMEI packet received {"connection_id":106999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":106999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:19:11] local.INFO: TCP Data received {"connection_id":107929,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:11] local.INFO: Processing buffer {"connection_id":107929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:11] local.INFO: Packet analysis {"connection_id":107929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:19:11] local.INFO: Extracted packet for processing {"connection_id":107929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:19:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":107929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:19:11] local.INFO: GPS data processed {"connection_id":107929,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:19:11] local.INFO: Acknowledgment sent {"connection_id":107929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:18] local.INFO: TCP Data received {"connection_id":106999,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:19:18] local.INFO: Processing buffer {"connection_id":106999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:19:18] local.INFO: Packet analysis {"connection_id":106999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:19:18] local.INFO: Extracted packet for processing {"connection_id":106999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 21:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":106999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":106999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":106999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:19:18] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:19:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":106999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:19:18] local.INFO: GPS data processed {"connection_id":106999,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:19:18] local.INFO: Acknowledgment sent {"connection_id":106999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:23] local.INFO: TCP Data received {"connection_id":106388,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:19:23] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:19:23] local.INFO: IMEI packet received {"connection_id":106388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":106388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:19:29] local.INFO: TCP Data received {"connection_id":106388,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:19:29] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:19:29] local.INFO: IMEI packet received {"connection_id":106388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":106388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:19:30] local.INFO: TCP Data received {"connection_id":106388,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:19:30] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:19:30] local.INFO: Packet analysis {"connection_id":106388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:19:30] local.INFO: Extracted packet for processing {"connection_id":106388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:30] 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-06-18 21:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:19:30] 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-06-18 21:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:19:30] 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-06-18 21:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:19:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:19:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":106388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:19:30] local.INFO: GPS data processed {"connection_id":106388,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:19:30] local.INFO: Acknowledgment sent {"connection_id":106388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:36] local.INFO: TCP Data received {"connection_id":107930,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:19:36] local.INFO: Processing buffer {"connection_id":107930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:19:36] local.INFO: Packet analysis {"connection_id":107930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:19:36] local.INFO: Extracted packet for processing {"connection_id":107930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:19:36] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:19:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:19:36] 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-06-18 21: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-06-18 21:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107930,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:19:36] 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-06-18 21:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:19:36] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:19:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":107930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347035,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:19:37] local.INFO: GPS data processed {"connection_id":107930,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:19:37] local.INFO: Acknowledgment sent {"connection_id":107930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:38] local.INFO: TCP Data received {"connection_id":107931,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:19:38] local.INFO: Processing buffer {"connection_id":107931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:19:38] local.INFO: IMEI packet received {"connection_id":107931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":107931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:19:43] local.INFO: TCP Data received {"connection_id":107931,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:19:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:19:43] local.INFO: Processing buffer {"connection_id":107931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:19:43] local.INFO: IMEI packet received {"connection_id":107931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:19:43] local.INFO: IMEI acknowledgment sent {"connection_id":107931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:19:44] local.INFO: TCP Data received {"connection_id":107931,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:44] local.INFO: Processing buffer {"connection_id":107931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:44] local.INFO: Packet analysis {"connection_id":107931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:19:44] local.INFO: Extracted packet for processing {"connection_id":107931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:19:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:19:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":107931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:19:44] local.INFO: GPS data processed {"connection_id":107931,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:19:44] local.INFO: Acknowledgment sent {"connection_id":107931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:49] local.INFO: TCP Data received {"connection_id":107931,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:49] local.INFO: Processing buffer {"connection_id":107931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:19:49] local.INFO: Packet analysis {"connection_id":107931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:19:49] local.INFO: Extracted packet for processing {"connection_id":107931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:19:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:19:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:19:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":107931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347037,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:19:49] local.INFO: GPS data processed {"connection_id":107931,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:19:49] local.INFO: Acknowledgment sent {"connection_id":107931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:19:56] local.INFO: TCP Data received {"connection_id":107000,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:56] local.INFO: Processing buffer {"connection_id":107000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:19:56] local.INFO: IMEI packet received {"connection_id":107000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":107000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:20:00] local.INFO: TCP Data received {"connection_id":107000,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:00] local.INFO: Processing buffer {"connection_id":107000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:00] local.INFO: IMEI packet received {"connection_id":107000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":107000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:20:00] local.INFO: TCP Data received {"connection_id":106204,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:00] local.INFO: Processing buffer {"connection_id":106204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:00] local.INFO: IMEI packet received {"connection_id":106204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":106204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:20:01] local.INFO: TCP Data received {"connection_id":106388,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:20:01] local.INFO: Processing buffer {"connection_id":106388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:20:01] local.INFO: Packet analysis {"connection_id":106388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:20:01] local.INFO: Extracted packet for processing {"connection_id":106388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:01] 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-06-18 21:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:20: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-06-18 21:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":106388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:01] local.INFO: GPS data processed {"connection_id":106388,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:01] local.INFO: Acknowledgment sent {"connection_id":106388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:05] local.INFO: TCP Data received {"connection_id":106204,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106204,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:05] local.INFO: Processing buffer {"connection_id":106204,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:05] local.INFO: IMEI packet received {"connection_id":106204,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":106204,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:20:05] local.INFO: TCP Data received {"connection_id":106204,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:20:05] local.INFO: Processing buffer {"connection_id":106204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:20:05] local.INFO: Packet analysis {"connection_id":106204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:20:05] local.INFO: Extracted packet for processing {"connection_id":106204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:20:05] 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-06-18 21:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:20:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":106204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347039,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:05] local.INFO: GPS data processed {"connection_id":106204,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:05] local.INFO: Acknowledgment sent {"connection_id":106204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:09] local.INFO: TCP Data received {"connection_id":107000,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:09] local.INFO: Processing buffer {"connection_id":107000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:09] local.INFO: Packet analysis {"connection_id":107000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:09] local.INFO: Extracted packet for processing {"connection_id":107000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 21:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:20:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":107000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:09] local.INFO: GPS data processed {"connection_id":107000,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:09] local.INFO: Acknowledgment sent {"connection_id":107000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:24] local.INFO: TCP Data received {"connection_id":107932,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:20:24] local.INFO: Processing buffer {"connection_id":107932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:20:24] local.INFO: IMEI packet received {"connection_id":107932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":107932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:20:26] local.INFO: TCP Data received {"connection_id":107000,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:26] local.INFO: Processing buffer {"connection_id":107000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:26] local.INFO: Packet analysis {"connection_id":107000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:26] local.INFO: Extracted packet for processing {"connection_id":107000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 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-06-18 21:20:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 21:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":107000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":107000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":107000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:26] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:20:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":107000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:26] local.INFO: GPS data processed {"connection_id":107000,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:26] local.INFO: Acknowledgment sent {"connection_id":107000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:29] local.INFO: TCP Data received {"connection_id":107932,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:20:29] local.INFO: Processing buffer {"connection_id":107932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:20:29] local.INFO: IMEI packet received {"connection_id":107932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":107932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:20:30] local.INFO: TCP Data received {"connection_id":107932,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:20:30] local.INFO: Processing buffer {"connection_id":107932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:20:30] local.INFO: Packet analysis {"connection_id":107932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:20:30] local.INFO: Extracted packet for processing {"connection_id":107932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:20:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:30] 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-06-18 21:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:30] 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-06-18 21: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-06-18 21:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:20:30] 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-06-18 21:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:20:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":107932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:30] local.INFO: GPS data processed {"connection_id":107932,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:30] local.INFO: Acknowledgment sent {"connection_id":107932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:33] local.INFO: TCP Data received {"connection_id":106389,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:20:33] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:20:33] local.INFO: IMEI packet received {"connection_id":106389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:20:33] local.INFO: IMEI acknowledgment sent {"connection_id":106389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:20:38] local.INFO: TCP Data received {"connection_id":106389,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:20:38] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:20:38] local.INFO: IMEI packet received {"connection_id":106389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":106389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:20:39] local.INFO: TCP Data received {"connection_id":106204,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:20:39] local.INFO: Processing buffer {"connection_id":106204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:20:39] local.INFO: Packet analysis {"connection_id":106204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:20:39] local.INFO: Extracted packet for processing {"connection_id":106204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:20:39] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106204,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:39] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:20:39] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":106204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347043,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:39] local.INFO: GPS data processed {"connection_id":106204,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:39] local.INFO: Acknowledgment sent {"connection_id":106204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:40] local.INFO: TCP Data received {"connection_id":106389,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:20:40] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:20:40] local.INFO: Packet analysis {"connection_id":106389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:40] local.INFO: Extracted packet for processing {"connection_id":106389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:20:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":106389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:40] local.INFO: GPS data processed {"connection_id":106389,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:40] local.INFO: Acknowledgment sent {"connection_id":106389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:54] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:54] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:54] local.INFO: IMEI packet received {"connection_id":106205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":106205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:20:54] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:54] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:20:54] local.INFO: IMEI packet received {"connection_id":106205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":106205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:20:56] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:56] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:56] local.INFO: Packet analysis {"connection_id":106205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:56] local.INFO: Extracted packet for processing {"connection_id":106205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 21:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:20:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:20:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:20:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":106205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:56] local.INFO: GPS data processed {"connection_id":106205,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:56] local.INFO: Acknowledgment sent {"connection_id":106205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:58] local.INFO: TCP Data received {"connection_id":106205,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:58] local.INFO: Processing buffer {"connection_id":106205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68d870012d196500071fefc80040006225..."} 
[2026-06-18 21:20:58] local.INFO: Packet analysis {"connection_id":106205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:58] local.INFO: Extracted packet for processing {"connection_id":106205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140093696001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781797542000,"timestamp_ms":1781797542000,"timestamp_seconds":1781797542,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68d870"} 
[2026-06-18 21:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-06-18 21:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":106205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":106205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":106205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140093696001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140093696001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:20:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140093696001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":106205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:20:59] local.INFO: GPS data processed {"connection_id":106205,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:20:59] local.INFO: Acknowledgment sent {"connection_id":106205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:20:59] local.INFO: TCP Data received {"connection_id":106390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:59] local.INFO: Processing buffer {"connection_id":106390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:20:59] local.INFO: IMEI packet received {"connection_id":106390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":106390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:21:01] local.INFO: TCP Data received {"connection_id":107932,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:21:01] local.INFO: Processing buffer {"connection_id":107932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:21:01] local.INFO: Packet analysis {"connection_id":107932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:21:01] local.INFO: Extracted packet for processing {"connection_id":107932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:01] 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-06-18 21:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 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-06-18 21:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 21:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:21:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:21:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":107932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:21:01] local.INFO: GPS data processed {"connection_id":107932,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:21:01] local.INFO: Acknowledgment sent {"connection_id":107932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:21:07] local.INFO: TCP Data received {"connection_id":106390,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106390,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:21:07] local.INFO: Processing buffer {"connection_id":106390,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:21:07] local.INFO: IMEI packet received {"connection_id":106390,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":106390,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:21:10] local.INFO: TCP Data received {"connection_id":106390,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:21:10] local.INFO: Processing buffer {"connection_id":106390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:21:10] local.INFO: Packet analysis {"connection_id":106390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:21:10] local.INFO: Extracted packet for processing {"connection_id":106390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:21:10] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:21:10] 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-06-18 21:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:21:10] 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-06-18 21:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:21:10] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:21:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":106390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347048,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:21:10] local.INFO: GPS data processed {"connection_id":106390,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:21:10] local.INFO: Acknowledgment sent {"connection_id":106390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:21:11] local.INFO: TCP Data received {"connection_id":106389,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:21:11] local.INFO: Processing buffer {"connection_id":106389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb68b548012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:21:11] local.INFO: Packet analysis {"connection_id":106389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:21:11] local.INFO: Extracted packet for processing {"connection_id":106389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb68"} 
[2026-06-18 21:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140091392001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797533000,"timestamp_ms":1781797533000,"timestamp_seconds":1781797533,"priority":1,"record_length":96,"hex_timestamp":"0000019edb68b548"} 
[2026-06-18 21:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:21:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140091392001,"66":25462,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140091392001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:21:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:21:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140091392001,"power":25462,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":106389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:21:11] local.INFO: GPS data processed {"connection_id":106389,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:21:11] local.INFO: Acknowledgment sent {"connection_id":106389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:21:23] local.INFO: TCP Data received {"connection_id":107001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:21:23] local.INFO: Processing buffer {"connection_id":107001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:21:23] local.INFO: IMEI packet received {"connection_id":107001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":107001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:21:28] local.INFO: TCP Data received {"connection_id":107001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:21:28] local.INFO: Processing buffer {"connection_id":107001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:21:28] local.INFO: IMEI packet received {"connection_id":107001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":107001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:21:29] local.INFO: TCP Data received {"connection_id":107001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:21:29] local.INFO: Processing buffer {"connection_id":107001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:21:29] local.INFO: Packet analysis {"connection_id":107001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:21:29] local.INFO: Extracted packet for processing {"connection_id":107001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:21:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:29] 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-06-18 21:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:21:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":107001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:21:29] local.INFO: GPS data processed {"connection_id":107001,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:21:29] local.INFO: Acknowledgment sent {"connection_id":107001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:21:32] local.INFO: TCP Data received {"connection_id":106206,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:21:32] local.INFO: Processing buffer {"connection_id":106206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:21:32] local.INFO: IMEI packet received {"connection_id":106206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":106206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:21:41] local.INFO: TCP Data received {"connection_id":106390,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:21:41] local.INFO: Processing buffer {"connection_id":106390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:21:41] local.INFO: Packet analysis {"connection_id":106390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:21:41] local.INFO: Extracted packet for processing {"connection_id":106390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:21:41] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106390,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:21:41] 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-06-18 21:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:21:41] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:21:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":106390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347051,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:21:41] local.INFO: GPS data processed {"connection_id":106390,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:21:41] local.INFO: Acknowledgment sent {"connection_id":106390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:21:42] local.INFO: TCP Data received {"connection_id":106206,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:21:42] local.INFO: Processing buffer {"connection_id":106206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:21:42] local.INFO: IMEI packet received {"connection_id":106206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":106206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:21:43] local.INFO: TCP Data received {"connection_id":106206,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:21:43] local.INFO: Processing buffer {"connection_id":106206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:21:43] local.INFO: Packet analysis {"connection_id":106206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:21:43] local.INFO: Extracted packet for processing {"connection_id":106206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:21:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:21:43] 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-06-18 21:21:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:21:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:21:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":106206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:21:43] local.INFO: GPS data processed {"connection_id":106206,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:21:43] local.INFO: Acknowledgment sent {"connection_id":106206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:21:44] local.INFO: TCP Data received {"connection_id":106391,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:21:44] local.INFO: Processing buffer {"connection_id":106391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:21:44] local.INFO: IMEI packet received {"connection_id":106391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":106391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:21:49] local.INFO: TCP Data received {"connection_id":106391,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106391,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:21:49] local.INFO: Processing buffer {"connection_id":106391,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:21:49] local.INFO: IMEI packet received {"connection_id":106391,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":106391,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:21:56] local.INFO: TCP Data received {"connection_id":106391,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:21:56] local.INFO: Processing buffer {"connection_id":106391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:21:56] local.INFO: Packet analysis {"connection_id":106391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:21:56] local.INFO: Extracted packet for processing {"connection_id":106391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:21:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140170752001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781797843000,"timestamp_ms":1781797843000,"timestamp_seconds":1781797843,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d7038"} 
[2026-06-18 21:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":106391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":106391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":106391,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140170752001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140170752001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:21:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:21:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140170752001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":106391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347053,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:21:56] local.INFO: GPS data processed {"connection_id":106391,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:21:56] local.INFO: Acknowledgment sent {"connection_id":106391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:22:00] local.INFO: TCP Data received {"connection_id":107001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:22:00] local.INFO: Processing buffer {"connection_id":107001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:22:00] local.INFO: Packet analysis {"connection_id":107001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:22:00] local.INFO: Extracted packet for processing {"connection_id":107001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:22:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:00] 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-06-18 21:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:22: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-06-18 21:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:22:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":107001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:22:00] local.INFO: GPS data processed {"connection_id":107001,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:22:00] local.INFO: Acknowledgment sent {"connection_id":107001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:22:05] local.INFO: TCP Data received {"connection_id":107002,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:05] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:05] local.INFO: IMEI packet received {"connection_id":107002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":107002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:22:10] local.INFO: TCP Data received {"connection_id":107002,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:10] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:10] local.INFO: IMEI packet received {"connection_id":107002,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":107002,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:22:11] local.INFO: TCP Data received {"connection_id":107002,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:22:11] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:22:11] local.INFO: Packet analysis {"connection_id":107002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:22:11] local.INFO: Extracted packet for processing {"connection_id":107002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:22:11] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:22:11] 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-06-18 21:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:22:11] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:22:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":107002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347055,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:22:11] local.INFO: GPS data processed {"connection_id":107002,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:22:11] local.INFO: Acknowledgment sent {"connection_id":107002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:22:14] local.INFO: TCP Data received {"connection_id":106206,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:22:14] local.INFO: Processing buffer {"connection_id":106206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:22:14] local.INFO: Packet analysis {"connection_id":106206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:22:14] local.INFO: Extracted packet for processing {"connection_id":106206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:22:14] 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-06-18 21:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:22:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:22:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":106206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:22:14] local.INFO: GPS data processed {"connection_id":106206,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:22:14] local.INFO: Acknowledgment sent {"connection_id":106206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:22:23] local.INFO: TCP Data received {"connection_id":107933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:22:23] local.INFO: Processing buffer {"connection_id":107933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:22:23] local.INFO: IMEI packet received {"connection_id":107933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":107933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:22:28] local.INFO: TCP Data received {"connection_id":107933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:22:28] local.INFO: Processing buffer {"connection_id":107933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:22:28] local.INFO: IMEI packet received {"connection_id":107933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:22:28] local.INFO: IMEI acknowledgment sent {"connection_id":107933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:22:29] local.INFO: TCP Data received {"connection_id":107933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:22:29] local.INFO: Processing buffer {"connection_id":107933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:22:29] local.INFO: Packet analysis {"connection_id":107933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:22:29] local.INFO: Extracted packet for processing {"connection_id":107933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:29] 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-06-18 21:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:22:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":107933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:22:29] local.INFO: GPS data processed {"connection_id":107933,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:22:29] local.INFO: Acknowledgment sent {"connection_id":107933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:22:32] local.INFO: TCP Data received {"connection_id":106392,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:22:32] local.INFO: Processing buffer {"connection_id":106392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:22:32] local.INFO: IMEI packet received {"connection_id":106392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":106392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:22:38] local.INFO: TCP Data received {"connection_id":106392,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:22:38] local.INFO: Processing buffer {"connection_id":106392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:22:38] local.INFO: IMEI packet received {"connection_id":106392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":106392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:22:39] local.INFO: TCP Data received {"connection_id":106392,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:22:39] local.INFO: Processing buffer {"connection_id":106392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:22:39] local.INFO: Packet analysis {"connection_id":106392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:22:39] local.INFO: Extracted packet for processing {"connection_id":106392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:22: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-06-18 21:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:22:39] 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-06-18 21:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:22:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":106392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:22:39] local.INFO: GPS data processed {"connection_id":106392,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:22:39] local.INFO: Acknowledgment sent {"connection_id":106392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:22:42] local.INFO: TCP Data received {"connection_id":107002,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:22:42] local.INFO: Processing buffer {"connection_id":107002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:22:42] local.INFO: Packet analysis {"connection_id":107002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:22:42] local.INFO: Extracted packet for processing {"connection_id":107002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:22:42] 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-06-18 21:22:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107002,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:22:42] 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-06-18 21:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:22:42] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:22:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":107002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347059,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:22:42] local.INFO: GPS data processed {"connection_id":107002,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:22:42] local.INFO: Acknowledgment sent {"connection_id":107002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:22:51] local.INFO: TCP Data received {"connection_id":107003,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:22:51] local.INFO: Processing buffer {"connection_id":107003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:22:51] local.INFO: IMEI packet received {"connection_id":107003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":107003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:22:56] local.INFO: TCP Data received {"connection_id":107003,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:22:56] local.INFO: Processing buffer {"connection_id":107003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:22:56] local.INFO: IMEI packet received {"connection_id":107003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":107003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:22:59] local.INFO: TCP Data received {"connection_id":107934,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:59] local.INFO: Processing buffer {"connection_id":107934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:22:59] local.INFO: IMEI packet received {"connection_id":107934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":107934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:23:00] local.INFO: TCP Data received {"connection_id":107003,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:23:00] local.INFO: Processing buffer {"connection_id":107003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:23:00] local.INFO: Packet analysis {"connection_id":107003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:23:00] local.INFO: Extracted packet for processing {"connection_id":107003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140170752001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797843000,"timestamp_ms":1781797843000,"timestamp_seconds":1781797843,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d7038"} 
[2026-06-18 21:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140170752001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140170752001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:23:00] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140170752001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":107003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:23:00] local.INFO: GPS data processed {"connection_id":107003,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:23:00] local.INFO: Acknowledgment sent {"connection_id":107003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:23:00] local.INFO: TCP Data received {"connection_id":107933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:23:00] local.INFO: Processing buffer {"connection_id":107933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:23:00] local.INFO: Packet analysis {"connection_id":107933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:23:00] local.INFO: Extracted packet for processing {"connection_id":107933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:00] 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-06-18 21:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:23: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-06-18 21:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:23:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:23:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":107933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:23:00] local.INFO: GPS data processed {"connection_id":107933,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:23:00] local.INFO: Acknowledgment sent {"connection_id":107933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:23:05] local.INFO: TCP Data received {"connection_id":107934,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107934,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:23:05] local.INFO: Processing buffer {"connection_id":107934,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:23:05] local.INFO: IMEI packet received {"connection_id":107934,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":107934,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:23:05] local.INFO: TCP Data received {"connection_id":107934,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:23:05] local.INFO: Processing buffer {"connection_id":107934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6b12c0012da354c005f79c60002000cb27..."} 
[2026-06-18 21:23:05] local.INFO: Packet analysis {"connection_id":107934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:23:05] local.INFO: Extracted packet for processing {"connection_id":107934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6b"} 
[2026-06-18 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140131072001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677219740645310464,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797688000,"timestamp_ms":1781797688000,"timestamp_seconds":1781797688,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6b12c0"} 
[2026-06-18 21:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":24832,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-06-18 21:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140131072001,"66":12917,"101":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677219740645310464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,88,24,16,45]} 
[2026-06-18 21:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140131072001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:23:05] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-06-18 21:23:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677219740645310464,"description":"Unknown IO ID 45"} 
[2026-06-18 21:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140131072001,"power":12917,"unknown_101":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677219740645310464}} 
[2026-06-18 21:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":107934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347062,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:23:05] local.INFO: GPS data processed {"connection_id":107934,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:23:05] local.INFO: Acknowledgment sent {"connection_id":107934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:23:06] local.INFO: TCP Data received {"connection_id":107003,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:23:06] local.INFO: Processing buffer {"connection_id":107003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:23:06] local.INFO: Packet analysis {"connection_id":107003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:23:06] local.INFO: Extracted packet for processing {"connection_id":107003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:23:06] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:23: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-06-18 21:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140170752001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781797843000,"timestamp_ms":1781797843000,"timestamp_seconds":1781797843,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d7038"} 
[2026-06-18 21:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:23:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:23: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-06-18 21:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140170752001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140170752001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:23:06] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:23:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140170752001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":107003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:23:06] local.INFO: GPS data processed {"connection_id":107003,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:23:06] local.INFO: Acknowledgment sent {"connection_id":107003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:23:11] local.INFO: TCP Data received {"connection_id":106392,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:23:11] local.INFO: Processing buffer {"connection_id":106392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:23:11] local.INFO: Packet analysis {"connection_id":106392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:23:11] local.INFO: Extracted packet for processing {"connection_id":106392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:23:11] 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-06-18 21:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106392,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:23:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:23:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":106392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347064,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:23:11] local.INFO: GPS data processed {"connection_id":106392,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:23:11] local.INFO: Acknowledgment sent {"connection_id":106392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:23:23] local.INFO: TCP Data received {"connection_id":107935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:23:23] local.INFO: Processing buffer {"connection_id":107935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:23:23] local.INFO: IMEI packet received {"connection_id":107935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":107935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:23:28] local.INFO: TCP Data received {"connection_id":107935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:23:28] local.INFO: Processing buffer {"connection_id":107935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:23:28] local.INFO: IMEI packet received {"connection_id":107935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:23:28] local.INFO: IMEI acknowledgment sent {"connection_id":107935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:23:29] local.INFO: TCP Data received {"connection_id":107935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:23:29] local.INFO: Processing buffer {"connection_id":107935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6adff8012cc3308007685ac80061006d2a..."} 
[2026-06-18 21:23:29] local.INFO: Packet analysis {"connection_id":107935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:23:29] local.INFO: Extracted packet for processing {"connection_id":107935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6a"} 
[2026-06-18 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140127744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:29] 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-06-18 21:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781797675000,"timestamp_ms":1781797675000,"timestamp_seconds":1781797675,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6adff8"} 
[2026-06-18 21:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140127744001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140127744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:23:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140127744001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":107935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:23:29] local.INFO: GPS data processed {"connection_id":107935,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:23:29] local.INFO: Acknowledgment sent {"connection_id":107935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:23:32] local.INFO: TCP Data received {"connection_id":106207,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:23:32] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:23:32] local.INFO: IMEI packet received {"connection_id":106207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":106207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:23:36] local.INFO: TCP Data received {"connection_id":107934,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f9ed0012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f9ed0012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:23:36] local.INFO: Processing buffer {"connection_id":107934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f9ed0012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:23:36] local.INFO: Packet analysis {"connection_id":107934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:23:36] local.INFO: Extracted packet for processing {"connection_id":107934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:23:36] 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-06-18 21:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140208128001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781797986000,"timestamp_ms":1781797986000,"timestamp_seconds":1781797986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f9ed0"} 
[2026-06-18 21:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23808,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-06-18 21:23:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107934,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:23:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140208128001,"66":11798,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140208128001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:23:36] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:23:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140208128001,"power":11798,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":107934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347066,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:23:36] local.INFO: GPS data processed {"connection_id":107934,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:23:36] local.INFO: Acknowledgment sent {"connection_id":107934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:23:38] local.INFO: TCP Data received {"connection_id":106207,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:23:38] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:23:38] local.INFO: IMEI packet received {"connection_id":106207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":106207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:23:38] local.INFO: TCP Data received {"connection_id":106207,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:23:38] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:23:38] local.INFO: Packet analysis {"connection_id":106207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:23:38] local.INFO: Extracted packet for processing {"connection_id":106207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:23:38] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:23:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:23:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:23:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:23:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:23:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:23:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:23: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-06-18 21:23:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:23:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:23:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:23:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:23:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:23:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:23:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:23:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:23:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:23:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:23:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:23:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:23:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:23:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:23:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:23:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:23:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:23:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:23:38] local.INFO: DEBUG: GPS processor result {"connection_id":106207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:23:38] local.INFO: GPS data processed {"connection_id":106207,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:23:38] local.INFO: Acknowledgment sent {"connection_id":106207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:23:57] local.INFO: TCP Data received {"connection_id":106208,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:23:57] local.INFO: Processing buffer {"connection_id":106208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:23:57] local.INFO: IMEI packet received {"connection_id":106208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":106208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:23:59] local.INFO: TCP Data received {"connection_id":106393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:23:59] local.INFO: Processing buffer {"connection_id":106393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:23:59] local.INFO: IMEI packet received {"connection_id":106393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":106393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:24:00] local.INFO: TCP Data received {"connection_id":107935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:24:00] local.INFO: Processing buffer {"connection_id":107935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:24:00] local.INFO: Packet analysis {"connection_id":107935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:24:00] local.INFO: Extracted packet for processing {"connection_id":107935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:24:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:00] 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-06-18 21:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:24: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-06-18 21:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:24: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-06-18 21:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:24:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":107935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:24:00] local.INFO: GPS data processed {"connection_id":107935,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:24:00] local.INFO: Acknowledgment sent {"connection_id":107935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:24:06] local.INFO: TCP Data received {"connection_id":106393,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106393,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:24:06] local.INFO: Processing buffer {"connection_id":106393,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:24:06] local.INFO: IMEI packet received {"connection_id":106393,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":106393,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:24:07] local.INFO: TCP Data received {"connection_id":106393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f9ed0012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f9ed0012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:24:07] local.INFO: Processing buffer {"connection_id":106393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f9ed0012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:24:07] local.INFO: Packet analysis {"connection_id":106393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:24:07] local.INFO: Extracted packet for processing {"connection_id":106393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:24:07] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:24:07] 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-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781797986000,"timestamp_ms":1781797986000,"timestamp_seconds":1781797986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f9ed0"} 
[2026-06-18 21:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:24: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-06-18 21:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680869456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740305925,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7187744867831044352,"corrected_to":0} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847657200,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1600454862,"corrected_to":0} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4610006393083125760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184135033037,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4211133791,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":79,"raw_value":1071012286384046080,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":96,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476646883330,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2810246167479192064,"corrected_to":0} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":60,"raw_value":57807257635543116,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.WARNING: Large IO value detected {"io_id":100,"raw_value":-558445058268479483,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:07] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,39,88,24,241,157,16,14,158,18,45,192,156,32,10,66,101,122,240,215,227,219,247,4,113,205,238,85,64,38,239,1,44,2,79,96,206,203,60,100],"length":632,"final_offset":762,"validated_count":40,"validation_warnings":[{"io_id":247,"original":-7187744867831044352,"validated":0},{"io_id":205,"original":1600454862,"validated":0},{"io_id":203,"original":2810246167479192064,"validated":0}]} 
[2026-06-18 21:24:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306066390462758943,"timestamp_seconds":2306066390462759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:24:07] 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-06-18 21:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140284416001,"66":11798,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:24:07] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:24:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140284416001,"power":11798,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":106393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347069,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:24:07] local.INFO: GPS data processed {"connection_id":106393,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:24:07] local.INFO: Acknowledgment sent {"connection_id":106393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:24:09] local.INFO: TCP Data received {"connection_id":106208,"ip":"117.224.105.184","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 21:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106208,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 21:24:09] local.INFO: Processing buffer {"connection_id":106208,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 21:24:09] local.INFO: IMEI packet received {"connection_id":106208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":106208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:24:11] local.INFO: TCP Data received {"connection_id":106207,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:11] local.INFO: Processing buffer {"connection_id":106207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:11] local.INFO: Packet analysis {"connection_id":106207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:24:11] local.INFO: Extracted packet for processing {"connection_id":106207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:24:11] 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-06-18 21:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106207,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:24:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:24:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":106207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:24:11] local.INFO: GPS data processed {"connection_id":106207,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:24:11] local.INFO: Acknowledgment sent {"connection_id":106207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:24:23] local.INFO: TCP Data received {"connection_id":107004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:24:23] local.INFO: Processing buffer {"connection_id":107004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:24:23] local.INFO: IMEI packet received {"connection_id":107004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":107004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:24:29] local.INFO: TCP Data received {"connection_id":107004,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:24:29] local.INFO: Processing buffer {"connection_id":107004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:24:29] local.INFO: IMEI packet received {"connection_id":107004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":107004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:24:30] local.INFO: TCP Data received {"connection_id":107004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:24:30] local.INFO: Processing buffer {"connection_id":107004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:24:30] local.INFO: Packet analysis {"connection_id":107004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:24:30] local.INFO: Extracted packet for processing {"connection_id":107004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:30] 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-06-18 21:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:24: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-06-18 21:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:24:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:24:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:24:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":107004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:24:30] local.INFO: GPS data processed {"connection_id":107004,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:24:30] local.INFO: Acknowledgment sent {"connection_id":107004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:24:34] local.INFO: TCP Data received {"connection_id":106208,"ip":"117.224.105.184","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019edb..."} 
[2026-06-18 21:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106208,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019edb..."} 
[2026-06-18 21:24:34] local.INFO: Processing buffer {"connection_id":106208,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 21:24:34] local.INFO: IMEI packet received {"connection_id":106208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":106208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:24:38] local.INFO: TCP Data received {"connection_id":106393,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:24:38] local.INFO: Processing buffer {"connection_id":106393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:24:38] local.INFO: Packet analysis {"connection_id":106393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:24:38] local.INFO: Extracted packet for processing {"connection_id":106393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:24:38] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:24:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:24:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781797989000,"timestamp_ms":1781797989000,"timestamp_seconds":1781797989,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6faa88"} 
[2026-06-18 21:24:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:24: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-06-18 21: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680890456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740305925,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5352529452655296517,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7187744867831044352,"corrected_to":0} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847591664,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1600454862,"corrected_to":0} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4610006393083125760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184133591245,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3657485663,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":79,"raw_value":1071012286384046080,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476646883330,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2810246167479192064,"corrected_to":0} 
[2026-06-18 21:24:38] local.WARNING: Large IO value detected {"io_id":49,"raw_value":57807257635543116,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:38] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,39,88,24,241,157,16,14,158,45,192,156,32,42,10,66,18,101,122,240,215,227,219,247,4,113,205,64,85,36,239,1,44,2,79,97,206,203,49],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":247,"original":-7187744867831044352,"validated":0},{"io_id":205,"original":1600454862,"validated":0},{"io_id":203,"original":2810246167479192064,"validated":0}]} 
[2026-06-18 21:24:38] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306066390462758978,"timestamp_seconds":2306066390462759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:24:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:24:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:24:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:24:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:24:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106393,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:24:38] 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-06-18 21:24:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:24:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:24:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140284416001,"66":3807,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:24:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:24:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:24:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:24:38] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:24:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:24:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:24:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:24:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140284416001,"power":3807,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":106393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347072,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:24:38] local.INFO: GPS data processed {"connection_id":106393,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:24:38] local.INFO: Acknowledgment sent {"connection_id":106393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:24:38] local.INFO: TCP Data received {"connection_id":106394,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:24:38] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:24:38] local.INFO: IMEI packet received {"connection_id":106394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":106394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:24:40] local.INFO: TCP Data received {"connection_id":106208,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:24:40] local.INFO: Processing buffer {"connection_id":106208,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019edb..."} 
[2026-06-18 21:24:40] local.INFO: IMEI packet received {"connection_id":106208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:24:40] local.ERROR: TCP Connection error {"connection_id":106208,"code":2,"message":"client closed"} 
[2026-06-18 21:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":106208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:24:43] local.INFO: TCP Data received {"connection_id":106394,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:24:43] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:24:43] local.INFO: IMEI packet received {"connection_id":106394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":106394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:24:45] local.INFO: TCP Data received {"connection_id":106394,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:45] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:45] local.INFO: Packet analysis {"connection_id":106394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:24:45] local.INFO: Extracted packet for processing {"connection_id":106394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:24:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:24:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":106394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:24:45] local.INFO: GPS data processed {"connection_id":106394,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:24:45] local.INFO: Acknowledgment sent {"connection_id":106394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:24:48] local.INFO: TCP Data received {"connection_id":106394,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:48] local.INFO: Processing buffer {"connection_id":106394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:24:48] local.INFO: Packet analysis {"connection_id":106394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:24:48] local.INFO: Extracted packet for processing {"connection_id":106394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:24:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:24:48] 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-06-18 21:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:24:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:24:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":106394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:24:48] local.INFO: GPS data processed {"connection_id":106394,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:24:48] local.INFO: Acknowledgment sent {"connection_id":106394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:24:51] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:24:51] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:24:51] local.INFO: IMEI packet received {"connection_id":107005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":107005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:24:59] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.105.184","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 21:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 21:24:59] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 21:24:59] local.INFO: IMEI packet received {"connection_id":107005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":107005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:25:01] local.INFO: TCP Data received {"connection_id":107004,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:25:01] local.INFO: Processing buffer {"connection_id":107004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:25:01] local.INFO: Packet analysis {"connection_id":107004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:25:01] local.INFO: Extracted packet for processing {"connection_id":107004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:01] 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-06-18 21:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:25: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-06-18 21:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:25:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:25:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":107004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:25:01] local.INFO: GPS data processed {"connection_id":107004,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:25:01] local.INFO: Acknowledgment sent {"connection_id":107004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:25:06] local.INFO: TCP Data received {"connection_id":106395,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:25:06] local.INFO: Processing buffer {"connection_id":106395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:25:06] local.INFO: IMEI packet received {"connection_id":106395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":106395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:25:10] local.INFO: TCP Data received {"connection_id":106395,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106395,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:25:10] local.INFO: Processing buffer {"connection_id":106395,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:25:10] local.INFO: IMEI packet received {"connection_id":106395,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":106395,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:25:11] local.INFO: TCP Data received {"connection_id":106395,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:25:11] local.INFO: Processing buffer {"connection_id":106395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:25:11] local.INFO: Packet analysis {"connection_id":106395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:25:11] local.INFO: Extracted packet for processing {"connection_id":106395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:25:11] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781797989000,"timestamp_ms":1781797989000,"timestamp_seconds":1781797989,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6faa88"} 
[2026-06-18 21:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680890456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740305925,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5352529452655296517,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7187744867831044352,"corrected_to":0} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847591664,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1600454862,"corrected_to":0} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4610006393083125760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184133591245,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3657485663,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":79,"raw_value":1071012286384046080,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476646883330,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2810246167479192064,"corrected_to":0} 
[2026-06-18 21:25:11] local.WARNING: Large IO value detected {"io_id":49,"raw_value":57807257635543116,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:11] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,39,88,24,241,157,16,14,158,45,192,156,32,42,10,66,18,101,122,240,215,227,219,247,4,113,205,64,85,36,239,1,44,2,79,97,206,203,49],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":247,"original":-7187744867831044352,"validated":0},{"io_id":205,"original":1600454862,"validated":0},{"io_id":203,"original":2810246167479192064,"validated":0}]} 
[2026-06-18 21:25:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306066390462758978,"timestamp_seconds":2306066390462759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:25:11] 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-06-18 21:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140284416001,"66":3807,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:25:11] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:25:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140284416001,"power":3807,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":106395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347076,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:25:11] local.INFO: GPS data processed {"connection_id":106395,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:25:11] local.INFO: Acknowledgment sent {"connection_id":106395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:25:15] local.INFO: TCP Data received {"connection_id":106395,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:25:15] local.INFO: Processing buffer {"connection_id":106395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:25:15] local.INFO: Packet analysis {"connection_id":106395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:25:15] local.INFO: Extracted packet for processing {"connection_id":106395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:25:15] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781797989000,"timestamp_ms":1781797989000,"timestamp_seconds":1781797989,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6faa88"} 
[2026-06-18 21:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680890456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740305925,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5352529452655296517,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7187744867831044352,"corrected_to":0} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847591664,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1600454862,"corrected_to":0} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4610006393083125760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184133591245,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3657485663,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":79,"raw_value":1071012286384046080,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476646883330,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2810246167479192064,"corrected_to":0} 
[2026-06-18 21:25:15] local.WARNING: Large IO value detected {"io_id":49,"raw_value":57807257635543116,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:15] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,39,88,24,241,157,16,14,158,45,192,156,32,42,10,66,18,101,122,240,215,227,219,247,4,113,205,64,85,36,239,1,44,2,79,97,206,203,49],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":247,"original":-7187744867831044352,"validated":0},{"io_id":205,"original":1600454862,"validated":0},{"io_id":203,"original":2810246167479192064,"validated":0}]} 
[2026-06-18 21:25:15] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306066390462758978,"timestamp_seconds":2306066390462759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106395,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:25:15] 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-06-18 21:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140284416001,"66":3807,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:25:15] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:25:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140284416001,"power":3807,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":106395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347077,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:25:15] local.INFO: GPS data processed {"connection_id":106395,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:25:15] local.INFO: Acknowledgment sent {"connection_id":106395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:25:19] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.105.184","data_length":812,"data_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019edb..."} 
[2026-06-18 21:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":812,"packet_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019edb..."} 
[2026-06-18 21:25:19] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":829,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-06-18 21:25:19] local.INFO: IMEI packet received {"connection_id":107005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":107005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:25:23] local.INFO: TCP Data received {"connection_id":107006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:25:23] local.INFO: Processing buffer {"connection_id":107006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:25:23] local.INFO: IMEI packet received {"connection_id":107006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":107006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:25:28] local.INFO: TCP Data received {"connection_id":107006,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:25:28] local.INFO: Processing buffer {"connection_id":107006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:25:28] local.INFO: IMEI packet received {"connection_id":107006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:25:28] local.INFO: IMEI acknowledgment sent {"connection_id":107006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:25:29] local.INFO: TCP Data received {"connection_id":107006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:25:29] local.INFO: Processing buffer {"connection_id":107006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:25:29] local.INFO: Packet analysis {"connection_id":107006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:25:29] local.INFO: Extracted packet for processing {"connection_id":107006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:25:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:29] 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-06-18 21:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:25:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":107006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:25:29] local.INFO: GPS data processed {"connection_id":107006,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:25:29] local.INFO: Acknowledgment sent {"connection_id":107006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:25:33] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:25:33] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:25:33] local.INFO: IMEI packet received {"connection_id":107007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":107007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:25:37] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:25:37] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:25:37] local.INFO: IMEI packet received {"connection_id":107007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":107007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:25:39] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:25:39] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:25:39] local.INFO: Packet analysis {"connection_id":107007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:25:39] local.INFO: Extracted packet for processing {"connection_id":107007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:25: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-06-18 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:25:39] 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-06-18 21:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:25:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:25:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:25:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":107007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:25:39] local.INFO: GPS data processed {"connection_id":107007,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:25:39] local.INFO: Acknowledgment sent {"connection_id":107007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:25:44] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:25:44] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d4d10012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:25:44] local.INFO: Packet analysis {"connection_id":107007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:25:44] local.INFO: Extracted packet for processing {"connection_id":107007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140168448001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781797834000,"timestamp_ms":1781797834000,"timestamp_seconds":1781797834,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d4d10"} 
[2026-06-18 21:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:25:44] 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-06-18 21:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140168448001,"66":24908,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140168448001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:25:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:25:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140168448001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":107007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347080,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:25:44] local.INFO: GPS data processed {"connection_id":107007,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:25:44] local.INFO: Acknowledgment sent {"connection_id":107007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:25:48] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:25:48] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:25:48] local.INFO: IMEI packet received {"connection_id":106209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":106209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:25:54] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:25:54] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:25:54] local.INFO: IMEI packet received {"connection_id":106209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":106209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:25:55] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:25:55] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:25:55] local.INFO: Packet analysis {"connection_id":106209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:25:55] local.INFO: Extracted packet for processing {"connection_id":106209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140170752001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781797843000,"timestamp_ms":1781797843000,"timestamp_seconds":1781797843,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d7038"} 
[2026-06-18 21:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":106209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":106209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":106209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140170752001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140170752001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:25:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:25:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140170752001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":106209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:25:55] local.INFO: GPS data processed {"connection_id":106209,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:25:55] local.INFO: Acknowledgment sent {"connection_id":106209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:26:00] local.INFO: TCP Data received {"connection_id":106210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:26:00] local.INFO: Processing buffer {"connection_id":106210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:26:00] local.INFO: IMEI packet received {"connection_id":106210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":106210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:26:00] local.INFO: TCP Data received {"connection_id":107006,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:26:00] local.INFO: Processing buffer {"connection_id":107006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:26:00] local.INFO: Packet analysis {"connection_id":107006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:26:00] local.INFO: Extracted packet for processing {"connection_id":107006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:26:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:00] 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-06-18 21:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 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-06-18 21:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 21:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:26: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-06-18 21:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:26:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":107006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:26:00] local.INFO: GPS data processed {"connection_id":107006,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:26:00] local.INFO: Acknowledgment sent {"connection_id":107006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:26:05] local.INFO: TCP Data received {"connection_id":106210,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106210,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:26:05] local.INFO: Processing buffer {"connection_id":106210,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:26:05] local.INFO: IMEI packet received {"connection_id":106210,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":106210,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:26:05] local.INFO: TCP Data received {"connection_id":106210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:26:05] local.INFO: Processing buffer {"connection_id":106210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:26:05] local.INFO: Packet analysis {"connection_id":106210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:26:05] local.INFO: Extracted packet for processing {"connection_id":106210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797989000,"timestamp_ms":1781797989000,"timestamp_seconds":1781797989,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6faa88"} 
[2026-06-18 21:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680890456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740305925,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5352529452655296517,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7187744867831044352,"corrected_to":0} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847591664,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1600454862,"corrected_to":0} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4610006393083125760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184133591245,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3657485663,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":1071012286384046080,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476646883330,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2810246167479192064,"corrected_to":0} 
[2026-06-18 21:26:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":57807257635543116,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,39,88,24,241,157,16,14,158,45,192,156,32,42,10,66,18,101,122,240,215,227,219,247,4,113,205,64,85,36,239,1,44,2,79,97,206,203,49],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":247,"original":-7187744867831044352,"validated":0},{"io_id":205,"original":1600454862,"validated":0},{"io_id":203,"original":2810246167479192064,"validated":0}]} 
[2026-06-18 21:26:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306066390462758978,"timestamp_seconds":2306066390462759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140284416001,"66":3807,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:26:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:26:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140284416001,"power":3807,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":106210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347083,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:26:05] local.INFO: GPS data processed {"connection_id":106210,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:26:05] local.INFO: Acknowledgment sent {"connection_id":106210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:26:15] local.INFO: TCP Data received {"connection_id":107007,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:26:15] local.INFO: Processing buffer {"connection_id":107007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:26:15] local.INFO: Packet analysis {"connection_id":107007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:26:15] local.INFO: Extracted packet for processing {"connection_id":107007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:26:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:26:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:26:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:26:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:26:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":107007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:26:15] local.INFO: GPS data processed {"connection_id":107007,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:26:15] local.INFO: Acknowledgment sent {"connection_id":107007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:26:23] local.INFO: TCP Data received {"connection_id":107936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:26:23] local.INFO: Processing buffer {"connection_id":107936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:26:23] local.INFO: IMEI packet received {"connection_id":107936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":107936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:26:28] local.INFO: TCP Data received {"connection_id":107936,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:26:28] local.INFO: Processing buffer {"connection_id":107936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:26:28] local.INFO: IMEI packet received {"connection_id":107936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":107936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:26:29] local.INFO: TCP Data received {"connection_id":107936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:26:29] local.INFO: Processing buffer {"connection_id":107936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:26:29] local.INFO: Packet analysis {"connection_id":107936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:26:29] local.INFO: Extracted packet for processing {"connection_id":107936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:26:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:29] 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-06-18 21:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:26:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":107936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:26:29] local.INFO: GPS data processed {"connection_id":107936,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:26:29] local.INFO: Acknowledgment sent {"connection_id":107936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:26:37] local.INFO: TCP Data received {"connection_id":106210,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:26:37] local.INFO: Processing buffer {"connection_id":106210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:26:37] local.INFO: Packet analysis {"connection_id":106210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:26:37] local.INFO: Extracted packet for processing {"connection_id":106210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:26:37] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781797989000,"timestamp_ms":1781797989000,"timestamp_seconds":1781797989,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6faa88"} 
[2026-06-18 21:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:26: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-06-18 21: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":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680890456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740305925,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5352529452655296517,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7187744867831044352,"corrected_to":0} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847591664,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1600454862,"corrected_to":0} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4610006393083125760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184133591245,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3657485663,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":79,"raw_value":1071012286384046080,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476646883330,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2810246167479192064,"corrected_to":0} 
[2026-06-18 21:26:37] local.WARNING: Large IO value detected {"io_id":49,"raw_value":57807257635543116,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:37] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,39,88,24,241,157,16,14,158,45,192,156,32,42,10,66,18,101,122,240,215,227,219,247,4,113,205,64,85,36,239,1,44,2,79,97,206,203,49],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":247,"original":-7187744867831044352,"validated":0},{"io_id":205,"original":1600454862,"validated":0},{"io_id":203,"original":2810246167479192064,"validated":0}]} 
[2026-06-18 21:26:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306066390462758978,"timestamp_seconds":2306066390462759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106210,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:26:37] 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-06-18 21:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140284416001,"66":3807,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:26:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:26:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140284416001,"power":3807,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":106210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347086,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:26:37] local.INFO: GPS data processed {"connection_id":106210,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:26:37] local.INFO: Acknowledgment sent {"connection_id":106210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:26:37] local.INFO: TCP Data received {"connection_id":106396,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:26:37] local.INFO: Processing buffer {"connection_id":106396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:26:37] local.INFO: IMEI packet received {"connection_id":106396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:26:37] local.INFO: IMEI acknowledgment sent {"connection_id":106396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:26:41] local.INFO: TCP Data received {"connection_id":106209,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:26:41] local.INFO: Processing buffer {"connection_id":106209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:26:41] local.INFO: Packet analysis {"connection_id":106209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:26:41] local.INFO: Extracted packet for processing {"connection_id":106209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140247808001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781798144000,"timestamp_ms":1781798144000,"timestamp_seconds":1781798144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb720800"} 
[2026-06-18 21:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140247808001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140247808001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:26:41] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:26:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140247808001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":106209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:26:41] local.INFO: GPS data processed {"connection_id":106209,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:26:41] local.INFO: Acknowledgment sent {"connection_id":106209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:26:43] local.INFO: TCP Data received {"connection_id":106396,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:26:43] local.INFO: Processing buffer {"connection_id":106396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:26:43] local.INFO: IMEI packet received {"connection_id":106396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":106396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:26:45] local.INFO: TCP Data received {"connection_id":106396,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:26:45] local.INFO: Processing buffer {"connection_id":106396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:26:45] local.INFO: Packet analysis {"connection_id":106396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:26:45] local.INFO: Extracted packet for processing {"connection_id":106396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:26:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:26:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":106396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:26:45] local.INFO: GPS data processed {"connection_id":106396,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:26:45] local.INFO: Acknowledgment sent {"connection_id":106396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:26:54] local.INFO: TCP Data received {"connection_id":106211,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:26:54] local.INFO: Processing buffer {"connection_id":106211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:26:54] local.INFO: IMEI packet received {"connection_id":106211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":106211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:27:00] local.INFO: TCP Data received {"connection_id":106211,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106211,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:00] local.INFO: Processing buffer {"connection_id":106211,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:00] local.INFO: IMEI packet received {"connection_id":106211,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":106211,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:27:00] local.INFO: TCP Data received {"connection_id":107936,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:27:00] local.INFO: Processing buffer {"connection_id":107936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:27:00] local.INFO: Packet analysis {"connection_id":107936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:27:00] local.INFO: Extracted packet for processing {"connection_id":107936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:27:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:00] 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-06-18 21:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:27: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-06-18 21:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:27: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-06-18 21:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:27:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":107936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:27:00] local.INFO: GPS data processed {"connection_id":107936,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:27:00] local.INFO: Acknowledgment sent {"connection_id":107936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:27:09] local.INFO: TCP Data received {"connection_id":106397,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:09] local.INFO: Processing buffer {"connection_id":106397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:09] local.INFO: IMEI packet received {"connection_id":106397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":106397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:27:15] local.INFO: TCP Data received {"connection_id":106397,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106397,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:15] local.INFO: Processing buffer {"connection_id":106397,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:15] local.INFO: IMEI packet received {"connection_id":106397,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":106397,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:27:16] local.INFO: TCP Data received {"connection_id":106397,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:27:16] local.INFO: Processing buffer {"connection_id":106397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:27:16] local.INFO: Packet analysis {"connection_id":106397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:27:16] local.INFO: Extracted packet for processing {"connection_id":106397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:27:16] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781797989000,"timestamp_ms":1781797989000,"timestamp_seconds":1781797989,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6faa88"} 
[2026-06-18 21:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680890456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740305925,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5352529452655296517,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7187744867831044352,"corrected_to":0} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847591664,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1600454862,"corrected_to":0} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4610006393083125760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184133591245,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3657485663,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":79,"raw_value":1071012286384046080,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476646883330,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2810246167479192064,"corrected_to":0} 
[2026-06-18 21:27:16] local.WARNING: Large IO value detected {"io_id":49,"raw_value":57807257635543116,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:16] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,39,88,24,241,157,16,14,158,45,192,156,32,42,10,66,18,101,122,240,215,227,219,247,4,113,205,64,85,36,239,1,44,2,79,97,206,203,49],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":247,"original":-7187744867831044352,"validated":0},{"io_id":205,"original":1600454862,"validated":0},{"io_id":203,"original":2810246167479192064,"validated":0}]} 
[2026-06-18 21:27:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306066390462758978,"timestamp_seconds":2306066390462759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106397,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140284416001,"66":3807,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:27:16] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:27:16] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140284416001,"power":3807,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":106397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347090,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:27:16] local.INFO: GPS data processed {"connection_id":106397,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:27:16] local.INFO: Acknowledgment sent {"connection_id":106397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:27:24] local.INFO: TCP Data received {"connection_id":106212,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:27:24] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:27:24] local.INFO: IMEI packet received {"connection_id":106212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":106212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:27:29] local.INFO: TCP Data received {"connection_id":106212,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:27:29] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:27:29] local.INFO: IMEI packet received {"connection_id":106212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":106212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:27:30] local.INFO: TCP Data received {"connection_id":106212,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:27:30] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:27:30] local.INFO: Packet analysis {"connection_id":106212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:27:30] local.INFO: Extracted packet for processing {"connection_id":106212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:30] 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-06-18 21:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:27:30] 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-06-18 21:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:27:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:27:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:27:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":106212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:27:30] local.INFO: GPS data processed {"connection_id":106212,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:27:30] local.INFO: Acknowledgment sent {"connection_id":106212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:27:32] local.INFO: TCP Data received {"connection_id":106211,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:27:32] local.INFO: Processing buffer {"connection_id":106211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:27:32] local.INFO: Packet analysis {"connection_id":106211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:27:32] local.INFO: Extracted packet for processing {"connection_id":106211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140247808001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781798144000,"timestamp_ms":1781798144000,"timestamp_seconds":1781798144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb720800"} 
[2026-06-18 21:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106211,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140247808001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140247808001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:27:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:27:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140247808001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":106211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:27:32] local.INFO: GPS data processed {"connection_id":106211,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:27:32] local.INFO: Acknowledgment sent {"connection_id":106211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:27:32] local.INFO: TCP Data received {"connection_id":106398,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:27:32] local.INFO: Processing buffer {"connection_id":106398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:27:32] local.INFO: IMEI packet received {"connection_id":106398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":106398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:27:38] local.INFO: TCP Data received {"connection_id":106398,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:27:38] local.INFO: Processing buffer {"connection_id":106398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:27:38] local.INFO: IMEI packet received {"connection_id":106398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":106398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:27:39] local.INFO: TCP Data received {"connection_id":106398,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:27:39] local.INFO: Processing buffer {"connection_id":106398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:27:39] local.INFO: Packet analysis {"connection_id":106398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:27:39] local.INFO: Extracted packet for processing {"connection_id":106398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:27: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-06-18 21:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:27:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":106398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:27:39] local.INFO: GPS data processed {"connection_id":106398,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:27:39] local.INFO: Acknowledgment sent {"connection_id":106398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:27:49] local.INFO: TCP Data received {"connection_id":107937,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:49] local.INFO: Processing buffer {"connection_id":107937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:49] local.INFO: IMEI packet received {"connection_id":107937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":107937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:27:57] local.INFO: TCP Data received {"connection_id":107937,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:57] local.INFO: Processing buffer {"connection_id":107937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:27:57] local.INFO: IMEI packet received {"connection_id":107937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":107937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:27:59] local.INFO: TCP Data received {"connection_id":106399,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:59] local.INFO: Processing buffer {"connection_id":106399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:27:59] local.INFO: IMEI packet received {"connection_id":106399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":106399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:28:01] local.INFO: TCP Data received {"connection_id":106212,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:28:01] local.INFO: Processing buffer {"connection_id":106212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:28:01] local.INFO: Packet analysis {"connection_id":106212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:28:01] local.INFO: Extracted packet for processing {"connection_id":106212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:28:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:01] 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-06-18 21:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:28:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":106212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:28:01] local.INFO: GPS data processed {"connection_id":106212,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:28:01] local.INFO: Acknowledgment sent {"connection_id":106212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:28:04] local.INFO: TCP Data received {"connection_id":106399,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106399,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:28:04] local.INFO: Processing buffer {"connection_id":106399,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:28:04] local.INFO: IMEI packet received {"connection_id":106399,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":106399,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:28:05] local.INFO: TCP Data received {"connection_id":106399,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:28:05] local.INFO: Processing buffer {"connection_id":106399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6faa88012da354c005f79c60002000cb2a..."} 
[2026-06-18 21:28:05] local.INFO: Packet analysis {"connection_id":106399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:28:05] local.INFO: Extracted packet for processing {"connection_id":106399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":32,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140284416001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781797989000,"timestamp_ms":1781797989000,"timestamp_seconds":1781797989,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6faa88"} 
[2026-06-18 21:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23296,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":14,"raw_value":3707764736,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3680890456,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2740305925,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":101,"raw_value":5352529452655296517,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":-7187744867831044352,"corrected_to":0} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847591664,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1600454862,"corrected_to":0} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":85,"raw_value":-4610006393083125760,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184133591245,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":3657485663,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":1071012286384046080,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":97,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6362460476646883330,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":2810246167479192064,"corrected_to":0} 
[2026-06-18 21:28:05] local.WARNING: Large IO value detected {"io_id":49,"raw_value":57807257635543116,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:05] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,39,88,24,241,157,16,14,158,45,192,156,32,42,10,66,18,101,122,240,215,227,219,247,4,113,205,64,85,36,239,1,44,2,79,97,206,203,49],"length":632,"final_offset":762,"validated_count":39,"validation_warnings":[{"io_id":247,"original":-7187744867831044352,"validated":0},{"io_id":205,"original":1600454862,"validated":0},{"io_id":203,"original":2810246167479192064,"validated":0}]} 
[2026-06-18 21:28:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2306066390462758978,"timestamp_seconds":2306066390462759.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 21:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:28: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-06-18 21:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140284416001,"66":3807,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140284416001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:28:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:28:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140284416001,"power":3807,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":106399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347095,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:28:05] local.INFO: GPS data processed {"connection_id":106399,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:28:05] local.INFO: Acknowledgment sent {"connection_id":106399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:28:10] local.INFO: TCP Data received {"connection_id":106398,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:10] local.INFO: Processing buffer {"connection_id":106398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:10] local.INFO: Packet analysis {"connection_id":106398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:28:10] local.INFO: Extracted packet for processing {"connection_id":106398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:28:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":106398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:28:10] local.INFO: GPS data processed {"connection_id":106398,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:28:10] local.INFO: Acknowledgment sent {"connection_id":106398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:28:15] local.INFO: TCP Data received {"connection_id":107937,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:28:15] local.INFO: Processing buffer {"connection_id":107937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:28:15] local.INFO: Packet analysis {"connection_id":107937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:28:15] local.INFO: Extracted packet for processing {"connection_id":107937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:28:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140247808001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:28:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781798144000,"timestamp_ms":1781798144000,"timestamp_seconds":1781798144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb720800"} 
[2026-06-18 21:28:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:28:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:28:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:28:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:28:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:28:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:28:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:28:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:28:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:28:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107937,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:28:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:28:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:28:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:28:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140247808001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:28:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:28:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:28:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140247808001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:28:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:28:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:28:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:28:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:28:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140247808001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:28:15] local.INFO: DEBUG: GPS processor result {"connection_id":107937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:28:15] local.INFO: GPS data processed {"connection_id":107937,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:28:15] local.INFO: Acknowledgment sent {"connection_id":107937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:28:23] local.INFO: TCP Data received {"connection_id":107008,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:28:23] local.INFO: Processing buffer {"connection_id":107008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:28:23] local.INFO: IMEI packet received {"connection_id":107008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":107008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:28:29] local.INFO: TCP Data received {"connection_id":107008,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:28:29] local.INFO: Processing buffer {"connection_id":107008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:28:29] local.INFO: IMEI packet received {"connection_id":107008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":107008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:28:30] local.INFO: TCP Data received {"connection_id":107008,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:28:30] local.INFO: Processing buffer {"connection_id":107008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb6f77c0012cc3308007685ac8005c006d2a..."} 
[2026-06-18 21:28:30] local.INFO: Packet analysis {"connection_id":107008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:28:30] local.INFO: Extracted packet for processing {"connection_id":107008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6f"} 
[2026-06-18 21:28:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140204800001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:30] 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-06-18 21:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781797976000,"timestamp_ms":1781797976000,"timestamp_seconds":1781797976,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6f77c0"} 
[2026-06-18 21:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:28: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-06-18 21:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140204800001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140204800001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:28:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:28:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:28:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140204800001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":107008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:28:30] local.INFO: GPS data processed {"connection_id":107008,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:28:30] local.INFO: Acknowledgment sent {"connection_id":107008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:28:37] local.INFO: TCP Data received {"connection_id":106399,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edb744250012da354c005f79c60001b00cb2a..."} 
[2026-06-18 21:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb744250012da354c005f79c60001b00cb2a..."} 
[2026-06-18 21:28:37] local.INFO: Processing buffer {"connection_id":106399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb744250012da354c005f79c60001b00cb2a..."} 
[2026-06-18 21:28:37] local.INFO: Packet analysis {"connection_id":106399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:28:37] local.INFO: Extracted packet for processing {"connection_id":106399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":27,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140285184001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781798290000,"timestamp_ms":1781798290000,"timestamp_seconds":1781798290,"priority":1,"record_length":96,"hex_timestamp":"0000019edb744250"} 
[2026-06-18 21:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":14,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 21:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2275,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106399,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140285184001,"66":2253,"39":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,88,24,16,45]} 
[2026-06-18 21:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140285184001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:28:37] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-06-18 21:28:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140285184001,"power":2253,"unknown_39":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":106399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347099,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:28:37] local.INFO: GPS data processed {"connection_id":106399,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:28:37] local.INFO: Acknowledgment sent {"connection_id":106399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:28:38] local.INFO: TCP Data received {"connection_id":107938,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:28:38] local.INFO: Processing buffer {"connection_id":107938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:28:38] local.INFO: IMEI packet received {"connection_id":107938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":107938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:28:43] local.INFO: TCP Data received {"connection_id":107938,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:28:43] local.INFO: Processing buffer {"connection_id":107938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:28:43] local.INFO: IMEI packet received {"connection_id":107938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":107938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:28:45] local.INFO: TCP Data received {"connection_id":107938,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:45] local.INFO: Processing buffer {"connection_id":107938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:45] local.INFO: Packet analysis {"connection_id":107938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:28:45] local.INFO: Extracted packet for processing {"connection_id":107938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:28:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:28:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":107938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:28:45] local.INFO: GPS data processed {"connection_id":107938,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:28:45] local.INFO: Acknowledgment sent {"connection_id":107938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:28:49] local.INFO: TCP Data received {"connection_id":106400,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:28:49] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:28:49] local.INFO: IMEI packet received {"connection_id":106400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:28:49] local.INFO: IMEI acknowledgment sent {"connection_id":106400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:28:49] local.INFO: TCP Data received {"connection_id":107938,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:49] local.INFO: Processing buffer {"connection_id":107938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:28:49] local.INFO: Packet analysis {"connection_id":107938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:28:49] local.INFO: Extracted packet for processing {"connection_id":107938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:28:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:28:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":107938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:28:49] local.INFO: GPS data processed {"connection_id":107938,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:28:49] local.INFO: Acknowledgment sent {"connection_id":107938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:29:00] local.INFO: TCP Data received {"connection_id":107008,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:29:00] local.INFO: Processing buffer {"connection_id":107008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:29:00] local.INFO: Packet analysis {"connection_id":107008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:29:00] local.INFO: Extracted packet for processing {"connection_id":107008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:29:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:00] 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-06-18 21:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:29: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-06-18 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:29:00] 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-06-18 21:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:29:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":107008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:29:00] local.INFO: GPS data processed {"connection_id":107008,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:29:00] local.INFO: Acknowledgment sent {"connection_id":107008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:29:02] local.INFO: TCP Data received {"connection_id":106400,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:29:02] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:29:02] local.INFO: IMEI packet received {"connection_id":106400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":106400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:29:02] local.INFO: TCP Data received {"connection_id":106213,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:29:02] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:29:02] local.INFO: IMEI packet received {"connection_id":106213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":106213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:29:05] local.INFO: TCP Data received {"connection_id":106213,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106213,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:29:05] local.INFO: Processing buffer {"connection_id":106213,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:29:05] local.INFO: IMEI packet received {"connection_id":106213,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":106213,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:29:23] local.INFO: TCP Data received {"connection_id":107009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:29:23] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:29:23] local.INFO: IMEI packet received {"connection_id":107009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":107009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:29:29] local.INFO: TCP Data received {"connection_id":107009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:29:29] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:29:29] local.INFO: IMEI packet received {"connection_id":107009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":107009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:29:30] local.INFO: TCP Data received {"connection_id":107009,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:29:30] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:29:30] local.INFO: Packet analysis {"connection_id":107009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:29:30] local.INFO: Extracted packet for processing {"connection_id":107009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:30] 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-06-18 21:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:29:30] 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-06-18 21:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:29: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-06-18 21:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:29:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:29:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":107009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:29:30] local.INFO: GPS data processed {"connection_id":107009,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:29:30] local.INFO: Acknowledgment sent {"connection_id":107009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:29:32] local.INFO: TCP Data received {"connection_id":106400,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:29:32] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:29:32] local.INFO: Packet analysis {"connection_id":106400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:29:32] local.INFO: Extracted packet for processing {"connection_id":106400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140247808001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781798144000,"timestamp_ms":1781798144000,"timestamp_seconds":1781798144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb720800"} 
[2026-06-18 21:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":106400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":106400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":106400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140247808001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140247808001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:29:32] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140247808001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":106400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:29:32] local.INFO: GPS data processed {"connection_id":106400,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:29:32] local.INFO: Acknowledgment sent {"connection_id":106400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:29:33] local.INFO: TCP Data received {"connection_id":106214,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:29:33] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:29:33] local.INFO: IMEI packet received {"connection_id":106214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":106214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:29:33] local.INFO: TCP Data received {"connection_id":106400,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:29:33] local.INFO: Processing buffer {"connection_id":106400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb720800012d196500071fefc80040006226..."} 
[2026-06-18 21:29:33] local.INFO: Packet analysis {"connection_id":106400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:29:33] local.INFO: Extracted packet for processing {"connection_id":106400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb72"} 
[2026-06-18 21:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140247808001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1781798144000,"timestamp_ms":1781798144000,"timestamp_seconds":1781798144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb720800"} 
[2026-06-18 21:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12288,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":106400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":106400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":106400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140247808001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140247808001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:29:33] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:29:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140247808001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":106400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:29:33] local.INFO: GPS data processed {"connection_id":106400,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:29:33] local.ERROR: TCP Connection error {"connection_id":106400,"code":2,"message":"client closed"} 
[2026-06-18 21:29:33] local.INFO: Acknowledgment sent {"connection_id":106400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:29:38] local.INFO: TCP Data received {"connection_id":106214,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:29:38] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:29:38] local.INFO: IMEI packet received {"connection_id":106214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":106214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:29:40] local.INFO: TCP Data received {"connection_id":106214,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:29:40] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:29:40] local.INFO: Packet analysis {"connection_id":106214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:29:40] local.INFO: Extracted packet for processing {"connection_id":106214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:29:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:29:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":106214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:29:40] local.INFO: GPS data processed {"connection_id":106214,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:29:40] local.INFO: Acknowledgment sent {"connection_id":106214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:29:46] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:29:46] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":1607,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019edb..."} 
[2026-06-18 21:29:46] local.INFO: IMEI packet received {"connection_id":107005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":107005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:29:48] local.INFO: TCP Data received {"connection_id":107005,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:29:48] local.INFO: Processing buffer {"connection_id":107005,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019edb6d7038012d196500071fefc80040006227..."} 
[2026-06-18 21:29:48] local.INFO: Packet analysis {"connection_id":107005,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:29:48] local.INFO: Extracted packet for processing {"connection_id":107005,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140170752001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781797843000,"timestamp_ms":1781797843000,"timestamp_seconds":1781797843,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d7038"} 
[2026-06-18 21:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140170752001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140170752001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140170752001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":107005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:29:48] local.INFO: GPS data processed {"connection_id":107005,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:29:48] local.INFO: Acknowledgment sent {"connection_id":107005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:29:48] local.INFO: Packet analysis {"connection_id":107005,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:29:48] local.INFO: Extracted packet for processing {"connection_id":107005,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140170752001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781797843000,"timestamp_ms":1781797843000,"timestamp_seconds":1781797843,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d7038"} 
[2026-06-18 21:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140170752001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140170752001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140170752001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":107005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:29:48] local.INFO: GPS data processed {"connection_id":107005,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:29:48] local.INFO: Acknowledgment sent {"connection_id":107005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:29:48] local.INFO: Packet analysis {"connection_id":107005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:29:48] local.INFO: Extracted packet for processing {"connection_id":107005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb6d"} 
[2026-06-18 21:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140170752001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781797843000,"timestamp_ms":1781797843000,"timestamp_seconds":1781797843,"priority":1,"record_length":96,"hex_timestamp":"0000019edb6d7038"} 
[2026-06-18 21:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140170752001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140170752001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140170752001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":107005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:29:48] local.INFO: GPS data processed {"connection_id":107005,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:29:48] local.INFO: Acknowledgment sent {"connection_id":107005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:30:01] local.INFO: TCP Data received {"connection_id":107009,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:30:01] local.INFO: Processing buffer {"connection_id":107009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:30:01] local.INFO: Packet analysis {"connection_id":107009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:30:01] local.INFO: Extracted packet for processing {"connection_id":107009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:01] 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-06-18 21:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:30: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-06-18 21:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:30:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:30:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":107009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:30:01] local.INFO: GPS data processed {"connection_id":107009,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:30:01] local.INFO: Acknowledgment sent {"connection_id":107009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:30:12] local.INFO: TCP Data received {"connection_id":106214,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:30:12] local.INFO: Processing buffer {"connection_id":106214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:30:12] local.INFO: Packet analysis {"connection_id":106214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:30:12] local.INFO: Extracted packet for processing {"connection_id":106214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:30:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:30:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:30:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":106214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:30:12] local.INFO: GPS data processed {"connection_id":106214,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:30:12] local.INFO: Acknowledgment sent {"connection_id":106214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:30:24] local.INFO: TCP Data received {"connection_id":107939,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:30:24] local.INFO: Processing buffer {"connection_id":107939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:30:24] local.INFO: IMEI packet received {"connection_id":107939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":107939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:30:29] local.INFO: TCP Data received {"connection_id":107939,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:30:29] local.INFO: Processing buffer {"connection_id":107939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:30:29] local.INFO: IMEI packet received {"connection_id":107939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":107939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:30:30] local.INFO: TCP Data received {"connection_id":107939,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:30:30] local.INFO: Processing buffer {"connection_id":107939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:30:30] local.INFO: Packet analysis {"connection_id":107939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:30:30] local.INFO: Extracted packet for processing {"connection_id":107939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:30:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:30] 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-06-18 21:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 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-06-18 21:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:30:30] 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-06-18 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-06-18 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-06-18 21:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:30: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-06-18 21:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:30:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:30:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:30:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":107939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:30:30] local.INFO: GPS data processed {"connection_id":107939,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:30:30] local.INFO: Acknowledgment sent {"connection_id":107939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:30:32] local.INFO: TCP Data received {"connection_id":106216,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:30:32] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:30:32] local.INFO: IMEI packet received {"connection_id":106216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":106216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:30:38] local.INFO: TCP Data received {"connection_id":106216,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:30:38] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:30:38] local.INFO: IMEI packet received {"connection_id":106216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":106216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:30:39] local.INFO: TCP Data received {"connection_id":106216,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:30:39] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:30:39] local.INFO: Packet analysis {"connection_id":106216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:30:39] local.INFO: Extracted packet for processing {"connection_id":106216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:30: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-06-18 21:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:30:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:30:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":106216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:30:39] local.INFO: GPS data processed {"connection_id":106216,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:30:39] local.INFO: Acknowledgment sent {"connection_id":106216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:30:49] local.INFO: TCP Data received {"connection_id":106217,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:30:49] local.INFO: Processing buffer {"connection_id":106217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:30:49] local.INFO: IMEI packet received {"connection_id":106217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":106217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:31:01] local.INFO: TCP Data received {"connection_id":107939,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:31:01] local.INFO: Processing buffer {"connection_id":107939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:31:01] local.INFO: Packet analysis {"connection_id":107939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:31:01] local.INFO: Extracted packet for processing {"connection_id":107939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:01] 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-06-18 21:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:31: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-06-18 21:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:31:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:31:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":107939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:31:01] local.INFO: GPS data processed {"connection_id":107939,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:31:01] local.INFO: Acknowledgment sent {"connection_id":107939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:31:10] local.INFO: TCP Data received {"connection_id":106216,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:10] local.INFO: Processing buffer {"connection_id":106216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb71f860012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:10] local.INFO: Packet analysis {"connection_id":106216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:31:10] local.INFO: Extracted packet for processing {"connection_id":106216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb71"} 
[2026-06-18 21:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140245504001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781798140000,"timestamp_ms":1781798140000,"timestamp_seconds":1781798140,"priority":1,"record_length":96,"hex_timestamp":"0000019edb71f860"} 
[2026-06-18 21:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 21:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1367,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140245504001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140245504001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:31:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:31:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140245504001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":106216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:31:10] local.INFO: GPS data processed {"connection_id":106216,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:31:10] local.INFO: Acknowledgment sent {"connection_id":106216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:31:24] local.INFO: TCP Data received {"connection_id":106218,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:31:24] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:31:24] local.INFO: IMEI packet received {"connection_id":106218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:31:24] local.INFO: IMEI acknowledgment sent {"connection_id":106218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:31:29] local.INFO: TCP Data received {"connection_id":106218,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:31:29] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:31:29] local.INFO: IMEI packet received {"connection_id":106218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":106218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:31:29] local.INFO: TCP Data received {"connection_id":106218,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:31:29] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:31:29] local.INFO: Packet analysis {"connection_id":106218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:31:29] local.INFO: Extracted packet for processing {"connection_id":106218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:31:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:29] 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-06-18 21:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:31: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-06-18 21:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 21:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:31:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":106218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:31:30] local.INFO: GPS data processed {"connection_id":106218,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:31:30] local.INFO: Acknowledgment sent {"connection_id":106218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:31:38] local.INFO: TCP Data received {"connection_id":107940,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:31:38] local.INFO: Processing buffer {"connection_id":107940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:31:38] local.INFO: IMEI packet received {"connection_id":107940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":107940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:31:43] local.INFO: TCP Data received {"connection_id":107940,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:31:43] local.INFO: Processing buffer {"connection_id":107940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:31:43] local.INFO: IMEI packet received {"connection_id":107940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:31:43] local.INFO: IMEI acknowledgment sent {"connection_id":107940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:31:44] local.INFO: TCP Data received {"connection_id":107940,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:44] local.INFO: Processing buffer {"connection_id":107940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:44] local.INFO: Packet analysis {"connection_id":107940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:31:44] local.INFO: Extracted packet for processing {"connection_id":107940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:31:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:31:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":107940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347117,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:31:44] local.INFO: GPS data processed {"connection_id":107940,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:31:44] local.INFO: Acknowledgment sent {"connection_id":107940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:31:49] local.INFO: TCP Data received {"connection_id":107940,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:49] local.INFO: Processing buffer {"connection_id":107940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:31:49] local.INFO: Packet analysis {"connection_id":107940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:31:49] local.INFO: Extracted packet for processing {"connection_id":107940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:31:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:31:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:31:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":107940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:31:49] local.INFO: GPS data processed {"connection_id":107940,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:31:49] local.INFO: Acknowledgment sent {"connection_id":107940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:32:00] local.INFO: TCP Data received {"connection_id":106218,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:32:00] local.INFO: Processing buffer {"connection_id":106218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:32:00] local.INFO: Packet analysis {"connection_id":106218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:32:00] local.INFO: Extracted packet for processing {"connection_id":106218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:32:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:00] 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-06-18 21:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:32: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-06-18 21:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:32: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-06-18 21:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 21:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:32:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:32:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":106218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:32:00] local.INFO: GPS data processed {"connection_id":106218,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:32:00] local.INFO: Acknowledgment sent {"connection_id":106218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:32:24] local.INFO: TCP Data received {"connection_id":107011,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:32:24] local.INFO: Processing buffer {"connection_id":107011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:32:24] local.INFO: IMEI packet received {"connection_id":107011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:32:24] local.INFO: IMEI acknowledgment sent {"connection_id":107011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:32:29] local.INFO: TCP Data received {"connection_id":107011,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:32:29] local.INFO: Processing buffer {"connection_id":107011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:32:29] local.INFO: IMEI packet received {"connection_id":107011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":107011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:32:30] local.INFO: TCP Data received {"connection_id":107011,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:32:30] local.INFO: Processing buffer {"connection_id":107011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:32:30] local.INFO: Packet analysis {"connection_id":107011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:32:30] local.INFO: Extracted packet for processing {"connection_id":107011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:32:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:30] 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-06-18 21:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:32:30] 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-06-18 21: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-06-18 21:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21: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-06-18 21:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 21:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:32:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:32:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:32:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":107011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:32:30] local.INFO: GPS data processed {"connection_id":107011,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:32:30] local.INFO: Acknowledgment sent {"connection_id":107011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:32:32] local.INFO: TCP Data received {"connection_id":106401,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:32:32] local.INFO: Processing buffer {"connection_id":106401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:32:32] local.INFO: IMEI packet received {"connection_id":106401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":106401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:32:38] local.INFO: TCP Data received {"connection_id":106401,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106401,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:32:38] local.INFO: Processing buffer {"connection_id":106401,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:32:38] local.INFO: IMEI packet received {"connection_id":106401,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":106401,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:32:42] local.INFO: TCP Data received {"connection_id":106401,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:32:42] local.INFO: Processing buffer {"connection_id":106401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:32:42] local.INFO: Packet analysis {"connection_id":106401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:32:42] local.INFO: Extracted packet for processing {"connection_id":106401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:32:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:32:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:32:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:32:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:32:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":106401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347121,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:32:42] local.INFO: GPS data processed {"connection_id":106401,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:32:42] local.INFO: Acknowledgment sent {"connection_id":106401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:33:01] local.INFO: TCP Data received {"connection_id":107011,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:33:01] local.INFO: Processing buffer {"connection_id":107011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:33:01] local.INFO: Packet analysis {"connection_id":107011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:33:01] local.INFO: Extracted packet for processing {"connection_id":107011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:33:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:01] 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-06-18 21:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:33:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:33: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-06-18 21:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 21:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:33:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:33:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":107011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:33:01] local.INFO: GPS data processed {"connection_id":107011,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:33:01] local.INFO: Acknowledgment sent {"connection_id":107011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:33:13] local.INFO: TCP Data received {"connection_id":106401,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:13] local.INFO: Processing buffer {"connection_id":106401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:13] local.INFO: Packet analysis {"connection_id":106401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:33:13] local.INFO: Extracted packet for processing {"connection_id":106401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:33:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:33:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:33:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:33:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:33:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:33:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:33:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:33:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:33:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:33:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:33:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:33:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106401,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:33:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:33:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:33:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:33:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:33:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:33:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:33:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:33:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:33:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:33:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:33:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:33:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:33:13] local.INFO: DEBUG: GPS processor result {"connection_id":106401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:33:13] local.INFO: GPS data processed {"connection_id":106401,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:33:13] local.INFO: Acknowledgment sent {"connection_id":106401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:33:23] local.INFO: TCP Data received {"connection_id":107941,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:33:23] local.INFO: Processing buffer {"connection_id":107941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:33:23] local.INFO: IMEI packet received {"connection_id":107941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":107941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:33:29] local.INFO: TCP Data received {"connection_id":107941,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:33:29] local.INFO: Processing buffer {"connection_id":107941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:33:29] local.INFO: IMEI packet received {"connection_id":107941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":107941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:33:29] local.INFO: TCP Data received {"connection_id":107941,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:33:29] local.INFO: Processing buffer {"connection_id":107941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb740f88012cc3308007685ac8005e006d2a..."} 
[2026-06-18 21:33:29] local.INFO: Packet analysis {"connection_id":107941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:33:29] local.INFO: Extracted packet for processing {"connection_id":107941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb74"} 
[2026-06-18 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140281856001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:29] 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-06-18 21:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781798277000,"timestamp_ms":1781798277000,"timestamp_seconds":1781798277,"priority":1,"record_length":96,"hex_timestamp":"0000019edb740f88"} 
[2026-06-18 21:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:33:29] 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-06-18 21:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140281856001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140281856001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:33:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140281856001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":107941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:33:30] local.INFO: GPS data processed {"connection_id":107941,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:33:30] local.INFO: Acknowledgment sent {"connection_id":107941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:33:38] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:33:38] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:33:38] local.INFO: IMEI packet received {"connection_id":106220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":106220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:33:43] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:33:43] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:33:43] local.INFO: IMEI packet received {"connection_id":106220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":106220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:33:44] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:44] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:44] local.INFO: Packet analysis {"connection_id":106220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:33:44] local.INFO: Extracted packet for processing {"connection_id":106220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:33: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-06-18 21:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:33: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":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:33: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-06-18 21:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:33:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":106220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:33:44] local.INFO: GPS data processed {"connection_id":106220,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:33:44] local.INFO: Acknowledgment sent {"connection_id":106220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:33:48] local.INFO: TCP Data received {"connection_id":106220,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:48] local.INFO: Processing buffer {"connection_id":106220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:33:48] local.INFO: Packet analysis {"connection_id":106220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:33:48] local.INFO: Extracted packet for processing {"connection_id":106220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:33:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:33:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:33:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:33:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:33:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:33:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:33:48] local.INFO: DEBUG: GPS processor result {"connection_id":106220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:33:48] local.INFO: GPS data processed {"connection_id":106220,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:33:48] local.INFO: Acknowledgment sent {"connection_id":106220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:33:50] local.INFO: TCP Data received {"connection_id":106403,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106403,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:33:50] local.INFO: Processing buffer {"connection_id":106403,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:33:50] local.INFO: IMEI packet received {"connection_id":106403,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":106403,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:34:00] local.INFO: TCP Data received {"connection_id":107941,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:34:00] local.INFO: Processing buffer {"connection_id":107941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:34:00] local.INFO: Packet analysis {"connection_id":107941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:34:00] local.INFO: Extracted packet for processing {"connection_id":107941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:34:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:00] 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-06-18 21:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:34: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-06-18 21:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:34:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:34:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:34:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":107941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:34:00] local.INFO: GPS data processed {"connection_id":107941,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:34:00] local.INFO: Acknowledgment sent {"connection_id":107941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:34:24] local.INFO: TCP Data received {"connection_id":107012,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:34:24] local.INFO: Processing buffer {"connection_id":107012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:34:24] local.INFO: IMEI packet received {"connection_id":107012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":107012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:34:29] local.INFO: TCP Data received {"connection_id":107012,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:34:29] local.INFO: Processing buffer {"connection_id":107012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:34:29] local.INFO: IMEI packet received {"connection_id":107012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":107012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:34:29] local.INFO: TCP Data received {"connection_id":107012,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:34:29] local.INFO: Processing buffer {"connection_id":107012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:34:29] local.INFO: Packet analysis {"connection_id":107012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:34:29] local.INFO: Extracted packet for processing {"connection_id":107012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:34:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:29] 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-06-18 21:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:34:29] 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-06-18 21:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:34:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":107012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:34:30] local.INFO: GPS data processed {"connection_id":107012,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:34:30] local.INFO: Acknowledgment sent {"connection_id":107012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:34:33] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:34:33] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:34:33] local.INFO: IMEI packet received {"connection_id":106221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":106221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:34:38] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:34:38] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:34:38] local.INFO: IMEI packet received {"connection_id":106221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":106221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:34:39] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:34:39] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:34:39] local.INFO: Packet analysis {"connection_id":106221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:34:39] local.INFO: Extracted packet for processing {"connection_id":106221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:34: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-06-18 21:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:34: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-06-18 21:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:34:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":106221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:34:39] local.INFO: GPS data processed {"connection_id":106221,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:34:39] local.INFO: Acknowledgment sent {"connection_id":106221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:35:01] local.INFO: TCP Data received {"connection_id":107012,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:35:01] local.INFO: Processing buffer {"connection_id":107012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:35:01] local.INFO: Packet analysis {"connection_id":107012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:35:01] local.INFO: Extracted packet for processing {"connection_id":107012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:35:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:01] 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-06-18 21:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:35:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:35:01] 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-06-18 21:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:35:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:35:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":107012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:35:01] local.INFO: GPS data processed {"connection_id":107012,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:35:01] local.INFO: Acknowledgment sent {"connection_id":107012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:35:11] local.INFO: TCP Data received {"connection_id":106221,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:35:11] local.INFO: Processing buffer {"connection_id":106221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:35:11] local.INFO: Packet analysis {"connection_id":106221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:35:11] local.INFO: Extracted packet for processing {"connection_id":106221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:35:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":106221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347131,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:35:11] local.INFO: GPS data processed {"connection_id":106221,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:35:11] local.INFO: Acknowledgment sent {"connection_id":106221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:35:23] local.INFO: TCP Data received {"connection_id":106404,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:35:23] local.INFO: Processing buffer {"connection_id":106404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:35:23] local.INFO: IMEI packet received {"connection_id":106404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":106404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:35:29] local.INFO: TCP Data received {"connection_id":106404,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:35:29] local.INFO: Processing buffer {"connection_id":106404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:35:29] local.INFO: IMEI packet received {"connection_id":106404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":106404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:35:30] local.INFO: TCP Data received {"connection_id":106404,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:35:30] local.INFO: Processing buffer {"connection_id":106404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:35:30] local.INFO: Packet analysis {"connection_id":106404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:35:30] local.INFO: Extracted packet for processing {"connection_id":106404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:35:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:30] 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-06-18 21:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:35: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-06-18 21:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:35:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:35:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:35:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":106404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:35:30] local.INFO: GPS data processed {"connection_id":106404,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:35:30] local.INFO: Acknowledgment sent {"connection_id":106404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:35:32] local.INFO: TCP Data received {"connection_id":106222,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:35:32] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:35:32] local.INFO: IMEI packet received {"connection_id":106222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":106222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:35:38] local.INFO: TCP Data received {"connection_id":106222,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:35:38] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:35:38] local.INFO: IMEI packet received {"connection_id":106222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":106222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:35:40] local.INFO: TCP Data received {"connection_id":106222,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:35:40] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:35:40] local.INFO: Packet analysis {"connection_id":106222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:35:40] local.INFO: Extracted packet for processing {"connection_id":106222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:35:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":106222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:35:40] local.INFO: GPS data processed {"connection_id":106222,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:35:40] local.INFO: Acknowledgment sent {"connection_id":106222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:36:00] local.INFO: TCP Data received {"connection_id":107943,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:00] local.INFO: Processing buffer {"connection_id":107943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:00] local.INFO: IMEI packet received {"connection_id":107943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":107943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:36:01] local.INFO: TCP Data received {"connection_id":106404,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:36:01] local.INFO: Processing buffer {"connection_id":106404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:36:01] local.INFO: Packet analysis {"connection_id":106404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:36:01] local.INFO: Extracted packet for processing {"connection_id":106404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:36:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:01] 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-06-18 21:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:36:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:36:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:36:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":106404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:36:01] local.INFO: GPS data processed {"connection_id":106404,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:36:01] local.INFO: Acknowledgment sent {"connection_id":106404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:36:01] local.INFO: TCP Data received {"connection_id":107943,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d196500071fefc80040006225..."} 
[2026-06-18 21:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d196500071fefc80040006225..."} 
[2026-06-18 21:36:01] local.INFO: Processing buffer {"connection_id":107943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d196500071fefc80040006225..."} 
[2026-06-18 21:36:01] local.INFO: Packet analysis {"connection_id":107943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:36:01] local.INFO: Extracted packet for processing {"connection_id":107943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:36:01] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140324864001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:36:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140324864001,"66":2177,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140324864001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:36:01] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140324864001,"power":2177,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":107943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:36:01] local.INFO: GPS data processed {"connection_id":107943,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:36:01] local.INFO: Acknowledgment sent {"connection_id":107943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:36:11] local.INFO: TCP Data received {"connection_id":106222,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:36:12] local.INFO: Processing buffer {"connection_id":106222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb769fc8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:36:12] local.INFO: Packet analysis {"connection_id":106222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:36:12] local.INFO: Extracted packet for processing {"connection_id":106222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb76"} 
[2026-06-18 21:36:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140323840001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781798445000,"timestamp_ms":1781798445000,"timestamp_seconds":1781798445,"priority":1,"record_length":96,"hex_timestamp":"0000019edb769fc8"} 
[2026-06-18 21:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140323840001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140323840001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:36:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140323840001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":106222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347136,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:36:12] local.INFO: GPS data processed {"connection_id":106222,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:36:12] local.INFO: Acknowledgment sent {"connection_id":106222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:36:24] local.INFO: TCP Data received {"connection_id":107944,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:36:24] local.INFO: Processing buffer {"connection_id":107944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:36:24] local.INFO: IMEI packet received {"connection_id":107944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":107944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:36:29] local.INFO: TCP Data received {"connection_id":107944,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:36:29] local.INFO: Processing buffer {"connection_id":107944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:36:29] local.INFO: IMEI packet received {"connection_id":107944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":107944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:36:30] local.INFO: TCP Data received {"connection_id":107944,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:36:30] local.INFO: Processing buffer {"connection_id":107944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:36:30] local.INFO: Packet analysis {"connection_id":107944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:36:30] local.INFO: Extracted packet for processing {"connection_id":107944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:36:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:30] 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-06-18 21:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:36: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-06-18 21:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:36:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:36:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:36:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":107944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:36:30] local.INFO: GPS data processed {"connection_id":107944,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:36:30] local.INFO: Acknowledgment sent {"connection_id":107944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:36:32] local.INFO: TCP Data received {"connection_id":106223,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:36:32] local.INFO: Processing buffer {"connection_id":106223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:36:32] local.INFO: IMEI packet received {"connection_id":106223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":106223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:36:38] local.INFO: TCP Data received {"connection_id":106223,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:36:38] local.INFO: Processing buffer {"connection_id":106223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:36:38] local.INFO: IMEI packet received {"connection_id":106223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":106223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:36:39] local.INFO: TCP Data received {"connection_id":106223,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:36:39] local.INFO: Processing buffer {"connection_id":106223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:36:39] local.INFO: Packet analysis {"connection_id":106223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:36:39] local.INFO: Extracted packet for processing {"connection_id":106223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:36: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-06-18 21:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:36: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-06-18 21:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:36:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:36:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":106223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:36:39] local.INFO: GPS data processed {"connection_id":106223,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:36:39] local.INFO: Acknowledgment sent {"connection_id":106223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:36:49] local.INFO: TCP Data received {"connection_id":107013,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:49] local.INFO: Processing buffer {"connection_id":107013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:49] local.INFO: IMEI packet received {"connection_id":107013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":107013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:36:54] local.INFO: TCP Data received {"connection_id":107013,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:54] local.INFO: Processing buffer {"connection_id":107013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:36:54] local.INFO: IMEI packet received {"connection_id":107013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":107013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:36:56] local.INFO: TCP Data received {"connection_id":107013,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:36:56] local.INFO: Processing buffer {"connection_id":107013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:36:56] local.INFO: Packet analysis {"connection_id":107013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:36:56] local.INFO: Extracted packet for processing {"connection_id":107013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1781798746000,"timestamp_ms":1781798746000,"timestamp_seconds":1781798746,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b3790"} 
[2026-06-18 21:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":129,"data_length":795,"current_offset":136} 
[2026-06-18 21:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":107013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":107013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":107013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:36:56] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":107013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:36:56] local.INFO: GPS data processed {"connection_id":107013,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:36:56] local.INFO: Acknowledgment sent {"connection_id":107013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:37:01] local.INFO: TCP Data received {"connection_id":107944,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:37:01] local.INFO: Processing buffer {"connection_id":107944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:37:01] local.INFO: Packet analysis {"connection_id":107944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:37:01] local.INFO: Extracted packet for processing {"connection_id":107944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:37:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:01] 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-06-18 21:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:37: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-06-18 21:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:37:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:37:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":107944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:37:01] local.INFO: GPS data processed {"connection_id":107944,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:37:01] local.INFO: Acknowledgment sent {"connection_id":107944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:37:02] local.INFO: TCP Data received {"connection_id":107013,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:37:02] local.INFO: Processing buffer {"connection_id":107013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:37:02] local.INFO: Packet analysis {"connection_id":107013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:37:02] local.INFO: Extracted packet for processing {"connection_id":107013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:37:02] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:37:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:37:02] local.INFO: AVL Record Parsed {"raw_timestamp":1781798746000,"timestamp_ms":1781798746000,"timestamp_seconds":1781798746,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b3790"} 
[2026-06-18 21:37:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:37:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 21:37:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:37:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:37:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:37:02] local.INFO: Teltonika packet parsed successfully {"connection_id":107013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:37:02] local.INFO: Passing IMEI to GPS processor {"connection_id":107013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:37:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":107013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:37:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:37:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:37:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:37:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:37:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:37:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:37:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:37:02] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:37:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:37:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:37:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:37:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:37:02] local.INFO: DEBUG: GPS processor result {"connection_id":107013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:37:02] local.INFO: GPS data processed {"connection_id":107013,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:37:02] local.INFO: Acknowledgment sent {"connection_id":107013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:37:11] local.INFO: TCP Data received {"connection_id":106223,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:11] local.INFO: Processing buffer {"connection_id":106223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:11] local.INFO: Packet analysis {"connection_id":106223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:37:11] local.INFO: Extracted packet for processing {"connection_id":106223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106223,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:37:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":106223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347142,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:37:11] local.INFO: GPS data processed {"connection_id":106223,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:37:11] local.INFO: Acknowledgment sent {"connection_id":106223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:37:24] local.INFO: TCP Data received {"connection_id":107014,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:37:24] local.INFO: Processing buffer {"connection_id":107014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:37:24] local.INFO: IMEI packet received {"connection_id":107014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":107014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:37:29] local.INFO: TCP Data received {"connection_id":107014,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:37:29] local.INFO: Processing buffer {"connection_id":107014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:37:29] local.INFO: IMEI packet received {"connection_id":107014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":107014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:37:29] local.INFO: TCP Data received {"connection_id":107014,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:37:29] local.INFO: Processing buffer {"connection_id":107014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:37:29] local.INFO: Packet analysis {"connection_id":107014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:37:29] local.INFO: Extracted packet for processing {"connection_id":107014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:37:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:29] 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-06-18 21:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21: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-06-18 21:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:37:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":107014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:37:29] local.INFO: GPS data processed {"connection_id":107014,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:37:29] local.INFO: Acknowledgment sent {"connection_id":107014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:37:38] local.INFO: TCP Data received {"connection_id":106224,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:37:38] local.INFO: Processing buffer {"connection_id":106224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:37:38] local.INFO: IMEI packet received {"connection_id":106224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":106224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:37:42] local.INFO: TCP Data received {"connection_id":106224,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106224,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:37:42] local.INFO: Processing buffer {"connection_id":106224,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:37:42] local.INFO: IMEI packet received {"connection_id":106224,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":106224,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:37:44] local.INFO: TCP Data received {"connection_id":106224,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:44] local.INFO: Processing buffer {"connection_id":106224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:44] local.INFO: Packet analysis {"connection_id":106224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:37:44] local.INFO: Extracted packet for processing {"connection_id":106224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:37:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":106224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:37:44] local.INFO: GPS data processed {"connection_id":106224,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:37:44] local.INFO: Acknowledgment sent {"connection_id":106224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:37:49] local.INFO: TCP Data received {"connection_id":106224,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:49] local.INFO: Processing buffer {"connection_id":106224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:37:49] local.INFO: Packet analysis {"connection_id":106224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:37:49] local.INFO: Extracted packet for processing {"connection_id":106224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106224,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:37:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:37:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":106224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:37:49] local.INFO: GPS data processed {"connection_id":106224,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:37:49] local.INFO: Acknowledgment sent {"connection_id":106224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:37:49] local.INFO: TCP Data received {"connection_id":106405,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:37:49] local.INFO: Processing buffer {"connection_id":106405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:37:49] local.INFO: IMEI packet received {"connection_id":106405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":106405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:37:57] local.INFO: TCP Data received {"connection_id":106405,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:37:57] local.INFO: Processing buffer {"connection_id":106405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:37:57] local.INFO: IMEI packet received {"connection_id":106405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":106405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:38:00] local.INFO: TCP Data received {"connection_id":107014,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:38:00] local.INFO: Processing buffer {"connection_id":107014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:38:00] local.INFO: Packet analysis {"connection_id":107014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:38:00] local.INFO: Extracted packet for processing {"connection_id":107014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:38:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:00] 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-06-18 21:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21: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-06-18 21:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:38:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":107014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:38:00] local.INFO: GPS data processed {"connection_id":107014,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:38:00] local.INFO: Acknowledgment sent {"connection_id":107014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:38:05] local.INFO: TCP Data received {"connection_id":106405,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:05] local.INFO: Processing buffer {"connection_id":106405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:05] local.INFO: Packet analysis {"connection_id":106405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:05] local.INFO: Extracted packet for processing {"connection_id":106405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781798746000,"timestamp_ms":1781798746000,"timestamp_seconds":1781798746,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b3790"} 
[2026-06-18 21:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 21:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:38:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:38:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:38:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":106405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:38:05] local.INFO: GPS data processed {"connection_id":106405,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:38:05] local.INFO: Acknowledgment sent {"connection_id":106405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:38:15] local.INFO: TCP Data received {"connection_id":106405,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:15] local.INFO: Processing buffer {"connection_id":106405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:15] local.INFO: Packet analysis {"connection_id":106405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:15] local.INFO: Extracted packet for processing {"connection_id":106405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781798746000,"timestamp_ms":1781798746000,"timestamp_seconds":1781798746,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b3790"} 
[2026-06-18 21:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 21:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:38:15] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:38:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":106405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:38:15] local.INFO: GPS data processed {"connection_id":106405,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:38:15] local.INFO: Acknowledgment sent {"connection_id":106405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:38:23] local.INFO: TCP Data received {"connection_id":106225,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:38:23] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:38:23] local.INFO: IMEI packet received {"connection_id":106225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":106225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:38:29] local.INFO: TCP Data received {"connection_id":106225,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:38:29] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:38:29] local.INFO: IMEI packet received {"connection_id":106225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":106225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:38:30] local.INFO: TCP Data received {"connection_id":106225,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:38:30] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78a750012cc3308007685ac8005f006d2b..."} 
[2026-06-18 21:38:30] local.INFO: Packet analysis {"connection_id":106225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:38:30] local.INFO: Extracted packet for processing {"connection_id":106225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":95,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140358912001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:30] 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-06-18 21:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798578000,"timestamp_ms":1781798578000,"timestamp_seconds":1781798578,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78a750"} 
[2026-06-18 21:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:38: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-06-18 21:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140358912001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140358912001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:38:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:38:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:38:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140358912001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":106225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:38:30] local.INFO: GPS data processed {"connection_id":106225,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:38:30] local.INFO: Acknowledgment sent {"connection_id":106225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:38:38] local.INFO: TCP Data received {"connection_id":107945,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:38:38] local.INFO: Processing buffer {"connection_id":107945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:38:38] local.INFO: IMEI packet received {"connection_id":107945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":107945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:38:43] local.INFO: TCP Data received {"connection_id":107945,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:38:43] local.INFO: Processing buffer {"connection_id":107945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:38:43] local.INFO: IMEI packet received {"connection_id":107945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:38:43] local.INFO: IMEI acknowledgment sent {"connection_id":107945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:38:44] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:38:44] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:38:44] local.INFO: IMEI packet received {"connection_id":107015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:38:44] local.INFO: IMEI acknowledgment sent {"connection_id":107015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:38:44] local.INFO: TCP Data received {"connection_id":107945,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:38:44] local.INFO: Processing buffer {"connection_id":107945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:38:44] local.INFO: Packet analysis {"connection_id":107945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:44] local.INFO: Extracted packet for processing {"connection_id":107945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:38:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:38:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:38:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:38:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":107945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:38:44] local.INFO: GPS data processed {"connection_id":107945,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:38:44] local.INFO: Acknowledgment sent {"connection_id":107945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:38:49] local.INFO: TCP Data received {"connection_id":107945,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:38:49] local.INFO: Processing buffer {"connection_id":107945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:38:49] local.INFO: Packet analysis {"connection_id":107945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:49] local.INFO: Extracted packet for processing {"connection_id":107945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107945,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:38:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:38:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":107945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:38:49] local.INFO: GPS data processed {"connection_id":107945,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:38:49] local.INFO: Acknowledgment sent {"connection_id":107945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:38:49] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:38:49] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:38:49] local.INFO: IMEI packet received {"connection_id":107015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":107015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:38:51] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:51] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:38:51] local.INFO: Packet analysis {"connection_id":107015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:51] local.INFO: Extracted packet for processing {"connection_id":107015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:38:51] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:38:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:38:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:38:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781798746000,"timestamp_ms":1781798746000,"timestamp_seconds":1781798746,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b3790"} 
[2026-06-18 21:38:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:38:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:38:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 21:38:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:38:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:38:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:38:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:38:51] local.INFO: Teltonika packet parsed successfully {"connection_id":107015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:38:51] local.INFO: Passing IMEI to GPS processor {"connection_id":107015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:38:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":107015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:38:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:38:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:38:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:38:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:38:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:38:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:38:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:38:51] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:38:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:38:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:38:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:38:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:38:51] local.INFO: DEBUG: GPS processor result {"connection_id":107015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:38:51] local.INFO: GPS data processed {"connection_id":107015,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:38:51] local.INFO: Acknowledgment sent {"connection_id":107015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:39:00] local.INFO: TCP Data received {"connection_id":106225,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:39:00] local.INFO: Processing buffer {"connection_id":106225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:39:00] local.INFO: Packet analysis {"connection_id":106225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:39:00] local.INFO: Extracted packet for processing {"connection_id":106225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:39:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:00] 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-06-18 21:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:39: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-06-18 21:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:39:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:39:00] 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-06-18 21:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:39:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":106225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:39:00] local.INFO: GPS data processed {"connection_id":106225,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:39:00] local.INFO: Acknowledgment sent {"connection_id":106225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:39:22] local.INFO: TCP Data received {"connection_id":107015,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:39:22] local.INFO: Processing buffer {"connection_id":107015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:39:22] local.INFO: Packet analysis {"connection_id":107015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:39:22] local.INFO: Extracted packet for processing {"connection_id":107015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:39:22] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:39:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:39:22] local.INFO: AVL Record Parsed {"raw_timestamp":1781798746000,"timestamp_ms":1781798746000,"timestamp_seconds":1781798746,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b3790"} 
[2026-06-18 21:39:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:39:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:39:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-06-18 21:39:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:39:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:39:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:39:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:39:22] local.INFO: Teltonika packet parsed successfully {"connection_id":107015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:39:22] local.INFO: Passing IMEI to GPS processor {"connection_id":107015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:39:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":107015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:39:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:39:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:39:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:39:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:39:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:39:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:39:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:39:22] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:39:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:39:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:39:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:39:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":107015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:39:23] local.INFO: GPS data processed {"connection_id":107015,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:39:23] local.INFO: Acknowledgment sent {"connection_id":107015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:39:23] local.INFO: TCP Data received {"connection_id":106406,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:39:23] local.INFO: Processing buffer {"connection_id":106406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:39:23] local.INFO: IMEI packet received {"connection_id":106406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":106406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:39:29] local.INFO: TCP Data received {"connection_id":106406,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:39:29] local.INFO: Processing buffer {"connection_id":106406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:39:29] local.INFO: IMEI packet received {"connection_id":106406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":106406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:39:29] local.INFO: TCP Data received {"connection_id":106406,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:39:29] local.INFO: Processing buffer {"connection_id":106406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:39:29] local.INFO: Packet analysis {"connection_id":106406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:39:29] local.INFO: Extracted packet for processing {"connection_id":106406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:29] 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-06-18 21:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:39: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-06-18 21:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:39:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":106406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:39:29] local.INFO: GPS data processed {"connection_id":106406,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:39:29] local.INFO: Acknowledgment sent {"connection_id":106406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:39:32] local.INFO: TCP Data received {"connection_id":106226,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:39:32] local.INFO: Processing buffer {"connection_id":106226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:39:32] local.INFO: IMEI packet received {"connection_id":106226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":106226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:39:38] local.INFO: TCP Data received {"connection_id":106226,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:39:38] local.INFO: Processing buffer {"connection_id":106226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:39:38] local.INFO: IMEI packet received {"connection_id":106226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":106226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:39:39] local.INFO: TCP Data received {"connection_id":106226,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:39:39] local.INFO: Processing buffer {"connection_id":106226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:39:39] local.INFO: Packet analysis {"connection_id":106226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:39:39] local.INFO: Extracted packet for processing {"connection_id":106226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:39: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-06-18 21:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:39: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-06-18 21:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:39:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:39:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":106226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:39:39] local.INFO: GPS data processed {"connection_id":106226,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:39:39] local.INFO: Acknowledgment sent {"connection_id":106226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:40:01] local.INFO: TCP Data received {"connection_id":106406,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:40:01] local.INFO: Processing buffer {"connection_id":106406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:40:01] local.INFO: Packet analysis {"connection_id":106406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:40:01] local.INFO: Extracted packet for processing {"connection_id":106406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:40:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:01] 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-06-18 21:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:40: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-06-18 21:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:40:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:40:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":106406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:40:01] local.INFO: GPS data processed {"connection_id":106406,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:40:01] local.INFO: Acknowledgment sent {"connection_id":106406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:40:12] local.INFO: TCP Data received {"connection_id":106226,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:40:12] local.INFO: Processing buffer {"connection_id":106226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:40:12] local.INFO: Packet analysis {"connection_id":106226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:40:12] local.INFO: Extracted packet for processing {"connection_id":106226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:40:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:40:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:40:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":106226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:40:12] local.INFO: GPS data processed {"connection_id":106226,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:40:12] local.INFO: Acknowledgment sent {"connection_id":106226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:40:24] local.INFO: TCP Data received {"connection_id":106227,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:40:24] local.INFO: Processing buffer {"connection_id":106227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:40:24] local.INFO: IMEI packet received {"connection_id":106227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":106227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:40:25] local.INFO: TCP Data received {"connection_id":107016,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:25] local.INFO: Processing buffer {"connection_id":107016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:25] local.INFO: IMEI packet received {"connection_id":107016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":107016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:40:29] local.INFO: TCP Data received {"connection_id":106227,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:40:29] local.INFO: Processing buffer {"connection_id":106227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:40:29] local.INFO: IMEI packet received {"connection_id":106227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":106227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:40:30] local.INFO: TCP Data received {"connection_id":106227,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:40:30] local.INFO: Processing buffer {"connection_id":106227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:40:30] local.INFO: Packet analysis {"connection_id":106227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:40:30] local.INFO: Extracted packet for processing {"connection_id":106227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:30] 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-06-18 21:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:40: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-06-18 21:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:40:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:40:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:40:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":106227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:40:30] local.INFO: GPS data processed {"connection_id":106227,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:40:30] local.INFO: Acknowledgment sent {"connection_id":106227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:40:32] local.INFO: TCP Data received {"connection_id":106407,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:40:32] local.INFO: Processing buffer {"connection_id":106407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:40:32] local.INFO: IMEI packet received {"connection_id":106407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":106407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:40:38] local.INFO: TCP Data received {"connection_id":106407,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:40:38] local.INFO: Processing buffer {"connection_id":106407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:40:38] local.INFO: IMEI packet received {"connection_id":106407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":106407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:40:40] local.INFO: TCP Data received {"connection_id":106407,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:40:40] local.INFO: Processing buffer {"connection_id":106407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:40:40] local.INFO: Packet analysis {"connection_id":106407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:40:40] local.INFO: Extracted packet for processing {"connection_id":106407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:40:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:40:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":106407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:40:40] local.INFO: GPS data processed {"connection_id":106407,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:40:40] local.INFO: Acknowledgment sent {"connection_id":106407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:40:49] local.INFO: TCP Data received {"connection_id":107946,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:49] local.INFO: Processing buffer {"connection_id":107946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:49] local.INFO: IMEI packet received {"connection_id":107946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":107946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:40:57] local.INFO: TCP Data received {"connection_id":107946,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:57] local.INFO: Processing buffer {"connection_id":107946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:40:57] local.INFO: IMEI packet received {"connection_id":107946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":107946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:40:58] local.INFO: TCP Data received {"connection_id":107946,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:40:58] local.INFO: Processing buffer {"connection_id":107946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b3790012d196500071fefc80040006223..."} 
[2026-06-18 21:40:58] local.INFO: Packet analysis {"connection_id":107946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:40:58] local.INFO: Extracted packet for processing {"connection_id":107946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1781798746000,"timestamp_ms":1781798746000,"timestamp_seconds":1781798746,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b3790"} 
[2026-06-18 21:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10240,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":129,"data_length":795,"current_offset":136} 
[2026-06-18 21:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":107946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":107946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":107946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":2155,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:40:58] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":2155,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":107946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:40:58] local.INFO: GPS data processed {"connection_id":107946,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:40:58] local.INFO: Acknowledgment sent {"connection_id":107946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:41:01] local.INFO: TCP Data received {"connection_id":106227,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:41:01] local.INFO: Processing buffer {"connection_id":106227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:41:01] local.INFO: Packet analysis {"connection_id":106227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:41:01] local.INFO: Extracted packet for processing {"connection_id":106227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:01] 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-06-18 21:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:41:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:41:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:41:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":106227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:41:01] local.INFO: GPS data processed {"connection_id":106227,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:41:01] local.INFO: Acknowledgment sent {"connection_id":106227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:41:12] local.INFO: TCP Data received {"connection_id":106407,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:12] local.INFO: Processing buffer {"connection_id":106407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7b4348012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:12] local.INFO: Packet analysis {"connection_id":106407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:41:12] local.INFO: Extracted packet for processing {"connection_id":106407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7b"} 
[2026-06-18 21:41:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140401920001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781798749000,"timestamp_ms":1781798749000,"timestamp_seconds":1781798749,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7b4348"} 
[2026-06-18 21:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106407,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140401920001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140401920001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:41:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:41:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140401920001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":106407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:41:12] local.INFO: GPS data processed {"connection_id":106407,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:41:12] local.INFO: Acknowledgment sent {"connection_id":106407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:41:24] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:41:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:41:24] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:41:24] local.INFO: IMEI packet received {"connection_id":106408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:41:24] local.INFO: IMEI acknowledgment sent {"connection_id":106408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:41:29] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:41:29] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:41:29] local.INFO: IMEI packet received {"connection_id":106408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":106408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:41:30] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:41:30] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:41:30] local.INFO: Packet analysis {"connection_id":106408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:41:30] local.INFO: Extracted packet for processing {"connection_id":106408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:30] 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-06-18 21:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:41: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-06-18 21:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:41:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:41:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:41:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":106408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:41:30] local.INFO: GPS data processed {"connection_id":106408,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:41:30] local.INFO: Acknowledgment sent {"connection_id":106408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:41:38] local.INFO: TCP Data received {"connection_id":107017,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:41:38] local.INFO: Processing buffer {"connection_id":107017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:41:38] local.INFO: IMEI packet received {"connection_id":107017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":107017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:41:43] local.INFO: TCP Data received {"connection_id":107017,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107017,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:41:43] local.INFO: Processing buffer {"connection_id":107017,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:41:43] local.INFO: IMEI packet received {"connection_id":107017,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":107017,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:41:44] local.INFO: TCP Data received {"connection_id":107017,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:44] local.INFO: Processing buffer {"connection_id":107017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:44] local.INFO: Packet analysis {"connection_id":107017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:41:44] local.INFO: Extracted packet for processing {"connection_id":107017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:41:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:41:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:41:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:41:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:41:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:41:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":107017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:41:44] local.INFO: GPS data processed {"connection_id":107017,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:41:44] local.INFO: Acknowledgment sent {"connection_id":107017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:41:48] local.INFO: TCP Data received {"connection_id":107017,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:48] local.INFO: Processing buffer {"connection_id":107017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:41:48] local.INFO: Packet analysis {"connection_id":107017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:41:48] local.INFO: Extracted packet for processing {"connection_id":107017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:41:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107017,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:41:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:41:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":107017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:41:49] local.INFO: GPS data processed {"connection_id":107017,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:41:49] local.INFO: Acknowledgment sent {"connection_id":107017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:41:53] local.INFO: TCP Data received {"connection_id":106409,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:41:53] local.INFO: Processing buffer {"connection_id":106409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:41:53] local.INFO: IMEI packet received {"connection_id":106409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":106409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:42:01] local.INFO: TCP Data received {"connection_id":106408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:42:01] local.INFO: Processing buffer {"connection_id":106408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:42:01] local.INFO: Packet analysis {"connection_id":106408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:42:01] local.INFO: Extracted packet for processing {"connection_id":106408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:42:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:01] 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-06-18 21:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:42: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-06-18 21:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:42:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:42:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":106408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:42:01] local.INFO: GPS data processed {"connection_id":106408,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:42:01] local.INFO: Acknowledgment sent {"connection_id":106408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:42:03] local.INFO: TCP Data received {"connection_id":106409,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:03] local.INFO: Processing buffer {"connection_id":106409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:03] local.INFO: IMEI packet received {"connection_id":106409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":106409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:42:08] local.INFO: TCP Data received {"connection_id":106409,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:08] local.INFO: Processing buffer {"connection_id":106409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:08] local.INFO: Packet analysis {"connection_id":106409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:42:08] local.INFO: Extracted packet for processing {"connection_id":106409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140478976001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781799047000,"timestamp_ms":1781799047000,"timestamp_seconds":1781799047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fcf58"} 
[2026-06-18 21:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":106409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":106409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":106409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140478976001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140478976001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:42:08] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:42:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140478976001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":106409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:42:08] local.INFO: GPS data processed {"connection_id":106409,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:42:08] local.INFO: Acknowledgment sent {"connection_id":106409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:42:23] local.INFO: TCP Data received {"connection_id":107018,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:42:23] local.INFO: Processing buffer {"connection_id":107018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:42:23] local.INFO: IMEI packet received {"connection_id":107018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":107018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:42:29] local.INFO: TCP Data received {"connection_id":107018,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:42:29] local.INFO: Processing buffer {"connection_id":107018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:42:29] local.INFO: IMEI packet received {"connection_id":107018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":107018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:42:30] local.INFO: TCP Data received {"connection_id":107018,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:42:30] local.INFO: Processing buffer {"connection_id":107018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:42:30] local.INFO: Packet analysis {"connection_id":107018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:42:30] local.INFO: Extracted packet for processing {"connection_id":107018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:42:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:30] 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-06-18 21:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:42: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-06-18 21:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:42:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:42:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":107018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:42:30] local.INFO: GPS data processed {"connection_id":107018,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:42:30] local.INFO: Acknowledgment sent {"connection_id":107018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:42:33] local.INFO: TCP Data received {"connection_id":107947,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:42:33] local.INFO: Processing buffer {"connection_id":107947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:42:33] local.INFO: IMEI packet received {"connection_id":107947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:42:33] local.INFO: IMEI acknowledgment sent {"connection_id":107947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:42:38] local.INFO: TCP Data received {"connection_id":107947,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:42:38] local.INFO: Processing buffer {"connection_id":107947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:42:38] local.INFO: IMEI packet received {"connection_id":107947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":107947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:42:40] local.INFO: TCP Data received {"connection_id":107947,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:42:40] local.INFO: Processing buffer {"connection_id":107947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:42:40] local.INFO: Packet analysis {"connection_id":107947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:42:40] local.INFO: Extracted packet for processing {"connection_id":107947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:42:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:42:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":107947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:42:40] local.INFO: GPS data processed {"connection_id":107947,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:42:40] local.INFO: Acknowledgment sent {"connection_id":107947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:42:48] local.INFO: TCP Data received {"connection_id":107948,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:48] local.INFO: Processing buffer {"connection_id":107948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:48] local.INFO: IMEI packet received {"connection_id":107948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":107948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:42:48] local.INFO: TCP Data received {"connection_id":107948,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:48] local.INFO: Processing buffer {"connection_id":107948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:42:48] local.INFO: IMEI packet received {"connection_id":107948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":107948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:42:50] local.INFO: TCP Data received {"connection_id":107948,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:50] local.INFO: Processing buffer {"connection_id":107948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:50] local.INFO: Packet analysis {"connection_id":107948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:42:50] local.INFO: Extracted packet for processing {"connection_id":107948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140478976001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781799047000,"timestamp_ms":1781799047000,"timestamp_seconds":1781799047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fcf58"} 
[2026-06-18 21:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":107948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":107948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":107948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140478976001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140478976001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:42:50] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:42:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140478976001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":107948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:42:50] local.INFO: GPS data processed {"connection_id":107948,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:42:50] local.INFO: Acknowledgment sent {"connection_id":107948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:42:55] local.INFO: TCP Data received {"connection_id":107948,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:55] local.INFO: Processing buffer {"connection_id":107948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:42:55] local.INFO: Packet analysis {"connection_id":107948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:42:55] local.INFO: Extracted packet for processing {"connection_id":107948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140478976001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781799047000,"timestamp_ms":1781799047000,"timestamp_seconds":1781799047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fcf58"} 
[2026-06-18 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-06-18 21:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 21:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:42:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140478976001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140478976001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:42:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:42:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140478976001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":107948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:42:55] local.INFO: GPS data processed {"connection_id":107948,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:42:55] local.INFO: Acknowledgment sent {"connection_id":107948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:43:01] local.INFO: TCP Data received {"connection_id":107018,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:43:01] local.INFO: Processing buffer {"connection_id":107018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:43:01] local.INFO: Packet analysis {"connection_id":107018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:43:01] local.INFO: Extracted packet for processing {"connection_id":107018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:43:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:01] 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-06-18 21:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:43: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-06-18 21:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:43:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:43:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":107018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:43:01] local.INFO: GPS data processed {"connection_id":107018,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:43:01] local.INFO: Acknowledgment sent {"connection_id":107018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:43:12] local.INFO: TCP Data received {"connection_id":107947,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:43:12] local.INFO: Processing buffer {"connection_id":107947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:43:12] local.INFO: Packet analysis {"connection_id":107947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:43:12] local.INFO: Extracted packet for processing {"connection_id":107947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107947,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:43:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":107947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:43:12] local.INFO: GPS data processed {"connection_id":107947,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:43:12] local.INFO: Acknowledgment sent {"connection_id":107947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:43:23] local.INFO: TCP Data received {"connection_id":107019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:43:23] local.INFO: Processing buffer {"connection_id":107019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:43:23] local.INFO: IMEI packet received {"connection_id":107019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":107019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:43:28] local.INFO: TCP Data received {"connection_id":107948,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:43:28] local.INFO: Processing buffer {"connection_id":107948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:43:28] local.INFO: Packet analysis {"connection_id":107948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:43:28] local.INFO: Extracted packet for processing {"connection_id":107948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140478976001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781799047000,"timestamp_ms":1781799047000,"timestamp_seconds":1781799047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fcf58"} 
[2026-06-18 21:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140478976001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140478976001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:43:28] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140478976001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":107948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:43:28] local.INFO: GPS data processed {"connection_id":107948,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:43:28] local.INFO: Acknowledgment sent {"connection_id":107948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:43:29] local.INFO: TCP Data received {"connection_id":107019,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:43:29] local.INFO: Processing buffer {"connection_id":107019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:43:29] local.INFO: IMEI packet received {"connection_id":107019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":107019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:43:29] local.INFO: TCP Data received {"connection_id":107019,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:43:29] local.INFO: Processing buffer {"connection_id":107019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7d3f18012cc3308007685ac8005d006d2d..."} 
[2026-06-18 21:43:29] local.INFO: Packet analysis {"connection_id":107019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:43:29] local.INFO: Extracted packet for processing {"connection_id":107019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7d"} 
[2026-06-18 21:43:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140435968001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:29] 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-06-18 21:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781798879000,"timestamp_ms":1781798879000,"timestamp_seconds":1781798879,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7d3f18"} 
[2026-06-18 21:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140435968001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140435968001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:43:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:43:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140435968001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":107019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:43:30] local.INFO: GPS data processed {"connection_id":107019,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:43:30] local.INFO: Acknowledgment sent {"connection_id":107019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:43:32] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:43:32] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:43:32] local.INFO: IMEI packet received {"connection_id":106410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":106410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:43:41] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:43:41] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:43:41] local.INFO: IMEI packet received {"connection_id":106410,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":106410,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:43:43] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:43:43] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:43:43] local.INFO: Packet analysis {"connection_id":106410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:43:43] local.INFO: Extracted packet for processing {"connection_id":106410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:43:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:43:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:43:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:43:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":106410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:43:43] local.INFO: GPS data processed {"connection_id":106410,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:43:43] local.INFO: Acknowledgment sent {"connection_id":106410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:43:54] local.INFO: TCP Data received {"connection_id":107949,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:43:54] local.INFO: Processing buffer {"connection_id":107949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:43:54] local.INFO: IMEI packet received {"connection_id":107949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":107949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:44:00] local.INFO: TCP Data received {"connection_id":107949,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:00] local.INFO: Processing buffer {"connection_id":107949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:00] local.INFO: IMEI packet received {"connection_id":107949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:44:00] local.INFO: IMEI acknowledgment sent {"connection_id":107949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:44:00] local.INFO: TCP Data received {"connection_id":107019,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:44:00] local.INFO: Processing buffer {"connection_id":107019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:44:00] local.INFO: Packet analysis {"connection_id":107019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:44:00] local.INFO: Extracted packet for processing {"connection_id":107019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:44:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:00] 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-06-18 21:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:44: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-06-18 21:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:44: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-06-18 21:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:44:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:44:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:44:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":107019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:44:00] local.INFO: GPS data processed {"connection_id":107019,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:44:00] local.INFO: Acknowledgment sent {"connection_id":107019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:44:03] local.INFO: TCP Data received {"connection_id":107949,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:44:03] local.INFO: Processing buffer {"connection_id":107949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:44:03] local.INFO: Packet analysis {"connection_id":107949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:44:03] local.INFO: Extracted packet for processing {"connection_id":107949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140478976001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781799047000,"timestamp_ms":1781799047000,"timestamp_seconds":1781799047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fcf58"} 
[2026-06-18 21:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:44:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:44:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:44:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":107949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":107949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":107949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140478976001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140478976001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:44:03] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140478976001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":107949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:44:03] local.INFO: GPS data processed {"connection_id":107949,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:44:03] local.INFO: Acknowledgment sent {"connection_id":107949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:44:14] local.INFO: TCP Data received {"connection_id":106410,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:44:14] local.INFO: Processing buffer {"connection_id":106410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:44:14] local.INFO: Packet analysis {"connection_id":106410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:44:14] local.INFO: Extracted packet for processing {"connection_id":106410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106410,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:44:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:44:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:44:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":106410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:44:14] local.INFO: GPS data processed {"connection_id":106410,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:44:14] local.INFO: Acknowledgment sent {"connection_id":106410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:44:24] local.INFO: TCP Data received {"connection_id":106228,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:44:24] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:44:24] local.INFO: IMEI packet received {"connection_id":106228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":106228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:44:29] local.INFO: TCP Data received {"connection_id":106228,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:44:29] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:44:29] local.INFO: IMEI packet received {"connection_id":106228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":106228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:44:30] local.INFO: TCP Data received {"connection_id":106228,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:44:30] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:44:30] local.INFO: Packet analysis {"connection_id":106228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:44:30] local.INFO: Extracted packet for processing {"connection_id":106228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:30] 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-06-18 21:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:44:30] 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-06-18 21:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:44:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:44:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:44:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":106228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:44:30] local.INFO: GPS data processed {"connection_id":106228,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:44:30] local.INFO: Acknowledgment sent {"connection_id":106228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:44:32] local.INFO: TCP Data received {"connection_id":107020,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:44:32] local.INFO: Processing buffer {"connection_id":107020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:44:32] local.INFO: IMEI packet received {"connection_id":107020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":107020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:44:38] local.INFO: TCP Data received {"connection_id":107020,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:44:38] local.INFO: Processing buffer {"connection_id":107020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:44:38] local.INFO: IMEI packet received {"connection_id":107020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:44:38] local.INFO: IMEI acknowledgment sent {"connection_id":107020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:44:39] local.INFO: TCP Data received {"connection_id":107020,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:44:39] local.INFO: Processing buffer {"connection_id":107020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:44:39] local.INFO: Packet analysis {"connection_id":107020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:44:39] local.INFO: Extracted packet for processing {"connection_id":107020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:44: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-06-18 21:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:44:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:44:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":107020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:44:39] local.INFO: GPS data processed {"connection_id":107020,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:44:39] local.INFO: Acknowledgment sent {"connection_id":107020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:44:44] local.INFO: TCP Data received {"connection_id":107021,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:44] local.INFO: Processing buffer {"connection_id":107021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:44] local.INFO: IMEI packet received {"connection_id":107021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:44:44] local.INFO: IMEI acknowledgment sent {"connection_id":107021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:44:49] local.INFO: TCP Data received {"connection_id":107021,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:49] local.INFO: Processing buffer {"connection_id":107021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:44:49] local.INFO: IMEI packet received {"connection_id":107021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":107021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:44:55] local.INFO: TCP Data received {"connection_id":107021,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:44:55] local.INFO: Processing buffer {"connection_id":107021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:44:55] local.INFO: Packet analysis {"connection_id":107021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:44:55] local.INFO: Extracted packet for processing {"connection_id":107021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:44:55] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:44:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140478976001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:44:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:44:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781799047000,"timestamp_ms":1781799047000,"timestamp_seconds":1781799047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fcf58"} 
[2026-06-18 21:44:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:44:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:44:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:44:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:44:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:44:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:44:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:44:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140478976001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:44:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:44:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:44:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140478976001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:44:55] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:44:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:44:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:44:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:44:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140478976001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":107021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:44:55] local.INFO: GPS data processed {"connection_id":107021,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:44:55] local.INFO: Acknowledgment sent {"connection_id":107021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:45:01] local.INFO: TCP Data received {"connection_id":106228,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:45:01] local.INFO: Processing buffer {"connection_id":106228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:45:01] local.INFO: Packet analysis {"connection_id":106228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:45:01] local.INFO: Extracted packet for processing {"connection_id":106228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:45:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:01] 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-06-18 21:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:45:01] 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-06-18 21:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:45:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:45:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":106228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:45:01] local.INFO: GPS data processed {"connection_id":106228,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:45:01] local.INFO: Acknowledgment sent {"connection_id":106228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:45:11] local.INFO: TCP Data received {"connection_id":107020,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:11] local.INFO: Processing buffer {"connection_id":107020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:11] local.INFO: Packet analysis {"connection_id":107020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:45:11] local.INFO: Extracted packet for processing {"connection_id":107020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:45:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":107020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:45:11] local.INFO: GPS data processed {"connection_id":107020,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:45:11] local.INFO: Acknowledgment sent {"connection_id":107020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:45:24] local.INFO: TCP Data received {"connection_id":107950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:45:24] local.INFO: Processing buffer {"connection_id":107950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:45:24] local.INFO: IMEI packet received {"connection_id":107950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":107950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:45:29] local.INFO: TCP Data received {"connection_id":107950,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:45:29] local.INFO: Processing buffer {"connection_id":107950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:45:29] local.INFO: IMEI packet received {"connection_id":107950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":107950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:45:29] local.INFO: TCP Data received {"connection_id":107950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:45:29] local.INFO: Processing buffer {"connection_id":107950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:45:29] local.INFO: Packet analysis {"connection_id":107950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:45:29] local.INFO: Extracted packet for processing {"connection_id":107950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:29] 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-06-18 21:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:45:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:45:29] 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-06-18 21:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:45:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":107950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:45:29] local.INFO: GPS data processed {"connection_id":107950,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:45:29] local.INFO: Acknowledgment sent {"connection_id":107950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:45:38] local.INFO: TCP Data received {"connection_id":106229,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:45:38] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:45:38] local.INFO: IMEI packet received {"connection_id":106229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":106229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:45:43] local.INFO: TCP Data received {"connection_id":106229,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:45:43] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:45:43] local.INFO: IMEI packet received {"connection_id":106229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":106229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:45:44] local.INFO: TCP Data received {"connection_id":106229,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:44] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:44] local.INFO: Packet analysis {"connection_id":106229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:45:44] local.INFO: Extracted packet for processing {"connection_id":106229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:45:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:45:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":106229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:45:44] local.INFO: GPS data processed {"connection_id":106229,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:45:44] local.INFO: Acknowledgment sent {"connection_id":106229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:45:49] local.INFO: TCP Data received {"connection_id":107951,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:45:49] local.INFO: Processing buffer {"connection_id":107951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:45:49] local.INFO: IMEI packet received {"connection_id":107951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":107951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:45:49] local.INFO: TCP Data received {"connection_id":106229,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:49] local.INFO: Processing buffer {"connection_id":106229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fdef8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:45:49] local.INFO: Packet analysis {"connection_id":106229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:45:49] local.INFO: Extracted packet for processing {"connection_id":106229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:45:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140479744001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781799051000,"timestamp_ms":1781799051000,"timestamp_seconds":1781799051,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fdef8"} 
[2026-06-18 21:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 21:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140479744001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140479744001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:45:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:45:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140479744001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":106229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:45:49] local.INFO: GPS data processed {"connection_id":106229,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:45:49] local.INFO: Acknowledgment sent {"connection_id":106229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:45:54] local.INFO: TCP Data received {"connection_id":107951,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:45:54] local.INFO: Processing buffer {"connection_id":107951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:45:54] local.INFO: IMEI packet received {"connection_id":107951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":107951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:46:00] local.INFO: TCP Data received {"connection_id":107950,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:46:00] local.INFO: Processing buffer {"connection_id":107950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:46:00] local.INFO: Packet analysis {"connection_id":107950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:46:00] local.INFO: Extracted packet for processing {"connection_id":107950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:46:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:00] 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-06-18 21:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:46: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-06-18 21:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:46: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-06-18 21:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:46:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":107950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:46:00] local.INFO: GPS data processed {"connection_id":107950,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:46:00] local.INFO: Acknowledgment sent {"connection_id":107950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:46:07] local.INFO: TCP Data received {"connection_id":107951,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:46:07] local.INFO: Processing buffer {"connection_id":107951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:46:07] local.INFO: Packet analysis {"connection_id":107951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:46:07] local.INFO: Extracted packet for processing {"connection_id":107951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:46:07] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140478976001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781799047000,"timestamp_ms":1781799047000,"timestamp_seconds":1781799047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fcf58"} 
[2026-06-18 21:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140478976001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140478976001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:46:07] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:46:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140478976001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":107951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:46:07] local.INFO: GPS data processed {"connection_id":107951,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:46:07] local.INFO: Acknowledgment sent {"connection_id":107951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:46:09] local.INFO: TCP Data received {"connection_id":107951,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:46:09] local.INFO: Processing buffer {"connection_id":107951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb7fcf58012d196500071fefc80040006226..."} 
[2026-06-18 21:46:09] local.INFO: Packet analysis {"connection_id":107951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:46:09] local.INFO: Extracted packet for processing {"connection_id":107951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb7f"} 
[2026-06-18 21:46:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140478976001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781799047000,"timestamp_ms":1781799047000,"timestamp_seconds":1781799047,"priority":1,"record_length":96,"hex_timestamp":"0000019edb7fcf58"} 
[2026-06-18 21:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10752,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 21:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140478976001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140478976001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:46:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140478976001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":107951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:46:09] local.INFO: GPS data processed {"connection_id":107951,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:46:09] local.INFO: Acknowledgment sent {"connection_id":107951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:46:24] local.INFO: TCP Data received {"connection_id":106411,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:46:24] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:46:24] local.INFO: IMEI packet received {"connection_id":106411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":106411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:46:29] local.INFO: TCP Data received {"connection_id":106411,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:46:29] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:46:29] local.INFO: IMEI packet received {"connection_id":106411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":106411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:46:29] local.INFO: TCP Data received {"connection_id":106411,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:46:29] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:46:29] local.INFO: Packet analysis {"connection_id":106411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:46:29] local.INFO: Extracted packet for processing {"connection_id":106411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:46:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:29] 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-06-18 21:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:46: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-06-18 21:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 21:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:46:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":106411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:46:29] local.INFO: GPS data processed {"connection_id":106411,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:46:29] local.INFO: Acknowledgment sent {"connection_id":106411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:46:33] local.INFO: TCP Data received {"connection_id":107022,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:46:33] local.INFO: Processing buffer {"connection_id":107022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:46:33] local.INFO: IMEI packet received {"connection_id":107022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:46:33] local.INFO: IMEI acknowledgment sent {"connection_id":107022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:46:38] local.INFO: TCP Data received {"connection_id":107022,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:46:38] local.INFO: Processing buffer {"connection_id":107022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:46:38] local.INFO: IMEI packet received {"connection_id":107022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":107022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:46:44] local.INFO: TCP Data received {"connection_id":107022,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:46:44] local.INFO: Processing buffer {"connection_id":107022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:46:44] local.INFO: Packet analysis {"connection_id":107022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:46:44] local.INFO: Extracted packet for processing {"connection_id":107022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:46:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:46:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:46:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:46:44] 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-06-18 21:46:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:46:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":107022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:46:45] local.INFO: GPS data processed {"connection_id":107022,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:46:45] local.INFO: Acknowledgment sent {"connection_id":107022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:46:49] local.INFO: TCP Data received {"connection_id":107023,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:46:49] local.INFO: Processing buffer {"connection_id":107023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:46:49] local.INFO: IMEI packet received {"connection_id":107023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":107023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:46:50] local.INFO: TCP Data received {"connection_id":107023,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:46:50] local.INFO: Processing buffer {"connection_id":107023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:46:50] local.INFO: IMEI packet received {"connection_id":107023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":107023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:47:00] local.INFO: TCP Data received {"connection_id":106411,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:47:00] local.INFO: Processing buffer {"connection_id":106411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:47:00] local.INFO: Packet analysis {"connection_id":106411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:47:00] local.INFO: Extracted packet for processing {"connection_id":106411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:47:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:00] 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-06-18 21:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:47: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-06-18 21:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:47: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-06-18 21:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 21:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:47:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:47:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":106411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:47:00] local.INFO: GPS data processed {"connection_id":106411,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:47:00] local.INFO: Acknowledgment sent {"connection_id":106411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:47:05] local.INFO: TCP Data received {"connection_id":107023,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb846720012d196500071fefc80040006227..."} 
[2026-06-18 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb846720012d196500071fefc80040006227..."} 
[2026-06-18 21:47:05] local.INFO: Processing buffer {"connection_id":107023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb846720012d196500071fefc80040006227..."} 
[2026-06-18 21:47:05] local.INFO: Packet analysis {"connection_id":107023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:47:05] local.INFO: Extracted packet for processing {"connection_id":107023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140556032001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781799348000,"timestamp_ms":1781799348000,"timestamp_seconds":1781799348,"priority":1,"record_length":96,"hex_timestamp":"0000019edb846720"} 
[2026-06-18 21:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140556032001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140556032001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:47:05] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140556032001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":107023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:47:05] local.INFO: GPS data processed {"connection_id":107023,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:47:05] local.INFO: Acknowledgment sent {"connection_id":107023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:47:09] local.INFO: TCP Data received {"connection_id":107023,"ip":"117.224.105.184","data_length":795,"data_hex":"000000000000030f8e0a0000019edb846720012d196500071fefc80040006227..."} 
[2026-06-18 21:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb846720012d196500071fefc80040006227..."} 
[2026-06-18 21:47:09] local.INFO: Processing buffer {"connection_id":107023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb846720012d196500071fefc80040006227..."} 
[2026-06-18 21:47:09] local.INFO: Packet analysis {"connection_id":107023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:47:09] local.INFO: Extracted packet for processing {"connection_id":107023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:47:09] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533512,"longitude_deg":75.6638976,"latitude_deg":11.9533512,"altitude":64,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071fefc8","is_valid_coordinates":true} 
[2026-06-18 21:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140556032001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3372352486244352,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196553728,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781799348000,"timestamp_ms":1781799348000,"timestamp_seconds":1781799348,"priority":1,"record_length":96,"hex_timestamp":"0000019edb846720"} 
[2026-06-18 21:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 21:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-06-18 21:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.105.184","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-06-18 21:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-06-18 21:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140556032001,"66":2166,"71":206,"28":31744,"24":0,"16":3372352486244352,"45":1829868854196553728},"client_ip":"117.224.105.184","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,28,24,16,45]} 
[2026-06-18 21:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-06-18 21:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-06-18 21:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140556032001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:47:09] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-06-18 21:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-06-18 21:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3372352486244352,"km_value":3372352486244.352,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196553728,"description":"Unknown IO ID 45"} 
[2026-06-18 21:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140556032001,"power":2166,"unknown_71":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196553728}} 
[2026-06-18 21:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":107023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:47:09] local.INFO: GPS data processed {"connection_id":107023,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:47:09] local.INFO: Acknowledgment sent {"connection_id":107023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:47:16] local.INFO: TCP Data received {"connection_id":107022,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:47:16] local.INFO: Processing buffer {"connection_id":107022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:47:16] local.INFO: Packet analysis {"connection_id":107022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:47:16] local.INFO: Extracted packet for processing {"connection_id":107022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:47:16] 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-06-18 21:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:47:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:47:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":107022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:47:16] local.INFO: GPS data processed {"connection_id":107022,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:47:16] local.INFO: Acknowledgment sent {"connection_id":107022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:47:23] local.INFO: TCP Data received {"connection_id":107952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:47:23] local.INFO: Processing buffer {"connection_id":107952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:47:23] local.INFO: IMEI packet received {"connection_id":107952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":107952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:47:29] local.INFO: TCP Data received {"connection_id":107952,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:47:29] local.INFO: Processing buffer {"connection_id":107952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:47:29] local.INFO: IMEI packet received {"connection_id":107952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":107952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:47:30] local.INFO: TCP Data received {"connection_id":107952,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:47:30] local.INFO: Processing buffer {"connection_id":107952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:47:30] local.INFO: Packet analysis {"connection_id":107952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:47:30] local.INFO: Extracted packet for processing {"connection_id":107952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:47:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:30] 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-06-18 21:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:47:30] 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-06-18 21:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:47:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:47:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:47:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":107952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:47:30] local.INFO: GPS data processed {"connection_id":107952,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:47:30] local.INFO: Acknowledgment sent {"connection_id":107952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:47:32] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:47:32] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:47:32] local.INFO: IMEI packet received {"connection_id":106230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":106230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:47:38] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:47:38] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:47:38] local.INFO: IMEI packet received {"connection_id":106230,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":106230,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:47:39] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:47:39] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:47:39] local.INFO: Packet analysis {"connection_id":106230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:47:39] local.INFO: Extracted packet for processing {"connection_id":106230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:47: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-06-18 21:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:47:39] 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-06-18 21:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:47:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":106230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:47:39] local.INFO: GPS data processed {"connection_id":106230,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:47:39] local.INFO: Acknowledgment sent {"connection_id":106230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:47:49] local.INFO: TCP Data received {"connection_id":107953,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:47:49] local.INFO: Processing buffer {"connection_id":107953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:47:49] local.INFO: IMEI packet received {"connection_id":107953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-06-18 21:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":107953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:47:56] local.INFO: TCP Data received {"connection_id":107953,"ip":"117.224.105.184","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:47:56] local.INFO: Processing buffer {"connection_id":107953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-06-18 21:47:56] local.INFO: IMEI packet received {"connection_id":107953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-06-18 21:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":107953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:48:01] local.INFO: TCP Data received {"connection_id":107952,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:48:01] local.INFO: Processing buffer {"connection_id":107952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:48:01] local.INFO: Packet analysis {"connection_id":107952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:48:01] local.INFO: Extracted packet for processing {"connection_id":107952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:48:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:01] 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-06-18 21:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:48: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-06-18 21:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:48:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:48:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:48:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":107952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:48:01] local.INFO: GPS data processed {"connection_id":107952,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:48:01] local.INFO: Acknowledgment sent {"connection_id":107952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:48:11] local.INFO: TCP Data received {"connection_id":106230,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:11] local.INFO: Processing buffer {"connection_id":106230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:11] local.INFO: Packet analysis {"connection_id":106230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:48:11] local.INFO: Extracted packet for processing {"connection_id":106230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:48:11] 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-06-18 21:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106230,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:48:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":106230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:48:11] local.INFO: GPS data processed {"connection_id":106230,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:48:11] local.INFO: Acknowledgment sent {"connection_id":106230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:48:23] local.INFO: TCP Data received {"connection_id":106231,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:48:23] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:48:23] local.INFO: IMEI packet received {"connection_id":106231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":106231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:48:29] local.INFO: TCP Data received {"connection_id":106231,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:48:29] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:48:29] local.INFO: IMEI packet received {"connection_id":106231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":106231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:48:29] local.INFO: TCP Data received {"connection_id":106231,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:48:29] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb81d6e0012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:48:29] local.INFO: Packet analysis {"connection_id":106231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:48:29] local.INFO: Extracted packet for processing {"connection_id":106231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb81"} 
[2026-06-18 21:48:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140513024001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:29] 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-06-18 21:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799180000,"timestamp_ms":1781799180000,"timestamp_seconds":1781799180,"priority":1,"record_length":96,"hex_timestamp":"0000019edb81d6e0"} 
[2026-06-18 21:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:48:29] 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-06-18 21:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140513024001,"66":25604,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140513024001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:48:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140513024001,"power":25604,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":106231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:48:29] local.INFO: GPS data processed {"connection_id":106231,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:48:29] local.INFO: Acknowledgment sent {"connection_id":106231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:48:34] local.INFO: TCP Data received {"connection_id":106412,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:48:34] local.INFO: Processing buffer {"connection_id":106412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:48:34] local.INFO: IMEI packet received {"connection_id":106412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":106412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:48:38] local.INFO: TCP Data received {"connection_id":107024,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:48:38] local.INFO: Processing buffer {"connection_id":107024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:48:38] local.INFO: IMEI packet received {"connection_id":107024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":107024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:48:40] local.INFO: TCP Data received {"connection_id":106412,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106412,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:48:40] local.INFO: Processing buffer {"connection_id":106412,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:48:40] local.INFO: IMEI packet received {"connection_id":106412,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":106412,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:48:40] local.INFO: TCP Data received {"connection_id":106412,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:48:40] local.INFO: Processing buffer {"connection_id":106412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:48:40] local.INFO: Packet analysis {"connection_id":106412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:48:40] local.INFO: Extracted packet for processing {"connection_id":106412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:48:40] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:40] 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-06-18 21:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106412,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:48:40] 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-06-18 21:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:48:40] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":106412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347203,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:48:40] local.INFO: GPS data processed {"connection_id":106412,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:48:40] local.INFO: Acknowledgment sent {"connection_id":106412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:48:43] local.INFO: TCP Data received {"connection_id":107024,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:48:43] local.INFO: Processing buffer {"connection_id":107024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:48:43] local.INFO: IMEI packet received {"connection_id":107024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":107024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:48:49] local.INFO: TCP Data received {"connection_id":107024,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:49] local.INFO: Processing buffer {"connection_id":107024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:49] local.INFO: Packet analysis {"connection_id":107024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:48:49] local.INFO: Extracted packet for processing {"connection_id":107024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:48:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:48:49] 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-06-18 21:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:48:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:48:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":107024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:48:49] local.INFO: GPS data processed {"connection_id":107024,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:48:49] local.INFO: Acknowledgment sent {"connection_id":107024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:48:55] local.INFO: TCP Data received {"connection_id":107024,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:55] local.INFO: Processing buffer {"connection_id":107024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:48:55] local.INFO: Packet analysis {"connection_id":107024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:48:55] local.INFO: Extracted packet for processing {"connection_id":107024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":107024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":107024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":107024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:48:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":107024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:48:55] local.INFO: GPS data processed {"connection_id":107024,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:48:55] local.INFO: Acknowledgment sent {"connection_id":107024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:49:00] local.INFO: TCP Data received {"connection_id":106231,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:49:00] local.INFO: Processing buffer {"connection_id":106231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:49:00] local.INFO: Packet analysis {"connection_id":106231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:49:00] local.INFO: Extracted packet for processing {"connection_id":106231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:49:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:00] 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-06-18 21:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:49:00] 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-06-18 21:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:49:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":106231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:49:00] local.INFO: GPS data processed {"connection_id":106231,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:49:00] local.INFO: Acknowledgment sent {"connection_id":106231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:49:04] local.INFO: TCP Data received {"connection_id":107954,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:49:04] local.INFO: Processing buffer {"connection_id":107954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:49:04] local.INFO: IMEI packet received {"connection_id":107954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":107954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:49:10] local.INFO: TCP Data received {"connection_id":107954,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107954,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:49:10] local.INFO: Processing buffer {"connection_id":107954,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:49:10] local.INFO: IMEI packet received {"connection_id":107954,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":107954,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:49:11] local.INFO: TCP Data received {"connection_id":107954,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:49:11] local.INFO: Processing buffer {"connection_id":107954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:49:11] local.INFO: Packet analysis {"connection_id":107954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:49:11] local.INFO: Extracted packet for processing {"connection_id":107954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:49:11] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:11] 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-06-18 21:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:49:11] 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-06-18 21:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:49:11] 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-06-18 21:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:49:11] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":107954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347207,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:49:11] local.INFO: GPS data processed {"connection_id":107954,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:49:11] local.INFO: Acknowledgment sent {"connection_id":107954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:49:23] local.INFO: TCP Data received {"connection_id":106232,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:49:23] local.INFO: Processing buffer {"connection_id":106232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:49:23] local.INFO: IMEI packet received {"connection_id":106232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":106232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:49:29] local.INFO: TCP Data received {"connection_id":106232,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:49:29] local.INFO: Processing buffer {"connection_id":106232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:49:29] local.INFO: IMEI packet received {"connection_id":106232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":106232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:49:29] local.INFO: TCP Data received {"connection_id":106232,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:49:29] local.INFO: Processing buffer {"connection_id":106232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:49:29] local.INFO: Packet analysis {"connection_id":106232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:49:29] local.INFO: Extracted packet for processing {"connection_id":106232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:49:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:29] 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-06-18 21:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:49: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-06-18 21:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:49:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":106232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:49:29] local.INFO: GPS data processed {"connection_id":106232,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:49:29] local.INFO: Acknowledgment sent {"connection_id":106232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:49:33] local.INFO: TCP Data received {"connection_id":107025,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:49:33] local.INFO: Processing buffer {"connection_id":107025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:49:33] local.INFO: IMEI packet received {"connection_id":107025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":107025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:49:38] local.INFO: TCP Data received {"connection_id":107025,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:49:38] local.INFO: Processing buffer {"connection_id":107025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:49:38] local.INFO: IMEI packet received {"connection_id":107025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":107025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:49:39] local.INFO: TCP Data received {"connection_id":107025,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:49:39] local.INFO: Processing buffer {"connection_id":107025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:49:39] local.INFO: Packet analysis {"connection_id":107025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:49:39] local.INFO: Extracted packet for processing {"connection_id":107025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:49: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-06-18 21:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:49:39] 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-06-18 21:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:49:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":107025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:49:40] local.INFO: GPS data processed {"connection_id":107025,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:49:40] local.INFO: Acknowledgment sent {"connection_id":107025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:49:42] local.INFO: TCP Data received {"connection_id":107954,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:49:42] local.INFO: Processing buffer {"connection_id":107954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:49:42] local.INFO: Packet analysis {"connection_id":107954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:49:42] local.INFO: Extracted packet for processing {"connection_id":107954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:49:42] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:49:42] 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-06-18 21:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107954,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:49:42] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":107954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347210,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:49:42] local.INFO: GPS data processed {"connection_id":107954,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:49:42] local.INFO: Acknowledgment sent {"connection_id":107954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:50:00] local.INFO: TCP Data received {"connection_id":106232,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:50:00] local.INFO: Processing buffer {"connection_id":106232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:50:00] local.INFO: Packet analysis {"connection_id":106232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:50:00] local.INFO: Extracted packet for processing {"connection_id":106232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:50:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:00] 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-06-18 21:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:50: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-06-18 21:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:50:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":106232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:50:00] local.INFO: GPS data processed {"connection_id":106232,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:50:00] local.INFO: Acknowledgment sent {"connection_id":106232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:50:05] local.INFO: TCP Data received {"connection_id":107026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:50:05] local.INFO: Processing buffer {"connection_id":107026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:50:05] local.INFO: IMEI packet received {"connection_id":107026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":107026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:50:10] local.INFO: TCP Data received {"connection_id":107026,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:50:10] local.INFO: Processing buffer {"connection_id":107026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:50:10] local.INFO: IMEI packet received {"connection_id":107026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":107026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:50:11] local.INFO: TCP Data received {"connection_id":107026,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:50:11] local.INFO: Processing buffer {"connection_id":107026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:50:11] local.INFO: Packet analysis {"connection_id":107026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:50:11] local.INFO: Extracted packet for processing {"connection_id":107026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:50:11] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:11] 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-06-18 21:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:50:11] 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-06-18 21:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:50:11] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":107026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347212,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:50:11] local.INFO: GPS data processed {"connection_id":107026,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:50:11] local.INFO: Acknowledgment sent {"connection_id":107026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:50:11] local.INFO: TCP Data received {"connection_id":107025,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:50:11] local.INFO: Processing buffer {"connection_id":107025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:50:11] local.INFO: Packet analysis {"connection_id":107025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:50:11] local.INFO: Extracted packet for processing {"connection_id":107025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:50:11] 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-06-18 21:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107025,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:50:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":107025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:50:11] local.INFO: GPS data processed {"connection_id":107025,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:50:11] local.INFO: Acknowledgment sent {"connection_id":107025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:50:15] local.INFO: TCP Data received {"connection_id":107026,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:50:15] local.INFO: Processing buffer {"connection_id":107026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:50:15] local.INFO: Packet analysis {"connection_id":107026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:50:15] local.INFO: Extracted packet for processing {"connection_id":107026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:50:15] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:15] 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-06-18 21:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:50:15] 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-06-18 21:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:50:15] 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-06-18 21:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:50:15] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":107026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347214,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:50:15] local.INFO: GPS data processed {"connection_id":107026,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:50:15] local.INFO: Acknowledgment sent {"connection_id":107026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:50:24] local.INFO: TCP Data received {"connection_id":106413,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:50:24] local.INFO: Processing buffer {"connection_id":106413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:50:24] local.INFO: IMEI packet received {"connection_id":106413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":106413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:50:29] local.INFO: TCP Data received {"connection_id":106413,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:50:29] local.INFO: Processing buffer {"connection_id":106413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:50:29] local.INFO: IMEI packet received {"connection_id":106413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":106413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:50:30] local.INFO: TCP Data received {"connection_id":106413,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:50:30] local.INFO: Processing buffer {"connection_id":106413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:50:30] local.INFO: Packet analysis {"connection_id":106413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:50:30] local.INFO: Extracted packet for processing {"connection_id":106413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:30] 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-06-18 21:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:50: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-06-18 21:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:50:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:50:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:50:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":106413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:50:30] local.INFO: GPS data processed {"connection_id":106413,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:50:30] local.INFO: Acknowledgment sent {"connection_id":106413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:50:32] local.INFO: TCP Data received {"connection_id":107027,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:50:32] local.INFO: Processing buffer {"connection_id":107027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:50:32] local.INFO: IMEI packet received {"connection_id":107027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":107027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:50:38] local.INFO: TCP Data received {"connection_id":107027,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:50:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:50:38] local.INFO: Processing buffer {"connection_id":107027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:50:38] local.INFO: IMEI packet received {"connection_id":107027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:50:38] local.INFO: IMEI acknowledgment sent {"connection_id":107027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:50:39] local.INFO: TCP Data received {"connection_id":107027,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:50:39] local.INFO: Processing buffer {"connection_id":107027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:50:39] local.INFO: Packet analysis {"connection_id":107027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:50:39] local.INFO: Extracted packet for processing {"connection_id":107027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:50:39] 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-06-18 21:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:50:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:50:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:50:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":107027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:50:39] local.INFO: GPS data processed {"connection_id":107027,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:50:39] local.INFO: Acknowledgment sent {"connection_id":107027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:51:00] local.INFO: TCP Data received {"connection_id":107028,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:00] local.INFO: Processing buffer {"connection_id":107028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:00] local.INFO: IMEI packet received {"connection_id":107028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":107028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:51:01] local.INFO: TCP Data received {"connection_id":106413,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:51:01] local.INFO: Processing buffer {"connection_id":106413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:51:01] local.INFO: Packet analysis {"connection_id":106413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:51:01] local.INFO: Extracted packet for processing {"connection_id":106413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:51:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:01] 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-06-18 21:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:51:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:51: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-06-18 21:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:51:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:51:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:51:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":106413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:51:01] local.INFO: GPS data processed {"connection_id":106413,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:51:01] local.INFO: Acknowledgment sent {"connection_id":106413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:51:05] local.INFO: TCP Data received {"connection_id":107028,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107028,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:05] local.INFO: Processing buffer {"connection_id":107028,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:05] local.INFO: IMEI packet received {"connection_id":107028,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":107028,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:51:05] local.INFO: TCP Data received {"connection_id":107028,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:51:05] local.INFO: Processing buffer {"connection_id":107028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:51:05] local.INFO: Packet analysis {"connection_id":107028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:51:05] local.INFO: Extracted packet for processing {"connection_id":107028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:51:05] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:05] 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-06-18 21:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:51:05] 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-06-18 21:51:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:51:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:51:05] 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-06-18 21:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:51:05] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":107028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347218,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:51:05] local.INFO: GPS data processed {"connection_id":107028,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:51:05] local.INFO: Acknowledgment sent {"connection_id":107028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:51:11] local.INFO: TCP Data received {"connection_id":107027,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:11] local.INFO: Processing buffer {"connection_id":107027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb847aa8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:11] local.INFO: Packet analysis {"connection_id":107027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:51:11] local.INFO: Extracted packet for processing {"connection_id":107027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb84"} 
[2026-06-18 21:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140557056001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799353000,"timestamp_ms":1781799353000,"timestamp_seconds":1781799353,"priority":1,"record_length":96,"hex_timestamp":"0000019edb847aa8"} 
[2026-06-18 21:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:51:11] 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-06-18 21:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107027,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140557056001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140557056001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:51:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:51:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140557056001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":107027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347219,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:51:11] local.INFO: GPS data processed {"connection_id":107027,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:51:11] local.INFO: Acknowledgment sent {"connection_id":107027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:51:23] local.INFO: TCP Data received {"connection_id":106233,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:51:23] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:51:23] local.INFO: IMEI packet received {"connection_id":106233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":106233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:51:28] local.INFO: TCP Data received {"connection_id":106233,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:51:28] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:51:28] local.INFO: IMEI packet received {"connection_id":106233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":106233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:51:29] local.INFO: TCP Data received {"connection_id":106233,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:51:29] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:51:29] local.INFO: Packet analysis {"connection_id":106233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:51:29] local.INFO: Extracted packet for processing {"connection_id":106233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:51:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:29] 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-06-18 21:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:51:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":106233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:51:29] local.INFO: GPS data processed {"connection_id":106233,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:51:29] local.INFO: Acknowledgment sent {"connection_id":106233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:51:37] local.INFO: TCP Data received {"connection_id":107028,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:51:37] local.INFO: Processing buffer {"connection_id":107028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:51:37] local.INFO: Packet analysis {"connection_id":107028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:51:37] local.INFO: Extracted packet for processing {"connection_id":107028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:51:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:37] 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-06-18 21:51:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:51:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:51:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:51:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:51:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:51:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:51:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:51:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:51:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:51:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:51:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107028,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:51: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-06-18 21:51:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:51:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:51:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:51:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:51:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:51:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:51:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:51:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:51:37] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:51:37] local.INFO: DEBUG: GPS processor result {"connection_id":107028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347221,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:51:37] local.INFO: GPS data processed {"connection_id":107028,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:51:37] local.INFO: Acknowledgment sent {"connection_id":107028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:51:38] local.INFO: TCP Data received {"connection_id":106414,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:51:38] local.INFO: Processing buffer {"connection_id":106414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:51:38] local.INFO: IMEI packet received {"connection_id":106414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":106414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:51:43] local.INFO: TCP Data received {"connection_id":106414,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:51:43] local.INFO: Processing buffer {"connection_id":106414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:51:43] local.INFO: IMEI packet received {"connection_id":106414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":106414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:51:45] local.INFO: TCP Data received {"connection_id":106414,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:45] local.INFO: Processing buffer {"connection_id":106414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:45] local.INFO: Packet analysis {"connection_id":106414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:51:45] local.INFO: Extracted packet for processing {"connection_id":106414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:51:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":106414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:51:45] local.INFO: GPS data processed {"connection_id":106414,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:51:45] local.INFO: Acknowledgment sent {"connection_id":106414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:51:48] local.INFO: TCP Data received {"connection_id":106414,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:48] local.INFO: Processing buffer {"connection_id":106414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:51:48] local.INFO: Packet analysis {"connection_id":106414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:51:48] local.INFO: Extracted packet for processing {"connection_id":106414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:51:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:51:48] 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-06-18 21:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:51:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:51:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":106414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:51:48] local.INFO: GPS data processed {"connection_id":106414,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:51:48] local.INFO: Acknowledgment sent {"connection_id":106414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:51:59] local.INFO: TCP Data received {"connection_id":106234,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:59] local.INFO: Processing buffer {"connection_id":106234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:51:59] local.INFO: IMEI packet received {"connection_id":106234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":106234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:52:00] local.INFO: TCP Data received {"connection_id":106233,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:52:00] local.INFO: Processing buffer {"connection_id":106233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:52:00] local.INFO: Packet analysis {"connection_id":106233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:52:00] local.INFO: Extracted packet for processing {"connection_id":106233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:52:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:00] 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-06-18 21:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:52:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":106233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:52:00] local.INFO: GPS data processed {"connection_id":106233,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:52:00] local.INFO: Acknowledgment sent {"connection_id":106233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:52:05] local.INFO: TCP Data received {"connection_id":106234,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106234,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:52:05] local.INFO: Processing buffer {"connection_id":106234,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:52:05] local.INFO: IMEI packet received {"connection_id":106234,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":106234,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:52:06] local.INFO: TCP Data received {"connection_id":106234,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:52:06] local.INFO: Processing buffer {"connection_id":106234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:52:06] local.INFO: Packet analysis {"connection_id":106234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:52:06] local.INFO: Extracted packet for processing {"connection_id":106234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:52:06] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:52:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:06] 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-06-18 21:52:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:52:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:52:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:52:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:52:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:52:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:52:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:52:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:52:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:52:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:52:06] 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-06-18 21:52:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:52:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:52:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:52:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:52:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:52:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:52:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:52:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:52:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:52:06] local.INFO: DEBUG: GPS processor result {"connection_id":106234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347225,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:52:06] local.INFO: GPS data processed {"connection_id":106234,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:52:06] local.INFO: Acknowledgment sent {"connection_id":106234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:52:23] local.INFO: TCP Data received {"connection_id":107955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:52:23] local.INFO: Processing buffer {"connection_id":107955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:52:23] local.INFO: IMEI packet received {"connection_id":107955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:52:23] local.INFO: IMEI acknowledgment sent {"connection_id":107955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:52:29] local.INFO: TCP Data received {"connection_id":107955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:52:29] local.INFO: Processing buffer {"connection_id":107955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:52:29] local.INFO: IMEI packet received {"connection_id":107955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":107955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:52:29] local.INFO: TCP Data received {"connection_id":107955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:52:29] local.INFO: Processing buffer {"connection_id":107955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:52:29] local.INFO: Packet analysis {"connection_id":107955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:52:29] local.INFO: Extracted packet for processing {"connection_id":107955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:52:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:29] 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-06-18 21:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:52:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":107955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:52:30] local.INFO: GPS data processed {"connection_id":107955,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:52:30] local.INFO: Acknowledgment sent {"connection_id":107955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:52:32] local.INFO: TCP Data received {"connection_id":106235,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:52:32] local.INFO: Processing buffer {"connection_id":106235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:52:32] local.INFO: IMEI packet received {"connection_id":106235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":106235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:52:37] local.INFO: TCP Data received {"connection_id":106234,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:52:37] local.INFO: Processing buffer {"connection_id":106234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb78da18012da354c005f79c60001d00cb2b..."} 
[2026-06-18 21:52:37] local.INFO: Packet analysis {"connection_id":106234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:52:37] local.INFO: Extracted packet for processing {"connection_id":106234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb78"} 
[2026-06-18 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140362240001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:37] 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-06-18 21:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781798591000,"timestamp_ms":1781798591000,"timestamp_seconds":1781798591,"priority":1,"record_length":96,"hex_timestamp":"0000019edb78da18"} 
[2026-06-18 21:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:52:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 21:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106234,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:52:37] 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-06-18 21:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140362240001,"66":2231,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 21:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140362240001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:52:37] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456140362240001,"power":2231,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":106234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347227,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:52:37] local.INFO: GPS data processed {"connection_id":106234,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:52:37] local.INFO: Acknowledgment sent {"connection_id":106234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:52:37] local.INFO: TCP Data received {"connection_id":106235,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:52:37] local.INFO: Processing buffer {"connection_id":106235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:52:37] local.INFO: IMEI packet received {"connection_id":106235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":106235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:52:39] local.INFO: TCP Data received {"connection_id":106235,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:52:39] local.INFO: Processing buffer {"connection_id":106235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:52:39] local.INFO: Packet analysis {"connection_id":106235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:52:39] local.INFO: Extracted packet for processing {"connection_id":106235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:52: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-06-18 21:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:52:39] 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-06-18 21:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:52:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:52:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":106235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:52:39] local.INFO: GPS data processed {"connection_id":106235,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:52:39] local.INFO: Acknowledgment sent {"connection_id":106235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:52:59] local.INFO: TCP Data received {"connection_id":107956,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:52:59] local.INFO: Processing buffer {"connection_id":107956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:52:59] local.INFO: IMEI packet received {"connection_id":107956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":107956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:53:00] local.INFO: TCP Data received {"connection_id":107955,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:53:00] local.INFO: Processing buffer {"connection_id":107955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:53:00] local.INFO: Packet analysis {"connection_id":107955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:53:00] local.INFO: Extracted packet for processing {"connection_id":107955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:53:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:00] 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-06-18 21:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:53:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":107955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:53:00] local.INFO: GPS data processed {"connection_id":107955,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:53:00] local.INFO: Acknowledgment sent {"connection_id":107955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:53:05] local.INFO: TCP Data received {"connection_id":107956,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107956,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:53:05] local.INFO: Processing buffer {"connection_id":107956,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:53:05] local.INFO: IMEI packet received {"connection_id":107956,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":107956,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:53:06] local.INFO: TCP Data received {"connection_id":107956,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:53:06] local.INFO: Processing buffer {"connection_id":107956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:53:06] local.INFO: Packet analysis {"connection_id":107956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8a"} 
[2026-06-18 21:53:06] local.INFO: Extracted packet for processing {"connection_id":107956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8a"} 
[2026-06-18 21:53:06] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:53:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140439296001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:53:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781799773000,"timestamp_ms":1781799773000,"timestamp_seconds":1781799773,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8ae348"} 
[2026-06-18 21:53:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:53:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 21:53:06] 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-06-18 21: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-06-18 21:53:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:53:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:53:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:53:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:53:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:53:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:53:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:53:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:53:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140439296001,"66":2220,"203":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,88,24,16,45]} 
[2026-06-18 21:53:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:53:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:53:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140439296001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:53:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:53:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:53:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:53:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140439296001,"power":2220,"mnc":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:53:06] local.INFO: DEBUG: GPS processor result {"connection_id":107956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347230,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:53:06] local.INFO: GPS data processed {"connection_id":107956,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:53:06] local.INFO: Acknowledgment sent {"connection_id":107956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:53:16] local.INFO: TCP Data received {"connection_id":106235,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:53:16] local.INFO: Processing buffer {"connection_id":106235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:53:16] local.INFO: Packet analysis {"connection_id":106235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:53:16] local.INFO: Extracted packet for processing {"connection_id":106235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:53:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:53:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:53:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:53:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:53:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:53:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:53:16] 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-06-18 21:53:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:53:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:53:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:53:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:53:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:53:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:53:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:53:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:53:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:53:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:53:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:53:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:53:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:53:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:53:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:53:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:53:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:53:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:53:16] local.INFO: DEBUG: GPS processor result {"connection_id":106235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:53:16] local.INFO: GPS data processed {"connection_id":106235,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:53:16] local.INFO: Acknowledgment sent {"connection_id":106235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:53:23] local.INFO: TCP Data received {"connection_id":107957,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:53:23] local.INFO: Processing buffer {"connection_id":107957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:53:23] local.INFO: IMEI packet received {"connection_id":107957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":107957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:53:29] local.INFO: TCP Data received {"connection_id":107957,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:53:29] local.INFO: Processing buffer {"connection_id":107957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:53:29] local.INFO: IMEI packet received {"connection_id":107957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":107957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:53:29] local.INFO: TCP Data received {"connection_id":107957,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:53:29] local.INFO: Processing buffer {"connection_id":107957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb866ea8012cc3308007685ac8005a006d29..."} 
[2026-06-18 21:53:29] local.INFO: Packet analysis {"connection_id":107957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:53:29] local.INFO: Extracted packet for processing {"connection_id":107957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb86"} 
[2026-06-18 21:53:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140590080001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:29] 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-06-18 21:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799481000,"timestamp_ms":1781799481000,"timestamp_seconds":1781799481,"priority":1,"record_length":96,"hex_timestamp":"0000019edb866ea8"} 
[2026-06-18 21:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 21:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140590080001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140590080001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:53:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140590080001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":107957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:53:29] local.INFO: GPS data processed {"connection_id":107957,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:53:29] local.INFO: Acknowledgment sent {"connection_id":107957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:53:37] local.INFO: TCP Data received {"connection_id":107956,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:53:37] local.INFO: Processing buffer {"connection_id":107956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:53:37] local.INFO: Packet analysis {"connection_id":107956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8a"} 
[2026-06-18 21:53:37] local.INFO: Extracted packet for processing {"connection_id":107956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8a"} 
[2026-06-18 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140439296001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781799773000,"timestamp_ms":1781799773000,"timestamp_seconds":1781799773,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8ae348"} 
[2026-06-18 21:53:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:53:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 21:53:37] 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-06-18 21:53:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:53:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107956,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:53:37] 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-06-18 21:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140439296001,"66":2220,"203":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,88,24,16,45]} 
[2026-06-18 21:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140439296001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:53:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140439296001,"power":2220,"mnc":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":107956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347233,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:53:37] local.INFO: GPS data processed {"connection_id":107956,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:53:37] local.INFO: Acknowledgment sent {"connection_id":107956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:53:38] local.INFO: TCP Data received {"connection_id":107029,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:53:38] local.INFO: Processing buffer {"connection_id":107029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:53:38] local.INFO: IMEI packet received {"connection_id":107029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":107029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:53:43] local.INFO: TCP Data received {"connection_id":107029,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:53:43] local.INFO: Processing buffer {"connection_id":107029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:53:43] local.INFO: IMEI packet received {"connection_id":107029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:53:43] local.INFO: IMEI acknowledgment sent {"connection_id":107029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:53:45] local.INFO: TCP Data received {"connection_id":107029,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:53:45] local.INFO: Processing buffer {"connection_id":107029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:53:45] local.INFO: Packet analysis {"connection_id":107029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:53:45] local.INFO: Extracted packet for processing {"connection_id":107029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:53:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:53:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:53:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:53:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:53:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:53:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:53:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":107029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:53:45] local.INFO: GPS data processed {"connection_id":107029,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:53:45] local.INFO: Acknowledgment sent {"connection_id":107029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:53:59] local.INFO: TCP Data received {"connection_id":107030,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:53:59] local.INFO: Processing buffer {"connection_id":107030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:53:59] local.INFO: IMEI packet received {"connection_id":107030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 21:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":107030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:54:00] local.INFO: TCP Data received {"connection_id":107957,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:54:00] local.INFO: Processing buffer {"connection_id":107957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:54:00] local.INFO: Packet analysis {"connection_id":107957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:54:00] local.INFO: Extracted packet for processing {"connection_id":107957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:54:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 21:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:00] 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-06-18 21:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 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-06-18 21:54: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-06-18 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 21:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:54:00] 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-06-18 21:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:54:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":107957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:54:00] local.INFO: GPS data processed {"connection_id":107957,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:54:00] local.INFO: Acknowledgment sent {"connection_id":107957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:54:05] local.INFO: TCP Data received {"connection_id":107030,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:54:05] local.INFO: Processing buffer {"connection_id":107030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 21:54:05] local.INFO: IMEI packet received {"connection_id":107030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 21:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":107030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:54:05] local.INFO: TCP Data received {"connection_id":107030,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:54:05] local.INFO: Processing buffer {"connection_id":107030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8ae348012da354c005f79c60001d00cb29..."} 
[2026-06-18 21:54:05] local.INFO: Packet analysis {"connection_id":107030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8a"} 
[2026-06-18 21:54:05] local.INFO: Extracted packet for processing {"connection_id":107030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8a"} 
[2026-06-18 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":765678784,"raw_latitude":100113504,"longitude_deg":76.5678784,"latitude_deg":10.0113504,"altitude":29,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2da354c0","hex_latitude":"05f79c60","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140439296001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94310459548631040,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6677501215622012928,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781799773000,"timestamp_ms":1781799773000,"timestamp_seconds":1781799773,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8ae348"} 
[2026-06-18 21:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-06-18 21:54:05] 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-06-18 21: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-06-18 21:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 21:54:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 21:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 21:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140439296001,"66":2220,"203":206,"88":19456,"24":0,"16":94310459548631040,"45":-6677501215622012928},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,88,24,16,45]} 
[2026-06-18 21:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 21:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 21:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140439296001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:54:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":19456,"description":"Unknown IO ID 88"} 
[2026-06-18 21:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94310459548631040,"km_value":94310459548631.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6677501215622012928,"description":"Unknown IO ID 45"} 
[2026-06-18 21:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140439296001,"power":2220,"mnc":206,"unknown_88":19456,"ignition":0,"odometer":null,"unknown_45":-6677501215622012928}} 
[2026-06-18 21:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":107030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347236,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:54:05] local.INFO: GPS data processed {"connection_id":107030,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:54:05] local.INFO: Acknowledgment sent {"connection_id":107030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:54:17] local.INFO: TCP Data received {"connection_id":107029,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:54:17] local.INFO: Processing buffer {"connection_id":107029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:54:17] local.INFO: Packet analysis {"connection_id":107029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:54:17] local.INFO: Extracted packet for processing {"connection_id":107029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:54:17] 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-06-18 21:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107029,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:54:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:54:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":107029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:54:17] local.INFO: GPS data processed {"connection_id":107029,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:54:17] local.INFO: Acknowledgment sent {"connection_id":107029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:54:24] local.INFO: TCP Data received {"connection_id":107958,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:54:24] local.INFO: Processing buffer {"connection_id":107958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:54:24] local.INFO: IMEI packet received {"connection_id":107958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":107958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:54:29] local.INFO: TCP Data received {"connection_id":107958,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:54:29] local.INFO: Processing buffer {"connection_id":107958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:54:29] local.INFO: IMEI packet received {"connection_id":107958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":107958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:54:30] local.INFO: TCP Data received {"connection_id":107958,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:54:30] local.INFO: Processing buffer {"connection_id":107958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:54:30] local.INFO: Packet analysis {"connection_id":107958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:54:30] local.INFO: Extracted packet for processing {"connection_id":107958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:54:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:30] 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-06-18 21:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:54:30] 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-06-18 21:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:54:30] 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-06-18 21:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:54:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:54:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":107958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:54:30] local.INFO: GPS data processed {"connection_id":107958,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:54:30] local.INFO: Acknowledgment sent {"connection_id":107958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:54:33] local.INFO: TCP Data received {"connection_id":107959,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:54:33] local.INFO: Processing buffer {"connection_id":107959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:54:33] local.INFO: IMEI packet received {"connection_id":107959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":107959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:54:38] local.INFO: TCP Data received {"connection_id":107959,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:54:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:54:38] local.INFO: Processing buffer {"connection_id":107959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:54:38] local.INFO: IMEI packet received {"connection_id":107959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:54:38] local.INFO: IMEI acknowledgment sent {"connection_id":107959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:54:39] local.INFO: TCP Data received {"connection_id":107959,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:54:39] local.INFO: Processing buffer {"connection_id":107959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:54:39] local.INFO: Packet analysis {"connection_id":107959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:54:39] local.INFO: Extracted packet for processing {"connection_id":107959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:54:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:54: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-06-18 21:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:54:39] 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-06-18 21:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:54:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:54:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":107959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:54:39] local.INFO: GPS data processed {"connection_id":107959,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:54:39] local.INFO: Acknowledgment sent {"connection_id":107959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:55:00] local.INFO: TCP Data received {"connection_id":107958,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:55:01] local.INFO: Processing buffer {"connection_id":107958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:55:01] local.INFO: Packet analysis {"connection_id":107958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:55:01] local.INFO: Extracted packet for processing {"connection_id":107958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:55:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:01] 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-06-18 21:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:55:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:55:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":107958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:55:01] local.INFO: GPS data processed {"connection_id":107958,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:55:01] local.INFO: Acknowledgment sent {"connection_id":107958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:55:11] local.INFO: TCP Data received {"connection_id":107959,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:55:11] local.INFO: Processing buffer {"connection_id":107959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:55:11] local.INFO: Packet analysis {"connection_id":107959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:55:11] local.INFO: Extracted packet for processing {"connection_id":107959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:55:11] 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-06-18 21:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107959,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:55:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:55:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":107959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:55:11] local.INFO: GPS data processed {"connection_id":107959,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:55:11] local.INFO: Acknowledgment sent {"connection_id":107959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:55:24] local.INFO: TCP Data received {"connection_id":106415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:55:24] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:55:24] local.INFO: IMEI packet received {"connection_id":106415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:55:24] local.INFO: IMEI acknowledgment sent {"connection_id":106415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:55:29] local.INFO: TCP Data received {"connection_id":106415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:55:29] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:55:29] local.INFO: IMEI packet received {"connection_id":106415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":106415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:55:29] local.INFO: TCP Data received {"connection_id":106415,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:55:29] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:55:29] local.INFO: Packet analysis {"connection_id":106415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:55:29] local.INFO: Extracted packet for processing {"connection_id":106415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:55:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:29] 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-06-18 21:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21: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-06-18 21:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 21:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:55:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":106415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:55:29] local.INFO: GPS data processed {"connection_id":106415,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:55:29] local.INFO: Acknowledgment sent {"connection_id":106415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:55:32] local.INFO: TCP Data received {"connection_id":106236,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:55:32] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:55:32] local.INFO: IMEI packet received {"connection_id":106236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":106236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:55:38] local.INFO: TCP Data received {"connection_id":106236,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:55:38] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:55:38] local.INFO: IMEI packet received {"connection_id":106236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":106236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:55:39] local.INFO: TCP Data received {"connection_id":106236,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:55:39] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:55:39] local.INFO: Packet analysis {"connection_id":106236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:55:39] local.INFO: Extracted packet for processing {"connection_id":106236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:55: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-06-18 21:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:55:39] 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-06-18 21:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:55:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:55:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":106236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347243,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:55:39] local.INFO: GPS data processed {"connection_id":106236,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:55:39] local.INFO: Acknowledgment sent {"connection_id":106236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:56:00] local.INFO: TCP Data received {"connection_id":106415,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:56:00] local.INFO: Processing buffer {"connection_id":106415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:56:00] local.INFO: Packet analysis {"connection_id":106415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:56:00] local.INFO: Extracted packet for processing {"connection_id":106415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:56:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:00] 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-06-18 21:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:56: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-06-18 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:56: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-06-18 21:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 21:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:56:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":106415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:56:00] local.INFO: GPS data processed {"connection_id":106415,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:56:00] local.INFO: Acknowledgment sent {"connection_id":106415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:56:11] local.INFO: TCP Data received {"connection_id":106236,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:56:11] local.INFO: Processing buffer {"connection_id":106236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb891658012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:56:11] local.INFO: Packet analysis {"connection_id":106236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:56:11] local.INFO: Extracted packet for processing {"connection_id":106236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb89"} 
[2026-06-18 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140634368001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799655000,"timestamp_ms":1781799655000,"timestamp_seconds":1781799655,"priority":1,"record_length":96,"hex_timestamp":"0000019edb891658"} 
[2026-06-18 21:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 21:56:11] 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-06-18 21:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106236,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140634368001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140634368001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:56:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140634368001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":106236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:56:11] local.INFO: GPS data processed {"connection_id":106236,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:56:11] local.INFO: Acknowledgment sent {"connection_id":106236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:56:24] local.INFO: TCP Data received {"connection_id":107031,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:56:24] local.INFO: Processing buffer {"connection_id":107031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:56:24] local.INFO: IMEI packet received {"connection_id":107031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":107031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:56:29] local.INFO: TCP Data received {"connection_id":107031,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:56:29] local.INFO: Processing buffer {"connection_id":107031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:56:29] local.INFO: IMEI packet received {"connection_id":107031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":107031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:56:29] local.INFO: TCP Data received {"connection_id":107031,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:56:29] local.INFO: Processing buffer {"connection_id":107031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:56:29] local.INFO: Packet analysis {"connection_id":107031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:56:29] local.INFO: Extracted packet for processing {"connection_id":107031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:29] 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-06-18 21:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:56: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-06-18 21:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:56:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":107031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:56:29] local.INFO: GPS data processed {"connection_id":107031,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:56:29] local.INFO: Acknowledgment sent {"connection_id":107031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:56:32] local.INFO: TCP Data received {"connection_id":107032,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:56:32] local.INFO: Processing buffer {"connection_id":107032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:56:32] local.INFO: IMEI packet received {"connection_id":107032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":107032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:56:37] local.INFO: TCP Data received {"connection_id":107032,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107032,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:56:37] local.INFO: Processing buffer {"connection_id":107032,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:56:37] local.INFO: IMEI packet received {"connection_id":107032,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:56:37] local.INFO: IMEI acknowledgment sent {"connection_id":107032,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:56:39] local.INFO: TCP Data received {"connection_id":107032,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:56:39] local.INFO: Processing buffer {"connection_id":107032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:56:39] local.INFO: Packet analysis {"connection_id":107032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:56:39] local.INFO: Extracted packet for processing {"connection_id":107032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 21:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:56: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-06-18 21:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:56: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-06-18 21:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:56:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:56:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":107032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:56:39] local.INFO: GPS data processed {"connection_id":107032,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:56:39] local.INFO: Acknowledgment sent {"connection_id":107032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:57:00] local.INFO: TCP Data received {"connection_id":107031,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:57:00] local.INFO: Processing buffer {"connection_id":107031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:57:00] local.INFO: Packet analysis {"connection_id":107031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:57:00] local.INFO: Extracted packet for processing {"connection_id":107031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:57:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:00] 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-06-18 21:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:57: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-06-18 21:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:57: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-06-18 21:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:57:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":107031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:57:00] local.INFO: GPS data processed {"connection_id":107031,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:57:00] local.INFO: Acknowledgment sent {"connection_id":107031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:57:10] local.INFO: TCP Data received {"connection_id":107032,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:57:10] local.INFO: Processing buffer {"connection_id":107032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:57:10] local.INFO: Packet analysis {"connection_id":107032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:57:10] local.INFO: Extracted packet for processing {"connection_id":107032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 21:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107032,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:57:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:57:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":107032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:57:10] local.INFO: GPS data processed {"connection_id":107032,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:57:10] local.INFO: Acknowledgment sent {"connection_id":107032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:57:23] local.INFO: TCP Data received {"connection_id":106237,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:57:23] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:57:23] local.INFO: IMEI packet received {"connection_id":106237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":106237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:57:29] local.INFO: TCP Data received {"connection_id":106237,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:57:29] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:57:29] local.INFO: IMEI packet received {"connection_id":106237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":106237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:57:29] local.INFO: TCP Data received {"connection_id":106237,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:57:29] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:57:29] local.INFO: Packet analysis {"connection_id":106237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:57:29] local.INFO: Extracted packet for processing {"connection_id":106237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:57:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:29] 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-06-18 21:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:57:29] 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-06-18 21:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:57:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":106237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:57:29] local.INFO: GPS data processed {"connection_id":106237,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:57:29] local.INFO: Acknowledgment sent {"connection_id":106237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:57:33] local.INFO: TCP Data received {"connection_id":107960,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:57:33] local.INFO: Processing buffer {"connection_id":107960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:57:33] local.INFO: IMEI packet received {"connection_id":107960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":107960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:57:38] local.INFO: TCP Data received {"connection_id":107960,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:57:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:57:38] local.INFO: Processing buffer {"connection_id":107960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:57:38] local.INFO: IMEI packet received {"connection_id":107960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:57:38] local.INFO: IMEI acknowledgment sent {"connection_id":107960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:57:39] local.INFO: TCP Data received {"connection_id":107960,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:57:39] local.INFO: Processing buffer {"connection_id":107960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:57:39] local.INFO: Packet analysis {"connection_id":107960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:57:39] local.INFO: Extracted packet for processing {"connection_id":107960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:57:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:57:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:57:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:57:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 21:57:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:57: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-06-18 21:57:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:57: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-06-18 21:57:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:57:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:57:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:57:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:57:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:57:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:57:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:57:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:57:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:57:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:57:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:57:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:57:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:57:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:57:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:57:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:57:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:57:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:57:39] local.INFO: DEBUG: GPS processor result {"connection_id":107960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:57:39] local.INFO: GPS data processed {"connection_id":107960,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:57:39] local.INFO: Acknowledgment sent {"connection_id":107960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:58:01] local.INFO: TCP Data received {"connection_id":106237,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:58:01] local.INFO: Processing buffer {"connection_id":106237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:58:01] local.INFO: Packet analysis {"connection_id":106237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:58:01] local.INFO: Extracted packet for processing {"connection_id":106237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:58:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:01] 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-06-18 21:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:58:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:58:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:58:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":106237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:58:01] local.INFO: GPS data processed {"connection_id":106237,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:58:01] local.INFO: Acknowledgment sent {"connection_id":106237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:58:11] local.INFO: TCP Data received {"connection_id":107960,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:58:11] local.INFO: Processing buffer {"connection_id":107960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:58:11] local.INFO: Packet analysis {"connection_id":107960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:58:11] local.INFO: Extracted packet for processing {"connection_id":107960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:58:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 21:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:58:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:58:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21:58:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:58:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:58:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":107960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:58:11] local.INFO: GPS data processed {"connection_id":107960,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:58:11] local.INFO: Acknowledgment sent {"connection_id":107960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:58:23] local.INFO: TCP Data received {"connection_id":107961,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:58:23] local.INFO: Processing buffer {"connection_id":107961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:58:23] local.INFO: IMEI packet received {"connection_id":107961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":107961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:58:29] local.INFO: TCP Data received {"connection_id":107961,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:58:29] local.INFO: Processing buffer {"connection_id":107961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:58:29] local.INFO: IMEI packet received {"connection_id":107961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":107961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:58:29] local.INFO: TCP Data received {"connection_id":107961,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:58:29] local.INFO: Processing buffer {"connection_id":107961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8b0670012cc3308007685ac8005d006d2c..."} 
[2026-06-18 21:58:29] local.INFO: Packet analysis {"connection_id":107961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:58:29] local.INFO: Extracted packet for processing {"connection_id":107961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8b"} 
[2026-06-18 21:58:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140667136001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:29] 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-06-18 21:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781799782000,"timestamp_ms":1781799782000,"timestamp_seconds":1781799782,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8b0670"} 
[2026-06-18 21:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 21:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:58:29] 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-06-18 21:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140667136001,"66":25593,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140667136001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:58:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140667136001,"power":25593,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":107961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:58:29] local.INFO: GPS data processed {"connection_id":107961,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:58:29] local.INFO: Acknowledgment sent {"connection_id":107961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:58:33] local.INFO: TCP Data received {"connection_id":106238,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:58:33] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:58:33] local.INFO: IMEI packet received {"connection_id":106238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":106238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:58:38] local.INFO: TCP Data received {"connection_id":106238,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:58:38] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:58:38] local.INFO: IMEI packet received {"connection_id":106238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:58:38] local.INFO: IMEI acknowledgment sent {"connection_id":106238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:58:39] local.INFO: TCP Data received {"connection_id":106238,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:58:39] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:58:39] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:58:39] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:58:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 21:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:58: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-06-18 21:58:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:58: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-06-18 21:58:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:58:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:58:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347255,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:58:39] local.INFO: GPS data processed {"connection_id":106238,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:58:39] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:59:00] local.INFO: TCP Data received {"connection_id":107961,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:59:00] local.INFO: Processing buffer {"connection_id":107961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:59:00] local.INFO: Packet analysis {"connection_id":107961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 21:59:00] local.INFO: Extracted packet for processing {"connection_id":107961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 21:59:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:00] 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-06-18 21:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 21:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:59: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-06-18 21:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:59:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":107961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:59:00] local.INFO: GPS data processed {"connection_id":107961,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:59:00] local.INFO: Acknowledgment sent {"connection_id":107961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:59:11] local.INFO: TCP Data received {"connection_id":106238,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:59:11] local.INFO: Processing buffer {"connection_id":106238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:59:11] local.INFO: Packet analysis {"connection_id":106238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:59:11] local.INFO: Extracted packet for processing {"connection_id":106238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 21:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:59:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":106238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347257,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:59:11] local.INFO: GPS data processed {"connection_id":106238,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:59:11] local.INFO: Acknowledgment sent {"connection_id":106238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:59:23] local.INFO: TCP Data received {"connection_id":107962,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:59:23] local.INFO: Processing buffer {"connection_id":107962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:59:23] local.INFO: IMEI packet received {"connection_id":107962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 21:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":107962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:59:29] local.INFO: TCP Data received {"connection_id":107962,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:59:29] local.INFO: Processing buffer {"connection_id":107962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 21:59:29] local.INFO: IMEI packet received {"connection_id":107962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 21:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":107962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:59:30] local.INFO: TCP Data received {"connection_id":107962,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:59:30] local.INFO: Processing buffer {"connection_id":107962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 21:59:30] local.INFO: Packet analysis {"connection_id":107962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 21:59:30] local.INFO: Extracted packet for processing {"connection_id":107962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 21:59:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 21: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-06-18 21:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:30] 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-06-18 21:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 21:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 21: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 21:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 21: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-06-18 21:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 21:59: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-06-18 21:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 21:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 21:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 21:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 21:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 21:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:59:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 21:59:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 21:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:59:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 21:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 21:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":107962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:59:30] local.INFO: GPS data processed {"connection_id":107962,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:59:30] local.INFO: Acknowledgment sent {"connection_id":107962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 21:59:32] local.INFO: TCP Data received {"connection_id":106239,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:59:32] local.INFO: Processing buffer {"connection_id":106239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:59:32] local.INFO: IMEI packet received {"connection_id":106239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 21:59:32] local.INFO: IMEI acknowledgment sent {"connection_id":106239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 21:59:38] local.INFO: TCP Data received {"connection_id":106239,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:59:38] local.INFO: Processing buffer {"connection_id":106239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 21:59:38] local.INFO: IMEI packet received {"connection_id":106239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 21:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":106239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 21:59:39] local.INFO: TCP Data received {"connection_id":106239,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:59:39] local.INFO: Processing buffer {"connection_id":106239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 21:59:39] local.INFO: Packet analysis {"connection_id":106239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:59:39] local.INFO: Extracted packet for processing {"connection_id":106239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 21:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 21:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 21:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 21:59:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 21:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 21:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 21:59: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-06-18 21:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 21:59: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-06-18 21:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 21:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 21:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 21:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 21:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 21:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 21:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 21:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 21:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 21:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 21:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 21:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 21:59:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 21:59:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 21:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 21:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 21:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 21:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":106239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 21:59:39] local.INFO: GPS data processed {"connection_id":106239,"processed":1,"errors":0,"total":1} 
[2026-06-18 21:59:39] local.INFO: Acknowledgment sent {"connection_id":106239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:00:01] local.INFO: TCP Data received {"connection_id":107962,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:00:01] local.INFO: Processing buffer {"connection_id":107962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:00:01] local.INFO: Packet analysis {"connection_id":107962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:00:01] local.INFO: Extracted packet for processing {"connection_id":107962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:01] 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-06-18 22:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 22:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 22:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:00: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-06-18 22:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:00:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:00:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":107962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:00:01] local.INFO: GPS data processed {"connection_id":107962,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:00:01] local.INFO: Acknowledgment sent {"connection_id":107962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:00:11] local.INFO: TCP Data received {"connection_id":106239,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:00:11] local.INFO: Processing buffer {"connection_id":106239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:00:11] local.INFO: Packet analysis {"connection_id":106239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 22:00:11] local.INFO: Extracted packet for processing {"connection_id":106239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 22:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106239,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":106239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:00:11] local.INFO: GPS data processed {"connection_id":106239,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:00:11] local.INFO: Acknowledgment sent {"connection_id":106239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:00:24] local.INFO: TCP Data received {"connection_id":106416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:00:24] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:00:24] local.INFO: IMEI packet received {"connection_id":106416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":106416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:00:29] local.INFO: TCP Data received {"connection_id":106416,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:00:29] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:00:29] local.INFO: IMEI packet received {"connection_id":106416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":106416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:00:29] local.INFO: TCP Data received {"connection_id":106416,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:00:29] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:00:29] local.INFO: Packet analysis {"connection_id":106416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:00:29] local.INFO: Extracted packet for processing {"connection_id":106416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:29] 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-06-18 22:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 22:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 22:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:00:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":106416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:00:29] local.INFO: GPS data processed {"connection_id":106416,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:00:29] local.INFO: Acknowledgment sent {"connection_id":106416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:00:32] local.INFO: TCP Data received {"connection_id":107033,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:00:32] local.INFO: Processing buffer {"connection_id":107033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:00:32] local.INFO: IMEI packet received {"connection_id":107033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":107033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:00:38] local.INFO: TCP Data received {"connection_id":107033,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:00:38] local.INFO: Processing buffer {"connection_id":107033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:00:38] local.INFO: IMEI packet received {"connection_id":107033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":107033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:00:39] local.INFO: TCP Data received {"connection_id":107033,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:00:39] local.INFO: Processing buffer {"connection_id":107033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:00:39] local.INFO: Packet analysis {"connection_id":107033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 22:00:39] local.INFO: Extracted packet for processing {"connection_id":107033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 22:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 22:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:00: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-06-18 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:00: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-06-18 22: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-06-18 22:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:00:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:00:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":107033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:00:39] local.INFO: GPS data processed {"connection_id":107033,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:00:39] local.INFO: Acknowledgment sent {"connection_id":107033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:01:00] local.INFO: TCP Data received {"connection_id":106416,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:01:00] local.INFO: Processing buffer {"connection_id":106416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:01:00] local.INFO: Packet analysis {"connection_id":106416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:01:00] local.INFO: Extracted packet for processing {"connection_id":106416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:01:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:00] 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-06-18 22:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 22:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 22:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:01: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-06-18 22:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:01:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":106416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:01:00] local.INFO: GPS data processed {"connection_id":106416,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:01:00] local.INFO: Acknowledgment sent {"connection_id":106416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:01:11] local.INFO: TCP Data received {"connection_id":107033,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:11] local.INFO: Processing buffer {"connection_id":107033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8daa38012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:11] local.INFO: Packet analysis {"connection_id":107033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 22:01:11] local.INFO: Extracted packet for processing {"connection_id":107033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8d"} 
[2026-06-18 22:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140711680001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781799955000,"timestamp_ms":1781799955000,"timestamp_seconds":1781799955,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8daa38"} 
[2026-06-18 22:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:01:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140711680001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140711680001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:01:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140711680001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":107033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347265,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:01:11] local.INFO: GPS data processed {"connection_id":107033,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:01:11] local.INFO: Acknowledgment sent {"connection_id":107033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:01:24] local.INFO: TCP Data received {"connection_id":107963,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:01:24] local.INFO: Processing buffer {"connection_id":107963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:01:24] local.INFO: IMEI packet received {"connection_id":107963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:01:24] local.INFO: IMEI acknowledgment sent {"connection_id":107963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:01:29] local.INFO: TCP Data received {"connection_id":107963,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:01:29] local.INFO: Processing buffer {"connection_id":107963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:01:29] local.INFO: IMEI packet received {"connection_id":107963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":107963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:01:29] local.INFO: TCP Data received {"connection_id":107963,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:01:29] local.INFO: Processing buffer {"connection_id":107963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:01:29] local.INFO: Packet analysis {"connection_id":107963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:01:29] local.INFO: Extracted packet for processing {"connection_id":107963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:01:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:29] 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-06-18 22:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 22:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 22:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:01:29] 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-06-18 22:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:01:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":107963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:01:29] local.INFO: GPS data processed {"connection_id":107963,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:01:29] local.INFO: Acknowledgment sent {"connection_id":107963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:01:38] local.INFO: TCP Data received {"connection_id":107034,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:01:38] local.INFO: Processing buffer {"connection_id":107034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:01:38] local.INFO: IMEI packet received {"connection_id":107034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":107034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:01:43] local.INFO: TCP Data received {"connection_id":107034,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:01:43] local.INFO: Processing buffer {"connection_id":107034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:01:43] local.INFO: IMEI packet received {"connection_id":107034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":107034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:01:45] local.INFO: TCP Data received {"connection_id":107034,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:45] local.INFO: Processing buffer {"connection_id":107034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:45] local.INFO: Packet analysis {"connection_id":107034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:01:45] local.INFO: Extracted packet for processing {"connection_id":107034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:01:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:01:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":107034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:01:45] local.INFO: GPS data processed {"connection_id":107034,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:01:45] local.INFO: Acknowledgment sent {"connection_id":107034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:01:53] local.INFO: TCP Data received {"connection_id":107034,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:53] local.INFO: Processing buffer {"connection_id":107034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:01:53] local.INFO: Packet analysis {"connection_id":107034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:01:53] local.INFO: Extracted packet for processing {"connection_id":107034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:01:53] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:01:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:01:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:01:53] 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-06-18 22:01:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:01:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:01:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":107034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347268,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:01:53] local.INFO: GPS data processed {"connection_id":107034,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:01:53] local.INFO: Acknowledgment sent {"connection_id":107034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:02:00] local.INFO: TCP Data received {"connection_id":107963,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:02:00] local.INFO: Processing buffer {"connection_id":107963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:02:00] local.INFO: Packet analysis {"connection_id":107963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:02:00] local.INFO: Extracted packet for processing {"connection_id":107963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:02:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:00] 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-06-18 22:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 22:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 22:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:02: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-06-18 22:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:02:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:02:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":107963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:02:00] local.INFO: GPS data processed {"connection_id":107963,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:02:00] local.INFO: Acknowledgment sent {"connection_id":107963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:02:23] local.INFO: TCP Data received {"connection_id":107964,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:02:23] local.INFO: Processing buffer {"connection_id":107964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:02:23] local.INFO: IMEI packet received {"connection_id":107964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":107964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:02:29] local.INFO: TCP Data received {"connection_id":107964,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:02:29] local.INFO: Processing buffer {"connection_id":107964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:02:29] local.INFO: IMEI packet received {"connection_id":107964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":107964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:02:29] local.INFO: TCP Data received {"connection_id":107964,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:02:29] local.INFO: Processing buffer {"connection_id":107964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:02:29] local.INFO: Packet analysis {"connection_id":107964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:02:29] local.INFO: Extracted packet for processing {"connection_id":107964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:29] 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-06-18 22:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 22:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 22:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:02:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":107964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:02:29] local.INFO: GPS data processed {"connection_id":107964,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:02:29] local.INFO: Acknowledgment sent {"connection_id":107964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:02:32] local.INFO: TCP Data received {"connection_id":107035,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:02:32] local.INFO: Processing buffer {"connection_id":107035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:02:32] local.INFO: IMEI packet received {"connection_id":107035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":107035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:02:38] local.INFO: TCP Data received {"connection_id":107035,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:02:38] local.INFO: Processing buffer {"connection_id":107035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:02:38] local.INFO: IMEI packet received {"connection_id":107035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:02:38] local.INFO: IMEI acknowledgment sent {"connection_id":107035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:02:40] local.INFO: TCP Data received {"connection_id":107035,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:02:40] local.INFO: Processing buffer {"connection_id":107035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:02:40] local.INFO: Packet analysis {"connection_id":107035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:02:40] local.INFO: Extracted packet for processing {"connection_id":107035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:02:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:02:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:02:40] 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-06-18 22:02:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:02:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:02:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":107035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:02:40] local.INFO: GPS data processed {"connection_id":107035,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:02:40] local.INFO: Acknowledgment sent {"connection_id":107035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:02:55] local.INFO: TCP Data received {"connection_id":106240,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:02:55] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:02:55] local.INFO: IMEI packet received {"connection_id":106240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":106240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:02:58] local.INFO: TCP Data received {"connection_id":106240,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:02:58] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:02:58] local.INFO: IMEI packet received {"connection_id":106240,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":106240,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:02:59] local.INFO: TCP Data received {"connection_id":106240,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb93ebc8012da2154005fae8480044001e22..."} 
[2026-06-18 22:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb93ebc8012da2154005fae8480044001e22..."} 
[2026-06-18 22:02:59] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb93ebc8012da2154005fae8480044001e22..."} 
[2026-06-18 22:02:59] local.INFO: Packet analysis {"connection_id":106240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb93"} 
[2026-06-18 22:02:59] local.INFO: Extracted packet for processing {"connection_id":106240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb93"} 
[2026-06-18 22:02:59] local.INFO: GPS Element Parsed {"raw_longitude":765596992,"raw_latitude":100329544,"longitude_deg":76.5596992,"latitude_deg":10.0329544,"altitude":68,"angle":30,"satellites":34,"speed":18,"hex_longitude":"2da21540","hex_latitude":"05fae848","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140893184001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94322408147648512,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6767643576858398720,"note":"Value kept but may cause issues"} 
[2026-06-18 22:02:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781800365000,"timestamp_ms":1781800365000,"timestamp_seconds":1781800365,"priority":1,"record_length":96,"hex_timestamp":"0000019edb93ebc8"} 
[2026-06-18 22:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 22:02:59] 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-06-18 22: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-06-18 22:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":106240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":106240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":106240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140893184001,"66":11917,"51":206,"88":20992,"24":18,"16":94322408147648512,"45":-6767643576858398720},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,88,24,16,45]} 
[2026-06-18 22:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140893184001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:02:59] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-06-18 22:02:59] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94322408147648512,"km_value":94322408147648.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6767643576858398720,"description":"Unknown IO ID 45"} 
[2026-06-18 22:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140893184001,"power":11917,"unknown_51":206,"unknown_88":20992,"ignition":18,"odometer":null,"unknown_45":-6767643576858398720}} 
[2026-06-18 22:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":106240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347272,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:02:59] local.INFO: GPS data processed {"connection_id":106240,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:02:59] local.INFO: Acknowledgment sent {"connection_id":106240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:03:00] local.INFO: TCP Data received {"connection_id":107964,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:03:01] local.INFO: Processing buffer {"connection_id":107964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:03:01] local.INFO: Packet analysis {"connection_id":107964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:03:01] local.INFO: Extracted packet for processing {"connection_id":107964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:01] 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-06-18 22:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 22:03:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 22:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:03:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:03:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:03:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":107964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:03:01] local.INFO: GPS data processed {"connection_id":107964,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:03:01] local.INFO: Acknowledgment sent {"connection_id":107964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:03:12] local.INFO: TCP Data received {"connection_id":107035,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:03:12] local.INFO: Processing buffer {"connection_id":107035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:03:12] local.INFO: Packet analysis {"connection_id":107035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:03:12] local.INFO: Extracted packet for processing {"connection_id":107035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:03:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":107035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:03:12] local.INFO: GPS data processed {"connection_id":107035,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:03:12] local.INFO: Acknowledgment sent {"connection_id":107035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:03:23] local.INFO: TCP Data received {"connection_id":106417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:03:23] local.INFO: Processing buffer {"connection_id":106417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:03:23] local.INFO: IMEI packet received {"connection_id":106417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":106417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:03:28] local.INFO: TCP Data received {"connection_id":106417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:03:28] local.INFO: Processing buffer {"connection_id":106417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:03:28] local.INFO: IMEI packet received {"connection_id":106417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:03:28] local.INFO: IMEI acknowledgment sent {"connection_id":106417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:03:29] local.INFO: TCP Data received {"connection_id":106417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:03:29] local.INFO: Processing buffer {"connection_id":106417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb8f9e38012cc3308007685ac8005b006d2b..."} 
[2026-06-18 22:03:29] local.INFO: Packet analysis {"connection_id":106417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:03:29] local.INFO: Extracted packet for processing {"connection_id":106417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb8f"} 
[2026-06-18 22:03:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140744192001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:29] 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-06-18 22:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800083000,"timestamp_ms":1781800083000,"timestamp_seconds":1781800083,"priority":1,"record_length":96,"hex_timestamp":"0000019edb8f9e38"} 
[2026-06-18 22:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-06-18 22:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140744192001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140744192001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:03:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140744192001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":106417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:03:29] local.INFO: GPS data processed {"connection_id":106417,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:03:29] local.INFO: Acknowledgment sent {"connection_id":106417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:03:30] local.INFO: TCP Data received {"connection_id":106240,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb93f398012da217c005faea780045002c22..."} 
[2026-06-18 22:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb93f398012da217c005faea780045002c22..."} 
[2026-06-18 22:03:30] local.INFO: Processing buffer {"connection_id":106240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb93f398012da217c005faea780045002c22..."} 
[2026-06-18 22:03:30] local.INFO: Packet analysis {"connection_id":106240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb93"} 
[2026-06-18 22:03:30] local.INFO: Extracted packet for processing {"connection_id":106240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb93"} 
[2026-06-18 22:03:30] local.INFO: GPS Element Parsed {"raw_longitude":765597632,"raw_latitude":100330104,"longitude_deg":76.5597632,"latitude_deg":10.0330104,"altitude":69,"angle":44,"satellites":34,"speed":15,"hex_longitude":"2da217c0","hex_latitude":"05faea78","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140893440001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94322446802354176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6767432470625761280,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781800367000,"timestamp_ms":1781800367000,"timestamp_seconds":1781800367,"priority":1,"record_length":96,"hex_timestamp":"0000019edb93f398"} 
[2026-06-18 22:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 22:03:30] 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-06-18 22: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-06-18 22:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106240,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:03: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-06-18 22:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140893440001,"66":11830,"51":206,"88":20992,"24":15,"16":94322446802354176,"45":-6767432470625761280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,88,24,16,45]} 
[2026-06-18 22:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140893440001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:03:30] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-06-18 22:03:30] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94322446802354176,"km_value":94322446802354.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6767432470625761280,"description":"Unknown IO ID 45"} 
[2026-06-18 22:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140893440001,"power":11830,"unknown_51":206,"unknown_88":20992,"ignition":15,"odometer":null,"unknown_45":-6767432470625761280}} 
[2026-06-18 22:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":106240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347276,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:03:30] local.INFO: GPS data processed {"connection_id":106240,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:03:30] local.INFO: Acknowledgment sent {"connection_id":106240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:03:32] local.INFO: TCP Data received {"connection_id":107036,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:03:32] local.INFO: Processing buffer {"connection_id":107036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:03:32] local.INFO: IMEI packet received {"connection_id":107036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":107036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:03:38] local.INFO: TCP Data received {"connection_id":107036,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107036,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:03:38] local.INFO: Processing buffer {"connection_id":107036,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:03:38] local.INFO: IMEI packet received {"connection_id":107036,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":107036,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:03:39] local.INFO: TCP Data received {"connection_id":107036,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:03:39] local.INFO: Processing buffer {"connection_id":107036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:03:39] local.INFO: Packet analysis {"connection_id":107036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:03:39] local.INFO: Extracted packet for processing {"connection_id":107036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:03: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-06-18 22:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:03:39] 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-06-18 22:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:03:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:03:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":107036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347277,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:03:39] local.INFO: GPS data processed {"connection_id":107036,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:03:39] local.INFO: Acknowledgment sent {"connection_id":107036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:03:59] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:03:59] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:03:59] local.INFO: IMEI packet received {"connection_id":106241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":106241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:04:00] local.INFO: TCP Data received {"connection_id":106417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:04:00] local.INFO: Processing buffer {"connection_id":106417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:04:00] local.INFO: Packet analysis {"connection_id":106417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:04:00] local.INFO: Extracted packet for processing {"connection_id":106417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:04:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:00] 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-06-18 22:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:04: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-06-18 22:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:04: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-06-18 22:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:04:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":106417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:04:00] local.INFO: GPS data processed {"connection_id":106417,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:04:00] local.INFO: Acknowledgment sent {"connection_id":106417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:04:05] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:04:05] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:04:05] local.INFO: IMEI packet received {"connection_id":106241,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":106241,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:04:05] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb941aa8012da2268005faf8a0004c002021..."} 
[2026-06-18 22:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb941aa8012da2268005faf8a0004c002021..."} 
[2026-06-18 22:04:05] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb941aa8012da2268005faf8a0004c002021..."} 
[2026-06-18 22:04:05] local.INFO: Packet analysis {"connection_id":106241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:04:05] local.INFO: Extracted packet for processing {"connection_id":106241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":765601408,"raw_latitude":100333728,"longitude_deg":76.5601408,"latitude_deg":10.0333728,"altitude":76,"angle":32,"satellites":33,"speed":24,"hex_longitude":"2da22680","hex_latitude":"05faf8a0","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140893952001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94322700205424640,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6766728783183841280,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781800377000,"timestamp_ms":1781800377000,"timestamp_seconds":1781800377,"priority":1,"record_length":96,"hex_timestamp":"0000019edb941aa8"} 
[2026-06-18 22:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 22:04:05] 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-06-18 22: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-06-18 22:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140893952001,"66":10754,"51":206,"88":20992,"24":24,"16":94322700205424640,"45":-6766728783183841280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,88,24,16,45]} 
[2026-06-18 22:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140893952001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:04:05] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-06-18 22:04:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94322700205424640,"km_value":94322700205424.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6766728783183841280,"description":"Unknown IO ID 45"} 
[2026-06-18 22:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140893952001,"power":10754,"unknown_51":206,"unknown_88":20992,"ignition":24,"odometer":null,"unknown_45":-6766728783183841280}} 
[2026-06-18 22:04:06] local.INFO: DEBUG: GPS processor result {"connection_id":106241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347279,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:04:06] local.INFO: GPS data processed {"connection_id":106241,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:04:06] local.INFO: Acknowledgment sent {"connection_id":106241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:04:11] local.INFO: TCP Data received {"connection_id":107036,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:04:11] local.INFO: Processing buffer {"connection_id":107036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:04:11] local.INFO: Packet analysis {"connection_id":107036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:04:11] local.INFO: Extracted packet for processing {"connection_id":107036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:04:11] 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-06-18 22:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107036,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:04:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:04:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":107036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:04:11] local.INFO: GPS data processed {"connection_id":107036,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:04:11] local.INFO: Acknowledgment sent {"connection_id":107036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:04:23] local.INFO: TCP Data received {"connection_id":106418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:04:23] local.INFO: Processing buffer {"connection_id":106418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:04:23] local.INFO: IMEI packet received {"connection_id":106418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":106418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:04:28] local.INFO: TCP Data received {"connection_id":106418,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:04:28] local.INFO: Processing buffer {"connection_id":106418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:04:28] local.INFO: IMEI packet received {"connection_id":106418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:04:28] local.INFO: IMEI acknowledgment sent {"connection_id":106418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:04:29] local.INFO: TCP Data received {"connection_id":106418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:04:29] local.INFO: Processing buffer {"connection_id":106418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:04:29] local.INFO: Packet analysis {"connection_id":106418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:04:29] local.INFO: Extracted packet for processing {"connection_id":106418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:04:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:29] 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-06-18 22:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:04:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:04:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":106418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:04:29] local.INFO: GPS data processed {"connection_id":106418,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:04:29] local.INFO: Acknowledgment sent {"connection_id":106418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:04:32] local.INFO: TCP Data received {"connection_id":107037,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:04:32] local.INFO: Processing buffer {"connection_id":107037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:04:32] local.INFO: IMEI packet received {"connection_id":107037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":107037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:04:36] local.INFO: TCP Data received {"connection_id":106241,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb955af8012da2a58005fbe3b00021000323..."} 
[2026-06-18 22:04:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb955af8012da2a58005fbe3b00021000323..."} 
[2026-06-18 22:04:36] local.INFO: Processing buffer {"connection_id":106241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb955af8012da2a58005fbe3b00021000323..."} 
[2026-06-18 22:04:36] local.INFO: Packet analysis {"connection_id":106241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb95"} 
[2026-06-18 22:04:36] local.INFO: Extracted packet for processing {"connection_id":106241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb95"} 
[2026-06-18 22:04:36] local.INFO: GPS Element Parsed {"raw_longitude":765633920,"raw_latitude":100393904,"longitude_deg":76.563392,"latitude_deg":10.0393904,"altitude":33,"angle":3,"satellites":35,"speed":39,"hex_longitude":"2da2a580","hex_latitude":"05fbe3b0","is_valid_coordinates":true} 
[2026-06-18 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:04:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140915200001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94326230668541952,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6728307448849012736,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:04:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781800459000,"timestamp_ms":1781800459000,"timestamp_seconds":1781800459,"priority":1,"record_length":96,"hex_timestamp":"0000019edb955af8"} 
[2026-06-18 22:04:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:04: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-06-18 22:04:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 22:04:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:04:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:04:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:04:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:04:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:04:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:04:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106241,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:04:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:04:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:04:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:04:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140915200001,"66":11895,"51":206,"88":20992,"24":39,"16":94326230668541952,"45":-6728307448849012736},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,88,24,16,45]} 
[2026-06-18 22:04:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:04:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:04:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140915200001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:04:36] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-06-18 22:04:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:04:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94326230668541952,"km_value":94326230668541.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:04:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6728307448849012736,"description":"Unknown IO ID 45"} 
[2026-06-18 22:04:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140915200001,"power":11895,"unknown_51":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6728307448849012736}} 
[2026-06-18 22:04:36] local.INFO: DEBUG: GPS processor result {"connection_id":106241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347282,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:04:36] local.INFO: GPS data processed {"connection_id":106241,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:04:36] local.INFO: Acknowledgment sent {"connection_id":106241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:04:38] local.INFO: TCP Data received {"connection_id":107037,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:04:38] local.INFO: Processing buffer {"connection_id":107037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:04:38] local.INFO: IMEI packet received {"connection_id":107037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":107037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:04:39] local.INFO: TCP Data received {"connection_id":107037,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:04:39] local.INFO: Processing buffer {"connection_id":107037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:04:39] local.INFO: Packet analysis {"connection_id":107037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:04:39] local.INFO: Extracted packet for processing {"connection_id":107037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:04: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-06-18 22:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:04:39] 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-06-18 22:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:04:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":107037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:04:39] local.INFO: GPS data processed {"connection_id":107037,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:04:39] local.INFO: Acknowledgment sent {"connection_id":107037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:04:59] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:04:59] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:04:59] local.INFO: IMEI packet received {"connection_id":106242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":106242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:05:00] local.INFO: TCP Data received {"connection_id":106418,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:05:00] local.INFO: Processing buffer {"connection_id":106418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:05:00] local.INFO: Packet analysis {"connection_id":106418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:05:00] local.INFO: Extracted packet for processing {"connection_id":106418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:05:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 22:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:00] 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-06-18 22:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 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-06-18 22:05: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-06-18 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 22:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:05: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-06-18 22:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:05:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:05:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:05:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":106418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:05:00] local.INFO: GPS data processed {"connection_id":106418,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:05:00] local.INFO: Acknowledgment sent {"connection_id":106418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:05:00] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:00] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:00] local.INFO: IMEI packet received {"connection_id":106242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":106242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:05:01] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:01] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:01] local.INFO: IMEI packet received {"connection_id":106242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:05:01] local.INFO: IMEI acknowledgment sent {"connection_id":106242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:05:02] local.INFO: TCP Data received {"connection_id":106242,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106242,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:02] local.INFO: Processing buffer {"connection_id":106242,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:05:02] local.INFO: IMEI packet received {"connection_id":106242,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":106242,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:05:11] local.INFO: TCP Data received {"connection_id":107037,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:11] local.INFO: Processing buffer {"connection_id":107037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:11] local.INFO: Packet analysis {"connection_id":107037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:05:11] local.INFO: Extracted packet for processing {"connection_id":107037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:05:11] 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-06-18 22:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:05:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":107037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:05:11] local.INFO: GPS data processed {"connection_id":107037,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:05:11] local.INFO: Acknowledgment sent {"connection_id":107037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:05:23] local.INFO: TCP Data received {"connection_id":106419,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:05:23] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:05:23] local.INFO: IMEI packet received {"connection_id":106419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":106419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:05:29] local.INFO: TCP Data received {"connection_id":106419,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:05:29] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:05:29] local.INFO: IMEI packet received {"connection_id":106419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":106419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:05:30] local.INFO: TCP Data received {"connection_id":106419,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:05:30] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:05:30] local.INFO: Packet analysis {"connection_id":106419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:05:30] local.INFO: Extracted packet for processing {"connection_id":106419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:05:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:30] 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-06-18 22:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:05:30] 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-06-18 22: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-06-18 22:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:05: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-06-18 22:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 22:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:05:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:05:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":106419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:05:30] local.INFO: GPS data processed {"connection_id":106419,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:05:30] local.INFO: Acknowledgment sent {"connection_id":106419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:05:38] local.INFO: TCP Data received {"connection_id":107038,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:05:38] local.INFO: Processing buffer {"connection_id":107038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:05:38] local.INFO: IMEI packet received {"connection_id":107038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":107038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:05:43] local.INFO: TCP Data received {"connection_id":107038,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:05:43] local.INFO: Processing buffer {"connection_id":107038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:05:43] local.INFO: IMEI packet received {"connection_id":107038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":107038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:05:44] local.INFO: TCP Data received {"connection_id":107038,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:44] local.INFO: Processing buffer {"connection_id":107038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:44] local.INFO: Packet analysis {"connection_id":107038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:05:44] local.INFO: Extracted packet for processing {"connection_id":107038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:05:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:05:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:05:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:05:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:05:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:05:44] 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-06-18 22:05:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:05:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:05:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:05:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:05:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:05:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:05:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:05:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:05:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:05:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:05:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:05:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:05:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:05:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:05:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:05:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:05:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:05:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:05:44] local.INFO: DEBUG: GPS processor result {"connection_id":107038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:05:44] local.INFO: GPS data processed {"connection_id":107038,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:05:44] local.INFO: Acknowledgment sent {"connection_id":107038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:05:48] local.INFO: TCP Data received {"connection_id":107038,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:48] local.INFO: Processing buffer {"connection_id":107038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb922e78012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:05:48] local.INFO: Packet analysis {"connection_id":107038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:05:48] local.INFO: Extracted packet for processing {"connection_id":107038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb92"} 
[2026-06-18 22:05:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140788480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781800251000,"timestamp_ms":1781800251000,"timestamp_seconds":1781800251,"priority":1,"record_length":96,"hex_timestamp":"0000019edb922e78"} 
[2026-06-18 22:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:05:48] 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-06-18 22:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107038,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140788480001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140788480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:05:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:05:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140788480001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":107038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:05:48] local.INFO: GPS data processed {"connection_id":107038,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:05:48] local.INFO: Acknowledgment sent {"connection_id":107038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:06:01] local.INFO: TCP Data received {"connection_id":106419,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:06:01] local.INFO: Processing buffer {"connection_id":106419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:06:01] local.INFO: Packet analysis {"connection_id":106419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:06:01] local.INFO: Extracted packet for processing {"connection_id":106419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:06:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:01] 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-06-18 22:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:06: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-06-18 22:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 22:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:06:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:06:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":106419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:06:01] local.INFO: GPS data processed {"connection_id":106419,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:06:01] local.INFO: Acknowledgment sent {"connection_id":106419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:06:24] local.INFO: TCP Data received {"connection_id":107965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:06:24] local.INFO: Processing buffer {"connection_id":107965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:06:24] local.INFO: IMEI packet received {"connection_id":107965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":107965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:06:29] local.INFO: TCP Data received {"connection_id":107965,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:06:29] local.INFO: Processing buffer {"connection_id":107965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:06:29] local.INFO: IMEI packet received {"connection_id":107965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":107965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:06:29] local.INFO: TCP Data received {"connection_id":107965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:06:29] local.INFO: Processing buffer {"connection_id":107965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:06:29] local.INFO: Packet analysis {"connection_id":107965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:06:29] local.INFO: Extracted packet for processing {"connection_id":107965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:06:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:29] 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-06-18 22:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:06:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:06:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":107965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:06:29] local.INFO: GPS data processed {"connection_id":107965,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:06:29] local.INFO: Acknowledgment sent {"connection_id":107965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:06:32] local.INFO: TCP Data received {"connection_id":106420,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:06:32] local.INFO: Processing buffer {"connection_id":106420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:06:32] local.INFO: IMEI packet received {"connection_id":106420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":106420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:06:38] local.INFO: TCP Data received {"connection_id":106420,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:06:38] local.INFO: Processing buffer {"connection_id":106420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:06:38] local.INFO: IMEI packet received {"connection_id":106420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":106420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:06:39] local.INFO: TCP Data received {"connection_id":106420,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:06:39] local.INFO: Processing buffer {"connection_id":106420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:06:39] local.INFO: Packet analysis {"connection_id":106420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:06:39] local.INFO: Extracted packet for processing {"connection_id":106420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:06:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:06: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-06-18 22:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:06:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:06:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":106420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347291,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:06:39] local.INFO: GPS data processed {"connection_id":106420,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:06:39] local.INFO: Acknowledgment sent {"connection_id":106420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:07:00] local.INFO: TCP Data received {"connection_id":107965,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:07:00] local.INFO: Processing buffer {"connection_id":107965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:07:00] local.INFO: Packet analysis {"connection_id":107965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:07:00] local.INFO: Extracted packet for processing {"connection_id":107965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:07:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:00] 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-06-18 22:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:07: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-06-18 22:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:07: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-06-18 22:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:07:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:07:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":107965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:07:00] local.INFO: GPS data processed {"connection_id":107965,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:07:00] local.INFO: Acknowledgment sent {"connection_id":107965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:07:11] local.INFO: TCP Data received {"connection_id":106420,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:07:11] local.INFO: Processing buffer {"connection_id":106420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:07:11] local.INFO: Packet analysis {"connection_id":106420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:07:11] local.INFO: Extracted packet for processing {"connection_id":106420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:07:11] 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-06-18 22:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:07:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:07:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":106420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:07:11] local.INFO: GPS data processed {"connection_id":106420,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:07:11] local.INFO: Acknowledgment sent {"connection_id":106420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:07:23] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:07:23] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:07:23] local.INFO: IMEI packet received {"connection_id":106244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":106244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:07:29] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:07:29] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:07:29] local.INFO: IMEI packet received {"connection_id":106244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":106244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:07:29] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:07:29] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:07:29] local.INFO: Packet analysis {"connection_id":106244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:07:29] local.INFO: Extracted packet for processing {"connection_id":106244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:07:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:29] 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-06-18 22:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:07: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-06-18 22:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:07:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":106244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:07:29] local.INFO: GPS data processed {"connection_id":106244,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:07:29] local.INFO: Acknowledgment sent {"connection_id":106244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:07:32] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:07:32] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:07:32] local.INFO: IMEI packet received {"connection_id":106245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":106245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:07:38] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:07:38] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:07:38] local.INFO: IMEI packet received {"connection_id":106245,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":106245,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:07:39] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:07:39] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:07:39] local.INFO: Packet analysis {"connection_id":106245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:07:39] local.INFO: Extracted packet for processing {"connection_id":106245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:07: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-06-18 22:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:07:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":106245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:07:39] local.INFO: GPS data processed {"connection_id":106245,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:07:39] local.INFO: Acknowledgment sent {"connection_id":106245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:08:00] local.INFO: TCP Data received {"connection_id":106244,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:08:00] local.INFO: Processing buffer {"connection_id":106244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:08:00] local.INFO: Packet analysis {"connection_id":106244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:08:00] local.INFO: Extracted packet for processing {"connection_id":106244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:08:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:00] 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-06-18 22:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:08: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-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:08: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-06-18 22:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:08:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:08:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":106244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:08:00] local.INFO: GPS data processed {"connection_id":106244,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:08:00] local.INFO: Acknowledgment sent {"connection_id":106244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:08:11] local.INFO: TCP Data received {"connection_id":106245,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:11] local.INFO: Processing buffer {"connection_id":106245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:11] local.INFO: Packet analysis {"connection_id":106245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:08:11] local.INFO: Extracted packet for processing {"connection_id":106245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:08:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:08:11] 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-06-18 22:08:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106245,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:08:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:08:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":106245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:08:11] local.INFO: GPS data processed {"connection_id":106245,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:08:11] local.INFO: Acknowledgment sent {"connection_id":106245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:08:23] local.INFO: TCP Data received {"connection_id":106422,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:08:23] local.INFO: Processing buffer {"connection_id":106422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:08:23] local.INFO: IMEI packet received {"connection_id":106422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":106422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:08:29] local.INFO: TCP Data received {"connection_id":106422,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:08:29] local.INFO: Processing buffer {"connection_id":106422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:08:29] local.INFO: IMEI packet received {"connection_id":106422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":106422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:08:30] local.INFO: TCP Data received {"connection_id":106422,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:08:30] local.INFO: Processing buffer {"connection_id":106422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb943600012cc3308007685ac8005a006d2c..."} 
[2026-06-18 22:08:30] local.INFO: Packet analysis {"connection_id":106422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:08:30] local.INFO: Extracted packet for processing {"connection_id":106422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb94"} 
[2026-06-18 22:08:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":90,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140821248001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:30] 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-06-18 22:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781800384000,"timestamp_ms":1781800384000,"timestamp_seconds":1781800384,"priority":1,"record_length":96,"hex_timestamp":"0000019edb943600"} 
[2026-06-18 22:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:08:30] 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-06-18 22: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-06-18 22:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:08: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-06-18 22:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140821248001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140821248001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:08:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:08:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:08:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140821248001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":106422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:08:30] local.INFO: GPS data processed {"connection_id":106422,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:08:30] local.INFO: Acknowledgment sent {"connection_id":106422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:08:38] local.INFO: TCP Data received {"connection_id":107966,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:08:38] local.INFO: Processing buffer {"connection_id":107966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:08:38] local.INFO: IMEI packet received {"connection_id":107966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":107966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:08:43] local.INFO: TCP Data received {"connection_id":107966,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:08:43] local.INFO: Processing buffer {"connection_id":107966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:08:43] local.INFO: IMEI packet received {"connection_id":107966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:08:43] local.INFO: IMEI acknowledgment sent {"connection_id":107966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:08:45] local.INFO: TCP Data received {"connection_id":107966,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:45] local.INFO: Processing buffer {"connection_id":107966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:45] local.INFO: Packet analysis {"connection_id":107966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:08:45] local.INFO: Extracted packet for processing {"connection_id":107966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:08:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:08:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:08:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:08:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:08:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:08:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":107966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:08:45] local.INFO: GPS data processed {"connection_id":107966,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:08:45] local.INFO: Acknowledgment sent {"connection_id":107966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:08:48] local.INFO: TCP Data received {"connection_id":107966,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:48] local.INFO: Processing buffer {"connection_id":107966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:08:48] local.INFO: Packet analysis {"connection_id":107966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:08:48] local.INFO: Extracted packet for processing {"connection_id":107966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:08:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:08:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:08:48] 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-06-18 22:08:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107966,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:08:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:08:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":107966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:08:48] local.INFO: GPS data processed {"connection_id":107966,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:08:48] local.INFO: Acknowledgment sent {"connection_id":107966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:09:01] local.INFO: TCP Data received {"connection_id":106422,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:09:01] local.INFO: Processing buffer {"connection_id":106422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:09:01] local.INFO: Packet analysis {"connection_id":106422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:09:01] local.INFO: Extracted packet for processing {"connection_id":106422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:01] 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-06-18 22:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:09: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-06-18 22:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:09:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":106422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:09:01] local.INFO: GPS data processed {"connection_id":106422,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:09:01] local.INFO: Acknowledgment sent {"connection_id":106422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:09:24] local.INFO: TCP Data received {"connection_id":106247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:09:24] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:09:24] local.INFO: IMEI packet received {"connection_id":106247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":106247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:09:29] local.INFO: TCP Data received {"connection_id":106247,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:09:29] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:09:29] local.INFO: IMEI packet received {"connection_id":106247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":106247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:09:29] local.INFO: TCP Data received {"connection_id":106247,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:09:29] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:09:29] local.INFO: Packet analysis {"connection_id":106247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:09:29] local.INFO: Extracted packet for processing {"connection_id":106247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:09:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:29] 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-06-18 22:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:09:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:09:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":106247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:09:29] local.INFO: GPS data processed {"connection_id":106247,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:09:29] local.INFO: Acknowledgment sent {"connection_id":106247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:09:33] local.INFO: TCP Data received {"connection_id":107039,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:09:33] local.INFO: Processing buffer {"connection_id":107039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:09:33] local.INFO: IMEI packet received {"connection_id":107039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:09:33] local.INFO: IMEI acknowledgment sent {"connection_id":107039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:09:38] local.INFO: TCP Data received {"connection_id":107039,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:09:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:09:38] local.INFO: Processing buffer {"connection_id":107039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:09:38] local.INFO: IMEI packet received {"connection_id":107039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:09:38] local.INFO: IMEI acknowledgment sent {"connection_id":107039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:09:39] local.INFO: TCP Data received {"connection_id":107039,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:09:39] local.INFO: Processing buffer {"connection_id":107039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:09:39] local.INFO: Packet analysis {"connection_id":107039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:09:39] local.INFO: Extracted packet for processing {"connection_id":107039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:09: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-06-18 22:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:09:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":107039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:09:39] local.INFO: GPS data processed {"connection_id":107039,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:09:39] local.INFO: Acknowledgment sent {"connection_id":107039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:10:00] local.INFO: TCP Data received {"connection_id":106247,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:10:00] local.INFO: Processing buffer {"connection_id":106247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:10:00] local.INFO: Packet analysis {"connection_id":106247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:10:00] local.INFO: Extracted packet for processing {"connection_id":106247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:10:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:00] 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-06-18 22:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:10: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-06-18 22:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:10:00] 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-06-18 22:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:10:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:10:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":106247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:10:00] local.INFO: GPS data processed {"connection_id":106247,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:10:00] local.INFO: Acknowledgment sent {"connection_id":106247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:10:04] local.INFO: TCP Data received {"connection_id":107040,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107040,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:10:04] local.INFO: Processing buffer {"connection_id":107040,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:10:04] local.INFO: IMEI packet received {"connection_id":107040,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":107040,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:10:05] local.INFO: TCP Data received {"connection_id":107040,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9975c0012da41c8005fe66500022002525..."} 
[2026-06-18 22:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9975c0012da41c8005fe66500022002525..."} 
[2026-06-18 22:10:05] local.INFO: Processing buffer {"connection_id":107040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9975c0012da41c8005fe66500022002525..."} 
[2026-06-18 22:10:05] local.INFO: Packet analysis {"connection_id":107040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb99"} 
[2026-06-18 22:10:05] local.INFO: Extracted packet for processing {"connection_id":107040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb99"} 
[2026-06-18 22:10:05] local.INFO: GPS Element Parsed {"raw_longitude":765729920,"raw_latitude":100558416,"longitude_deg":76.572992,"latitude_deg":10.0558416,"altitude":34,"angle":37,"satellites":37,"speed":23,"hex_longitude":"2da41c80","hex_latitude":"05fe6650","is_valid_coordinates":true} 
[2026-06-18 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140983808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94336121978224640,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6626554244725497856,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781800728000,"timestamp_ms":1781800728000,"timestamp_seconds":1781800728,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9975c0"} 
[2026-06-18 22:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:10:05] 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-06-18 22:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 22:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:10:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140983808001,"66":11721,"138":206,"88":20992,"24":23,"16":94336121978224640,"45":-6626554244725497856},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,88,24,16,45]} 
[2026-06-18 22:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140983808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:10:05] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-06-18 22:10:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94336121978224640,"km_value":94336121978224.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6626554244725497856,"description":"Unknown IO ID 45"} 
[2026-06-18 22:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140983808001,"power":11721,"unknown_138":206,"unknown_88":20992,"ignition":23,"odometer":null,"unknown_45":-6626554244725497856}} 
[2026-06-18 22:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":107040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347305,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:10:05] local.INFO: GPS data processed {"connection_id":107040,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:10:05] local.INFO: Acknowledgment sent {"connection_id":107040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:10:11] local.INFO: TCP Data received {"connection_id":107039,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:10:11] local.INFO: Processing buffer {"connection_id":107039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:10:11] local.INFO: Packet analysis {"connection_id":107039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:10:11] local.INFO: Extracted packet for processing {"connection_id":107039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:10:11] 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-06-18 22:10:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:10:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:10:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":107039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:10:11] local.INFO: GPS data processed {"connection_id":107039,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:10:11] local.INFO: Acknowledgment sent {"connection_id":107039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:10:24] local.INFO: TCP Data received {"connection_id":106248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:10:24] local.INFO: Processing buffer {"connection_id":106248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:10:24] local.INFO: IMEI packet received {"connection_id":106248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":106248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:10:29] local.INFO: TCP Data received {"connection_id":106248,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:10:29] local.INFO: Processing buffer {"connection_id":106248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:10:29] local.INFO: IMEI packet received {"connection_id":106248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":106248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:10:29] local.INFO: TCP Data received {"connection_id":106248,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:10:29] local.INFO: Processing buffer {"connection_id":106248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:10:29] local.INFO: Packet analysis {"connection_id":106248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:10:29] local.INFO: Extracted packet for processing {"connection_id":106248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:10:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:29] 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-06-18 22:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:10: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-06-18 22:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:10:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:10:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":106248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:10:29] local.INFO: GPS data processed {"connection_id":106248,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:10:29] local.INFO: Acknowledgment sent {"connection_id":106248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:10:34] local.INFO: TCP Data received {"connection_id":106424,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:10:34] local.INFO: Processing buffer {"connection_id":106424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:10:34] local.INFO: IMEI packet received {"connection_id":106424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":106424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:10:36] local.INFO: TCP Data received {"connection_id":107040,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b0048012da4d80005ff6b68001f003425..."} 
[2026-06-18 22:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b0048012da4d80005ff6b68001f003425..."} 
[2026-06-18 22:10:36] local.INFO: Processing buffer {"connection_id":107040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b0048012da4d80005ff6b68001f003425..."} 
[2026-06-18 22:10:36] local.INFO: Packet analysis {"connection_id":107040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:10:36] local.INFO: Extracted packet for processing {"connection_id":107040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":765777920,"raw_latitude":100625256,"longitude_deg":76.577792,"latitude_deg":10.0625256,"altitude":31,"angle":52,"satellites":37,"speed":17,"hex_longitude":"2da4d800","hex_latitude":"05ff6b68","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141011968001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94340219377025024,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6568851874480769024,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781800829000,"timestamp_ms":1781800829000,"timestamp_seconds":1781800829,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b0048"} 
[2026-06-18 22:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 22:10:36] 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-06-18 22: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-06-18 22:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107040,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141011968001,"66":11711,"137":206,"88":20992,"24":17,"16":94340219377025024,"45":-6568851874480769024},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,88,24,16,45]} 
[2026-06-18 22:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141011968001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:10:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-18 22:10:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94340219377025024,"km_value":94340219377025.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6568851874480769024,"description":"Unknown IO ID 45"} 
[2026-06-18 22:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141011968001,"power":11711,"unknown_137":206,"unknown_88":20992,"ignition":17,"odometer":null,"unknown_45":-6568851874480769024}} 
[2026-06-18 22:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":107040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347308,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:10:36] local.INFO: GPS data processed {"connection_id":107040,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:10:36] local.INFO: Acknowledgment sent {"connection_id":107040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:10:37] local.INFO: TCP Data received {"connection_id":106424,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:10:37] local.INFO: Processing buffer {"connection_id":106424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:10:37] local.INFO: IMEI packet received {"connection_id":106424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:10:37] local.INFO: IMEI acknowledgment sent {"connection_id":106424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:10:39] local.INFO: TCP Data received {"connection_id":106424,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:10:39] local.INFO: Processing buffer {"connection_id":106424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:10:39] local.INFO: Packet analysis {"connection_id":106424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:10:39] local.INFO: Extracted packet for processing {"connection_id":106424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:10: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-06-18 22:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:10:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:10:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:10:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":106424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:10:39] local.INFO: GPS data processed {"connection_id":106424,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:10:39] local.INFO: Acknowledgment sent {"connection_id":106424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:10:59] local.INFO: TCP Data received {"connection_id":106249,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:10:59] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:10:59] local.INFO: IMEI packet received {"connection_id":106249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":106249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:11:00] local.INFO: TCP Data received {"connection_id":106248,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:11:00] local.INFO: Processing buffer {"connection_id":106248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:11:00] local.INFO: Packet analysis {"connection_id":106248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:11:00] local.INFO: Extracted packet for processing {"connection_id":106248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:11:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:00] 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-06-18 22:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:11: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-06-18 22:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:11: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-06-18 22:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:11:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:11:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":106248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:11:00] local.INFO: GPS data processed {"connection_id":106248,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:11:00] local.INFO: Acknowledgment sent {"connection_id":106248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:11:04] local.INFO: TCP Data received {"connection_id":106249,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:11:04] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:11:04] local.INFO: IMEI packet received {"connection_id":106249,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":106249,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:11:05] local.INFO: TCP Data received {"connection_id":106249,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b0430012da4d9c005ff6c18001e004a25..."} 
[2026-06-18 22:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b0430012da4d9c005ff6c18001e004a25..."} 
[2026-06-18 22:11:05] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b0430012da4d9c005ff6c18001e004a25..."} 
[2026-06-18 22:11:05] local.INFO: Packet analysis {"connection_id":106249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:11:05] local.INFO: Extracted packet for processing {"connection_id":106249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":765778368,"raw_latitude":100625432,"longitude_deg":76.5778368,"latitude_deg":10.0625432,"altitude":30,"angle":74,"satellites":37,"speed":19,"hex_longitude":"2da4d9c0","hex_latitude":"05ff6c18","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141012224001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94340240851861504,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6568500030759802880,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781800830000,"timestamp_ms":1781800830000,"timestamp_seconds":1781800830,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b0430"} 
[2026-06-18 22:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 22:11:05] 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-06-18 22: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-06-18 22:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141012224001,"66":11210,"137":206,"88":20992,"24":19,"16":94340240851861504,"45":-6568500030759802880},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,88,24,16,45]} 
[2026-06-18 22:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141012224001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:11:05] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-18 22:11:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94340240851861504,"km_value":94340240851861.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6568500030759802880,"description":"Unknown IO ID 45"} 
[2026-06-18 22:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141012224001,"power":11210,"unknown_137":206,"unknown_88":20992,"ignition":19,"odometer":null,"unknown_45":-6568500030759802880}} 
[2026-06-18 22:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":106249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347311,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:11:05] local.INFO: GPS data processed {"connection_id":106249,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:11:05] local.INFO: Acknowledgment sent {"connection_id":106249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:11:11] local.INFO: TCP Data received {"connection_id":106424,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:11:11] local.INFO: Processing buffer {"connection_id":106424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb96a318012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:11:11] local.INFO: Packet analysis {"connection_id":106424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:11:11] local.INFO: Extracted packet for processing {"connection_id":106424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb96"} 
[2026-06-18 22:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140864256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800543000,"timestamp_ms":1781800543000,"timestamp_seconds":1781800543,"priority":1,"record_length":96,"hex_timestamp":"0000019edb96a318"} 
[2026-06-18 22:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:11:11] 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-06-18 22:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140864256001,"66":25375,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140864256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:11:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140864256001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":106424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:11:11] local.INFO: GPS data processed {"connection_id":106424,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:11:11] local.INFO: Acknowledgment sent {"connection_id":106424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:11:23] local.INFO: TCP Data received {"connection_id":107967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:11:23] local.INFO: Processing buffer {"connection_id":107967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:11:23] local.INFO: IMEI packet received {"connection_id":107967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":107967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:11:29] local.INFO: TCP Data received {"connection_id":107967,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:11:29] local.INFO: Processing buffer {"connection_id":107967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:11:29] local.INFO: IMEI packet received {"connection_id":107967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":107967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:11:29] local.INFO: TCP Data received {"connection_id":107967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:11:29] local.INFO: Processing buffer {"connection_id":107967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:11:29] local.INFO: Packet analysis {"connection_id":107967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:11:29] local.INFO: Extracted packet for processing {"connection_id":107967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:11:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:29] 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-06-18 22:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22: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-06-18 22:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 22:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:11:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":107967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:11:29] local.INFO: GPS data processed {"connection_id":107967,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:11:29] local.INFO: Acknowledgment sent {"connection_id":107967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:11:32] local.INFO: TCP Data received {"connection_id":107041,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:11:32] local.INFO: Processing buffer {"connection_id":107041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:11:32] local.INFO: IMEI packet received {"connection_id":107041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":107041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:11:36] local.INFO: TCP Data received {"connection_id":106249,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9bdef0012da539c005ffd2d0001e005d22..."} 
[2026-06-18 22:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9bdef0012da539c005ffd2d0001e005d22..."} 
[2026-06-18 22:11:36] local.INFO: Processing buffer {"connection_id":106249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9bdef0012da539c005ffd2d0001e005d22..."} 
[2026-06-18 22:11:36] local.INFO: Packet analysis {"connection_id":106249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:11:36] local.INFO: Extracted packet for processing {"connection_id":106249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:11:36] local.INFO: GPS Element Parsed {"raw_longitude":765802944,"raw_latitude":100651728,"longitude_deg":76.5802944,"latitude_deg":10.0651728,"altitude":30,"angle":93,"satellites":34,"speed":34,"hex_longitude":"2da539c0","hex_latitude":"05ffd2d0","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141025536001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94342272371392512,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6545982032616345600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781800886000,"timestamp_ms":1781800886000,"timestamp_seconds":1781800886,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9bdef0"} 
[2026-06-18 22:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:11: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-06-18 22: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 22:11:36] 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-06-18 22: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-06-18 22:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106249,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141025536001,"66":12189,"137":206,"88":20992,"24":34,"16":94342272371392512,"45":-6545982032616345600},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,88,24,16,45]} 
[2026-06-18 22:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141025536001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:11:36] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-18 22:11:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94342272371392512,"km_value":94342272371392.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6545982032616345600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141025536001,"power":12189,"unknown_137":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6545982032616345600}} 
[2026-06-18 22:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":106249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347314,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:11:36] local.INFO: GPS data processed {"connection_id":106249,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:11:36] local.INFO: Acknowledgment sent {"connection_id":106249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:11:38] local.INFO: TCP Data received {"connection_id":107041,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:11:38] local.INFO: Processing buffer {"connection_id":107041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:11:38] local.INFO: IMEI packet received {"connection_id":107041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:11:38] local.INFO: IMEI acknowledgment sent {"connection_id":107041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:11:40] local.INFO: TCP Data received {"connection_id":107041,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:11:40] local.INFO: Processing buffer {"connection_id":107041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:11:40] local.INFO: Packet analysis {"connection_id":107041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:11:40] local.INFO: Extracted packet for processing {"connection_id":107041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:11:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:11:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":107041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:11:40] local.INFO: GPS data processed {"connection_id":107041,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:11:40] local.INFO: Acknowledgment sent {"connection_id":107041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:11:59] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:11:59] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:11:59] local.INFO: IMEI packet received {"connection_id":106250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":106250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:12:00] local.INFO: TCP Data received {"connection_id":107967,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:12:00] local.INFO: Processing buffer {"connection_id":107967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:12:00] local.INFO: Packet analysis {"connection_id":107967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:12:00] local.INFO: Extracted packet for processing {"connection_id":107967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:12:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:00] 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-06-18 22:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:12: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-06-18 22:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22: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-06-18 22:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 22:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:12:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":107967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:12:00] local.INFO: GPS data processed {"connection_id":107967,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:12:00] local.INFO: Acknowledgment sent {"connection_id":107967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:12:02] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:02] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:02] local.INFO: IMEI packet received {"connection_id":106250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":106250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:12:05] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:05] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:05] local.INFO: IMEI packet received {"connection_id":106250,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":106250,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:12:06] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9bfa48012da54f0005ffd1a8001c004e23..."} 
[2026-06-18 22:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9bfa48012da54f0005ffd1a8001c004e23..."} 
[2026-06-18 22:12:06] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9bfa48012da54f0005ffd1a8001c004e23..."} 
[2026-06-18 22:12:06] local.INFO: Packet analysis {"connection_id":106250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:12:06] local.INFO: Extracted packet for processing {"connection_id":106250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:12:06] local.INFO: GPS Element Parsed {"raw_longitude":765808384,"raw_latitude":100651432,"longitude_deg":76.5808384,"latitude_deg":10.0651432,"altitude":28,"angle":78,"satellites":35,"speed":23,"hex_longitude":"2da54f00","hex_latitude":"05ffd1a8","is_valid_coordinates":true} 
[2026-06-18 22:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141026816001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94342538659364864,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6540985851779559424,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781800893000,"timestamp_ms":1781800893000,"timestamp_seconds":1781800893,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9bfa48"} 
[2026-06-18 22:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:12:06] 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-06-18 22:12:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-18 22:12:06] 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-06-18 22:12:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141026816001,"66":10960,"137":206,"88":20992,"24":23,"16":94342538659364864,"45":-6540985851779559424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,88,24,16,45]} 
[2026-06-18 22:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141026816001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:12:06] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-18 22:12:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94342538659364864,"km_value":94342538659364.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6540985851779559424,"description":"Unknown IO ID 45"} 
[2026-06-18 22:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141026816001,"power":10960,"unknown_137":206,"unknown_88":20992,"ignition":23,"odometer":null,"unknown_45":-6540985851779559424}} 
[2026-06-18 22:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":106250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347317,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:12:06] local.INFO: GPS data processed {"connection_id":106250,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:12:06] local.INFO: Acknowledgment sent {"connection_id":106250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:12:11] local.INFO: TCP Data received {"connection_id":107041,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:12:11] local.INFO: Processing buffer {"connection_id":107041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:12:11] local.INFO: Packet analysis {"connection_id":107041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:12:11] local.INFO: Extracted packet for processing {"connection_id":107041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:12:11] 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-06-18 22:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:12:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:12:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":107041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:12:11] local.INFO: GPS data processed {"connection_id":107041,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:12:11] local.INFO: Acknowledgment sent {"connection_id":107041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:12:23] local.INFO: TCP Data received {"connection_id":107042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:12:23] local.INFO: Processing buffer {"connection_id":107042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:12:23] local.INFO: IMEI packet received {"connection_id":107042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":107042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:12:29] local.INFO: TCP Data received {"connection_id":107042,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:12:29] local.INFO: Processing buffer {"connection_id":107042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:12:29] local.INFO: IMEI packet received {"connection_id":107042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":107042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:12:29] local.INFO: TCP Data received {"connection_id":107042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:12:29] local.INFO: Processing buffer {"connection_id":107042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:12:29] local.INFO: Packet analysis {"connection_id":107042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:12:29] local.INFO: Extracted packet for processing {"connection_id":107042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:12:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:29] 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-06-18 22:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:12: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-06-18 22:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:12:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":107042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:12:29] local.INFO: GPS data processed {"connection_id":107042,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:12:29] local.INFO: Acknowledgment sent {"connection_id":107042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:12:37] local.INFO: TCP Data received {"connection_id":106250,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9bfe30012da5514005ffd268001c004125..."} 
[2026-06-18 22:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9bfe30012da5514005ffd268001c004125..."} 
[2026-06-18 22:12:37] local.INFO: Processing buffer {"connection_id":106250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9bfe30012da5514005ffd268001c004125..."} 
[2026-06-18 22:12:37] local.INFO: Packet analysis {"connection_id":106250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:12:37] local.INFO: Extracted packet for processing {"connection_id":106250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:12:37] local.INFO: GPS Element Parsed {"raw_longitude":765808960,"raw_latitude":100651624,"longitude_deg":76.580896,"latitude_deg":10.0651624,"altitude":28,"angle":65,"satellites":37,"speed":22,"hex_longitude":"2da55140","hex_latitude":"05ffd268","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141028608001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94342564429168640,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6535004508524533760,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781800894000,"timestamp_ms":1781800894000,"timestamp_seconds":1781800894,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9bfe30"} 
[2026-06-18 22:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":42,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-06-18 22:12:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2280,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106250,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:12:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141028608001,"66":12004,"137":206,"88":20992,"24":22,"16":94342564429168640,"45":-6535004508524533760},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,88,24,16,45]} 
[2026-06-18 22:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141028608001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:12:37] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-06-18 22:12:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94342564429168640,"km_value":94342564429168.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6535004508524533760,"description":"Unknown IO ID 45"} 
[2026-06-18 22:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141028608001,"power":12004,"unknown_137":206,"unknown_88":20992,"ignition":22,"odometer":null,"unknown_45":-6535004508524533760}} 
[2026-06-18 22:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":106250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347320,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:12:37] local.INFO: GPS data processed {"connection_id":106250,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:12:37] local.INFO: Acknowledgment sent {"connection_id":106250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:12:37] local.INFO: TCP Data received {"connection_id":106251,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:12:37] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:12:37] local.INFO: IMEI packet received {"connection_id":106251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":106251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:12:43] local.INFO: TCP Data received {"connection_id":106251,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:12:43] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:12:43] local.INFO: IMEI packet received {"connection_id":106251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":106251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:12:44] local.INFO: TCP Data received {"connection_id":106251,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:12:44] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:12:44] local.INFO: Packet analysis {"connection_id":106251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:12:44] local.INFO: Extracted packet for processing {"connection_id":106251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:12: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-06-18 22:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:12:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:12:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":106251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:12:44] local.INFO: GPS data processed {"connection_id":106251,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:12:44] local.INFO: Acknowledgment sent {"connection_id":106251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:12:59] local.INFO: TCP Data received {"connection_id":107043,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:59] local.INFO: Processing buffer {"connection_id":107043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:12:59] local.INFO: IMEI packet received {"connection_id":107043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":107043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:13:00] local.INFO: TCP Data received {"connection_id":107043,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:13:00] local.INFO: Processing buffer {"connection_id":107043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:13:00] local.INFO: IMEI packet received {"connection_id":107043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":107043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:13:00] local.INFO: TCP Data received {"connection_id":107042,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:13:00] local.INFO: Processing buffer {"connection_id":107042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:13:00] local.INFO: Packet analysis {"connection_id":107042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:13:00] local.INFO: Extracted packet for processing {"connection_id":107042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:13:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:00] 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-06-18 22:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:13: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-06-18 22:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:13: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-06-18 22:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:13:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":107042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:13:00] local.INFO: GPS data processed {"connection_id":107042,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:13:00] local.INFO: Acknowledgment sent {"connection_id":107042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:13:05] local.INFO: TCP Data received {"connection_id":107043,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107043,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:13:05] local.INFO: Processing buffer {"connection_id":107043,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:13:05] local.INFO: IMEI packet received {"connection_id":107043,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":107043,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:13:06] local.INFO: TCP Data received {"connection_id":107043,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9cfc18012da575c006008d40002d000923..."} 
[2026-06-18 22:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9cfc18012da575c006008d40002d000923..."} 
[2026-06-18 22:13:06] local.INFO: Processing buffer {"connection_id":107043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9cfc18012da575c006008d40002d000923..."} 
[2026-06-18 22:13:06] local.INFO: Packet analysis {"connection_id":107043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9c"} 
[2026-06-18 22:13:06] local.INFO: Extracted packet for processing {"connection_id":107043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9c"} 
[2026-06-18 22:13:06] local.INFO: GPS Element Parsed {"raw_longitude":765818304,"raw_latitude":100699456,"longitude_deg":76.5818304,"latitude_deg":10.0699456,"altitude":45,"angle":9,"satellites":35,"speed":34,"hex_longitude":"2da575c0","hex_latitude":"06008d40","is_valid_coordinates":true} 
[2026-06-18 22:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141042432001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94344982495756288,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6527404684143382528,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781800959000,"timestamp_ms":1781800959000,"timestamp_seconds":1781800959,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9cfc18"} 
[2026-06-18 22:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:13:06] 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-06-18 22:13:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":157,"data_length":795,"current_offset":136} 
[2026-06-18 22:13:06] 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-06-18 22:13:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141042432001,"66":12058,"128":206,"88":20992,"24":34,"16":94344982495756288,"45":-6527404684143382528},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,88,24,16,45]} 
[2026-06-18 22:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141042432001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:13:06] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-18 22:13:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94344982495756288,"km_value":94344982495756.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6527404684143382528,"description":"Unknown IO ID 45"} 
[2026-06-18 22:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141042432001,"power":12058,"unknown_128":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6527404684143382528}} 
[2026-06-18 22:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":107043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347323,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:13:06] local.INFO: GPS data processed {"connection_id":107043,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:13:06] local.INFO: Acknowledgment sent {"connection_id":107043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:13:16] local.INFO: TCP Data received {"connection_id":106251,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:13:16] local.INFO: Processing buffer {"connection_id":106251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:13:16] local.INFO: Packet analysis {"connection_id":106251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:13:16] local.INFO: Extracted packet for processing {"connection_id":106251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:13:16] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:13:16] 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-06-18 22:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106251,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:13:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:13:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":106251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:13:16] local.INFO: GPS data processed {"connection_id":106251,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:13:16] local.INFO: Acknowledgment sent {"connection_id":106251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:13:23] local.INFO: TCP Data received {"connection_id":106425,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:13:23] local.INFO: Processing buffer {"connection_id":106425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:13:23] local.INFO: IMEI packet received {"connection_id":106425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":106425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:13:29] local.INFO: TCP Data received {"connection_id":106425,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:13:29] local.INFO: Processing buffer {"connection_id":106425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:13:29] local.INFO: IMEI packet received {"connection_id":106425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":106425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:13:29] local.INFO: TCP Data received {"connection_id":106425,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:13:29] local.INFO: Processing buffer {"connection_id":106425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb98cdc8012cc3308007685ac8005b006d27..."} 
[2026-06-18 22:13:29] local.INFO: Packet analysis {"connection_id":106425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:13:29] local.INFO: Extracted packet for processing {"connection_id":106425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb98"} 
[2026-06-18 22:13:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":39,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140898304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:29] 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-06-18 22:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800685000,"timestamp_ms":1781800685000,"timestamp_seconds":1781800685,"priority":1,"record_length":96,"hex_timestamp":"0000019edb98cdc8"} 
[2026-06-18 22:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:13: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-06-18 22:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140898304001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140898304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:13:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140898304001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":106425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:13:29] local.INFO: GPS data processed {"connection_id":106425,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:13:29] local.INFO: Acknowledgment sent {"connection_id":106425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:13:32] local.INFO: TCP Data received {"connection_id":107044,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:13:32] local.INFO: Processing buffer {"connection_id":107044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:13:32] local.INFO: IMEI packet received {"connection_id":107044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":107044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:13:37] local.INFO: TCP Data received {"connection_id":107043,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9dafc8012da57bc0060106a80028002225..."} 
[2026-06-18 22:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9dafc8012da57bc0060106a80028002225..."} 
[2026-06-18 22:13:37] local.INFO: Processing buffer {"connection_id":107043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9dafc8012da57bc0060106a80028002225..."} 
[2026-06-18 22:13:37] local.INFO: Packet analysis {"connection_id":107043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:13:37] local.INFO: Extracted packet for processing {"connection_id":107043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":765819840,"raw_latitude":100730536,"longitude_deg":76.581984,"latitude_deg":10.0730536,"altitude":40,"angle":34,"satellites":37,"speed":31,"hex_longitude":"2da57bc0","hex_latitude":"060106a8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141057280001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94346700482674688,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6522408503296481280,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781801005000,"timestamp_ms":1781801005000,"timestamp_seconds":1781801005,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9dafc8"} 
[2026-06-18 22:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 22:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107043,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141057280001,"66":12058,"128":206,"88":20992,"24":31,"16":94346700482674688,"45":-6522408503296481280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,88,24,16,45]} 
[2026-06-18 22:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141057280001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:13:37] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-18 22:13:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94346700482674688,"km_value":94346700482674.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6522408503296481280,"description":"Unknown IO ID 45"} 
[2026-06-18 22:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141057280001,"power":12058,"unknown_128":206,"unknown_88":20992,"ignition":31,"odometer":null,"unknown_45":-6522408503296481280}} 
[2026-06-18 22:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":107043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347326,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:13:37] local.INFO: GPS data processed {"connection_id":107043,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:13:37] local.INFO: Acknowledgment sent {"connection_id":107043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:13:38] local.INFO: TCP Data received {"connection_id":107044,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:13:38] local.INFO: Processing buffer {"connection_id":107044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:13:38] local.INFO: IMEI packet received {"connection_id":107044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":107044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:13:39] local.INFO: TCP Data received {"connection_id":107044,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:13:39] local.INFO: Processing buffer {"connection_id":107044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:13:39] local.INFO: Packet analysis {"connection_id":107044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:13:39] local.INFO: Extracted packet for processing {"connection_id":107044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:13: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-06-18 22:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:13:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:13:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":107044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:13:39] local.INFO: GPS data processed {"connection_id":107044,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:13:39] local.INFO: Acknowledgment sent {"connection_id":107044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:14:00] local.INFO: TCP Data received {"connection_id":106425,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:14:00] local.INFO: Processing buffer {"connection_id":106425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:14:00] local.INFO: Packet analysis {"connection_id":106425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:00] local.INFO: Extracted packet for processing {"connection_id":106425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:00] 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-06-18 22:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:14:00] 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-06-18 22:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:14:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":106425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:14:00] local.INFO: GPS data processed {"connection_id":106425,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:14:00] local.INFO: Acknowledgment sent {"connection_id":106425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:14:04] local.INFO: TCP Data received {"connection_id":106252,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:14:05] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:14:05] local.INFO: IMEI packet received {"connection_id":106252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":106252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:14:09] local.INFO: TCP Data received {"connection_id":106252,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:14:09] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:14:09] local.INFO: IMEI packet received {"connection_id":106252,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":106252,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:14:10] local.INFO: TCP Data received {"connection_id":106252,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9dcf08012da58d0006011a500029003125..."} 
[2026-06-18 22:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9dcf08012da58d0006011a500029003125..."} 
[2026-06-18 22:14:10] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9dcf08012da58d0006011a500029003125..."} 
[2026-06-18 22:14:10] local.INFO: Packet analysis {"connection_id":106252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:10] local.INFO: Extracted packet for processing {"connection_id":106252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":765824256,"raw_latitude":100735568,"longitude_deg":76.5824256,"latitude_deg":10.0735568,"altitude":41,"angle":49,"satellites":37,"speed":28,"hex_longitude":"2da58d00","hex_latitude":"06011a50","is_valid_coordinates":true} 
[2026-06-18 22:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141057280001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94347022605221888,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6522408503296481280,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781801013000,"timestamp_ms":1781801013000,"timestamp_seconds":1781801013,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9dcf08"} 
[2026-06-18 22:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:14:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 22:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":667,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:14:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:14:10] 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-06-18 22:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141057280001,"66":12113,"128":206,"88":20992,"24":28,"16":94347022605221888,"45":-6522408503296481280},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,88,24,16,45]} 
[2026-06-18 22:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141057280001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:14:10] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-18 22:14:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94347022605221888,"km_value":94347022605221.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6522408503296481280,"description":"Unknown IO ID 45"} 
[2026-06-18 22:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141057280001,"power":12113,"unknown_128":206,"unknown_88":20992,"ignition":28,"odometer":null,"unknown_45":-6522408503296481280}} 
[2026-06-18 22:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":106252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347329,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:14:10] local.INFO: GPS data processed {"connection_id":106252,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:14:10] local.INFO: Acknowledgment sent {"connection_id":106252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:14:11] local.INFO: TCP Data received {"connection_id":106252,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9dd6d8012da5924006011d380029004224..."} 
[2026-06-18 22:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9dd6d8012da5924006011d380029004224..."} 
[2026-06-18 22:14:11] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9dd6d8012da5924006011d380029004224..."} 
[2026-06-18 22:14:11] local.INFO: Packet analysis {"connection_id":106252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:11] local.INFO: Extracted packet for processing {"connection_id":106252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:11] local.INFO: GPS Element Parsed {"raw_longitude":765825600,"raw_latitude":100736312,"longitude_deg":76.58256,"latitude_deg":10.0736312,"altitude":41,"angle":66,"satellites":36,"speed":29,"hex_longitude":"2da59240","hex_latitude":"06011d38","is_valid_coordinates":true} 
[2026-06-18 22:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141059328001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94347095619665920,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6517553059946934272,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781801015000,"timestamp_ms":1781801015000,"timestamp_seconds":1781801015,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9dd6d8"} 
[2026-06-18 22:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-06-18 22:14:11] 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-06-18 22:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141059328001,"66":12015,"128":206,"88":20992,"24":29,"16":94347095619665920,"45":-6517553059946934272},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,88,24,16,45]} 
[2026-06-18 22:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141059328001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:14:11] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-18 22:14:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94347095619665920,"km_value":94347095619665.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6517553059946934272,"description":"Unknown IO ID 45"} 
[2026-06-18 22:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141059328001,"power":12015,"unknown_128":206,"unknown_88":20992,"ignition":29,"odometer":null,"unknown_45":-6517553059946934272}} 
[2026-06-18 22:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":106252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347330,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:14:11] local.INFO: GPS data processed {"connection_id":106252,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:14:11] local.INFO: Acknowledgment sent {"connection_id":106252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:14:11] local.INFO: TCP Data received {"connection_id":107044,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:11] local.INFO: Processing buffer {"connection_id":107044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:11] local.INFO: Packet analysis {"connection_id":107044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:14:11] local.INFO: Extracted packet for processing {"connection_id":107044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:14:11] 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-06-18 22:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":107044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:14:11] local.INFO: GPS data processed {"connection_id":107044,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:14:11] local.INFO: Acknowledgment sent {"connection_id":107044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:14:24] local.INFO: TCP Data received {"connection_id":107968,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:14:24] local.INFO: Processing buffer {"connection_id":107968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:14:24] local.INFO: IMEI packet received {"connection_id":107968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":107968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:14:29] local.INFO: TCP Data received {"connection_id":107968,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:14:29] local.INFO: Processing buffer {"connection_id":107968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:14:29] local.INFO: IMEI packet received {"connection_id":107968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":107968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:14:29] local.INFO: TCP Data received {"connection_id":107968,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:14:29] local.INFO: Processing buffer {"connection_id":107968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:14:29] local.INFO: Packet analysis {"connection_id":107968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:29] local.INFO: Extracted packet for processing {"connection_id":107968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:29] 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-06-18 22:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:14:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:14:29] 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-06-18 22:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:14:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:14:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":107968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:14:30] local.INFO: GPS data processed {"connection_id":107968,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:14:30] local.INFO: Acknowledgment sent {"connection_id":107968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:14:38] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:14:38] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:14:38] local.INFO: IMEI packet received {"connection_id":106426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:14:38] local.INFO: IMEI acknowledgment sent {"connection_id":106426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:14:42] local.INFO: TCP Data received {"connection_id":106252,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9ddea8012da5988006011ef00029004f24..."} 
[2026-06-18 22:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9ddea8012da5988006011ef00029004f24..."} 
[2026-06-18 22:14:42] local.INFO: Processing buffer {"connection_id":106252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9ddea8012da5988006011ef00029004f24..."} 
[2026-06-18 22:14:42] local.INFO: Packet analysis {"connection_id":106252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:42] local.INFO: Extracted packet for processing {"connection_id":106252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:14:42] local.INFO: GPS Element Parsed {"raw_longitude":765827200,"raw_latitude":100736752,"longitude_deg":76.58272,"latitude_deg":10.0736752,"altitude":41,"angle":79,"satellites":36,"speed":36,"hex_longitude":"2da59880","hex_latitude":"06011ef0","is_valid_coordinates":true} 
[2026-06-18 22:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141059840001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94347172929077248,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6516075316319012864,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781801017000,"timestamp_ms":1781801017000,"timestamp_seconds":1781801017,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9ddea8"} 
[2026-06-18 22:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 22:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106252,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141059840001,"66":11874,"128":206,"88":20992,"24":36,"16":94347172929077248,"45":-6516075316319012864},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,88,24,16,45]} 
[2026-06-18 22:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141059840001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:14:42] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-06-18 22:14:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94347172929077248,"km_value":94347172929077.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6516075316319012864,"description":"Unknown IO ID 45"} 
[2026-06-18 22:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141059840001,"power":11874,"unknown_128":206,"unknown_88":20992,"ignition":36,"odometer":null,"unknown_45":-6516075316319012864}} 
[2026-06-18 22:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":106252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347333,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:14:42] local.INFO: GPS data processed {"connection_id":106252,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:14:42] local.INFO: Acknowledgment sent {"connection_id":106252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:14:43] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:14:43] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:14:43] local.INFO: IMEI packet received {"connection_id":106426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:14:43] local.INFO: IMEI acknowledgment sent {"connection_id":106426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:14:45] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:45] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:45] local.INFO: Packet analysis {"connection_id":106426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:14:45] local.INFO: Extracted packet for processing {"connection_id":106426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:14:45] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:14:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:14:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:14:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:14:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":106426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:14:45] local.INFO: GPS data processed {"connection_id":106426,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:14:45] local.INFO: Acknowledgment sent {"connection_id":106426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:14:49] local.INFO: TCP Data received {"connection_id":106426,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:49] local.INFO: Processing buffer {"connection_id":106426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:14:49] local.INFO: Packet analysis {"connection_id":106426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:14:49] local.INFO: Extracted packet for processing {"connection_id":106426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:14:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106426,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:14:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:14:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":106426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:14:49] local.INFO: GPS data processed {"connection_id":106426,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:14:49] local.INFO: Acknowledgment sent {"connection_id":106426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:15:00] local.INFO: TCP Data received {"connection_id":106427,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:00] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:00] local.INFO: IMEI packet received {"connection_id":106427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":106427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:15:00] local.INFO: TCP Data received {"connection_id":106427,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:00] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:00] local.INFO: IMEI packet received {"connection_id":106427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":106427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:15:00] local.INFO: TCP Data received {"connection_id":107968,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:15:01] local.INFO: Processing buffer {"connection_id":107968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:15:01] local.INFO: Packet analysis {"connection_id":107968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:15:01] local.INFO: Extracted packet for processing {"connection_id":107968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:15:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:01] 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-06-18 22:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:15:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:15:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:15: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-06-18 22:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:15:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:15:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":107968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:15:01] local.INFO: GPS data processed {"connection_id":107968,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:15:01] local.INFO: Acknowledgment sent {"connection_id":107968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:15:01] local.INFO: TCP Data received {"connection_id":106427,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:01] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:01] local.INFO: IMEI packet received {"connection_id":106427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":106427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:15:05] local.INFO: TCP Data received {"connection_id":106427,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:05] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:05] local.INFO: IMEI packet received {"connection_id":106427,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":106427,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:15:06] local.INFO: TCP Data received {"connection_id":106427,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9ed4c0012da68040060129400032007126..."} 
[2026-06-18 22:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9ed4c0012da68040060129400032007126..."} 
[2026-06-18 22:15:06] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9ed4c0012da68040060129400032007126..."} 
[2026-06-18 22:15:06] local.INFO: Packet analysis {"connection_id":106427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9e"} 
[2026-06-18 22:15:06] local.INFO: Extracted packet for processing {"connection_id":106427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9e"} 
[2026-06-18 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":765886528,"raw_latitude":100739392,"longitude_deg":76.5886528,"latitude_deg":10.0739392,"altitude":50,"angle":113,"satellites":38,"speed":26,"hex_longitude":"2da68040","hex_latitude":"06012940","is_valid_coordinates":true} 
[2026-06-18 22:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141075968001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94350136456511488,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6450421278000359424,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781801080000,"timestamp_ms":1781801080000,"timestamp_seconds":1781801080,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9ed4c0"} 
[2026-06-18 22:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 22:15:06] 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-06-18 22:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141075968001,"66":11950,"217":206,"88":20992,"24":26,"16":94350136456511488,"45":-6450421278000359424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,88,24,16,45]} 
[2026-06-18 22:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141075968001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:15:06] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 22:15:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94350136456511488,"km_value":94350136456511.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6450421278000359424,"description":"Unknown IO ID 45"} 
[2026-06-18 22:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141075968001,"power":11950,"unknown_217":206,"unknown_88":20992,"ignition":26,"odometer":null,"unknown_45":-6450421278000359424}} 
[2026-06-18 22:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":106427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347337,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:15:06] local.INFO: GPS data processed {"connection_id":106427,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:15:06] local.INFO: Acknowledgment sent {"connection_id":106427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:15:12] local.INFO: TCP Data received {"connection_id":106427,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9ee460012da68a00060125b00034005e25..."} 
[2026-06-18 22:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9ee460012da68a00060125b00034005e25..."} 
[2026-06-18 22:15:12] local.INFO: Processing buffer {"connection_id":106427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9ee460012da68a00060125b00034005e25..."} 
[2026-06-18 22:15:12] local.INFO: Packet analysis {"connection_id":106427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9e"} 
[2026-06-18 22:15:12] local.INFO: Extracted packet for processing {"connection_id":106427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9e"} 
[2026-06-18 22:15:12] local.INFO: GPS Element Parsed {"raw_longitude":765889024,"raw_latitude":100738480,"longitude_deg":76.5889024,"latitude_deg":10.073848,"altitude":52,"angle":94,"satellites":37,"speed":26,"hex_longitude":"2da68a00","hex_latitude":"060125b0","is_valid_coordinates":true} 
[2026-06-18 22:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141076480001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94350265305530368,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6449084271861088256,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781801084000,"timestamp_ms":1781801084000,"timestamp_seconds":1781801084,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9ee460"} 
[2026-06-18 22:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 22:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106427,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:15:12] 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-06-18 22:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141076480001,"66":11624,"217":206,"88":20992,"24":26,"16":94350265305530368,"45":-6449084271861088256},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,88,24,16,45]} 
[2026-06-18 22:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141076480001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:15:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-06-18 22:15:12] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94350265305530368,"km_value":94350265305530.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6449084271861088256,"description":"Unknown IO ID 45"} 
[2026-06-18 22:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141076480001,"power":11624,"unknown_217":206,"unknown_88":20992,"ignition":26,"odometer":null,"unknown_45":-6449084271861088256}} 
[2026-06-18 22:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":106427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347338,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:15:12] local.INFO: GPS data processed {"connection_id":106427,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:15:12] local.INFO: Acknowledgment sent {"connection_id":106427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:15:24] local.INFO: TCP Data received {"connection_id":106428,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:15:24] local.INFO: Processing buffer {"connection_id":106428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:15:24] local.INFO: IMEI packet received {"connection_id":106428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:15:24] local.INFO: IMEI acknowledgment sent {"connection_id":106428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:15:29] local.INFO: TCP Data received {"connection_id":106428,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:15:29] local.INFO: Processing buffer {"connection_id":106428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:15:29] local.INFO: IMEI packet received {"connection_id":106428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":106428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:15:29] local.INFO: TCP Data received {"connection_id":106428,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:15:29] local.INFO: Processing buffer {"connection_id":106428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:15:29] local.INFO: Packet analysis {"connection_id":106428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:15:29] local.INFO: Extracted packet for processing {"connection_id":106428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:15:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:29] 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-06-18 22:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:15:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:15:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":106428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:15:30] local.INFO: GPS data processed {"connection_id":106428,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:15:30] local.INFO: Acknowledgment sent {"connection_id":106428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:15:32] local.INFO: TCP Data received {"connection_id":107969,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:15:32] local.INFO: Processing buffer {"connection_id":107969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:15:32] local.INFO: IMEI packet received {"connection_id":107969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":107969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:15:38] local.INFO: TCP Data received {"connection_id":107969,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:15:38] local.INFO: Processing buffer {"connection_id":107969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:15:38] local.INFO: IMEI packet received {"connection_id":107969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":107969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:15:39] local.INFO: TCP Data received {"connection_id":107969,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:15:39] local.INFO: Processing buffer {"connection_id":107969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:15:39] local.INFO: Packet analysis {"connection_id":107969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:15:39] local.INFO: Extracted packet for processing {"connection_id":107969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:15:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:15: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-06-18 22:15:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:15:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:15:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:15:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":107969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:15:39] local.INFO: GPS data processed {"connection_id":107969,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:15:39] local.INFO: Acknowledgment sent {"connection_id":107969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:15:59] local.INFO: TCP Data received {"connection_id":107970,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:59] local.INFO: Processing buffer {"connection_id":107970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:59] local.INFO: IMEI packet received {"connection_id":107970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":107970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:15:59] local.INFO: TCP Data received {"connection_id":107970,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:59] local.INFO: Processing buffer {"connection_id":107970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:15:59] local.INFO: IMEI packet received {"connection_id":107970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":107970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:16:00] local.INFO: TCP Data received {"connection_id":107970,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:16:00] local.INFO: Processing buffer {"connection_id":107970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:16:00] local.INFO: IMEI packet received {"connection_id":107970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":107970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:16:00] local.INFO: TCP Data received {"connection_id":107970,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107970,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:16:00] local.INFO: Processing buffer {"connection_id":107970,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:16:00] local.INFO: IMEI packet received {"connection_id":107970,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":107970,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:16:00] local.INFO: TCP Data received {"connection_id":106428,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:16:00] local.INFO: Processing buffer {"connection_id":106428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:16:00] local.INFO: Packet analysis {"connection_id":106428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:16:00] local.INFO: Extracted packet for processing {"connection_id":106428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:16:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:00] 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-06-18 22:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:16: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-06-18 22:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:16:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:16:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":106428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:16:01] local.INFO: GPS data processed {"connection_id":106428,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:16:01] local.INFO: Acknowledgment sent {"connection_id":106428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:16:11] local.INFO: TCP Data received {"connection_id":107969,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:11] local.INFO: Processing buffer {"connection_id":107969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9b3ae0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:11] local.INFO: Packet analysis {"connection_id":107969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:16:11] local.INFO: Extracted packet for processing {"connection_id":107969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9b"} 
[2026-06-18 22:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140939008001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781800844000,"timestamp_ms":1781800844000,"timestamp_seconds":1781800844,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9b3ae0"} 
[2026-06-18 22:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-06-18 22:16:11] 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-06-18 22:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107969,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140939008001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140939008001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:16:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:16:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140939008001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":107969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:16:11] local.INFO: GPS data processed {"connection_id":107969,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:16:11] local.INFO: Acknowledgment sent {"connection_id":107969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:16:24] local.INFO: TCP Data received {"connection_id":106253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:16:24] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:16:24] local.INFO: IMEI packet received {"connection_id":106253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":106253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:16:29] local.INFO: TCP Data received {"connection_id":106253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:16:29] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:16:29] local.INFO: IMEI packet received {"connection_id":106253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":106253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:16:29] local.INFO: TCP Data received {"connection_id":106253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:16:29] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:16:29] local.INFO: Packet analysis {"connection_id":106253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:16:29] local.INFO: Extracted packet for processing {"connection_id":106253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:16:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:29] 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-06-18 22:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:16: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-06-18 22:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:16:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":106253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:16:29] local.INFO: GPS data processed {"connection_id":106253,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:16:29] local.INFO: Acknowledgment sent {"connection_id":106253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:16:38] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:16:38] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:16:38] local.INFO: IMEI packet received {"connection_id":106429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":106429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:16:43] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:16:43] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:16:43] local.INFO: IMEI packet received {"connection_id":106429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":106429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:16:44] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:44] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:44] local.INFO: Packet analysis {"connection_id":106429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:16:44] local.INFO: Extracted packet for processing {"connection_id":106429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:16:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:16:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":106429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:16:44] local.INFO: GPS data processed {"connection_id":106429,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:16:44] local.INFO: Acknowledgment sent {"connection_id":106429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:16:49] local.INFO: TCP Data received {"connection_id":106429,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:49] local.INFO: Processing buffer {"connection_id":106429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:16:49] local.INFO: Packet analysis {"connection_id":106429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:16:49] local.INFO: Extracted packet for processing {"connection_id":106429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:16:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:16:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:16:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":106429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:16:49] local.INFO: GPS data processed {"connection_id":106429,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:16:49] local.INFO: Acknowledgment sent {"connection_id":106429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:17:00] local.INFO: TCP Data received {"connection_id":106253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:17:00] local.INFO: Processing buffer {"connection_id":106253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:17:00] local.INFO: Packet analysis {"connection_id":106253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:17:00] local.INFO: Extracted packet for processing {"connection_id":106253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:17:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:00] 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-06-18 22:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:17: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-06-18 22:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:17:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":106253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:17:01] local.INFO: GPS data processed {"connection_id":106253,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:17:01] local.INFO: Acknowledgment sent {"connection_id":106253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:17:23] local.INFO: TCP Data received {"connection_id":107972,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:17:23] local.INFO: Processing buffer {"connection_id":107972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:17:23] local.INFO: IMEI packet received {"connection_id":107972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":107972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:17:29] local.INFO: TCP Data received {"connection_id":107972,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:17:29] local.INFO: Processing buffer {"connection_id":107972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:17:29] local.INFO: IMEI packet received {"connection_id":107972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":107972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:17:29] local.INFO: TCP Data received {"connection_id":107972,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:17:29] local.INFO: Processing buffer {"connection_id":107972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:17:29] local.INFO: Packet analysis {"connection_id":107972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:17:29] local.INFO: Extracted packet for processing {"connection_id":107972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:17:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:29] 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-06-18 22:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:17: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-06-18 22:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:17:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":107972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:17:29] local.INFO: GPS data processed {"connection_id":107972,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:17:29] local.INFO: Acknowledgment sent {"connection_id":107972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:17:33] local.INFO: TCP Data received {"connection_id":106430,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:17:33] local.INFO: Processing buffer {"connection_id":106430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:17:33] local.INFO: IMEI packet received {"connection_id":106430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:17:33] local.INFO: IMEI acknowledgment sent {"connection_id":106430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:17:38] local.INFO: TCP Data received {"connection_id":106430,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:17:38] local.INFO: Processing buffer {"connection_id":106430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:17:38] local.INFO: IMEI packet received {"connection_id":106430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":106430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:17:41] local.INFO: TCP Data received {"connection_id":106430,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:17:41] local.INFO: Processing buffer {"connection_id":106430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:17:41] local.INFO: Packet analysis {"connection_id":106430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:17:41] local.INFO: Extracted packet for processing {"connection_id":106430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:17:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:17:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:17:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:17:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":106430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:17:41] local.INFO: GPS data processed {"connection_id":106430,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:17:41] local.INFO: Acknowledgment sent {"connection_id":106430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:18:00] local.INFO: TCP Data received {"connection_id":107972,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:18:00] local.INFO: Processing buffer {"connection_id":107972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:18:00] local.INFO: Packet analysis {"connection_id":107972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:18:00] local.INFO: Extracted packet for processing {"connection_id":107972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:18:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:00] 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-06-18 22:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:18: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-06-18 22:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:18:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:18:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":107972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:18:01] local.INFO: GPS data processed {"connection_id":107972,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:18:01] local.INFO: Acknowledgment sent {"connection_id":107972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:18:12] local.INFO: TCP Data received {"connection_id":106430,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:18:12] local.INFO: Processing buffer {"connection_id":106430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:18:12] local.INFO: Packet analysis {"connection_id":106430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:18:12] local.INFO: Extracted packet for processing {"connection_id":106430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:18:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:18:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:18:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":106430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:18:12] local.INFO: GPS data processed {"connection_id":106430,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:18:12] local.INFO: Acknowledgment sent {"connection_id":106430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:18:23] local.INFO: TCP Data received {"connection_id":106254,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:18:23] local.INFO: Processing buffer {"connection_id":106254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:18:23] local.INFO: IMEI packet received {"connection_id":106254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":106254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:18:29] local.INFO: TCP Data received {"connection_id":106254,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:18:29] local.INFO: Processing buffer {"connection_id":106254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:18:29] local.INFO: IMEI packet received {"connection_id":106254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":106254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:18:29] local.INFO: TCP Data received {"connection_id":106254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:18:29] local.INFO: Processing buffer {"connection_id":106254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9d6590012cc3308007685ac80061006d26..."} 
[2026-06-18 22:18:29] local.INFO: Packet analysis {"connection_id":106254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:18:29] local.INFO: Extracted packet for processing {"connection_id":106254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9d"} 
[2026-06-18 22:18:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":38,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456140975360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:29] 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-06-18 22:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781800986000,"timestamp_ms":1781800986000,"timestamp_seconds":1781800986,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9d6590"} 
[2026-06-18 22:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456140975360001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456140975360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:18:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456140975360001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":106254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:18:29] local.INFO: GPS data processed {"connection_id":106254,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:18:29] local.INFO: Acknowledgment sent {"connection_id":106254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:18:32] local.INFO: TCP Data received {"connection_id":107045,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:18:32] local.INFO: Processing buffer {"connection_id":107045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:18:32] local.INFO: IMEI packet received {"connection_id":107045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":107045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:18:38] local.INFO: TCP Data received {"connection_id":107045,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107045,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:18:38] local.INFO: Processing buffer {"connection_id":107045,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:18:38] local.INFO: IMEI packet received {"connection_id":107045,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":107045,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:18:39] local.INFO: TCP Data received {"connection_id":107045,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:18:39] local.INFO: Processing buffer {"connection_id":107045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:18:39] local.INFO: Packet analysis {"connection_id":107045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:18:39] local.INFO: Extracted packet for processing {"connection_id":107045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:18: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-06-18 22:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:18:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:18:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":107045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:18:40] local.INFO: GPS data processed {"connection_id":107045,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:18:40] local.INFO: Acknowledgment sent {"connection_id":107045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:19:00] local.INFO: TCP Data received {"connection_id":106254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:19:00] local.INFO: Processing buffer {"connection_id":106254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:19:00] local.INFO: Packet analysis {"connection_id":106254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:19:00] local.INFO: Extracted packet for processing {"connection_id":106254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:19:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:00] 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-06-18 22:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:19: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-06-18 22:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:19:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:19:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:19:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":106254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:19:00] local.INFO: GPS data processed {"connection_id":106254,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:19:00] local.INFO: Acknowledgment sent {"connection_id":106254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:19:11] local.INFO: TCP Data received {"connection_id":107045,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:19:11] local.INFO: Processing buffer {"connection_id":107045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:19:11] local.INFO: Packet analysis {"connection_id":107045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:19:11] local.INFO: Extracted packet for processing {"connection_id":107045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:19:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:19:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107045,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:19:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:19:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":107045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:19:11] local.INFO: GPS data processed {"connection_id":107045,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:19:11] local.INFO: Acknowledgment sent {"connection_id":107045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:19:23] local.INFO: TCP Data received {"connection_id":107973,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:19:23] local.INFO: Processing buffer {"connection_id":107973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:19:23] local.INFO: IMEI packet received {"connection_id":107973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":107973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:19:29] local.INFO: TCP Data received {"connection_id":107973,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:19:29] local.INFO: Processing buffer {"connection_id":107973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:19:29] local.INFO: IMEI packet received {"connection_id":107973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":107973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:19:29] local.INFO: TCP Data received {"connection_id":107973,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:19:29] local.INFO: Processing buffer {"connection_id":107973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:19:29] local.INFO: Packet analysis {"connection_id":107973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:19:29] local.INFO: Extracted packet for processing {"connection_id":107973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:19:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:29] 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-06-18 22:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:19:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":107973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:19:29] local.INFO: GPS data processed {"connection_id":107973,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:19:29] local.INFO: Acknowledgment sent {"connection_id":107973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:19:32] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:19:32] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:19:32] local.INFO: IMEI packet received {"connection_id":106255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:19:32] local.INFO: IMEI acknowledgment sent {"connection_id":106255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:19:38] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:19:38] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:19:38] local.INFO: IMEI packet received {"connection_id":106255,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":106255,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:19:40] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:19:40] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:19:40] local.INFO: Packet analysis {"connection_id":106255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:19:40] local.INFO: Extracted packet for processing {"connection_id":106255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:19:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:19:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":106255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:19:40] local.INFO: GPS data processed {"connection_id":106255,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:19:40] local.INFO: Acknowledgment sent {"connection_id":106255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:20:00] local.INFO: TCP Data received {"connection_id":107973,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:20:00] local.INFO: Processing buffer {"connection_id":107973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:20:00] local.INFO: Packet analysis {"connection_id":107973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:20:00] local.INFO: Extracted packet for processing {"connection_id":107973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:20:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:00] 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-06-18 22:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:20: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-06-18 22:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:20:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:20:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:20:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":107973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:20:01] local.INFO: GPS data processed {"connection_id":107973,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:20:01] local.INFO: Acknowledgment sent {"connection_id":107973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:20:12] local.INFO: TCP Data received {"connection_id":106255,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:12] local.INFO: Processing buffer {"connection_id":106255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:12] local.INFO: Packet analysis {"connection_id":106255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:20:12] local.INFO: Extracted packet for processing {"connection_id":106255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:20:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:20:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:20:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:20:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:20:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:20:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:20:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:20:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:20:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:20:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:20:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:20:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:20:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106255,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:20:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:20:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:20:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:20:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:20:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:20:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:20:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:20:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:20:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:20:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:20:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:20:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":106255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:20:12] local.INFO: GPS data processed {"connection_id":106255,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:20:12] local.INFO: Acknowledgment sent {"connection_id":106255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:20:24] local.INFO: TCP Data received {"connection_id":106433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:20:24] local.INFO: Processing buffer {"connection_id":106433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:20:24] local.INFO: IMEI packet received {"connection_id":106433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":106433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:20:29] local.INFO: TCP Data received {"connection_id":106433,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:20:29] local.INFO: Processing buffer {"connection_id":106433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:20:29] local.INFO: IMEI packet received {"connection_id":106433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":106433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:20:29] local.INFO: TCP Data received {"connection_id":106433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:20:29] local.INFO: Processing buffer {"connection_id":106433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:20:29] local.INFO: Packet analysis {"connection_id":106433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:20:29] local.INFO: Extracted packet for processing {"connection_id":106433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:29] 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-06-18 22:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:20:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":106433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:20:29] local.INFO: GPS data processed {"connection_id":106433,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:20:29] local.INFO: Acknowledgment sent {"connection_id":106433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:20:38] local.INFO: TCP Data received {"connection_id":107974,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:20:38] local.INFO: Processing buffer {"connection_id":107974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:20:38] local.INFO: IMEI packet received {"connection_id":107974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":107974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:20:43] local.INFO: TCP Data received {"connection_id":107974,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:20:43] local.INFO: Processing buffer {"connection_id":107974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:20:43] local.INFO: IMEI packet received {"connection_id":107974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":107974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:20:44] local.INFO: TCP Data received {"connection_id":107974,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:44] local.INFO: Processing buffer {"connection_id":107974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:44] local.INFO: Packet analysis {"connection_id":107974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:20:44] local.INFO: Extracted packet for processing {"connection_id":107974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:20:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:20:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:20:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:20:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:20:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:20:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":107974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:20:44] local.INFO: GPS data processed {"connection_id":107974,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:20:44] local.INFO: Acknowledgment sent {"connection_id":107974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:20:53] local.INFO: TCP Data received {"connection_id":107974,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:53] local.INFO: Processing buffer {"connection_id":107974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edb9fcec0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:20:53] local.INFO: Packet analysis {"connection_id":107974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:20:53] local.INFO: Extracted packet for processing {"connection_id":107974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edb9f"} 
[2026-06-18 22:20:53] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:20:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141016064001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:20:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:20:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781801144000,"timestamp_ms":1781801144000,"timestamp_seconds":1781801144,"priority":1,"record_length":96,"hex_timestamp":"0000019edb9fcec0"} 
[2026-06-18 22:20:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:20:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:20:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:20:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:20:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:20:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:20:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:20:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:20:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:20:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107974,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:20:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:20:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:20:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:20:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141016064001,"66":25430,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:20:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:20:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:20:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141016064001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:20:53] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:20:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:20:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:20:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:20:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141016064001,"power":25430,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:20:53] local.INFO: DEBUG: GPS processor result {"connection_id":107974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:20:53] local.INFO: GPS data processed {"connection_id":107974,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:20:53] local.INFO: Acknowledgment sent {"connection_id":107974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:21:01] local.INFO: TCP Data received {"connection_id":106433,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:21:01] local.INFO: Processing buffer {"connection_id":106433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:21:01] local.INFO: Packet analysis {"connection_id":106433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:21:01] local.INFO: Extracted packet for processing {"connection_id":106433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:21:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:01] 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-06-18 22:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:21: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-06-18 22:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:21:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":106433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:21:01] local.INFO: GPS data processed {"connection_id":106433,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:21:01] local.INFO: Acknowledgment sent {"connection_id":106433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:21:04] local.INFO: TCP Data received {"connection_id":107975,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107975,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:21:04] local.INFO: Processing buffer {"connection_id":107975,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:21:04] local.INFO: IMEI packet received {"connection_id":107975,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":107975,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:21:05] local.INFO: TCP Data received {"connection_id":107975,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edba36c88012da8a1c00600a0b80031000024..."} 
[2026-06-18 22:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba36c88012da8a1c00600a0b80031000024..."} 
[2026-06-18 22:21:05] local.INFO: Processing buffer {"connection_id":107975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba36c88012da8a1c00600a0b80031000024..."} 
[2026-06-18 22:21:05] local.INFO: Packet analysis {"connection_id":107975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:21:05] local.INFO: Extracted packet for processing {"connection_id":107975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:21:05] local.INFO: GPS Element Parsed {"raw_longitude":766026176,"raw_latitude":100704440,"longitude_deg":76.6026176,"latitude_deg":10.070444,"altitude":49,"angle":0,"satellites":36,"speed":6,"hex_longitude":"2da8a1c0","hex_latitude":"0600a0b8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141153280001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359430765740032,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295469303330234368,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781801381000,"timestamp_ms":1781801381000,"timestamp_seconds":1781801381,"priority":1,"record_length":96,"hex_timestamp":"0000019edba36c88"} 
[2026-06-18 22:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:21:05] 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-06-18 22: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":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 22:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:21: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-06-18 22:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141153280001,"66":11754,"241":206,"88":20992,"24":6,"16":94359430765740032,"45":-6295469303330234368},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141153280001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:21:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:21:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359430765740032,"km_value":94359430765740.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295469303330234368,"description":"Unknown IO ID 45"} 
[2026-06-18 22:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141153280001,"power":11754,"unknown_241":206,"unknown_88":20992,"ignition":6,"odometer":null,"unknown_45":-6295469303330234368}} 
[2026-06-18 22:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":107975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347363,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:21:05] local.INFO: GPS data processed {"connection_id":107975,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:21:05] local.INFO: Acknowledgment sent {"connection_id":107975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:21:23] local.INFO: TCP Data received {"connection_id":106434,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:21:23] local.INFO: Processing buffer {"connection_id":106434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:21:23] local.INFO: IMEI packet received {"connection_id":106434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":106434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:21:29] local.INFO: TCP Data received {"connection_id":106434,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:21:29] local.INFO: Processing buffer {"connection_id":106434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:21:29] local.INFO: IMEI packet received {"connection_id":106434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":106434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:21:29] local.INFO: TCP Data received {"connection_id":106434,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:21:29] local.INFO: Processing buffer {"connection_id":106434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:21:29] local.INFO: Packet analysis {"connection_id":106434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:21:29] local.INFO: Extracted packet for processing {"connection_id":106434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:21:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:29] 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-06-18 22:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:21: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-06-18 22:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:21:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":106434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:21:29] local.INFO: GPS data processed {"connection_id":106434,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:21:29] local.INFO: Acknowledgment sent {"connection_id":106434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:21:33] local.INFO: TCP Data received {"connection_id":106256,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:21:33] local.INFO: Processing buffer {"connection_id":106256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:21:33] local.INFO: IMEI packet received {"connection_id":106256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:21:33] local.INFO: IMEI acknowledgment sent {"connection_id":106256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:21:36] local.INFO: TCP Data received {"connection_id":107975,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edba37458012da8a2000600a1d00031000d24..."} 
[2026-06-18 22:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba37458012da8a2000600a1d00031000d24..."} 
[2026-06-18 22:21:36] local.INFO: Processing buffer {"connection_id":107975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba37458012da8a2000600a1d00031000d24..."} 
[2026-06-18 22:21:36] local.INFO: Packet analysis {"connection_id":107975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:21:36] local.INFO: Extracted packet for processing {"connection_id":107975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:21:36] local.INFO: GPS Element Parsed {"raw_longitude":766026240,"raw_latitude":100704720,"longitude_deg":76.602624,"latitude_deg":10.070472,"altitude":49,"angle":13,"satellites":36,"speed":5,"hex_longitude":"2da8a200","hex_latitude":"0600a1d0","is_valid_coordinates":true} 
[2026-06-18 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141153536001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359443650641920,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295539672074373120,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781801383000,"timestamp_ms":1781801383000,"timestamp_seconds":1781801383,"priority":1,"record_length":96,"hex_timestamp":"0000019edba37458"} 
[2026-06-18 22:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:21: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-06-18 22:21:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 22:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:21:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107975,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:21:36] 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-06-18 22:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141153536001,"66":11297,"241":206,"88":20992,"24":5,"16":94359443650641920,"45":-6295539672074373120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141153536001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:21:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:21:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359443650641920,"km_value":94359443650641.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295539672074373120,"description":"Unknown IO ID 45"} 
[2026-06-18 22:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141153536001,"power":11297,"unknown_241":206,"unknown_88":20992,"ignition":5,"odometer":null,"unknown_45":-6295539672074373120}} 
[2026-06-18 22:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":107975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347365,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:21:36] local.INFO: GPS data processed {"connection_id":107975,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:21:36] local.INFO: Acknowledgment sent {"connection_id":107975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:21:38] local.INFO: TCP Data received {"connection_id":106256,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:21:38] local.INFO: Processing buffer {"connection_id":106256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:21:38] local.INFO: IMEI packet received {"connection_id":106256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:21:38] local.INFO: IMEI acknowledgment sent {"connection_id":106256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:21:39] local.INFO: TCP Data received {"connection_id":106256,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:21:39] local.INFO: Processing buffer {"connection_id":106256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:21:39] local.INFO: Packet analysis {"connection_id":106256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:21:39] local.INFO: Extracted packet for processing {"connection_id":106256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:21: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-06-18 22:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:21: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-06-18 22:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:21:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":106256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347366,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:21:40] local.INFO: GPS data processed {"connection_id":106256,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:21:40] local.INFO: Acknowledgment sent {"connection_id":106256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:21:59] local.INFO: TCP Data received {"connection_id":107976,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:21:59] local.INFO: Processing buffer {"connection_id":107976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:21:59] local.INFO: IMEI packet received {"connection_id":107976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":107976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:22:00] local.INFO: TCP Data received {"connection_id":106434,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:22:00] local.INFO: Processing buffer {"connection_id":106434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:22:00] local.INFO: Packet analysis {"connection_id":106434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:22:00] local.INFO: Extracted packet for processing {"connection_id":106434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:22:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:00] 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-06-18 22:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:22: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-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:22: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-06-18 22:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:22:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":106434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:22:00] local.INFO: GPS data processed {"connection_id":106434,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:22:00] local.INFO: Acknowledgment sent {"connection_id":106434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:22:04] local.INFO: TCP Data received {"connection_id":107976,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107976,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:22:04] local.INFO: Processing buffer {"connection_id":107976,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:22:04] local.INFO: IMEI packet received {"connection_id":107976,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":107976,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:22:05] local.INFO: TCP Data received {"connection_id":107976,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba37840012da8a2000600a2480031001924..."} 
[2026-06-18 22:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba37840012da8a2000600a2480031001924..."} 
[2026-06-18 22:22:05] local.INFO: Processing buffer {"connection_id":107976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba37840012da8a2000600a2480031001924..."} 
[2026-06-18 22:22:05] local.INFO: Packet analysis {"connection_id":107976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:22:05] local.INFO: Extracted packet for processing {"connection_id":107976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:22:05] local.INFO: GPS Element Parsed {"raw_longitude":766026240,"raw_latitude":100704840,"longitude_deg":76.602624,"latitude_deg":10.070484,"altitude":49,"angle":25,"satellites":36,"speed":5,"hex_longitude":"2da8a200","hex_latitude":"0600a248","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141154048001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359452240576512,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295469303330123776,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781801384000,"timestamp_ms":1781801384000,"timestamp_seconds":1781801384,"priority":1,"record_length":96,"hex_timestamp":"0000019edba37840"} 
[2026-06-18 22:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:22:05] 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-06-18 22: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":44,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-06-18 22:22:05] 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-06-18 22: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-06-18 22:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:22:05] 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-06-18 22:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141154048001,"66":11830,"241":206,"88":20992,"24":5,"16":94359452240576512,"45":-6295469303330123776},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141154048001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:22:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:22:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359452240576512,"km_value":94359452240576.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295469303330123776,"description":"Unknown IO ID 45"} 
[2026-06-18 22:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141154048001,"power":11830,"unknown_241":206,"unknown_88":20992,"ignition":5,"odometer":null,"unknown_45":-6295469303330123776}} 
[2026-06-18 22:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":107976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347368,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:22:05] local.INFO: GPS data processed {"connection_id":107976,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:22:05] local.INFO: Acknowledgment sent {"connection_id":107976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:22:11] local.INFO: TCP Data received {"connection_id":106256,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:22:11] local.INFO: Processing buffer {"connection_id":106256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:22:11] local.INFO: Packet analysis {"connection_id":106256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:22:11] local.INFO: Extracted packet for processing {"connection_id":106256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:22:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:22:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:22:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:22:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:22:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:22:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:22:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:22:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:22:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:22:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:22:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106256,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:22:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:22:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:22:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:22:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:22:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:22:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:22:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:22:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:22:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:22:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:22:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:22:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":106256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:22:11] local.INFO: GPS data processed {"connection_id":106256,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:22:11] local.INFO: Acknowledgment sent {"connection_id":106256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:22:23] local.INFO: TCP Data received {"connection_id":106257,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:22:23] local.INFO: Processing buffer {"connection_id":106257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:22:23] local.INFO: IMEI packet received {"connection_id":106257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":106257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:22:29] local.INFO: TCP Data received {"connection_id":106257,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:22:29] local.INFO: Processing buffer {"connection_id":106257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:22:29] local.INFO: IMEI packet received {"connection_id":106257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":106257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:22:30] local.INFO: TCP Data received {"connection_id":106257,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:22:30] local.INFO: Processing buffer {"connection_id":106257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:22:30] local.INFO: Packet analysis {"connection_id":106257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:22:30] local.INFO: Extracted packet for processing {"connection_id":106257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:22:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:30] 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-06-18 22:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:22:30] 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-06-18 22: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-06-18 22:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:22:30] 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-06-18 22:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:22:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:22:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":106257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:22:30] local.INFO: GPS data processed {"connection_id":106257,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:22:30] local.INFO: Acknowledgment sent {"connection_id":106257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:22:32] local.INFO: TCP Data received {"connection_id":107977,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:22:32] local.INFO: Processing buffer {"connection_id":107977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:22:32] local.INFO: IMEI packet received {"connection_id":107977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":107977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:22:36] local.INFO: TCP Data received {"connection_id":107976,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba38010012da8a2400600a3280032002725..."} 
[2026-06-18 22:22:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba38010012da8a2400600a3280032002725..."} 
[2026-06-18 22:22:36] local.INFO: Processing buffer {"connection_id":107976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba38010012da8a2400600a3280032002725..."} 
[2026-06-18 22:22:36] local.INFO: Packet analysis {"connection_id":107976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:22:36] local.INFO: Extracted packet for processing {"connection_id":107976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:22:36] local.INFO: GPS Element Parsed {"raw_longitude":766026304,"raw_latitude":100705064,"longitude_deg":76.6026304,"latitude_deg":10.0705064,"altitude":50,"angle":39,"satellites":37,"speed":4,"hex_longitude":"2da8a240","hex_latitude":"0600a328","is_valid_coordinates":true} 
[2026-06-18 22:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:22:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141154304001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359460830511104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295469303330093056,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:22:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781801386000,"timestamp_ms":1781801386000,"timestamp_seconds":1781801386,"priority":1,"record_length":96,"hex_timestamp":"0000019edba38010"} 
[2026-06-18 22:22:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:22: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-06-18 22:22:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 22:22:36] 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-06-18 22:22:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:22:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:22:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:22:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:22:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:22:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107976,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:22:36] 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-06-18 22:22:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:22:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:22:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141154304001,"66":10710,"241":206,"88":20992,"24":4,"16":94359460830511104,"45":-6295469303330093056},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:22:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:22:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:22:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141154304001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:22:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:22:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:22:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359460830511104,"km_value":94359460830511.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:22:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295469303330093056,"description":"Unknown IO ID 45"} 
[2026-06-18 22:22:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141154304001,"power":10710,"unknown_241":206,"unknown_88":20992,"ignition":4,"odometer":null,"unknown_45":-6295469303330093056}} 
[2026-06-18 22:22:36] local.INFO: DEBUG: GPS processor result {"connection_id":107976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347371,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:22:36] local.INFO: GPS data processed {"connection_id":107976,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:22:36] local.INFO: Acknowledgment sent {"connection_id":107976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:22:38] local.INFO: TCP Data received {"connection_id":107977,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:22:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107977,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:22:38] local.INFO: Processing buffer {"connection_id":107977,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:22:38] local.INFO: IMEI packet received {"connection_id":107977,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:22:38] local.INFO: IMEI acknowledgment sent {"connection_id":107977,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:22:39] local.INFO: TCP Data received {"connection_id":107977,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:22:39] local.INFO: Processing buffer {"connection_id":107977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:22:39] local.INFO: Packet analysis {"connection_id":107977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:22:39] local.INFO: Extracted packet for processing {"connection_id":107977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:22:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:22: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-06-18 22:22:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:22: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-06-18 22:22:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:22:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:22:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":107977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347372,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:22:39] local.INFO: GPS data processed {"connection_id":107977,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:22:39] local.INFO: Acknowledgment sent {"connection_id":107977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:22:59] local.INFO: TCP Data received {"connection_id":107047,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:22:59] local.INFO: Processing buffer {"connection_id":107047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:22:59] local.INFO: IMEI packet received {"connection_id":107047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":107047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:23:01] local.INFO: TCP Data received {"connection_id":106257,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:23:01] local.INFO: Processing buffer {"connection_id":106257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:23:01] local.INFO: Packet analysis {"connection_id":106257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:23:01] local.INFO: Extracted packet for processing {"connection_id":106257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:23:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:01] 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-06-18 22:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:23:01] 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-06-18 22:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:23:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:23:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":106257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:23:01] local.INFO: GPS data processed {"connection_id":106257,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:23:01] local.INFO: Acknowledgment sent {"connection_id":106257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:23:05] local.INFO: TCP Data received {"connection_id":107047,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:23:05] local.INFO: Processing buffer {"connection_id":107047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:23:05] local.INFO: IMEI packet received {"connection_id":107047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":107047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:23:05] local.INFO: TCP Data received {"connection_id":107047,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba39398012da8a2800600a4280033001824..."} 
[2026-06-18 22:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba39398012da8a2800600a4280033001824..."} 
[2026-06-18 22:23:05] local.INFO: Processing buffer {"connection_id":107047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba39398012da8a2800600a4280033001824..."} 
[2026-06-18 22:23:05] local.INFO: Packet analysis {"connection_id":107047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:23:05] local.INFO: Extracted packet for processing {"connection_id":107047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":766026368,"raw_latitude":100705320,"longitude_deg":76.6026368,"latitude_deg":10.070532,"altitude":51,"angle":24,"satellites":36,"speed":2,"hex_longitude":"2da8a280","hex_latitude":"0600a428","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141154816001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359482305347584,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585858048,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781801391000,"timestamp_ms":1781801391000,"timestamp_seconds":1781801391,"priority":1,"record_length":96,"hex_timestamp":"0000019edba39398"} 
[2026-06-18 22:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":41,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-06-18 22:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2329,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:23:05] 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-06-18 22:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141154816001,"66":11634,"241":206,"88":20992,"24":2,"16":94359482305347584,"45":-6295398934585858048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141154816001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:23:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:23:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359482305347584,"km_value":94359482305347.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585858048,"description":"Unknown IO ID 45"} 
[2026-06-18 22:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141154816001,"power":11634,"unknown_241":206,"unknown_88":20992,"ignition":2,"odometer":null,"unknown_45":-6295398934585858048}} 
[2026-06-18 22:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":107047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347374,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:23:05] local.INFO: GPS data processed {"connection_id":107047,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:23:05] local.INFO: Acknowledgment sent {"connection_id":107047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:23:10] local.INFO: TCP Data received {"connection_id":107977,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:23:10] local.INFO: Processing buffer {"connection_id":107977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:23:10] local.INFO: Packet analysis {"connection_id":107977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:23:10] local.INFO: Extracted packet for processing {"connection_id":107977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:23:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:23:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107977,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:23:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:23:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":107977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:23:11] local.INFO: GPS data processed {"connection_id":107977,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:23:11] local.INFO: Acknowledgment sent {"connection_id":107977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:23:23] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:23:23] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:23:23] local.INFO: IMEI packet received {"connection_id":106258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":106258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:23:29] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:23:29] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:23:29] local.INFO: IMEI packet received {"connection_id":106258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":106258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:23:29] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:23:29] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba1fd58012cc3308007685ac80061006d29..."} 
[2026-06-18 22:23:29] local.INFO: Packet analysis {"connection_id":106258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:23:29] local.INFO: Extracted packet for processing {"connection_id":106258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba1"} 
[2026-06-18 22:23:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141052416001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:29] 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-06-18 22:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801287000,"timestamp_ms":1781801287000,"timestamp_seconds":1781801287,"priority":1,"record_length":96,"hex_timestamp":"0000019edba1fd58"} 
[2026-06-18 22:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141052416001,"66":25560,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141052416001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:23:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141052416001,"power":25560,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":106258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:23:29] local.INFO: GPS data processed {"connection_id":106258,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:23:29] local.INFO: Acknowledgment sent {"connection_id":106258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:23:32] local.INFO: TCP Data received {"connection_id":107048,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:23:32] local.INFO: Processing buffer {"connection_id":107048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:23:32] local.INFO: IMEI packet received {"connection_id":107048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:23:32] local.INFO: IMEI acknowledgment sent {"connection_id":107048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:23:36] local.INFO: TCP Data received {"connection_id":107047,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba39780012da8a2800600a4500034000b24..."} 
[2026-06-18 22:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba39780012da8a2800600a4500034000b24..."} 
[2026-06-18 22:23:36] local.INFO: Processing buffer {"connection_id":107047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba39780012da8a2800600a4500034000b24..."} 
[2026-06-18 22:23:36] local.INFO: Packet analysis {"connection_id":107047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:23:36] local.INFO: Extracted packet for processing {"connection_id":107047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:23:36] local.INFO: GPS Element Parsed {"raw_longitude":766026368,"raw_latitude":100705360,"longitude_deg":76.6026368,"latitude_deg":10.070536,"altitude":52,"angle":11,"satellites":36,"speed":1,"hex_longitude":"2da8a280","hex_latitude":"0600a450","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141156096001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359482305347584,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295328565841614848,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781801392000,"timestamp_ms":1781801392000,"timestamp_seconds":1781801392,"priority":1,"record_length":96,"hex_timestamp":"0000019edba39780"} 
[2026-06-18 22:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:23: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-06-18 22: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":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 22:23:36] 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-06-18 22: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-06-18 22:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:23:36] 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-06-18 22:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141156096001,"66":11634,"241":206,"88":20992,"24":1,"16":94359482305347584,"45":-6295328565841614848},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141156096001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:23:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:23:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359482305347584,"km_value":94359482305347.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295328565841614848,"description":"Unknown IO ID 45"} 
[2026-06-18 22:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141156096001,"power":11634,"unknown_241":206,"unknown_88":20992,"ignition":1,"odometer":null,"unknown_45":-6295328565841614848}} 
[2026-06-18 22:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":107047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347377,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:23:37] local.INFO: GPS data processed {"connection_id":107047,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:23:37] local.INFO: Acknowledgment sent {"connection_id":107047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:23:38] local.INFO: TCP Data received {"connection_id":107048,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:23:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:23:38] local.INFO: Processing buffer {"connection_id":107048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:23:38] local.INFO: IMEI packet received {"connection_id":107048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:23:38] local.INFO: IMEI acknowledgment sent {"connection_id":107048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:23:41] local.INFO: TCP Data received {"connection_id":107048,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:23:41] local.INFO: Processing buffer {"connection_id":107048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:23:41] local.INFO: Packet analysis {"connection_id":107048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:23:41] local.INFO: Extracted packet for processing {"connection_id":107048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:23:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:23:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:23:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:23:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":107048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:23:41] local.INFO: GPS data processed {"connection_id":107048,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:23:41] local.INFO: Acknowledgment sent {"connection_id":107048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:24:00] local.INFO: TCP Data received {"connection_id":106258,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:24:00] local.INFO: Processing buffer {"connection_id":106258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:24:00] local.INFO: Packet analysis {"connection_id":106258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:24:00] local.INFO: Extracted packet for processing {"connection_id":106258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:24:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:00] 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-06-18 22:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:24: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-06-18 22:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:24: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-06-18 22:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:24:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:24:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:24:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":106258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:24:00] local.INFO: GPS data processed {"connection_id":106258,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:24:00] local.INFO: Acknowledgment sent {"connection_id":106258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:24:04] local.INFO: TCP Data received {"connection_id":107978,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:24:04] local.INFO: Processing buffer {"connection_id":107978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:24:04] local.INFO: IMEI packet received {"connection_id":107978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":107978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:24:09] local.INFO: TCP Data received {"connection_id":107978,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107978,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:24:09] local.INFO: Processing buffer {"connection_id":107978,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:24:09] local.INFO: IMEI packet received {"connection_id":107978,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":107978,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:24:10] local.INFO: TCP Data received {"connection_id":107978,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba3ab08012da8a2400600a4c00034000a22..."} 
[2026-06-18 22:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba3ab08012da8a2400600a4c00034000a22..."} 
[2026-06-18 22:24:10] local.INFO: Processing buffer {"connection_id":107978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba3ab08012da8a2400600a4c00034000a22..."} 
[2026-06-18 22:24:10] local.INFO: Packet analysis {"connection_id":107978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:24:10] local.INFO: Extracted packet for processing {"connection_id":107978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:24:10] local.INFO: GPS Element Parsed {"raw_longitude":766026304,"raw_latitude":100705472,"longitude_deg":76.6026304,"latitude_deg":10.0705472,"altitude":52,"angle":10,"satellites":34,"speed":0,"hex_longitude":"2da8a240","hex_latitude":"0600a4c0","is_valid_coordinates":true} 
[2026-06-18 22:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141156352001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295328565841604608,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781801397000,"timestamp_ms":1781801397000,"timestamp_seconds":1781801397,"priority":1,"record_length":96,"hex_timestamp":"0000019edba3ab08"} 
[2026-06-18 22:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 22:24:10] 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-06-18 22:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:24:10] 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-06-18 22:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141156352001,"66":12841,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295328565841604608},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141156352001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:24:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:24:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295328565841604608,"description":"Unknown IO ID 45"} 
[2026-06-18 22:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141156352001,"power":12841,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295328565841604608}} 
[2026-06-18 22:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":107978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347380,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:24:10] local.INFO: GPS data processed {"connection_id":107978,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:24:10] local.INFO: Acknowledgment sent {"connection_id":107978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:24:13] local.INFO: TCP Data received {"connection_id":107048,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:13] local.INFO: Processing buffer {"connection_id":107048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:13] local.INFO: Packet analysis {"connection_id":107048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:24:13] local.INFO: Extracted packet for processing {"connection_id":107048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:24:13] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:24:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:24:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:24:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:24:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:24:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:24:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:24:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:24:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:24:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:24:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107048,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:24:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:24:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:24:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:24:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:24:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:24:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:24:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:24:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:24:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:24:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:24:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:24:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":107048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:24:13] local.INFO: GPS data processed {"connection_id":107048,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:24:13] local.INFO: Acknowledgment sent {"connection_id":107048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:24:15] local.INFO: TCP Data received {"connection_id":107978,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba3ab08012da8a2400600a4c00034000a22..."} 
[2026-06-18 22:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba3ab08012da8a2400600a4c00034000a22..."} 
[2026-06-18 22:24:15] local.INFO: Processing buffer {"connection_id":107978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba3ab08012da8a2400600a4c00034000a22..."} 
[2026-06-18 22:24:15] local.INFO: Packet analysis {"connection_id":107978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:24:15] local.INFO: Extracted packet for processing {"connection_id":107978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:24:15] local.INFO: GPS Element Parsed {"raw_longitude":766026304,"raw_latitude":100705472,"longitude_deg":76.6026304,"latitude_deg":10.0705472,"altitude":52,"angle":10,"satellites":34,"speed":0,"hex_longitude":"2da8a240","hex_latitude":"0600a4c0","is_valid_coordinates":true} 
[2026-06-18 22:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141157632001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585753600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781801397000,"timestamp_ms":1781801397000,"timestamp_seconds":1781801397,"priority":1,"record_length":96,"hex_timestamp":"0000019edba3ab08"} 
[2026-06-18 22:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:24:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 22:24:15] 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-06-18 22:24:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107978,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141157632001,"66":12841,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295398934585753600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141157632001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:24:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:24:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:24:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585753600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141157632001,"power":12841,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295398934585753600}} 
[2026-06-18 22:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":107978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347382,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:24:15] local.INFO: GPS data processed {"connection_id":107978,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:24:15] local.INFO: Acknowledgment sent {"connection_id":107978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:24:24] local.INFO: TCP Data received {"connection_id":107979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:24:24] local.INFO: Processing buffer {"connection_id":107979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:24:24] local.INFO: IMEI packet received {"connection_id":107979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:24:24] local.INFO: IMEI acknowledgment sent {"connection_id":107979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:24:29] local.INFO: TCP Data received {"connection_id":107979,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:24:29] local.INFO: Processing buffer {"connection_id":107979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:24:29] local.INFO: IMEI packet received {"connection_id":107979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":107979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:24:29] local.INFO: TCP Data received {"connection_id":107979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:24:29] local.INFO: Processing buffer {"connection_id":107979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:24:29] local.INFO: Packet analysis {"connection_id":107979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:24:29] local.INFO: Extracted packet for processing {"connection_id":107979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:24:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:29] 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-06-18 22:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:24:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:24:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":107979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:24:29] local.INFO: GPS data processed {"connection_id":107979,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:24:29] local.INFO: Acknowledgment sent {"connection_id":107979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:24:38] local.INFO: TCP Data received {"connection_id":106259,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:24:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:24:38] local.INFO: Processing buffer {"connection_id":106259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:24:38] local.INFO: IMEI packet received {"connection_id":106259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:24:38] local.INFO: IMEI acknowledgment sent {"connection_id":106259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:24:47] local.INFO: TCP Data received {"connection_id":106259,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:24:47] local.INFO: Processing buffer {"connection_id":106259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:24:47] local.INFO: IMEI packet received {"connection_id":106259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":106259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:24:49] local.INFO: TCP Data received {"connection_id":106259,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:49] local.INFO: Processing buffer {"connection_id":106259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:49] local.INFO: Packet analysis {"connection_id":106259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:24:49] local.INFO: Extracted packet for processing {"connection_id":106259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:24:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:24:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":106259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:24:49] local.INFO: GPS data processed {"connection_id":106259,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:24:49] local.INFO: Acknowledgment sent {"connection_id":106259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:24:50] local.INFO: TCP Data received {"connection_id":106259,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:50] local.INFO: Processing buffer {"connection_id":106259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:24:50] local.INFO: Packet analysis {"connection_id":106259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:24:50] local.INFO: Extracted packet for processing {"connection_id":106259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:24:50] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:24:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:24:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":106259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:24:50] local.INFO: GPS data processed {"connection_id":106259,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:24:50] local.INFO: Acknowledgment sent {"connection_id":106259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:25:00] local.INFO: TCP Data received {"connection_id":106435,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:00] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:00] local.INFO: IMEI packet received {"connection_id":106435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":106435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:25:00] local.INFO: TCP Data received {"connection_id":106435,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:00] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:00] local.INFO: IMEI packet received {"connection_id":106435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":106435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:25:00] local.INFO: TCP Data received {"connection_id":107979,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:25:00] local.INFO: Processing buffer {"connection_id":107979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:25:00] local.INFO: Packet analysis {"connection_id":107979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:25:00] local.INFO: Extracted packet for processing {"connection_id":107979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:25:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:00] 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-06-18 22:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:25: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-06-18 22:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:25: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-06-18 22:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:25:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:25:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:25:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":107979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:25:00] local.INFO: GPS data processed {"connection_id":107979,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:25:00] local.INFO: Acknowledgment sent {"connection_id":107979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:25:04] local.INFO: TCP Data received {"connection_id":106435,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:04] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:25:04] local.INFO: IMEI packet received {"connection_id":106435,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":106435,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:25:05] local.INFO: TCP Data received {"connection_id":106435,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba3b6c0012da8a2400600a4c00034000a1f..."} 
[2026-06-18 22:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba3b6c0012da8a2400600a4c00034000a1f..."} 
[2026-06-18 22:25:05] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba3b6c0012da8a2400600a4c00034000a1f..."} 
[2026-06-18 22:25:05] local.INFO: Packet analysis {"connection_id":106435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:25:05] local.INFO: Extracted packet for processing {"connection_id":106435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":766026304,"raw_latitude":100705472,"longitude_deg":76.6026304,"latitude_deg":10.0705472,"altitude":52,"angle":10,"satellites":31,"speed":0,"hex_longitude":"2da8a240","hex_latitude":"0600a4c0","is_valid_coordinates":true} 
[2026-06-18 22:25:05] 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-06-18 22:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141157632001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585753600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781801400000,"timestamp_ms":1781801400000,"timestamp_seconds":1781801400,"priority":1,"record_length":96,"hex_timestamp":"0000019edba3b6c0"} 
[2026-06-18 22:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-06-18 22:25:05] 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-06-18 22:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:25:05] 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-06-18 22:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141157632001,"66":12863,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295398934585753600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141157632001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:25:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:25:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585753600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141157632001,"power":12863,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295398934585753600}} 
[2026-06-18 22:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":106435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347387,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:25:05] local.INFO: GPS data processed {"connection_id":106435,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:25:05] local.INFO: Acknowledgment sent {"connection_id":106435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:25:10] local.INFO: TCP Data received {"connection_id":106435,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba3b6c0012da8a2400600a4c00034000a1f..."} 
[2026-06-18 22:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba3b6c0012da8a2400600a4c00034000a1f..."} 
[2026-06-18 22:25:10] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba3b6c0012da8a2400600a4c00034000a1f..."} 
[2026-06-18 22:25:10] local.INFO: Packet analysis {"connection_id":106435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:25:10] local.INFO: Extracted packet for processing {"connection_id":106435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba3"} 
[2026-06-18 22:25:10] local.INFO: GPS Element Parsed {"raw_longitude":766026304,"raw_latitude":100705472,"longitude_deg":76.6026304,"latitude_deg":10.0705472,"altitude":52,"angle":10,"satellites":31,"speed":0,"hex_longitude":"2da8a240","hex_latitude":"0600a4c0","is_valid_coordinates":true} 
[2026-06-18 22:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141158400001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585753600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781801400000,"timestamp_ms":1781801400000,"timestamp_seconds":1781801400,"priority":1,"record_length":96,"hex_timestamp":"0000019edba3b6c0"} 
[2026-06-18 22:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:25: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":63,"data_length":795,"current_offset":136} 
[2026-06-18 22:25:10] 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-06-18 22:25: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-06-18 22:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:25:10] 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-06-18 22:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141158400001,"66":12863,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295398934585753600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141158400001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:25:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:25:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585753600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141158400001,"power":12863,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295398934585753600}} 
[2026-06-18 22:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":106435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347388,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:25:10] local.INFO: GPS data processed {"connection_id":106435,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:25:10] local.INFO: Acknowledgment sent {"connection_id":106435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:25:24] local.INFO: TCP Data received {"connection_id":106260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:24] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:24] local.INFO: IMEI packet received {"connection_id":106260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":106260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:25:29] local.INFO: TCP Data received {"connection_id":106260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:29] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:29] local.INFO: IMEI packet received {"connection_id":106260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":106260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:25:29] local.INFO: TCP Data received {"connection_id":106260,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:25:29] local.INFO: Processing buffer {"connection_id":106260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:25:29] local.INFO: Packet analysis {"connection_id":106260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:25:29] local.INFO: Extracted packet for processing {"connection_id":106260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:25:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:29] 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-06-18 22:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:25: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-06-18 22:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:25:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":106260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:25:29] local.INFO: GPS data processed {"connection_id":106260,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:25:29] local.INFO: Acknowledgment sent {"connection_id":106260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:25:33] local.INFO: TCP Data received {"connection_id":107980,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:25:33] local.INFO: Processing buffer {"connection_id":107980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:25:33] local.INFO: IMEI packet received {"connection_id":107980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":107980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:25:38] local.INFO: TCP Data received {"connection_id":107980,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:25:38] local.INFO: Processing buffer {"connection_id":107980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:25:38] local.INFO: IMEI packet received {"connection_id":107980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":107980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:25:41] local.INFO: TCP Data received {"connection_id":107980,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:25:41] local.INFO: Processing buffer {"connection_id":107980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:25:41] local.INFO: Packet analysis {"connection_id":107980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:25:41] local.INFO: Extracted packet for processing {"connection_id":107980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:25:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:25:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":107980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:25:41] local.INFO: GPS data processed {"connection_id":107980,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:25:41] local.INFO: Acknowledgment sent {"connection_id":107980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:25:41] local.INFO: TCP Data received {"connection_id":106435,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:25:41] local.INFO: Processing buffer {"connection_id":106435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:25:41] local.INFO: Packet analysis {"connection_id":106435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:25:41] local.INFO: Extracted packet for processing {"connection_id":106435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141158400001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585753600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781801698000,"timestamp_ms":1781801698000,"timestamp_seconds":1781801698,"priority":1,"record_length":96,"hex_timestamp":"0000019edba842d0"} 
[2026-06-18 22:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-18 22:25: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-06-18 22:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106435,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:25:41] 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-06-18 22:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141158400001,"66":2253,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295398934585753600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141158400001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:25:41] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:25:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585753600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141158400001,"power":2253,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295398934585753600}} 
[2026-06-18 22:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":106435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347391,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:25:41] local.INFO: GPS data processed {"connection_id":106435,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:25:41] local.INFO: Acknowledgment sent {"connection_id":106435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:25:59] local.INFO: TCP Data received {"connection_id":107981,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:59] local.INFO: Processing buffer {"connection_id":107981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:25:59] local.INFO: IMEI packet received {"connection_id":107981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":107981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:26:00] local.INFO: TCP Data received {"connection_id":106436,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:26:00] local.INFO: Processing buffer {"connection_id":106436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:26:00] local.INFO: IMEI packet received {"connection_id":106436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":106436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:26:04] local.INFO: TCP Data received {"connection_id":107981,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:04] local.INFO: Processing buffer {"connection_id":107981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:04] local.INFO: IMEI packet received {"connection_id":107981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":107981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:26:04] local.INFO: TCP Data received {"connection_id":107981,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:26:04] local.INFO: Processing buffer {"connection_id":107981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:26:04] local.INFO: Packet analysis {"connection_id":107981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:26:04] local.INFO: Extracted packet for processing {"connection_id":107981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:26:04] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:04] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:04] 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-06-18 22:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:26: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-06-18 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:26: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-06-18 22:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:26:04] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:26:04] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":107981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:26:04] local.INFO: GPS data processed {"connection_id":107981,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:26:04] local.INFO: Acknowledgment sent {"connection_id":107981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:26:04] local.INFO: TCP Data received {"connection_id":106436,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106436,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:26:04] local.INFO: Processing buffer {"connection_id":106436,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:26:04] local.INFO: IMEI packet received {"connection_id":106436,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":106436,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:26:05] local.INFO: TCP Data received {"connection_id":106436,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:26:05] local.INFO: Processing buffer {"connection_id":106436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:26:05] local.INFO: Packet analysis {"connection_id":106436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:26:05] local.INFO: Extracted packet for processing {"connection_id":106436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141158400001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585753600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781801698000,"timestamp_ms":1781801698000,"timestamp_seconds":1781801698,"priority":1,"record_length":96,"hex_timestamp":"0000019edba842d0"} 
[2026-06-18 22:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-18 22:26: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-06-18 22:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:26:05] 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-06-18 22:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141158400001,"66":2253,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295398934585753600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141158400001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:26:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:26:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585753600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141158400001,"power":2253,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295398934585753600}} 
[2026-06-18 22:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":106436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347393,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:26:05] local.INFO: GPS data processed {"connection_id":106436,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:26:05] local.INFO: Acknowledgment sent {"connection_id":106436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:26:13] local.INFO: TCP Data received {"connection_id":107980,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:26:13] local.INFO: Processing buffer {"connection_id":107980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba46688012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:26:13] local.INFO: Packet analysis {"connection_id":107980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:26:13] local.INFO: Extracted packet for processing {"connection_id":107980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba4"} 
[2026-06-18 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141092864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781801445000,"timestamp_ms":1781801445000,"timestamp_seconds":1781801445,"priority":1,"record_length":96,"hex_timestamp":"0000019edba46688"} 
[2026-06-18 22:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-06-18 22:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":107980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":107980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":107980,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141092864001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141092864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141092864001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":107980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:26:13] local.INFO: GPS data processed {"connection_id":107980,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:26:13] local.INFO: Acknowledgment sent {"connection_id":107980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:26:28] local.INFO: TCP Data received {"connection_id":106261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:28] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:28] local.INFO: IMEI packet received {"connection_id":106261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:26:28] local.INFO: IMEI acknowledgment sent {"connection_id":106261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:26:32] local.INFO: TCP Data received {"connection_id":106262,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:26:32] local.INFO: Processing buffer {"connection_id":106262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:26:32] local.INFO: IMEI packet received {"connection_id":106262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":106262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:26:34] local.INFO: TCP Data received {"connection_id":106261,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:34] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:26:34] local.INFO: IMEI packet received {"connection_id":106261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:26:34] local.INFO: IMEI acknowledgment sent {"connection_id":106261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:26:35] local.INFO: TCP Data received {"connection_id":106261,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:26:35] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:26:35] local.INFO: Packet analysis {"connection_id":106261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:26:35] local.INFO: Extracted packet for processing {"connection_id":106261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:26:35] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:35] 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-06-18 22:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:26:35] 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-06-18 22:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:26:35] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:26:35] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":106261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:26:35] local.INFO: GPS data processed {"connection_id":106261,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:26:35] local.INFO: Acknowledgment sent {"connection_id":106261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:26:36] local.INFO: TCP Data received {"connection_id":106436,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:26:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:26:36] local.INFO: Processing buffer {"connection_id":106436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:26:36] local.INFO: Packet analysis {"connection_id":106436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:26:36] local.INFO: Extracted packet for processing {"connection_id":106436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:26:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141158400001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585753600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:26:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781801698000,"timestamp_ms":1781801698000,"timestamp_seconds":1781801698,"priority":1,"record_length":96,"hex_timestamp":"0000019edba842d0"} 
[2026-06-18 22:26:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:26:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-18 22:26:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:26:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:26:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:26:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:26:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:26:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106436,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:26:36] 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-06-18 22:26:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:26:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:26:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141158400001,"66":2253,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295398934585753600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:26:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:26:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:26:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141158400001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:26:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:26:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:26:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:26:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585753600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:26:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141158400001,"power":2253,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295398934585753600}} 
[2026-06-18 22:26:36] local.INFO: DEBUG: GPS processor result {"connection_id":106436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347396,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:26:36] local.INFO: GPS data processed {"connection_id":106436,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:26:36] local.INFO: Acknowledgment sent {"connection_id":106436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:26:38] local.INFO: TCP Data received {"connection_id":106262,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:26:38] local.INFO: Processing buffer {"connection_id":106262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:26:38] local.INFO: IMEI packet received {"connection_id":106262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":106262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:26:39] local.INFO: TCP Data received {"connection_id":106262,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:26:39] local.INFO: Processing buffer {"connection_id":106262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:26:39] local.INFO: Packet analysis {"connection_id":106262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:26:39] local.INFO: Extracted packet for processing {"connection_id":106262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:26: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-06-18 22:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:26:39] 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-06-18 22:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:26:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:26:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:26:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":106262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:26:39] local.INFO: GPS data processed {"connection_id":106262,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:26:39] local.INFO: Acknowledgment sent {"connection_id":106262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:27:00] local.INFO: TCP Data received {"connection_id":107982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:00] local.INFO: Processing buffer {"connection_id":107982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:00] local.INFO: IMEI packet received {"connection_id":107982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":107982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:27:05] local.INFO: TCP Data received {"connection_id":107982,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107982,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:05] local.INFO: Processing buffer {"connection_id":107982,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:05] local.INFO: IMEI packet received {"connection_id":107982,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":107982,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:27:05] local.INFO: TCP Data received {"connection_id":107982,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:27:05] local.INFO: Processing buffer {"connection_id":107982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:27:05] local.INFO: Packet analysis {"connection_id":107982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:27:05] local.INFO: Extracted packet for processing {"connection_id":107982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141158400001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585753600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781801698000,"timestamp_ms":1781801698000,"timestamp_seconds":1781801698,"priority":1,"record_length":96,"hex_timestamp":"0000019edba842d0"} 
[2026-06-18 22:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-18 22:27: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-06-18 22: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-06-18 22:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:27:05] 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-06-18 22:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141158400001,"66":2253,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295398934585753600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141158400001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:27:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:27:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585753600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141158400001,"power":2253,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295398934585753600}} 
[2026-06-18 22:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":107982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347398,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:27:05] local.INFO: GPS data processed {"connection_id":107982,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:27:05] local.INFO: Acknowledgment sent {"connection_id":107982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:27:06] local.INFO: TCP Data received {"connection_id":106261,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:27:06] local.INFO: Processing buffer {"connection_id":106261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:27:06] local.INFO: Packet analysis {"connection_id":106261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:27:06] local.INFO: Extracted packet for processing {"connection_id":106261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:06] 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-06-18 22:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:27:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:27:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:27:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:27:06] 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-06-18 22:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:27:06] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:27:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":106261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:27:06] local.INFO: GPS data processed {"connection_id":106261,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:27:06] local.INFO: Acknowledgment sent {"connection_id":106261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:27:11] local.INFO: TCP Data received {"connection_id":106262,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:27:11] local.INFO: Processing buffer {"connection_id":106262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:27:11] local.INFO: Packet analysis {"connection_id":106262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:27:11] local.INFO: Extracted packet for processing {"connection_id":106262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:27:11] 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-06-18 22:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:27:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":106262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:27:11] local.INFO: GPS data processed {"connection_id":106262,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:27:11] local.INFO: Acknowledgment sent {"connection_id":106262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:27:23] local.INFO: TCP Data received {"connection_id":107983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:27:23] local.INFO: Processing buffer {"connection_id":107983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:27:23] local.INFO: IMEI packet received {"connection_id":107983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":107983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:27:29] local.INFO: TCP Data received {"connection_id":107983,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:27:29] local.INFO: Processing buffer {"connection_id":107983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:27:29] local.INFO: IMEI packet received {"connection_id":107983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":107983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:27:29] local.INFO: TCP Data received {"connection_id":107983,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:27:29] local.INFO: Processing buffer {"connection_id":107983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:27:29] local.INFO: Packet analysis {"connection_id":107983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:27:29] local.INFO: Extracted packet for processing {"connection_id":107983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:27:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:29] 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-06-18 22:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:27: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-06-18 22:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:27:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":107983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:27:29] local.INFO: GPS data processed {"connection_id":107983,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:27:29] local.INFO: Acknowledgment sent {"connection_id":107983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:27:32] local.INFO: TCP Data received {"connection_id":106437,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:27:32] local.INFO: Processing buffer {"connection_id":106437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:27:32] local.INFO: IMEI packet received {"connection_id":106437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":106437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:27:36] local.INFO: TCP Data received {"connection_id":107982,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:27:36] local.INFO: Processing buffer {"connection_id":107982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba842d0012da8a0800600a4f00035000a23..."} 
[2026-06-18 22:27:36] local.INFO: Packet analysis {"connection_id":107982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:27:36] local.INFO: Extracted packet for processing {"connection_id":107982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:27:36] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":35,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141158400001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295398934585753600,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781801698000,"timestamp_ms":1781801698000,"timestamp_seconds":1781801698,"priority":1,"record_length":96,"hex_timestamp":"0000019edba842d0"} 
[2026-06-18 22:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-06-18 22:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107982,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:27:36] 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-06-18 22:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141158400001,"66":2253,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295398934585753600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141158400001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:27:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:27:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295398934585753600,"description":"Unknown IO ID 45"} 
[2026-06-18 22:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141158400001,"power":2253,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295398934585753600}} 
[2026-06-18 22:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":107982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347402,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:27:36] local.INFO: GPS data processed {"connection_id":107982,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:27:36] local.INFO: Acknowledgment sent {"connection_id":107982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:27:38] local.INFO: TCP Data received {"connection_id":106437,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:27:38] local.INFO: Processing buffer {"connection_id":106437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:27:38] local.INFO: IMEI packet received {"connection_id":106437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":106437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:27:39] local.INFO: TCP Data received {"connection_id":106437,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:27:39] local.INFO: Processing buffer {"connection_id":106437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:27:39] local.INFO: Packet analysis {"connection_id":106437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:27:39] local.INFO: Extracted packet for processing {"connection_id":106437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:27: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-06-18 22:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:27:39] 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-06-18 22:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:27:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:27:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":106437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:27:39] local.INFO: GPS data processed {"connection_id":106437,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:27:39] local.INFO: Acknowledgment sent {"connection_id":106437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:27:59] local.INFO: TCP Data received {"connection_id":107984,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107984,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:59] local.INFO: Processing buffer {"connection_id":107984,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:27:59] local.INFO: IMEI packet received {"connection_id":107984,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":107984,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:28:01] local.INFO: TCP Data received {"connection_id":107983,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:01] local.INFO: Processing buffer {"connection_id":107983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:01] local.INFO: Packet analysis {"connection_id":107983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:28:01] local.INFO: Extracted packet for processing {"connection_id":107983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:28:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:01] 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-06-18 22:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:28:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:28:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:28:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:28: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-06-18 22:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:28:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:28:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:28:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":107983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:28:01] local.INFO: GPS data processed {"connection_id":107983,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:28:01] local.INFO: Acknowledgment sent {"connection_id":107983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:28:11] local.INFO: TCP Data received {"connection_id":106437,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:11] local.INFO: Processing buffer {"connection_id":106437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:11] local.INFO: Packet analysis {"connection_id":106437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:28:11] local.INFO: Extracted packet for processing {"connection_id":106437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:28:11] 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-06-18 22:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:28:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:28:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":106437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347405,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:28:11] local.INFO: GPS data processed {"connection_id":106437,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:28:11] local.INFO: Acknowledgment sent {"connection_id":106437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:28:29] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:28:29] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:28:29] local.INFO: IMEI packet received {"connection_id":106263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":106263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:28:34] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:28:34] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:28:34] local.INFO: IMEI packet received {"connection_id":106263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":106263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:28:34] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:34] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:34] local.INFO: Packet analysis {"connection_id":106263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:28:34] local.INFO: Extracted packet for processing {"connection_id":106263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:28:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:34] 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-06-18 22:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:28:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:28:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:28:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":106263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:28:34] local.INFO: GPS data processed {"connection_id":106263,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:28:34] local.INFO: Acknowledgment sent {"connection_id":106263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:28:38] local.INFO: TCP Data received {"connection_id":107985,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:28:38] local.INFO: Processing buffer {"connection_id":107985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:28:38] local.INFO: IMEI packet received {"connection_id":107985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":107985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:28:39] local.INFO: TCP Data received {"connection_id":106263,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:39] local.INFO: Processing buffer {"connection_id":106263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba69520012cc3308007685ac8005e006d2a..."} 
[2026-06-18 22:28:39] local.INFO: Packet analysis {"connection_id":106263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:28:39] local.INFO: Extracted packet for processing {"connection_id":106263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba6"} 
[2026-06-18 22:28:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141129472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:39] 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-06-18 22:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781801588000,"timestamp_ms":1781801588000,"timestamp_seconds":1781801588,"priority":1,"record_length":96,"hex_timestamp":"0000019edba69520"} 
[2026-06-18 22:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141129472001,"66":25582,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141129472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:28:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:28:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:28:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141129472001,"power":25582,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":106263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:28:39] local.INFO: GPS data processed {"connection_id":106263,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:28:39] local.INFO: Acknowledgment sent {"connection_id":106263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:28:43] local.INFO: TCP Data received {"connection_id":107985,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:28:43] local.INFO: Processing buffer {"connection_id":107985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:28:43] local.INFO: IMEI packet received {"connection_id":107985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":107985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:28:44] local.INFO: TCP Data received {"connection_id":107985,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:44] local.INFO: Processing buffer {"connection_id":107985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:44] local.INFO: Packet analysis {"connection_id":107985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:28:44] local.INFO: Extracted packet for processing {"connection_id":107985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:28:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:28:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:28:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:28:44] 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-06-18 22:28:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:28:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:28:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:28:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":107985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347408,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:28:44] local.INFO: GPS data processed {"connection_id":107985,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:28:44] local.INFO: Acknowledgment sent {"connection_id":107985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:28:48] local.INFO: TCP Data received {"connection_id":107985,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:48] local.INFO: Processing buffer {"connection_id":107985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:28:48] local.INFO: Packet analysis {"connection_id":107985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:28:48] local.INFO: Extracted packet for processing {"connection_id":107985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:28:48] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:28:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:28:48] 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-06-18 22:28:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107985,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:28:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:28:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:28:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:28:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:28:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:28:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:28:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:28:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:28:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":107985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:28:48] local.INFO: GPS data processed {"connection_id":107985,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:28:48] local.INFO: Acknowledgment sent {"connection_id":107985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:29:23] local.INFO: TCP Data received {"connection_id":106264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:29:23] local.INFO: Processing buffer {"connection_id":106264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:29:23] local.INFO: IMEI packet received {"connection_id":106264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:29:23] local.INFO: IMEI acknowledgment sent {"connection_id":106264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:29:28] local.INFO: TCP Data received {"connection_id":106264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:29:28] local.INFO: Processing buffer {"connection_id":106264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:29:28] local.INFO: IMEI packet received {"connection_id":106264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":106264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:29:29] local.INFO: TCP Data received {"connection_id":106264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:29:29] local.INFO: Processing buffer {"connection_id":106264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:29:29] local.INFO: Packet analysis {"connection_id":106264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:29:29] local.INFO: Extracted packet for processing {"connection_id":106264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:29] 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-06-18 22:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:29:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:29:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":106264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:29:29] local.INFO: GPS data processed {"connection_id":106264,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:29:29] local.INFO: Acknowledgment sent {"connection_id":106264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:29:33] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:29:33] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:29:33] local.INFO: IMEI packet received {"connection_id":106438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":106438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:29:38] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:29:38] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:29:38] local.INFO: IMEI packet received {"connection_id":106438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":106438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:29:39] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:29:39] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:29:39] local.INFO: Packet analysis {"connection_id":106438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:29:39] local.INFO: Extracted packet for processing {"connection_id":106438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:29: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-06-18 22:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:29:39] 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-06-18 22:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:29:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":106438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347411,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:29:39] local.INFO: GPS data processed {"connection_id":106438,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:29:39] local.INFO: Acknowledgment sent {"connection_id":106438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:29:43] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:29:43] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:29:43] local.INFO: Packet analysis {"connection_id":106438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:29:43] local.INFO: Extracted packet for processing {"connection_id":106438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:29: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-06-18 22:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:29:43] 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-06-18 22:29: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-06-18 22:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:29:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:29:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":106438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347412,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:29:43] local.INFO: GPS data processed {"connection_id":106438,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:29:43] local.INFO: Acknowledgment sent {"connection_id":106438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:30:00] local.INFO: TCP Data received {"connection_id":106264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:30:00] local.INFO: Processing buffer {"connection_id":106264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:30:00] local.INFO: Packet analysis {"connection_id":106264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:30:00] local.INFO: Extracted packet for processing {"connection_id":106264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:00] 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-06-18 22:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:30: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-06-18 22:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:30:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:30:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":106264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:30:00] local.INFO: GPS data processed {"connection_id":106264,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:30:00] local.INFO: Acknowledgment sent {"connection_id":106264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:30:15] local.INFO: TCP Data received {"connection_id":106438,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:30:15] local.INFO: Processing buffer {"connection_id":106438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:30:15] local.INFO: Packet analysis {"connection_id":106438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:30:15] local.INFO: Extracted packet for processing {"connection_id":106438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:30:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:30:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:30:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:30:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:30:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:30:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:30:15] 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-06-18 22:30:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:30:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:30:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:30:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:30:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:30:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106438,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:30:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:30:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:30:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:30:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:30:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:30:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:30:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:30:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:30:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:30:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:30:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:30:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:30:15] local.INFO: DEBUG: GPS processor result {"connection_id":106438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:30:15] local.INFO: GPS data processed {"connection_id":106438,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:30:15] local.INFO: Acknowledgment sent {"connection_id":106438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:30:23] local.INFO: TCP Data received {"connection_id":107986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:30:23] local.INFO: Processing buffer {"connection_id":107986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:30:23] local.INFO: IMEI packet received {"connection_id":107986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":107986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:30:28] local.INFO: TCP Data received {"connection_id":107986,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:30:28] local.INFO: Processing buffer {"connection_id":107986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:30:28] local.INFO: IMEI packet received {"connection_id":107986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":107986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:30:29] local.INFO: TCP Data received {"connection_id":107986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:30:29] local.INFO: Processing buffer {"connection_id":107986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:30:29] local.INFO: Packet analysis {"connection_id":107986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:30:29] local.INFO: Extracted packet for processing {"connection_id":107986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:30:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:29] 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-06-18 22:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:30:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":107986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:30:29] local.INFO: GPS data processed {"connection_id":107986,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:30:29] local.INFO: Acknowledgment sent {"connection_id":107986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:30:33] local.INFO: TCP Data received {"connection_id":107987,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:30:33] local.INFO: Processing buffer {"connection_id":107987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:30:33] local.INFO: IMEI packet received {"connection_id":107987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":107987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:30:38] local.INFO: TCP Data received {"connection_id":107987,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:30:38] local.INFO: Processing buffer {"connection_id":107987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:30:38] local.INFO: IMEI packet received {"connection_id":107987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":107987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:30:39] local.INFO: TCP Data received {"connection_id":107987,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:30:39] local.INFO: Processing buffer {"connection_id":107987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:30:39] local.INFO: Packet analysis {"connection_id":107987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:30:39] local.INFO: Extracted packet for processing {"connection_id":107987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:30: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-06-18 22:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:30:39] 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-06-18 22:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:30:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:30:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":107987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:30:39] local.INFO: GPS data processed {"connection_id":107987,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:30:39] local.INFO: Acknowledgment sent {"connection_id":107987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:31:00] local.INFO: TCP Data received {"connection_id":107986,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:31:00] local.INFO: Processing buffer {"connection_id":107986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:31:00] local.INFO: Packet analysis {"connection_id":107986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:31:00] local.INFO: Extracted packet for processing {"connection_id":107986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:31:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:00] 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-06-18 22:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:31: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-06-18 22:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:31:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":107986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:31:00] local.INFO: GPS data processed {"connection_id":107986,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:31:00] local.INFO: Acknowledgment sent {"connection_id":107986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:31:11] local.INFO: TCP Data received {"connection_id":107987,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:31:11] local.INFO: Processing buffer {"connection_id":107987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edba8fe50012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:31:11] local.INFO: Packet analysis {"connection_id":107987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:31:11] local.INFO: Extracted packet for processing {"connection_id":107987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edba8"} 
[2026-06-18 22:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141169920001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781801746000,"timestamp_ms":1781801746000,"timestamp_seconds":1781801746,"priority":1,"record_length":96,"hex_timestamp":"0000019edba8fe50"} 
[2026-06-18 22:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:31:11] 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-06-18 22:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107987,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141169920001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141169920001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:31:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141169920001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":107987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347418,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:31:11] local.INFO: GPS data processed {"connection_id":107987,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:31:11] local.INFO: Acknowledgment sent {"connection_id":107987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:31:23] local.INFO: TCP Data received {"connection_id":106439,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:31:23] local.INFO: Processing buffer {"connection_id":106439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:31:23] local.INFO: IMEI packet received {"connection_id":106439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":106439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:31:29] local.INFO: TCP Data received {"connection_id":106439,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:31:29] local.INFO: Processing buffer {"connection_id":106439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:31:29] local.INFO: IMEI packet received {"connection_id":106439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:31:29] local.INFO: IMEI acknowledgment sent {"connection_id":106439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:31:29] local.INFO: TCP Data received {"connection_id":106439,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:31:29] local.INFO: Processing buffer {"connection_id":106439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:31:29] local.INFO: Packet analysis {"connection_id":106439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:31:29] local.INFO: Extracted packet for processing {"connection_id":106439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:31:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:29] 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-06-18 22:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:31:29] 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-06-18 22:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:31:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":106439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:31:29] local.INFO: GPS data processed {"connection_id":106439,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:31:29] local.INFO: Acknowledgment sent {"connection_id":106439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:31:32] local.INFO: TCP Data received {"connection_id":106265,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:31:32] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:31:32] local.INFO: IMEI packet received {"connection_id":106265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:31:32] local.INFO: IMEI acknowledgment sent {"connection_id":106265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:31:38] local.INFO: TCP Data received {"connection_id":106265,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:31:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:31:38] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:31:38] local.INFO: IMEI packet received {"connection_id":106265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:31:38] local.INFO: IMEI acknowledgment sent {"connection_id":106265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:31:39] local.INFO: TCP Data received {"connection_id":106265,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:31:39] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:31:39] local.INFO: Packet analysis {"connection_id":106265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:31:39] local.INFO: Extracted packet for processing {"connection_id":106265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:31: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-06-18 22:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:31:39] 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-06-18 22:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:31:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":106265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:31:39] local.INFO: GPS data processed {"connection_id":106265,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:31:39] local.INFO: Acknowledgment sent {"connection_id":106265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:32:00] local.INFO: TCP Data received {"connection_id":106439,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:32:00] local.INFO: Processing buffer {"connection_id":106439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:32:00] local.INFO: Packet analysis {"connection_id":106439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:32:00] local.INFO: Extracted packet for processing {"connection_id":106439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:32:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:00] 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-06-18 22:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:32:00] 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-06-18 22:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:32:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:32:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":106439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:32:00] local.INFO: GPS data processed {"connection_id":106439,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:32:00] local.INFO: Acknowledgment sent {"connection_id":106439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:32:10] local.INFO: TCP Data received {"connection_id":106265,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:32:10] local.INFO: Processing buffer {"connection_id":106265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:32:10] local.INFO: Packet analysis {"connection_id":106265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:32:10] local.INFO: Extracted packet for processing {"connection_id":106265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:32:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:32:10] 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-06-18 22:32:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106265,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:32:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:32:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":106265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:32:11] local.INFO: GPS data processed {"connection_id":106265,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:32:11] local.INFO: Acknowledgment sent {"connection_id":106265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:32:23] local.INFO: TCP Data received {"connection_id":106440,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:32:23] local.INFO: Processing buffer {"connection_id":106440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:32:23] local.INFO: IMEI packet received {"connection_id":106440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":106440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:32:29] local.INFO: TCP Data received {"connection_id":106440,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:32:29] local.INFO: Processing buffer {"connection_id":106440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:32:29] local.INFO: IMEI packet received {"connection_id":106440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:32:29] local.INFO: IMEI acknowledgment sent {"connection_id":106440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:32:29] local.INFO: TCP Data received {"connection_id":106440,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:32:29] local.INFO: Processing buffer {"connection_id":106440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:32:29] local.INFO: Packet analysis {"connection_id":106440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:32:29] local.INFO: Extracted packet for processing {"connection_id":106440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:32:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:29] 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-06-18 22:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:32:29] 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-06-18 22:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:32:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":106440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:32:29] local.INFO: GPS data processed {"connection_id":106440,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:32:29] local.INFO: Acknowledgment sent {"connection_id":106440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:32:32] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:32:32] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:32:32] local.INFO: IMEI packet received {"connection_id":106441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:32:32] local.INFO: IMEI acknowledgment sent {"connection_id":106441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:32:38] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:32:38] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:32:38] local.INFO: IMEI packet received {"connection_id":106441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:32:38] local.INFO: IMEI acknowledgment sent {"connection_id":106441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:32:39] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:32:39] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:32:39] local.INFO: Packet analysis {"connection_id":106441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:32:39] local.INFO: Extracted packet for processing {"connection_id":106441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:32: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-06-18 22:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:32:39] 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-06-18 22:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:32:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":106441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347424,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:32:39] local.INFO: GPS data processed {"connection_id":106441,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:32:39] local.INFO: Acknowledgment sent {"connection_id":106441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:32:59] local.INFO: TCP Data received {"connection_id":107988,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107988,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:32:59] local.INFO: Processing buffer {"connection_id":107988,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:32:59] local.INFO: IMEI packet received {"connection_id":107988,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":107988,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:33:00] local.INFO: TCP Data received {"connection_id":106440,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:33:00] local.INFO: Processing buffer {"connection_id":106440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:33:00] local.INFO: Packet analysis {"connection_id":106440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:33:00] local.INFO: Extracted packet for processing {"connection_id":106440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:33:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:00] 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-06-18 22:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:33:00] 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-06-18 22:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:33:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":106440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:33:00] local.INFO: GPS data processed {"connection_id":106440,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:33:00] local.INFO: Acknowledgment sent {"connection_id":106440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:33:11] local.INFO: TCP Data received {"connection_id":106441,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:11] local.INFO: Processing buffer {"connection_id":106441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:11] local.INFO: Packet analysis {"connection_id":106441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:33:11] local.INFO: Extracted packet for processing {"connection_id":106441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:33:11] 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-06-18 22:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:33:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:33:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":106441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:33:11] local.INFO: GPS data processed {"connection_id":106441,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:33:11] local.INFO: Acknowledgment sent {"connection_id":106441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:33:23] local.INFO: TCP Data received {"connection_id":107049,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:33:23] local.INFO: Processing buffer {"connection_id":107049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:33:23] local.INFO: IMEI packet received {"connection_id":107049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":107049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:33:29] local.INFO: TCP Data received {"connection_id":107049,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:33:29] local.INFO: Processing buffer {"connection_id":107049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:33:29] local.INFO: IMEI packet received {"connection_id":107049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":107049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:33:29] local.INFO: TCP Data received {"connection_id":107049,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:33:29] local.INFO: Processing buffer {"connection_id":107049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbab2ce8012cc3308007685ac8005c006d2a..."} 
[2026-06-18 22:33:29] local.INFO: Packet analysis {"connection_id":107049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:33:29] local.INFO: Extracted packet for processing {"connection_id":107049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbab"} 
[2026-06-18 22:33:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141206528001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:29] 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-06-18 22:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781801889000,"timestamp_ms":1781801889000,"timestamp_seconds":1781801889,"priority":1,"record_length":96,"hex_timestamp":"0000019edbab2ce8"} 
[2026-06-18 22:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-06-18 22:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:33: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-06-18 22:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141206528001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141206528001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:33:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141206528001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":107049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:33:29] local.INFO: GPS data processed {"connection_id":107049,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:33:29] local.INFO: Acknowledgment sent {"connection_id":107049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:33:38] local.INFO: TCP Data received {"connection_id":106442,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:33:38] local.INFO: Processing buffer {"connection_id":106442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:33:38] local.INFO: IMEI packet received {"connection_id":106442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":106442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:33:43] local.INFO: TCP Data received {"connection_id":106442,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:33:43] local.INFO: Processing buffer {"connection_id":106442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:33:43] local.INFO: IMEI packet received {"connection_id":106442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:33:43] local.INFO: IMEI acknowledgment sent {"connection_id":106442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:33:44] local.INFO: TCP Data received {"connection_id":106442,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:44] local.INFO: Processing buffer {"connection_id":106442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:44] local.INFO: Packet analysis {"connection_id":106442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:33:44] local.INFO: Extracted packet for processing {"connection_id":106442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:33:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:33: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-06-18 22:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:33:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:33: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":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:33:44] 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-06-18 22:33: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-06-18 22:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:33:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:33:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:33:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":106442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:33:44] local.INFO: GPS data processed {"connection_id":106442,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:33:44] local.INFO: Acknowledgment sent {"connection_id":106442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:33:49] local.INFO: TCP Data received {"connection_id":106442,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:49] local.INFO: Processing buffer {"connection_id":106442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:33:49] local.INFO: Packet analysis {"connection_id":106442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:33:49] local.INFO: Extracted packet for processing {"connection_id":106442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:33:49] 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-06-18 22:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:33:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:33:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":106442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:33:49] local.INFO: GPS data processed {"connection_id":106442,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:33:49] local.INFO: Acknowledgment sent {"connection_id":106442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:34:00] local.INFO: TCP Data received {"connection_id":107049,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:34:00] local.INFO: Processing buffer {"connection_id":107049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:34:00] local.INFO: Packet analysis {"connection_id":107049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:34:00] local.INFO: Extracted packet for processing {"connection_id":107049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:34:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:00] 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-06-18 22:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:34:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:34:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:34: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-06-18 22:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:34:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:34:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:34:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":107049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:34:00] local.INFO: GPS data processed {"connection_id":107049,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:34:00] local.INFO: Acknowledgment sent {"connection_id":107049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:34:24] local.INFO: TCP Data received {"connection_id":107050,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:34:24] local.INFO: Processing buffer {"connection_id":107050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:34:24] local.INFO: IMEI packet received {"connection_id":107050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:34:24] local.INFO: IMEI acknowledgment sent {"connection_id":107050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:34:29] local.INFO: TCP Data received {"connection_id":107050,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:34:29] local.INFO: Processing buffer {"connection_id":107050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:34:29] local.INFO: IMEI packet received {"connection_id":107050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":107050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:34:29] local.INFO: TCP Data received {"connection_id":107050,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:34:29] local.INFO: Processing buffer {"connection_id":107050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:34:29] local.INFO: Packet analysis {"connection_id":107050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:34:29] local.INFO: Extracted packet for processing {"connection_id":107050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:34:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:29] 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-06-18 22:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:34:29] 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-06-18 22:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:34:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:34:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":107050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:34:29] local.INFO: GPS data processed {"connection_id":107050,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:34:29] local.INFO: Acknowledgment sent {"connection_id":107050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:34:33] local.INFO: TCP Data received {"connection_id":107989,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:34:33] local.INFO: Processing buffer {"connection_id":107989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:34:33] local.INFO: IMEI packet received {"connection_id":107989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:34:33] local.INFO: IMEI acknowledgment sent {"connection_id":107989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:34:38] local.INFO: TCP Data received {"connection_id":107989,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:34:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:34:38] local.INFO: Processing buffer {"connection_id":107989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:34:38] local.INFO: IMEI packet received {"connection_id":107989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:34:38] local.INFO: IMEI acknowledgment sent {"connection_id":107989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:34:39] local.INFO: TCP Data received {"connection_id":107989,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:34:39] local.INFO: Processing buffer {"connection_id":107989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:34:39] local.INFO: Packet analysis {"connection_id":107989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:34:39] local.INFO: Extracted packet for processing {"connection_id":107989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:34: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-06-18 22:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:34:39] 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-06-18 22:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:34:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:34:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":107989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:34:39] local.INFO: GPS data processed {"connection_id":107989,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:34:39] local.INFO: Acknowledgment sent {"connection_id":107989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:35:00] local.INFO: TCP Data received {"connection_id":107050,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:35:00] local.INFO: Processing buffer {"connection_id":107050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:35:00] local.INFO: Packet analysis {"connection_id":107050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:35:00] local.INFO: Extracted packet for processing {"connection_id":107050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:00] 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-06-18 22:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:35:00] 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-06-18 22:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:35:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:35:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":107050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:35:00] local.INFO: GPS data processed {"connection_id":107050,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:35:00] local.INFO: Acknowledgment sent {"connection_id":107050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:35:11] local.INFO: TCP Data received {"connection_id":107989,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:35:11] local.INFO: Processing buffer {"connection_id":107989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:35:11] local.INFO: Packet analysis {"connection_id":107989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:35:11] local.INFO: Extracted packet for processing {"connection_id":107989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:35:11] 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-06-18 22:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107989,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:35:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:35:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":107989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:35:11] local.INFO: GPS data processed {"connection_id":107989,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:35:11] local.INFO: Acknowledgment sent {"connection_id":107989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:35:24] local.INFO: TCP Data received {"connection_id":107052,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:35:24] local.INFO: Processing buffer {"connection_id":107052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:35:24] local.INFO: IMEI packet received {"connection_id":107052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":107052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:35:29] local.INFO: TCP Data received {"connection_id":107052,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:35:29] local.INFO: Processing buffer {"connection_id":107052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:35:29] local.INFO: IMEI packet received {"connection_id":107052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":107052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:35:29] local.INFO: TCP Data received {"connection_id":107052,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:35:29] local.INFO: Processing buffer {"connection_id":107052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:35:29] local.INFO: Packet analysis {"connection_id":107052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:35:29] local.INFO: Extracted packet for processing {"connection_id":107052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:29] 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-06-18 22:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:35:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:35: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-06-18 22:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:35:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":107052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:35:29] local.INFO: GPS data processed {"connection_id":107052,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:35:29] local.INFO: Acknowledgment sent {"connection_id":107052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:35:32] local.INFO: TCP Data received {"connection_id":106266,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:35:32] local.INFO: Processing buffer {"connection_id":106266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:35:32] local.INFO: IMEI packet received {"connection_id":106266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":106266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:35:38] local.INFO: TCP Data received {"connection_id":106266,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:35:38] local.INFO: Processing buffer {"connection_id":106266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:35:38] local.INFO: IMEI packet received {"connection_id":106266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:35:38] local.INFO: IMEI acknowledgment sent {"connection_id":106266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:35:39] local.INFO: TCP Data received {"connection_id":106266,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:35:39] local.INFO: Processing buffer {"connection_id":106266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:35:39] local.INFO: Packet analysis {"connection_id":106266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:35:39] local.INFO: Extracted packet for processing {"connection_id":106266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:35: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-06-18 22:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:35:39] 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-06-18 22:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:35:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:35:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:35:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":106266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:35:39] local.INFO: GPS data processed {"connection_id":106266,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:35:39] local.INFO: Acknowledgment sent {"connection_id":106266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:36:00] local.INFO: TCP Data received {"connection_id":107052,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:36:00] local.INFO: Processing buffer {"connection_id":107052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:36:00] local.INFO: Packet analysis {"connection_id":107052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:36:00] local.INFO: Extracted packet for processing {"connection_id":107052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:36:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:00] 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-06-18 22:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:36: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-06-18 22:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:36:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":107052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:36:00] local.INFO: GPS data processed {"connection_id":107052,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:36:00] local.INFO: Acknowledgment sent {"connection_id":107052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:36:10] local.INFO: TCP Data received {"connection_id":106266,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:36:10] local.INFO: Processing buffer {"connection_id":106266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbad9618012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:36:10] local.INFO: Packet analysis {"connection_id":106266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:36:10] local.INFO: Extracted packet for processing {"connection_id":106266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbad"} 
[2026-06-18 22:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141246976001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781802047000,"timestamp_ms":1781802047000,"timestamp_seconds":1781802047,"priority":1,"record_length":96,"hex_timestamp":"0000019edbad9618"} 
[2026-06-18 22:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:36:10] 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-06-18 22:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106266,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141246976001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141246976001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:36:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:36:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141246976001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":106266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:36:11] local.INFO: GPS data processed {"connection_id":106266,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:36:11] local.INFO: Acknowledgment sent {"connection_id":106266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:36:24] local.INFO: TCP Data received {"connection_id":107053,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:36:24] local.INFO: Processing buffer {"connection_id":107053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:36:24] local.INFO: IMEI packet received {"connection_id":107053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":107053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:36:29] local.INFO: TCP Data received {"connection_id":107053,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:36:29] local.INFO: Processing buffer {"connection_id":107053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:36:29] local.INFO: IMEI packet received {"connection_id":107053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":107053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:36:29] local.INFO: TCP Data received {"connection_id":107053,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:36:29] local.INFO: Processing buffer {"connection_id":107053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:36:29] local.INFO: Packet analysis {"connection_id":107053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:36:29] local.INFO: Extracted packet for processing {"connection_id":107053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:29] 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-06-18 22:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:36:29] 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-06-18 22:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:36:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":107053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:36:29] local.INFO: GPS data processed {"connection_id":107053,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:36:29] local.INFO: Acknowledgment sent {"connection_id":107053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:36:32] local.INFO: TCP Data received {"connection_id":107990,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:36:32] local.INFO: Processing buffer {"connection_id":107990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:36:32] local.INFO: IMEI packet received {"connection_id":107990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:36:32] local.INFO: IMEI acknowledgment sent {"connection_id":107990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:36:38] local.INFO: TCP Data received {"connection_id":107990,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:36:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:36:38] local.INFO: Processing buffer {"connection_id":107990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:36:38] local.INFO: IMEI packet received {"connection_id":107990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:36:38] local.INFO: IMEI acknowledgment sent {"connection_id":107990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:36:39] local.INFO: TCP Data received {"connection_id":107990,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:36:39] local.INFO: Processing buffer {"connection_id":107990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:36:39] local.INFO: Packet analysis {"connection_id":107990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:36:39] local.INFO: Extracted packet for processing {"connection_id":107990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:36: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-06-18 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:36:39] 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-06-18 22:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:36:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:36:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":107990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:36:39] local.INFO: GPS data processed {"connection_id":107990,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:36:39] local.INFO: Acknowledgment sent {"connection_id":107990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:37:00] local.INFO: TCP Data received {"connection_id":107053,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:37:00] local.INFO: Processing buffer {"connection_id":107053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:37:00] local.INFO: Packet analysis {"connection_id":107053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:37:00] local.INFO: Extracted packet for processing {"connection_id":107053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:37:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:00] 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-06-18 22:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:37:00] 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-06-18 22:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:37:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:37:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":107053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:37:00] local.INFO: GPS data processed {"connection_id":107053,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:37:00] local.INFO: Acknowledgment sent {"connection_id":107053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:37:11] local.INFO: TCP Data received {"connection_id":107990,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:11] local.INFO: Processing buffer {"connection_id":107990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:11] local.INFO: Packet analysis {"connection_id":107990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:37:11] local.INFO: Extracted packet for processing {"connection_id":107990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:37:11] 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-06-18 22:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107990,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:37:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:37:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":107990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:37:11] local.INFO: GPS data processed {"connection_id":107990,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:37:11] local.INFO: Acknowledgment sent {"connection_id":107990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:37:23] local.INFO: TCP Data received {"connection_id":106444,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:37:23] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:37:23] local.INFO: IMEI packet received {"connection_id":106444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":106444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:37:29] local.INFO: TCP Data received {"connection_id":106444,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:37:29] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:37:29] local.INFO: IMEI packet received {"connection_id":106444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":106444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:37:29] local.INFO: TCP Data received {"connection_id":106444,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:37:29] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:37:29] local.INFO: Packet analysis {"connection_id":106444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:37:29] local.INFO: Extracted packet for processing {"connection_id":106444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:37:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:29] 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-06-18 22:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:37:29] 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-06-18 22:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:37:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":106444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:37:29] local.INFO: GPS data processed {"connection_id":106444,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:37:29] local.INFO: Acknowledgment sent {"connection_id":106444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:37:38] local.INFO: TCP Data received {"connection_id":107054,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:37:38] local.INFO: Processing buffer {"connection_id":107054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:37:38] local.INFO: IMEI packet received {"connection_id":107054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:37:38] local.INFO: IMEI acknowledgment sent {"connection_id":107054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:37:43] local.INFO: TCP Data received {"connection_id":107054,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:37:43] local.INFO: Processing buffer {"connection_id":107054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:37:43] local.INFO: IMEI packet received {"connection_id":107054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":107054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:37:44] local.INFO: TCP Data received {"connection_id":107054,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:44] local.INFO: Processing buffer {"connection_id":107054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:44] local.INFO: Packet analysis {"connection_id":107054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:37:44] local.INFO: Extracted packet for processing {"connection_id":107054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:37:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:37:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:37:44] 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-06-18 22:37:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:37:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":107054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:37:44] local.INFO: GPS data processed {"connection_id":107054,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:37:44] local.INFO: Acknowledgment sent {"connection_id":107054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:37:49] local.INFO: TCP Data received {"connection_id":107054,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:49] local.INFO: Processing buffer {"connection_id":107054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:37:49] local.INFO: Packet analysis {"connection_id":107054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:37:49] local.INFO: Extracted packet for processing {"connection_id":107054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:37:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:37:49] 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-06-18 22:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":107054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":107054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":107054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:37:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:37:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":107054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347445,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:37:49] local.INFO: GPS data processed {"connection_id":107054,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:37:49] local.INFO: Acknowledgment sent {"connection_id":107054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:38:00] local.INFO: TCP Data received {"connection_id":106444,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:38:00] local.INFO: Processing buffer {"connection_id":106444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:38:00] local.INFO: Packet analysis {"connection_id":106444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:38:00] local.INFO: Extracted packet for processing {"connection_id":106444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:38:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:00] 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-06-18 22:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:38:00] 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-06-18 22:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:38:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:38:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:38:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":106444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:38:00] local.INFO: GPS data processed {"connection_id":106444,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:38:00] local.INFO: Acknowledgment sent {"connection_id":106444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:38:04] local.INFO: TCP Data received {"connection_id":107055,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107055,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:38:04] local.INFO: Processing buffer {"connection_id":107055,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:38:04] local.INFO: IMEI packet received {"connection_id":107055,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":107055,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:38:05] local.INFO: TCP Data received {"connection_id":107055,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbacda98012da8a0800600a4f00035000a21..."} 
[2026-06-18 22:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbacda98012da8a0800600a4f00035000a21..."} 
[2026-06-18 22:38:05] local.INFO: Processing buffer {"connection_id":107055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbacda98012da8a0800600a4f00035000a21..."} 
[2026-06-18 22:38:05] local.INFO: Packet analysis {"connection_id":107055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbac"} 
[2026-06-18 22:38:05] local.INFO: Extracted packet for processing {"connection_id":107055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbac"} 
[2026-06-18 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":33,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141234688001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295891515794984960,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781801999000,"timestamp_ms":1781801999000,"timestamp_seconds":1781801999,"priority":1,"record_length":96,"hex_timestamp":"0000019edbacda98"} 
[2026-06-18 22:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2083,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:38:05] 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-06-18 22:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141234688001,"66":2242,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295891515794984960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141234688001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:38:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:38:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295891515794984960,"description":"Unknown IO ID 45"} 
[2026-06-18 22:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141234688001,"power":2242,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295891515794984960}} 
[2026-06-18 22:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":107055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:38:05] local.INFO: GPS data processed {"connection_id":107055,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:38:05] local.INFO: Acknowledgment sent {"connection_id":107055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:38:23] local.INFO: TCP Data received {"connection_id":106269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:38:23] local.INFO: Processing buffer {"connection_id":106269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:38:23] local.INFO: IMEI packet received {"connection_id":106269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":106269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:38:29] local.INFO: TCP Data received {"connection_id":106269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:38:29] local.INFO: Processing buffer {"connection_id":106269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:38:29] local.INFO: IMEI packet received {"connection_id":106269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":106269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:38:29] local.INFO: TCP Data received {"connection_id":106269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:38:29] local.INFO: Processing buffer {"connection_id":106269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbafc4b0012cc3308007685ac80061006d2a..."} 
[2026-06-18 22:38:29] local.INFO: Packet analysis {"connection_id":106269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:38:29] local.INFO: Extracted packet for processing {"connection_id":106269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbaf"} 
[2026-06-18 22:38:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":97,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141283584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:29] 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-06-18 22:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802190000,"timestamp_ms":1781802190000,"timestamp_seconds":1781802190,"priority":1,"record_length":96,"hex_timestamp":"0000019edbafc4b0"} 
[2026-06-18 22:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141283584001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141283584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:38:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141283584001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":106269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:38:29] local.INFO: GPS data processed {"connection_id":106269,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:38:29] local.INFO: Acknowledgment sent {"connection_id":106269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:38:33] local.INFO: TCP Data received {"connection_id":106445,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:38:33] local.INFO: Processing buffer {"connection_id":106445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:38:33] local.INFO: IMEI packet received {"connection_id":106445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:38:33] local.INFO: IMEI acknowledgment sent {"connection_id":106445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:38:36] local.INFO: TCP Data received {"connection_id":107055,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:38:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:38:36] local.INFO: Processing buffer {"connection_id":107055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:38:36] local.INFO: Packet analysis {"connection_id":107055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:38:36] local.INFO: Extracted packet for processing {"connection_id":107055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:38:36] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:38:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141311744001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295891515794984960,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:38:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781802453000,"timestamp_ms":1781802453000,"timestamp_seconds":1781802453,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb3c808"} 
[2026-06-18 22:38:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:38:36] 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-06-18 22:38:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:38:36] 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-06-18 22:38:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:38:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:38:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:38:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:38:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:38:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107055,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:38:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:38:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:38:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:38:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141311744001,"66":2231,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295891515794984960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:38:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:38:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:38:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141311744001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:38:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:38:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:38:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:38:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295891515794984960,"description":"Unknown IO ID 45"} 
[2026-06-18 22:38:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141311744001,"power":2231,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295891515794984960}} 
[2026-06-18 22:38:36] local.INFO: DEBUG: GPS processor result {"connection_id":107055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347449,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:38:36] local.INFO: GPS data processed {"connection_id":107055,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:38:36] local.INFO: Acknowledgment sent {"connection_id":107055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:38:38] local.INFO: TCP Data received {"connection_id":106445,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:38:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:38:38] local.INFO: Processing buffer {"connection_id":106445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:38:38] local.INFO: IMEI packet received {"connection_id":106445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:38:38] local.INFO: IMEI acknowledgment sent {"connection_id":106445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:38:39] local.INFO: TCP Data received {"connection_id":106445,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:38:39] local.INFO: Processing buffer {"connection_id":106445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:38:39] local.INFO: Packet analysis {"connection_id":106445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:38:39] local.INFO: Extracted packet for processing {"connection_id":106445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:38:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:38: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-06-18 22:38:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:38:39] 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-06-18 22:38:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:38:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:38:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":106445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:38:39] local.INFO: GPS data processed {"connection_id":106445,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:38:39] local.INFO: Acknowledgment sent {"connection_id":106445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:38:59] local.INFO: TCP Data received {"connection_id":106270,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:38:59] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:38:59] local.INFO: IMEI packet received {"connection_id":106270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":106270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:39:00] local.INFO: TCP Data received {"connection_id":106269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:39:00] local.INFO: Processing buffer {"connection_id":106269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:39:00] local.INFO: Packet analysis {"connection_id":106269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:39:00] local.INFO: Extracted packet for processing {"connection_id":106269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:39:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:00] 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-06-18 22:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:39: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-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:39: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-06-18 22:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:39:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":106269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:39:00] local.INFO: GPS data processed {"connection_id":106269,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:39:00] local.INFO: Acknowledgment sent {"connection_id":106269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:39:04] local.INFO: TCP Data received {"connection_id":106270,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:39:04] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:39:04] local.INFO: IMEI packet received {"connection_id":106270,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":106270,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:39:05] local.INFO: TCP Data received {"connection_id":106270,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:39:05] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:39:05] local.INFO: Packet analysis {"connection_id":106270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:39:05] local.INFO: Extracted packet for processing {"connection_id":106270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:39:05] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141311744001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295891515794984960,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781802453000,"timestamp_ms":1781802453000,"timestamp_seconds":1781802453,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb3c808"} 
[2026-06-18 22:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:39:05] 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-06-18 22:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:39:05] 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-06-18 22:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:39:05] 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-06-18 22:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141311744001,"66":2231,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295891515794984960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141311744001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:39:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:39:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295891515794984960,"description":"Unknown IO ID 45"} 
[2026-06-18 22:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141311744001,"power":2231,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295891515794984960}} 
[2026-06-18 22:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":106270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347452,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:39:05] local.INFO: GPS data processed {"connection_id":106270,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:39:05] local.INFO: Acknowledgment sent {"connection_id":106270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:39:11] local.INFO: TCP Data received {"connection_id":106445,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:39:11] local.INFO: Processing buffer {"connection_id":106445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:39:11] local.INFO: Packet analysis {"connection_id":106445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:39:11] local.INFO: Extracted packet for processing {"connection_id":106445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:39:11] 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-06-18 22:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:39:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:39:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":106445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:39:11] local.INFO: GPS data processed {"connection_id":106445,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:39:11] local.INFO: Acknowledgment sent {"connection_id":106445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:39:23] local.INFO: TCP Data received {"connection_id":106446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:39:23] local.INFO: Processing buffer {"connection_id":106446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:39:23] local.INFO: IMEI packet received {"connection_id":106446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:39:23] local.INFO: IMEI acknowledgment sent {"connection_id":106446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:39:29] local.INFO: TCP Data received {"connection_id":106446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:39:29] local.INFO: Processing buffer {"connection_id":106446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:39:29] local.INFO: IMEI packet received {"connection_id":106446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":106446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:39:29] local.INFO: TCP Data received {"connection_id":106446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:39:29] local.INFO: Processing buffer {"connection_id":106446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:39:29] local.INFO: Packet analysis {"connection_id":106446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:39:29] local.INFO: Extracted packet for processing {"connection_id":106446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:39:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:29] 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-06-18 22:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:39:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:39:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":106446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:39:29] local.INFO: GPS data processed {"connection_id":106446,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:39:29] local.INFO: Acknowledgment sent {"connection_id":106446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:39:33] local.INFO: TCP Data received {"connection_id":106271,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:39:33] local.INFO: Processing buffer {"connection_id":106271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:39:33] local.INFO: IMEI packet received {"connection_id":106271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:39:33] local.INFO: IMEI acknowledgment sent {"connection_id":106271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:39:36] local.INFO: TCP Data received {"connection_id":106270,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:39:36] local.INFO: Processing buffer {"connection_id":106270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:39:36] local.INFO: Packet analysis {"connection_id":106270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:39:36] local.INFO: Extracted packet for processing {"connection_id":106270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:39:36] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141311744001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295891515794984960,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781802453000,"timestamp_ms":1781802453000,"timestamp_seconds":1781802453,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb3c808"} 
[2026-06-18 22:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:39:36] 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-06-18 22:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:39:36] 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-06-18 22:39:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106270,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:39:36] 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-06-18 22:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141311744001,"66":2231,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295891515794984960},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141311744001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:39:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:39:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295891515794984960,"description":"Unknown IO ID 45"} 
[2026-06-18 22:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141311744001,"power":2231,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295891515794984960}} 
[2026-06-18 22:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":106270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347455,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:39:36] local.INFO: GPS data processed {"connection_id":106270,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:39:36] local.INFO: Acknowledgment sent {"connection_id":106270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:39:38] local.INFO: TCP Data received {"connection_id":106271,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:39:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:39:38] local.INFO: Processing buffer {"connection_id":106271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:39:38] local.INFO: IMEI packet received {"connection_id":106271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:39:38] local.INFO: IMEI acknowledgment sent {"connection_id":106271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:39:39] local.INFO: TCP Data received {"connection_id":106271,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:39:39] local.INFO: Processing buffer {"connection_id":106271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:39:39] local.INFO: Packet analysis {"connection_id":106271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:39:39] local.INFO: Extracted packet for processing {"connection_id":106271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:39:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:39: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-06-18 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:39:39] 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-06-18 22:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:39:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:39:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":106271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:39:39] local.INFO: GPS data processed {"connection_id":106271,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:39:39] local.INFO: Acknowledgment sent {"connection_id":106271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:40:00] local.INFO: TCP Data received {"connection_id":107056,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:00] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:00] local.INFO: IMEI packet received {"connection_id":107056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":107056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:40:00] local.INFO: TCP Data received {"connection_id":106446,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:40:00] local.INFO: Processing buffer {"connection_id":106446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:40:00] local.INFO: Packet analysis {"connection_id":106446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:40:00] local.INFO: Extracted packet for processing {"connection_id":106446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:40:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:00] 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-06-18 22:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:40: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-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:40: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-06-18 22:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:40:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:40:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:40:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":106446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:40:00] local.INFO: GPS data processed {"connection_id":106446,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:40:00] local.INFO: Acknowledgment sent {"connection_id":106446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:40:04] local.INFO: TCP Data received {"connection_id":107056,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:04] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:04] local.INFO: IMEI packet received {"connection_id":107056,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":107056,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:40:05] local.INFO: TCP Data received {"connection_id":107056,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:40:05] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:40:05] local.INFO: Packet analysis {"connection_id":107056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:40:05] local.INFO: Extracted packet for processing {"connection_id":107056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:40:05] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141311744001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295891515794984960,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781802453000,"timestamp_ms":1781802453000,"timestamp_seconds":1781802453,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb3c808"} 
[2026-06-18 22:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:40:05] 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-06-18 22: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":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:40:05] 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-06-18 22: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-06-18 22:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141311744001,"66":2231,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295891515794984960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141311744001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:40:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:40:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295891515794984960,"description":"Unknown IO ID 45"} 
[2026-06-18 22:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141311744001,"power":2231,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295891515794984960}} 
[2026-06-18 22:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":107056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347458,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:40:05] local.INFO: GPS data processed {"connection_id":107056,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:40:05] local.INFO: Acknowledgment sent {"connection_id":107056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:40:11] local.INFO: TCP Data received {"connection_id":106271,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:40:11] local.INFO: Processing buffer {"connection_id":106271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:40:11] local.INFO: Packet analysis {"connection_id":106271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:40:11] local.INFO: Extracted packet for processing {"connection_id":106271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:40:11] 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-06-18 22:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:40:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:40:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":106271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:40:11] local.INFO: GPS data processed {"connection_id":106271,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:40:11] local.INFO: Acknowledgment sent {"connection_id":106271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:40:23] local.INFO: TCP Data received {"connection_id":106272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:40:23] local.INFO: Processing buffer {"connection_id":106272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:40:23] local.INFO: IMEI packet received {"connection_id":106272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":106272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:40:29] local.INFO: TCP Data received {"connection_id":106272,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:40:29] local.INFO: Processing buffer {"connection_id":106272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:40:29] local.INFO: IMEI packet received {"connection_id":106272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":106272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:40:29] local.INFO: TCP Data received {"connection_id":106272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:40:29] local.INFO: Processing buffer {"connection_id":106272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:40:29] local.INFO: Packet analysis {"connection_id":106272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:40:29] local.INFO: Extracted packet for processing {"connection_id":106272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:40:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:29] 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-06-18 22:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:40:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":106272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:40:29] local.INFO: GPS data processed {"connection_id":106272,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:40:29] local.INFO: Acknowledgment sent {"connection_id":106272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:40:32] local.INFO: TCP Data received {"connection_id":107057,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:40:32] local.INFO: Processing buffer {"connection_id":107057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:40:32] local.INFO: IMEI packet received {"connection_id":107057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:40:32] local.INFO: IMEI acknowledgment sent {"connection_id":107057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:40:36] local.INFO: TCP Data received {"connection_id":107056,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:40:36] local.INFO: Processing buffer {"connection_id":107056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:40:36] local.INFO: Packet analysis {"connection_id":107056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:40:36] local.INFO: Extracted packet for processing {"connection_id":107056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:40:36] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141311744001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295891515794984960,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781802453000,"timestamp_ms":1781802453000,"timestamp_seconds":1781802453,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb3c808"} 
[2026-06-18 22:40:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:40:36] 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-06-18 22:40:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:40:36] 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-06-18 22:40:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:40:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107056,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:40:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141311744001,"66":2231,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295891515794984960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141311744001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:40:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:40:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295891515794984960,"description":"Unknown IO ID 45"} 
[2026-06-18 22:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141311744001,"power":2231,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295891515794984960}} 
[2026-06-18 22:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":107056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347461,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:40:36] local.INFO: GPS data processed {"connection_id":107056,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:40:36] local.INFO: Acknowledgment sent {"connection_id":107056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:40:38] local.INFO: TCP Data received {"connection_id":107057,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:40:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:40:38] local.INFO: Processing buffer {"connection_id":107057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:40:38] local.INFO: IMEI packet received {"connection_id":107057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:40:38] local.INFO: IMEI acknowledgment sent {"connection_id":107057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:40:39] local.INFO: TCP Data received {"connection_id":107057,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:40:39] local.INFO: Processing buffer {"connection_id":107057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:40:39] local.INFO: Packet analysis {"connection_id":107057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:40:39] local.INFO: Extracted packet for processing {"connection_id":107057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:40:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:40: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-06-18 22:40:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:40:39] 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-06-18 22:40:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:40:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:40:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":107057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:40:39] local.INFO: GPS data processed {"connection_id":107057,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:40:39] local.INFO: Acknowledgment sent {"connection_id":107057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:40:59] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:59] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:40:59] local.INFO: IMEI packet received {"connection_id":106273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":106273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:41:00] local.INFO: TCP Data received {"connection_id":106272,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:41:00] local.INFO: Processing buffer {"connection_id":106272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:41:00] local.INFO: Packet analysis {"connection_id":106272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:41:00] local.INFO: Extracted packet for processing {"connection_id":106272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:41:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:00] 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-06-18 22:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:41: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-06-18 22:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:41: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-06-18 22:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:41:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":106272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:41:00] local.INFO: GPS data processed {"connection_id":106272,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:41:00] local.INFO: Acknowledgment sent {"connection_id":106272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:41:04] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:41:04] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:41:04] local.INFO: IMEI packet received {"connection_id":106273,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":106273,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:41:05] local.INFO: TCP Data received {"connection_id":106273,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:41:05] local.INFO: Processing buffer {"connection_id":106273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb3c808012da8a0800600a4f00035000a25..."} 
[2026-06-18 22:41:05] local.INFO: Packet analysis {"connection_id":106273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:41:05] local.INFO: Extracted packet for processing {"connection_id":106273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb3"} 
[2026-06-18 22:41:05] local.INFO: GPS Element Parsed {"raw_longitude":766025856,"raw_latitude":100705520,"longitude_deg":76.6025856,"latitude_deg":10.070552,"altitude":53,"angle":10,"satellites":37,"speed":0,"hex_longitude":"2da8a080","hex_latitude":"0600a4f0","is_valid_coordinates":true} 
[2026-06-18 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141311744001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94359490895282176,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6295891515794984960,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781802453000,"timestamp_ms":1781802453000,"timestamp_seconds":1781802453,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb3c808"} 
[2026-06-18 22:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:41:05] 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-06-18 22:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:41:05] 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-06-18 22:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106273,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141311744001,"66":2231,"241":206,"88":20992,"24":0,"16":94359490895282176,"45":-6295891515794984960},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141311744001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:41:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:41:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94359490895282176,"km_value":94359490895282.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6295891515794984960,"description":"Unknown IO ID 45"} 
[2026-06-18 22:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141311744001,"power":2231,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6295891515794984960}} 
[2026-06-18 22:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":106273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:41:05] local.INFO: GPS data processed {"connection_id":106273,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:41:05] local.INFO: Acknowledgment sent {"connection_id":106273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:41:10] local.INFO: TCP Data received {"connection_id":107057,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:41:10] local.INFO: Processing buffer {"connection_id":107057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb22de0012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:41:10] local.INFO: Packet analysis {"connection_id":107057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:41:10] local.INFO: Extracted packet for processing {"connection_id":107057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb2"} 
[2026-06-18 22:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141324032001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781802348000,"timestamp_ms":1781802348000,"timestamp_seconds":1781802348,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb22de0"} 
[2026-06-18 22:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:41:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:41:10] 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-06-18 22:41:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107057,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141324032001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141324032001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:41:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:41:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141324032001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":107057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:41:11] local.INFO: GPS data processed {"connection_id":107057,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:41:11] local.INFO: Acknowledgment sent {"connection_id":107057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:41:23] local.INFO: TCP Data received {"connection_id":106447,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:41:23] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:41:23] local.INFO: IMEI packet received {"connection_id":106447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":106447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:41:29] local.INFO: TCP Data received {"connection_id":106447,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:41:29] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:41:29] local.INFO: IMEI packet received {"connection_id":106447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":106447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:41:29] local.INFO: TCP Data received {"connection_id":106447,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:41:29] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:41:29] local.INFO: Packet analysis {"connection_id":106447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:41:29] local.INFO: Extracted packet for processing {"connection_id":106447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:29] 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-06-18 22:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:41: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-06-18 22:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:41:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":106447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:41:29] local.INFO: GPS data processed {"connection_id":106447,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:41:29] local.INFO: Acknowledgment sent {"connection_id":106447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:41:32] local.INFO: TCP Data received {"connection_id":107058,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:41:32] local.INFO: Processing buffer {"connection_id":107058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:41:32] local.INFO: IMEI packet received {"connection_id":107058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":107058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:41:38] local.INFO: TCP Data received {"connection_id":107058,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:41:38] local.INFO: Processing buffer {"connection_id":107058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:41:38] local.INFO: IMEI packet received {"connection_id":107058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:41:38] local.INFO: IMEI acknowledgment sent {"connection_id":107058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:41:39] local.INFO: TCP Data received {"connection_id":107058,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:41:39] local.INFO: Processing buffer {"connection_id":107058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:41:39] local.INFO: Packet analysis {"connection_id":107058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:41:39] local.INFO: Extracted packet for processing {"connection_id":107058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:41: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-06-18 22:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:41:39] 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-06-18 22:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107058,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107058,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:41:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:41:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":107058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:41:39] local.INFO: GPS data processed {"connection_id":107058,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:41:39] local.INFO: Acknowledgment sent {"connection_id":107058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:42:00] local.INFO: TCP Data received {"connection_id":106447,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:42:00] local.INFO: Processing buffer {"connection_id":106447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:42:00] local.INFO: Packet analysis {"connection_id":106447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:42:00] local.INFO: Extracted packet for processing {"connection_id":106447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:42:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:00] 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-06-18 22:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:42: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-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:42:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":106447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:42:01] local.INFO: GPS data processed {"connection_id":106447,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:42:01] local.INFO: Acknowledgment sent {"connection_id":106447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:42:11] local.INFO: TCP Data received {"connection_id":107058,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:42:11] local.INFO: Processing buffer {"connection_id":107058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:42:11] local.INFO: Packet analysis {"connection_id":107058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:42:11] local.INFO: Extracted packet for processing {"connection_id":107058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:42:11] 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-06-18 22:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107058,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107058,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:42:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:42:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":107058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:42:11] local.INFO: GPS data processed {"connection_id":107058,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:42:11] local.INFO: Acknowledgment sent {"connection_id":107058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:42:23] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:42:23] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:42:23] local.INFO: IMEI packet received {"connection_id":106274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":106274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:42:29] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:42:29] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:42:29] local.INFO: IMEI packet received {"connection_id":106274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":106274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:42:29] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:42:29] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:42:29] local.INFO: Packet analysis {"connection_id":106274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:42:29] local.INFO: Extracted packet for processing {"connection_id":106274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:42:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:29] 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-06-18 22:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:42:29] 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-06-18 22:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:42:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":106274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:42:29] local.INFO: GPS data processed {"connection_id":106274,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:42:29] local.INFO: Acknowledgment sent {"connection_id":106274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:42:38] local.INFO: TCP Data received {"connection_id":107059,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:42:38] local.INFO: Processing buffer {"connection_id":107059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:42:38] local.INFO: IMEI packet received {"connection_id":107059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:42:38] local.INFO: IMEI acknowledgment sent {"connection_id":107059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:42:43] local.INFO: TCP Data received {"connection_id":107059,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107059,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:42:43] local.INFO: Processing buffer {"connection_id":107059,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:42:43] local.INFO: IMEI packet received {"connection_id":107059,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":107059,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:42:44] local.INFO: TCP Data received {"connection_id":107059,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:42:44] local.INFO: Processing buffer {"connection_id":107059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:42:44] local.INFO: Packet analysis {"connection_id":107059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:42:44] local.INFO: Extracted packet for processing {"connection_id":107059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:42:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:42:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:42:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:42:44] 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-06-18 22:42:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:42:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":107059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:42:44] local.INFO: GPS data processed {"connection_id":107059,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:42:44] local.INFO: Acknowledgment sent {"connection_id":107059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:43:00] local.INFO: TCP Data received {"connection_id":106274,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:43:00] local.INFO: Processing buffer {"connection_id":106274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:43:00] local.INFO: Packet analysis {"connection_id":106274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:43:00] local.INFO: Extracted packet for processing {"connection_id":106274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:43:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:00] 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-06-18 22:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:43: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-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:43:00] 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-06-18 22:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:43:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":106274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:43:00] local.INFO: GPS data processed {"connection_id":106274,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:43:00] local.INFO: Acknowledgment sent {"connection_id":106274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:43:15] local.INFO: TCP Data received {"connection_id":107059,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:43:15] local.INFO: Processing buffer {"connection_id":107059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:43:15] local.INFO: Packet analysis {"connection_id":107059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:43:15] local.INFO: Extracted packet for processing {"connection_id":107059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:43:15] 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-06-18 22:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107059,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:43:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:43:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":107059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:43:16] local.INFO: GPS data processed {"connection_id":107059,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:43:16] local.INFO: Acknowledgment sent {"connection_id":107059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:43:23] local.INFO: TCP Data received {"connection_id":107991,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:43:23] local.INFO: Processing buffer {"connection_id":107991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:43:23] local.INFO: IMEI packet received {"connection_id":107991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":107991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:43:29] local.INFO: TCP Data received {"connection_id":107991,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:43:29] local.INFO: Processing buffer {"connection_id":107991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:43:29] local.INFO: IMEI packet received {"connection_id":107991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":107991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:43:30] local.INFO: TCP Data received {"connection_id":107991,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:43:30] local.INFO: Processing buffer {"connection_id":107991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb45c78012cc3308007685ac80060006d2a..."} 
[2026-06-18 22:43:30] local.INFO: Packet analysis {"connection_id":107991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:43:30] local.INFO: Extracted packet for processing {"connection_id":107991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb4"} 
[2026-06-18 22:43:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":96,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141360640001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:30] 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-06-18 22:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781802491000,"timestamp_ms":1781802491000,"timestamp_seconds":1781802491,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb45c78"} 
[2026-06-18 22:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:43:30] 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-06-18 22: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-06-18 22:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:43:30] 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-06-18 22:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141360640001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141360640001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:43:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:43:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:43:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141360640001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":107991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:43:30] local.INFO: GPS data processed {"connection_id":107991,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:43:30] local.INFO: Acknowledgment sent {"connection_id":107991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:43:33] local.INFO: TCP Data received {"connection_id":107060,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:43:33] local.INFO: Processing buffer {"connection_id":107060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:43:33] local.INFO: IMEI packet received {"connection_id":107060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:43:33] local.INFO: IMEI acknowledgment sent {"connection_id":107060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:43:38] local.INFO: TCP Data received {"connection_id":107060,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:43:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:43:38] local.INFO: Processing buffer {"connection_id":107060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:43:38] local.INFO: IMEI packet received {"connection_id":107060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:43:38] local.INFO: IMEI acknowledgment sent {"connection_id":107060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:43:39] local.INFO: TCP Data received {"connection_id":107060,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:43:39] local.INFO: Processing buffer {"connection_id":107060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:43:39] local.INFO: Packet analysis {"connection_id":107060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:43:39] local.INFO: Extracted packet for processing {"connection_id":107060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:43: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-06-18 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:43:39] 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-06-18 22:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:43:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:43:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":107060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:43:39] local.INFO: GPS data processed {"connection_id":107060,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:43:39] local.INFO: Acknowledgment sent {"connection_id":107060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:44:00] local.INFO: TCP Data received {"connection_id":107991,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:00] local.INFO: Processing buffer {"connection_id":107991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:00] local.INFO: Packet analysis {"connection_id":107991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:44:00] local.INFO: Extracted packet for processing {"connection_id":107991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:44:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:00] 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-06-18 22:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:44:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":107991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:44:01] local.INFO: GPS data processed {"connection_id":107991,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:44:01] local.INFO: Acknowledgment sent {"connection_id":107991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:44:10] local.INFO: TCP Data received {"connection_id":107060,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:44:10] local.INFO: Processing buffer {"connection_id":107060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:44:10] local.INFO: Packet analysis {"connection_id":107060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:44:10] local.INFO: Extracted packet for processing {"connection_id":107060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:44:10] 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-06-18 22:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107060,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:44:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:44:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":107060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:44:11] local.INFO: GPS data processed {"connection_id":107060,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:44:11] local.INFO: Acknowledgment sent {"connection_id":107060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:44:24] local.INFO: TCP Data received {"connection_id":106448,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:44:24] local.INFO: Processing buffer {"connection_id":106448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:44:24] local.INFO: IMEI packet received {"connection_id":106448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:44:24] local.INFO: IMEI acknowledgment sent {"connection_id":106448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:44:29] local.INFO: TCP Data received {"connection_id":106448,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:44:29] local.INFO: Processing buffer {"connection_id":106448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:44:29] local.INFO: IMEI packet received {"connection_id":106448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:44:29] local.INFO: IMEI acknowledgment sent {"connection_id":106448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:44:29] local.INFO: TCP Data received {"connection_id":106448,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:29] local.INFO: Processing buffer {"connection_id":106448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:29] local.INFO: Packet analysis {"connection_id":106448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:44:29] local.INFO: Extracted packet for processing {"connection_id":106448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:29] 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-06-18 22:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:44:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:44:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":106448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:44:29] local.INFO: GPS data processed {"connection_id":106448,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:44:29] local.INFO: Acknowledgment sent {"connection_id":106448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:44:32] local.INFO: TCP Data received {"connection_id":106275,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:44:32] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:44:32] local.INFO: IMEI packet received {"connection_id":106275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:44:32] local.INFO: IMEI acknowledgment sent {"connection_id":106275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:44:34] local.INFO: TCP Data received {"connection_id":106448,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:34] local.INFO: Processing buffer {"connection_id":106448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:44:34] local.INFO: Packet analysis {"connection_id":106448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:44:34] local.INFO: Extracted packet for processing {"connection_id":106448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:44:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:34] 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-06-18 22:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:44:34] 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-06-18 22:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:44:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":106448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:44:34] local.INFO: GPS data processed {"connection_id":106448,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:44:34] local.INFO: Acknowledgment sent {"connection_id":106448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:44:37] local.INFO: TCP Data received {"connection_id":106275,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:44:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:44:37] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:44:37] local.INFO: IMEI packet received {"connection_id":106275,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:44:37] local.INFO: IMEI acknowledgment sent {"connection_id":106275,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:44:38] local.INFO: TCP Data received {"connection_id":106275,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:44:38] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:44:38] local.INFO: Packet analysis {"connection_id":106275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:44:38] local.INFO: Extracted packet for processing {"connection_id":106275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:44:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:44:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:44:38] 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-06-18 22:44:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:44:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:44:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:44:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":106275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:44:38] local.INFO: GPS data processed {"connection_id":106275,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:44:38] local.INFO: Acknowledgment sent {"connection_id":106275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:45:05] local.INFO: TCP Data received {"connection_id":106448,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:45:05] local.INFO: Processing buffer {"connection_id":106448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:45:05] local.INFO: Packet analysis {"connection_id":106448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:45:05] local.INFO: Extracted packet for processing {"connection_id":106448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:45:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:05] 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-06-18 22:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:45:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:45:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":106448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:45:05] local.INFO: GPS data processed {"connection_id":106448,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:45:05] local.INFO: Acknowledgment sent {"connection_id":106448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:45:10] local.INFO: TCP Data received {"connection_id":106275,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:45:10] local.INFO: Processing buffer {"connection_id":106275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:45:10] local.INFO: Packet analysis {"connection_id":106275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:45:10] local.INFO: Extracted packet for processing {"connection_id":106275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:45:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:45:10] 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-06-18 22:45:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106275,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:45:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":106275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:45:10] local.INFO: GPS data processed {"connection_id":106275,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:45:10] local.INFO: Acknowledgment sent {"connection_id":106275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:45:23] local.INFO: TCP Data received {"connection_id":107061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:45:23] local.INFO: Processing buffer {"connection_id":107061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:45:23] local.INFO: IMEI packet received {"connection_id":107061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":107061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:45:29] local.INFO: TCP Data received {"connection_id":107061,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:45:29] local.INFO: Processing buffer {"connection_id":107061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:45:29] local.INFO: IMEI packet received {"connection_id":107061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:45:29] local.INFO: IMEI acknowledgment sent {"connection_id":107061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:45:30] local.INFO: TCP Data received {"connection_id":107061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:45:30] local.INFO: Processing buffer {"connection_id":107061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:45:30] local.INFO: Packet analysis {"connection_id":107061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:45:30] local.INFO: Extracted packet for processing {"connection_id":107061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:45:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:30] 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-06-18 22:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:45:30] 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-06-18 22:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:45: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-06-18 22:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:45:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:45:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:45:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":107061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:45:30] local.INFO: GPS data processed {"connection_id":107061,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:45:30] local.INFO: Acknowledgment sent {"connection_id":107061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:45:32] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:45:32] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:45:32] local.INFO: IMEI packet received {"connection_id":106276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:45:32] local.INFO: IMEI acknowledgment sent {"connection_id":106276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:45:38] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:45:38] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:45:38] local.INFO: IMEI packet received {"connection_id":106276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:45:38] local.INFO: IMEI acknowledgment sent {"connection_id":106276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:45:39] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:45:39] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:45:39] local.INFO: Packet analysis {"connection_id":106276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:45:39] local.INFO: Extracted packet for processing {"connection_id":106276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:45:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:45: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-06-18 22: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":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:45:39] 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-06-18 22: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-06-18 22:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:45:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:45:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":106276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347484,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:45:39] local.INFO: GPS data processed {"connection_id":106276,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:45:39] local.INFO: Acknowledgment sent {"connection_id":106276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:46:01] local.INFO: TCP Data received {"connection_id":107061,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:46:01] local.INFO: Processing buffer {"connection_id":107061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:46:01] local.INFO: Packet analysis {"connection_id":107061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:46:01] local.INFO: Extracted packet for processing {"connection_id":107061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:01] 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-06-18 22:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:46:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:46:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":107061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:46:01] local.INFO: GPS data processed {"connection_id":107061,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:46:01] local.INFO: Acknowledgment sent {"connection_id":107061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:46:11] local.INFO: TCP Data received {"connection_id":106276,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:46:11] local.INFO: Processing buffer {"connection_id":106276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb6c5a8012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:46:11] local.INFO: Packet analysis {"connection_id":106276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:46:11] local.INFO: Extracted packet for processing {"connection_id":106276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb6"} 
[2026-06-18 22:46:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141401088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802649000,"timestamp_ms":1781802649000,"timestamp_seconds":1781802649,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb6c5a8"} 
[2026-06-18 22:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:46:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:46:11] 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-06-18 22:46:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106276,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141401088001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141401088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:46:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:46:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141401088001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":106276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347486,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:46:11] local.INFO: GPS data processed {"connection_id":106276,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:46:11] local.INFO: Acknowledgment sent {"connection_id":106276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:46:24] local.INFO: TCP Data received {"connection_id":106449,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:46:24] local.INFO: Processing buffer {"connection_id":106449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:46:24] local.INFO: IMEI packet received {"connection_id":106449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":106449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:46:29] local.INFO: TCP Data received {"connection_id":106449,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:46:29] local.INFO: Processing buffer {"connection_id":106449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:46:29] local.INFO: IMEI packet received {"connection_id":106449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":106449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:46:29] local.INFO: TCP Data received {"connection_id":106449,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:46:29] local.INFO: Processing buffer {"connection_id":106449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:46:29] local.INFO: Packet analysis {"connection_id":106449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:46:29] local.INFO: Extracted packet for processing {"connection_id":106449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:46:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:29] 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-06-18 22:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:46: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-06-18 22:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:46:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":106449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:46:29] local.INFO: GPS data processed {"connection_id":106449,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:46:29] local.INFO: Acknowledgment sent {"connection_id":106449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:46:32] local.INFO: TCP Data received {"connection_id":107062,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:46:32] local.INFO: Processing buffer {"connection_id":107062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:46:32] local.INFO: IMEI packet received {"connection_id":107062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:46:32] local.INFO: IMEI acknowledgment sent {"connection_id":107062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:46:38] local.INFO: TCP Data received {"connection_id":107062,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:46:38] local.INFO: Processing buffer {"connection_id":107062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:46:38] local.INFO: IMEI packet received {"connection_id":107062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:46:38] local.INFO: IMEI acknowledgment sent {"connection_id":107062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:46:39] local.INFO: TCP Data received {"connection_id":107062,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:46:39] local.INFO: Processing buffer {"connection_id":107062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:46:39] local.INFO: Packet analysis {"connection_id":107062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:46:39] local.INFO: Extracted packet for processing {"connection_id":107062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:46: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-06-18 22:46:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:46:39] 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-06-18 22:46:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:46:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:46:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":107062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:46:39] local.INFO: GPS data processed {"connection_id":107062,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:46:39] local.INFO: Acknowledgment sent {"connection_id":107062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:47:00] local.INFO: TCP Data received {"connection_id":106449,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:47:00] local.INFO: Processing buffer {"connection_id":106449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:47:00] local.INFO: Packet analysis {"connection_id":106449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:47:00] local.INFO: Extracted packet for processing {"connection_id":106449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:47:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:00] 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-06-18 22:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:47: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-06-18 22:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:47: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-06-18 22:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:47:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:47:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":106449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:47:00] local.INFO: GPS data processed {"connection_id":106449,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:47:00] local.INFO: Acknowledgment sent {"connection_id":106449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:47:10] local.INFO: TCP Data received {"connection_id":107062,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:47:10] local.INFO: Processing buffer {"connection_id":107062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:47:10] local.INFO: Packet analysis {"connection_id":107062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:47:10] local.INFO: Extracted packet for processing {"connection_id":107062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:47:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:47:10] 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-06-18 22:47:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107062,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:47:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:47:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":107062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:47:11] local.INFO: GPS data processed {"connection_id":107062,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:47:11] local.INFO: Acknowledgment sent {"connection_id":107062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:47:23] local.INFO: TCP Data received {"connection_id":107992,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:47:23] local.INFO: Processing buffer {"connection_id":107992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:47:23] local.INFO: IMEI packet received {"connection_id":107992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":107992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:47:29] local.INFO: TCP Data received {"connection_id":107992,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:47:29] local.INFO: Processing buffer {"connection_id":107992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:47:29] local.INFO: IMEI packet received {"connection_id":107992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":107992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:47:29] local.INFO: TCP Data received {"connection_id":107992,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:47:29] local.INFO: Processing buffer {"connection_id":107992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:47:29] local.INFO: Packet analysis {"connection_id":107992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:47:29] local.INFO: Extracted packet for processing {"connection_id":107992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:29] 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-06-18 22:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:47:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:47:29] 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-06-18 22:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:47:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":107992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:47:29] local.INFO: GPS data processed {"connection_id":107992,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:47:29] local.INFO: Acknowledgment sent {"connection_id":107992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:47:32] local.INFO: TCP Data received {"connection_id":106450,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:47:32] local.INFO: Processing buffer {"connection_id":106450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:47:32] local.INFO: IMEI packet received {"connection_id":106450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:47:32] local.INFO: IMEI acknowledgment sent {"connection_id":106450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:47:38] local.INFO: TCP Data received {"connection_id":106450,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:47:38] local.INFO: Processing buffer {"connection_id":106450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:47:38] local.INFO: IMEI packet received {"connection_id":106450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":106450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:47:39] local.INFO: TCP Data received {"connection_id":106450,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:47:39] local.INFO: Processing buffer {"connection_id":106450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:47:39] local.INFO: Packet analysis {"connection_id":106450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:47:39] local.INFO: Extracted packet for processing {"connection_id":106450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:47: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-06-18 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:47:39] 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-06-18 22: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-06-18 22:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:47:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:47:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:47:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":106450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347492,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:47:39] local.INFO: GPS data processed {"connection_id":106450,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:47:39] local.INFO: Acknowledgment sent {"connection_id":106450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:48:00] local.INFO: TCP Data received {"connection_id":107992,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:48:00] local.INFO: Processing buffer {"connection_id":107992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:48:00] local.INFO: Packet analysis {"connection_id":107992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:48:00] local.INFO: Extracted packet for processing {"connection_id":107992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:48:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:00] 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-06-18 22:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:48: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-06-18 22:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:48:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":107992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:48:00] local.INFO: GPS data processed {"connection_id":107992,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:48:00] local.INFO: Acknowledgment sent {"connection_id":107992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:48:11] local.INFO: TCP Data received {"connection_id":106450,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:48:11] local.INFO: Processing buffer {"connection_id":106450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:48:11] local.INFO: Packet analysis {"connection_id":106450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:48:11] local.INFO: Extracted packet for processing {"connection_id":106450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:48:11] 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-06-18 22:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:48:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:48:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":106450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:48:11] local.INFO: GPS data processed {"connection_id":106450,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:48:11] local.INFO: Acknowledgment sent {"connection_id":106450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:48:23] local.INFO: TCP Data received {"connection_id":107993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:48:23] local.INFO: Processing buffer {"connection_id":107993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:48:23] local.INFO: IMEI packet received {"connection_id":107993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":107993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:48:29] local.INFO: TCP Data received {"connection_id":107993,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:48:29] local.INFO: Processing buffer {"connection_id":107993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:48:29] local.INFO: IMEI packet received {"connection_id":107993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:48:29] local.INFO: IMEI acknowledgment sent {"connection_id":107993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:48:30] local.INFO: TCP Data received {"connection_id":107993,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:48:30] local.INFO: Processing buffer {"connection_id":107993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbb8f440012cc3308007685ac8005d006d2b..."} 
[2026-06-18 22:48:30] local.INFO: Packet analysis {"connection_id":107993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:48:30] local.INFO: Extracted packet for processing {"connection_id":107993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbb8"} 
[2026-06-18 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141437696001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:30] 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-06-18 22:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781802792000,"timestamp_ms":1781802792000,"timestamp_seconds":1781802792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbb8f440"} 
[2026-06-18 22:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:48:30] 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-06-18 22: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-06-18 22:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:48:30] 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-06-18 22:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141437696001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141437696001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:48:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:48:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:48:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141437696001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":107993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:48:30] local.INFO: GPS data processed {"connection_id":107993,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:48:30] local.INFO: Acknowledgment sent {"connection_id":107993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:48:32] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:48:32] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:48:32] local.INFO: IMEI packet received {"connection_id":106277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":106277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:48:38] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:48:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:48:38] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:48:38] local.INFO: IMEI packet received {"connection_id":106277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:48:38] local.INFO: IMEI acknowledgment sent {"connection_id":106277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:48:39] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:48:39] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:48:39] local.INFO: Packet analysis {"connection_id":106277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:48:39] local.INFO: Extracted packet for processing {"connection_id":106277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:48:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:48: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-06-18 22:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:48:39] 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-06-18 22:48:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:48:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:48:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":106277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:48:39] local.INFO: GPS data processed {"connection_id":106277,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:48:39] local.INFO: Acknowledgment sent {"connection_id":106277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:49:01] local.INFO: TCP Data received {"connection_id":107993,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:49:01] local.INFO: Processing buffer {"connection_id":107993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:49:01] local.INFO: Packet analysis {"connection_id":107993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:49:01] local.INFO: Extracted packet for processing {"connection_id":107993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:01] 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-06-18 22:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:49:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:49:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":107993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:49:01] local.INFO: GPS data processed {"connection_id":107993,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:49:01] local.INFO: Acknowledgment sent {"connection_id":107993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:49:11] local.INFO: TCP Data received {"connection_id":106277,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:49:11] local.INFO: Processing buffer {"connection_id":106277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:49:11] local.INFO: Packet analysis {"connection_id":106277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:49:11] local.INFO: Extracted packet for processing {"connection_id":106277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:49:11] 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-06-18 22:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106277,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:49:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:49:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":106277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347498,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:49:11] local.INFO: GPS data processed {"connection_id":106277,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:49:11] local.INFO: Acknowledgment sent {"connection_id":106277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:49:23] local.INFO: TCP Data received {"connection_id":106451,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:49:23] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:49:23] local.INFO: IMEI packet received {"connection_id":106451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:49:23] local.INFO: IMEI acknowledgment sent {"connection_id":106451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:49:29] local.INFO: TCP Data received {"connection_id":106451,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:49:29] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:49:29] local.INFO: IMEI packet received {"connection_id":106451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":106451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:49:29] local.INFO: TCP Data received {"connection_id":106451,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:49:29] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:49:29] local.INFO: Packet analysis {"connection_id":106451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:49:29] local.INFO: Extracted packet for processing {"connection_id":106451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:49:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 22:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:29] 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-06-18 22:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 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-06-18 22:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 22:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:49: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-06-18 22:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:49:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:49:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":106451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:49:29] local.INFO: GPS data processed {"connection_id":106451,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:49:29] local.INFO: Acknowledgment sent {"connection_id":106451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:49:32] local.INFO: TCP Data received {"connection_id":107064,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:49:32] local.INFO: Processing buffer {"connection_id":107064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:49:32] local.INFO: IMEI packet received {"connection_id":107064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":107064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:49:34] local.INFO: TCP Data received {"connection_id":107063,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:34] local.INFO: Processing buffer {"connection_id":107063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:34] local.INFO: IMEI packet received {"connection_id":107063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:49:34] local.INFO: IMEI acknowledgment sent {"connection_id":107063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:49:38] local.INFO: TCP Data received {"connection_id":107064,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:49:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:49:38] local.INFO: Processing buffer {"connection_id":107064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:49:38] local.INFO: IMEI packet received {"connection_id":107064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:49:38] local.INFO: IMEI acknowledgment sent {"connection_id":107064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:49:39] local.INFO: TCP Data received {"connection_id":107064,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:49:39] local.INFO: Processing buffer {"connection_id":107064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:49:39] local.INFO: Packet analysis {"connection_id":107064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:49:39] local.INFO: Extracted packet for processing {"connection_id":107064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:49: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-06-18 22:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:49:39] 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-06-18 22:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:49:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:49:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":107064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347500,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:49:39] local.INFO: GPS data processed {"connection_id":107064,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:49:39] local.INFO: Acknowledgment sent {"connection_id":107064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:49:39] local.INFO: TCP Data received {"connection_id":107063,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107063,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:39] local.INFO: Processing buffer {"connection_id":107063,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:39] local.INFO: IMEI packet received {"connection_id":107063,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:49:39] local.INFO: IMEI acknowledgment sent {"connection_id":107063,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:49:40] local.INFO: TCP Data received {"connection_id":107063,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbe62e0012da88f00060082680025012324..."} 
[2026-06-18 22:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbe62e0012da88f00060082680025012324..."} 
[2026-06-18 22:49:40] local.INFO: Processing buffer {"connection_id":107063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbe62e0012da88f00060082680025012324..."} 
[2026-06-18 22:49:40] local.INFO: Packet analysis {"connection_id":107063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbe"} 
[2026-06-18 22:49:40] local.INFO: Extracted packet for processing {"connection_id":107063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbe"} 
[2026-06-18 22:49:40] local.INFO: GPS Element Parsed {"raw_longitude":766021376,"raw_latitude":100696680,"longitude_deg":76.6021376,"latitude_deg":10.069668,"altitude":37,"angle":291,"satellites":36,"speed":21,"hex_longitude":"2da88f00","hex_latitude":"06008268","is_valid_coordinates":true} 
[2026-06-18 22:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141605120001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94360955479130112,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6298635896820322304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781803148000,"timestamp_ms":1781803148000,"timestamp_seconds":1781803148,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbe62e0"} 
[2026-06-18 22:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 22:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107063,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141605120001,"66":11743,"241":206,"88":20992,"24":21,"16":94360955479130112,"45":-6298635896820322304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141605120001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:49:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:49:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94360955479130112,"km_value":94360955479130.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6298635896820322304,"description":"Unknown IO ID 45"} 
[2026-06-18 22:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141605120001,"power":11743,"unknown_241":206,"unknown_88":20992,"ignition":21,"odometer":null,"unknown_45":-6298635896820322304}} 
[2026-06-18 22:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":107063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347501,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:49:40] local.INFO: GPS data processed {"connection_id":107063,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:49:40] local.INFO: Acknowledgment sent {"connection_id":107063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:49:54] local.INFO: TCP Data received {"connection_id":106452,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:54] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:54] local.INFO: IMEI packet received {"connection_id":106452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":106452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:49:59] local.INFO: TCP Data received {"connection_id":106452,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:59] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:49:59] local.INFO: IMEI packet received {"connection_id":106452,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":106452,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:50:00] local.INFO: TCP Data received {"connection_id":106452,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbe7280012da889c0060084980024012e24..."} 
[2026-06-18 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbe7280012da889c0060084980024012e24..."} 
[2026-06-18 22:50:00] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbe7280012da889c0060084980024012e24..."} 
[2026-06-18 22:50:00] local.INFO: Packet analysis {"connection_id":106452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbe"} 
[2026-06-18 22:50:00] local.INFO: Extracted packet for processing {"connection_id":106452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbe"} 
[2026-06-18 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":766020032,"raw_latitude":100697240,"longitude_deg":76.6020032,"latitude_deg":10.069724,"altitude":36,"angle":302,"satellites":36,"speed":8,"hex_longitude":"2da889c0","hex_latitude":"06008498","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141605888001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361024198606848,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6300817327889684480,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803152000,"timestamp_ms":1781803152000,"timestamp_seconds":1781803152,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbe7280"} 
[2026-06-18 22:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:50:00] 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-06-18 22: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 22:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:50: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-06-18 22:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141605888001,"66":11471,"241":206,"88":20992,"24":8,"16":94361024198606848,"45":-6300817327889684480},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141605888001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:50:00] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:50:00] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361024198606848,"km_value":94361024198606.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6300817327889684480,"description":"Unknown IO ID 45"} 
[2026-06-18 22:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141605888001,"power":11471,"unknown_241":206,"unknown_88":20992,"ignition":8,"odometer":null,"unknown_45":-6300817327889684480}} 
[2026-06-18 22:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":106452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347502,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:50:00] local.INFO: GPS data processed {"connection_id":106452,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:50:00] local.INFO: Acknowledgment sent {"connection_id":106452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:50:00] local.INFO: TCP Data received {"connection_id":106451,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:50:00] local.INFO: Processing buffer {"connection_id":106451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:50:00] local.INFO: Packet analysis {"connection_id":106451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:50:00] local.INFO: Extracted packet for processing {"connection_id":106451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:00] 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-06-18 22:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:50: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-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:50: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-06-18 22:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:50:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:50:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:50:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":106451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:50:00] local.INFO: GPS data processed {"connection_id":106451,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:50:00] local.INFO: Acknowledgment sent {"connection_id":106451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:50:10] local.INFO: TCP Data received {"connection_id":107064,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:50:10] local.INFO: Processing buffer {"connection_id":107064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:50:10] local.INFO: Packet analysis {"connection_id":107064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:50:10] local.INFO: Extracted packet for processing {"connection_id":107064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:50:10] 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-06-18 22:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107064,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:50:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:50:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":107064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347504,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:50:11] local.INFO: GPS data processed {"connection_id":107064,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:50:11] local.INFO: Acknowledgment sent {"connection_id":107064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:50:24] local.INFO: TCP Data received {"connection_id":106278,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:50:24] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:50:24] local.INFO: IMEI packet received {"connection_id":106278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":106278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:50:29] local.INFO: TCP Data received {"connection_id":106278,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:50:29] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:50:29] local.INFO: IMEI packet received {"connection_id":106278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:50:29] local.INFO: IMEI acknowledgment sent {"connection_id":106278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:50:29] local.INFO: TCP Data received {"connection_id":106278,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:50:29] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:50:29] local.INFO: Packet analysis {"connection_id":106278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:50:29] local.INFO: Extracted packet for processing {"connection_id":106278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:50:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:29] 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-06-18 22:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:50: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-06-18 22:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:50:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":106278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:50:29] local.INFO: GPS data processed {"connection_id":106278,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:50:29] local.INFO: Acknowledgment sent {"connection_id":106278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:50:31] local.INFO: TCP Data received {"connection_id":106452,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbe91c0012da884c0060087500024013c24..."} 
[2026-06-18 22:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbe91c0012da884c0060087500024013c24..."} 
[2026-06-18 22:50:31] local.INFO: Processing buffer {"connection_id":106452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbe91c0012da884c0060087500024013c24..."} 
[2026-06-18 22:50:31] local.INFO: Packet analysis {"connection_id":106452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbe"} 
[2026-06-18 22:50:31] local.INFO: Extracted packet for processing {"connection_id":106452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbe"} 
[2026-06-18 22:50:31] local.INFO: GPS Element Parsed {"raw_longitude":766018752,"raw_latitude":100697936,"longitude_deg":76.6018752,"latitude_deg":10.0697936,"altitude":36,"angle":316,"satellites":36,"speed":5,"hex_longitude":"2da884c0","hex_latitude":"06008750","is_valid_coordinates":true} 
[2026-06-18 22:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141606912001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361097213050880,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6302295071517272064,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1781803160000,"timestamp_ms":1781803160000,"timestamp_seconds":1781803160,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbe91c0"} 
[2026-06-18 22:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 22:50:31] 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-06-18 22:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":106452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":106452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":106452,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:50:31] 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-06-18 22:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141606912001,"66":11874,"241":206,"88":20992,"24":5,"16":94361097213050880,"45":-6302295071517272064},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141606912001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:50:31] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:50:31] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361097213050880,"km_value":94361097213050.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6302295071517272064,"description":"Unknown IO ID 45"} 
[2026-06-18 22:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141606912001,"power":11874,"unknown_241":206,"unknown_88":20992,"ignition":5,"odometer":null,"unknown_45":-6302295071517272064}} 
[2026-06-18 22:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":106452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347506,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:50:31] local.INFO: GPS data processed {"connection_id":106452,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:50:31] local.INFO: Acknowledgment sent {"connection_id":106452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:50:32] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:50:32] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:50:32] local.INFO: IMEI packet received {"connection_id":106453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:50:32] local.INFO: IMEI acknowledgment sent {"connection_id":106453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:50:39] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:50:39] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:50:39] local.INFO: IMEI packet received {"connection_id":106453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:50:39] local.INFO: IMEI acknowledgment sent {"connection_id":106453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:50:41] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:50:41] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:50:41] local.INFO: Packet analysis {"connection_id":106453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:50:41] local.INFO: Extracted packet for processing {"connection_id":106453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:50:41] 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-06-18 22:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:50:41] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:50:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":106453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347507,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:50:41] local.INFO: GPS data processed {"connection_id":106453,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:50:41] local.INFO: Acknowledgment sent {"connection_id":106453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:50:57] local.INFO: TCP Data received {"connection_id":107994,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:58] local.INFO: Processing buffer {"connection_id":107994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:58] local.INFO: IMEI packet received {"connection_id":107994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":107994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:50:58] local.INFO: TCP Data received {"connection_id":107994,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:58] local.INFO: Processing buffer {"connection_id":107994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:58] local.INFO: IMEI packet received {"connection_id":107994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":107994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:50:59] local.INFO: TCP Data received {"connection_id":107994,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:59] local.INFO: Processing buffer {"connection_id":107994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:50:59] local.INFO: IMEI packet received {"connection_id":107994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":107994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:51:00] local.INFO: TCP Data received {"connection_id":106278,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:51:00] local.INFO: Processing buffer {"connection_id":106278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:51:00] local.INFO: Packet analysis {"connection_id":106278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:51:00] local.INFO: Extracted packet for processing {"connection_id":106278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:51:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:00] 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-06-18 22:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:51: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-06-18 22: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:51:00] 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-06-18 22:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:51:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:51:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":106278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:51:00] local.INFO: GPS data processed {"connection_id":106278,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:51:00] local.INFO: Acknowledgment sent {"connection_id":106278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:51:04] local.INFO: TCP Data received {"connection_id":107994,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107994,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:51:04] local.INFO: Processing buffer {"connection_id":107994,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:51:04] local.INFO: IMEI packet received {"connection_id":107994,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":107994,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:51:08] local.INFO: TCP Data received {"connection_id":107994,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbee3c8012da883c0060087800025013c21..."} 
[2026-06-18 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbee3c8012da883c0060087800025013c21..."} 
[2026-06-18 22:51:08] local.INFO: Processing buffer {"connection_id":107994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbee3c8012da883c0060087800025013c21..."} 
[2026-06-18 22:51:08] local.INFO: Packet analysis {"connection_id":107994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbe"} 
[2026-06-18 22:51:08] local.INFO: Extracted packet for processing {"connection_id":107994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbe"} 
[2026-06-18 22:51:08] local.INFO: GPS Element Parsed {"raw_longitude":766018496,"raw_latitude":100697984,"longitude_deg":76.6018496,"latitude_deg":10.0697984,"altitude":37,"angle":316,"satellites":33,"speed":0,"hex_longitude":"2da883c0","hex_latitude":"06008780","is_valid_coordinates":true} 
[2026-06-18 22:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141608960001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361105802985472,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6303702446400647168,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781803181000,"timestamp_ms":1781803181000,"timestamp_seconds":1781803181,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbee3c8"} 
[2026-06-18 22:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 22:51:08] 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-06-18 22:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141608960001,"66":10841,"241":206,"88":20992,"24":0,"16":94361105802985472,"45":-6303702446400647168},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141608960001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:51:08] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:51:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361105802985472,"km_value":94361105802985.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6303702446400647168,"description":"Unknown IO ID 45"} 
[2026-06-18 22:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141608960001,"power":10841,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6303702446400647168}} 
[2026-06-18 22:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":107994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347509,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:51:08] local.INFO: GPS data processed {"connection_id":107994,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:51:08] local.INFO: Acknowledgment sent {"connection_id":107994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:51:13] local.INFO: TCP Data received {"connection_id":106453,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:13] local.INFO: Processing buffer {"connection_id":106453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbb5d70012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:13] local.INFO: Packet analysis {"connection_id":106453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:51:13] local.INFO: Extracted packet for processing {"connection_id":106453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbb"} 
[2026-06-18 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141478144001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781802950000,"timestamp_ms":1781802950000,"timestamp_seconds":1781802950,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbb5d70"} 
[2026-06-18 22:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141478144001,"66":25397,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141478144001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:51:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:51:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141478144001,"power":25397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":106453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:51:13] local.INFO: GPS data processed {"connection_id":106453,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:51:13] local.INFO: Acknowledgment sent {"connection_id":106453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:51:24] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:51:24] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:51:24] local.INFO: IMEI packet received {"connection_id":106279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":106279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:51:29] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:51:29] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:51:29] local.INFO: IMEI packet received {"connection_id":106279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:51:29] local.INFO: IMEI acknowledgment sent {"connection_id":106279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:51:29] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:51:29] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:51:29] local.INFO: Packet analysis {"connection_id":106279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:51:29] local.INFO: Extracted packet for processing {"connection_id":106279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:51:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:29] 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-06-18 22:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:51: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-06-18 22:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:51:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":106279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:51:29] local.INFO: GPS data processed {"connection_id":106279,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:51:29] local.INFO: Acknowledgment sent {"connection_id":106279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:51:38] local.INFO: TCP Data received {"connection_id":106454,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:51:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:51:38] local.INFO: Processing buffer {"connection_id":106454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:51:38] local.INFO: IMEI packet received {"connection_id":106454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:51:38] local.INFO: IMEI acknowledgment sent {"connection_id":106454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:51:41] local.INFO: TCP Data received {"connection_id":107994,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbf35d0012da883c0060087800025013c24..."} 
[2026-06-18 22:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbf35d0012da883c0060087800025013c24..."} 
[2026-06-18 22:51:41] local.INFO: Processing buffer {"connection_id":107994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbf35d0012da883c0060087800025013c24..."} 
[2026-06-18 22:51:41] local.INFO: Packet analysis {"connection_id":107994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:51:41] local.INFO: Extracted packet for processing {"connection_id":107994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:51:41] local.INFO: GPS Element Parsed {"raw_longitude":766018496,"raw_latitude":100697984,"longitude_deg":76.6018496,"latitude_deg":10.0697984,"altitude":37,"angle":316,"satellites":36,"speed":0,"hex_longitude":"2da883c0","hex_latitude":"06008780","is_valid_coordinates":true} 
[2026-06-18 22:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141614336001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361105802985472,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6303983921377345536,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781803202000,"timestamp_ms":1781803202000,"timestamp_seconds":1781803202,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbf35d0"} 
[2026-06-18 22:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:51:41] 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-06-18 22:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":42,"n8_eight_byte":89,"data_length":795,"current_offset":136} 
[2026-06-18 22:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1209,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107994,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:51:41] 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-06-18 22:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141614336001,"66":12602,"241":206,"88":20992,"24":0,"16":94361105802985472,"45":-6303983921377345536},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141614336001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:51:41] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:51:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361105802985472,"km_value":94361105802985.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6303983921377345536,"description":"Unknown IO ID 45"} 
[2026-06-18 22:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141614336001,"power":12602,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6303983921377345536}} 
[2026-06-18 22:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":107994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347512,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:51:41] local.INFO: GPS data processed {"connection_id":107994,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:51:41] local.INFO: Acknowledgment sent {"connection_id":107994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:51:43] local.INFO: TCP Data received {"connection_id":106454,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:51:43] local.INFO: Processing buffer {"connection_id":106454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:51:43] local.INFO: IMEI packet received {"connection_id":106454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":106454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:51:44] local.INFO: TCP Data received {"connection_id":106454,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:44] local.INFO: Processing buffer {"connection_id":106454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:44] local.INFO: Packet analysis {"connection_id":106454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:51:44] local.INFO: Extracted packet for processing {"connection_id":106454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:51:44] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141555200001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781803251000,"timestamp_ms":1781803251000,"timestamp_seconds":1781803251,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbff538"} 
[2026-06-18 22:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:51:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:51:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141555200001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141555200001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:51:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:51:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141555200001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":106454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347513,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:51:44] local.INFO: GPS data processed {"connection_id":106454,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:51:44] local.INFO: Acknowledgment sent {"connection_id":106454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:51:49] local.INFO: TCP Data received {"connection_id":106454,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:49] local.INFO: Processing buffer {"connection_id":106454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:51:49] local.INFO: Packet analysis {"connection_id":106454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:51:49] local.INFO: Extracted packet for processing {"connection_id":106454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141555200001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781803251000,"timestamp_ms":1781803251000,"timestamp_seconds":1781803251,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbff538"} 
[2026-06-18 22:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141555200001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141555200001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:51:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:51:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141555200001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":106454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:51:49] local.INFO: GPS data processed {"connection_id":106454,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:51:49] local.INFO: Acknowledgment sent {"connection_id":106454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:52:00] local.INFO: TCP Data received {"connection_id":106279,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:52:00] local.INFO: Processing buffer {"connection_id":106279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:52:00] local.INFO: Packet analysis {"connection_id":106279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:52:00] local.INFO: Extracted packet for processing {"connection_id":106279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:52:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:00] 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-06-18 22:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:52: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-06-18 22:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:52:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":106279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:52:00] local.INFO: GPS data processed {"connection_id":106279,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:52:00] local.INFO: Acknowledgment sent {"connection_id":106279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:52:04] local.INFO: TCP Data received {"connection_id":106280,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:04] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:04] local.INFO: IMEI packet received {"connection_id":106280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":106280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:52:09] local.INFO: TCP Data received {"connection_id":106280,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:09] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:09] local.INFO: IMEI packet received {"connection_id":106280,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":106280,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:52:10] local.INFO: TCP Data received {"connection_id":106280,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbf87d8012da883c0060087800025013c24..."} 
[2026-06-18 22:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbf87d8012da883c0060087800025013c24..."} 
[2026-06-18 22:52:10] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbf87d8012da883c0060087800025013c24..."} 
[2026-06-18 22:52:10] local.INFO: Packet analysis {"connection_id":106280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:52:10] local.INFO: Extracted packet for processing {"connection_id":106280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:52:10] local.INFO: GPS Element Parsed {"raw_longitude":766018496,"raw_latitude":100697984,"longitude_deg":76.6018496,"latitude_deg":10.0697984,"altitude":37,"angle":316,"satellites":36,"speed":0,"hex_longitude":"2da883c0","hex_latitude":"06008780","is_valid_coordinates":true} 
[2026-06-18 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141619712001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361105802985472,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6303983921377345536,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781803223000,"timestamp_ms":1781803223000,"timestamp_seconds":1781803223,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbf87d8"} 
[2026-06-18 22:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:52:10] 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-06-18 22:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-06-18 22:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:52:10] 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-06-18 22:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141619712001,"66":11852,"241":206,"88":20992,"24":0,"16":94361105802985472,"45":-6303983921377345536},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141619712001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:52:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:52:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361105802985472,"km_value":94361105802985.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6303983921377345536,"description":"Unknown IO ID 45"} 
[2026-06-18 22:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141619712001,"power":11852,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6303983921377345536}} 
[2026-06-18 22:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":106280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347516,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:52:10] local.INFO: GPS data processed {"connection_id":106280,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:52:10] local.INFO: Acknowledgment sent {"connection_id":106280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:52:15] local.INFO: TCP Data received {"connection_id":106280,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbfd5f8012da883c0060087800025013c25..."} 
[2026-06-18 22:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbfd5f8012da883c0060087800025013c25..."} 
[2026-06-18 22:52:15] local.INFO: Processing buffer {"connection_id":106280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbfd5f8012da883c0060087800025013c25..."} 
[2026-06-18 22:52:15] local.INFO: Packet analysis {"connection_id":106280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:52:15] local.INFO: Extracted packet for processing {"connection_id":106280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:52:15] local.INFO: GPS Element Parsed {"raw_longitude":766018496,"raw_latitude":100697984,"longitude_deg":76.6018496,"latitude_deg":10.0697984,"altitude":37,"angle":316,"satellites":37,"speed":0,"hex_longitude":"2da883c0","hex_latitude":"06008780","is_valid_coordinates":true} 
[2026-06-18 22:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:52:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141625088001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361105802985472,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6303983921377345536,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:52:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781803243000,"timestamp_ms":1781803243000,"timestamp_seconds":1781803243,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbfd5f8"} 
[2026-06-18 22:52:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:52:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:52:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 22:52:15] 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-06-18 22:52:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:52:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:52:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:52:15] local.INFO: Teltonika packet parsed successfully {"connection_id":106280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:52:15] local.INFO: Passing IMEI to GPS processor {"connection_id":106280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:52:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":106280,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:52:15] 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-06-18 22:52:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:52:15] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:52:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141625088001,"66":12841,"241":206,"88":20992,"24":0,"16":94361105802985472,"45":-6303983921377345536},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:52:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:52:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:52:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141625088001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:52:15] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:52:15] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:52:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361105802985472,"km_value":94361105802985.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:52:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6303983921377345536,"description":"Unknown IO ID 45"} 
[2026-06-18 22:52:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141625088001,"power":12841,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6303983921377345536}} 
[2026-06-18 22:52:15] local.INFO: DEBUG: GPS processor result {"connection_id":106280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347517,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:52:15] local.INFO: GPS data processed {"connection_id":106280,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:52:15] local.INFO: Acknowledgment sent {"connection_id":106280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:52:24] local.INFO: TCP Data received {"connection_id":106455,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:52:24] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:52:24] local.INFO: IMEI packet received {"connection_id":106455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":106455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:52:29] local.INFO: TCP Data received {"connection_id":106455,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:52:29] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:52:29] local.INFO: IMEI packet received {"connection_id":106455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":106455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:52:29] local.INFO: TCP Data received {"connection_id":106455,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:52:29] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:52:29] local.INFO: Packet analysis {"connection_id":106455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:52:29] local.INFO: Extracted packet for processing {"connection_id":106455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:52:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:29] 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-06-18 22:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:52: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-06-18 22:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:52:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":106455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:52:29] local.INFO: GPS data processed {"connection_id":106455,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:52:29] local.INFO: Acknowledgment sent {"connection_id":106455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:52:32] local.INFO: TCP Data received {"connection_id":107065,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:52:32] local.INFO: Processing buffer {"connection_id":107065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:52:32] local.INFO: IMEI packet received {"connection_id":107065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:52:32] local.INFO: IMEI acknowledgment sent {"connection_id":107065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:52:38] local.INFO: TCP Data received {"connection_id":107065,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:52:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:52:38] local.INFO: Processing buffer {"connection_id":107065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:52:38] local.INFO: IMEI packet received {"connection_id":107065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:52:38] local.INFO: IMEI acknowledgment sent {"connection_id":107065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:52:39] local.INFO: TCP Data received {"connection_id":107065,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:52:39] local.INFO: Processing buffer {"connection_id":107065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:52:39] local.INFO: Packet analysis {"connection_id":107065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:52:39] local.INFO: Extracted packet for processing {"connection_id":107065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141555200001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781803251000,"timestamp_ms":1781803251000,"timestamp_seconds":1781803251,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbff538"} 
[2026-06-18 22:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:52: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-06-18 22:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:52:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:52:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141555200001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141555200001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:52:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:52:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141555200001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":107065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:52:40] local.INFO: GPS data processed {"connection_id":107065,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:52:40] local.INFO: Acknowledgment sent {"connection_id":107065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:52:59] local.INFO: TCP Data received {"connection_id":107066,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:59] local.INFO: Processing buffer {"connection_id":107066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:52:59] local.INFO: IMEI packet received {"connection_id":107066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":107066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:53:00] local.INFO: TCP Data received {"connection_id":106455,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:53:00] local.INFO: Processing buffer {"connection_id":106455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:53:00] local.INFO: Packet analysis {"connection_id":106455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:53:00] local.INFO: Extracted packet for processing {"connection_id":106455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:53:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:00] 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-06-18 22:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:53: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-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:53: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-06-18 22:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:53:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":106455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:53:00] local.INFO: GPS data processed {"connection_id":106455,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:53:00] local.INFO: Acknowledgment sent {"connection_id":106455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:53:04] local.INFO: TCP Data received {"connection_id":107066,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107066,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:04] local.INFO: Processing buffer {"connection_id":107066,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:04] local.INFO: IMEI packet received {"connection_id":107066,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":107066,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:53:05] local.INFO: TCP Data received {"connection_id":107066,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc19f00012da87fc006008c000026013425..."} 
[2026-06-18 22:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc19f00012da87fc006008c000026013425..."} 
[2026-06-18 22:53:05] local.INFO: Processing buffer {"connection_id":107066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc19f00012da87fc006008c000026013425..."} 
[2026-06-18 22:53:05] local.INFO: Packet analysis {"connection_id":107066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc1"} 
[2026-06-18 22:53:05] local.INFO: Extracted packet for processing {"connection_id":107066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc1"} 
[2026-06-18 22:53:05] local.INFO: GPS Element Parsed {"raw_longitude":766017472,"raw_latitude":100699136,"longitude_deg":76.6017472,"latitude_deg":10.0699136,"altitude":38,"angle":308,"satellites":37,"speed":0,"hex_longitude":"2da87fc0","hex_latitude":"06008c00","is_valid_coordinates":true} 
[2026-06-18 22:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141660160001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361191702331392,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6305109821283893248,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781803360000,"timestamp_ms":1781803360000,"timestamp_seconds":1781803360,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc19f00"} 
[2026-06-18 22:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:53:05] 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-06-18 22: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 22:53:05] 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-06-18 22: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-06-18 22:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:53: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-06-18 22:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141660160001,"66":11471,"241":206,"88":20992,"24":0,"16":94361191702331392,"45":-6305109821283893248},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141660160001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:53:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:53:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361191702331392,"km_value":94361191702331.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6305109821283893248,"description":"Unknown IO ID 45"} 
[2026-06-18 22:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141660160001,"power":11471,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6305109821283893248}} 
[2026-06-18 22:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":107066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347521,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:53:05] local.INFO: GPS data processed {"connection_id":107066,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:53:05] local.INFO: Acknowledgment sent {"connection_id":107066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:53:08] local.INFO: TCP Data received {"connection_id":107066,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc1cde0012da87fc006008c100026013427..."} 
[2026-06-18 22:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc1cde0012da87fc006008c100026013427..."} 
[2026-06-18 22:53:08] local.INFO: Processing buffer {"connection_id":107066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc1cde0012da87fc006008c100026013427..."} 
[2026-06-18 22:53:08] local.INFO: Packet analysis {"connection_id":107066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc1"} 
[2026-06-18 22:53:08] local.INFO: Extracted packet for processing {"connection_id":107066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc1"} 
[2026-06-18 22:53:08] local.INFO: GPS Element Parsed {"raw_longitude":766017472,"raw_latitude":100699152,"longitude_deg":76.6017472,"latitude_deg":10.0699152,"altitude":38,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2da87fc0","hex_latitude":"06008c10","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141660160001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361191702331392,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6305109821283893248,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781803372000,"timestamp_ms":1781803372000,"timestamp_seconds":1781803372,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc1cde0"} 
[2026-06-18 22:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-06-18 22:53:08] 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-06-18 22: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-06-18 22:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":107066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":107066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":107066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141660160001,"66":12156,"241":206,"88":20992,"24":0,"16":94361191702331392,"45":-6305109821283893248},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141660160001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:53:08] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:53:08] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361191702331392,"km_value":94361191702331.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6305109821283893248,"description":"Unknown IO ID 45"} 
[2026-06-18 22:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141660160001,"power":12156,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6305109821283893248}} 
[2026-06-18 22:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":107066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347522,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:53:09] local.INFO: GPS data processed {"connection_id":107066,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:53:09] local.INFO: Acknowledgment sent {"connection_id":107066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:53:12] local.INFO: TCP Data received {"connection_id":107065,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:53:12] local.INFO: Processing buffer {"connection_id":107065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:53:12] local.INFO: Packet analysis {"connection_id":107065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:53:12] local.INFO: Extracted packet for processing {"connection_id":107065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141555200001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781803251000,"timestamp_ms":1781803251000,"timestamp_seconds":1781803251,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbff538"} 
[2026-06-18 22:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107065,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141555200001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141555200001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:53:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141555200001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":107065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:53:12] local.INFO: GPS data processed {"connection_id":107065,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:53:12] local.INFO: Acknowledgment sent {"connection_id":107065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:53:23] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:53:23] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:53:23] local.INFO: IMEI packet received {"connection_id":106281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":106281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:53:29] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:53:29] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:53:29] local.INFO: IMEI packet received {"connection_id":106281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":106281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:53:30] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:53:30] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbd8c08012cc3308007685ac8005b006d2a..."} 
[2026-06-18 22:53:30] local.INFO: Packet analysis {"connection_id":106281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:53:30] local.INFO: Extracted packet for processing {"connection_id":106281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbd"} 
[2026-06-18 22:53:30] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141514752001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:30] 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-06-18 22:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781803093000,"timestamp_ms":1781803093000,"timestamp_seconds":1781803093,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbd8c08"} 
[2026-06-18 22:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:53:30] 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-06-18 22: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-06-18 22:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":106281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:53:30] 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-06-18 22:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141514752001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141514752001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:53:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:53:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141514752001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":106281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:53:30] local.INFO: GPS data processed {"connection_id":106281,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:53:30] local.INFO: Acknowledgment sent {"connection_id":106281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:53:32] local.INFO: TCP Data received {"connection_id":107067,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:53:32] local.INFO: Processing buffer {"connection_id":107067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:53:32] local.INFO: IMEI packet received {"connection_id":107067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":107067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:53:38] local.INFO: TCP Data received {"connection_id":107067,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:53:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:53:38] local.INFO: Processing buffer {"connection_id":107067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:53:38] local.INFO: IMEI packet received {"connection_id":107067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:53:38] local.INFO: IMEI acknowledgment sent {"connection_id":107067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:53:40] local.INFO: TCP Data received {"connection_id":107066,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc1cde0012da87fc006008c100026013427..."} 
[2026-06-18 22:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc1cde0012da87fc006008c100026013427..."} 
[2026-06-18 22:53:40] local.INFO: Processing buffer {"connection_id":107066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc1cde0012da87fc006008c100026013427..."} 
[2026-06-18 22:53:40] local.INFO: Packet analysis {"connection_id":107066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc1"} 
[2026-06-18 22:53:40] local.INFO: Extracted packet for processing {"connection_id":107066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc1"} 
[2026-06-18 22:53:40] local.INFO: GPS Element Parsed {"raw_longitude":766017472,"raw_latitude":100699152,"longitude_deg":76.6017472,"latitude_deg":10.0699152,"altitude":38,"angle":308,"satellites":39,"speed":0,"hex_longitude":"2da87fc0","hex_latitude":"06008c10","is_valid_coordinates":true} 
[2026-06-18 22:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141663232001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361191702331392,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6305109821283889152,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781803372000,"timestamp_ms":1781803372000,"timestamp_seconds":1781803372,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc1cde0"} 
[2026-06-18 22:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:53:40] 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-06-18 22:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 22:53:40] 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-06-18 22:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107066,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141663232001,"66":12156,"241":206,"88":20992,"24":0,"16":94361191702331392,"45":-6305109821283889152},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141663232001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:53:40] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:53:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361191702331392,"km_value":94361191702331.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6305109821283889152,"description":"Unknown IO ID 45"} 
[2026-06-18 22:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141663232001,"power":12156,"unknown_241":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6305109821283889152}} 
[2026-06-18 22:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":107066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347525,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:53:40] local.INFO: GPS data processed {"connection_id":107066,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:53:40] local.INFO: Acknowledgment sent {"connection_id":107066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:53:41] local.INFO: TCP Data received {"connection_id":107067,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:53:41] local.INFO: Processing buffer {"connection_id":107067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbbff538012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:53:41] local.INFO: Packet analysis {"connection_id":107067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:53:41] local.INFO: Extracted packet for processing {"connection_id":107067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbbf"} 
[2026-06-18 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141555200001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781803251000,"timestamp_ms":1781803251000,"timestamp_seconds":1781803251,"priority":1,"record_length":96,"hex_timestamp":"0000019edbbff538"} 
[2026-06-18 22:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-06-18 22:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":107067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":107067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":107067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141555200001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141555200001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:53:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141555200001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":107067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:53:42] local.INFO: GPS data processed {"connection_id":107067,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:53:42] local.INFO: Acknowledgment sent {"connection_id":107067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:53:56] local.INFO: TCP Data received {"connection_id":106456,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:56] local.INFO: Processing buffer {"connection_id":106456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:56] local.INFO: IMEI packet received {"connection_id":106456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":106456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:53:59] local.INFO: TCP Data received {"connection_id":106456,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:59] local.INFO: Processing buffer {"connection_id":106456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:53:59] local.INFO: IMEI packet received {"connection_id":106456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":106456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:54:01] local.INFO: TCP Data received {"connection_id":106281,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:01] local.INFO: Processing buffer {"connection_id":106281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:01] local.INFO: Packet analysis {"connection_id":106281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:01] local.INFO: Extracted packet for processing {"connection_id":106281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:01] 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-06-18 22:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:54:01] 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-06-18 22:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:54:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:54:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":106281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:54:01] local.INFO: GPS data processed {"connection_id":106281,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:54:01] local.INFO: Acknowledgment sent {"connection_id":106281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:54:04] local.INFO: TCP Data received {"connection_id":106456,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106456,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:54:04] local.INFO: Processing buffer {"connection_id":106456,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:54:04] local.INFO: IMEI packet received {"connection_id":106456,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":106456,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:54:05] local.INFO: TCP Data received {"connection_id":106456,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc20878012da87e4006008d700025012527..."} 
[2026-06-18 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc20878012da87e4006008d700025012527..."} 
[2026-06-18 22:54:05] local.INFO: Processing buffer {"connection_id":106456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc20878012da87e4006008d700025012527..."} 
[2026-06-18 22:54:05] local.INFO: Packet analysis {"connection_id":106456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:05] local.INFO: Extracted packet for processing {"connection_id":106456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:05] local.INFO: GPS Element Parsed {"raw_longitude":766017088,"raw_latitude":100699504,"longitude_deg":76.6017088,"latitude_deg":10.0699504,"altitude":37,"angle":293,"satellites":39,"speed":5,"hex_longitude":"2da87e40","hex_latitude":"06008d70","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:54:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141663232001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361217472135168,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6305109821283889152,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:54:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781803387000,"timestamp_ms":1781803387000,"timestamp_seconds":1781803387,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc20878"} 
[2026-06-18 22:54:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:54:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 22:54:05] 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-06-18 22: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-06-18 22:54:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:54:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:54:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:54:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:54:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:54: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-06-18 22:54:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:54:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:54:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141663232001,"66":11210,"241":206,"88":20992,"24":5,"16":94361217472135168,"45":-6305109821283889152},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:54:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:54:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:54:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141663232001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:54:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:54:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:54:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361217472135168,"km_value":94361217472135.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:54:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6305109821283889152,"description":"Unknown IO ID 45"} 
[2026-06-18 22:54:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141663232001,"power":11210,"unknown_241":206,"unknown_88":20992,"ignition":5,"odometer":null,"unknown_45":-6305109821283889152}} 
[2026-06-18 22:54:05] local.INFO: DEBUG: GPS processor result {"connection_id":106456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347528,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:54:05] local.INFO: GPS data processed {"connection_id":106456,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:54:05] local.INFO: Acknowledgment sent {"connection_id":106456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:54:14] local.INFO: TCP Data received {"connection_id":107067,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc26a20012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc26a20012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:54:14] local.INFO: Processing buffer {"connection_id":107067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc26a20012d34cdc006aa5108000b00002f..."} 
[2026-06-18 22:54:14] local.INFO: Packet analysis {"connection_id":107067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:14] local.INFO: Extracted packet for processing {"connection_id":107067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758435264,"raw_latitude":111825160,"longitude_deg":75.8435264,"latitude_deg":11.182516,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34cdc0","hex_latitude":"06aa5108","is_valid_coordinates":true} 
[2026-06-18 22:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141632256001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781803412000,"timestamp_ms":1781803412000,"timestamp_seconds":1781803412,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc26a20"} 
[2026-06-18 22:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:54:14] 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-06-18 22:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141632256001,"66":25419,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141632256001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:54:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:54:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141632256001,"power":25419,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":107067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347529,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:54:14] local.INFO: GPS data processed {"connection_id":107067,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:54:14] local.INFO: Acknowledgment sent {"connection_id":107067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:54:24] local.INFO: TCP Data received {"connection_id":106457,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:54:24] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:54:24] local.INFO: IMEI packet received {"connection_id":106457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":106457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:54:29] local.INFO: TCP Data received {"connection_id":106457,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:54:29] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:54:29] local.INFO: IMEI packet received {"connection_id":106457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":106457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:54:29] local.INFO: TCP Data received {"connection_id":106457,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:29] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:29] local.INFO: Packet analysis {"connection_id":106457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:29] local.INFO: Extracted packet for processing {"connection_id":106457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 22:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:29] 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-06-18 22:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 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-06-18 22:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 22:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:54:29] 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-06-18 22:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:54:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:54:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":106457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:54:29] local.INFO: GPS data processed {"connection_id":106457,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:54:29] local.INFO: Acknowledgment sent {"connection_id":106457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:54:34] local.INFO: TCP Data received {"connection_id":106457,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:34] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:54:34] local.INFO: Packet analysis {"connection_id":106457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:34] local.INFO: Extracted packet for processing {"connection_id":106457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:34] 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-06-18 22:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:54:34] 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-06-18 22:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:54:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":106457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:54:34] local.INFO: GPS data processed {"connection_id":106457,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:54:34] local.INFO: Acknowledgment sent {"connection_id":106457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:54:36] local.INFO: TCP Data received {"connection_id":106456,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc21048012da87c8006008ee00025013327..."} 
[2026-06-18 22:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc21048012da87c8006008ee00025013327..."} 
[2026-06-18 22:54:36] local.INFO: Processing buffer {"connection_id":106456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc21048012da87c8006008ee00025013327..."} 
[2026-06-18 22:54:36] local.INFO: Packet analysis {"connection_id":106456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:36] local.INFO: Extracted packet for processing {"connection_id":106456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":766016640,"raw_latitude":100699872,"longitude_deg":76.601664,"latitude_deg":10.0699872,"altitude":37,"angle":307,"satellites":39,"speed":14,"hex_longitude":"2da87c80","hex_latitude":"06008ee0","is_valid_coordinates":true} 
[2026-06-18 22:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141667072001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361247536906240,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6305532033748865024,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781803389000,"timestamp_ms":1781803389000,"timestamp_seconds":1781803389,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc21048"} 
[2026-06-18 22:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:54:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-06-18 22:54:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2231,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:54:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106456,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:54:36] 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-06-18 22:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141667072001,"66":11602,"241":206,"88":20992,"24":14,"16":94361247536906240,"45":-6305532033748865024},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141667072001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:54:36] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:54:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361247536906240,"km_value":94361247536906.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6305532033748865024,"description":"Unknown IO ID 45"} 
[2026-06-18 22:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141667072001,"power":11602,"unknown_241":206,"unknown_88":20992,"ignition":14,"odometer":null,"unknown_45":-6305532033748865024}} 
[2026-06-18 22:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":106456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347532,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:54:36] local.INFO: GPS data processed {"connection_id":106456,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:54:36] local.INFO: Acknowledgment sent {"connection_id":106456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:54:42] local.INFO: TCP Data received {"connection_id":107068,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:54:42] local.INFO: Processing buffer {"connection_id":107068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:54:42] local.INFO: IMEI packet received {"connection_id":107068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":107068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:54:43] local.INFO: TCP Data received {"connection_id":107068,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:54:43] local.INFO: Processing buffer {"connection_id":107068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:54:43] local.INFO: IMEI packet received {"connection_id":107068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":107068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:54:46] local.INFO: TCP Data received {"connection_id":107068,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc2c3f8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc2c3f8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:54:46] local.INFO: Processing buffer {"connection_id":107068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc2c3f8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:54:46] local.INFO: Packet analysis {"connection_id":107068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:46] local.INFO: Extracted packet for processing {"connection_id":107068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:46] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141673472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781803435000,"timestamp_ms":1781803435000,"timestamp_seconds":1781803435,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc2c3f8"} 
[2026-06-18 22:54:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:54:46] 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-06-18 22:54:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:54:46] 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-06-18 22:54:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:54:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":107068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":107068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":107068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141673472001,"66":25223,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141673472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:54:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:54:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141673472001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":107068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347533,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:54:46] local.INFO: GPS data processed {"connection_id":107068,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:54:46] local.INFO: Acknowledgment sent {"connection_id":107068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:54:48] local.INFO: TCP Data received {"connection_id":107068,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc2c3f8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc2c3f8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:54:48] local.INFO: Processing buffer {"connection_id":107068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc2c3f8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:54:48] local.INFO: Packet analysis {"connection_id":107068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:48] local.INFO: Extracted packet for processing {"connection_id":107068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:54:48] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141673472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3804908395057711104,"note":"Value kept but may cause issues"} 
[2026-06-18 22:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781803435000,"timestamp_ms":1781803435000,"timestamp_seconds":1781803435,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc2c3f8"} 
[2026-06-18 22:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:54:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-06-18 22:54:48] 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-06-18 22:54:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107068,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141673472001,"66":25223,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3804908395057711104},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141673472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:54:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3804908395057711104,"description":"Unknown IO ID 45"} 
[2026-06-18 22:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141673472001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3804908395057711104}} 
[2026-06-18 22:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":107068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:54:48] local.INFO: GPS data processed {"connection_id":107068,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:54:48] local.INFO: Acknowledgment sent {"connection_id":107068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:55:03] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:55:03] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:55:03] local.INFO: IMEI packet received {"connection_id":106282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":106282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:55:04] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:55:04] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:55:04] local.INFO: IMEI packet received {"connection_id":106282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":106282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:55:05] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.48","data_length":812,"data_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019edb..."} 
[2026-06-18 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":812,"packet_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019edb..."} 
[2026-06-18 22:55:05] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019edb..."} 
[2026-06-18 22:55:05] local.INFO: IMEI packet received {"connection_id":106282,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":106282,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:55:05] local.INFO: TCP Data received {"connection_id":106457,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:55:05] local.INFO: Processing buffer {"connection_id":106457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:55:05] local.INFO: Packet analysis {"connection_id":106457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:05] local.INFO: Extracted packet for processing {"connection_id":106457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:05] 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-06-18 22:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:55:05] 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-06-18 22:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:55:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:55:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:55:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":106457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:55:05] local.INFO: GPS data processed {"connection_id":106457,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:55:05] local.INFO: Acknowledgment sent {"connection_id":106457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:55:10] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc26e08012da83ec00600b5980026012826..."} 
[2026-06-18 22:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc26e08012da83ec00600b5980026012826..."} 
[2026-06-18 22:55:10] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019edbc24310012da85f000600a6500024012a25..."} 
[2026-06-18 22:55:10] local.INFO: Packet analysis {"connection_id":106282,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:10] local.INFO: Extracted packet for processing {"connection_id":106282,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":766009088,"raw_latitude":100705872,"longitude_deg":76.6009088,"latitude_deg":10.0705872,"altitude":36,"angle":298,"satellites":37,"speed":34,"hex_longitude":"2da85f00","hex_latitude":"0600a650","is_valid_coordinates":true} 
[2026-06-18 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141667584001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94361711393374208,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6306024614958014464,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781803402000,"timestamp_ms":1781803402000,"timestamp_seconds":1781803402,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc24310"} 
[2026-06-18 22:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 22:55:10] 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-06-18 22:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:55:10] 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-06-18 22:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141667584001,"66":11765,"241":206,"88":20992,"24":34,"16":94361711393374208,"45":-6306024614958014464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141667584001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94361711393374208,"km_value":94361711393374.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6306024614958014464,"description":"Unknown IO ID 45"} 
[2026-06-18 22:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141667584001,"power":11765,"unknown_241":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6306024614958014464}} 
[2026-06-18 22:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":106282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347536,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:55:10] local.INFO: GPS data processed {"connection_id":106282,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:55:10] local.INFO: Acknowledgment sent {"connection_id":106282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:55:10] local.INFO: Packet analysis {"connection_id":106282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:10] local.INFO: Extracted packet for processing {"connection_id":106282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":766000832,"raw_latitude":100709784,"longitude_deg":76.6000832,"latitude_deg":10.0709784,"altitude":38,"angle":296,"satellites":38,"speed":32,"hex_longitude":"2da83ec0","hex_latitude":"0600b598","is_valid_coordinates":true} 
[2026-06-18 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141670912001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94362149480038400,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6314328126769442816,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781803413000,"timestamp_ms":1781803413000,"timestamp_seconds":1781803413,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc26e08"} 
[2026-06-18 22:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 22:55:10] 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-06-18 22:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:55:10] 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-06-18 22:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141670912001,"66":11776,"241":206,"88":20992,"24":32,"16":94362149480038400,"45":-6314328126769442816},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141670912001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94362149480038400,"km_value":94362149480038.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6314328126769442816,"description":"Unknown IO ID 45"} 
[2026-06-18 22:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141670912001,"power":11776,"unknown_241":206,"unknown_88":20992,"ignition":32,"odometer":null,"unknown_45":-6314328126769442816}} 
[2026-06-18 22:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":106282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347537,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:55:10] local.INFO: GPS data processed {"connection_id":106282,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:55:10] local.INFO: Acknowledgment sent {"connection_id":106282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:55:23] local.INFO: TCP Data received {"connection_id":106458,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:55:23] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:55:23] local.INFO: IMEI packet received {"connection_id":106458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":106458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:55:29] local.INFO: TCP Data received {"connection_id":106458,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:55:29] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:55:29] local.INFO: IMEI packet received {"connection_id":106458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:55:29] local.INFO: IMEI acknowledgment sent {"connection_id":106458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:55:29] local.INFO: TCP Data received {"connection_id":106458,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:55:29] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:55:29] local.INFO: Packet analysis {"connection_id":106458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:29] local.INFO: Extracted packet for processing {"connection_id":106458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:29] 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-06-18 22:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:55:29] 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-06-18 22:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:55:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":106458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:55:29] local.INFO: GPS data processed {"connection_id":106458,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:55:29] local.INFO: Acknowledgment sent {"connection_id":106458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:55:32] local.INFO: TCP Data received {"connection_id":106459,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:55:32] local.INFO: Processing buffer {"connection_id":106459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:55:32] local.INFO: IMEI packet received {"connection_id":106459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":106459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:55:37] local.INFO: TCP Data received {"connection_id":106459,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:55:37] local.INFO: Processing buffer {"connection_id":106459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:55:37] local.INFO: IMEI packet received {"connection_id":106459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:55:37] local.INFO: IMEI acknowledgment sent {"connection_id":106459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:55:39] local.INFO: TCP Data received {"connection_id":106459,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc31600012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc31600012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:55:39] local.INFO: Processing buffer {"connection_id":106459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc31600012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:55:39] local.INFO: Packet analysis {"connection_id":106459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc3"} 
[2026-06-18 22:55:39] local.INFO: Extracted packet for processing {"connection_id":106459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc3"} 
[2026-06-18 22:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141679360001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781803456000,"timestamp_ms":1781803456000,"timestamp_seconds":1781803456,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc31600"} 
[2026-06-18 22:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-06-18 22:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141679360001,"66":25941,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141679360001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:55:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:55:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141679360001,"power":25941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":106459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347539,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:55:39] local.INFO: GPS data processed {"connection_id":106459,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:55:39] local.INFO: Acknowledgment sent {"connection_id":106459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:55:41] local.INFO: TCP Data received {"connection_id":106282,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc29900012da81cc00600c6600025012826..."} 
[2026-06-18 22:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc29900012da81cc00600c6600025012826..."} 
[2026-06-18 22:55:41] local.INFO: Processing buffer {"connection_id":106282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc29900012da81cc00600c6600025012826..."} 
[2026-06-18 22:55:41] local.INFO: Packet analysis {"connection_id":106282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:41] local.INFO: Extracted packet for processing {"connection_id":106282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":765992128,"raw_latitude":100714080,"longitude_deg":76.5992128,"latitude_deg":10.071408,"altitude":37,"angle":296,"satellites":38,"speed":34,"hex_longitude":"2da81cc0","hex_latitude":"0600c660","is_valid_coordinates":true} 
[2026-06-18 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141673728001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94362613336506368,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6323405694767360000,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781803424000,"timestamp_ms":1781803424000,"timestamp_seconds":1781803424,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc29900"} 
[2026-06-18 22:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 22:55:41] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:41] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3686899456,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2826944518,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:41] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":13454833,"corrected_to":0} 
[2026-06-18 22:55:41] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3251494913,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3758173608,"corrected_to":0} 
[2026-06-18 22:55:41] local.WARNING: Large IO value detected {"io_id":127,"raw_value":3221618828,"note":"Value kept but may cause issues"} 
[2026-06-18 22:55:41] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,241,88,24,157,16,61,158,67,45,166,36,37,10,66,128,142,39,8,64,1,240,202,227,219,4,113,205,127,239,47,2,79],"length":434,"final_offset":564,"validated_count":33,"validation_warnings":[{"io_id":202,"original":13454833,"validated":0},{"io_id":205,"original":3758173608,"validated":0}]} 
[2026-06-18 22:55:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738514192093937664,"timestamp_seconds":2738514192093937.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 22:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106282,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:55:41] 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-06-18 22:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141673728001,"66":11874,"241":206,"88":20992,"24":34,"16":94362613336506368,"45":-6323405694767360000},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141673728001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:55:41] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:55:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94362613336506368,"km_value":94362613336506.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6323405694767360000,"description":"Unknown IO ID 45"} 
[2026-06-18 22:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141673728001,"power":11874,"unknown_241":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6323405694767360000}} 
[2026-06-18 22:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":106282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347540,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:55:41] local.INFO: GPS data processed {"connection_id":106282,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:55:41] local.INFO: Acknowledgment sent {"connection_id":106282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:56:00] local.INFO: TCP Data received {"connection_id":107995,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:56:00] local.INFO: Processing buffer {"connection_id":107995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:56:00] local.INFO: IMEI packet received {"connection_id":107995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":107995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:56:00] local.INFO: TCP Data received {"connection_id":106458,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:56:00] local.INFO: Processing buffer {"connection_id":106458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:56:00] local.INFO: Packet analysis {"connection_id":106458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:56:00] local.INFO: Extracted packet for processing {"connection_id":106458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:56:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:00] 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-06-18 22:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:56:00] 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-06-18 22:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:56:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":106458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:56:00] local.INFO: GPS data processed {"connection_id":106458,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:56:00] local.INFO: Acknowledgment sent {"connection_id":106458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:56:04] local.INFO: TCP Data received {"connection_id":107995,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107995,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:56:04] local.INFO: Processing buffer {"connection_id":107995,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:56:04] local.INFO: IMEI packet received {"connection_id":107995,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":107995,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:56:05] local.INFO: TCP Data received {"connection_id":107995,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc2c3f8012da7fc400600d6000025012725..."} 
[2026-06-18 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc2c3f8012da7fc400600d6000025012725..."} 
[2026-06-18 22:56:05] local.INFO: Processing buffer {"connection_id":107995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc2c3f8012da7fc400600d6000025012725..."} 
[2026-06-18 22:56:05] local.INFO: Packet analysis {"connection_id":107995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:56:05] local.INFO: Extracted packet for processing {"connection_id":107995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":765983808,"raw_latitude":100718080,"longitude_deg":76.5983808,"latitude_deg":10.071808,"altitude":37,"angle":295,"satellites":37,"speed":33,"hex_longitude":"2da7fc40","hex_latitude":"0600d600","is_valid_coordinates":true} 
[2026-06-18 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141676544001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94363055718137856,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6332975843974422528,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781803435000,"timestamp_ms":1781803435000,"timestamp_seconds":1781803435,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc2c3f8"} 
[2026-06-18 22:56:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:56:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 22:56:05] 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-06-18 22:56:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:56:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:56: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-06-18 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141676544001,"66":12156,"241":206,"88":20992,"24":33,"16":94363055718137856,"45":-6332975843974422528},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,88,24,16,45]} 
[2026-06-18 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141676544001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:56:05] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-06-18 22:56:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94363055718137856,"km_value":94363055718137.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6332975843974422528,"description":"Unknown IO ID 45"} 
[2026-06-18 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141676544001,"power":12156,"unknown_241":206,"unknown_88":20992,"ignition":33,"odometer":null,"unknown_45":-6332975843974422528}} 
[2026-06-18 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":107995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347542,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:56:05] local.INFO: GPS data processed {"connection_id":107995,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:56:05] local.INFO: Acknowledgment sent {"connection_id":107995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:56:11] local.INFO: TCP Data received {"connection_id":106459,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc36808012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc36808012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:56:11] local.INFO: Processing buffer {"connection_id":106459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc36808012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:56:11] local.INFO: Packet analysis {"connection_id":106459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc3"} 
[2026-06-18 22:56:11] local.INFO: Extracted packet for processing {"connection_id":106459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc3"} 
[2026-06-18 22:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141684736001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781803477000,"timestamp_ms":1781803477000,"timestamp_seconds":1781803477,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc36808"} 
[2026-06-18 22:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 22:56:11] 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-06-18 22: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-06-18 22:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106459,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141684736001,"66":28245,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141684736001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:56:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:56:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141684736001,"power":28245,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":106459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:56:11] local.INFO: GPS data processed {"connection_id":106459,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:56:11] local.INFO: Acknowledgment sent {"connection_id":106459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:56:24] local.INFO: TCP Data received {"connection_id":106460,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:56:24] local.INFO: Processing buffer {"connection_id":106460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:56:24] local.INFO: IMEI packet received {"connection_id":106460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:56:24] local.INFO: IMEI acknowledgment sent {"connection_id":106460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:56:29] local.INFO: TCP Data received {"connection_id":106460,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:56:29] local.INFO: Processing buffer {"connection_id":106460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:56:29] local.INFO: IMEI packet received {"connection_id":106460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:56:29] local.INFO: IMEI acknowledgment sent {"connection_id":106460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:56:29] local.INFO: TCP Data received {"connection_id":106460,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:56:29] local.INFO: Processing buffer {"connection_id":106460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:56:29] local.INFO: Packet analysis {"connection_id":106460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:56:29] local.INFO: Extracted packet for processing {"connection_id":106460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:56:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:29] 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-06-18 22:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:56: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-06-18 22:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:56:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":106460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:56:29] local.INFO: GPS data processed {"connection_id":106460,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:56:29] local.INFO: Acknowledgment sent {"connection_id":106460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:56:32] local.INFO: TCP Data received {"connection_id":107069,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:56:32] local.INFO: Processing buffer {"connection_id":107069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:56:32] local.INFO: IMEI packet received {"connection_id":107069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":107069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:56:36] local.INFO: TCP Data received {"connection_id":107995,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc4c3b0012da699000601c2c0002c011522..."} 
[2026-06-18 22:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc4c3b0012da699000601c2c0002c011522..."} 
[2026-06-18 22:56:36] local.INFO: Processing buffer {"connection_id":107995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc4c3b0012da699000601c2c0002c011522..."} 
[2026-06-18 22:56:36] local.INFO: Packet analysis {"connection_id":107995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:56:36] local.INFO: Extracted packet for processing {"connection_id":107995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:56:36] local.INFO: GPS Element Parsed {"raw_longitude":765892864,"raw_latitude":100778688,"longitude_deg":76.5892864,"latitude_deg":10.0778688,"altitude":44,"angle":277,"satellites":34,"speed":34,"hex_longitude":"2da69900","hex_latitude":"0601c2c0","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141712896001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94368394362486784,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6442117766177439744,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781803566000,"timestamp_ms":1781803566000,"timestamp_seconds":1781803566,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc4c3b0"} 
[2026-06-18 22:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:56: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-06-18 22: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 22:56:36] 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-06-18 22: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-06-18 22:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107995,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:56:36] 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-06-18 22:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141712896001,"66":11917,"189":206,"88":20992,"24":34,"16":94368394362486784,"45":-6442117766177439744},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-06-18 22:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141712896001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:56:36] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-18 22:56:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94368394362486784,"km_value":94368394362486.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6442117766177439744,"description":"Unknown IO ID 45"} 
[2026-06-18 22:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141712896001,"power":11917,"unknown_189":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6442117766177439744}} 
[2026-06-18 22:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":107995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347545,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:56:36] local.INFO: GPS data processed {"connection_id":107995,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:56:36] local.INFO: Acknowledgment sent {"connection_id":107995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:56:38] local.INFO: TCP Data received {"connection_id":107069,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:56:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:56:38] local.INFO: Processing buffer {"connection_id":107069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:56:38] local.INFO: IMEI packet received {"connection_id":107069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:56:38] local.INFO: IMEI acknowledgment sent {"connection_id":107069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:56:40] local.INFO: TCP Data received {"connection_id":107069,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc3ba10012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc3ba10012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:56:40] local.INFO: Processing buffer {"connection_id":107069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc3ba10012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:56:40] local.INFO: Packet analysis {"connection_id":107069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc3"} 
[2026-06-18 22:56:40] local.INFO: Extracted packet for processing {"connection_id":107069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc3"} 
[2026-06-18 22:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141690112001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781803498000,"timestamp_ms":1781803498000,"timestamp_seconds":1781803498,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc3ba10"} 
[2026-06-18 22:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-06-18 22:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1513,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141690112001,"66":28137,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141690112001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:56:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:56:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141690112001,"power":28137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":107069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347546,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:56:40] local.INFO: GPS data processed {"connection_id":107069,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:56:40] local.INFO: Acknowledgment sent {"connection_id":107069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:57:00] local.INFO: TCP Data received {"connection_id":106460,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:57:00] local.INFO: Processing buffer {"connection_id":106460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:57:00] local.INFO: Packet analysis {"connection_id":106460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:57:00] local.INFO: Extracted packet for processing {"connection_id":106460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:57:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:00] 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-06-18 22:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:57:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":106460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:57:00] local.INFO: GPS data processed {"connection_id":106460,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:57:00] local.INFO: Acknowledgment sent {"connection_id":106460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:57:10] local.INFO: TCP Data received {"connection_id":106461,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:57:10] local.INFO: Processing buffer {"connection_id":106461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:57:10] local.INFO: IMEI packet received {"connection_id":106461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":106461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:57:12] local.INFO: TCP Data received {"connection_id":107069,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc40c18012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc40c18012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:12] local.INFO: Processing buffer {"connection_id":107069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc40c18012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:12] local.INFO: Packet analysis {"connection_id":107069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:57:12] local.INFO: Extracted packet for processing {"connection_id":107069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:57:12] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141695488001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781803519000,"timestamp_ms":1781803519000,"timestamp_seconds":1781803519,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc40c18"} 
[2026-06-18 22:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:57:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 22:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141695488001,"66":28234,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141695488001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:57:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:57:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141695488001,"power":28234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":107069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:57:12] local.INFO: GPS data processed {"connection_id":107069,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:57:12] local.INFO: Acknowledgment sent {"connection_id":107069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:57:14] local.INFO: TCP Data received {"connection_id":106461,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106461,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:57:14] local.INFO: Processing buffer {"connection_id":106461,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:57:14] local.INFO: IMEI packet received {"connection_id":106461,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":106461,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:57:14] local.INFO: TCP Data received {"connection_id":106461,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc4eac0012da675c00601c300002c011026..."} 
[2026-06-18 22:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc4eac0012da675c00601c300002c011026..."} 
[2026-06-18 22:57:14] local.INFO: Processing buffer {"connection_id":106461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc4eac0012da675c00601c300002c011026..."} 
[2026-06-18 22:57:14] local.INFO: Packet analysis {"connection_id":106461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:57:14] local.INFO: Extracted packet for processing {"connection_id":106461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":765883840,"raw_latitude":100778752,"longitude_deg":76.588384,"latitude_deg":10.0778752,"altitude":44,"angle":272,"satellites":38,"speed":36,"hex_longitude":"2da675c0","hex_latitude":"0601c300","is_valid_coordinates":true} 
[2026-06-18 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141712896001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94368823859216384,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6442117766177439744,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,189,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781803576000,"timestamp_ms":1781803576000,"timestamp_seconds":1781803576,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc4eac0"} 
[2026-06-18 22:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 22:57:14] 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-06-18 22:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106461,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141712896001,"66":11852,"189":206,"88":20992,"24":36,"16":94368823859216384,"45":-6442117766177439744},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,189,88,24,16,45]} 
[2026-06-18 22:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141712896001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:57:14] local.INFO: Unknown IO ID detected {"io_id":189,"value":206,"description":"Unknown IO ID 189"} 
[2026-06-18 22:57:14] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94368823859216384,"km_value":94368823859216.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6442117766177439744,"description":"Unknown IO ID 45"} 
[2026-06-18 22:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141712896001,"power":11852,"unknown_189":206,"unknown_88":20992,"ignition":36,"odometer":null,"unknown_45":-6442117766177439744}} 
[2026-06-18 22:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":106461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347549,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:57:14] local.INFO: GPS data processed {"connection_id":106461,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:57:14] local.INFO: Acknowledgment sent {"connection_id":106461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:57:23] local.INFO: TCP Data received {"connection_id":107070,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:57:23] local.INFO: Processing buffer {"connection_id":107070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:57:23] local.INFO: IMEI packet received {"connection_id":107070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":107070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:57:29] local.INFO: TCP Data received {"connection_id":107070,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:57:29] local.INFO: Processing buffer {"connection_id":107070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:57:29] local.INFO: IMEI packet received {"connection_id":107070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:57:29] local.INFO: IMEI acknowledgment sent {"connection_id":107070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:57:29] local.INFO: TCP Data received {"connection_id":107070,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:57:29] local.INFO: Processing buffer {"connection_id":107070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:57:29] local.INFO: Packet analysis {"connection_id":107070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:57:29] local.INFO: Extracted packet for processing {"connection_id":107070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:57:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:29] 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-06-18 22:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:57: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-06-18 22:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 22:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:57:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":107070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:57:29] local.INFO: GPS data processed {"connection_id":107070,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:57:29] local.INFO: Acknowledgment sent {"connection_id":107070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:57:37] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:57:37] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:57:37] local.INFO: IMEI packet received {"connection_id":106462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:57:37] local.INFO: IMEI acknowledgment sent {"connection_id":106462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:57:43] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:57:43] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:57:43] local.INFO: IMEI packet received {"connection_id":106462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":106462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:57:44] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc45e20012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc45e20012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:44] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc45e20012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:44] local.INFO: Packet analysis {"connection_id":106462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:57:44] local.INFO: Extracted packet for processing {"connection_id":106462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:57:44] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141700864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781803540000,"timestamp_ms":1781803540000,"timestamp_seconds":1781803540,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc45e20"} 
[2026-06-18 22:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:57:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:57:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-18 22:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:57:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141700864001,"66":28278,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141700864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:57:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:57:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141700864001,"power":28278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":106462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:57:44] local.INFO: GPS data processed {"connection_id":106462,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:57:44] local.INFO: Acknowledgment sent {"connection_id":106462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:57:45] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc4b028012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc4b028012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:45] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc4b028012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:57:45] local.INFO: Packet analysis {"connection_id":106462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:57:45] local.INFO: Extracted packet for processing {"connection_id":106462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc4"} 
[2026-06-18 22:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141706240001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:57:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781803561000,"timestamp_ms":1781803561000,"timestamp_seconds":1781803561,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc4b028"} 
[2026-06-18 22:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 22:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141706240001,"66":28452,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141706240001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:57:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141706240001,"power":28452,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":106462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:57:45] local.INFO: GPS data processed {"connection_id":106462,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:57:45] local.INFO: Acknowledgment sent {"connection_id":106462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:58:00] local.INFO: TCP Data received {"connection_id":106463,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:58:00] local.INFO: Processing buffer {"connection_id":106463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:58:00] local.INFO: IMEI packet received {"connection_id":106463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":106463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:58:00] local.INFO: TCP Data received {"connection_id":107070,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:58:00] local.INFO: Processing buffer {"connection_id":107070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:58:00] local.INFO: Packet analysis {"connection_id":107070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:58:00] local.INFO: Extracted packet for processing {"connection_id":107070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:58:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:00] 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-06-18 22:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:58: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-06-18 22:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 22:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:58:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":107070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:58:00] local.INFO: GPS data processed {"connection_id":107070,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:58:00] local.INFO: Acknowledgment sent {"connection_id":107070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:58:06] local.INFO: TCP Data received {"connection_id":106463,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106463,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:58:06] local.INFO: Processing buffer {"connection_id":106463,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:58:06] local.INFO: IMEI packet received {"connection_id":106463,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":106463,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:58:06] local.INFO: TCP Data received {"connection_id":106463,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc64280012da5534006022a600023010f26..."} 
[2026-06-18 22:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc64280012da5534006022a600023010f26..."} 
[2026-06-18 22:58:06] local.INFO: Processing buffer {"connection_id":106463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc64280012da5534006022a600023010f26..."} 
[2026-06-18 22:58:06] local.INFO: Packet analysis {"connection_id":106463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:58:06] local.INFO: Extracted packet for processing {"connection_id":106463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:58:06] local.INFO: GPS Element Parsed {"raw_longitude":765809472,"raw_latitude":100805216,"longitude_deg":76.5809472,"latitude_deg":10.0805216,"altitude":35,"angle":271,"satellites":38,"speed":37,"hex_longitude":"2da55340","hex_latitude":"06022a60","is_valid_coordinates":true} 
[2026-06-18 22:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:58:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141737472001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94372659265011712,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6531697177508876288,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:58:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781803664000,"timestamp_ms":1781803664000,"timestamp_seconds":1781803664,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc64280"} 
[2026-06-18 22:58:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:58:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:58:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 22:58:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:58:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:58:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:58:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:58:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:58:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:58:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:58:06] 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-06-18 22:58:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:58:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:58:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141737472001,"66":11808,"127":206,"88":20992,"24":37,"16":94372659265011712,"45":-6531697177508876288},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,88,24,16,45]} 
[2026-06-18 22:58:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:58:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:58:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141737472001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:58:06] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 22:58:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:58:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94372659265011712,"km_value":94372659265011.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:58:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6531697177508876288,"description":"Unknown IO ID 45"} 
[2026-06-18 22:58:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141737472001,"power":11808,"unknown_127":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-6531697177508876288}} 
[2026-06-18 22:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":106463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347554,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:58:07] local.INFO: GPS data processed {"connection_id":106463,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:58:07] local.INFO: Acknowledgment sent {"connection_id":106463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:58:17] local.INFO: TCP Data received {"connection_id":106462,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc50230012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc50230012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:17] local.INFO: Processing buffer {"connection_id":106462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc50230012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:17] local.INFO: Packet analysis {"connection_id":106462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc5"} 
[2026-06-18 22:58:17] local.INFO: Extracted packet for processing {"connection_id":106462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc5"} 
[2026-06-18 22:58:17] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141711616001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781803582000,"timestamp_ms":1781803582000,"timestamp_seconds":1781803582,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc50230"} 
[2026-06-18 22:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-06-18 22:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":106462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":106462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":106462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141711616001,"66":28376,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141711616001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:58:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:58:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141711616001,"power":28376,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":106462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:58:17] local.INFO: GPS data processed {"connection_id":106462,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:58:17] local.INFO: Acknowledgment sent {"connection_id":106462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:58:23] local.INFO: TCP Data received {"connection_id":107071,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:58:23] local.INFO: Processing buffer {"connection_id":107071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:58:23] local.INFO: IMEI packet received {"connection_id":107071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":107071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:58:29] local.INFO: TCP Data received {"connection_id":107071,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:58:29] local.INFO: Processing buffer {"connection_id":107071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:58:29] local.INFO: IMEI packet received {"connection_id":107071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":107071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:58:29] local.INFO: TCP Data received {"connection_id":107071,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:58:29] local.INFO: Processing buffer {"connection_id":107071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc223d0012cc3308007685ac8005c006d2c..."} 
[2026-06-18 22:58:29] local.INFO: Packet analysis {"connection_id":107071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:58:29] local.INFO: Extracted packet for processing {"connection_id":107071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc2"} 
[2026-06-18 22:58:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":44,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141591808001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:29] 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-06-18 22:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803394000,"timestamp_ms":1781803394000,"timestamp_seconds":1781803394,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc223d0"} 
[2026-06-18 22:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:58:29] 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-06-18 22:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141591808001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141591808001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:58:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141591808001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":107071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:58:29] local.INFO: GPS data processed {"connection_id":107071,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:58:29] local.INFO: Acknowledgment sent {"connection_id":107071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:58:33] local.INFO: TCP Data received {"connection_id":107996,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:58:33] local.INFO: Processing buffer {"connection_id":107996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:58:33] local.INFO: IMEI packet received {"connection_id":107996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:58:33] local.INFO: IMEI acknowledgment sent {"connection_id":107996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:58:38] local.INFO: TCP Data received {"connection_id":106463,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc64a50012da54b80060229a00022010325..."} 
[2026-06-18 22:58:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc64a50012da54b80060229a00022010325..."} 
[2026-06-18 22:58:38] local.INFO: Processing buffer {"connection_id":106463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc64a50012da54b80060229a00022010325..."} 
[2026-06-18 22:58:38] local.INFO: Packet analysis {"connection_id":106463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:58:38] local.INFO: Extracted packet for processing {"connection_id":106463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:58:38] local.INFO: GPS Element Parsed {"raw_longitude":765807488,"raw_latitude":100805024,"longitude_deg":76.5807488,"latitude_deg":10.0805024,"altitude":34,"angle":259,"satellites":37,"speed":37,"hex_longitude":"2da54b80","hex_latitude":"060229a0","is_valid_coordinates":true} 
[2026-06-18 22:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:58:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141737984001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94372753754292224,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6533808239834144768,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:58:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781803666000,"timestamp_ms":1781803666000,"timestamp_seconds":1781803666,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc64a50"} 
[2026-06-18 22:58:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:58:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:58:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 22:58:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:58:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:58:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:58:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:58:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:58:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:58:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106463,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:58:38] 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-06-18 22:58:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:58:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:58:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141737984001,"66":11765,"127":206,"88":20992,"24":37,"16":94372753754292224,"45":-6533808239834144768},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,88,24,16,45]} 
[2026-06-18 22:58:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:58:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:58:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141737984001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:58:38] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 22:58:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:58:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94372753754292224,"km_value":94372753754292.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:58:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6533808239834144768,"description":"Unknown IO ID 45"} 
[2026-06-18 22:58:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141737984001,"power":11765,"unknown_127":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-6533808239834144768}} 
[2026-06-18 22:58:38] local.INFO: DEBUG: GPS processor result {"connection_id":106463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347557,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:58:38] local.INFO: GPS data processed {"connection_id":106463,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:58:38] local.INFO: Acknowledgment sent {"connection_id":106463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:58:42] local.INFO: TCP Data received {"connection_id":107996,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:58:42] local.INFO: Processing buffer {"connection_id":107996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:58:42] local.INFO: IMEI packet received {"connection_id":107996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":107996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:58:45] local.INFO: TCP Data received {"connection_id":107996,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc55438012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc55438012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:45] local.INFO: Processing buffer {"connection_id":107996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc55438012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:45] local.INFO: Packet analysis {"connection_id":107996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc5"} 
[2026-06-18 22:58:45] local.INFO: Extracted packet for processing {"connection_id":107996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc5"} 
[2026-06-18 22:58:45] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:58:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141716992001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:58:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781803603000,"timestamp_ms":1781803603000,"timestamp_seconds":1781803603,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc55438"} 
[2026-06-18 22:58:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:58:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:58:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 22:58:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:58:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:58:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:58:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:58:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:58:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:58:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:58:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:58:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:58:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:58:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141716992001,"66":28354,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:58:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:58:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:58:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141716992001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:58:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:58:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:58:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:58:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:58:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141716992001,"power":28354,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:58:45] local.INFO: DEBUG: GPS processor result {"connection_id":107996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347558,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:58:45] local.INFO: GPS data processed {"connection_id":107996,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:58:45] local.INFO: Acknowledgment sent {"connection_id":107996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:58:48] local.INFO: TCP Data received {"connection_id":107996,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc5a640012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc5a640012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:48] local.INFO: Processing buffer {"connection_id":107996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc5a640012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:58:48] local.INFO: Packet analysis {"connection_id":107996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc5"} 
[2026-06-18 22:58:48] local.INFO: Extracted packet for processing {"connection_id":107996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc5"} 
[2026-06-18 22:58:48] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141722368001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781803624000,"timestamp_ms":1781803624000,"timestamp_seconds":1781803624,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc5a640"} 
[2026-06-18 22:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 22:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141722368001,"66":28300,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141722368001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:58:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141722368001,"power":28300,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":107996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:58:49] local.INFO: GPS data processed {"connection_id":107996,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:58:49] local.INFO: Acknowledgment sent {"connection_id":107996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:59:00] local.INFO: TCP Data received {"connection_id":107071,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 22:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 22:59:00] local.INFO: Processing buffer {"connection_id":107071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 22:59:00] local.INFO: Packet analysis {"connection_id":107071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:59:00] local.INFO: Extracted packet for processing {"connection_id":107071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:59:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:00] 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-06-18 22:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 22:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:59:00] 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-06-18 22:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:59:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:59:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:59:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":107071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:59:00] local.INFO: GPS data processed {"connection_id":107071,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:59:00] local.INFO: Acknowledgment sent {"connection_id":107071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:59:05] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:05] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:05] local.INFO: IMEI packet received {"connection_id":106283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":106283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:59:05] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:05] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:05] local.INFO: IMEI packet received {"connection_id":106283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":106283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:59:09] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:09] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:09] local.INFO: IMEI packet received {"connection_id":106283,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 22:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":106283,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:59:10] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc66d78012da52840060222a80022010426..."} 
[2026-06-18 22:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc66d78012da52840060222a80022010426..."} 
[2026-06-18 22:59:10] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc66d78012da52840060222a80022010426..."} 
[2026-06-18 22:59:10] local.INFO: Packet analysis {"connection_id":106283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:59:10] local.INFO: Extracted packet for processing {"connection_id":106283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:59:10] local.INFO: GPS Element Parsed {"raw_longitude":765798464,"raw_latitude":100803240,"longitude_deg":76.5798464,"latitude_deg":10.080324,"altitude":34,"angle":260,"satellites":38,"speed":39,"hex_longitude":"2da52840","hex_latitude":"060222a8","is_valid_coordinates":true} 
[2026-06-18 22:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141738496001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94373191840956416,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6535989670903701504,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781803675000,"timestamp_ms":1781803675000,"timestamp_seconds":1781803675,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc66d78"} 
[2026-06-18 22:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 22:59:10] 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-06-18 22:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:59:10] 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-06-18 22:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141738496001,"66":12026,"127":206,"88":20992,"24":39,"16":94373191840956416,"45":-6535989670903701504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,88,24,16,45]} 
[2026-06-18 22:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141738496001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:59:10] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-06-18 22:59:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94373191840956416,"km_value":94373191840956.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6535989670903701504,"description":"Unknown IO ID 45"} 
[2026-06-18 22:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141738496001,"power":12026,"unknown_127":206,"unknown_88":20992,"ignition":39,"odometer":null,"unknown_45":-6535989670903701504}} 
[2026-06-18 22:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":106283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347561,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:59:10] local.INFO: GPS data processed {"connection_id":106283,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:59:10] local.INFO: Acknowledgment sent {"connection_id":106283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:59:23] local.INFO: TCP Data received {"connection_id":107997,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:59:23] local.INFO: Processing buffer {"connection_id":107997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:59:23] local.INFO: IMEI packet received {"connection_id":107997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 22:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":107997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:59:29] local.INFO: TCP Data received {"connection_id":107997,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:59:29] local.INFO: Processing buffer {"connection_id":107997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 22:59:29] local.INFO: IMEI packet received {"connection_id":107997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 22:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":107997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:59:29] local.INFO: TCP Data received {"connection_id":107997,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 22:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 22:59:29] local.INFO: Processing buffer {"connection_id":107997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 22:59:29] local.INFO: Packet analysis {"connection_id":107997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:59:29] local.INFO: Extracted packet for processing {"connection_id":107997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 22:59:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:29] 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-06-18 22:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 22:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 22: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 22:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 22:59:29] 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-06-18 22:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 22:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 22:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 22:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 22:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 22:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:59:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 22:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 22:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:59:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 22:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 22:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":107997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:59:29] local.INFO: GPS data processed {"connection_id":107997,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:59:29] local.INFO: Acknowledgment sent {"connection_id":107997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:59:33] local.INFO: TCP Data received {"connection_id":107072,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:59:33] local.INFO: Processing buffer {"connection_id":107072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:59:33] local.INFO: IMEI packet received {"connection_id":107072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 22:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":107072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 22:59:38] local.INFO: TCP Data received {"connection_id":107072,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:59:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:59:38] local.INFO: Processing buffer {"connection_id":107072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 22:59:38] local.INFO: IMEI packet received {"connection_id":107072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 22:59:38] local.INFO: IMEI acknowledgment sent {"connection_id":107072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 22:59:40] local.INFO: TCP Data received {"connection_id":107072,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc5f848012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc5f848012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:59:40] local.INFO: Processing buffer {"connection_id":107072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc5f848012d34ce4006aa5120000b00002f..."} 
[2026-06-18 22:59:40] local.INFO: Packet analysis {"connection_id":107072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc5"} 
[2026-06-18 22:59:40] local.INFO: Extracted packet for processing {"connection_id":107072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc5"} 
[2026-06-18 22:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 22:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 22:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141727744001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781803645000,"timestamp_ms":1781803645000,"timestamp_seconds":1781803645,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc5f848"} 
[2026-06-18 22:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 22:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 22:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 22:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 22:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 22:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 22:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141727744001,"66":28354,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 22:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 22:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 22:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141727744001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:59:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 22:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 22:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 22:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141727744001,"power":28354,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 22:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":107072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347563,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:59:40] local.INFO: GPS data processed {"connection_id":107072,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:59:40] local.INFO: Acknowledgment sent {"connection_id":107072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:59:41] local.INFO: TCP Data received {"connection_id":106283,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc7c920012da40bc0060296c80026013923..."} 
[2026-06-18 22:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc7c920012da40bc0060296c80026013923..."} 
[2026-06-18 22:59:41] local.INFO: Processing buffer {"connection_id":106283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc7c920012da40bc0060296c80026013923..."} 
[2026-06-18 22:59:41] local.INFO: Packet analysis {"connection_id":106283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 22:59:41] local.INFO: Extracted packet for processing {"connection_id":106283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 22:59:41] local.INFO: GPS Element Parsed {"raw_longitude":765725632,"raw_latitude":100832968,"longitude_deg":76.5725632,"latitude_deg":10.0832968,"altitude":38,"angle":313,"satellites":35,"speed":34,"hex_longitude":"2da40bc0","hex_latitude":"060296c8","is_valid_coordinates":true} 
[2026-06-18 22: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-06-18 22:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141760768001,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94377203340410880,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6618602576562767872,"note":"Value kept but may cause issues"} 
[2026-06-18 22:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 22:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781803764000,"timestamp_ms":1781803764000,"timestamp_seconds":1781803764,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc7c920"} 
[2026-06-18 22:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 22:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 22: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 22:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 22: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-06-18 22:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 22:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 22:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 22:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106283,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 22:59:41] 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-06-18 22:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 22:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 22:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141760768001,"66":12004,"213":206,"88":20992,"24":34,"16":94377203340410880,"45":-6618602576562767872},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-06-18 22:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 22:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 22:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141760768001,"description":"Unknown IO ID 0"} 
[2026-06-18 22:59:41] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 22:59:41] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 22:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94377203340410880,"km_value":94377203340410.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 22:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6618602576562767872,"description":"Unknown IO ID 45"} 
[2026-06-18 22:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141760768001,"power":12004,"unknown_213":206,"unknown_88":20992,"ignition":34,"odometer":null,"unknown_45":-6618602576562767872}} 
[2026-06-18 22:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":106283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347564,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 22:59:41] local.INFO: GPS data processed {"connection_id":106283,"processed":1,"errors":0,"total":1} 
[2026-06-18 22:59:41] local.INFO: Acknowledgment sent {"connection_id":106283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 22:59:59] local.INFO: TCP Data received {"connection_id":107998,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:59] local.INFO: Processing buffer {"connection_id":107998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 22:59:59] local.INFO: IMEI packet received {"connection_id":107998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 22:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":107998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:00:00] local.INFO: TCP Data received {"connection_id":107997,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:00:00] local.INFO: Processing buffer {"connection_id":107997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:00:00] local.INFO: Packet analysis {"connection_id":107997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:00:00] local.INFO: Extracted packet for processing {"connection_id":107997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:00:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:00] 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-06-18 23:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 23:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:00:00] 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-06-18 23:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:00:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:00:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":107997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:00:00] local.INFO: GPS data processed {"connection_id":107997,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:00:00] local.INFO: Acknowledgment sent {"connection_id":107997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:00:06] local.INFO: TCP Data received {"connection_id":107998,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107998,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:06] local.INFO: Processing buffer {"connection_id":107998,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:06] local.INFO: IMEI packet received {"connection_id":107998,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":107998,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:00:07] local.INFO: TCP Data received {"connection_id":107998,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc7f030012da3ee400602ad380027012e24..."} 
[2026-06-18 23:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc7f030012da3ee400602ad380027012e24..."} 
[2026-06-18 23:00:07] local.INFO: Processing buffer {"connection_id":107998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc7f030012da3ee400602ad380027012e24..."} 
[2026-06-18 23:00:07] local.INFO: Packet analysis {"connection_id":107998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:00:07] local.INFO: Extracted packet for processing {"connection_id":107998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:00:07] local.INFO: GPS Element Parsed {"raw_longitude":765718080,"raw_latitude":100838712,"longitude_deg":76.571808,"latitude_deg":10.0838712,"altitude":39,"angle":302,"satellites":36,"speed":37,"hex_longitude":"2da3ee40","hex_latitude":"0602ad38","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:00:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141763584001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94377658606944256,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6625991294699780096,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:00:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781803774000,"timestamp_ms":1781803774000,"timestamp_seconds":1781803774,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc7f030"} 
[2026-06-18 23:00:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:00:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 23:00:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:00:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:00:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:00:07] local.INFO: Teltonika packet parsed successfully {"connection_id":107998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:00:07] local.INFO: Passing IMEI to GPS processor {"connection_id":107998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:00:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":107998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:00:07] 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-06-18 23:00:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:00:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:00:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141763584001,"66":11917,"213":206,"88":20992,"24":37,"16":94377658606944256,"45":-6625991294699780096},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-06-18 23:00:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:00:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:00:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141763584001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:00:07] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 23:00:07] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:00:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94377658606944256,"km_value":94377658606944.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:00:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6625991294699780096,"description":"Unknown IO ID 45"} 
[2026-06-18 23:00:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141763584001,"power":11917,"unknown_213":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-6625991294699780096}} 
[2026-06-18 23:00:07] local.INFO: DEBUG: GPS processor result {"connection_id":107998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347566,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:00:07] local.INFO: GPS data processed {"connection_id":107998,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:00:07] local.INFO: Acknowledgment sent {"connection_id":107998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:00:11] local.INFO: TCP Data received {"connection_id":107072,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc64a50012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc64a50012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:00:11] local.INFO: Processing buffer {"connection_id":107072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc64a50012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:00:11] local.INFO: Packet analysis {"connection_id":107072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:00:11] local.INFO: Extracted packet for processing {"connection_id":107072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141733120001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781803666000,"timestamp_ms":1781803666000,"timestamp_seconds":1781803666,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc64a50"} 
[2026-06-18 23:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107072,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141733120001,"66":28148,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141733120001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:00:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:00:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141733120001,"power":28148,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":107072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:00:11] local.INFO: GPS data processed {"connection_id":107072,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:00:11] local.INFO: Acknowledgment sent {"connection_id":107072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:00:24] local.INFO: TCP Data received {"connection_id":106284,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:00:24] local.INFO: Processing buffer {"connection_id":106284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:00:24] local.INFO: IMEI packet received {"connection_id":106284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":106284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:00:29] local.INFO: TCP Data received {"connection_id":106284,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:00:29] local.INFO: Processing buffer {"connection_id":106284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:00:29] local.INFO: IMEI packet received {"connection_id":106284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":106284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:00:29] local.INFO: TCP Data received {"connection_id":106284,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:00:29] local.INFO: Processing buffer {"connection_id":106284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:00:29] local.INFO: Packet analysis {"connection_id":106284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:00:29] local.INFO: Extracted packet for processing {"connection_id":106284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:00:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:29] 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-06-18 23:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 23:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:00:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:00:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":106284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:00:29] local.INFO: GPS data processed {"connection_id":106284,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:00:29] local.INFO: Acknowledgment sent {"connection_id":106284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:00:32] local.INFO: TCP Data received {"connection_id":106285,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:00:32] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:00:32] local.INFO: IMEI packet received {"connection_id":106285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:00:32] local.INFO: IMEI acknowledgment sent {"connection_id":106285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:00:37] local.INFO: TCP Data received {"connection_id":107998,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc7f030012da3ee400602ad380027012e24..."} 
[2026-06-18 23:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc7f030012da3ee400602ad380027012e24..."} 
[2026-06-18 23:00:37] local.INFO: Processing buffer {"connection_id":107998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc7f030012da3ee400602ad380027012e24..."} 
[2026-06-18 23:00:37] local.INFO: Packet analysis {"connection_id":107998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:00:37] local.INFO: Extracted packet for processing {"connection_id":107998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":765718080,"raw_latitude":100838712,"longitude_deg":76.571808,"latitude_deg":10.0838712,"altitude":39,"angle":302,"satellites":36,"speed":37,"hex_longitude":"2da3ee40","hex_latitude":"0602ad38","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141766144001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94377658606944256,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6634294806511273984,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781803774000,"timestamp_ms":1781803774000,"timestamp_seconds":1781803774,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc7f030"} 
[2026-06-18 23:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:00:37] 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-06-18 23: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-06-18 23:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107998,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:00:37] 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-06-18 23:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141766144001,"66":11917,"213":206,"88":20992,"24":37,"16":94377658606944256,"45":-6634294806511273984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-06-18 23:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141766144001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:00:37] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 23:00:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94377658606944256,"km_value":94377658606944.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6634294806511273984,"description":"Unknown IO ID 45"} 
[2026-06-18 23:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141766144001,"power":11917,"unknown_213":206,"unknown_88":20992,"ignition":37,"odometer":null,"unknown_45":-6634294806511273984}} 
[2026-06-18 23:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":107998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347569,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:00:37] local.INFO: GPS data processed {"connection_id":107998,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:00:37] local.INFO: Acknowledgment sent {"connection_id":107998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:00:38] local.INFO: TCP Data received {"connection_id":106285,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:00:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:00:38] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:00:38] local.INFO: IMEI packet received {"connection_id":106285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:00:38] local.INFO: IMEI acknowledgment sent {"connection_id":106285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:00:39] local.INFO: TCP Data received {"connection_id":106285,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc69c58012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc69c58012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:00:39] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc69c58012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:00:39] local.INFO: Packet analysis {"connection_id":106285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:00:39] local.INFO: Extracted packet for processing {"connection_id":106285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141738496001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781803687000,"timestamp_ms":1781803687000,"timestamp_seconds":1781803687,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc69c58"} 
[2026-06-18 23:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-06-18 23:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2939,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141738496001,"66":28104,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141738496001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:00:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:00:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141738496001,"power":28104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":106285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:00:39] local.INFO: GPS data processed {"connection_id":106285,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:00:39] local.INFO: Acknowledgment sent {"connection_id":106285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:00:57] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:57] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:57] local.INFO: IMEI packet received {"connection_id":106286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":106286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:00:59] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:59] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:00:59] local.INFO: IMEI packet received {"connection_id":106286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":106286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:01:00] local.INFO: TCP Data received {"connection_id":106284,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:01:00] local.INFO: Processing buffer {"connection_id":106284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:01:00] local.INFO: Packet analysis {"connection_id":106284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:01:00] local.INFO: Extracted packet for processing {"connection_id":106284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:01:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:00] 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-06-18 23:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 23:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:01:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:01:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":106284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:01:00] local.INFO: GPS data processed {"connection_id":106284,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:01:00] local.INFO: Acknowledgment sent {"connection_id":106284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:01:04] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:01:04] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:01:04] local.INFO: IMEI packet received {"connection_id":106286,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":106286,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:01:05] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc807a0012da3dac00602b7b0002a012124..."} 
[2026-06-18 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc807a0012da3dac00602b7b0002a012124..."} 
[2026-06-18 23:01:05] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc807a0012da3dac00602b7b0002a012124..."} 
[2026-06-18 23:01:05] local.INFO: Packet analysis {"connection_id":106286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:01:05] local.INFO: Extracted packet for processing {"connection_id":106286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":765713088,"raw_latitude":100841392,"longitude_deg":76.5713088,"latitude_deg":10.0841392,"altitude":42,"angle":289,"satellites":36,"speed":35,"hex_longitude":"2da3dac0","hex_latitude":"0602b7b0","is_valid_coordinates":true} 
[2026-06-18 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141766144001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94377929189883904,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6634294806511273984,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781803780000,"timestamp_ms":1781803780000,"timestamp_seconds":1781803780,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc807a0"} 
[2026-06-18 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:01:05] 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-06-18 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:01: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-06-18 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141766144001,"66":11852,"213":206,"88":20992,"24":35,"16":94377929189883904,"45":-6634294806511273984},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-06-18 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141766144001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:01:05] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 23:01:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94377929189883904,"km_value":94377929189883.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6634294806511273984,"description":"Unknown IO ID 45"} 
[2026-06-18 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141766144001,"power":11852,"unknown_213":206,"unknown_88":20992,"ignition":35,"odometer":null,"unknown_45":-6634294806511273984}} 
[2026-06-18 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":106286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347572,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:01:05] local.INFO: GPS data processed {"connection_id":106286,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:01:05] local.INFO: Acknowledgment sent {"connection_id":106286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:01:10] local.INFO: TCP Data received {"connection_id":106285,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6ee60012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6ee60012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:10] local.INFO: Processing buffer {"connection_id":106285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6ee60012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:10] local.INFO: Packet analysis {"connection_id":106285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:01:10] local.INFO: Extracted packet for processing {"connection_id":106285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141743872001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781803708000,"timestamp_ms":1781803708000,"timestamp_seconds":1781803708,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6ee60"} 
[2026-06-18 23:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:01:10] 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-06-18 23:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 23:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141743872001,"66":28104,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141743872001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:01:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:01:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141743872001,"power":28104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":106285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:01:10] local.INFO: GPS data processed {"connection_id":106285,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:01:10] local.INFO: Acknowledgment sent {"connection_id":106285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:01:23] local.INFO: TCP Data received {"connection_id":106464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:01:23] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:01:23] local.INFO: IMEI packet received {"connection_id":106464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":106464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:01:29] local.INFO: TCP Data received {"connection_id":106464,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:01:29] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:01:29] local.INFO: IMEI packet received {"connection_id":106464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:01:29] local.INFO: IMEI acknowledgment sent {"connection_id":106464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:01:29] local.INFO: TCP Data received {"connection_id":106464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:01:29] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:01:29] local.INFO: Packet analysis {"connection_id":106464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:01:29] local.INFO: Extracted packet for processing {"connection_id":106464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:01:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:29] 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-06-18 23:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 23:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:01: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-06-18 23:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:01:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:01:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":106464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:01:29] local.INFO: GPS data processed {"connection_id":106464,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:01:29] local.INFO: Acknowledgment sent {"connection_id":106464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:01:34] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:34] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:34] local.INFO: IMEI packet received {"connection_id":106465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":106465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:01:36] local.INFO: TCP Data received {"connection_id":106286,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc83298012da3b8400602c058002e011e26..."} 
[2026-06-18 23:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc83298012da3b8400602c058002e011e26..."} 
[2026-06-18 23:01:36] local.INFO: Processing buffer {"connection_id":106286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc83298012da3b8400602c058002e011e26..."} 
[2026-06-18 23:01:36] local.INFO: Packet analysis {"connection_id":106286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:01:36] local.INFO: Extracted packet for processing {"connection_id":106286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":765704256,"raw_latitude":100843608,"longitude_deg":76.5704256,"latitude_deg":10.0843608,"altitude":46,"angle":286,"satellites":38,"speed":24,"hex_longitude":"2da3b840","hex_latitude":"0602c058","is_valid_coordinates":true} 
[2026-06-18 23:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141767680001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378367276548096,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6639783568556445696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781803791000,"timestamp_ms":1781803791000,"timestamp_seconds":1781803791,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc83298"} 
[2026-06-18 23:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 23:01:36] 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-06-18 23:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106286,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:01:36] 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-06-18 23:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141767680001,"66":12015,"213":206,"88":20992,"24":24,"16":94378367276548096,"45":-6639783568556445696},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-06-18 23:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141767680001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:01:36] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 23:01:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378367276548096,"km_value":94378367276548.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6639783568556445696,"description":"Unknown IO ID 45"} 
[2026-06-18 23:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141767680001,"power":12015,"unknown_213":206,"unknown_88":20992,"ignition":24,"odometer":null,"unknown_45":-6639783568556445696}} 
[2026-06-18 23:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":106286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347575,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:01:36] local.INFO: GPS data processed {"connection_id":106286,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:01:36] local.INFO: Acknowledgment sent {"connection_id":106286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:01:38] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:38] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:38] local.INFO: IMEI packet received {"connection_id":106465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:01:38] local.INFO: IMEI acknowledgment sent {"connection_id":106465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:01:43] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:43] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:01:43] local.INFO: IMEI packet received {"connection_id":106465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:01:43] local.INFO: IMEI acknowledgment sent {"connection_id":106465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:01:45] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc74068012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc74068012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:45] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc74068012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:45] local.INFO: Packet analysis {"connection_id":106465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:01:45] local.INFO: Extracted packet for processing {"connection_id":106465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141749248001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781803729000,"timestamp_ms":1781803729000,"timestamp_seconds":1781803729,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc74068"} 
[2026-06-18 23:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:01:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:01:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-06-18 23:01:45] 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-06-18 23:01:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141749248001,"66":28137,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141749248001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:01:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:01:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141749248001,"power":28137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":106465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:01:45] local.INFO: GPS data processed {"connection_id":106465,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:01:45] local.INFO: Acknowledgment sent {"connection_id":106465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:01:49] local.INFO: TCP Data received {"connection_id":106465,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc79270012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc79270012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:49] local.INFO: Processing buffer {"connection_id":106465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc79270012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:01:49] local.INFO: Packet analysis {"connection_id":106465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:01:49] local.INFO: Extracted packet for processing {"connection_id":106465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141754624001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1781803750000,"timestamp_ms":1781803750000,"timestamp_seconds":1781803750,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc79270"} 
[2026-06-18 23:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 23:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":106465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":106465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":106465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141754624001,"66":28354,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141754624001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:01:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:01:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141754624001,"power":28354,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":106465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347577,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:01:49] local.INFO: GPS data processed {"connection_id":106465,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:01:49] local.INFO: Acknowledgment sent {"connection_id":106465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:02:00] local.INFO: TCP Data received {"connection_id":106466,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:00] local.INFO: Processing buffer {"connection_id":106466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:00] local.INFO: IMEI packet received {"connection_id":106466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":106466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:02:00] local.INFO: TCP Data received {"connection_id":106466,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:00] local.INFO: Processing buffer {"connection_id":106466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:00] local.INFO: IMEI packet received {"connection_id":106466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":106466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:02:00] local.INFO: TCP Data received {"connection_id":106464,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:02:00] local.INFO: Processing buffer {"connection_id":106464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:02:00] local.INFO: Packet analysis {"connection_id":106464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:02:00] local.INFO: Extracted packet for processing {"connection_id":106464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:02:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:00] 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-06-18 23:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 23:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:02: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-06-18 23:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:02:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:02:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:02:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":106464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:02:00] local.INFO: GPS data processed {"connection_id":106464,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:02:00] local.INFO: Acknowledgment sent {"connection_id":106464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:02:05] local.INFO: TCP Data received {"connection_id":106466,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106466,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:05] local.INFO: Processing buffer {"connection_id":106466,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:05] local.INFO: IMEI packet received {"connection_id":106466,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":106466,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:02:05] local.INFO: TCP Data received {"connection_id":106466,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc83e50012da3b2000602c310002f012a25..."} 
[2026-06-18 23:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc83e50012da3b2000602c310002f012a25..."} 
[2026-06-18 23:02:05] local.INFO: Processing buffer {"connection_id":106466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc83e50012da3b2000602c310002f012a25..."} 
[2026-06-18 23:02:05] local.INFO: Packet analysis {"connection_id":106466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:02:05] local.INFO: Extracted packet for processing {"connection_id":106466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":765702656,"raw_latitude":100844304,"longitude_deg":76.5702656,"latitude_deg":10.0844304,"altitude":47,"angle":298,"satellites":37,"speed":21,"hex_longitude":"2da3b200","hex_latitude":"0602c310","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141770496001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378453175894016,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6649494455252396032,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781803794000,"timestamp_ms":1781803794000,"timestamp_seconds":1781803794,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc83e50"} 
[2026-06-18 23:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 23:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2579,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:02: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-06-18 23:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141770496001,"66":12026,"213":206,"88":20992,"24":21,"16":94378453175894016,"45":-6649494455252396032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-06-18 23:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141770496001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:02:05] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 23:02:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378453175894016,"km_value":94378453175894.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6649494455252396032,"description":"Unknown IO ID 45"} 
[2026-06-18 23:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141770496001,"power":12026,"unknown_213":206,"unknown_88":20992,"ignition":21,"odometer":null,"unknown_45":-6649494455252396032}} 
[2026-06-18 23:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":106466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347579,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:02:06] local.INFO: GPS data processed {"connection_id":106466,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:02:06] local.INFO: Acknowledgment sent {"connection_id":106466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:02:24] local.INFO: TCP Data received {"connection_id":107073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:02:24] local.INFO: Processing buffer {"connection_id":107073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:02:24] local.INFO: IMEI packet received {"connection_id":107073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:02:24] local.INFO: IMEI acknowledgment sent {"connection_id":107073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:02:29] local.INFO: TCP Data received {"connection_id":107073,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:02:29] local.INFO: Processing buffer {"connection_id":107073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:02:29] local.INFO: IMEI packet received {"connection_id":107073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:02:29] local.INFO: IMEI acknowledgment sent {"connection_id":107073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:02:29] local.INFO: TCP Data received {"connection_id":107073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:02:29] local.INFO: Processing buffer {"connection_id":107073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:02:29] local.INFO: Packet analysis {"connection_id":107073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:02:29] local.INFO: Extracted packet for processing {"connection_id":107073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:02:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:29] 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-06-18 23:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 23:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:02:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:02:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:02:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":107073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:02:29] local.INFO: GPS data processed {"connection_id":107073,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:02:29] local.INFO: Acknowledgment sent {"connection_id":107073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:02:33] local.INFO: TCP Data received {"connection_id":106287,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:02:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:02:33] local.INFO: Processing buffer {"connection_id":106287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:02:33] local.INFO: IMEI packet received {"connection_id":106287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:02:33] local.INFO: IMEI acknowledgment sent {"connection_id":106287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:02:36] local.INFO: TCP Data received {"connection_id":106466,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc88c70012da3a0800602cf000031012425..."} 
[2026-06-18 23:02:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc88c70012da3a0800602cf000031012425..."} 
[2026-06-18 23:02:36] local.INFO: Processing buffer {"connection_id":106466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc88c70012da3a0800602cf000031012425..."} 
[2026-06-18 23:02:36] local.INFO: Packet analysis {"connection_id":106466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:02:36] local.INFO: Extracted packet for processing {"connection_id":106466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:02:36] local.INFO: GPS Element Parsed {"raw_longitude":765698176,"raw_latitude":100847360,"longitude_deg":76.5698176,"latitude_deg":10.084736,"altitude":49,"angle":292,"satellites":37,"speed":4,"hex_longitude":"2da3a080","hex_latitude":"0602cf00","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:02:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141771264001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378715168899072,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6651253673856659456,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:02:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781803814000,"timestamp_ms":1781803814000,"timestamp_seconds":1781803814,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc88c70"} 
[2026-06-18 23:02:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:02:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-06-18 23:02:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2678,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:02:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:02:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:02:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:02:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:02:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106466,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:02:36] 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-06-18 23:02:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:02:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:02:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141771264001,"66":11678,"213":206,"88":20992,"24":4,"16":94378715168899072,"45":-6651253673856659456},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,88,24,16,45]} 
[2026-06-18 23:02:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:02:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:02:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141771264001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:02:36] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-06-18 23:02:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:02:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378715168899072,"km_value":94378715168899.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:02:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6651253673856659456,"description":"Unknown IO ID 45"} 
[2026-06-18 23:02:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141771264001,"power":11678,"unknown_213":206,"unknown_88":20992,"ignition":4,"odometer":null,"unknown_45":-6651253673856659456}} 
[2026-06-18 23:02:36] local.INFO: DEBUG: GPS processor result {"connection_id":106466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347581,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:02:36] local.INFO: GPS data processed {"connection_id":106466,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:02:36] local.INFO: Acknowledgment sent {"connection_id":106466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:02:37] local.INFO: TCP Data received {"connection_id":106287,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:02:37] local.INFO: Processing buffer {"connection_id":106287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:02:37] local.INFO: IMEI packet received {"connection_id":106287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:02:37] local.INFO: IMEI acknowledgment sent {"connection_id":106287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:02:38] local.INFO: TCP Data received {"connection_id":106287,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc7e478012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:02:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc7e478012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:02:38] local.INFO: Processing buffer {"connection_id":106287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc7e478012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:02:38] local.INFO: Packet analysis {"connection_id":106287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:02:38] local.INFO: Extracted packet for processing {"connection_id":106287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc7"} 
[2026-06-18 23:02:38] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:02:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141760000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:02:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:02:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781803771000,"timestamp_ms":1781803771000,"timestamp_seconds":1781803771,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc7e478"} 
[2026-06-18 23:02:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:02:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:02:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:02:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:02:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:02:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:02:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:02:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:02:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:02:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:02:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:02:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141760000001,"66":28267,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:02:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:02:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:02:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141760000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:02:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:02:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:02:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:02:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:02:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141760000001,"power":28267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:02:38] local.INFO: DEBUG: GPS processor result {"connection_id":106287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:02:38] local.INFO: GPS data processed {"connection_id":106287,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:02:38] local.INFO: Acknowledgment sent {"connection_id":106287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:02:59] local.INFO: TCP Data received {"connection_id":107999,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:59] local.INFO: Processing buffer {"connection_id":107999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:02:59] local.INFO: IMEI packet received {"connection_id":107999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":107999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:03:00] local.INFO: TCP Data received {"connection_id":107073,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:03:00] local.INFO: Processing buffer {"connection_id":107073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:03:00] local.INFO: Packet analysis {"connection_id":107073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:03:00] local.INFO: Extracted packet for processing {"connection_id":107073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:03:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:00] 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-06-18 23:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 23:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:03: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-06-18 23:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:03:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:03:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:03:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":107073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:03:00] local.INFO: GPS data processed {"connection_id":107073,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:03:00] local.INFO: Acknowledgment sent {"connection_id":107073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:03:04] local.INFO: TCP Data received {"connection_id":107999,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107999,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:03:04] local.INFO: Processing buffer {"connection_id":107999,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:03:04] local.INFO: IMEI packet received {"connection_id":107999,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":107999,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:03:04] local.INFO: TCP Data received {"connection_id":107999,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc8de78012da39d800602ccb80032012425..."} 
[2026-06-18 23:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc8de78012da39d800602ccb80032012425..."} 
[2026-06-18 23:03:04] local.INFO: Processing buffer {"connection_id":107999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc8de78012da39d800602ccb80032012425..."} 
[2026-06-18 23:03:04] local.INFO: Packet analysis {"connection_id":107999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:03:04] local.INFO: Extracted packet for processing {"connection_id":107999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:03:04] local.INFO: GPS Element Parsed {"raw_longitude":765697408,"raw_latitude":100846776,"longitude_deg":76.5697408,"latitude_deg":10.0846776,"altitude":50,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2da39d80","hex_latitude":"0602ccb8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141776384001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378766708506624,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6656179485948313600,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781803835000,"timestamp_ms":1781803835000,"timestamp_seconds":1781803835,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc8de78"} 
[2026-06-18 23:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:03: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-06-18 23: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":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-06-18 23:03:04] 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-06-18 23: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-06-18 23:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":107999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":107999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":107999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:03:04] 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-06-18 23:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141776384001,"66":11711,"236":206,"88":20992,"24":0,"16":94378766708506624,"45":-6656179485948313600},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141776384001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:03:04] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:03:04] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378766708506624,"km_value":94378766708506.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6656179485948313600,"description":"Unknown IO ID 45"} 
[2026-06-18 23:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141776384001,"power":11711,"unknown_236":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6656179485948313600}} 
[2026-06-18 23:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":107999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347584,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:03:04] local.INFO: GPS data processed {"connection_id":107999,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:03:04] local.INFO: Acknowledgment sent {"connection_id":107999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:03:12] local.INFO: TCP Data received {"connection_id":106287,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc83680012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc83680012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:03:12] local.INFO: Processing buffer {"connection_id":106287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc83680012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:03:12] local.INFO: Packet analysis {"connection_id":106287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:03:12] local.INFO: Extracted packet for processing {"connection_id":106287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:03:12] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141765376001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781803792000,"timestamp_ms":1781803792000,"timestamp_seconds":1781803792,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc83680"} 
[2026-06-18 23:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:03:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:03:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141765376001,"66":28376,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141765376001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:03:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:03:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141765376001,"power":28376,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":106287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:03:12] local.INFO: GPS data processed {"connection_id":106287,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:03:12] local.INFO: Acknowledgment sent {"connection_id":106287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:03:23] local.INFO: TCP Data received {"connection_id":107074,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:03:23] local.INFO: Processing buffer {"connection_id":107074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:03:23] local.INFO: IMEI packet received {"connection_id":107074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":107074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:03:29] local.INFO: TCP Data received {"connection_id":107074,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:03:29] local.INFO: Processing buffer {"connection_id":107074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:03:29] local.INFO: IMEI packet received {"connection_id":107074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":107074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:03:29] local.INFO: TCP Data received {"connection_id":107074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:03:29] local.INFO: Processing buffer {"connection_id":107074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc6b7b0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:03:29] local.INFO: Packet analysis {"connection_id":107074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:03:29] local.INFO: Extracted packet for processing {"connection_id":107074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc6"} 
[2026-06-18 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141668864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:29] 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-06-18 23:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803694000,"timestamp_ms":1781803694000,"timestamp_seconds":1781803694,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc6b7b0"} 
[2026-06-18 23:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:03:29] 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-06-18 23:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141668864001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141668864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:03:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:03:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141668864001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":107074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:03:29] local.INFO: GPS data processed {"connection_id":107074,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:03:29] local.INFO: Acknowledgment sent {"connection_id":107074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:03:32] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:03:32] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:03:32] local.INFO: IMEI packet received {"connection_id":106288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:03:32] local.INFO: IMEI acknowledgment sent {"connection_id":106288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:03:35] local.INFO: TCP Data received {"connection_id":107999,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc93080012da39d800602cca80032012425..."} 
[2026-06-18 23:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc93080012da39d800602cca80032012425..."} 
[2026-06-18 23:03:35] local.INFO: Processing buffer {"connection_id":107999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc93080012da39d800602cca80032012425..."} 
[2026-06-18 23:03:35] local.INFO: Packet analysis {"connection_id":107999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc9"} 
[2026-06-18 23:03:35] local.INFO: Extracted packet for processing {"connection_id":107999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc9"} 
[2026-06-18 23:03:35] local.INFO: GPS Element Parsed {"raw_longitude":765697408,"raw_latitude":100846760,"longitude_deg":76.5697408,"latitude_deg":10.084676,"altitude":50,"angle":292,"satellites":37,"speed":0,"hex_longitude":"2da39d80","hex_latitude":"0602cca8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141781760001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378771003473920,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6657023910878595072,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781803856000,"timestamp_ms":1781803856000,"timestamp_seconds":1781803856,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc93080"} 
[2026-06-18 23:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 23:03:35] 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-06-18 23: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-06-18 23:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":107999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":107999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":107999,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:03:35] 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-06-18 23:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141781760001,"66":12809,"236":206,"88":20992,"24":0,"16":94378771003473920,"45":-6657023910878595072},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141781760001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:03:35] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:03:35] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378771003473920,"km_value":94378771003473.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6657023910878595072,"description":"Unknown IO ID 45"} 
[2026-06-18 23:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141781760001,"power":12809,"unknown_236":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6657023910878595072}} 
[2026-06-18 23:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":107999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347587,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:03:35] local.INFO: GPS data processed {"connection_id":107999,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:03:35] local.INFO: Acknowledgment sent {"connection_id":107999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:03:38] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:03:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:03:38] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:03:38] local.INFO: IMEI packet received {"connection_id":106288,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:03:38] local.INFO: IMEI acknowledgment sent {"connection_id":106288,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:03:40] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc88888012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc88888012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:03:40] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc88888012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:03:40] local.INFO: Packet analysis {"connection_id":106288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:03:40] local.INFO: Extracted packet for processing {"connection_id":106288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141770752001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:03:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781803813000,"timestamp_ms":1781803813000,"timestamp_seconds":1781803813,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc88888"} 
[2026-06-18 23:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-06-18 23:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141770752001,"66":28354,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141770752001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:03:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:03:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141770752001,"power":28354,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":106288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:03:40] local.INFO: GPS data processed {"connection_id":106288,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:03:40] local.INFO: Acknowledgment sent {"connection_id":106288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:03:59] local.INFO: TCP Data received {"connection_id":107075,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:03:59] local.INFO: Processing buffer {"connection_id":107075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:03:59] local.INFO: IMEI packet received {"connection_id":107075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":107075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:04:00] local.INFO: TCP Data received {"connection_id":107075,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:00] local.INFO: Processing buffer {"connection_id":107075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:00] local.INFO: IMEI packet received {"connection_id":107075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:04:00] local.INFO: IMEI acknowledgment sent {"connection_id":107075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:04:00] local.INFO: TCP Data received {"connection_id":107074,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:04:00] local.INFO: Processing buffer {"connection_id":107074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:04:00] local.INFO: Packet analysis {"connection_id":107074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:04:00] local.INFO: Extracted packet for processing {"connection_id":107074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:04:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:00] 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-06-18 23:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:04:00] 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-06-18 23:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:04:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:04:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:04:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":107074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:04:00] local.INFO: GPS data processed {"connection_id":107074,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:04:00] local.INFO: Acknowledgment sent {"connection_id":107074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:04:01] local.INFO: TCP Data received {"connection_id":107075,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:01] local.INFO: Processing buffer {"connection_id":107075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:01] local.INFO: IMEI packet received {"connection_id":107075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":107075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:04:01] local.INFO: TCP Data received {"connection_id":107075,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107075,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:01] local.INFO: Processing buffer {"connection_id":107075,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:04:01] local.INFO: IMEI packet received {"connection_id":107075,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:04:01] local.INFO: IMEI acknowledgment sent {"connection_id":107075,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:04:12] local.INFO: TCP Data received {"connection_id":106288,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc8da90012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc8da90012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:04:12] local.INFO: Processing buffer {"connection_id":106288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc8da90012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:04:12] local.INFO: Packet analysis {"connection_id":106288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:04:12] local.INFO: Extracted packet for processing {"connection_id":106288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc8"} 
[2026-06-18 23:04:12] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141776128001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781803834000,"timestamp_ms":1781803834000,"timestamp_seconds":1781803834,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc8da90"} 
[2026-06-18 23:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106288,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141776128001,"66":28050,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141776128001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:04:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141776128001,"power":28050,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":106288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:04:12] local.INFO: GPS data processed {"connection_id":106288,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:04:12] local.INFO: Acknowledgment sent {"connection_id":106288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:04:29] local.INFO: TCP Data received {"connection_id":108000,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:04:29] local.INFO: Processing buffer {"connection_id":108000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:04:29] local.INFO: IMEI packet received {"connection_id":108000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":108000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:04:32] local.INFO: TCP Data received {"connection_id":106289,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:04:32] local.INFO: Processing buffer {"connection_id":106289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:04:32] local.INFO: IMEI packet received {"connection_id":106289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:04:32] local.INFO: IMEI acknowledgment sent {"connection_id":106289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:04:34] local.INFO: TCP Data received {"connection_id":108000,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:04:34] local.INFO: Processing buffer {"connection_id":108000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:04:34] local.INFO: IMEI packet received {"connection_id":108000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":108000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:04:34] local.INFO: TCP Data received {"connection_id":108000,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:04:34] local.INFO: Processing buffer {"connection_id":108000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:04:34] local.INFO: Packet analysis {"connection_id":108000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:04:34] local.INFO: Extracted packet for processing {"connection_id":108000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:04:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:34] 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-06-18 23:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:04:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:04:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":108000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":108000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":108000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:04:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:04:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:04:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":108000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:04:34] local.INFO: GPS data processed {"connection_id":108000,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:04:34] local.INFO: Acknowledgment sent {"connection_id":108000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:04:38] local.INFO: TCP Data received {"connection_id":106289,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:04:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106289,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:04:38] local.INFO: Processing buffer {"connection_id":106289,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:04:38] local.INFO: IMEI packet received {"connection_id":106289,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:04:38] local.INFO: IMEI acknowledgment sent {"connection_id":106289,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:04:39] local.INFO: TCP Data received {"connection_id":106289,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc92c98012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc92c98012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:04:39] local.INFO: Processing buffer {"connection_id":106289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc92c98012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:04:39] local.INFO: Packet analysis {"connection_id":106289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc9"} 
[2026-06-18 23:04:39] local.INFO: Extracted packet for processing {"connection_id":106289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc9"} 
[2026-06-18 23:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141781504001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781803855000,"timestamp_ms":1781803855000,"timestamp_seconds":1781803855,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc92c98"} 
[2026-06-18 23:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 23:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141781504001,"66":28137,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141781504001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:04:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:04:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141781504001,"power":28137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":106289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:04:39] local.INFO: GPS data processed {"connection_id":106289,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:04:39] local.INFO: Acknowledgment sent {"connection_id":106289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:05:05] local.INFO: TCP Data received {"connection_id":108000,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:05:05] local.INFO: Processing buffer {"connection_id":108000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:05:05] local.INFO: Packet analysis {"connection_id":108000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:05:05] local.INFO: Extracted packet for processing {"connection_id":108000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:05:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:05] 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-06-18 23:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:05:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:05:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:05:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":108000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:05:05] local.INFO: GPS data processed {"connection_id":108000,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:05:05] local.INFO: Acknowledgment sent {"connection_id":108000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:05:11] local.INFO: TCP Data received {"connection_id":106289,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc97ea0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc97ea0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:05:11] local.INFO: Processing buffer {"connection_id":106289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc97ea0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:05:11] local.INFO: Packet analysis {"connection_id":106289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc9"} 
[2026-06-18 23:05:11] local.INFO: Extracted packet for processing {"connection_id":106289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc9"} 
[2026-06-18 23:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141786880001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781803876000,"timestamp_ms":1781803876000,"timestamp_seconds":1781803876,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc97ea0"} 
[2026-06-18 23:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 23:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106289,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141786880001,"66":28028,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141786880001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:05:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141786880001,"power":28028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":106289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347594,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:05:11] local.INFO: GPS data processed {"connection_id":106289,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:05:11] local.INFO: Acknowledgment sent {"connection_id":106289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:05:23] local.INFO: TCP Data received {"connection_id":106467,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:05:23] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:05:23] local.INFO: IMEI packet received {"connection_id":106467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":106467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:05:29] local.INFO: TCP Data received {"connection_id":106467,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:05:29] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:05:29] local.INFO: IMEI packet received {"connection_id":106467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":106467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:05:29] local.INFO: TCP Data received {"connection_id":106467,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:05:29] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:05:29] local.INFO: Packet analysis {"connection_id":106467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:05:29] local.INFO: Extracted packet for processing {"connection_id":106467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:05:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:29] 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-06-18 23:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:05:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:05:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":106467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:05:29] local.INFO: GPS data processed {"connection_id":106467,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:05:29] local.INFO: Acknowledgment sent {"connection_id":106467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:05:32] local.INFO: TCP Data received {"connection_id":107077,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:05:32] local.INFO: Processing buffer {"connection_id":107077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:05:32] local.INFO: IMEI packet received {"connection_id":107077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:05:32] local.INFO: IMEI acknowledgment sent {"connection_id":107077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:05:37] local.INFO: TCP Data received {"connection_id":107077,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:05:37] local.INFO: Processing buffer {"connection_id":107077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:05:37] local.INFO: IMEI packet received {"connection_id":107077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:05:37] local.INFO: IMEI acknowledgment sent {"connection_id":107077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:05:38] local.INFO: TCP Data received {"connection_id":107077,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbc9d0a8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbc9d0a8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:05:38] local.INFO: Processing buffer {"connection_id":107077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbc9d0a8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:05:38] local.INFO: Packet analysis {"connection_id":107077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbc9"} 
[2026-06-18 23:05:38] local.INFO: Extracted packet for processing {"connection_id":107077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbc9"} 
[2026-06-18 23:05:38] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:05:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141792256001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:05:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:05:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781803897000,"timestamp_ms":1781803897000,"timestamp_seconds":1781803897,"priority":1,"record_length":96,"hex_timestamp":"0000019edbc9d0a8"} 
[2026-06-18 23:05:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:05:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 23:05:38] 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-06-18 23: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-06-18 23:05:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:05:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:05:38] local.INFO: Teltonika packet parsed successfully {"connection_id":107077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:05:38] local.INFO: Passing IMEI to GPS processor {"connection_id":107077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:05:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":107077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:05:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:05:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:05:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:05:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141792256001,"66":27887,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:05:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:05:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:05:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141792256001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:05:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:05:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:05:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:05:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:05:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141792256001,"power":27887,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:05:38] local.INFO: DEBUG: GPS processor result {"connection_id":107077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347596,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:05:38] local.INFO: GPS data processed {"connection_id":107077,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:05:38] local.INFO: Acknowledgment sent {"connection_id":107077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:06:00] local.INFO: TCP Data received {"connection_id":106467,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:06:00] local.INFO: Processing buffer {"connection_id":106467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:06:00] local.INFO: Packet analysis {"connection_id":106467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:06:00] local.INFO: Extracted packet for processing {"connection_id":106467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:06:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:00] 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-06-18 23:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:06:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:06:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":106467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:06:00] local.INFO: GPS data processed {"connection_id":106467,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:06:00] local.INFO: Acknowledgment sent {"connection_id":106467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:06:10] local.INFO: TCP Data received {"connection_id":107077,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbca22b0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbca22b0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:10] local.INFO: Processing buffer {"connection_id":107077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbca22b0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:10] local.INFO: Packet analysis {"connection_id":107077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbca"} 
[2026-06-18 23:06:10] local.INFO: Extracted packet for processing {"connection_id":107077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbca"} 
[2026-06-18 23:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141797632001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781803918000,"timestamp_ms":1781803918000,"timestamp_seconds":1781803918,"priority":1,"record_length":96,"hex_timestamp":"0000019edbca22b0"} 
[2026-06-18 23:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:06:10] 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-06-18 23:06:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 23:06:10] 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-06-18 23:06:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141797632001,"66":28234,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141797632001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:06:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:06:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141797632001,"power":28234,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":107077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:06:10] local.INFO: GPS data processed {"connection_id":107077,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:06:10] local.INFO: Acknowledgment sent {"connection_id":107077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:06:24] local.INFO: TCP Data received {"connection_id":108001,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:06:24] local.INFO: Processing buffer {"connection_id":108001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:06:24] local.INFO: IMEI packet received {"connection_id":108001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":108001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:06:29] local.INFO: TCP Data received {"connection_id":108001,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:06:29] local.INFO: Processing buffer {"connection_id":108001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:06:29] local.INFO: IMEI packet received {"connection_id":108001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:06:29] local.INFO: IMEI acknowledgment sent {"connection_id":108001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:06:29] local.INFO: TCP Data received {"connection_id":108001,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:06:29] local.INFO: Processing buffer {"connection_id":108001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:06:29] local.INFO: Packet analysis {"connection_id":108001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:06:29] local.INFO: Extracted packet for processing {"connection_id":108001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:29] 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-06-18 23:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:06: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-06-18 23:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:06:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:06:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":108001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:06:29] local.INFO: GPS data processed {"connection_id":108001,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:06:29] local.INFO: Acknowledgment sent {"connection_id":108001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:06:38] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:06:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:06:38] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:06:38] local.INFO: IMEI packet received {"connection_id":106469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:06:38] local.INFO: IMEI acknowledgment sent {"connection_id":106469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:06:43] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:06:43] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:06:43] local.INFO: IMEI packet received {"connection_id":106469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":106469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:06:44] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbca74b8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbca74b8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:44] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbca74b8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:44] local.INFO: Packet analysis {"connection_id":106469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbca"} 
[2026-06-18 23:06:44] local.INFO: Extracted packet for processing {"connection_id":106469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbca"} 
[2026-06-18 23:06:44] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141803008001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781803939000,"timestamp_ms":1781803939000,"timestamp_seconds":1781803939,"priority":1,"record_length":96,"hex_timestamp":"0000019edbca74b8"} 
[2026-06-18 23:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:06:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:06:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-06-18 23:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:06:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141803008001,"66":28050,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141803008001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:06:44] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:06:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141803008001,"power":28050,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":106469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:06:44] local.INFO: GPS data processed {"connection_id":106469,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:06:44] local.INFO: Acknowledgment sent {"connection_id":106469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:06:48] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcac6c0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcac6c0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:48] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcac6c0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:48] local.INFO: Packet analysis {"connection_id":106469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbca"} 
[2026-06-18 23:06:48] local.INFO: Extracted packet for processing {"connection_id":106469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbca"} 
[2026-06-18 23:06:48] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141808384001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781803960000,"timestamp_ms":1781803960000,"timestamp_seconds":1781803960,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcac6c0"} 
[2026-06-18 23:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 23:06:48] 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-06-18 23:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141808384001,"66":28267,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141808384001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:06:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:06:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141808384001,"power":28267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":106469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:06:48] local.INFO: GPS data processed {"connection_id":106469,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:06:48] local.INFO: Acknowledgment sent {"connection_id":106469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:06:51] local.INFO: TCP Data received {"connection_id":106469,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb18c8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb18c8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:51] local.INFO: Processing buffer {"connection_id":106469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb18c8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:06:51] local.INFO: Packet analysis {"connection_id":106469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:06:51] local.INFO: Extracted packet for processing {"connection_id":106469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:06:51] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:06:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141813760001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:06:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:06:51] local.INFO: AVL Record Parsed {"raw_timestamp":1781803981000,"timestamp_ms":1781803981000,"timestamp_seconds":1781803981,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb18c8"} 
[2026-06-18 23:06:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:06:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:06:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:06:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:06:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:06:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:06:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:06:51] local.INFO: Teltonika packet parsed successfully {"connection_id":106469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:06:51] local.INFO: Passing IMEI to GPS processor {"connection_id":106469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:06:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":106469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:06:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:06:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:06:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:06:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141813760001,"66":28267,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:06:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:06:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:06:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141813760001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:06:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:06:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:06:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:06:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:06:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141813760001,"power":28267,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:06:51] local.INFO: DEBUG: GPS processor result {"connection_id":106469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:06:51] local.INFO: GPS data processed {"connection_id":106469,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:06:51] local.INFO: Acknowledgment sent {"connection_id":106469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:07:00] local.INFO: TCP Data received {"connection_id":108001,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:07:00] local.INFO: Processing buffer {"connection_id":108001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:07:00] local.INFO: Packet analysis {"connection_id":108001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:07:00] local.INFO: Extracted packet for processing {"connection_id":108001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:07:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:00] 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-06-18 23:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:07: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-06-18 23:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:07:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:07:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:07:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":108001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:07:00] local.INFO: GPS data processed {"connection_id":108001,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:07:00] local.INFO: Acknowledgment sent {"connection_id":108001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:07:23] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:07:23] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:07:23] local.INFO: IMEI packet received {"connection_id":106291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":106291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:07:29] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:07:29] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:07:29] local.INFO: IMEI packet received {"connection_id":106291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:07:29] local.INFO: IMEI acknowledgment sent {"connection_id":106291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:07:29] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:07:29] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:07:29] local.INFO: Packet analysis {"connection_id":106291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:07:29] local.INFO: Extracted packet for processing {"connection_id":106291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:07:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 23:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:29] 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-06-18 23:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 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-06-18 23:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 23:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23: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-06-18 23:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 23:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:07:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:07:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":106291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:07:29] local.INFO: GPS data processed {"connection_id":106291,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:07:29] local.INFO: Acknowledgment sent {"connection_id":106291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:07:30] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:30] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:30] local.INFO: IMEI packet received {"connection_id":107078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:07:30] local.INFO: IMEI acknowledgment sent {"connection_id":107078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:07:32] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:32] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:32] local.INFO: IMEI packet received {"connection_id":107078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:07:32] local.INFO: IMEI acknowledgment sent {"connection_id":107078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:07:38] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:38] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:07:38] local.INFO: IMEI packet received {"connection_id":107078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:07:38] local.INFO: IMEI acknowledgment sent {"connection_id":107078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:07:39] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb6ad0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb6ad0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:07:39] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb6ad0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:07:39] local.INFO: Packet analysis {"connection_id":107078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:07:39] local.INFO: Extracted packet for processing {"connection_id":107078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141819136001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804002000,"timestamp_ms":1781804002000,"timestamp_seconds":1781804002,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb6ad0"} 
[2026-06-18 23:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141819136001,"66":28137,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141819136001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:07:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:07:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141819136001,"power":28137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":107078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:07:39] local.INFO: GPS data processed {"connection_id":107078,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:07:39] local.INFO: Acknowledgment sent {"connection_id":107078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:08:01] local.INFO: TCP Data received {"connection_id":106291,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:08:01] local.INFO: Processing buffer {"connection_id":106291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:08:01] local.INFO: Packet analysis {"connection_id":106291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:08:01] local.INFO: Extracted packet for processing {"connection_id":106291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:08:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:01] 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-06-18 23:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:08:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:08:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:08: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-06-18 23:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"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-06-18 23:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:08:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:08:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":106291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:08:01] local.INFO: GPS data processed {"connection_id":106291,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:08:01] local.INFO: Acknowledgment sent {"connection_id":106291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:08:10] local.INFO: TCP Data received {"connection_id":107078,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcbbcd8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcbbcd8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:08:10] local.INFO: Processing buffer {"connection_id":107078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcbbcd8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:08:10] local.INFO: Packet analysis {"connection_id":107078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:08:10] local.INFO: Extracted packet for processing {"connection_id":107078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141824512001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781804023000,"timestamp_ms":1781804023000,"timestamp_seconds":1781804023,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcbbcd8"} 
[2026-06-18 23:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:08:10] 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-06-18 23:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-06-18 23:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107078,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141824512001,"66":28278,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141824512001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:08:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:08:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141824512001,"power":28278,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":107078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:08:11] local.INFO: GPS data processed {"connection_id":107078,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:08:11] local.INFO: Acknowledgment sent {"connection_id":107078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:08:23] local.INFO: TCP Data received {"connection_id":106292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:08:23] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:08:23] local.INFO: IMEI packet received {"connection_id":106292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:08:23] local.INFO: IMEI acknowledgment sent {"connection_id":106292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:08:29] local.INFO: TCP Data received {"connection_id":106292,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:08:29] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:08:29] local.INFO: IMEI packet received {"connection_id":106292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":106292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:08:29] local.INFO: TCP Data received {"connection_id":106292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:08:29] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcb4f78012cc3308007685ac8005e006d2a..."} 
[2026-06-18 23:08:29] local.INFO: Packet analysis {"connection_id":106292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:08:29] local.INFO: Extracted packet for processing {"connection_id":106292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:08:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141745664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:29] 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-06-18 23:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781803995000,"timestamp_ms":1781803995000,"timestamp_seconds":1781803995,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcb4f78"} 
[2026-06-18 23:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:08:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:08: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-06-18 23:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141745664001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141745664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:08:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:08:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141745664001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":106292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:08:29] local.INFO: GPS data processed {"connection_id":106292,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:08:29] local.INFO: Acknowledgment sent {"connection_id":106292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:08:32] local.INFO: TCP Data received {"connection_id":108003,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:32] local.INFO: Processing buffer {"connection_id":108003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:32] local.INFO: IMEI packet received {"connection_id":108003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":108003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:08:33] local.INFO: TCP Data received {"connection_id":108003,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:33] local.INFO: Processing buffer {"connection_id":108003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:33] local.INFO: IMEI packet received {"connection_id":108003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:08:33] local.INFO: IMEI acknowledgment sent {"connection_id":108003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:08:38] local.INFO: TCP Data received {"connection_id":108003,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:38] local.INFO: Processing buffer {"connection_id":108003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:08:38] local.INFO: IMEI packet received {"connection_id":108003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:08:38] local.INFO: IMEI acknowledgment sent {"connection_id":108003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:08:39] local.INFO: TCP Data received {"connection_id":108003,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcc0ee0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcc0ee0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:08:39] local.INFO: Processing buffer {"connection_id":108003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcc0ee0012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:08:39] local.INFO: Packet analysis {"connection_id":108003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcc"} 
[2026-06-18 23:08:39] local.INFO: Extracted packet for processing {"connection_id":108003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcc"} 
[2026-06-18 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141829888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804044000,"timestamp_ms":1781804044000,"timestamp_seconds":1781804044,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcc0ee0"} 
[2026-06-18 23:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 23:08:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":108003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":108003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":108003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141829888001,"66":28300,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141829888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:08:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:08:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141829888001,"power":28300,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":108003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347609,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:08:39] local.INFO: GPS data processed {"connection_id":108003,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:08:39] local.INFO: Acknowledgment sent {"connection_id":108003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:09:01] local.INFO: TCP Data received {"connection_id":106292,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:09:01] local.INFO: Processing buffer {"connection_id":106292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:09:01] local.INFO: Packet analysis {"connection_id":106292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:09:01] local.INFO: Extracted packet for processing {"connection_id":106292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:09:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:01] 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-06-18 23:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:09: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-06-18 23:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:09:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:09:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":106292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:09:01] local.INFO: GPS data processed {"connection_id":106292,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:09:01] local.INFO: Acknowledgment sent {"connection_id":106292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:09:04] local.INFO: TCP Data received {"connection_id":107079,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107079,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:09:04] local.INFO: Processing buffer {"connection_id":107079,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:09:04] local.INFO: IMEI packet received {"connection_id":107079,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":107079,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:09:05] local.INFO: TCP Data received {"connection_id":107079,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcbe3e8012da39b000602c8e00038010c27..."} 
[2026-06-18 23:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcbe3e8012da39b000602c8e00038010c27..."} 
[2026-06-18 23:09:05] local.INFO: Processing buffer {"connection_id":107079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcbe3e8012da39b000602c8e00038010c27..."} 
[2026-06-18 23:09:05] local.INFO: Packet analysis {"connection_id":107079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:09:05] local.INFO: Extracted packet for processing {"connection_id":107079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcb"} 
[2026-06-18 23:09:05] local.INFO: GPS Element Parsed {"raw_longitude":765696768,"raw_latitude":100845792,"longitude_deg":76.5696768,"latitude_deg":10.0845792,"altitude":56,"angle":268,"satellites":39,"speed":5,"hex_longitude":"2da39b00","hex_latitude":"0602c8e0","is_valid_coordinates":true} 
[2026-06-18 23:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141831936001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378831133016064,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6657375754599712768,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781804033000,"timestamp_ms":1781804033000,"timestamp_seconds":1781804033,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcbe3e8"} 
[2026-06-18 23:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-06-18 23:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:09: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-06-18 23:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141831936001,"66":12939,"236":206,"88":20992,"24":5,"16":94378831133016064,"45":-6657375754599712768},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141831936001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:09:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:09:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378831133016064,"km_value":94378831133016.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6657375754599712768,"description":"Unknown IO ID 45"} 
[2026-06-18 23:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141831936001,"power":12939,"unknown_236":206,"unknown_88":20992,"ignition":5,"odometer":null,"unknown_45":-6657375754599712768}} 
[2026-06-18 23:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":107079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347611,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:09:05] local.INFO: GPS data processed {"connection_id":107079,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:09:05] local.INFO: Acknowledgment sent {"connection_id":107079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:09:10] local.INFO: TCP Data received {"connection_id":108003,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcc60e8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcc60e8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:09:10] local.INFO: Processing buffer {"connection_id":108003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcc60e8012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:09:10] local.INFO: Packet analysis {"connection_id":108003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcc"} 
[2026-06-18 23:09:10] local.INFO: Extracted packet for processing {"connection_id":108003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcc"} 
[2026-06-18 23:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141835264001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781804065000,"timestamp_ms":1781804065000,"timestamp_seconds":1781804065,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcc60e8"} 
[2026-06-18 23:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:09:10] 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-06-18 23:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-06-18 23:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":108003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":108003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":108003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141835264001,"66":28300,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141835264001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:09:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:09:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141835264001,"power":28300,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":108003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:09:10] local.INFO: GPS data processed {"connection_id":108003,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:09:10] local.INFO: Acknowledgment sent {"connection_id":108003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:09:29] local.INFO: TCP Data received {"connection_id":106293,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:09:29] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:09:29] local.INFO: IMEI packet received {"connection_id":106293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:09:29] local.INFO: IMEI acknowledgment sent {"connection_id":106293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:09:32] local.INFO: TCP Data received {"connection_id":106470,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:09:32] local.INFO: Processing buffer {"connection_id":106470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:09:32] local.INFO: IMEI packet received {"connection_id":106470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":106470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:09:34] local.INFO: TCP Data received {"connection_id":106293,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:09:34] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:09:34] local.INFO: IMEI packet received {"connection_id":106293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:09:34] local.INFO: IMEI acknowledgment sent {"connection_id":106293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:09:34] local.INFO: TCP Data received {"connection_id":106293,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:09:34] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:09:34] local.INFO: Packet analysis {"connection_id":106293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:09:34] local.INFO: Extracted packet for processing {"connection_id":106293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:09:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:34] 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-06-18 23:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:09:34] 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-06-18 23:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:09:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:09:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:09:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":106293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:09:34] local.INFO: GPS data processed {"connection_id":106293,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:09:34] local.INFO: Acknowledgment sent {"connection_id":106293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:09:36] local.INFO: TCP Data received {"connection_id":107079,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd0c200012da398c00602ca38002d013423..."} 
[2026-06-18 23:09:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd0c200012da398c00602ca38002d013423..."} 
[2026-06-18 23:09:36] local.INFO: Processing buffer {"connection_id":107079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd0c200012da398c00602ca38002d013423..."} 
[2026-06-18 23:09:36] local.INFO: Packet analysis {"connection_id":107079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:09:36] local.INFO: Extracted packet for processing {"connection_id":107079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":765696192,"raw_latitude":100846136,"longitude_deg":76.5696192,"latitude_deg":10.0846136,"altitude":45,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2da398c0","hex_latitude":"0602ca38","is_valid_coordinates":true} 
[2026-06-18 23:09: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-06-18 23:09:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141914112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378856902819840,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658360917018134528,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:09:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781804352000,"timestamp_ms":1781804352000,"timestamp_seconds":1781804352,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd0c200"} 
[2026-06-18 23:09:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:09:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 23:09:36] 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-06-18 23: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-06-18 23:09:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:09:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:09:36] local.INFO: Teltonika packet parsed successfully {"connection_id":107079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:09:36] local.INFO: Passing IMEI to GPS processor {"connection_id":107079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:09:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":107079,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:09:36] 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-06-18 23:09:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:09:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:09:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141914112001,"66":2275,"236":206,"88":20992,"24":0,"16":94378856902819840,"45":-6658360917018134528},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:09:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:09:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:09:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141914112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:09:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:09:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:09:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378856902819840,"km_value":94378856902819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:09:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658360917018134528,"description":"Unknown IO ID 45"} 
[2026-06-18 23:09:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141914112001,"power":2275,"unknown_236":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6658360917018134528}} 
[2026-06-18 23:09:36] local.INFO: DEBUG: GPS processor result {"connection_id":107079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347614,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:09:36] local.INFO: GPS data processed {"connection_id":107079,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:09:36] local.INFO: Acknowledgment sent {"connection_id":107079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:09:37] local.INFO: TCP Data received {"connection_id":106470,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:09:37] local.INFO: Processing buffer {"connection_id":106470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:09:37] local.INFO: IMEI packet received {"connection_id":106470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:09:37] local.INFO: IMEI acknowledgment sent {"connection_id":106470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:09:39] local.INFO: TCP Data received {"connection_id":106470,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:09:39] local.INFO: Processing buffer {"connection_id":106470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:09:39] local.INFO: Packet analysis {"connection_id":106470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:09:39] local.INFO: Extracted packet for processing {"connection_id":106470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:09:39] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141894400001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:09:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:09:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:09:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 23:09:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:09:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:09:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141894400001,"66":27930,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141894400001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:09:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:09:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141894400001,"power":27930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":106470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:09:39] local.INFO: GPS data processed {"connection_id":106470,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:09:39] local.INFO: Acknowledgment sent {"connection_id":106470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:09:59] local.INFO: TCP Data received {"connection_id":108004,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:09:59] local.INFO: Processing buffer {"connection_id":108004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:09:59] local.INFO: IMEI packet received {"connection_id":108004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":108004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:10:04] local.INFO: TCP Data received {"connection_id":108004,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108004,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:10:04] local.INFO: Processing buffer {"connection_id":108004,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:10:04] local.INFO: IMEI packet received {"connection_id":108004,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":108004,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:10:05] local.INFO: TCP Data received {"connection_id":108004,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd0c200012da398c00602ca38002d013423..."} 
[2026-06-18 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd0c200012da398c00602ca38002d013423..."} 
[2026-06-18 23:10:05] local.INFO: Processing buffer {"connection_id":108004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd0c200012da398c00602ca38002d013423..."} 
[2026-06-18 23:10:05] local.INFO: Packet analysis {"connection_id":108004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:10:05] local.INFO: Extracted packet for processing {"connection_id":108004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":765696192,"raw_latitude":100846136,"longitude_deg":76.5696192,"latitude_deg":10.0846136,"altitude":45,"angle":308,"satellites":35,"speed":0,"hex_longitude":"2da398c0","hex_latitude":"0602ca38","is_valid_coordinates":true} 
[2026-06-18 23:10:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141914112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378856902819840,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658360917018134528,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781804352000,"timestamp_ms":1781804352000,"timestamp_seconds":1781804352,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd0c200"} 
[2026-06-18 23:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 23:10:05] 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-06-18 23: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-06-18 23:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:10: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-06-18 23:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141914112001,"66":2275,"236":206,"88":20992,"24":0,"16":94378856902819840,"45":-6658360917018134528},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141914112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:10:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:10:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378856902819840,"km_value":94378856902819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658360917018134528,"description":"Unknown IO ID 45"} 
[2026-06-18 23:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141914112001,"power":2275,"unknown_236":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6658360917018134528}} 
[2026-06-18 23:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":108004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347616,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:10:05] local.INFO: GPS data processed {"connection_id":108004,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:10:05] local.INFO: Acknowledgment sent {"connection_id":108004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:10:05] local.INFO: TCP Data received {"connection_id":106293,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:10:05] local.INFO: Processing buffer {"connection_id":106293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:10:05] local.INFO: Packet analysis {"connection_id":106293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:10:05] local.INFO: Extracted packet for processing {"connection_id":106293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:05] 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-06-18 23:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:10:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:10:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:10:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:10:05] 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-06-18 23:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:10:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:10:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:10:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":106293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:10:05] local.INFO: GPS data processed {"connection_id":106293,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:10:05] local.INFO: Acknowledgment sent {"connection_id":106293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:10:10] local.INFO: TCP Data received {"connection_id":106470,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd03948012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd03948012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:10:10] local.INFO: Processing buffer {"connection_id":106470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd03948012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:10:10] local.INFO: Packet analysis {"connection_id":106470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:10:10] local.INFO: Extracted packet for processing {"connection_id":106470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781804317000,"timestamp_ms":1781804317000,"timestamp_seconds":1781804317,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd03948"} 
[2026-06-18 23:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:10:10] 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-06-18 23:10:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 23:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:10:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":27887,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:10:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:10:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":27887,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":106470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:10:10] local.INFO: GPS data processed {"connection_id":106470,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:10:10] local.INFO: Acknowledgment sent {"connection_id":106470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:10:24] local.INFO: TCP Data received {"connection_id":107080,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:10:24] local.INFO: Processing buffer {"connection_id":107080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:10:24] local.INFO: IMEI packet received {"connection_id":107080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":107080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:10:29] local.INFO: TCP Data received {"connection_id":107080,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:10:29] local.INFO: Processing buffer {"connection_id":107080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:10:29] local.INFO: IMEI packet received {"connection_id":107080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":107080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:10:29] local.INFO: TCP Data received {"connection_id":107080,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:10:29] local.INFO: Processing buffer {"connection_id":107080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:10:29] local.INFO: Packet analysis {"connection_id":107080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:10:29] local.INFO: Extracted packet for processing {"connection_id":107080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:10:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:29] 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-06-18 23:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:10: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-06-18 23:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:10:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:10:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":107080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:10:29] local.INFO: GPS data processed {"connection_id":107080,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:10:29] local.INFO: Acknowledgment sent {"connection_id":107080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:10:32] local.INFO: TCP Data received {"connection_id":107081,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:10:32] local.INFO: Processing buffer {"connection_id":107081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:10:32] local.INFO: IMEI packet received {"connection_id":107081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:10:32] local.INFO: IMEI acknowledgment sent {"connection_id":107081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:10:36] local.INFO: TCP Data received {"connection_id":108004,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd11408012da396000602cb68002d013426..."} 
[2026-06-18 23:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd11408012da396000602cb68002d013426..."} 
[2026-06-18 23:10:36] local.INFO: Processing buffer {"connection_id":108004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd11408012da396000602cb68002d013426..."} 
[2026-06-18 23:10:36] local.INFO: Packet analysis {"connection_id":108004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:10:36] local.INFO: Extracted packet for processing {"connection_id":108004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:10:36] local.INFO: GPS Element Parsed {"raw_longitude":765695488,"raw_latitude":100846440,"longitude_deg":76.5695488,"latitude_deg":10.084644,"altitude":45,"angle":308,"satellites":38,"speed":0,"hex_longitude":"2da39600","hex_latitude":"0602cb68","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141914112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94378856902819840,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658360917018134528,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781804373000,"timestamp_ms":1781804373000,"timestamp_seconds":1781804373,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd11408"} 
[2026-06-18 23:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:10:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":8,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-06-18 23:10:36] 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-06-18 23: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-06-18 23:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108004,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:10:36] 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-06-18 23:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141914112001,"66":12743,"236":206,"88":20992,"24":0,"16":94378856902819840,"45":-6658360917018134528},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141914112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:10:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:10:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94378856902819840,"km_value":94378856902819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658360917018134528,"description":"Unknown IO ID 45"} 
[2026-06-18 23:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141914112001,"power":12743,"unknown_236":206,"unknown_88":20992,"ignition":0,"odometer":null,"unknown_45":-6658360917018134528}} 
[2026-06-18 23:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":108004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347620,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:10:36] local.INFO: GPS data processed {"connection_id":108004,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:10:36] local.INFO: Acknowledgment sent {"connection_id":108004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:10:38] local.INFO: TCP Data received {"connection_id":107081,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107081,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:10:38] local.INFO: Processing buffer {"connection_id":107081,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:10:38] local.INFO: IMEI packet received {"connection_id":107081,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":107081,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:10:39] local.INFO: TCP Data received {"connection_id":107081,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd08b50012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd08b50012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:10:39] local.INFO: Processing buffer {"connection_id":107081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd08b50012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:10:39] local.INFO: Packet analysis {"connection_id":107081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:10:39] local.INFO: Extracted packet for processing {"connection_id":107081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141905152001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:10:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804338000,"timestamp_ms":1781804338000,"timestamp_seconds":1781804338,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd08b50"} 
[2026-06-18 23:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 23:10:39] 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-06-18 23: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-06-18 23:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:10:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141905152001,"66":28028,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141905152001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:10:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:10:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141905152001,"power":28028,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":107081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347621,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:10:40] local.INFO: GPS data processed {"connection_id":107081,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:10:40] local.INFO: Acknowledgment sent {"connection_id":107081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:10:59] local.INFO: TCP Data received {"connection_id":106294,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:10:59] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:10:59] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:11:00] local.INFO: TCP Data received {"connection_id":106294,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:00] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:00] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:11:00] local.INFO: TCP Data received {"connection_id":107080,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:11:00] local.INFO: Processing buffer {"connection_id":107080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:11:00] local.INFO: Packet analysis {"connection_id":107080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:11:00] local.INFO: Extracted packet for processing {"connection_id":107080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:11:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:00] 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-06-18 23:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:11: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-06-18 23:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:11:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:11:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:11:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":107080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:11:00] local.INFO: GPS data processed {"connection_id":107080,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:11:00] local.INFO: Acknowledgment sent {"connection_id":107080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:11:03] local.INFO: TCP Data received {"connection_id":106294,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:03] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:03] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:11:04] local.INFO: TCP Data received {"connection_id":106294,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:04] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:11:04] local.INFO: IMEI packet received {"connection_id":106294,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":106294,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:11:05] local.INFO: TCP Data received {"connection_id":106294,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd20a20012da39a400602d6a0002a014e27..."} 
[2026-06-18 23:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd20a20012da39a400602d6a0002a014e27..."} 
[2026-06-18 23:11:05] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd20a20012da39a400602d6a0002a014e27..."} 
[2026-06-18 23:11:05] local.INFO: Packet analysis {"connection_id":106294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:11:05] local.INFO: Extracted packet for processing {"connection_id":106294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:11:05] local.INFO: GPS Element Parsed {"raw_longitude":765696576,"raw_latitude":100849312,"longitude_deg":76.5696576,"latitude_deg":10.0849312,"altitude":42,"angle":334,"satellites":39,"speed":10,"hex_longitude":"2da39a40","hex_latitude":"0602d6a0","is_valid_coordinates":true} 
[2026-06-18 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141935104001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94379015816609792,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6657868335808198656,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781804436000,"timestamp_ms":1781804436000,"timestamp_seconds":1781804436,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd20a20"} 
[2026-06-18 23:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:11: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-06-18 23:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":41,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-06-18 23:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1159,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:11: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-06-18 23:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141935104001,"66":11406,"236":206,"88":20992,"24":10,"16":94379015816609792,"45":-6657868335808198656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141935104001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:11:05] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:11:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94379015816609792,"km_value":94379015816609.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6657868335808198656,"description":"Unknown IO ID 45"} 
[2026-06-18 23:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141935104001,"power":11406,"unknown_236":206,"unknown_88":20992,"ignition":10,"odometer":null,"unknown_45":-6657868335808198656}} 
[2026-06-18 23:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":106294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347623,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:11:05] local.INFO: GPS data processed {"connection_id":106294,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:11:05] local.INFO: Acknowledgment sent {"connection_id":106294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:11:11] local.INFO: TCP Data received {"connection_id":107081,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd0dd58012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd0dd58012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:11:11] local.INFO: Processing buffer {"connection_id":107081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd0dd58012d34ce4006aa5120000b00002f..."} 
[2026-06-18 23:11:11] local.INFO: Packet analysis {"connection_id":107081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:11:11] local.INFO: Extracted packet for processing {"connection_id":107081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758435392,"raw_latitude":111825184,"longitude_deg":75.8435392,"latitude_deg":11.1825184,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d34ce40","hex_latitude":"06aa5120","is_valid_coordinates":true} 
[2026-06-18 23:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141910528001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676286353244160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781804359000,"timestamp_ms":1781804359000,"timestamp_seconds":1781804359,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd0dd58"} 
[2026-06-18 23:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-06-18 23:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107081,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141910528001,"66":27952,"106":206,"28":21760,"24":0,"16":124676286353244160,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141910528001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:11:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:11:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676286353244160,"km_value":124676286353244.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141910528001,"power":27952,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":107081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:11:11] local.INFO: GPS data processed {"connection_id":107081,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:11:11] local.INFO: Acknowledgment sent {"connection_id":107081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:11:23] local.INFO: TCP Data received {"connection_id":106471,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:11:23] local.INFO: Processing buffer {"connection_id":106471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:11:23] local.INFO: IMEI packet received {"connection_id":106471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":106471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:11:29] local.INFO: TCP Data received {"connection_id":106471,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:11:29] local.INFO: Processing buffer {"connection_id":106471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:11:29] local.INFO: IMEI packet received {"connection_id":106471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":106471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:11:29] local.INFO: TCP Data received {"connection_id":106471,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:11:29] local.INFO: Processing buffer {"connection_id":106471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:11:29] local.INFO: Packet analysis {"connection_id":106471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:11:29] local.INFO: Extracted packet for processing {"connection_id":106471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:11:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:29] 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-06-18 23:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:11:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:11:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":106471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:11:29] local.INFO: GPS data processed {"connection_id":106471,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:11:29] local.INFO: Acknowledgment sent {"connection_id":106471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:11:32] local.INFO: TCP Data received {"connection_id":106295,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:11:32] local.INFO: Processing buffer {"connection_id":106295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:11:32] local.INFO: IMEI packet received {"connection_id":106295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:11:32] local.INFO: IMEI acknowledgment sent {"connection_id":106295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:11:36] local.INFO: TCP Data received {"connection_id":106294,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd20e08012da399800602d788002a013827..."} 
[2026-06-18 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd20e08012da399800602d788002a013827..."} 
[2026-06-18 23:11:36] local.INFO: Processing buffer {"connection_id":106294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd20e08012da399800602d788002a013827..."} 
[2026-06-18 23:11:36] local.INFO: Packet analysis {"connection_id":106294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:11:36] local.INFO: Extracted packet for processing {"connection_id":106294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":765696384,"raw_latitude":100849544,"longitude_deg":76.5696384,"latitude_deg":10.0849544,"altitude":42,"angle":312,"satellites":39,"speed":11,"hex_longitude":"2da39980","hex_latitude":"0602d788","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141935616001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94379028701511680,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6657938704552255488,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781804437000,"timestamp_ms":1781804437000,"timestamp_seconds":1781804437,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd20e08"} 
[2026-06-18 23:11:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":44,"n8_eight_byte":142,"data_length":795,"current_offset":136} 
[2026-06-18 23:11:36] 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-06-18 23: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-06-18 23:11:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106294,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:11:36] 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-06-18 23:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141935616001,"66":11515,"236":206,"88":20992,"24":11,"16":94379028701511680,"45":-6657938704552255488},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141935616001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:11:36] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:11:36] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94379028701511680,"km_value":94379028701511.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6657938704552255488,"description":"Unknown IO ID 45"} 
[2026-06-18 23:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141935616001,"power":11515,"unknown_236":206,"unknown_88":20992,"ignition":11,"odometer":null,"unknown_45":-6657938704552255488}} 
[2026-06-18 23:11:36] local.INFO: DEBUG: GPS processor result {"connection_id":106294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347626,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:11:36] local.INFO: GPS data processed {"connection_id":106294,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:11:36] local.INFO: Acknowledgment sent {"connection_id":106294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:11:37] local.INFO: TCP Data received {"connection_id":106295,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:11:37] local.INFO: Processing buffer {"connection_id":106295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:11:37] local.INFO: IMEI packet received {"connection_id":106295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:11:37] local.INFO: IMEI acknowledgment sent {"connection_id":106295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:11:39] local.INFO: TCP Data received {"connection_id":106295,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd0f0e0012d34c5c006aa54d8000a001727..."} 
[2026-06-18 23:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd0f0e0012d34c5c006aa54d8000a001727..."} 
[2026-06-18 23:11:39] local.INFO: Processing buffer {"connection_id":106295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd0f0e0012d34c5c006aa54d8000a001727..."} 
[2026-06-18 23:11:39] local.INFO: Packet analysis {"connection_id":106295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:11:39] local.INFO: Extracted packet for processing {"connection_id":106295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758433216,"raw_latitude":111826136,"longitude_deg":75.8433216,"latitude_deg":11.1826136,"altitude":10,"angle":23,"satellites":39,"speed":4,"hex_longitude":"2d34c5c0","hex_latitude":"06aa54d8","is_valid_coordinates":true} 
[2026-06-18 23:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141915904001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676410907295744,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3805049132546072576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804364000,"timestamp_ms":1781804364000,"timestamp_seconds":1781804364,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd0f0e0"} 
[2026-06-18 23:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 23:11:39] 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-06-18 23:11:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141915904001,"66":27865,"106":206,"28":21760,"24":4,"16":124676410907295744,"45":3805049132546072576},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141915904001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:11:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:11:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676410907295744,"km_value":124676410907295.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3805049132546072576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141915904001,"power":27865,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3805049132546072576}} 
[2026-06-18 23:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":106295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:11:40] local.INFO: GPS data processed {"connection_id":106295,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:11:40] local.INFO: Acknowledgment sent {"connection_id":106295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:00] local.INFO: TCP Data received {"connection_id":106471,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:12:00] local.INFO: Processing buffer {"connection_id":106471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:12:00] local.INFO: Packet analysis {"connection_id":106471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:12:00] local.INFO: Extracted packet for processing {"connection_id":106471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:12:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:00] 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-06-18 23:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:12:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:12:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:12:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":106471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:12:00] local.INFO: GPS data processed {"connection_id":106471,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:12:00] local.INFO: Acknowledgment sent {"connection_id":106471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:06] local.INFO: TCP Data received {"connection_id":106472,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:06] local.INFO: Processing buffer {"connection_id":106472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:06] local.INFO: IMEI packet received {"connection_id":106472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":106472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:12:09] local.INFO: TCP Data received {"connection_id":106472,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106472,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:09] local.INFO: Processing buffer {"connection_id":106472,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:09] local.INFO: IMEI packet received {"connection_id":106472,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":106472,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:12:10] local.INFO: TCP Data received {"connection_id":106472,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd25070012da37e400602ef38002b013726..."} 
[2026-06-18 23:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd25070012da37e400602ef38002b013726..."} 
[2026-06-18 23:12:10] local.INFO: Processing buffer {"connection_id":106472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd25070012da37e400602ef38002b013726..."} 
[2026-06-18 23:12:10] local.INFO: Packet analysis {"connection_id":106472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:12:10] local.INFO: Extracted packet for processing {"connection_id":106472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:12:10] local.INFO: GPS Element Parsed {"raw_longitude":765689408,"raw_latitude":100855608,"longitude_deg":76.5689408,"latitude_deg":10.0855608,"altitude":43,"angle":311,"satellites":38,"speed":27,"hex_longitude":"2da37e40","hex_latitude":"0602ef38","is_valid_coordinates":true} 
[2026-06-18 23:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141935872001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94379475378110464,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6658149810784729088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781804454000,"timestamp_ms":1781804454000,"timestamp_seconds":1781804454,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd25070"} 
[2026-06-18 23:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-06-18 23:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:12:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:12:10] 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-06-18 23:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141935872001,"66":11743,"236":206,"88":20992,"24":27,"16":94379475378110464,"45":-6658149810784729088},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141935872001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:12:10] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:12:10] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94379475378110464,"km_value":94379475378110.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6658149810784729088,"description":"Unknown IO ID 45"} 
[2026-06-18 23:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141935872001,"power":11743,"unknown_236":206,"unknown_88":20992,"ignition":27,"odometer":null,"unknown_45":-6658149810784729088}} 
[2026-06-18 23:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":106472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347629,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:12:10] local.INFO: GPS data processed {"connection_id":106472,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:12:10] local.INFO: Acknowledgment sent {"connection_id":106472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:11] local.INFO: TCP Data received {"connection_id":106472,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd263f8012da374400602f9d8002c014727..."} 
[2026-06-18 23:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd263f8012da374400602f9d8002c014727..."} 
[2026-06-18 23:12:11] local.INFO: Processing buffer {"connection_id":106472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd263f8012da374400602f9d8002c014727..."} 
[2026-06-18 23:12:11] local.INFO: Packet analysis {"connection_id":106472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:12:11] local.INFO: Extracted packet for processing {"connection_id":106472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:12:11] local.INFO: GPS Element Parsed {"raw_longitude":765686848,"raw_latitude":100858328,"longitude_deg":76.5686848,"latitude_deg":10.0858328,"altitude":44,"angle":327,"satellites":39,"speed":27,"hex_longitude":"2da37440","hex_latitude":"0602f9d8","is_valid_coordinates":true} 
[2026-06-18 23:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141940224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94379655766736896,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6665820003898542080,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781804459000,"timestamp_ms":1781804459000,"timestamp_seconds":1781804459,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd263f8"} 
[2026-06-18 23:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 23:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:12: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-06-18 23:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141940224001,"66":11874,"236":206,"88":20992,"24":27,"16":94379655766736896,"45":-6665820003898542080},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141940224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:12:11] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:12:11] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94379655766736896,"km_value":94379655766736.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6665820003898542080,"description":"Unknown IO ID 45"} 
[2026-06-18 23:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141940224001,"power":11874,"unknown_236":206,"unknown_88":20992,"ignition":27,"odometer":null,"unknown_45":-6665820003898542080}} 
[2026-06-18 23:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":106472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347630,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:12:11] local.INFO: GPS data processed {"connection_id":106472,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:12:11] local.INFO: Acknowledgment sent {"connection_id":106472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:16] local.INFO: TCP Data received {"connection_id":106295,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd0f8b0012d34c68006aa55d0000a002d28..."} 
[2026-06-18 23:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd0f8b0012d34c68006aa55d0000a002d28..."} 
[2026-06-18 23:12:16] local.INFO: Processing buffer {"connection_id":106295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd0f8b0012d34c68006aa55d0000a002d28..."} 
[2026-06-18 23:12:16] local.INFO: Packet analysis {"connection_id":106295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:12:16] local.INFO: Extracted packet for processing {"connection_id":106295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:12:16] local.INFO: GPS Element Parsed {"raw_longitude":758433408,"raw_latitude":111826384,"longitude_deg":75.8433408,"latitude_deg":11.1826384,"altitude":10,"angle":45,"satellites":40,"speed":7,"hex_longitude":"2d34c680","hex_latitude":"06aa55d0","is_valid_coordinates":true} 
[2026-06-18 23:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141917184001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676428087164928,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802656595244275712,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781804366000,"timestamp_ms":1781804366000,"timestamp_seconds":1781804366,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd0f8b0"} 
[2026-06-18 23:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:12:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:12:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-06-18 23:12:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:12:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106295,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141917184001,"66":27376,"106":206,"28":21760,"24":7,"16":124676428087164928,"45":3802656595244275712},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141917184001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:12:16] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:12:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676428087164928,"km_value":124676428087164.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802656595244275712,"description":"Unknown IO ID 45"} 
[2026-06-18 23:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141917184001,"power":27376,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802656595244275712}} 
[2026-06-18 23:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":106295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:12:16] local.INFO: GPS data processed {"connection_id":106295,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:12:16] local.INFO: Acknowledgment sent {"connection_id":106295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:24] local.INFO: TCP Data received {"connection_id":108005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:12:24] local.INFO: Processing buffer {"connection_id":108005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:12:24] local.INFO: IMEI packet received {"connection_id":108005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:12:24] local.INFO: IMEI acknowledgment sent {"connection_id":108005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:12:29] local.INFO: TCP Data received {"connection_id":108005,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:12:29] local.INFO: Processing buffer {"connection_id":108005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:12:29] local.INFO: IMEI packet received {"connection_id":108005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":108005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:12:29] local.INFO: TCP Data received {"connection_id":108005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:12:29] local.INFO: Processing buffer {"connection_id":108005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:12:29] local.INFO: Packet analysis {"connection_id":108005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:12:29] local.INFO: Extracted packet for processing {"connection_id":108005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:29] 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-06-18 23:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:12:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:12:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":108005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:12:29] local.INFO: GPS data processed {"connection_id":108005,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:12:29] local.INFO: Acknowledgment sent {"connection_id":108005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:35] local.INFO: TCP Data received {"connection_id":106473,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:35] local.INFO: Processing buffer {"connection_id":106473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:35] local.INFO: IMEI packet received {"connection_id":106473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:12:35] local.INFO: IMEI acknowledgment sent {"connection_id":106473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:12:37] local.INFO: TCP Data received {"connection_id":106473,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:37] local.INFO: Processing buffer {"connection_id":106473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:37] local.INFO: IMEI packet received {"connection_id":106473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:12:37] local.INFO: IMEI acknowledgment sent {"connection_id":106473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:12:42] local.INFO: TCP Data received {"connection_id":106472,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd26fb0012da370c0060301d8002d015527..."} 
[2026-06-18 23:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd26fb0012da370c0060301d8002d015527..."} 
[2026-06-18 23:12:42] local.INFO: Processing buffer {"connection_id":106472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd26fb0012da370c0060301d8002d015527..."} 
[2026-06-18 23:12:42] local.INFO: Packet analysis {"connection_id":106472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:12:42] local.INFO: Extracted packet for processing {"connection_id":106472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:12:42] local.INFO: GPS Element Parsed {"raw_longitude":765685952,"raw_latitude":100860376,"longitude_deg":76.5685952,"latitude_deg":10.0860376,"altitude":45,"angle":341,"satellites":39,"speed":31,"hex_longitude":"2da370c0","hex_latitude":"060301d8","is_valid_coordinates":true} 
[2026-06-18 23:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141941504001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94379763140919296,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6668634753664952320,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781804462000,"timestamp_ms":1781804462000,"timestamp_seconds":1781804462,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd26fb0"} 
[2026-06-18 23:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 23:12:42] 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-06-18 23:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106472,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:12:42] 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-06-18 23:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141941504001,"66":11787,"236":206,"88":20992,"24":31,"16":94379763140919296,"45":-6668634753664952320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,88,24,16,45]} 
[2026-06-18 23:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141941504001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:12:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-06-18 23:12:42] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94379763140919296,"km_value":94379763140919.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6668634753664952320,"description":"Unknown IO ID 45"} 
[2026-06-18 23:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141941504001,"power":11787,"unknown_236":206,"unknown_88":20992,"ignition":31,"odometer":null,"unknown_45":-6668634753664952320}} 
[2026-06-18 23:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":106472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347633,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:12:42] local.INFO: GPS data processed {"connection_id":106472,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:12:42] local.INFO: Acknowledgment sent {"connection_id":106472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:42] local.INFO: TCP Data received {"connection_id":106473,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:42] local.INFO: Processing buffer {"connection_id":106473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:12:42] local.INFO: IMEI packet received {"connection_id":106473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":106473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:12:43] local.INFO: TCP Data received {"connection_id":106473,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd0fc98012d34c70006aa5648000a003926..."} 
[2026-06-18 23:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd0fc98012d34c70006aa5648000a003926..."} 
[2026-06-18 23:12:43] local.INFO: Processing buffer {"connection_id":106473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd0fc98012d34c70006aa5648000a003926..."} 
[2026-06-18 23:12:43] local.INFO: Packet analysis {"connection_id":106473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:12:43] local.INFO: Extracted packet for processing {"connection_id":106473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd0"} 
[2026-06-18 23:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111826504,"longitude_deg":75.8433536,"latitude_deg":11.1826504,"altitude":10,"angle":57,"satellites":38,"speed":7,"hex_longitude":"2d34c700","hex_latitude":"06aa5648","is_valid_coordinates":true} 
[2026-06-18 23:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141917696001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676436677099520,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802867701476872192,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781804367000,"timestamp_ms":1781804367000,"timestamp_seconds":1781804367,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd0fc98"} 
[2026-06-18 23:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:12:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-06-18 23:12: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-06-18 23:12:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141917696001,"66":27691,"106":206,"28":21760,"24":7,"16":124676436677099520,"45":3802867701476872192},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141917696001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:12:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:12:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676436677099520,"km_value":124676436677099.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802867701476872192,"description":"Unknown IO ID 45"} 
[2026-06-18 23:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141917696001,"power":27691,"unknown_106":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3802867701476872192}} 
[2026-06-18 23:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":106473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:12:43] local.INFO: GPS data processed {"connection_id":106473,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:12:43] local.INFO: Acknowledgment sent {"connection_id":106473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:48] local.INFO: TCP Data received {"connection_id":106473,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd10468012d34c90006aa56e8000a004a27..."} 
[2026-06-18 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd10468012d34c90006aa56e8000a004a27..."} 
[2026-06-18 23:12:48] local.INFO: Processing buffer {"connection_id":106473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd10468012d34c90006aa56e8000a004a27..."} 
[2026-06-18 23:12:48] local.INFO: Packet analysis {"connection_id":106473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:12:48] local.INFO: Extracted packet for processing {"connection_id":106473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:12:48] local.INFO: GPS Element Parsed {"raw_longitude":758434048,"raw_latitude":111826664,"longitude_deg":75.8434048,"latitude_deg":11.1826664,"altitude":10,"angle":74,"satellites":39,"speed":12,"hex_longitude":"2d34c900","hex_latitude":"06aa56e8","is_valid_coordinates":true} 
[2026-06-18 23:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141917952001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676462446903296,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438965258240,"note":"Value kept but may cause issues"} 
[2026-06-18 23:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781804369000,"timestamp_ms":1781804369000,"timestamp_seconds":1781804369,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd10468"} 
[2026-06-18 23:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:12:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 23:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:12:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141917952001,"66":27843,"106":206,"28":21760,"24":12,"16":124676462446903296,"45":3803008438965258240},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141917952001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:12:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:12:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676462446903296,"km_value":124676462446903.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438965258240,"description":"Unknown IO ID 45"} 
[2026-06-18 23:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141917952001,"power":27843,"unknown_106":206,"unknown_28":21760,"ignition":12,"odometer":null,"unknown_45":3803008438965258240}} 
[2026-06-18 23:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":106473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:12:48] local.INFO: GPS data processed {"connection_id":106473,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:12:48] local.INFO: Acknowledgment sent {"connection_id":106473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:12:59] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:59] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:12:59] local.INFO: IMEI packet received {"connection_id":106296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":106296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:13:00] local.INFO: TCP Data received {"connection_id":108005,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:13:00] local.INFO: Processing buffer {"connection_id":108005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:13:00] local.INFO: Packet analysis {"connection_id":108005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:13:00] local.INFO: Extracted packet for processing {"connection_id":108005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:13:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:00] 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-06-18 23:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:13: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-06-18 23:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:13:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:13:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":108005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:13:00] local.INFO: GPS data processed {"connection_id":108005,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:13:00] local.INFO: Acknowledgment sent {"connection_id":108005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:13:02] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:13:02] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:13:02] local.INFO: IMEI packet received {"connection_id":106296,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":106296,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:13:03] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd3ee80012da28cc00603da700033012821..."} 
[2026-06-18 23:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd3ee80012da28cc00603da700033012821..."} 
[2026-06-18 23:13:03] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd3ee80012da28cc00603da700033012821..."} 
[2026-06-18 23:13:03] local.INFO: Packet analysis {"connection_id":106296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:13:03] local.INFO: Extracted packet for processing {"connection_id":106296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:13:03] local.INFO: GPS Element Parsed {"raw_longitude":765627584,"raw_latitude":100915824,"longitude_deg":76.5627584,"latitude_deg":10.0915824,"altitude":51,"angle":296,"satellites":33,"speed":36,"hex_longitude":"2da28cc0","hex_latitude":"0603da70","is_valid_coordinates":true} 
[2026-06-18 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-06-18 23:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141964800001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94383843359850496,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6724859380249217024,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781804560000,"timestamp_ms":1781804560000,"timestamp_seconds":1781804560,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd3ee80"} 
[2026-06-18 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-06-18 23:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 23:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 23:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141964800001,"66":11178,"237":206,"88":20992,"24":36,"16":94383843359850496,"45":-6724859380249217024},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,88,24,16,45]} 
[2026-06-18 23:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141964800001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:13:03] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 23:13:03] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94383843359850496,"km_value":94383843359850.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6724859380249217024,"description":"Unknown IO ID 45"} 
[2026-06-18 23:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141964800001,"power":11178,"unknown_237":206,"unknown_88":20992,"ignition":36,"odometer":null,"unknown_45":-6724859380249217024}} 
[2026-06-18 23:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":106296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347637,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:13:03] local.INFO: GPS data processed {"connection_id":106296,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:13:03] local.INFO: Acknowledgment sent {"connection_id":106296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:13:23] local.INFO: TCP Data received {"connection_id":108006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:13:23] local.INFO: Processing buffer {"connection_id":108006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:13:23] local.INFO: IMEI packet received {"connection_id":108006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":108006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:13:29] local.INFO: TCP Data received {"connection_id":108006,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:13:29] local.INFO: Processing buffer {"connection_id":108006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:13:29] local.INFO: IMEI packet received {"connection_id":108006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:13:29] local.INFO: IMEI acknowledgment sent {"connection_id":108006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:13:29] local.INFO: TCP Data received {"connection_id":108006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:13:29] local.INFO: Processing buffer {"connection_id":108006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbcfe740012cc3308007685ac8005c006d2a..."} 
[2026-06-18 23:13:29] local.INFO: Packet analysis {"connection_id":108006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:13:29] local.INFO: Extracted packet for processing {"connection_id":108006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbcf"} 
[2026-06-18 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141822720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:29] 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-06-18 23:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804296000,"timestamp_ms":1781804296000,"timestamp_seconds":1781804296,"priority":1,"record_length":96,"hex_timestamp":"0000019edbcfe740"} 
[2026-06-18 23:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:13:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:13:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:13: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-06-18 23:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141822720001,"66":25549,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141822720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:13:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:13:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141822720001,"power":25549,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":108006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:13:29] local.INFO: GPS data processed {"connection_id":108006,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:13:29] local.INFO: Acknowledgment sent {"connection_id":108006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:13:32] local.INFO: TCP Data received {"connection_id":108007,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:13:32] local.INFO: Processing buffer {"connection_id":108007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:13:32] local.INFO: IMEI packet received {"connection_id":108007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:13:32] local.INFO: IMEI acknowledgment sent {"connection_id":108007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:13:34] local.INFO: TCP Data received {"connection_id":106296,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd41590012da26d400603ead00033012822..."} 
[2026-06-18 23:13:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd41590012da26d400603ead00033012822..."} 
[2026-06-18 23:13:34] local.INFO: Processing buffer {"connection_id":106296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd41590012da26d400603ead00033012822..."} 
[2026-06-18 23:13:34] local.INFO: Packet analysis {"connection_id":106296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:13:34] local.INFO: Extracted packet for processing {"connection_id":106296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:13:34] local.INFO: GPS Element Parsed {"raw_longitude":765619520,"raw_latitude":100920016,"longitude_deg":76.561952,"latitude_deg":10.0920016,"altitude":51,"angle":296,"satellites":34,"speed":36,"hex_longitude":"2da26d40","hex_latitude":"0603ead0","is_valid_coordinates":true} 
[2026-06-18 23:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:13:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141967360001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94384281446514688,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6733796210758750208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:13:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781804570000,"timestamp_ms":1781804570000,"timestamp_seconds":1781804570,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd41590"} 
[2026-06-18 23:13:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:13:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:13:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-06-18 23:13:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1943,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:13:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:13:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:13:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:13:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:13:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:13:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106296,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:13: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-06-18 23:13:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:13:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:13:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141967360001,"66":11917,"134":206,"88":20992,"24":36,"16":94384281446514688,"45":-6733796210758750208},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-06-18 23:13:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:13:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:13:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141967360001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:13:34] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 23:13:34] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:13:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94384281446514688,"km_value":94384281446514.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:13:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6733796210758750208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:13:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141967360001,"power":11917,"unknown_134":206,"unknown_88":20992,"ignition":36,"odometer":null,"unknown_45":-6733796210758750208}} 
[2026-06-18 23:13:34] local.INFO: DEBUG: GPS processor result {"connection_id":106296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347639,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:13:34] local.INFO: GPS data processed {"connection_id":106296,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:13:34] local.INFO: Acknowledgment sent {"connection_id":106296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:13:38] local.INFO: TCP Data received {"connection_id":108007,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:13:38] local.INFO: Processing buffer {"connection_id":108007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:13:38] local.INFO: IMEI packet received {"connection_id":108007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:13:38] local.INFO: IMEI acknowledgment sent {"connection_id":108007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:13:39] local.INFO: TCP Data received {"connection_id":108007,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd15670012d34e40006aa5b880009005028..."} 
[2026-06-18 23:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd15670012d34e40006aa5b880009005028..."} 
[2026-06-18 23:13:39] local.INFO: Processing buffer {"connection_id":108007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd15670012d34e40006aa5b880009005028..."} 
[2026-06-18 23:13:39] local.INFO: Packet analysis {"connection_id":108007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:13:39] local.INFO: Extracted packet for processing {"connection_id":108007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758440960,"raw_latitude":111827848,"longitude_deg":75.844096,"latitude_deg":11.1827848,"altitude":9,"angle":80,"satellites":40,"speed":10,"hex_longitude":"2d34e400","hex_latitude":"06aa5b88","is_valid_coordinates":true} 
[2026-06-18 23:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141918464001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124676793159385088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803571388918720512,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804390000,"timestamp_ms":1781804390000,"timestamp_seconds":1781804390,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd15670"} 
[2026-06-18 23:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 23:13: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-06-18 23:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":108007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":108007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":108007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141918464001,"66":27952,"106":206,"28":21760,"24":10,"16":124676793159385088,"45":3803571388918720512},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141918464001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:13:39] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:13:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124676793159385088,"km_value":124676793159385.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803571388918720512,"description":"Unknown IO ID 45"} 
[2026-06-18 23:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141918464001,"power":27952,"unknown_106":206,"unknown_28":21760,"ignition":10,"odometer":null,"unknown_45":3803571388918720512}} 
[2026-06-18 23:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":108007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:13:39] local.INFO: GPS data processed {"connection_id":108007,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:13:39] local.INFO: Acknowledgment sent {"connection_id":108007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:13:40] local.INFO: TCP Data received {"connection_id":108007,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd1a0a8012d34fb4006aa60580009004527..."} 
[2026-06-18 23:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd1a0a8012d34fb4006aa60580009004527..."} 
[2026-06-18 23:13:40] local.INFO: Processing buffer {"connection_id":108007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd1a0a8012d34fb4006aa60580009004527..."} 
[2026-06-18 23:13:40] local.INFO: Packet analysis {"connection_id":108007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:13:40] local.INFO: Extracted packet for processing {"connection_id":108007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758446912,"raw_latitude":111829080,"longitude_deg":75.8446912,"latitude_deg":11.182908,"altitude":9,"angle":69,"satellites":39,"speed":5,"hex_longitude":"2d34fb40","hex_latitude":"06aa6058","is_valid_coordinates":true} 
[2026-06-18 23:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141923840001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677085217161216,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3811171213290211328,"note":"Value kept but may cause issues"} 
[2026-06-18 23:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781804409000,"timestamp_ms":1781804409000,"timestamp_seconds":1781804409,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd1a0a8"} 
[2026-06-18 23:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 23:13:40] 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-06-18 23:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141923840001,"66":27626,"106":206,"28":21760,"24":5,"16":124677085217161216,"45":3811171213290211328},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141923840001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:13:40] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:13:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677085217161216,"km_value":124677085217161.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3811171213290211328,"description":"Unknown IO ID 45"} 
[2026-06-18 23:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141923840001,"power":27626,"unknown_106":206,"unknown_28":21760,"ignition":5,"odometer":null,"unknown_45":3811171213290211328}} 
[2026-06-18 23:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":108007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:13:40] local.INFO: GPS data processed {"connection_id":108007,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:13:40] local.INFO: Acknowledgment sent {"connection_id":108007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:13:59] local.INFO: TCP Data received {"connection_id":107082,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:13:59] local.INFO: Processing buffer {"connection_id":107082,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:13:59] local.INFO: IMEI packet received {"connection_id":107082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":107082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:14:00] local.INFO: TCP Data received {"connection_id":107082,"ip":"42.106.6.48","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 23:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107082,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 23:14:00] local.INFO: Processing buffer {"connection_id":107082,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 23:14:00] local.INFO: IMEI packet received {"connection_id":107082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":107082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:14:00] local.INFO: TCP Data received {"connection_id":108006,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:14:00] local.INFO: Processing buffer {"connection_id":108006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:14:00] local.INFO: Packet analysis {"connection_id":108006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:00] local.INFO: Extracted packet for processing {"connection_id":108006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:00] 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-06-18 23:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:14: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-06-18 23:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:14:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:14:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:14:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":108006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:14:00] local.INFO: GPS data processed {"connection_id":108006,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:14:00] local.INFO: Acknowledgment sent {"connection_id":108006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:14:04] local.INFO: TCP Data received {"connection_id":107082,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107082,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:04] local.INFO: Processing buffer {"connection_id":107082,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 23:14:04] local.INFO: IMEI packet received {"connection_id":107082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":107082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:14:05] local.INFO: TCP Data received {"connection_id":107082,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd43ca0012da24cc00603fcd00034012c23..."} 
[2026-06-18 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd43ca0012da24cc00603fcd00034012c23..."} 
[2026-06-18 23:14:05] local.INFO: Processing buffer {"connection_id":107082,"buffer_length":812,"buffer_hex":"000f383632353637303732343036393332000000000000030f8e0a0000019edb..."} 
[2026-06-18 23:14:05] local.INFO: IMEI packet received {"connection_id":107082,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":107082,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:14:09] local.INFO: TCP Data received {"connection_id":107082,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd463b0012da22bc0060410980038012f23..."} 
[2026-06-18 23:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd463b0012da22bc0060410980038012f23..."} 
[2026-06-18 23:14:09] local.INFO: Processing buffer {"connection_id":107082,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019edbd43ca0012da24cc00603fcd00034012c23..."} 
[2026-06-18 23:14:09] local.INFO: Packet analysis {"connection_id":107082,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:09] local.INFO: Extracted packet for processing {"connection_id":107082,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:09] local.INFO: GPS Element Parsed {"raw_longitude":765611200,"raw_latitude":100924624,"longitude_deg":76.56112,"latitude_deg":10.0924624,"altitude":52,"angle":300,"satellites":35,"speed":38,"hex_longitude":"2da24cc0","hex_latitude":"0603fcd0","is_valid_coordinates":true} 
[2026-06-18 23:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141969920001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94384736713048064,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6742662672524062720,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781804580000,"timestamp_ms":1781804580000,"timestamp_seconds":1781804580,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd43ca0"} 
[2026-06-18 23:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:14:09] 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-06-18 23:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141969920001,"66":11961,"134":206,"88":20992,"24":38,"16":94384736713048064,"45":-6742662672524062720},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-06-18 23:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141969920001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:14:09] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 23:14:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94384736713048064,"km_value":94384736713048.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6742662672524062720,"description":"Unknown IO ID 45"} 
[2026-06-18 23:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141969920001,"power":11961,"unknown_134":206,"unknown_88":20992,"ignition":38,"odometer":null,"unknown_45":-6742662672524062720}} 
[2026-06-18 23:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":107082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347643,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:14:09] local.INFO: GPS data processed {"connection_id":107082,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:14:09] local.INFO: Acknowledgment sent {"connection_id":107082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:14:09] local.INFO: Packet analysis {"connection_id":107082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:09] local.INFO: Extracted packet for processing {"connection_id":107082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:09] local.INFO: GPS Element Parsed {"raw_longitude":765602752,"raw_latitude":100929688,"longitude_deg":76.5602752,"latitude_deg":10.0929688,"altitude":56,"angle":303,"satellites":35,"speed":40,"hex_longitude":"2da22bc0","hex_latitude":"06041098","is_valid_coordinates":true} 
[2026-06-18 23:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141972480001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94385209159450624,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6751810609265979392,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781804590000,"timestamp_ms":1781804590000,"timestamp_seconds":1781804590,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd463b0"} 
[2026-06-18 23:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-06-18 23:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2093,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141972480001,"66":12135,"134":206,"88":20992,"24":40,"16":94385209159450624,"45":-6751810609265979392},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-06-18 23:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141972480001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:14:09] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 23:14:09] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94385209159450624,"km_value":94385209159450.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6751810609265979392,"description":"Unknown IO ID 45"} 
[2026-06-18 23:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141972480001,"power":12135,"unknown_134":206,"unknown_88":20992,"ignition":40,"odometer":null,"unknown_45":-6751810609265979392}} 
[2026-06-18 23:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":107082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347644,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:14:09] local.INFO: GPS data processed {"connection_id":107082,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:14:09] local.INFO: Acknowledgment sent {"connection_id":107082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:14:11] local.INFO: TCP Data received {"connection_id":108007,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd1f2b0012d34fcc006aa61200008004526..."} 
[2026-06-18 23:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd1f2b0012d34fcc006aa61200008004526..."} 
[2026-06-18 23:14:11] local.INFO: Processing buffer {"connection_id":108007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd1f2b0012d34fcc006aa61200008004526..."} 
[2026-06-18 23:14:11] local.INFO: Packet analysis {"connection_id":108007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:14:11] local.INFO: Extracted packet for processing {"connection_id":108007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd1"} 
[2026-06-18 23:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758447296,"raw_latitude":111829280,"longitude_deg":75.8447296,"latitude_deg":11.182928,"altitude":8,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d34fcc0","hex_latitude":"06aa6120","is_valid_coordinates":true} 
[2026-06-18 23:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141928704001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3817715506499049472,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781804430000,"timestamp_ms":1781804430000,"timestamp_seconds":1781804430,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd1f2b0"} 
[2026-06-18 23:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 23:14:11] 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-06-18 23:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141928704001,"66":27887,"106":206,"28":21760,"24":0,"16":124677106691997696,"45":3817715506499049472},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-06-18 23:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141928704001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:14:11] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-06-18 23:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3817715506499049472,"description":"Unknown IO ID 45"} 
[2026-06-18 23:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141928704001,"power":27887,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3817715506499049472}} 
[2026-06-18 23:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":108007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:14:12] local.INFO: GPS data processed {"connection_id":108007,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:14:12] local.INFO: Acknowledgment sent {"connection_id":108007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:14:29] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:14:29] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:14:29] local.INFO: IMEI packet received {"connection_id":106297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:14:29] local.INFO: IMEI acknowledgment sent {"connection_id":106297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:14:32] local.INFO: TCP Data received {"connection_id":107083,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:14:32] local.INFO: Processing buffer {"connection_id":107083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:14:32] local.INFO: IMEI packet received {"connection_id":107083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":107083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:14:34] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:14:34] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:14:34] local.INFO: IMEI packet received {"connection_id":106297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":106297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:14:34] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:14:34] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:14:34] local.INFO: Packet analysis {"connection_id":106297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:34] local.INFO: Extracted packet for processing {"connection_id":106297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:34] 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-06-18 23:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:14:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:14:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:14:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:14:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:14:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:14:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":106297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:14:34] local.INFO: GPS data processed {"connection_id":106297,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:14:34] local.INFO: Acknowledgment sent {"connection_id":106297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:14:37] local.INFO: TCP Data received {"connection_id":107083,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:14:37] local.INFO: Processing buffer {"connection_id":107083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:14:37] local.INFO: IMEI packet received {"connection_id":107083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:14:37] local.INFO: IMEI acknowledgment sent {"connection_id":107083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:14:39] local.INFO: TCP Data received {"connection_id":107083,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd244b8012d34fcc006aa61200008004526..."} 
[2026-06-18 23:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd244b8012d34fcc006aa61200008004526..."} 
[2026-06-18 23:14:39] local.INFO: Processing buffer {"connection_id":107083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd244b8012d34fcc006aa61200008004526..."} 
[2026-06-18 23:14:39] local.INFO: Packet analysis {"connection_id":107083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:14:39] local.INFO: Extracted packet for processing {"connection_id":107083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758447296,"raw_latitude":111829280,"longitude_deg":75.8447296,"latitude_deg":11.182928,"altitude":8,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d34fcc0","hex_latitude":"06aa6120","is_valid_coordinates":true} 
[2026-06-18 23:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141934080001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3818137718964166656,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804451000,"timestamp_ms":1781804451000,"timestamp_seconds":1781804451,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd244b8"} 
[2026-06-18 23:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 23:14:39] 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-06-18 23:14:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141934080001,"66":27571,"104":206,"28":21760,"24":0,"16":124677106691997696,"45":3818137718964166656},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141934080001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:14:39] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:14:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3818137718964166656,"description":"Unknown IO ID 45"} 
[2026-06-18 23:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141934080001,"power":27571,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3818137718964166656}} 
[2026-06-18 23:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":107083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:14:39] local.INFO: GPS data processed {"connection_id":107083,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:14:39] local.INFO: Acknowledgment sent {"connection_id":107083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:14:40] local.INFO: TCP Data received {"connection_id":107082,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd486d8012da20d4006042498003b013025..."} 
[2026-06-18 23:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd486d8012da20d4006042498003b013025..."} 
[2026-06-18 23:14:40] local.INFO: Processing buffer {"connection_id":107082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd486d8012da20d4006042498003b013025..."} 
[2026-06-18 23:14:40] local.INFO: Packet analysis {"connection_id":107082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:40] local.INFO: Extracted packet for processing {"connection_id":107082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:14:40] local.INFO: GPS Element Parsed {"raw_longitude":765594944,"raw_latitude":100934808,"longitude_deg":76.5594944,"latitude_deg":10.0934808,"altitude":59,"angle":304,"satellites":37,"speed":41,"hex_longitude":"2da20d40","hex_latitude":"06042498","is_valid_coordinates":true} 
[2026-06-18 23:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141975040001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94385655836049408,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6761099283496134656,"note":"Value kept but may cause issues"} 
[2026-06-18 23:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781804599000,"timestamp_ms":1781804599000,"timestamp_seconds":1781804599,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd486d8"} 
[2026-06-18 23:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 23:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107082,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141975040001,"66":11917,"134":206,"88":20992,"24":41,"16":94385655836049408,"45":-6761099283496134656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-06-18 23:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141975040001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:14:40] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 23:14:40] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94385655836049408,"km_value":94385655836049.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6761099283496134656,"description":"Unknown IO ID 45"} 
[2026-06-18 23:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141975040001,"power":11917,"unknown_134":206,"unknown_88":20992,"ignition":41,"odometer":null,"unknown_45":-6761099283496134656}} 
[2026-06-18 23:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":107082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347648,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:14:40] local.INFO: GPS data processed {"connection_id":107082,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:14:40] local.INFO: Acknowledgment sent {"connection_id":107082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:14:57] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:57] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:57] local.INFO: IMEI packet received {"connection_id":106298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":106298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:14:58] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:58] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:58] local.INFO: IMEI packet received {"connection_id":106298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":106298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:14:59] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:59] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:14:59] local.INFO: IMEI packet received {"connection_id":106298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":106298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:15:04] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:15:04] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:15:04] local.INFO: IMEI packet received {"connection_id":106298,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":106298,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:15:05] local.INFO: TCP Data received {"connection_id":106297,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:15:05] local.INFO: Processing buffer {"connection_id":106297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:15:05] local.INFO: Packet analysis {"connection_id":106297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:15:05] local.INFO: Extracted packet for processing {"connection_id":106297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:05] 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-06-18 23:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:15:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:15:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:15:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":106297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:15:05] local.INFO: GPS data processed {"connection_id":106297,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:15:05] local.INFO: Acknowledgment sent {"connection_id":106297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:15:06] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd4aa00012da1ee8006043908003d013027..."} 
[2026-06-18 23:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd4aa00012da1ee8006043908003d013027..."} 
[2026-06-18 23:15:06] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd4aa00012da1ee8006043908003d013027..."} 
[2026-06-18 23:15:06] local.INFO: Packet analysis {"connection_id":106298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:15:06] local.INFO: Extracted packet for processing {"connection_id":106298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":765587072,"raw_latitude":100940040,"longitude_deg":76.5587072,"latitude_deg":10.094004,"altitude":61,"angle":304,"satellites":39,"speed":42,"hex_longitude":"2da1ee80","hex_latitude":"06043908","is_valid_coordinates":true} 
[2026-06-18 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141977344001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94386106807615488,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6769684270284498944,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,134,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781804608000,"timestamp_ms":1781804608000,"timestamp_seconds":1781804608,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd4aa00"} 
[2026-06-18 23:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:15: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-06-18 23:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":106298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":106298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":106298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:15:06] 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-06-18 23:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141977344001,"66":12058,"134":206,"88":20992,"24":42,"16":94386106807615488,"45":-6769684270284498944},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,134,88,24,16,45]} 
[2026-06-18 23:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141977344001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:15:06] local.INFO: Unknown IO ID detected {"io_id":134,"value":206,"description":"Unknown IO ID 134"} 
[2026-06-18 23:15:06] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94386106807615488,"km_value":94386106807615.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6769684270284498944,"description":"Unknown IO ID 45"} 
[2026-06-18 23:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141977344001,"power":12058,"unknown_134":206,"unknown_88":20992,"ignition":42,"odometer":null,"unknown_45":-6769684270284498944}} 
[2026-06-18 23:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":106298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347650,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:15:06] local.INFO: GPS data processed {"connection_id":106298,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:15:06] local.INFO: Acknowledgment sent {"connection_id":106298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:15:11] local.INFO: TCP Data received {"connection_id":107083,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd32b300100000000000000000000000000..."} 
[2026-06-18 23:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd32b300100000000000000000000000000..."} 
[2026-06-18 23:15:11] local.INFO: Processing buffer {"connection_id":107083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd32b300100000000000000000000000000..."} 
[2026-06-18 23:15:11] local.INFO: Packet analysis {"connection_id":107083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:15:11] local.INFO: Extracted packet for processing {"connection_id":107083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:15:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141939456001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3818137718964166656,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781804510000,"timestamp_ms":1781804510000,"timestamp_seconds":1781804510,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd32b30"} 
[2026-06-18 23:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:15:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 23:15: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-06-18 23:15:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107083,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":107083,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:15:11] local.INFO: GPS data processed {"connection_id":107083,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:15:11] local.INFO: Acknowledgment sent {"connection_id":107083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:15:23] local.INFO: TCP Data received {"connection_id":106474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:15:23] local.INFO: Processing buffer {"connection_id":106474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:15:23] local.INFO: IMEI packet received {"connection_id":106474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":106474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:15:29] local.INFO: TCP Data received {"connection_id":106474,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:15:29] local.INFO: Processing buffer {"connection_id":106474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:15:29] local.INFO: IMEI packet received {"connection_id":106474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:15:29] local.INFO: IMEI acknowledgment sent {"connection_id":106474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:15:29] local.INFO: TCP Data received {"connection_id":106474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:15:29] local.INFO: Processing buffer {"connection_id":106474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:15:29] local.INFO: Packet analysis {"connection_id":106474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:15:29] local.INFO: Extracted packet for processing {"connection_id":106474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:29] 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-06-18 23:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:15:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:15:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":106474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:15:29] local.INFO: GPS data processed {"connection_id":106474,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:15:29] local.INFO: Acknowledgment sent {"connection_id":106474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:15:32] local.INFO: TCP Data received {"connection_id":108008,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:15:32] local.INFO: Processing buffer {"connection_id":108008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:15:32] local.INFO: IMEI packet received {"connection_id":108008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:15:32] local.INFO: IMEI acknowledgment sent {"connection_id":108008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:15:38] local.INFO: TCP Data received {"connection_id":106298,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd64810012da084c00604c258002b01281f..."} 
[2026-06-18 23:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd64810012da084c00604c258002b01281f..."} 
[2026-06-18 23:15:38] local.INFO: Processing buffer {"connection_id":106298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd64810012da084c00604c258002b01281f..."} 
[2026-06-18 23:15:38] local.INFO: Packet analysis {"connection_id":106298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd6"} 
[2026-06-18 23:15:38] local.INFO: Extracted packet for processing {"connection_id":106298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd6"} 
[2026-06-18 23:15:38] local.INFO: GPS Element Parsed {"raw_longitude":765494464,"raw_latitude":100975192,"longitude_deg":76.5494464,"latitude_deg":10.0975192,"altitude":43,"angle":296,"satellites":31,"speed":47,"hex_longitude":"2da084c0","hex_latitude":"0604c258","is_valid_coordinates":true} 
[2026-06-18 23:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:15:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142004224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94390891401183232,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6869748624495638528,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:15:38] local.INFO: AVL Record Parsed {"raw_timestamp":1781804714000,"timestamp_ms":1781804714000,"timestamp_seconds":1781804714,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd64810"} 
[2026-06-18 23:15:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:15:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:15:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 23:15:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:15:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:15:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:15:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:15:38] local.INFO: Teltonika packet parsed successfully {"connection_id":106298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:15:38] local.INFO: Passing IMEI to GPS processor {"connection_id":106298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:15:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":106298,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:15:38] 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-06-18 23:15:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:15:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:15:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142004224001,"66":11721,"135":206,"88":20992,"24":47,"16":94390891401183232,"45":-6869748624495638528},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-06-18 23:15:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:15:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:15:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142004224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:15:38] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:15:38] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:15:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94390891401183232,"km_value":94390891401183.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:15:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6869748624495638528,"description":"Unknown IO ID 45"} 
[2026-06-18 23:15:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142004224001,"power":11721,"unknown_135":206,"unknown_88":20992,"ignition":47,"odometer":null,"unknown_45":-6869748624495638528}} 
[2026-06-18 23:15:38] local.INFO: TCP Data received {"connection_id":108008,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:15:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:15:38] local.INFO: Processing buffer {"connection_id":108008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:15:38] local.INFO: IMEI packet received {"connection_id":108008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:15:38] local.INFO: IMEI acknowledgment sent {"connection_id":108008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:15:38] local.INFO: DEBUG: GPS processor result {"connection_id":106298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347652,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:15:38] local.INFO: GPS data processed {"connection_id":106298,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:15:38] local.INFO: Acknowledgment sent {"connection_id":106298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:15:40] local.INFO: TCP Data received {"connection_id":108008,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd29aa8012d3530c006aa5ac00010007027..."} 
[2026-06-18 23:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd29aa8012d3530c006aa5ac00010007027..."} 
[2026-06-18 23:15:40] local.INFO: Processing buffer {"connection_id":108008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd29aa8012d3530c006aa5ac00010007027..."} 
[2026-06-18 23:15:40] local.INFO: Packet analysis {"connection_id":108008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:15:40] local.INFO: Extracted packet for processing {"connection_id":108008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758460608,"raw_latitude":111827648,"longitude_deg":75.8460608,"latitude_deg":11.1827648,"altitude":16,"angle":112,"satellites":39,"speed":25,"hex_longitude":"2d3530c0","hex_latitude":"06aa5ac0","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:15:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781804473000,"timestamp_ms":1781804473000,"timestamp_seconds":1781804473,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd29aa8"} 
[2026-06-18 23:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 23:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"104":206,"28":21760,"24":25,"16":124677106691997696},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16]} 
[2026-06-18 23:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:15:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:15:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:15:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_104":206,"unknown_28":21760,"ignition":25,"odometer":null}} 
[2026-06-18 23:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":108008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:15:40] local.INFO: GPS data processed {"connection_id":108008,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:15:40] local.INFO: Acknowledgment sent {"connection_id":108008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:16:00] local.INFO: TCP Data received {"connection_id":108009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:00] local.INFO: Processing buffer {"connection_id":108009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:00] local.INFO: IMEI packet received {"connection_id":108009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":108009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:16:00] local.INFO: TCP Data received {"connection_id":108009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:00] local.INFO: Processing buffer {"connection_id":108009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:00] local.INFO: IMEI packet received {"connection_id":108009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":108009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:16:00] local.INFO: TCP Data received {"connection_id":106474,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:16:00] local.INFO: Processing buffer {"connection_id":106474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:16:00] local.INFO: Packet analysis {"connection_id":106474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:16:00] local.INFO: Extracted packet for processing {"connection_id":106474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:16:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:00] 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-06-18 23:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:16:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:16:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:16:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":106474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:16:00] local.INFO: GPS data processed {"connection_id":106474,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:16:00] local.INFO: Acknowledgment sent {"connection_id":106474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:16:04] local.INFO: TCP Data received {"connection_id":108009,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108009,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:04] local.INFO: Processing buffer {"connection_id":108009,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:04] local.INFO: IMEI packet received {"connection_id":108009,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":108009,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:16:05] local.INFO: TCP Data received {"connection_id":108009,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd66750012da062c00604d4000026012b1d..."} 
[2026-06-18 23:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd66750012da062c00604d4000026012b1d..."} 
[2026-06-18 23:16:05] local.INFO: Processing buffer {"connection_id":108009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd66750012da062c00604d4000026012b1d..."} 
[2026-06-18 23:16:05] local.INFO: Packet analysis {"connection_id":108009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd6"} 
[2026-06-18 23:16:05] local.INFO: Extracted packet for processing {"connection_id":108009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd6"} 
[2026-06-18 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":765485760,"raw_latitude":100979712,"longitude_deg":76.548576,"latitude_deg":10.0979712,"altitude":38,"angle":299,"satellites":29,"speed":47,"hex_longitude":"2da062c0","hex_latitude":"0604d400","is_valid_coordinates":true} 
[2026-06-18 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142006784001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94391363847585792,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6880163198633093120,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781804722000,"timestamp_ms":1781804722000,"timestamp_seconds":1781804722,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd66750"} 
[2026-06-18 23:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 23:16:05] 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-06-18 23:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:16: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-06-18 23:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142006784001,"66":11950,"135":206,"88":20992,"24":47,"16":94391363847585792,"45":-6880163198633093120},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-06-18 23:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142006784001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:16:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:16:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94391363847585792,"km_value":94391363847585.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6880163198633093120,"description":"Unknown IO ID 45"} 
[2026-06-18 23:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142006784001,"power":11950,"unknown_135":206,"unknown_88":20992,"ignition":47,"odometer":null,"unknown_45":-6880163198633093120}} 
[2026-06-18 23:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":108009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347655,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:16:05] local.INFO: GPS data processed {"connection_id":108009,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:16:05] local.INFO: Acknowledgment sent {"connection_id":108009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:16:11] local.INFO: TCP Data received {"connection_id":108008,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd381200100000000000000000000000000..."} 
[2026-06-18 23:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd381200100000000000000000000000000..."} 
[2026-06-18 23:16:11] local.INFO: Processing buffer {"connection_id":108008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd381200100000000000000000000000000..."} 
[2026-06-18 23:16:11] local.INFO: Packet analysis {"connection_id":108008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:16:11] local.INFO: Extracted packet for processing {"connection_id":108008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:16:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141945088001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3832774417752702976,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781804532000,"timestamp_ms":1781804532000,"timestamp_seconds":1781804532,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd38120"} 
[2026-06-18 23:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 23:16:11] 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-06-18 23:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108008,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":108008,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:16:11] local.INFO: GPS data processed {"connection_id":108008,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:16:11] local.INFO: Acknowledgment sent {"connection_id":108008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:16:23] local.INFO: TCP Data received {"connection_id":106475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:16:23] local.INFO: Processing buffer {"connection_id":106475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:16:23] local.INFO: IMEI packet received {"connection_id":106475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":106475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:16:28] local.INFO: TCP Data received {"connection_id":106475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:16:28] local.INFO: Processing buffer {"connection_id":106475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:16:28] local.INFO: IMEI packet received {"connection_id":106475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":106475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:16:29] local.INFO: TCP Data received {"connection_id":106475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:16:29] local.INFO: Processing buffer {"connection_id":106475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:16:29] local.INFO: Packet analysis {"connection_id":106475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:16:29] local.INFO: Extracted packet for processing {"connection_id":106475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:29] 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-06-18 23:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:16:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:16:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:16:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":106475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:16:29] local.INFO: GPS data processed {"connection_id":106475,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:16:29] local.INFO: Acknowledgment sent {"connection_id":106475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:16:37] local.INFO: TCP Data received {"connection_id":108009,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd68690012da042000604e7000025012b1d..."} 
[2026-06-18 23:16:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd68690012da042000604e7000025012b1d..."} 
[2026-06-18 23:16:37] local.INFO: Processing buffer {"connection_id":108009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd68690012da042000604e7000025012b1d..."} 
[2026-06-18 23:16:37] local.INFO: Packet analysis {"connection_id":108009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd6"} 
[2026-06-18 23:16:37] local.INFO: Extracted packet for processing {"connection_id":108009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd6"} 
[2026-06-18 23:16:37] local.INFO: GPS Element Parsed {"raw_longitude":765477376,"raw_latitude":100984576,"longitude_deg":76.5477376,"latitude_deg":10.0984576,"altitude":37,"angle":299,"satellites":29,"speed":47,"hex_longitude":"2da04200","hex_latitude":"0604e700","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:16:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142008832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94391827704053760,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6889733347840098304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:16:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781804730000,"timestamp_ms":1781804730000,"timestamp_seconds":1781804730,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd68690"} 
[2026-06-18 23:16:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:16:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 23:16:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:16:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:16:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:16:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:16:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:16:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108009,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:16:37] 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-06-18 23:16:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:16:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:16:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142008832001,"66":11863,"135":206,"88":20992,"24":47,"16":94391827704053760,"45":-6889733347840098304},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-06-18 23:16:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:16:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:16:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142008832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:16:37] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:16:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:16:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94391827704053760,"km_value":94391827704053.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:16:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6889733347840098304,"description":"Unknown IO ID 45"} 
[2026-06-18 23:16:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142008832001,"power":11863,"unknown_135":206,"unknown_88":20992,"ignition":47,"odometer":null,"unknown_45":-6889733347840098304}} 
[2026-06-18 23:16:37] local.INFO: DEBUG: GPS processor result {"connection_id":108009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347657,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:16:37] local.INFO: GPS data processed {"connection_id":108009,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:16:37] local.INFO: Acknowledgment sent {"connection_id":108009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:16:38] local.INFO: TCP Data received {"connection_id":107084,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:16:38] local.INFO: Processing buffer {"connection_id":107084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:16:38] local.INFO: IMEI packet received {"connection_id":107084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":107084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:16:43] local.INFO: TCP Data received {"connection_id":107084,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:16:43] local.INFO: Processing buffer {"connection_id":107084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:16:43] local.INFO: IMEI packet received {"connection_id":107084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":107084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:16:44] local.INFO: TCP Data received {"connection_id":107084,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd2f098012d35708006aa3f500012007029..."} 
[2026-06-18 23:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd2f098012d35708006aa3f500012007029..."} 
[2026-06-18 23:16:44] local.INFO: Processing buffer {"connection_id":107084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd2f098012d35708006aa3f500012007029..."} 
[2026-06-18 23:16:44] local.INFO: Packet analysis {"connection_id":107084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:16:44] local.INFO: Extracted packet for processing {"connection_id":107084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd2"} 
[2026-06-18 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":758476928,"raw_latitude":111820624,"longitude_deg":75.8476928,"latitude_deg":11.1820624,"altitude":18,"angle":112,"satellites":41,"speed":36,"hex_longitude":"2d357080","hex_latitude":"06aa3f50","is_valid_coordinates":true} 
[2026-06-18 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781804495000,"timestamp_ms":1781804495000,"timestamp_seconds":1781804495,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd2f098"} 
[2026-06-18 23:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:16:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 23:16:44] 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-06-18 23:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":107084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":107084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":107084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"104":206,"28":21760,"24":36,"16":124677106691997696},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16]} 
[2026-06-18 23:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:16:44] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:16:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_104":206,"unknown_28":21760,"ignition":36,"odometer":null}} 
[2026-06-18 23:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":107084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:16:44] local.INFO: GPS data processed {"connection_id":107084,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:16:44] local.INFO: Acknowledgment sent {"connection_id":107084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:16:53] local.INFO: TCP Data received {"connection_id":107084,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd342a0012d35b14006aa2368000f007028..."} 
[2026-06-18 23:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd342a0012d35b14006aa2368000f007028..."} 
[2026-06-18 23:16:53] local.INFO: Processing buffer {"connection_id":107084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd342a0012d35b14006aa2368000f007028..."} 
[2026-06-18 23:16:53] local.INFO: Packet analysis {"connection_id":107084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:16:53] local.INFO: Extracted packet for processing {"connection_id":107084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:16:53] local.INFO: GPS Element Parsed {"raw_longitude":758493504,"raw_latitude":111813480,"longitude_deg":75.8493504,"latitude_deg":11.181348,"altitude":15,"angle":112,"satellites":40,"speed":0,"hex_longitude":"2d35b140","hex_latitude":"06aa2368","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141950720001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3850718447516209152,"note":"Value kept but may cause issues"} 
[2026-06-18 23:16:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1781804516000,"timestamp_ms":1781804516000,"timestamp_seconds":1781804516,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd342a0"} 
[2026-06-18 23:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:16:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:16:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":107084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":107084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":107084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141950720001,"66":27887,"104":206,"28":21760,"24":0,"16":124677106691997696,"45":3850718447516209152},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141950720001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:16:53] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:16:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":3850718447516209152,"description":"Unknown IO ID 45"} 
[2026-06-18 23:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141950720001,"power":27887,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3850718447516209152}} 
[2026-06-18 23:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":107084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:16:53] local.INFO: GPS data processed {"connection_id":107084,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:16:53] local.INFO: Acknowledgment sent {"connection_id":107084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:16:57] local.INFO: TCP Data received {"connection_id":106476,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:57] local.INFO: Processing buffer {"connection_id":106476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:57] local.INFO: IMEI packet received {"connection_id":106476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":106476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:16:59] local.INFO: TCP Data received {"connection_id":106476,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:59] local.INFO: Processing buffer {"connection_id":106476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:16:59] local.INFO: IMEI packet received {"connection_id":106476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":106476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:17:00] local.INFO: TCP Data received {"connection_id":106475,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:17:00] local.INFO: Processing buffer {"connection_id":106475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:17:00] local.INFO: Packet analysis {"connection_id":106475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:17:00] local.INFO: Extracted packet for processing {"connection_id":106475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:00] 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-06-18 23:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:17: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-06-18 23:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:17:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:17:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:17:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":106475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:17:00] local.INFO: GPS data processed {"connection_id":106475,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:17:00] local.INFO: Acknowledgment sent {"connection_id":106475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:17:04] local.INFO: TCP Data received {"connection_id":106476,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106476,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:04] local.INFO: Processing buffer {"connection_id":106476,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:04] local.INFO: IMEI packet received {"connection_id":106476,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":106476,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:17:05] local.INFO: TCP Data received {"connection_id":106476,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd6a5d0012da022c00604f9880023012f1f..."} 
[2026-06-18 23:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd6a5d0012da022c00604f9880023012f1f..."} 
[2026-06-18 23:17:05] local.INFO: Processing buffer {"connection_id":106476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd6a5d0012da022c00604f9880023012f1f..."} 
[2026-06-18 23:17:05] local.INFO: Packet analysis {"connection_id":106476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd6"} 
[2026-06-18 23:17:05] local.INFO: Extracted packet for processing {"connection_id":106476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd6"} 
[2026-06-18 23:17:05] local.INFO: GPS Element Parsed {"raw_longitude":765469376,"raw_latitude":100989320,"longitude_deg":76.5469376,"latitude_deg":10.098932,"altitude":35,"angle":303,"satellites":31,"speed":47,"hex_longitude":"2da022c0","hex_latitude":"0604f988","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142010880001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94392274380652544,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6898951653326127104,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781804738000,"timestamp_ms":1781804738000,"timestamp_seconds":1781804738,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd6a5d0"} 
[2026-06-18 23:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:17:05] 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-06-18 23: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":46,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-06-18 23:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1211,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:17: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-06-18 23:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142010880001,"66":11765,"135":206,"88":20992,"24":47,"16":94392274380652544,"45":-6898951653326127104},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,88,24,16,45]} 
[2026-06-18 23:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142010880001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:17:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:17:05] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94392274380652544,"km_value":94392274380652.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6898951653326127104,"description":"Unknown IO ID 45"} 
[2026-06-18 23:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142010880001,"power":11765,"unknown_135":206,"unknown_88":20992,"ignition":47,"odometer":null,"unknown_45":-6898951653326127104}} 
[2026-06-18 23:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":106476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347661,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:17:05] local.INFO: GPS data processed {"connection_id":106476,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:17:05] local.INFO: Acknowledgment sent {"connection_id":106476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:17:23] local.INFO: TCP Data received {"connection_id":107085,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:17:23] local.INFO: Processing buffer {"connection_id":107085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:17:23] local.INFO: IMEI packet received {"connection_id":107085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":107085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:17:29] local.INFO: TCP Data received {"connection_id":107085,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:17:29] local.INFO: Processing buffer {"connection_id":107085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:17:29] local.INFO: IMEI packet received {"connection_id":107085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":107085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:17:29] local.INFO: TCP Data received {"connection_id":107085,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:17:29] local.INFO: Processing buffer {"connection_id":107085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:17:29] local.INFO: Packet analysis {"connection_id":107085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:17:29] local.INFO: Extracted packet for processing {"connection_id":107085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:17:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:29] 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-06-18 23:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:17:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:17:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":107085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:17:29] local.INFO: GPS data processed {"connection_id":107085,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:17:29] local.INFO: Acknowledgment sent {"connection_id":107085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:17:32] local.INFO: TCP Data received {"connection_id":106477,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:17:32] local.INFO: Processing buffer {"connection_id":106477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:17:32] local.INFO: IMEI packet received {"connection_id":106477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":106477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:17:37] local.INFO: TCP Data received {"connection_id":106476,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd83058012d9eb9800605dc28001e012525..."} 
[2026-06-18 23:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd83058012d9eb9800605dc28001e012525..."} 
[2026-06-18 23:17:37] local.INFO: Processing buffer {"connection_id":106476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd83058012d9eb9800605dc28001e012525..."} 
[2026-06-18 23:17:37] local.INFO: Packet analysis {"connection_id":106476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd8"} 
[2026-06-18 23:17:37] local.INFO: Extracted packet for processing {"connection_id":106476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd8"} 
[2026-06-18 23:17:37] local.INFO: GPS Element Parsed {"raw_longitude":765376896,"raw_latitude":101047336,"longitude_deg":76.5376896,"latitude_deg":10.1047336,"altitude":30,"angle":293,"satellites":37,"speed":43,"hex_longitude":"2d9eb980","hex_latitude":"0605dc28","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142036480001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94397587255197696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-6999790063717627904,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,88,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781804839000,"timestamp_ms":1781804839000,"timestamp_seconds":1781804839,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd83058"} 
[2026-06-18 23:17:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 23:17:37] 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-06-18 23: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-06-18 23:17:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":106476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":106476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":106476,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:17:37] 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-06-18 23:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142036480001,"66":11700,"69":206,"88":20992,"24":43,"16":94397587255197696,"45":-6999790063717627904},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,88,24,16,45]} 
[2026-06-18 23:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142036480001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:17:37] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 23:17:37] local.INFO: Unknown IO ID detected {"io_id":88,"value":20992,"description":"Unknown IO ID 88"} 
[2026-06-18 23:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94397587255197696,"km_value":94397587255197.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-6999790063717627904,"description":"Unknown IO ID 45"} 
[2026-06-18 23:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142036480001,"power":11700,"unknown_69":206,"unknown_88":20992,"ignition":43,"odometer":null,"unknown_45":-6999790063717627904}} 
[2026-06-18 23:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":106476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347663,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:17:37] local.INFO: GPS data processed {"connection_id":106476,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:17:37] local.INFO: Acknowledgment sent {"connection_id":106476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:17:38] local.INFO: TCP Data received {"connection_id":106477,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:17:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:17:38] local.INFO: Processing buffer {"connection_id":106477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:17:38] local.INFO: IMEI packet received {"connection_id":106477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:17:38] local.INFO: IMEI acknowledgment sent {"connection_id":106477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:17:39] local.INFO: TCP Data received {"connection_id":106477,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd394a8012d35f40006aa0808000f007029..."} 
[2026-06-18 23:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd394a8012d35f40006aa0808000f007029..."} 
[2026-06-18 23:17:39] local.INFO: Processing buffer {"connection_id":106477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd394a8012d35f40006aa0808000f007029..."} 
[2026-06-18 23:17:39] local.INFO: Packet analysis {"connection_id":106477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:17:39] local.INFO: Extracted packet for processing {"connection_id":106477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758510592,"raw_latitude":111806472,"longitude_deg":75.8510592,"latitude_deg":11.1806472,"altitude":15,"angle":112,"satellites":41,"speed":0,"hex_longitude":"2d35f400","hex_latitude":"06aa0808","is_valid_coordinates":true} 
[2026-06-18 23:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141956096001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3868943952256395264,"note":"Value kept but may cause issues"} 
[2026-06-18 23:17:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804537000,"timestamp_ms":1781804537000,"timestamp_seconds":1781804537,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd394a8"} 
[2026-06-18 23:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 23:17:39] 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-06-18 23:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141956096001,"66":27767,"104":206,"28":21760,"24":0,"16":124677106691997696,"45":3868943952256395264},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141956096001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:17:39] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:17:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3868943952256395264,"description":"Unknown IO ID 45"} 
[2026-06-18 23:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141956096001,"power":27767,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3868943952256395264}} 
[2026-06-18 23:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":106477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347664,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:17:39] local.INFO: GPS data processed {"connection_id":106477,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:17:39] local.INFO: Acknowledgment sent {"connection_id":106477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:17:58] local.INFO: TCP Data received {"connection_id":107086,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:58] local.INFO: Processing buffer {"connection_id":107086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:58] local.INFO: IMEI packet received {"connection_id":107086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":107086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:17:59] local.INFO: TCP Data received {"connection_id":107086,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107086,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:59] local.INFO: Processing buffer {"connection_id":107086,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:17:59] local.INFO: IMEI packet received {"connection_id":107086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":107086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:18:00] local.INFO: TCP Data received {"connection_id":107086,"ip":"42.106.6.48","data_length":34,"data_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 23:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107086,"packet_length":34,"packet_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 23:18:00] local.INFO: Processing buffer {"connection_id":107086,"buffer_length":34,"buffer_hex":"000f383632353637303732343036393332000f38363235363730373234303639..."} 
[2026-06-18 23:18:00] local.INFO: IMEI packet received {"connection_id":107086,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":107086,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:18:00] local.INFO: TCP Data received {"connection_id":107085,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:18:00] local.INFO: Processing buffer {"connection_id":107085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:18:00] local.INFO: Packet analysis {"connection_id":107085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:18:00] local.INFO: Extracted packet for processing {"connection_id":107085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:18:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:00] 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-06-18 23:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:18:00] 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-06-18 23:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:18:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:18:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:18:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":107085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:18:00] local.INFO: GPS data processed {"connection_id":107085,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:18:00] local.INFO: Acknowledgment sent {"connection_id":107085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:18:11] local.INFO: TCP Data received {"connection_id":106477,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd3e6b0012d36380006a9ecc80012006c2a..."} 
[2026-06-18 23:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd3e6b0012d36380006a9ecc80012006c2a..."} 
[2026-06-18 23:18:11] local.INFO: Processing buffer {"connection_id":106477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd3e6b0012d36380006a9ecc80012006c2a..."} 
[2026-06-18 23:18:11] local.INFO: Packet analysis {"connection_id":106477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:18:11] local.INFO: Extracted packet for processing {"connection_id":106477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd3"} 
[2026-06-18 23:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758528000,"raw_latitude":111799496,"longitude_deg":75.8528,"latitude_deg":11.1799496,"altitude":18,"angle":108,"satellites":42,"speed":0,"hex_longitude":"2d363800","hex_latitude":"06a9ecc8","is_valid_coordinates":true} 
[2026-06-18 23:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141961472001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3887732406950037504,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781804558000,"timestamp_ms":1781804558000,"timestamp_seconds":1781804558,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd3e6b0"} 
[2026-06-18 23:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106477,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141961472001,"66":27930,"104":206,"28":21760,"24":0,"16":124677106691997696,"45":3887732406950037504},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141961472001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:18:11] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:18:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3887732406950037504,"description":"Unknown IO ID 45"} 
[2026-06-18 23:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141961472001,"power":27930,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3887732406950037504}} 
[2026-06-18 23:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":106477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:18:11] local.INFO: GPS data processed {"connection_id":106477,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:18:11] local.INFO: Acknowledgment sent {"connection_id":106477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:18:23] local.INFO: TCP Data received {"connection_id":108010,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:18:23] local.INFO: Processing buffer {"connection_id":108010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:18:23] local.INFO: IMEI packet received {"connection_id":108010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":108010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:18:29] local.INFO: TCP Data received {"connection_id":108010,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:18:29] local.INFO: Processing buffer {"connection_id":108010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:18:29] local.INFO: IMEI packet received {"connection_id":108010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:18:29] local.INFO: IMEI acknowledgment sent {"connection_id":108010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:18:29] local.INFO: TCP Data received {"connection_id":108010,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:18:29] local.INFO: Processing buffer {"connection_id":108010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd47f08012cc3308007685ac8005d006d29..."} 
[2026-06-18 23:18:29] local.INFO: Packet analysis {"connection_id":108010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:18:29] local.INFO: Extracted packet for processing {"connection_id":108010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:18:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141899776001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:29] 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-06-18 23:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804597000,"timestamp_ms":1781804597000,"timestamp_seconds":1781804597,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd47f08"} 
[2026-06-18 23:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-06-18 23:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:18:29] 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-06-18 23:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141899776001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141899776001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:18:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:18:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141899776001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":108010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:18:29] local.INFO: GPS data processed {"connection_id":108010,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:18:29] local.INFO: Acknowledgment sent {"connection_id":108010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:18:32] local.INFO: TCP Data received {"connection_id":107087,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:18:32] local.INFO: Processing buffer {"connection_id":107087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:18:32] local.INFO: IMEI packet received {"connection_id":107087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:18:32] local.INFO: IMEI acknowledgment sent {"connection_id":107087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:18:38] local.INFO: TCP Data received {"connection_id":107087,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:18:38] local.INFO: Processing buffer {"connection_id":107087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:18:38] local.INFO: IMEI packet received {"connection_id":107087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:18:38] local.INFO: IMEI acknowledgment sent {"connection_id":107087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:18:39] local.INFO: TCP Data received {"connection_id":107087,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd4cd280100000000000000000000000000..."} 
[2026-06-18 23:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd4cd280100000000000000000000000000..."} 
[2026-06-18 23:18:39] local.INFO: Processing buffer {"connection_id":107087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd4cd280100000000000000000000000000..."} 
[2026-06-18 23:18:39] local.INFO: Packet analysis {"connection_id":107087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:18:39] local.INFO: Extracted packet for processing {"connection_id":107087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:18:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141966848001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3906872705364576256,"note":"Value kept but may cause issues"} 
[2026-06-18 23:18:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804617000,"timestamp_ms":1781804617000,"timestamp_seconds":1781804617,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd4cd28"} 
[2026-06-18 23:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:18:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 23:18:39] 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-06-18 23:18:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":107087,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:18:39] local.INFO: GPS data processed {"connection_id":107087,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:18:39] local.INFO: Acknowledgment sent {"connection_id":107087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:19:01] local.INFO: TCP Data received {"connection_id":108010,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:19:01] local.INFO: Processing buffer {"connection_id":108010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:19:01] local.INFO: Packet analysis {"connection_id":108010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:19:01] local.INFO: Extracted packet for processing {"connection_id":108010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:19:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:01] 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-06-18 23:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:19:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":108010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":108010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":108010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23: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-06-18 23:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:19:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:19:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:19:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":108010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:19:01] local.INFO: GPS data processed {"connection_id":108010,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:19:01] local.INFO: Acknowledgment sent {"connection_id":108010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:19:10] local.INFO: TCP Data received {"connection_id":107087,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd44088012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd44088012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:19:10] local.INFO: Processing buffer {"connection_id":107087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd44088012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:19:10] local.INFO: Packet analysis {"connection_id":107087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:19:10] local.INFO: Extracted packet for processing {"connection_id":107087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758535552,"raw_latitude":111794096,"longitude_deg":75.8535552,"latitude_deg":11.1794096,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365580","hex_latitude":"06a9d7b0","is_valid_coordinates":true} 
[2026-06-18 23:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,104,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781804581000,"timestamp_ms":1781804581000,"timestamp_seconds":1781804581,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd44088"} 
[2026-06-18 23:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 23:19:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"104":206,"28":21760,"24":0,"16":124677106691997696},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16]} 
[2026-06-18 23:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:19:10] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:19:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:19:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-06-18 23:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":107087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:19:10] local.INFO: GPS data processed {"connection_id":107087,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:19:10] local.INFO: Acknowledgment sent {"connection_id":107087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:19:23] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:19:23] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:19:23] local.INFO: IMEI packet received {"connection_id":106300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":106300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:19:29] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:19:29] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:19:29] local.INFO: IMEI packet received {"connection_id":106300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:19:29] local.INFO: IMEI acknowledgment sent {"connection_id":106300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:19:29] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:19:29] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:19:29] local.INFO: Packet analysis {"connection_id":106300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:19:29] local.INFO: Extracted packet for processing {"connection_id":106300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:19:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:29] 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-06-18 23:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:19:29] 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-06-18 23:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:19:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:19:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":106300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:19:29] local.INFO: GPS data processed {"connection_id":106300,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:19:29] local.INFO: Acknowledgment sent {"connection_id":106300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:19:38] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:19:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:19:38] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:19:38] local.INFO: IMEI packet received {"connection_id":106478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:19:38] local.INFO: IMEI acknowledgment sent {"connection_id":106478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:19:45] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:19:45] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:19:45] local.INFO: IMEI packet received {"connection_id":106478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":106478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:19:46] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd457f8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd457f8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:19:46] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd457f8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:19:46] local.INFO: Packet analysis {"connection_id":106478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:19:46] local.INFO: Extracted packet for processing {"connection_id":106478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd4"} 
[2026-06-18 23:19:46] local.INFO: GPS Element Parsed {"raw_longitude":758535552,"raw_latitude":111794096,"longitude_deg":75.8535552,"latitude_deg":11.1794096,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365580","hex_latitude":"06a9d7b0","is_valid_coordinates":true} 
[2026-06-18 23:19: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-06-18 23:19:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141972736001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915176217176158208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:19:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781804587000,"timestamp_ms":1781804587000,"timestamp_seconds":1781804587,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd457f8"} 
[2026-06-18 23:19:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:19:46] 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-06-18 23:19:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 23:19:46] 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-06-18 23:19:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:19:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:19:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:19:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:19:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:19:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:19:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:19:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:19:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:19:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141972736001,"66":28126,"104":206,"28":21760,"24":0,"16":124677106691997696,"45":3915176217176158208},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:19:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:19:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:19:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141972736001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:19:46] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:19:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:19:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:19:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915176217176158208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:19:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141972736001,"power":28126,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3915176217176158208}} 
[2026-06-18 23:19:46] local.INFO: DEBUG: GPS processor result {"connection_id":106478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:19:46] local.INFO: GPS data processed {"connection_id":106478,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:19:46] local.INFO: Acknowledgment sent {"connection_id":106478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:19:47] local.INFO: TCP Data received {"connection_id":106478,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd8f790012d36548006a9d778000600e92a..."} 
[2026-06-18 23:19:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd8f790012d36548006a9d778000600e92a..."} 
[2026-06-18 23:19:47] local.INFO: Processing buffer {"connection_id":106478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd8f790012d36548006a9d778000600e92a..."} 
[2026-06-18 23:19:47] local.INFO: Packet analysis {"connection_id":106478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd8"} 
[2026-06-18 23:19:47] local.INFO: Extracted packet for processing {"connection_id":106478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd8"} 
[2026-06-18 23:19:47] local.INFO: GPS Element Parsed {"raw_longitude":758535296,"raw_latitude":111794040,"longitude_deg":75.8535296,"latitude_deg":11.179404,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365480","hex_latitude":"06a9d778","is_valid_coordinates":true} 
[2026-06-18 23:19:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:19:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141974272001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915176217176158208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:19:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:19:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781804890000,"timestamp_ms":1781804890000,"timestamp_seconds":1781804890,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd8f790"} 
[2026-06-18 23:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-06-18 23:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2741,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141974272001,"66":25810,"45":3915176217176158208,"28":21760,"24":0,"16":124677106691997696},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-06-18 23:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141974272001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915176217176158208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:19:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456141974272001,"power":25810,"unknown_45":3915176217176158208,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-06-18 23:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":106478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:19:48] local.INFO: GPS data processed {"connection_id":106478,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:19:48] local.INFO: Acknowledgment sent {"connection_id":106478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:20:01] local.INFO: TCP Data received {"connection_id":106300,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:20:01] local.INFO: Processing buffer {"connection_id":106300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:20:01] local.INFO: Packet analysis {"connection_id":106300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:20:01] local.INFO: Extracted packet for processing {"connection_id":106300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:20:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:01] 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-06-18 23:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:20: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-06-18 23:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:20:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:20:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":106300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:20:01] local.INFO: GPS data processed {"connection_id":106300,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:20:01] local.INFO: Acknowledgment sent {"connection_id":106300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:20:24] local.INFO: TCP Data received {"connection_id":107088,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:20:24] local.INFO: Processing buffer {"connection_id":107088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:20:24] local.INFO: IMEI packet received {"connection_id":107088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":107088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:20:29] local.INFO: TCP Data received {"connection_id":107088,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:20:29] local.INFO: Processing buffer {"connection_id":107088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:20:29] local.INFO: IMEI packet received {"connection_id":107088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:20:29] local.INFO: IMEI acknowledgment sent {"connection_id":107088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:20:29] local.INFO: TCP Data received {"connection_id":107088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:20:29] local.INFO: Processing buffer {"connection_id":107088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:20:29] local.INFO: Packet analysis {"connection_id":107088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:20:29] local.INFO: Extracted packet for processing {"connection_id":107088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:20:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:29] 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-06-18 23:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:20: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-06-18 23:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:20:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:20:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":107088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:20:29] local.INFO: GPS data processed {"connection_id":107088,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:20:29] local.INFO: Acknowledgment sent {"connection_id":107088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:20:32] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:20:32] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:20:32] local.INFO: IMEI packet received {"connection_id":106302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":106302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:20:38] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:20:38] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:20:38] local.INFO: IMEI packet received {"connection_id":106302,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":106302,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:20:39] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbda10d0012d36548006a9d778000600e92a..."} 
[2026-06-18 23:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbda10d0012d36548006a9d778000600e92a..."} 
[2026-06-18 23:20:39] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbda10d0012d36548006a9d778000600e92a..."} 
[2026-06-18 23:20:39] local.INFO: Packet analysis {"connection_id":106302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbda"} 
[2026-06-18 23:20:39] local.INFO: Extracted packet for processing {"connection_id":106302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbda"} 
[2026-06-18 23:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758535296,"raw_latitude":111794040,"longitude_deg":75.8535296,"latitude_deg":11.179404,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365480","hex_latitude":"06a9d778","is_valid_coordinates":true} 
[2026-06-18 23:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142051840001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3914894742199433216,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781804962000,"timestamp_ms":1781804962000,"timestamp_seconds":1781804962,"priority":1,"record_length":96,"hex_timestamp":"0000019edbda10d0"} 
[2026-06-18 23:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:20: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-06-18 23:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-06-18 23:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142051840001,"66":25778,"45":3914894742199433216,"28":21760,"24":0,"16":124677106691997696},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-06-18 23:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142051840001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3914894742199433216,"description":"Unknown IO ID 45"} 
[2026-06-18 23:20:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:20:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456142051840001,"power":25778,"unknown_45":3914894742199433216,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-06-18 23:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":106302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:20:39] local.INFO: GPS data processed {"connection_id":106302,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:20:39] local.INFO: Acknowledgment sent {"connection_id":106302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:20:43] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbda6aa8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbda6aa8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:20:43] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbda6aa8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:20:43] local.INFO: Packet analysis {"connection_id":106302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbda"} 
[2026-06-18 23:20:43] local.INFO: Extracted packet for processing {"connection_id":106302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbda"} 
[2026-06-18 23:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758535552,"raw_latitude":111794096,"longitude_deg":75.8535552,"latitude_deg":11.1794096,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365580","hex_latitude":"06a9d7b0","is_valid_coordinates":true} 
[2026-06-18 23:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142070272001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3914894742199433216,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:20:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781804985000,"timestamp_ms":1781804985000,"timestamp_seconds":1781804985,"priority":1,"record_length":96,"hex_timestamp":"0000019edbda6aa8"} 
[2026-06-18 23:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-06-18 23:20:43] 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-06-18 23:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":106302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":106302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":106302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142070272001,"66":25006,"45":3914894742199433216,"28":21760,"24":0,"16":124677106691997696},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-06-18 23:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142070272001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3914894742199433216,"description":"Unknown IO ID 45"} 
[2026-06-18 23:20:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:20:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456142070272001,"power":25006,"unknown_45":3914894742199433216,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-06-18 23:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":106302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:20:43] local.INFO: GPS data processed {"connection_id":106302,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:20:43] local.INFO: Acknowledgment sent {"connection_id":106302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:21:01] local.INFO: TCP Data received {"connection_id":107088,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:21:01] local.INFO: Processing buffer {"connection_id":107088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:21:01] local.INFO: Packet analysis {"connection_id":107088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:21:01] local.INFO: Extracted packet for processing {"connection_id":107088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:21:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:01] 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-06-18 23:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:21: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-06-18 23:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:21:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:21:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":107088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:21:01] local.INFO: GPS data processed {"connection_id":107088,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:21:01] local.INFO: Acknowledgment sent {"connection_id":107088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:21:14] local.INFO: TCP Data received {"connection_id":106302,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdabcb0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdabcb0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:21:14] local.INFO: Processing buffer {"connection_id":106302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdabcb0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:21:14] local.INFO: Packet analysis {"connection_id":106302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbda"} 
[2026-06-18 23:21:14] local.INFO: Extracted packet for processing {"connection_id":106302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbda"} 
[2026-06-18 23:21:14] local.INFO: GPS Element Parsed {"raw_longitude":758535552,"raw_latitude":111794096,"longitude_deg":75.8535552,"latitude_deg":11.1794096,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365580","hex_latitude":"06a9d7b0","is_valid_coordinates":true} 
[2026-06-18 23:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142076160001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915176217176158208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781805006000,"timestamp_ms":1781805006000,"timestamp_seconds":1781805006,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdabcb0"} 
[2026-06-18 23:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:21:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 23:21:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:21:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106302,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142076160001,"66":27800,"104":206,"28":21760,"24":0,"16":124677106691997696,"45":3915176217176158208},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142076160001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:21:14] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:21:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915176217176158208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142076160001,"power":27800,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3915176217176158208}} 
[2026-06-18 23:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":106302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:21:14] local.INFO: GPS data processed {"connection_id":106302,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:21:14] local.INFO: Acknowledgment sent {"connection_id":106302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:21:23] local.INFO: TCP Data received {"connection_id":108011,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:21:23] local.INFO: Processing buffer {"connection_id":108011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:21:23] local.INFO: IMEI packet received {"connection_id":108011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":108011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:21:29] local.INFO: TCP Data received {"connection_id":108011,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:21:29] local.INFO: Processing buffer {"connection_id":108011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:21:29] local.INFO: IMEI packet received {"connection_id":108011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:21:29] local.INFO: IMEI acknowledgment sent {"connection_id":108011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:21:29] local.INFO: TCP Data received {"connection_id":108011,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:21:29] local.INFO: Processing buffer {"connection_id":108011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:21:29] local.INFO: Packet analysis {"connection_id":108011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:21:29] local.INFO: Extracted packet for processing {"connection_id":108011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:21:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:29] 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-06-18 23:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:21:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:21:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":108011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:21:29] local.INFO: GPS data processed {"connection_id":108011,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:21:29] local.INFO: Acknowledgment sent {"connection_id":108011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:21:32] local.INFO: TCP Data received {"connection_id":106479,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:21:32] local.INFO: Processing buffer {"connection_id":106479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:21:32] local.INFO: IMEI packet received {"connection_id":106479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":106479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:21:37] local.INFO: TCP Data received {"connection_id":106479,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:21:37] local.INFO: Processing buffer {"connection_id":106479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:21:37] local.INFO: IMEI packet received {"connection_id":106479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":106479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:21:39] local.INFO: TCP Data received {"connection_id":106479,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdb0eb8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdb0eb8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:21:39] local.INFO: Processing buffer {"connection_id":106479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdb0eb8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:21:39] local.INFO: Packet analysis {"connection_id":106479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdb"} 
[2026-06-18 23:21:39] local.INFO: Extracted packet for processing {"connection_id":106479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdb"} 
[2026-06-18 23:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758535552,"raw_latitude":111794096,"longitude_deg":75.8535552,"latitude_deg":11.1794096,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365580","hex_latitude":"06a9d7b0","is_valid_coordinates":true} 
[2026-06-18 23:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142081536001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915176217176158208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:21:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781805027000,"timestamp_ms":1781805027000,"timestamp_seconds":1781805027,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdb0eb8"} 
[2026-06-18 23:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 23:21:39] 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-06-18 23:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142081536001,"66":28278,"45":3915176217176158208,"28":21760,"24":0,"16":124677106691997696},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-06-18 23:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142081536001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915176217176158208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:21:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:21:39] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456142081536001,"power":28278,"unknown_45":3915176217176158208,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-06-18 23:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":106479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347680,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:21:39] local.INFO: GPS data processed {"connection_id":106479,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:21:39] local.INFO: Acknowledgment sent {"connection_id":106479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:22:00] local.INFO: TCP Data received {"connection_id":108011,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:22:00] local.INFO: Processing buffer {"connection_id":108011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:22:00] local.INFO: Packet analysis {"connection_id":108011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:22:00] local.INFO: Extracted packet for processing {"connection_id":108011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:22:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:00] 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-06-18 23:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:22:00] 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-06-18 23:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:22:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:22:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":108011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:22:00] local.INFO: GPS data processed {"connection_id":108011,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:22:00] local.INFO: Acknowledgment sent {"connection_id":108011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:22:10] local.INFO: TCP Data received {"connection_id":106479,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdb60c0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdb60c0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:22:10] local.INFO: Processing buffer {"connection_id":106479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdb60c0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:22:10] local.INFO: Packet analysis {"connection_id":106479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdb"} 
[2026-06-18 23:22:10] local.INFO: Extracted packet for processing {"connection_id":106479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdb"} 
[2026-06-18 23:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758535552,"raw_latitude":111794096,"longitude_deg":75.8535552,"latitude_deg":11.1794096,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365580","hex_latitude":"06a9d7b0","is_valid_coordinates":true} 
[2026-06-18 23:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142086912001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915176217176158208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781805048000,"timestamp_ms":1781805048000,"timestamp_seconds":1781805048,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdb60c0"} 
[2026-06-18 23:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:22:10] 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-06-18 23:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-06-18 23:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142086912001,"66":28050,"45":3915176217176158208,"28":21760,"24":0,"16":124677106691997696},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-06-18 23:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142086912001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915176217176158208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:22:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456142086912001,"power":28050,"unknown_45":3915176217176158208,"unknown_28":21760,"ignition":0,"odometer":null}} 
[2026-06-18 23:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":106479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:22:11] local.INFO: GPS data processed {"connection_id":106479,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:22:11] local.INFO: Acknowledgment sent {"connection_id":106479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:22:23] local.INFO: TCP Data received {"connection_id":108012,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:22:23] local.INFO: Processing buffer {"connection_id":108012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:22:23] local.INFO: IMEI packet received {"connection_id":108012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:22:23] local.INFO: IMEI acknowledgment sent {"connection_id":108012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:22:29] local.INFO: TCP Data received {"connection_id":108012,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:22:29] local.INFO: Processing buffer {"connection_id":108012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:22:29] local.INFO: IMEI packet received {"connection_id":108012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":108012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:22:29] local.INFO: TCP Data received {"connection_id":108012,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:22:29] local.INFO: Processing buffer {"connection_id":108012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:22:29] local.INFO: Packet analysis {"connection_id":108012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:22:29] local.INFO: Extracted packet for processing {"connection_id":108012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:29] 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-06-18 23:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:22: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-06-18 23:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:22:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:22:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":108012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:22:29] local.INFO: GPS data processed {"connection_id":108012,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:22:29] local.INFO: Acknowledgment sent {"connection_id":108012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:22:32] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:22:32] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:22:32] local.INFO: IMEI packet received {"connection_id":107091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:22:32] local.INFO: IMEI acknowledgment sent {"connection_id":107091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:22:37] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:22:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:22:37] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:22:37] local.INFO: IMEI packet received {"connection_id":107091,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:22:37] local.INFO: IMEI acknowledgment sent {"connection_id":107091,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:22:40] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdbb2c8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdbb2c8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:22:40] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdbb2c8012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:22:40] local.INFO: Packet analysis {"connection_id":107091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdb"} 
[2026-06-18 23:22:40] local.INFO: Extracted packet for processing {"connection_id":107091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdb"} 
[2026-06-18 23:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758535552,"raw_latitude":111794096,"longitude_deg":75.8535552,"latitude_deg":11.1794096,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365580","hex_latitude":"06a9d7b0","is_valid_coordinates":true} 
[2026-06-18 23:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142092288001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915176217176158208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781805069000,"timestamp_ms":1781805069000,"timestamp_seconds":1781805069,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdbb2c8"} 
[2026-06-18 23:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-06-18 23:22:40] 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-06-18 23:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142092288001,"66":27767,"104":206,"28":21760,"24":0,"16":124677106691997696,"45":3915176217176158208},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142092288001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:22:40] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:22:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915176217176158208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142092288001,"power":27767,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3915176217176158208}} 
[2026-06-18 23:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":107091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:22:40] local.INFO: GPS data processed {"connection_id":107091,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:22:40] local.INFO: Acknowledgment sent {"connection_id":107091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:23:00] local.INFO: TCP Data received {"connection_id":108012,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:23:00] local.INFO: Processing buffer {"connection_id":108012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:23:00] local.INFO: Packet analysis {"connection_id":108012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:23:00] local.INFO: Extracted packet for processing {"connection_id":108012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:23:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:00] 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-06-18 23:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:23: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-06-18 23:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:23:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:23:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:23:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":108012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:23:00] local.INFO: GPS data processed {"connection_id":108012,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:23:00] local.INFO: Acknowledgment sent {"connection_id":108012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:23:04] local.INFO: TCP Data received {"connection_id":108013,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108013,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:23:05] local.INFO: Processing buffer {"connection_id":108013,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:23:05] local.INFO: IMEI packet received {"connection_id":108013,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":108013,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:23:05] local.INFO: TCP Data received {"connection_id":108013,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdd1258012d9a4fc006072160001e011326..."} 
[2026-06-18 23:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdd1258012d9a4fc006072160001e011326..."} 
[2026-06-18 23:23:05] local.INFO: Processing buffer {"connection_id":108013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdd1258012d9a4fc006072160001e011326..."} 
[2026-06-18 23:23:05] local.INFO: Packet analysis {"connection_id":108013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:23:05] local.INFO: Extracted packet for processing {"connection_id":108013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":765087680,"raw_latitude":101130592,"longitude_deg":76.508768,"latitude_deg":10.1130592,"altitude":30,"angle":275,"satellites":38,"speed":51,"hex_longitude":"2d9a4fc0","hex_latitude":"06072160","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142118656001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94413744922165248,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7316308675006740480,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781805159000,"timestamp_ms":1781805159000,"timestamp_seconds":1781805159,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdd1258"} 
[2026-06-18 23:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 23:23:05] 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-06-18 23: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-06-18 23:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:23: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-06-18 23:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142118656001,"66":11700,"234":206,"79":48640,"24":51,"16":94413744922165248,"45":-7316308675006740480},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-06-18 23:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142118656001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:23:05] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-06-18 23:23:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94413744922165248,"km_value":94413744922165.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7316308675006740480,"description":"Unknown IO ID 45"} 
[2026-06-18 23:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142118656001,"power":11700,"unknown_234":206,"unknown_79":48640,"ignition":51,"odometer":null,"unknown_45":-7316308675006740480}} 
[2026-06-18 23:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":108013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347686,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:23:06] local.INFO: GPS data processed {"connection_id":108013,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:23:06] local.INFO: Acknowledgment sent {"connection_id":108013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:23:12] local.INFO: TCP Data received {"connection_id":107091,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdc04d0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdc04d0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:23:12] local.INFO: Processing buffer {"connection_id":107091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdc04d0012d36558006a9d7b0000600e92a..."} 
[2026-06-18 23:23:12] local.INFO: Packet analysis {"connection_id":107091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdc"} 
[2026-06-18 23:23:12] local.INFO: Extracted packet for processing {"connection_id":107091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdc"} 
[2026-06-18 23:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758535552,"raw_latitude":111794096,"longitude_deg":75.8535552,"latitude_deg":11.1794096,"altitude":6,"angle":233,"satellites":42,"speed":0,"hex_longitude":"2d365580","hex_latitude":"06a9d7b0","is_valid_coordinates":true} 
[2026-06-18 23:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142097664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677106691997696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915176217176158208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781805090000,"timestamp_ms":1781805090000,"timestamp_seconds":1781805090,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdc04d0"} 
[2026-06-18 23:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":107091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":107091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":107091,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142097664001,"66":27843,"104":206,"28":21760,"24":0,"16":124677106691997696,"45":3915176217176158208},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142097664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:23:12] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:23:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677106691997696,"km_value":124677106691997.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915176217176158208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142097664001,"power":27843,"unknown_104":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3915176217176158208}} 
[2026-06-18 23:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":107091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:23:12] local.INFO: GPS data processed {"connection_id":107091,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:23:12] local.INFO: Acknowledgment sent {"connection_id":107091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:23:23] local.INFO: TCP Data received {"connection_id":106480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:23:23] local.INFO: Processing buffer {"connection_id":106480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:23:23] local.INFO: IMEI packet received {"connection_id":106480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":106480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:23:29] local.INFO: TCP Data received {"connection_id":106480,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:23:29] local.INFO: Processing buffer {"connection_id":106480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:23:29] local.INFO: IMEI packet received {"connection_id":106480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":106480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:23:29] local.INFO: TCP Data received {"connection_id":106480,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:23:29] local.INFO: Processing buffer {"connection_id":106480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbd916d0012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:23:29] local.INFO: Packet analysis {"connection_id":106480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:23:29] local.INFO: Extracted packet for processing {"connection_id":106480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbd9"} 
[2026-06-18 23:23:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456141976832001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:29] 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-06-18 23:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781804898000,"timestamp_ms":1781804898000,"timestamp_seconds":1781804898,"priority":1,"record_length":96,"hex_timestamp":"0000019edbd916d0"} 
[2026-06-18 23:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456141976832001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456141976832001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:23:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:23:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456141976832001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":106480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:23:29] local.INFO: GPS data processed {"connection_id":106480,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:23:29] local.INFO: Acknowledgment sent {"connection_id":106480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:23:36] local.INFO: TCP Data received {"connection_id":108014,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:36] local.INFO: Processing buffer {"connection_id":108014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:36] local.INFO: IMEI packet received {"connection_id":108014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:23:36] local.INFO: IMEI acknowledgment sent {"connection_id":108014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:23:36] local.INFO: TCP Data received {"connection_id":108013,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdd2db0012d9a2c0006072718001c011a25..."} 
[2026-06-18 23:23:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdd2db0012d9a2c0006072718001c011a25..."} 
[2026-06-18 23:23:36] local.INFO: Processing buffer {"connection_id":108013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdd2db0012d9a2c0006072718001c011a25..."} 
[2026-06-18 23:23:36] local.INFO: Packet analysis {"connection_id":108013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:23:36] local.INFO: Extracted packet for processing {"connection_id":108013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":765078528,"raw_latitude":101132056,"longitude_deg":76.5078528,"latitude_deg":10.1132056,"altitude":28,"angle":282,"satellites":37,"speed":51,"hex_longitude":"2d9a2c00","hex_latitude":"06072718","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:23:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142120704001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94414187303796736,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7327426936586543104,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:23:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781805166000,"timestamp_ms":1781805166000,"timestamp_seconds":1781805166,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdd2db0"} 
[2026-06-18 23:23:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:23:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 23:23:36] 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-06-18 23: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-06-18 23:23:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:23:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:23:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:23:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:23:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108013,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:23:36] 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-06-18 23:23:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:23:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:23:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142120704001,"66":11787,"234":206,"79":48640,"24":51,"16":94414187303796736,"45":-7327426936586543104},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-06-18 23:23:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:23:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:23:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142120704001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:23:36] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-06-18 23:23:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:23:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94414187303796736,"km_value":94414187303796.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:23:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7327426936586543104,"description":"Unknown IO ID 45"} 
[2026-06-18 23:23:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142120704001,"power":11787,"unknown_234":206,"unknown_79":48640,"ignition":51,"odometer":null,"unknown_45":-7327426936586543104}} 
[2026-06-18 23:23:36] local.INFO: DEBUG: GPS processor result {"connection_id":108013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347689,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:23:36] local.INFO: GPS data processed {"connection_id":108013,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:23:36] local.INFO: Acknowledgment sent {"connection_id":108013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:23:37] local.INFO: TCP Data received {"connection_id":108014,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:37] local.INFO: Processing buffer {"connection_id":108014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:37] local.INFO: IMEI packet received {"connection_id":108014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:23:37] local.INFO: IMEI acknowledgment sent {"connection_id":108014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:23:42] local.INFO: TCP Data received {"connection_id":108014,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:42] local.INFO: Processing buffer {"connection_id":108014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:23:42] local.INFO: IMEI packet received {"connection_id":108014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:23:42] local.INFO: IMEI acknowledgment sent {"connection_id":108014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:23:43] local.INFO: TCP Data received {"connection_id":108014,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdc52f0012d36510006a9e1180000016529..."} 
[2026-06-18 23:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdc52f0012d36510006a9e1180000016529..."} 
[2026-06-18 23:23:43] local.INFO: Processing buffer {"connection_id":108014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdc52f0012d36510006a9e1180000016529..."} 
[2026-06-18 23:23:43] local.INFO: Packet analysis {"connection_id":108014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdc"} 
[2026-06-18 23:23:43] local.INFO: Extracted packet for processing {"connection_id":108014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdc"} 
[2026-06-18 23:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758534400,"raw_latitude":111796504,"longitude_deg":75.85344,"latitude_deg":11.1796504,"altitude":0,"angle":357,"satellites":41,"speed":4,"hex_longitude":"2d365100","hex_latitude":"06a9e118","is_valid_coordinates":true} 
[2026-06-18 23:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142103040001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677235541016576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3915176217176158208,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781805110000,"timestamp_ms":1781805110000,"timestamp_seconds":1781805110,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdc52f0"} 
[2026-06-18 23:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 23:23:43] 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-06-18 23:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":108014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":108014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":108014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142103040001,"66":27974,"104":206,"28":21760,"24":4,"16":124677235541016576,"45":3915176217176158208},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142103040001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:23:43] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:23:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677235541016576,"km_value":124677235541016.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3915176217176158208,"description":"Unknown IO ID 45"} 
[2026-06-18 23:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142103040001,"power":27974,"unknown_104":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3915176217176158208}} 
[2026-06-18 23:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":108014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:23:43] local.INFO: GPS data processed {"connection_id":108014,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:23:43] local.INFO: Acknowledgment sent {"connection_id":108014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:23:47] local.INFO: TCP Data received {"connection_id":108014,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdc7de8012d36514006a9e4b8000300142c..."} 
[2026-06-18 23:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdc7de8012d36514006a9e4b8000300142c..."} 
[2026-06-18 23:23:47] local.INFO: Processing buffer {"connection_id":108014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdc7de8012d36514006a9e4b8000300142c..."} 
[2026-06-18 23:23:47] local.INFO: Packet analysis {"connection_id":108014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdc"} 
[2026-06-18 23:23:47] local.INFO: Extracted packet for processing {"connection_id":108014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdc"} 
[2026-06-18 23:23:47] local.INFO: GPS Element Parsed {"raw_longitude":758534464,"raw_latitude":111797432,"longitude_deg":75.8534464,"latitude_deg":11.1797432,"altitude":3,"angle":20,"satellites":44,"speed":3,"hex_longitude":"2d365140","hex_latitude":"06a9e4b8","is_valid_coordinates":true} 
[2026-06-18 23:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142108160001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677282785656832,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3913909579781576704,"note":"Value kept but may cause issues"} 
[2026-06-18 23:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781805121000,"timestamp_ms":1781805121000,"timestamp_seconds":1781805121,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdc7de8"} 
[2026-06-18 23:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 23:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":108014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":108014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":108014,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:23:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142108160001,"66":27821,"104":206,"28":21760,"24":3,"16":124677282785656832,"45":3913909579781576704},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142108160001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:23:47] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:23:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677282785656832,"km_value":124677282785656.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3913909579781576704,"description":"Unknown IO ID 45"} 
[2026-06-18 23:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142108160001,"power":27821,"unknown_104":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3913909579781576704}} 
[2026-06-18 23:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":108014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347691,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:23:48] local.INFO: GPS data processed {"connection_id":108014,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:23:48] local.INFO: Acknowledgment sent {"connection_id":108014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:23:59] local.INFO: TCP Data received {"connection_id":107092,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:23:59] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:23:59] local.INFO: IMEI packet received {"connection_id":107092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":107092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:24:01] local.INFO: TCP Data received {"connection_id":106480,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:24:01] local.INFO: Processing buffer {"connection_id":106480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:24:01] local.INFO: Packet analysis {"connection_id":106480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:01] local.INFO: Extracted packet for processing {"connection_id":106480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:01] 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-06-18 23:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:24:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:24:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:24:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":106480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:24:01] local.INFO: GPS data processed {"connection_id":106480,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:24:01] local.INFO: Acknowledgment sent {"connection_id":106480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:24:05] local.INFO: TCP Data received {"connection_id":107092,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:24:05] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:24:05] local.INFO: IMEI packet received {"connection_id":107092,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":107092,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:24:06] local.INFO: TCP Data received {"connection_id":107092,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdd4cf0012d9a078006072f30001d011b23..."} 
[2026-06-18 23:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdd4cf0012d9a078006072f30001d011b23..."} 
[2026-06-18 23:24:06] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdd4cf0012d9a078006072f30001d011b23..."} 
[2026-06-18 23:24:06] local.INFO: Packet analysis {"connection_id":107092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:06] local.INFO: Extracted packet for processing {"connection_id":107092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:06] local.INFO: GPS Element Parsed {"raw_longitude":765069184,"raw_latitude":101134128,"longitude_deg":76.5069184,"latitude_deg":10.1134128,"altitude":29,"angle":283,"satellites":35,"speed":44,"hex_longitude":"2d9a0780","hex_latitude":"06072f30","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142122496001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94414642570330112,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7337489667003574272,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781805174000,"timestamp_ms":1781805174000,"timestamp_seconds":1781805174,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdd4cf0"} 
[2026-06-18 23:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:24:06] 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-06-18 23: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":46,"n8_eight_byte":11,"data_length":795,"current_offset":136} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":79,"raw_value":7688770463828279296,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3688658456,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-6999758930268050021,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":107,"raw_value":4127195136,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3703078913,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":812908750,"corrected_to":0} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":49,"raw_value":-9221675445181735679,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2147878671,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6364149326510096386,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.WARNING: Large IO value detected {"io_id":15,"raw_value":2666183755961469440,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:06] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,234,79,24,241,157,16,109,158,18,45,192,33,30,38,10,66,108,243,64,29,36,215,1,240,98,227,107,219,7,4,113,205,88,49,153,229,184,37,239,116,2,85,206,15],"length":533,"final_offset":663,"validated_count":45,"validation_warnings":[{"io_id":205,"original":812908750,"validated":0}]} 
[2026-06-18 23:24:06] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2017922854258147328,"timestamp_seconds":2017922854258147.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 23:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":107092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":107092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":107092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:24:06] 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-06-18 23:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142122496001,"66":11515,"234":206,"79":48640,"24":44,"16":94414642570330112,"45":-7337489667003574272},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-06-18 23:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142122496001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:24:06] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-06-18 23:24:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94414642570330112,"km_value":94414642570330.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7337489667003574272,"description":"Unknown IO ID 45"} 
[2026-06-18 23:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142122496001,"power":11515,"unknown_234":206,"unknown_79":48640,"ignition":44,"odometer":null,"unknown_45":-7337489667003574272}} 
[2026-06-18 23:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":107092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347693,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:24:06] local.INFO: GPS data processed {"connection_id":107092,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:24:06] local.INFO: Acknowledgment sent {"connection_id":107092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:24:10] local.INFO: TCP Data received {"connection_id":107092,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdd7018012d99e280060738f0001b011e25..."} 
[2026-06-18 23:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdd7018012d99e280060738f0001b011e25..."} 
[2026-06-18 23:24:10] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdd7018012d99e280060738f0001b011e25..."} 
[2026-06-18 23:24:10] local.INFO: Packet analysis {"connection_id":107092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:10] local.INFO: Extracted packet for processing {"connection_id":107092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:10] local.INFO: GPS Element Parsed {"raw_longitude":765059712,"raw_latitude":101136624,"longitude_deg":76.5059712,"latitude_deg":10.1136624,"altitude":27,"angle":286,"satellites":37,"speed":39,"hex_longitude":"2d99e280","hex_latitude":"060738f0","is_valid_coordinates":true} 
[2026-06-18 23:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142124544001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94415110721765376,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7347763503652982784,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781805183000,"timestamp_ms":1781805183000,"timestamp_seconds":1781805183,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdd7018"} 
[2026-06-18 23:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-06-18 23:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:24:10] 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-06-18 23:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142124544001,"66":11656,"234":206,"79":48640,"24":39,"16":94415110721765376,"45":-7347763503652982784},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-06-18 23:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142124544001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:24:10] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-06-18 23:24:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94415110721765376,"km_value":94415110721765.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7347763503652982784,"description":"Unknown IO ID 45"} 
[2026-06-18 23:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142124544001,"power":11656,"unknown_234":206,"unknown_79":48640,"ignition":39,"odometer":null,"unknown_45":-7347763503652982784}} 
[2026-06-18 23:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":107092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347694,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:24:10] local.INFO: GPS data processed {"connection_id":107092,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:24:10] local.INFO: Acknowledgment sent {"connection_id":107092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:24:29] local.INFO: TCP Data received {"connection_id":108015,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:24:29] local.INFO: Processing buffer {"connection_id":108015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:24:29] local.INFO: IMEI packet received {"connection_id":108015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":108015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:24:33] local.INFO: TCP Data received {"connection_id":108016,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:24:33] local.INFO: Processing buffer {"connection_id":108016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:24:33] local.INFO: IMEI packet received {"connection_id":108016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:24:33] local.INFO: IMEI acknowledgment sent {"connection_id":108016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:24:34] local.INFO: TCP Data received {"connection_id":108015,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:24:34] local.INFO: Processing buffer {"connection_id":108015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:24:34] local.INFO: IMEI packet received {"connection_id":108015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:24:34] local.INFO: IMEI acknowledgment sent {"connection_id":108015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:24:34] local.INFO: TCP Data received {"connection_id":108015,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:24:34] local.INFO: Processing buffer {"connection_id":108015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:24:34] local.INFO: Packet analysis {"connection_id":108015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:34] local.INFO: Extracted packet for processing {"connection_id":108015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:34] 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-06-18 23:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":108015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":108015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":108015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:24:34] 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-06-18 23:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:24:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:24:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:24:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":108015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:24:34] local.INFO: GPS data processed {"connection_id":108015,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:24:34] local.INFO: Acknowledgment sent {"connection_id":108015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:24:36] local.INFO: TCP Data received {"connection_id":108016,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108016,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:24:36] local.INFO: Processing buffer {"connection_id":108016,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:24:36] local.INFO: IMEI packet received {"connection_id":108016,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:24:36] local.INFO: IMEI acknowledgment sent {"connection_id":108016,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:24:37] local.INFO: TCP Data received {"connection_id":108016,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdc81d0012d36518006a9e4f0000300262c..."} 
[2026-06-18 23:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdc81d0012d36518006a9e4f0000300262c..."} 
[2026-06-18 23:24:37] local.INFO: Processing buffer {"connection_id":108016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdc81d0012d36518006a9e4f0000300262c..."} 
[2026-06-18 23:24:37] local.INFO: Packet analysis {"connection_id":108016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdc"} 
[2026-06-18 23:24:37] local.INFO: Extracted packet for processing {"connection_id":108016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdc"} 
[2026-06-18 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758534528,"raw_latitude":111797488,"longitude_deg":75.8534528,"latitude_deg":11.1797488,"altitude":3,"angle":38,"satellites":44,"speed":1,"hex_longitude":"2d365180","hex_latitude":"06a9e4f0","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142110976001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677287080624128,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3913979948525991936,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781805122000,"timestamp_ms":1781805122000,"timestamp_seconds":1781805122,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdc81d0"} 
[2026-06-18 23:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 23:24: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-06-18 23: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-06-18 23:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142110976001,"66":27821,"104":206,"28":21760,"24":1,"16":124677287080624128,"45":3913979948525991936},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-06-18 23:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142110976001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:24:37] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-06-18 23:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677287080624128,"km_value":124677287080624.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3913979948525991936,"description":"Unknown IO ID 45"} 
[2026-06-18 23:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142110976001,"power":27821,"unknown_104":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3913979948525991936}} 
[2026-06-18 23:24:38] local.INFO: DEBUG: GPS processor result {"connection_id":108016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:24:38] local.INFO: GPS data processed {"connection_id":108016,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:24:38] local.INFO: Acknowledgment sent {"connection_id":108016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:24:43] local.INFO: TCP Data received {"connection_id":107092,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdd9340012d99bec0060743c80019011f25..."} 
[2026-06-18 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdd9340012d99bec0060743c80019011f25..."} 
[2026-06-18 23:24:43] local.INFO: Processing buffer {"connection_id":107092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdd9340012d99bec0060743c80019011f25..."} 
[2026-06-18 23:24:43] local.INFO: Packet analysis {"connection_id":107092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:43] local.INFO: Extracted packet for processing {"connection_id":107092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:24:43] local.INFO: GPS Element Parsed {"raw_longitude":765050560,"raw_latitude":101139400,"longitude_deg":76.505056,"latitude_deg":10.11394,"altitude":25,"angle":287,"satellites":37,"speed":45,"hex_longitude":"2d99bec0","hex_latitude":"060743c8","is_valid_coordinates":true} 
[2026-06-18 23:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142126848001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94415565988298752,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7358178077790638080,"note":"Value kept but may cause issues"} 
[2026-06-18 23:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781805192000,"timestamp_ms":1781805192000,"timestamp_seconds":1781805192,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdd9340"} 
[2026-06-18 23:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:24:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-06-18 23:24:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1647,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107092,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:24:43] 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-06-18 23:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142126848001,"66":11765,"234":206,"79":48640,"24":45,"16":94415565988298752,"45":-7358178077790638080},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-06-18 23:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142126848001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:24:43] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-06-18 23:24:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94415565988298752,"km_value":94415565988298.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:24:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7358178077790638080,"description":"Unknown IO ID 45"} 
[2026-06-18 23:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142126848001,"power":11765,"unknown_234":206,"unknown_79":48640,"ignition":45,"odometer":null,"unknown_45":-7358178077790638080}} 
[2026-06-18 23:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":107092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347697,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:24:43] local.INFO: GPS data processed {"connection_id":107092,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:24:43] local.INFO: Acknowledgment sent {"connection_id":107092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:25:01] local.INFO: TCP Data received {"connection_id":106303,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:25:01] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:25:01] local.INFO: IMEI packet received {"connection_id":106303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":106303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:25:02] local.INFO: TCP Data received {"connection_id":106303,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:25:02] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:25:02] local.INFO: IMEI packet received {"connection_id":106303,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":106303,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:25:03] local.INFO: TCP Data received {"connection_id":106303,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddb280012d999c00060750300016012524..."} 
[2026-06-18 23:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddb280012d999c00060750300016012524..."} 
[2026-06-18 23:25:03] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddb280012d999c00060750300016012524..."} 
[2026-06-18 23:25:03] local.INFO: Packet analysis {"connection_id":106303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:25:03] local.INFO: Extracted packet for processing {"connection_id":106303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:25:03] local.INFO: GPS Element Parsed {"raw_longitude":765041664,"raw_latitude":101142576,"longitude_deg":76.5041664,"latitude_deg":10.1142576,"altitude":22,"angle":293,"satellites":36,"speed":50,"hex_longitude":"2d999c00","hex_latitude":"06075030","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142129152001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94416021254832128,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7368240808207333376,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1781805200000,"timestamp_ms":1781805200000,"timestamp_seconds":1781805200,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddb280"} 
[2026-06-18 23:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 23:25:03] 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-06-18 23: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-06-18 23:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":106303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":106303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":106303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142129152001,"66":11776,"234":206,"79":48640,"24":50,"16":94416021254832128,"45":-7368240808207333376},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,79,24,16,45]} 
[2026-06-18 23:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142129152001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:25:03] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-06-18 23:25:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94416021254832128,"km_value":94416021254832.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7368240808207333376,"description":"Unknown IO ID 45"} 
[2026-06-18 23:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142129152001,"power":11776,"unknown_234":206,"unknown_79":48640,"ignition":50,"odometer":null,"unknown_45":-7368240808207333376}} 
[2026-06-18 23:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":106303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347698,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:25:03] local.INFO: GPS data processed {"connection_id":106303,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:25:03] local.INFO: Acknowledgment sent {"connection_id":106303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:25:05] local.INFO: TCP Data received {"connection_id":108015,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:25:05] local.INFO: Processing buffer {"connection_id":108015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:25:05] local.INFO: Packet analysis {"connection_id":108015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:25:05] local.INFO: Extracted packet for processing {"connection_id":108015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:25:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:05] 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-06-18 23:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:25: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-06-18 23:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:25:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:25:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":108015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:25:05] local.INFO: GPS data processed {"connection_id":108015,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:25:05] local.INFO: Acknowledgment sent {"connection_id":108015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:25:11] local.INFO: TCP Data received {"connection_id":108016,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbde46f0012d37b5c006a990e0000e005629..."} 
[2026-06-18 23:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbde46f0012d37b5c006a990e0000e005629..."} 
[2026-06-18 23:25:11] local.INFO: Processing buffer {"connection_id":108016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbde46f0012d37b5c006a990e0000e005629..."} 
[2026-06-18 23:25:11] local.INFO: Packet analysis {"connection_id":108016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbde"} 
[2026-06-18 23:25:11] local.INFO: Extracted packet for processing {"connection_id":108016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbde"} 
[2026-06-18 23:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758625728,"raw_latitude":111775968,"longitude_deg":75.8625728,"latitude_deg":11.1775968,"altitude":14,"angle":86,"satellites":41,"speed":0,"hex_longitude":"2d37b5c0","hex_latitude":"06a990e0","is_valid_coordinates":true} 
[2026-06-18 23:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142135552001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3991315198371260416,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781805238000,"timestamp_ms":1781805238000,"timestamp_seconds":1781805238,"priority":1,"record_length":96,"hex_timestamp":"0000019edbde46f0"} 
[2026-06-18 23:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:25:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 23:25:11] 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-06-18 23:25:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108016,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142135552001,"66":27821,"91":206,"28":21760,"24":0,"16":124677330030297088,"45":3991315198371260416},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-06-18 23:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142135552001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:25:11] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 23:25:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3991315198371260416,"description":"Unknown IO ID 45"} 
[2026-06-18 23:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142135552001,"power":27821,"unknown_91":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3991315198371260416}} 
[2026-06-18 23:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":108016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:25:11] local.INFO: GPS data processed {"connection_id":108016,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:25:11] local.INFO: Acknowledgment sent {"connection_id":108016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:25:23] local.INFO: TCP Data received {"connection_id":107093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:25:23] local.INFO: Processing buffer {"connection_id":107093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:25:23] local.INFO: IMEI packet received {"connection_id":107093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":107093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:25:29] local.INFO: TCP Data received {"connection_id":107093,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:25:29] local.INFO: Processing buffer {"connection_id":107093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:25:29] local.INFO: IMEI packet received {"connection_id":107093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:25:29] local.INFO: IMEI acknowledgment sent {"connection_id":107093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:25:29] local.INFO: TCP Data received {"connection_id":107093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:25:29] local.INFO: Processing buffer {"connection_id":107093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:25:29] local.INFO: Packet analysis {"connection_id":107093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:25:29] local.INFO: Extracted packet for processing {"connection_id":107093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:25:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:29] 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-06-18 23:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23: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-06-18 23:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:25:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:25:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":107093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:25:29] local.INFO: GPS data processed {"connection_id":107093,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:25:29] local.INFO: Acknowledgment sent {"connection_id":107093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:25:33] local.INFO: TCP Data received {"connection_id":106304,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:25:33] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:25:33] local.INFO: IMEI packet received {"connection_id":106304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:25:33] local.INFO: IMEI acknowledgment sent {"connection_id":106304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:25:34] local.INFO: TCP Data received {"connection_id":106303,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdf5c48012d98198006079fd00022011324..."} 
[2026-06-18 23:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdf5c48012d98198006079fd00022011324..."} 
[2026-06-18 23:25:34] local.INFO: Processing buffer {"connection_id":106303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdf5c48012d98198006079fd00022011324..."} 
[2026-06-18 23:25:34] local.INFO: Packet analysis {"connection_id":106303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:25:34] local.INFO: Extracted packet for processing {"connection_id":106303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:25:34] local.INFO: GPS Element Parsed {"raw_longitude":764942720,"raw_latitude":101162960,"longitude_deg":76.494272,"latitude_deg":10.116296,"altitude":34,"angle":275,"satellites":36,"speed":45,"hex_longitude":"2d981980","hex_latitude":"06079fd0","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142157056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94420891747745792,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7476679042979303424,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781805309000,"timestamp_ms":1781805309000,"timestamp_seconds":1781805309,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdf5c48"} 
[2026-06-18 23:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:25: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-06-18 23: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:25:34] 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-06-18 23: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-06-18 23:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106303,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:25: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-06-18 23:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142157056001,"66":11950,"108":206,"79":48640,"24":45,"16":94420891747745792,"45":-7476679042979303424},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,79,24,16,45]} 
[2026-06-18 23:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142157056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:25:34] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-06-18 23:25:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94420891747745792,"km_value":94420891747745.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7476679042979303424,"description":"Unknown IO ID 45"} 
[2026-06-18 23:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142157056001,"power":11950,"unknown_108":206,"unknown_79":48640,"ignition":45,"odometer":null,"unknown_45":-7476679042979303424}} 
[2026-06-18 23:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":106303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347702,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:25:34] local.INFO: GPS data processed {"connection_id":106303,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:25:34] local.INFO: Acknowledgment sent {"connection_id":106303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:25:38] local.INFO: TCP Data received {"connection_id":106304,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:25:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:25:38] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:25:38] local.INFO: IMEI packet received {"connection_id":106304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:25:38] local.INFO: IMEI acknowledgment sent {"connection_id":106304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:25:40] local.INFO: TCP Data received {"connection_id":106304,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdf2d680100000000000000000000000000..."} 
[2026-06-18 23:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdf2d680100000000000000000000000000..."} 
[2026-06-18 23:25:40] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdf2d680100000000000000000000000000..."} 
[2026-06-18 23:25:40] local.INFO: Packet analysis {"connection_id":106304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:25:40] local.INFO: Extracted packet for processing {"connection_id":106304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:25:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:25:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142140928001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4014325777717846016,"note":"Value kept but may cause issues"} 
[2026-06-18 23:25:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:25:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781805297000,"timestamp_ms":1781805297000,"timestamp_seconds":1781805297,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdf2d68"} 
[2026-06-18 23:25:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:25:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:25:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 23:25:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:25:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:25:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:25:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:25:40] local.INFO: Teltonika packet parsed successfully {"connection_id":106304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:25:40] local.INFO: Passing IMEI to GPS processor {"connection_id":106304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:25:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":106304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:25:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:25:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:25:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:25:40] local.INFO: DEBUG: GPS processor result {"connection_id":106304,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:25:40] local.INFO: GPS data processed {"connection_id":106304,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:25:40] local.INFO: Acknowledgment sent {"connection_id":106304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:26:00] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:00] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:00] local.INFO: IMEI packet received {"connection_id":106305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:26:00] local.INFO: IMEI acknowledgment sent {"connection_id":106305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:26:00] local.INFO: TCP Data received {"connection_id":107093,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:26:00] local.INFO: Processing buffer {"connection_id":107093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:26:00] local.INFO: Packet analysis {"connection_id":107093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:26:00] local.INFO: Extracted packet for processing {"connection_id":107093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:26:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:00] 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-06-18 23:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:26: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-06-18 23:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:26:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:26:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:26:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":107093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:26:00] local.INFO: GPS data processed {"connection_id":107093,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:26:00] local.INFO: Acknowledgment sent {"connection_id":107093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:26:11] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:11] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:11] local.INFO: IMEI packet received {"connection_id":106305,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":106305,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:26:12] local.INFO: TCP Data received {"connection_id":106304,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdebc20012d3849c006a995a8001000622d..."} 
[2026-06-18 23:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdebc20012d3849c006a995a8001000622d..."} 
[2026-06-18 23:26:12] local.INFO: Processing buffer {"connection_id":106304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdebc20012d3849c006a995a8001000622d..."} 
[2026-06-18 23:26:12] local.INFO: Packet analysis {"connection_id":106304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbde"} 
[2026-06-18 23:26:12] local.INFO: Extracted packet for processing {"connection_id":106304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbde"} 
[2026-06-18 23:26:12] local.INFO: GPS Element Parsed {"raw_longitude":758663616,"raw_latitude":111777192,"longitude_deg":75.8663616,"latitude_deg":11.1777192,"altitude":16,"angle":98,"satellites":45,"speed":39,"hex_longitude":"2d3849c0","hex_latitude":"06a995a8","is_valid_coordinates":true} 
[2026-06-18 23:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,91,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781805268000,"timestamp_ms":1781805268000,"timestamp_seconds":1781805268,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdebc20"} 
[2026-06-18 23:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-06-18 23:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106304,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"91":206,"28":21760,"24":39,"16":124677330030297088},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16]} 
[2026-06-18 23:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:26:12] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-06-18 23:26:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:26:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_91":206,"unknown_28":21760,"ignition":39,"odometer":null}} 
[2026-06-18 23:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":106304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:26:12] local.INFO: GPS data processed {"connection_id":106304,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:26:12] local.INFO: Acknowledgment sent {"connection_id":106304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:26:12] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdf7f70012d97f2c00607a3c80023011325..."} 
[2026-06-18 23:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdf7f70012d97f2c00607a3c80023011325..."} 
[2026-06-18 23:26:12] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdf7f70012d97f2c00607a3c80023011325..."} 
[2026-06-18 23:26:12] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:26:12] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:26:12] local.INFO: GPS Element Parsed {"raw_longitude":764932800,"raw_latitude":101163976,"longitude_deg":76.49328,"latitude_deg":10.1163976,"altitude":35,"angle":275,"satellites":37,"speed":41,"hex_longitude":"2d97f2c0","hex_latitude":"0607a3c8","is_valid_coordinates":true} 
[2026-06-18 23:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142159104001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94421368489115648,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7486812142140665856,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781805318000,"timestamp_ms":1781805318000,"timestamp_seconds":1781805318,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdf7f70"} 
[2026-06-18 23:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:26:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 23:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:26:12] 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-06-18 23:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142159104001,"66":11928,"109":206,"79":48640,"24":41,"16":94421368489115648,"45":-7486812142140665856},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-06-18 23:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142159104001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:26:12] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 23:26:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94421368489115648,"km_value":94421368489115.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7486812142140665856,"description":"Unknown IO ID 45"} 
[2026-06-18 23:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142159104001,"power":11928,"unknown_109":206,"unknown_79":48640,"ignition":41,"odometer":null,"unknown_45":-7486812142140665856}} 
[2026-06-18 23:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347705,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:26:12] local.INFO: GPS data processed {"connection_id":106305,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:26:12] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:26:13] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdfa298012d97cd400607a8380021011526..."} 
[2026-06-18 23:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdfa298012d97cd400607a8380021011526..."} 
[2026-06-18 23:26:13] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdfa298012d97cd400607a8380021011526..."} 
[2026-06-18 23:26:13] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:26:13] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:26:13] local.INFO: GPS Element Parsed {"raw_longitude":764923200,"raw_latitude":101165112,"longitude_deg":76.49232,"latitude_deg":10.1165112,"altitude":33,"angle":277,"satellites":38,"speed":41,"hex_longitude":"2d97cd40","hex_latitude":"0607a838","is_valid_coordinates":true} 
[2026-06-18 23:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142161408001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94421832345583616,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7497719297487943680,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781805327000,"timestamp_ms":1781805327000,"timestamp_seconds":1781805327,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdfa298"} 
[2026-06-18 23:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 23:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1796,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142161408001,"66":11743,"109":206,"79":48640,"24":41,"16":94421832345583616,"45":-7497719297487943680},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-06-18 23:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142161408001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:26:13] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 23:26:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94421832345583616,"km_value":94421832345583.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7497719297487943680,"description":"Unknown IO ID 45"} 
[2026-06-18 23:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142161408001,"power":11743,"unknown_109":206,"unknown_79":48640,"ignition":41,"odometer":null,"unknown_45":-7497719297487943680}} 
[2026-06-18 23:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347706,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:26:13] local.INFO: GPS data processed {"connection_id":106305,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:26:13] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:26:24] local.INFO: TCP Data received {"connection_id":106481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:26:24] local.INFO: Processing buffer {"connection_id":106481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:26:24] local.INFO: IMEI packet received {"connection_id":106481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:26:24] local.INFO: IMEI acknowledgment sent {"connection_id":106481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:26:29] local.INFO: TCP Data received {"connection_id":106481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:26:29] local.INFO: Processing buffer {"connection_id":106481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:26:29] local.INFO: IMEI packet received {"connection_id":106481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:26:29] local.INFO: IMEI acknowledgment sent {"connection_id":106481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:26:29] local.INFO: TCP Data received {"connection_id":106481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:26:29] local.INFO: Processing buffer {"connection_id":106481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:26:29] local.INFO: Packet analysis {"connection_id":106481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:26:29] local.INFO: Extracted packet for processing {"connection_id":106481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:26:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:29] 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-06-18 23:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:26:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:26:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":106481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:26:29] local.INFO: GPS data processed {"connection_id":106481,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:26:29] local.INFO: Acknowledgment sent {"connection_id":106481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:26:33] local.INFO: TCP Data received {"connection_id":107094,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:26:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:26:33] local.INFO: Processing buffer {"connection_id":107094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:26:33] local.INFO: IMEI packet received {"connection_id":107094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:26:33] local.INFO: IMEI acknowledgment sent {"connection_id":107094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:26:38] local.INFO: TCP Data received {"connection_id":107094,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:26:38] local.INFO: Processing buffer {"connection_id":107094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:26:38] local.INFO: IMEI packet received {"connection_id":107094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":107094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:26:40] local.INFO: TCP Data received {"connection_id":107094,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdf0e28012d38938006a98458000e00682c..."} 
[2026-06-18 23:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdf0e28012d38938006a98458000e00682c..."} 
[2026-06-18 23:26:40] local.INFO: Processing buffer {"connection_id":107094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdf0e28012d38938006a98458000e00682c..."} 
[2026-06-18 23:26:40] local.INFO: Packet analysis {"connection_id":107094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:26:40] local.INFO: Extracted packet for processing {"connection_id":107094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758682496,"raw_latitude":111772760,"longitude_deg":75.8682496,"latitude_deg":11.177276,"altitude":14,"angle":104,"satellites":44,"speed":0,"hex_longitude":"2d389380","hex_latitude":"06a98458","is_valid_coordinates":true} 
[2026-06-18 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142148608001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4055984074271336448,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781805289000,"timestamp_ms":1781805289000,"timestamp_seconds":1781805289,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdf0e28"} 
[2026-06-18 23:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 23:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":107094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":107094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":107094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142148608001,"66":27908,"90":206,"28":21760,"24":0,"16":124677330030297088,"45":4055984074271336448},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-18 23:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142148608001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:26:40] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 23:26:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4055984074271336448,"description":"Unknown IO ID 45"} 
[2026-06-18 23:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142148608001,"power":27908,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4055984074271336448}} 
[2026-06-18 23:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":107094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:26:40] local.INFO: GPS data processed {"connection_id":107094,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:26:40] local.INFO: Acknowledgment sent {"connection_id":107094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:26:44] local.INFO: TCP Data received {"connection_id":106305,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdfc5c0012d97a8000607aef80021011826..."} 
[2026-06-18 23:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdfc5c0012d97a8000607aef80021011826..."} 
[2026-06-18 23:26:44] local.INFO: Processing buffer {"connection_id":106305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdfc5c0012d97a8000607aef80021011826..."} 
[2026-06-18 23:26:44] local.INFO: Packet analysis {"connection_id":106305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:26:44] local.INFO: Extracted packet for processing {"connection_id":106305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:26:44] local.INFO: GPS Element Parsed {"raw_longitude":764913664,"raw_latitude":101166840,"longitude_deg":76.4913664,"latitude_deg":10.116684,"altitude":33,"angle":280,"satellites":38,"speed":41,"hex_longitude":"2d97a800","hex_latitude":"0607aef8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142163712001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94422296202051584,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7508274609114302464,"note":"Value kept but may cause issues"} 
[2026-06-18 23:26:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781805336000,"timestamp_ms":1781805336000,"timestamp_seconds":1781805336,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdfc5c0"} 
[2026-06-18 23:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:26:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 23:26:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":106305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":106305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":106305,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:26:44] 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-06-18 23:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142163712001,"66":11776,"109":206,"79":48640,"24":41,"16":94422296202051584,"45":-7508274609114302464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-06-18 23:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142163712001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:26:44] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 23:26:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94422296202051584,"km_value":94422296202051.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7508274609114302464,"description":"Unknown IO ID 45"} 
[2026-06-18 23:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142163712001,"power":11776,"unknown_109":206,"unknown_79":48640,"ignition":41,"odometer":null,"unknown_45":-7508274609114302464}} 
[2026-06-18 23:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":106305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347709,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:26:44] local.INFO: GPS data processed {"connection_id":106305,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:26:44] local.INFO: Acknowledgment sent {"connection_id":106305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:26:59] local.INFO: TCP Data received {"connection_id":106482,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:59] local.INFO: Processing buffer {"connection_id":106482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:26:59] local.INFO: IMEI packet received {"connection_id":106482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":106482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:27:00] local.INFO: TCP Data received {"connection_id":106481,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:27:00] local.INFO: Processing buffer {"connection_id":106481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:27:00] local.INFO: Packet analysis {"connection_id":106481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:27:00] local.INFO: Extracted packet for processing {"connection_id":106481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:27:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:00] 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-06-18 23:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:27: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-06-18 23:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:27:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:27:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":106481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:27:00] local.INFO: GPS data processed {"connection_id":106481,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:27:00] local.INFO: Acknowledgment sent {"connection_id":106481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:27:05] local.INFO: TCP Data received {"connection_id":106482,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106482,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:27:05] local.INFO: Processing buffer {"connection_id":106482,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:27:05] local.INFO: IMEI packet received {"connection_id":106482,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":106482,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:27:05] local.INFO: TCP Data received {"connection_id":106482,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdfe8e8012d9780c00607b2780020010f26..."} 
[2026-06-18 23:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdfe8e8012d9780c00607b2780020010f26..."} 
[2026-06-18 23:27:05] local.INFO: Processing buffer {"connection_id":106482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdfe8e8012d9780c00607b2780020010f26..."} 
[2026-06-18 23:27:05] local.INFO: Packet analysis {"connection_id":106482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:27:05] local.INFO: Extracted packet for processing {"connection_id":106482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:27:05] local.INFO: GPS Element Parsed {"raw_longitude":764903616,"raw_latitude":101167736,"longitude_deg":76.4903616,"latitude_deg":10.1167736,"altitude":32,"angle":271,"satellites":38,"speed":45,"hex_longitude":"2d9780c0","hex_latitude":"0607b278","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142166016001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94422772943421440,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7518759551996332032,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781805345000,"timestamp_ms":1781805345000,"timestamp_seconds":1781805345,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdfe8e8"} 
[2026-06-18 23:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:27:05] 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-06-18 23: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":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3688821456,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3745318913,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2624585761,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":829161678,"corrected_to":0} 
[2026-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3758173592,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.WARNING: Large IO value detected {"io_id":98,"raw_value":3221620633,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:05] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,109,79,24,241,157,16,116,158,162,45,64,168,33,38,10,66,127,192,163,35,37,115,92,128,1,240,174,227,219,7,4,113,205,25,98,48,239,46,108,2],"length":434,"final_offset":564,"validated_count":41,"validation_warnings":[{"io_id":205,"original":829161678,"validated":0}]} 
[2026-06-18 23:27:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2378208629718843392,"timestamp_seconds":2378208629718843.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 23:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:27: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-06-18 23:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142166016001,"66":11906,"109":206,"79":48640,"24":45,"16":94422772943421440,"45":-7518759551996332032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-06-18 23:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142166016001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:27:05] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 23:27:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94422772943421440,"km_value":94422772943421.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7518759551996332032,"description":"Unknown IO ID 45"} 
[2026-06-18 23:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142166016001,"power":11906,"unknown_109":206,"unknown_79":48640,"ignition":45,"odometer":null,"unknown_45":-7518759551996332032}} 
[2026-06-18 23:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":106482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347711,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:27:05] local.INFO: GPS data processed {"connection_id":106482,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:27:05] local.INFO: Acknowledgment sent {"connection_id":106482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:27:11] local.INFO: TCP Data received {"connection_id":107094,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdf6030012d38de8006a97198000e00682d..."} 
[2026-06-18 23:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdf6030012d38de8006a97198000e00682d..."} 
[2026-06-18 23:27:11] local.INFO: Processing buffer {"connection_id":107094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdf6030012d38de8006a97198000e00682d..."} 
[2026-06-18 23:27:11] local.INFO: Packet analysis {"connection_id":107094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:27:11] local.INFO: Extracted packet for processing {"connection_id":107094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758701696,"raw_latitude":111767960,"longitude_deg":75.8701696,"latitude_deg":11.176796,"altitude":14,"angle":104,"satellites":45,"speed":0,"hex_longitude":"2d38de80","hex_latitude":"06a97198","is_valid_coordinates":true} 
[2026-06-18 23:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142153984001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4076742853802612736,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781805310000,"timestamp_ms":1781805310000,"timestamp_seconds":1781805310,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdf6030"} 
[2026-06-18 23:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 23:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107094,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142153984001,"66":27930,"90":206,"28":21760,"24":0,"16":124677330030297088,"45":4076742853802612736},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-06-18 23:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142153984001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:27:11] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 23:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4076742853802612736,"description":"Unknown IO ID 45"} 
[2026-06-18 23:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142153984001,"power":27930,"unknown_90":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4076742853802612736}} 
[2026-06-18 23:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":107094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:27:11] local.INFO: GPS data processed {"connection_id":107094,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:27:11] local.INFO: Acknowledgment sent {"connection_id":107094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:27:23] local.INFO: TCP Data received {"connection_id":108017,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:27:23] local.INFO: Processing buffer {"connection_id":108017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:27:23] local.INFO: IMEI packet received {"connection_id":108017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:27:23] local.INFO: IMEI acknowledgment sent {"connection_id":108017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:27:29] local.INFO: TCP Data received {"connection_id":108017,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:27:29] local.INFO: Processing buffer {"connection_id":108017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:27:29] local.INFO: IMEI packet received {"connection_id":108017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:27:29] local.INFO: IMEI acknowledgment sent {"connection_id":108017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:27:29] local.INFO: TCP Data received {"connection_id":108017,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:27:29] local.INFO: Processing buffer {"connection_id":108017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:27:29] local.INFO: Packet analysis {"connection_id":108017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:27:29] local.INFO: Extracted packet for processing {"connection_id":108017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:27:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:29] 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-06-18 23:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:27:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:27:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":108017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:27:29] local.INFO: GPS data processed {"connection_id":108017,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:27:29] local.INFO: Acknowledgment sent {"connection_id":108017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:27:31] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:31] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:31] local.INFO: IMEI packet received {"connection_id":107095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":107095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:27:32] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:32] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:32] local.INFO: IMEI packet received {"connection_id":107095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:27:32] local.INFO: IMEI acknowledgment sent {"connection_id":107095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:27:36] local.INFO: TCP Data received {"connection_id":106482,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe00c10012d975ac00607b360001c010c25..."} 
[2026-06-18 23:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe00c10012d975ac00607b360001c010c25..."} 
[2026-06-18 23:27:36] local.INFO: Processing buffer {"connection_id":106482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe00c10012d975ac00607b360001c010c25..."} 
[2026-06-18 23:27:36] local.INFO: Packet analysis {"connection_id":106482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:27:36] local.INFO: Extracted packet for processing {"connection_id":106482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:27:36] local.INFO: GPS Element Parsed {"raw_longitude":764893888,"raw_latitude":101167968,"longitude_deg":76.4893888,"latitude_deg":10.1167968,"altitude":28,"angle":268,"satellites":37,"speed":41,"hex_longitude":"2d975ac0","hex_latitude":"0607b360","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142168320001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94423241094856704,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7529807444831995904,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781805354000,"timestamp_ms":1781805354000,"timestamp_seconds":1781805354,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe00c10"} 
[2026-06-18 23:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:27: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-06-18 23: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":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-06-18 23:27:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106482,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:27:36] 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-06-18 23:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142168320001,"66":11765,"109":206,"79":48640,"24":41,"16":94423241094856704,"45":-7529807444831995904},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,79,24,16,45]} 
[2026-06-18 23:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142168320001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:27:36] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-06-18 23:27:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94423241094856704,"km_value":94423241094856.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7529807444831995904,"description":"Unknown IO ID 45"} 
[2026-06-18 23:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142168320001,"power":11765,"unknown_109":206,"unknown_79":48640,"ignition":41,"odometer":null,"unknown_45":-7529807444831995904}} 
[2026-06-18 23:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":106482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347714,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:27:36] local.INFO: GPS data processed {"connection_id":106482,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:27:36] local.INFO: Acknowledgment sent {"connection_id":106482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:27:38] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:38] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:27:38] local.INFO: IMEI packet received {"connection_id":107095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:27:38] local.INFO: IMEI acknowledgment sent {"connection_id":107095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:27:39] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe046a80100000000000000000000000000..."} 
[2026-06-18 23:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe046a80100000000000000000000000000..."} 
[2026-06-18 23:27:39] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe046a80100000000000000000000000000..."} 
[2026-06-18 23:27:39] local.INFO: Packet analysis {"connection_id":107095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:27:39] local.INFO: Extracted packet for processing {"connection_id":107095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:27:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142159360001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4097853477054683136,"note":"Value kept but may cause issues"} 
[2026-06-18 23:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781805369000,"timestamp_ms":1781805369000,"timestamp_seconds":1781805369,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe046a8"} 
[2026-06-18 23:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 23:27:39] 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-06-18 23:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":107095,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:27:39] local.INFO: GPS data processed {"connection_id":107095,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:27:39] local.INFO: Acknowledgment sent {"connection_id":107095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:27:59] local.INFO: TCP Data received {"connection_id":108018,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:27:59] local.INFO: Processing buffer {"connection_id":108018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:27:59] local.INFO: IMEI packet received {"connection_id":108018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":108018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:28:00] local.INFO: TCP Data received {"connection_id":108018,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:28:00] local.INFO: Processing buffer {"connection_id":108018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:28:00] local.INFO: IMEI packet received {"connection_id":108018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":108018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:28:00] local.INFO: TCP Data received {"connection_id":108017,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:28:00] local.INFO: Processing buffer {"connection_id":108017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:28:00] local.INFO: Packet analysis {"connection_id":108017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:28:00] local.INFO: Extracted packet for processing {"connection_id":108017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:28:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:00] 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-06-18 23:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:28:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:28:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:28:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":108017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:28:00] local.INFO: GPS data processed {"connection_id":108017,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:28:00] local.INFO: Acknowledgment sent {"connection_id":108017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:28:05] local.INFO: TCP Data received {"connection_id":108018,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108018,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:28:05] local.INFO: Processing buffer {"connection_id":108018,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:28:05] local.INFO: IMEI packet received {"connection_id":108018,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":108018,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:28:06] local.INFO: TCP Data received {"connection_id":108018,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe18310012d95cd8006076388001f010225..."} 
[2026-06-18 23:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe18310012d95cd8006076388001f010225..."} 
[2026-06-18 23:28:06] local.INFO: Processing buffer {"connection_id":108018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe18310012d95cd8006076388001f010225..."} 
[2026-06-18 23:28:06] local.INFO: Packet analysis {"connection_id":108018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe1"} 
[2026-06-18 23:28:06] local.INFO: Extracted packet for processing {"connection_id":108018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe1"} 
[2026-06-18 23:28:06] local.INFO: GPS Element Parsed {"raw_longitude":764792192,"raw_latitude":101147528,"longitude_deg":76.4792192,"latitude_deg":10.1147528,"altitude":31,"angle":258,"satellites":37,"speed":37,"hex_longitude":"2d95cd80","hex_latitude":"06076388","is_valid_coordinates":true} 
[2026-06-18 23:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:28:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142192896001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94428218961952768,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7642186329288505344,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:28:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781805450000,"timestamp_ms":1781805450000,"timestamp_seconds":1781805450,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe18310"} 
[2026-06-18 23:28:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:28:06] 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-06-18 23:28:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 23:28:06] 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-06-18 23:28:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:28:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:28:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:28:06] local.INFO: Teltonika packet parsed successfully {"connection_id":108018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:28:06] local.INFO: Passing IMEI to GPS processor {"connection_id":108018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:28:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":108018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:28:06] 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-06-18 23:28:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:28:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:28:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142192896001,"66":11852,"228":206,"79":48640,"24":37,"16":94428218961952768,"45":-7642186329288505344},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-06-18 23:28:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:28:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:28:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142192896001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:28:06] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-18 23:28:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:28:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94428218961952768,"km_value":94428218961952.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:28:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7642186329288505344,"description":"Unknown IO ID 45"} 
[2026-06-18 23:28:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142192896001,"power":11852,"unknown_228":206,"unknown_79":48640,"ignition":37,"odometer":null,"unknown_45":-7642186329288505344}} 
[2026-06-18 23:28:06] local.INFO: DEBUG: GPS processor result {"connection_id":108018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347716,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:28:06] local.INFO: GPS data processed {"connection_id":108018,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:28:06] local.INFO: Acknowledgment sent {"connection_id":108018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:28:23] local.INFO: TCP Data received {"connection_id":107096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:28:23] local.INFO: Processing buffer {"connection_id":107096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:28:23] local.INFO: IMEI packet received {"connection_id":107096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":107096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:28:27] local.INFO: TCP Data received {"connection_id":107095,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbdfd948012d3958c006a95568000c005d2d..."} 
[2026-06-18 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbdfd948012d3958c006a95568000c005d2d..."} 
[2026-06-18 23:28:27] local.INFO: Processing buffer {"connection_id":107095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbdfd948012d3958c006a95568000c005d2d..."} 
[2026-06-18 23:28:27] local.INFO: Packet analysis {"connection_id":107095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:28:27] local.INFO: Extracted packet for processing {"connection_id":107095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdf"} 
[2026-06-18 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":758732992,"raw_latitude":111760744,"longitude_deg":75.8732992,"latitude_deg":11.1760744,"altitude":12,"angle":93,"satellites":45,"speed":13,"hex_longitude":"2d3958c0","hex_latitude":"06a95568","is_valid_coordinates":true} 
[2026-06-18 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:27] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1781805341000,"timestamp_ms":1781805341000,"timestamp_seconds":1781805341,"priority":1,"record_length":96,"hex_timestamp":"0000019edbdfd948"} 
[2026-06-18 23:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:28: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 23:28:27] 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-06-18 23:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":107095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":107095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":107095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27430,"250":206,"28":21760,"24":13,"16":124677330030297088},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16]} 
[2026-06-18 23:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:28:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 23:28:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:28:27] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27430,"unknown_250":206,"unknown_28":21760,"ignition":13,"odometer":null}} 
[2026-06-18 23:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":107095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:28:27] local.INFO: GPS data processed {"connection_id":107095,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:28:27] local.INFO: Acknowledgment sent {"connection_id":107095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:28:29] local.INFO: TCP Data received {"connection_id":107096,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:28:29] local.INFO: Processing buffer {"connection_id":107096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:28:29] local.INFO: IMEI packet received {"connection_id":107096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":107096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:28:29] local.INFO: TCP Data received {"connection_id":107096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:28:29] local.INFO: Processing buffer {"connection_id":107096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbddae98012cc3308007685ac8005d006d2a..."} 
[2026-06-18 23:28:29] local.INFO: Packet analysis {"connection_id":107096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:28:29] local.INFO: Extracted packet for processing {"connection_id":107096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbdd"} 
[2026-06-18 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142053888001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:29] 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-06-18 23:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805199000,"timestamp_ms":1781805199000,"timestamp_seconds":1781805199,"priority":1,"record_length":96,"hex_timestamp":"0000019edbddae98"} 
[2026-06-18 23:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142053888001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142053888001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:28:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:28:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142053888001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":107096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:28:29] local.INFO: GPS data processed {"connection_id":107096,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:28:29] local.INFO: Acknowledgment sent {"connection_id":107096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:28:32] local.INFO: TCP Data received {"connection_id":106483,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:32] local.INFO: Processing buffer {"connection_id":106483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:32] local.INFO: IMEI packet received {"connection_id":106483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:28:32] local.INFO: IMEI acknowledgment sent {"connection_id":106483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:28:34] local.INFO: TCP Data received {"connection_id":106483,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:34] local.INFO: Processing buffer {"connection_id":106483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:34] local.INFO: IMEI packet received {"connection_id":106483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:28:34] local.INFO: IMEI acknowledgment sent {"connection_id":106483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:28:37] local.INFO: TCP Data received {"connection_id":108018,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe1ae08012d95a9c006075ef0001f010b26..."} 
[2026-06-18 23:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe1ae08012d95a9c006075ef0001f010b26..."} 
[2026-06-18 23:28:37] local.INFO: Processing buffer {"connection_id":108018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe1ae08012d95a9c006075ef0001f010b26..."} 
[2026-06-18 23:28:37] local.INFO: Packet analysis {"connection_id":108018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe1"} 
[2026-06-18 23:28:37] local.INFO: Extracted packet for processing {"connection_id":108018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe1"} 
[2026-06-18 23:28:37] local.INFO: GPS Element Parsed {"raw_longitude":764783040,"raw_latitude":101146352,"longitude_deg":76.478304,"latitude_deg":10.1146352,"altitude":31,"angle":267,"satellites":38,"speed":24,"hex_longitude":"2d95a9c0","hex_latitude":"06075ef0","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142195200001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94428661343584256,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7652319428450482176,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781805461000,"timestamp_ms":1781805461000,"timestamp_seconds":1781805461,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe1ae08"} 
[2026-06-18 23:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 23:28:37] 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-06-18 23: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-06-18 23:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108018,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:28:37] 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-06-18 23:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142195200001,"66":11700,"228":206,"79":48640,"24":24,"16":94428661343584256,"45":-7652319428450482176},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-06-18 23:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142195200001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:28:37] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-06-18 23:28:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":48640,"description":"Unknown IO ID 79"} 
[2026-06-18 23:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94428661343584256,"km_value":94428661343584.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7652319428450482176,"description":"Unknown IO ID 45"} 
[2026-06-18 23:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142195200001,"power":11700,"unknown_228":206,"unknown_79":48640,"ignition":24,"odometer":null,"unknown_45":-7652319428450482176}} 
[2026-06-18 23:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":108018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347719,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:28:37] local.INFO: GPS data processed {"connection_id":108018,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:28:37] local.INFO: Acknowledgment sent {"connection_id":108018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:28:38] local.INFO: TCP Data received {"connection_id":106483,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:38] local.INFO: Processing buffer {"connection_id":106483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:28:38] local.INFO: IMEI packet received {"connection_id":106483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:28:38] local.INFO: IMEI acknowledgment sent {"connection_id":106483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:28:39] local.INFO: TCP Data received {"connection_id":106483,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe0bfc00100000000000000000000000000..."} 
[2026-06-18 23:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe0bfc00100000000000000000000000000..."} 
[2026-06-18 23:28:39] local.INFO: Processing buffer {"connection_id":106483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe0bfc00100000000000000000000000000..."} 
[2026-06-18 23:28:39] local.INFO: Packet analysis {"connection_id":106483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:28:39] local.INFO: Extracted packet for processing {"connection_id":106483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:28:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142167296001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4132263792955713536,"note":"Value kept but may cause issues"} 
[2026-06-18 23:28:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781805400000,"timestamp_ms":1781805400000,"timestamp_seconds":1781805400,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe0bfc0"} 
[2026-06-18 23:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:28:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-06-18 23:28:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1075,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:28:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":106483,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:28:39] local.INFO: GPS data processed {"connection_id":106483,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:28:39] local.INFO: Acknowledgment sent {"connection_id":106483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:29:00] local.INFO: TCP Data received {"connection_id":107096,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:29:00] local.INFO: Processing buffer {"connection_id":107096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:29:00] local.INFO: Packet analysis {"connection_id":107096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:29:00] local.INFO: Extracted packet for processing {"connection_id":107096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:00] 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-06-18 23:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:29: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-06-18 23:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:29:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:29:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:29:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":107096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:29:00] local.INFO: GPS data processed {"connection_id":107096,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:29:00] local.INFO: Acknowledgment sent {"connection_id":107096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:29:11] local.INFO: TCP Data received {"connection_id":106483,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe04e78012d39744006a91d50000b00a325..."} 
[2026-06-18 23:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe04e78012d39744006a91d50000b00a325..."} 
[2026-06-18 23:29:11] local.INFO: Processing buffer {"connection_id":106483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe04e78012d39744006a91d50000b00a325..."} 
[2026-06-18 23:29:11] local.INFO: Packet analysis {"connection_id":106483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:29:11] local.INFO: Extracted packet for processing {"connection_id":106483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758740032,"raw_latitude":111746384,"longitude_deg":75.8740032,"latitude_deg":11.1746384,"altitude":11,"angle":163,"satellites":37,"speed":35,"hex_longitude":"2d397440","hex_latitude":"06a91d50","is_valid_coordinates":true} 
[2026-06-18 23:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781805371000,"timestamp_ms":1781805371000,"timestamp_seconds":1781805371,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe04e78"} 
[2026-06-18 23:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 23:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"250":206,"28":21760,"24":35,"16":124677330030297088},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16]} 
[2026-06-18 23:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:29:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 23:29:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:29:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_250":206,"unknown_28":21760,"ignition":35,"odometer":null}} 
[2026-06-18 23:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":106483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:29:11] local.INFO: GPS data processed {"connection_id":106483,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:29:11] local.INFO: Acknowledgment sent {"connection_id":106483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:29:28] local.INFO: TCP Data received {"connection_id":107098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:29:28] local.INFO: Processing buffer {"connection_id":107098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:29:28] local.INFO: IMEI packet received {"connection_id":107098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":107098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:29:32] local.INFO: TCP Data received {"connection_id":106484,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:29:32] local.INFO: Processing buffer {"connection_id":106484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:29:32] local.INFO: IMEI packet received {"connection_id":106484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":106484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:29:33] local.INFO: TCP Data received {"connection_id":107098,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:29:33] local.INFO: Processing buffer {"connection_id":107098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:29:33] local.INFO: IMEI packet received {"connection_id":107098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:29:33] local.INFO: IMEI acknowledgment sent {"connection_id":107098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:29:34] local.INFO: TCP Data received {"connection_id":107098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:29:34] local.INFO: Processing buffer {"connection_id":107098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:29:34] local.INFO: Packet analysis {"connection_id":107098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:29:34] local.INFO: Extracted packet for processing {"connection_id":107098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:29:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:34] 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-06-18 23:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:29:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:29:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:29:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":107098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:29:34] local.INFO: GPS data processed {"connection_id":107098,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:29:34] local.INFO: Acknowledgment sent {"connection_id":107098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:29:38] local.INFO: TCP Data received {"connection_id":106484,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:29:38] local.INFO: Processing buffer {"connection_id":106484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:29:38] local.INFO: IMEI packet received {"connection_id":106484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:29:38] local.INFO: IMEI acknowledgment sent {"connection_id":106484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:29:39] local.INFO: TCP Data received {"connection_id":106484,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe0a080012d3983c006a8dd70000900a62a..."} 
[2026-06-18 23:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe0a080012d3983c006a8dd70000900a62a..."} 
[2026-06-18 23:29:39] local.INFO: Processing buffer {"connection_id":106484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe0a080012d3983c006a8dd70000900a62a..."} 
[2026-06-18 23:29:39] local.INFO: Packet analysis {"connection_id":106484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:29:39] local.INFO: Extracted packet for processing {"connection_id":106484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758744000,"raw_latitude":111730032,"longitude_deg":75.8744,"latitude_deg":11.1730032,"altitude":9,"angle":166,"satellites":42,"speed":0,"hex_longitude":"2d3983c0","hex_latitude":"06a8dd70","is_valid_coordinates":true} 
[2026-06-18 23:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142174976001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4140004354811580416,"note":"Value kept but may cause issues"} 
[2026-06-18 23:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781805392000,"timestamp_ms":1781805392000,"timestamp_seconds":1781805392,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe0a080"} 
[2026-06-18 23:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:29:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-06-18 23:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:29:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142174976001,"66":27908,"250":206,"28":21760,"24":0,"16":124677330030297088,"45":4140004354811580416},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 23:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142174976001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:29:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 23:29:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4140004354811580416,"description":"Unknown IO ID 45"} 
[2026-06-18 23:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142174976001,"power":27908,"unknown_250":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4140004354811580416}} 
[2026-06-18 23:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":106484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:29:39] local.INFO: GPS data processed {"connection_id":106484,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:29:39] local.INFO: Acknowledgment sent {"connection_id":106484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:30:05] local.INFO: TCP Data received {"connection_id":107098,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:30:05] local.INFO: Processing buffer {"connection_id":107098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:30:05] local.INFO: Packet analysis {"connection_id":107098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:30:05] local.INFO: Extracted packet for processing {"connection_id":107098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:30:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:05] 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-06-18 23:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:30:05] 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-06-18 23:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:30:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:30:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":107098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:30:05] local.INFO: GPS data processed {"connection_id":107098,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:30:05] local.INFO: Acknowledgment sent {"connection_id":107098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:30:11] local.INFO: TCP Data received {"connection_id":106484,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe0f288012d3995c006a89710000a00a42d..."} 
[2026-06-18 23:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe0f288012d3995c006a89710000a00a42d..."} 
[2026-06-18 23:30:11] local.INFO: Processing buffer {"connection_id":106484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe0f288012d3995c006a89710000a00a42d..."} 
[2026-06-18 23:30:11] local.INFO: Packet analysis {"connection_id":106484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:30:11] local.INFO: Extracted packet for processing {"connection_id":106484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe0"} 
[2026-06-18 23:30:11] local.INFO: GPS Element Parsed {"raw_longitude":758748608,"raw_latitude":111712016,"longitude_deg":75.8748608,"latitude_deg":11.1712016,"altitude":10,"angle":164,"satellites":45,"speed":0,"hex_longitude":"2d3995c0","hex_latitude":"06a89710","is_valid_coordinates":true} 
[2026-06-18 23:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:30:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142180352001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4144367216946409472,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781805413000,"timestamp_ms":1781805413000,"timestamp_seconds":1781805413,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe0f288"} 
[2026-06-18 23:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:30:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 23:30:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:30:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142180352001,"66":27887,"250":206,"28":21760,"24":0,"16":124677330030297088,"45":4144367216946409472},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 23:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142180352001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:30:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 23:30:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:30:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4144367216946409472,"description":"Unknown IO ID 45"} 
[2026-06-18 23:30:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142180352001,"power":27887,"unknown_250":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4144367216946409472}} 
[2026-06-18 23:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":106484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:30:11] local.INFO: GPS data processed {"connection_id":106484,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:30:11] local.INFO: Acknowledgment sent {"connection_id":106484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:30:23] local.INFO: TCP Data received {"connection_id":106306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:30:23] local.INFO: Processing buffer {"connection_id":106306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:30:23] local.INFO: IMEI packet received {"connection_id":106306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":106306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:30:28] local.INFO: TCP Data received {"connection_id":106306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:30:28] local.INFO: Processing buffer {"connection_id":106306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:30:28] local.INFO: IMEI packet received {"connection_id":106306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":106306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:30:29] local.INFO: TCP Data received {"connection_id":106306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:30:29] local.INFO: Processing buffer {"connection_id":106306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:30:29] local.INFO: Packet analysis {"connection_id":106306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:30:29] local.INFO: Extracted packet for processing {"connection_id":106306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:30:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:29] 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-06-18 23:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:30:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:30:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":106306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:30:29] local.INFO: GPS data processed {"connection_id":106306,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:30:29] local.INFO: Acknowledgment sent {"connection_id":106306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:30:32] local.INFO: TCP Data received {"connection_id":107100,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:32] local.INFO: Processing buffer {"connection_id":107100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:32] local.INFO: IMEI packet received {"connection_id":107100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":107100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:30:33] local.INFO: TCP Data received {"connection_id":107100,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:33] local.INFO: Processing buffer {"connection_id":107100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:33] local.INFO: IMEI packet received {"connection_id":107100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:30:33] local.INFO: IMEI acknowledgment sent {"connection_id":107100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:30:38] local.INFO: TCP Data received {"connection_id":107100,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:38] local.INFO: Processing buffer {"connection_id":107100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:30:38] local.INFO: IMEI packet received {"connection_id":107100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:30:38] local.INFO: IMEI acknowledgment sent {"connection_id":107100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:30:39] local.INFO: TCP Data received {"connection_id":107100,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe14490012d39aa0006a850b8000b00a429..."} 
[2026-06-18 23:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe14490012d39aa0006a850b8000b00a429..."} 
[2026-06-18 23:30:39] local.INFO: Processing buffer {"connection_id":107100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe14490012d39aa0006a850b8000b00a429..."} 
[2026-06-18 23:30:39] local.INFO: Packet analysis {"connection_id":107100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe1"} 
[2026-06-18 23:30:39] local.INFO: Extracted packet for processing {"connection_id":107100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe1"} 
[2026-06-18 23:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758753792,"raw_latitude":111694008,"longitude_deg":75.8753792,"latitude_deg":11.1694008,"altitude":11,"angle":164,"satellites":41,"speed":0,"hex_longitude":"2d39aa00","hex_latitude":"06a850b8","is_valid_coordinates":true} 
[2026-06-18 23:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142185728001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4149433766522589184,"note":"Value kept but may cause issues"} 
[2026-06-18 23:30:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781805434000,"timestamp_ms":1781805434000,"timestamp_seconds":1781805434,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe14490"} 
[2026-06-18 23:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-06-18 23:30:39] 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-06-18 23:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":107100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":107100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":107100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142185728001,"66":27930,"250":206,"28":21760,"24":0,"16":124677330030297088,"45":4149433766522589184},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 23:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142185728001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:30:39] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 23:30:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4149433766522589184,"description":"Unknown IO ID 45"} 
[2026-06-18 23:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142185728001,"power":27930,"unknown_250":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4149433766522589184}} 
[2026-06-18 23:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":107100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:30:39] local.INFO: GPS data processed {"connection_id":107100,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:30:39] local.INFO: Acknowledgment sent {"connection_id":107100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:31:00] local.INFO: TCP Data received {"connection_id":106306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:31:00] local.INFO: Processing buffer {"connection_id":106306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:31:00] local.INFO: Packet analysis {"connection_id":106306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:31:00] local.INFO: Extracted packet for processing {"connection_id":106306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:31:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 23:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:00] 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-06-18 23:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 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-06-18 23:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 23:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:31: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-06-18 23:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:31:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:31:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:31:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":106306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:31:00] local.INFO: GPS data processed {"connection_id":106306,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:31:00] local.INFO: Acknowledgment sent {"connection_id":106306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:31:11] local.INFO: TCP Data received {"connection_id":107100,"ip":"117.224.147.250","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe19698012d39b48006a82098000e00a92c..."} 
[2026-06-18 23:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe19698012d39b48006a82098000e00a92c..."} 
[2026-06-18 23:31:11] local.INFO: Processing buffer {"connection_id":107100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe19698012d39b48006a82098000e00a92c..."} 
[2026-06-18 23:31:11] local.INFO: Packet analysis {"connection_id":107100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe1"} 
[2026-06-18 23:31:11] local.INFO: Extracted packet for processing {"connection_id":107100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe1"} 
[2026-06-18 23:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758756480,"raw_latitude":111681688,"longitude_deg":75.875648,"latitude_deg":11.1681688,"altitude":14,"angle":169,"satellites":44,"speed":0,"hex_longitude":"2d39b480","hex_latitude":"06a82098","is_valid_coordinates":true} 
[2026-06-18 23:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142191104001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4155133634796369920,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781805455000,"timestamp_ms":1781805455000,"timestamp_seconds":1781805455,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe19698"} 
[2026-06-18 23:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 23:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":107100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":107100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":107100,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.147.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142191104001,"66":27767,"250":206,"28":21760,"24":0,"16":124677330030297088,"45":4155133634796369920},"client_ip":"117.224.147.250","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-06-18 23:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142191104001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:31:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-06-18 23:31:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-06-18 23:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4155133634796369920,"description":"Unknown IO ID 45"} 
[2026-06-18 23:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142191104001,"power":27767,"unknown_250":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4155133634796369920}} 
[2026-06-18 23:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":107100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:31:11] local.INFO: GPS data processed {"connection_id":107100,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:31:11] local.INFO: Acknowledgment sent {"connection_id":107100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:31:23] local.INFO: TCP Data received {"connection_id":107101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:31:23] local.INFO: Processing buffer {"connection_id":107101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:31:23] local.INFO: IMEI packet received {"connection_id":107101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":107101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:31:28] local.INFO: TCP Data received {"connection_id":107101,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:31:28] local.INFO: Processing buffer {"connection_id":107101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:31:28] local.INFO: IMEI packet received {"connection_id":107101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:31:28] local.INFO: IMEI acknowledgment sent {"connection_id":107101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:31:29] local.INFO: TCP Data received {"connection_id":107101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:31:29] local.INFO: Processing buffer {"connection_id":107101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:31:29] local.INFO: Packet analysis {"connection_id":107101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:31:29] local.INFO: Extracted packet for processing {"connection_id":107101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:31:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:31:29] 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-06-18 23:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:31:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:31:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":107101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:31:29] local.INFO: GPS data processed {"connection_id":107101,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:31:29] local.INFO: Acknowledgment sent {"connection_id":107101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:31:36] local.INFO: TCP Data received {"connection_id":106485,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:31:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:31:36] local.INFO: Processing buffer {"connection_id":106485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:31:36] local.INFO: IMEI packet received {"connection_id":106485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:31:36] local.INFO: IMEI acknowledgment sent {"connection_id":106485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:31:37] local.INFO: TCP Data received {"connection_id":106485,"ip":"117.224.147.250","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:31:37] local.INFO: Processing buffer {"connection_id":106485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:31:37] local.INFO: IMEI packet received {"connection_id":106485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":106485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:32:00] local.INFO: TCP Data received {"connection_id":107101,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:32:00] local.INFO: Processing buffer {"connection_id":107101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:32:00] local.INFO: Packet analysis {"connection_id":107101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:32:00] local.INFO: Extracted packet for processing {"connection_id":107101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:32:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:32:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:32:00] 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-06-18 23:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:32: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-06-18 23:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:32:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:32:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:32:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":107101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:32:00] local.INFO: GPS data processed {"connection_id":107101,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:32:00] local.INFO: Acknowledgment sent {"connection_id":107101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:32:23] local.INFO: TCP Data received {"connection_id":108019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:32:23] local.INFO: Processing buffer {"connection_id":108019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:32:23] local.INFO: IMEI packet received {"connection_id":108019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:32:23] local.INFO: IMEI acknowledgment sent {"connection_id":108019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:32:28] local.INFO: TCP Data received {"connection_id":108019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:32:28] local.INFO: Processing buffer {"connection_id":108019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:32:28] local.INFO: IMEI packet received {"connection_id":108019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:32:28] local.INFO: IMEI acknowledgment sent {"connection_id":108019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:32:29] local.INFO: TCP Data received {"connection_id":108019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:32:29] local.INFO: Processing buffer {"connection_id":108019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:32:29] local.INFO: Packet analysis {"connection_id":108019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:32:29] local.INFO: Extracted packet for processing {"connection_id":108019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:32:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:32:29] 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-06-18 23:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:32:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:32:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":108019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:32:29] local.INFO: GPS data processed {"connection_id":108019,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:32:29] local.INFO: Acknowledgment sent {"connection_id":108019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:32:58] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:32:58] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:32:58] local.INFO: IMEI packet received {"connection_id":108020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":108020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:33:00] local.INFO: TCP Data received {"connection_id":108019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:33:00] local.INFO: Processing buffer {"connection_id":108019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:33:00] local.INFO: Packet analysis {"connection_id":108019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:33:00] local.INFO: Extracted packet for processing {"connection_id":108019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:00] 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-06-18 23:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:33: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-06-18 23:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:33:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:33:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":108019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:33:00] local.INFO: GPS data processed {"connection_id":108019,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:33:00] local.INFO: Acknowledgment sent {"connection_id":108019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:33:03] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:33:03] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:33:03] local.INFO: IMEI packet received {"connection_id":108020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":108020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:33:04] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe4f5e0012d3bc5c006a6bf58003e00992d..."} 
[2026-06-18 23:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe4f5e0012d3bc5c006a6bf58003e00992d..."} 
[2026-06-18 23:33:04] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe4f5e0012d3bc5c006a6bf58003e00992d..."} 
[2026-06-18 23:33:04] local.INFO: Packet analysis {"connection_id":108020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe4"} 
[2026-06-18 23:33:04] local.INFO: Extracted packet for processing {"connection_id":108020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe4"} 
[2026-06-18 23:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758891968,"raw_latitude":111591256,"longitude_deg":75.8891968,"latitude_deg":11.1591256,"altitude":62,"angle":153,"satellites":45,"speed":31,"hex_longitude":"2d3bc5c0","hex_latitude":"06a6bf58","is_valid_coordinates":true} 
[2026-06-18 23:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:04] 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-06-18 23:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1781805676000,"timestamp_ms":1781805676000,"timestamp_seconds":1781805676,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe4f5e0"} 
[2026-06-18 23:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:33:04] 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-06-18 23:33:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-06-18 23:33: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-06-18 23:33:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":108020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"24":31,"16":124677330030297088},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-06-18 23:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:33:04] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":27767,"ignition":31,"odometer":null}} 
[2026-06-18 23:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":108020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:33:04] local.INFO: GPS data processed {"connection_id":108020,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:33:04] local.INFO: Acknowledgment sent {"connection_id":108020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:33:23] local.INFO: TCP Data received {"connection_id":106308,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:33:23] local.INFO: Processing buffer {"connection_id":106308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:33:23] local.INFO: IMEI packet received {"connection_id":106308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":106308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:33:29] local.INFO: TCP Data received {"connection_id":106308,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:33:29] local.INFO: Processing buffer {"connection_id":106308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:33:29] local.INFO: IMEI packet received {"connection_id":106308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":106308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:33:29] local.INFO: TCP Data received {"connection_id":106308,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:33:29] local.INFO: Processing buffer {"connection_id":106308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe24660012cc3308007685ac8005d006d2b..."} 
[2026-06-18 23:33:29] local.INFO: Packet analysis {"connection_id":106308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:33:29] local.INFO: Extracted packet for processing {"connection_id":106308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe2"} 
[2026-06-18 23:33:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":43,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142130944001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:29] 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-06-18 23:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805500000,"timestamp_ms":1781805500000,"timestamp_seconds":1781805500,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe24660"} 
[2026-06-18 23:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:33:29] 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-06-18 23:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142130944001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142130944001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:33:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:33:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:33:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142130944001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":106308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:33:29] local.INFO: GPS data processed {"connection_id":106308,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:33:29] local.INFO: Acknowledgment sent {"connection_id":106308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:33:36] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe547e8012d3be30006a684e8004400972d..."} 
[2026-06-18 23:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe547e8012d3be30006a684e8004400972d..."} 
[2026-06-18 23:33:36] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe547e8012d3be30006a684e8004400972d..."} 
[2026-06-18 23:33:36] local.INFO: Packet analysis {"connection_id":108020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe5"} 
[2026-06-18 23:33:36] local.INFO: Extracted packet for processing {"connection_id":108020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe5"} 
[2026-06-18 23:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758899456,"raw_latitude":111576296,"longitude_deg":75.8899456,"latitude_deg":11.1576296,"altitude":68,"angle":151,"satellites":45,"speed":32,"hex_longitude":"2d3be300","hex_latitude":"06a684e8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142253056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4307059753449641984,"note":"Value kept but may cause issues"} 
[2026-06-18 23:33:36] 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-06-18 23:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781805697000,"timestamp_ms":1781805697000,"timestamp_seconds":1781805697,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe547e8"} 
[2026-06-18 23:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:33: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-06-18 23: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:33: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-06-18 23: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-06-18 23:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142253056001,"66":27908,"24":32,"16":124677330030297088,"45":4307059753449641984},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-06-18 23:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142253056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4307059753449641984,"description":"Unknown IO ID 45"} 
[2026-06-18 23:33:36] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":456142253056001,"power":27908,"ignition":32,"odometer":null,"unknown_45":4307059753449641984}} 
[2026-06-18 23:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":108020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:33:36] local.INFO: GPS data processed {"connection_id":108020,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:33:36] local.INFO: Acknowledgment sent {"connection_id":108020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:34:00] local.INFO: TCP Data received {"connection_id":106308,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:34:01] local.INFO: Processing buffer {"connection_id":106308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:34:01] local.INFO: Packet analysis {"connection_id":106308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:34:01] local.INFO: Extracted packet for processing {"connection_id":106308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:34:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:01] 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-06-18 23:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:34:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:34:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":106308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:34:01] local.INFO: GPS data processed {"connection_id":106308,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:34:01] local.INFO: Acknowledgment sent {"connection_id":106308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:34:08] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe599f0012d3c04c006a64dc0004700932d..."} 
[2026-06-18 23:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe599f0012d3c04c006a64dc0004700932d..."} 
[2026-06-18 23:34:08] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe599f0012d3c04c006a64dc0004700932d..."} 
[2026-06-18 23:34:08] local.INFO: Packet analysis {"connection_id":108020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe5"} 
[2026-06-18 23:34:08] local.INFO: Extracted packet for processing {"connection_id":108020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe5"} 
[2026-06-18 23:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758908096,"raw_latitude":111562176,"longitude_deg":75.8908096,"latitude_deg":11.1562176,"altitude":71,"angle":147,"satellites":45,"speed":0,"hex_longitude":"2d3c04c0","hex_latitude":"06a64dc0","is_valid_coordinates":true} 
[2026-06-18 23:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142258432001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4315292896514598912,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1781805718000,"timestamp_ms":1781805718000,"timestamp_seconds":1781805718,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe599f0"} 
[2026-06-18 23:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-06-18 23:34: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-06-18 23:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":108020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142258432001,"66":27821,"11":206,"19":48128,"24":0,"16":124677330030297088,"45":4315292896514598912},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-06-18 23:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142258432001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:34:08] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-06-18 23:34:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4315292896514598912,"description":"Unknown IO ID 45"} 
[2026-06-18 23:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142258432001,"power":27821,"unknown_11":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4315292896514598912}} 
[2026-06-18 23:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":108020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:34:08] local.INFO: GPS data processed {"connection_id":108020,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:34:08] local.INFO: Acknowledgment sent {"connection_id":108020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:34:28] local.INFO: TCP Data received {"connection_id":107102,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:34:29] local.INFO: Processing buffer {"connection_id":107102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:34:29] local.INFO: IMEI packet received {"connection_id":107102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":107102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:34:30] local.INFO: TCP Data received {"connection_id":106309,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:34:30] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:34:30] local.INFO: IMEI packet received {"connection_id":106309,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:34:30] local.INFO: IMEI acknowledgment sent {"connection_id":106309,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:34:34] local.INFO: TCP Data received {"connection_id":107102,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:34:34] local.INFO: Processing buffer {"connection_id":107102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:34:34] local.INFO: IMEI packet received {"connection_id":107102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:34:34] local.INFO: IMEI acknowledgment sent {"connection_id":107102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:34:34] local.INFO: TCP Data received {"connection_id":107102,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:34:34] local.INFO: Processing buffer {"connection_id":107102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:34:34] local.INFO: Packet analysis {"connection_id":107102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:34:34] local.INFO: Extracted packet for processing {"connection_id":107102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:34:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:34] 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-06-18 23:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":107102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":107102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":107102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:34:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:34:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:34:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":107102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:34:34] local.INFO: GPS data processed {"connection_id":107102,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:34:34] local.INFO: Acknowledgment sent {"connection_id":107102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:34:39] local.INFO: TCP Data received {"connection_id":106309,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe71ca8012d91ad00060783000011010926..."} 
[2026-06-18 23:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe71ca8012d91ad00060783000011010926..."} 
[2026-06-18 23:34:39] local.INFO: Processing buffer {"connection_id":106309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe71ca8012d91ad00060783000011010926..."} 
[2026-06-18 23:34:39] local.INFO: Packet analysis {"connection_id":106309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:34:39] local.INFO: Extracted packet for processing {"connection_id":106309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:34:39] local.INFO: GPS Element Parsed {"raw_longitude":764521728,"raw_latitude":101155584,"longitude_deg":76.4521728,"latitude_deg":10.1155584,"altitude":17,"angle":265,"satellites":38,"speed":45,"hex_longitude":"2d91ad00","hex_latitude":"06078300","is_valid_coordinates":true} 
[2026-06-18 23:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142287104001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94441606375014400,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7939705379669659648,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:39] 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-06-18 23:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781805817000,"timestamp_ms":1781805817000,"timestamp_seconds":1781805817,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe71ca8"} 
[2026-06-18 23:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 23:34:39] 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-06-18 23:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106309,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:34:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142287104001,"66":11917,"113":206,"79":46848,"24":45,"16":94441606375014400,"45":-7939705379669659648},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-06-18 23:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142287104001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:34:39] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 23:34:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94441606375014400,"km_value":94441606375014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7939705379669659648,"description":"Unknown IO ID 45"} 
[2026-06-18 23:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142287104001,"power":11917,"unknown_113":206,"unknown_79":46848,"ignition":45,"odometer":null,"unknown_45":-7939705379669659648}} 
[2026-06-18 23:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":106309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347740,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:34:39] local.INFO: GPS data processed {"connection_id":106309,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:34:39] local.INFO: Acknowledgment sent {"connection_id":106309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:34:40] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edc9496d00100000000000000000000000000..."} 
[2026-06-18 23:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edc9496d00100000000000000000000000000..."} 
[2026-06-18 23:34:40] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edc9496d00100000000000000000000000000..."} 
[2026-06-18 23:34:40] local.INFO: Packet analysis {"connection_id":108020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edc94"} 
[2026-06-18 23:34:40] local.INFO: Extracted packet for processing {"connection_id":108020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edc94"} 
[2026-06-18 23:34:40] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142263808001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4324792676974968832,"note":"Value kept but may cause issues"} 
[2026-06-18 23:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781817186000,"timestamp_ms":1781817186000,"timestamp_seconds":1781817186,"priority":1,"record_length":96,"hex_timestamp":"0000019edc9496d0"} 
[2026-06-18 23:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 23:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":108020,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:34:40] local.INFO: GPS data processed {"connection_id":108020,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:34:40] local.INFO: Acknowledgment sent {"connection_id":108020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:34:59] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:34:59] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:34:59] local.INFO: IMEI packet received {"connection_id":106310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":106310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:35:03] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:03] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:03] local.INFO: IMEI packet received {"connection_id":106310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":106310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:35:04] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:04] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:04] local.INFO: IMEI packet received {"connection_id":106310,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":106310,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:35:05] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe73030012d919780060783e00010011727..."} 
[2026-06-18 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe73030012d919780060783e00010011727..."} 
[2026-06-18 23:35:05] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe73030012d919780060783e00010011727..."} 
[2026-06-18 23:35:05] local.INFO: Packet analysis {"connection_id":106310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:35:05] local.INFO: Extracted packet for processing {"connection_id":106310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":764516224,"raw_latitude":101155808,"longitude_deg":76.4516224,"latitude_deg":10.1155808,"altitude":16,"angle":279,"satellites":39,"speed":41,"hex_longitude":"2d919780","hex_latitude":"060783e0","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142289152001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94441872662986752,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7949697741343227904,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35: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-06-18 23:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781805822000,"timestamp_ms":1781805822000,"timestamp_seconds":1781805822,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe73030"} 
[2026-06-18 23:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:35:05] 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-06-18 23: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-06-18 23:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:35: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-06-18 23:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142289152001,"66":11798,"113":206,"79":46848,"24":41,"16":94441872662986752,"45":-7949697741343227904},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-06-18 23:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142289152001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:35:05] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 23:35:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94441872662986752,"km_value":94441872662986.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7949697741343227904,"description":"Unknown IO ID 45"} 
[2026-06-18 23:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142289152001,"power":11798,"unknown_113":206,"unknown_79":46848,"ignition":41,"odometer":null,"unknown_45":-7949697741343227904}} 
[2026-06-18 23:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":106310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347741,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:35:05] local.INFO: GPS data processed {"connection_id":106310,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:35:05] local.INFO: Acknowledgment sent {"connection_id":106310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:35:05] local.INFO: TCP Data received {"connection_id":107102,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:35:05] local.INFO: Processing buffer {"connection_id":107102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:35:05] local.INFO: Packet analysis {"connection_id":107102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:35:05] local.INFO: Extracted packet for processing {"connection_id":107102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:05] 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-06-18 23:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:35:05] 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-06-18 23: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-06-18 23:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:35:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:35:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":107102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:35:05] local.INFO: GPS data processed {"connection_id":107102,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:35:05] local.INFO: Acknowledgment sent {"connection_id":107102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:35:10] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe75358012d9170c006078a480011011325..."} 
[2026-06-18 23:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe75358012d9170c006078a480011011325..."} 
[2026-06-18 23:35:10] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe75358012d9170c006078a480011011325..."} 
[2026-06-18 23:35:10] local.INFO: Packet analysis {"connection_id":106310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:35:10] local.INFO: Extracted packet for processing {"connection_id":106310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:35:10] local.INFO: GPS Element Parsed {"raw_longitude":764506304,"raw_latitude":101157448,"longitude_deg":76.4506304,"latitude_deg":10.1157448,"altitude":17,"angle":275,"satellites":37,"speed":45,"hex_longitude":"2d9170c0","hex_latitude":"06078a48","is_valid_coordinates":true} 
[2026-06-18 23:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142290432001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94442349404356608,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-7955749453342449664,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] 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-06-18 23:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781805831000,"timestamp_ms":1781805831000,"timestamp_seconds":1781805831,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe75358"} 
[2026-06-18 23:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:35: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-06-18 23:35:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":79,"raw_value":-8897705488800546816,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3689320456,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3204500790,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184144273613,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3870758913,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":7,"raw_value":-7412924883555572224,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":67273620847067376,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1903231182,"corrected_to":0} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":61,"raw_value":2147878796,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":89,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":206,"raw_value":5746030277652971522,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":98,"raw_value":-9221674861200401919,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2666170561821936128,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":174,"raw_value":57761825471483838,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":230,"raw_value":4467572125594910726,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.WARNING: Large IO value detected {"io_id":31,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:10] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,113,79,24,241,157,16,134,158,28,45,131,17,38,10,66,253,128,136,34,133,218,192,1,240,27,227,219,7,4,205,37,144,61,152,39,239,19,2,89,206,98,3,174,230,31],"length":632,"final_offset":762,"validated_count":46,"validation_warnings":[{"io_id":205,"original":1903231182,"validated":0}]} 
[2026-06-18 23:35:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1153228435857408000,"timestamp_seconds":1153228435857408,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 23:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:35:10] 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-06-18 23:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142290432001,"66":11808,"113":206,"79":46848,"24":45,"16":94442349404356608,"45":-7955749453342449664},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,79,24,16,45]} 
[2026-06-18 23:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142290432001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:35:10] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-06-18 23:35:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94442349404356608,"km_value":94442349404356.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-7955749453342449664,"description":"Unknown IO ID 45"} 
[2026-06-18 23:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142290432001,"power":11808,"unknown_113":206,"unknown_79":46848,"ignition":45,"odometer":null,"unknown_45":-7955749453342449664}} 
[2026-06-18 23:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":106310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347743,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:35:10] local.INFO: GPS data processed {"connection_id":106310,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:35:10] local.INFO: Acknowledgment sent {"connection_id":106310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:35:11] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe62a78012d3c5f8006a5d8600049008c2a..."} 
[2026-06-18 23:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe62a78012d3c5f8006a5d8600049008c2a..."} 
[2026-06-18 23:35:11] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe62a78012d3c5f8006a5d8600049008c2a..."} 
[2026-06-18 23:35:11] local.INFO: Packet analysis {"connection_id":108020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:35:11] local.INFO: Extracted packet for processing {"connection_id":108020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758931328,"raw_latitude":111532128,"longitude_deg":75.8931328,"latitude_deg":11.1532128,"altitude":73,"angle":140,"satellites":42,"speed":48,"hex_longitude":"2d3c5f80","hex_latitude":"06a5d860","is_valid_coordinates":true} 
[2026-06-18 23:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,12,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781805755000,"timestamp_ms":1781805755000,"timestamp_seconds":1781805755,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe62a78"} 
[2026-06-18 23:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27974,"12":206,"19":48128,"24":48,"16":124677330030297088},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16]} 
[2026-06-18 23:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:35:11] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 23:35:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:35:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27974,"unknown_12":206,"unknown_19":48128,"ignition":48,"odometer":null}} 
[2026-06-18 23:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":108020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:35:11] local.INFO: GPS data processed {"connection_id":108020,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:35:11] local.INFO: Acknowledgment sent {"connection_id":108020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:35:23] local.INFO: TCP Data received {"connection_id":108021,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:35:23] local.INFO: Processing buffer {"connection_id":108021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:35:23] local.INFO: IMEI packet received {"connection_id":108021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":108021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:35:28] local.INFO: TCP Data received {"connection_id":108021,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:35:29] local.INFO: Processing buffer {"connection_id":108021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:35:29] local.INFO: IMEI packet received {"connection_id":108021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":108021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:35:29] local.INFO: TCP Data received {"connection_id":108021,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:35:29] local.INFO: Processing buffer {"connection_id":108021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:35:29] local.INFO: Packet analysis {"connection_id":108021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:35:29] local.INFO: Extracted packet for processing {"connection_id":108021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:35:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:29] 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-06-18 23:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:35:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:35:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:35:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:35:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":108021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:35:29] local.INFO: GPS data processed {"connection_id":108021,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:35:29] local.INFO: Acknowledgment sent {"connection_id":108021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:35:41] local.INFO: TCP Data received {"connection_id":106310,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe8a348012d9008c00607f308000f012524..."} 
[2026-06-18 23:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe8a348012d9008c00607f308000f012524..."} 
[2026-06-18 23:35:41] local.INFO: Processing buffer {"connection_id":106310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe8a348012d9008c00607f308000f012524..."} 
[2026-06-18 23:35:41] local.INFO: Packet analysis {"connection_id":106310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe8"} 
[2026-06-18 23:35:41] local.INFO: Extracted packet for processing {"connection_id":106310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe8"} 
[2026-06-18 23:35:41] local.INFO: GPS Element Parsed {"raw_longitude":764414144,"raw_latitude":101184264,"longitude_deg":76.4414144,"latitude_deg":10.1184264,"altitude":15,"angle":293,"satellites":36,"speed":48,"hex_longitude":"2d9008c0","hex_latitude":"0607f308","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142312960001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94447009443872768,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8059684088486696960,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781805917000,"timestamp_ms":1781805917000,"timestamp_seconds":1781805917,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe8a348"} 
[2026-06-18 23:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 23:35:41] 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-06-18 23: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-06-18 23:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106310,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:35:41] 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-06-18 23:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142312960001,"66":11808,"183":206,"79":46848,"24":48,"16":94447009443872768,"45":-8059684088486696960},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,79,24,16,45]} 
[2026-06-18 23:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142312960001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:35:41] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-18 23:35:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94447009443872768,"km_value":94447009443872.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8059684088486696960,"description":"Unknown IO ID 45"} 
[2026-06-18 23:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142312960001,"power":11808,"unknown_183":206,"unknown_79":46848,"ignition":48,"odometer":null,"unknown_45":-8059684088486696960}} 
[2026-06-18 23:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":106310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347746,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:35:41] local.INFO: GPS data processed {"connection_id":106310,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:35:41] local.INFO: Acknowledgment sent {"connection_id":106310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:35:43] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe67c80012d3c93c006a591180044009429..."} 
[2026-06-18 23:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe67c80012d3c93c006a591180044009429..."} 
[2026-06-18 23:35:43] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe67c80012d3c93c006a591180044009429..."} 
[2026-06-18 23:35:43] local.INFO: Packet analysis {"connection_id":108020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:35:43] local.INFO: Extracted packet for processing {"connection_id":108020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758944704,"raw_latitude":111513880,"longitude_deg":75.8944704,"latitude_deg":11.151388,"altitude":68,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d3c93c0","hex_latitude":"06a59118","is_valid_coordinates":true} 
[2026-06-18 23:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142273280001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4350336531103768576,"note":"Value kept but may cause issues"} 
[2026-06-18 23:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781805776000,"timestamp_ms":1781805776000,"timestamp_seconds":1781805776,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe67c80"} 
[2026-06-18 23:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-06-18 23:35:43] 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-06-18 23:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":108020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142273280001,"66":27767,"12":206,"19":48128,"24":0,"16":124677330030297088,"45":4350336531103768576},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 23:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142273280001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:35:43] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 23:35:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4350336531103768576,"description":"Unknown IO ID 45"} 
[2026-06-18 23:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142273280001,"power":27767,"unknown_12":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4350336531103768576}} 
[2026-06-18 23:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":108020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347747,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:35:43] local.INFO: GPS data processed {"connection_id":108020,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:35:43] local.INFO: Acknowledgment sent {"connection_id":108020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:35:59] local.INFO: TCP Data received {"connection_id":108022,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:59] local.INFO: Processing buffer {"connection_id":108022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:35:59] local.INFO: IMEI packet received {"connection_id":108022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":108022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:36:00] local.INFO: TCP Data received {"connection_id":108021,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:36:00] local.INFO: Processing buffer {"connection_id":108021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:36:00] local.INFO: Packet analysis {"connection_id":108021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:36:00] local.INFO: Extracted packet for processing {"connection_id":108021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:36:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:00] 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-06-18 23:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:36: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-06-18 23:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:36:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:36:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":108021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:36:00] local.INFO: GPS data processed {"connection_id":108021,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:36:00] local.INFO: Acknowledgment sent {"connection_id":108021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:36:01] local.INFO: TCP Data received {"connection_id":108022,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:01] local.INFO: Processing buffer {"connection_id":108022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:01] local.INFO: IMEI packet received {"connection_id":108022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":108022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:36:04] local.INFO: TCP Data received {"connection_id":108022,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:04] local.INFO: Processing buffer {"connection_id":108022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:04] local.INFO: IMEI packet received {"connection_id":108022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":108022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:36:05] local.INFO: TCP Data received {"connection_id":108022,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108022,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:05] local.INFO: Processing buffer {"connection_id":108022,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:36:05] local.INFO: IMEI packet received {"connection_id":108022,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":108022,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:36:06] local.INFO: TCP Data received {"connection_id":108022,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe8c288012d8fe70006080260000e012525..."} 
[2026-06-18 23:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe8c288012d8fe70006080260000e012525..."} 
[2026-06-18 23:36:06] local.INFO: Processing buffer {"connection_id":108022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe8c288012d8fe70006080260000e012525..."} 
[2026-06-18 23:36:06] local.INFO: Packet analysis {"connection_id":108022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe8"} 
[2026-06-18 23:36:06] local.INFO: Extracted packet for processing {"connection_id":108022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe8"} 
[2026-06-18 23:36:06] local.INFO: GPS Element Parsed {"raw_longitude":764405504,"raw_latitude":101188192,"longitude_deg":76.4405504,"latitude_deg":10.1188192,"altitude":14,"angle":293,"satellites":37,"speed":48,"hex_longitude":"2d8fe700","hex_latitude":"06080260","is_valid_coordinates":true} 
[2026-06-18 23:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142314752001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94447464710406144,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8067987600298539008,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781805925000,"timestamp_ms":1781805925000,"timestamp_seconds":1781805925,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe8c288"} 
[2026-06-18 23:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-06-18 23:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":108022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":108022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":108022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:36:06] 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-06-18 23:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142314752001,"66":11743,"183":206,"79":46848,"24":48,"16":94447464710406144,"45":-8067987600298539008},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,79,24,16,45]} 
[2026-06-18 23:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142314752001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:36:06] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-18 23:36:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94447464710406144,"km_value":94447464710406.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8067987600298539008,"description":"Unknown IO ID 45"} 
[2026-06-18 23:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142314752001,"power":11743,"unknown_183":206,"unknown_79":46848,"ignition":48,"odometer":null,"unknown_45":-8067987600298539008}} 
[2026-06-18 23:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":108022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347749,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:36:06] local.INFO: GPS data processed {"connection_id":108022,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:36:06] local.INFO: Acknowledgment sent {"connection_id":108022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:36:12] local.INFO: TCP Data received {"connection_id":108022,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe8e1c8012d8fc380060811d0000e012524..."} 
[2026-06-18 23:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe8e1c8012d8fc380060811d0000e012524..."} 
[2026-06-18 23:36:12] local.INFO: Processing buffer {"connection_id":108022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe8e1c8012d8fc380060811d0000e012524..."} 
[2026-06-18 23:36:12] local.INFO: Packet analysis {"connection_id":108022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe8"} 
[2026-06-18 23:36:12] local.INFO: Extracted packet for processing {"connection_id":108022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe8"} 
[2026-06-18 23:36:12] local.INFO: GPS Element Parsed {"raw_longitude":764396416,"raw_latitude":101192144,"longitude_deg":76.4396416,"latitude_deg":10.1192144,"altitude":14,"angle":293,"satellites":36,"speed":50,"hex_longitude":"2d8fc380","hex_latitude":"060811d0","is_valid_coordinates":true} 
[2026-06-18 23:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142316800001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94447937156808704,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8077487380761518080,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,183,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1781805933000,"timestamp_ms":1781805933000,"timestamp_seconds":1781805933,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe8e1c8"} 
[2026-06-18 23:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:36:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 23:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":108022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":108022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":108022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:36:12] 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-06-18 23:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142316800001,"66":11721,"183":206,"79":46848,"24":50,"16":94447937156808704,"45":-8077487380761518080},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,183,79,24,16,45]} 
[2026-06-18 23:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142316800001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:36:13] local.INFO: Unknown IO ID detected {"io_id":183,"value":206,"description":"Unknown IO ID 183"} 
[2026-06-18 23:36:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94447937156808704,"km_value":94447937156808.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8077487380761518080,"description":"Unknown IO ID 45"} 
[2026-06-18 23:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142316800001,"power":11721,"unknown_183":206,"unknown_79":46848,"ignition":50,"odometer":null,"unknown_45":-8077487380761518080}} 
[2026-06-18 23:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":108022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347750,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:36:13] local.INFO: GPS data processed {"connection_id":108022,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:36:13] local.INFO: Acknowledgment sent {"connection_id":108022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:36:15] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6ab60012d3cbd4006a53f58003c00a72b..."} 
[2026-06-18 23:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6ab60012d3cbd4006a53f58003c00a72b..."} 
[2026-06-18 23:36:15] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6ab60012d3cbd4006a53f58003c00a72b..."} 
[2026-06-18 23:36:15] local.INFO: Packet analysis {"connection_id":108020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:36:15] local.INFO: Extracted packet for processing {"connection_id":108020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758955328,"raw_latitude":111492952,"longitude_deg":75.8955328,"latitude_deg":11.1492952,"altitude":60,"angle":167,"satellites":43,"speed":60,"hex_longitude":"2d3cbd40","hex_latitude":"06a53f58","is_valid_coordinates":true} 
[2026-06-18 23:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142278656001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365043598632228864,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781805788000,"timestamp_ms":1781805788000,"timestamp_seconds":1781805788,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6ab60"} 
[2026-06-18 23:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:36: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-06-18 23:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":108020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142278656001,"66":27767,"12":206,"19":48128,"24":60,"16":124677330030297088,"45":4365043598632228864},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-06-18 23:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142278656001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:36:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-06-18 23:36:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365043598632228864,"description":"Unknown IO ID 45"} 
[2026-06-18 23:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142278656001,"power":27767,"unknown_12":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":4365043598632228864}} 
[2026-06-18 23:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":108020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347751,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:36:15] local.INFO: GPS data processed {"connection_id":108020,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:36:15] local.INFO: Acknowledgment sent {"connection_id":108020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:36:24] local.INFO: TCP Data received {"connection_id":106488,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:36:24] local.INFO: Processing buffer {"connection_id":106488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:36:24] local.INFO: IMEI packet received {"connection_id":106488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":106488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:36:28] local.INFO: TCP Data received {"connection_id":106488,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:36:29] local.INFO: Processing buffer {"connection_id":106488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:36:29] local.INFO: IMEI packet received {"connection_id":106488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":106488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:36:29] local.INFO: TCP Data received {"connection_id":106488,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:36:29] local.INFO: Processing buffer {"connection_id":106488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:36:29] local.INFO: Packet analysis {"connection_id":106488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:36:29] local.INFO: Extracted packet for processing {"connection_id":106488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:36:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:29] 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-06-18 23:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:36: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-06-18 23:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:36:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:36:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":106488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:36:29] local.INFO: GPS data processed {"connection_id":106488,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:36:29] local.INFO: Acknowledgment sent {"connection_id":106488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:36:44] local.INFO: TCP Data received {"connection_id":108022,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe90108012d8fa000060820f8000c012323..."} 
[2026-06-18 23:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe90108012d8fa000060820f8000c012323..."} 
[2026-06-18 23:36:44] local.INFO: Processing buffer {"connection_id":108022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe90108012d8fa000060820f8000c012323..."} 
[2026-06-18 23:36:44] local.INFO: Packet analysis {"connection_id":108022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe9"} 
[2026-06-18 23:36:44] local.INFO: Extracted packet for processing {"connection_id":108022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe9"} 
[2026-06-18 23:36:44] local.INFO: GPS Element Parsed {"raw_longitude":764387328,"raw_latitude":101196024,"longitude_deg":76.4387328,"latitude_deg":10.1196024,"altitude":12,"angle":291,"satellites":35,"speed":45,"hex_longitude":"2d8fa000","hex_latitude":"060820f8","is_valid_coordinates":true} 
[2026-06-18 23:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142318848001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94448409603211264,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8087479742433734656,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,115,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1781805941000,"timestamp_ms":1781805941000,"timestamp_seconds":1781805941,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe90108"} 
[2026-06-18 23:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:36:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 23:36:44] 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-06-18 23:36:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":108022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":108022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":108022,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:36:44] 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-06-18 23:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142318848001,"66":11787,"115":206,"79":46848,"24":45,"16":94448409603211264,"45":-8087479742433734656},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,115,79,24,16,45]} 
[2026-06-18 23:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142318848001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:36:44] local.INFO: Unknown IO ID detected {"io_id":115,"value":206,"description":"Unknown IO ID 115"} 
[2026-06-18 23:36:44] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94448409603211264,"km_value":94448409603211.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8087479742433734656,"description":"Unknown IO ID 45"} 
[2026-06-18 23:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142318848001,"power":11787,"unknown_115":206,"unknown_79":46848,"ignition":45,"odometer":null,"unknown_45":-8087479742433734656}} 
[2026-06-18 23:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":108022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347753,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:36:44] local.INFO: GPS data processed {"connection_id":108022,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:36:44] local.INFO: Acknowledgment sent {"connection_id":108022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:36:47] local.INFO: TCP Data received {"connection_id":108020,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edc958ce80100000000000000000000000000..."} 
[2026-06-18 23:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edc958ce80100000000000000000000000000..."} 
[2026-06-18 23:36:47] local.INFO: Processing buffer {"connection_id":108020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edc958ce80100000000000000000000000000..."} 
[2026-06-18 23:36:47] local.INFO: Packet analysis {"connection_id":108020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edc95"} 
[2026-06-18 23:36:47] local.INFO: Extracted packet for processing {"connection_id":108020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edc95"} 
[2026-06-18 23:36: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-06-18 23:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142281728001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4376724810160363520,"note":"Value kept but may cause issues"} 
[2026-06-18 23:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1781817249000,"timestamp_ms":1781817249000,"timestamp_seconds":1781817249,"priority":1,"record_length":96,"hex_timestamp":"0000019edc958ce8"} 
[2026-06-18 23:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":108020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":108020,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":108020,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:36:47] local.INFO: GPS data processed {"connection_id":108020,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:36:47] local.INFO: Acknowledgment sent {"connection_id":108020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:37:00] local.INFO: TCP Data received {"connection_id":106488,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:37:00] local.INFO: Processing buffer {"connection_id":106488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:37:00] local.INFO: Packet analysis {"connection_id":106488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:37:00] local.INFO: Extracted packet for processing {"connection_id":106488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:37:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:00] 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-06-18 23:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:37:00] 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-06-18 23:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:37:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:37:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":106488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:37:00] local.INFO: GPS data processed {"connection_id":106488,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:37:00] local.INFO: Acknowledgment sent {"connection_id":106488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:37:03] local.INFO: TCP Data received {"connection_id":107103,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:37:03] local.INFO: Processing buffer {"connection_id":107103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:37:03] local.INFO: IMEI packet received {"connection_id":107103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":107103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:37:04] local.INFO: TCP Data received {"connection_id":106489,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:04] local.INFO: Processing buffer {"connection_id":106489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:04] local.INFO: IMEI packet received {"connection_id":106489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":106489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:37:06] local.INFO: TCP Data received {"connection_id":106489,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106489,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:06] local.INFO: Processing buffer {"connection_id":106489,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:06] local.INFO: IMEI packet received {"connection_id":106489,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":106489,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:37:07] local.INFO: TCP Data received {"connection_id":106489,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbea02d8012d8e95c00607e8a0000900d324..."} 
[2026-06-18 23:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbea02d8012d8e95c00607e8a0000900d324..."} 
[2026-06-18 23:37:07] local.INFO: Processing buffer {"connection_id":106489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbea02d8012d8e95c00607e8a0000900d324..."} 
[2026-06-18 23:37:07] local.INFO: Packet analysis {"connection_id":106489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:37:07] local.INFO: Extracted packet for processing {"connection_id":106489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:37:07] local.INFO: GPS Element Parsed {"raw_longitude":764319168,"raw_latitude":101181600,"longitude_deg":76.4319168,"latitude_deg":10.11816,"altitude":9,"angle":211,"satellites":36,"speed":41,"hex_longitude":"2d8e95c0","hex_latitude":"0607e8a0","is_valid_coordinates":true} 
[2026-06-18 23:37:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:37:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142337024001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94451922886459392,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8170585229309626368,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:37:07] local.INFO: AVL Record Parsed {"raw_timestamp":1781806007000,"timestamp_ms":1781806007000,"timestamp_seconds":1781806007,"priority":1,"record_length":96,"hex_timestamp":"0000019edbea02d8"} 
[2026-06-18 23:37:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:37:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-06-18 23:37:07] 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-06-18 23: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-06-18 23:37:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:37:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:37:07] local.INFO: Teltonika packet parsed successfully {"connection_id":106489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:37:07] local.INFO: Passing IMEI to GPS processor {"connection_id":106489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:37:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":106489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:37:07] 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-06-18 23:37:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:37:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:37:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142337024001,"66":11515,"135":206,"79":46848,"24":41,"16":94451922886459392,"45":-8170585229309626368},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,79,24,16,45]} 
[2026-06-18 23:37:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:37:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:37:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142337024001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:37:07] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:37:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:37:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94451922886459392,"km_value":94451922886459.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:37:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8170585229309626368,"description":"Unknown IO ID 45"} 
[2026-06-18 23:37:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142337024001,"power":11515,"unknown_135":206,"unknown_79":46848,"ignition":41,"odometer":null,"unknown_45":-8170585229309626368}} 
[2026-06-18 23:37:07] local.INFO: DEBUG: GPS processor result {"connection_id":106489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347755,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:37:07] local.INFO: GPS data processed {"connection_id":106489,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:37:07] local.INFO: Acknowledgment sent {"connection_id":106489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:37:08] local.INFO: TCP Data received {"connection_id":107103,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107103,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:37:08] local.INFO: Processing buffer {"connection_id":107103,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:37:08] local.INFO: IMEI packet received {"connection_id":107103,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":107103,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:37:10] local.INFO: TCP Data received {"connection_id":106489,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbea2600012d8e80800607c868000800d525..."} 
[2026-06-18 23:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbea2600012d8e80800607c868000800d525..."} 
[2026-06-18 23:37:10] local.INFO: Processing buffer {"connection_id":106489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbea2600012d8e80800607c868000800d525..."} 
[2026-06-18 23:37:10] local.INFO: Packet analysis {"connection_id":106489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:37:10] local.INFO: Extracted packet for processing {"connection_id":106489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:37:10] local.INFO: GPS Element Parsed {"raw_longitude":764313728,"raw_latitude":101173352,"longitude_deg":76.4313728,"latitude_deg":10.1173352,"altitude":8,"angle":213,"satellites":37,"speed":42,"hex_longitude":"2d8e8080","hex_latitude":"0607c868","is_valid_coordinates":true} 
[2026-06-18 23:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142337792001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94452399627829248,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8172414816658874368,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781806016000,"timestamp_ms":1781806016000,"timestamp_seconds":1781806016,"priority":1,"record_length":96,"hex_timestamp":"0000019edbea2600"} 
[2026-06-18 23:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:37: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-06-18 23:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":251,"data_length":795,"current_offset":136} 
[2026-06-18 23:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2677,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:37:10] 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-06-18 23:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142337792001,"66":11461,"135":206,"79":46848,"24":42,"16":94452399627829248,"45":-8172414816658874368},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,79,24,16,45]} 
[2026-06-18 23:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142337792001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:37:10] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:37:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94452399627829248,"km_value":94452399627829.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8172414816658874368,"description":"Unknown IO ID 45"} 
[2026-06-18 23:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142337792001,"power":11461,"unknown_135":206,"unknown_79":46848,"ignition":42,"odometer":null,"unknown_45":-8172414816658874368}} 
[2026-06-18 23:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":106489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347756,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:37:10] local.INFO: GPS data processed {"connection_id":106489,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:37:10] local.INFO: Acknowledgment sent {"connection_id":106489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:37:16] local.INFO: TCP Data received {"connection_id":107103,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe72478012d3cc54006a483c0003300cd2e..."} 
[2026-06-18 23:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe72478012d3cc54006a483c0003300cd2e..."} 
[2026-06-18 23:37:16] local.INFO: Processing buffer {"connection_id":107103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe72478012d3cc54006a483c0003300cd2e..."} 
[2026-06-18 23:37:16] local.INFO: Packet analysis {"connection_id":107103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:37:16] local.INFO: Extracted packet for processing {"connection_id":107103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:37:16] local.INFO: GPS Element Parsed {"raw_longitude":758957376,"raw_latitude":111444928,"longitude_deg":75.8957376,"latitude_deg":11.1444928,"altitude":51,"angle":205,"satellites":46,"speed":54,"hex_longitude":"2d3cc540","hex_latitude":"06a483c0","is_valid_coordinates":true} 
[2026-06-18 23:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:37:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,58,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:37:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781805819000,"timestamp_ms":1781805819000,"timestamp_seconds":1781805819,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe72478"} 
[2026-06-18 23:37:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:37:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:37:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 23:37:16] 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-06-18 23:37:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:37:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:37:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:37:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:37:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:37:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:37:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:37:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:37:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:37:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"58":206,"19":48128,"24":54,"16":124677330030297088},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16]} 
[2026-06-18 23:37:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:37:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:37:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:37:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-06-18 23:37:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:37:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:37:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_58":206,"unknown_19":48128,"ignition":54,"odometer":null}} 
[2026-06-18 23:37:16] local.INFO: DEBUG: GPS processor result {"connection_id":107103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:37:16] local.INFO: GPS data processed {"connection_id":107103,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:37:16] local.INFO: Acknowledgment sent {"connection_id":107103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:37:23] local.INFO: TCP Data received {"connection_id":108023,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:37:23] local.INFO: Processing buffer {"connection_id":108023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:37:23] local.INFO: IMEI packet received {"connection_id":108023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":108023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:37:29] local.INFO: TCP Data received {"connection_id":108023,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:37:29] local.INFO: Processing buffer {"connection_id":108023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:37:29] local.INFO: IMEI packet received {"connection_id":108023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:37:29] local.INFO: IMEI acknowledgment sent {"connection_id":108023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:37:29] local.INFO: TCP Data received {"connection_id":108023,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:37:29] local.INFO: Processing buffer {"connection_id":108023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:37:29] local.INFO: Packet analysis {"connection_id":108023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:37:29] local.INFO: Extracted packet for processing {"connection_id":108023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:37:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:29] 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-06-18 23:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:37: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-06-18 23:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:37:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:37:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":108023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:37:29] local.INFO: GPS data processed {"connection_id":108023,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:37:29] local.INFO: Acknowledgment sent {"connection_id":108023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:37:41] local.INFO: TCP Data received {"connection_id":106489,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbea4928012d8e6c800607a908000800d424..."} 
[2026-06-18 23:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbea4928012d8e6c800607a908000800d424..."} 
[2026-06-18 23:37:41] local.INFO: Processing buffer {"connection_id":106489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbea4928012d8e6c800607a908000800d424..."} 
[2026-06-18 23:37:41] local.INFO: Packet analysis {"connection_id":106489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:37:41] local.INFO: Extracted packet for processing {"connection_id":106489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:37:41] local.INFO: GPS Element Parsed {"raw_longitude":764308608,"raw_latitude":101165320,"longitude_deg":76.4308608,"latitude_deg":10.116532,"altitude":8,"angle":212,"satellites":36,"speed":43,"hex_longitude":"2d8e6c80","hex_latitude":"0607a908","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142340096001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94452859189329920,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8178396159916087296,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1781806025000,"timestamp_ms":1781806025000,"timestamp_seconds":1781806025,"priority":1,"record_length":96,"hex_timestamp":"0000019edbea4928"} 
[2026-06-18 23:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:37: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-06-18 23: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":44,"n8_eight_byte":197,"data_length":795,"current_offset":136} 
[2026-06-18 23:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2191,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":106489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":106489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":106489,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:37:41] 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-06-18 23:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142340096001,"66":11624,"135":206,"79":46848,"24":43,"16":94452859189329920,"45":-8178396159916087296},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,79,24,16,45]} 
[2026-06-18 23:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142340096001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:37:41] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:37:41] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94452859189329920,"km_value":94452859189329.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8178396159916087296,"description":"Unknown IO ID 45"} 
[2026-06-18 23:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142340096001,"power":11624,"unknown_135":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8178396159916087296}} 
[2026-06-18 23:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":106489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347759,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:37:41] local.INFO: GPS data processed {"connection_id":106489,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:37:41] local.INFO: Acknowledgment sent {"connection_id":106489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:37:48] local.INFO: TCP Data received {"connection_id":107103,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe766e0012d3ca20006a43ab8003a00c02d..."} 
[2026-06-18 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe766e0012d3ca20006a43ab8003a00c02d..."} 
[2026-06-18 23:37:48] local.INFO: Processing buffer {"connection_id":107103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe766e0012d3ca20006a43ab8003a00c02d..."} 
[2026-06-18 23:37:48] local.INFO: Packet analysis {"connection_id":107103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:37:48] local.INFO: Extracted packet for processing {"connection_id":107103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe7"} 
[2026-06-18 23:37:48] local.INFO: GPS Element Parsed {"raw_longitude":758948352,"raw_latitude":111426232,"longitude_deg":75.8948352,"latitude_deg":11.1426232,"altitude":58,"angle":192,"satellites":45,"speed":42,"hex_longitude":"2d3ca200","hex_latitude":"06a43ab8","is_valid_coordinates":true} 
[2026-06-18 23:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142289664001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378976609961754624,"note":"Value kept but may cause issues"} 
[2026-06-18 23:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781805836000,"timestamp_ms":1781805836000,"timestamp_seconds":1781805836,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe766e0"} 
[2026-06-18 23:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:37: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-06-18 23:37:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:37:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":107103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142289664001,"66":27843,"58":206,"19":48128,"24":42,"16":124677330030297088,"45":4378976609961754624},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-06-18 23:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142289664001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:37:48] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-06-18 23:37:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378976609961754624,"description":"Unknown IO ID 45"} 
[2026-06-18 23:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142289664001,"power":27843,"unknown_58":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4378976609961754624}} 
[2026-06-18 23:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":107103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:37:48] local.INFO: GPS data processed {"connection_id":107103,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:37:48] local.INFO: Acknowledgment sent {"connection_id":107103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:37:55] local.INFO: TCP Data received {"connection_id":108024,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:55] local.INFO: Processing buffer {"connection_id":108024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:55] local.INFO: IMEI packet received {"connection_id":108024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":108024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:37:59] local.INFO: TCP Data received {"connection_id":108024,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:59] local.INFO: Processing buffer {"connection_id":108024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:37:59] local.INFO: IMEI packet received {"connection_id":108024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":108024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:38:01] local.INFO: TCP Data received {"connection_id":108023,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:38:01] local.INFO: Processing buffer {"connection_id":108023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:38:01] local.INFO: Packet analysis {"connection_id":108023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:38:01] local.INFO: Extracted packet for processing {"connection_id":108023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:38:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:01] 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-06-18 23:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:38:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":108023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":108023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":108023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:38: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-06-18 23:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:38:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:38:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":108023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:38:01] local.INFO: GPS data processed {"connection_id":108023,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:38:01] local.INFO: Acknowledgment sent {"connection_id":108023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:38:04] local.INFO: TCP Data received {"connection_id":108024,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108024,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:38:04] local.INFO: Processing buffer {"connection_id":108024,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:38:04] local.INFO: IMEI packet received {"connection_id":108024,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":108024,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:38:05] local.INFO: TCP Data received {"connection_id":108024,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbea6480012d8e5ac0060790e8000800e224..."} 
[2026-06-18 23:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbea6480012d8e5ac0060790e8000800e224..."} 
[2026-06-18 23:38:05] local.INFO: Processing buffer {"connection_id":108024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbea6480012d8e5ac0060790e8000800e224..."} 
[2026-06-18 23:38:05] local.INFO: Packet analysis {"connection_id":108024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:38:05] local.INFO: Extracted packet for processing {"connection_id":108024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":764304064,"raw_latitude":101159144,"longitude_deg":76.4304064,"latitude_deg":10.1159144,"altitude":8,"angle":226,"satellites":36,"speed":40,"hex_longitude":"2d8e5ac0","hex_latitude":"060790e8","is_valid_coordinates":true} 
[2026-06-18 23:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142342400001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94453228556517376,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8184025659452356608,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781806032000,"timestamp_ms":1781806032000,"timestamp_seconds":1781806032,"priority":1,"record_length":96,"hex_timestamp":"0000019edbea6480"} 
[2026-06-18 23:38:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:38:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 23:38:05] 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-06-18 23:38:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:38:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:38: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-06-18 23:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142342400001,"66":11830,"135":206,"79":46848,"24":40,"16":94453228556517376,"45":-8184025659452356608},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,79,24,16,45]} 
[2026-06-18 23:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142342400001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:38:05] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:38:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94453228556517376,"km_value":94453228556517.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8184025659452356608,"description":"Unknown IO ID 45"} 
[2026-06-18 23:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142342400001,"power":11830,"unknown_135":206,"unknown_79":46848,"ignition":40,"odometer":null,"unknown_45":-8184025659452356608}} 
[2026-06-18 23:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":108024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347762,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:38:05] local.INFO: GPS data processed {"connection_id":108024,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:38:05] local.INFO: Acknowledgment sent {"connection_id":108024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:38:20] local.INFO: TCP Data received {"connection_id":107103,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edc98fbd00100000000000000000000000000..."} 
[2026-06-18 23:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edc98fbd00100000000000000000000000000..."} 
[2026-06-18 23:38:20] local.INFO: Processing buffer {"connection_id":107103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edc98fbd00100000000000000000000000000..."} 
[2026-06-18 23:38:20] local.INFO: Packet analysis {"connection_id":107103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edc98"} 
[2026-06-18 23:38:20] local.INFO: Extracted packet for processing {"connection_id":107103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edc98"} 
[2026-06-18 23:38: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-06-18 23:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142339328001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368421298280194048,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781817474000,"timestamp_ms":1781817474000,"timestamp_seconds":1781817474,"priority":1,"record_length":96,"hex_timestamp":"0000019edc98fbd0"} 
[2026-06-18 23:38:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:38:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 23:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:38:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:38:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":107103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":107103,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:38:20] local.INFO: GPS data processed {"connection_id":107103,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:38:20] local.INFO: Acknowledgment sent {"connection_id":107103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:38:23] local.INFO: TCP Data received {"connection_id":107104,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:38:23] local.INFO: Processing buffer {"connection_id":107104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:38:23] local.INFO: IMEI packet received {"connection_id":107104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:38:23] local.INFO: IMEI acknowledgment sent {"connection_id":107104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:38:29] local.INFO: TCP Data received {"connection_id":107104,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:38:29] local.INFO: Processing buffer {"connection_id":107104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:38:29] local.INFO: IMEI packet received {"connection_id":107104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:38:29] local.INFO: IMEI acknowledgment sent {"connection_id":107104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:38:29] local.INFO: TCP Data received {"connection_id":107104,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:38:29] local.INFO: Processing buffer {"connection_id":107104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:38:29] local.INFO: Packet analysis {"connection_id":107104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:38:29] local.INFO: Extracted packet for processing {"connection_id":107104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:38:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:29] 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-06-18 23:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:38:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:38:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":107104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:38:29] local.INFO: GPS data processed {"connection_id":107104,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:38:29] local.INFO: Acknowledgment sent {"connection_id":107104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:38:42] local.INFO: TCP Data received {"connection_id":108024,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbea87a8012d8e3f8006077a18000700d924..."} 
[2026-06-18 23:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbea87a8012d8e3f8006077a18000700d924..."} 
[2026-06-18 23:38:42] local.INFO: Processing buffer {"connection_id":108024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbea87a8012d8e3f8006077a18000700d924..."} 
[2026-06-18 23:38:42] local.INFO: Packet analysis {"connection_id":108024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:38:42] local.INFO: Extracted packet for processing {"connection_id":108024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:38:42] local.INFO: GPS Element Parsed {"raw_longitude":764297088,"raw_latitude":101153304,"longitude_deg":76.4297088,"latitude_deg":10.1153304,"altitude":7,"angle":217,"satellites":36,"speed":39,"hex_longitude":"2d8e3f80","hex_latitude":"06077a18","is_valid_coordinates":true} 
[2026-06-18 23:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142344192001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94453666643181568,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8189021840290551808,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,135,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781806041000,"timestamp_ms":1781806041000,"timestamp_seconds":1781806041,"priority":1,"record_length":96,"hex_timestamp":"0000019edbea87a8"} 
[2026-06-18 23:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:38:42] 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-06-18 23:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-06-18 23:38:42] 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-06-18 23:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":108024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":108024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":108024,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:38:42] 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-06-18 23:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142344192001,"66":11950,"135":206,"79":46848,"24":39,"16":94453666643181568,"45":-8189021840290551808},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,135,79,24,16,45]} 
[2026-06-18 23:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142344192001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:38:42] local.INFO: Unknown IO ID detected {"io_id":135,"value":206,"description":"Unknown IO ID 135"} 
[2026-06-18 23:38:42] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94453666643181568,"km_value":94453666643181.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8189021840290551808,"description":"Unknown IO ID 45"} 
[2026-06-18 23:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142344192001,"power":11950,"unknown_135":206,"unknown_79":46848,"ignition":39,"odometer":null,"unknown_45":-8189021840290551808}} 
[2026-06-18 23:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":108024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347764,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:38:42] local.INFO: GPS data processed {"connection_id":108024,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:38:42] local.INFO: Acknowledgment sent {"connection_id":108024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:38:52] local.INFO: TCP Data received {"connection_id":107103,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbea8f78012d3c610006a08070002a00c62f..."} 
[2026-06-18 23:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbea8f78012d3c610006a08070002a00c62f..."} 
[2026-06-18 23:38:52] local.INFO: Processing buffer {"connection_id":107103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbea8f78012d3c610006a08070002a00c62f..."} 
[2026-06-18 23:38:52] local.INFO: Packet analysis {"connection_id":107103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:38:52] local.INFO: Extracted packet for processing {"connection_id":107103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:38:52] local.INFO: GPS Element Parsed {"raw_longitude":758931712,"raw_latitude":111181936,"longitude_deg":75.8931712,"latitude_deg":11.1181936,"altitude":42,"angle":198,"satellites":47,"speed":59,"hex_longitude":"2d3c6100","hex_latitude":"06a08070","is_valid_coordinates":true} 
[2026-06-18 23:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:38:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1781806043000,"timestamp_ms":1781806043000,"timestamp_seconds":1781806043,"priority":1,"record_length":96,"hex_timestamp":"0000019edbea8f78"} 
[2026-06-18 23:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:38:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 23:38:52] 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-06-18 23:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":107103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"17":206,"19":48128,"24":59,"16":124677330030297088},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16]} 
[2026-06-18 23:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:38:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:38:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"axis_x":206,"unknown_19":48128,"ignition":59,"odometer":null}} 
[2026-06-18 23:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":107103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:38:52] local.INFO: GPS data processed {"connection_id":107103,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:38:52] local.INFO: Acknowledgment sent {"connection_id":107103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:38:59] local.INFO: TCP Data received {"connection_id":108025,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:38:59] local.INFO: Processing buffer {"connection_id":108025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:38:59] local.INFO: IMEI packet received {"connection_id":108025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":108025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:39:00] local.INFO: TCP Data received {"connection_id":107104,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:39:00] local.INFO: Processing buffer {"connection_id":107104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbe6de28012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:39:00] local.INFO: Packet analysis {"connection_id":107104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:39:00] local.INFO: Extracted packet for processing {"connection_id":107104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbe6"} 
[2026-06-18 23:39:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142208000001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:00] 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-06-18 23:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781805801000,"timestamp_ms":1781805801000,"timestamp_seconds":1781805801,"priority":1,"record_length":96,"hex_timestamp":"0000019edbe6de28"} 
[2026-06-18 23:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142208000001,"66":25538,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142208000001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:39:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:39:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142208000001,"power":25538,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":107104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:39:00] local.INFO: GPS data processed {"connection_id":107104,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:39:00] local.INFO: Acknowledgment sent {"connection_id":107104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:39:04] local.INFO: TCP Data received {"connection_id":108025,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108025,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:04] local.INFO: Processing buffer {"connection_id":108025,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:04] local.INFO: IMEI packet received {"connection_id":108025,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":108025,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:39:05] local.INFO: TCP Data received {"connection_id":108025,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeba8b8012d8d6f400606ff70000b010e24..."} 
[2026-06-18 23:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeba8b8012d8d6f400606ff70000b010e24..."} 
[2026-06-18 23:39:05] local.INFO: Processing buffer {"connection_id":108025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeba8b8012d8d6f400606ff70000b010e24..."} 
[2026-06-18 23:39:05] local.INFO: Packet analysis {"connection_id":108025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:39:05] local.INFO: Extracted packet for processing {"connection_id":108025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:39:05] local.INFO: GPS Element Parsed {"raw_longitude":764243776,"raw_latitude":101121904,"longitude_deg":76.4243776,"latitude_deg":10.1121904,"altitude":11,"angle":270,"satellites":36,"speed":45,"hex_longitude":"2d8d6f40","hex_latitude":"0606ff70","is_valid_coordinates":true} 
[2026-06-18 23:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142363136001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94457081142181888,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8244331673223780352,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781806115000,"timestamp_ms":1781806115000,"timestamp_seconds":1781806115,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeba8b8"} 
[2026-06-18 23:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:39:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-06-18 23:39:05] 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-06-18 23:39:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:39: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-06-18 23:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142363136001,"66":11852,"136":206,"79":46848,"24":45,"16":94457081142181888,"45":-8244331673223780352},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,79,24,16,45]} 
[2026-06-18 23:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142363136001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:39:05] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-18 23:39:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94457081142181888,"km_value":94457081142181.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8244331673223780352,"description":"Unknown IO ID 45"} 
[2026-06-18 23:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142363136001,"power":11852,"unknown_136":206,"unknown_79":46848,"ignition":45,"odometer":null,"unknown_45":-8244331673223780352}} 
[2026-06-18 23:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":108025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347767,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:39:05] local.INFO: GPS data processed {"connection_id":108025,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:39:05] local.INFO: Acknowledgment sent {"connection_id":108025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:39:23] local.INFO: TCP Data received {"connection_id":107103,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeacdf8012d3c368006a03a60003200d92e..."} 
[2026-06-18 23:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeacdf8012d3c368006a03a60003200d92e..."} 
[2026-06-18 23:39:23] local.INFO: Processing buffer {"connection_id":107103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeacdf8012d3c368006a03a60003200d92e..."} 
[2026-06-18 23:39:23] local.INFO: Packet analysis {"connection_id":107103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:39:23] local.INFO: Extracted packet for processing {"connection_id":107103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbea"} 
[2026-06-18 23:39:23] local.INFO: GPS Element Parsed {"raw_longitude":758920832,"raw_latitude":111164000,"longitude_deg":75.8920832,"latitude_deg":11.1164,"altitude":50,"angle":217,"satellites":46,"speed":45,"hex_longitude":"2d3c3680","hex_latitude":"06a03a60","is_valid_coordinates":true} 
[2026-06-18 23:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142347008001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4350758743479185408,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1781806059000,"timestamp_ms":1781806059000,"timestamp_seconds":1781806059,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeacdf8"} 
[2026-06-18 23:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:39:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:39:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 23:39:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:39:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":107103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":107103,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142347008001,"66":27952,"17":206,"19":48128,"24":45,"16":124677330030297088,"45":4350758743479185408},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-06-18 23:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142347008001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:39:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4350758743479185408,"description":"Unknown IO ID 45"} 
[2026-06-18 23:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142347008001,"power":27952,"axis_x":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":4350758743479185408}} 
[2026-06-18 23:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":107103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:39:23] local.INFO: GPS data processed {"connection_id":107103,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:39:23] local.INFO: Acknowledgment sent {"connection_id":107103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:39:28] local.INFO: TCP Data received {"connection_id":106311,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:39:29] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:39:29] local.INFO: IMEI packet received {"connection_id":106311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":106311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:39:34] local.INFO: TCP Data received {"connection_id":106311,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:39:34] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:39:34] local.INFO: IMEI packet received {"connection_id":106311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:39:34] local.INFO: IMEI acknowledgment sent {"connection_id":106311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:39:34] local.INFO: TCP Data received {"connection_id":106311,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:39:34] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:39:34] local.INFO: Packet analysis {"connection_id":106311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:39:34] local.INFO: Extracted packet for processing {"connection_id":106311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:39:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:34] 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-06-18 23:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:39:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:39:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:39:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":106311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:39:34] local.INFO: GPS data processed {"connection_id":106311,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:39:34] local.INFO: Acknowledgment sent {"connection_id":106311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:39:37] local.INFO: TCP Data received {"connection_id":108025,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbebcbe0012d8d48400606ffe8000c011125..."} 
[2026-06-18 23:39:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbebcbe0012d8d48400606ffe8000c011125..."} 
[2026-06-18 23:39:37] local.INFO: Processing buffer {"connection_id":108025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbebcbe0012d8d48400606ffe8000c011125..."} 
[2026-06-18 23:39:37] local.INFO: Packet analysis {"connection_id":108025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:39:37] local.INFO: Extracted packet for processing {"connection_id":108025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:39:37] local.INFO: GPS Element Parsed {"raw_longitude":764233792,"raw_latitude":101122024,"longitude_deg":76.4233792,"latitude_deg":10.1122024,"altitude":12,"angle":273,"satellites":37,"speed":43,"hex_longitude":"2d8d4840","hex_latitude":"0606ffe8","is_valid_coordinates":true} 
[2026-06-18 23:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:39:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142365440001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94457557883551744,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8255309197315444736,"note":"Value kept but may cause issues"} 
[2026-06-18 23:39:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:39:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781806124000,"timestamp_ms":1781806124000,"timestamp_seconds":1781806124,"priority":1,"record_length":96,"hex_timestamp":"0000019edbebcbe0"} 
[2026-06-18 23:39:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:39:37] 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-06-18 23:39:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-06-18 23:39:37] 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-06-18 23:39:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:39:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:39:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:39:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:39:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:39:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108025,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:39:37] 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-06-18 23:39:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:39:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:39:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142365440001,"66":11711,"136":206,"79":46848,"24":43,"16":94457557883551744,"45":-8255309197315444736},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,79,24,16,45]} 
[2026-06-18 23:39:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:39:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:39:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142365440001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:39:37] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-06-18 23:39:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:39:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94457557883551744,"km_value":94457557883551.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:39:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8255309197315444736,"description":"Unknown IO ID 45"} 
[2026-06-18 23:39:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142365440001,"power":11711,"unknown_136":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8255309197315444736}} 
[2026-06-18 23:39:37] local.INFO: DEBUG: GPS processor result {"connection_id":108025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347770,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:39:37] local.INFO: GPS data processed {"connection_id":108025,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:39:37] local.INFO: Acknowledgment sent {"connection_id":108025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:39:58] local.INFO: TCP Data received {"connection_id":108026,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:58] local.INFO: Processing buffer {"connection_id":108026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:58] local.INFO: IMEI packet received {"connection_id":108026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":108026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:39:59] local.INFO: TCP Data received {"connection_id":108026,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:59] local.INFO: Processing buffer {"connection_id":108026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:39:59] local.INFO: IMEI packet received {"connection_id":108026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":108026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:40:05] local.INFO: TCP Data received {"connection_id":108026,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108026,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:40:05] local.INFO: Processing buffer {"connection_id":108026,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:40:05] local.INFO: IMEI packet received {"connection_id":108026,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":108026,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:40:05] local.INFO: TCP Data received {"connection_id":106311,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:40:05] local.INFO: Processing buffer {"connection_id":106311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:40:05] local.INFO: Packet analysis {"connection_id":106311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:05] local.INFO: Extracted packet for processing {"connection_id":106311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:05] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:05] 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-06-18 23:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:40:05] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:40:05] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":106311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:40:05] local.INFO: GPS data processed {"connection_id":106311,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:40:05] local.INFO: Acknowledgment sent {"connection_id":106311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:40:06] local.INFO: TCP Data received {"connection_id":108026,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbebf2f0012d8d22c006070580000d011825..."} 
[2026-06-18 23:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbebf2f0012d8d22c006070580000d011825..."} 
[2026-06-18 23:40:06] local.INFO: Processing buffer {"connection_id":108026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbebf2f0012d8d22c006070580000d011825..."} 
[2026-06-18 23:40:06] local.INFO: Packet analysis {"connection_id":108026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:06] local.INFO: Extracted packet for processing {"connection_id":108026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:06] local.INFO: GPS Element Parsed {"raw_longitude":764224192,"raw_latitude":101123456,"longitude_deg":76.4224192,"latitude_deg":10.1123456,"altitude":13,"angle":280,"satellites":37,"speed":36,"hex_longitude":"2d8d22c0","hex_latitude":"06070580","is_valid_coordinates":true} 
[2026-06-18 23:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142367744001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94458021740019712,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8266286721407129600,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781806134000,"timestamp_ms":1781806134000,"timestamp_seconds":1781806134,"priority":1,"record_length":96,"hex_timestamp":"0000019edbebf2f0"} 
[2026-06-18 23:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:40:06] 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-06-18 23:40:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-06-18 23:40:06] 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-06-18 23:40:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":108026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":108026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":108026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:40:06] 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-06-18 23:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142367744001,"66":11721,"202":206,"79":46848,"24":36,"16":94458021740019712,"45":-8266286721407129600},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-06-18 23:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142367744001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:40:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94458021740019712,"km_value":94458021740019.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8266286721407129600,"description":"Unknown IO ID 45"} 
[2026-06-18 23:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142367744001,"power":11721,"mcc":206,"unknown_79":46848,"ignition":36,"odometer":null,"unknown_45":-8266286721407129600}} 
[2026-06-18 23:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":108026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347772,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:40:06] local.INFO: GPS data processed {"connection_id":108026,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:40:06] local.INFO: Acknowledgment sent {"connection_id":108026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:40:09] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:40:09] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:40:09] local.INFO: IMEI packet received {"connection_id":107105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":107105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:40:13] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:40:13] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:40:13] local.INFO: IMEI packet received {"connection_id":107105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":107105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:40:14] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb1448012d3c1180069fffa8003b00c62e..."} 
[2026-06-18 23:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb1448012d3c1180069fffa8003b00c62e..."} 
[2026-06-18 23:40:14] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb1448012d3c1180069fffa8003b00c62e..."} 
[2026-06-18 23:40:14] local.INFO: Packet analysis {"connection_id":107105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:14] local.INFO: Extracted packet for processing {"connection_id":107105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758911360,"raw_latitude":111148968,"longitude_deg":75.891136,"latitude_deg":11.1148968,"altitude":59,"angle":198,"satellites":46,"speed":33,"hex_longitude":"2d3c1180","hex_latitude":"069fffa8","is_valid_coordinates":true} 
[2026-06-18 23:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142351104001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4338796056964390912,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781806077000,"timestamp_ms":1781806077000,"timestamp_seconds":1781806077,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb1448"} 
[2026-06-18 23:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 23:40:14] 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-06-18 23:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":107105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":107105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":107105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142351104001,"66":27767,"20":206,"19":48128,"24":33,"16":124677330030297088,"45":4338796056964390912},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-06-18 23:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142351104001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:40:14] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 23:40:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4338796056964390912,"description":"Unknown IO ID 45"} 
[2026-06-18 23:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142351104001,"power":27767,"unknown_20":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":4338796056964390912}} 
[2026-06-18 23:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":107105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:40:14] local.INFO: GPS data processed {"connection_id":107105,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:40:14] local.INFO: Acknowledgment sent {"connection_id":107105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:40:15] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb6650012d3c0180069fc110004100c12d..."} 
[2026-06-18 23:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb6650012d3c0180069fc110004100c12d..."} 
[2026-06-18 23:40:15] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb6650012d3c0180069fc110004100c12d..."} 
[2026-06-18 23:40:15] local.INFO: Packet analysis {"connection_id":107105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:15] local.INFO: Extracted packet for processing {"connection_id":107105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758907264,"raw_latitude":111132944,"longitude_deg":75.8907264,"latitude_deg":11.1132944,"altitude":65,"angle":193,"satellites":45,"speed":0,"hex_longitude":"2d3c0180","hex_latitude":"069fc110","is_valid_coordinates":true} 
[2026-06-18 23:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142355712001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4328381482822248448,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781806098000,"timestamp_ms":1781806098000,"timestamp_seconds":1781806098,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb6650"} 
[2026-06-18 23:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":107105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":107105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":107105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142355712001,"66":27821,"20":206,"19":48128,"24":0,"16":124677330030297088,"45":4328381482822248448},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-06-18 23:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142355712001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:40:15] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-06-18 23:40:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4328381482822248448,"description":"Unknown IO ID 45"} 
[2026-06-18 23:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142355712001,"power":27821,"unknown_20":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4328381482822248448}} 
[2026-06-18 23:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":107105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:40:16] local.INFO: GPS data processed {"connection_id":107105,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:40:16] local.INFO: Acknowledgment sent {"connection_id":107105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:40:23] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:40:23] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:40:23] local.INFO: IMEI packet received {"connection_id":106312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":106312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:40:28] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:40:29] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:40:29] local.INFO: IMEI packet received {"connection_id":106312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":106312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:40:29] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:40:29] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:40:29] local.INFO: Packet analysis {"connection_id":106312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:29] local.INFO: Extracted packet for processing {"connection_id":106312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:40:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:29] 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-06-18 23:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:40: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-06-18 23:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:40:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:40:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":106312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:40:29] local.INFO: GPS data processed {"connection_id":106312,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:40:29] local.INFO: Acknowledgment sent {"connection_id":106312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:40:37] local.INFO: TCP Data received {"connection_id":108026,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbec1a00012d8cff0006070c38000d011824..."} 
[2026-06-18 23:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbec1a00012d8cff0006070c38000d011824..."} 
[2026-06-18 23:40:37] local.INFO: Processing buffer {"connection_id":108026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbec1a00012d8cff0006070c38000d011824..."} 
[2026-06-18 23:40:37] local.INFO: Packet analysis {"connection_id":108026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbec"} 
[2026-06-18 23:40:37] local.INFO: Extracted packet for processing {"connection_id":108026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbec"} 
[2026-06-18 23:40:37] local.INFO: GPS Element Parsed {"raw_longitude":764215040,"raw_latitude":101125176,"longitude_deg":76.421504,"latitude_deg":10.1125176,"altitude":13,"angle":280,"satellites":36,"speed":38,"hex_longitude":"2d8cff00","hex_latitude":"06070c38","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142370304001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94458464121651200,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8276842033033412608,"note":"Value kept but may cause issues"} 
[2026-06-18 23:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,202,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781806144000,"timestamp_ms":1781806144000,"timestamp_seconds":1781806144,"priority":1,"record_length":96,"hex_timestamp":"0000019edbec1a00"} 
[2026-06-18 23:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:40:37] 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-06-18 23: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 23:40:37] 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-06-18 23: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-06-18 23:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108026,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:40:37] 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-06-18 23:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142370304001,"66":11798,"202":206,"79":46848,"24":38,"16":94458464121651200,"45":-8276842033033412608},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,202,79,24,16,45]} 
[2026-06-18 23:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142370304001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:40:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94458464121651200,"km_value":94458464121651.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8276842033033412608,"description":"Unknown IO ID 45"} 
[2026-06-18 23:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142370304001,"power":11798,"mcc":206,"unknown_79":46848,"ignition":38,"odometer":null,"unknown_45":-8276842033033412608}} 
[2026-06-18 23:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":108026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347776,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:40:37] local.INFO: GPS data processed {"connection_id":108026,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:40:37] local.INFO: Acknowledgment sent {"connection_id":108026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:40:59] local.INFO: TCP Data received {"connection_id":106490,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:40:59] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:40:59] local.INFO: IMEI packet received {"connection_id":106490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":106490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:41:00] local.INFO: TCP Data received {"connection_id":106490,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:00] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:00] local.INFO: IMEI packet received {"connection_id":106490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:41:00] local.INFO: IMEI acknowledgment sent {"connection_id":106490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:41:00] local.INFO: TCP Data received {"connection_id":106312,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:41:00] local.INFO: Processing buffer {"connection_id":106312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:41:00] local.INFO: Packet analysis {"connection_id":106312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:41:00] local.INFO: Extracted packet for processing {"connection_id":106312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:41:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:00] 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-06-18 23:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:41: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-06-18 23:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:41:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:41:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:41:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":106312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:41:00] local.INFO: GPS data processed {"connection_id":106312,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:41:00] local.INFO: Acknowledgment sent {"connection_id":106312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:41:04] local.INFO: TCP Data received {"connection_id":106490,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:04] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:04] local.INFO: IMEI packet received {"connection_id":106490,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":106490,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:41:05] local.INFO: TCP Data received {"connection_id":106490,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbed9100012d8bce800606fff0000e011124..."} 
[2026-06-18 23:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbed9100012d8bce800606fff0000e011124..."} 
[2026-06-18 23:41:05] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbed9100012d8bce800606fff0000e011124..."} 
[2026-06-18 23:41:05] local.INFO: Packet analysis {"connection_id":106490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbed"} 
[2026-06-18 23:41:05] local.INFO: Extracted packet for processing {"connection_id":106490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbed"} 
[2026-06-18 23:41:05] local.INFO: GPS Element Parsed {"raw_longitude":764137088,"raw_latitude":101122032,"longitude_deg":76.4137088,"latitude_deg":10.1122032,"altitude":14,"angle":273,"satellites":36,"speed":40,"hex_longitude":"2d8bce80","hex_latitude":"0606fff0","is_valid_coordinates":true} 
[2026-06-18 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142395136001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94462256577773568,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8361917844744714240,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781806240000,"timestamp_ms":1781806240000,"timestamp_seconds":1781806240,"priority":1,"record_length":96,"hex_timestamp":"0000019edbed9100"} 
[2026-06-18 23:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2528837632,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3689709456,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":219,"raw_value":3974694913,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1942552782,"corrected_to":0} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":166,"raw_value":2684431756,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.WARNING: Large IO value detected {"io_id":145,"raw_value":3221620486,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:05] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,153,79,24,241,157,16,152,158,74,45,128,252,15,35,10,66,39,3,37,151,1,240,227,219,7,4,113,205,19,166,145,208,34,239,201,2],"length":434,"final_offset":564,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1942552782,"validated":0}]} 
[2026-06-18 23:41:05] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":937047948572360704,"timestamp_seconds":937047948572360.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 23:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:41: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-06-18 23:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142395136001,"66":11634,"153":206,"79":46848,"24":40,"16":94462256577773568,"45":-8361917844744714240},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,79,24,16,45]} 
[2026-06-18 23:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142395136001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:41:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 23:41:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94462256577773568,"km_value":94462256577773.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8361917844744714240,"description":"Unknown IO ID 45"} 
[2026-06-18 23:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142395136001,"power":11634,"unknown_153":206,"unknown_79":46848,"ignition":40,"odometer":null,"unknown_45":-8361917844744714240}} 
[2026-06-18 23:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":106490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347778,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:41:05] local.INFO: GPS data processed {"connection_id":106490,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:41:05] local.INFO: Acknowledgment sent {"connection_id":106490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:41:23] local.INFO: TCP Data received {"connection_id":107106,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:41:23] local.INFO: Processing buffer {"connection_id":107106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:41:23] local.INFO: IMEI packet received {"connection_id":107106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:41:23] local.INFO: IMEI acknowledgment sent {"connection_id":107106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:41:28] local.INFO: TCP Data received {"connection_id":107106,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:41:28] local.INFO: Processing buffer {"connection_id":107106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:41:28] local.INFO: IMEI packet received {"connection_id":107106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:41:28] local.INFO: IMEI acknowledgment sent {"connection_id":107106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:41:29] local.INFO: TCP Data received {"connection_id":107106,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:41:29] local.INFO: Processing buffer {"connection_id":107106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:41:29] local.INFO: Packet analysis {"connection_id":107106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:41:29] local.INFO: Extracted packet for processing {"connection_id":107106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:41:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:29] 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-06-18 23:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:41:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:41:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":107106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:41:29] local.INFO: GPS data processed {"connection_id":107106,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:41:29] local.INFO: Acknowledgment sent {"connection_id":107106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:41:36] local.INFO: TCP Data received {"connection_id":106490,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbedb428012d8baa00060704900010011f23..."} 
[2026-06-18 23:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbedb428012d8baa00060704900010011f23..."} 
[2026-06-18 23:41:36] local.INFO: Processing buffer {"connection_id":106490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbedb428012d8baa00060704900010011f23..."} 
[2026-06-18 23:41:36] local.INFO: Packet analysis {"connection_id":106490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbed"} 
[2026-06-18 23:41:36] local.INFO: Extracted packet for processing {"connection_id":106490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbed"} 
[2026-06-18 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":764127744,"raw_latitude":101123216,"longitude_deg":76.4127744,"latitude_deg":10.1123216,"altitude":16,"angle":287,"satellites":35,"speed":43,"hex_longitude":"2d8baa00","hex_latitude":"06070490","is_valid_coordinates":true} 
[2026-06-18 23:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142397440001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94462707549339648,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8372613893859577856,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781806249000,"timestamp_ms":1781806249000,"timestamp_seconds":1781806249,"priority":1,"record_length":96,"hex_timestamp":"0000019edbedb428"} 
[2026-06-18 23:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:41:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:41:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 23:41:36] 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-06-18 23:41:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106490,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:41:36] 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-06-18 23:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142397440001,"66":11602,"153":206,"79":46848,"24":43,"16":94462707549339648,"45":-8372613893859577856},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,79,24,16,45]} 
[2026-06-18 23:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142397440001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:41:36] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 23:41:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94462707549339648,"km_value":94462707549339.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8372613893859577856,"description":"Unknown IO ID 45"} 
[2026-06-18 23:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142397440001,"power":11602,"unknown_153":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8372613893859577856}} 
[2026-06-18 23:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":106490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347780,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:41:36] local.INFO: GPS data processed {"connection_id":106490,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:41:36] local.INFO: Acknowledgment sent {"connection_id":106490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:41:43] local.INFO: TCP Data received {"connection_id":107105,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbebb858012d3bf080069f7d20004700c026..."} 
[2026-06-18 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbebb858012d3bf080069f7d20004700c026..."} 
[2026-06-18 23:41:43] local.INFO: Processing buffer {"connection_id":107105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbebb858012d3bf080069f7d20004700c026..."} 
[2026-06-18 23:41:43] local.INFO: Packet analysis {"connection_id":107105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:41:43] local.INFO: Extracted packet for processing {"connection_id":107105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758902912,"raw_latitude":111115552,"longitude_deg":75.8902912,"latitude_deg":11.1115552,"altitude":71,"angle":192,"satellites":38,"speed":0,"hex_longitude":"2d3bf080","hex_latitude":"069f7d20","is_valid_coordinates":true} 
[2026-06-18 23:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142361088001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4323877883190775808,"note":"Value kept but may cause issues"} 
[2026-06-18 23:41:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1781806119000,"timestamp_ms":1781806119000,"timestamp_seconds":1781806119,"priority":1,"record_length":96,"hex_timestamp":"0000019edbebb858"} 
[2026-06-18 23:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 23:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":107105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":107105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":107105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142361088001,"66":27691,"19":48128,"24":0,"16":124677330030297088,"45":4323877883190775808},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 23:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142361088001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:41:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4323877883190775808,"description":"Unknown IO ID 45"} 
[2026-06-18 23:41:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456142361088001,"power":27691,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4323877883190775808}} 
[2026-06-18 23:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":107105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:41:43] local.INFO: GPS data processed {"connection_id":107105,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:41:43] local.INFO: Acknowledgment sent {"connection_id":107105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:41:58] local.INFO: TCP Data received {"connection_id":107107,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:58] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:58] local.INFO: IMEI packet received {"connection_id":107107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":107107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:41:59] local.INFO: TCP Data received {"connection_id":107107,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:59] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:41:59] local.INFO: IMEI packet received {"connection_id":107107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":107107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:42:00] local.INFO: TCP Data received {"connection_id":107106,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:42:00] local.INFO: Processing buffer {"connection_id":107106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:42:00] local.INFO: Packet analysis {"connection_id":107106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:42:00] local.INFO: Extracted packet for processing {"connection_id":107106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:42:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 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-06-18 23:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:00] 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-06-18 23:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 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-06-18 23:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 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-06-18 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-06-18 23:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:42:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:42:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":107106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:42:00] local.INFO: GPS data processed {"connection_id":107106,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:42:00] local.INFO: Acknowledgment sent {"connection_id":107106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:42:04] local.INFO: TCP Data received {"connection_id":107107,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:42:04] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:42:04] local.INFO: IMEI packet received {"connection_id":107107,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":107107,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:42:05] local.INFO: TCP Data received {"connection_id":107107,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbedb428012d8baa00060704900010011f23..."} 
[2026-06-18 23:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbedb428012d8baa00060704900010011f23..."} 
[2026-06-18 23:42:05] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbedb428012d8baa00060704900010011f23..."} 
[2026-06-18 23:42:05] local.INFO: Packet analysis {"connection_id":107107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbed"} 
[2026-06-18 23:42:05] local.INFO: Extracted packet for processing {"connection_id":107107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbed"} 
[2026-06-18 23:42:05] local.INFO: GPS Element Parsed {"raw_longitude":764127744,"raw_latitude":101123216,"longitude_deg":76.4127744,"latitude_deg":10.1123216,"altitude":16,"angle":287,"satellites":35,"speed":43,"hex_longitude":"2d8baa00","hex_latitude":"06070490","is_valid_coordinates":true} 
[2026-06-18 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142399744001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94462707549339648,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8382887730509213696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781806249000,"timestamp_ms":1781806249000,"timestamp_seconds":1781806249,"priority":1,"record_length":96,"hex_timestamp":"0000019edbedb428"} 
[2026-06-18 23:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 23:42:05] 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-06-18 23:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":107107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":107107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":107107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:42: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-06-18 23:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142399744001,"66":11602,"153":206,"79":46848,"24":43,"16":94462707549339648,"45":-8382887730509213696},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,79,24,16,45]} 
[2026-06-18 23:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142399744001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:42:05] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-06-18 23:42:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94462707549339648,"km_value":94462707549339.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8382887730509213696,"description":"Unknown IO ID 45"} 
[2026-06-18 23:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142399744001,"power":11602,"unknown_153":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8382887730509213696}} 
[2026-06-18 23:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":107107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347783,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:42:05] local.INFO: GPS data processed {"connection_id":107107,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:42:05] local.INFO: Acknowledgment sent {"connection_id":107107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:42:08] local.INFO: TCP Data received {"connection_id":106491,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:42:08] local.INFO: Processing buffer {"connection_id":106491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:42:08] local.INFO: IMEI packet received {"connection_id":106491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":106491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:42:13] local.INFO: TCP Data received {"connection_id":106491,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:42:13] local.INFO: Processing buffer {"connection_id":106491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:42:13] local.INFO: IMEI packet received {"connection_id":106491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":106491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:42:16] local.INFO: TCP Data received {"connection_id":106491,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbebfac0012d3be940069f3448004700b22c..."} 
[2026-06-18 23:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbebfac0012d3be940069f3448004700b22c..."} 
[2026-06-18 23:42:16] local.INFO: Processing buffer {"connection_id":106491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbebfac0012d3be940069f3448004700b22c..."} 
[2026-06-18 23:42:16] local.INFO: Packet analysis {"connection_id":106491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:42:16] local.INFO: Extracted packet for processing {"connection_id":106491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758901056,"raw_latitude":111096904,"longitude_deg":75.8901056,"latitude_deg":11.1096904,"altitude":71,"angle":178,"satellites":44,"speed":42,"hex_longitude":"2d3be940","hex_latitude":"069f3448","is_valid_coordinates":true} 
[2026-06-18 23:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142366464001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4319092808582242304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781806136000,"timestamp_ms":1781806136000,"timestamp_seconds":1781806136,"priority":1,"record_length":96,"hex_timestamp":"0000019edbebfac0"} 
[2026-06-18 23:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-06-18 23:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142366464001,"66":27626,"19":48128,"24":42,"16":124677330030297088,"45":4319092808582242304},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 23:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142366464001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:42:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4319092808582242304,"description":"Unknown IO ID 45"} 
[2026-06-18 23:42:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456142366464001,"power":27626,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4319092808582242304}} 
[2026-06-18 23:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":106491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347784,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:42:16] local.INFO: GPS data processed {"connection_id":106491,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:42:16] local.INFO: Acknowledgment sent {"connection_id":106491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:42:24] local.INFO: TCP Data received {"connection_id":108028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:42:24] local.INFO: Processing buffer {"connection_id":108028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:42:24] local.INFO: IMEI packet received {"connection_id":108028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":108028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:42:28] local.INFO: TCP Data received {"connection_id":108028,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:42:29] local.INFO: Processing buffer {"connection_id":108028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:42:29] local.INFO: IMEI packet received {"connection_id":108028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":108028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:42:29] local.INFO: TCP Data received {"connection_id":108028,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:42:29] local.INFO: Processing buffer {"connection_id":108028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:42:29] local.INFO: Packet analysis {"connection_id":108028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:42:29] local.INFO: Extracted packet for processing {"connection_id":108028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:42:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:29] 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-06-18 23:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:42:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:42:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":108028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:42:29] local.INFO: GPS data processed {"connection_id":108028,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:42:29] local.INFO: Acknowledgment sent {"connection_id":108028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:42:37] local.INFO: TCP Data received {"connection_id":107107,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbef2740012d8a8a000607e8b8000b014026..."} 
[2026-06-18 23:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbef2740012d8a8a000607e8b8000b014026..."} 
[2026-06-18 23:42:37] local.INFO: Processing buffer {"connection_id":107107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbef2740012d8a8a000607e8b8000b014026..."} 
[2026-06-18 23:42:37] local.INFO: Packet analysis {"connection_id":107107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:42:37] local.INFO: Extracted packet for processing {"connection_id":107107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":764054016,"raw_latitude":101181624,"longitude_deg":76.4054016,"latitude_deg":10.1181624,"altitude":11,"angle":320,"satellites":38,"speed":41,"hex_longitude":"2d8a8a00","hex_latitude":"0607e8b8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142422016001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94467406243561472,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8457619336812734464,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781806344000,"timestamp_ms":1781806344000,"timestamp_seconds":1781806344,"priority":1,"record_length":96,"hex_timestamp":"0000019edbef2740"} 
[2026-06-18 23:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:42:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:42:37] 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-06-18 23: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-06-18 23:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":107107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":107107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":107107,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:42:37] 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-06-18 23:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142422016001,"66":11950,"155":206,"79":46848,"24":41,"16":94467406243561472,"45":-8457619336812734464},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,79,24,16,45]} 
[2026-06-18 23:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142422016001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:42:37] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 23:42:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94467406243561472,"km_value":94467406243561.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8457619336812734464,"description":"Unknown IO ID 45"} 
[2026-06-18 23:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142422016001,"power":11950,"unknown_155":206,"unknown_79":46848,"ignition":41,"odometer":null,"unknown_45":-8457619336812734464}} 
[2026-06-18 23:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":107107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347786,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:42:37] local.INFO: GPS data processed {"connection_id":107107,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:42:37] local.INFO: Acknowledgment sent {"connection_id":107107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:42:50] local.INFO: TCP Data received {"connection_id":106491,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbec4110012d3bf9c0069ee170004100a130..."} 
[2026-06-18 23:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbec4110012d3bf9c0069ee170004100a130..."} 
[2026-06-18 23:42:50] local.INFO: Processing buffer {"connection_id":106491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbec4110012d3bf9c0069ee170004100a130..."} 
[2026-06-18 23:42:50] local.INFO: Packet analysis {"connection_id":106491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbec"} 
[2026-06-18 23:42:50] local.INFO: Extracted packet for processing {"connection_id":106491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbec"} 
[2026-06-18 23:42:50] local.INFO: GPS Element Parsed {"raw_longitude":758905280,"raw_latitude":111075696,"longitude_deg":75.890528,"latitude_deg":11.1075696,"altitude":65,"angle":161,"satellites":48,"speed":53,"hex_longitude":"2d3bf9c0","hex_latitude":"069ee170","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142370816001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4317052114996316160,"note":"Value kept but may cause issues"} 
[2026-06-18 23:42:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1781806154000,"timestamp_ms":1781806154000,"timestamp_seconds":1781806154,"priority":1,"record_length":96,"hex_timestamp":"0000019edbec4110"} 
[2026-06-18 23:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-06-18 23:42:50] 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-06-18 23: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-06-18 23:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":106491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":106491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":106491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142370816001,"66":27832,"19":48128,"24":53,"16":124677330030297088,"45":4317052114996316160},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 23:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142370816001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:42:50] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":4317052114996316160,"description":"Unknown IO ID 45"} 
[2026-06-18 23:42:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456142370816001,"power":27832,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4317052114996316160}} 
[2026-06-18 23:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":106491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:42:50] local.INFO: GPS data processed {"connection_id":106491,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:42:50] local.INFO: Acknowledgment sent {"connection_id":106491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:43:00] local.INFO: TCP Data received {"connection_id":108028,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:43:00] local.INFO: Processing buffer {"connection_id":108028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:43:00] local.INFO: Packet analysis {"connection_id":108028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:43:00] local.INFO: Extracted packet for processing {"connection_id":108028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:43:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:00] 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-06-18 23:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:43:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:43:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:43:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":108028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:43:00] local.INFO: GPS data processed {"connection_id":108028,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:43:00] local.INFO: Acknowledgment sent {"connection_id":108028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:43:04] local.INFO: TCP Data received {"connection_id":107108,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:04] local.INFO: Processing buffer {"connection_id":107108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:04] local.INFO: IMEI packet received {"connection_id":107108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":107108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:43:11] local.INFO: TCP Data received {"connection_id":107108,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107108,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:11] local.INFO: Processing buffer {"connection_id":107108,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:11] local.INFO: IMEI packet received {"connection_id":107108,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":107108,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:43:13] local.INFO: TCP Data received {"connection_id":106492,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:43:13] local.INFO: Processing buffer {"connection_id":106492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:43:13] local.INFO: IMEI packet received {"connection_id":106492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":106492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:43:16] local.INFO: TCP Data received {"connection_id":107108,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbef3ac8012d8a7c000607f760000d013224..."} 
[2026-06-18 23:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbef3ac8012d8a7c000607f760000d013224..."} 
[2026-06-18 23:43:16] local.INFO: Processing buffer {"connection_id":107108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbef3ac8012d8a7c000607f760000d013224..."} 
[2026-06-18 23:43:16] local.INFO: Packet analysis {"connection_id":107108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:43:16] local.INFO: Extracted packet for processing {"connection_id":107108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:43:16] local.INFO: GPS Element Parsed {"raw_longitude":764050432,"raw_latitude":101185376,"longitude_deg":76.4050432,"latitude_deg":10.1185376,"altitude":13,"angle":306,"satellites":36,"speed":43,"hex_longitude":"2d8a7c00","hex_latitude":"0607f760","is_valid_coordinates":true} 
[2026-06-18 23:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142424064001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94467655351664640,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8463952523786930176,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781806349000,"timestamp_ms":1781806349000,"timestamp_seconds":1781806349,"priority":1,"record_length":96,"hex_timestamp":"0000019edbef3ac8"} 
[2026-06-18 23:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:43:16] 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-06-18 23:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-06-18 23:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1994,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":107108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":107108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":107108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:43:16] 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-06-18 23:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142424064001,"66":11743,"155":206,"79":46848,"24":43,"16":94467655351664640,"45":-8463952523786930176},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,79,24,16,45]} 
[2026-06-18 23:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142424064001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:43:16] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 23:43:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94467655351664640,"km_value":94467655351664.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8463952523786930176,"description":"Unknown IO ID 45"} 
[2026-06-18 23:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142424064001,"power":11743,"unknown_155":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8463952523786930176}} 
[2026-06-18 23:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":107108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347789,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:43:16] local.INFO: GPS data processed {"connection_id":107108,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:43:16] local.INFO: Acknowledgment sent {"connection_id":107108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:43:17] local.INFO: TCP Data received {"connection_id":107108,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbef4680012d8a70400607fd98000c012624..."} 
[2026-06-18 23:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbef4680012d8a70400607fd98000c012624..."} 
[2026-06-18 23:43:17] local.INFO: Processing buffer {"connection_id":107108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbef4680012d8a70400607fd98000c012624..."} 
[2026-06-18 23:43:17] local.INFO: Packet analysis {"connection_id":107108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:43:17] local.INFO: Extracted packet for processing {"connection_id":107108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:43:17] local.INFO: GPS Element Parsed {"raw_longitude":764047424,"raw_latitude":101186968,"longitude_deg":76.4047424,"latitude_deg":10.1186968,"altitude":12,"angle":294,"satellites":36,"speed":43,"hex_longitude":"2d8a7040","hex_latitude":"0607fd98","is_valid_coordinates":true} 
[2026-06-18 23:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142425344001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94467822855389184,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8467893173459918848,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1781806352000,"timestamp_ms":1781806352000,"timestamp_seconds":1781806352,"priority":1,"record_length":96,"hex_timestamp":"0000019edbef4680"} 
[2026-06-18 23:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-06-18 23:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2430,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":107108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":107108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":107108,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:43:17] 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-06-18 23:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142425344001,"66":11917,"155":206,"79":46848,"24":43,"16":94467822855389184,"45":-8467893173459918848},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,79,24,16,45]} 
[2026-06-18 23:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142425344001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94467822855389184,"km_value":94467822855389.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8467893173459918848,"description":"Unknown IO ID 45"} 
[2026-06-18 23:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142425344001,"power":11917,"unknown_155":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8467893173459918848}} 
[2026-06-18 23:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":107108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347790,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:43:17] local.INFO: GPS data processed {"connection_id":107108,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:43:17] local.INFO: Acknowledgment sent {"connection_id":107108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:43:18] local.INFO: TCP Data received {"connection_id":106492,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:43:18] local.INFO: Processing buffer {"connection_id":106492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:43:18] local.INFO: IMEI packet received {"connection_id":106492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":106492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:43:19] local.INFO: TCP Data received {"connection_id":106492,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbec9318012d3c1fc0069e92b8003c009730..."} 
[2026-06-18 23:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbec9318012d3c1fc0069e92b8003c009730..."} 
[2026-06-18 23:43:19] local.INFO: Processing buffer {"connection_id":106492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbec9318012d3c1fc0069e92b8003c009730..."} 
[2026-06-18 23:43:19] local.INFO: Packet analysis {"connection_id":106492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbec"} 
[2026-06-18 23:43:19] local.INFO: Extracted packet for processing {"connection_id":106492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbec"} 
[2026-06-18 23:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758915008,"raw_latitude":111055544,"longitude_deg":75.8915008,"latitude_deg":11.1055544,"altitude":60,"angle":151,"satellites":48,"speed":0,"hex_longitude":"2d3c1fc0","hex_latitude":"069e92b8","is_valid_coordinates":true} 
[2026-06-18 23:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142375424001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4321696452106612736,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1781806175000,"timestamp_ms":1781806175000,"timestamp_seconds":1781806175,"priority":1,"record_length":96,"hex_timestamp":"0000019edbec9318"} 
[2026-06-18 23:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 23:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":106492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":106492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":106492,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142375424001,"66":27745,"19":48128,"24":0,"16":124677330030297088,"45":4321696452106612736},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-06-18 23:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142375424001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:43:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4321696452106612736,"description":"Unknown IO ID 45"} 
[2026-06-18 23:43:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":456142375424001,"power":27745,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4321696452106612736}} 
[2026-06-18 23:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":106492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347791,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:43:19] local.INFO: GPS data processed {"connection_id":106492,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:43:19] local.INFO: Acknowledgment sent {"connection_id":106492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:43:23] local.INFO: TCP Data received {"connection_id":106313,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:43:23] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:43:23] local.INFO: IMEI packet received {"connection_id":106313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":106313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:43:28] local.INFO: TCP Data received {"connection_id":106313,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:43:29] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:43:29] local.INFO: IMEI packet received {"connection_id":106313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":106313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:43:29] local.INFO: TCP Data received {"connection_id":106313,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:43:29] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:43:29] local.INFO: Packet analysis {"connection_id":106313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:43:29] local.INFO: Extracted packet for processing {"connection_id":106313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:43:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:43:29] 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-06-18 23:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:43:29] 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-06-18 23:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:43:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:43:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":106313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:43:29] local.INFO: GPS data processed {"connection_id":106313,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:43:29] local.INFO: Acknowledgment sent {"connection_id":106313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:43:58] local.INFO: TCP Data received {"connection_id":108029,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:58] local.INFO: Processing buffer {"connection_id":108029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:58] local.INFO: IMEI packet received {"connection_id":108029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":108029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:43:59] local.INFO: TCP Data received {"connection_id":108029,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:59] local.INFO: Processing buffer {"connection_id":108029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:43:59] local.INFO: IMEI packet received {"connection_id":108029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":108029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:44:00] local.INFO: TCP Data received {"connection_id":106313,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:44:01] local.INFO: Processing buffer {"connection_id":106313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbeb75f0012cc3308007685ac80066006d2d..."} 
[2026-06-18 23:44:01] local.INFO: Packet analysis {"connection_id":106313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:44:01] local.INFO: Extracted packet for processing {"connection_id":106313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbeb"} 
[2026-06-18 23:44:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":102,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142285056001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:01] 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-06-18 23:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781806102000,"timestamp_ms":1781806102000,"timestamp_seconds":1781806102,"priority":1,"record_length":96,"hex_timestamp":"0000019edbeb75f0"} 
[2026-06-18 23:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":194,"data_length":795,"current_offset":136} 
[2026-06-18 23:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142285056001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142285056001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:44:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:44:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142285056001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":106313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:44:01] local.INFO: GPS data processed {"connection_id":106313,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:44:01] local.INFO: Acknowledgment sent {"connection_id":106313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:44:04] local.INFO: TCP Data received {"connection_id":107109,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:44:04] local.INFO: Processing buffer {"connection_id":107109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:44:04] local.INFO: IMEI packet received {"connection_id":107109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":107109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:44:04] local.INFO: TCP Data received {"connection_id":108029,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108029,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:44:04] local.INFO: Processing buffer {"connection_id":108029,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:44:04] local.INFO: IMEI packet received {"connection_id":108029,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":108029,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:44:05] local.INFO: TCP Data received {"connection_id":108029,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbef69a8012d8a4dc006080ac8000b012324..."} 
[2026-06-18 23:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbef69a8012d8a4dc006080ac8000b012324..."} 
[2026-06-18 23:44:05] local.INFO: Processing buffer {"connection_id":108029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbef69a8012d8a4dc006080ac8000b012324..."} 
[2026-06-18 23:44:05] local.INFO: Packet analysis {"connection_id":108029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:44:05] local.INFO: Extracted packet for processing {"connection_id":108029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:44:05] local.INFO: GPS Element Parsed {"raw_longitude":764038592,"raw_latitude":101190344,"longitude_deg":76.4038592,"latitude_deg":10.1190344,"altitude":11,"angle":291,"satellites":36,"speed":40,"hex_longitude":"2d8a4dc0","hex_latitude":"06080ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142426112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94468269531987968,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8471200504435861504,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781806361000,"timestamp_ms":1781806361000,"timestamp_seconds":1781806361,"priority":1,"record_length":96,"hex_timestamp":"0000019edbef69a8"} 
[2026-06-18 23:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:44:05] 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-06-18 23: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-06-18 23:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":108029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":108029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":108029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:44: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-06-18 23:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142426112001,"66":11917,"155":206,"79":46848,"24":40,"16":94468269531987968,"45":-8471200504435861504},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,79,24,16,45]} 
[2026-06-18 23:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142426112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:44:05] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-06-18 23:44:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94468269531987968,"km_value":94468269531987.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8471200504435861504,"description":"Unknown IO ID 45"} 
[2026-06-18 23:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142426112001,"power":11917,"unknown_155":206,"unknown_79":46848,"ignition":40,"odometer":null,"unknown_45":-8471200504435861504}} 
[2026-06-18 23:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":108029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347794,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:44:05] local.INFO: GPS data processed {"connection_id":108029,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:44:05] local.INFO: Acknowledgment sent {"connection_id":108029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:44:08] local.INFO: TCP Data received {"connection_id":107109,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:44:08] local.INFO: Processing buffer {"connection_id":107109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:44:08] local.INFO: IMEI packet received {"connection_id":107109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":107109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:44:10] local.INFO: TCP Data received {"connection_id":107109,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbef32f8012d3da800069b07a00027009e2b..."} 
[2026-06-18 23:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbef32f8012d3da800069b07a00027009e2b..."} 
[2026-06-18 23:44:10] local.INFO: Processing buffer {"connection_id":107109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbef32f8012d3da800069b07a00027009e2b..."} 
[2026-06-18 23:44:10] local.INFO: Packet analysis {"connection_id":107109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:44:10] local.INFO: Extracted packet for processing {"connection_id":107109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbef"} 
[2026-06-18 23:44:10] local.INFO: GPS Element Parsed {"raw_longitude":759015424,"raw_latitude":110823328,"longitude_deg":75.9015424,"latitude_deg":11.0823328,"altitude":39,"angle":158,"satellites":43,"speed":58,"hex_longitude":"2d3da800","hex_latitude":"069b07a0","is_valid_coordinates":true} 
[2026-06-18 23:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142420736001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4438015986173620224,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781806347000,"timestamp_ms":1781806347000,"timestamp_seconds":1781806347,"priority":1,"record_length":96,"hex_timestamp":"0000019edbef32f8"} 
[2026-06-18 23:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:44:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 23:44:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:44:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107109,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142420736001,"66":27767,"81":206,"19":48128,"24":58,"16":124677330030297088,"45":4438015986173620224},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-06-18 23:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142420736001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-06-18 23:44:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4438015986173620224,"description":"Unknown IO ID 45"} 
[2026-06-18 23:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142420736001,"power":27767,"unknown_81":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":4438015986173620224}} 
[2026-06-18 23:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":107109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:44:10] local.INFO: GPS data processed {"connection_id":107109,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:44:10] local.INFO: Acknowledgment sent {"connection_id":107109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:44:28] local.INFO: TCP Data received {"connection_id":106493,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:44:28] local.INFO: Processing buffer {"connection_id":106493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:44:28] local.INFO: IMEI packet received {"connection_id":106493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":106493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:44:33] local.INFO: TCP Data received {"connection_id":106493,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:44:33] local.INFO: Processing buffer {"connection_id":106493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:44:33] local.INFO: IMEI packet received {"connection_id":106493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:44:33] local.INFO: IMEI acknowledgment sent {"connection_id":106493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:44:34] local.INFO: TCP Data received {"connection_id":106493,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:44:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:44:34] local.INFO: Processing buffer {"connection_id":106493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:44:34] local.INFO: Packet analysis {"connection_id":106493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:44:34] local.INFO: Extracted packet for processing {"connection_id":106493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:44:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:34] 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-06-18 23:44:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:44:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:44:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:44:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:44:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:44:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:44:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:44:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:44:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:44:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:44:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:44:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:44:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:44:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:44:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:44:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:44:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:44:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:44:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:44:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:44:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:44:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:44:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:44:34] local.INFO: DEBUG: GPS processor result {"connection_id":106493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:44:34] local.INFO: GPS data processed {"connection_id":106493,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:44:34] local.INFO: Acknowledgment sent {"connection_id":106493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:44:36] local.INFO: TCP Data received {"connection_id":108029,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf0b998012d88f74006084900000e00f724..."} 
[2026-06-18 23:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf0b998012d88f74006084900000e00f724..."} 
[2026-06-18 23:44:36] local.INFO: Processing buffer {"connection_id":108029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf0b998012d88f74006084900000e00f724..."} 
[2026-06-18 23:44:36] local.INFO: Packet analysis {"connection_id":108029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:44:36] local.INFO: Extracted packet for processing {"connection_id":108029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:44:36] local.INFO: GPS Element Parsed {"raw_longitude":763950912,"raw_latitude":101206272,"longitude_deg":76.3950912,"latitude_deg":10.1206272,"altitude":14,"angle":247,"satellites":36,"speed":38,"hex_longitude":"2d88f740","hex_latitude":"06084900","is_valid_coordinates":true} 
[2026-06-18 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142447872001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94472650398629888,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8567253840232650752,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781806447000,"timestamp_ms":1781806447000,"timestamp_seconds":1781806447,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf0b998"} 
[2026-06-18 23:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:44:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:44:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-06-18 23:44:36] 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-06-18 23:44:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":108029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":108029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":108029,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:44:36] 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-06-18 23:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142447872001,"66":11602,"65":206,"79":46848,"24":38,"16":94472650398629888,"45":-8567253840232650752},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,79,24,16,45]} 
[2026-06-18 23:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142447872001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:44:36] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-18 23:44:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94472650398629888,"km_value":94472650398629.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8567253840232650752,"description":"Unknown IO ID 45"} 
[2026-06-18 23:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142447872001,"power":11602,"unknown_65":206,"unknown_79":46848,"ignition":38,"odometer":null,"unknown_45":-8567253840232650752}} 
[2026-06-18 23:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":108029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347797,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:44:36] local.INFO: GPS data processed {"connection_id":108029,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:44:36] local.INFO: Acknowledgment sent {"connection_id":108029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:44:39] local.INFO: TCP Data received {"connection_id":106493,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:44:39] local.INFO: Processing buffer {"connection_id":106493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:44:39] local.INFO: Packet analysis {"connection_id":106493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:44:39] local.INFO: Extracted packet for processing {"connection_id":106493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:44:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:44:39] 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-06-18 23:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:44:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:44:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:44:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:44:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:44:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:44:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":106493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:44:39] local.INFO: GPS data processed {"connection_id":106493,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:44:39] local.INFO: Acknowledgment sent {"connection_id":106493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:44:59] local.INFO: TCP Data received {"connection_id":108030,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:44:59] local.INFO: Processing buffer {"connection_id":108030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:44:59] local.INFO: IMEI packet received {"connection_id":108030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":108030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:45:05] local.INFO: TCP Data received {"connection_id":108030,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108030,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:45:05] local.INFO: Processing buffer {"connection_id":108030,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:45:05] local.INFO: IMEI packet received {"connection_id":108030,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":108030,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:45:06] local.INFO: TCP Data received {"connection_id":108030,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf0dcc0012d88d6c0060838c8000e00ef24..."} 
[2026-06-18 23:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf0dcc0012d88d6c0060838c8000e00ef24..."} 
[2026-06-18 23:45:06] local.INFO: Processing buffer {"connection_id":108030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf0dcc0012d88d6c0060838c8000e00ef24..."} 
[2026-06-18 23:45:06] local.INFO: Packet analysis {"connection_id":108030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:45:06] local.INFO: Extracted packet for processing {"connection_id":108030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763942592,"raw_latitude":101202120,"longitude_deg":76.3942592,"latitude_deg":10.120212,"altitude":14,"angle":239,"satellites":36,"speed":45,"hex_longitude":"2d88d6c0","hex_latitude":"060838c8","is_valid_coordinates":true} 
[2026-06-18 23:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142450432001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94473097075228672,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8577316570650836992,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1781806456000,"timestamp_ms":1781806456000,"timestamp_seconds":1781806456,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf0dcc0"} 
[2026-06-18 23:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:45:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-06-18 23:45:06] 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-06-18 23:45:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":108030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":108030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":108030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:45:06] 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-06-18 23:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142450432001,"66":11917,"65":206,"79":46848,"24":45,"16":94473097075228672,"45":-8577316570650836992},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,79,24,16,45]} 
[2026-06-18 23:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142450432001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:45:06] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-18 23:45:06] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94473097075228672,"km_value":94473097075228.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8577316570650836992,"description":"Unknown IO ID 45"} 
[2026-06-18 23:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142450432001,"power":11917,"unknown_65":206,"unknown_79":46848,"ignition":45,"odometer":null,"unknown_45":-8577316570650836992}} 
[2026-06-18 23:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":108030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347799,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:45:06] local.INFO: GPS data processed {"connection_id":108030,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:45:06] local.INFO: Acknowledgment sent {"connection_id":108030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:45:23] local.INFO: TCP Data received {"connection_id":106314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:45:23] local.INFO: Processing buffer {"connection_id":106314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:45:23] local.INFO: IMEI packet received {"connection_id":106314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":106314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:45:28] local.INFO: TCP Data received {"connection_id":106314,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:45:28] local.INFO: Processing buffer {"connection_id":106314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:45:28] local.INFO: IMEI packet received {"connection_id":106314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:45:28] local.INFO: IMEI acknowledgment sent {"connection_id":106314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:45:29] local.INFO: TCP Data received {"connection_id":106314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:45:29] local.INFO: Processing buffer {"connection_id":106314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:45:29] local.INFO: Packet analysis {"connection_id":106314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:45:29] local.INFO: Extracted packet for processing {"connection_id":106314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:45:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:29] 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-06-18 23:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:45:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:45:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:45:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":106314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:45:29] local.INFO: GPS data processed {"connection_id":106314,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:45:29] local.INFO: Acknowledgment sent {"connection_id":106314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:45:37] local.INFO: TCP Data received {"connection_id":108030,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf0ffe8012d88b6c0060824d0000d00ed24..."} 
[2026-06-18 23:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf0ffe8012d88b6c0060824d0000d00ed24..."} 
[2026-06-18 23:45:37] local.INFO: Processing buffer {"connection_id":108030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf0ffe8012d88b6c0060824d0000d00ed24..."} 
[2026-06-18 23:45:37] local.INFO: Packet analysis {"connection_id":108030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:45:37] local.INFO: Extracted packet for processing {"connection_id":108030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:45:37] local.INFO: GPS Element Parsed {"raw_longitude":763934400,"raw_latitude":101197008,"longitude_deg":76.39344,"latitude_deg":10.1197008,"altitude":13,"angle":237,"satellites":36,"speed":40,"hex_longitude":"2d88b6c0","hex_latitude":"060824d0","is_valid_coordinates":true} 
[2026-06-18 23:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142452736001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94473560931696640,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8586464507394996224,"note":"Value kept but may cause issues"} 
[2026-06-18 23:45:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1781806465000,"timestamp_ms":1781806465000,"timestamp_seconds":1781806465,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf0ffe8"} 
[2026-06-18 23:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:45:37] 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-06-18 23:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":108030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":108030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":108030,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:45:37] 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-06-18 23:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142452736001,"66":11711,"65":206,"79":46848,"24":40,"16":94473560931696640,"45":-8586464507394996224},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,79,24,16,45]} 
[2026-06-18 23:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142452736001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:45:37] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-06-18 23:45:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94473560931696640,"km_value":94473560931696.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8586464507394996224,"description":"Unknown IO ID 45"} 
[2026-06-18 23:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142452736001,"power":11711,"unknown_65":206,"unknown_79":46848,"ignition":40,"odometer":null,"unknown_45":-8586464507394996224}} 
[2026-06-18 23:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":108030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347801,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:45:37] local.INFO: GPS data processed {"connection_id":108030,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:45:37] local.INFO: Acknowledgment sent {"connection_id":108030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:46:00] local.INFO: TCP Data received {"connection_id":106494,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:00] local.INFO: Processing buffer {"connection_id":106494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:00] local.INFO: IMEI packet received {"connection_id":106494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":106494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:46:00] local.INFO: TCP Data received {"connection_id":106314,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:46:00] local.INFO: Processing buffer {"connection_id":106314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:46:00] local.INFO: Packet analysis {"connection_id":106314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:46:00] local.INFO: Extracted packet for processing {"connection_id":106314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:46:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:00] 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-06-18 23:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:46: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-06-18 23:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:46:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:46:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":106314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:46:00] local.INFO: GPS data processed {"connection_id":106314,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:46:00] local.INFO: Acknowledgment sent {"connection_id":106314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:46:00] local.INFO: TCP Data received {"connection_id":106494,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:00] local.INFO: Processing buffer {"connection_id":106494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:00] local.INFO: IMEI packet received {"connection_id":106494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":106494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:46:04] local.INFO: TCP Data received {"connection_id":106494,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106494,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:04] local.INFO: Processing buffer {"connection_id":106494,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:46:04] local.INFO: IMEI packet received {"connection_id":106494,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":106494,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:46:05] local.INFO: TCP Data received {"connection_id":106494,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf228c8012d87bd8006083680000b010324..."} 
[2026-06-18 23:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf228c8012d87bd8006083680000b010324..."} 
[2026-06-18 23:46:05] local.INFO: Processing buffer {"connection_id":106494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf228c8012d87bd8006083680000b010324..."} 
[2026-06-18 23:46:05] local.INFO: Packet analysis {"connection_id":106494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:46:05] local.INFO: Extracted packet for processing {"connection_id":106494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:46:05] local.INFO: GPS Element Parsed {"raw_longitude":763870592,"raw_latitude":101201536,"longitude_deg":76.3870592,"latitude_deg":10.1201536,"altitude":11,"angle":259,"satellites":36,"speed":43,"hex_longitude":"2d87bd80","hex_latitude":"06083680","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142474496001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94476782157168640,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8665629344595017728,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781806541000,"timestamp_ms":1781806541000,"timestamp_seconds":1781806541,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf228c8"} 
[2026-06-18 23:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 23:46:05] 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-06-18 23: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-06-18 23:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23: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-06-18 23:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142474496001,"66":11700,"67":206,"79":46848,"24":43,"16":94476782157168640,"45":-8665629344595017728},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,79,24,16,45]} 
[2026-06-18 23:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142474496001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:46:05] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-18 23:46:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94476782157168640,"km_value":94476782157168.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8665629344595017728,"description":"Unknown IO ID 45"} 
[2026-06-18 23:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142474496001,"power":11700,"unknown_67":206,"unknown_79":46848,"ignition":43,"odometer":null,"unknown_45":-8665629344595017728}} 
[2026-06-18 23:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":106494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347803,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:46:05] local.INFO: GPS data processed {"connection_id":106494,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:46:05] local.INFO: Acknowledgment sent {"connection_id":106494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:46:23] local.INFO: TCP Data received {"connection_id":106315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:46:23] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:46:23] local.INFO: IMEI packet received {"connection_id":106315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":106315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:46:28] local.INFO: TCP Data received {"connection_id":106315,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:46:28] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:46:28] local.INFO: IMEI packet received {"connection_id":106315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":106315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:46:29] local.INFO: TCP Data received {"connection_id":106315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:46:29] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:46:29] local.INFO: Packet analysis {"connection_id":106315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:46:29] local.INFO: Extracted packet for processing {"connection_id":106315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:46:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:29] 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-06-18 23:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:46:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:46:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:46:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:46:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":106315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:46:29] local.INFO: GPS data processed {"connection_id":106315,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:46:29] local.INFO: Acknowledgment sent {"connection_id":106315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:46:41] local.INFO: TCP Data received {"connection_id":106316,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:46:41] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:46:41] local.INFO: IMEI packet received {"connection_id":106316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":106316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:46:43] local.INFO: TCP Data received {"connection_id":106316,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:46:43] local.INFO: Processing buffer {"connection_id":106316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:46:43] local.INFO: IMEI packet received {"connection_id":106316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":106316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:46:45] local.INFO: TCP Data received {"connection_id":106494,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf24bf0012d87978006082da8000d00ff24..."} 
[2026-06-18 23:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf24bf0012d87978006082da8000d00ff24..."} 
[2026-06-18 23:46:45] local.INFO: Processing buffer {"connection_id":106494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf24bf0012d87978006082da8000d00ff24..."} 
[2026-06-18 23:46:45] local.INFO: Packet analysis {"connection_id":106494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:46:45] local.INFO: Extracted packet for processing {"connection_id":106494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:46:45] local.INFO: GPS Element Parsed {"raw_longitude":763860864,"raw_latitude":101199272,"longitude_deg":76.3860864,"latitude_deg":10.1199272,"altitude":13,"angle":255,"satellites":36,"speed":45,"hex_longitude":"2d879780","hex_latitude":"06082da8","is_valid_coordinates":true} 
[2026-06-18 23:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142474496001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94477258898538496,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8665629344595017728,"note":"Value kept but may cause issues"} 
[2026-06-18 23:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781806550000,"timestamp_ms":1781806550000,"timestamp_seconds":1781806550,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf24bf0"} 
[2026-06-18 23:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-06-18 23:46:45] 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-06-18 23:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106494,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:46:45] 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-06-18 23:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142474496001,"66":11721,"67":206,"79":46848,"24":45,"16":94477258898538496,"45":-8665629344595017728},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,79,24,16,45]} 
[2026-06-18 23:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142474496001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:46:45] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-18 23:46:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94477258898538496,"km_value":94477258898538.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8665629344595017728,"description":"Unknown IO ID 45"} 
[2026-06-18 23:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142474496001,"power":11721,"unknown_67":206,"unknown_79":46848,"ignition":45,"odometer":null,"unknown_45":-8665629344595017728}} 
[2026-06-18 23:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":106494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347805,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:46:45] local.INFO: GPS data processed {"connection_id":106494,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:46:45] local.INFO: Acknowledgment sent {"connection_id":106494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:47:00] local.INFO: TCP Data received {"connection_id":106315,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:47:00] local.INFO: Processing buffer {"connection_id":106315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:47:00] local.INFO: Packet analysis {"connection_id":106315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:47:00] local.INFO: Extracted packet for processing {"connection_id":106315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:47:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:00] 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-06-18 23:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:47: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-06-18 23:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:47:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:47:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:47:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":106315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:47:00] local.INFO: GPS data processed {"connection_id":106315,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:47:00] local.INFO: Acknowledgment sent {"connection_id":106315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:47:08] local.INFO: TCP Data received {"connection_id":108031,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:47:08] local.INFO: Processing buffer {"connection_id":108031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:47:08] local.INFO: IMEI packet received {"connection_id":108031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":108031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:47:13] local.INFO: TCP Data received {"connection_id":108031,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:47:13] local.INFO: Processing buffer {"connection_id":108031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:47:13] local.INFO: IMEI packet received {"connection_id":108031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":108031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:47:14] local.INFO: TCP Data received {"connection_id":106495,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:47:14] local.INFO: Processing buffer {"connection_id":106495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:47:14] local.INFO: IMEI packet received {"connection_id":106495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":106495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:47:15] local.INFO: TCP Data received {"connection_id":108031,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf228c8012d40604006992c20001b008132..."} 
[2026-06-18 23:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf228c8012d40604006992c20001b008132..."} 
[2026-06-18 23:47:15] local.INFO: Processing buffer {"connection_id":108031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf228c8012d40604006992c20001b008132..."} 
[2026-06-18 23:47:15] local.INFO: Packet analysis {"connection_id":108031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:47:15] local.INFO: Extracted packet for processing {"connection_id":108031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:47:15] local.INFO: GPS Element Parsed {"raw_longitude":759193664,"raw_latitude":110701600,"longitude_deg":75.9193664,"latitude_deg":11.07016,"altitude":27,"angle":129,"satellites":50,"speed":50,"hex_longitude":"2d406040","hex_latitude":"06992c20","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142470400001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4618230339978274816,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1781806541000,"timestamp_ms":1781806541000,"timestamp_seconds":1781806541,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf228c8"} 
[2026-06-18 23:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 23:47:15] 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-06-18 23: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-06-18 23:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":108031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":108031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":108031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142470400001,"66":27267,"79":206,"19":48128,"24":50,"16":124677330030297088,"45":4618230339978274816},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-06-18 23:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142470400001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:47:15] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-06-18 23:47:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4618230339978274816,"description":"Unknown IO ID 45"} 
[2026-06-18 23:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142470400001,"power":27267,"unknown_79":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4618230339978274816}} 
[2026-06-18 23:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":108031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347807,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:47:15] local.INFO: GPS data processed {"connection_id":108031,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:47:15] local.INFO: Acknowledgment sent {"connection_id":108031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:47:16] local.INFO: TCP Data received {"connection_id":106495,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106495,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:47:16] local.INFO: Processing buffer {"connection_id":106495,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:47:16] local.INFO: IMEI packet received {"connection_id":106495,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":106495,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:47:20] local.INFO: TCP Data received {"connection_id":106495,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf26b30012d877400060824e0000c010023..."} 
[2026-06-18 23:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf26b30012d877400060824e0000c010023..."} 
[2026-06-18 23:47:20] local.INFO: Processing buffer {"connection_id":106495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf26b30012d877400060824e0000c010023..."} 
[2026-06-18 23:47:20] local.INFO: Packet analysis {"connection_id":106495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:47:20] local.INFO: Extracted packet for processing {"connection_id":106495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:47:20] local.INFO: GPS Element Parsed {"raw_longitude":763851776,"raw_latitude":101197024,"longitude_deg":76.3851776,"latitude_deg":10.1197024,"altitude":12,"angle":256,"satellites":35,"speed":46,"hex_longitude":"2d877400","hex_latitude":"060824e0","is_valid_coordinates":true} 
[2026-06-18 23:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142476800001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94477705575137280,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8676325393710602240,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1781806558000,"timestamp_ms":1781806558000,"timestamp_seconds":1781806558,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf26b30"} 
[2026-06-18 23:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 23:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2232,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":106495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":106495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":106495,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:47:20] 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-06-18 23:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142476800001,"66":11874,"67":206,"79":46848,"24":46,"16":94477705575137280,"45":-8676325393710602240},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,79,24,16,45]} 
[2026-06-18 23:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142476800001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:47:20] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-06-18 23:47:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46848,"description":"Unknown IO ID 79"} 
[2026-06-18 23:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94477705575137280,"km_value":94477705575137.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8676325393710602240,"description":"Unknown IO ID 45"} 
[2026-06-18 23:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142476800001,"power":11874,"unknown_67":206,"unknown_79":46848,"ignition":46,"odometer":null,"unknown_45":-8676325393710602240}} 
[2026-06-18 23:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":106495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347808,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:47:20] local.INFO: GPS data processed {"connection_id":106495,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:47:20] local.INFO: Acknowledgment sent {"connection_id":106495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:47:23] local.INFO: TCP Data received {"connection_id":106496,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:47:23] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:47:23] local.INFO: IMEI packet received {"connection_id":106496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:47:23] local.INFO: IMEI acknowledgment sent {"connection_id":106496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:47:28] local.INFO: TCP Data received {"connection_id":106496,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:47:28] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:47:28] local.INFO: IMEI packet received {"connection_id":106496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:47:28] local.INFO: IMEI acknowledgment sent {"connection_id":106496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:47:29] local.INFO: TCP Data received {"connection_id":106496,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:47:29] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:47:29] local.INFO: Packet analysis {"connection_id":106496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:47:29] local.INFO: Extracted packet for processing {"connection_id":106496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:47:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:29] 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-06-18 23:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:47:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:47:29] 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-06-18 23:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:47:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:47:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":106496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:47:29] local.INFO: GPS data processed {"connection_id":106496,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:47:29] local.INFO: Acknowledgment sent {"connection_id":106496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:47:46] local.INFO: TCP Data received {"connection_id":108031,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf27ad0012d409d000698fb08001f007f30..."} 
[2026-06-18 23:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf27ad0012d409d000698fb08001f007f30..."} 
[2026-06-18 23:47:46] local.INFO: Processing buffer {"connection_id":108031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf27ad0012d409d000698fb08001f007f30..."} 
[2026-06-18 23:47:46] local.INFO: Packet analysis {"connection_id":108031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:47:46] local.INFO: Extracted packet for processing {"connection_id":108031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:47:46] local.INFO: GPS Element Parsed {"raw_longitude":759209216,"raw_latitude":110689032,"longitude_deg":75.9209216,"latitude_deg":11.0689032,"altitude":31,"angle":127,"satellites":48,"speed":0,"hex_longitude":"2d409d00","hex_latitude":"0698fb08","is_valid_coordinates":true} 
[2026-06-18 23:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142474496001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4638778013275398144,"note":"Value kept but may cause issues"} 
[2026-06-18 23:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781806562000,"timestamp_ms":1781806562000,"timestamp_seconds":1781806562,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf27ad0"} 
[2026-06-18 23:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:47:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:47:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-06-18 23:47:46] 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-06-18 23:47:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":108031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":108031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":108031,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142474496001,"66":27767,"29":206,"19":48128,"24":0,"16":124677330030297088,"45":4638778013275398144},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 23:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142474496001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:47:46] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 23:47:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4638778013275398144,"description":"Unknown IO ID 45"} 
[2026-06-18 23:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142474496001,"power":27767,"unknown_29":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4638778013275398144}} 
[2026-06-18 23:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":108031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:47:46] local.INFO: GPS data processed {"connection_id":108031,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:47:46] local.INFO: Acknowledgment sent {"connection_id":108031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:48:00] local.INFO: TCP Data received {"connection_id":106317,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:00] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:00] local.INFO: IMEI packet received {"connection_id":106317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":106317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:48:00] local.INFO: TCP Data received {"connection_id":106317,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:00] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:00] local.INFO: IMEI packet received {"connection_id":106317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":106317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:48:00] local.INFO: TCP Data received {"connection_id":106496,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:48:00] local.INFO: Processing buffer {"connection_id":106496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:48:00] local.INFO: Packet analysis {"connection_id":106496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:48:00] local.INFO: Extracted packet for processing {"connection_id":106496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:48:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:00] 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-06-18 23:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:48:00] 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-06-18 23:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:48:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:48:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:48:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":106496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:48:01] local.INFO: GPS data processed {"connection_id":106496,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:48:01] local.INFO: Acknowledgment sent {"connection_id":106496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:48:01] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:01] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:01] local.INFO: IMEI packet received {"connection_id":106318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":106318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:48:03] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:03] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:03] local.INFO: IMEI packet received {"connection_id":106318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":106318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:48:04] local.INFO: TCP Data received {"connection_id":106317,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:04] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:04] local.INFO: IMEI packet received {"connection_id":106317,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":106317,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:48:05] local.INFO: TCP Data received {"connection_id":106317,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf3de48012d862680060760d0000100df20..."} 
[2026-06-18 23:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf3de48012d862680060760d0000100df20..."} 
[2026-06-18 23:48:05] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf3de48012d862680060760d0000100df20..."} 
[2026-06-18 23:48:05] local.INFO: Packet analysis {"connection_id":106317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:48:05] local.INFO: Extracted packet for processing {"connection_id":106317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:48:05] local.INFO: GPS Element Parsed {"raw_longitude":763766400,"raw_latitude":101146832,"longitude_deg":76.37664,"latitude_deg":10.1146832,"altitude":1,"angle":223,"satellites":32,"speed":45,"hex_longitude":"2d862680","hex_latitude":"060760d0","is_valid_coordinates":true} 
[2026-06-18 23:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142500864001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94482554593214464,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8772871310733987840,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1781806653000,"timestamp_ms":1781806653000,"timestamp_seconds":1781806653,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf3de48"} 
[2026-06-18 23:48:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:48:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:48:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-06-18 23:48:05] 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-06-18 23:48:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:48:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":106317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":106317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":106317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:48: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-06-18 23:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142500864001,"66":11721,"107":206,"87":10496,"24":45,"16":94482554593214464,"45":-8772871310733987840},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,87,24,16,45]} 
[2026-06-18 23:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142500864001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:48:05] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-18 23:48:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-06-18 23:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94482554593214464,"km_value":94482554593214.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8772871310733987840,"description":"Unknown IO ID 45"} 
[2026-06-18 23:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142500864001,"power":11721,"unknown_107":206,"unknown_87":10496,"ignition":45,"odometer":null,"unknown_45":-8772871310733987840}} 
[2026-06-18 23:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":106317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347812,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:48:05] local.INFO: GPS data processed {"connection_id":106317,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:48:05] local.INFO: Acknowledgment sent {"connection_id":106317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:48:08] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:08] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:48:08] local.INFO: IMEI packet received {"connection_id":106318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":106318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:48:11] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf2ccd8012d40d9000698d1580022007a2f..."} 
[2026-06-18 23:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf2ccd8012d40d9000698d1580022007a2f..."} 
[2026-06-18 23:48:11] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf2ccd8012d40d9000698d1580022007a2f..."} 
[2026-06-18 23:48:11] local.INFO: Packet analysis {"connection_id":106318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:48:11] local.INFO: Extracted packet for processing {"connection_id":106318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf2"} 
[2026-06-18 23:48:11] local.INFO: GPS Element Parsed {"raw_longitude":759224576,"raw_latitude":110678360,"longitude_deg":75.9224576,"latitude_deg":11.067836,"altitude":34,"angle":122,"satellites":47,"speed":0,"hex_longitude":"2d40d900","hex_latitude":"0698d158","is_valid_coordinates":true} 
[2026-06-18 23:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142479872001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4655877618107353088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781806583000,"timestamp_ms":1781806583000,"timestamp_seconds":1781806583,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf2ccd8"} 
[2026-06-18 23:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":106318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":106318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":106318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142479872001,"66":27876,"29":206,"19":48128,"24":0,"16":124677330030297088,"45":4655877618107353088},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 23:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142479872001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:48:11] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 23:48:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4655877618107353088,"description":"Unknown IO ID 45"} 
[2026-06-18 23:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142479872001,"power":27876,"unknown_29":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4655877618107353088}} 
[2026-06-18 23:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":106318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:48:11] local.INFO: GPS data processed {"connection_id":106318,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:48:11] local.INFO: Acknowledgment sent {"connection_id":106318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:48:23] local.INFO: TCP Data received {"connection_id":108032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:48:23] local.INFO: Processing buffer {"connection_id":108032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:48:23] local.INFO: IMEI packet received {"connection_id":108032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":108032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:48:28] local.INFO: TCP Data received {"connection_id":108032,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:48:28] local.INFO: Processing buffer {"connection_id":108032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:48:28] local.INFO: IMEI packet received {"connection_id":108032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:48:28] local.INFO: IMEI acknowledgment sent {"connection_id":108032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:48:29] local.INFO: TCP Data received {"connection_id":108032,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:48:29] local.INFO: Processing buffer {"connection_id":108032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:48:29] local.INFO: Packet analysis {"connection_id":108032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:48:29] local.INFO: Extracted packet for processing {"connection_id":108032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:48:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:29] 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-06-18 23:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:48:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:48:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":108032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:48:29] local.INFO: GPS data processed {"connection_id":108032,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:48:29] local.INFO: Acknowledgment sent {"connection_id":108032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:48:36] local.INFO: TCP Data received {"connection_id":106317,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf3fd88012d860e4006074748000000df20..."} 
[2026-06-18 23:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf3fd88012d860e4006074748000000df20..."} 
[2026-06-18 23:48:36] local.INFO: Processing buffer {"connection_id":106317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf3fd88012d860e4006074748000000df20..."} 
[2026-06-18 23:48:36] local.INFO: Packet analysis {"connection_id":106317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:48:36] local.INFO: Extracted packet for processing {"connection_id":106317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763760192,"raw_latitude":101140296,"longitude_deg":76.3760192,"latitude_deg":10.1140296,"altitude":0,"angle":223,"satellites":32,"speed":44,"hex_longitude":"2d860e40","hex_latitude":"06074748","is_valid_coordinates":true} 
[2026-06-18 23:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142503168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94482984089944064,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8780189660130258944,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1781806661000,"timestamp_ms":1781806661000,"timestamp_seconds":1781806661,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf3fd88"} 
[2026-06-18 23:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:48:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:48:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-06-18 23:48:36] 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-06-18 23:48:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":106317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":106317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":106317,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:48:36] 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-06-18 23:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142503168001,"66":11700,"107":206,"87":10496,"24":44,"16":94482984089944064,"45":-8780189660130258944},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,87,24,16,45]} 
[2026-06-18 23:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142503168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:48:36] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-06-18 23:48:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-06-18 23:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94482984089944064,"km_value":94482984089944.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8780189660130258944,"description":"Unknown IO ID 45"} 
[2026-06-18 23:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142503168001,"power":11700,"unknown_107":206,"unknown_87":10496,"ignition":44,"odometer":null,"unknown_45":-8780189660130258944}} 
[2026-06-18 23:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":106317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347815,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:48:36] local.INFO: GPS data processed {"connection_id":106317,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:48:36] local.INFO: Acknowledgment sent {"connection_id":106317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:48:45] local.INFO: TCP Data received {"connection_id":106318,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edca1ae600100000000000000000000000000..."} 
[2026-06-18 23:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edca1ae600100000000000000000000000000..."} 
[2026-06-18 23:48:45] local.INFO: Processing buffer {"connection_id":106318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edca1ae600100000000000000000000000000..."} 
[2026-06-18 23:48:45] local.INFO: Packet analysis {"connection_id":106318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edca1"} 
[2026-06-18 23:48:45] local.INFO: Extracted packet for processing {"connection_id":106318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edca1"} 
[2026-06-18 23:48:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:48:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142485248001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4672766116707260416,"note":"Value kept but may cause issues"} 
[2026-06-18 23:48:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:48:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781818044000,"timestamp_ms":1781818044000,"timestamp_seconds":1781818044,"priority":1,"record_length":96,"hex_timestamp":"0000019edca1ae60"} 
[2026-06-18 23:48:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:48:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:48:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 23:48:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:48:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:48:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:48:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:48:45] local.INFO: Teltonika packet parsed successfully {"connection_id":106318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:48:45] local.INFO: Passing IMEI to GPS processor {"connection_id":106318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:48:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":106318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:48:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:48:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:48:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:48:45] local.INFO: DEBUG: GPS processor result {"connection_id":106318,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:48:45] local.INFO: GPS data processed {"connection_id":106318,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:48:45] local.INFO: Acknowledgment sent {"connection_id":106318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:48:58] local.INFO: TCP Data received {"connection_id":106319,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:58] local.INFO: Processing buffer {"connection_id":106319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:58] local.INFO: IMEI packet received {"connection_id":106319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":106319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:48:59] local.INFO: TCP Data received {"connection_id":106319,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:59] local.INFO: Processing buffer {"connection_id":106319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:48:59] local.INFO: IMEI packet received {"connection_id":106319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":106319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:49:00] local.INFO: TCP Data received {"connection_id":106319,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:49:00] local.INFO: Processing buffer {"connection_id":106319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:49:00] local.INFO: IMEI packet received {"connection_id":106319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":106319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:49:00] local.INFO: TCP Data received {"connection_id":108032,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:49:00] local.INFO: Processing buffer {"connection_id":108032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf00db8012cc3308007685ac8005d006d2d..."} 
[2026-06-18 23:49:00] local.INFO: Packet analysis {"connection_id":108032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:49:00] local.INFO: Extracted packet for processing {"connection_id":108032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf0"} 
[2026-06-18 23:49:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":93,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142362112001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:00] 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-06-18 23:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806403000,"timestamp_ms":1781806403000,"timestamp_seconds":1781806403,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf00db8"} 
[2026-06-18 23:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142362112001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142362112001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:49:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:49:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142362112001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":108032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:49:00] local.INFO: GPS data processed {"connection_id":108032,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:49:00] local.INFO: Acknowledgment sent {"connection_id":108032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:49:01] local.INFO: TCP Data received {"connection_id":108033,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:01] local.INFO: Processing buffer {"connection_id":108033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:01] local.INFO: IMEI packet received {"connection_id":108033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:49:01] local.INFO: IMEI acknowledgment sent {"connection_id":108033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:49:03] local.INFO: TCP Data received {"connection_id":108033,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:03] local.INFO: Processing buffer {"connection_id":108033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:03] local.INFO: IMEI packet received {"connection_id":108033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":108033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:49:03] local.INFO: TCP Data received {"connection_id":106319,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106319,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:49:03] local.INFO: Processing buffer {"connection_id":106319,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:49:03] local.INFO: IMEI packet received {"connection_id":106319,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":106319,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:49:08] local.INFO: TCP Data received {"connection_id":108033,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:08] local.INFO: Processing buffer {"connection_id":108033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:49:08] local.INFO: IMEI packet received {"connection_id":108033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":108033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:49:09] local.INFO: TCP Data received {"connection_id":108033,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf33a38012d4167c006987550001d007b31..."} 
[2026-06-18 23:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf33a38012d4167c006987550001d007b31..."} 
[2026-06-18 23:49:09] local.INFO: Processing buffer {"connection_id":108033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf33a38012d4167c006987550001d007b31..."} 
[2026-06-18 23:49:09] local.INFO: Packet analysis {"connection_id":108033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:49:09] local.INFO: Extracted packet for processing {"connection_id":108033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:49:09] local.INFO: GPS Element Parsed {"raw_longitude":759261120,"raw_latitude":110654800,"longitude_deg":75.926112,"latitude_deg":11.06548,"altitude":29,"angle":123,"satellites":49,"speed":58,"hex_longitude":"2d4167c0","hex_latitude":"06987550","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,29,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781806611000,"timestamp_ms":1781806611000,"timestamp_seconds":1781806611,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf33a38"} 
[2026-06-18 23:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-06-18 23:49:09] 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-06-18 23: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-06-18 23:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":108033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":108033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":108033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"29":206,"19":48128,"24":58,"16":124677330030297088},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16]} 
[2026-06-18 23:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:49:09] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 23:49:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:49:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_29":206,"unknown_19":48128,"ignition":58,"odometer":null}} 
[2026-06-18 23:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":108033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:49:09] local.INFO: GPS data processed {"connection_id":108033,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:49:09] local.INFO: Acknowledgment sent {"connection_id":108033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:49:28] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:49:28] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:49:28] local.INFO: IMEI packet received {"connection_id":106320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":106320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:49:33] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:49:33] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:49:33] local.INFO: IMEI packet received {"connection_id":106320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:49:33] local.INFO: IMEI acknowledgment sent {"connection_id":106320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:49:34] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:49:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:49:34] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:49:34] local.INFO: Packet analysis {"connection_id":106320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:49:34] local.INFO: Extracted packet for processing {"connection_id":106320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:49:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:49:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:34] 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-06-18 23:49:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:49:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:49:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:49:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:49:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:49:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:49:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:49:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:49:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:49:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:49:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:49:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:49:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:49:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:49:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:49:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:49:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:49:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:49:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:49:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:49:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:49:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:49:34] local.INFO: DEBUG: GPS processor result {"connection_id":106320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:49:34] local.INFO: GPS data processed {"connection_id":106320,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:49:34] local.INFO: Acknowledgment sent {"connection_id":106320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:49:39] local.INFO: TCP Data received {"connection_id":106320,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:49:39] local.INFO: Processing buffer {"connection_id":106320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:49:39] local.INFO: Packet analysis {"connection_id":106320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:49:39] local.INFO: Extracted packet for processing {"connection_id":106320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:49:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:39] 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-06-18 23:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:49:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:49:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:49:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":106320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:49:39] local.INFO: GPS data processed {"connection_id":106320,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:49:39] local.INFO: Acknowledgment sent {"connection_id":106320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:49:40] local.INFO: TCP Data received {"connection_id":108033,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf38c40012d41b54006984168001b007b31..."} 
[2026-06-18 23:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf38c40012d41b54006984168001b007b31..."} 
[2026-06-18 23:49:40] local.INFO: Processing buffer {"connection_id":108033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf38c40012d41b54006984168001b007b31..."} 
[2026-06-18 23:49:40] local.INFO: Packet analysis {"connection_id":108033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:49:40] local.INFO: Extracted packet for processing {"connection_id":108033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:49:40] local.INFO: GPS Element Parsed {"raw_longitude":759280960,"raw_latitude":110641512,"longitude_deg":75.928096,"latitude_deg":11.0641512,"altitude":27,"angle":123,"satellites":49,"speed":0,"hex_longitude":"2d41b540","hex_latitude":"06984168","is_valid_coordinates":true} 
[2026-06-18 23:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142492416001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4712946669626675200,"note":"Value kept but may cause issues"} 
[2026-06-18 23:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1781806632000,"timestamp_ms":1781806632000,"timestamp_seconds":1781806632,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf38c40"} 
[2026-06-18 23:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":108033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":108033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":108033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142492416001,"66":27930,"29":206,"19":48128,"24":0,"16":124677330030297088,"45":4712946669626675200},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 23:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142492416001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:49:40] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 23:49:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4712946669626675200,"description":"Unknown IO ID 45"} 
[2026-06-18 23:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142492416001,"power":27930,"unknown_29":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4712946669626675200}} 
[2026-06-18 23:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":108033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:49:40] local.INFO: GPS data processed {"connection_id":108033,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:49:40] local.INFO: Acknowledgment sent {"connection_id":108033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:50:03] local.INFO: TCP Data received {"connection_id":108034,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:03] local.INFO: Processing buffer {"connection_id":108034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:03] local.INFO: IMEI packet received {"connection_id":108034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":108034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:50:06] local.INFO: TCP Data received {"connection_id":108034,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:06] local.INFO: Processing buffer {"connection_id":108034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:06] local.INFO: IMEI packet received {"connection_id":108034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":108034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:50:10] local.INFO: TCP Data received {"connection_id":108034,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108034,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:10] local.INFO: Processing buffer {"connection_id":108034,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:50:10] local.INFO: IMEI packet received {"connection_id":108034,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":108034,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:50:11] local.INFO: TCP Data received {"connection_id":108034,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf3b738012d41fb8006981bb00022006f30..."} 
[2026-06-18 23:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf3b738012d41fb8006981bb00022006f30..."} 
[2026-06-18 23:50:11] local.INFO: Processing buffer {"connection_id":108034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf3b738012d41fb8006981bb00022006f30..."} 
[2026-06-18 23:50:11] local.INFO: Packet analysis {"connection_id":108034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:50:11] local.INFO: Extracted packet for processing {"connection_id":108034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf3"} 
[2026-06-18 23:50:11] local.INFO: GPS Element Parsed {"raw_longitude":759298944,"raw_latitude":110631856,"longitude_deg":75.9298944,"latitude_deg":11.0631856,"altitude":34,"angle":111,"satellites":48,"speed":43,"hex_longitude":"2d41fb80","hex_latitude":"06981bb0","is_valid_coordinates":true} 
[2026-06-18 23:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142497792001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4734760980318349312,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1781806643000,"timestamp_ms":1781806643000,"timestamp_seconds":1781806643,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf3b738"} 
[2026-06-18 23:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-06-18 23:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":108034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":108034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":108034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142497792001,"66":27745,"29":206,"19":48128,"24":43,"16":124677330030297088,"45":4734760980318349312},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 23:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142497792001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:50:11] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 23:50:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4734760980318349312,"description":"Unknown IO ID 45"} 
[2026-06-18 23:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142497792001,"power":27745,"unknown_29":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4734760980318349312}} 
[2026-06-18 23:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":108034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:50:11] local.INFO: GPS data processed {"connection_id":108034,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:50:11] local.INFO: Acknowledgment sent {"connection_id":108034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:50:13] local.INFO: TCP Data received {"connection_id":108034,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf40940012d423ac0069805500029006d31..."} 
[2026-06-18 23:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf40940012d423ac0069805500029006d31..."} 
[2026-06-18 23:50:13] local.INFO: Processing buffer {"connection_id":108034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf40940012d423ac0069805500029006d31..."} 
[2026-06-18 23:50:13] local.INFO: Packet analysis {"connection_id":108034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:50:13] local.INFO: Extracted packet for processing {"connection_id":108034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:50:13] local.INFO: GPS Element Parsed {"raw_longitude":759315136,"raw_latitude":110626128,"longitude_deg":75.9315136,"latitude_deg":11.0626128,"altitude":41,"angle":109,"satellites":49,"speed":0,"hex_longitude":"2d423ac0","hex_latitude":"06980550","is_valid_coordinates":true} 
[2026-06-18 23:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142500608001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4754534597429800960,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1781806664000,"timestamp_ms":1781806664000,"timestamp_seconds":1781806664,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf40940"} 
[2026-06-18 23:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-06-18 23:50:13] 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-06-18 23:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":108034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":108034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":108034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142500608001,"66":27767,"29":206,"19":48128,"24":0,"16":124677330030297088,"45":4754534597429800960},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 23:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142500608001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:50:13] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 23:50:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4754534597429800960,"description":"Unknown IO ID 45"} 
[2026-06-18 23:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142500608001,"power":27767,"unknown_29":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4754534597429800960}} 
[2026-06-18 23:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":108034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:50:13] local.INFO: GPS data processed {"connection_id":108034,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:50:13] local.INFO: Acknowledgment sent {"connection_id":108034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:50:24] local.INFO: TCP Data received {"connection_id":106497,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:50:24] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:50:24] local.INFO: IMEI packet received {"connection_id":106497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:50:24] local.INFO: IMEI acknowledgment sent {"connection_id":106497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:50:28] local.INFO: TCP Data received {"connection_id":106497,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:50:28] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:50:28] local.INFO: IMEI packet received {"connection_id":106497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:50:28] local.INFO: IMEI acknowledgment sent {"connection_id":106497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:50:29] local.INFO: TCP Data received {"connection_id":106497,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:50:29] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:50:29] local.INFO: Packet analysis {"connection_id":106497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:50:29] local.INFO: Extracted packet for processing {"connection_id":106497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:50:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:29] 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-06-18 23:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:50: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-06-18 23:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:50:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:50:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":106497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:50:29] local.INFO: GPS data processed {"connection_id":106497,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:50:29] local.INFO: Acknowledgment sent {"connection_id":106497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:50:45] local.INFO: TCP Data received {"connection_id":108034,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf45b48012d4277800697ef60002f006e31..."} 
[2026-06-18 23:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf45b48012d4277800697ef60002f006e31..."} 
[2026-06-18 23:50:45] local.INFO: Processing buffer {"connection_id":108034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf45b48012d4277800697ef60002f006e31..."} 
[2026-06-18 23:50:45] local.INFO: Packet analysis {"connection_id":108034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:50:45] local.INFO: Extracted packet for processing {"connection_id":108034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:50:45] local.INFO: GPS Element Parsed {"raw_longitude":759330688,"raw_latitude":110620512,"longitude_deg":75.9330688,"latitude_deg":11.0620512,"altitude":47,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d427780","hex_latitude":"0697ef60","is_valid_coordinates":true} 
[2026-06-18 23:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142505984001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4772337889705283584,"note":"Value kept but may cause issues"} 
[2026-06-18 23:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781806685000,"timestamp_ms":1781806685000,"timestamp_seconds":1781806685,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf45b48"} 
[2026-06-18 23:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25600,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":108034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":108034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":108034,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142505984001,"66":27713,"29":206,"19":48128,"24":0,"16":124677330030297088,"45":4772337889705283584},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 23:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142505984001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:50:45] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 23:50:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4772337889705283584,"description":"Unknown IO ID 45"} 
[2026-06-18 23:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142505984001,"power":27713,"unknown_29":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4772337889705283584}} 
[2026-06-18 23:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":108034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:50:45] local.INFO: GPS data processed {"connection_id":108034,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:50:45] local.INFO: Acknowledgment sent {"connection_id":108034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:51:00] local.INFO: TCP Data received {"connection_id":106497,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:51:00] local.INFO: Processing buffer {"connection_id":106497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:51:00] local.INFO: Packet analysis {"connection_id":106497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:51:00] local.INFO: Extracted packet for processing {"connection_id":106497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:51:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:00] 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-06-18 23:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:51: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-06-18 23:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:51:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:51:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":106497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:51:00] local.INFO: GPS data processed {"connection_id":106497,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:51:00] local.INFO: Acknowledgment sent {"connection_id":106497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:51:03] local.INFO: TCP Data received {"connection_id":107112,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:51:03] local.INFO: Processing buffer {"connection_id":107112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:51:03] local.INFO: IMEI packet received {"connection_id":107112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":107112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:51:08] local.INFO: TCP Data received {"connection_id":107112,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:51:08] local.INFO: Processing buffer {"connection_id":107112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:51:08] local.INFO: IMEI packet received {"connection_id":107112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":107112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:51:10] local.INFO: TCP Data received {"connection_id":107112,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a198012d42b5c00697d000003000842f..."} 
[2026-06-18 23:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a198012d42b5c00697d000003000842f..."} 
[2026-06-18 23:51:10] local.INFO: Processing buffer {"connection_id":107112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a198012d42b5c00697d000003000842f..."} 
[2026-06-18 23:51:10] local.INFO: Packet analysis {"connection_id":107112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:51:10] local.INFO: Extracted packet for processing {"connection_id":107112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":759346624,"raw_latitude":110612480,"longitude_deg":75.9346624,"latitude_deg":11.061248,"altitude":48,"angle":132,"satellites":47,"speed":38,"hex_longitude":"2d42b5c0","hex_latitude":"0697d000","is_valid_coordinates":true} 
[2026-06-18 23:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142511360001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4789437494539018240,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781806703000,"timestamp_ms":1781806703000,"timestamp_seconds":1781806703,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a198"} 
[2026-06-18 23:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-06-18 23:51:10] 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-06-18 23:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":107112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":107112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":107112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142511360001,"66":27843,"29":206,"19":48128,"24":38,"16":124677330030297088,"45":4789437494539018240},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-06-18 23:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142511360001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:51:10] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-06-18 23:51:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4789437494539018240,"description":"Unknown IO ID 45"} 
[2026-06-18 23:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142511360001,"power":27843,"unknown_29":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":4789437494539018240}} 
[2026-06-18 23:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":107112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:51:10] local.INFO: GPS data processed {"connection_id":107112,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:51:10] local.INFO: Acknowledgment sent {"connection_id":107112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:51:23] local.INFO: TCP Data received {"connection_id":106498,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:51:23] local.INFO: Processing buffer {"connection_id":106498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:51:23] local.INFO: IMEI packet received {"connection_id":106498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":106498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:51:28] local.INFO: TCP Data received {"connection_id":106498,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:51:28] local.INFO: Processing buffer {"connection_id":106498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:51:28] local.INFO: IMEI packet received {"connection_id":106498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:51:28] local.INFO: IMEI acknowledgment sent {"connection_id":106498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:51:29] local.INFO: TCP Data received {"connection_id":106498,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:51:29] local.INFO: Processing buffer {"connection_id":106498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:51:29] local.INFO: Packet analysis {"connection_id":106498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:51:29] local.INFO: Extracted packet for processing {"connection_id":106498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:51:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:29] 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-06-18 23:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:51: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-06-18 23:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:51:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:51:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":106498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:51:29] local.INFO: GPS data processed {"connection_id":106498,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:51:29] local.INFO: Acknowledgment sent {"connection_id":106498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:51:45] local.INFO: TCP Data received {"connection_id":107112,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4e7e8012d42d60006978770002b00af24..."} 
[2026-06-18 23:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4e7e8012d42d60006978770002b00af24..."} 
[2026-06-18 23:51:45] local.INFO: Processing buffer {"connection_id":107112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4e7e8012d42d60006978770002b00af24..."} 
[2026-06-18 23:51:45] local.INFO: Packet analysis {"connection_id":107112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:51:45] local.INFO: Extracted packet for processing {"connection_id":107112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:51:45] local.INFO: GPS Element Parsed {"raw_longitude":759354880,"raw_latitude":110593904,"longitude_deg":75.935488,"latitude_deg":11.0593904,"altitude":43,"angle":175,"satellites":36,"speed":53,"hex_longitude":"2d42d600","hex_latitude":"06978770","is_valid_coordinates":true} 
[2026-06-18 23:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142515968001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4806959311837200384,"note":"Value kept but may cause issues"} 
[2026-06-18 23:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1781806721000,"timestamp_ms":1781806721000,"timestamp_seconds":1781806721,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4e7e8"} 
[2026-06-18 23:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 23:51:45] 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-06-18 23:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":107112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":107112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":107112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142515968001,"66":27941,"28":206,"19":48128,"24":53,"16":124677330030297088,"45":4806959311837200384},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 23:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142515968001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:51:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 23:51:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4806959311837200384,"description":"Unknown IO ID 45"} 
[2026-06-18 23:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142515968001,"power":27941,"unknown_28":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4806959311837200384}} 
[2026-06-18 23:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":107112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:51:45] local.INFO: GPS data processed {"connection_id":107112,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:51:45] local.INFO: Acknowledgment sent {"connection_id":107112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:52:00] local.INFO: TCP Data received {"connection_id":106498,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:52:00] local.INFO: Processing buffer {"connection_id":106498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:52:00] local.INFO: Packet analysis {"connection_id":106498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:52:00] local.INFO: Extracted packet for processing {"connection_id":106498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:52:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:00] 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-06-18 23:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:52: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-06-18 23:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:52:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:52:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":106498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:52:00] local.INFO: GPS data processed {"connection_id":106498,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:52:00] local.INFO: Acknowledgment sent {"connection_id":106498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:52:08] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:52:08] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:52:08] local.INFO: IMEI packet received {"connection_id":106499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":106499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:52:13] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:52:13] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:52:13] local.INFO: IMEI packet received {"connection_id":106499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":106499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:52:14] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf539f0012d42db0006972d10002300b02a..."} 
[2026-06-18 23:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf539f0012d42db0006972d10002300b02a..."} 
[2026-06-18 23:52:14] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf539f0012d42db0006972d10002300b02a..."} 
[2026-06-18 23:52:14] local.INFO: Packet analysis {"connection_id":106499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf5"} 
[2026-06-18 23:52:14] local.INFO: Extracted packet for processing {"connection_id":106499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf5"} 
[2026-06-18 23:52:14] local.INFO: GPS Element Parsed {"raw_longitude":759356160,"raw_latitude":110570768,"longitude_deg":75.935616,"latitude_deg":11.0570768,"altitude":35,"angle":176,"satellites":42,"speed":0,"hex_longitude":"2d42db00","hex_latitude":"06972d10","is_valid_coordinates":true} 
[2026-06-18 23:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142520576001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4816036879831363584,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781806742000,"timestamp_ms":1781806742000,"timestamp_seconds":1781806742,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf539f0"} 
[2026-06-18 23:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 23:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142520576001,"66":27800,"28":206,"19":48128,"24":0,"16":124677330030297088,"45":4816036879831363584},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-06-18 23:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142520576001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:52:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 23:52:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4816036879831363584,"description":"Unknown IO ID 45"} 
[2026-06-18 23:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142520576001,"power":27800,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4816036879831363584}} 
[2026-06-18 23:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":106499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:52:14] local.INFO: GPS data processed {"connection_id":106499,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:52:14] local.INFO: Acknowledgment sent {"connection_id":106499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:52:16] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edca41b780100000000000000000000000000..."} 
[2026-06-18 23:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edca41b780100000000000000000000000000..."} 
[2026-06-18 23:52:16] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edca41b780100000000000000000000000000..."} 
[2026-06-18 23:52:16] local.INFO: Packet analysis {"connection_id":106499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edca4"} 
[2026-06-18 23:52:16] local.INFO: Extracted packet for processing {"connection_id":106499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edca4"} 
[2026-06-18 23:52:16] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23:52: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-06-18 23:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142525952001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4817444254708994048,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1781818203000,"timestamp_ms":1781818203000,"timestamp_seconds":1781818203,"priority":1,"record_length":96,"hex_timestamp":"0000019edca41b78"} 
[2026-06-18 23:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:52:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 23:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:52: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-06-18 23:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":106499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":106499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":106499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":106499,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:52:16] local.INFO: GPS data processed {"connection_id":106499,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:52:16] local.INFO: Acknowledgment sent {"connection_id":106499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:52:24] local.INFO: TCP Data received {"connection_id":107113,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:52:24] local.INFO: Processing buffer {"connection_id":107113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:52:24] local.INFO: IMEI packet received {"connection_id":107113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":107113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:52:28] local.INFO: TCP Data received {"connection_id":107113,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:52:28] local.INFO: Processing buffer {"connection_id":107113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:52:28] local.INFO: IMEI packet received {"connection_id":107113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":107113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:52:29] local.INFO: TCP Data received {"connection_id":107113,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:52:29] local.INFO: Processing buffer {"connection_id":107113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:52:29] local.INFO: Packet analysis {"connection_id":107113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:52:29] local.INFO: Extracted packet for processing {"connection_id":107113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:52:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:29] 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-06-18 23:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:52:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":107113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":107113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":107113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:52:29] 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-06-18 23:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:52:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:52:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":107113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:52:29] local.INFO: GPS data processed {"connection_id":107113,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:52:29] local.INFO: Acknowledgment sent {"connection_id":107113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:52:48] local.INFO: TCP Data received {"connection_id":106499,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf59f80012d43024006966490000f009d2f..."} 
[2026-06-18 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf59f80012d43024006966490000f009d2f..."} 
[2026-06-18 23:52:48] local.INFO: Processing buffer {"connection_id":106499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf59f80012d43024006966490000f009d2f..."} 
[2026-06-18 23:52:48] local.INFO: Packet analysis {"connection_id":106499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf5"} 
[2026-06-18 23:52:48] local.INFO: Extracted packet for processing {"connection_id":106499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf5"} 
[2026-06-18 23:52:48] local.INFO: GPS Element Parsed {"raw_longitude":759366208,"raw_latitude":110519440,"longitude_deg":75.9366208,"latitude_deg":11.051944,"altitude":15,"angle":157,"satellites":47,"speed":71,"hex_longitude":"2d430240","hex_latitude":"06966490","is_valid_coordinates":true} 
[2026-06-18 23:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:52:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,28,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1781806768000,"timestamp_ms":1781806768000,"timestamp_seconds":1781806768,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf59f80"} 
[2026-06-18 23:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:52:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-06-18 23:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:52:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":106499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":106499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":106499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"28":206,"19":48128,"24":71,"16":124677330030297088},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16]} 
[2026-06-18 23:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:52:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-06-18 23:52:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:52:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_28":206,"unknown_19":48128,"ignition":71,"odometer":null}} 
[2026-06-18 23:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":106499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:52:48] local.INFO: GPS data processed {"connection_id":106499,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:52:48] local.INFO: Acknowledgment sent {"connection_id":106499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:53:00] local.INFO: TCP Data received {"connection_id":107113,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:53:00] local.INFO: Processing buffer {"connection_id":107113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:53:00] local.INFO: Packet analysis {"connection_id":107113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:53:00] local.INFO: Extracted packet for processing {"connection_id":107113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:00] 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-06-18 23:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":107113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":107113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":107113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:53: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-06-18 23:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:53:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:53:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":107113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:53:00] local.INFO: GPS data processed {"connection_id":107113,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:53:00] local.INFO: Acknowledgment sent {"connection_id":107113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:53:03] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:53:03] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:53:03] local.INFO: IMEI packet received {"connection_id":106321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":106321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:53:08] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:53:08] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:53:08] local.INFO: IMEI packet received {"connection_id":106321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":106321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:53:09] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf5da18012d433840069613a00012008f2f..."} 
[2026-06-18 23:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf5da18012d433840069613a00012008f2f..."} 
[2026-06-18 23:53:09] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf5da18012d433840069613a00012008f2f..."} 
[2026-06-18 23:53:09] local.INFO: Packet analysis {"connection_id":106321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf5"} 
[2026-06-18 23:53:09] local.INFO: Extracted packet for processing {"connection_id":106321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf5"} 
[2026-06-18 23:53:09] local.INFO: GPS Element Parsed {"raw_longitude":759380032,"raw_latitude":110498720,"longitude_deg":75.9380032,"latitude_deg":11.049872,"altitude":18,"angle":143,"satellites":47,"speed":57,"hex_longitude":"2d433840","hex_latitude":"069613a0","is_valid_coordinates":true} 
[2026-06-18 23:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142532608001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4828492147531747328,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781806783000,"timestamp_ms":1781806783000,"timestamp_seconds":1781806783,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf5da18"} 
[2026-06-18 23:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-06-18 23:53: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-06-18 23:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":106321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":106321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":106321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142532608001,"66":27767,"237":206,"19":48128,"24":57,"16":124677330030297088,"45":4828492147531747328},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 23:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142532608001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:53:09] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 23:53:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4828492147531747328,"description":"Unknown IO ID 45"} 
[2026-06-18 23:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142532608001,"power":27767,"unknown_237":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4828492147531747328}} 
[2026-06-18 23:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":106321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:53:10] local.INFO: GPS data processed {"connection_id":106321,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:53:10] local.INFO: Acknowledgment sent {"connection_id":106321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:53:14] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf62c20012d436b000695d0680019008f2e..."} 
[2026-06-18 23:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf62c20012d436b000695d0680019008f2e..."} 
[2026-06-18 23:53:14] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf62c20012d436b000695d0680019008f2e..."} 
[2026-06-18 23:53:14] local.INFO: Packet analysis {"connection_id":106321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf6"} 
[2026-06-18 23:53:14] local.INFO: Extracted packet for processing {"connection_id":106321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf6"} 
[2026-06-18 23:53:14] local.INFO: GPS Element Parsed {"raw_longitude":759393024,"raw_latitude":110481512,"longitude_deg":75.9393024,"latitude_deg":11.0481512,"altitude":25,"angle":143,"satellites":46,"speed":0,"hex_longitude":"2d436b00","hex_latitude":"0695d068","is_valid_coordinates":true} 
[2026-06-18 23:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142536448001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4843691796268818432,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1781806804000,"timestamp_ms":1781806804000,"timestamp_seconds":1781806804,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf62c20"} 
[2026-06-18 23:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:53:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-06-18 23:53: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-06-18 23:53:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":106321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":106321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":106321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142536448001,"66":27876,"237":206,"19":48128,"24":0,"16":124677330030297088,"45":4843691796268818432},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 23:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142536448001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:53:14] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 23:53:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4843691796268818432,"description":"Unknown IO ID 45"} 
[2026-06-18 23:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142536448001,"power":27876,"unknown_237":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4843691796268818432}} 
[2026-06-18 23:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":106321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:53:14] local.INFO: GPS data processed {"connection_id":106321,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:53:14] local.INFO: Acknowledgment sent {"connection_id":106321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:53:23] local.INFO: TCP Data received {"connection_id":108035,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:53:23] local.INFO: Processing buffer {"connection_id":108035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:53:23] local.INFO: IMEI packet received {"connection_id":108035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":108035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:53:28] local.INFO: TCP Data received {"connection_id":108035,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:53:28] local.INFO: Processing buffer {"connection_id":108035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:53:28] local.INFO: IMEI packet received {"connection_id":108035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:53:28] local.INFO: IMEI acknowledgment sent {"connection_id":108035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:53:29] local.INFO: TCP Data received {"connection_id":108035,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:53:29] local.INFO: Processing buffer {"connection_id":108035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:53:29] local.INFO: Packet analysis {"connection_id":108035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:53:29] local.INFO: Extracted packet for processing {"connection_id":108035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:53:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:29] 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-06-18 23:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:53:29] 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-06-18 23:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:53:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:53:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":108035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:53:29] local.INFO: GPS data processed {"connection_id":108035,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:53:29] local.INFO: Acknowledgment sent {"connection_id":108035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:53:46] local.INFO: TCP Data received {"connection_id":106321,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf65b00012d43940006958460001700a730..."} 
[2026-06-18 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf65b00012d43940006958460001700a730..."} 
[2026-06-18 23:53:46] local.INFO: Processing buffer {"connection_id":106321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf65b00012d43940006958460001700a730..."} 
[2026-06-18 23:53:46] local.INFO: Packet analysis {"connection_id":106321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf6"} 
[2026-06-18 23:53:46] local.INFO: Extracted packet for processing {"connection_id":106321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf6"} 
[2026-06-18 23:53:46] local.INFO: GPS Element Parsed {"raw_longitude":759403520,"raw_latitude":110462048,"longitude_deg":75.940352,"latitude_deg":11.0462048,"altitude":23,"angle":167,"satellites":48,"speed":55,"hex_longitude":"2d439400","hex_latitude":"06958460","is_valid_coordinates":true} 
[2026-06-18 23:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142541824001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4857976651332478976,"note":"Value kept but may cause issues"} 
[2026-06-18 23:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1781806816000,"timestamp_ms":1781806816000,"timestamp_seconds":1781806816,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf65b00"} 
[2026-06-18 23:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-06-18 23:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":106321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":106321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":106321,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142541824001,"66":27941,"237":206,"19":48128,"24":55,"16":124677330030297088,"45":4857976651332478976},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 23:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142541824001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:53:46] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 23:53:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4857976651332478976,"description":"Unknown IO ID 45"} 
[2026-06-18 23:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142541824001,"power":27941,"unknown_237":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":4857976651332478976}} 
[2026-06-18 23:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":106321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:53:46] local.INFO: GPS data processed {"connection_id":106321,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:53:46] local.INFO: Acknowledgment sent {"connection_id":106321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:54:00] local.INFO: TCP Data received {"connection_id":108035,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:54:00] local.INFO: Processing buffer {"connection_id":108035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf4a580012cc3308007685ac8005b006d2d..."} 
[2026-06-18 23:54:00] local.INFO: Packet analysis {"connection_id":108035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:54:00] local.INFO: Extracted packet for processing {"connection_id":108035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf4"} 
[2026-06-18 23:54:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":91,"angle":109,"satellites":45,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142439168001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:00] 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-06-18 23:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781806704000,"timestamp_ms":1781806704000,"timestamp_seconds":1781806704,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf4a580"} 
[2026-06-18 23:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:54:00] 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-06-18 23:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142439168001,"66":25451,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142439168001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:54:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:54:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142439168001,"power":25451,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":108035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:54:00] local.INFO: GPS data processed {"connection_id":108035,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:54:00] local.INFO: Acknowledgment sent {"connection_id":108035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:54:03] local.INFO: TCP Data received {"connection_id":107114,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:54:03] local.INFO: Processing buffer {"connection_id":107114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:54:03] local.INFO: IMEI packet received {"connection_id":107114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":107114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:54:08] local.INFO: TCP Data received {"connection_id":107114,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:54:08] local.INFO: Processing buffer {"connection_id":107114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:54:08] local.INFO: IMEI packet received {"connection_id":107114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":107114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:54:09] local.INFO: TCP Data received {"connection_id":107114,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf69980012d438c40069529d0001100c42e..."} 
[2026-06-18 23:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf69980012d438c40069529d0001100c42e..."} 
[2026-06-18 23:54:09] local.INFO: Processing buffer {"connection_id":107114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf69980012d438c40069529d0001100c42e..."} 
[2026-06-18 23:54:09] local.INFO: Packet analysis {"connection_id":107114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf6"} 
[2026-06-18 23:54:09] local.INFO: Extracted packet for processing {"connection_id":107114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf6"} 
[2026-06-18 23:54:09] local.INFO: GPS Element Parsed {"raw_longitude":759401536,"raw_latitude":110438864,"longitude_deg":75.9401536,"latitude_deg":11.0438864,"altitude":17,"angle":196,"satellites":46,"speed":59,"hex_longitude":"2d438c40","hex_latitude":"069529d0","is_valid_coordinates":true} 
[2026-06-18 23:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142544896001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4869517125372633088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1781806832000,"timestamp_ms":1781806832000,"timestamp_seconds":1781806832,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf69980"} 
[2026-06-18 23:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-06-18 23:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":107114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":107114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":107114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142544896001,"66":27615,"237":206,"19":48128,"24":59,"16":124677330030297088,"45":4869517125372633088},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-06-18 23:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142544896001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:54:09] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-06-18 23:54:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4869517125372633088,"description":"Unknown IO ID 45"} 
[2026-06-18 23:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142544896001,"power":27615,"unknown_237":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4869517125372633088}} 
[2026-06-18 23:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":107114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:54:09] local.INFO: GPS data processed {"connection_id":107114,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:54:09] local.INFO: Acknowledgment sent {"connection_id":107114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:54:28] local.INFO: TCP Data received {"connection_id":106501,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:54:28] local.INFO: Processing buffer {"connection_id":106501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:54:28] local.INFO: IMEI packet received {"connection_id":106501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":106501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:54:33] local.INFO: TCP Data received {"connection_id":106501,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:54:33] local.INFO: Processing buffer {"connection_id":106501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:54:33] local.INFO: IMEI packet received {"connection_id":106501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":106501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:54:34] local.INFO: TCP Data received {"connection_id":106501,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:54:34] local.INFO: Processing buffer {"connection_id":106501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:54:34] local.INFO: Packet analysis {"connection_id":106501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:54:34] local.INFO: Extracted packet for processing {"connection_id":106501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:54:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:34] 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-06-18 23:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":106501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":106501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":106501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:54:34] 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-06-18 23:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:54:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:54:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:54:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":106501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:54:34] local.INFO: GPS data processed {"connection_id":106501,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:54:34] local.INFO: Acknowledgment sent {"connection_id":106501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:54:39] local.INFO: TCP Data received {"connection_id":106501,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:54:39] local.INFO: Processing buffer {"connection_id":106501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:54:39] local.INFO: Packet analysis {"connection_id":106501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:54:39] local.INFO: Extracted packet for processing {"connection_id":106501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:54:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:39] 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-06-18 23:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:54:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:54:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:54:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":106501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":106501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":106501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:54:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:54:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:54:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:54:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":106501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:54:39] local.INFO: GPS data processed {"connection_id":106501,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:54:39] local.INFO: Acknowledgment sent {"connection_id":106501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:54:42] local.INFO: TCP Data received {"connection_id":107114,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf6eb88012d436f800694d1f0001000c530..."} 
[2026-06-18 23:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf6eb88012d436f800694d1f0001000c530..."} 
[2026-06-18 23:54:42] local.INFO: Processing buffer {"connection_id":107114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf6eb88012d436f800694d1f0001000c530..."} 
[2026-06-18 23:54:42] local.INFO: Packet analysis {"connection_id":107114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf6"} 
[2026-06-18 23:54:42] local.INFO: Extracted packet for processing {"connection_id":107114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf6"} 
[2026-06-18 23:54:42] local.INFO: GPS Element Parsed {"raw_longitude":759394176,"raw_latitude":110416368,"longitude_deg":75.9394176,"latitude_deg":11.0416368,"altitude":16,"angle":197,"satellites":48,"speed":0,"hex_longitude":"2d436f80","hex_latitude":"0694d1f0","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142548992001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4867335694297190400,"note":"Value kept but may cause issues"} 
[2026-06-18 23:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781806853000,"timestamp_ms":1781806853000,"timestamp_seconds":1781806853,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf6eb88"} 
[2026-06-18 23:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25344,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23: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-06-18 23: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-06-18 23:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":107114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":107114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":107114,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142548992001,"66":27832,"238":206,"19":48128,"24":0,"16":124677330030297088,"45":4867335694297190400},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-06-18 23:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142548992001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:54:42] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-06-18 23:54:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4867335694297190400,"description":"Unknown IO ID 45"} 
[2026-06-18 23:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142548992001,"power":27832,"unknown_238":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4867335694297190400}} 
[2026-06-18 23:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":107114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:54:42] local.INFO: GPS data processed {"connection_id":107114,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:54:42] local.INFO: Acknowledgment sent {"connection_id":107114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:55:02] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:02] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:02] local.INFO: IMEI packet received {"connection_id":106322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":106322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:55:03] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:03] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:03] local.INFO: IMEI packet received {"connection_id":106322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":106322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:55:08] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:08] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:55:08] local.INFO: IMEI packet received {"connection_id":106322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":106322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:55:10] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edca5cd100100000000000000000000000000..."} 
[2026-06-18 23:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edca5cd100100000000000000000000000000..."} 
[2026-06-18 23:55:10] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edca5cd100100000000000000000000000000..."} 
[2026-06-18 23:55:10] local.INFO: Packet analysis {"connection_id":106322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edca5"} 
[2026-06-18 23:55:10] local.INFO: Extracted packet for processing {"connection_id":106322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edca5"} 
[2026-06-18 23:55:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142554368001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4859243288711000064,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1781818314000,"timestamp_ms":1781818314000,"timestamp_seconds":1781818314,"priority":1,"record_length":96,"hex_timestamp":"0000019edca5cd10"} 
[2026-06-18 23:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-06-18 23:55:10] 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-06-18 23: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-06-18 23:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":106322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":106322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":106322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":106322,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:55:10] local.INFO: GPS data processed {"connection_id":106322,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:55:10] local.INFO: Acknowledgment sent {"connection_id":106322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:55:23] local.INFO: TCP Data received {"connection_id":108036,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:55:23] local.INFO: Processing buffer {"connection_id":108036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:55:23] local.INFO: IMEI packet received {"connection_id":108036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":108036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:55:28] local.INFO: TCP Data received {"connection_id":108036,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:55:28] local.INFO: Processing buffer {"connection_id":108036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:55:28] local.INFO: IMEI packet received {"connection_id":108036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:55:28] local.INFO: IMEI acknowledgment sent {"connection_id":108036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:55:29] local.INFO: TCP Data received {"connection_id":108036,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:55:29] local.INFO: Processing buffer {"connection_id":108036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:55:29] local.INFO: Packet analysis {"connection_id":108036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:55:29] local.INFO: Extracted packet for processing {"connection_id":108036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:55:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:29] 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-06-18 23:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:55:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:55:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:55:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:55:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":108036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:55:29] local.INFO: GPS data processed {"connection_id":108036,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:55:29] local.INFO: Acknowledgment sent {"connection_id":108036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:55:42] local.INFO: TCP Data received {"connection_id":106322,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfa23c0012d44b9400691d988003000b12f..."} 
[2026-06-18 23:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfa23c0012d44b9400691d988003000b12f..."} 
[2026-06-18 23:55:42] local.INFO: Processing buffer {"connection_id":106322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfa23c0012d44b9400691d988003000b12f..."} 
[2026-06-18 23:55:42] local.INFO: Packet analysis {"connection_id":106322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfa"} 
[2026-06-18 23:55:42] local.INFO: Extracted packet for processing {"connection_id":106322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfa"} 
[2026-06-18 23:55:42] local.INFO: GPS Element Parsed {"raw_longitude":759478592,"raw_latitude":110221704,"longitude_deg":75.9478592,"latitude_deg":11.0221704,"altitude":48,"angle":177,"satellites":47,"speed":0,"hex_longitude":"2d44b940","hex_latitude":"0691d988","is_valid_coordinates":true} 
[2026-06-18 23:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142603008001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951074499818381312,"note":"Value kept but may cause issues"} 
[2026-06-18 23:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1781807064000,"timestamp_ms":1781807064000,"timestamp_seconds":1781807064,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfa23c0"} 
[2026-06-18 23:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-06-18 23:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":106322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":106322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":106322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142603008001,"66":27832,"177":206,"19":48128,"24":0,"16":124677330030297088,"45":4951074499818381312},"client_ip":"117.224.51.171","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-06-18 23:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-06-18 23:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-06-18 23:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142603008001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:55:42] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-06-18 23:55:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-06-18 23:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":124677330030297088,"km_value":124677330030297.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951074499818381312,"description":"Unknown IO ID 45"} 
[2026-06-18 23:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142603008001,"power":27832,"unknown_177":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4951074499818381312}} 
[2026-06-18 23:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":106322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:55:42] local.INFO: GPS data processed {"connection_id":106322,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:55:42] local.INFO: Acknowledgment sent {"connection_id":106322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:56:00] local.INFO: TCP Data received {"connection_id":108036,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:56:00] local.INFO: Processing buffer {"connection_id":108036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:56:00] local.INFO: Packet analysis {"connection_id":108036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:56:00] local.INFO: Extracted packet for processing {"connection_id":108036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:56:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:00] 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-06-18 23:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:56:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:56:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:56:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":108036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:56:00] local.INFO: GPS data processed {"connection_id":108036,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:56:00] local.INFO: Acknowledgment sent {"connection_id":108036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:56:03] local.INFO: TCP Data received {"connection_id":106502,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:56:03] local.INFO: Processing buffer {"connection_id":106502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:56:03] local.INFO: IMEI packet received {"connection_id":106502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":106502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:56:23] local.INFO: TCP Data received {"connection_id":106323,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:56:23] local.INFO: Processing buffer {"connection_id":106323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:56:23] local.INFO: IMEI packet received {"connection_id":106323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:56:23] local.INFO: IMEI acknowledgment sent {"connection_id":106323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:56:28] local.INFO: TCP Data received {"connection_id":106323,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:56:28] local.INFO: Processing buffer {"connection_id":106323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:56:28] local.INFO: IMEI packet received {"connection_id":106323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":106323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:56:29] local.INFO: TCP Data received {"connection_id":106323,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:56:29] local.INFO: Processing buffer {"connection_id":106323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:56:29] local.INFO: Packet analysis {"connection_id":106323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:56:29] local.INFO: Extracted packet for processing {"connection_id":106323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:56:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:29] 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-06-18 23:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:56:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:56:29] 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-06-18 23:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:56:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:56:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":106323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:56:29] local.INFO: GPS data processed {"connection_id":106323,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:56:29] local.INFO: Acknowledgment sent {"connection_id":106323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:56:32] local.INFO: TCP Data received {"connection_id":106502,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:56:32] local.INFO: Processing buffer {"connection_id":106502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:56:32] local.INFO: IMEI packet received {"connection_id":106502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-06-18 23:56:32] local.INFO: IMEI acknowledgment sent {"connection_id":106502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:56:35] local.INFO: TCP Data received {"connection_id":106502,"ip":"117.224.51.171","data_length":795,"data_hex":"000000000000030f8e0a0000019edca905480100000000000000000000000000..."} 
[2026-06-18 23:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edca905480100000000000000000000000000..."} 
[2026-06-18 23:56:35] local.INFO: Processing buffer {"connection_id":106502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edca905480100000000000000000000000000..."} 
[2026-06-18 23:56:35] local.INFO: Packet analysis {"connection_id":106502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edca9"} 
[2026-06-18 23:56:35] local.INFO: Extracted packet for processing {"connection_id":106502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edca9"} 
[2026-06-18 23:56:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:56:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142608384001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":124677330030297088,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4952059662231504896,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:56:35] local.INFO: AVL Record Parsed {"raw_timestamp":1781818525000,"timestamp_ms":1781818525000,"timestamp_seconds":1781818525,"priority":1,"record_length":96,"hex_timestamp":"0000019edca90548"} 
[2026-06-18 23:56:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:56:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":25088,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":184,"data_length":795,"current_offset":136} 
[2026-06-18 23:56: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-06-18 23: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-06-18 23:56:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:56:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:56:35] local.INFO: Teltonika packet parsed successfully {"connection_id":106502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:56:35] local.INFO: Passing IMEI to GPS processor {"connection_id":106502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:56:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":106502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-06-18 23:56:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.51.171","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:56:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-06-18 23:56:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-06-18 23:56:35] local.INFO: DEBUG: GPS processor result {"connection_id":106502,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-06-18 23:56:35] local.INFO: GPS data processed {"connection_id":106502,"processed":0,"errors":0,"total":1} 
[2026-06-18 23:56:35] local.INFO: Acknowledgment sent {"connection_id":106502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:56:51] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:56:51] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:56:51] local.INFO: IMEI packet received {"connection_id":107115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-06-18 23:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":107115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:56:55] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:56:55] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-06-18 23:56:55] local.INFO: IMEI packet received {"connection_id":107115,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-06-18 23:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":107115,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:56:57] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfbf498012d831500060649b8000f00e720..."} 
[2026-06-18 23:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfbf498012d831500060649b8000f00e720..."} 
[2026-06-18 23:56:57] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfbf498012d831500060649b8000f00e720..."} 
[2026-06-18 23:56:57] local.INFO: Packet analysis {"connection_id":107115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfb"} 
[2026-06-18 23:56:57] local.INFO: Extracted packet for processing {"connection_id":107115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfb"} 
[2026-06-18 23:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763565312,"raw_latitude":101075384,"longitude_deg":76.3565312,"latitude_deg":10.1075384,"altitude":15,"angle":231,"satellites":32,"speed":25,"hex_longitude":"2d831500","hex_latitude":"060649b8","is_valid_coordinates":true} 
[2026-06-18 23:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94492463082766336,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,90,87,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-06-18 23:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1781807183000,"timestamp_ms":1781807183000,"timestamp_seconds":1781807183,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfbf498"} 
[2026-06-18 23:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:56: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-06-18 23: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":47,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-3578346298543167232,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":158,"raw_value":3690652456,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":5743031806362386432,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":219,"raw_value":4221734913,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2203205638,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":6,"raw_value":447861872805358118,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627646838356243,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":4112631770944962584,"corrected_to":0} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3018194944,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194755584,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505041453449216,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":160,"raw_value":84868924210284081,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.WARNING: Large IO value detected {"io_id":128,"raw_value":7601049091188992,"note":"Value kept but may cause issues"} 
[2026-06-18 23:56:57] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,24,241,16,180,158,220,10,66,1,240,219,45,6,4,113,205,87,30,49,170,248,38,239,47,19,2,157,79,69,227,160,128],"length":583,"final_offset":713,"validated_count":33,"validation_warnings":[{"io_id":205,"original":4112631770944962584,"validated":0}]} 
[2026-06-18 23:56:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-06-18 23:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":107115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:56: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-06-18 23:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12135,"90":206,"87":10496,"24":25,"16":94492463082766336},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16]} 
[2026-06-18 23:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-06-18 23:56:57] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 23:56:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-06-18 23:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94492463082766336,"km_value":94492463082766.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:56:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12135,"unknown_90":206,"unknown_87":10496,"ignition":25,"odometer":null}} 
[2026-06-18 23:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":107115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347847,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:56:57] local.INFO: GPS data processed {"connection_id":107115,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:56:57] local.INFO: Acknowledgment sent {"connection_id":107115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:57:00] local.INFO: TCP Data received {"connection_id":106323,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:57:00] local.INFO: Processing buffer {"connection_id":106323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:57:00] local.INFO: Packet analysis {"connection_id":106323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:57:00] local.INFO: Extracted packet for processing {"connection_id":106323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:57:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:00] 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-06-18 23:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":106323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":106323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":106323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:57: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-06-18 23:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:57:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:57:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:57:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":106323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:57:00] local.INFO: GPS data processed {"connection_id":106323,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:57:00] local.INFO: Acknowledgment sent {"connection_id":106323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:57:23] local.INFO: TCP Data received {"connection_id":108037,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:57:23] local.INFO: Processing buffer {"connection_id":108037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:57:23] local.INFO: IMEI packet received {"connection_id":108037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":108037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:57:28] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfbfc68012d831100060645b0000d00dc20..."} 
[2026-06-18 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfbfc68012d831100060645b0000d00dc20..."} 
[2026-06-18 23:57:28] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfbfc68012d831100060645b0000d00dc20..."} 
[2026-06-18 23:57:28] local.INFO: Packet analysis {"connection_id":107115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfb"} 
[2026-06-18 23:57:28] local.INFO: Extracted packet for processing {"connection_id":107115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfb"} 
[2026-06-18 23:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763564288,"raw_latitude":101074352,"longitude_deg":76.3564288,"latitude_deg":10.1074352,"altitude":13,"angle":220,"satellites":32,"speed":28,"hex_longitude":"2d831100","hex_latitude":"060645b0","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142638848001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94492531802243072,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9001288254354769920,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1781807185000,"timestamp_ms":1781807185000,"timestamp_seconds":1781807185,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfbfc68"} 
[2026-06-18 23:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:57: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-06-18 23: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":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-06-18 23:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":107115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:57: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-06-18 23:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142638848001,"66":12069,"90":206,"87":10496,"24":28,"16":94492531802243072,"45":-9001288254354769920},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,87,24,16,45]} 
[2026-06-18 23:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142638848001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:57:28] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-06-18 23:57:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-06-18 23:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94492531802243072,"km_value":94492531802243.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9001288254354769920,"description":"Unknown IO ID 45"} 
[2026-06-18 23:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142638848001,"power":12069,"unknown_90":206,"unknown_87":10496,"ignition":28,"odometer":null,"unknown_45":-9001288254354769920}} 
[2026-06-18 23:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":107115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347849,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:57:28] local.INFO: GPS data processed {"connection_id":107115,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:57:28] local.INFO: Acknowledgment sent {"connection_id":107115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:57:28] local.INFO: TCP Data received {"connection_id":108037,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:57:28] local.INFO: Processing buffer {"connection_id":108037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:57:28] local.INFO: IMEI packet received {"connection_id":108037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:57:28] local.INFO: IMEI acknowledgment sent {"connection_id":108037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:57:29] local.INFO: TCP Data received {"connection_id":108037,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:57:29] local.INFO: Processing buffer {"connection_id":108037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:57:29] local.INFO: Packet analysis {"connection_id":108037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:57:29] local.INFO: Extracted packet for processing {"connection_id":108037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:57:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:29] 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-06-18 23:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:57:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:57:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":108037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":108037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":108037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:57:29] 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-06-18 23:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:57:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:57:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":108037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:57:29] local.INFO: GPS data processed {"connection_id":108037,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:57:29] local.INFO: Acknowledgment sent {"connection_id":108037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:57:48] local.INFO: TCP Data received {"connection_id":106503,"ip":"117.224.51.171","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:57:48] local.INFO: Processing buffer {"connection_id":106503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-06-18 23:57:48] local.INFO: IMEI packet received {"connection_id":106503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-06-18 23:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":106503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:57:59] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfd5040012d8247800605fea0000c00e128..."} 
[2026-06-18 23:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfd5040012d8247800605fea0000c00e128..."} 
[2026-06-18 23:57:59] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfd5040012d8247800605fea0000c00e128..."} 
[2026-06-18 23:57:59] local.INFO: Packet analysis {"connection_id":107115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:57:59] local.INFO: Extracted packet for processing {"connection_id":107115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:57:59] local.INFO: GPS Element Parsed {"raw_longitude":763512704,"raw_latitude":101056160,"longitude_deg":76.3512704,"latitude_deg":10.105616,"altitude":12,"angle":225,"satellites":40,"speed":14,"hex_longitude":"2d824780","hex_latitude":"0605fea0","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142661376001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94495680013271040,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9058779518352787456,"note":"Value kept but may cause issues"} 
[2026-06-18 23:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1781807272000,"timestamp_ms":1781807272000,"timestamp_seconds":1781807272,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfd5040"} 
[2026-06-18 23:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:57: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-06-18 23: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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 23:57:59] 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-06-18 23: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-06-18 23:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":107115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142661376001,"66":11765,"60":206,"87":10496,"24":14,"16":94495680013271040,"45":-9058779518352787456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-06-18 23:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142661376001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:57:59] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 23:57:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-06-18 23:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94495680013271040,"km_value":94495680013271.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9058779518352787456,"description":"Unknown IO ID 45"} 
[2026-06-18 23:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142661376001,"power":11765,"unknown_60":206,"unknown_87":10496,"ignition":14,"odometer":null,"unknown_45":-9058779518352787456}} 
[2026-06-18 23:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":107115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347851,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:57:59] local.INFO: GPS data processed {"connection_id":107115,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:57:59] local.INFO: Acknowledgment sent {"connection_id":107115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:58:00] local.INFO: TCP Data received {"connection_id":108037,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:58:00] local.INFO: Processing buffer {"connection_id":108037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:58:00] local.INFO: Packet analysis {"connection_id":108037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:58:00] local.INFO: Extracted packet for processing {"connection_id":108037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:58:00] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:00] 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-06-18 23:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":108037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":108037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":108037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:58: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-06-18 23:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:58:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:58:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:58:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":108037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:58:00] local.INFO: GPS data processed {"connection_id":108037,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:58:00] local.INFO: Acknowledgment sent {"connection_id":108037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:58:23] local.INFO: TCP Data received {"connection_id":106504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:58:23] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:58:23] local.INFO: IMEI packet received {"connection_id":106504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":106504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:58:28] local.INFO: TCP Data received {"connection_id":106504,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:58:28] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:58:28] local.INFO: IMEI packet received {"connection_id":106504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":106504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:58:29] local.INFO: TCP Data received {"connection_id":106504,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:58:29] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:58:29] local.INFO: Packet analysis {"connection_id":106504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:58:29] local.INFO: Extracted packet for processing {"connection_id":106504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:58:29] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:29] 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-06-18 23:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":106504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:58:29] 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-06-18 23:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:58:29] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:58:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":106504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:58:29] local.INFO: GPS data processed {"connection_id":106504,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:58:29] local.INFO: Acknowledgment sent {"connection_id":106504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:58:30] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfd5810012d8246000605fbf0000c00c328..."} 
[2026-06-18 23:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfd5810012d8246000605fbf0000c00c328..."} 
[2026-06-18 23:58:30] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfd5810012d8246000605fbf0000c00c328..."} 
[2026-06-18 23:58:30] local.INFO: Packet analysis {"connection_id":107115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:58:30] local.INFO: Extracted packet for processing {"connection_id":107115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:58:30] local.INFO: GPS Element Parsed {"raw_longitude":763512320,"raw_latitude":101055472,"longitude_deg":76.351232,"latitude_deg":10.1055472,"altitude":12,"angle":195,"satellites":40,"speed":15,"hex_longitude":"2d824600","hex_latitude":"0605fbf0","is_valid_coordinates":true} 
[2026-06-18 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-06-18 23:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142661632001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94495718667976704,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059131362073731072,"note":"Value kept but may cause issues"} 
[2026-06-18 23:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1781807274000,"timestamp_ms":1781807274000,"timestamp_seconds":1781807274,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfd5810"} 
[2026-06-18 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-06-18 23:58: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-06-18 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":45,"n8_eight_byte":245,"data_length":795,"current_offset":136} 
[2026-06-18 23:58:30] 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-06-18 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-06-18 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-06-18 23:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":107115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:58: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-06-18 23:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142661632001,"66":11874,"60":206,"87":10496,"24":15,"16":94495718667976704,"45":-9059131362073731072},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-06-18 23:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142661632001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:58:30] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 23:58:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-06-18 23:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94495718667976704,"km_value":94495718667976.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059131362073731072,"description":"Unknown IO ID 45"} 
[2026-06-18 23:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142661632001,"power":11874,"unknown_60":206,"unknown_87":10496,"ignition":15,"odometer":null,"unknown_45":-9059131362073731072}} 
[2026-06-18 23:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":107115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347854,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:58:30] local.INFO: GPS data processed {"connection_id":107115,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:58:30] local.INFO: Acknowledgment sent {"connection_id":107115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:59:00] local.INFO: TCP Data received {"connection_id":106504,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":106504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:59:01] local.INFO: Processing buffer {"connection_id":106504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbf93d48012cc3308007685ac8005e006d2e..."} 
[2026-06-18 23:59:01] local.INFO: Packet analysis {"connection_id":106504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:59:01] local.INFO: Extracted packet for processing {"connection_id":106504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbf9"} 
[2026-06-18 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":94,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142516224001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:01] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:01] 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-06-18 23:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781807005000,"timestamp_ms":1781807005000,"timestamp_seconds":1781807005,"priority":1,"record_length":96,"hex_timestamp":"0000019edbf93d48"} 
[2026-06-18 23:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-06-18 23:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":106504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":106504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:59: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-06-18 23:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142516224001,"66":25495,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142516224001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:59:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:59:01] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142516224001,"power":25495,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":106504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:59:01] local.INFO: GPS data processed {"connection_id":106504,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:59:01] local.INFO: Acknowledgment sent {"connection_id":106504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:59:01] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfd5fe0012d8245c00605f810000c00b129..."} 
[2026-06-18 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfd5fe0012d8245c00605f810000c00b129..."} 
[2026-06-18 23:59:01] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfd5fe0012d8245c00605f810000c00b129..."} 
[2026-06-18 23:59:01] local.INFO: Packet analysis {"connection_id":107115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:59:01] local.INFO: Extracted packet for processing {"connection_id":107115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763512256,"raw_latitude":101054480,"longitude_deg":76.3512256,"latitude_deg":10.105448,"altitude":12,"angle":177,"satellites":41,"speed":23,"hex_longitude":"2d8245c0","hex_latitude":"0605f810","is_valid_coordinates":true} 
[2026-06-18 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142662144001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94495765912616960,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9059553574538973184,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1781807276000,"timestamp_ms":1781807276000,"timestamp_seconds":1781807276,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfd5fe0"} 
[2026-06-18 23:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:59: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-06-18 23:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-06-18 23:59:01] 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-06-18 23:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":107115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:59:01] 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-06-18 23:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142662144001,"66":11906,"60":206,"87":10496,"24":23,"16":94495765912616960,"45":-9059553574538973184},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-06-18 23:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142662144001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:59:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-06-18 23:59:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-06-18 23:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94495765912616960,"km_value":94495765912616.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9059553574538973184,"description":"Unknown IO ID 45"} 
[2026-06-18 23:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142662144001,"power":11906,"unknown_60":206,"unknown_87":10496,"ignition":23,"odometer":null,"unknown_45":-9059553574538973184}} 
[2026-06-18 23:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":107115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347856,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:59:01] local.INFO: GPS data processed {"connection_id":107115,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:59:01] local.INFO: Acknowledgment sent {"connection_id":107115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:59:28] local.INFO: TCP Data received {"connection_id":108038,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:59:28] local.INFO: Processing buffer {"connection_id":108038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:59:28] local.INFO: IMEI packet received {"connection_id":108038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-06-18 23:59:28] local.INFO: IMEI acknowledgment sent {"connection_id":108038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-06-18 23:59:32] local.INFO: TCP Data received {"connection_id":107115,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfe7150012d81d2c006052110000c00e02a..."} 
[2026-06-18 23:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":107115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfe7150012d81d2c006052110000c00e02a..."} 
[2026-06-18 23:59:32] local.INFO: Processing buffer {"connection_id":107115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfe7150012d81d2c006052110000c00e02a..."} 
[2026-06-18 23:59:32] local.INFO: Packet analysis {"connection_id":107115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfe"} 
[2026-06-18 23:59:32] local.INFO: Extracted packet for processing {"connection_id":107115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfe"} 
[2026-06-18 23:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763482816,"raw_latitude":100999440,"longitude_deg":76.3482816,"latitude_deg":10.099944,"altitude":12,"angle":224,"satellites":42,"speed":13,"hex_longitude":"2d81d2c0","hex_latitude":"06052110","is_valid_coordinates":true} 
[2026-06-18 23:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142676736001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":94498845404168192,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9085167797432264704,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,69,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-06-18 23:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1781807346000,"timestamp_ms":1781807346000,"timestamp_seconds":1781807346,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfe7150"} 
[2026-06-18 23:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:59: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-06-18 23:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-06-18 23:59:32] 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-06-18 23:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":107115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":107115,"device_imei":"862567072406932","avl_records_count":1} 
[2026-06-18 23:59:32] 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-06-18 23:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-06-18 23:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-06-18 23:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142676736001,"66":12004,"69":206,"87":10496,"24":13,"16":94498845404168192,"45":-9085167797432264704},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,87,24,16,45]} 
[2026-06-18 23:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-06-18 23:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-06-18 23:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142676736001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:59:32] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-06-18 23:59:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":10496,"description":"Unknown IO ID 87"} 
[2026-06-18 23:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":94498845404168192,"km_value":94498845404168.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9085167797432264704,"description":"Unknown IO ID 45"} 
[2026-06-18 23:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142676736001,"power":12004,"unknown_69":206,"unknown_87":10496,"ignition":13,"odometer":null,"unknown_45":-9085167797432264704}} 
[2026-06-18 23:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":107115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347857,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:59:32] local.INFO: GPS data processed {"connection_id":107115,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:59:32] local.INFO: Acknowledgment sent {"connection_id":107115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:59:33] local.INFO: TCP Data received {"connection_id":108038,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:59:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:59:33] local.INFO: Processing buffer {"connection_id":108038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-06-18 23:59:33] local.INFO: IMEI packet received {"connection_id":108038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-06-18 23:59:33] local.INFO: IMEI acknowledgment sent {"connection_id":108038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-06-18 23:59:34] local.INFO: TCP Data received {"connection_id":108038,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfdd510012cc3308007685ac8005c006d2e..."} 
[2026-06-18 23:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfdd510012cc3308007685ac8005c006d2e..."} 
[2026-06-18 23:59:34] local.INFO: Processing buffer {"connection_id":108038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfdd510012cc3308007685ac8005c006d2e..."} 
[2026-06-18 23:59:34] local.INFO: Packet analysis {"connection_id":108038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:59:34] local.INFO: Extracted packet for processing {"connection_id":108038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:59:34] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23: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-06-18 23:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142593280001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:34] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:34] 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-06-18 23:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1781807306000,"timestamp_ms":1781807306000,"timestamp_seconds":1781807306,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfdd510"} 
[2026-06-18 23:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23: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-06-18 23:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":108038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":108038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":108038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:59: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-06-18 23:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142593280001,"66":25462,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142593280001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:59:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:59:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:59:34] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142593280001,"power":25462,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":108038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:59:34] local.INFO: GPS data processed {"connection_id":108038,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:59:34] local.INFO: Acknowledgment sent {"connection_id":108038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-06-18 23:59:39] local.INFO: TCP Data received {"connection_id":108038,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019edbfdd510012cc3308007685ac8005c006d2e..."} 
[2026-06-18 23:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":108038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019edbfdd510012cc3308007685ac8005c006d2e..."} 
[2026-06-18 23:59:39] local.INFO: Processing buffer {"connection_id":108038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019edbfdd510012cc3308007685ac8005c006d2e..."} 
[2026-06-18 23:59:39] local.INFO: Packet analysis {"connection_id":108038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:59:39] local.INFO: Extracted packet for processing {"connection_id":108038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019edbfd"} 
[2026-06-18 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":750989440,"raw_latitude":124279496,"longitude_deg":75.098944,"latitude_deg":12.4279496,"altitude":92,"angle":109,"satellites":46,"speed":0,"hex_longitude":"2cc33080","hex_latitude":"07685ac8","is_valid_coordinates":true} 
[2026-06-18 23:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-06-18 23:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":456142593280001,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":318912484348002304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-4381861668127586304,"note":"Value kept but may cause issues"} 
[2026-06-18 23:59:39] 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-06-18 23:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1781807306000,"timestamp_ms":1781807306000,"timestamp_seconds":1781807306,"priority":1,"record_length":96,"hex_timestamp":"0000019edbfdd510"} 
[2026-06-18 23:59:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-06-18 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-06-18 23:59:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-06-18 23:59:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-06-18 23:59:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-06-18 23:59:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-06-18 23:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-06-18 23:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":108038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-06-18 23:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":108038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":108038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-06-18 23:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-06-18 23:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-06-18 23:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-06-18 23:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":456142593280001,"66":25462,"89":206,"85":37120,"24":0,"16":318912484348002304,"44":-4381861668127586304},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,85,24,16,44]} 
[2026-06-18 23:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-06-18 23:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-06-18 23:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":456142593280001,"description":"Unknown IO ID 0"} 
[2026-06-18 23:59:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-06-18 23:59:39] local.INFO: Unknown IO ID detected {"io_id":85,"value":37120,"description":"Unknown IO ID 85"} 
[2026-06-18 23:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":318912484348002304,"km_value":318912484348002.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-06-18 23:59:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-4381861668127586304,"description":"Unknown IO ID 44"} 
[2026-06-18 23:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":456142593280001,"power":25462,"unknown_89":206,"unknown_85":37120,"ignition":0,"odometer":null,"unknown_44":-4381861668127586304}} 
[2026-06-18 23:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":108038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":347859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-06-18 23:59:39] local.INFO: GPS data processed {"connection_id":108038,"processed":1,"errors":0,"total":1} 
[2026-06-18 23:59:39] local.INFO: Acknowledgment sent {"connection_id":108038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
